]> git.saurik.com Git - wxWidgets.git/blob - configure
Committing in .
[wxWidgets.git] / configure
1 #! /bin/sh
2
3 # From configure.in Id: configure.in
4
5
6 # aclocal.m4 generated automatically by aclocal 1.6 -*- Autoconf -*-
7
8 # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
9 # Free Software Foundation, Inc.
10 # This file is free software; the Free Software Foundation
11 # gives unlimited permission to copy and/or distribute it,
12 # with or without modifications, as long as this notice is preserved.
13
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
16 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 # PARTICULAR PURPOSE.
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58 # Configure paths for GTK+
59 # Owen Taylor 1997-2001
60
61
62
63 # Configure paths for GTK+
64 # Owen Taylor 97-11-3
65
66
67
68 # Guess values for system-dependent variables and create Makefiles.
69 # Generated automatically using autoconf version 2.13
70 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
71 #
72 # This configure script is free software; the Free Software Foundation
73 # gives unlimited permission to copy, distribute and modify it.
74
75 # Defaults:
76 ac_help=
77 ac_default_prefix=/usr/local
78 # Any additions from configure.in:
79 ac_help="$ac_help
80 --enable-gui use GUI classes"
81 ac_help="$ac_help
82 --enable-universal use wxWindows GUI controls instead of native ones"
83 ac_help="$ac_help
84 --with-gtk use GTK+"
85 ac_help="$ac_help
86 --with-motif use Motif/Lesstif"
87 ac_help="$ac_help
88 --with-mac use Mac OS X"
89 ac_help="$ac_help
90 --with-wine use WINE"
91 ac_help="$ac_help
92 --with-msw use MS-Windows"
93 ac_help="$ac_help
94 --with-pm use OS/2 Presentation Manager"
95 ac_help="$ac_help
96 --with-mgl use SciTech MGL"
97 ac_help="$ac_help
98 --with-microwin use MicroWindows"
99 ac_help="$ac_help
100 --with-x11 use X11"
101 ac_help="$ac_help
102 --enable-nanox use NanoX"
103 ac_help="$ac_help
104 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
105 ac_help="$ac_help
106 --with-libpng use libpng (PNG image format)"
107 ac_help="$ac_help
108 --with-libjpeg use libjpeg (JPEG file format)"
109 ac_help="$ac_help
110 --with-libtiff use libtiff (TIFF file format)"
111 ac_help="$ac_help
112 --with-opengl use OpenGL (or Mesa)"
113 ac_help="$ac_help
114 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
115 ac_help="$ac_help
116 --with-regex enable support for wxRegEx class"
117 ac_help="$ac_help
118 --with-zlib use zlib for LZW compression"
119 ac_help="$ac_help
120 --with-odbc use the IODBC and wxODBC classes"
121 ac_help="$ac_help
122 --enable-shared create shared library code"
123 ac_help="$ac_help
124 --enable-soname set the DT_SONAME field in ELF shared libraries"
125 ac_help="$ac_help
126 --enable-optimise create optimised code"
127 ac_help="$ac_help
128 --enable-debug same as debug_flag and debug_info"
129 ac_help="$ac_help
130 --enable-precomp enable use of precompiled headers (Mac OS X)"
131 ac_help="$ac_help
132 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
133 ac_help="$ac_help
134 --enable-debug_info create code with debugging information"
135 ac_help="$ac_help
136 --enable-debug_gdb create code with extra GDB debugging information"
137 ac_help="$ac_help
138 --enable-debug_cntxt use wxDebugContext"
139 ac_help="$ac_help
140 --enable-mem_tracing create code with memory tracing"
141 ac_help="$ac_help
142 --enable-profile create code with profiling information"
143 ac_help="$ac_help
144 --enable-no_rtti create code without RTTI information"
145 ac_help="$ac_help
146 --enable-no_exceptions create code without C++ exceptions handling"
147 ac_help="$ac_help
148 --enable-permissive compile code disregarding strict ANSI"
149 ac_help="$ac_help
150 --enable-no_deps create code without dependency information"
151 ac_help="$ac_help
152 --enable-compat20 enable wxWindows 2.0 compatibility"
153 ac_help="$ac_help
154 --disable-compat22 disable wxWindows 2.2 compatibility"
155 ac_help="$ac_help
156 --enable-intl use internationalization system"
157 ac_help="$ac_help
158 --enable-config use wxConfig (and derived) classes"
159 ac_help="$ac_help
160 --enable-protocols use wxProtocol and derived classes"
161 ac_help="$ac_help
162 --enable-ftp use wxFTP (requires wxProtocol"
163 ac_help="$ac_help
164 --enable-http use wxHTTP (requires wxProtocol"
165 ac_help="$ac_help
166 --enable-fileproto use wxFileProto class (requires wxProtocol"
167 ac_help="$ac_help
168 --enable-sockets use socket/network classes"
169 ac_help="$ac_help
170 --enable-ipc use interprocess communication (wxSocket etc.)"
171 ac_help="$ac_help
172 --enable-cmdline use wxCmdLineParser class"
173 ac_help="$ac_help
174 --enable-datetime use wxDateTime class"
175 ac_help="$ac_help
176 --enable-timedate use obsolete wxDate/wxTime classes"
177 ac_help="$ac_help
178 --enable-stopwatch use wxStopWatch class"
179 ac_help="$ac_help
180 --enable-dialupman use dialup network classes"
181 ac_help="$ac_help
182 --enable-apple_ieee use the Apple IEEE codec"
183 ac_help="$ac_help
184 --enable-timer use wxTimer class"
185 ac_help="$ac_help
186 --enable-wave use wxWave class"
187 ac_help="$ac_help
188 --enable-fraction use wxFraction class"
189 ac_help="$ac_help
190 --enable-dynlib use wxLibrary class for DLL loading"
191 ac_help="$ac_help
192 --enable-dynamicloader use (new) wxDynamicLibrary class"
193 ac_help="$ac_help
194 --enable-longlong use wxLongLong class"
195 ac_help="$ac_help
196 --enable-geometry use geometry class"
197 ac_help="$ac_help
198 --enable-log use logging system"
199 ac_help="$ac_help
200 --enable-streams use wxStream etc classes"
201 ac_help="$ac_help
202 --enable-file use wxFile classes"
203 ac_help="$ac_help
204 --enable-ffile use wxFFile classes"
205 ac_help="$ac_help
206 --enable-textbuf use wxTextBuffer class"
207 ac_help="$ac_help
208 --enable-textfile use wxTextFile class"
209 ac_help="$ac_help
210 --enable-fontmap use font encodings conversion classes"
211 ac_help="$ac_help
212 --enable-unicode compile wxString with Unicode support"
213 ac_help="$ac_help
214 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
215 ac_help="$ac_help
216 --enable-wxprintfv use wxWindows implementation of vprintf()"
217 ac_help="$ac_help
218 --enable-std_iostreams use standard C++ stream classes"
219 ac_help="$ac_help
220 --enable-filesystem use virtual file systems classes"
221 ac_help="$ac_help
222 --enable-fs_inet use virtual HTTP/FTP filesystems"
223 ac_help="$ac_help
224 --enable-fs_zip use virtual ZIP filesystems"
225 ac_help="$ac_help
226 --enable-zipstream use wxZipInputStream"
227 ac_help="$ac_help
228 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
229 ac_help="$ac_help
230 --enable-snglinst use wxSingleInstanceChecker class"
231 ac_help="$ac_help
232 --enable-mimetype use wxMimeTypesManager"
233 ac_help="$ac_help
234 --enable-sysoptions use wxSystemOptions"
235 ac_help="$ac_help
236 --enable-url use wxURL class"
237 ac_help="$ac_help
238 --enable-protocol use wxProtocol class"
239 ac_help="$ac_help
240 --enable-protocol-http HTTP support in wxProtocol"
241 ac_help="$ac_help
242 --enable-protocol-ftp FTP support in wxProtocol"
243 ac_help="$ac_help
244 --enable-protocol-file FILE support in wxProtocol"
245 ac_help="$ac_help
246 --enable-threads use threads"
247 ac_help="$ac_help
248 --enable-docview use document view architecture"
249 ac_help="$ac_help
250 --enable-help use help subsystem"
251 ac_help="$ac_help
252 --enable-mshtmlhelp use MS HTML Help (win32)"
253 ac_help="$ac_help
254 --enable-html use wxHTML sub-library"
255 ac_help="$ac_help
256 --enable-htmlhelp use wxHTML-based help"
257 ac_help="$ac_help
258 --enable-constraints use layout-constraints system"
259 ac_help="$ac_help
260 --enable-printarch use printing architecture"
261 ac_help="$ac_help
262 --enable-mdi use multiple document interface architecture"
263 ac_help="$ac_help
264 --enable-loggui use standard GUI logger"
265 ac_help="$ac_help
266 --enable-logwin use wxLogWindow"
267 ac_help="$ac_help
268 --enable-logdialog use wxLogDialog"
269 ac_help="$ac_help
270 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
271 ac_help="$ac_help
272 --enable-prologio use Prolog IO library"
273 ac_help="$ac_help
274 --enable-resources use wxWindows resources"
275 ac_help="$ac_help
276 --enable-xresources use X resources for save (default for gtk+)"
277 ac_help="$ac_help
278 --enable-clipboard use wxClipboard classes"
279 ac_help="$ac_help
280 --enable-dnd use Drag'n'Drop classes"
281 ac_help="$ac_help
282 --enable-metafile use win32 metafiles"
283 ac_help="$ac_help
284 --enable-treelayout use wxTreeLayout classes"
285 ac_help="$ac_help
286 --enable-controls use all usual controls"
287 ac_help="$ac_help
288 --enable-accel use accelerators"
289 ac_help="$ac_help
290 --enable-button use wxButton class"
291 ac_help="$ac_help
292 --enable-bmpbutton use wxBitmapButton class"
293 ac_help="$ac_help
294 --enable-calendar use wxCalendarCtrl class"
295 ac_help="$ac_help
296 --enable-caret use wxCaret class"
297 ac_help="$ac_help
298 --enable-checkbox use wxCheckBox class"
299 ac_help="$ac_help
300 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
301 ac_help="$ac_help
302 --enable-choice use wxChoice class"
303 ac_help="$ac_help
304 --enable-combobox use wxComboBox classes"
305 ac_help="$ac_help
306 --enable-gauge use wxGauge class"
307 ac_help="$ac_help
308 --enable-grid use wxGrid class"
309 ac_help="$ac_help
310 --enable-newgrid use new wxGrid class"
311 ac_help="$ac_help
312 --enable-imaglist use wxImageList class"
313 ac_help="$ac_help
314 --enable-listbox use wxListBox class"
315 ac_help="$ac_help
316 --enable-listctrl use wxListCtrl class"
317 ac_help="$ac_help
318 --enable-notebook use wxNotebook class"
319 ac_help="$ac_help
320 --enable-propsheet use wxPropertySheet class"
321 ac_help="$ac_help
322 --enable-radiobox use wxRadioBox class"
323 ac_help="$ac_help
324 --enable-radiobtn use wxRadioButton class"
325 ac_help="$ac_help
326 --enable-sash use wxSashWindow class"
327 ac_help="$ac_help
328 --enable-scrollbar use wxScrollBar class and scrollable windows"
329 ac_help="$ac_help
330 --enable-slider use wxSlider class"
331 ac_help="$ac_help
332 --enable-spinbtn use wxSpinButton class"
333 ac_help="$ac_help
334 --enable-spinctrl use wxSpinCtrl class"
335 ac_help="$ac_help
336 --enable-splitter use wxSplitterWindow class"
337 ac_help="$ac_help
338 --enable-statbmp use wxStaticBitmap class"
339 ac_help="$ac_help
340 --enable-statbox use wxStaticBox class"
341 ac_help="$ac_help
342 --enable-statline use wxStaticLine class"
343 ac_help="$ac_help
344 --enable-stattext use wxStaticText class"
345 ac_help="$ac_help
346 --enable-statusbar use wxStatusBar class"
347 ac_help="$ac_help
348 --enable-tabdialog use wxTabControl class"
349 ac_help="$ac_help
350 --enable-textctrl use wxTextCtrl class"
351 ac_help="$ac_help
352 --enable-togglebtn use wxToggleButton class"
353 ac_help="$ac_help
354 --enable-toolbar use wxToolBar class"
355 ac_help="$ac_help
356 --enable-tbarnative use native wxToolBar class"
357 ac_help="$ac_help
358 --enable-tbarsmpl use wxToolBarSimple class"
359 ac_help="$ac_help
360 --enable-treectrl use wxTreeCtrl class"
361 ac_help="$ac_help
362 --enable-tipwindow use wxTipWindow class"
363 ac_help="$ac_help
364 --enable-popupwin use wxPopUpWindow class"
365 ac_help="$ac_help
366 --enable-commondlg use all common dialogs"
367 ac_help="$ac_help
368 --enable-choicedlg use wxChoiceDialog"
369 ac_help="$ac_help
370 --enable-coldlg use wxColourDialog"
371 ac_help="$ac_help
372 --enable-filedlg use wxFileDialog"
373 ac_help="$ac_help
374 --enable-finddlg use wxFindReplaceDialog"
375 ac_help="$ac_help
376 --enable-fontdlg use wxFontDialog"
377 ac_help="$ac_help
378 --enable-dirdlg use wxDirDialog"
379 ac_help="$ac_help
380 --enable-msgdlg use wxMessageDialog"
381 ac_help="$ac_help
382 --enable-numberdlg use wxNumberEntryDialog"
383 ac_help="$ac_help
384 --enable-splash use wxSplashScreen"
385 ac_help="$ac_help
386 --enable-textdlg use wxTextDialog"
387 ac_help="$ac_help
388 --enable-tipdlg use startup tips"
389 ac_help="$ac_help
390 --enable-progressdlg use wxProgressDialog"
391 ac_help="$ac_help
392 --enable-wizarddlg use wxWizard"
393 ac_help="$ac_help
394 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
395 ac_help="$ac_help
396 --enable-miniframe use wxMiniFrame class"
397 ac_help="$ac_help
398 --enable-tooltips use wxToolTip class"
399 ac_help="$ac_help
400 --enable-splines use spline drawing code"
401 ac_help="$ac_help
402 --enable-validators use wxValidator and derived classes"
403 ac_help="$ac_help
404 --enable-busyinfo use wxBusyInfo"
405 ac_help="$ac_help
406 --enable-joystick use wxJoystick (Linux only)"
407 ac_help="$ac_help
408 --enable-metafiles use wxMetaFile (Windows only)"
409 ac_help="$ac_help
410 --enable-dragimage use wxDragImage"
411 ac_help="$ac_help
412 --enable-palette use wxPalette class"
413 ac_help="$ac_help
414 --enable-image use wxImage class"
415 ac_help="$ac_help
416 --enable-gif use gif images (GIF file format)"
417 ac_help="$ac_help
418 --enable-pcx use pcx images (PCX file format)"
419 ac_help="$ac_help
420 --enable-iff use iff images (IFF file format)"
421 ac_help="$ac_help
422 --enable-pnm use pnm images (PNM file format)"
423 ac_help="$ac_help
424 --enable-xpm use xpm images (XPM file format)"
425 ac_help="$ac_help
426 --enable-icocur use Windows ICO and CUR formats"
427 ac_help="$ac_help
428 --disable-gtktest do not try to compile and run a test GTK+ program"
429 ac_help="$ac_help
430 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
431 ac_help="$ac_help
432 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
433 ac_help="$ac_help
434 --disable-gtktest Do not try to compile and run a test GTK program"
435 ac_help="$ac_help
436 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
437 ac_help="$ac_help
438 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
439 ac_help="$ac_help
440 --disable-gtktest Do not try to compile and run a test GTK program"
441 ac_help="$ac_help
442 --with-x use the X Window System"
443 ac_help="$ac_help
444 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
445
446 # Initialize some variables set by options.
447 # The variables have the same names as the options, with
448 # dashes changed to underlines.
449 build=NONE
450 cache_file=./config.cache
451 exec_prefix=NONE
452 host=NONE
453 no_create=
454 nonopt=NONE
455 no_recursion=
456 prefix=NONE
457 program_prefix=NONE
458 program_suffix=NONE
459 program_transform_name=s,x,x,
460 silent=
461 site=
462 srcdir=
463 target=NONE
464 verbose=
465 x_includes=NONE
466 x_libraries=NONE
467 bindir='${exec_prefix}/bin'
468 sbindir='${exec_prefix}/sbin'
469 libexecdir='${exec_prefix}/libexec'
470 datadir='${prefix}/share'
471 sysconfdir='${prefix}/etc'
472 sharedstatedir='${prefix}/com'
473 localstatedir='${prefix}/var'
474 libdir='${exec_prefix}/lib'
475 includedir='${prefix}/include'
476 oldincludedir='/usr/include'
477 infodir='${prefix}/info'
478 mandir='${prefix}/man'
479
480 # Initialize some other variables.
481 subdirs=
482 MFLAGS= MAKEFLAGS=
483 SHELL=${CONFIG_SHELL-/bin/sh}
484 # Maximum number of lines to put in a shell here document.
485 ac_max_here_lines=12
486
487 ac_prev=
488 for ac_option
489 do
490
491 # If the previous option needs an argument, assign it.
492 if test -n "$ac_prev"; then
493 eval "$ac_prev=\$ac_option"
494 ac_prev=
495 continue
496 fi
497
498 case "$ac_option" in
499 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
500 *) ac_optarg= ;;
501 esac
502
503 # Accept the important Cygnus configure options, so we can diagnose typos.
504
505 case "$ac_option" in
506
507 -bindir | --bindir | --bindi | --bind | --bin | --bi)
508 ac_prev=bindir ;;
509 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
510 bindir="$ac_optarg" ;;
511
512 -build | --build | --buil | --bui | --bu)
513 ac_prev=build ;;
514 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
515 build="$ac_optarg" ;;
516
517 -cache-file | --cache-file | --cache-fil | --cache-fi \
518 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
519 ac_prev=cache_file ;;
520 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
521 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
522 cache_file="$ac_optarg" ;;
523
524 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
525 ac_prev=datadir ;;
526 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
527 | --da=*)
528 datadir="$ac_optarg" ;;
529
530 -disable-* | --disable-*)
531 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
532 # Reject names that are not valid shell variable names.
533 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
534 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
535 fi
536 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
537 eval "enable_${ac_feature}=no" ;;
538
539 -enable-* | --enable-*)
540 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
541 # Reject names that are not valid shell variable names.
542 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
543 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
544 fi
545 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
546 case "$ac_option" in
547 *=*) ;;
548 *) ac_optarg=yes ;;
549 esac
550 eval "enable_${ac_feature}='$ac_optarg'" ;;
551
552 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
553 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
554 | --exec | --exe | --ex)
555 ac_prev=exec_prefix ;;
556 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
557 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
558 | --exec=* | --exe=* | --ex=*)
559 exec_prefix="$ac_optarg" ;;
560
561 -gas | --gas | --ga | --g)
562 # Obsolete; use --with-gas.
563 with_gas=yes ;;
564
565 -help | --help | --hel | --he)
566 # Omit some internal or obsolete options to make the list less imposing.
567 # This message is too long to be a string in the A/UX 3.1 sh.
568 cat << EOF
569 Usage: configure [options] [host]
570 Options: [defaults in brackets after descriptions]
571 Configuration:
572 --cache-file=FILE cache test results in FILE
573 --help print this message
574 --no-create do not create output files
575 --quiet, --silent do not print \`checking...' messages
576 --version print the version of autoconf that created configure
577 Directory and file names:
578 --prefix=PREFIX install architecture-independent files in PREFIX
579 [$ac_default_prefix]
580 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
581 [same as prefix]
582 --bindir=DIR user executables in DIR [EPREFIX/bin]
583 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
584 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
585 --datadir=DIR read-only architecture-independent data in DIR
586 [PREFIX/share]
587 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
588 --sharedstatedir=DIR modifiable architecture-independent data in DIR
589 [PREFIX/com]
590 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
591 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
592 --includedir=DIR C header files in DIR [PREFIX/include]
593 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
594 --infodir=DIR info documentation in DIR [PREFIX/info]
595 --mandir=DIR man documentation in DIR [PREFIX/man]
596 --srcdir=DIR find the sources in DIR [configure dir or ..]
597 --program-prefix=PREFIX prepend PREFIX to installed program names
598 --program-suffix=SUFFIX append SUFFIX to installed program names
599 --program-transform-name=PROGRAM
600 run sed PROGRAM on installed program names
601 EOF
602 cat << EOF
603 Host type:
604 --build=BUILD configure for building on BUILD [BUILD=HOST]
605 --host=HOST configure for HOST [guessed]
606 --target=TARGET configure for TARGET [TARGET=HOST]
607 Features and packages:
608 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
609 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
610 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
611 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
612 --x-includes=DIR X include files are in DIR
613 --x-libraries=DIR X library files are in DIR
614 EOF
615 if test -n "$ac_help"; then
616 echo "--enable and --with options recognized:$ac_help"
617 fi
618 exit 0 ;;
619
620 -host | --host | --hos | --ho)
621 ac_prev=host ;;
622 -host=* | --host=* | --hos=* | --ho=*)
623 host="$ac_optarg" ;;
624
625 -includedir | --includedir | --includedi | --included | --include \
626 | --includ | --inclu | --incl | --inc)
627 ac_prev=includedir ;;
628 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
629 | --includ=* | --inclu=* | --incl=* | --inc=*)
630 includedir="$ac_optarg" ;;
631
632 -infodir | --infodir | --infodi | --infod | --info | --inf)
633 ac_prev=infodir ;;
634 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
635 infodir="$ac_optarg" ;;
636
637 -libdir | --libdir | --libdi | --libd)
638 ac_prev=libdir ;;
639 -libdir=* | --libdir=* | --libdi=* | --libd=*)
640 libdir="$ac_optarg" ;;
641
642 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
643 | --libexe | --libex | --libe)
644 ac_prev=libexecdir ;;
645 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
646 | --libexe=* | --libex=* | --libe=*)
647 libexecdir="$ac_optarg" ;;
648
649 -localstatedir | --localstatedir | --localstatedi | --localstated \
650 | --localstate | --localstat | --localsta | --localst \
651 | --locals | --local | --loca | --loc | --lo)
652 ac_prev=localstatedir ;;
653 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
654 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
655 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
656 localstatedir="$ac_optarg" ;;
657
658 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
659 ac_prev=mandir ;;
660 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
661 mandir="$ac_optarg" ;;
662
663 -nfp | --nfp | --nf)
664 # Obsolete; use --without-fp.
665 with_fp=no ;;
666
667 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
668 | --no-cr | --no-c)
669 no_create=yes ;;
670
671 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
672 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
673 no_recursion=yes ;;
674
675 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
676 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
677 | --oldin | --oldi | --old | --ol | --o)
678 ac_prev=oldincludedir ;;
679 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
680 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
681 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
682 oldincludedir="$ac_optarg" ;;
683
684 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
685 ac_prev=prefix ;;
686 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
687 prefix="$ac_optarg" ;;
688
689 -program-prefix | --program-prefix | --program-prefi | --program-pref \
690 | --program-pre | --program-pr | --program-p)
691 ac_prev=program_prefix ;;
692 -program-prefix=* | --program-prefix=* | --program-prefi=* \
693 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
694 program_prefix="$ac_optarg" ;;
695
696 -program-suffix | --program-suffix | --program-suffi | --program-suff \
697 | --program-suf | --program-su | --program-s)
698 ac_prev=program_suffix ;;
699 -program-suffix=* | --program-suffix=* | --program-suffi=* \
700 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
701 program_suffix="$ac_optarg" ;;
702
703 -program-transform-name | --program-transform-name \
704 | --program-transform-nam | --program-transform-na \
705 | --program-transform-n | --program-transform- \
706 | --program-transform | --program-transfor \
707 | --program-transfo | --program-transf \
708 | --program-trans | --program-tran \
709 | --progr-tra | --program-tr | --program-t)
710 ac_prev=program_transform_name ;;
711 -program-transform-name=* | --program-transform-name=* \
712 | --program-transform-nam=* | --program-transform-na=* \
713 | --program-transform-n=* | --program-transform-=* \
714 | --program-transform=* | --program-transfor=* \
715 | --program-transfo=* | --program-transf=* \
716 | --program-trans=* | --program-tran=* \
717 | --progr-tra=* | --program-tr=* | --program-t=*)
718 program_transform_name="$ac_optarg" ;;
719
720 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
721 | -silent | --silent | --silen | --sile | --sil)
722 silent=yes ;;
723
724 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
725 ac_prev=sbindir ;;
726 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
727 | --sbi=* | --sb=*)
728 sbindir="$ac_optarg" ;;
729
730 -sharedstatedir | --sharedstatedir | --sharedstatedi \
731 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
732 | --sharedst | --shareds | --shared | --share | --shar \
733 | --sha | --sh)
734 ac_prev=sharedstatedir ;;
735 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
736 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
737 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
738 | --sha=* | --sh=*)
739 sharedstatedir="$ac_optarg" ;;
740
741 -site | --site | --sit)
742 ac_prev=site ;;
743 -site=* | --site=* | --sit=*)
744 site="$ac_optarg" ;;
745
746 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
747 ac_prev=srcdir ;;
748 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
749 srcdir="$ac_optarg" ;;
750
751 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
752 | --syscon | --sysco | --sysc | --sys | --sy)
753 ac_prev=sysconfdir ;;
754 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
755 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
756 sysconfdir="$ac_optarg" ;;
757
758 -target | --target | --targe | --targ | --tar | --ta | --t)
759 ac_prev=target ;;
760 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
761 target="$ac_optarg" ;;
762
763 -v | -verbose | --verbose | --verbos | --verbo | --verb)
764 verbose=yes ;;
765
766 -version | --version | --versio | --versi | --vers)
767 echo "configure generated by autoconf version 2.13"
768 exit 0 ;;
769
770 -with-* | --with-*)
771 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
772 # Reject names that are not valid shell variable names.
773 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
774 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
775 fi
776 ac_package=`echo $ac_package| sed 's/-/_/g'`
777 case "$ac_option" in
778 *=*) ;;
779 *) ac_optarg=yes ;;
780 esac
781 eval "with_${ac_package}='$ac_optarg'" ;;
782
783 -without-* | --without-*)
784 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
785 # Reject names that are not valid shell variable names.
786 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
787 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
788 fi
789 ac_package=`echo $ac_package| sed 's/-/_/g'`
790 eval "with_${ac_package}=no" ;;
791
792 --x)
793 # Obsolete; use --with-x.
794 with_x=yes ;;
795
796 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
797 | --x-incl | --x-inc | --x-in | --x-i)
798 ac_prev=x_includes ;;
799 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
800 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
801 x_includes="$ac_optarg" ;;
802
803 -x-libraries | --x-libraries | --x-librarie | --x-librari \
804 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
805 ac_prev=x_libraries ;;
806 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
807 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
808 x_libraries="$ac_optarg" ;;
809
810 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
811 ;;
812
813 *)
814 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
815 echo "configure: warning: $ac_option: invalid host type" 1>&2
816 fi
817 if test "x$nonopt" != xNONE; then
818 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
819 fi
820 nonopt="$ac_option"
821 ;;
822
823 esac
824 done
825
826 if test -n "$ac_prev"; then
827 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
828 fi
829
830 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
831
832 # File descriptor usage:
833 # 0 standard input
834 # 1 file creation
835 # 2 errors and warnings
836 # 3 some systems may open it to /dev/tty
837 # 4 used on the Kubota Titan
838 # 6 checking for... messages and results
839 # 5 compiler messages saved in config.log
840 if test "$silent" = yes; then
841 exec 6>/dev/null
842 else
843 exec 6>&1
844 fi
845 exec 5>./config.log
846
847 echo "\
848 This file contains any messages produced by compilers while
849 running configure, to aid debugging if configure makes a mistake.
850 " 1>&5
851
852 # Strip out --no-create and --no-recursion so they do not pile up.
853 # Also quote any args containing shell metacharacters.
854 ac_configure_args=
855 for ac_arg
856 do
857 case "$ac_arg" in
858 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
859 | --no-cr | --no-c) ;;
860 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
861 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
862 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
863 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
864 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
865 esac
866 done
867
868 # NLS nuisances.
869 # Only set these to C if already set. These must not be set unconditionally
870 # because not all systems understand e.g. LANG=C (notably SCO).
871 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
872 # Non-C LC_CTYPE values break the ctype check.
873 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
874 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
875 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
876 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
877
878 # confdefs.h avoids OS command line length limits that DEFS can exceed.
879 rm -rf conftest* confdefs.h
880 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
881 echo > confdefs.h
882
883 # A filename unique to this package, relative to the directory that
884 # configure is in, which we can look for to find out if srcdir is correct.
885 ac_unique_file=wx-config.in
886
887 # Find the source files, if location was not specified.
888 if test -z "$srcdir"; then
889 ac_srcdir_defaulted=yes
890 # Try the directory containing this script, then its parent.
891 ac_prog=$0
892 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
893 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
894 srcdir=$ac_confdir
895 if test ! -r $srcdir/$ac_unique_file; then
896 srcdir=..
897 fi
898 else
899 ac_srcdir_defaulted=no
900 fi
901 if test ! -r $srcdir/$ac_unique_file; then
902 if test "$ac_srcdir_defaulted" = yes; then
903 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
904 else
905 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
906 fi
907 fi
908 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
909
910 # Prefer explicitly selected file to automatically selected ones.
911 if test -z "$CONFIG_SITE"; then
912 if test "x$prefix" != xNONE; then
913 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
914 else
915 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
916 fi
917 fi
918 for ac_site_file in $CONFIG_SITE; do
919 if test -r "$ac_site_file"; then
920 echo "loading site script $ac_site_file"
921 . "$ac_site_file"
922 fi
923 done
924
925 if test -r "$cache_file"; then
926 echo "loading cache $cache_file"
927 . $cache_file
928 else
929 echo "creating cache $cache_file"
930 > $cache_file
931 fi
932
933 ac_ext=c
934 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
935 ac_cpp='$CPP $CPPFLAGS'
936 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
937 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
938 cross_compiling=$ac_cv_prog_cc_cross
939
940 ac_exeext=
941 ac_objext=o
942 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
943 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
944 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
945 ac_n= ac_c='
946 ' ac_t=' '
947 else
948 ac_n=-n ac_c= ac_t=
949 fi
950 else
951 ac_n= ac_c='\c' ac_t=
952 fi
953
954
955
956 ac_aux_dir=
957 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
958 if test -f $ac_dir/install-sh; then
959 ac_aux_dir=$ac_dir
960 ac_install_sh="$ac_aux_dir/install-sh -c"
961 break
962 elif test -f $ac_dir/install.sh; then
963 ac_aux_dir=$ac_dir
964 ac_install_sh="$ac_aux_dir/install.sh -c"
965 break
966 fi
967 done
968 if test -z "$ac_aux_dir"; then
969 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
970 fi
971 ac_config_guess=$ac_aux_dir/config.guess
972 ac_config_sub=$ac_aux_dir/config.sub
973 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
974
975
976 # Do some error checking and defaulting for the host and target type.
977 # The inputs are:
978 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
979 #
980 # The rules are:
981 # 1. You are not allowed to specify --host, --target, and nonopt at the
982 # same time.
983 # 2. Host defaults to nonopt.
984 # 3. If nonopt is not specified, then host defaults to the current host,
985 # as determined by config.guess.
986 # 4. Target and build default to nonopt.
987 # 5. If nonopt is not specified, then target and build default to host.
988
989 # The aliases save the names the user supplied, while $host etc.
990 # will get canonicalized.
991 case $host---$target---$nonopt in
992 NONE---*---* | *---NONE---* | *---*---NONE) ;;
993 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
994 esac
995
996
997 # Make sure we can run config.sub.
998 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
999 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1000 fi
1001
1002 echo $ac_n "checking host system type""... $ac_c" 1>&6
1003 echo "configure:1004: checking host system type" >&5
1004
1005 host_alias=$host
1006 case "$host_alias" in
1007 NONE)
1008 case $nonopt in
1009 NONE)
1010 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1011 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1012 fi ;;
1013 *) host_alias=$nonopt ;;
1014 esac ;;
1015 esac
1016
1017 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1018 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1019 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1020 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1021 echo "$ac_t""$host" 1>&6
1022
1023 echo $ac_n "checking target system type""... $ac_c" 1>&6
1024 echo "configure:1025: checking target system type" >&5
1025
1026 target_alias=$target
1027 case "$target_alias" in
1028 NONE)
1029 case $nonopt in
1030 NONE) target_alias=$host_alias ;;
1031 *) target_alias=$nonopt ;;
1032 esac ;;
1033 esac
1034
1035 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1036 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1037 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1038 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1039 echo "$ac_t""$target" 1>&6
1040
1041 echo $ac_n "checking build system type""... $ac_c" 1>&6
1042 echo "configure:1043: checking build system type" >&5
1043
1044 build_alias=$build
1045 case "$build_alias" in
1046 NONE)
1047 case $nonopt in
1048 NONE) build_alias=$host_alias ;;
1049 *) build_alias=$nonopt ;;
1050 esac ;;
1051 esac
1052
1053 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1054 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1055 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1056 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1057 echo "$ac_t""$build" 1>&6
1058
1059 test "$host_alias" != "$target_alias" &&
1060 test "$program_prefix$program_suffix$program_transform_name" = \
1061 NONENONEs,x,x, &&
1062 program_prefix=${target_alias}-
1063
1064
1065
1066 WX_MAJOR_VERSION_NUMBER=2
1067 WX_MINOR_VERSION_NUMBER=3
1068 WX_RELEASE_NUMBER=3
1069
1070 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1071 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1072
1073 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1074
1075 WX_CURRENT=2
1076 WX_REVISION=0
1077 WX_AGE=0
1078
1079
1080
1081 USE_UNIX=1
1082 USE_WIN32=0
1083 USE_DOS=0
1084 USE_BEOS=0
1085 USE_MAC=0
1086
1087 USE_LINUX=
1088 USE_SGI=
1089 USE_HPUX=
1090 USE_SYSV=
1091 USE_SVR4=
1092 USE_AIX=
1093 USE_SUN=
1094 USE_SOLARIS=
1095 USE_SUNOS=
1096 USE_ALPHA=
1097 USE_OSF=
1098 USE_BSD=
1099 USE_DARWIN=
1100 USE_FREEBSD=
1101 USE_OPENBSD=
1102 USE_NETBSD=
1103 USE_VMS=
1104 USE_ULTRIX=
1105 USE_DATA_GENERAL=
1106
1107 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1108
1109 ALL_TOOLKITS="GTK MAC MGL MICROWIN MOTIF MSW PM WINE X11"
1110
1111 DEFAULT_wxUSE_GTK=0
1112 DEFAULT_wxUSE_MAC=0
1113 DEFAULT_wxUSE_MGL=0
1114 DEFAULT_wxUSE_MICROWIN=0
1115 DEFAULT_wxUSE_MOTIF=0
1116 DEFAULT_wxUSE_MSW=0
1117 DEFAULT_wxUSE_PM=0
1118 DEFAULT_wxUSE_WINE=0
1119 DEFAULT_wxUSE_X11=0
1120
1121 DEFAULT_DEFAULT_wxUSE_GTK=0
1122 DEFAULT_DEFAULT_wxUSE_MAC=0
1123 DEFAULT_DEFAULT_wxUSE_MGL=0
1124 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1125 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1126 DEFAULT_DEFAULT_wxUSE_MSW=0
1127 DEFAULT_DEFAULT_wxUSE_PM=0
1128 DEFAULT_DEFAULT_wxUSE_WINE=0
1129 DEFAULT_DEFAULT_wxUSE_X11=0
1130
1131 PROGRAM_EXT=
1132 SO_SUFFIX=so
1133
1134 case "${host}" in
1135 *-hp-hpux* )
1136 USE_HPUX=1
1137 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1138 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1139 SO_SUFFIX=sl
1140 cat >> confdefs.h <<\EOF
1141 #define __HPUX__ 1
1142 EOF
1143
1144 ;;
1145 *-*-linux* )
1146 USE_LINUX=1
1147 cat >> confdefs.h <<\EOF
1148 #define __LINUX__ 1
1149 EOF
1150
1151 TMP=`uname -m`
1152 if test "x$TMP" = "xalpha"; then
1153 USE_ALPHA=1
1154 cat >> confdefs.h <<\EOF
1155 #define __ALPHA__ 1
1156 EOF
1157
1158 fi
1159 DEFAULT_DEFAULT_wxUSE_GTK=1
1160 ;;
1161 *-*-irix5* | *-*-irix6* )
1162 USE_SGI=1
1163 USE_SVR4=1
1164 cat >> confdefs.h <<\EOF
1165 #define __SGI__ 1
1166 EOF
1167
1168 cat >> confdefs.h <<\EOF
1169 #define __SVR4__ 1
1170 EOF
1171
1172 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1173 ;;
1174 *-*-solaris2* )
1175 USE_SUN=1
1176 USE_SOLARIS=1
1177 USE_SVR4=1
1178 cat >> confdefs.h <<\EOF
1179 #define __SUN__ 1
1180 EOF
1181
1182 cat >> confdefs.h <<\EOF
1183 #define __SOLARIS__ 1
1184 EOF
1185
1186 cat >> confdefs.h <<\EOF
1187 #define __SVR4__ 1
1188 EOF
1189
1190 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1191 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1192 ;;
1193 *-*-sunos4* )
1194 USE_SUN=1
1195 USE_SUNOS=1
1196 USE_BSD=1
1197 cat >> confdefs.h <<\EOF
1198 #define __SUN__ 1
1199 EOF
1200
1201 cat >> confdefs.h <<\EOF
1202 #define __SUNOS__ 1
1203 EOF
1204
1205 cat >> confdefs.h <<\EOF
1206 #define __BSD__ 1
1207 EOF
1208
1209 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1210 ;;
1211 *-*-freebsd*)
1212 USE_BSD=1
1213 USE_FREEBSD=1
1214 cat >> confdefs.h <<\EOF
1215 #define __FREEBSD__ 1
1216 EOF
1217
1218 cat >> confdefs.h <<\EOF
1219 #define __BSD__ 1
1220 EOF
1221
1222 DEFAULT_DEFAULT_wxUSE_GTK=1
1223 ;;
1224 *-*-openbsd*)
1225 USE_BSD=1
1226 USE_OPENBSD=1
1227 cat >> confdefs.h <<\EOF
1228 #define __FREEBSD__ 1
1229 EOF
1230
1231 cat >> confdefs.h <<\EOF
1232 #define __OPENBSD__ 1
1233 EOF
1234
1235 DEFAULT_DEFAULT_wxUSE_GTK=1
1236 ;;
1237 *-*-netbsd*)
1238 USE_BSD=1
1239 USE_NETBSD=1
1240 cat >> confdefs.h <<\EOF
1241 #define __FREEBSD__ 1
1242 EOF
1243
1244 cat >> confdefs.h <<\EOF
1245 #define __NETBSD__ 1
1246 EOF
1247
1248 DEFAULT_DEFAULT_wxUSE_GTK=1
1249 ;;
1250 *-*-osf* )
1251 USE_ALPHA=1
1252 USE_OSF=1
1253 cat >> confdefs.h <<\EOF
1254 #define __ALPHA__ 1
1255 EOF
1256
1257 cat >> confdefs.h <<\EOF
1258 #define __OSF__ 1
1259 EOF
1260
1261 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1262 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1263 ;;
1264 *-*-dgux5* )
1265 USE_ALPHA=1
1266 USE_SVR4=1
1267 cat >> confdefs.h <<\EOF
1268 #define __ALPHA__ 1
1269 EOF
1270
1271 cat >> confdefs.h <<\EOF
1272 #define __SVR4__ 1
1273 EOF
1274
1275 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1276 ;;
1277 *-*-sysv5* )
1278 USE_SYSV=1
1279 USE_SVR4=1
1280 cat >> confdefs.h <<\EOF
1281 #define __SYSV__ 1
1282 EOF
1283
1284 cat >> confdefs.h <<\EOF
1285 #define __SVR4__ 1
1286 EOF
1287
1288 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1289 ;;
1290 *-*-aix* )
1291 USE_AIX=1
1292 USE_SYSV=1
1293 USE_SVR4=1
1294 cat >> confdefs.h <<\EOF
1295 #define __AIX__ 1
1296 EOF
1297
1298 cat >> confdefs.h <<\EOF
1299 #define __SYSV__ 1
1300 EOF
1301
1302 cat >> confdefs.h <<\EOF
1303 #define __SVR4__ 1
1304 EOF
1305
1306 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1307 ;;
1308
1309 *-*-cygwin* | *-*-mingw32* )
1310 USE_UNIX=0
1311 USE_WIN32=1
1312 SO_SUFFIX=dll
1313 cat >> confdefs.h <<\EOF
1314 #define __WIN32__ 1
1315 EOF
1316
1317 cat >> confdefs.h <<\EOF
1318 #define __WIN95__ 1
1319 EOF
1320
1321 cat >> confdefs.h <<\EOF
1322 #define __WINDOWS__ 1
1323 EOF
1324
1325 cat >> confdefs.h <<\EOF
1326 #define __GNUWIN32__ 1
1327 EOF
1328
1329 cat >> confdefs.h <<\EOF
1330 #define STRICT 1
1331 EOF
1332
1333 cat >> confdefs.h <<\EOF
1334 #define WINVER 0x0400
1335 EOF
1336
1337 PROGRAM_EXT=".exe"
1338 RESCOMP=windres
1339 DEFAULT_DEFAULT_wxUSE_MSW=1
1340 ;;
1341
1342 *-pc-msdosdjgpp )
1343 USE_UNIX=0
1344 USE_DOS=1
1345 cat >> confdefs.h <<\EOF
1346 #define __DOS__ 1
1347 EOF
1348
1349 PROGRAM_EXT=".exe"
1350 DEFAULT_DEFAULT_wxUSE_MGL=1
1351 ;;
1352
1353 *-pc-os2_emx | *-pc-os2-emx )
1354 cat >> confdefs.h <<\EOF
1355 #define __EMX__ 1
1356 EOF
1357
1358 PROGRAM_EXT=".exe"
1359 DEFAULT_DEFAULT_wxUSE_PM=1
1360 LIBS="$LIBS -lstdcpp"
1361 ;;
1362
1363 powerpc-*-darwin* )
1364 USE_BSD=1
1365 USE_DARWIN=1
1366 SO_SUFFIX=dylib
1367 cat >> confdefs.h <<\EOF
1368 #define __BSD__ 1
1369 EOF
1370
1371 cat >> confdefs.h <<\EOF
1372 #define __DARWIN__ 1
1373 EOF
1374
1375 cat >> confdefs.h <<\EOF
1376 #define __POWERPC__ 1
1377 EOF
1378
1379 DEFAULT_DEFAULT_wxUSE_MAC=1
1380 ;;
1381
1382 *-*-beos* )
1383 USE_BEOS=1
1384 cat >> confdefs.h <<\EOF
1385 #define __BEOS__ 1
1386 EOF
1387
1388 ;;
1389
1390 *)
1391 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1392 esac
1393
1394 if test "$USE_UNIX" = 1 ; then
1395 wxUSE_UNIX=yes
1396 cat >> confdefs.h <<\EOF
1397 #define __UNIX__ 1
1398 EOF
1399
1400 fi
1401
1402 if test "$USE_LINUX" = 1; then
1403 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1404 echo "configure:1405: checking for glibc 2.1 or later" >&5
1405 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1406 echo $ac_n "(cached) $ac_c" 1>&6
1407 else
1408
1409 cat > conftest.$ac_ext <<EOF
1410 #line 1411 "configure"
1411 #include "confdefs.h"
1412 #include <features.h>
1413 int main() {
1414
1415 #if !__GLIBC_PREREQ(2, 1)
1416 #error not glibc2.1
1417 #endif
1418
1419 ; return 0; }
1420 EOF
1421 if { (eval echo configure:1422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1422 rm -rf conftest*
1423
1424 wx_lib_glibc21=yes
1425
1426 else
1427 echo "configure: failed program was:" >&5
1428 cat conftest.$ac_ext >&5
1429 rm -rf conftest*
1430
1431 wx_lib_glibc21=no
1432
1433
1434 fi
1435 rm -f conftest*
1436
1437 fi
1438
1439 echo "$ac_t""$wx_lib_glibc21" 1>&6
1440 if test "$wx_lib_glibc21" = "yes"; then
1441 cat >> confdefs.h <<\EOF
1442 #define wxHAVE_GLIBC2 1
1443 EOF
1444
1445 fi
1446 fi
1447
1448
1449
1450
1451 wx_arg_cache_file="configarg.cache"
1452 echo "loading argument cache $wx_arg_cache_file"
1453 rm -f ${wx_arg_cache_file}.tmp
1454 touch ${wx_arg_cache_file}.tmp
1455 touch ${wx_arg_cache_file}
1456
1457
1458 DEBUG_CONFIGURE=0
1459 if test $DEBUG_CONFIGURE = 1; then
1460 DEFAULT_wxUSE_UNIVERSAL=no
1461
1462 DEFAULT_wxUSE_NANOX=no
1463
1464 DEFAULT_wxUSE_THREADS=yes
1465
1466 DEFAULT_wxUSE_SHARED=yes
1467 DEFAULT_wxUSE_SONAME=no
1468 DEFAULT_wxUSE_OPTIMISE=no
1469 DEFAULT_wxUSE_PROFILE=no
1470 DEFAULT_wxUSE_NO_DEPS=no
1471 DEFAULT_wxUSE_NO_RTTI=no
1472 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1473 DEFAULT_wxUSE_PERMISSIVE=no
1474 DEFAULT_wxUSE_DEBUG_FLAG=yes
1475 DEFAULT_wxUSE_DEBUG_INFO=yes
1476 DEFAULT_wxUSE_DEBUG_GDB=yes
1477 DEFAULT_wxUSE_MEM_TRACING=no
1478 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1479 DEFAULT_wxUSE_DMALLOC=no
1480 DEFAULT_wxUSE_PRECOMP=no
1481 DEFAULT_wxUSE_APPLE_IEEE=no
1482
1483 DEFAULT_wxUSE_LOG=yes
1484 DEFAULT_wxUSE_LOGWINDOW=no
1485 DEFAULT_wxUSE_LOGGUI=no
1486 DEFAULT_wxUSE_LOGDIALOG=no
1487
1488 DEFAULT_wxUSE_GUI=yes
1489 DEFAULT_wxUSE_CONTROLS=no
1490
1491 DEFAULT_wxUSE_REGEX=no
1492 DEFAULT_wxUSE_ZLIB=no
1493 DEFAULT_wxUSE_LIBPNG=no
1494 DEFAULT_wxUSE_LIBJPEG=no
1495 DEFAULT_wxUSE_LIBTIFF=no
1496 DEFAULT_wxUSE_ODBC=no
1497 DEFAULT_wxUSE_OPENGL=no
1498
1499 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1500 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1501 DEFAULT_wxUSE_STD_IOSTREAM=no
1502 DEFAULT_wxUSE_CMDLINE_PARSER=no
1503 DEFAULT_wxUSE_DATETIME=no
1504 DEFAULT_wxUSE_TIMEDATE=no
1505 DEFAULT_wxUSE_TIMER=no
1506 DEFAULT_wxUSE_STOPWATCH=no
1507 DEFAULT_wxUSE_FILE=no
1508 DEFAULT_wxUSE_FFILE=no
1509 DEFAULT_wxUSE_TEXTBUFFER=no
1510 DEFAULT_wxUSE_TEXTFILE=no
1511 DEFAULT_wxUSE_WAVE=no
1512 DEFAULT_wxUSE_INTL=no
1513 DEFAULT_wxUSE_CONFIG=no
1514 DEFAULT_wxUSE_FONTMAP=no
1515 DEFAULT_wxUSE_STREAMS=no
1516 DEFAULT_wxUSE_SOCKETS=no
1517 DEFAULT_wxUSE_DIALUP_MANAGER=no
1518 DEFAULT_wxUSE_JOYSTICK=no
1519 DEFAULT_wxUSE_DYNLIB_CLASS=no
1520 DEFAULT_wxUSE_DYNAMIC_LOADER=no
1521 DEFAULT_wxUSE_LONGLONG=no
1522 DEFAULT_wxUSE_GEOMETRY=no
1523
1524 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
1525 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
1526 DEFAULT_wxUSE_POSTSCRIPT=no
1527
1528 DEFAULT_wxUSE_X_RESOURCES=no
1529 DEFAULT_wxUSE_CLIPBOARD=no
1530 DEFAULT_wxUSE_TOOLTIPS=no
1531 DEFAULT_wxUSE_DRAG_AND_DROP=no
1532 DEFAULT_wxUSE_DRAGIMAGE=no
1533 DEFAULT_wxUSE_SPLINES=no
1534
1535 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
1536 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
1537 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
1538
1539 DEFAULT_wxUSE_PROLOGIO=no
1540 DEFAULT_wxUSE_RESOURCES=no
1541 DEFAULT_wxUSE_CONSTRAINTS=no
1542 DEFAULT_wxUSE_IPC=no
1543 DEFAULT_wxUSE_HELP=no
1544 DEFAULT_wxUSE_MS_HTML_HELP=no
1545 DEFAULT_wxUSE_WXHTML_HELP=no
1546 DEFAULT_wxUSE_TREELAYOUT=no
1547 DEFAULT_wxUSE_METAFILE=no
1548 DEFAULT_wxUSE_MIMETYPE=no
1549 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
1550 DEFAULT_wxUSE_PROTOCOL=no
1551 DEFAULT_wxUSE_PROTOCOL_HTTP=no
1552 DEFAULT_wxUSE_PROTOCOL_FTP=no
1553 DEFAULT_wxUSE_PROTOCOL_FILE=no
1554 DEFAULT_wxUSE_URL=no
1555
1556 DEFAULT_wxUSE_COMMONDLGS=no
1557 DEFAULT_wxUSE_CHOICEDLG=no
1558 DEFAULT_wxUSE_COLOURDLG=no
1559 DEFAULT_wxUSE_DIRDLG=no
1560 DEFAULT_wxUSE_FILEDLG=no
1561 DEFAULT_wxUSE_FINDREPLDLG=no
1562 DEFAULT_wxUSE_FONTDLG=no
1563 DEFAULT_wxUSE_MSGDLG=no
1564 DEFAULT_wxUSE_NUMBERDLG=no
1565 DEFAULT_wxUSE_TEXTDLG=no
1566 DEFAULT_wxUSE_SPLASH=no
1567 DEFAULT_wxUSE_STARTUP_TIPS=no
1568 DEFAULT_wxUSE_PROGRESSDLG=no
1569 DEFAULT_wxUSE_WIZARDDLG=no
1570
1571 DEFAULT_wxUSE_MENUS=no
1572 DEFAULT_wxUSE_MINIFRAME=no
1573 DEFAULT_wxUSE_HTML=no
1574 DEFAULT_wxUSE_FILESYSTEM=no
1575 DEFAULT_wxUSE_FS_INET=no
1576 DEFAULT_wxUSE_FS_ZIP=no
1577 DEFAULT_wxUSE_BUSYINFO=no
1578 DEFAULT_wxUSE_ZIPSTREAM=no
1579 DEFAULT_wxUSE_VALIDATORS=no
1580
1581 DEFAULT_wxUSE_ACCEL=no
1582 DEFAULT_wxUSE_BUTTON=no
1583 DEFAULT_wxUSE_BMPBUTTON=no
1584 DEFAULT_wxUSE_CALCTRL=no
1585 DEFAULT_wxUSE_CARET=no
1586 DEFAULT_wxUSE_CHECKBOX=no
1587 DEFAULT_wxUSE_CHECKLST=no
1588 DEFAULT_wxUSE_CHOICE=no
1589 DEFAULT_wxUSE_COMBOBOX=no
1590 DEFAULT_wxUSE_GAUGE=no
1591 DEFAULT_wxUSE_GRID=no
1592 DEFAULT_wxUSE_NEW_GRID=no
1593 DEFAULT_wxUSE_IMAGLIST=no
1594 DEFAULT_wxUSE_LISTBOX=no
1595 DEFAULT_wxUSE_LISTCTRL=no
1596 DEFAULT_wxUSE_NOTEBOOK=no
1597 DEFAULT_wxUSE_PROPSHEET=no
1598 DEFAULT_wxUSE_RADIOBOX=no
1599 DEFAULT_wxUSE_RADIOBTN=no
1600 DEFAULT_wxUSE_SASH=no
1601 DEFAULT_wxUSE_SCROLLBAR=no
1602 DEFAULT_wxUSE_SLIDER=no
1603 DEFAULT_wxUSE_SPINBTN=no
1604 DEFAULT_wxUSE_SPINCTRL=no
1605 DEFAULT_wxUSE_SPLITTER=no
1606 DEFAULT_wxUSE_STATBMP=no
1607 DEFAULT_wxUSE_STATBOX=no
1608 DEFAULT_wxUSE_STATLINE=no
1609 DEFAULT_wxUSE_STATTEXT=no
1610 DEFAULT_wxUSE_STATUSBAR=yes
1611 DEFAULT_wxUSE_TABDIALOG=no
1612 DEFAULT_wxUSE_TEXTCTRL=no
1613 DEFAULT_wxUSE_TOGGLEBTN=no
1614 DEFAULT_wxUSE_TOOLBAR=no
1615 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
1616 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
1617 DEFAULT_wxUSE_TREECTRL=no
1618 DEFAULT_wxUSE_POPUPWIN=no
1619 DEFAULT_wxUSE_TIPWINDOW=no
1620
1621 DEFAULT_wxUSE_UNICODE=no
1622 DEFAULT_wxUSE_UNICODE_MSLU=no
1623 DEFAULT_wxUSE_WCSRTOMBS=no
1624
1625 DEFAULT_wxUSE_PALETTE=no
1626 DEFAULT_wxUSE_IMAGE=no
1627 DEFAULT_wxUSE_GIF=no
1628 DEFAULT_wxUSE_PCX=no
1629 DEFAULT_wxUSE_PNM=no
1630 DEFAULT_wxUSE_IFF=no
1631 DEFAULT_wxUSE_XPM=no
1632 DEFAULT_wxUSE_ICO_CUR=no
1633 else
1634 DEFAULT_wxUSE_UNIVERSAL=no
1635
1636 DEFAULT_wxUSE_NANOX=no
1637
1638 DEFAULT_wxUSE_THREADS=yes
1639
1640 DEFAULT_wxUSE_SHARED=yes
1641 DEFAULT_wxUSE_SONAME=no
1642 DEFAULT_wxUSE_OPTIMISE=yes
1643 DEFAULT_wxUSE_PROFILE=no
1644 DEFAULT_wxUSE_NO_DEPS=no
1645 DEFAULT_wxUSE_NO_RTTI=no
1646 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1647 DEFAULT_wxUSE_PERMISSIVE=no
1648 DEFAULT_wxUSE_DEBUG_FLAG=no
1649 DEFAULT_wxUSE_DEBUG_INFO=no
1650 DEFAULT_wxUSE_DEBUG_GDB=no
1651 DEFAULT_wxUSE_MEM_TRACING=no
1652 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1653 DEFAULT_wxUSE_DMALLOC=no
1654 DEFAULT_wxUSE_PRECOMP=no
1655 DEFAULT_wxUSE_APPLE_IEEE=yes
1656
1657 DEFAULT_wxUSE_LOG=yes
1658 DEFAULT_wxUSE_LOGWINDOW=yes
1659 DEFAULT_wxUSE_LOGGUI=yes
1660 DEFAULT_wxUSE_LOGDIALOG=yes
1661
1662 DEFAULT_wxUSE_GUI=yes
1663
1664 DEFAULT_wxUSE_REGEX=yes
1665 DEFAULT_wxUSE_ZLIB=yes
1666 DEFAULT_wxUSE_LIBPNG=yes
1667 DEFAULT_wxUSE_LIBJPEG=yes
1668 DEFAULT_wxUSE_LIBTIFF=yes
1669 DEFAULT_wxUSE_ODBC=no
1670 DEFAULT_wxUSE_OPENGL=no
1671
1672 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
1673 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
1674 DEFAULT_wxUSE_STD_IOSTREAM=no
1675 DEFAULT_wxUSE_CMDLINE_PARSER=yes
1676 DEFAULT_wxUSE_DATETIME=yes
1677 DEFAULT_wxUSE_TIMEDATE=no
1678 DEFAULT_wxUSE_TIMER=yes
1679 DEFAULT_wxUSE_STOPWATCH=yes
1680 DEFAULT_wxUSE_FILE=yes
1681 DEFAULT_wxUSE_FFILE=yes
1682 DEFAULT_wxUSE_TEXTBUFFER=yes
1683 DEFAULT_wxUSE_TEXTFILE=yes
1684 DEFAULT_wxUSE_WAVE=no
1685 DEFAULT_wxUSE_INTL=yes
1686 DEFAULT_wxUSE_CONFIG=yes
1687 DEFAULT_wxUSE_FONTMAP=yes
1688 DEFAULT_wxUSE_STREAMS=yes
1689 DEFAULT_wxUSE_SOCKETS=yes
1690 DEFAULT_wxUSE_DIALUP_MANAGER=yes
1691 DEFAULT_wxUSE_JOYSTICK=yes
1692 DEFAULT_wxUSE_DYNLIB_CLASS=yes
1693 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
1694 DEFAULT_wxUSE_LONGLONG=yes
1695 DEFAULT_wxUSE_GEOMETRY=yes
1696
1697 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
1698 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
1699 DEFAULT_wxUSE_POSTSCRIPT=yes
1700
1701 DEFAULT_wxUSE_X_RESOURCES=no
1702 DEFAULT_wxUSE_CLIPBOARD=yes
1703 DEFAULT_wxUSE_TOOLTIPS=yes
1704 DEFAULT_wxUSE_DRAG_AND_DROP=yes
1705 DEFAULT_wxUSE_DRAGIMAGE=yes
1706 DEFAULT_wxUSE_SPLINES=yes
1707
1708 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
1709 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
1710 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
1711
1712 DEFAULT_wxUSE_PROLOGIO=yes
1713 DEFAULT_wxUSE_RESOURCES=yes
1714 DEFAULT_wxUSE_CONSTRAINTS=yes
1715 DEFAULT_wxUSE_IPC=yes
1716 DEFAULT_wxUSE_HELP=yes
1717 DEFAULT_wxUSE_MS_HTML_HELP=yes
1718 DEFAULT_wxUSE_WXHTML_HELP=yes
1719 DEFAULT_wxUSE_TREELAYOUT=yes
1720 DEFAULT_wxUSE_METAFILE=yes
1721 DEFAULT_wxUSE_MIMETYPE=yes
1722 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
1723 DEFAULT_wxUSE_PROTOCOL=yes
1724 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
1725 DEFAULT_wxUSE_PROTOCOL_FTP=yes
1726 DEFAULT_wxUSE_PROTOCOL_FILE=yes
1727 DEFAULT_wxUSE_URL=yes
1728
1729 DEFAULT_wxUSE_COMMONDLGS=yes
1730 DEFAULT_wxUSE_CHOICEDLG=yes
1731 DEFAULT_wxUSE_COLOURDLG=yes
1732 DEFAULT_wxUSE_DIRDLG=yes
1733 DEFAULT_wxUSE_FILEDLG=yes
1734 DEFAULT_wxUSE_FINDREPLDLG=yes
1735 DEFAULT_wxUSE_FONTDLG=yes
1736 DEFAULT_wxUSE_MSGDLG=yes
1737 DEFAULT_wxUSE_NUMBERDLG=yes
1738 DEFAULT_wxUSE_TEXTDLG=yes
1739 DEFAULT_wxUSE_SPLASH=yes
1740 DEFAULT_wxUSE_STARTUP_TIPS=yes
1741 DEFAULT_wxUSE_PROGRESSDLG=yes
1742 DEFAULT_wxUSE_WIZARDDLG=yes
1743
1744 DEFAULT_wxUSE_MENUS=yes
1745 DEFAULT_wxUSE_MINIFRAME=yes
1746 DEFAULT_wxUSE_HTML=yes
1747 DEFAULT_wxUSE_FILESYSTEM=yes
1748 DEFAULT_wxUSE_FS_INET=yes
1749 DEFAULT_wxUSE_FS_ZIP=yes
1750 DEFAULT_wxUSE_BUSYINFO=yes
1751 DEFAULT_wxUSE_ZIPSTREAM=yes
1752 DEFAULT_wxUSE_VALIDATORS=yes
1753
1754 DEFAULT_wxUSE_ACCEL=yes
1755 DEFAULT_wxUSE_BUTTON=yes
1756 DEFAULT_wxUSE_BMPBUTTON=yes
1757 DEFAULT_wxUSE_CALCTRL=yes
1758 DEFAULT_wxUSE_CARET=yes
1759 DEFAULT_wxUSE_CHECKBOX=yes
1760 DEFAULT_wxUSE_CHECKLST=yes
1761 DEFAULT_wxUSE_CHOICE=yes
1762 DEFAULT_wxUSE_COMBOBOX=yes
1763 DEFAULT_wxUSE_GAUGE=yes
1764 DEFAULT_wxUSE_GRID=yes
1765 DEFAULT_wxUSE_NEW_GRID=yes
1766 DEFAULT_wxUSE_IMAGLIST=yes
1767 DEFAULT_wxUSE_LISTBOX=yes
1768 DEFAULT_wxUSE_LISTCTRL=yes
1769 DEFAULT_wxUSE_NOTEBOOK=yes
1770 DEFAULT_wxUSE_PROPSHEET=yes
1771 DEFAULT_wxUSE_RADIOBOX=yes
1772 DEFAULT_wxUSE_RADIOBTN=yes
1773 DEFAULT_wxUSE_SASH=yes
1774 DEFAULT_wxUSE_SCROLLBAR=yes
1775 DEFAULT_wxUSE_SLIDER=yes
1776 DEFAULT_wxUSE_SPINBTN=yes
1777 DEFAULT_wxUSE_SPINCTRL=yes
1778 DEFAULT_wxUSE_SPLITTER=yes
1779 DEFAULT_wxUSE_STATBMP=yes
1780 DEFAULT_wxUSE_STATBOX=yes
1781 DEFAULT_wxUSE_STATLINE=yes
1782 DEFAULT_wxUSE_STATTEXT=yes
1783 DEFAULT_wxUSE_STATUSBAR=yes
1784 DEFAULT_wxUSE_TABDIALOG=no
1785 DEFAULT_wxUSE_TEXTCTRL=yes
1786 DEFAULT_wxUSE_TOGGLEBTN=yes
1787 DEFAULT_wxUSE_TOOLBAR=yes
1788 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
1789 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
1790 DEFAULT_wxUSE_TREECTRL=yes
1791 DEFAULT_wxUSE_POPUPWIN=yes
1792 DEFAULT_wxUSE_TIPWINDOW=yes
1793
1794 DEFAULT_wxUSE_UNICODE=no
1795 DEFAULT_wxUSE_UNICODE_MSLU=yes
1796 DEFAULT_wxUSE_WCSRTOMBS=no
1797
1798 DEFAULT_wxUSE_PALETTE=yes
1799 DEFAULT_wxUSE_IMAGE=yes
1800 DEFAULT_wxUSE_GIF=yes
1801 DEFAULT_wxUSE_PCX=yes
1802 DEFAULT_wxUSE_IFF=no
1803 DEFAULT_wxUSE_PNM=yes
1804 DEFAULT_wxUSE_XPM=yes
1805 DEFAULT_wxUSE_ICO_CUR=yes
1806 fi
1807
1808
1809
1810 for toolkit in `echo $ALL_TOOLKITS`; do
1811 LINE=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1812 if test "x$LINE" != x ; then
1813 has_toolkit_in_cache=1
1814 eval "DEFAULT_$LINE"
1815 eval "CACHE_$toolkit=1"
1816 fi
1817 done
1818
1819
1820
1821 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1822 echo "configure:1823: checking for --enable-gui" >&5
1823 no_cache=0
1824 # Check whether --enable-gui or --disable-gui was given.
1825 if test "${enable_gui+set}" = set; then
1826 enableval="$enable_gui"
1827
1828 if test "$enableval" = yes; then
1829 ac_cv_use_gui='wxUSE_GUI=yes'
1830 else
1831 ac_cv_use_gui='wxUSE_GUI=no'
1832 fi
1833
1834 else
1835
1836 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1837 if test "x$LINE" != x ; then
1838 eval "DEFAULT_$LINE"
1839 else
1840 no_cache=1
1841 fi
1842
1843 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1844
1845 fi
1846
1847
1848 eval "$ac_cv_use_gui"
1849 if test "$no_cache" != 1; then
1850 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1851 fi
1852
1853 if test "$wxUSE_GUI" = yes; then
1854 echo "$ac_t""yes" 1>&6
1855 else
1856 echo "$ac_t""no" 1>&6
1857 fi
1858
1859
1860 if test "$wxUSE_GUI" = "yes"; then
1861
1862
1863 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1864 echo "configure:1865: checking for --enable-universal" >&5
1865 no_cache=0
1866 # Check whether --enable-universal or --disable-universal was given.
1867 if test "${enable_universal+set}" = set; then
1868 enableval="$enable_universal"
1869
1870 if test "$enableval" = yes; then
1871 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
1872 else
1873 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
1874 fi
1875
1876 else
1877
1878 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1879 if test "x$LINE" != x ; then
1880 eval "DEFAULT_$LINE"
1881 else
1882 no_cache=1
1883 fi
1884
1885 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1886
1887 fi
1888
1889
1890 eval "$ac_cv_use_universal"
1891 if test "$no_cache" != 1; then
1892 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1893 fi
1894
1895 if test "$wxUSE_UNIVERSAL" = yes; then
1896 echo "$ac_t""yes" 1>&6
1897 else
1898 echo "$ac_t""no" 1>&6
1899 fi
1900
1901 # Check whether --with-gtk or --without-gtk was given.
1902 if test "${with_gtk+set}" = set; then
1903 withval="$with_gtk"
1904 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
1905 fi
1906
1907 # Check whether --with-motif or --without-motif was given.
1908 if test "${with_motif+set}" = set; then
1909 withval="$with_motif"
1910 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
1911 fi
1912
1913 # Check whether --with-mac or --without-mac was given.
1914 if test "${with_mac+set}" = set; then
1915 withval="$with_mac"
1916 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
1917 fi
1918
1919 # Check whether --with-wine or --without-wine was given.
1920 if test "${with_wine+set}" = set; then
1921 withval="$with_wine"
1922 wxUSE_WINE="$withval" CACHE_WINE=1 TOOLKIT_GIVEN=1
1923 fi
1924
1925 # Check whether --with-msw or --without-msw was given.
1926 if test "${with_msw+set}" = set; then
1927 withval="$with_msw"
1928 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
1929 fi
1930
1931 # Check whether --with-pm or --without-pm was given.
1932 if test "${with_pm+set}" = set; then
1933 withval="$with_pm"
1934 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
1935 fi
1936
1937 # Check whether --with-mgl or --without-mgl was given.
1938 if test "${with_mgl+set}" = set; then
1939 withval="$with_mgl"
1940 wxUSE_MGL="$withval" CACHE_MGL=1 TOOLKIT_GIVEN=1
1941 fi
1942
1943 # Check whether --with-microwin or --without-microwin was given.
1944 if test "${with_microwin+set}" = set; then
1945 withval="$with_microwin"
1946 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
1947 fi
1948
1949 # Check whether --with-x11 or --without-x11 was given.
1950 if test "${with_x11+set}" = set; then
1951 withval="$with_x11"
1952 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
1953 fi
1954
1955
1956 echo $ac_n "checking for --enable-nanox""... $ac_c" 1>&6
1957 echo "configure:1958: checking for --enable-nanox" >&5
1958 no_cache=0
1959 # Check whether --enable-nanox or --disable-nanox was given.
1960 if test "${enable_nanox+set}" = set; then
1961 enableval="$enable_nanox"
1962
1963 if test "$enableval" = yes; then
1964 ac_cv_use_nanox='wxUSE_NANOX=yes'
1965 else
1966 ac_cv_use_nanox='wxUSE_NANOX=no'
1967 fi
1968
1969 else
1970
1971 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1972 if test "x$LINE" != x ; then
1973 eval "DEFAULT_$LINE"
1974 else
1975 no_cache=1
1976 fi
1977
1978 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1979
1980 fi
1981
1982
1983 eval "$ac_cv_use_nanox"
1984 if test "$no_cache" != 1; then
1985 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1986 fi
1987
1988 if test "$wxUSE_NANOX" = yes; then
1989 echo "$ac_t""yes" 1>&6
1990 else
1991 echo "$ac_t""no" 1>&6
1992 fi
1993
1994
1995 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1996 if test "${enable_gtk2+set}" = set; then
1997 enableval="$enable_gtk2"
1998 wxUSE_GTK2="yes"
1999 else
2000 wxUSE_GTK2="no"
2001 fi
2002
2003
2004
2005 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
2006 echo "configure:2007: checking for --with-libpng" >&5
2007 no_cache=0
2008 # Check whether --with-libpng or --without-libpng was given.
2009 if test "${with_libpng+set}" = set; then
2010 withval="$with_libpng"
2011
2012 if test "$withval" = yes; then
2013 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2014 elif test "$withval" = no; then
2015 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2016 elif test "$withval" = sys; then
2017 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2018 elif test "$withval" = builtin; then
2019 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2020 else
2021 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2022 fi
2023
2024 else
2025
2026 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2027 if test "x$LINE" != x ; then
2028 eval "DEFAULT_$LINE"
2029 else
2030 no_cache=1
2031 fi
2032
2033 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2034
2035 fi
2036
2037
2038 eval "$ac_cv_use_libpng"
2039 if test "$no_cache" != 1; then
2040 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2041 fi
2042
2043 if test "$wxUSE_LIBPNG" = yes; then
2044 echo "$ac_t""yes" 1>&6
2045 elif test "$wxUSE_LIBPNG" = no; then
2046 echo "$ac_t""no" 1>&6
2047 elif test "$wxUSE_LIBPNG" = sys; then
2048 echo "$ac_t""system version" 1>&6
2049 elif test "$wxUSE_LIBPNG" = builtin; then
2050 echo "$ac_t""builtin version" 1>&6
2051 else
2052 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2053 fi
2054
2055
2056 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2057 echo "configure:2058: checking for --with-libjpeg" >&5
2058 no_cache=0
2059 # Check whether --with-libjpeg or --without-libjpeg was given.
2060 if test "${with_libjpeg+set}" = set; then
2061 withval="$with_libjpeg"
2062
2063 if test "$withval" = yes; then
2064 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2065 elif test "$withval" = no; then
2066 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2067 elif test "$withval" = sys; then
2068 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2069 elif test "$withval" = builtin; then
2070 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2071 else
2072 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2073 fi
2074
2075 else
2076
2077 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2078 if test "x$LINE" != x ; then
2079 eval "DEFAULT_$LINE"
2080 else
2081 no_cache=1
2082 fi
2083
2084 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2085
2086 fi
2087
2088
2089 eval "$ac_cv_use_libjpeg"
2090 if test "$no_cache" != 1; then
2091 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2092 fi
2093
2094 if test "$wxUSE_LIBJPEG" = yes; then
2095 echo "$ac_t""yes" 1>&6
2096 elif test "$wxUSE_LIBJPEG" = no; then
2097 echo "$ac_t""no" 1>&6
2098 elif test "$wxUSE_LIBJPEG" = sys; then
2099 echo "$ac_t""system version" 1>&6
2100 elif test "$wxUSE_LIBJPEG" = builtin; then
2101 echo "$ac_t""builtin version" 1>&6
2102 else
2103 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2104 fi
2105
2106
2107 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2108 echo "configure:2109: checking for --with-libtiff" >&5
2109 no_cache=0
2110 # Check whether --with-libtiff or --without-libtiff was given.
2111 if test "${with_libtiff+set}" = set; then
2112 withval="$with_libtiff"
2113
2114 if test "$withval" = yes; then
2115 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2116 elif test "$withval" = no; then
2117 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2118 elif test "$withval" = sys; then
2119 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2120 elif test "$withval" = builtin; then
2121 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2122 else
2123 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2124 fi
2125
2126 else
2127
2128 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2129 if test "x$LINE" != x ; then
2130 eval "DEFAULT_$LINE"
2131 else
2132 no_cache=1
2133 fi
2134
2135 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2136
2137 fi
2138
2139
2140 eval "$ac_cv_use_libtiff"
2141 if test "$no_cache" != 1; then
2142 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2143 fi
2144
2145 if test "$wxUSE_LIBTIFF" = yes; then
2146 echo "$ac_t""yes" 1>&6
2147 elif test "$wxUSE_LIBTIFF" = no; then
2148 echo "$ac_t""no" 1>&6
2149 elif test "$wxUSE_LIBTIFF" = sys; then
2150 echo "$ac_t""system version" 1>&6
2151 elif test "$wxUSE_LIBTIFF" = builtin; then
2152 echo "$ac_t""builtin version" 1>&6
2153 else
2154 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2155 fi
2156
2157
2158 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2159 echo "configure:2160: checking for --with-opengl" >&5
2160 no_cache=0
2161 # Check whether --with-opengl or --without-opengl was given.
2162 if test "${with_opengl+set}" = set; then
2163 withval="$with_opengl"
2164
2165 if test "$withval" = yes; then
2166 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2167 else
2168 ac_cv_use_opengl='wxUSE_OPENGL=no'
2169 fi
2170
2171 else
2172
2173 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2174 if test "x$LINE" != x ; then
2175 eval "DEFAULT_$LINE"
2176 else
2177 no_cache=1
2178 fi
2179
2180 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2181
2182 fi
2183
2184
2185 eval "$ac_cv_use_opengl"
2186 if test "$no_cache" != 1; then
2187 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2188 fi
2189
2190 if test "$wxUSE_OPENGL" = yes; then
2191 echo "$ac_t""yes" 1>&6
2192 else
2193 echo "$ac_t""no" 1>&6
2194 fi
2195
2196
2197 fi
2198
2199
2200 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2201 echo "configure:2202: checking for --with-dmalloc" >&5
2202 no_cache=0
2203 # Check whether --with-dmalloc or --without-dmalloc was given.
2204 if test "${with_dmalloc+set}" = set; then
2205 withval="$with_dmalloc"
2206
2207 if test "$withval" = yes; then
2208 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2209 else
2210 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2211 fi
2212
2213 else
2214
2215 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2216 if test "x$LINE" != x ; then
2217 eval "DEFAULT_$LINE"
2218 else
2219 no_cache=1
2220 fi
2221
2222 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2223
2224 fi
2225
2226
2227 eval "$ac_cv_use_dmalloc"
2228 if test "$no_cache" != 1; then
2229 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2230 fi
2231
2232 if test "$wxUSE_DMALLOC" = yes; then
2233 echo "$ac_t""yes" 1>&6
2234 else
2235 echo "$ac_t""no" 1>&6
2236 fi
2237
2238
2239 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2240 echo "configure:2241: checking for --with-regex" >&5
2241 no_cache=0
2242 # Check whether --with-regex or --without-regex was given.
2243 if test "${with_regex+set}" = set; then
2244 withval="$with_regex"
2245
2246 if test "$withval" = yes; then
2247 ac_cv_use_regex='wxUSE_REGEX=yes'
2248 elif test "$withval" = no; then
2249 ac_cv_use_regex='wxUSE_REGEX=no'
2250 elif test "$withval" = sys; then
2251 ac_cv_use_regex='wxUSE_REGEX=sys'
2252 elif test "$withval" = builtin; then
2253 ac_cv_use_regex='wxUSE_REGEX=builtin'
2254 else
2255 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2256 fi
2257
2258 else
2259
2260 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2261 if test "x$LINE" != x ; then
2262 eval "DEFAULT_$LINE"
2263 else
2264 no_cache=1
2265 fi
2266
2267 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2268
2269 fi
2270
2271
2272 eval "$ac_cv_use_regex"
2273 if test "$no_cache" != 1; then
2274 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2275 fi
2276
2277 if test "$wxUSE_REGEX" = yes; then
2278 echo "$ac_t""yes" 1>&6
2279 elif test "$wxUSE_REGEX" = no; then
2280 echo "$ac_t""no" 1>&6
2281 elif test "$wxUSE_REGEX" = sys; then
2282 echo "$ac_t""system version" 1>&6
2283 elif test "$wxUSE_REGEX" = builtin; then
2284 echo "$ac_t""builtin version" 1>&6
2285 else
2286 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2287 fi
2288
2289
2290 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2291 echo "configure:2292: checking for --with-zlib" >&5
2292 no_cache=0
2293 # Check whether --with-zlib or --without-zlib was given.
2294 if test "${with_zlib+set}" = set; then
2295 withval="$with_zlib"
2296
2297 if test "$withval" = yes; then
2298 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2299 elif test "$withval" = no; then
2300 ac_cv_use_zlib='wxUSE_ZLIB=no'
2301 elif test "$withval" = sys; then
2302 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2303 elif test "$withval" = builtin; then
2304 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2305 else
2306 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2307 fi
2308
2309 else
2310
2311 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2312 if test "x$LINE" != x ; then
2313 eval "DEFAULT_$LINE"
2314 else
2315 no_cache=1
2316 fi
2317
2318 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2319
2320 fi
2321
2322
2323 eval "$ac_cv_use_zlib"
2324 if test "$no_cache" != 1; then
2325 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2326 fi
2327
2328 if test "$wxUSE_ZLIB" = yes; then
2329 echo "$ac_t""yes" 1>&6
2330 elif test "$wxUSE_ZLIB" = no; then
2331 echo "$ac_t""no" 1>&6
2332 elif test "$wxUSE_ZLIB" = sys; then
2333 echo "$ac_t""system version" 1>&6
2334 elif test "$wxUSE_ZLIB" = builtin; then
2335 echo "$ac_t""builtin version" 1>&6
2336 else
2337 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2338 fi
2339
2340
2341 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2342 echo "configure:2343: checking for --with-odbc" >&5
2343 no_cache=0
2344 # Check whether --with-odbc or --without-odbc was given.
2345 if test "${with_odbc+set}" = set; then
2346 withval="$with_odbc"
2347
2348 if test "$withval" = yes; then
2349 ac_cv_use_odbc='wxUSE_ODBC=yes'
2350 else
2351 ac_cv_use_odbc='wxUSE_ODBC=no'
2352 fi
2353
2354 else
2355
2356 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2357 if test "x$LINE" != x ; then
2358 eval "DEFAULT_$LINE"
2359 else
2360 no_cache=1
2361 fi
2362
2363 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2364
2365 fi
2366
2367
2368 eval "$ac_cv_use_odbc"
2369 if test "$no_cache" != 1; then
2370 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2371 fi
2372
2373 if test "$wxUSE_ODBC" = yes; then
2374 echo "$ac_t""yes" 1>&6
2375 else
2376 echo "$ac_t""no" 1>&6
2377 fi
2378
2379
2380
2381
2382 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2383 echo "configure:2384: checking for --enable-shared" >&5
2384 no_cache=0
2385 # Check whether --enable-shared or --disable-shared was given.
2386 if test "${enable_shared+set}" = set; then
2387 enableval="$enable_shared"
2388
2389 if test "$enableval" = yes; then
2390 ac_cv_use_shared='wxUSE_SHARED=yes'
2391 else
2392 ac_cv_use_shared='wxUSE_SHARED=no'
2393 fi
2394
2395 else
2396
2397 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2398 if test "x$LINE" != x ; then
2399 eval "DEFAULT_$LINE"
2400 else
2401 no_cache=1
2402 fi
2403
2404 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2405
2406 fi
2407
2408
2409 eval "$ac_cv_use_shared"
2410 if test "$no_cache" != 1; then
2411 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2412 fi
2413
2414 if test "$wxUSE_SHARED" = yes; then
2415 echo "$ac_t""yes" 1>&6
2416 else
2417 echo "$ac_t""no" 1>&6
2418 fi
2419
2420
2421 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2422 echo "configure:2423: checking for --enable-soname" >&5
2423 no_cache=0
2424 # Check whether --enable-soname or --disable-soname was given.
2425 if test "${enable_soname+set}" = set; then
2426 enableval="$enable_soname"
2427
2428 if test "$enableval" = yes; then
2429 ac_cv_use_soname='wxUSE_SONAME=yes'
2430 else
2431 ac_cv_use_soname='wxUSE_SONAME=no'
2432 fi
2433
2434 else
2435
2436 LINE=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2437 if test "x$LINE" != x ; then
2438 eval "DEFAULT_$LINE"
2439 else
2440 no_cache=1
2441 fi
2442
2443 ac_cv_use_soname='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2444
2445 fi
2446
2447
2448 eval "$ac_cv_use_soname"
2449 if test "$no_cache" != 1; then
2450 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2451 fi
2452
2453 if test "$wxUSE_SONAME" = yes; then
2454 echo "$ac_t""yes" 1>&6
2455 else
2456 echo "$ac_t""no" 1>&6
2457 fi
2458
2459
2460 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2461 echo "configure:2462: checking for --enable-optimise" >&5
2462 no_cache=0
2463 # Check whether --enable-optimise or --disable-optimise was given.
2464 if test "${enable_optimise+set}" = set; then
2465 enableval="$enable_optimise"
2466
2467 if test "$enableval" = yes; then
2468 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
2469 else
2470 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
2471 fi
2472
2473 else
2474
2475 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2476 if test "x$LINE" != x ; then
2477 eval "DEFAULT_$LINE"
2478 else
2479 no_cache=1
2480 fi
2481
2482 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2483
2484 fi
2485
2486
2487 eval "$ac_cv_use_optimise"
2488 if test "$no_cache" != 1; then
2489 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2490 fi
2491
2492 if test "$wxUSE_OPTIMISE" = yes; then
2493 echo "$ac_t""yes" 1>&6
2494 else
2495 echo "$ac_t""no" 1>&6
2496 fi
2497
2498
2499 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2500 echo "configure:2501: checking for --enable-debug" >&5
2501 no_cache=0
2502 # Check whether --enable-debug or --disable-debug was given.
2503 if test "${enable_debug+set}" = set; then
2504 enableval="$enable_debug"
2505
2506 if test "$enableval" = yes; then
2507 ac_cv_use_debug='wxUSE_DEBUG=yes'
2508 else
2509 ac_cv_use_debug='wxUSE_DEBUG=no'
2510 fi
2511
2512 else
2513
2514 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2515 if test "x$LINE" != x ; then
2516 eval "DEFAULT_$LINE"
2517 else
2518 no_cache=1
2519 fi
2520
2521 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2522
2523 fi
2524
2525
2526 eval "$ac_cv_use_debug"
2527 if test "$no_cache" != 1; then
2528 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2529 fi
2530
2531 if test "$wxUSE_DEBUG" = yes; then
2532 echo "$ac_t""yes" 1>&6
2533 else
2534 echo "$ac_t""no" 1>&6
2535 fi
2536
2537
2538
2539 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2540 echo "configure:2541: checking for --enable-precomp" >&5
2541 no_cache=0
2542 # Check whether --enable-precomp or --disable-precomp was given.
2543 if test "${enable_precomp+set}" = set; then
2544 enableval="$enable_precomp"
2545
2546 if test "$enableval" = yes; then
2547 ac_cv_use_precomp='wxUSE_PRECOMP=yes'
2548 else
2549 ac_cv_use_precomp='wxUSE_PRECOMP=no'
2550 fi
2551
2552 else
2553
2554 LINE=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2555 if test "x$LINE" != x ; then
2556 eval "DEFAULT_$LINE"
2557 else
2558 no_cache=1
2559 fi
2560
2561 ac_cv_use_precomp='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2562
2563 fi
2564
2565
2566 eval "$ac_cv_use_precomp"
2567 if test "$no_cache" != 1; then
2568 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2569 fi
2570
2571 if test "$wxUSE_PRECOMP" = yes; then
2572 echo "$ac_t""yes" 1>&6
2573 else
2574 echo "$ac_t""no" 1>&6
2575 fi
2576
2577
2578 if test "$wxUSE_DEBUG" = "yes"; then
2579 DEFAULT_wxUSE_DEBUG_FLAG=yes
2580 DEFAULT_wxUSE_DEBUG_INFO=yes
2581 elif test "$wxUSE_DEBUG" = "no"; then
2582 DEFAULT_wxUSE_DEBUG_FLAG=no
2583 DEFAULT_wxUSE_DEBUG_INFO=no
2584 fi
2585
2586
2587 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2588 echo "configure:2589: checking for --enable-debug_flag" >&5
2589 no_cache=0
2590 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2591 if test "${enable_debug_flag+set}" = set; then
2592 enableval="$enable_debug_flag"
2593
2594 if test "$enableval" = yes; then
2595 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
2596 else
2597 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
2598 fi
2599
2600 else
2601
2602 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2603 if test "x$LINE" != x ; then
2604 eval "DEFAULT_$LINE"
2605 else
2606 no_cache=1
2607 fi
2608
2609 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2610
2611 fi
2612
2613
2614 eval "$ac_cv_use_debug_flag"
2615 if test "$no_cache" != 1; then
2616 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2617 fi
2618
2619 if test "$wxUSE_DEBUG_FLAG" = yes; then
2620 echo "$ac_t""yes" 1>&6
2621 else
2622 echo "$ac_t""no" 1>&6
2623 fi
2624
2625
2626 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2627 echo "configure:2628: checking for --enable-debug_info" >&5
2628 no_cache=0
2629 # Check whether --enable-debug_info or --disable-debug_info was given.
2630 if test "${enable_debug_info+set}" = set; then
2631 enableval="$enable_debug_info"
2632
2633 if test "$enableval" = yes; then
2634 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
2635 else
2636 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
2637 fi
2638
2639 else
2640
2641 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2642 if test "x$LINE" != x ; then
2643 eval "DEFAULT_$LINE"
2644 else
2645 no_cache=1
2646 fi
2647
2648 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2649
2650 fi
2651
2652
2653 eval "$ac_cv_use_debug_info"
2654 if test "$no_cache" != 1; then
2655 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2656 fi
2657
2658 if test "$wxUSE_DEBUG_INFO" = yes; then
2659 echo "$ac_t""yes" 1>&6
2660 else
2661 echo "$ac_t""no" 1>&6
2662 fi
2663
2664
2665 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2666 echo "configure:2667: checking for --enable-debug_gdb" >&5
2667 no_cache=0
2668 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2669 if test "${enable_debug_gdb+set}" = set; then
2670 enableval="$enable_debug_gdb"
2671
2672 if test "$enableval" = yes; then
2673 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
2674 else
2675 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
2676 fi
2677
2678 else
2679
2680 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2681 if test "x$LINE" != x ; then
2682 eval "DEFAULT_$LINE"
2683 else
2684 no_cache=1
2685 fi
2686
2687 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2688
2689 fi
2690
2691
2692 eval "$ac_cv_use_debug_gdb"
2693 if test "$no_cache" != 1; then
2694 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2695 fi
2696
2697 if test "$wxUSE_DEBUG_GDB" = yes; then
2698 echo "$ac_t""yes" 1>&6
2699 else
2700 echo "$ac_t""no" 1>&6
2701 fi
2702
2703
2704 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2705 echo "configure:2706: checking for --enable-debug_cntxt" >&5
2706 no_cache=0
2707 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2708 if test "${enable_debug_cntxt+set}" = set; then
2709 enableval="$enable_debug_cntxt"
2710
2711 if test "$enableval" = yes; then
2712 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
2713 else
2714 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
2715 fi
2716
2717 else
2718
2719 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2720 if test "x$LINE" != x ; then
2721 eval "DEFAULT_$LINE"
2722 else
2723 no_cache=1
2724 fi
2725
2726 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2727
2728 fi
2729
2730
2731 eval "$ac_cv_use_debug_cntxt"
2732 if test "$no_cache" != 1; then
2733 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2734 fi
2735
2736 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2737 echo "$ac_t""yes" 1>&6
2738 else
2739 echo "$ac_t""no" 1>&6
2740 fi
2741
2742
2743 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2744 echo "configure:2745: checking for --enable-mem_tracing" >&5
2745 no_cache=0
2746 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2747 if test "${enable_mem_tracing+set}" = set; then
2748 enableval="$enable_mem_tracing"
2749
2750 if test "$enableval" = yes; then
2751 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
2752 else
2753 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
2754 fi
2755
2756 else
2757
2758 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2759 if test "x$LINE" != x ; then
2760 eval "DEFAULT_$LINE"
2761 else
2762 no_cache=1
2763 fi
2764
2765 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2766
2767 fi
2768
2769
2770 eval "$ac_cv_use_mem_tracing"
2771 if test "$no_cache" != 1; then
2772 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2773 fi
2774
2775 if test "$wxUSE_MEM_TRACING" = yes; then
2776 echo "$ac_t""yes" 1>&6
2777 else
2778 echo "$ac_t""no" 1>&6
2779 fi
2780
2781
2782 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2783 echo "configure:2784: checking for --enable-profile" >&5
2784 no_cache=0
2785 # Check whether --enable-profile or --disable-profile was given.
2786 if test "${enable_profile+set}" = set; then
2787 enableval="$enable_profile"
2788
2789 if test "$enableval" = yes; then
2790 ac_cv_use_profile='wxUSE_PROFILE=yes'
2791 else
2792 ac_cv_use_profile='wxUSE_PROFILE=no'
2793 fi
2794
2795 else
2796
2797 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2798 if test "x$LINE" != x ; then
2799 eval "DEFAULT_$LINE"
2800 else
2801 no_cache=1
2802 fi
2803
2804 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2805
2806 fi
2807
2808
2809 eval "$ac_cv_use_profile"
2810 if test "$no_cache" != 1; then
2811 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2812 fi
2813
2814 if test "$wxUSE_PROFILE" = yes; then
2815 echo "$ac_t""yes" 1>&6
2816 else
2817 echo "$ac_t""no" 1>&6
2818 fi
2819
2820
2821 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2822 echo "configure:2823: checking for --enable-no_rtti" >&5
2823 no_cache=0
2824 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2825 if test "${enable_no_rtti+set}" = set; then
2826 enableval="$enable_no_rtti"
2827
2828 if test "$enableval" = yes; then
2829 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
2830 else
2831 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
2832 fi
2833
2834 else
2835
2836 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2837 if test "x$LINE" != x ; then
2838 eval "DEFAULT_$LINE"
2839 else
2840 no_cache=1
2841 fi
2842
2843 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2844
2845 fi
2846
2847
2848 eval "$ac_cv_use_no_rtti"
2849 if test "$no_cache" != 1; then
2850 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2851 fi
2852
2853 if test "$wxUSE_NO_RTTI" = yes; then
2854 echo "$ac_t""yes" 1>&6
2855 else
2856 echo "$ac_t""no" 1>&6
2857 fi
2858
2859
2860 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2861 echo "configure:2862: checking for --enable-no_exceptions" >&5
2862 no_cache=0
2863 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2864 if test "${enable_no_exceptions+set}" = set; then
2865 enableval="$enable_no_exceptions"
2866
2867 if test "$enableval" = yes; then
2868 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
2869 else
2870 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
2871 fi
2872
2873 else
2874
2875 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2876 if test "x$LINE" != x ; then
2877 eval "DEFAULT_$LINE"
2878 else
2879 no_cache=1
2880 fi
2881
2882 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2883
2884 fi
2885
2886
2887 eval "$ac_cv_use_no_exceptions"
2888 if test "$no_cache" != 1; then
2889 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2890 fi
2891
2892 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2893 echo "$ac_t""yes" 1>&6
2894 else
2895 echo "$ac_t""no" 1>&6
2896 fi
2897
2898
2899 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2900 echo "configure:2901: checking for --enable-permissive" >&5
2901 no_cache=0
2902 # Check whether --enable-permissive or --disable-permissive was given.
2903 if test "${enable_permissive+set}" = set; then
2904 enableval="$enable_permissive"
2905
2906 if test "$enableval" = yes; then
2907 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
2908 else
2909 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
2910 fi
2911
2912 else
2913
2914 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2915 if test "x$LINE" != x ; then
2916 eval "DEFAULT_$LINE"
2917 else
2918 no_cache=1
2919 fi
2920
2921 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2922
2923 fi
2924
2925
2926 eval "$ac_cv_use_permissive"
2927 if test "$no_cache" != 1; then
2928 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2929 fi
2930
2931 if test "$wxUSE_PERMISSIVE" = yes; then
2932 echo "$ac_t""yes" 1>&6
2933 else
2934 echo "$ac_t""no" 1>&6
2935 fi
2936
2937
2938 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2939 echo "configure:2940: checking for --enable-no_deps" >&5
2940 no_cache=0
2941 # Check whether --enable-no_deps or --disable-no_deps was given.
2942 if test "${enable_no_deps+set}" = set; then
2943 enableval="$enable_no_deps"
2944
2945 if test "$enableval" = yes; then
2946 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
2947 else
2948 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
2949 fi
2950
2951 else
2952
2953 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2954 if test "x$LINE" != x ; then
2955 eval "DEFAULT_$LINE"
2956 else
2957 no_cache=1
2958 fi
2959
2960 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2961
2962 fi
2963
2964
2965 eval "$ac_cv_use_no_deps"
2966 if test "$no_cache" != 1; then
2967 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2968 fi
2969
2970 if test "$wxUSE_NO_DEPS" = yes; then
2971 echo "$ac_t""yes" 1>&6
2972 else
2973 echo "$ac_t""no" 1>&6
2974 fi
2975
2976
2977
2978 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2979 echo "configure:2980: checking for --enable-compat20" >&5
2980 no_cache=0
2981 # Check whether --enable-compat20 or --disable-compat20 was given.
2982 if test "${enable_compat20+set}" = set; then
2983 enableval="$enable_compat20"
2984
2985 if test "$enableval" = yes; then
2986 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
2987 else
2988 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
2989 fi
2990
2991 else
2992
2993 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2994 if test "x$LINE" != x ; then
2995 eval "DEFAULT_$LINE"
2996 else
2997 no_cache=1
2998 fi
2999
3000 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3001
3002 fi
3003
3004
3005 eval "$ac_cv_use_compat20"
3006 if test "$no_cache" != 1; then
3007 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3008 fi
3009
3010 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3011 echo "$ac_t""yes" 1>&6
3012 else
3013 echo "$ac_t""no" 1>&6
3014 fi
3015
3016
3017 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
3018 echo "configure:3019: checking for --enable-compat22" >&5
3019 no_cache=0
3020 # Check whether --enable-compat22 or --disable-compat22 was given.
3021 if test "${enable_compat22+set}" = set; then
3022 enableval="$enable_compat22"
3023
3024 if test "$enableval" = yes; then
3025 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3026 else
3027 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3028 fi
3029
3030 else
3031
3032 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3033 if test "x$LINE" != x ; then
3034 eval "DEFAULT_$LINE"
3035 else
3036 no_cache=1
3037 fi
3038
3039 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3040
3041 fi
3042
3043
3044 eval "$ac_cv_use_compat22"
3045 if test "$no_cache" != 1; then
3046 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3047 fi
3048
3049 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3050 echo "$ac_t""yes" 1>&6
3051 else
3052 echo "$ac_t""no" 1>&6
3053 fi
3054
3055
3056
3057
3058 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3059 echo "configure:3060: checking for --enable-intl" >&5
3060 no_cache=0
3061 # Check whether --enable-intl or --disable-intl was given.
3062 if test "${enable_intl+set}" = set; then
3063 enableval="$enable_intl"
3064
3065 if test "$enableval" = yes; then
3066 ac_cv_use_intl='wxUSE_INTL=yes'
3067 else
3068 ac_cv_use_intl='wxUSE_INTL=no'
3069 fi
3070
3071 else
3072
3073 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3074 if test "x$LINE" != x ; then
3075 eval "DEFAULT_$LINE"
3076 else
3077 no_cache=1
3078 fi
3079
3080 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3081
3082 fi
3083
3084
3085 eval "$ac_cv_use_intl"
3086 if test "$no_cache" != 1; then
3087 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3088 fi
3089
3090 if test "$wxUSE_INTL" = yes; then
3091 echo "$ac_t""yes" 1>&6
3092 else
3093 echo "$ac_t""no" 1>&6
3094 fi
3095
3096
3097 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3098 echo "configure:3099: checking for --enable-config" >&5
3099 no_cache=0
3100 # Check whether --enable-config or --disable-config was given.
3101 if test "${enable_config+set}" = set; then
3102 enableval="$enable_config"
3103
3104 if test "$enableval" = yes; then
3105 ac_cv_use_config='wxUSE_CONFIG=yes'
3106 else
3107 ac_cv_use_config='wxUSE_CONFIG=no'
3108 fi
3109
3110 else
3111
3112 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3113 if test "x$LINE" != x ; then
3114 eval "DEFAULT_$LINE"
3115 else
3116 no_cache=1
3117 fi
3118
3119 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3120
3121 fi
3122
3123
3124 eval "$ac_cv_use_config"
3125 if test "$no_cache" != 1; then
3126 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3127 fi
3128
3129 if test "$wxUSE_CONFIG" = yes; then
3130 echo "$ac_t""yes" 1>&6
3131 else
3132 echo "$ac_t""no" 1>&6
3133 fi
3134
3135
3136
3137 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3138 echo "configure:3139: checking for --enable-protocols" >&5
3139 no_cache=0
3140 # Check whether --enable-protocols or --disable-protocols was given.
3141 if test "${enable_protocols+set}" = set; then
3142 enableval="$enable_protocols"
3143
3144 if test "$enableval" = yes; then
3145 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3146 else
3147 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3148 fi
3149
3150 else
3151
3152 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3153 if test "x$LINE" != x ; then
3154 eval "DEFAULT_$LINE"
3155 else
3156 no_cache=1
3157 fi
3158
3159 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3160
3161 fi
3162
3163
3164 eval "$ac_cv_use_protocols"
3165 if test "$no_cache" != 1; then
3166 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3167 fi
3168
3169 if test "$wxUSE_PROTOCOL" = yes; then
3170 echo "$ac_t""yes" 1>&6
3171 else
3172 echo "$ac_t""no" 1>&6
3173 fi
3174
3175
3176 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3177 echo "configure:3178: checking for --enable-ftp" >&5
3178 no_cache=0
3179 # Check whether --enable-ftp or --disable-ftp was given.
3180 if test "${enable_ftp+set}" = set; then
3181 enableval="$enable_ftp"
3182
3183 if test "$enableval" = yes; then
3184 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3185 else
3186 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3187 fi
3188
3189 else
3190
3191 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3192 if test "x$LINE" != x ; then
3193 eval "DEFAULT_$LINE"
3194 else
3195 no_cache=1
3196 fi
3197
3198 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3199
3200 fi
3201
3202
3203 eval "$ac_cv_use_ftp"
3204 if test "$no_cache" != 1; then
3205 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3206 fi
3207
3208 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3209 echo "$ac_t""yes" 1>&6
3210 else
3211 echo "$ac_t""no" 1>&6
3212 fi
3213
3214
3215 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3216 echo "configure:3217: checking for --enable-http" >&5
3217 no_cache=0
3218 # Check whether --enable-http or --disable-http was given.
3219 if test "${enable_http+set}" = set; then
3220 enableval="$enable_http"
3221
3222 if test "$enableval" = yes; then
3223 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3224 else
3225 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3226 fi
3227
3228 else
3229
3230 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3231 if test "x$LINE" != x ; then
3232 eval "DEFAULT_$LINE"
3233 else
3234 no_cache=1
3235 fi
3236
3237 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3238
3239 fi
3240
3241
3242 eval "$ac_cv_use_http"
3243 if test "$no_cache" != 1; then
3244 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3245 fi
3246
3247 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3248 echo "$ac_t""yes" 1>&6
3249 else
3250 echo "$ac_t""no" 1>&6
3251 fi
3252
3253
3254 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3255 echo "configure:3256: checking for --enable-fileproto" >&5
3256 no_cache=0
3257 # Check whether --enable-fileproto or --disable-fileproto was given.
3258 if test "${enable_fileproto+set}" = set; then
3259 enableval="$enable_fileproto"
3260
3261 if test "$enableval" = yes; then
3262 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
3263 else
3264 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
3265 fi
3266
3267 else
3268
3269 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3270 if test "x$LINE" != x ; then
3271 eval "DEFAULT_$LINE"
3272 else
3273 no_cache=1
3274 fi
3275
3276 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3277
3278 fi
3279
3280
3281 eval "$ac_cv_use_fileproto"
3282 if test "$no_cache" != 1; then
3283 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3284 fi
3285
3286 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3287 echo "$ac_t""yes" 1>&6
3288 else
3289 echo "$ac_t""no" 1>&6
3290 fi
3291
3292
3293 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3294 echo "configure:3295: checking for --enable-sockets" >&5
3295 no_cache=0
3296 # Check whether --enable-sockets or --disable-sockets was given.
3297 if test "${enable_sockets+set}" = set; then
3298 enableval="$enable_sockets"
3299
3300 if test "$enableval" = yes; then
3301 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
3302 else
3303 ac_cv_use_sockets='wxUSE_SOCKETS=no'
3304 fi
3305
3306 else
3307
3308 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3309 if test "x$LINE" != x ; then
3310 eval "DEFAULT_$LINE"
3311 else
3312 no_cache=1
3313 fi
3314
3315 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3316
3317 fi
3318
3319
3320 eval "$ac_cv_use_sockets"
3321 if test "$no_cache" != 1; then
3322 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3323 fi
3324
3325 if test "$wxUSE_SOCKETS" = yes; then
3326 echo "$ac_t""yes" 1>&6
3327 else
3328 echo "$ac_t""no" 1>&6
3329 fi
3330
3331
3332
3333 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3334 echo "configure:3335: checking for --enable-ipc" >&5
3335 no_cache=0
3336 # Check whether --enable-ipc or --disable-ipc was given.
3337 if test "${enable_ipc+set}" = set; then
3338 enableval="$enable_ipc"
3339
3340 if test "$enableval" = yes; then
3341 ac_cv_use_ipc='wxUSE_IPC=yes'
3342 else
3343 ac_cv_use_ipc='wxUSE_IPC=no'
3344 fi
3345
3346 else
3347
3348 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3349 if test "x$LINE" != x ; then
3350 eval "DEFAULT_$LINE"
3351 else
3352 no_cache=1
3353 fi
3354
3355 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3356
3357 fi
3358
3359
3360 eval "$ac_cv_use_ipc"
3361 if test "$no_cache" != 1; then
3362 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3363 fi
3364
3365 if test "$wxUSE_IPC" = yes; then
3366 echo "$ac_t""yes" 1>&6
3367 else
3368 echo "$ac_t""no" 1>&6
3369 fi
3370
3371
3372
3373 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3374 echo "configure:3375: checking for --enable-cmdline" >&5
3375 no_cache=0
3376 # Check whether --enable-cmdline or --disable-cmdline was given.
3377 if test "${enable_cmdline+set}" = set; then
3378 enableval="$enable_cmdline"
3379
3380 if test "$enableval" = yes; then
3381 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
3382 else
3383 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
3384 fi
3385
3386 else
3387
3388 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3389 if test "x$LINE" != x ; then
3390 eval "DEFAULT_$LINE"
3391 else
3392 no_cache=1
3393 fi
3394
3395 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3396
3397 fi
3398
3399
3400 eval "$ac_cv_use_cmdline"
3401 if test "$no_cache" != 1; then
3402 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3403 fi
3404
3405 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3406 echo "$ac_t""yes" 1>&6
3407 else
3408 echo "$ac_t""no" 1>&6
3409 fi
3410
3411
3412 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3413 echo "configure:3414: checking for --enable-datetime" >&5
3414 no_cache=0
3415 # Check whether --enable-datetime or --disable-datetime was given.
3416 if test "${enable_datetime+set}" = set; then
3417 enableval="$enable_datetime"
3418
3419 if test "$enableval" = yes; then
3420 ac_cv_use_datetime='wxUSE_DATETIME=yes'
3421 else
3422 ac_cv_use_datetime='wxUSE_DATETIME=no'
3423 fi
3424
3425 else
3426
3427 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3428 if test "x$LINE" != x ; then
3429 eval "DEFAULT_$LINE"
3430 else
3431 no_cache=1
3432 fi
3433
3434 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3435
3436 fi
3437
3438
3439 eval "$ac_cv_use_datetime"
3440 if test "$no_cache" != 1; then
3441 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3442 fi
3443
3444 if test "$wxUSE_DATETIME" = yes; then
3445 echo "$ac_t""yes" 1>&6
3446 else
3447 echo "$ac_t""no" 1>&6
3448 fi
3449
3450
3451 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3452 echo "configure:3453: checking for --enable-timedate" >&5
3453 no_cache=0
3454 # Check whether --enable-timedate or --disable-timedate was given.
3455 if test "${enable_timedate+set}" = set; then
3456 enableval="$enable_timedate"
3457
3458 if test "$enableval" = yes; then
3459 ac_cv_use_timedate='wxUSE_TIMEDATE=yes'
3460 else
3461 ac_cv_use_timedate='wxUSE_TIMEDATE=no'
3462 fi
3463
3464 else
3465
3466 LINE=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3467 if test "x$LINE" != x ; then
3468 eval "DEFAULT_$LINE"
3469 else
3470 no_cache=1
3471 fi
3472
3473 ac_cv_use_timedate='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3474
3475 fi
3476
3477
3478 eval "$ac_cv_use_timedate"
3479 if test "$no_cache" != 1; then
3480 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3481 fi
3482
3483 if test "$wxUSE_TIMEDATE" = yes; then
3484 echo "$ac_t""yes" 1>&6
3485 else
3486 echo "$ac_t""no" 1>&6
3487 fi
3488
3489
3490 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3491 echo "configure:3492: checking for --enable-stopwatch" >&5
3492 no_cache=0
3493 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3494 if test "${enable_stopwatch+set}" = set; then
3495 enableval="$enable_stopwatch"
3496
3497 if test "$enableval" = yes; then
3498 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
3499 else
3500 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
3501 fi
3502
3503 else
3504
3505 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3506 if test "x$LINE" != x ; then
3507 eval "DEFAULT_$LINE"
3508 else
3509 no_cache=1
3510 fi
3511
3512 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3513
3514 fi
3515
3516
3517 eval "$ac_cv_use_stopwatch"
3518 if test "$no_cache" != 1; then
3519 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3520 fi
3521
3522 if test "$wxUSE_STOPWATCH" = yes; then
3523 echo "$ac_t""yes" 1>&6
3524 else
3525 echo "$ac_t""no" 1>&6
3526 fi
3527
3528
3529 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3530 echo "configure:3531: checking for --enable-dialupman" >&5
3531 no_cache=0
3532 # Check whether --enable-dialupman or --disable-dialupman was given.
3533 if test "${enable_dialupman+set}" = set; then
3534 enableval="$enable_dialupman"
3535
3536 if test "$enableval" = yes; then
3537 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
3538 else
3539 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
3540 fi
3541
3542 else
3543
3544 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3545 if test "x$LINE" != x ; then
3546 eval "DEFAULT_$LINE"
3547 else
3548 no_cache=1
3549 fi
3550
3551 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3552
3553 fi
3554
3555
3556 eval "$ac_cv_use_dialupman"
3557 if test "$no_cache" != 1; then
3558 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3559 fi
3560
3561 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3562 echo "$ac_t""yes" 1>&6
3563 else
3564 echo "$ac_t""no" 1>&6
3565 fi
3566
3567
3568 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3569 echo "configure:3570: checking for --enable-apple_ieee" >&5
3570 no_cache=0
3571 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3572 if test "${enable_apple_ieee+set}" = set; then
3573 enableval="$enable_apple_ieee"
3574
3575 if test "$enableval" = yes; then
3576 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
3577 else
3578 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
3579 fi
3580
3581 else
3582
3583 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3584 if test "x$LINE" != x ; then
3585 eval "DEFAULT_$LINE"
3586 else
3587 no_cache=1
3588 fi
3589
3590 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3591
3592 fi
3593
3594
3595 eval "$ac_cv_use_apple_ieee"
3596 if test "$no_cache" != 1; then
3597 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3598 fi
3599
3600 if test "$wxUSE_APPLE_IEEE" = yes; then
3601 echo "$ac_t""yes" 1>&6
3602 else
3603 echo "$ac_t""no" 1>&6
3604 fi
3605
3606
3607 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3608 echo "configure:3609: checking for --enable-timer" >&5
3609 no_cache=0
3610 # Check whether --enable-timer or --disable-timer was given.
3611 if test "${enable_timer+set}" = set; then
3612 enableval="$enable_timer"
3613
3614 if test "$enableval" = yes; then
3615 ac_cv_use_timer='wxUSE_TIMER=yes'
3616 else
3617 ac_cv_use_timer='wxUSE_TIMER=no'
3618 fi
3619
3620 else
3621
3622 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3623 if test "x$LINE" != x ; then
3624 eval "DEFAULT_$LINE"
3625 else
3626 no_cache=1
3627 fi
3628
3629 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3630
3631 fi
3632
3633
3634 eval "$ac_cv_use_timer"
3635 if test "$no_cache" != 1; then
3636 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3637 fi
3638
3639 if test "$wxUSE_TIMER" = yes; then
3640 echo "$ac_t""yes" 1>&6
3641 else
3642 echo "$ac_t""no" 1>&6
3643 fi
3644
3645
3646 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3647 echo "configure:3648: checking for --enable-wave" >&5
3648 no_cache=0
3649 # Check whether --enable-wave or --disable-wave was given.
3650 if test "${enable_wave+set}" = set; then
3651 enableval="$enable_wave"
3652
3653 if test "$enableval" = yes; then
3654 ac_cv_use_wave='wxUSE_WAVE=yes'
3655 else
3656 ac_cv_use_wave='wxUSE_WAVE=no'
3657 fi
3658
3659 else
3660
3661 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3662 if test "x$LINE" != x ; then
3663 eval "DEFAULT_$LINE"
3664 else
3665 no_cache=1
3666 fi
3667
3668 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3669
3670 fi
3671
3672
3673 eval "$ac_cv_use_wave"
3674 if test "$no_cache" != 1; then
3675 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3676 fi
3677
3678 if test "$wxUSE_WAVE" = yes; then
3679 echo "$ac_t""yes" 1>&6
3680 else
3681 echo "$ac_t""no" 1>&6
3682 fi
3683
3684
3685 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3686 echo "configure:3687: checking for --enable-fraction" >&5
3687 no_cache=0
3688 # Check whether --enable-fraction or --disable-fraction was given.
3689 if test "${enable_fraction+set}" = set; then
3690 enableval="$enable_fraction"
3691
3692 if test "$enableval" = yes; then
3693 ac_cv_use_fraction='wxUSE_FRACTION=yes'
3694 else
3695 ac_cv_use_fraction='wxUSE_FRACTION=no'
3696 fi
3697
3698 else
3699
3700 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3701 if test "x$LINE" != x ; then
3702 eval "DEFAULT_$LINE"
3703 else
3704 no_cache=1
3705 fi
3706
3707 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3708
3709 fi
3710
3711
3712 eval "$ac_cv_use_fraction"
3713 if test "$no_cache" != 1; then
3714 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3715 fi
3716
3717 if test "$wxUSE_FRACTION" = yes; then
3718 echo "$ac_t""yes" 1>&6
3719 else
3720 echo "$ac_t""no" 1>&6
3721 fi
3722
3723
3724 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3725 echo "configure:3726: checking for --enable-dynlib" >&5
3726 no_cache=0
3727 # Check whether --enable-dynlib or --disable-dynlib was given.
3728 if test "${enable_dynlib+set}" = set; then
3729 enableval="$enable_dynlib"
3730
3731 if test "$enableval" = yes; then
3732 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
3733 else
3734 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
3735 fi
3736
3737 else
3738
3739 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3740 if test "x$LINE" != x ; then
3741 eval "DEFAULT_$LINE"
3742 else
3743 no_cache=1
3744 fi
3745
3746 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3747
3748 fi
3749
3750
3751 eval "$ac_cv_use_dynlib"
3752 if test "$no_cache" != 1; then
3753 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3754 fi
3755
3756 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3757 echo "$ac_t""yes" 1>&6
3758 else
3759 echo "$ac_t""no" 1>&6
3760 fi
3761
3762
3763 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3764 echo "configure:3765: checking for --enable-dynamicloader" >&5
3765 no_cache=0
3766 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3767 if test "${enable_dynamicloader+set}" = set; then
3768 enableval="$enable_dynamicloader"
3769
3770 if test "$enableval" = yes; then
3771 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
3772 else
3773 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
3774 fi
3775
3776 else
3777
3778 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3779 if test "x$LINE" != x ; then
3780 eval "DEFAULT_$LINE"
3781 else
3782 no_cache=1
3783 fi
3784
3785 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3786
3787 fi
3788
3789
3790 eval "$ac_cv_use_dynamicloader"
3791 if test "$no_cache" != 1; then
3792 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3793 fi
3794
3795 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3796 echo "$ac_t""yes" 1>&6
3797 else
3798 echo "$ac_t""no" 1>&6
3799 fi
3800
3801
3802 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3803 echo "configure:3804: checking for --enable-longlong" >&5
3804 no_cache=0
3805 # Check whether --enable-longlong or --disable-longlong was given.
3806 if test "${enable_longlong+set}" = set; then
3807 enableval="$enable_longlong"
3808
3809 if test "$enableval" = yes; then
3810 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
3811 else
3812 ac_cv_use_longlong='wxUSE_LONGLONG=no'
3813 fi
3814
3815 else
3816
3817 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3818 if test "x$LINE" != x ; then
3819 eval "DEFAULT_$LINE"
3820 else
3821 no_cache=1
3822 fi
3823
3824 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3825
3826 fi
3827
3828
3829 eval "$ac_cv_use_longlong"
3830 if test "$no_cache" != 1; then
3831 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3832 fi
3833
3834 if test "$wxUSE_LONGLONG" = yes; then
3835 echo "$ac_t""yes" 1>&6
3836 else
3837 echo "$ac_t""no" 1>&6
3838 fi
3839
3840
3841 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3842 echo "configure:3843: checking for --enable-geometry" >&5
3843 no_cache=0
3844 # Check whether --enable-geometry or --disable-geometry was given.
3845 if test "${enable_geometry+set}" = set; then
3846 enableval="$enable_geometry"
3847
3848 if test "$enableval" = yes; then
3849 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
3850 else
3851 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
3852 fi
3853
3854 else
3855
3856 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3857 if test "x$LINE" != x ; then
3858 eval "DEFAULT_$LINE"
3859 else
3860 no_cache=1
3861 fi
3862
3863 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3864
3865 fi
3866
3867
3868 eval "$ac_cv_use_geometry"
3869 if test "$no_cache" != 1; then
3870 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3871 fi
3872
3873 if test "$wxUSE_GEOMETRY" = yes; then
3874 echo "$ac_t""yes" 1>&6
3875 else
3876 echo "$ac_t""no" 1>&6
3877 fi
3878
3879
3880 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3881 echo "configure:3882: checking for --enable-log" >&5
3882 no_cache=0
3883 # Check whether --enable-log or --disable-log was given.
3884 if test "${enable_log+set}" = set; then
3885 enableval="$enable_log"
3886
3887 if test "$enableval" = yes; then
3888 ac_cv_use_log='wxUSE_LOG=yes'
3889 else
3890 ac_cv_use_log='wxUSE_LOG=no'
3891 fi
3892
3893 else
3894
3895 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3896 if test "x$LINE" != x ; then
3897 eval "DEFAULT_$LINE"
3898 else
3899 no_cache=1
3900 fi
3901
3902 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3903
3904 fi
3905
3906
3907 eval "$ac_cv_use_log"
3908 if test "$no_cache" != 1; then
3909 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3910 fi
3911
3912 if test "$wxUSE_LOG" = yes; then
3913 echo "$ac_t""yes" 1>&6
3914 else
3915 echo "$ac_t""no" 1>&6
3916 fi
3917
3918
3919 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3920 echo "configure:3921: checking for --enable-streams" >&5
3921 no_cache=0
3922 # Check whether --enable-streams or --disable-streams was given.
3923 if test "${enable_streams+set}" = set; then
3924 enableval="$enable_streams"
3925
3926 if test "$enableval" = yes; then
3927 ac_cv_use_streams='wxUSE_STREAMS=yes'
3928 else
3929 ac_cv_use_streams='wxUSE_STREAMS=no'
3930 fi
3931
3932 else
3933
3934 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3935 if test "x$LINE" != x ; then
3936 eval "DEFAULT_$LINE"
3937 else
3938 no_cache=1
3939 fi
3940
3941 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3942
3943 fi
3944
3945
3946 eval "$ac_cv_use_streams"
3947 if test "$no_cache" != 1; then
3948 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3949 fi
3950
3951 if test "$wxUSE_STREAMS" = yes; then
3952 echo "$ac_t""yes" 1>&6
3953 else
3954 echo "$ac_t""no" 1>&6
3955 fi
3956
3957
3958 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3959 echo "configure:3960: checking for --enable-file" >&5
3960 no_cache=0
3961 # Check whether --enable-file or --disable-file was given.
3962 if test "${enable_file+set}" = set; then
3963 enableval="$enable_file"
3964
3965 if test "$enableval" = yes; then
3966 ac_cv_use_file='wxUSE_FILE=yes'
3967 else
3968 ac_cv_use_file='wxUSE_FILE=no'
3969 fi
3970
3971 else
3972
3973 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3974 if test "x$LINE" != x ; then
3975 eval "DEFAULT_$LINE"
3976 else
3977 no_cache=1
3978 fi
3979
3980 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3981
3982 fi
3983
3984
3985 eval "$ac_cv_use_file"
3986 if test "$no_cache" != 1; then
3987 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3988 fi
3989
3990 if test "$wxUSE_FILE" = yes; then
3991 echo "$ac_t""yes" 1>&6
3992 else
3993 echo "$ac_t""no" 1>&6
3994 fi
3995
3996
3997 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3998 echo "configure:3999: checking for --enable-ffile" >&5
3999 no_cache=0
4000 # Check whether --enable-ffile or --disable-ffile was given.
4001 if test "${enable_ffile+set}" = set; then
4002 enableval="$enable_ffile"
4003
4004 if test "$enableval" = yes; then
4005 ac_cv_use_ffile='wxUSE_FFILE=yes'
4006 else
4007 ac_cv_use_ffile='wxUSE_FFILE=no'
4008 fi
4009
4010 else
4011
4012 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4013 if test "x$LINE" != x ; then
4014 eval "DEFAULT_$LINE"
4015 else
4016 no_cache=1
4017 fi
4018
4019 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4020
4021 fi
4022
4023
4024 eval "$ac_cv_use_ffile"
4025 if test "$no_cache" != 1; then
4026 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4027 fi
4028
4029 if test "$wxUSE_FFILE" = yes; then
4030 echo "$ac_t""yes" 1>&6
4031 else
4032 echo "$ac_t""no" 1>&6
4033 fi
4034
4035
4036 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
4037 echo "configure:4038: checking for --enable-textbuf" >&5
4038 no_cache=0
4039 # Check whether --enable-textbuf or --disable-textbuf was given.
4040 if test "${enable_textbuf+set}" = set; then
4041 enableval="$enable_textbuf"
4042
4043 if test "$enableval" = yes; then
4044 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4045 else
4046 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4047 fi
4048
4049 else
4050
4051 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4052 if test "x$LINE" != x ; then
4053 eval "DEFAULT_$LINE"
4054 else
4055 no_cache=1
4056 fi
4057
4058 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4059
4060 fi
4061
4062
4063 eval "$ac_cv_use_textbuf"
4064 if test "$no_cache" != 1; then
4065 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4066 fi
4067
4068 if test "$wxUSE_TEXTBUFFER" = yes; then
4069 echo "$ac_t""yes" 1>&6
4070 else
4071 echo "$ac_t""no" 1>&6
4072 fi
4073
4074
4075 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4076 echo "configure:4077: checking for --enable-textfile" >&5
4077 no_cache=0
4078 # Check whether --enable-textfile or --disable-textfile was given.
4079 if test "${enable_textfile+set}" = set; then
4080 enableval="$enable_textfile"
4081
4082 if test "$enableval" = yes; then
4083 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4084 else
4085 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4086 fi
4087
4088 else
4089
4090 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4091 if test "x$LINE" != x ; then
4092 eval "DEFAULT_$LINE"
4093 else
4094 no_cache=1
4095 fi
4096
4097 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4098
4099 fi
4100
4101
4102 eval "$ac_cv_use_textfile"
4103 if test "$no_cache" != 1; then
4104 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4105 fi
4106
4107 if test "$wxUSE_TEXTFILE" = yes; then
4108 echo "$ac_t""yes" 1>&6
4109 else
4110 echo "$ac_t""no" 1>&6
4111 fi
4112
4113
4114 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4115 echo "configure:4116: checking for --enable-fontmap" >&5
4116 no_cache=0
4117 # Check whether --enable-fontmap or --disable-fontmap was given.
4118 if test "${enable_fontmap+set}" = set; then
4119 enableval="$enable_fontmap"
4120
4121 if test "$enableval" = yes; then
4122 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4123 else
4124 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4125 fi
4126
4127 else
4128
4129 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4130 if test "x$LINE" != x ; then
4131 eval "DEFAULT_$LINE"
4132 else
4133 no_cache=1
4134 fi
4135
4136 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4137
4138 fi
4139
4140
4141 eval "$ac_cv_use_fontmap"
4142 if test "$no_cache" != 1; then
4143 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4144 fi
4145
4146 if test "$wxUSE_FONTMAP" = yes; then
4147 echo "$ac_t""yes" 1>&6
4148 else
4149 echo "$ac_t""no" 1>&6
4150 fi
4151
4152
4153 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4154 echo "configure:4155: checking for --enable-unicode" >&5
4155 no_cache=0
4156 # Check whether --enable-unicode or --disable-unicode was given.
4157 if test "${enable_unicode+set}" = set; then
4158 enableval="$enable_unicode"
4159
4160 if test "$enableval" = yes; then
4161 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4162 else
4163 ac_cv_use_unicode='wxUSE_UNICODE=no'
4164 fi
4165
4166 else
4167
4168 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4169 if test "x$LINE" != x ; then
4170 eval "DEFAULT_$LINE"
4171 else
4172 no_cache=1
4173 fi
4174
4175 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4176
4177 fi
4178
4179
4180 eval "$ac_cv_use_unicode"
4181 if test "$no_cache" != 1; then
4182 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4183 fi
4184
4185 if test "$wxUSE_UNICODE" = yes; then
4186 echo "$ac_t""yes" 1>&6
4187 else
4188 echo "$ac_t""no" 1>&6
4189 fi
4190
4191
4192 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4193 echo "configure:4194: checking for --enable-mslu" >&5
4194 no_cache=0
4195 # Check whether --enable-mslu or --disable-mslu was given.
4196 if test "${enable_mslu+set}" = set; then
4197 enableval="$enable_mslu"
4198
4199 if test "$enableval" = yes; then
4200 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4201 else
4202 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4203 fi
4204
4205 else
4206
4207 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4208 if test "x$LINE" != x ; then
4209 eval "DEFAULT_$LINE"
4210 else
4211 no_cache=1
4212 fi
4213
4214 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4215
4216 fi
4217
4218
4219 eval "$ac_cv_use_mslu"
4220 if test "$no_cache" != 1; then
4221 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4222 fi
4223
4224 if test "$wxUSE_UNICODE_MSLU" = yes; then
4225 echo "$ac_t""yes" 1>&6
4226 else
4227 echo "$ac_t""no" 1>&6
4228 fi
4229
4230
4231 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4232 echo "configure:4233: checking for --enable-wxprintfv" >&5
4233 no_cache=0
4234 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4235 if test "${enable_wxprintfv+set}" = set; then
4236 enableval="$enable_wxprintfv"
4237
4238 if test "$enableval" = yes; then
4239 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
4240 else
4241 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
4242 fi
4243
4244 else
4245
4246 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4247 if test "x$LINE" != x ; then
4248 eval "DEFAULT_$LINE"
4249 else
4250 no_cache=1
4251 fi
4252
4253 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4254
4255 fi
4256
4257
4258 eval "$ac_cv_use_wxprintfv"
4259 if test "$no_cache" != 1; then
4260 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4261 fi
4262
4263 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4264 echo "$ac_t""yes" 1>&6
4265 else
4266 echo "$ac_t""no" 1>&6
4267 fi
4268
4269
4270 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4271 echo "configure:4272: checking for --enable-std_iostreams" >&5
4272 no_cache=0
4273 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4274 if test "${enable_std_iostreams+set}" = set; then
4275 enableval="$enable_std_iostreams"
4276
4277 if test "$enableval" = yes; then
4278 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4279 else
4280 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4281 fi
4282
4283 else
4284
4285 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4286 if test "x$LINE" != x ; then
4287 eval "DEFAULT_$LINE"
4288 else
4289 no_cache=1
4290 fi
4291
4292 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4293
4294 fi
4295
4296
4297 eval "$ac_cv_use_std_iostreams"
4298 if test "$no_cache" != 1; then
4299 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4300 fi
4301
4302 if test "$wxUSE_STD_IOSTREAM" = yes; then
4303 echo "$ac_t""yes" 1>&6
4304 else
4305 echo "$ac_t""no" 1>&6
4306 fi
4307
4308
4309 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4310 echo "configure:4311: checking for --enable-filesystem" >&5
4311 no_cache=0
4312 # Check whether --enable-filesystem or --disable-filesystem was given.
4313 if test "${enable_filesystem+set}" = set; then
4314 enableval="$enable_filesystem"
4315
4316 if test "$enableval" = yes; then
4317 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4318 else
4319 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4320 fi
4321
4322 else
4323
4324 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4325 if test "x$LINE" != x ; then
4326 eval "DEFAULT_$LINE"
4327 else
4328 no_cache=1
4329 fi
4330
4331 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4332
4333 fi
4334
4335
4336 eval "$ac_cv_use_filesystem"
4337 if test "$no_cache" != 1; then
4338 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4339 fi
4340
4341 if test "$wxUSE_FILESYSTEM" = yes; then
4342 echo "$ac_t""yes" 1>&6
4343 else
4344 echo "$ac_t""no" 1>&6
4345 fi
4346
4347
4348 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4349 echo "configure:4350: checking for --enable-fs_inet" >&5
4350 no_cache=0
4351 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4352 if test "${enable_fs_inet+set}" = set; then
4353 enableval="$enable_fs_inet"
4354
4355 if test "$enableval" = yes; then
4356 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4357 else
4358 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4359 fi
4360
4361 else
4362
4363 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4364 if test "x$LINE" != x ; then
4365 eval "DEFAULT_$LINE"
4366 else
4367 no_cache=1
4368 fi
4369
4370 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4371
4372 fi
4373
4374
4375 eval "$ac_cv_use_fs_inet"
4376 if test "$no_cache" != 1; then
4377 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4378 fi
4379
4380 if test "$wxUSE_FS_INET" = yes; then
4381 echo "$ac_t""yes" 1>&6
4382 else
4383 echo "$ac_t""no" 1>&6
4384 fi
4385
4386
4387 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4388 echo "configure:4389: checking for --enable-fs_zip" >&5
4389 no_cache=0
4390 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4391 if test "${enable_fs_zip+set}" = set; then
4392 enableval="$enable_fs_zip"
4393
4394 if test "$enableval" = yes; then
4395 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4396 else
4397 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4398 fi
4399
4400 else
4401
4402 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4403 if test "x$LINE" != x ; then
4404 eval "DEFAULT_$LINE"
4405 else
4406 no_cache=1
4407 fi
4408
4409 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4410
4411 fi
4412
4413
4414 eval "$ac_cv_use_fs_zip"
4415 if test "$no_cache" != 1; then
4416 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4417 fi
4418
4419 if test "$wxUSE_FS_ZIP" = yes; then
4420 echo "$ac_t""yes" 1>&6
4421 else
4422 echo "$ac_t""no" 1>&6
4423 fi
4424
4425
4426 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4427 echo "configure:4428: checking for --enable-zipstream" >&5
4428 no_cache=0
4429 # Check whether --enable-zipstream or --disable-zipstream was given.
4430 if test "${enable_zipstream+set}" = set; then
4431 enableval="$enable_zipstream"
4432
4433 if test "$enableval" = yes; then
4434 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
4435 else
4436 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
4437 fi
4438
4439 else
4440
4441 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4442 if test "x$LINE" != x ; then
4443 eval "DEFAULT_$LINE"
4444 else
4445 no_cache=1
4446 fi
4447
4448 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4449
4450 fi
4451
4452
4453 eval "$ac_cv_use_zipstream"
4454 if test "$no_cache" != 1; then
4455 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4456 fi
4457
4458 if test "$wxUSE_ZIPSTREAM" = yes; then
4459 echo "$ac_t""yes" 1>&6
4460 else
4461 echo "$ac_t""no" 1>&6
4462 fi
4463
4464
4465
4466 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4467 echo "configure:4468: checking for --enable-catch_segvs" >&5
4468 no_cache=0
4469 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4470 if test "${enable_catch_segvs+set}" = set; then
4471 enableval="$enable_catch_segvs"
4472
4473 if test "$enableval" = yes; then
4474 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4475 else
4476 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4477 fi
4478
4479 else
4480
4481 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4482 if test "x$LINE" != x ; then
4483 eval "DEFAULT_$LINE"
4484 else
4485 no_cache=1
4486 fi
4487
4488 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4489
4490 fi
4491
4492
4493 eval "$ac_cv_use_catch_segvs"
4494 if test "$no_cache" != 1; then
4495 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4496 fi
4497
4498 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4499 echo "$ac_t""yes" 1>&6
4500 else
4501 echo "$ac_t""no" 1>&6
4502 fi
4503
4504
4505 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4506 echo "configure:4507: checking for --enable-snglinst" >&5
4507 no_cache=0
4508 # Check whether --enable-snglinst or --disable-snglinst was given.
4509 if test "${enable_snglinst+set}" = set; then
4510 enableval="$enable_snglinst"
4511
4512 if test "$enableval" = yes; then
4513 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
4514 else
4515 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
4516 fi
4517
4518 else
4519
4520 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4521 if test "x$LINE" != x ; then
4522 eval "DEFAULT_$LINE"
4523 else
4524 no_cache=1
4525 fi
4526
4527 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4528
4529 fi
4530
4531
4532 eval "$ac_cv_use_snglinst"
4533 if test "$no_cache" != 1; then
4534 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4535 fi
4536
4537 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4538 echo "$ac_t""yes" 1>&6
4539 else
4540 echo "$ac_t""no" 1>&6
4541 fi
4542
4543
4544
4545 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4546 echo "configure:4547: checking for --enable-mimetype" >&5
4547 no_cache=0
4548 # Check whether --enable-mimetype or --disable-mimetype was given.
4549 if test "${enable_mimetype+set}" = set; then
4550 enableval="$enable_mimetype"
4551
4552 if test "$enableval" = yes; then
4553 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
4554 else
4555 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
4556 fi
4557
4558 else
4559
4560 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4561 if test "x$LINE" != x ; then
4562 eval "DEFAULT_$LINE"
4563 else
4564 no_cache=1
4565 fi
4566
4567 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4568
4569 fi
4570
4571
4572 eval "$ac_cv_use_mimetype"
4573 if test "$no_cache" != 1; then
4574 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4575 fi
4576
4577 if test "$wxUSE_MIMETYPE" = yes; then
4578 echo "$ac_t""yes" 1>&6
4579 else
4580 echo "$ac_t""no" 1>&6
4581 fi
4582
4583
4584 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4585 echo "configure:4586: checking for --enable-system_options" >&5
4586 no_cache=0
4587 # Check whether --enable-system_options or --disable-system_options was given.
4588 if test "${enable_system_options+set}" = set; then
4589 enableval="$enable_system_options"
4590
4591 if test "$enableval" = yes; then
4592 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
4593 else
4594 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
4595 fi
4596
4597 else
4598
4599 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4600 if test "x$LINE" != x ; then
4601 eval "DEFAULT_$LINE"
4602 else
4603 no_cache=1
4604 fi
4605
4606 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4607
4608 fi
4609
4610
4611 eval "$ac_cv_use_system_options"
4612 if test "$no_cache" != 1; then
4613 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4614 fi
4615
4616 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4617 echo "$ac_t""yes" 1>&6
4618 else
4619 echo "$ac_t""no" 1>&6
4620 fi
4621
4622
4623
4624 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4625 echo "configure:4626: checking for --enable-url" >&5
4626 no_cache=0
4627 # Check whether --enable-url or --disable-url was given.
4628 if test "${enable_url+set}" = set; then
4629 enableval="$enable_url"
4630
4631 if test "$enableval" = yes; then
4632 ac_cv_use_url='wxUSE_URL=yes'
4633 else
4634 ac_cv_use_url='wxUSE_URL=no'
4635 fi
4636
4637 else
4638
4639 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4640 if test "x$LINE" != x ; then
4641 eval "DEFAULT_$LINE"
4642 else
4643 no_cache=1
4644 fi
4645
4646 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
4647
4648 fi
4649
4650
4651 eval "$ac_cv_use_url"
4652 if test "$no_cache" != 1; then
4653 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4654 fi
4655
4656 if test "$wxUSE_URL" = yes; then
4657 echo "$ac_t""yes" 1>&6
4658 else
4659 echo "$ac_t""no" 1>&6
4660 fi
4661
4662
4663 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4664 echo "configure:4665: checking for --enable-protocol" >&5
4665 no_cache=0
4666 # Check whether --enable-protocol or --disable-protocol was given.
4667 if test "${enable_protocol+set}" = set; then
4668 enableval="$enable_protocol"
4669
4670 if test "$enableval" = yes; then
4671 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
4672 else
4673 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
4674 fi
4675
4676 else
4677
4678 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4679 if test "x$LINE" != x ; then
4680 eval "DEFAULT_$LINE"
4681 else
4682 no_cache=1
4683 fi
4684
4685 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4686
4687 fi
4688
4689
4690 eval "$ac_cv_use_protocol"
4691 if test "$no_cache" != 1; then
4692 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4693 fi
4694
4695 if test "$wxUSE_PROTOCOL" = yes; then
4696 echo "$ac_t""yes" 1>&6
4697 else
4698 echo "$ac_t""no" 1>&6
4699 fi
4700
4701
4702 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4703 echo "configure:4704: checking for --enable-protocol_http" >&5
4704 no_cache=0
4705 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4706 if test "${enable_protocol_http+set}" = set; then
4707 enableval="$enable_protocol_http"
4708
4709 if test "$enableval" = yes; then
4710 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
4711 else
4712 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
4713 fi
4714
4715 else
4716
4717 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4718 if test "x$LINE" != x ; then
4719 eval "DEFAULT_$LINE"
4720 else
4721 no_cache=1
4722 fi
4723
4724 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4725
4726 fi
4727
4728
4729 eval "$ac_cv_use_protocol_http"
4730 if test "$no_cache" != 1; then
4731 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4732 fi
4733
4734 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4735 echo "$ac_t""yes" 1>&6
4736 else
4737 echo "$ac_t""no" 1>&6
4738 fi
4739
4740
4741 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4742 echo "configure:4743: checking for --enable-protocol_ftp" >&5
4743 no_cache=0
4744 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4745 if test "${enable_protocol_ftp+set}" = set; then
4746 enableval="$enable_protocol_ftp"
4747
4748 if test "$enableval" = yes; then
4749 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
4750 else
4751 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
4752 fi
4753
4754 else
4755
4756 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4757 if test "x$LINE" != x ; then
4758 eval "DEFAULT_$LINE"
4759 else
4760 no_cache=1
4761 fi
4762
4763 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4764
4765 fi
4766
4767
4768 eval "$ac_cv_use_protocol_ftp"
4769 if test "$no_cache" != 1; then
4770 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4771 fi
4772
4773 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4774 echo "$ac_t""yes" 1>&6
4775 else
4776 echo "$ac_t""no" 1>&6
4777 fi
4778
4779
4780 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4781 echo "configure:4782: checking for --enable-protocol_file" >&5
4782 no_cache=0
4783 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4784 if test "${enable_protocol_file+set}" = set; then
4785 enableval="$enable_protocol_file"
4786
4787 if test "$enableval" = yes; then
4788 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
4789 else
4790 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
4791 fi
4792
4793 else
4794
4795 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4796 if test "x$LINE" != x ; then
4797 eval "DEFAULT_$LINE"
4798 else
4799 no_cache=1
4800 fi
4801
4802 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4803
4804 fi
4805
4806
4807 eval "$ac_cv_use_protocol_file"
4808 if test "$no_cache" != 1; then
4809 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4810 fi
4811
4812 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4813 echo "$ac_t""yes" 1>&6
4814 else
4815 echo "$ac_t""no" 1>&6
4816 fi
4817
4818
4819
4820
4821
4822 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4823 echo "configure:4824: checking for --enable-threads" >&5
4824 no_cache=0
4825 # Check whether --enable-threads or --disable-threads was given.
4826 if test "${enable_threads+set}" = set; then
4827 enableval="$enable_threads"
4828
4829 if test "$enableval" = yes; then
4830 ac_cv_use_threads='wxUSE_THREADS=yes'
4831 else
4832 ac_cv_use_threads='wxUSE_THREADS=no'
4833 fi
4834
4835 else
4836
4837 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4838 if test "x$LINE" != x ; then
4839 eval "DEFAULT_$LINE"
4840 else
4841 no_cache=1
4842 fi
4843
4844 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4845
4846 fi
4847
4848
4849 eval "$ac_cv_use_threads"
4850 if test "$no_cache" != 1; then
4851 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4852 fi
4853
4854 if test "$wxUSE_THREADS" = yes; then
4855 echo "$ac_t""yes" 1>&6
4856 else
4857 echo "$ac_t""no" 1>&6
4858 fi
4859
4860
4861 if test "$wxUSE_GUI" = "yes"; then
4862
4863
4864
4865 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4866 echo "configure:4867: checking for --enable-docview" >&5
4867 no_cache=0
4868 # Check whether --enable-docview or --disable-docview was given.
4869 if test "${enable_docview+set}" = set; then
4870 enableval="$enable_docview"
4871
4872 if test "$enableval" = yes; then
4873 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4874 else
4875 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4876 fi
4877
4878 else
4879
4880 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4881 if test "x$LINE" != x ; then
4882 eval "DEFAULT_$LINE"
4883 else
4884 no_cache=1
4885 fi
4886
4887 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4888
4889 fi
4890
4891
4892 eval "$ac_cv_use_docview"
4893 if test "$no_cache" != 1; then
4894 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4895 fi
4896
4897 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4898 echo "$ac_t""yes" 1>&6
4899 else
4900 echo "$ac_t""no" 1>&6
4901 fi
4902
4903
4904 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4905 echo "configure:4906: checking for --enable-help" >&5
4906 no_cache=0
4907 # Check whether --enable-help or --disable-help was given.
4908 if test "${enable_help+set}" = set; then
4909 enableval="$enable_help"
4910
4911 if test "$enableval" = yes; then
4912 ac_cv_use_help='wxUSE_HELP=yes'
4913 else
4914 ac_cv_use_help='wxUSE_HELP=no'
4915 fi
4916
4917 else
4918
4919 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4920 if test "x$LINE" != x ; then
4921 eval "DEFAULT_$LINE"
4922 else
4923 no_cache=1
4924 fi
4925
4926 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4927
4928 fi
4929
4930
4931 eval "$ac_cv_use_help"
4932 if test "$no_cache" != 1; then
4933 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4934 fi
4935
4936 if test "$wxUSE_HELP" = yes; then
4937 echo "$ac_t""yes" 1>&6
4938 else
4939 echo "$ac_t""no" 1>&6
4940 fi
4941
4942
4943 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4944 echo "configure:4945: checking for --enable-mshtmlhelp" >&5
4945 no_cache=0
4946 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4947 if test "${enable_mshtmlhelp+set}" = set; then
4948 enableval="$enable_mshtmlhelp"
4949
4950 if test "$enableval" = yes; then
4951 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
4952 else
4953 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
4954 fi
4955
4956 else
4957
4958 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4959 if test "x$LINE" != x ; then
4960 eval "DEFAULT_$LINE"
4961 else
4962 no_cache=1
4963 fi
4964
4965 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4966
4967 fi
4968
4969
4970 eval "$ac_cv_use_mshtmlhelp"
4971 if test "$no_cache" != 1; then
4972 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4973 fi
4974
4975 if test "$wxUSE_MS_HTML_HELP" = yes; then
4976 echo "$ac_t""yes" 1>&6
4977 else
4978 echo "$ac_t""no" 1>&6
4979 fi
4980
4981
4982 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4983 echo "configure:4984: checking for --enable-html" >&5
4984 no_cache=0
4985 # Check whether --enable-html or --disable-html was given.
4986 if test "${enable_html+set}" = set; then
4987 enableval="$enable_html"
4988
4989 if test "$enableval" = yes; then
4990 ac_cv_use_html='wxUSE_HTML=yes'
4991 else
4992 ac_cv_use_html='wxUSE_HTML=no'
4993 fi
4994
4995 else
4996
4997 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4998 if test "x$LINE" != x ; then
4999 eval "DEFAULT_$LINE"
5000 else
5001 no_cache=1
5002 fi
5003
5004 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5005
5006 fi
5007
5008
5009 eval "$ac_cv_use_html"
5010 if test "$no_cache" != 1; then
5011 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5012 fi
5013
5014 if test "$wxUSE_HTML" = yes; then
5015 echo "$ac_t""yes" 1>&6
5016 else
5017 echo "$ac_t""no" 1>&6
5018 fi
5019
5020
5021 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
5022 echo "configure:5023: checking for --enable-htmlhelp" >&5
5023 no_cache=0
5024 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5025 if test "${enable_htmlhelp+set}" = set; then
5026 enableval="$enable_htmlhelp"
5027
5028 if test "$enableval" = yes; then
5029 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5030 else
5031 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5032 fi
5033
5034 else
5035
5036 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5037 if test "x$LINE" != x ; then
5038 eval "DEFAULT_$LINE"
5039 else
5040 no_cache=1
5041 fi
5042
5043 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5044
5045 fi
5046
5047
5048 eval "$ac_cv_use_htmlhelp"
5049 if test "$no_cache" != 1; then
5050 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5051 fi
5052
5053 if test "$wxUSE_WXHTML_HELP" = yes; then
5054 echo "$ac_t""yes" 1>&6
5055 else
5056 echo "$ac_t""no" 1>&6
5057 fi
5058
5059
5060 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
5061 echo "configure:5062: checking for --enable-constraints" >&5
5062 no_cache=0
5063 # Check whether --enable-constraints or --disable-constraints was given.
5064 if test "${enable_constraints+set}" = set; then
5065 enableval="$enable_constraints"
5066
5067 if test "$enableval" = yes; then
5068 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5069 else
5070 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5071 fi
5072
5073 else
5074
5075 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5076 if test "x$LINE" != x ; then
5077 eval "DEFAULT_$LINE"
5078 else
5079 no_cache=1
5080 fi
5081
5082 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5083
5084 fi
5085
5086
5087 eval "$ac_cv_use_constraints"
5088 if test "$no_cache" != 1; then
5089 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5090 fi
5091
5092 if test "$wxUSE_CONSTRAINTS" = yes; then
5093 echo "$ac_t""yes" 1>&6
5094 else
5095 echo "$ac_t""no" 1>&6
5096 fi
5097
5098
5099 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5100 echo "configure:5101: checking for --enable-printarch" >&5
5101 no_cache=0
5102 # Check whether --enable-printarch or --disable-printarch was given.
5103 if test "${enable_printarch+set}" = set; then
5104 enableval="$enable_printarch"
5105
5106 if test "$enableval" = yes; then
5107 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5108 else
5109 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5110 fi
5111
5112 else
5113
5114 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5115 if test "x$LINE" != x ; then
5116 eval "DEFAULT_$LINE"
5117 else
5118 no_cache=1
5119 fi
5120
5121 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5122
5123 fi
5124
5125
5126 eval "$ac_cv_use_printarch"
5127 if test "$no_cache" != 1; then
5128 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5129 fi
5130
5131 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5132 echo "$ac_t""yes" 1>&6
5133 else
5134 echo "$ac_t""no" 1>&6
5135 fi
5136
5137
5138 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5139 echo "configure:5140: checking for --enable-mdi" >&5
5140 no_cache=0
5141 # Check whether --enable-mdi or --disable-mdi was given.
5142 if test "${enable_mdi+set}" = set; then
5143 enableval="$enable_mdi"
5144
5145 if test "$enableval" = yes; then
5146 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
5147 else
5148 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
5149 fi
5150
5151 else
5152
5153 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5154 if test "x$LINE" != x ; then
5155 eval "DEFAULT_$LINE"
5156 else
5157 no_cache=1
5158 fi
5159
5160 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5161
5162 fi
5163
5164
5165 eval "$ac_cv_use_mdi"
5166 if test "$no_cache" != 1; then
5167 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5168 fi
5169
5170 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5171 echo "$ac_t""yes" 1>&6
5172 else
5173 echo "$ac_t""no" 1>&6
5174 fi
5175
5176
5177 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5178 echo "configure:5179: checking for --enable-loggui" >&5
5179 no_cache=0
5180 # Check whether --enable-loggui or --disable-loggui was given.
5181 if test "${enable_loggui+set}" = set; then
5182 enableval="$enable_loggui"
5183
5184 if test "$enableval" = yes; then
5185 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
5186 else
5187 ac_cv_use_loggui='wxUSE_LOGGUI=no'
5188 fi
5189
5190 else
5191
5192 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5193 if test "x$LINE" != x ; then
5194 eval "DEFAULT_$LINE"
5195 else
5196 no_cache=1
5197 fi
5198
5199 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5200
5201 fi
5202
5203
5204 eval "$ac_cv_use_loggui"
5205 if test "$no_cache" != 1; then
5206 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5207 fi
5208
5209 if test "$wxUSE_LOGGUI" = yes; then
5210 echo "$ac_t""yes" 1>&6
5211 else
5212 echo "$ac_t""no" 1>&6
5213 fi
5214
5215
5216 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5217 echo "configure:5218: checking for --enable-logwin" >&5
5218 no_cache=0
5219 # Check whether --enable-logwin or --disable-logwin was given.
5220 if test "${enable_logwin+set}" = set; then
5221 enableval="$enable_logwin"
5222
5223 if test "$enableval" = yes; then
5224 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
5225 else
5226 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
5227 fi
5228
5229 else
5230
5231 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5232 if test "x$LINE" != x ; then
5233 eval "DEFAULT_$LINE"
5234 else
5235 no_cache=1
5236 fi
5237
5238 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5239
5240 fi
5241
5242
5243 eval "$ac_cv_use_logwin"
5244 if test "$no_cache" != 1; then
5245 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5246 fi
5247
5248 if test "$wxUSE_LOGWINDOW" = yes; then
5249 echo "$ac_t""yes" 1>&6
5250 else
5251 echo "$ac_t""no" 1>&6
5252 fi
5253
5254
5255 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5256 echo "configure:5257: checking for --enable-logdialog" >&5
5257 no_cache=0
5258 # Check whether --enable-logdialog or --disable-logdialog was given.
5259 if test "${enable_logdialog+set}" = set; then
5260 enableval="$enable_logdialog"
5261
5262 if test "$enableval" = yes; then
5263 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
5264 else
5265 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
5266 fi
5267
5268 else
5269
5270 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5271 if test "x$LINE" != x ; then
5272 eval "DEFAULT_$LINE"
5273 else
5274 no_cache=1
5275 fi
5276
5277 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5278
5279 fi
5280
5281
5282 eval "$ac_cv_use_logdialog"
5283 if test "$no_cache" != 1; then
5284 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5285 fi
5286
5287 if test "$wxUSE_LOGDIALOG" = yes; then
5288 echo "$ac_t""yes" 1>&6
5289 else
5290 echo "$ac_t""no" 1>&6
5291 fi
5292
5293
5294
5295 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5296 echo "configure:5297: checking for --enable-postscript" >&5
5297 no_cache=0
5298 # Check whether --enable-postscript or --disable-postscript was given.
5299 if test "${enable_postscript+set}" = set; then
5300 enableval="$enable_postscript"
5301
5302 if test "$enableval" = yes; then
5303 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
5304 else
5305 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
5306 fi
5307
5308 else
5309
5310 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5311 if test "x$LINE" != x ; then
5312 eval "DEFAULT_$LINE"
5313 else
5314 no_cache=1
5315 fi
5316
5317 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5318
5319 fi
5320
5321
5322 eval "$ac_cv_use_postscript"
5323 if test "$no_cache" != 1; then
5324 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5325 fi
5326
5327 if test "$wxUSE_POSTSCRIPT" = yes; then
5328 echo "$ac_t""yes" 1>&6
5329 else
5330 echo "$ac_t""no" 1>&6
5331 fi
5332
5333
5334
5335
5336
5337 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5338 echo "configure:5339: checking for --enable-prologio" >&5
5339 no_cache=0
5340 # Check whether --enable-prologio or --disable-prologio was given.
5341 if test "${enable_prologio+set}" = set; then
5342 enableval="$enable_prologio"
5343
5344 if test "$enableval" = yes; then
5345 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
5346 else
5347 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
5348 fi
5349
5350 else
5351
5352 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5353 if test "x$LINE" != x ; then
5354 eval "DEFAULT_$LINE"
5355 else
5356 no_cache=1
5357 fi
5358
5359 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5360
5361 fi
5362
5363
5364 eval "$ac_cv_use_prologio"
5365 if test "$no_cache" != 1; then
5366 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5367 fi
5368
5369 if test "$wxUSE_PROLOGIO" = yes; then
5370 echo "$ac_t""yes" 1>&6
5371 else
5372 echo "$ac_t""no" 1>&6
5373 fi
5374
5375
5376 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5377 echo "configure:5378: checking for --enable-resources" >&5
5378 no_cache=0
5379 # Check whether --enable-resources or --disable-resources was given.
5380 if test "${enable_resources+set}" = set; then
5381 enableval="$enable_resources"
5382
5383 if test "$enableval" = yes; then
5384 ac_cv_use_resources='wxUSE_RESOURCES=yes'
5385 else
5386 ac_cv_use_resources='wxUSE_RESOURCES=no'
5387 fi
5388
5389 else
5390
5391 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5392 if test "x$LINE" != x ; then
5393 eval "DEFAULT_$LINE"
5394 else
5395 no_cache=1
5396 fi
5397
5398 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5399
5400 fi
5401
5402
5403 eval "$ac_cv_use_resources"
5404 if test "$no_cache" != 1; then
5405 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5406 fi
5407
5408 if test "$wxUSE_RESOURCES" = yes; then
5409 echo "$ac_t""yes" 1>&6
5410 else
5411 echo "$ac_t""no" 1>&6
5412 fi
5413
5414
5415
5416 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5417 echo "configure:5418: checking for --enable-xresources" >&5
5418 no_cache=0
5419 # Check whether --enable-xresources or --disable-xresources was given.
5420 if test "${enable_xresources+set}" = set; then
5421 enableval="$enable_xresources"
5422
5423 if test "$enableval" = yes; then
5424 ac_cv_use_xresources='wxUSE_X_RESOURCES=yes'
5425 else
5426 ac_cv_use_xresources='wxUSE_X_RESOURCES=no'
5427 fi
5428
5429 else
5430
5431 LINE=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5432 if test "x$LINE" != x ; then
5433 eval "DEFAULT_$LINE"
5434 else
5435 no_cache=1
5436 fi
5437
5438 ac_cv_use_xresources='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5439
5440 fi
5441
5442
5443 eval "$ac_cv_use_xresources"
5444 if test "$no_cache" != 1; then
5445 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5446 fi
5447
5448 if test "$wxUSE_X_RESOURCES" = yes; then
5449 echo "$ac_t""yes" 1>&6
5450 else
5451 echo "$ac_t""no" 1>&6
5452 fi
5453
5454
5455
5456
5457 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5458 echo "configure:5459: checking for --enable-clipboard" >&5
5459 no_cache=0
5460 # Check whether --enable-clipboard or --disable-clipboard was given.
5461 if test "${enable_clipboard+set}" = set; then
5462 enableval="$enable_clipboard"
5463
5464 if test "$enableval" = yes; then
5465 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
5466 else
5467 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
5468 fi
5469
5470 else
5471
5472 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5473 if test "x$LINE" != x ; then
5474 eval "DEFAULT_$LINE"
5475 else
5476 no_cache=1
5477 fi
5478
5479 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5480
5481 fi
5482
5483
5484 eval "$ac_cv_use_clipboard"
5485 if test "$no_cache" != 1; then
5486 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5487 fi
5488
5489 if test "$wxUSE_CLIPBOARD" = yes; then
5490 echo "$ac_t""yes" 1>&6
5491 else
5492 echo "$ac_t""no" 1>&6
5493 fi
5494
5495
5496 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5497 echo "configure:5498: checking for --enable-dnd" >&5
5498 no_cache=0
5499 # Check whether --enable-dnd or --disable-dnd was given.
5500 if test "${enable_dnd+set}" = set; then
5501 enableval="$enable_dnd"
5502
5503 if test "$enableval" = yes; then
5504 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
5505 else
5506 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
5507 fi
5508
5509 else
5510
5511 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5512 if test "x$LINE" != x ; then
5513 eval "DEFAULT_$LINE"
5514 else
5515 no_cache=1
5516 fi
5517
5518 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5519
5520 fi
5521
5522
5523 eval "$ac_cv_use_dnd"
5524 if test "$no_cache" != 1; then
5525 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5526 fi
5527
5528 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5529 echo "$ac_t""yes" 1>&6
5530 else
5531 echo "$ac_t""no" 1>&6
5532 fi
5533
5534
5535 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5536 echo "configure:5537: checking for --enable-metafile" >&5
5537 no_cache=0
5538 # Check whether --enable-metafile or --disable-metafile was given.
5539 if test "${enable_metafile+set}" = set; then
5540 enableval="$enable_metafile"
5541
5542 if test "$enableval" = yes; then
5543 ac_cv_use_metafile='wxUSE_METAFILE=yes'
5544 else
5545 ac_cv_use_metafile='wxUSE_METAFILE=no'
5546 fi
5547
5548 else
5549
5550 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5551 if test "x$LINE" != x ; then
5552 eval "DEFAULT_$LINE"
5553 else
5554 no_cache=1
5555 fi
5556
5557 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5558
5559 fi
5560
5561
5562 eval "$ac_cv_use_metafile"
5563 if test "$no_cache" != 1; then
5564 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5565 fi
5566
5567 if test "$wxUSE_METAFILE" = yes; then
5568 echo "$ac_t""yes" 1>&6
5569 else
5570 echo "$ac_t""no" 1>&6
5571 fi
5572
5573
5574
5575 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5576 echo "configure:5577: checking for --enable-treelayout" >&5
5577 no_cache=0
5578 # Check whether --enable-treelayout or --disable-treelayout was given.
5579 if test "${enable_treelayout+set}" = set; then
5580 enableval="$enable_treelayout"
5581
5582 if test "$enableval" = yes; then
5583 ac_cv_use_treelayout='wxUSE_TREELAYOUT=yes'
5584 else
5585 ac_cv_use_treelayout='wxUSE_TREELAYOUT=no'
5586 fi
5587
5588 else
5589
5590 LINE=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5591 if test "x$LINE" != x ; then
5592 eval "DEFAULT_$LINE"
5593 else
5594 no_cache=1
5595 fi
5596
5597 ac_cv_use_treelayout='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5598
5599 fi
5600
5601
5602 eval "$ac_cv_use_treelayout"
5603 if test "$no_cache" != 1; then
5604 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5605 fi
5606
5607 if test "$wxUSE_TREELAYOUT" = yes; then
5608 echo "$ac_t""yes" 1>&6
5609 else
5610 echo "$ac_t""no" 1>&6
5611 fi
5612
5613
5614
5615
5616 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5617 echo "configure:5618: checking for --enable-controls" >&5
5618 no_cache=0
5619 # Check whether --enable-controls or --disable-controls was given.
5620 if test "${enable_controls+set}" = set; then
5621 enableval="$enable_controls"
5622
5623 if test "$enableval" = yes; then
5624 ac_cv_use_controls='wxUSE_CONTROLS=yes'
5625 else
5626 ac_cv_use_controls='wxUSE_CONTROLS=no'
5627 fi
5628
5629 else
5630
5631 LINE=`grep "wxUSE_CONTROLS" ${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_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5639
5640 fi
5641
5642
5643 eval "$ac_cv_use_controls"
5644 if test "$no_cache" != 1; then
5645 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5646 fi
5647
5648 if test "$wxUSE_CONTROLS" = yes; then
5649 echo "$ac_t""yes" 1>&6
5650 else
5651 echo "$ac_t""no" 1>&6
5652 fi
5653
5654
5655 if test "$wxUSE_CONTROLS" = "yes"; then
5656 DEFAULT_wxUSE_ACCEL=yes
5657 DEFAULT_wxUSE_BMPBUTTON=yes
5658 DEFAULT_wxUSE_BUTTON=yes
5659 DEFAULT_wxUSE_CALCTRL=no
5660 DEFAULT_wxUSE_CARET=yes
5661 DEFAULT_wxUSE_COMBOBOX=yes
5662 DEFAULT_wxUSE_CHECKBOX=yes
5663 DEFAULT_wxUSE_CHECKLISTBOX=yes
5664 DEFAULT_wxUSE_CHOICE=yes
5665 DEFAULT_wxUSE_GAUGE=yes
5666 DEFAULT_wxUSE_GRID=yes
5667 DEFAULT_wxUSE_NEW_GRID=yes
5668 DEFAULT_wxUSE_IMAGLIST=yes
5669 DEFAULT_wxUSE_LISTBOX=yes
5670 DEFAULT_wxUSE_LISTCTRL=yes
5671 DEFAULT_wxUSE_NOTEBOOK=yes
5672 DEFAULT_wxUSE_PROPSHEET=yes
5673 DEFAULT_wxUSE_RADIOBOX=yes
5674 DEFAULT_wxUSE_RADIOBTN=yes
5675 DEFAULT_wxUSE_SASH=yes
5676 DEFAULT_wxUSE_SCROLLBAR=yes
5677 DEFAULT_wxUSE_SLIDER=yes
5678 DEFAULT_wxUSE_SPINBTN=yes
5679 DEFAULT_wxUSE_SPINCTRL=yes
5680 DEFAULT_wxUSE_SPLITTER=yes
5681 DEFAULT_wxUSE_STATBMP=yes
5682 DEFAULT_wxUSE_STATBOX=yes
5683 DEFAULT_wxUSE_STATLINE=yes
5684 DEFAULT_wxUSE_STATUSBAR=yes
5685 DEFAULT_wxUSE_TAB_DIALOG=yes
5686 DEFAULT_wxUSE_TOGGLEBTN=yes
5687 DEFAULT_wxUSE_TOOLBAR=yes
5688 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
5689 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
5690 DEFAULT_wxUSE_TOOLTIPS=yes
5691 DEFAULT_wxUSE_TREECTRL=yes
5692 DEFAULT_wxUSE_POPUPWIN=yes
5693 DEFAULT_wxUSE_TIPWINDOW=yes
5694 elif test "$wxUSE_CONTROLS" = "no"; then
5695 DEFAULT_wxUSE_ACCEL=no
5696 DEFAULT_wxUSE_BMPBUTTON=no
5697 DEFAULT_wxUSE_BUTTON=no
5698 DEFAULT_wxUSE_CALCTRL=no
5699 DEFAULT_wxUSE_CARET=no
5700 DEFAULT_wxUSE_COMBOBOX=no
5701 DEFAULT_wxUSE_CHECKBOX=no
5702 DEFAULT_wxUSE_CHECKLISTBOX=no
5703 DEFAULT_wxUSE_CHOICE=no
5704 DEFAULT_wxUSE_GAUGE=no
5705 DEFAULT_wxUSE_GRID=no
5706 DEFAULT_wxUSE_NEW_GRID=no
5707 DEFAULT_wxUSE_IMAGLIST=no
5708 DEFAULT_wxUSE_LISTBOX=no
5709 DEFAULT_wxUSE_LISTCTRL=no
5710 DEFAULT_wxUSE_NOTEBOOK=no
5711 DEFAULT_wxUSE_PROPSHEET=no
5712 DEFAULT_wxUSE_RADIOBOX=no
5713 DEFAULT_wxUSE_RADIOBTN=no
5714 DEFAULT_wxUSE_SASH=no
5715 DEFAULT_wxUSE_SCROLLBAR=no
5716 DEFAULT_wxUSE_SLIDER=no
5717 DEFAULT_wxUSE_SPINBTN=no
5718 DEFAULT_wxUSE_SPINCTRL=no
5719 DEFAULT_wxUSE_SPLITTER=no
5720 DEFAULT_wxUSE_STATBMP=no
5721 DEFAULT_wxUSE_STATBOX=no
5722 DEFAULT_wxUSE_STATLINE=no
5723 DEFAULT_wxUSE_STATUSBAR=no
5724 DEFAULT_wxUSE_TAB_DIALOG=no
5725 DEFAULT_wxUSE_TOGGLEBTN=no
5726 DEFAULT_wxUSE_TOOLBAR=no
5727 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
5728 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
5729 DEFAULT_wxUSE_TOOLTIPS=no
5730 DEFAULT_wxUSE_TREECTRL=no
5731 DEFAULT_wxUSE_POPUPWIN=no
5732 DEFAULT_wxUSE_TIPWINDOW=no
5733 fi
5734
5735
5736 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5737 echo "configure:5738: checking for --enable-accel" >&5
5738 no_cache=0
5739 # Check whether --enable-accel or --disable-accel was given.
5740 if test "${enable_accel+set}" = set; then
5741 enableval="$enable_accel"
5742
5743 if test "$enableval" = yes; then
5744 ac_cv_use_accel='wxUSE_ACCEL=yes'
5745 else
5746 ac_cv_use_accel='wxUSE_ACCEL=no'
5747 fi
5748
5749 else
5750
5751 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5752 if test "x$LINE" != x ; then
5753 eval "DEFAULT_$LINE"
5754 else
5755 no_cache=1
5756 fi
5757
5758 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5759
5760 fi
5761
5762
5763 eval "$ac_cv_use_accel"
5764 if test "$no_cache" != 1; then
5765 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5766 fi
5767
5768 if test "$wxUSE_ACCEL" = yes; then
5769 echo "$ac_t""yes" 1>&6
5770 else
5771 echo "$ac_t""no" 1>&6
5772 fi
5773
5774
5775 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5776 echo "configure:5777: checking for --enable-button" >&5
5777 no_cache=0
5778 # Check whether --enable-button or --disable-button was given.
5779 if test "${enable_button+set}" = set; then
5780 enableval="$enable_button"
5781
5782 if test "$enableval" = yes; then
5783 ac_cv_use_button='wxUSE_BUTTON=yes'
5784 else
5785 ac_cv_use_button='wxUSE_BUTTON=no'
5786 fi
5787
5788 else
5789
5790 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5791 if test "x$LINE" != x ; then
5792 eval "DEFAULT_$LINE"
5793 else
5794 no_cache=1
5795 fi
5796
5797 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5798
5799 fi
5800
5801
5802 eval "$ac_cv_use_button"
5803 if test "$no_cache" != 1; then
5804 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5805 fi
5806
5807 if test "$wxUSE_BUTTON" = yes; then
5808 echo "$ac_t""yes" 1>&6
5809 else
5810 echo "$ac_t""no" 1>&6
5811 fi
5812
5813
5814 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5815 echo "configure:5816: checking for --enable-bmpbutton" >&5
5816 no_cache=0
5817 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5818 if test "${enable_bmpbutton+set}" = set; then
5819 enableval="$enable_bmpbutton"
5820
5821 if test "$enableval" = yes; then
5822 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
5823 else
5824 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
5825 fi
5826
5827 else
5828
5829 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5830 if test "x$LINE" != x ; then
5831 eval "DEFAULT_$LINE"
5832 else
5833 no_cache=1
5834 fi
5835
5836 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5837
5838 fi
5839
5840
5841 eval "$ac_cv_use_bmpbutton"
5842 if test "$no_cache" != 1; then
5843 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5844 fi
5845
5846 if test "$wxUSE_BMPBUTTON" = yes; then
5847 echo "$ac_t""yes" 1>&6
5848 else
5849 echo "$ac_t""no" 1>&6
5850 fi
5851
5852
5853 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5854 echo "configure:5855: checking for --enable-calendar" >&5
5855 no_cache=0
5856 # Check whether --enable-calendar or --disable-calendar was given.
5857 if test "${enable_calendar+set}" = set; then
5858 enableval="$enable_calendar"
5859
5860 if test "$enableval" = yes; then
5861 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
5862 else
5863 ac_cv_use_calendar='wxUSE_CALCTRL=no'
5864 fi
5865
5866 else
5867
5868 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5869 if test "x$LINE" != x ; then
5870 eval "DEFAULT_$LINE"
5871 else
5872 no_cache=1
5873 fi
5874
5875 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5876
5877 fi
5878
5879
5880 eval "$ac_cv_use_calendar"
5881 if test "$no_cache" != 1; then
5882 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5883 fi
5884
5885 if test "$wxUSE_CALCTRL" = yes; then
5886 echo "$ac_t""yes" 1>&6
5887 else
5888 echo "$ac_t""no" 1>&6
5889 fi
5890
5891
5892 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5893 echo "configure:5894: checking for --enable-caret" >&5
5894 no_cache=0
5895 # Check whether --enable-caret or --disable-caret was given.
5896 if test "${enable_caret+set}" = set; then
5897 enableval="$enable_caret"
5898
5899 if test "$enableval" = yes; then
5900 ac_cv_use_caret='wxUSE_CARET=yes'
5901 else
5902 ac_cv_use_caret='wxUSE_CARET=no'
5903 fi
5904
5905 else
5906
5907 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5908 if test "x$LINE" != x ; then
5909 eval "DEFAULT_$LINE"
5910 else
5911 no_cache=1
5912 fi
5913
5914 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5915
5916 fi
5917
5918
5919 eval "$ac_cv_use_caret"
5920 if test "$no_cache" != 1; then
5921 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5922 fi
5923
5924 if test "$wxUSE_CARET" = yes; then
5925 echo "$ac_t""yes" 1>&6
5926 else
5927 echo "$ac_t""no" 1>&6
5928 fi
5929
5930
5931 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5932 echo "configure:5933: checking for --enable-checkbox" >&5
5933 no_cache=0
5934 # Check whether --enable-checkbox or --disable-checkbox was given.
5935 if test "${enable_checkbox+set}" = set; then
5936 enableval="$enable_checkbox"
5937
5938 if test "$enableval" = yes; then
5939 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
5940 else
5941 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
5942 fi
5943
5944 else
5945
5946 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5947 if test "x$LINE" != x ; then
5948 eval "DEFAULT_$LINE"
5949 else
5950 no_cache=1
5951 fi
5952
5953 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5954
5955 fi
5956
5957
5958 eval "$ac_cv_use_checkbox"
5959 if test "$no_cache" != 1; then
5960 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5961 fi
5962
5963 if test "$wxUSE_CHECKBOX" = yes; then
5964 echo "$ac_t""yes" 1>&6
5965 else
5966 echo "$ac_t""no" 1>&6
5967 fi
5968
5969
5970 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5971 echo "configure:5972: checking for --enable-checklst" >&5
5972 no_cache=0
5973 # Check whether --enable-checklst or --disable-checklst was given.
5974 if test "${enable_checklst+set}" = set; then
5975 enableval="$enable_checklst"
5976
5977 if test "$enableval" = yes; then
5978 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
5979 else
5980 ac_cv_use_checklst='wxUSE_CHECKLST=no'
5981 fi
5982
5983 else
5984
5985 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5986 if test "x$LINE" != x ; then
5987 eval "DEFAULT_$LINE"
5988 else
5989 no_cache=1
5990 fi
5991
5992 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5993
5994 fi
5995
5996
5997 eval "$ac_cv_use_checklst"
5998 if test "$no_cache" != 1; then
5999 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6000 fi
6001
6002 if test "$wxUSE_CHECKLST" = yes; then
6003 echo "$ac_t""yes" 1>&6
6004 else
6005 echo "$ac_t""no" 1>&6
6006 fi
6007
6008
6009 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
6010 echo "configure:6011: checking for --enable-choice" >&5
6011 no_cache=0
6012 # Check whether --enable-choice or --disable-choice was given.
6013 if test "${enable_choice+set}" = set; then
6014 enableval="$enable_choice"
6015
6016 if test "$enableval" = yes; then
6017 ac_cv_use_choice='wxUSE_CHOICE=yes'
6018 else
6019 ac_cv_use_choice='wxUSE_CHOICE=no'
6020 fi
6021
6022 else
6023
6024 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6025 if test "x$LINE" != x ; then
6026 eval "DEFAULT_$LINE"
6027 else
6028 no_cache=1
6029 fi
6030
6031 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6032
6033 fi
6034
6035
6036 eval "$ac_cv_use_choice"
6037 if test "$no_cache" != 1; then
6038 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6039 fi
6040
6041 if test "$wxUSE_CHOICE" = yes; then
6042 echo "$ac_t""yes" 1>&6
6043 else
6044 echo "$ac_t""no" 1>&6
6045 fi
6046
6047
6048 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
6049 echo "configure:6050: checking for --enable-combobox" >&5
6050 no_cache=0
6051 # Check whether --enable-combobox or --disable-combobox was given.
6052 if test "${enable_combobox+set}" = set; then
6053 enableval="$enable_combobox"
6054
6055 if test "$enableval" = yes; then
6056 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6057 else
6058 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6059 fi
6060
6061 else
6062
6063 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6064 if test "x$LINE" != x ; then
6065 eval "DEFAULT_$LINE"
6066 else
6067 no_cache=1
6068 fi
6069
6070 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6071
6072 fi
6073
6074
6075 eval "$ac_cv_use_combobox"
6076 if test "$no_cache" != 1; then
6077 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6078 fi
6079
6080 if test "$wxUSE_COMBOBOX" = yes; then
6081 echo "$ac_t""yes" 1>&6
6082 else
6083 echo "$ac_t""no" 1>&6
6084 fi
6085
6086
6087 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6088 echo "configure:6089: checking for --enable-gauge" >&5
6089 no_cache=0
6090 # Check whether --enable-gauge or --disable-gauge was given.
6091 if test "${enable_gauge+set}" = set; then
6092 enableval="$enable_gauge"
6093
6094 if test "$enableval" = yes; then
6095 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6096 else
6097 ac_cv_use_gauge='wxUSE_GAUGE=no'
6098 fi
6099
6100 else
6101
6102 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6103 if test "x$LINE" != x ; then
6104 eval "DEFAULT_$LINE"
6105 else
6106 no_cache=1
6107 fi
6108
6109 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6110
6111 fi
6112
6113
6114 eval "$ac_cv_use_gauge"
6115 if test "$no_cache" != 1; then
6116 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6117 fi
6118
6119 if test "$wxUSE_GAUGE" = yes; then
6120 echo "$ac_t""yes" 1>&6
6121 else
6122 echo "$ac_t""no" 1>&6
6123 fi
6124
6125
6126 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6127 echo "configure:6128: checking for --enable-grid" >&5
6128 no_cache=0
6129 # Check whether --enable-grid or --disable-grid was given.
6130 if test "${enable_grid+set}" = set; then
6131 enableval="$enable_grid"
6132
6133 if test "$enableval" = yes; then
6134 ac_cv_use_grid='wxUSE_GRID=yes'
6135 else
6136 ac_cv_use_grid='wxUSE_GRID=no'
6137 fi
6138
6139 else
6140
6141 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6142 if test "x$LINE" != x ; then
6143 eval "DEFAULT_$LINE"
6144 else
6145 no_cache=1
6146 fi
6147
6148 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6149
6150 fi
6151
6152
6153 eval "$ac_cv_use_grid"
6154 if test "$no_cache" != 1; then
6155 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6156 fi
6157
6158 if test "$wxUSE_GRID" = yes; then
6159 echo "$ac_t""yes" 1>&6
6160 else
6161 echo "$ac_t""no" 1>&6
6162 fi
6163
6164
6165 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6166 echo "configure:6167: checking for --enable-newgrid" >&5
6167 no_cache=0
6168 # Check whether --enable-newgrid or --disable-newgrid was given.
6169 if test "${enable_newgrid+set}" = set; then
6170 enableval="$enable_newgrid"
6171
6172 if test "$enableval" = yes; then
6173 ac_cv_use_newgrid='wxUSE_NEW_GRID=yes'
6174 else
6175 ac_cv_use_newgrid='wxUSE_NEW_GRID=no'
6176 fi
6177
6178 else
6179
6180 LINE=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6181 if test "x$LINE" != x ; then
6182 eval "DEFAULT_$LINE"
6183 else
6184 no_cache=1
6185 fi
6186
6187 ac_cv_use_newgrid='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6188
6189 fi
6190
6191
6192 eval "$ac_cv_use_newgrid"
6193 if test "$no_cache" != 1; then
6194 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6195 fi
6196
6197 if test "$wxUSE_NEW_GRID" = yes; then
6198 echo "$ac_t""yes" 1>&6
6199 else
6200 echo "$ac_t""no" 1>&6
6201 fi
6202
6203
6204 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6205 echo "configure:6206: checking for --enable-imaglist" >&5
6206 no_cache=0
6207 # Check whether --enable-imaglist or --disable-imaglist was given.
6208 if test "${enable_imaglist+set}" = set; then
6209 enableval="$enable_imaglist"
6210
6211 if test "$enableval" = yes; then
6212 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
6213 else
6214 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
6215 fi
6216
6217 else
6218
6219 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6220 if test "x$LINE" != x ; then
6221 eval "DEFAULT_$LINE"
6222 else
6223 no_cache=1
6224 fi
6225
6226 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6227
6228 fi
6229
6230
6231 eval "$ac_cv_use_imaglist"
6232 if test "$no_cache" != 1; then
6233 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6234 fi
6235
6236 if test "$wxUSE_IMAGLIST" = yes; then
6237 echo "$ac_t""yes" 1>&6
6238 else
6239 echo "$ac_t""no" 1>&6
6240 fi
6241
6242
6243 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6244 echo "configure:6245: checking for --enable-listbox" >&5
6245 no_cache=0
6246 # Check whether --enable-listbox or --disable-listbox was given.
6247 if test "${enable_listbox+set}" = set; then
6248 enableval="$enable_listbox"
6249
6250 if test "$enableval" = yes; then
6251 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
6252 else
6253 ac_cv_use_listbox='wxUSE_LISTBOX=no'
6254 fi
6255
6256 else
6257
6258 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6259 if test "x$LINE" != x ; then
6260 eval "DEFAULT_$LINE"
6261 else
6262 no_cache=1
6263 fi
6264
6265 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6266
6267 fi
6268
6269
6270 eval "$ac_cv_use_listbox"
6271 if test "$no_cache" != 1; then
6272 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6273 fi
6274
6275 if test "$wxUSE_LISTBOX" = yes; then
6276 echo "$ac_t""yes" 1>&6
6277 else
6278 echo "$ac_t""no" 1>&6
6279 fi
6280
6281
6282 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6283 echo "configure:6284: checking for --enable-listctrl" >&5
6284 no_cache=0
6285 # Check whether --enable-listctrl or --disable-listctrl was given.
6286 if test "${enable_listctrl+set}" = set; then
6287 enableval="$enable_listctrl"
6288
6289 if test "$enableval" = yes; then
6290 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
6291 else
6292 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
6293 fi
6294
6295 else
6296
6297 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6298 if test "x$LINE" != x ; then
6299 eval "DEFAULT_$LINE"
6300 else
6301 no_cache=1
6302 fi
6303
6304 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6305
6306 fi
6307
6308
6309 eval "$ac_cv_use_listctrl"
6310 if test "$no_cache" != 1; then
6311 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6312 fi
6313
6314 if test "$wxUSE_LISTCTRL" = yes; then
6315 echo "$ac_t""yes" 1>&6
6316 else
6317 echo "$ac_t""no" 1>&6
6318 fi
6319
6320
6321 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6322 echo "configure:6323: checking for --enable-notebook" >&5
6323 no_cache=0
6324 # Check whether --enable-notebook or --disable-notebook was given.
6325 if test "${enable_notebook+set}" = set; then
6326 enableval="$enable_notebook"
6327
6328 if test "$enableval" = yes; then
6329 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
6330 else
6331 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
6332 fi
6333
6334 else
6335
6336 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6337 if test "x$LINE" != x ; then
6338 eval "DEFAULT_$LINE"
6339 else
6340 no_cache=1
6341 fi
6342
6343 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6344
6345 fi
6346
6347
6348 eval "$ac_cv_use_notebook"
6349 if test "$no_cache" != 1; then
6350 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6351 fi
6352
6353 if test "$wxUSE_NOTEBOOK" = yes; then
6354 echo "$ac_t""yes" 1>&6
6355 else
6356 echo "$ac_t""no" 1>&6
6357 fi
6358
6359
6360 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6361 echo "configure:6362: checking for --enable-propsheet" >&5
6362 no_cache=0
6363 # Check whether --enable-propsheet or --disable-propsheet was given.
6364 if test "${enable_propsheet+set}" = set; then
6365 enableval="$enable_propsheet"
6366
6367 if test "$enableval" = yes; then
6368 ac_cv_use_propsheet='wxUSE_PROPSHEET=yes'
6369 else
6370 ac_cv_use_propsheet='wxUSE_PROPSHEET=no'
6371 fi
6372
6373 else
6374
6375 LINE=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6376 if test "x$LINE" != x ; then
6377 eval "DEFAULT_$LINE"
6378 else
6379 no_cache=1
6380 fi
6381
6382 ac_cv_use_propsheet='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6383
6384 fi
6385
6386
6387 eval "$ac_cv_use_propsheet"
6388 if test "$no_cache" != 1; then
6389 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6390 fi
6391
6392 if test "$wxUSE_PROPSHEET" = yes; then
6393 echo "$ac_t""yes" 1>&6
6394 else
6395 echo "$ac_t""no" 1>&6
6396 fi
6397
6398
6399 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6400 echo "configure:6401: checking for --enable-radiobox" >&5
6401 no_cache=0
6402 # Check whether --enable-radiobox or --disable-radiobox was given.
6403 if test "${enable_radiobox+set}" = set; then
6404 enableval="$enable_radiobox"
6405
6406 if test "$enableval" = yes; then
6407 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
6408 else
6409 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
6410 fi
6411
6412 else
6413
6414 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6415 if test "x$LINE" != x ; then
6416 eval "DEFAULT_$LINE"
6417 else
6418 no_cache=1
6419 fi
6420
6421 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6422
6423 fi
6424
6425
6426 eval "$ac_cv_use_radiobox"
6427 if test "$no_cache" != 1; then
6428 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6429 fi
6430
6431 if test "$wxUSE_RADIOBOX" = yes; then
6432 echo "$ac_t""yes" 1>&6
6433 else
6434 echo "$ac_t""no" 1>&6
6435 fi
6436
6437
6438 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6439 echo "configure:6440: checking for --enable-radiobtn" >&5
6440 no_cache=0
6441 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6442 if test "${enable_radiobtn+set}" = set; then
6443 enableval="$enable_radiobtn"
6444
6445 if test "$enableval" = yes; then
6446 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
6447 else
6448 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
6449 fi
6450
6451 else
6452
6453 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6454 if test "x$LINE" != x ; then
6455 eval "DEFAULT_$LINE"
6456 else
6457 no_cache=1
6458 fi
6459
6460 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6461
6462 fi
6463
6464
6465 eval "$ac_cv_use_radiobtn"
6466 if test "$no_cache" != 1; then
6467 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6468 fi
6469
6470 if test "$wxUSE_RADIOBTN" = yes; then
6471 echo "$ac_t""yes" 1>&6
6472 else
6473 echo "$ac_t""no" 1>&6
6474 fi
6475
6476
6477 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6478 echo "configure:6479: checking for --enable-sash" >&5
6479 no_cache=0
6480 # Check whether --enable-sash or --disable-sash was given.
6481 if test "${enable_sash+set}" = set; then
6482 enableval="$enable_sash"
6483
6484 if test "$enableval" = yes; then
6485 ac_cv_use_sash='wxUSE_SASH=yes'
6486 else
6487 ac_cv_use_sash='wxUSE_SASH=no'
6488 fi
6489
6490 else
6491
6492 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6493 if test "x$LINE" != x ; then
6494 eval "DEFAULT_$LINE"
6495 else
6496 no_cache=1
6497 fi
6498
6499 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6500
6501 fi
6502
6503
6504 eval "$ac_cv_use_sash"
6505 if test "$no_cache" != 1; then
6506 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6507 fi
6508
6509 if test "$wxUSE_SASH" = yes; then
6510 echo "$ac_t""yes" 1>&6
6511 else
6512 echo "$ac_t""no" 1>&6
6513 fi
6514
6515
6516 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6517 echo "configure:6518: checking for --enable-scrollbar" >&5
6518 no_cache=0
6519 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6520 if test "${enable_scrollbar+set}" = set; then
6521 enableval="$enable_scrollbar"
6522
6523 if test "$enableval" = yes; then
6524 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
6525 else
6526 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
6527 fi
6528
6529 else
6530
6531 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6532 if test "x$LINE" != x ; then
6533 eval "DEFAULT_$LINE"
6534 else
6535 no_cache=1
6536 fi
6537
6538 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6539
6540 fi
6541
6542
6543 eval "$ac_cv_use_scrollbar"
6544 if test "$no_cache" != 1; then
6545 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6546 fi
6547
6548 if test "$wxUSE_SCROLLBAR" = yes; then
6549 echo "$ac_t""yes" 1>&6
6550 else
6551 echo "$ac_t""no" 1>&6
6552 fi
6553
6554
6555 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6556 echo "configure:6557: checking for --enable-slider" >&5
6557 no_cache=0
6558 # Check whether --enable-slider or --disable-slider was given.
6559 if test "${enable_slider+set}" = set; then
6560 enableval="$enable_slider"
6561
6562 if test "$enableval" = yes; then
6563 ac_cv_use_slider='wxUSE_SLIDER=yes'
6564 else
6565 ac_cv_use_slider='wxUSE_SLIDER=no'
6566 fi
6567
6568 else
6569
6570 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6571 if test "x$LINE" != x ; then
6572 eval "DEFAULT_$LINE"
6573 else
6574 no_cache=1
6575 fi
6576
6577 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6578
6579 fi
6580
6581
6582 eval "$ac_cv_use_slider"
6583 if test "$no_cache" != 1; then
6584 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6585 fi
6586
6587 if test "$wxUSE_SLIDER" = yes; then
6588 echo "$ac_t""yes" 1>&6
6589 else
6590 echo "$ac_t""no" 1>&6
6591 fi
6592
6593
6594 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6595 echo "configure:6596: checking for --enable-spinbtn" >&5
6596 no_cache=0
6597 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6598 if test "${enable_spinbtn+set}" = set; then
6599 enableval="$enable_spinbtn"
6600
6601 if test "$enableval" = yes; then
6602 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
6603 else
6604 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
6605 fi
6606
6607 else
6608
6609 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6610 if test "x$LINE" != x ; then
6611 eval "DEFAULT_$LINE"
6612 else
6613 no_cache=1
6614 fi
6615
6616 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6617
6618 fi
6619
6620
6621 eval "$ac_cv_use_spinbtn"
6622 if test "$no_cache" != 1; then
6623 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6624 fi
6625
6626 if test "$wxUSE_SPINBTN" = yes; then
6627 echo "$ac_t""yes" 1>&6
6628 else
6629 echo "$ac_t""no" 1>&6
6630 fi
6631
6632
6633 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6634 echo "configure:6635: checking for --enable-spinctrl" >&5
6635 no_cache=0
6636 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6637 if test "${enable_spinctrl+set}" = set; then
6638 enableval="$enable_spinctrl"
6639
6640 if test "$enableval" = yes; then
6641 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
6642 else
6643 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
6644 fi
6645
6646 else
6647
6648 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6649 if test "x$LINE" != x ; then
6650 eval "DEFAULT_$LINE"
6651 else
6652 no_cache=1
6653 fi
6654
6655 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6656
6657 fi
6658
6659
6660 eval "$ac_cv_use_spinctrl"
6661 if test "$no_cache" != 1; then
6662 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6663 fi
6664
6665 if test "$wxUSE_SPINCTRL" = yes; then
6666 echo "$ac_t""yes" 1>&6
6667 else
6668 echo "$ac_t""no" 1>&6
6669 fi
6670
6671
6672 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6673 echo "configure:6674: checking for --enable-splitter" >&5
6674 no_cache=0
6675 # Check whether --enable-splitter or --disable-splitter was given.
6676 if test "${enable_splitter+set}" = set; then
6677 enableval="$enable_splitter"
6678
6679 if test "$enableval" = yes; then
6680 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
6681 else
6682 ac_cv_use_splitter='wxUSE_SPLITTER=no'
6683 fi
6684
6685 else
6686
6687 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6688 if test "x$LINE" != x ; then
6689 eval "DEFAULT_$LINE"
6690 else
6691 no_cache=1
6692 fi
6693
6694 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6695
6696 fi
6697
6698
6699 eval "$ac_cv_use_splitter"
6700 if test "$no_cache" != 1; then
6701 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6702 fi
6703
6704 if test "$wxUSE_SPLITTER" = yes; then
6705 echo "$ac_t""yes" 1>&6
6706 else
6707 echo "$ac_t""no" 1>&6
6708 fi
6709
6710
6711 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6712 echo "configure:6713: checking for --enable-statbmp" >&5
6713 no_cache=0
6714 # Check whether --enable-statbmp or --disable-statbmp was given.
6715 if test "${enable_statbmp+set}" = set; then
6716 enableval="$enable_statbmp"
6717
6718 if test "$enableval" = yes; then
6719 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
6720 else
6721 ac_cv_use_statbmp='wxUSE_STATBMP=no'
6722 fi
6723
6724 else
6725
6726 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6727 if test "x$LINE" != x ; then
6728 eval "DEFAULT_$LINE"
6729 else
6730 no_cache=1
6731 fi
6732
6733 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6734
6735 fi
6736
6737
6738 eval "$ac_cv_use_statbmp"
6739 if test "$no_cache" != 1; then
6740 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6741 fi
6742
6743 if test "$wxUSE_STATBMP" = yes; then
6744 echo "$ac_t""yes" 1>&6
6745 else
6746 echo "$ac_t""no" 1>&6
6747 fi
6748
6749
6750 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6751 echo "configure:6752: checking for --enable-statbox" >&5
6752 no_cache=0
6753 # Check whether --enable-statbox or --disable-statbox was given.
6754 if test "${enable_statbox+set}" = set; then
6755 enableval="$enable_statbox"
6756
6757 if test "$enableval" = yes; then
6758 ac_cv_use_statbox='wxUSE_STATBOX=yes'
6759 else
6760 ac_cv_use_statbox='wxUSE_STATBOX=no'
6761 fi
6762
6763 else
6764
6765 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6766 if test "x$LINE" != x ; then
6767 eval "DEFAULT_$LINE"
6768 else
6769 no_cache=1
6770 fi
6771
6772 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6773
6774 fi
6775
6776
6777 eval "$ac_cv_use_statbox"
6778 if test "$no_cache" != 1; then
6779 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6780 fi
6781
6782 if test "$wxUSE_STATBOX" = yes; then
6783 echo "$ac_t""yes" 1>&6
6784 else
6785 echo "$ac_t""no" 1>&6
6786 fi
6787
6788
6789 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6790 echo "configure:6791: checking for --enable-statline" >&5
6791 no_cache=0
6792 # Check whether --enable-statline or --disable-statline was given.
6793 if test "${enable_statline+set}" = set; then
6794 enableval="$enable_statline"
6795
6796 if test "$enableval" = yes; then
6797 ac_cv_use_statline='wxUSE_STATLINE=yes'
6798 else
6799 ac_cv_use_statline='wxUSE_STATLINE=no'
6800 fi
6801
6802 else
6803
6804 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6805 if test "x$LINE" != x ; then
6806 eval "DEFAULT_$LINE"
6807 else
6808 no_cache=1
6809 fi
6810
6811 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6812
6813 fi
6814
6815
6816 eval "$ac_cv_use_statline"
6817 if test "$no_cache" != 1; then
6818 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6819 fi
6820
6821 if test "$wxUSE_STATLINE" = yes; then
6822 echo "$ac_t""yes" 1>&6
6823 else
6824 echo "$ac_t""no" 1>&6
6825 fi
6826
6827
6828 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6829 echo "configure:6830: checking for --enable-stattext" >&5
6830 no_cache=0
6831 # Check whether --enable-stattext or --disable-stattext was given.
6832 if test "${enable_stattext+set}" = set; then
6833 enableval="$enable_stattext"
6834
6835 if test "$enableval" = yes; then
6836 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
6837 else
6838 ac_cv_use_stattext='wxUSE_STATTEXT=no'
6839 fi
6840
6841 else
6842
6843 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6844 if test "x$LINE" != x ; then
6845 eval "DEFAULT_$LINE"
6846 else
6847 no_cache=1
6848 fi
6849
6850 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6851
6852 fi
6853
6854
6855 eval "$ac_cv_use_stattext"
6856 if test "$no_cache" != 1; then
6857 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6858 fi
6859
6860 if test "$wxUSE_STATTEXT" = yes; then
6861 echo "$ac_t""yes" 1>&6
6862 else
6863 echo "$ac_t""no" 1>&6
6864 fi
6865
6866
6867 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6868 echo "configure:6869: checking for --enable-statusbar" >&5
6869 no_cache=0
6870 # Check whether --enable-statusbar or --disable-statusbar was given.
6871 if test "${enable_statusbar+set}" = set; then
6872 enableval="$enable_statusbar"
6873
6874 if test "$enableval" = yes; then
6875 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
6876 else
6877 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
6878 fi
6879
6880 else
6881
6882 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6883 if test "x$LINE" != x ; then
6884 eval "DEFAULT_$LINE"
6885 else
6886 no_cache=1
6887 fi
6888
6889 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6890
6891 fi
6892
6893
6894 eval "$ac_cv_use_statusbar"
6895 if test "$no_cache" != 1; then
6896 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6897 fi
6898
6899 if test "$wxUSE_STATUSBAR" = yes; then
6900 echo "$ac_t""yes" 1>&6
6901 else
6902 echo "$ac_t""no" 1>&6
6903 fi
6904
6905
6906 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6907 echo "configure:6908: checking for --enable-tabdialog" >&5
6908 no_cache=0
6909 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6910 if test "${enable_tabdialog+set}" = set; then
6911 enableval="$enable_tabdialog"
6912
6913 if test "$enableval" = yes; then
6914 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
6915 else
6916 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
6917 fi
6918
6919 else
6920
6921 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6922 if test "x$LINE" != x ; then
6923 eval "DEFAULT_$LINE"
6924 else
6925 no_cache=1
6926 fi
6927
6928 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6929
6930 fi
6931
6932
6933 eval "$ac_cv_use_tabdialog"
6934 if test "$no_cache" != 1; then
6935 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6936 fi
6937
6938 if test "$wxUSE_TABDIALOG" = yes; then
6939 echo "$ac_t""yes" 1>&6
6940 else
6941 echo "$ac_t""no" 1>&6
6942 fi
6943
6944
6945 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6946 echo "configure:6947: checking for --enable-textctrl" >&5
6947 no_cache=0
6948 # Check whether --enable-textctrl or --disable-textctrl was given.
6949 if test "${enable_textctrl+set}" = set; then
6950 enableval="$enable_textctrl"
6951
6952 if test "$enableval" = yes; then
6953 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
6954 else
6955 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
6956 fi
6957
6958 else
6959
6960 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6961 if test "x$LINE" != x ; then
6962 eval "DEFAULT_$LINE"
6963 else
6964 no_cache=1
6965 fi
6966
6967 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6968
6969 fi
6970
6971
6972 eval "$ac_cv_use_textctrl"
6973 if test "$no_cache" != 1; then
6974 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6975 fi
6976
6977 if test "$wxUSE_TEXTCTRL" = yes; then
6978 echo "$ac_t""yes" 1>&6
6979 else
6980 echo "$ac_t""no" 1>&6
6981 fi
6982
6983
6984 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6985 echo "configure:6986: checking for --enable-togglebtn" >&5
6986 no_cache=0
6987 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6988 if test "${enable_togglebtn+set}" = set; then
6989 enableval="$enable_togglebtn"
6990
6991 if test "$enableval" = yes; then
6992 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
6993 else
6994 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
6995 fi
6996
6997 else
6998
6999 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7000 if test "x$LINE" != x ; then
7001 eval "DEFAULT_$LINE"
7002 else
7003 no_cache=1
7004 fi
7005
7006 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7007
7008 fi
7009
7010
7011 eval "$ac_cv_use_togglebtn"
7012 if test "$no_cache" != 1; then
7013 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7014 fi
7015
7016 if test "$wxUSE_TOGGLEBTN" = yes; then
7017 echo "$ac_t""yes" 1>&6
7018 else
7019 echo "$ac_t""no" 1>&6
7020 fi
7021
7022
7023 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
7024 echo "configure:7025: checking for --enable-toolbar" >&5
7025 no_cache=0
7026 # Check whether --enable-toolbar or --disable-toolbar was given.
7027 if test "${enable_toolbar+set}" = set; then
7028 enableval="$enable_toolbar"
7029
7030 if test "$enableval" = yes; then
7031 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7032 else
7033 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7034 fi
7035
7036 else
7037
7038 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7039 if test "x$LINE" != x ; then
7040 eval "DEFAULT_$LINE"
7041 else
7042 no_cache=1
7043 fi
7044
7045 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7046
7047 fi
7048
7049
7050 eval "$ac_cv_use_toolbar"
7051 if test "$no_cache" != 1; then
7052 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7053 fi
7054
7055 if test "$wxUSE_TOOLBAR" = yes; then
7056 echo "$ac_t""yes" 1>&6
7057 else
7058 echo "$ac_t""no" 1>&6
7059 fi
7060
7061
7062 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
7063 echo "configure:7064: checking for --enable-tbarnative" >&5
7064 no_cache=0
7065 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7066 if test "${enable_tbarnative+set}" = set; then
7067 enableval="$enable_tbarnative"
7068
7069 if test "$enableval" = yes; then
7070 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7071 else
7072 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7073 fi
7074
7075 else
7076
7077 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7078 if test "x$LINE" != x ; then
7079 eval "DEFAULT_$LINE"
7080 else
7081 no_cache=1
7082 fi
7083
7084 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7085
7086 fi
7087
7088
7089 eval "$ac_cv_use_tbarnative"
7090 if test "$no_cache" != 1; then
7091 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7092 fi
7093
7094 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7095 echo "$ac_t""yes" 1>&6
7096 else
7097 echo "$ac_t""no" 1>&6
7098 fi
7099
7100
7101 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7102 echo "configure:7103: checking for --enable-tbarsmpl" >&5
7103 no_cache=0
7104 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7105 if test "${enable_tbarsmpl+set}" = set; then
7106 enableval="$enable_tbarsmpl"
7107
7108 if test "$enableval" = yes; then
7109 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7110 else
7111 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7112 fi
7113
7114 else
7115
7116 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7117 if test "x$LINE" != x ; then
7118 eval "DEFAULT_$LINE"
7119 else
7120 no_cache=1
7121 fi
7122
7123 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7124
7125 fi
7126
7127
7128 eval "$ac_cv_use_tbarsmpl"
7129 if test "$no_cache" != 1; then
7130 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7131 fi
7132
7133 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7134 echo "$ac_t""yes" 1>&6
7135 else
7136 echo "$ac_t""no" 1>&6
7137 fi
7138
7139
7140 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7141 echo "configure:7142: checking for --enable-treectrl" >&5
7142 no_cache=0
7143 # Check whether --enable-treectrl or --disable-treectrl was given.
7144 if test "${enable_treectrl+set}" = set; then
7145 enableval="$enable_treectrl"
7146
7147 if test "$enableval" = yes; then
7148 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
7149 else
7150 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
7151 fi
7152
7153 else
7154
7155 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7156 if test "x$LINE" != x ; then
7157 eval "DEFAULT_$LINE"
7158 else
7159 no_cache=1
7160 fi
7161
7162 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7163
7164 fi
7165
7166
7167 eval "$ac_cv_use_treectrl"
7168 if test "$no_cache" != 1; then
7169 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7170 fi
7171
7172 if test "$wxUSE_TREECTRL" = yes; then
7173 echo "$ac_t""yes" 1>&6
7174 else
7175 echo "$ac_t""no" 1>&6
7176 fi
7177
7178
7179 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7180 echo "configure:7181: checking for --enable-tipwindow" >&5
7181 no_cache=0
7182 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7183 if test "${enable_tipwindow+set}" = set; then
7184 enableval="$enable_tipwindow"
7185
7186 if test "$enableval" = yes; then
7187 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
7188 else
7189 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
7190 fi
7191
7192 else
7193
7194 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7195 if test "x$LINE" != x ; then
7196 eval "DEFAULT_$LINE"
7197 else
7198 no_cache=1
7199 fi
7200
7201 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7202
7203 fi
7204
7205
7206 eval "$ac_cv_use_tipwindow"
7207 if test "$no_cache" != 1; then
7208 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7209 fi
7210
7211 if test "$wxUSE_TIPWINDOW" = yes; then
7212 echo "$ac_t""yes" 1>&6
7213 else
7214 echo "$ac_t""no" 1>&6
7215 fi
7216
7217
7218 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7219 echo "configure:7220: checking for --enable-popupwin" >&5
7220 no_cache=0
7221 # Check whether --enable-popupwin or --disable-popupwin was given.
7222 if test "${enable_popupwin+set}" = set; then
7223 enableval="$enable_popupwin"
7224
7225 if test "$enableval" = yes; then
7226 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
7227 else
7228 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
7229 fi
7230
7231 else
7232
7233 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7234 if test "x$LINE" != x ; then
7235 eval "DEFAULT_$LINE"
7236 else
7237 no_cache=1
7238 fi
7239
7240 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7241
7242 fi
7243
7244
7245 eval "$ac_cv_use_popupwin"
7246 if test "$no_cache" != 1; then
7247 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7248 fi
7249
7250 if test "$wxUSE_POPUPWIN" = yes; then
7251 echo "$ac_t""yes" 1>&6
7252 else
7253 echo "$ac_t""no" 1>&6
7254 fi
7255
7256
7257
7258
7259 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7260 echo "configure:7261: checking for --enable-commondlg" >&5
7261 no_cache=0
7262 # Check whether --enable-commondlg or --disable-commondlg was given.
7263 if test "${enable_commondlg+set}" = set; then
7264 enableval="$enable_commondlg"
7265
7266 if test "$enableval" = yes; then
7267 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
7268 else
7269 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
7270 fi
7271
7272 else
7273
7274 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7275 if test "x$LINE" != x ; then
7276 eval "DEFAULT_$LINE"
7277 else
7278 no_cache=1
7279 fi
7280
7281 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7282
7283 fi
7284
7285
7286 eval "$ac_cv_use_commondlg"
7287 if test "$no_cache" != 1; then
7288 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7289 fi
7290
7291 if test "$wxUSE_COMMONDLGS" = yes; then
7292 echo "$ac_t""yes" 1>&6
7293 else
7294 echo "$ac_t""no" 1>&6
7295 fi
7296
7297
7298 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7299 echo "configure:7300: checking for --enable-choicedlg" >&5
7300 no_cache=0
7301 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7302 if test "${enable_choicedlg+set}" = set; then
7303 enableval="$enable_choicedlg"
7304
7305 if test "$enableval" = yes; then
7306 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
7307 else
7308 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
7309 fi
7310
7311 else
7312
7313 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7314 if test "x$LINE" != x ; then
7315 eval "DEFAULT_$LINE"
7316 else
7317 no_cache=1
7318 fi
7319
7320 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7321
7322 fi
7323
7324
7325 eval "$ac_cv_use_choicedlg"
7326 if test "$no_cache" != 1; then
7327 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7328 fi
7329
7330 if test "$wxUSE_CHOICEDLG" = yes; then
7331 echo "$ac_t""yes" 1>&6
7332 else
7333 echo "$ac_t""no" 1>&6
7334 fi
7335
7336
7337 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7338 echo "configure:7339: checking for --enable-coldlg" >&5
7339 no_cache=0
7340 # Check whether --enable-coldlg or --disable-coldlg was given.
7341 if test "${enable_coldlg+set}" = set; then
7342 enableval="$enable_coldlg"
7343
7344 if test "$enableval" = yes; then
7345 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
7346 else
7347 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
7348 fi
7349
7350 else
7351
7352 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7353 if test "x$LINE" != x ; then
7354 eval "DEFAULT_$LINE"
7355 else
7356 no_cache=1
7357 fi
7358
7359 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7360
7361 fi
7362
7363
7364 eval "$ac_cv_use_coldlg"
7365 if test "$no_cache" != 1; then
7366 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7367 fi
7368
7369 if test "$wxUSE_COLOURDLG" = yes; then
7370 echo "$ac_t""yes" 1>&6
7371 else
7372 echo "$ac_t""no" 1>&6
7373 fi
7374
7375
7376 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7377 echo "configure:7378: checking for --enable-filedlg" >&5
7378 no_cache=0
7379 # Check whether --enable-filedlg or --disable-filedlg was given.
7380 if test "${enable_filedlg+set}" = set; then
7381 enableval="$enable_filedlg"
7382
7383 if test "$enableval" = yes; then
7384 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
7385 else
7386 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
7387 fi
7388
7389 else
7390
7391 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7392 if test "x$LINE" != x ; then
7393 eval "DEFAULT_$LINE"
7394 else
7395 no_cache=1
7396 fi
7397
7398 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7399
7400 fi
7401
7402
7403 eval "$ac_cv_use_filedlg"
7404 if test "$no_cache" != 1; then
7405 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7406 fi
7407
7408 if test "$wxUSE_FILEDLG" = yes; then
7409 echo "$ac_t""yes" 1>&6
7410 else
7411 echo "$ac_t""no" 1>&6
7412 fi
7413
7414
7415 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7416 echo "configure:7417: checking for --enable-finddlg" >&5
7417 no_cache=0
7418 # Check whether --enable-finddlg or --disable-finddlg was given.
7419 if test "${enable_finddlg+set}" = set; then
7420 enableval="$enable_finddlg"
7421
7422 if test "$enableval" = yes; then
7423 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
7424 else
7425 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
7426 fi
7427
7428 else
7429
7430 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7431 if test "x$LINE" != x ; then
7432 eval "DEFAULT_$LINE"
7433 else
7434 no_cache=1
7435 fi
7436
7437 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7438
7439 fi
7440
7441
7442 eval "$ac_cv_use_finddlg"
7443 if test "$no_cache" != 1; then
7444 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7445 fi
7446
7447 if test "$wxUSE_FINDREPLDLG" = yes; then
7448 echo "$ac_t""yes" 1>&6
7449 else
7450 echo "$ac_t""no" 1>&6
7451 fi
7452
7453
7454 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7455 echo "configure:7456: checking for --enable-fontdlg" >&5
7456 no_cache=0
7457 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7458 if test "${enable_fontdlg+set}" = set; then
7459 enableval="$enable_fontdlg"
7460
7461 if test "$enableval" = yes; then
7462 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
7463 else
7464 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
7465 fi
7466
7467 else
7468
7469 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7470 if test "x$LINE" != x ; then
7471 eval "DEFAULT_$LINE"
7472 else
7473 no_cache=1
7474 fi
7475
7476 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7477
7478 fi
7479
7480
7481 eval "$ac_cv_use_fontdlg"
7482 if test "$no_cache" != 1; then
7483 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7484 fi
7485
7486 if test "$wxUSE_FONTDLG" = yes; then
7487 echo "$ac_t""yes" 1>&6
7488 else
7489 echo "$ac_t""no" 1>&6
7490 fi
7491
7492
7493 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7494 echo "configure:7495: checking for --enable-dirdlg" >&5
7495 no_cache=0
7496 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7497 if test "${enable_dirdlg+set}" = set; then
7498 enableval="$enable_dirdlg"
7499
7500 if test "$enableval" = yes; then
7501 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
7502 else
7503 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
7504 fi
7505
7506 else
7507
7508 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7509 if test "x$LINE" != x ; then
7510 eval "DEFAULT_$LINE"
7511 else
7512 no_cache=1
7513 fi
7514
7515 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7516
7517 fi
7518
7519
7520 eval "$ac_cv_use_dirdlg"
7521 if test "$no_cache" != 1; then
7522 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7523 fi
7524
7525 if test "$wxUSE_DIRDLG" = yes; then
7526 echo "$ac_t""yes" 1>&6
7527 else
7528 echo "$ac_t""no" 1>&6
7529 fi
7530
7531
7532 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7533 echo "configure:7534: checking for --enable-msgdlg" >&5
7534 no_cache=0
7535 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7536 if test "${enable_msgdlg+set}" = set; then
7537 enableval="$enable_msgdlg"
7538
7539 if test "$enableval" = yes; then
7540 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
7541 else
7542 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
7543 fi
7544
7545 else
7546
7547 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7548 if test "x$LINE" != x ; then
7549 eval "DEFAULT_$LINE"
7550 else
7551 no_cache=1
7552 fi
7553
7554 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7555
7556 fi
7557
7558
7559 eval "$ac_cv_use_msgdlg"
7560 if test "$no_cache" != 1; then
7561 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7562 fi
7563
7564 if test "$wxUSE_MSGDLG" = yes; then
7565 echo "$ac_t""yes" 1>&6
7566 else
7567 echo "$ac_t""no" 1>&6
7568 fi
7569
7570
7571 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7572 echo "configure:7573: checking for --enable-numberdlg" >&5
7573 no_cache=0
7574 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7575 if test "${enable_numberdlg+set}" = set; then
7576 enableval="$enable_numberdlg"
7577
7578 if test "$enableval" = yes; then
7579 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
7580 else
7581 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
7582 fi
7583
7584 else
7585
7586 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7587 if test "x$LINE" != x ; then
7588 eval "DEFAULT_$LINE"
7589 else
7590 no_cache=1
7591 fi
7592
7593 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7594
7595 fi
7596
7597
7598 eval "$ac_cv_use_numberdlg"
7599 if test "$no_cache" != 1; then
7600 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7601 fi
7602
7603 if test "$wxUSE_NUMBERDLG" = yes; then
7604 echo "$ac_t""yes" 1>&6
7605 else
7606 echo "$ac_t""no" 1>&6
7607 fi
7608
7609
7610 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7611 echo "configure:7612: checking for --enable-splash" >&5
7612 no_cache=0
7613 # Check whether --enable-splash or --disable-splash was given.
7614 if test "${enable_splash+set}" = set; then
7615 enableval="$enable_splash"
7616
7617 if test "$enableval" = yes; then
7618 ac_cv_use_splash='wxUSE_SPLASH=yes'
7619 else
7620 ac_cv_use_splash='wxUSE_SPLASH=no'
7621 fi
7622
7623 else
7624
7625 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7626 if test "x$LINE" != x ; then
7627 eval "DEFAULT_$LINE"
7628 else
7629 no_cache=1
7630 fi
7631
7632 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7633
7634 fi
7635
7636
7637 eval "$ac_cv_use_splash"
7638 if test "$no_cache" != 1; then
7639 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7640 fi
7641
7642 if test "$wxUSE_SPLASH" = yes; then
7643 echo "$ac_t""yes" 1>&6
7644 else
7645 echo "$ac_t""no" 1>&6
7646 fi
7647
7648
7649 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7650 echo "configure:7651: checking for --enable-textdlg" >&5
7651 no_cache=0
7652 # Check whether --enable-textdlg or --disable-textdlg was given.
7653 if test "${enable_textdlg+set}" = set; then
7654 enableval="$enable_textdlg"
7655
7656 if test "$enableval" = yes; then
7657 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
7658 else
7659 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
7660 fi
7661
7662 else
7663
7664 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7665 if test "x$LINE" != x ; then
7666 eval "DEFAULT_$LINE"
7667 else
7668 no_cache=1
7669 fi
7670
7671 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7672
7673 fi
7674
7675
7676 eval "$ac_cv_use_textdlg"
7677 if test "$no_cache" != 1; then
7678 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7679 fi
7680
7681 if test "$wxUSE_TEXTDLG" = yes; then
7682 echo "$ac_t""yes" 1>&6
7683 else
7684 echo "$ac_t""no" 1>&6
7685 fi
7686
7687
7688 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7689 echo "configure:7690: checking for --enable-tipdlg" >&5
7690 no_cache=0
7691 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7692 if test "${enable_tipdlg+set}" = set; then
7693 enableval="$enable_tipdlg"
7694
7695 if test "$enableval" = yes; then
7696 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
7697 else
7698 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
7699 fi
7700
7701 else
7702
7703 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7704 if test "x$LINE" != x ; then
7705 eval "DEFAULT_$LINE"
7706 else
7707 no_cache=1
7708 fi
7709
7710 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7711
7712 fi
7713
7714
7715 eval "$ac_cv_use_tipdlg"
7716 if test "$no_cache" != 1; then
7717 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7718 fi
7719
7720 if test "$wxUSE_STARTUP_TIPS" = yes; then
7721 echo "$ac_t""yes" 1>&6
7722 else
7723 echo "$ac_t""no" 1>&6
7724 fi
7725
7726
7727 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7728 echo "configure:7729: checking for --enable-progressdlg" >&5
7729 no_cache=0
7730 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7731 if test "${enable_progressdlg+set}" = set; then
7732 enableval="$enable_progressdlg"
7733
7734 if test "$enableval" = yes; then
7735 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
7736 else
7737 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
7738 fi
7739
7740 else
7741
7742 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7743 if test "x$LINE" != x ; then
7744 eval "DEFAULT_$LINE"
7745 else
7746 no_cache=1
7747 fi
7748
7749 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7750
7751 fi
7752
7753
7754 eval "$ac_cv_use_progressdlg"
7755 if test "$no_cache" != 1; then
7756 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7757 fi
7758
7759 if test "$wxUSE_PROGRESSDLG" = yes; then
7760 echo "$ac_t""yes" 1>&6
7761 else
7762 echo "$ac_t""no" 1>&6
7763 fi
7764
7765
7766 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7767 echo "configure:7768: checking for --enable-wizarddlg" >&5
7768 no_cache=0
7769 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7770 if test "${enable_wizarddlg+set}" = set; then
7771 enableval="$enable_wizarddlg"
7772
7773 if test "$enableval" = yes; then
7774 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
7775 else
7776 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
7777 fi
7778
7779 else
7780
7781 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7782 if test "x$LINE" != x ; then
7783 eval "DEFAULT_$LINE"
7784 else
7785 no_cache=1
7786 fi
7787
7788 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7789
7790 fi
7791
7792
7793 eval "$ac_cv_use_wizarddlg"
7794 if test "$no_cache" != 1; then
7795 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7796 fi
7797
7798 if test "$wxUSE_WIZARDDLG" = yes; then
7799 echo "$ac_t""yes" 1>&6
7800 else
7801 echo "$ac_t""no" 1>&6
7802 fi
7803
7804
7805
7806
7807 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7808 echo "configure:7809: checking for --enable-menus" >&5
7809 no_cache=0
7810 # Check whether --enable-menus or --disable-menus was given.
7811 if test "${enable_menus+set}" = set; then
7812 enableval="$enable_menus"
7813
7814 if test "$enableval" = yes; then
7815 ac_cv_use_menus='wxUSE_MENUS=yes'
7816 else
7817 ac_cv_use_menus='wxUSE_MENUS=no'
7818 fi
7819
7820 else
7821
7822 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7823 if test "x$LINE" != x ; then
7824 eval "DEFAULT_$LINE"
7825 else
7826 no_cache=1
7827 fi
7828
7829 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7830
7831 fi
7832
7833
7834 eval "$ac_cv_use_menus"
7835 if test "$no_cache" != 1; then
7836 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7837 fi
7838
7839 if test "$wxUSE_MENUS" = yes; then
7840 echo "$ac_t""yes" 1>&6
7841 else
7842 echo "$ac_t""no" 1>&6
7843 fi
7844
7845
7846 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7847 echo "configure:7848: checking for --enable-miniframe" >&5
7848 no_cache=0
7849 # Check whether --enable-miniframe or --disable-miniframe was given.
7850 if test "${enable_miniframe+set}" = set; then
7851 enableval="$enable_miniframe"
7852
7853 if test "$enableval" = yes; then
7854 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
7855 else
7856 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
7857 fi
7858
7859 else
7860
7861 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7862 if test "x$LINE" != x ; then
7863 eval "DEFAULT_$LINE"
7864 else
7865 no_cache=1
7866 fi
7867
7868 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7869
7870 fi
7871
7872
7873 eval "$ac_cv_use_miniframe"
7874 if test "$no_cache" != 1; then
7875 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7876 fi
7877
7878 if test "$wxUSE_MINIFRAME" = yes; then
7879 echo "$ac_t""yes" 1>&6
7880 else
7881 echo "$ac_t""no" 1>&6
7882 fi
7883
7884
7885 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7886 echo "configure:7887: checking for --enable-tooltips" >&5
7887 no_cache=0
7888 # Check whether --enable-tooltips or --disable-tooltips was given.
7889 if test "${enable_tooltips+set}" = set; then
7890 enableval="$enable_tooltips"
7891
7892 if test "$enableval" = yes; then
7893 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
7894 else
7895 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
7896 fi
7897
7898 else
7899
7900 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7901 if test "x$LINE" != x ; then
7902 eval "DEFAULT_$LINE"
7903 else
7904 no_cache=1
7905 fi
7906
7907 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7908
7909 fi
7910
7911
7912 eval "$ac_cv_use_tooltips"
7913 if test "$no_cache" != 1; then
7914 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7915 fi
7916
7917 if test "$wxUSE_TOOLTIPS" = yes; then
7918 echo "$ac_t""yes" 1>&6
7919 else
7920 echo "$ac_t""no" 1>&6
7921 fi
7922
7923
7924 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7925 echo "configure:7926: checking for --enable-splines" >&5
7926 no_cache=0
7927 # Check whether --enable-splines or --disable-splines was given.
7928 if test "${enable_splines+set}" = set; then
7929 enableval="$enable_splines"
7930
7931 if test "$enableval" = yes; then
7932 ac_cv_use_splines='wxUSE_SPLINES=yes'
7933 else
7934 ac_cv_use_splines='wxUSE_SPLINES=no'
7935 fi
7936
7937 else
7938
7939 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7940 if test "x$LINE" != x ; then
7941 eval "DEFAULT_$LINE"
7942 else
7943 no_cache=1
7944 fi
7945
7946 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7947
7948 fi
7949
7950
7951 eval "$ac_cv_use_splines"
7952 if test "$no_cache" != 1; then
7953 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7954 fi
7955
7956 if test "$wxUSE_SPLINES" = yes; then
7957 echo "$ac_t""yes" 1>&6
7958 else
7959 echo "$ac_t""no" 1>&6
7960 fi
7961
7962
7963 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7964 echo "configure:7965: checking for --enable-validators" >&5
7965 no_cache=0
7966 # Check whether --enable-validators or --disable-validators was given.
7967 if test "${enable_validators+set}" = set; then
7968 enableval="$enable_validators"
7969
7970 if test "$enableval" = yes; then
7971 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
7972 else
7973 ac_cv_use_validators='wxUSE_VALIDATORS=no'
7974 fi
7975
7976 else
7977
7978 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7979 if test "x$LINE" != x ; then
7980 eval "DEFAULT_$LINE"
7981 else
7982 no_cache=1
7983 fi
7984
7985 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7986
7987 fi
7988
7989
7990 eval "$ac_cv_use_validators"
7991 if test "$no_cache" != 1; then
7992 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7993 fi
7994
7995 if test "$wxUSE_VALIDATORS" = yes; then
7996 echo "$ac_t""yes" 1>&6
7997 else
7998 echo "$ac_t""no" 1>&6
7999 fi
8000
8001
8002 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
8003 echo "configure:8004: checking for --enable-busyinfo" >&5
8004 no_cache=0
8005 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8006 if test "${enable_busyinfo+set}" = set; then
8007 enableval="$enable_busyinfo"
8008
8009 if test "$enableval" = yes; then
8010 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8011 else
8012 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8013 fi
8014
8015 else
8016
8017 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8018 if test "x$LINE" != x ; then
8019 eval "DEFAULT_$LINE"
8020 else
8021 no_cache=1
8022 fi
8023
8024 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8025
8026 fi
8027
8028
8029 eval "$ac_cv_use_busyinfo"
8030 if test "$no_cache" != 1; then
8031 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8032 fi
8033
8034 if test "$wxUSE_BUSYINFO" = yes; then
8035 echo "$ac_t""yes" 1>&6
8036 else
8037 echo "$ac_t""no" 1>&6
8038 fi
8039
8040
8041 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
8042 echo "configure:8043: checking for --enable-joystick" >&5
8043 no_cache=0
8044 # Check whether --enable-joystick or --disable-joystick was given.
8045 if test "${enable_joystick+set}" = set; then
8046 enableval="$enable_joystick"
8047
8048 if test "$enableval" = yes; then
8049 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8050 else
8051 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8052 fi
8053
8054 else
8055
8056 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8057 if test "x$LINE" != x ; then
8058 eval "DEFAULT_$LINE"
8059 else
8060 no_cache=1
8061 fi
8062
8063 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8064
8065 fi
8066
8067
8068 eval "$ac_cv_use_joystick"
8069 if test "$no_cache" != 1; then
8070 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8071 fi
8072
8073 if test "$wxUSE_JOYSTICK" = yes; then
8074 echo "$ac_t""yes" 1>&6
8075 else
8076 echo "$ac_t""no" 1>&6
8077 fi
8078
8079
8080 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8081 echo "configure:8082: checking for --enable-metafile" >&5
8082 no_cache=0
8083 # Check whether --enable-metafile or --disable-metafile was given.
8084 if test "${enable_metafile+set}" = set; then
8085 enableval="$enable_metafile"
8086
8087 if test "$enableval" = yes; then
8088 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8089 else
8090 ac_cv_use_metafile='wxUSE_METAFILE=no'
8091 fi
8092
8093 else
8094
8095 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8096 if test "x$LINE" != x ; then
8097 eval "DEFAULT_$LINE"
8098 else
8099 no_cache=1
8100 fi
8101
8102 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8103
8104 fi
8105
8106
8107 eval "$ac_cv_use_metafile"
8108 if test "$no_cache" != 1; then
8109 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8110 fi
8111
8112 if test "$wxUSE_METAFILE" = yes; then
8113 echo "$ac_t""yes" 1>&6
8114 else
8115 echo "$ac_t""no" 1>&6
8116 fi
8117
8118
8119 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8120 echo "configure:8121: checking for --enable-dragimage" >&5
8121 no_cache=0
8122 # Check whether --enable-dragimage or --disable-dragimage was given.
8123 if test "${enable_dragimage+set}" = set; then
8124 enableval="$enable_dragimage"
8125
8126 if test "$enableval" = yes; then
8127 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
8128 else
8129 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
8130 fi
8131
8132 else
8133
8134 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8135 if test "x$LINE" != x ; then
8136 eval "DEFAULT_$LINE"
8137 else
8138 no_cache=1
8139 fi
8140
8141 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8142
8143 fi
8144
8145
8146 eval "$ac_cv_use_dragimage"
8147 if test "$no_cache" != 1; then
8148 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8149 fi
8150
8151 if test "$wxUSE_DRAGIMAGE" = yes; then
8152 echo "$ac_t""yes" 1>&6
8153 else
8154 echo "$ac_t""no" 1>&6
8155 fi
8156
8157
8158
8159
8160 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8161 echo "configure:8162: checking for --enable-palette" >&5
8162 no_cache=0
8163 # Check whether --enable-palette or --disable-palette was given.
8164 if test "${enable_palette+set}" = set; then
8165 enableval="$enable_palette"
8166
8167 if test "$enableval" = yes; then
8168 ac_cv_use_palette='wxUSE_PALETTE=yes'
8169 else
8170 ac_cv_use_palette='wxUSE_PALETTE=no'
8171 fi
8172
8173 else
8174
8175 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8176 if test "x$LINE" != x ; then
8177 eval "DEFAULT_$LINE"
8178 else
8179 no_cache=1
8180 fi
8181
8182 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8183
8184 fi
8185
8186
8187 eval "$ac_cv_use_palette"
8188 if test "$no_cache" != 1; then
8189 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8190 fi
8191
8192 if test "$wxUSE_PALETTE" = yes; then
8193 echo "$ac_t""yes" 1>&6
8194 else
8195 echo "$ac_t""no" 1>&6
8196 fi
8197
8198
8199 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8200 echo "configure:8201: checking for --enable-image" >&5
8201 no_cache=0
8202 # Check whether --enable-image or --disable-image was given.
8203 if test "${enable_image+set}" = set; then
8204 enableval="$enable_image"
8205
8206 if test "$enableval" = yes; then
8207 ac_cv_use_image='wxUSE_IMAGE=yes'
8208 else
8209 ac_cv_use_image='wxUSE_IMAGE=no'
8210 fi
8211
8212 else
8213
8214 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8215 if test "x$LINE" != x ; then
8216 eval "DEFAULT_$LINE"
8217 else
8218 no_cache=1
8219 fi
8220
8221 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8222
8223 fi
8224
8225
8226 eval "$ac_cv_use_image"
8227 if test "$no_cache" != 1; then
8228 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8229 fi
8230
8231 if test "$wxUSE_IMAGE" = yes; then
8232 echo "$ac_t""yes" 1>&6
8233 else
8234 echo "$ac_t""no" 1>&6
8235 fi
8236
8237
8238 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8239 echo "configure:8240: checking for --enable-gif" >&5
8240 no_cache=0
8241 # Check whether --enable-gif or --disable-gif was given.
8242 if test "${enable_gif+set}" = set; then
8243 enableval="$enable_gif"
8244
8245 if test "$enableval" = yes; then
8246 ac_cv_use_gif='wxUSE_GIF=yes'
8247 else
8248 ac_cv_use_gif='wxUSE_GIF=no'
8249 fi
8250
8251 else
8252
8253 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8254 if test "x$LINE" != x ; then
8255 eval "DEFAULT_$LINE"
8256 else
8257 no_cache=1
8258 fi
8259
8260 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8261
8262 fi
8263
8264
8265 eval "$ac_cv_use_gif"
8266 if test "$no_cache" != 1; then
8267 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8268 fi
8269
8270 if test "$wxUSE_GIF" = yes; then
8271 echo "$ac_t""yes" 1>&6
8272 else
8273 echo "$ac_t""no" 1>&6
8274 fi
8275
8276
8277 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8278 echo "configure:8279: checking for --enable-pcx" >&5
8279 no_cache=0
8280 # Check whether --enable-pcx or --disable-pcx was given.
8281 if test "${enable_pcx+set}" = set; then
8282 enableval="$enable_pcx"
8283
8284 if test "$enableval" = yes; then
8285 ac_cv_use_pcx='wxUSE_PCX=yes'
8286 else
8287 ac_cv_use_pcx='wxUSE_PCX=no'
8288 fi
8289
8290 else
8291
8292 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8293 if test "x$LINE" != x ; then
8294 eval "DEFAULT_$LINE"
8295 else
8296 no_cache=1
8297 fi
8298
8299 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8300
8301 fi
8302
8303
8304 eval "$ac_cv_use_pcx"
8305 if test "$no_cache" != 1; then
8306 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8307 fi
8308
8309 if test "$wxUSE_PCX" = yes; then
8310 echo "$ac_t""yes" 1>&6
8311 else
8312 echo "$ac_t""no" 1>&6
8313 fi
8314
8315
8316 echo $ac_n "checking for --enable-iff""... $ac_c" 1>&6
8317 echo "configure:8318: checking for --enable-iff" >&5
8318 no_cache=0
8319 # Check whether --enable-iff or --disable-iff was given.
8320 if test "${enable_iff+set}" = set; then
8321 enableval="$enable_iff"
8322
8323 if test "$enableval" = yes; then
8324 ac_cv_use_iff='wxUSE_IFF=yes'
8325 else
8326 ac_cv_use_iff='wxUSE_IFF=no'
8327 fi
8328
8329 else
8330
8331 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8332 if test "x$LINE" != x ; then
8333 eval "DEFAULT_$LINE"
8334 else
8335 no_cache=1
8336 fi
8337
8338 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8339
8340 fi
8341
8342
8343 eval "$ac_cv_use_iff"
8344 if test "$no_cache" != 1; then
8345 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8346 fi
8347
8348 if test "$wxUSE_IFF" = yes; then
8349 echo "$ac_t""yes" 1>&6
8350 else
8351 echo "$ac_t""no" 1>&6
8352 fi
8353
8354
8355 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8356 echo "configure:8357: checking for --enable-pnm" >&5
8357 no_cache=0
8358 # Check whether --enable-pnm or --disable-pnm was given.
8359 if test "${enable_pnm+set}" = set; then
8360 enableval="$enable_pnm"
8361
8362 if test "$enableval" = yes; then
8363 ac_cv_use_pnm='wxUSE_PNM=yes'
8364 else
8365 ac_cv_use_pnm='wxUSE_PNM=no'
8366 fi
8367
8368 else
8369
8370 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8371 if test "x$LINE" != x ; then
8372 eval "DEFAULT_$LINE"
8373 else
8374 no_cache=1
8375 fi
8376
8377 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8378
8379 fi
8380
8381
8382 eval "$ac_cv_use_pnm"
8383 if test "$no_cache" != 1; then
8384 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8385 fi
8386
8387 if test "$wxUSE_PNM" = yes; then
8388 echo "$ac_t""yes" 1>&6
8389 else
8390 echo "$ac_t""no" 1>&6
8391 fi
8392
8393
8394 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8395 echo "configure:8396: checking for --enable-xpm" >&5
8396 no_cache=0
8397 # Check whether --enable-xpm or --disable-xpm was given.
8398 if test "${enable_xpm+set}" = set; then
8399 enableval="$enable_xpm"
8400
8401 if test "$enableval" = yes; then
8402 ac_cv_use_xpm='wxUSE_XPM=yes'
8403 else
8404 ac_cv_use_xpm='wxUSE_XPM=no'
8405 fi
8406
8407 else
8408
8409 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8410 if test "x$LINE" != x ; then
8411 eval "DEFAULT_$LINE"
8412 else
8413 no_cache=1
8414 fi
8415
8416 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8417
8418 fi
8419
8420
8421 eval "$ac_cv_use_xpm"
8422 if test "$no_cache" != 1; then
8423 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8424 fi
8425
8426 if test "$wxUSE_XPM" = yes; then
8427 echo "$ac_t""yes" 1>&6
8428 else
8429 echo "$ac_t""no" 1>&6
8430 fi
8431
8432
8433 echo $ac_n "checking for --enable-ico_cur""... $ac_c" 1>&6
8434 echo "configure:8435: checking for --enable-ico_cur" >&5
8435 no_cache=0
8436 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8437 if test "${enable_ico_cur+set}" = set; then
8438 enableval="$enable_ico_cur"
8439
8440 if test "$enableval" = yes; then
8441 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
8442 else
8443 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
8444 fi
8445
8446 else
8447
8448 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8449 if test "x$LINE" != x ; then
8450 eval "DEFAULT_$LINE"
8451 else
8452 no_cache=1
8453 fi
8454
8455 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8456
8457 fi
8458
8459
8460 eval "$ac_cv_use_ico_cur"
8461 if test "$no_cache" != 1; then
8462 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8463 fi
8464
8465 if test "$wxUSE_ICO_CUR" = yes; then
8466 echo "$ac_t""yes" 1>&6
8467 else
8468 echo "$ac_t""no" 1>&6
8469 fi
8470
8471
8472 fi
8473
8474 case "${host}" in
8475 *-pc-os2_emx | *-pc-os2-emx )
8476 LEX_STEM="lexyy"
8477 ;;
8478 *)
8479 PATH_IFS=':'
8480 LEX_STEM="lex.yy"
8481 ;;
8482 esac
8483
8484
8485
8486 echo "saving argument cache $wx_arg_cache_file"
8487 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
8488
8489
8490
8491 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8492 echo "configure:8493: checking for toolkit" >&5
8493
8494 if test "$wxUSE_GUI" = "yes"; then
8495
8496 if test "$USE_BEOS" = 1; then
8497 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8498 fi
8499
8500 if test "$TOOLKIT_GIVEN" = 1; then
8501 for toolkit in `echo $ALL_TOOLKITS`; do
8502 var=wxUSE_$toolkit
8503 eval "value=\$${var}"
8504 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
8505 done
8506 else
8507 for toolkit in `echo $ALL_TOOLKITS`; do
8508 if test "$has_toolkit_in_cache" != 1; then
8509 var=DEFAULT_DEFAULT_wxUSE_$toolkit
8510 else
8511 var=DEFAULT_wxUSE_$toolkit
8512 fi
8513 eval "wxUSE_$toolkit=\$${var}"
8514 done
8515 fi
8516
8517 NUM_TOOLKITS=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8518 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8519
8520 case "${host}" in
8521 *-pc-os2_emx | *-pc-os2-emx )
8522 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8523 esac
8524
8525 case "$NUM_TOOLKITS" in
8526 1)
8527 ;;
8528 0)
8529 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8530 ;;
8531 *)
8532 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8533 esac
8534
8535 for toolkit in `echo $ALL_TOOLKITS`; do
8536 var=wxUSE_$toolkit
8537 eval "value=\$${var}"
8538 if test "x$value" != x; then
8539 cache_var=CACHE_$toolkit
8540 eval "cache=\$${cache_var}"
8541 if test "$cache" = 1; then
8542 echo "$var=$value" >> ${wx_arg_cache_file}
8543 fi
8544 if test "$value" = 1; then
8545 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
8546 echo "$ac_t""$toolkit_echo" 1>&6
8547 fi
8548 fi
8549 done
8550 else
8551 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8552 fi
8553
8554
8555 cat > confcache <<\EOF
8556 # This file is a shell script that caches the results of configure
8557 # tests run on this system so they can be shared between configure
8558 # scripts and configure runs. It is not useful on other systems.
8559 # If it contains results you don't want to keep, you may remove or edit it.
8560 #
8561 # By default, configure uses ./config.cache as the cache file,
8562 # creating it if it does not exist already. You can give configure
8563 # the --cache-file=FILE option to use a different cache file; that is
8564 # what configure does when it calls configure scripts in
8565 # subdirectories, so they share the cache.
8566 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8567 # config.status only pays attention to the cache file if you give it the
8568 # --recheck option to rerun configure.
8569 #
8570 EOF
8571 # The following way of writing the cache mishandles newlines in values,
8572 # but we know of no workaround that is simple, portable, and efficient.
8573 # So, don't put newlines in cache variables' values.
8574 # Ultrix sh set writes to stderr and can't be redirected directly,
8575 # and sets the high bit in the cache file unless we assign to the vars.
8576 (set) 2>&1 |
8577 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8578 *ac_space=\ *)
8579 # `set' does not quote correctly, so add quotes (double-quote substitution
8580 # turns \\\\ into \\, and sed turns \\ into \).
8581 sed -n \
8582 -e "s/'/'\\\\''/g" \
8583 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8584 ;;
8585 *)
8586 # `set' quotes correctly as required by POSIX, so do not add quotes.
8587 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8588 ;;
8589 esac >> confcache
8590 if cmp -s $cache_file confcache; then
8591 :
8592 else
8593 if test -w $cache_file; then
8594 echo "updating cache $cache_file"
8595 cat confcache > $cache_file
8596 else
8597 echo "not updating unwritable cache $cache_file"
8598 fi
8599 fi
8600 rm -f confcache
8601
8602
8603 if test "$build" != "$host" ; then
8604 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8605 CC=$host_alias-gcc
8606 CXX=$host_alias-c++
8607 AR=$host_alias-ar
8608 RANLIB=$host_alias-ranlib
8609 DLLTOOL=$host_alias-dlltool
8610 RESCOMP=$host_alias-windres
8611 LD=$host_alias-ld
8612 NM=$host_alias-nm
8613 STRIP=$host_alias-strip
8614 else
8615 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8616 fi
8617 fi
8618
8619 CFLAGS=${CFLAGS:=}
8620 # Extract the first word of "gcc", so it can be a program name with args.
8621 set dummy gcc; ac_word=$2
8622 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8623 echo "configure:8624: checking for $ac_word" >&5
8624 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8625 echo $ac_n "(cached) $ac_c" 1>&6
8626 else
8627 if test -n "$CC"; then
8628 ac_cv_prog_CC="$CC" # Let the user override the test.
8629 else
8630 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8631 ac_dummy="$PATH"
8632 for ac_dir in $ac_dummy; do
8633 test -z "$ac_dir" && ac_dir=.
8634 if test -f $ac_dir/$ac_word; then
8635 ac_cv_prog_CC="gcc"
8636 break
8637 fi
8638 done
8639 IFS="$ac_save_ifs"
8640 fi
8641 fi
8642 CC="$ac_cv_prog_CC"
8643 if test -n "$CC"; then
8644 echo "$ac_t""$CC" 1>&6
8645 else
8646 echo "$ac_t""no" 1>&6
8647 fi
8648
8649 if test -z "$CC"; then
8650 # Extract the first word of "cc", so it can be a program name with args.
8651 set dummy cc; ac_word=$2
8652 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8653 echo "configure:8654: checking for $ac_word" >&5
8654 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8655 echo $ac_n "(cached) $ac_c" 1>&6
8656 else
8657 if test -n "$CC"; then
8658 ac_cv_prog_CC="$CC" # Let the user override the test.
8659 else
8660 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8661 ac_prog_rejected=no
8662 ac_dummy="$PATH"
8663 for ac_dir in $ac_dummy; do
8664 test -z "$ac_dir" && ac_dir=.
8665 if test -f $ac_dir/$ac_word; then
8666 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8667 ac_prog_rejected=yes
8668 continue
8669 fi
8670 ac_cv_prog_CC="cc"
8671 break
8672 fi
8673 done
8674 IFS="$ac_save_ifs"
8675 if test $ac_prog_rejected = yes; then
8676 # We found a bogon in the path, so make sure we never use it.
8677 set dummy $ac_cv_prog_CC
8678 shift
8679 if test $# -gt 0; then
8680 # We chose a different compiler from the bogus one.
8681 # However, it has the same basename, so the bogon will be chosen
8682 # first if we set CC to just the basename; use the full file name.
8683 shift
8684 set dummy "$ac_dir/$ac_word" "$@"
8685 shift
8686 ac_cv_prog_CC="$@"
8687 fi
8688 fi
8689 fi
8690 fi
8691 CC="$ac_cv_prog_CC"
8692 if test -n "$CC"; then
8693 echo "$ac_t""$CC" 1>&6
8694 else
8695 echo "$ac_t""no" 1>&6
8696 fi
8697
8698 if test -z "$CC"; then
8699 case "`uname -s`" in
8700 *win32* | *WIN32*)
8701 # Extract the first word of "cl", so it can be a program name with args.
8702 set dummy cl; ac_word=$2
8703 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8704 echo "configure:8705: checking for $ac_word" >&5
8705 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8706 echo $ac_n "(cached) $ac_c" 1>&6
8707 else
8708 if test -n "$CC"; then
8709 ac_cv_prog_CC="$CC" # Let the user override the test.
8710 else
8711 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8712 ac_dummy="$PATH"
8713 for ac_dir in $ac_dummy; do
8714 test -z "$ac_dir" && ac_dir=.
8715 if test -f $ac_dir/$ac_word; then
8716 ac_cv_prog_CC="cl"
8717 break
8718 fi
8719 done
8720 IFS="$ac_save_ifs"
8721 fi
8722 fi
8723 CC="$ac_cv_prog_CC"
8724 if test -n "$CC"; then
8725 echo "$ac_t""$CC" 1>&6
8726 else
8727 echo "$ac_t""no" 1>&6
8728 fi
8729 ;;
8730 esac
8731 fi
8732 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8733 fi
8734
8735 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8736 echo "configure:8737: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8737
8738 ac_ext=c
8739 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8740 ac_cpp='$CPP $CPPFLAGS'
8741 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8742 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8743 cross_compiling=$ac_cv_prog_cc_cross
8744
8745 cat > conftest.$ac_ext << EOF
8746
8747 #line 8748 "configure"
8748 #include "confdefs.h"
8749
8750 main(){return(0);}
8751 EOF
8752 if { (eval echo configure:8753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8753 ac_cv_prog_cc_works=yes
8754 # If we can't run a trivial program, we are probably using a cross compiler.
8755 if (./conftest; exit) 2>/dev/null; then
8756 ac_cv_prog_cc_cross=no
8757 else
8758 ac_cv_prog_cc_cross=yes
8759 fi
8760 else
8761 echo "configure: failed program was:" >&5
8762 cat conftest.$ac_ext >&5
8763 ac_cv_prog_cc_works=no
8764 fi
8765 rm -fr conftest*
8766 ac_ext=c
8767 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8768 ac_cpp='$CPP $CPPFLAGS'
8769 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8770 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8771 cross_compiling=$ac_cv_prog_cc_cross
8772
8773 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8774 if test $ac_cv_prog_cc_works = no; then
8775 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8776 fi
8777 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8778 echo "configure:8779: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8779 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8780 cross_compiling=$ac_cv_prog_cc_cross
8781
8782 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8783 echo "configure:8784: checking whether we are using GNU C" >&5
8784 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8785 echo $ac_n "(cached) $ac_c" 1>&6
8786 else
8787 cat > conftest.c <<EOF
8788 #ifdef __GNUC__
8789 yes;
8790 #endif
8791 EOF
8792 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:8793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
8793 ac_cv_prog_gcc=yes
8794 else
8795 ac_cv_prog_gcc=no
8796 fi
8797 fi
8798
8799 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8800
8801 if test $ac_cv_prog_gcc = yes; then
8802 GCC=yes
8803 else
8804 GCC=
8805 fi
8806
8807 ac_test_CFLAGS="${CFLAGS+set}"
8808 ac_save_CFLAGS="$CFLAGS"
8809 CFLAGS=
8810 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8811 echo "configure:8812: checking whether ${CC-cc} accepts -g" >&5
8812 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8813 echo $ac_n "(cached) $ac_c" 1>&6
8814 else
8815 echo 'void f(){}' > conftest.c
8816 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8817 ac_cv_prog_cc_g=yes
8818 else
8819 ac_cv_prog_cc_g=no
8820 fi
8821 rm -f conftest*
8822
8823 fi
8824
8825 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8826 if test "$ac_test_CFLAGS" = set; then
8827 CFLAGS="$ac_save_CFLAGS"
8828 elif test $ac_cv_prog_cc_g = yes; then
8829 if test "$GCC" = yes; then
8830 CFLAGS="-g -O2"
8831 else
8832 CFLAGS="-g"
8833 fi
8834 else
8835 if test "$GCC" = yes; then
8836 CFLAGS="-O2"
8837 else
8838 CFLAGS=
8839 fi
8840 fi
8841
8842
8843 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8844 echo "configure:8845: checking how to run the C preprocessor" >&5
8845 # On Suns, sometimes $CPP names a directory.
8846 if test -n "$CPP" && test -d "$CPP"; then
8847 CPP=
8848 fi
8849 if test -z "$CPP"; then
8850 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8851 echo $ac_n "(cached) $ac_c" 1>&6
8852 else
8853 # This must be in double quotes, not single quotes, because CPP may get
8854 # substituted into the Makefile and "${CC-cc}" will confuse make.
8855 CPP="${CC-cc} -E"
8856 # On the NeXT, cc -E runs the code through the compiler's parser,
8857 # not just through cpp.
8858 cat > conftest.$ac_ext <<EOF
8859 #line 8860 "configure"
8860 #include "confdefs.h"
8861 #include <assert.h>
8862 Syntax Error
8863 EOF
8864 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8865 { (eval echo configure:8866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8866 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8867 if test -z "$ac_err"; then
8868 :
8869 else
8870 echo "$ac_err" >&5
8871 echo "configure: failed program was:" >&5
8872 cat conftest.$ac_ext >&5
8873 rm -rf conftest*
8874 CPP="${CC-cc} -E -traditional-cpp"
8875 cat > conftest.$ac_ext <<EOF
8876 #line 8877 "configure"
8877 #include "confdefs.h"
8878 #include <assert.h>
8879 Syntax Error
8880 EOF
8881 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8882 { (eval echo configure:8883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8883 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8884 if test -z "$ac_err"; then
8885 :
8886 else
8887 echo "$ac_err" >&5
8888 echo "configure: failed program was:" >&5
8889 cat conftest.$ac_ext >&5
8890 rm -rf conftest*
8891 CPP="${CC-cc} -nologo -E"
8892 cat > conftest.$ac_ext <<EOF
8893 #line 8894 "configure"
8894 #include "confdefs.h"
8895 #include <assert.h>
8896 Syntax Error
8897 EOF
8898 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8899 { (eval echo configure:8900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8900 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8901 if test -z "$ac_err"; then
8902 :
8903 else
8904 echo "$ac_err" >&5
8905 echo "configure: failed program was:" >&5
8906 cat conftest.$ac_ext >&5
8907 rm -rf conftest*
8908 CPP=/lib/cpp
8909 fi
8910 rm -f conftest*
8911 fi
8912 rm -f conftest*
8913 fi
8914 rm -f conftest*
8915 ac_cv_prog_CPP="$CPP"
8916 fi
8917 CPP="$ac_cv_prog_CPP"
8918 else
8919 ac_cv_prog_CPP="$CPP"
8920 fi
8921 echo "$ac_t""$CPP" 1>&6
8922
8923 if test $ac_cv_prog_gcc = yes; then
8924 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8925 echo "configure:8926: checking whether ${CC-cc} needs -traditional" >&5
8926 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8927 echo $ac_n "(cached) $ac_c" 1>&6
8928 else
8929 ac_pattern="Autoconf.*'x'"
8930 cat > conftest.$ac_ext <<EOF
8931 #line 8932 "configure"
8932 #include "confdefs.h"
8933 #include <sgtty.h>
8934 Autoconf TIOCGETP
8935 EOF
8936 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8937 egrep "$ac_pattern" >/dev/null 2>&1; then
8938 rm -rf conftest*
8939 ac_cv_prog_gcc_traditional=yes
8940 else
8941 rm -rf conftest*
8942 ac_cv_prog_gcc_traditional=no
8943 fi
8944 rm -f conftest*
8945
8946
8947 if test $ac_cv_prog_gcc_traditional = no; then
8948 cat > conftest.$ac_ext <<EOF
8949 #line 8950 "configure"
8950 #include "confdefs.h"
8951 #include <termio.h>
8952 Autoconf TCGETA
8953 EOF
8954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8955 egrep "$ac_pattern" >/dev/null 2>&1; then
8956 rm -rf conftest*
8957 ac_cv_prog_gcc_traditional=yes
8958 fi
8959 rm -f conftest*
8960
8961 fi
8962 fi
8963
8964 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8965 if test $ac_cv_prog_gcc_traditional = yes; then
8966 CC="$CC -traditional"
8967 fi
8968 fi
8969
8970
8971
8972 ac_ext=C
8973 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8974 ac_cpp='$CXXCPP $CPPFLAGS'
8975 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8976 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8977 cross_compiling=$ac_cv_prog_cxx_cross
8978
8979
8980 CXXFLAGS=${CXXFLAGS:=}
8981 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
8982 do
8983 # Extract the first word of "$ac_prog", so it can be a program name with args.
8984 set dummy $ac_prog; ac_word=$2
8985 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8986 echo "configure:8987: checking for $ac_word" >&5
8987 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8988 echo $ac_n "(cached) $ac_c" 1>&6
8989 else
8990 if test -n "$CXX"; then
8991 ac_cv_prog_CXX="$CXX" # Let the user override the test.
8992 else
8993 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8994 ac_dummy="$PATH"
8995 for ac_dir in $ac_dummy; do
8996 test -z "$ac_dir" && ac_dir=.
8997 if test -f $ac_dir/$ac_word; then
8998 ac_cv_prog_CXX="$ac_prog"
8999 break
9000 fi
9001 done
9002 IFS="$ac_save_ifs"
9003 fi
9004 fi
9005 CXX="$ac_cv_prog_CXX"
9006 if test -n "$CXX"; then
9007 echo "$ac_t""$CXX" 1>&6
9008 else
9009 echo "$ac_t""no" 1>&6
9010 fi
9011
9012 test -n "$CXX" && break
9013 done
9014 test -n "$CXX" || CXX="gcc"
9015
9016
9017 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9018 echo "configure:9019: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9019
9020 ac_ext=C
9021 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9022 ac_cpp='$CXXCPP $CPPFLAGS'
9023 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9024 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9025 cross_compiling=$ac_cv_prog_cxx_cross
9026
9027 cat > conftest.$ac_ext << EOF
9028
9029 #line 9030 "configure"
9030 #include "confdefs.h"
9031
9032 int main(){return(0);}
9033 EOF
9034 if { (eval echo configure:9035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9035 ac_cv_prog_cxx_works=yes
9036 # If we can't run a trivial program, we are probably using a cross compiler.
9037 if (./conftest; exit) 2>/dev/null; then
9038 ac_cv_prog_cxx_cross=no
9039 else
9040 ac_cv_prog_cxx_cross=yes
9041 fi
9042 else
9043 echo "configure: failed program was:" >&5
9044 cat conftest.$ac_ext >&5
9045 ac_cv_prog_cxx_works=no
9046 fi
9047 rm -fr conftest*
9048 ac_ext=C
9049 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9050 ac_cpp='$CXXCPP $CPPFLAGS'
9051 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9052 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9053 cross_compiling=$ac_cv_prog_cxx_cross
9054
9055 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9056 if test $ac_cv_prog_cxx_works = no; then
9057 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9058 fi
9059 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9060 echo "configure:9061: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9061 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9062 cross_compiling=$ac_cv_prog_cxx_cross
9063
9064 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9065 echo "configure:9066: checking whether we are using GNU C++" >&5
9066 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9067 echo $ac_n "(cached) $ac_c" 1>&6
9068 else
9069 cat > conftest.C <<EOF
9070 #ifdef __GNUC__
9071 yes;
9072 #endif
9073 EOF
9074 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:9075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
9075 ac_cv_prog_gxx=yes
9076 else
9077 ac_cv_prog_gxx=no
9078 fi
9079 fi
9080
9081 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9082
9083 if test $ac_cv_prog_gxx = yes; then
9084 GXX=yes
9085 else
9086 GXX=
9087 fi
9088
9089 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9090 ac_save_CXXFLAGS="$CXXFLAGS"
9091 CXXFLAGS=
9092 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9093 echo "configure:9094: checking whether ${CXX-g++} accepts -g" >&5
9094 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9095 echo $ac_n "(cached) $ac_c" 1>&6
9096 else
9097 echo 'void f(){}' > conftest.cc
9098 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9099 ac_cv_prog_cxx_g=yes
9100 else
9101 ac_cv_prog_cxx_g=no
9102 fi
9103 rm -f conftest*
9104
9105 fi
9106
9107 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9108 if test "$ac_test_CXXFLAGS" = set; then
9109 CXXFLAGS="$ac_save_CXXFLAGS"
9110 elif test $ac_cv_prog_cxx_g = yes; then
9111 if test "$GXX" = yes; then
9112 CXXFLAGS="-g -O2"
9113 else
9114 CXXFLAGS="-g"
9115 fi
9116 else
9117 if test "$GXX" = yes; then
9118 CXXFLAGS="-O2"
9119 else
9120 CXXFLAGS=
9121 fi
9122 fi
9123
9124
9125 ac_ext=c
9126 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9127 ac_cpp='$CPP $CPPFLAGS'
9128 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9129 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9130 cross_compiling=$ac_cv_prog_cc_cross
9131
9132
9133 # Extract the first word of "ranlib", so it can be a program name with args.
9134 set dummy ranlib; ac_word=$2
9135 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9136 echo "configure:9137: checking for $ac_word" >&5
9137 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9138 echo $ac_n "(cached) $ac_c" 1>&6
9139 else
9140 if test -n "$RANLIB"; then
9141 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9142 else
9143 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9144 ac_dummy="$PATH"
9145 for ac_dir in $ac_dummy; do
9146 test -z "$ac_dir" && ac_dir=.
9147 if test -f $ac_dir/$ac_word; then
9148 ac_cv_prog_RANLIB="ranlib"
9149 break
9150 fi
9151 done
9152 IFS="$ac_save_ifs"
9153 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
9154 fi
9155 fi
9156 RANLIB="$ac_cv_prog_RANLIB"
9157 if test -n "$RANLIB"; then
9158 echo "$ac_t""$RANLIB" 1>&6
9159 else
9160 echo "$ac_t""no" 1>&6
9161 fi
9162
9163
9164 # Extract the first word of "ar", so it can be a program name with args.
9165 set dummy ar; ac_word=$2
9166 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9167 echo "configure:9168: checking for $ac_word" >&5
9168 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9169 echo $ac_n "(cached) $ac_c" 1>&6
9170 else
9171 if test -n "$AR"; then
9172 ac_cv_prog_AR="$AR" # Let the user override the test.
9173 else
9174 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9175 ac_dummy="$PATH"
9176 for ac_dir in $ac_dummy; do
9177 test -z "$ac_dir" && ac_dir=.
9178 if test -f $ac_dir/$ac_word; then
9179 ac_cv_prog_AR="ar"
9180 break
9181 fi
9182 done
9183 IFS="$ac_save_ifs"
9184 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
9185 fi
9186 fi
9187 AR="$ac_cv_prog_AR"
9188 if test -n "$AR"; then
9189 echo "$ac_t""$AR" 1>&6
9190 else
9191 echo "$ac_t""no" 1>&6
9192 fi
9193
9194
9195 # Find a good install program. We prefer a C program (faster),
9196 # so one script is as good as another. But avoid the broken or
9197 # incompatible versions:
9198 # SysV /etc/install, /usr/sbin/install
9199 # SunOS /usr/etc/install
9200 # IRIX /sbin/install
9201 # AIX /bin/install
9202 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9203 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9204 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9205 # ./install, which can be erroneously created by make from ./install.sh.
9206 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9207 echo "configure:9208: checking for a BSD compatible install" >&5
9208 if test -z "$INSTALL"; then
9209 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9210 echo $ac_n "(cached) $ac_c" 1>&6
9211 else
9212 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
9213 for ac_dir in $PATH; do
9214 # Account for people who put trailing slashes in PATH elements.
9215 case "$ac_dir/" in
9216 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
9217 *)
9218 # OSF1 and SCO ODT 3.0 have their own names for install.
9219 # Don't use installbsd from OSF since it installs stuff as root
9220 # by default.
9221 for ac_prog in ginstall scoinst install; do
9222 if test -f $ac_dir/$ac_prog; then
9223 if test $ac_prog = install &&
9224 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
9225 # AIX install. It has an incompatible calling convention.
9226 :
9227 else
9228 ac_cv_path_install="$ac_dir/$ac_prog -c"
9229 break 2
9230 fi
9231 fi
9232 done
9233 ;;
9234 esac
9235 done
9236 IFS="$ac_save_IFS"
9237
9238 fi
9239 if test "${ac_cv_path_install+set}" = set; then
9240 INSTALL="$ac_cv_path_install"
9241 else
9242 # As a last resort, use the slow shell script. We don't cache a
9243 # path for INSTALL within a source directory, because that will
9244 # break other packages using the cache if that directory is
9245 # removed, or if the path is relative.
9246 INSTALL="$ac_install_sh"
9247 fi
9248 fi
9249 echo "$ac_t""$INSTALL" 1>&6
9250
9251 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9252 # It thinks the first close brace ends the variable substitution.
9253 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
9254
9255 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
9256
9257 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
9258
9259 case "${host}" in
9260
9261 powerpc-*-darwin* )
9262 INSTALL_PROGRAM="cp -fp"
9263 INSTALL_DATA="cp -fp"
9264 ;;
9265 *)
9266 ;;
9267 esac
9268
9269 # Extract the first word of "strip", so it can be a program name with args.
9270 set dummy strip; ac_word=$2
9271 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9272 echo "configure:9273: checking for $ac_word" >&5
9273 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9274 echo $ac_n "(cached) $ac_c" 1>&6
9275 else
9276 if test -n "$STRIP"; then
9277 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9278 else
9279 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9280 ac_dummy="$PATH"
9281 for ac_dir in $ac_dummy; do
9282 test -z "$ac_dir" && ac_dir=.
9283 if test -f $ac_dir/$ac_word; then
9284 ac_cv_prog_STRIP="strip"
9285 break
9286 fi
9287 done
9288 IFS="$ac_save_ifs"
9289 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
9290 fi
9291 fi
9292 STRIP="$ac_cv_prog_STRIP"
9293 if test -n "$STRIP"; then
9294 echo "$ac_t""$STRIP" 1>&6
9295 else
9296 echo "$ac_t""no" 1>&6
9297 fi
9298
9299
9300 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9301 echo "configure:9302: checking if make is GNU make" >&5
9302 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9303 echo $ac_n "(cached) $ac_c" 1>&6
9304 else
9305
9306 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
9307 egrep -s GNU > /dev/null); then
9308 wx_cv_prog_makeisgnu="yes"
9309 else
9310 wx_cv_prog_makeisgnu="no"
9311 fi
9312
9313 fi
9314
9315 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9316
9317 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9318 IF_GNU_MAKE=""
9319 else
9320 IF_GNU_MAKE="#"
9321 fi
9322
9323
9324
9325 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9326 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9327 echo "configure:9328: checking if make supports VPATH" >&5
9328 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9329 echo $ac_n "(cached) $ac_c" 1>&6
9330 else
9331
9332 cat - << EOF > confMake
9333 check : file
9334 cp \$? \$@
9335 cp \$? final_file
9336 EOF
9337
9338 if test ! -d sub ; then
9339 mkdir sub
9340 fi
9341 echo dummy > sub/file
9342 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
9343 RESULT=$?
9344 rm -f sub/file check final_file confMake
9345 rmdir sub
9346 if test "$RESULT" = 0; then
9347 wx_cv_prog_makevpath="yes"
9348 else
9349 wx_cv_prog_makevpath="no"
9350 fi
9351
9352 fi
9353
9354 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9355
9356 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9357 { echo "configure: error:
9358 You need a make-utility that is able to use the variable
9359 VPATH correctly.
9360 If your version of make does not support VPATH correctly,
9361 please install GNU-make (possibly as gmake), and start
9362 configure with the following command:
9363 export MAKE=gmake; ./configure for sh-type shells
9364 setenv MAKE gmake; ./configure for csh-type shells
9365 Also please do remember to use gmake in this case every time
9366 you are trying to compile.
9367 " 1>&2; exit 1; }
9368 fi fi
9369 for ac_prog in 'bison -y' byacc
9370 do
9371 # Extract the first word of "$ac_prog", so it can be a program name with args.
9372 set dummy $ac_prog; ac_word=$2
9373 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9374 echo "configure:9375: checking for $ac_word" >&5
9375 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9376 echo $ac_n "(cached) $ac_c" 1>&6
9377 else
9378 if test -n "$YACC"; then
9379 ac_cv_prog_YACC="$YACC" # Let the user override the test.
9380 else
9381 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9382 ac_dummy="$PATH"
9383 for ac_dir in $ac_dummy; do
9384 test -z "$ac_dir" && ac_dir=.
9385 if test -f $ac_dir/$ac_word; then
9386 ac_cv_prog_YACC="$ac_prog"
9387 break
9388 fi
9389 done
9390 IFS="$ac_save_ifs"
9391 fi
9392 fi
9393 YACC="$ac_cv_prog_YACC"
9394 if test -n "$YACC"; then
9395 echo "$ac_t""$YACC" 1>&6
9396 else
9397 echo "$ac_t""no" 1>&6
9398 fi
9399
9400 test -n "$YACC" && break
9401 done
9402 test -n "$YACC" || YACC="yacc"
9403
9404
9405 # Extract the first word of "flex", so it can be a program name with args.
9406 set dummy flex; ac_word=$2
9407 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9408 echo "configure:9409: checking for $ac_word" >&5
9409 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9410 echo $ac_n "(cached) $ac_c" 1>&6
9411 else
9412 if test -n "$LEX"; then
9413 ac_cv_prog_LEX="$LEX" # Let the user override the test.
9414 else
9415 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9416 ac_dummy="$PATH"
9417 for ac_dir in $ac_dummy; do
9418 test -z "$ac_dir" && ac_dir=.
9419 if test -f $ac_dir/$ac_word; then
9420 ac_cv_prog_LEX="flex"
9421 break
9422 fi
9423 done
9424 IFS="$ac_save_ifs"
9425 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"
9426 fi
9427 fi
9428 LEX="$ac_cv_prog_LEX"
9429 if test -n "$LEX"; then
9430 echo "$ac_t""$LEX" 1>&6
9431 else
9432 echo "$ac_t""no" 1>&6
9433 fi
9434
9435 if test -z "$LEXLIB"
9436 then
9437 case "$LEX" in
9438 flex*) ac_lib=fl ;;
9439 *) ac_lib=l ;;
9440 esac
9441 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9442 echo "configure:9443: checking for yywrap in -l$ac_lib" >&5
9443 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9444 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9445 echo $ac_n "(cached) $ac_c" 1>&6
9446 else
9447 ac_save_LIBS="$LIBS"
9448 LIBS="-l$ac_lib $LIBS"
9449 cat > conftest.$ac_ext <<EOF
9450 #line 9451 "configure"
9451 #include "confdefs.h"
9452 /* Override any gcc2 internal prototype to avoid an error. */
9453 /* We use char because int might match the return type of a gcc2
9454 builtin and then its argument prototype would still apply. */
9455 char yywrap();
9456
9457 int main() {
9458 yywrap()
9459 ; return 0; }
9460 EOF
9461 if { (eval echo configure:9462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9462 rm -rf conftest*
9463 eval "ac_cv_lib_$ac_lib_var=yes"
9464 else
9465 echo "configure: failed program was:" >&5
9466 cat conftest.$ac_ext >&5
9467 rm -rf conftest*
9468 eval "ac_cv_lib_$ac_lib_var=no"
9469 fi
9470 rm -f conftest*
9471 LIBS="$ac_save_LIBS"
9472
9473 fi
9474 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9475 echo "$ac_t""yes" 1>&6
9476 LEXLIB="-l$ac_lib"
9477 else
9478 echo "$ac_t""no" 1>&6
9479 fi
9480
9481 fi
9482
9483
9484 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9485 echo "configure:9486: checking whether ln -s works" >&5
9486 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9487 echo $ac_n "(cached) $ac_c" 1>&6
9488 else
9489 rm -f conftestdata
9490 if ln -s X conftestdata 2>/dev/null
9491 then
9492 rm -f conftestdata
9493 ac_cv_prog_LN_S="ln -s"
9494 else
9495 ac_cv_prog_LN_S=ln
9496 fi
9497 fi
9498 LN_S="$ac_cv_prog_LN_S"
9499 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9500 echo "$ac_t""yes" 1>&6
9501 else
9502 echo "$ac_t""no" 1>&6
9503 fi
9504
9505
9506
9507 SEARCH_INCLUDE="\
9508 /usr/local/include \
9509 \
9510 /usr/Motif-1.2/include \
9511 /usr/Motif-2.1/include \
9512 \
9513 /usr/include/Motif1.2 \
9514 /opt/xpm/include/X11 \
9515 /opt/GBxpm/include/ \
9516 /opt/GBxpm/X11/include/ \
9517 \
9518 /usr/Motif1.2/include \
9519 /usr/dt/include \
9520 /usr/openwin/include \
9521 \
9522 /usr/include/Xm \
9523 \
9524 /usr/X11R6/include \
9525 /usr/X11R6.4/include \
9526 /usr/X11R5/include \
9527 /usr/X11R4/include \
9528 \
9529 /usr/include/X11R6 \
9530 /usr/include/X11R5 \
9531 /usr/include/X11R4 \
9532 \
9533 /usr/local/X11R6/include \
9534 /usr/local/X11R5/include \
9535 /usr/local/X11R4/include \
9536 \
9537 /usr/local/include/X11R6 \
9538 /usr/local/include/X11R5 \
9539 /usr/local/include/X11R4 \
9540 \
9541 /usr/X11/include \
9542 /usr/include/X11 \
9543 /usr/local/X11/include \
9544 /usr/local/include/X11 \
9545 \
9546 /usr/X386/include \
9547 /usr/x386/include \
9548 /usr/XFree86/include/X11 \
9549 \
9550 X:/XFree86/include \
9551 X:/XFree86/include/X11 \
9552 \
9553 /usr/include/gtk \
9554 /usr/local/include/gtk \
9555 /usr/include/glib \
9556 /usr/local/include/glib \
9557 \
9558 /usr/include/qt \
9559 /usr/local/include/qt \
9560 \
9561 /usr/include/windows \
9562 /usr/include/wine \
9563 /usr/local/include/wine \
9564 \
9565 /usr/unsupported/include \
9566 /usr/athena/include \
9567 /usr/local/x11r5/include \
9568 /usr/lpp/Xamples/include \
9569 \
9570 /usr/openwin/share/include \
9571 \
9572 /usr/include"
9573
9574 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
9575
9576
9577 cat > confcache <<\EOF
9578 # This file is a shell script that caches the results of configure
9579 # tests run on this system so they can be shared between configure
9580 # scripts and configure runs. It is not useful on other systems.
9581 # If it contains results you don't want to keep, you may remove or edit it.
9582 #
9583 # By default, configure uses ./config.cache as the cache file,
9584 # creating it if it does not exist already. You can give configure
9585 # the --cache-file=FILE option to use a different cache file; that is
9586 # what configure does when it calls configure scripts in
9587 # subdirectories, so they share the cache.
9588 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9589 # config.status only pays attention to the cache file if you give it the
9590 # --recheck option to rerun configure.
9591 #
9592 EOF
9593 # The following way of writing the cache mishandles newlines in values,
9594 # but we know of no workaround that is simple, portable, and efficient.
9595 # So, don't put newlines in cache variables' values.
9596 # Ultrix sh set writes to stderr and can't be redirected directly,
9597 # and sets the high bit in the cache file unless we assign to the vars.
9598 (set) 2>&1 |
9599 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9600 *ac_space=\ *)
9601 # `set' does not quote correctly, so add quotes (double-quote substitution
9602 # turns \\\\ into \\, and sed turns \\ into \).
9603 sed -n \
9604 -e "s/'/'\\\\''/g" \
9605 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9606 ;;
9607 *)
9608 # `set' quotes correctly as required by POSIX, so do not add quotes.
9609 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9610 ;;
9611 esac >> confcache
9612 if cmp -s $cache_file confcache; then
9613 :
9614 else
9615 if test -w $cache_file; then
9616 echo "updating cache $cache_file"
9617 cat confcache > $cache_file
9618 else
9619 echo "not updating unwritable cache $cache_file"
9620 fi
9621 fi
9622 rm -f confcache
9623
9624
9625
9626
9627 REGEX_INCLUDE=
9628 if test "$wxUSE_REGEX" != "no"; then
9629 cat >> confdefs.h <<\EOF
9630 #define wxUSE_REGEX 1
9631 EOF
9632
9633
9634 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
9635 ac_safe=`echo "regex.h" | sed 'y%./+-%__p_%'`
9636 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
9637 echo "configure:9638: checking for regex.h" >&5
9638 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9639 echo $ac_n "(cached) $ac_c" 1>&6
9640 else
9641 cat > conftest.$ac_ext <<EOF
9642 #line 9643 "configure"
9643 #include "confdefs.h"
9644 #include <regex.h>
9645 EOF
9646 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9647 { (eval echo configure:9648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9648 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9649 if test -z "$ac_err"; then
9650 rm -rf conftest*
9651 eval "ac_cv_header_$ac_safe=yes"
9652 else
9653 echo "$ac_err" >&5
9654 echo "configure: failed program was:" >&5
9655 cat conftest.$ac_ext >&5
9656 rm -rf conftest*
9657 eval "ac_cv_header_$ac_safe=no"
9658 fi
9659 rm -f conftest*
9660 fi
9661 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9662 echo "$ac_t""yes" 1>&6
9663 for ac_func in regcomp
9664 do
9665 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9666 echo "configure:9667: checking for $ac_func" >&5
9667 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9668 echo $ac_n "(cached) $ac_c" 1>&6
9669 else
9670 cat > conftest.$ac_ext <<EOF
9671 #line 9672 "configure"
9672 #include "confdefs.h"
9673 /* System header to define __stub macros and hopefully few prototypes,
9674 which can conflict with char $ac_func(); below. */
9675 #include <assert.h>
9676 /* Override any gcc2 internal prototype to avoid an error. */
9677 /* We use char because int might match the return type of a gcc2
9678 builtin and then its argument prototype would still apply. */
9679 char $ac_func();
9680
9681 int main() {
9682
9683 /* The GNU C library defines this for functions which it implements
9684 to always fail with ENOSYS. Some functions are actually named
9685 something starting with __ and the normal name is an alias. */
9686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9687 choke me
9688 #else
9689 $ac_func();
9690 #endif
9691
9692 ; return 0; }
9693 EOF
9694 if { (eval echo configure:9695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9695 rm -rf conftest*
9696 eval "ac_cv_func_$ac_func=yes"
9697 else
9698 echo "configure: failed program was:" >&5
9699 cat conftest.$ac_ext >&5
9700 rm -rf conftest*
9701 eval "ac_cv_func_$ac_func=no"
9702 fi
9703 rm -f conftest*
9704 fi
9705
9706 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9707 echo "$ac_t""yes" 1>&6
9708 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9709 cat >> confdefs.h <<EOF
9710 #define $ac_tr_func 1
9711 EOF
9712
9713 else
9714 echo "$ac_t""no" 1>&6
9715 fi
9716 done
9717
9718 else
9719 echo "$ac_t""no" 1>&6
9720 fi
9721
9722
9723 if test "x$ac_cv_func_regcomp" != "xyes"; then
9724 if test "$wxUSE_REGEX" = "sys" ; then
9725 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9726 else
9727 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9728 wxUSE_REGEX=builtin
9729 fi
9730 else
9731 wxUSE_REGEX=sys
9732 fi
9733 fi
9734
9735 if test "$wxUSE_REGEX" = "builtin" ; then
9736 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
9737 fi
9738 fi
9739
9740
9741 ZLIB_INCLUDE=
9742 ZLIB_LINK=
9743 if test "$wxUSE_ZLIB" != "no" ; then
9744 cat >> confdefs.h <<\EOF
9745 #define wxUSE_ZLIB 1
9746 EOF
9747
9748
9749 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9750 ac_safe=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9751 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9752 echo "configure:9753: checking for zlib.h" >&5
9753 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9754 echo $ac_n "(cached) $ac_c" 1>&6
9755 else
9756 cat > conftest.$ac_ext <<EOF
9757 #line 9758 "configure"
9758 #include "confdefs.h"
9759 #include <zlib.h>
9760 EOF
9761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9762 { (eval echo configure:9763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9763 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9764 if test -z "$ac_err"; then
9765 rm -rf conftest*
9766 eval "ac_cv_header_$ac_safe=yes"
9767 else
9768 echo "$ac_err" >&5
9769 echo "configure: failed program was:" >&5
9770 cat conftest.$ac_ext >&5
9771 rm -rf conftest*
9772 eval "ac_cv_header_$ac_safe=no"
9773 fi
9774 rm -f conftest*
9775 fi
9776 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9777 echo "$ac_t""yes" 1>&6
9778 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9779 echo "configure:9780: checking for deflate in -lz" >&5
9780 ac_lib_var=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9781 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9782 echo $ac_n "(cached) $ac_c" 1>&6
9783 else
9784 ac_save_LIBS="$LIBS"
9785 LIBS="-lz $LIBS"
9786 cat > conftest.$ac_ext <<EOF
9787 #line 9788 "configure"
9788 #include "confdefs.h"
9789 /* Override any gcc2 internal prototype to avoid an error. */
9790 /* We use char because int might match the return type of a gcc2
9791 builtin and then its argument prototype would still apply. */
9792 char deflate();
9793
9794 int main() {
9795 deflate()
9796 ; return 0; }
9797 EOF
9798 if { (eval echo configure:9799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9799 rm -rf conftest*
9800 eval "ac_cv_lib_$ac_lib_var=yes"
9801 else
9802 echo "configure: failed program was:" >&5
9803 cat conftest.$ac_ext >&5
9804 rm -rf conftest*
9805 eval "ac_cv_lib_$ac_lib_var=no"
9806 fi
9807 rm -f conftest*
9808 LIBS="$ac_save_LIBS"
9809
9810 fi
9811 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9812 echo "$ac_t""yes" 1>&6
9813 ZLIB_LINK=" -lz"
9814 else
9815 echo "$ac_t""no" 1>&6
9816 fi
9817
9818 else
9819 echo "$ac_t""no" 1>&6
9820 fi
9821
9822
9823 if test "x$ZLIB_LINK" = "x" ; then
9824 if test "$wxUSE_ZLIB" = "sys" ; then
9825 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9826 else
9827 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9828 wxUSE_ZLIB=builtin
9829 fi
9830 else
9831 wxUSE_ZLIB=sys
9832 fi
9833 fi
9834
9835 if test "$wxUSE_ZLIB" = "builtin" ; then
9836 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
9837 fi
9838 fi
9839
9840
9841 PNG_INCLUDE=
9842 PNG_LINK=
9843 if test "$wxUSE_LIBPNG" != "no" ; then
9844 cat >> confdefs.h <<\EOF
9845 #define wxUSE_LIBPNG 1
9846 EOF
9847
9848
9849 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
9850 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
9851 wxUSE_LIBPNG=sys
9852 fi
9853
9854 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9855 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9856 wxUSE_LIBPNG=builtin
9857 fi
9858
9859 if test "$wxUSE_MGL" != 1 ; then
9860 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9861 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
9862 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9863 echo "configure:9864: checking for png.h" >&5
9864 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9865 echo $ac_n "(cached) $ac_c" 1>&6
9866 else
9867 cat > conftest.$ac_ext <<EOF
9868 #line 9869 "configure"
9869 #include "confdefs.h"
9870 #include <png.h>
9871 EOF
9872 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9873 { (eval echo configure:9874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9874 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9875 if test -z "$ac_err"; then
9876 rm -rf conftest*
9877 eval "ac_cv_header_$ac_safe=yes"
9878 else
9879 echo "$ac_err" >&5
9880 echo "configure: failed program was:" >&5
9881 cat conftest.$ac_ext >&5
9882 rm -rf conftest*
9883 eval "ac_cv_header_$ac_safe=no"
9884 fi
9885 rm -f conftest*
9886 fi
9887 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9888 echo "$ac_t""yes" 1>&6
9889 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9890 echo "configure:9891: checking for png_check_sig in -lpng" >&5
9891 ac_lib_var=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9892 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9893 echo $ac_n "(cached) $ac_c" 1>&6
9894 else
9895 ac_save_LIBS="$LIBS"
9896 LIBS="-lpng -lz -lm $LIBS"
9897 cat > conftest.$ac_ext <<EOF
9898 #line 9899 "configure"
9899 #include "confdefs.h"
9900 /* Override any gcc2 internal prototype to avoid an error. */
9901 /* We use char because int might match the return type of a gcc2
9902 builtin and then its argument prototype would still apply. */
9903 char png_check_sig();
9904
9905 int main() {
9906 png_check_sig()
9907 ; return 0; }
9908 EOF
9909 if { (eval echo configure:9910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9910 rm -rf conftest*
9911 eval "ac_cv_lib_$ac_lib_var=yes"
9912 else
9913 echo "configure: failed program was:" >&5
9914 cat conftest.$ac_ext >&5
9915 rm -rf conftest*
9916 eval "ac_cv_lib_$ac_lib_var=no"
9917 fi
9918 rm -f conftest*
9919 LIBS="$ac_save_LIBS"
9920
9921 fi
9922 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9923 echo "$ac_t""yes" 1>&6
9924 PNG_LINK=" -lpng"
9925 else
9926 echo "$ac_t""no" 1>&6
9927 fi
9928
9929
9930 else
9931 echo "$ac_t""no" 1>&6
9932 fi
9933
9934
9935 if test "x$PNG_LINK" = "x" ; then
9936 if test "$wxUSE_LIBPNG" = "sys" ; then
9937 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9938 else
9939 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9940 wxUSE_LIBPNG=builtin
9941 fi
9942 else
9943 wxUSE_LIBPNG=yes
9944 fi
9945 fi
9946 fi
9947
9948 if test "$wxUSE_LIBPNG" = "builtin" ; then
9949 PNG_INCLUDE="-I\${top_srcdir}/src/png"
9950 fi
9951
9952 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
9953 fi
9954
9955
9956 JPEG_INCLUDE=
9957 JPEG_LINK=
9958 if test "$wxUSE_LIBJPEG" != "no" ; then
9959 cat >> confdefs.h <<\EOF
9960 #define wxUSE_LIBJPEG 1
9961 EOF
9962
9963
9964 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
9965 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
9966 wxUSE_LIBJPEG=sys
9967 fi
9968
9969 if test "$wxUSE_MGL" != 1 ; then
9970 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9971 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9972 echo "configure:9973: checking for jpeglib.h" >&5
9973 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9974 echo $ac_n "(cached) $ac_c" 1>&6
9975 else
9976 cat > conftest.$ac_ext <<EOF
9977 #line 9978 "configure"
9978 #include "confdefs.h"
9979
9980 #undef HAVE_STDLIB_H
9981 #include <stdio.h>
9982 #include <jpeglib.h>
9983
9984 int main() {
9985
9986
9987 ; return 0; }
9988 EOF
9989 if { (eval echo configure:9990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9990 rm -rf conftest*
9991 ac_cv_header_jpeglib_h=yes
9992 else
9993 echo "configure: failed program was:" >&5
9994 cat conftest.$ac_ext >&5
9995 rm -rf conftest*
9996 ac_cv_header_jpeglib_h=no
9997
9998 fi
9999 rm -f conftest*
10000
10001 fi
10002
10003 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
10004
10005 if test "$ac_cv_header_jpeglib_h" = "yes"; then
10006 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
10007 echo "configure:10008: checking for jpeg_read_header in -ljpeg" >&5
10008 ac_lib_var=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
10009 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10010 echo $ac_n "(cached) $ac_c" 1>&6
10011 else
10012 ac_save_LIBS="$LIBS"
10013 LIBS="-ljpeg $LIBS"
10014 cat > conftest.$ac_ext <<EOF
10015 #line 10016 "configure"
10016 #include "confdefs.h"
10017 /* Override any gcc2 internal prototype to avoid an error. */
10018 /* We use char because int might match the return type of a gcc2
10019 builtin and then its argument prototype would still apply. */
10020 char jpeg_read_header();
10021
10022 int main() {
10023 jpeg_read_header()
10024 ; return 0; }
10025 EOF
10026 if { (eval echo configure:10027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10027 rm -rf conftest*
10028 eval "ac_cv_lib_$ac_lib_var=yes"
10029 else
10030 echo "configure: failed program was:" >&5
10031 cat conftest.$ac_ext >&5
10032 rm -rf conftest*
10033 eval "ac_cv_lib_$ac_lib_var=no"
10034 fi
10035 rm -f conftest*
10036 LIBS="$ac_save_LIBS"
10037
10038 fi
10039 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10040 echo "$ac_t""yes" 1>&6
10041 JPEG_LINK=" -ljpeg"
10042 else
10043 echo "$ac_t""no" 1>&6
10044 fi
10045
10046 fi
10047
10048 if test "x$JPEG_LINK" = "x" ; then
10049 if test "$wxUSE_LIBJPEG" = "sys" ; then
10050 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
10051 else
10052 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
10053 wxUSE_LIBJPEG=builtin
10054 fi
10055 else
10056 wxUSE_LIBJPEG=sys
10057 fi
10058 fi
10059 fi
10060
10061 if test "$wxUSE_LIBJPEG" = "builtin" ; then
10062 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
10063 fi
10064 fi
10065
10066
10067 TIFF_INCLUDE=
10068 TIFF_LINK=
10069 if test "$wxUSE_LIBTIFF" != "no" ; then
10070 cat >> confdefs.h <<\EOF
10071 #define wxUSE_LIBTIFF 1
10072 EOF
10073
10074
10075 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
10076 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
10077 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
10078 echo "configure:10079: checking for tiffio.h" >&5
10079 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10080 echo $ac_n "(cached) $ac_c" 1>&6
10081 else
10082 cat > conftest.$ac_ext <<EOF
10083 #line 10084 "configure"
10084 #include "confdefs.h"
10085 #include <tiffio.h>
10086 EOF
10087 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10088 { (eval echo configure:10089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10089 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10090 if test -z "$ac_err"; then
10091 rm -rf conftest*
10092 eval "ac_cv_header_$ac_safe=yes"
10093 else
10094 echo "$ac_err" >&5
10095 echo "configure: failed program was:" >&5
10096 cat conftest.$ac_ext >&5
10097 rm -rf conftest*
10098 eval "ac_cv_header_$ac_safe=no"
10099 fi
10100 rm -f conftest*
10101 fi
10102 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10103 echo "$ac_t""yes" 1>&6
10104 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
10105 echo "configure:10106: checking for TIFFError in -ltiff" >&5
10106 ac_lib_var=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
10107 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10108 echo $ac_n "(cached) $ac_c" 1>&6
10109 else
10110 ac_save_LIBS="$LIBS"
10111 LIBS="-ltiff -lm $LIBS"
10112 cat > conftest.$ac_ext <<EOF
10113 #line 10114 "configure"
10114 #include "confdefs.h"
10115 /* Override any gcc2 internal prototype to avoid an error. */
10116 /* We use char because int might match the return type of a gcc2
10117 builtin and then its argument prototype would still apply. */
10118 char TIFFError();
10119
10120 int main() {
10121 TIFFError()
10122 ; return 0; }
10123 EOF
10124 if { (eval echo configure:10125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10125 rm -rf conftest*
10126 eval "ac_cv_lib_$ac_lib_var=yes"
10127 else
10128 echo "configure: failed program was:" >&5
10129 cat conftest.$ac_ext >&5
10130 rm -rf conftest*
10131 eval "ac_cv_lib_$ac_lib_var=no"
10132 fi
10133 rm -f conftest*
10134 LIBS="$ac_save_LIBS"
10135
10136 fi
10137 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10138 echo "$ac_t""yes" 1>&6
10139 TIFF_LINK=" -ltiff"
10140 else
10141 echo "$ac_t""no" 1>&6
10142 fi
10143
10144
10145 else
10146 echo "$ac_t""no" 1>&6
10147 fi
10148
10149
10150 if test "x$TIFF_LINK" = "x" ; then
10151 if test "$wxUSE_LIBTIFF" = "sys" ; then
10152 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
10153 else
10154 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
10155 wxUSE_LIBTIFF=builtin
10156 fi
10157 else
10158 wxUSE_LIBTIFF=sys
10159 fi
10160 fi
10161
10162 if test "$wxUSE_LIBTIFF" = "builtin" ; then
10163 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
10164 fi
10165 fi
10166
10167
10168 AFMINSTALL=
10169
10170 TOOLKIT=
10171 TOOLKIT_INCLUDE=
10172 WIDGET_SET=
10173
10174 if test "$USE_WIN32" = 1 ; then
10175 for ac_hdr in w32api.h
10176 do
10177 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10178 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10179 echo "configure:10180: checking for $ac_hdr" >&5
10180 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10181 echo $ac_n "(cached) $ac_c" 1>&6
10182 else
10183 cat > conftest.$ac_ext <<EOF
10184 #line 10185 "configure"
10185 #include "confdefs.h"
10186 #include <$ac_hdr>
10187 EOF
10188 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10189 { (eval echo configure:10190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10190 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10191 if test -z "$ac_err"; then
10192 rm -rf conftest*
10193 eval "ac_cv_header_$ac_safe=yes"
10194 else
10195 echo "$ac_err" >&5
10196 echo "configure: failed program was:" >&5
10197 cat conftest.$ac_ext >&5
10198 rm -rf conftest*
10199 eval "ac_cv_header_$ac_safe=no"
10200 fi
10201 rm -f conftest*
10202 fi
10203 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10204 echo "$ac_t""yes" 1>&6
10205 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10206 cat >> confdefs.h <<EOF
10207 #define $ac_tr_hdr 1
10208 EOF
10209
10210 else
10211 echo "$ac_t""no" 1>&6
10212 fi
10213 done
10214
10215 ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'`
10216 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10217 echo "configure:10218: checking for windows.h" >&5
10218 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10219 echo $ac_n "(cached) $ac_c" 1>&6
10220 else
10221 cat > conftest.$ac_ext <<EOF
10222 #line 10223 "configure"
10223 #include "confdefs.h"
10224 #include <windows.h>
10225 EOF
10226 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10227 { (eval echo configure:10228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10228 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10229 if test -z "$ac_err"; then
10230 rm -rf conftest*
10231 eval "ac_cv_header_$ac_safe=yes"
10232 else
10233 echo "$ac_err" >&5
10234 echo "configure: failed program was:" >&5
10235 cat conftest.$ac_ext >&5
10236 rm -rf conftest*
10237 eval "ac_cv_header_$ac_safe=no"
10238 fi
10239 rm -f conftest*
10240 fi
10241 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10242 echo "$ac_t""yes" 1>&6
10243 :
10244 else
10245 echo "$ac_t""no" 1>&6
10246
10247 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10248
10249 fi
10250
10251
10252 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
10253 echo "configure:10254: checking if w32api has good enough MSIE support" >&5
10254 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
10255 echo $ac_n "(cached) $ac_c" 1>&6
10256 else
10257
10258 cat > conftest.$ac_ext <<EOF
10259 #line 10260 "configure"
10260 #include "confdefs.h"
10261 #include <w32api.h>
10262 int main() {
10263
10264 #define wxCHECK_W32API_VERSION( major, minor ) \
10265 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
10266 && ( ( __W32API_MAJOR_VERSION > (major) ) \
10267 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
10268
10269 #if !wxCHECK_W32API_VERSION(1,1)
10270 #error You need w32api 1.1 or newer
10271 #endif
10272
10273 ; return 0; }
10274 EOF
10275 if { (eval echo configure:10276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10276 rm -rf conftest*
10277
10278 wx_cv_w32api_win32_ie=yes
10279
10280 else
10281 echo "configure: failed program was:" >&5
10282 cat conftest.$ac_ext >&5
10283 rm -rf conftest*
10284
10285 wx_cv_w32api_win32_ie=no
10286
10287 fi
10288 rm -f conftest*
10289
10290 fi
10291
10292 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
10293 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
10294 CPPFLAGS="$CPPFLAGS -D_WIN32_IE=0x400"
10295 fi
10296
10297 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
10298
10299 case "${host}" in
10300 *-*-cygwin* )
10301 LIBS="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
10302 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
10303 esac
10304
10305 if test "$wxUSE_ODBC" = "yes" ; then
10306 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
10307 fi
10308
10309 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
10310 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
10311 fi
10312
10313 if test "$wxUSE_GUI" = "yes"; then
10314 USE_GUI=1
10315
10316 GUI_TK_LIBRARY=
10317
10318 WXGTK12=
10319 WXGTK127=
10320 WXGTK20=
10321
10322 if test "$wxUSE_MSW" = 1 ; then
10323 TOOLKIT=MSW
10324 GUIDIST=MSW_DIST
10325
10326 case "${host}" in
10327 *-*-mingw32* )
10328 LDFLAGS="$LDFLAGS -Wl,--subsystem,windows -mwindows"
10329 esac
10330 fi
10331
10332 if test "$wxUSE_GTK" = 1; then
10333 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
10334 echo "configure:10335: checking for GTK+ version" >&5
10335
10336 gtk_version_cached=1
10337 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
10338 echo $ac_n "(cached) $ac_c" 1>&6
10339 else
10340
10341 gtk_version_cached=0
10342 echo "$ac_t""" 1>&6
10343
10344 GTK_MODULES=
10345 if test "$wxUSE_THREADS" = "yes"; then
10346 GTK_MODULES=gthread
10347 fi
10348
10349 wx_cv_lib_gtk=
10350 if test "x$wxUSE_GTK2" = "xyes"; then
10351 # Check whether --enable-gtktest or --disable-gtktest was given.
10352 if test "${enable_gtktest+set}" = set; then
10353 enableval="$enable_gtktest"
10354 :
10355 else
10356 enable_gtktest=yes
10357 fi
10358
10359
10360 pkg_config_args=gtk+-2.0
10361 for module in . $GTK_MODULES
10362 do
10363 case "$module" in
10364 gthread)
10365 pkg_config_args="$pkg_config_args gthread-2.0"
10366 ;;
10367 esac
10368 done
10369
10370 no_gtk=""
10371
10372 # Extract the first word of "pkg-config", so it can be a program name with args.
10373 set dummy pkg-config; ac_word=$2
10374 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10375 echo "configure:10376: checking for $ac_word" >&5
10376 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
10377 echo $ac_n "(cached) $ac_c" 1>&6
10378 else
10379 case "$PKG_CONFIG" in
10380 /*)
10381 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10382 ;;
10383 ?:/*)
10384 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a dos path.
10385 ;;
10386 *)
10387 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
10388 ac_dummy="$PATH"
10389 for ac_dir in $ac_dummy; do
10390 test -z "$ac_dir" && ac_dir=.
10391 if test -f $ac_dir/$ac_word; then
10392 ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
10393 break
10394 fi
10395 done
10396 IFS="$ac_save_ifs"
10397 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
10398 ;;
10399 esac
10400 fi
10401 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
10402 if test -n "$PKG_CONFIG"; then
10403 echo "$ac_t""$PKG_CONFIG" 1>&6
10404 else
10405 echo "$ac_t""no" 1>&6
10406 fi
10407
10408
10409 if test x$PKG_CONFIG != xno ; then
10410 if pkg-config --atleast-pkgconfig-version 0.7 ; then
10411 :
10412 else
10413 echo *** pkg-config too old; version 0.7 or better required.
10414 no_gtk=yes
10415 PKG_CONFIG=no
10416 fi
10417 else
10418 no_gtk=yes
10419 fi
10420
10421 min_gtk_version=2.0.0
10422 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
10423 echo "configure:10424: checking for GTK+ - version >= $min_gtk_version" >&5
10424
10425 if test x$PKG_CONFIG != xno ; then
10426 ## don't try to run the test against uninstalled libtool libs
10427 if $PKG_CONFIG --uninstalled $pkg_config_args; then
10428 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
10429 enable_gtktest=no
10430 fi
10431
10432 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
10433 :
10434 else
10435 no_gtk=yes
10436 fi
10437 fi
10438
10439 if test x"$no_gtk" = x ; then
10440 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
10441 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
10442 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
10443 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10444 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
10445 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10446 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
10447 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10448 if test "x$enable_gtktest" = "xyes" ; then
10449 ac_save_CFLAGS="$CFLAGS"
10450 ac_save_LIBS="$LIBS"
10451 CFLAGS="$CFLAGS $GTK_CFLAGS"
10452 LIBS="$GTK_LIBS $LIBS"
10453 rm -f conf.gtktest
10454 if test "$cross_compiling" = yes; then
10455 echo $ac_n "cross compiling; assumed OK... $ac_c"
10456 else
10457 cat > conftest.$ac_ext <<EOF
10458 #line 10459 "configure"
10459 #include "confdefs.h"
10460
10461 #include <gtk/gtk.h>
10462 #include <stdio.h>
10463 #include <stdlib.h>
10464
10465 int
10466 main ()
10467 {
10468 int major, minor, micro;
10469 char *tmp_version;
10470
10471 system ("touch conf.gtktest");
10472
10473 /* HP/UX 9 (%@#!) writes to sscanf strings */
10474 tmp_version = g_strdup("$min_gtk_version");
10475 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
10476 printf("%s, bad version string\n", "$min_gtk_version");
10477 exit(1);
10478 }
10479
10480 if ((gtk_major_version != $gtk_config_major_version) ||
10481 (gtk_minor_version != $gtk_config_minor_version) ||
10482 (gtk_micro_version != $gtk_config_micro_version))
10483 {
10484 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10485 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10486 gtk_major_version, gtk_minor_version, gtk_micro_version);
10487 printf ("*** was found! If pkg-config was correct, then it is best\n");
10488 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10489 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10490 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10491 printf("*** required on your system.\n");
10492 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
10493 printf("*** to point to the correct configuration files\n");
10494 }
10495 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10496 (gtk_minor_version != GTK_MINOR_VERSION) ||
10497 (gtk_micro_version != GTK_MICRO_VERSION))
10498 {
10499 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10500 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10501 printf("*** library (version %d.%d.%d)\n",
10502 gtk_major_version, gtk_minor_version, gtk_micro_version);
10503 }
10504 else
10505 {
10506 if ((gtk_major_version > major) ||
10507 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10508 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10509 {
10510 return 0;
10511 }
10512 else
10513 {
10514 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10515 gtk_major_version, gtk_minor_version, gtk_micro_version);
10516 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10517 major, minor, micro);
10518 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10519 printf("***\n");
10520 printf("*** If you have already installed a sufficiently new version, this error\n");
10521 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
10522 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10523 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
10524 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
10525 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10526 printf("*** so that the correct libraries are found at run-time))\n");
10527 }
10528 }
10529 return 1;
10530 }
10531
10532 EOF
10533 if { (eval echo configure:10534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10534 then
10535 :
10536 else
10537 echo "configure: failed program was:" >&5
10538 cat conftest.$ac_ext >&5
10539 rm -fr conftest*
10540 no_gtk=yes
10541 fi
10542 rm -fr conftest*
10543 fi
10544
10545 CFLAGS="$ac_save_CFLAGS"
10546 LIBS="$ac_save_LIBS"
10547 fi
10548 fi
10549 if test "x$no_gtk" = x ; then
10550 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
10551 wx_cv_lib_gtk=2.0
10552 else
10553 echo "$ac_t""no" 1>&6
10554 if test "$PKG_CONFIG" = "no" ; then
10555 echo "*** A new enough version of pkg-config was not found."
10556 echo "*** See http://pkgconfig.sourceforge.net"
10557 else
10558 if test -f conf.gtktest ; then
10559 :
10560 else
10561 echo "*** Could not run GTK+ test program, checking why..."
10562 CFLAGS="$CFLAGS $GTK_CFLAGS"
10563 LIBS="$LIBS $GTK_LIBS"
10564 cat > conftest.$ac_ext <<EOF
10565 #line 10566 "configure"
10566 #include "confdefs.h"
10567
10568 #include <gtk/gtk.h>
10569 #include <stdio.h>
10570
10571 int main() {
10572 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10573 ; return 0; }
10574 EOF
10575 if { (eval echo configure:10576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10576 rm -rf conftest*
10577 echo "*** The test program compiled, but did not run. This usually means"
10578 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
10579 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
10580 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10581 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10582 echo "*** is required on your system"
10583 echo "***"
10584 echo "*** If you have an old version installed, it is best to remove it, although"
10585 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10586 else
10587 echo "configure: failed program was:" >&5
10588 cat conftest.$ac_ext >&5
10589 rm -rf conftest*
10590 echo "*** The test program failed to compile or link. See the file config.log for the"
10591 echo "*** exact error that occured. This usually means GTK+ was incorrectly installed"
10592 echo "*** or that you have moved GTK+ since it was installed. In the latter case, you"
10593 echo "*** may want to edit the pkg-config script: $PKG_CONFIG"
10594 fi
10595 rm -f conftest*
10596 CFLAGS="$ac_save_CFLAGS"
10597 LIBS="$ac_save_LIBS"
10598 fi
10599 fi
10600 GTK_CFLAGS=""
10601 GTK_LIBS=""
10602 :
10603 fi
10604
10605
10606 rm -f conf.gtktest
10607
10608 fi
10609
10610 if test -z "$wx_cv_lib_gtk"; then
10611 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10612 if test "${with_gtk_prefix+set}" = set; then
10613 withval="$with_gtk_prefix"
10614 gtk_config_prefix="$withval"
10615 else
10616 gtk_config_prefix=""
10617 fi
10618
10619 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10620 if test "${with_gtk_exec_prefix+set}" = set; then
10621 withval="$with_gtk_exec_prefix"
10622 gtk_config_exec_prefix="$withval"
10623 else
10624 gtk_config_exec_prefix=""
10625 fi
10626
10627 # Check whether --enable-gtktest or --disable-gtktest was given.
10628 if test "${enable_gtktest+set}" = set; then
10629 enableval="$enable_gtktest"
10630 :
10631 else
10632 enable_gtktest=yes
10633 fi
10634
10635
10636 for module in . $GTK_MODULES
10637 do
10638 case "$module" in
10639 gthread)
10640 gtk_config_args="$gtk_config_args gthread"
10641 ;;
10642 esac
10643 done
10644
10645 if test x$gtk_config_exec_prefix != x ; then
10646 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10647 if test x${GTK_CONFIG+set} != xset ; then
10648 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
10649 fi
10650 fi
10651 if test x$gtk_config_prefix != x ; then
10652 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
10653 if test x${GTK_CONFIG+set} != xset ; then
10654 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
10655 fi
10656 fi
10657
10658 # Extract the first word of "gtk-config", so it can be a program name with args.
10659 set dummy gtk-config; ac_word=$2
10660 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10661 echo "configure:10662: checking for $ac_word" >&5
10662 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10663 echo $ac_n "(cached) $ac_c" 1>&6
10664 else
10665 case "$GTK_CONFIG" in
10666 /*)
10667 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
10668 ;;
10669 ?:/*)
10670 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
10671 ;;
10672 *)
10673 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
10674 ac_dummy="$PATH"
10675 for ac_dir in $ac_dummy; do
10676 test -z "$ac_dir" && ac_dir=.
10677 if test -f $ac_dir/$ac_word; then
10678 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
10679 break
10680 fi
10681 done
10682 IFS="$ac_save_ifs"
10683 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
10684 ;;
10685 esac
10686 fi
10687 GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
10688 if test -n "$GTK_CONFIG"; then
10689 echo "$ac_t""$GTK_CONFIG" 1>&6
10690 else
10691 echo "$ac_t""no" 1>&6
10692 fi
10693
10694 min_gtk_version=1.2.7
10695 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10696 echo "configure:10697: checking for GTK - version >= $min_gtk_version" >&5
10697 no_gtk=""
10698 if test "$GTK_CONFIG" = "no" ; then
10699 no_gtk=yes
10700 else
10701 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
10702 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
10703 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
10704 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10705 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
10706 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10707 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
10708 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10709 if test "x$enable_gtktest" = "xyes" ; then
10710 ac_save_CFLAGS="$CFLAGS"
10711 ac_save_LIBS="$LIBS"
10712 CFLAGS="$CFLAGS $GTK_CFLAGS"
10713 LIBS="$GTK_LIBS $LIBS"
10714 rm -f conf.gtktest
10715 if test "$cross_compiling" = yes; then
10716 echo $ac_n "cross compiling; assumed OK... $ac_c"
10717 else
10718 cat > conftest.$ac_ext <<EOF
10719 #line 10720 "configure"
10720 #include "confdefs.h"
10721
10722 #include <gtk/gtk.h>
10723 #include <stdio.h>
10724 #include <stdlib.h>
10725
10726 int
10727 main ()
10728 {
10729 int major, minor, micro;
10730 char *tmp_version;
10731
10732 system ("touch conf.gtktest");
10733
10734 /* HP/UX 9 (%@#!) writes to sscanf strings */
10735 tmp_version = g_strdup("$min_gtk_version");
10736 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
10737 printf("%s, bad version string\n", "$min_gtk_version");
10738 exit(1);
10739 }
10740
10741 if ((gtk_major_version != $gtk_config_major_version) ||
10742 (gtk_minor_version != $gtk_config_minor_version) ||
10743 (gtk_micro_version != $gtk_config_micro_version))
10744 {
10745 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10746 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10747 gtk_major_version, gtk_minor_version, gtk_micro_version);
10748 printf ("*** was found! If gtk-config was correct, then it is best\n");
10749 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10750 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10751 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10752 printf("*** required on your system.\n");
10753 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10754 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10755 printf("*** before re-running configure\n");
10756 }
10757 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10758 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10759 (gtk_minor_version != GTK_MINOR_VERSION) ||
10760 (gtk_micro_version != GTK_MICRO_VERSION))
10761 {
10762 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10763 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10764 printf("*** library (version %d.%d.%d)\n",
10765 gtk_major_version, gtk_minor_version, gtk_micro_version);
10766 }
10767 #endif /* defined (GTK_MAJOR_VERSION) ... */
10768 else
10769 {
10770 if ((gtk_major_version > major) ||
10771 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10772 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10773 {
10774 return 0;
10775 }
10776 else
10777 {
10778 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10779 gtk_major_version, gtk_minor_version, gtk_micro_version);
10780 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10781 major, minor, micro);
10782 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10783 printf("***\n");
10784 printf("*** If you have already installed a sufficiently new version, this error\n");
10785 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10786 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10787 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10788 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10789 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10790 printf("*** so that the correct libraries are found at run-time))\n");
10791 }
10792 }
10793 return 1;
10794 }
10795
10796 EOF
10797 if { (eval echo configure:10798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10798 then
10799 :
10800 else
10801 echo "configure: failed program was:" >&5
10802 cat conftest.$ac_ext >&5
10803 rm -fr conftest*
10804 no_gtk=yes
10805 fi
10806 rm -fr conftest*
10807 fi
10808
10809 CFLAGS="$ac_save_CFLAGS"
10810 LIBS="$ac_save_LIBS"
10811 fi
10812 fi
10813 if test "x$no_gtk" = x ; then
10814 echo "$ac_t""yes" 1>&6
10815 wx_cv_lib_gtk=1.2.7
10816 else
10817 echo "$ac_t""no" 1>&6
10818 if test "$GTK_CONFIG" = "no" ; then
10819 echo "*** The gtk-config script installed by GTK could not be found"
10820 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10821 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10822 echo "*** full path to gtk-config."
10823 else
10824 if test -f conf.gtktest ; then
10825 :
10826 else
10827 echo "*** Could not run GTK test program, checking why..."
10828 CFLAGS="$CFLAGS $GTK_CFLAGS"
10829 LIBS="$LIBS $GTK_LIBS"
10830 cat > conftest.$ac_ext <<EOF
10831 #line 10832 "configure"
10832 #include "confdefs.h"
10833
10834 #include <gtk/gtk.h>
10835 #include <stdio.h>
10836
10837 int main() {
10838 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10839 ; return 0; }
10840 EOF
10841 if { (eval echo configure:10842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10842 rm -rf conftest*
10843 echo "*** The test program compiled, but did not run. This usually means"
10844 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10845 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10846 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10847 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10848 echo "*** is required on your system"
10849 echo "***"
10850 echo "*** If you have an old version installed, it is best to remove it, although"
10851 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10852 echo "***"
10853 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10854 echo "*** came with the system with the command"
10855 echo "***"
10856 echo "*** rpm --erase --nodeps gtk gtk-devel"
10857 else
10858 echo "configure: failed program was:" >&5
10859 cat conftest.$ac_ext >&5
10860 rm -rf conftest*
10861 echo "*** The test program failed to compile or link. See the file config.log for the"
10862 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10863 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10864 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10865 fi
10866 rm -f conftest*
10867 CFLAGS="$ac_save_CFLAGS"
10868 LIBS="$ac_save_LIBS"
10869 fi
10870 fi
10871 GTK_CFLAGS=""
10872 GTK_LIBS=""
10873 :
10874 fi
10875
10876
10877 rm -f conf.gtktest
10878
10879 fi
10880
10881 if test -z "$wx_cv_lib_gtk"; then
10882 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10883 if test "${with_gtk_prefix+set}" = set; then
10884 withval="$with_gtk_prefix"
10885 gtk_config_prefix="$withval"
10886 else
10887 gtk_config_prefix=""
10888 fi
10889
10890 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10891 if test "${with_gtk_exec_prefix+set}" = set; then
10892 withval="$with_gtk_exec_prefix"
10893 gtk_config_exec_prefix="$withval"
10894 else
10895 gtk_config_exec_prefix=""
10896 fi
10897
10898 # Check whether --enable-gtktest or --disable-gtktest was given.
10899 if test "${enable_gtktest+set}" = set; then
10900 enableval="$enable_gtktest"
10901 :
10902 else
10903 enable_gtktest=yes
10904 fi
10905
10906
10907 for module in . $GTK_MODULES
10908 do
10909 case "$module" in
10910 gthread)
10911 gtk_config_args="$gtk_config_args gthread"
10912 ;;
10913 esac
10914 done
10915
10916 if test x$gtk_config_exec_prefix != x ; then
10917 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10918 if test x${GTK_CONFIG+set} != xset ; then
10919 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
10920 fi
10921 fi
10922 if test x$gtk_config_prefix != x ; then
10923 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
10924 if test x${GTK_CONFIG+set} != xset ; then
10925 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
10926 fi
10927 fi
10928
10929 # Extract the first word of "gtk-config", so it can be a program name with args.
10930 set dummy gtk-config; ac_word=$2
10931 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10932 echo "configure:10933: checking for $ac_word" >&5
10933 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10934 echo $ac_n "(cached) $ac_c" 1>&6
10935 else
10936 case "$GTK_CONFIG" in
10937 /*)
10938 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
10939 ;;
10940 ?:/*)
10941 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
10942 ;;
10943 *)
10944 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
10945 ac_dummy="$PATH"
10946 for ac_dir in $ac_dummy; do
10947 test -z "$ac_dir" && ac_dir=.
10948 if test -f $ac_dir/$ac_word; then
10949 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
10950 break
10951 fi
10952 done
10953 IFS="$ac_save_ifs"
10954 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
10955 ;;
10956 esac
10957 fi
10958 GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
10959 if test -n "$GTK_CONFIG"; then
10960 echo "$ac_t""$GTK_CONFIG" 1>&6
10961 else
10962 echo "$ac_t""no" 1>&6
10963 fi
10964
10965 min_gtk_version=1.2.3
10966 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10967 echo "configure:10968: checking for GTK - version >= $min_gtk_version" >&5
10968 no_gtk=""
10969 if test "$GTK_CONFIG" = "no" ; then
10970 no_gtk=yes
10971 else
10972 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
10973 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
10974 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
10975 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10976 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
10977 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10978 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
10979 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10980 if test "x$enable_gtktest" = "xyes" ; then
10981 ac_save_CFLAGS="$CFLAGS"
10982 ac_save_LIBS="$LIBS"
10983 CFLAGS="$CFLAGS $GTK_CFLAGS"
10984 LIBS="$GTK_LIBS $LIBS"
10985 rm -f conf.gtktest
10986 if test "$cross_compiling" = yes; then
10987 echo $ac_n "cross compiling; assumed OK... $ac_c"
10988 else
10989 cat > conftest.$ac_ext <<EOF
10990 #line 10991 "configure"
10991 #include "confdefs.h"
10992
10993 #include <gtk/gtk.h>
10994 #include <stdio.h>
10995 #include <stdlib.h>
10996
10997 int
10998 main ()
10999 {
11000 int major, minor, micro;
11001 char *tmp_version;
11002
11003 system ("touch conf.gtktest");
11004
11005 /* HP/UX 9 (%@#!) writes to sscanf strings */
11006 tmp_version = g_strdup("$min_gtk_version");
11007 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
11008 printf("%s, bad version string\n", "$min_gtk_version");
11009 exit(1);
11010 }
11011
11012 if ((gtk_major_version != $gtk_config_major_version) ||
11013 (gtk_minor_version != $gtk_config_minor_version) ||
11014 (gtk_micro_version != $gtk_config_micro_version))
11015 {
11016 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
11017 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
11018 gtk_major_version, gtk_minor_version, gtk_micro_version);
11019 printf ("*** was found! If gtk-config was correct, then it is best\n");
11020 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
11021 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
11022 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
11023 printf("*** required on your system.\n");
11024 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
11025 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
11026 printf("*** before re-running configure\n");
11027 }
11028 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
11029 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
11030 (gtk_minor_version != GTK_MINOR_VERSION) ||
11031 (gtk_micro_version != GTK_MICRO_VERSION))
11032 {
11033 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
11034 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
11035 printf("*** library (version %d.%d.%d)\n",
11036 gtk_major_version, gtk_minor_version, gtk_micro_version);
11037 }
11038 #endif /* defined (GTK_MAJOR_VERSION) ... */
11039 else
11040 {
11041 if ((gtk_major_version > major) ||
11042 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11043 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11044 {
11045 return 0;
11046 }
11047 else
11048 {
11049 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11050 gtk_major_version, gtk_minor_version, gtk_micro_version);
11051 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11052 major, minor, micro);
11053 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11054 printf("***\n");
11055 printf("*** If you have already installed a sufficiently new version, this error\n");
11056 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
11057 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11058 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
11059 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
11060 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11061 printf("*** so that the correct libraries are found at run-time))\n");
11062 }
11063 }
11064 return 1;
11065 }
11066
11067 EOF
11068 if { (eval echo configure:11069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11069 then
11070 :
11071 else
11072 echo "configure: failed program was:" >&5
11073 cat conftest.$ac_ext >&5
11074 rm -fr conftest*
11075 no_gtk=yes
11076 fi
11077 rm -fr conftest*
11078 fi
11079
11080 CFLAGS="$ac_save_CFLAGS"
11081 LIBS="$ac_save_LIBS"
11082 fi
11083 fi
11084 if test "x$no_gtk" = x ; then
11085 echo "$ac_t""yes" 1>&6
11086 wx_cv_lib_gtk=1.2.3
11087 else
11088 echo "$ac_t""no" 1>&6
11089 if test "$GTK_CONFIG" = "no" ; then
11090 echo "*** The gtk-config script installed by GTK could not be found"
11091 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
11092 echo "*** your path, or set the GTK_CONFIG environment variable to the"
11093 echo "*** full path to gtk-config."
11094 else
11095 if test -f conf.gtktest ; then
11096 :
11097 else
11098 echo "*** Could not run GTK test program, checking why..."
11099 CFLAGS="$CFLAGS $GTK_CFLAGS"
11100 LIBS="$LIBS $GTK_LIBS"
11101 cat > conftest.$ac_ext <<EOF
11102 #line 11103 "configure"
11103 #include "confdefs.h"
11104
11105 #include <gtk/gtk.h>
11106 #include <stdio.h>
11107
11108 int main() {
11109 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
11110 ; return 0; }
11111 EOF
11112 if { (eval echo configure:11113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11113 rm -rf conftest*
11114 echo "*** The test program compiled, but did not run. This usually means"
11115 echo "*** that the run-time linker is not finding GTK or finding the wrong"
11116 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
11117 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11118 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11119 echo "*** is required on your system"
11120 echo "***"
11121 echo "*** If you have an old version installed, it is best to remove it, although"
11122 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11123 echo "***"
11124 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
11125 echo "*** came with the system with the command"
11126 echo "***"
11127 echo "*** rpm --erase --nodeps gtk gtk-devel"
11128 else
11129 echo "configure: failed program was:" >&5
11130 cat conftest.$ac_ext >&5
11131 rm -rf conftest*
11132 echo "*** The test program failed to compile or link. See the file config.log for the"
11133 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
11134 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
11135 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
11136 fi
11137 rm -f conftest*
11138 CFLAGS="$ac_save_CFLAGS"
11139 LIBS="$ac_save_LIBS"
11140 fi
11141 fi
11142 GTK_CFLAGS=""
11143 GTK_LIBS=""
11144 :
11145 fi
11146
11147
11148 rm -f conf.gtktest
11149
11150 fi
11151
11152 if test -z "$wx_cv_lib_gtk"; then
11153 wx_cv_lib_gtk=none
11154 else
11155 wx_cv_cflags_gtk=$GTK_CFLAGS
11156 wx_cv_libs_gtk=$GTK_LIBS
11157 fi
11158
11159
11160 fi
11161
11162
11163 if test "$gtk_version_cached" = 1; then
11164 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
11165 fi
11166
11167 case "$wx_cv_lib_gtk" in
11168 2.0) WXGTK20=1
11169 ;;
11170 1.2.7) WXGTK127=1
11171 WXGTK12=1
11172 ;;
11173 1.2.3) WXGTK12=1
11174 ;;
11175 *) { echo "configure: error:
11176 Please check that gtk-config is in path, the directory
11177 where GTK+ libraries are installed (returned by
11178 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
11179 equivalent variable and GTK+ is version 1.2.3 or above.
11180 " 1>&2; exit 1; }
11181 ;;
11182 esac
11183
11184 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
11185 GUI_TK_LIBRARY="$wx_cv_libs_gtk"
11186
11187 AFMINSTALL=afminstall
11188 TOOLKIT=GTK
11189 GUIDIST=GTK_DIST
11190
11191 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
11192 echo "configure:11193: checking for gdk_im_open in -lgdk" >&5
11193 ac_lib_var=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
11194 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11195 echo $ac_n "(cached) $ac_c" 1>&6
11196 else
11197 ac_save_LIBS="$LIBS"
11198 LIBS="-lgdk $LIBS"
11199 cat > conftest.$ac_ext <<EOF
11200 #line 11201 "configure"
11201 #include "confdefs.h"
11202 /* Override any gcc2 internal prototype to avoid an error. */
11203 /* We use char because int might match the return type of a gcc2
11204 builtin and then its argument prototype would still apply. */
11205 char gdk_im_open();
11206
11207 int main() {
11208 gdk_im_open()
11209 ; return 0; }
11210 EOF
11211 if { (eval echo configure:11212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11212 rm -rf conftest*
11213 eval "ac_cv_lib_$ac_lib_var=yes"
11214 else
11215 echo "configure: failed program was:" >&5
11216 cat conftest.$ac_ext >&5
11217 rm -rf conftest*
11218 eval "ac_cv_lib_$ac_lib_var=no"
11219 fi
11220 rm -f conftest*
11221 LIBS="$ac_save_LIBS"
11222
11223 fi
11224 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11225 echo "$ac_t""yes" 1>&6
11226 cat >> confdefs.h <<\EOF
11227 #define HAVE_XIM 1
11228 EOF
11229
11230 else
11231 echo "$ac_t""no" 1>&6
11232 fi
11233
11234 fi
11235
11236 if test "$wxUSE_MGL" = 1; then
11237 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
11238 echo "configure:11239: checking for SciTech MGL library" >&5
11239 if test "x$MGL_ROOT" = x ; then
11240 echo "$ac_t""not found" 1>&6
11241 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
11242 else
11243 echo "$ac_t""$MGL_ROOT" 1>&6
11244 fi
11245
11246 case "${host}" in
11247 *-*-linux* )
11248 mgl_os=linux/gcc/glibc
11249 ;;
11250 *-pc-msdosdjgpp )
11251 mgl_os=dos32/dj2
11252 ;;
11253 *)
11254 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
11255 esac
11256
11257 mgl_lib_type=""
11258
11259 if test "$wxUSE_DEBUG_FLAG" = yes ; then
11260 if test -f $MGL_ROOT/lib/debug/$mgl_os/libmgl.a -o \
11261 -f $MGL_ROOT/lib/debug/$mgl_os/libmgl.so; then
11262 mgl_lib_type=debug
11263 fi
11264 fi
11265 if test "x$mgl_lib_type" = x ; then
11266 if test -f $MGL_ROOT/lib/release/$mgl_os/libmgl.a -o \
11267 -f $MGL_ROOT/lib/release/$mgl_os/libmgl.so; then
11268 mgl_lib_type=release
11269 else
11270 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
11271 fi
11272 fi
11273
11274 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
11275 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
11276
11277 AFMINSTALL=afminstall
11278 TOOLKIT=MGL
11279 GUIDIST=MGL_DIST
11280 fi
11281
11282 if test "$wxUSE_MICROWIN" = 1; then
11283 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
11284 echo "configure:11285: checking for MicroWindows" >&5
11285 if test "x$MICROWINDOWS" = x ; then
11286 echo "$ac_t""not found" 1>&6
11287 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
11288 else
11289 echo "$ac_t""$MICROWINDOWS" 1>&6
11290 fi
11291
11292 if test -f $MICROWINDOWS/lib/libmwin.a; then
11293 echo "$ac_t""MicroWindows' libraries found." 1>&6
11294 else
11295 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
11296 fi
11297
11298 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
11299 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
11300
11301 AFMINSTALL=afminstall
11302 TOOLKIT=MICROWIN
11303 GUIDIST=MICROWIN_DIST
11304
11305 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__ -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
11306 fi
11307
11308 if test "$wxUSE_X11" = 1; then
11309 # If we find X, set shell vars x_includes and x_libraries to the
11310 # paths, otherwise set no_x=yes.
11311 # Uses ac_ vars as temps to allow command line to override cache and checks.
11312 # --without-x overrides everything else, but does not touch the cache.
11313 echo $ac_n "checking for X""... $ac_c" 1>&6
11314 echo "configure:11315: checking for X" >&5
11315
11316 # Check whether --with-x or --without-x was given.
11317 if test "${with_x+set}" = set; then
11318 withval="$with_x"
11319 :
11320 fi
11321
11322 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11323 if test "x$with_x" = xno; then
11324 # The user explicitly disabled X.
11325 have_x=disabled
11326 else
11327 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
11328 # Both variables are already set.
11329 have_x=yes
11330 else
11331 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
11332 echo $ac_n "(cached) $ac_c" 1>&6
11333 else
11334 # One or both of the vars are not set, and there is no cached value.
11335 ac_x_includes=NO ac_x_libraries=NO
11336 rm -fr conftestdir
11337 if mkdir conftestdir; then
11338 cd conftestdir
11339 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
11340 cat > Imakefile <<'EOF'
11341 acfindx:
11342 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
11343 EOF
11344 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
11345 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11346 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
11347 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11348 for ac_extension in a so sl; do
11349 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
11350 test -f $ac_im_libdir/libX11.$ac_extension; then
11351 ac_im_usrlibdir=$ac_im_libdir; break
11352 fi
11353 done
11354 # Screen out bogus values from the imake configuration. They are
11355 # bogus both because they are the default anyway, and because
11356 # using them would break gcc on systems where it needs fixed includes.
11357 case "$ac_im_incroot" in
11358 /usr/include) ;;
11359 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
11360 esac
11361 case "$ac_im_usrlibdir" in
11362 /usr/lib | /lib) ;;
11363 *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
11364 esac
11365 fi
11366 cd ..
11367 rm -fr conftestdir
11368 fi
11369
11370 if test "$ac_x_includes" = NO; then
11371 # Guess where to find include files, by looking for this one X11 .h file.
11372 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
11373
11374 # First, try using that file with no special directory specified.
11375 cat > conftest.$ac_ext <<EOF
11376 #line 11377 "configure"
11377 #include "confdefs.h"
11378 #include <$x_direct_test_include>
11379 EOF
11380 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11381 { (eval echo configure:11382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11382 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11383 if test -z "$ac_err"; then
11384 rm -rf conftest*
11385 # We can compile using X headers with no special include directory.
11386 ac_x_includes=
11387 else
11388 echo "$ac_err" >&5
11389 echo "configure: failed program was:" >&5
11390 cat conftest.$ac_ext >&5
11391 rm -rf conftest*
11392 # Look for the header file in a standard set of common directories.
11393 # Check X11 before X11Rn because it is often a symlink to the current release.
11394 for ac_dir in \
11395 /usr/X11/include \
11396 /usr/X11R6/include \
11397 /usr/X11R5/include \
11398 /usr/X11R4/include \
11399 \
11400 /usr/include/X11 \
11401 /usr/include/X11R6 \
11402 /usr/include/X11R5 \
11403 /usr/include/X11R4 \
11404 \
11405 /usr/local/X11/include \
11406 /usr/local/X11R6/include \
11407 /usr/local/X11R5/include \
11408 /usr/local/X11R4/include \
11409 \
11410 /usr/local/include/X11 \
11411 /usr/local/include/X11R6 \
11412 /usr/local/include/X11R5 \
11413 /usr/local/include/X11R4 \
11414 \
11415 /usr/X386/include \
11416 /usr/x386/include \
11417 /usr/XFree86/include/X11 \
11418 \
11419 /usr/include \
11420 /usr/local/include \
11421 /usr/unsupported/include \
11422 /usr/athena/include \
11423 /usr/local/x11r5/include \
11424 /usr/lpp/Xamples/include \
11425 \
11426 /usr/openwin/include \
11427 /usr/openwin/share/include \
11428 ; \
11429 do
11430 if test -r "$ac_dir/$x_direct_test_include"; then
11431 ac_x_includes=$ac_dir
11432 break
11433 fi
11434 done
11435 fi
11436 rm -f conftest*
11437 fi # $ac_x_includes = NO
11438
11439 if test "$ac_x_libraries" = NO; then
11440 # Check for the libraries.
11441
11442 test -z "$x_direct_test_library" && x_direct_test_library=Xt
11443 test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
11444
11445 # See if we find them without any special options.
11446 # Don't add to $LIBS permanently.
11447 ac_save_LIBS="$LIBS"
11448 LIBS="-l$x_direct_test_library $LIBS"
11449 cat > conftest.$ac_ext <<EOF
11450 #line 11451 "configure"
11451 #include "confdefs.h"
11452
11453 int main() {
11454 ${x_direct_test_function}()
11455 ; return 0; }
11456 EOF
11457 if { (eval echo configure:11458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11458 rm -rf conftest*
11459 LIBS="$ac_save_LIBS"
11460 # We can link X programs with no special library path.
11461 ac_x_libraries=
11462 else
11463 echo "configure: failed program was:" >&5
11464 cat conftest.$ac_ext >&5
11465 rm -rf conftest*
11466 LIBS="$ac_save_LIBS"
11467 # First see if replacing the include by lib works.
11468 # Check X11 before X11Rn because it is often a symlink to the current release.
11469 for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
11470 /usr/X11/lib \
11471 /usr/X11R6/lib \
11472 /usr/X11R5/lib \
11473 /usr/X11R4/lib \
11474 \
11475 /usr/lib/X11 \
11476 /usr/lib/X11R6 \
11477 /usr/lib/X11R5 \
11478 /usr/lib/X11R4 \
11479 \
11480 /usr/local/X11/lib \
11481 /usr/local/X11R6/lib \
11482 /usr/local/X11R5/lib \
11483 /usr/local/X11R4/lib \
11484 \
11485 /usr/local/lib/X11 \
11486 /usr/local/lib/X11R6 \
11487 /usr/local/lib/X11R5 \
11488 /usr/local/lib/X11R4 \
11489 \
11490 /usr/X386/lib \
11491 /usr/x386/lib \
11492 /usr/XFree86/lib/X11 \
11493 \
11494 /usr/lib \
11495 /usr/local/lib \
11496 /usr/unsupported/lib \
11497 /usr/athena/lib \
11498 /usr/local/x11r5/lib \
11499 /usr/lpp/Xamples/lib \
11500 /lib/usr/lib/X11 \
11501 \
11502 /usr/openwin/lib \
11503 /usr/openwin/share/lib \
11504 ; \
11505 do
11506 for ac_extension in a so sl; do
11507 if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
11508 ac_x_libraries=$ac_dir
11509 break 2
11510 fi
11511 done
11512 done
11513 fi
11514 rm -f conftest*
11515 fi # $ac_x_libraries = NO
11516
11517 if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then
11518 # Didn't find X anywhere. Cache the known absence of X.
11519 ac_cv_have_x="have_x=no"
11520 else
11521 # Record where we found X for the cache.
11522 ac_cv_have_x="have_x=yes \
11523 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
11524 fi
11525 fi
11526 fi
11527 eval "$ac_cv_have_x"
11528 fi # $with_x != no
11529
11530 if test "$have_x" != yes; then
11531 echo "$ac_t""$have_x" 1>&6
11532 no_x=yes
11533 else
11534 # If each of the values was on the command line, it overrides each guess.
11535 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11536 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11537 # Update the cache value to reflect the command line values.
11538 ac_cv_have_x="have_x=yes \
11539 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
11540 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
11541 fi
11542
11543 if test "$no_x" = yes; then
11544 # Not all programs may use this symbol, but it does not hurt to define it.
11545 cat >> confdefs.h <<\EOF
11546 #define X_DISPLAY_MISSING 1
11547 EOF
11548
11549 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11550 else
11551 if test -n "$x_includes"; then
11552 X_CFLAGS="$X_CFLAGS -I$x_includes"
11553 fi
11554
11555 # It would also be nice to do this for all -L options, not just this one.
11556 if test -n "$x_libraries"; then
11557 X_LIBS="$X_LIBS -L$x_libraries"
11558 # For Solaris; some versions of Sun CC require a space after -R and
11559 # others require no space. Words are not sufficient . . . .
11560 case "`(uname -sr) 2>/dev/null`" in
11561 "SunOS 5"*)
11562 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
11563 echo "configure:11564: checking whether -R must be followed by a space" >&5
11564 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
11565 cat > conftest.$ac_ext <<EOF
11566 #line 11567 "configure"
11567 #include "confdefs.h"
11568
11569 int main() {
11570
11571 ; return 0; }
11572 EOF
11573 if { (eval echo configure:11574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11574 rm -rf conftest*
11575 ac_R_nospace=yes
11576 else
11577 echo "configure: failed program was:" >&5
11578 cat conftest.$ac_ext >&5
11579 rm -rf conftest*
11580 ac_R_nospace=no
11581 fi
11582 rm -f conftest*
11583 if test $ac_R_nospace = yes; then
11584 echo "$ac_t""no" 1>&6
11585 X_LIBS="$X_LIBS -R$x_libraries"
11586 else
11587 LIBS="$ac_xsave_LIBS -R $x_libraries"
11588 cat > conftest.$ac_ext <<EOF
11589 #line 11590 "configure"
11590 #include "confdefs.h"
11591
11592 int main() {
11593
11594 ; return 0; }
11595 EOF
11596 if { (eval echo configure:11597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11597 rm -rf conftest*
11598 ac_R_space=yes
11599 else
11600 echo "configure: failed program was:" >&5
11601 cat conftest.$ac_ext >&5
11602 rm -rf conftest*
11603 ac_R_space=no
11604 fi
11605 rm -f conftest*
11606 if test $ac_R_space = yes; then
11607 echo "$ac_t""yes" 1>&6
11608 X_LIBS="$X_LIBS -R $x_libraries"
11609 else
11610 echo "$ac_t""neither works" 1>&6
11611 fi
11612 fi
11613 LIBS="$ac_xsave_LIBS"
11614 esac
11615 fi
11616
11617 # Check for system-dependent libraries X programs must link with.
11618 # Do this before checking for the system-independent R6 libraries
11619 # (-lICE), since we may need -lsocket or whatever for X linking.
11620
11621 if test "$ISC" = yes; then
11622 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11623 else
11624 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
11625 # libraries were built with DECnet support. And karl@cs.umb.edu says
11626 # the Alpha needs dnet_stub (dnet does not exist).
11627 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
11628 echo "configure:11629: checking for dnet_ntoa in -ldnet" >&5
11629 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11630 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11631 echo $ac_n "(cached) $ac_c" 1>&6
11632 else
11633 ac_save_LIBS="$LIBS"
11634 LIBS="-ldnet $LIBS"
11635 cat > conftest.$ac_ext <<EOF
11636 #line 11637 "configure"
11637 #include "confdefs.h"
11638 /* Override any gcc2 internal prototype to avoid an error. */
11639 /* We use char because int might match the return type of a gcc2
11640 builtin and then its argument prototype would still apply. */
11641 char dnet_ntoa();
11642
11643 int main() {
11644 dnet_ntoa()
11645 ; return 0; }
11646 EOF
11647 if { (eval echo configure:11648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11648 rm -rf conftest*
11649 eval "ac_cv_lib_$ac_lib_var=yes"
11650 else
11651 echo "configure: failed program was:" >&5
11652 cat conftest.$ac_ext >&5
11653 rm -rf conftest*
11654 eval "ac_cv_lib_$ac_lib_var=no"
11655 fi
11656 rm -f conftest*
11657 LIBS="$ac_save_LIBS"
11658
11659 fi
11660 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11661 echo "$ac_t""yes" 1>&6
11662 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11663 else
11664 echo "$ac_t""no" 1>&6
11665 fi
11666
11667 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11668 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
11669 echo "configure:11670: checking for dnet_ntoa in -ldnet_stub" >&5
11670 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11671 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11672 echo $ac_n "(cached) $ac_c" 1>&6
11673 else
11674 ac_save_LIBS="$LIBS"
11675 LIBS="-ldnet_stub $LIBS"
11676 cat > conftest.$ac_ext <<EOF
11677 #line 11678 "configure"
11678 #include "confdefs.h"
11679 /* Override any gcc2 internal prototype to avoid an error. */
11680 /* We use char because int might match the return type of a gcc2
11681 builtin and then its argument prototype would still apply. */
11682 char dnet_ntoa();
11683
11684 int main() {
11685 dnet_ntoa()
11686 ; return 0; }
11687 EOF
11688 if { (eval echo configure:11689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11689 rm -rf conftest*
11690 eval "ac_cv_lib_$ac_lib_var=yes"
11691 else
11692 echo "configure: failed program was:" >&5
11693 cat conftest.$ac_ext >&5
11694 rm -rf conftest*
11695 eval "ac_cv_lib_$ac_lib_var=no"
11696 fi
11697 rm -f conftest*
11698 LIBS="$ac_save_LIBS"
11699
11700 fi
11701 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11702 echo "$ac_t""yes" 1>&6
11703 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11704 else
11705 echo "$ac_t""no" 1>&6
11706 fi
11707
11708 fi
11709
11710 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11711 # to get the SysV transport functions.
11712 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
11713 # needs -lnsl.
11714 # The nsl library prevents programs from opening the X display
11715 # on Irix 5.2, according to dickey@clark.net.
11716 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
11717 echo "configure:11718: checking for gethostbyname" >&5
11718 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
11719 echo $ac_n "(cached) $ac_c" 1>&6
11720 else
11721 cat > conftest.$ac_ext <<EOF
11722 #line 11723 "configure"
11723 #include "confdefs.h"
11724 /* System header to define __stub macros and hopefully few prototypes,
11725 which can conflict with char gethostbyname(); below. */
11726 #include <assert.h>
11727 /* Override any gcc2 internal prototype to avoid an error. */
11728 /* We use char because int might match the return type of a gcc2
11729 builtin and then its argument prototype would still apply. */
11730 char gethostbyname();
11731
11732 int main() {
11733
11734 /* The GNU C library defines this for functions which it implements
11735 to always fail with ENOSYS. Some functions are actually named
11736 something starting with __ and the normal name is an alias. */
11737 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11738 choke me
11739 #else
11740 gethostbyname();
11741 #endif
11742
11743 ; return 0; }
11744 EOF
11745 if { (eval echo configure:11746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11746 rm -rf conftest*
11747 eval "ac_cv_func_gethostbyname=yes"
11748 else
11749 echo "configure: failed program was:" >&5
11750 cat conftest.$ac_ext >&5
11751 rm -rf conftest*
11752 eval "ac_cv_func_gethostbyname=no"
11753 fi
11754 rm -f conftest*
11755 fi
11756
11757 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
11758 echo "$ac_t""yes" 1>&6
11759 :
11760 else
11761 echo "$ac_t""no" 1>&6
11762 fi
11763
11764 if test $ac_cv_func_gethostbyname = no; then
11765 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
11766 echo "configure:11767: checking for gethostbyname in -lnsl" >&5
11767 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
11768 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11769 echo $ac_n "(cached) $ac_c" 1>&6
11770 else
11771 ac_save_LIBS="$LIBS"
11772 LIBS="-lnsl $LIBS"
11773 cat > conftest.$ac_ext <<EOF
11774 #line 11775 "configure"
11775 #include "confdefs.h"
11776 /* Override any gcc2 internal prototype to avoid an error. */
11777 /* We use char because int might match the return type of a gcc2
11778 builtin and then its argument prototype would still apply. */
11779 char gethostbyname();
11780
11781 int main() {
11782 gethostbyname()
11783 ; return 0; }
11784 EOF
11785 if { (eval echo configure:11786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11786 rm -rf conftest*
11787 eval "ac_cv_lib_$ac_lib_var=yes"
11788 else
11789 echo "configure: failed program was:" >&5
11790 cat conftest.$ac_ext >&5
11791 rm -rf conftest*
11792 eval "ac_cv_lib_$ac_lib_var=no"
11793 fi
11794 rm -f conftest*
11795 LIBS="$ac_save_LIBS"
11796
11797 fi
11798 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11799 echo "$ac_t""yes" 1>&6
11800 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11801 else
11802 echo "$ac_t""no" 1>&6
11803 fi
11804
11805 fi
11806
11807 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11808 # socket/setsockopt and other routines are undefined under SCO ODT
11809 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11810 # on later versions), says simon@lia.di.epfl.ch: it contains
11811 # gethostby* variants that don't use the nameserver (or something).
11812 # -lsocket must be given before -lnsl if both are needed.
11813 # We assume that if connect needs -lnsl, so does gethostbyname.
11814 echo $ac_n "checking for connect""... $ac_c" 1>&6
11815 echo "configure:11816: checking for connect" >&5
11816 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
11817 echo $ac_n "(cached) $ac_c" 1>&6
11818 else
11819 cat > conftest.$ac_ext <<EOF
11820 #line 11821 "configure"
11821 #include "confdefs.h"
11822 /* System header to define __stub macros and hopefully few prototypes,
11823 which can conflict with char connect(); below. */
11824 #include <assert.h>
11825 /* Override any gcc2 internal prototype to avoid an error. */
11826 /* We use char because int might match the return type of a gcc2
11827 builtin and then its argument prototype would still apply. */
11828 char connect();
11829
11830 int main() {
11831
11832 /* The GNU C library defines this for functions which it implements
11833 to always fail with ENOSYS. Some functions are actually named
11834 something starting with __ and the normal name is an alias. */
11835 #if defined (__stub_connect) || defined (__stub___connect)
11836 choke me
11837 #else
11838 connect();
11839 #endif
11840
11841 ; return 0; }
11842 EOF
11843 if { (eval echo configure:11844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11844 rm -rf conftest*
11845 eval "ac_cv_func_connect=yes"
11846 else
11847 echo "configure: failed program was:" >&5
11848 cat conftest.$ac_ext >&5
11849 rm -rf conftest*
11850 eval "ac_cv_func_connect=no"
11851 fi
11852 rm -f conftest*
11853 fi
11854
11855 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
11856 echo "$ac_t""yes" 1>&6
11857 :
11858 else
11859 echo "$ac_t""no" 1>&6
11860 fi
11861
11862 if test $ac_cv_func_connect = no; then
11863 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
11864 echo "configure:11865: checking for connect in -lsocket" >&5
11865 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
11866 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11867 echo $ac_n "(cached) $ac_c" 1>&6
11868 else
11869 ac_save_LIBS="$LIBS"
11870 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11871 cat > conftest.$ac_ext <<EOF
11872 #line 11873 "configure"
11873 #include "confdefs.h"
11874 /* Override any gcc2 internal prototype to avoid an error. */
11875 /* We use char because int might match the return type of a gcc2
11876 builtin and then its argument prototype would still apply. */
11877 char connect();
11878
11879 int main() {
11880 connect()
11881 ; return 0; }
11882 EOF
11883 if { (eval echo configure:11884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11884 rm -rf conftest*
11885 eval "ac_cv_lib_$ac_lib_var=yes"
11886 else
11887 echo "configure: failed program was:" >&5
11888 cat conftest.$ac_ext >&5
11889 rm -rf conftest*
11890 eval "ac_cv_lib_$ac_lib_var=no"
11891 fi
11892 rm -f conftest*
11893 LIBS="$ac_save_LIBS"
11894
11895 fi
11896 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11897 echo "$ac_t""yes" 1>&6
11898 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11899 else
11900 echo "$ac_t""no" 1>&6
11901 fi
11902
11903 fi
11904
11905 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
11906 echo $ac_n "checking for remove""... $ac_c" 1>&6
11907 echo "configure:11908: checking for remove" >&5
11908 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
11909 echo $ac_n "(cached) $ac_c" 1>&6
11910 else
11911 cat > conftest.$ac_ext <<EOF
11912 #line 11913 "configure"
11913 #include "confdefs.h"
11914 /* System header to define __stub macros and hopefully few prototypes,
11915 which can conflict with char remove(); below. */
11916 #include <assert.h>
11917 /* Override any gcc2 internal prototype to avoid an error. */
11918 /* We use char because int might match the return type of a gcc2
11919 builtin and then its argument prototype would still apply. */
11920 char remove();
11921
11922 int main() {
11923
11924 /* The GNU C library defines this for functions which it implements
11925 to always fail with ENOSYS. Some functions are actually named
11926 something starting with __ and the normal name is an alias. */
11927 #if defined (__stub_remove) || defined (__stub___remove)
11928 choke me
11929 #else
11930 remove();
11931 #endif
11932
11933 ; return 0; }
11934 EOF
11935 if { (eval echo configure:11936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11936 rm -rf conftest*
11937 eval "ac_cv_func_remove=yes"
11938 else
11939 echo "configure: failed program was:" >&5
11940 cat conftest.$ac_ext >&5
11941 rm -rf conftest*
11942 eval "ac_cv_func_remove=no"
11943 fi
11944 rm -f conftest*
11945 fi
11946
11947 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
11948 echo "$ac_t""yes" 1>&6
11949 :
11950 else
11951 echo "$ac_t""no" 1>&6
11952 fi
11953
11954 if test $ac_cv_func_remove = no; then
11955 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
11956 echo "configure:11957: checking for remove in -lposix" >&5
11957 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
11958 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11959 echo $ac_n "(cached) $ac_c" 1>&6
11960 else
11961 ac_save_LIBS="$LIBS"
11962 LIBS="-lposix $LIBS"
11963 cat > conftest.$ac_ext <<EOF
11964 #line 11965 "configure"
11965 #include "confdefs.h"
11966 /* Override any gcc2 internal prototype to avoid an error. */
11967 /* We use char because int might match the return type of a gcc2
11968 builtin and then its argument prototype would still apply. */
11969 char remove();
11970
11971 int main() {
11972 remove()
11973 ; return 0; }
11974 EOF
11975 if { (eval echo configure:11976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11976 rm -rf conftest*
11977 eval "ac_cv_lib_$ac_lib_var=yes"
11978 else
11979 echo "configure: failed program was:" >&5
11980 cat conftest.$ac_ext >&5
11981 rm -rf conftest*
11982 eval "ac_cv_lib_$ac_lib_var=no"
11983 fi
11984 rm -f conftest*
11985 LIBS="$ac_save_LIBS"
11986
11987 fi
11988 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11989 echo "$ac_t""yes" 1>&6
11990 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11991 else
11992 echo "$ac_t""no" 1>&6
11993 fi
11994
11995 fi
11996
11997 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11998 echo $ac_n "checking for shmat""... $ac_c" 1>&6
11999 echo "configure:12000: checking for shmat" >&5
12000 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
12001 echo $ac_n "(cached) $ac_c" 1>&6
12002 else
12003 cat > conftest.$ac_ext <<EOF
12004 #line 12005 "configure"
12005 #include "confdefs.h"
12006 /* System header to define __stub macros and hopefully few prototypes,
12007 which can conflict with char shmat(); below. */
12008 #include <assert.h>
12009 /* Override any gcc2 internal prototype to avoid an error. */
12010 /* We use char because int might match the return type of a gcc2
12011 builtin and then its argument prototype would still apply. */
12012 char shmat();
12013
12014 int main() {
12015
12016 /* The GNU C library defines this for functions which it implements
12017 to always fail with ENOSYS. Some functions are actually named
12018 something starting with __ and the normal name is an alias. */
12019 #if defined (__stub_shmat) || defined (__stub___shmat)
12020 choke me
12021 #else
12022 shmat();
12023 #endif
12024
12025 ; return 0; }
12026 EOF
12027 if { (eval echo configure:12028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12028 rm -rf conftest*
12029 eval "ac_cv_func_shmat=yes"
12030 else
12031 echo "configure: failed program was:" >&5
12032 cat conftest.$ac_ext >&5
12033 rm -rf conftest*
12034 eval "ac_cv_func_shmat=no"
12035 fi
12036 rm -f conftest*
12037 fi
12038
12039 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
12040 echo "$ac_t""yes" 1>&6
12041 :
12042 else
12043 echo "$ac_t""no" 1>&6
12044 fi
12045
12046 if test $ac_cv_func_shmat = no; then
12047 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
12048 echo "configure:12049: checking for shmat in -lipc" >&5
12049 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
12050 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12051 echo $ac_n "(cached) $ac_c" 1>&6
12052 else
12053 ac_save_LIBS="$LIBS"
12054 LIBS="-lipc $LIBS"
12055 cat > conftest.$ac_ext <<EOF
12056 #line 12057 "configure"
12057 #include "confdefs.h"
12058 /* Override any gcc2 internal prototype to avoid an error. */
12059 /* We use char because int might match the return type of a gcc2
12060 builtin and then its argument prototype would still apply. */
12061 char shmat();
12062
12063 int main() {
12064 shmat()
12065 ; return 0; }
12066 EOF
12067 if { (eval echo configure:12068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12068 rm -rf conftest*
12069 eval "ac_cv_lib_$ac_lib_var=yes"
12070 else
12071 echo "configure: failed program was:" >&5
12072 cat conftest.$ac_ext >&5
12073 rm -rf conftest*
12074 eval "ac_cv_lib_$ac_lib_var=no"
12075 fi
12076 rm -f conftest*
12077 LIBS="$ac_save_LIBS"
12078
12079 fi
12080 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12081 echo "$ac_t""yes" 1>&6
12082 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
12083 else
12084 echo "$ac_t""no" 1>&6
12085 fi
12086
12087 fi
12088 fi
12089
12090 # Check for libraries that X11R6 Xt/Xaw programs need.
12091 ac_save_LDFLAGS="$LDFLAGS"
12092 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
12093 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12094 # check for ICE first), but we must link in the order -lSM -lICE or
12095 # we get undefined symbols. So assume we have SM if we have ICE.
12096 # These have to be linked with before -lX11, unlike the other
12097 # libraries we check for below, so use a different variable.
12098 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
12099 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
12100 echo "configure:12101: checking for IceConnectionNumber in -lICE" >&5
12101 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
12102 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12103 echo $ac_n "(cached) $ac_c" 1>&6
12104 else
12105 ac_save_LIBS="$LIBS"
12106 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
12107 cat > conftest.$ac_ext <<EOF
12108 #line 12109 "configure"
12109 #include "confdefs.h"
12110 /* Override any gcc2 internal prototype to avoid an error. */
12111 /* We use char because int might match the return type of a gcc2
12112 builtin and then its argument prototype would still apply. */
12113 char IceConnectionNumber();
12114
12115 int main() {
12116 IceConnectionNumber()
12117 ; return 0; }
12118 EOF
12119 if { (eval echo configure:12120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12120 rm -rf conftest*
12121 eval "ac_cv_lib_$ac_lib_var=yes"
12122 else
12123 echo "configure: failed program was:" >&5
12124 cat conftest.$ac_ext >&5
12125 rm -rf conftest*
12126 eval "ac_cv_lib_$ac_lib_var=no"
12127 fi
12128 rm -f conftest*
12129 LIBS="$ac_save_LIBS"
12130
12131 fi
12132 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12133 echo "$ac_t""yes" 1>&6
12134 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
12135 else
12136 echo "$ac_t""no" 1>&6
12137 fi
12138
12139 LDFLAGS="$ac_save_LDFLAGS"
12140
12141 fi
12142
12143
12144 if test "$no_x" = "yes"; then
12145 { echo "configure: error: X11 not found" 1>&2; exit 1; }
12146 fi
12147
12148 GUI_TK_LIBRARY="$X_LIBS"
12149 TOOLKIT_INCLUDE="$X_CFLAGS"
12150 AFMINSTALL=afminstall
12151 COMPILED_X_PROGRAM=0
12152
12153 if test "$wxUSE_NANOX" = "yes"; then
12154 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
12155 echo "configure:12156: checking for MicroWindows/NanoX distribution" >&5
12156 if test "x$MICROWIN" = x ; then
12157 echo "$ac_t""not found" 1>&6
12158 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
12159 else
12160 echo "$ac_t""$MICROWIN" 1>&6
12161 cat >> confdefs.h <<\EOF
12162 #define wxUSE_NANOX 1
12163 EOF
12164
12165 fi
12166 fi
12167
12168 xpm_link=
12169 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
12170 echo "configure:12171: checking for Xpm library" >&5
12171
12172 ac_find_libraries=
12173 for ac_dir in $SEARCH_LIB;
12174 do
12175 for ac_extension in a so sl dylib; do
12176 if test -f "$ac_dir/libXpm.$ac_extension"; then
12177 ac_find_libraries=$ac_dir
12178 break 2
12179 fi
12180 done
12181 done
12182
12183 if test "$ac_find_libraries" != "" ; then
12184
12185 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
12186 result=$?
12187 if test $result = 0; then
12188 ac_path_to_link=""
12189 else
12190 ac_path_to_link=" -L$ac_find_libraries"
12191 fi
12192
12193 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
12194 xpm_link=" -lXpm"
12195 cat >> confdefs.h <<\EOF
12196 #define wxHAVE_LIB_XPM 1
12197 EOF
12198
12199 echo "$ac_t""found at $ac_find_libraries" 1>&6
12200 else
12201 cat > conftest.$ac_ext <<EOF
12202 #line 12203 "configure"
12203 #include "confdefs.h"
12204
12205 #include <X11/xpm.h>
12206
12207 int main() {
12208
12209 int version;
12210 version = XpmLibraryVersion();
12211
12212 ; return 0; }
12213 EOF
12214 if { (eval echo configure:12215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12215 rm -rf conftest*
12216
12217 xpm_link=" -lXpm"
12218 cat >> confdefs.h <<\EOF
12219 #define wxHAVE_LIB_XPM 1
12220 EOF
12221
12222 echo "$ac_t""found in default search path" 1>&6
12223 COMPILED_X_PROGRAM=0
12224
12225 else
12226 echo "configure: failed program was:" >&5
12227 cat conftest.$ac_ext >&5
12228 rm -rf conftest*
12229
12230 echo "$ac_t""no" 1>&6
12231 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12232
12233
12234 fi
12235 rm -f conftest*
12236 fi
12237
12238 if test "$wxUSE_NANOX" = "yes"; then
12239 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
12240 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__NANOX__ -DMWPIXEL_FORMAT=MWPF_TRUECOLOR0888 -DHAVE_FILEIO -DHAVE_BMP_SUPPORT=1 -DHAVE_GIF_SUPPORT=1 -DHAVE_PNM_SUPPORT=1 -DHAVE_XPM_SUPPORT=1 -DLINUX=1 -DUNIX=1 -DUSE_EXPOSURE -DSCREEN_HEIGHT=480 -DSCREEN_WIDTH=640 -DSCREEN_DEPTH=4 -DX11=1"
12241 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
12242 else
12243 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
12244 fi
12245
12246 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
12247 TOOLKIT=X11
12248 GUIDIST=X11_DIST
12249 fi
12250
12251 if test "$wxUSE_WINE" = 1; then
12252 ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'`
12253 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
12254 echo "configure:12255: checking for windows.h" >&5
12255 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12256 echo $ac_n "(cached) $ac_c" 1>&6
12257 else
12258 cat > conftest.$ac_ext <<EOF
12259 #line 12260 "configure"
12260 #include "confdefs.h"
12261 #include <windows.h>
12262 EOF
12263 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12264 { (eval echo configure:12265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12265 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12266 if test -z "$ac_err"; then
12267 rm -rf conftest*
12268 eval "ac_cv_header_$ac_safe=yes"
12269 else
12270 echo "$ac_err" >&5
12271 echo "configure: failed program was:" >&5
12272 cat conftest.$ac_ext >&5
12273 rm -rf conftest*
12274 eval "ac_cv_header_$ac_safe=no"
12275 fi
12276 rm -f conftest*
12277 fi
12278 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12279 echo "$ac_t""yes" 1>&6
12280 :
12281 else
12282 echo "$ac_t""no" 1>&6
12283
12284 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
12285
12286 fi
12287
12288
12289 xpm_link=
12290 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
12291 echo "configure:12292: checking for Xpm library" >&5
12292
12293 ac_find_libraries=
12294 for ac_dir in $SEARCH_LIB;
12295 do
12296 for ac_extension in a so sl dylib; do
12297 if test -f "$ac_dir/libXpm.$ac_extension"; then
12298 ac_find_libraries=$ac_dir
12299 break 2
12300 fi
12301 done
12302 done
12303
12304 if test "$ac_find_libraries" != "" ; then
12305 GUI_TK_LIBRARY="-L$ac_find_libraries"
12306 xpm_link=" -lXpm"
12307 cat >> confdefs.h <<\EOF
12308 #define wxHAVE_LIB_XPM 1
12309 EOF
12310
12311 echo "$ac_t""found at $ac_find_libraries" 1>&6
12312 else
12313 echo "$ac_t""no" 1>&6
12314 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12315 fi
12316
12317 mesa_link=
12318 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
12319 echo "configure:12320: checking for Mesa library" >&5
12320
12321 ac_find_libraries=
12322 for ac_dir in $SEARCH_LIB;
12323 do
12324 for ac_extension in a so sl dylib; do
12325 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
12326 ac_find_libraries=$ac_dir
12327 break 2
12328 fi
12329 done
12330 done
12331
12332 if test "$ac_find_libraries" != "" ; then
12333 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -L$ac_find_libraries"
12334 mesa_link=" -lMesaGL"
12335 echo "$ac_t""found at $ac_find_libraries" 1>&6
12336 else
12337 { echo "configure: error: no" 1>&2; exit 1; }
12338 fi
12339
12340 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
12341 TOOLKIT=MSW
12342 GUIDIST=MSW_DIST
12343 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXWINE__"
12344 fi
12345
12346 if test "$wxUSE_MOTIF" = 1; then
12347 if test "$no_x" = yes; then
12348 # Not all programs may use this symbol, but it does not hurt to define it.
12349 cat >> confdefs.h <<\EOF
12350 #define X_DISPLAY_MISSING 1
12351 EOF
12352
12353 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
12354 else
12355 if test -n "$x_includes"; then
12356 X_CFLAGS="$X_CFLAGS -I$x_includes"
12357 fi
12358
12359 # It would also be nice to do this for all -L options, not just this one.
12360 if test -n "$x_libraries"; then
12361 X_LIBS="$X_LIBS -L$x_libraries"
12362 # For Solaris; some versions of Sun CC require a space after -R and
12363 # others require no space. Words are not sufficient . . . .
12364 case "`(uname -sr) 2>/dev/null`" in
12365 "SunOS 5"*)
12366 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
12367 echo "configure:12368: checking whether -R must be followed by a space" >&5
12368 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
12369 cat > conftest.$ac_ext <<EOF
12370 #line 12371 "configure"
12371 #include "confdefs.h"
12372
12373 int main() {
12374
12375 ; return 0; }
12376 EOF
12377 if { (eval echo configure:12378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12378 rm -rf conftest*
12379 ac_R_nospace=yes
12380 else
12381 echo "configure: failed program was:" >&5
12382 cat conftest.$ac_ext >&5
12383 rm -rf conftest*
12384 ac_R_nospace=no
12385 fi
12386 rm -f conftest*
12387 if test $ac_R_nospace = yes; then
12388 echo "$ac_t""no" 1>&6
12389 X_LIBS="$X_LIBS -R$x_libraries"
12390 else
12391 LIBS="$ac_xsave_LIBS -R $x_libraries"
12392 cat > conftest.$ac_ext <<EOF
12393 #line 12394 "configure"
12394 #include "confdefs.h"
12395
12396 int main() {
12397
12398 ; return 0; }
12399 EOF
12400 if { (eval echo configure:12401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12401 rm -rf conftest*
12402 ac_R_space=yes
12403 else
12404 echo "configure: failed program was:" >&5
12405 cat conftest.$ac_ext >&5
12406 rm -rf conftest*
12407 ac_R_space=no
12408 fi
12409 rm -f conftest*
12410 if test $ac_R_space = yes; then
12411 echo "$ac_t""yes" 1>&6
12412 X_LIBS="$X_LIBS -R $x_libraries"
12413 else
12414 echo "$ac_t""neither works" 1>&6
12415 fi
12416 fi
12417 LIBS="$ac_xsave_LIBS"
12418 esac
12419 fi
12420
12421 # Check for system-dependent libraries X programs must link with.
12422 # Do this before checking for the system-independent R6 libraries
12423 # (-lICE), since we may need -lsocket or whatever for X linking.
12424
12425 if test "$ISC" = yes; then
12426 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
12427 else
12428 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
12429 # libraries were built with DECnet support. And karl@cs.umb.edu says
12430 # the Alpha needs dnet_stub (dnet does not exist).
12431 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
12432 echo "configure:12433: checking for dnet_ntoa in -ldnet" >&5
12433 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
12434 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12435 echo $ac_n "(cached) $ac_c" 1>&6
12436 else
12437 ac_save_LIBS="$LIBS"
12438 LIBS="-ldnet $LIBS"
12439 cat > conftest.$ac_ext <<EOF
12440 #line 12441 "configure"
12441 #include "confdefs.h"
12442 /* Override any gcc2 internal prototype to avoid an error. */
12443 /* We use char because int might match the return type of a gcc2
12444 builtin and then its argument prototype would still apply. */
12445 char dnet_ntoa();
12446
12447 int main() {
12448 dnet_ntoa()
12449 ; return 0; }
12450 EOF
12451 if { (eval echo configure:12452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12452 rm -rf conftest*
12453 eval "ac_cv_lib_$ac_lib_var=yes"
12454 else
12455 echo "configure: failed program was:" >&5
12456 cat conftest.$ac_ext >&5
12457 rm -rf conftest*
12458 eval "ac_cv_lib_$ac_lib_var=no"
12459 fi
12460 rm -f conftest*
12461 LIBS="$ac_save_LIBS"
12462
12463 fi
12464 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12465 echo "$ac_t""yes" 1>&6
12466 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
12467 else
12468 echo "$ac_t""no" 1>&6
12469 fi
12470
12471 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
12472 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
12473 echo "configure:12474: checking for dnet_ntoa in -ldnet_stub" >&5
12474 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
12475 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12476 echo $ac_n "(cached) $ac_c" 1>&6
12477 else
12478 ac_save_LIBS="$LIBS"
12479 LIBS="-ldnet_stub $LIBS"
12480 cat > conftest.$ac_ext <<EOF
12481 #line 12482 "configure"
12482 #include "confdefs.h"
12483 /* Override any gcc2 internal prototype to avoid an error. */
12484 /* We use char because int might match the return type of a gcc2
12485 builtin and then its argument prototype would still apply. */
12486 char dnet_ntoa();
12487
12488 int main() {
12489 dnet_ntoa()
12490 ; return 0; }
12491 EOF
12492 if { (eval echo configure:12493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12493 rm -rf conftest*
12494 eval "ac_cv_lib_$ac_lib_var=yes"
12495 else
12496 echo "configure: failed program was:" >&5
12497 cat conftest.$ac_ext >&5
12498 rm -rf conftest*
12499 eval "ac_cv_lib_$ac_lib_var=no"
12500 fi
12501 rm -f conftest*
12502 LIBS="$ac_save_LIBS"
12503
12504 fi
12505 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12506 echo "$ac_t""yes" 1>&6
12507 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
12508 else
12509 echo "$ac_t""no" 1>&6
12510 fi
12511
12512 fi
12513
12514 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
12515 # to get the SysV transport functions.
12516 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
12517 # needs -lnsl.
12518 # The nsl library prevents programs from opening the X display
12519 # on Irix 5.2, according to dickey@clark.net.
12520 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
12521 echo "configure:12522: checking for gethostbyname" >&5
12522 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
12523 echo $ac_n "(cached) $ac_c" 1>&6
12524 else
12525 cat > conftest.$ac_ext <<EOF
12526 #line 12527 "configure"
12527 #include "confdefs.h"
12528 /* System header to define __stub macros and hopefully few prototypes,
12529 which can conflict with char gethostbyname(); below. */
12530 #include <assert.h>
12531 /* Override any gcc2 internal prototype to avoid an error. */
12532 /* We use char because int might match the return type of a gcc2
12533 builtin and then its argument prototype would still apply. */
12534 char gethostbyname();
12535
12536 int main() {
12537
12538 /* The GNU C library defines this for functions which it implements
12539 to always fail with ENOSYS. Some functions are actually named
12540 something starting with __ and the normal name is an alias. */
12541 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
12542 choke me
12543 #else
12544 gethostbyname();
12545 #endif
12546
12547 ; return 0; }
12548 EOF
12549 if { (eval echo configure:12550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12550 rm -rf conftest*
12551 eval "ac_cv_func_gethostbyname=yes"
12552 else
12553 echo "configure: failed program was:" >&5
12554 cat conftest.$ac_ext >&5
12555 rm -rf conftest*
12556 eval "ac_cv_func_gethostbyname=no"
12557 fi
12558 rm -f conftest*
12559 fi
12560
12561 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
12562 echo "$ac_t""yes" 1>&6
12563 :
12564 else
12565 echo "$ac_t""no" 1>&6
12566 fi
12567
12568 if test $ac_cv_func_gethostbyname = no; then
12569 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
12570 echo "configure:12571: checking for gethostbyname in -lnsl" >&5
12571 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
12572 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12573 echo $ac_n "(cached) $ac_c" 1>&6
12574 else
12575 ac_save_LIBS="$LIBS"
12576 LIBS="-lnsl $LIBS"
12577 cat > conftest.$ac_ext <<EOF
12578 #line 12579 "configure"
12579 #include "confdefs.h"
12580 /* Override any gcc2 internal prototype to avoid an error. */
12581 /* We use char because int might match the return type of a gcc2
12582 builtin and then its argument prototype would still apply. */
12583 char gethostbyname();
12584
12585 int main() {
12586 gethostbyname()
12587 ; return 0; }
12588 EOF
12589 if { (eval echo configure:12590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12590 rm -rf conftest*
12591 eval "ac_cv_lib_$ac_lib_var=yes"
12592 else
12593 echo "configure: failed program was:" >&5
12594 cat conftest.$ac_ext >&5
12595 rm -rf conftest*
12596 eval "ac_cv_lib_$ac_lib_var=no"
12597 fi
12598 rm -f conftest*
12599 LIBS="$ac_save_LIBS"
12600
12601 fi
12602 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12603 echo "$ac_t""yes" 1>&6
12604 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
12605 else
12606 echo "$ac_t""no" 1>&6
12607 fi
12608
12609 fi
12610
12611 # lieder@skyler.mavd.honeywell.com says without -lsocket,
12612 # socket/setsockopt and other routines are undefined under SCO ODT
12613 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
12614 # on later versions), says simon@lia.di.epfl.ch: it contains
12615 # gethostby* variants that don't use the nameserver (or something).
12616 # -lsocket must be given before -lnsl if both are needed.
12617 # We assume that if connect needs -lnsl, so does gethostbyname.
12618 echo $ac_n "checking for connect""... $ac_c" 1>&6
12619 echo "configure:12620: checking for connect" >&5
12620 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
12621 echo $ac_n "(cached) $ac_c" 1>&6
12622 else
12623 cat > conftest.$ac_ext <<EOF
12624 #line 12625 "configure"
12625 #include "confdefs.h"
12626 /* System header to define __stub macros and hopefully few prototypes,
12627 which can conflict with char connect(); below. */
12628 #include <assert.h>
12629 /* Override any gcc2 internal prototype to avoid an error. */
12630 /* We use char because int might match the return type of a gcc2
12631 builtin and then its argument prototype would still apply. */
12632 char connect();
12633
12634 int main() {
12635
12636 /* The GNU C library defines this for functions which it implements
12637 to always fail with ENOSYS. Some functions are actually named
12638 something starting with __ and the normal name is an alias. */
12639 #if defined (__stub_connect) || defined (__stub___connect)
12640 choke me
12641 #else
12642 connect();
12643 #endif
12644
12645 ; return 0; }
12646 EOF
12647 if { (eval echo configure:12648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12648 rm -rf conftest*
12649 eval "ac_cv_func_connect=yes"
12650 else
12651 echo "configure: failed program was:" >&5
12652 cat conftest.$ac_ext >&5
12653 rm -rf conftest*
12654 eval "ac_cv_func_connect=no"
12655 fi
12656 rm -f conftest*
12657 fi
12658
12659 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
12660 echo "$ac_t""yes" 1>&6
12661 :
12662 else
12663 echo "$ac_t""no" 1>&6
12664 fi
12665
12666 if test $ac_cv_func_connect = no; then
12667 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
12668 echo "configure:12669: checking for connect in -lsocket" >&5
12669 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
12670 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12671 echo $ac_n "(cached) $ac_c" 1>&6
12672 else
12673 ac_save_LIBS="$LIBS"
12674 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
12675 cat > conftest.$ac_ext <<EOF
12676 #line 12677 "configure"
12677 #include "confdefs.h"
12678 /* Override any gcc2 internal prototype to avoid an error. */
12679 /* We use char because int might match the return type of a gcc2
12680 builtin and then its argument prototype would still apply. */
12681 char connect();
12682
12683 int main() {
12684 connect()
12685 ; return 0; }
12686 EOF
12687 if { (eval echo configure:12688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12688 rm -rf conftest*
12689 eval "ac_cv_lib_$ac_lib_var=yes"
12690 else
12691 echo "configure: failed program was:" >&5
12692 cat conftest.$ac_ext >&5
12693 rm -rf conftest*
12694 eval "ac_cv_lib_$ac_lib_var=no"
12695 fi
12696 rm -f conftest*
12697 LIBS="$ac_save_LIBS"
12698
12699 fi
12700 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12701 echo "$ac_t""yes" 1>&6
12702 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
12703 else
12704 echo "$ac_t""no" 1>&6
12705 fi
12706
12707 fi
12708
12709 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
12710 echo $ac_n "checking for remove""... $ac_c" 1>&6
12711 echo "configure:12712: checking for remove" >&5
12712 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
12713 echo $ac_n "(cached) $ac_c" 1>&6
12714 else
12715 cat > conftest.$ac_ext <<EOF
12716 #line 12717 "configure"
12717 #include "confdefs.h"
12718 /* System header to define __stub macros and hopefully few prototypes,
12719 which can conflict with char remove(); below. */
12720 #include <assert.h>
12721 /* Override any gcc2 internal prototype to avoid an error. */
12722 /* We use char because int might match the return type of a gcc2
12723 builtin and then its argument prototype would still apply. */
12724 char remove();
12725
12726 int main() {
12727
12728 /* The GNU C library defines this for functions which it implements
12729 to always fail with ENOSYS. Some functions are actually named
12730 something starting with __ and the normal name is an alias. */
12731 #if defined (__stub_remove) || defined (__stub___remove)
12732 choke me
12733 #else
12734 remove();
12735 #endif
12736
12737 ; return 0; }
12738 EOF
12739 if { (eval echo configure:12740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12740 rm -rf conftest*
12741 eval "ac_cv_func_remove=yes"
12742 else
12743 echo "configure: failed program was:" >&5
12744 cat conftest.$ac_ext >&5
12745 rm -rf conftest*
12746 eval "ac_cv_func_remove=no"
12747 fi
12748 rm -f conftest*
12749 fi
12750
12751 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
12752 echo "$ac_t""yes" 1>&6
12753 :
12754 else
12755 echo "$ac_t""no" 1>&6
12756 fi
12757
12758 if test $ac_cv_func_remove = no; then
12759 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
12760 echo "configure:12761: checking for remove in -lposix" >&5
12761 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
12762 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12763 echo $ac_n "(cached) $ac_c" 1>&6
12764 else
12765 ac_save_LIBS="$LIBS"
12766 LIBS="-lposix $LIBS"
12767 cat > conftest.$ac_ext <<EOF
12768 #line 12769 "configure"
12769 #include "confdefs.h"
12770 /* Override any gcc2 internal prototype to avoid an error. */
12771 /* We use char because int might match the return type of a gcc2
12772 builtin and then its argument prototype would still apply. */
12773 char remove();
12774
12775 int main() {
12776 remove()
12777 ; return 0; }
12778 EOF
12779 if { (eval echo configure:12780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12780 rm -rf conftest*
12781 eval "ac_cv_lib_$ac_lib_var=yes"
12782 else
12783 echo "configure: failed program was:" >&5
12784 cat conftest.$ac_ext >&5
12785 rm -rf conftest*
12786 eval "ac_cv_lib_$ac_lib_var=no"
12787 fi
12788 rm -f conftest*
12789 LIBS="$ac_save_LIBS"
12790
12791 fi
12792 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12793 echo "$ac_t""yes" 1>&6
12794 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
12795 else
12796 echo "$ac_t""no" 1>&6
12797 fi
12798
12799 fi
12800
12801 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12802 echo $ac_n "checking for shmat""... $ac_c" 1>&6
12803 echo "configure:12804: checking for shmat" >&5
12804 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
12805 echo $ac_n "(cached) $ac_c" 1>&6
12806 else
12807 cat > conftest.$ac_ext <<EOF
12808 #line 12809 "configure"
12809 #include "confdefs.h"
12810 /* System header to define __stub macros and hopefully few prototypes,
12811 which can conflict with char shmat(); below. */
12812 #include <assert.h>
12813 /* Override any gcc2 internal prototype to avoid an error. */
12814 /* We use char because int might match the return type of a gcc2
12815 builtin and then its argument prototype would still apply. */
12816 char shmat();
12817
12818 int main() {
12819
12820 /* The GNU C library defines this for functions which it implements
12821 to always fail with ENOSYS. Some functions are actually named
12822 something starting with __ and the normal name is an alias. */
12823 #if defined (__stub_shmat) || defined (__stub___shmat)
12824 choke me
12825 #else
12826 shmat();
12827 #endif
12828
12829 ; return 0; }
12830 EOF
12831 if { (eval echo configure:12832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12832 rm -rf conftest*
12833 eval "ac_cv_func_shmat=yes"
12834 else
12835 echo "configure: failed program was:" >&5
12836 cat conftest.$ac_ext >&5
12837 rm -rf conftest*
12838 eval "ac_cv_func_shmat=no"
12839 fi
12840 rm -f conftest*
12841 fi
12842
12843 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
12844 echo "$ac_t""yes" 1>&6
12845 :
12846 else
12847 echo "$ac_t""no" 1>&6
12848 fi
12849
12850 if test $ac_cv_func_shmat = no; then
12851 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
12852 echo "configure:12853: checking for shmat in -lipc" >&5
12853 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
12854 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12855 echo $ac_n "(cached) $ac_c" 1>&6
12856 else
12857 ac_save_LIBS="$LIBS"
12858 LIBS="-lipc $LIBS"
12859 cat > conftest.$ac_ext <<EOF
12860 #line 12861 "configure"
12861 #include "confdefs.h"
12862 /* Override any gcc2 internal prototype to avoid an error. */
12863 /* We use char because int might match the return type of a gcc2
12864 builtin and then its argument prototype would still apply. */
12865 char shmat();
12866
12867 int main() {
12868 shmat()
12869 ; return 0; }
12870 EOF
12871 if { (eval echo configure:12872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12872 rm -rf conftest*
12873 eval "ac_cv_lib_$ac_lib_var=yes"
12874 else
12875 echo "configure: failed program was:" >&5
12876 cat conftest.$ac_ext >&5
12877 rm -rf conftest*
12878 eval "ac_cv_lib_$ac_lib_var=no"
12879 fi
12880 rm -f conftest*
12881 LIBS="$ac_save_LIBS"
12882
12883 fi
12884 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12885 echo "$ac_t""yes" 1>&6
12886 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
12887 else
12888 echo "$ac_t""no" 1>&6
12889 fi
12890
12891 fi
12892 fi
12893
12894 # Check for libraries that X11R6 Xt/Xaw programs need.
12895 ac_save_LDFLAGS="$LDFLAGS"
12896 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
12897 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12898 # check for ICE first), but we must link in the order -lSM -lICE or
12899 # we get undefined symbols. So assume we have SM if we have ICE.
12900 # These have to be linked with before -lX11, unlike the other
12901 # libraries we check for below, so use a different variable.
12902 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
12903 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
12904 echo "configure:12905: checking for IceConnectionNumber in -lICE" >&5
12905 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
12906 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12907 echo $ac_n "(cached) $ac_c" 1>&6
12908 else
12909 ac_save_LIBS="$LIBS"
12910 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
12911 cat > conftest.$ac_ext <<EOF
12912 #line 12913 "configure"
12913 #include "confdefs.h"
12914 /* Override any gcc2 internal prototype to avoid an error. */
12915 /* We use char because int might match the return type of a gcc2
12916 builtin and then its argument prototype would still apply. */
12917 char IceConnectionNumber();
12918
12919 int main() {
12920 IceConnectionNumber()
12921 ; return 0; }
12922 EOF
12923 if { (eval echo configure:12924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12924 rm -rf conftest*
12925 eval "ac_cv_lib_$ac_lib_var=yes"
12926 else
12927 echo "configure: failed program was:" >&5
12928 cat conftest.$ac_ext >&5
12929 rm -rf conftest*
12930 eval "ac_cv_lib_$ac_lib_var=no"
12931 fi
12932 rm -f conftest*
12933 LIBS="$ac_save_LIBS"
12934
12935 fi
12936 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12937 echo "$ac_t""yes" 1>&6
12938 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
12939 else
12940 echo "$ac_t""no" 1>&6
12941 fi
12942
12943 LDFLAGS="$ac_save_LDFLAGS"
12944
12945 fi
12946
12947
12948 if test "$no_x" = "yes"; then
12949 { echo "configure: error: X11 not found" 1>&2; exit 1; }
12950 fi
12951
12952 GUI_TK_LIBRARY="$X_LIBS"
12953 TOOLKIT_INCLUDE="$X_CFLAGS"
12954 AFMINSTALL=afminstall
12955 COMPILED_X_PROGRAM=0
12956
12957 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
12958 echo "configure:12959: checking for Motif/Lesstif headers" >&5
12959
12960 ac_find_includes=
12961 for ac_dir in $SEARCH_INCLUDE;
12962 do
12963 if test -f "$ac_dir/Xm/Xm.h"; then
12964 ac_find_includes=$ac_dir
12965 break
12966 fi
12967 done
12968
12969 if test "$ac_find_includes" != "" ; then
12970 echo "$ac_t""found $ac_find_includes" 1>&6
12971 else
12972 cat > conftest.$ac_ext <<EOF
12973 #line 12974 "configure"
12974 #include "confdefs.h"
12975
12976 #include <Xm/Xm.h>
12977
12978 int main() {
12979
12980 int version;
12981 version = xmUseVersion;
12982
12983 ; return 0; }
12984 EOF
12985 if { (eval echo configure:12986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12986 rm -rf conftest*
12987
12988 echo "$ac_t""found in default search path" 1>&6
12989 COMPILED_X_PROGRAM=1
12990
12991 else
12992 echo "configure: failed program was:" >&5
12993 cat conftest.$ac_ext >&5
12994 rm -rf conftest*
12995
12996 echo "$ac_t""no" 1>&6
12997 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
12998
12999
13000 fi
13001 rm -f conftest*
13002 fi
13003
13004 if test "$COMPILED_X_PROGRAM" = 0; then
13005 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
13006 echo "configure:13007: checking for Motif/Lesstif library" >&5
13007
13008 ac_find_libraries=
13009 for ac_dir in $SEARCH_LIB;
13010 do
13011 for ac_extension in a so sl dylib; do
13012 if test -f "$ac_dir/libXm.$ac_extension"; then
13013 ac_find_libraries=$ac_dir
13014 break 2
13015 fi
13016 done
13017 done
13018
13019 if test "$ac_find_libraries" != "" ; then
13020
13021 ac_path_to_include=$ac_find_includes
13022 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
13023 result=$?
13024 if test $result = 0; then
13025 ac_path_to_include=""
13026 else
13027 ac_path_to_include=" -I$ac_find_includes"
13028 fi
13029
13030
13031 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
13032 result=$?
13033 if test $result = 0; then
13034 ac_path_to_link=""
13035 else
13036 ac_path_to_link=" -L$ac_find_libraries"
13037 fi
13038
13039
13040 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
13041 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
13042 echo "$ac_t""found at $ac_find_libraries" 1>&6
13043 else
13044 cat > conftest.$ac_ext <<EOF
13045 #line 13046 "configure"
13046 #include "confdefs.h"
13047
13048 #include <Xm/Xm.h>
13049
13050 int main() {
13051
13052 int version;
13053 version = xmUseVersion;
13054
13055 ; return 0; }
13056 EOF
13057 if { (eval echo configure:13058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13058 rm -rf conftest*
13059
13060 echo "$ac_t""found in default search path" 1>&6
13061 COMPILED_X_PROGRAM=1
13062
13063 else
13064 echo "configure: failed program was:" >&5
13065 cat conftest.$ac_ext >&5
13066 rm -rf conftest*
13067
13068 echo "$ac_t""no" 1>&6
13069 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
13070
13071
13072 fi
13073 rm -f conftest*
13074 fi
13075 fi
13076
13077 xpm_link=
13078 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13079 echo "configure:13080: checking for Xpm library" >&5
13080
13081 ac_find_libraries=
13082 for ac_dir in $SEARCH_LIB;
13083 do
13084 for ac_extension in a so sl dylib; do
13085 if test -f "$ac_dir/libXpm.$ac_extension"; then
13086 ac_find_libraries=$ac_dir
13087 break 2
13088 fi
13089 done
13090 done
13091
13092 if test "$ac_find_libraries" != "" ; then
13093
13094 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
13095 result=$?
13096 if test $result = 0; then
13097 ac_path_to_link=""
13098 else
13099 ac_path_to_link=" -L$ac_find_libraries"
13100 fi
13101
13102 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
13103 xpm_link=" -lXpm"
13104 cat >> confdefs.h <<\EOF
13105 #define wxHAVE_LIB_XPM 1
13106 EOF
13107
13108 echo "$ac_t""found at $ac_find_libraries" 1>&6
13109 else
13110 cat > conftest.$ac_ext <<EOF
13111 #line 13112 "configure"
13112 #include "confdefs.h"
13113
13114 #include <X11/xpm.h>
13115
13116 int main() {
13117
13118 int version;
13119 version = XpmLibraryVersion();
13120
13121 ; return 0; }
13122 EOF
13123 if { (eval echo configure:13124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13124 rm -rf conftest*
13125
13126 xpm_link=" -lXpm"
13127 cat >> confdefs.h <<\EOF
13128 #define wxHAVE_LIB_XPM 1
13129 EOF
13130
13131 echo "$ac_t""found in default search path" 1>&6
13132 COMPILED_X_PROGRAM=0
13133
13134 else
13135 echo "configure: failed program was:" >&5
13136 cat conftest.$ac_ext >&5
13137 rm -rf conftest*
13138
13139 echo "$ac_t""no" 1>&6
13140 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13141
13142
13143 fi
13144 rm -f conftest*
13145 fi
13146
13147 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
13148 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
13149 TOOLKIT=MOTIF
13150 GUIDIST=MOTIF_DIST
13151 fi
13152
13153 if test "$wxUSE_MAC" = 1; then
13154 if test "$wxUSE_PRECOMP" = "yes"; then
13155 CPPFLAGS="$CPPFLAGS -cpp-precomp"
13156 fi
13157 CPPFLAGS="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
13158 CFLAGS="$CFLAGS -fpascal-strings"
13159 CXXFLAGS="$CXXFLAGS -fpascal-strings"
13160
13161 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
13162 TOOLKIT=MAC
13163 GUIDIST=MACX_DIST
13164 fi
13165
13166 if test "$wxUSE_PM" = 1; then
13167 TOOLKIT=PM
13168 GUIDIST=GTK_DIST
13169 fi
13170
13171 if test "$TOOLKIT" = "PM" ; then
13172 TOOLKIT_DIR="os2"
13173 else
13174 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
13175 fi
13176
13177 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
13178
13179 if test "$wxUSE_UNIVERSAL" = "yes"; then
13180 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
13181
13182 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
13183 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
13184
13185 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
13186 if test "$wxUSE_X11" = 1; then
13187 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
13188 else
13189 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
13190 fi
13191 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
13192 WIDGET_SET=univ
13193 else
13194 ALL_OBJECTS="\$(GUIOBJS)"
13195 ALL_SOURCES="\$(ALL_SOURCES)"
13196 ALL_HEADERS="\$(ALL_HEADERS)"
13197 fi
13198
13199 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
13200
13201 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
13202 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
13203 fi
13204
13205 if test "$wxUSE_HTML" = "yes"; then
13206 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
13207 fi
13208
13209 if test "$wxUSE_LIBJPEG" = "builtin" ; then
13210 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
13211 fi
13212 if test "$wxUSE_LIBTIFF" = "builtin" ; then
13213 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
13214 fi
13215 if test "$wxUSE_LIBPNG" = "builtin" ; then
13216 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
13217 fi
13218
13219 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
13220 DISTDIR="wx\$(TOOLKIT)"
13221 else
13222 USE_GUI=0
13223
13224 TOOLKIT_DIR="base"
13225
13226 if test "$USE_WIN32" = 1 ; then
13227 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
13228 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
13229
13230 TOOLKIT="MSW"
13231 else
13232 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
13233 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
13234 fi
13235
13236 ALL_SOURCES="\$(ALL_SOURCES)"
13237 ALL_HEADERS="\$(ALL_HEADERS)"
13238
13239 PORT_FILES="\${top_srcdir}/src/files.lst"
13240
13241 GUIDIST="BASE_DIST"
13242 DISTDIR="wxBase"
13243 fi
13244
13245
13246 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
13247 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
13248 fi
13249
13250 if test "$wxUSE_REGEX" = "builtin" ; then
13251 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
13252 fi
13253 if test "$wxUSE_ZLIB" = "builtin" ; then
13254 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
13255 fi
13256
13257 if test "$wxUSE_OPENGL" = "yes"; then
13258 if test "$wxUSE_MAC" = 1; then
13259 OPENGL_LIBS="-framework OpenGL -framework AGL"
13260 else
13261
13262 ac_safe=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
13263 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
13264 echo "configure:13265: checking for GL/gl.h" >&5
13265 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13266 echo $ac_n "(cached) $ac_c" 1>&6
13267 else
13268 cat > conftest.$ac_ext <<EOF
13269 #line 13270 "configure"
13270 #include "confdefs.h"
13271 #include <GL/gl.h>
13272 EOF
13273 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13274 { (eval echo configure:13275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13275 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13276 if test -z "$ac_err"; then
13277 rm -rf conftest*
13278 eval "ac_cv_header_$ac_safe=yes"
13279 else
13280 echo "$ac_err" >&5
13281 echo "configure: failed program was:" >&5
13282 cat conftest.$ac_ext >&5
13283 rm -rf conftest*
13284 eval "ac_cv_header_$ac_safe=no"
13285 fi
13286 rm -f conftest*
13287 fi
13288 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13289 echo "$ac_t""yes" 1>&6
13290
13291 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
13292 echo "configure:13293: checking for -lGL" >&5
13293
13294 ac_find_libraries=
13295 for ac_dir in $SEARCH_LIB;
13296 do
13297 for ac_extension in a so sl dylib; do
13298 if test -f "$ac_dir/libGL.$ac_extension"; then
13299 ac_find_libraries=$ac_dir
13300 break 2
13301 fi
13302 done
13303 done
13304
13305 if test "$ac_find_libraries" != "" ; then
13306
13307 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
13308 result=$?
13309 if test $result = 0; then
13310 ac_path_to_link=""
13311 else
13312 ac_path_to_link=" -L$ac_find_libraries"
13313 fi
13314
13315 if test "$ac_path_to_link" = " -L/usr/lib" ; then
13316 LDFLAGS_GL="$LDFLAGS"
13317 else
13318 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
13319 fi
13320 OPENGL_LIBS="-lGL -lGLU"
13321 echo "$ac_t""yes" 1>&6
13322 else
13323 echo "$ac_t""no" 1>&6
13324 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
13325 echo "configure:13326: checking for -lMesaGL" >&5
13326
13327 ac_find_libraries=
13328 for ac_dir in $SEARCH_LIB;
13329 do
13330 for ac_extension in a so sl dylib; do
13331 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
13332 ac_find_libraries=$ac_dir
13333 break 2
13334 fi
13335 done
13336 done
13337
13338 if test "$ac_find_libraries" != "" ; then
13339
13340 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
13341 result=$?
13342 if test $result = 0; then
13343 ac_path_to_link=""
13344 else
13345 ac_path_to_link=" -L$ac_find_libraries"
13346 fi
13347
13348 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
13349 OPENGL_LIBS="-lMesaGL -lMesaGLU"
13350 echo "$ac_t""yes" 1>&6
13351 else
13352 echo "$ac_t""no" 1>&6
13353 fi
13354 fi
13355
13356 else
13357 echo "$ac_t""no" 1>&6
13358 fi
13359
13360
13361
13362 # AC_CHECK_HEADER(GL/gl.h,
13363 # [
13364 # AC_CHECK_LIB(GL, glFlush,
13365 # [
13366 # OPENGL_LIBS="-lGL -lGLU"
13367 # ],
13368 # [
13369 # AC_CHECK_LIB(MesaGL, glFlush,
13370 # [
13371 # OPENGL_LIBS="-lMesaGL -lMesaGLU"
13372 # ],
13373 # [],
13374 # [-lm])
13375 # ],
13376 # [-lm])
13377 # ])
13378
13379 if test "x$OPENGL_LIBS" = "x"; then
13380 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
13381 fi
13382 fi
13383
13384 if test "$wxUSE_OPENGL" = "yes"; then
13385 cat >> confdefs.h <<\EOF
13386 #define wxUSE_OPENGL 1
13387 EOF
13388
13389 cat >> confdefs.h <<\EOF
13390 #define wxUSE_GLCANVAS 1
13391 EOF
13392
13393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
13394 fi
13395 fi
13396
13397 if test -z "$TOOLKIT_VPATH" ; then
13398 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
13399 fi
13400
13401 if test -n "$TOOLKIT" ; then
13402 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
13403 fi
13404
13405 lib_unicode_suffix=
13406 if test "$wxUSE_UNICODE" = "yes"; then
13407 lib_unicode_suffix=u
13408 fi
13409
13410 lib_debug_suffix=
13411 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
13412 lib_debug_suffix=d
13413 fi
13414
13415 TOOLCHAIN_NAME="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
13416 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
13417
13418 if test "$cross_compiling" = "yes"; then
13419 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
13420 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
13421 fi
13422
13423 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
13424 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
13425
13426 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
13427 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
13428
13429 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
13430 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
13431 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
13432 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
13433
13434 case "${host}" in
13435 *-*-cygwin* | *-*-mingw32* )
13436
13437
13438
13439 if test "$cross_compiling" != "yes"; then
13440 WX_LIBRARY="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
13441 WX_LIBRARY_GL="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
13442 WX_LIBRARY_NAME_SHARED="${WX_LIBRARY}.${SO_SUFFIX}"
13443 WX_LIBRARY_NAME_SHARED_GL="${WX_LIBRARY_GL}.${SO_SUFFIX}"
13444 else
13445 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
13446 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
13447 fi
13448 ;;
13449
13450 *-*-darwin* )
13451 if test "$wxUSE_MAC" = 1; then
13452 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.r"
13453 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.rsrc"
13454 fi
13455 ;;
13456 esac
13457
13458 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
13459 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
13460
13461 WXCONFIG_LIBS="-l${WX_LIBRARY}"
13462 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
13463
13464 if test "$wxUSE_OPENGL" = "yes"; then
13465 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
13466 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
13467 fi
13468
13469
13470
13471 if test "$wxUSE_SHARED" = "yes"; then
13472 case "${host}" in
13473 *-pc-os2_emx | *-pc-os2-emx | \
13474 *-pc-msdosdjgpp )
13475 wxUSE_SHARED=no
13476 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
13477 ;;
13478 esac
13479 fi
13480
13481 if test "$wxUSE_SHARED" = "yes"; then
13482
13483 if test "$wxUSE_OPENGL" = "yes"; then
13484 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
13485 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
13486 else
13487 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
13488 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1}"
13489 fi
13490
13491 if test "$GCC" = "yes"; then
13492 PIC_FLAG="-fPIC"
13493 fi
13494
13495 SHARED_LD="${CXX} -shared -o"
13496
13497 case "${host}" in
13498 *-hp-hpux* )
13499 if test "$GCC" == "yes"; then
13500 SHARED_LD="${SHARED_LD} ${PIC_FLAG}"
13501 else
13502 LDFLAGS="$LDFLAGS -L/usr/lib"
13503
13504 SHARED_LD="${CXX} -b -o"
13505 PIC_FLAG="+Z"
13506 fi
13507
13508 if test "$wxUSE_OPENGL" = "yes"; then
13509 WX_ALL_INSTALLED="preinstall_gl"
13510 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
13511 else
13512 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
13513 fi
13514 ;;
13515
13516 *-*-linux* )
13517 if test "$GCC" != "yes"; then
13518 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
13519 echo "configure:13520: checking for Intel compiler" >&5
13520 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
13521 echo $ac_n "(cached) $ac_c" 1>&6
13522 else
13523
13524 cat > conftest.$ac_ext <<EOF
13525 #line 13526 "configure"
13526 #include "confdefs.h"
13527
13528 int main() {
13529
13530 #ifndef __INTEL_COMPILER
13531 #error Not icc
13532 #endif
13533
13534 ; return 0; }
13535 EOF
13536 if { (eval echo configure:13537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13537 rm -rf conftest*
13538 wx_cv_prog_icc=yes
13539 else
13540 echo "configure: failed program was:" >&5
13541 cat conftest.$ac_ext >&5
13542 rm -rf conftest*
13543 wx_cv_prog_icc=no
13544
13545 fi
13546 rm -f conftest*
13547
13548 fi
13549
13550 echo "$ac_t""$wx_cv_prog_icc" 1>&6
13551 if test "$wx_cv_prog_icc" = "yes"; then
13552 PIC_FLAG="-KPIC"
13553 fi
13554 fi
13555
13556 if test "$wxUSE_SONAME" = "yes" ; then
13557 SONAME_FLAGS="-Wl,-soname,${WX_LIBRARY_LINK1}"
13558 SONAME_FLAGS_GL="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
13559 WX_TARGET_LIBRARY_SONAME="-Wl,-soname,\$(TARGETLIB_LINK1)"
13560 fi
13561 ;;
13562
13563 *-*-solaris2* )
13564 if test "$GCC" = yes ; then
13565 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
13566 else
13567 SHARED_LD="${CXX} -G -o"
13568 PIC_FLAG="-KPIC"
13569 SONAME_FLAGS="-h ${WX_LIBRARY_NAME_SHARED}"
13570 SONAME_FLAGS_GL="-h ${WX_LIBRARY_NAME_SHARED_GL}"
13571 fi
13572 ;;
13573
13574 *-*-darwin* )
13575 CFLAGS="$CFLAGS -fno-common -DWXMAKINGDLL"
13576 CXXFLAGS="$CXXFLAGS -fno-common -DWXMAKINGDLL"
13577 LDFLAGS_EXE="$LDFLAGS_EXE -Wl,-bind_at_load"
13578 SHARED_LD="\${top_srcdir}/distrib/mac/shared-ld-sh -o"
13579 PIC_FLAG="-dynamic -fPIC"
13580 SONAME_FLAGS="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION}"
13581 SONAME_FLAGS_GL=${SONAME_FLAGS}
13582 ;;
13583
13584 *-*-aix* )
13585 SHARED_LD="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
13586 ;;
13587
13588 *-*-cygwin* | *-*-mingw32* )
13589
13590 WX_LIBRARY_IMPORTLIB="${WX_LIBRARY_NAME_SHARED}.a"
13591
13592 SHARED_LD="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
13593 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
13594
13595 PIC_FLAG="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
13596
13597 if test "$wxUSE_OPENGL" = "yes"; then
13598 WX_ALL_INSTALLED="preinstall_gl"
13599 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
13600 else
13601 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
13602 fi
13603 ;;
13604
13605 *-*-beos* )
13606 SHARED_LD="${LD} -shared -o"
13607 ;;
13608
13609 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
13610 *-*-sunos4* | \
13611 *-*-irix5* | *-*-irix6* | \
13612 *-*-osf* | \
13613 *-*-dgux5* | \
13614 *-*-sysv5* )
13615 ;;
13616
13617 *)
13618 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
13619 esac
13620
13621 if test "x$WX_TARGET_LIBRARY" = "x"; then
13622 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
13623 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
13624 fi
13625
13626 WX_TARGET_LIBRARY_TYPE="so"
13627 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
13628 fi
13629
13630 if test "$wxUSE_SHARED" = "no"; then
13631
13632 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
13633 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
13634 fi
13635
13636 if test "$wxUSE_MAC" = 1; then
13637 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
13638 fi
13639
13640 if test "$wxUSE_OPENGL" = "yes"; then
13641 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
13642 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
13643 else
13644 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
13645 fi
13646
13647 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
13648 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
13649
13650 WX_TARGET_LIBRARY_TYPE="a"
13651 INSTALL_LIBRARY='$(INSTALL_DATA)'
13652 fi
13653
13654 if test "$wxUSE_MAC" = 1; then
13655 LIBWXMACRES="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
13656 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
13657 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
13658 # Extract the first word of "Rez", so it can be a program name with args.
13659 set dummy Rez; ac_word=$2
13660 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13661 echo "configure:13662: checking for $ac_word" >&5
13662 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
13663 echo $ac_n "(cached) $ac_c" 1>&6
13664 else
13665 if test -n "$RESCOMP"; then
13666 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
13667 else
13668 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
13669 ac_dummy="$PATH"
13670 for ac_dir in $ac_dummy; do
13671 test -z "$ac_dir" && ac_dir=.
13672 if test -f $ac_dir/$ac_word; then
13673 ac_cv_prog_RESCOMP="Rez"
13674 break
13675 fi
13676 done
13677 IFS="$ac_save_ifs"
13678 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
13679 fi
13680 fi
13681 RESCOMP="$ac_cv_prog_RESCOMP"
13682 if test -n "$RESCOMP"; then
13683 echo "$ac_t""$RESCOMP" 1>&6
13684 else
13685 echo "$ac_t""no" 1>&6
13686 fi
13687
13688 # Extract the first word of "DeRez", so it can be a program name with args.
13689 set dummy DeRez; ac_word=$2
13690 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13691 echo "configure:13692: checking for $ac_word" >&5
13692 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
13693 echo $ac_n "(cached) $ac_c" 1>&6
13694 else
13695 if test -n "$DEREZ"; then
13696 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
13697 else
13698 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
13699 ac_dummy="$PATH"
13700 for ac_dir in $ac_dummy; do
13701 test -z "$ac_dir" && ac_dir=.
13702 if test -f $ac_dir/$ac_word; then
13703 ac_cv_prog_DEREZ="DeRez"
13704 break
13705 fi
13706 done
13707 IFS="$ac_save_ifs"
13708 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
13709 fi
13710 fi
13711 DEREZ="$ac_cv_prog_DEREZ"
13712 if test -n "$DEREZ"; then
13713 echo "$ac_t""$DEREZ" 1>&6
13714 else
13715 echo "$ac_t""no" 1>&6
13716 fi
13717
13718 MACOSX_BUNDLE="bundle"
13719 if test "$wxUSE_SHARED" = "yes"; then
13720 LIBWXMACRESCOMP="\$(RESCOMP) -t APPL Carbon.r -o \$(BIN_PROGRAM)"
13721 LIBWXMACRESWXCONFIG="${RESCOMP} -t APPL Carbon.r -o"
13722 else
13723 LIBWXMACRESCOMP="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
13724 LIBWXMACRESWXCONFIG="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
13725 fi
13726 else
13727 if test "$wxUSE_PM" = 1; then
13728 LIBWXMACRESCOMP="emxbind -ep \$(BIN_PROGRAM)"
13729 fi
13730 fi
13731
13732
13733 if test "$wxUSE_MAC" != 1; then
13734 for ac_hdr in strings.h
13735 do
13736 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13737 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13738 echo "configure:13739: checking for $ac_hdr" >&5
13739 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13740 echo $ac_n "(cached) $ac_c" 1>&6
13741 else
13742 cat > conftest.$ac_ext <<EOF
13743 #line 13744 "configure"
13744 #include "confdefs.h"
13745 #include <$ac_hdr>
13746 EOF
13747 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13748 { (eval echo configure:13749: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13749 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13750 if test -z "$ac_err"; then
13751 rm -rf conftest*
13752 eval "ac_cv_header_$ac_safe=yes"
13753 else
13754 echo "$ac_err" >&5
13755 echo "configure: failed program was:" >&5
13756 cat conftest.$ac_ext >&5
13757 rm -rf conftest*
13758 eval "ac_cv_header_$ac_safe=no"
13759 fi
13760 rm -f conftest*
13761 fi
13762 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13763 echo "$ac_t""yes" 1>&6
13764 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13765 cat >> confdefs.h <<EOF
13766 #define $ac_tr_hdr 1
13767 EOF
13768
13769 else
13770 echo "$ac_t""no" 1>&6
13771 fi
13772 done
13773
13774 fi
13775
13776 for ac_hdr in stdlib.h
13777 do
13778 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13779 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13780 echo "configure:13781: checking for $ac_hdr" >&5
13781 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13782 echo $ac_n "(cached) $ac_c" 1>&6
13783 else
13784 cat > conftest.$ac_ext <<EOF
13785 #line 13786 "configure"
13786 #include "confdefs.h"
13787 #include <$ac_hdr>
13788 EOF
13789 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13790 { (eval echo configure:13791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13791 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13792 if test -z "$ac_err"; then
13793 rm -rf conftest*
13794 eval "ac_cv_header_$ac_safe=yes"
13795 else
13796 echo "$ac_err" >&5
13797 echo "configure: failed program was:" >&5
13798 cat conftest.$ac_ext >&5
13799 rm -rf conftest*
13800 eval "ac_cv_header_$ac_safe=no"
13801 fi
13802 rm -f conftest*
13803 fi
13804 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13805 echo "$ac_t""yes" 1>&6
13806 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13807 cat >> confdefs.h <<EOF
13808 #define $ac_tr_hdr 1
13809 EOF
13810
13811 else
13812 echo "$ac_t""no" 1>&6
13813 fi
13814 done
13815
13816 for ac_hdr in malloc.h
13817 do
13818 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13819 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13820 echo "configure:13821: checking for $ac_hdr" >&5
13821 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13822 echo $ac_n "(cached) $ac_c" 1>&6
13823 else
13824 cat > conftest.$ac_ext <<EOF
13825 #line 13826 "configure"
13826 #include "confdefs.h"
13827 #include <$ac_hdr>
13828 EOF
13829 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13830 { (eval echo configure:13831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13831 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13832 if test -z "$ac_err"; then
13833 rm -rf conftest*
13834 eval "ac_cv_header_$ac_safe=yes"
13835 else
13836 echo "$ac_err" >&5
13837 echo "configure: failed program was:" >&5
13838 cat conftest.$ac_ext >&5
13839 rm -rf conftest*
13840 eval "ac_cv_header_$ac_safe=no"
13841 fi
13842 rm -f conftest*
13843 fi
13844 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13845 echo "$ac_t""yes" 1>&6
13846 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13847 cat >> confdefs.h <<EOF
13848 #define $ac_tr_hdr 1
13849 EOF
13850
13851 else
13852 echo "$ac_t""no" 1>&6
13853 fi
13854 done
13855
13856 for ac_hdr in unistd.h
13857 do
13858 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13859 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13860 echo "configure:13861: checking for $ac_hdr" >&5
13861 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13862 echo $ac_n "(cached) $ac_c" 1>&6
13863 else
13864 cat > conftest.$ac_ext <<EOF
13865 #line 13866 "configure"
13866 #include "confdefs.h"
13867 #include <$ac_hdr>
13868 EOF
13869 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13870 { (eval echo configure:13871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13871 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13872 if test -z "$ac_err"; then
13873 rm -rf conftest*
13874 eval "ac_cv_header_$ac_safe=yes"
13875 else
13876 echo "$ac_err" >&5
13877 echo "configure: failed program was:" >&5
13878 cat conftest.$ac_ext >&5
13879 rm -rf conftest*
13880 eval "ac_cv_header_$ac_safe=no"
13881 fi
13882 rm -f conftest*
13883 fi
13884 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13885 echo "$ac_t""yes" 1>&6
13886 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13887 cat >> confdefs.h <<EOF
13888 #define $ac_tr_hdr 1
13889 EOF
13890
13891 else
13892 echo "$ac_t""no" 1>&6
13893 fi
13894 done
13895
13896 for ac_hdr in wchar.h
13897 do
13898 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13899 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13900 echo "configure:13901: checking for $ac_hdr" >&5
13901 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13902 echo $ac_n "(cached) $ac_c" 1>&6
13903 else
13904 cat > conftest.$ac_ext <<EOF
13905 #line 13906 "configure"
13906 #include "confdefs.h"
13907 #include <$ac_hdr>
13908 EOF
13909 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13910 { (eval echo configure:13911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13911 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13912 if test -z "$ac_err"; then
13913 rm -rf conftest*
13914 eval "ac_cv_header_$ac_safe=yes"
13915 else
13916 echo "$ac_err" >&5
13917 echo "configure: failed program was:" >&5
13918 cat conftest.$ac_ext >&5
13919 rm -rf conftest*
13920 eval "ac_cv_header_$ac_safe=no"
13921 fi
13922 rm -f conftest*
13923 fi
13924 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13925 echo "$ac_t""yes" 1>&6
13926 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13927 cat >> confdefs.h <<EOF
13928 #define $ac_tr_hdr 1
13929 EOF
13930
13931 else
13932 echo "$ac_t""no" 1>&6
13933 fi
13934 done
13935
13936
13937 if test "$ac_cv_header_wchar_h" != "yes"; then
13938 for ac_hdr in wcstr.h
13939 do
13940 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13941 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13942 echo "configure:13943: checking for $ac_hdr" >&5
13943 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13944 echo $ac_n "(cached) $ac_c" 1>&6
13945 else
13946 cat > conftest.$ac_ext <<EOF
13947 #line 13948 "configure"
13948 #include "confdefs.h"
13949 #include <$ac_hdr>
13950 EOF
13951 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13952 { (eval echo configure:13953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13953 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13954 if test -z "$ac_err"; then
13955 rm -rf conftest*
13956 eval "ac_cv_header_$ac_safe=yes"
13957 else
13958 echo "$ac_err" >&5
13959 echo "configure: failed program was:" >&5
13960 cat conftest.$ac_ext >&5
13961 rm -rf conftest*
13962 eval "ac_cv_header_$ac_safe=no"
13963 fi
13964 rm -f conftest*
13965 fi
13966 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13967 echo "$ac_t""yes" 1>&6
13968 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13969 cat >> confdefs.h <<EOF
13970 #define $ac_tr_hdr 1
13971 EOF
13972
13973 else
13974 echo "$ac_t""no" 1>&6
13975 fi
13976 done
13977
13978 fi
13979
13980
13981 for ac_hdr in fnmatch.h
13982 do
13983 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13984 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13985 echo "configure:13986: checking for $ac_hdr" >&5
13986 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13987 echo $ac_n "(cached) $ac_c" 1>&6
13988 else
13989 cat > conftest.$ac_ext <<EOF
13990 #line 13991 "configure"
13991 #include "confdefs.h"
13992 #include <$ac_hdr>
13993 EOF
13994 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13995 { (eval echo configure:13996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13996 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13997 if test -z "$ac_err"; then
13998 rm -rf conftest*
13999 eval "ac_cv_header_$ac_safe=yes"
14000 else
14001 echo "$ac_err" >&5
14002 echo "configure: failed program was:" >&5
14003 cat conftest.$ac_ext >&5
14004 rm -rf conftest*
14005 eval "ac_cv_header_$ac_safe=no"
14006 fi
14007 rm -f conftest*
14008 fi
14009 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14010 echo "$ac_t""yes" 1>&6
14011 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14012 cat >> confdefs.h <<EOF
14013 #define $ac_tr_hdr 1
14014 EOF
14015
14016 else
14017 echo "$ac_t""no" 1>&6
14018 fi
14019 done
14020
14021 for ac_hdr in langinfo.h
14022 do
14023 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14024 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14025 echo "configure:14026: checking for $ac_hdr" >&5
14026 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14027 echo $ac_n "(cached) $ac_c" 1>&6
14028 else
14029 cat > conftest.$ac_ext <<EOF
14030 #line 14031 "configure"
14031 #include "confdefs.h"
14032 #include <$ac_hdr>
14033 EOF
14034 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14035 { (eval echo configure:14036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14036 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14037 if test -z "$ac_err"; then
14038 rm -rf conftest*
14039 eval "ac_cv_header_$ac_safe=yes"
14040 else
14041 echo "$ac_err" >&5
14042 echo "configure: failed program was:" >&5
14043 cat conftest.$ac_ext >&5
14044 rm -rf conftest*
14045 eval "ac_cv_header_$ac_safe=no"
14046 fi
14047 rm -f conftest*
14048 fi
14049 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14050 echo "$ac_t""yes" 1>&6
14051 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14052 cat >> confdefs.h <<EOF
14053 #define $ac_tr_hdr 1
14054 EOF
14055
14056 else
14057 echo "$ac_t""no" 1>&6
14058 fi
14059 done
14060
14061
14062 if test "$wxUSE_GUI" = "yes"; then
14063 if test "$wxUSE_UNIX" = "yes"; then
14064 for ac_hdr in X11/XKBlib.h
14065 do
14066 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14067 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14068 echo "configure:14069: checking for $ac_hdr" >&5
14069 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14070 echo $ac_n "(cached) $ac_c" 1>&6
14071 else
14072 cat > conftest.$ac_ext <<EOF
14073 #line 14074 "configure"
14074 #include "confdefs.h"
14075 #include <$ac_hdr>
14076 EOF
14077 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14078 { (eval echo configure:14079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14079 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14080 if test -z "$ac_err"; then
14081 rm -rf conftest*
14082 eval "ac_cv_header_$ac_safe=yes"
14083 else
14084 echo "$ac_err" >&5
14085 echo "configure: failed program was:" >&5
14086 cat conftest.$ac_ext >&5
14087 rm -rf conftest*
14088 eval "ac_cv_header_$ac_safe=no"
14089 fi
14090 rm -f conftest*
14091 fi
14092 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14093 echo "$ac_t""yes" 1>&6
14094 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14095 cat >> confdefs.h <<EOF
14096 #define $ac_tr_hdr 1
14097 EOF
14098
14099 else
14100 echo "$ac_t""no" 1>&6
14101 fi
14102 done
14103
14104 fi
14105 fi
14106
14107
14108 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
14109 echo "configure:14110: checking for ANSI C header files" >&5
14110 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
14111 echo $ac_n "(cached) $ac_c" 1>&6
14112 else
14113 cat > conftest.$ac_ext <<EOF
14114 #line 14115 "configure"
14115 #include "confdefs.h"
14116 #include <stdlib.h>
14117 #include <stdarg.h>
14118 #include <string.h>
14119 #include <float.h>
14120 EOF
14121 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14122 { (eval echo configure:14123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14123 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14124 if test -z "$ac_err"; then
14125 rm -rf conftest*
14126 ac_cv_header_stdc=yes
14127 else
14128 echo "$ac_err" >&5
14129 echo "configure: failed program was:" >&5
14130 cat conftest.$ac_ext >&5
14131 rm -rf conftest*
14132 ac_cv_header_stdc=no
14133 fi
14134 rm -f conftest*
14135
14136 if test $ac_cv_header_stdc = yes; then
14137 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14138 cat > conftest.$ac_ext <<EOF
14139 #line 14140 "configure"
14140 #include "confdefs.h"
14141 #include <string.h>
14142 EOF
14143 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14144 egrep "memchr" >/dev/null 2>&1; then
14145 :
14146 else
14147 rm -rf conftest*
14148 ac_cv_header_stdc=no
14149 fi
14150 rm -f conftest*
14151
14152 fi
14153
14154 if test $ac_cv_header_stdc = yes; then
14155 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14156 cat > conftest.$ac_ext <<EOF
14157 #line 14158 "configure"
14158 #include "confdefs.h"
14159 #include <stdlib.h>
14160 EOF
14161 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14162 egrep "free" >/dev/null 2>&1; then
14163 :
14164 else
14165 rm -rf conftest*
14166 ac_cv_header_stdc=no
14167 fi
14168 rm -f conftest*
14169
14170 fi
14171
14172 if test $ac_cv_header_stdc = yes; then
14173 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14174 if test "$cross_compiling" = yes; then
14175 :
14176 else
14177 cat > conftest.$ac_ext <<EOF
14178 #line 14179 "configure"
14179 #include "confdefs.h"
14180 #include <ctype.h>
14181 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14182 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14183 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14184 int main () { int i; for (i = 0; i < 256; i++)
14185 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
14186 exit (0); }
14187
14188 EOF
14189 if { (eval echo configure:14190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14190 then
14191 :
14192 else
14193 echo "configure: failed program was:" >&5
14194 cat conftest.$ac_ext >&5
14195 rm -fr conftest*
14196 ac_cv_header_stdc=no
14197 fi
14198 rm -fr conftest*
14199 fi
14200
14201 fi
14202 fi
14203
14204 echo "$ac_t""$ac_cv_header_stdc" 1>&6
14205 if test $ac_cv_header_stdc = yes; then
14206 cat >> confdefs.h <<\EOF
14207 #define STDC_HEADERS 1
14208 EOF
14209
14210 fi
14211
14212 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
14213 echo "configure:14214: checking for mode_t" >&5
14214 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
14215 echo $ac_n "(cached) $ac_c" 1>&6
14216 else
14217 cat > conftest.$ac_ext <<EOF
14218 #line 14219 "configure"
14219 #include "confdefs.h"
14220 #include <sys/types.h>
14221 #if STDC_HEADERS
14222 #include <stdlib.h>
14223 #include <stddef.h>
14224 #endif
14225 EOF
14226 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14227 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
14228 rm -rf conftest*
14229 ac_cv_type_mode_t=yes
14230 else
14231 rm -rf conftest*
14232 ac_cv_type_mode_t=no
14233 fi
14234 rm -f conftest*
14235
14236 fi
14237 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
14238 if test $ac_cv_type_mode_t = no; then
14239 cat >> confdefs.h <<\EOF
14240 #define mode_t int
14241 EOF
14242
14243 fi
14244
14245 echo $ac_n "checking for off_t""... $ac_c" 1>&6
14246 echo "configure:14247: checking for off_t" >&5
14247 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
14248 echo $ac_n "(cached) $ac_c" 1>&6
14249 else
14250 cat > conftest.$ac_ext <<EOF
14251 #line 14252 "configure"
14252 #include "confdefs.h"
14253 #include <sys/types.h>
14254 #if STDC_HEADERS
14255 #include <stdlib.h>
14256 #include <stddef.h>
14257 #endif
14258 EOF
14259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14260 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
14261 rm -rf conftest*
14262 ac_cv_type_off_t=yes
14263 else
14264 rm -rf conftest*
14265 ac_cv_type_off_t=no
14266 fi
14267 rm -f conftest*
14268
14269 fi
14270 echo "$ac_t""$ac_cv_type_off_t" 1>&6
14271 if test $ac_cv_type_off_t = no; then
14272 cat >> confdefs.h <<\EOF
14273 #define off_t long
14274 EOF
14275
14276 fi
14277
14278 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
14279 echo "configure:14280: checking for pid_t" >&5
14280 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
14281 echo $ac_n "(cached) $ac_c" 1>&6
14282 else
14283 cat > conftest.$ac_ext <<EOF
14284 #line 14285 "configure"
14285 #include "confdefs.h"
14286 #include <sys/types.h>
14287 #if STDC_HEADERS
14288 #include <stdlib.h>
14289 #include <stddef.h>
14290 #endif
14291 EOF
14292 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14293 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
14294 rm -rf conftest*
14295 ac_cv_type_pid_t=yes
14296 else
14297 rm -rf conftest*
14298 ac_cv_type_pid_t=no
14299 fi
14300 rm -f conftest*
14301
14302 fi
14303 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
14304 if test $ac_cv_type_pid_t = no; then
14305 cat >> confdefs.h <<\EOF
14306 #define pid_t int
14307 EOF
14308
14309 fi
14310
14311 echo $ac_n "checking for size_t""... $ac_c" 1>&6
14312 echo "configure:14313: checking for size_t" >&5
14313 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
14314 echo $ac_n "(cached) $ac_c" 1>&6
14315 else
14316 cat > conftest.$ac_ext <<EOF
14317 #line 14318 "configure"
14318 #include "confdefs.h"
14319 #include <sys/types.h>
14320 #if STDC_HEADERS
14321 #include <stdlib.h>
14322 #include <stddef.h>
14323 #endif
14324 EOF
14325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14326 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
14327 rm -rf conftest*
14328 ac_cv_type_size_t=yes
14329 else
14330 rm -rf conftest*
14331 ac_cv_type_size_t=no
14332 fi
14333 rm -f conftest*
14334
14335 fi
14336 echo "$ac_t""$ac_cv_type_size_t" 1>&6
14337 if test $ac_cv_type_size_t = no; then
14338 cat >> confdefs.h <<\EOF
14339 #define size_t unsigned
14340 EOF
14341
14342 fi
14343
14344 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
14345 echo "configure:14346: checking for uid_t in sys/types.h" >&5
14346 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
14347 echo $ac_n "(cached) $ac_c" 1>&6
14348 else
14349 cat > conftest.$ac_ext <<EOF
14350 #line 14351 "configure"
14351 #include "confdefs.h"
14352 #include <sys/types.h>
14353 EOF
14354 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14355 egrep "uid_t" >/dev/null 2>&1; then
14356 rm -rf conftest*
14357 ac_cv_type_uid_t=yes
14358 else
14359 rm -rf conftest*
14360 ac_cv_type_uid_t=no
14361 fi
14362 rm -f conftest*
14363
14364 fi
14365
14366 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
14367 if test $ac_cv_type_uid_t = no; then
14368 cat >> confdefs.h <<\EOF
14369 #define uid_t int
14370 EOF
14371
14372 cat >> confdefs.h <<\EOF
14373 #define gid_t int
14374 EOF
14375
14376 fi
14377
14378
14379 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
14380 echo "configure:14381: checking for wchar_t" >&5
14381 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
14382 echo $ac_n "(cached) $ac_c" 1>&6
14383 else
14384
14385 cat > conftest.$ac_ext <<EOF
14386 #line 14387 "configure"
14387 #include "confdefs.h"
14388
14389 #ifdef HAVE_WCHAR_H
14390 # ifdef __CYGWIN__
14391 # include <stddef.h>
14392 # endif
14393 # include <wchar.h>
14394 #endif
14395 #ifdef HAVE_STDLIB_H
14396 # include <stdlib.h>
14397 #endif
14398
14399 int main() {
14400
14401 wchar_t wc, *ws;
14402 wc = L'a';
14403 ws = L"Hello, world!";
14404
14405 ; return 0; }
14406 EOF
14407 if { (eval echo configure:14408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14408 rm -rf conftest*
14409 wx_cv_type_wchar_t=yes
14410 else
14411 echo "configure: failed program was:" >&5
14412 cat conftest.$ac_ext >&5
14413 rm -rf conftest*
14414 wx_cv_type_wchar_t=no
14415
14416 fi
14417 rm -f conftest*
14418
14419 fi
14420
14421 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
14422
14423 if test "$wx_cv_type_wchar_t" = "yes"; then
14424 cat >> confdefs.h <<\EOF
14425 #define wxUSE_WCHAR_T 1
14426 EOF
14427
14428 fi
14429
14430
14431 ac_ext=C
14432 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14433 ac_cpp='$CXXCPP $CPPFLAGS'
14434 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14435 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14436 cross_compiling=$ac_cv_prog_cxx_cross
14437
14438 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
14439 echo "configure:14440: checking if size_t is unsigned int" >&5
14440 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
14441 echo $ac_n "(cached) $ac_c" 1>&6
14442 else
14443 cat > conftest.$ac_ext <<EOF
14444 #line 14445 "configure"
14445 #include "confdefs.h"
14446 #include <stddef.h>
14447 int main() {
14448
14449 return 0; }
14450
14451 struct Foo { void foo(size_t); void foo(unsigned int); };
14452
14453 int bar() {
14454
14455 ; return 0; }
14456 EOF
14457 if { (eval echo configure:14458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14458 rm -rf conftest*
14459 wx_cv_size_t_is_uint=no
14460 else
14461 echo "configure: failed program was:" >&5
14462 cat conftest.$ac_ext >&5
14463 rm -rf conftest*
14464 wx_cv_size_t_is_uint=yes
14465
14466 fi
14467 rm -f conftest*
14468
14469 fi
14470
14471 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
14472
14473 if test "$wx_cv_size_t_is_uint" = "yes"; then
14474 cat >> confdefs.h <<\EOF
14475 #define wxSIZE_T_IS_UINT 1
14476 EOF
14477
14478 else
14479 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
14480 echo "configure:14481: checking if size_t is unsigned long" >&5
14481 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
14482 echo $ac_n "(cached) $ac_c" 1>&6
14483 else
14484 cat > conftest.$ac_ext <<EOF
14485 #line 14486 "configure"
14486 #include "confdefs.h"
14487 #include <stddef.h>
14488 int main() {
14489
14490 return 0; }
14491
14492 struct Foo { void foo(size_t); void foo(unsigned long); };
14493
14494 int bar() {
14495
14496 ; return 0; }
14497 EOF
14498 if { (eval echo configure:14499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14499 rm -rf conftest*
14500 wx_cv_size_t_is_ulong=no
14501 else
14502 echo "configure: failed program was:" >&5
14503 cat conftest.$ac_ext >&5
14504 rm -rf conftest*
14505 wx_cv_size_t_is_ulong=yes
14506
14507 fi
14508 rm -f conftest*
14509
14510 fi
14511
14512 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
14513
14514 if test "$wx_cv_size_t_is_ulong" = "yes"; then
14515 cat >> confdefs.h <<\EOF
14516 #define wxSIZE_T_IS_ULONG 1
14517 EOF
14518
14519 fi
14520 fi
14521
14522 ac_ext=c
14523 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14524 ac_cpp='$CPP $CPPFLAGS'
14525 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14526 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14527 cross_compiling=$ac_cv_prog_cc_cross
14528
14529
14530
14531 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
14532 echo "configure:14533: checking for pw_gecos in struct passwd" >&5
14533 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
14534 echo $ac_n "(cached) $ac_c" 1>&6
14535 else
14536
14537 cat > conftest.$ac_ext <<EOF
14538 #line 14539 "configure"
14539 #include "confdefs.h"
14540 #include <pwd.h>
14541 int main() {
14542
14543 char *p;
14544 struct passwd *pw;
14545 p = pw->pw_gecos;
14546
14547 ; return 0; }
14548 EOF
14549 if { (eval echo configure:14550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14550 rm -rf conftest*
14551
14552 wx_cv_struct_pw_gecos=yes
14553
14554 else
14555 echo "configure: failed program was:" >&5
14556 cat conftest.$ac_ext >&5
14557 rm -rf conftest*
14558
14559 wx_cv_struct_pw_gecos=no
14560
14561
14562 fi
14563 rm -f conftest*
14564
14565
14566 fi
14567
14568 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
14569
14570 if test "$wx_cv_struct_pw_gecos" = "yes"; then
14571 cat >> confdefs.h <<\EOF
14572 #define HAVE_PW_GECOS 1
14573 EOF
14574
14575 fi
14576
14577
14578 echo $ac_n "checking for working const""... $ac_c" 1>&6
14579 echo "configure:14580: checking for working const" >&5
14580 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
14581 echo $ac_n "(cached) $ac_c" 1>&6
14582 else
14583 cat > conftest.$ac_ext <<EOF
14584 #line 14585 "configure"
14585 #include "confdefs.h"
14586
14587 int main() {
14588
14589 /* Ultrix mips cc rejects this. */
14590 typedef int charset[2]; const charset x;
14591 /* SunOS 4.1.1 cc rejects this. */
14592 char const *const *ccp;
14593 char **p;
14594 /* NEC SVR4.0.2 mips cc rejects this. */
14595 struct point {int x, y;};
14596 static struct point const zero = {0,0};
14597 /* AIX XL C 1.02.0.0 rejects this.
14598 It does not let you subtract one const X* pointer from another in an arm
14599 of an if-expression whose if-part is not a constant expression */
14600 const char *g = "string";
14601 ccp = &g + (g ? g-g : 0);
14602 /* HPUX 7.0 cc rejects these. */
14603 ++ccp;
14604 p = (char**) ccp;
14605 ccp = (char const *const *) p;
14606 { /* SCO 3.2v4 cc rejects this. */
14607 char *t;
14608 char const *s = 0 ? (char *) 0 : (char const *) 0;
14609
14610 *t++ = 0;
14611 }
14612 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14613 int x[] = {25, 17};
14614 const int *foo = &x[0];
14615 ++foo;
14616 }
14617 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14618 typedef const int *iptr;
14619 iptr p = 0;
14620 ++p;
14621 }
14622 { /* AIX XL C 1.02.0.0 rejects this saying
14623 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14624 struct s { int j; const int *ap[3]; };
14625 struct s *b; b->j = 5;
14626 }
14627 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14628 const int foo = 10;
14629 }
14630
14631 ; return 0; }
14632 EOF
14633 if { (eval echo configure:14634: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14634 rm -rf conftest*
14635 ac_cv_c_const=yes
14636 else
14637 echo "configure: failed program was:" >&5
14638 cat conftest.$ac_ext >&5
14639 rm -rf conftest*
14640 ac_cv_c_const=no
14641 fi
14642 rm -f conftest*
14643 fi
14644
14645 echo "$ac_t""$ac_cv_c_const" 1>&6
14646 if test $ac_cv_c_const = no; then
14647 cat >> confdefs.h <<\EOF
14648 #define const
14649 EOF
14650
14651 fi
14652
14653 echo $ac_n "checking for inline""... $ac_c" 1>&6
14654 echo "configure:14655: checking for inline" >&5
14655 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
14656 echo $ac_n "(cached) $ac_c" 1>&6
14657 else
14658 ac_cv_c_inline=no
14659 for ac_kw in inline __inline__ __inline; do
14660 cat > conftest.$ac_ext <<EOF
14661 #line 14662 "configure"
14662 #include "confdefs.h"
14663
14664 int main() {
14665 } $ac_kw foo() {
14666 ; return 0; }
14667 EOF
14668 if { (eval echo configure:14669: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14669 rm -rf conftest*
14670 ac_cv_c_inline=$ac_kw; break
14671 else
14672 echo "configure: failed program was:" >&5
14673 cat conftest.$ac_ext >&5
14674 fi
14675 rm -f conftest*
14676 done
14677
14678 fi
14679
14680 echo "$ac_t""$ac_cv_c_inline" 1>&6
14681 case "$ac_cv_c_inline" in
14682 inline | yes) ;;
14683 no) cat >> confdefs.h <<\EOF
14684 #define inline
14685 EOF
14686 ;;
14687 *) cat >> confdefs.h <<EOF
14688 #define inline $ac_cv_c_inline
14689 EOF
14690 ;;
14691 esac
14692
14693
14694 echo $ac_n "checking size of char""... $ac_c" 1>&6
14695 echo "configure:14696: checking size of char" >&5
14696 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
14697 echo $ac_n "(cached) $ac_c" 1>&6
14698 else
14699 if test "$cross_compiling" = yes; then
14700 ac_cv_sizeof_char=1
14701 else
14702 cat > conftest.$ac_ext <<EOF
14703 #line 14704 "configure"
14704 #include "confdefs.h"
14705 #include <stdio.h>
14706 main()
14707 {
14708 FILE *f=fopen("conftestval", "w");
14709 if (!f) exit(1);
14710 fprintf(f, "%d\n", sizeof(char));
14711 exit(0);
14712 }
14713 EOF
14714 if { (eval echo configure:14715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14715 then
14716 ac_cv_sizeof_char=`cat conftestval`
14717 else
14718 echo "configure: failed program was:" >&5
14719 cat conftest.$ac_ext >&5
14720 rm -fr conftest*
14721 ac_cv_sizeof_char=0
14722 fi
14723 rm -fr conftest*
14724 fi
14725
14726 fi
14727 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
14728 cat >> confdefs.h <<EOF
14729 #define SIZEOF_CHAR $ac_cv_sizeof_char
14730 EOF
14731
14732
14733 echo $ac_n "checking size of short""... $ac_c" 1>&6
14734 echo "configure:14735: checking size of short" >&5
14735 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
14736 echo $ac_n "(cached) $ac_c" 1>&6
14737 else
14738 if test "$cross_compiling" = yes; then
14739 ac_cv_sizeof_short=2
14740 else
14741 cat > conftest.$ac_ext <<EOF
14742 #line 14743 "configure"
14743 #include "confdefs.h"
14744 #include <stdio.h>
14745 main()
14746 {
14747 FILE *f=fopen("conftestval", "w");
14748 if (!f) exit(1);
14749 fprintf(f, "%d\n", sizeof(short));
14750 exit(0);
14751 }
14752 EOF
14753 if { (eval echo configure:14754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14754 then
14755 ac_cv_sizeof_short=`cat conftestval`
14756 else
14757 echo "configure: failed program was:" >&5
14758 cat conftest.$ac_ext >&5
14759 rm -fr conftest*
14760 ac_cv_sizeof_short=0
14761 fi
14762 rm -fr conftest*
14763 fi
14764
14765 fi
14766 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
14767 cat >> confdefs.h <<EOF
14768 #define SIZEOF_SHORT $ac_cv_sizeof_short
14769 EOF
14770
14771
14772 echo $ac_n "checking size of void *""... $ac_c" 1>&6
14773 echo "configure:14774: checking size of void *" >&5
14774 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
14775 echo $ac_n "(cached) $ac_c" 1>&6
14776 else
14777 if test "$cross_compiling" = yes; then
14778 ac_cv_sizeof_void_p=4
14779 else
14780 cat > conftest.$ac_ext <<EOF
14781 #line 14782 "configure"
14782 #include "confdefs.h"
14783 #include <stdio.h>
14784 main()
14785 {
14786 FILE *f=fopen("conftestval", "w");
14787 if (!f) exit(1);
14788 fprintf(f, "%d\n", sizeof(void *));
14789 exit(0);
14790 }
14791 EOF
14792 if { (eval echo configure:14793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14793 then
14794 ac_cv_sizeof_void_p=`cat conftestval`
14795 else
14796 echo "configure: failed program was:" >&5
14797 cat conftest.$ac_ext >&5
14798 rm -fr conftest*
14799 ac_cv_sizeof_void_p=0
14800 fi
14801 rm -fr conftest*
14802 fi
14803
14804 fi
14805 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
14806 cat >> confdefs.h <<EOF
14807 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14808 EOF
14809
14810
14811 echo $ac_n "checking size of int""... $ac_c" 1>&6
14812 echo "configure:14813: checking size of int" >&5
14813 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
14814 echo $ac_n "(cached) $ac_c" 1>&6
14815 else
14816 if test "$cross_compiling" = yes; then
14817 ac_cv_sizeof_int=4
14818 else
14819 cat > conftest.$ac_ext <<EOF
14820 #line 14821 "configure"
14821 #include "confdefs.h"
14822 #include <stdio.h>
14823 main()
14824 {
14825 FILE *f=fopen("conftestval", "w");
14826 if (!f) exit(1);
14827 fprintf(f, "%d\n", sizeof(int));
14828 exit(0);
14829 }
14830 EOF
14831 if { (eval echo configure:14832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14832 then
14833 ac_cv_sizeof_int=`cat conftestval`
14834 else
14835 echo "configure: failed program was:" >&5
14836 cat conftest.$ac_ext >&5
14837 rm -fr conftest*
14838 ac_cv_sizeof_int=0
14839 fi
14840 rm -fr conftest*
14841 fi
14842
14843 fi
14844 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
14845 cat >> confdefs.h <<EOF
14846 #define SIZEOF_INT $ac_cv_sizeof_int
14847 EOF
14848
14849
14850 echo $ac_n "checking size of long""... $ac_c" 1>&6
14851 echo "configure:14852: checking size of long" >&5
14852 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
14853 echo $ac_n "(cached) $ac_c" 1>&6
14854 else
14855 if test "$cross_compiling" = yes; then
14856 ac_cv_sizeof_long=4
14857 else
14858 cat > conftest.$ac_ext <<EOF
14859 #line 14860 "configure"
14860 #include "confdefs.h"
14861 #include <stdio.h>
14862 main()
14863 {
14864 FILE *f=fopen("conftestval", "w");
14865 if (!f) exit(1);
14866 fprintf(f, "%d\n", sizeof(long));
14867 exit(0);
14868 }
14869 EOF
14870 if { (eval echo configure:14871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14871 then
14872 ac_cv_sizeof_long=`cat conftestval`
14873 else
14874 echo "configure: failed program was:" >&5
14875 cat conftest.$ac_ext >&5
14876 rm -fr conftest*
14877 ac_cv_sizeof_long=0
14878 fi
14879 rm -fr conftest*
14880 fi
14881
14882 fi
14883 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
14884 cat >> confdefs.h <<EOF
14885 #define SIZEOF_LONG $ac_cv_sizeof_long
14886 EOF
14887
14888
14889
14890 case "${host}" in
14891 arm-*-linux* )
14892 echo $ac_n "checking size of long long""... $ac_c" 1>&6
14893 echo "configure:14894: checking size of long long" >&5
14894 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
14895 echo $ac_n "(cached) $ac_c" 1>&6
14896 else
14897 if test "$cross_compiling" = yes; then
14898 ac_cv_sizeof_long_long=8
14899 else
14900 cat > conftest.$ac_ext <<EOF
14901 #line 14902 "configure"
14902 #include "confdefs.h"
14903 #include <stdio.h>
14904 main()
14905 {
14906 FILE *f=fopen("conftestval", "w");
14907 if (!f) exit(1);
14908 fprintf(f, "%d\n", sizeof(long long));
14909 exit(0);
14910 }
14911 EOF
14912 if { (eval echo configure:14913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14913 then
14914 ac_cv_sizeof_long_long=`cat conftestval`
14915 else
14916 echo "configure: failed program was:" >&5
14917 cat conftest.$ac_ext >&5
14918 rm -fr conftest*
14919 ac_cv_sizeof_long_long=0
14920 fi
14921 rm -fr conftest*
14922 fi
14923
14924 fi
14925 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
14926 cat >> confdefs.h <<EOF
14927 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14928 EOF
14929
14930
14931 ;;
14932 * )
14933 echo $ac_n "checking size of long long""... $ac_c" 1>&6
14934 echo "configure:14935: checking size of long long" >&5
14935 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
14936 echo $ac_n "(cached) $ac_c" 1>&6
14937 else
14938 if test "$cross_compiling" = yes; then
14939 ac_cv_sizeof_long_long=0
14940 else
14941 cat > conftest.$ac_ext <<EOF
14942 #line 14943 "configure"
14943 #include "confdefs.h"
14944 #include <stdio.h>
14945 main()
14946 {
14947 FILE *f=fopen("conftestval", "w");
14948 if (!f) exit(1);
14949 fprintf(f, "%d\n", sizeof(long long));
14950 exit(0);
14951 }
14952 EOF
14953 if { (eval echo configure:14954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14954 then
14955 ac_cv_sizeof_long_long=`cat conftestval`
14956 else
14957 echo "configure: failed program was:" >&5
14958 cat conftest.$ac_ext >&5
14959 rm -fr conftest*
14960 ac_cv_sizeof_long_long=0
14961 fi
14962 rm -fr conftest*
14963 fi
14964
14965 fi
14966 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
14967 cat >> confdefs.h <<EOF
14968 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14969 EOF
14970
14971
14972 esac
14973
14974
14975 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
14976 echo "configure:14977: checking size of wchar_t" >&5
14977 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
14978 echo $ac_n "(cached) $ac_c" 1>&6
14979 else
14980
14981 if test "$cross_compiling" = yes; then
14982 wx_cv_sizeof_wchar_t=4
14983
14984 else
14985 cat > conftest.$ac_ext <<EOF
14986 #line 14987 "configure"
14987 #include "confdefs.h"
14988
14989 #ifdef HAVE_WCHAR_H
14990 # ifdef __CYGWIN__
14991 # include <stddef.h>
14992 # endif
14993 # include <wchar.h>
14994 #endif
14995 #ifdef HAVE_STDLIB_H
14996 # include <stdlib.h>
14997 #endif
14998 #include <stdio.h>
14999 int main()
15000 {
15001 FILE *f=fopen("conftestval", "w");
15002 if (!f) exit(1);
15003 fprintf(f, "%i", sizeof(wchar_t));
15004 exit(0);
15005 }
15006
15007 EOF
15008 if { (eval echo configure:15009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
15009 then
15010 wx_cv_sizeof_wchar_t=`cat conftestval`
15011 else
15012 echo "configure: failed program was:" >&5
15013 cat conftest.$ac_ext >&5
15014 rm -fr conftest*
15015 wx_cv_sizeof_wchar_t=0
15016 fi
15017 rm -fr conftest*
15018 fi
15019
15020
15021 fi
15022
15023 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
15024
15025 cat >> confdefs.h <<EOF
15026 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
15027 EOF
15028
15029
15030 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
15031 echo "configure:15032: checking whether byte ordering is bigendian" >&5
15032 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
15033 echo $ac_n "(cached) $ac_c" 1>&6
15034 else
15035 ac_cv_c_bigendian=unknown
15036 # See if sys/param.h defines the BYTE_ORDER macro.
15037 cat > conftest.$ac_ext <<EOF
15038 #line 15039 "configure"
15039 #include "confdefs.h"
15040 #include <sys/types.h>
15041 #include <sys/param.h>
15042 int main() {
15043
15044 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
15045 bogus endian macros
15046 #endif
15047 ; return 0; }
15048 EOF
15049 if { (eval echo configure:15050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15050 rm -rf conftest*
15051 # It does; now see whether it defined to BIG_ENDIAN or not.
15052 cat > conftest.$ac_ext <<EOF
15053 #line 15054 "configure"
15054 #include "confdefs.h"
15055 #include <sys/types.h>
15056 #include <sys/param.h>
15057 int main() {
15058
15059 #if BYTE_ORDER != BIG_ENDIAN
15060 not big endian
15061 #endif
15062 ; return 0; }
15063 EOF
15064 if { (eval echo configure:15065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15065 rm -rf conftest*
15066 ac_cv_c_bigendian=yes
15067 else
15068 echo "configure: failed program was:" >&5
15069 cat conftest.$ac_ext >&5
15070 rm -rf conftest*
15071 ac_cv_c_bigendian=no
15072 fi
15073 rm -f conftest*
15074 else
15075 echo "configure: failed program was:" >&5
15076 cat conftest.$ac_ext >&5
15077 fi
15078 rm -f conftest*
15079 if test $ac_cv_c_bigendian = unknown; then
15080 if test "$cross_compiling" = yes; then
15081 ac_cv_c_bigendian=unknown
15082 else
15083 cat > conftest.$ac_ext <<EOF
15084 #line 15085 "configure"
15085 #include "confdefs.h"
15086 main () {
15087 /* Are we little or big endian? From Harbison&Steele. */
15088 union
15089 {
15090 long l;
15091 char c[sizeof (long)];
15092 } u;
15093 u.l = 1;
15094 exit (u.c[sizeof (long) - 1] == 1);
15095 }
15096 EOF
15097 if { (eval echo configure:15098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
15098 then
15099 ac_cv_c_bigendian=no
15100 else
15101 echo "configure: failed program was:" >&5
15102 cat conftest.$ac_ext >&5
15103 rm -fr conftest*
15104 ac_cv_c_bigendian=yes
15105 fi
15106 rm -fr conftest*
15107 fi
15108
15109 fi
15110 fi
15111
15112 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
15113 if test $ac_cv_c_bigendian = unknown; then
15114 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
15115 fi
15116 if test $ac_cv_c_bigendian = yes; then
15117 cat >> confdefs.h <<\EOF
15118 #define WORDS_BIGENDIAN 1
15119 EOF
15120
15121 fi
15122
15123
15124 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
15125 echo "configure:15126: checking how to run the C++ preprocessor" >&5
15126 if test -z "$CXXCPP"; then
15127 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
15128 echo $ac_n "(cached) $ac_c" 1>&6
15129 else
15130 ac_ext=C
15131 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15132 ac_cpp='$CXXCPP $CPPFLAGS'
15133 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15134 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15135 cross_compiling=$ac_cv_prog_cxx_cross
15136 CXXCPP="${CXX-g++} -E"
15137 cat > conftest.$ac_ext <<EOF
15138 #line 15139 "configure"
15139 #include "confdefs.h"
15140 #include <stdlib.h>
15141 EOF
15142 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15143 { (eval echo configure:15144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15144 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15145 if test -z "$ac_err"; then
15146 :
15147 else
15148 echo "$ac_err" >&5
15149 echo "configure: failed program was:" >&5
15150 cat conftest.$ac_ext >&5
15151 rm -rf conftest*
15152 CXXCPP=/lib/cpp
15153 fi
15154 rm -f conftest*
15155 ac_cv_prog_CXXCPP="$CXXCPP"
15156 ac_ext=C
15157 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15158 ac_cpp='$CXXCPP $CPPFLAGS'
15159 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15160 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15161 cross_compiling=$ac_cv_prog_cxx_cross
15162 fi
15163 fi
15164 CXXCPP="$ac_cv_prog_CXXCPP"
15165 echo "$ac_t""$CXXCPP" 1>&6
15166
15167
15168 if test "$cross_compiling" = "yes"; then
15169 cat >> confdefs.h <<\EOF
15170 #define wxUSE_IOSTREAMH 1
15171 EOF
15172
15173 else
15174
15175 ac_ext=C
15176 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15177 ac_cpp='$CXXCPP $CPPFLAGS'
15178 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15179 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15180 cross_compiling=$ac_cv_prog_cxx_cross
15181
15182
15183 for ac_hdr in iostream
15184 do
15185 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15186 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15187 echo "configure:15188: checking for $ac_hdr" >&5
15188 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15189 echo $ac_n "(cached) $ac_c" 1>&6
15190 else
15191 cat > conftest.$ac_ext <<EOF
15192 #line 15193 "configure"
15193 #include "confdefs.h"
15194 #include <$ac_hdr>
15195 EOF
15196 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15197 { (eval echo configure:15198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15198 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15199 if test -z "$ac_err"; then
15200 rm -rf conftest*
15201 eval "ac_cv_header_$ac_safe=yes"
15202 else
15203 echo "$ac_err" >&5
15204 echo "configure: failed program was:" >&5
15205 cat conftest.$ac_ext >&5
15206 rm -rf conftest*
15207 eval "ac_cv_header_$ac_safe=no"
15208 fi
15209 rm -f conftest*
15210 fi
15211 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15212 echo "$ac_t""yes" 1>&6
15213 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15214 cat >> confdefs.h <<EOF
15215 #define $ac_tr_hdr 1
15216 EOF
15217
15218 else
15219 echo "$ac_t""no" 1>&6
15220 fi
15221 done
15222
15223
15224 if test "$ac_cv_header_iostream" = "yes" ; then
15225 :
15226 else
15227 cat >> confdefs.h <<\EOF
15228 #define wxUSE_IOSTREAMH 1
15229 EOF
15230
15231 fi
15232
15233 ac_ext=c
15234 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15235 ac_cpp='$CPP $CPPFLAGS'
15236 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15237 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15238 cross_compiling=$ac_cv_prog_cc_cross
15239
15240 fi
15241
15242
15243
15244 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
15245 echo "configure:15246: checking if C++ compiler supports bool" >&5
15246 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
15247 echo $ac_n "(cached) $ac_c" 1>&6
15248 else
15249
15250
15251 ac_ext=C
15252 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15253 ac_cpp='$CXXCPP $CPPFLAGS'
15254 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15255 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15256 cross_compiling=$ac_cv_prog_cxx_cross
15257
15258
15259 cat > conftest.$ac_ext <<EOF
15260 #line 15261 "configure"
15261 #include "confdefs.h"
15262
15263
15264 int main() {
15265
15266 bool b = true;
15267
15268 return 0;
15269
15270 ; return 0; }
15271 EOF
15272 if { (eval echo configure:15273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15273 rm -rf conftest*
15274
15275 wx_cv_cpp_bool=yes
15276
15277 else
15278 echo "configure: failed program was:" >&5
15279 cat conftest.$ac_ext >&5
15280 rm -rf conftest*
15281
15282 wx_cv_cpp_bool=no
15283
15284
15285 fi
15286 rm -f conftest*
15287
15288 ac_ext=c
15289 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15290 ac_cpp='$CPP $CPPFLAGS'
15291 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15292 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15293 cross_compiling=$ac_cv_prog_cc_cross
15294
15295
15296 fi
15297
15298 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
15299
15300 if test "$wx_cv_cpp_bool" = "yes"; then
15301 cat >> confdefs.h <<\EOF
15302 #define HAVE_BOOL 1
15303 EOF
15304
15305 fi
15306
15307
15308
15309 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
15310 echo "configure:15311: checking for wcslen in -lc" >&5
15311 ac_lib_var=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
15312 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15313 echo $ac_n "(cached) $ac_c" 1>&6
15314 else
15315 ac_save_LIBS="$LIBS"
15316 LIBS="-lc $LIBS"
15317 cat > conftest.$ac_ext <<EOF
15318 #line 15319 "configure"
15319 #include "confdefs.h"
15320 /* Override any gcc2 internal prototype to avoid an error. */
15321 /* We use char because int might match the return type of a gcc2
15322 builtin and then its argument prototype would still apply. */
15323 char wcslen();
15324
15325 int main() {
15326 wcslen()
15327 ; return 0; }
15328 EOF
15329 if { (eval echo configure:15330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15330 rm -rf conftest*
15331 eval "ac_cv_lib_$ac_lib_var=yes"
15332 else
15333 echo "configure: failed program was:" >&5
15334 cat conftest.$ac_ext >&5
15335 rm -rf conftest*
15336 eval "ac_cv_lib_$ac_lib_var=no"
15337 fi
15338 rm -f conftest*
15339 LIBS="$ac_save_LIBS"
15340
15341 fi
15342 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15343 echo "$ac_t""yes" 1>&6
15344
15345 cat >> confdefs.h <<\EOF
15346 #define HAVE_WCSLEN 1
15347 EOF
15348
15349 WCHAR_LINK=
15350
15351 else
15352 echo "$ac_t""no" 1>&6
15353
15354 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
15355 echo "configure:15356: checking for wcslen in -lw" >&5
15356 ac_lib_var=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
15357 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15358 echo $ac_n "(cached) $ac_c" 1>&6
15359 else
15360 ac_save_LIBS="$LIBS"
15361 LIBS="-lw $LIBS"
15362 cat > conftest.$ac_ext <<EOF
15363 #line 15364 "configure"
15364 #include "confdefs.h"
15365 /* Override any gcc2 internal prototype to avoid an error. */
15366 /* We use char because int might match the return type of a gcc2
15367 builtin and then its argument prototype would still apply. */
15368 char wcslen();
15369
15370 int main() {
15371 wcslen()
15372 ; return 0; }
15373 EOF
15374 if { (eval echo configure:15375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15375 rm -rf conftest*
15376 eval "ac_cv_lib_$ac_lib_var=yes"
15377 else
15378 echo "configure: failed program was:" >&5
15379 cat conftest.$ac_ext >&5
15380 rm -rf conftest*
15381 eval "ac_cv_lib_$ac_lib_var=no"
15382 fi
15383 rm -f conftest*
15384 LIBS="$ac_save_LIBS"
15385
15386 fi
15387 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15388 echo "$ac_t""yes" 1>&6
15389
15390 cat >> confdefs.h <<\EOF
15391 #define HAVE_WCSLEN 1
15392 EOF
15393
15394 WCHAR_LINK=" -lw"
15395
15396 else
15397 echo "$ac_t""no" 1>&6
15398
15399 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
15400 echo "configure:15401: checking for wcslen in -lmsvcrt" >&5
15401 ac_lib_var=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
15402 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15403 echo $ac_n "(cached) $ac_c" 1>&6
15404 else
15405 ac_save_LIBS="$LIBS"
15406 LIBS="-lmsvcrt $LIBS"
15407 cat > conftest.$ac_ext <<EOF
15408 #line 15409 "configure"
15409 #include "confdefs.h"
15410 /* Override any gcc2 internal prototype to avoid an error. */
15411 /* We use char because int might match the return type of a gcc2
15412 builtin and then its argument prototype would still apply. */
15413 char wcslen();
15414
15415 int main() {
15416 wcslen()
15417 ; return 0; }
15418 EOF
15419 if { (eval echo configure:15420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15420 rm -rf conftest*
15421 eval "ac_cv_lib_$ac_lib_var=yes"
15422 else
15423 echo "configure: failed program was:" >&5
15424 cat conftest.$ac_ext >&5
15425 rm -rf conftest*
15426 eval "ac_cv_lib_$ac_lib_var=no"
15427 fi
15428 rm -f conftest*
15429 LIBS="$ac_save_LIBS"
15430
15431 fi
15432 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15433 echo "$ac_t""yes" 1>&6
15434
15435 cat >> confdefs.h <<\EOF
15436 #define HAVE_WCSLEN 1
15437 EOF
15438
15439 WCHAR_LINK=
15440
15441 else
15442 echo "$ac_t""no" 1>&6
15443 fi
15444
15445
15446 fi
15447
15448
15449 fi
15450
15451
15452 for ac_func in wcsrtombs
15453 do
15454 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15455 echo "configure:15456: checking for $ac_func" >&5
15456 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15457 echo $ac_n "(cached) $ac_c" 1>&6
15458 else
15459 cat > conftest.$ac_ext <<EOF
15460 #line 15461 "configure"
15461 #include "confdefs.h"
15462 /* System header to define __stub macros and hopefully few prototypes,
15463 which can conflict with char $ac_func(); below. */
15464 #include <assert.h>
15465 /* Override any gcc2 internal prototype to avoid an error. */
15466 /* We use char because int might match the return type of a gcc2
15467 builtin and then its argument prototype would still apply. */
15468 char $ac_func();
15469
15470 int main() {
15471
15472 /* The GNU C library defines this for functions which it implements
15473 to always fail with ENOSYS. Some functions are actually named
15474 something starting with __ and the normal name is an alias. */
15475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15476 choke me
15477 #else
15478 $ac_func();
15479 #endif
15480
15481 ; return 0; }
15482 EOF
15483 if { (eval echo configure:15484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15484 rm -rf conftest*
15485 eval "ac_cv_func_$ac_func=yes"
15486 else
15487 echo "configure: failed program was:" >&5
15488 cat conftest.$ac_ext >&5
15489 rm -rf conftest*
15490 eval "ac_cv_func_$ac_func=no"
15491 fi
15492 rm -f conftest*
15493 fi
15494
15495 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15496 echo "$ac_t""yes" 1>&6
15497 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15498 cat >> confdefs.h <<EOF
15499 #define $ac_tr_func 1
15500 EOF
15501
15502 else
15503 echo "$ac_t""no" 1>&6
15504 fi
15505 done
15506
15507
15508 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
15509 echo "configure:15510: checking for vprintf" >&5
15510 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
15511 echo $ac_n "(cached) $ac_c" 1>&6
15512 else
15513 cat > conftest.$ac_ext <<EOF
15514 #line 15515 "configure"
15515 #include "confdefs.h"
15516 /* System header to define __stub macros and hopefully few prototypes,
15517 which can conflict with char vprintf(); below. */
15518 #include <assert.h>
15519 /* Override any gcc2 internal prototype to avoid an error. */
15520 /* We use char because int might match the return type of a gcc2
15521 builtin and then its argument prototype would still apply. */
15522 char vprintf();
15523
15524 int main() {
15525
15526 /* The GNU C library defines this for functions which it implements
15527 to always fail with ENOSYS. Some functions are actually named
15528 something starting with __ and the normal name is an alias. */
15529 #if defined (__stub_vprintf) || defined (__stub___vprintf)
15530 choke me
15531 #else
15532 vprintf();
15533 #endif
15534
15535 ; return 0; }
15536 EOF
15537 if { (eval echo configure:15538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15538 rm -rf conftest*
15539 eval "ac_cv_func_vprintf=yes"
15540 else
15541 echo "configure: failed program was:" >&5
15542 cat conftest.$ac_ext >&5
15543 rm -rf conftest*
15544 eval "ac_cv_func_vprintf=no"
15545 fi
15546 rm -f conftest*
15547 fi
15548
15549 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
15550 echo "$ac_t""yes" 1>&6
15551 cat >> confdefs.h <<\EOF
15552 #define HAVE_VPRINTF 1
15553 EOF
15554
15555 else
15556 echo "$ac_t""no" 1>&6
15557 fi
15558
15559 if test "$ac_cv_func_vprintf" != yes; then
15560 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
15561 echo "configure:15562: checking for _doprnt" >&5
15562 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
15563 echo $ac_n "(cached) $ac_c" 1>&6
15564 else
15565 cat > conftest.$ac_ext <<EOF
15566 #line 15567 "configure"
15567 #include "confdefs.h"
15568 /* System header to define __stub macros and hopefully few prototypes,
15569 which can conflict with char _doprnt(); below. */
15570 #include <assert.h>
15571 /* Override any gcc2 internal prototype to avoid an error. */
15572 /* We use char because int might match the return type of a gcc2
15573 builtin and then its argument prototype would still apply. */
15574 char _doprnt();
15575
15576 int main() {
15577
15578 /* The GNU C library defines this for functions which it implements
15579 to always fail with ENOSYS. Some functions are actually named
15580 something starting with __ and the normal name is an alias. */
15581 #if defined (__stub__doprnt) || defined (__stub____doprnt)
15582 choke me
15583 #else
15584 _doprnt();
15585 #endif
15586
15587 ; return 0; }
15588 EOF
15589 if { (eval echo configure:15590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15590 rm -rf conftest*
15591 eval "ac_cv_func__doprnt=yes"
15592 else
15593 echo "configure: failed program was:" >&5
15594 cat conftest.$ac_ext >&5
15595 rm -rf conftest*
15596 eval "ac_cv_func__doprnt=no"
15597 fi
15598 rm -f conftest*
15599 fi
15600
15601 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
15602 echo "$ac_t""yes" 1>&6
15603 cat >> confdefs.h <<\EOF
15604 #define HAVE_DOPRNT 1
15605 EOF
15606
15607 else
15608 echo "$ac_t""no" 1>&6
15609 fi
15610
15611 fi
15612
15613
15614
15615
15616
15617
15618 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
15619 echo "configure:15620: checking for vsnprintf" >&5
15620 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
15621 echo $ac_n "(cached) $ac_c" 1>&6
15622 else
15623
15624 cat > conftest.$ac_ext <<EOF
15625 #line 15626 "configure"
15626 #include "confdefs.h"
15627
15628 #include <stdio.h>
15629 #include <stdarg.h>
15630
15631 int main() {
15632
15633 int wx_test_vsnprintf(const char *, ...);
15634
15635 wx_test_vsnprintf("%s");
15636 return 0;
15637 }
15638
15639 int wx_test_vsnprintf(const char *fmt, ...)
15640 {
15641 char *s;
15642
15643 va_list argp;
15644 va_start(argp, fmt);
15645 vsnprintf(s, 42, fmt, argp);
15646 va_end(argp);
15647
15648 ; return 0; }
15649 EOF
15650 if { (eval echo configure:15651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15651 rm -rf conftest*
15652
15653 wx_cv_func_vsnprintf=yes
15654
15655 else
15656 echo "configure: failed program was:" >&5
15657 cat conftest.$ac_ext >&5
15658 rm -rf conftest*
15659
15660 cat > conftest.$ac_ext <<EOF
15661 #line 15662 "configure"
15662 #include "confdefs.h"
15663
15664 #include <stdio.h>
15665 #include <stdarg.h>
15666
15667 int main() {
15668
15669 int wx_test_vsnprintf(const char *, ...);
15670
15671 wx_test_vsnprintf("%s");
15672 return 0;
15673 }
15674
15675 int wx_test_vsnprintf(const char *fmt, ...)
15676 {
15677 char *s;
15678
15679 va_list argp;
15680 va_start(argp, fmt);
15681 _vsnprintf(s, 42, fmt, argp);
15682 va_end(argp);
15683
15684 ; return 0; }
15685 EOF
15686 if { (eval echo configure:15687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15687 rm -rf conftest*
15688
15689 wx_cv_func_vsnprintf=yes
15690
15691 else
15692 echo "configure: failed program was:" >&5
15693 cat conftest.$ac_ext >&5
15694 rm -rf conftest*
15695
15696 wx_cv_func_vsnprintf=no
15697
15698 fi
15699 rm -f conftest*
15700
15701 fi
15702 rm -f conftest*
15703
15704 fi
15705
15706 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
15707
15708 if test "$wx_cv_func_vsnprintf" = yes; then
15709 cat >> confdefs.h <<\EOF
15710 #define HAVE_VSNPRINTF 1
15711 EOF
15712
15713 else
15714 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
15715 fi
15716
15717 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
15718 echo "configure:15719: checking for vsscanf" >&5
15719 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
15720 echo $ac_n "(cached) $ac_c" 1>&6
15721 else
15722
15723 cat > conftest.$ac_ext <<EOF
15724 #line 15725 "configure"
15725 #include "confdefs.h"
15726
15727 #include <stdio.h>
15728 #include <stdarg.h>
15729
15730 int main() {
15731
15732 int wx_test_vsscanf(const char *, ...);
15733
15734 wx_test_vsscanf("%d");
15735 return 0;
15736 }
15737
15738 int wx_test_vsscanf(const char *fmt, ...)
15739 {
15740 va_list argp;
15741 va_start(argp, fmt);
15742 vsscanf("42", fmt, argp);
15743 va_end(argp);
15744
15745 ; return 0; }
15746 EOF
15747 if { (eval echo configure:15748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15748 rm -rf conftest*
15749
15750 wx_cv_func_vsscanf=yes
15751
15752 else
15753 echo "configure: failed program was:" >&5
15754 cat conftest.$ac_ext >&5
15755 rm -rf conftest*
15756
15757 wx_cv_func_vsscanf=no
15758
15759 fi
15760 rm -f conftest*
15761
15762 fi
15763
15764 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
15765
15766 if test "$wx_cv_func_vsscanf" = yes; then
15767 cat >> confdefs.h <<\EOF
15768 #define HAVE_VSSCANF 1
15769 EOF
15770
15771 fi
15772
15773 if test "$TOOLKIT" != "MSW"; then
15774
15775
15776
15777 ac_ext=C
15778 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15779 ac_cpp='$CXXCPP $CPPFLAGS'
15780 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15781 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15782 cross_compiling=$ac_cv_prog_cxx_cross
15783
15784
15785
15786 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
15787 if test "${with_libiconv_prefix+set}" = set; then
15788 withval="$with_libiconv_prefix"
15789
15790 for dir in `echo "$withval" | tr : ' '`; do
15791 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
15792 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
15793 done
15794
15795 fi
15796
15797
15798 echo $ac_n "checking for iconv""... $ac_c" 1>&6
15799 echo "configure:15800: checking for iconv" >&5
15800 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
15801 echo $ac_n "(cached) $ac_c" 1>&6
15802 else
15803
15804 am_cv_func_iconv="no, consider installing GNU libiconv"
15805 am_cv_lib_iconv=no
15806 cat > conftest.$ac_ext <<EOF
15807 #line 15808 "configure"
15808 #include "confdefs.h"
15809 #include <stdlib.h>
15810 #include <iconv.h>
15811 int main() {
15812 iconv_t cd = iconv_open("","");
15813 iconv(cd,NULL,NULL,NULL,NULL);
15814 iconv_close(cd);
15815 ; return 0; }
15816 EOF
15817 if { (eval echo configure:15818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15818 rm -rf conftest*
15819 am_cv_func_iconv=yes
15820 else
15821 echo "configure: failed program was:" >&5
15822 cat conftest.$ac_ext >&5
15823 fi
15824 rm -f conftest*
15825 if test "$am_cv_func_iconv" != yes; then
15826 am_save_LIBS="$LIBS"
15827 LIBS="$LIBS -liconv"
15828 cat > conftest.$ac_ext <<EOF
15829 #line 15830 "configure"
15830 #include "confdefs.h"
15831 #include <stdlib.h>
15832 #include <iconv.h>
15833 int main() {
15834 iconv_t cd = iconv_open("","");
15835 iconv(cd,NULL,NULL,NULL,NULL);
15836 iconv_close(cd);
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 am_cv_lib_iconv=yes
15842 am_cv_func_iconv=yes
15843 else
15844 echo "configure: failed program was:" >&5
15845 cat conftest.$ac_ext >&5
15846 fi
15847 rm -f conftest*
15848 LIBS="$am_save_LIBS"
15849 fi
15850
15851 fi
15852
15853 echo "$ac_t""$am_cv_func_iconv" 1>&6
15854 if test "$am_cv_func_iconv" = yes; then
15855 cat >> confdefs.h <<\EOF
15856 #define HAVE_ICONV 1
15857 EOF
15858
15859 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
15860 echo "configure:15861: checking if iconv needs const" >&5
15861 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
15862 echo $ac_n "(cached) $ac_c" 1>&6
15863 else
15864 cat > conftest.$ac_ext <<EOF
15865 #line 15866 "configure"
15866 #include "confdefs.h"
15867
15868 #include <stdlib.h>
15869 #include <iconv.h>
15870 extern
15871 #ifdef __cplusplus
15872 "C"
15873 #endif
15874 #if defined(__STDC__) || defined(__cplusplus)
15875 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
15876 #else
15877 size_t iconv();
15878 #endif
15879
15880 int main() {
15881
15882 ; return 0; }
15883 EOF
15884 if { (eval echo configure:15885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15885 rm -rf conftest*
15886 wx_cv_func_iconv_const="no"
15887 else
15888 echo "configure: failed program was:" >&5
15889 cat conftest.$ac_ext >&5
15890 rm -rf conftest*
15891 wx_cv_func_iconv_const="yes"
15892
15893 fi
15894 rm -f conftest*
15895
15896 fi
15897
15898 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
15899
15900 iconv_const=
15901 if test "x$wx_cv_func_iconv_const" = "xyes"; then
15902 iconv_const="const"
15903 fi
15904
15905 cat >> confdefs.h <<EOF
15906 #define ICONV_CONST $iconv_const
15907 EOF
15908
15909 fi
15910 LIBICONV=
15911 if test "$am_cv_lib_iconv" = yes; then
15912 LIBICONV="-liconv"
15913 fi
15914
15915
15916 LIBS="$LIBICONV $LIBS"
15917 ac_ext=c
15918 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15919 ac_cpp='$CPP $CPPFLAGS'
15920 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15921 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15922 cross_compiling=$ac_cv_prog_cc_cross
15923
15924
15925 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
15926 for ac_func in sigaction
15927 do
15928 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15929 echo "configure:15930: checking for $ac_func" >&5
15930 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15931 echo $ac_n "(cached) $ac_c" 1>&6
15932 else
15933 cat > conftest.$ac_ext <<EOF
15934 #line 15935 "configure"
15935 #include "confdefs.h"
15936 /* System header to define __stub macros and hopefully few prototypes,
15937 which can conflict with char $ac_func(); below. */
15938 #include <assert.h>
15939 /* Override any gcc2 internal prototype to avoid an error. */
15940 /* We use char because int might match the return type of a gcc2
15941 builtin and then its argument prototype would still apply. */
15942 char $ac_func();
15943
15944 int main() {
15945
15946 /* The GNU C library defines this for functions which it implements
15947 to always fail with ENOSYS. Some functions are actually named
15948 something starting with __ and the normal name is an alias. */
15949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15950 choke me
15951 #else
15952 $ac_func();
15953 #endif
15954
15955 ; return 0; }
15956 EOF
15957 if { (eval echo configure:15958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15958 rm -rf conftest*
15959 eval "ac_cv_func_$ac_func=yes"
15960 else
15961 echo "configure: failed program was:" >&5
15962 cat conftest.$ac_ext >&5
15963 rm -rf conftest*
15964 eval "ac_cv_func_$ac_func=no"
15965 fi
15966 rm -f conftest*
15967 fi
15968
15969 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15970 echo "$ac_t""yes" 1>&6
15971 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15972 cat >> confdefs.h <<EOF
15973 #define $ac_tr_func 1
15974 EOF
15975
15976 else
15977 echo "$ac_t""no" 1>&6
15978 fi
15979 done
15980
15981
15982 if test "$ac_cv_func_sigaction" = "no"; then
15983 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
15984 wxUSE_ON_FATAL_EXCEPTION=no
15985 fi
15986
15987 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15988
15989 ac_ext=C
15990 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15991 ac_cpp='$CXXCPP $CPPFLAGS'
15992 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15993 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15994 cross_compiling=$ac_cv_prog_cxx_cross
15995
15996
15997 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
15998 echo "configure:15999: checking for sa_handler type" >&5
15999 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
16000 echo $ac_n "(cached) $ac_c" 1>&6
16001 else
16002
16003 cat > conftest.$ac_ext <<EOF
16004 #line 16005 "configure"
16005 #include "confdefs.h"
16006 #include <signal.h>
16007 int main() {
16008
16009 extern void testSigHandler(int);
16010
16011 struct sigaction sa;
16012 sa.sa_handler = testSigHandler;
16013
16014 ; return 0; }
16015 EOF
16016 if { (eval echo configure:16017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16017 rm -rf conftest*
16018
16019 wx_cv_type_sa_handler=int
16020
16021 else
16022 echo "configure: failed program was:" >&5
16023 cat conftest.$ac_ext >&5
16024 rm -rf conftest*
16025
16026 wx_cv_type_sa_handler=void
16027
16028 fi
16029 rm -f conftest*
16030
16031 fi
16032
16033 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
16034
16035 ac_ext=c
16036 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16037 ac_cpp='$CPP $CPPFLAGS'
16038 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16039 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16040 cross_compiling=$ac_cv_prog_cc_cross
16041
16042
16043 cat >> confdefs.h <<EOF
16044 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
16045 EOF
16046
16047 fi
16048 fi
16049
16050 for ac_func in vfork
16051 do
16052 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16053 echo "configure:16054: checking for $ac_func" >&5
16054 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16055 echo $ac_n "(cached) $ac_c" 1>&6
16056 else
16057 cat > conftest.$ac_ext <<EOF
16058 #line 16059 "configure"
16059 #include "confdefs.h"
16060 /* System header to define __stub macros and hopefully few prototypes,
16061 which can conflict with char $ac_func(); below. */
16062 #include <assert.h>
16063 /* Override any gcc2 internal prototype to avoid an error. */
16064 /* We use char because int might match the return type of a gcc2
16065 builtin and then its argument prototype would still apply. */
16066 char $ac_func();
16067
16068 int main() {
16069
16070 /* The GNU C library defines this for functions which it implements
16071 to always fail with ENOSYS. Some functions are actually named
16072 something starting with __ and the normal name is an alias. */
16073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16074 choke me
16075 #else
16076 $ac_func();
16077 #endif
16078
16079 ; return 0; }
16080 EOF
16081 if { (eval echo configure:16082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16082 rm -rf conftest*
16083 eval "ac_cv_func_$ac_func=yes"
16084 else
16085 echo "configure: failed program was:" >&5
16086 cat conftest.$ac_ext >&5
16087 rm -rf conftest*
16088 eval "ac_cv_func_$ac_func=no"
16089 fi
16090 rm -f conftest*
16091 fi
16092
16093 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16094 echo "$ac_t""yes" 1>&6
16095 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16096 cat >> confdefs.h <<EOF
16097 #define $ac_tr_func 1
16098 EOF
16099
16100 else
16101 echo "$ac_t""no" 1>&6
16102 fi
16103 done
16104
16105
16106 for ac_func in mkstemp mktemp
16107 do
16108 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16109 echo "configure:16110: checking for $ac_func" >&5
16110 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16111 echo $ac_n "(cached) $ac_c" 1>&6
16112 else
16113 cat > conftest.$ac_ext <<EOF
16114 #line 16115 "configure"
16115 #include "confdefs.h"
16116 /* System header to define __stub macros and hopefully few prototypes,
16117 which can conflict with char $ac_func(); below. */
16118 #include <assert.h>
16119 /* Override any gcc2 internal prototype to avoid an error. */
16120 /* We use char because int might match the return type of a gcc2
16121 builtin and then its argument prototype would still apply. */
16122 char $ac_func();
16123
16124 int main() {
16125
16126 /* The GNU C library defines this for functions which it implements
16127 to always fail with ENOSYS. Some functions are actually named
16128 something starting with __ and the normal name is an alias. */
16129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16130 choke me
16131 #else
16132 $ac_func();
16133 #endif
16134
16135 ; return 0; }
16136 EOF
16137 if { (eval echo configure:16138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16138 rm -rf conftest*
16139 eval "ac_cv_func_$ac_func=yes"
16140 else
16141 echo "configure: failed program was:" >&5
16142 cat conftest.$ac_ext >&5
16143 rm -rf conftest*
16144 eval "ac_cv_func_$ac_func=no"
16145 fi
16146 rm -f conftest*
16147 fi
16148
16149 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16150 echo "$ac_t""yes" 1>&6
16151 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16152 cat >> confdefs.h <<EOF
16153 #define $ac_tr_func 1
16154 EOF
16155 break
16156 else
16157 echo "$ac_t""no" 1>&6
16158 fi
16159 done
16160
16161
16162 echo $ac_n "checking for statfs""... $ac_c" 1>&6
16163 echo "configure:16164: checking for statfs" >&5
16164 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
16165 echo $ac_n "(cached) $ac_c" 1>&6
16166 else
16167 cat > conftest.$ac_ext <<EOF
16168 #line 16169 "configure"
16169 #include "confdefs.h"
16170
16171 #if defined(__BSD__)
16172 #include <sys/param.h>
16173 #include <sys/mount.h>
16174 #else
16175 #include <sys/vfs.h>
16176 #endif
16177
16178 int main() {
16179
16180 long l;
16181 struct statfs fs;
16182 statfs("/", &fs);
16183 l = fs.f_bsize;
16184 l += fs.f_blocks;
16185 l += fs.f_bavail;
16186
16187 ; return 0; }
16188 EOF
16189 if { (eval echo configure:16190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16190 rm -rf conftest*
16191
16192 wx_cv_func_statfs=yes
16193
16194 else
16195 echo "configure: failed program was:" >&5
16196 cat conftest.$ac_ext >&5
16197 rm -rf conftest*
16198
16199 wx_cv_func_statfs=no
16200
16201
16202 fi
16203 rm -f conftest*
16204
16205 fi
16206
16207 echo "$ac_t""$wx_cv_func_statfs" 1>&6
16208
16209 if test "$wx_cv_func_statfs" = "yes"; then
16210 cat >> confdefs.h <<\EOF
16211 #define HAVE_STATFS 1
16212 EOF
16213
16214 else
16215 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
16216 echo "configure:16217: checking for statvfs" >&5
16217 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
16218 echo $ac_n "(cached) $ac_c" 1>&6
16219 else
16220 cat > conftest.$ac_ext <<EOF
16221 #line 16222 "configure"
16222 #include "confdefs.h"
16223
16224 #include <sys/statvfs.h>
16225
16226 int main() {
16227
16228 long l;
16229 struct statvfs fs;
16230 statvfs("/", &fs);
16231 l = fs.f_bsize;
16232 l += fs.f_blocks;
16233 l += fs.f_bavail;
16234
16235 ; return 0; }
16236 EOF
16237 if { (eval echo configure:16238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16238 rm -rf conftest*
16239
16240 wx_cv_func_statvfs=yes
16241
16242 else
16243 echo "configure: failed program was:" >&5
16244 cat conftest.$ac_ext >&5
16245 rm -rf conftest*
16246
16247 wx_cv_func_statvfs=no
16248
16249
16250 fi
16251 rm -f conftest*
16252
16253 fi
16254
16255 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
16256
16257 if test "$wx_cv_func_statvfs" = "yes"; then
16258 cat >> confdefs.h <<\EOF
16259 #define HAVE_STATVFS 1
16260 EOF
16261
16262 else
16263 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
16264 fi
16265 fi
16266
16267 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16268 for ac_func in fcntl flock
16269 do
16270 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16271 echo "configure:16272: checking for $ac_func" >&5
16272 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16273 echo $ac_n "(cached) $ac_c" 1>&6
16274 else
16275 cat > conftest.$ac_ext <<EOF
16276 #line 16277 "configure"
16277 #include "confdefs.h"
16278 /* System header to define __stub macros and hopefully few prototypes,
16279 which can conflict with char $ac_func(); below. */
16280 #include <assert.h>
16281 /* Override any gcc2 internal prototype to avoid an error. */
16282 /* We use char because int might match the return type of a gcc2
16283 builtin and then its argument prototype would still apply. */
16284 char $ac_func();
16285
16286 int main() {
16287
16288 /* The GNU C library defines this for functions which it implements
16289 to always fail with ENOSYS. Some functions are actually named
16290 something starting with __ and the normal name is an alias. */
16291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16292 choke me
16293 #else
16294 $ac_func();
16295 #endif
16296
16297 ; return 0; }
16298 EOF
16299 if { (eval echo configure:16300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16300 rm -rf conftest*
16301 eval "ac_cv_func_$ac_func=yes"
16302 else
16303 echo "configure: failed program was:" >&5
16304 cat conftest.$ac_ext >&5
16305 rm -rf conftest*
16306 eval "ac_cv_func_$ac_func=no"
16307 fi
16308 rm -f conftest*
16309 fi
16310
16311 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16312 echo "$ac_t""yes" 1>&6
16313 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16314 cat >> confdefs.h <<EOF
16315 #define $ac_tr_func 1
16316 EOF
16317 break
16318 else
16319 echo "$ac_t""no" 1>&6
16320 fi
16321 done
16322
16323
16324 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
16325 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
16326 wxUSE_SNGLINST_CHECKER=no
16327 fi
16328 fi
16329
16330 for ac_func in timegm
16331 do
16332 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16333 echo "configure:16334: checking for $ac_func" >&5
16334 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16335 echo $ac_n "(cached) $ac_c" 1>&6
16336 else
16337 cat > conftest.$ac_ext <<EOF
16338 #line 16339 "configure"
16339 #include "confdefs.h"
16340 /* System header to define __stub macros and hopefully few prototypes,
16341 which can conflict with char $ac_func(); below. */
16342 #include <assert.h>
16343 /* Override any gcc2 internal prototype to avoid an error. */
16344 /* We use char because int might match the return type of a gcc2
16345 builtin and then its argument prototype would still apply. */
16346 char $ac_func();
16347
16348 int main() {
16349
16350 /* The GNU C library defines this for functions which it implements
16351 to always fail with ENOSYS. Some functions are actually named
16352 something starting with __ and the normal name is an alias. */
16353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16354 choke me
16355 #else
16356 $ac_func();
16357 #endif
16358
16359 ; return 0; }
16360 EOF
16361 if { (eval echo configure:16362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16362 rm -rf conftest*
16363 eval "ac_cv_func_$ac_func=yes"
16364 else
16365 echo "configure: failed program was:" >&5
16366 cat conftest.$ac_ext >&5
16367 rm -rf conftest*
16368 eval "ac_cv_func_$ac_func=no"
16369 fi
16370 rm -f conftest*
16371 fi
16372
16373 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16374 echo "$ac_t""yes" 1>&6
16375 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16376 cat >> confdefs.h <<EOF
16377 #define $ac_tr_func 1
16378 EOF
16379
16380 else
16381 echo "$ac_t""no" 1>&6
16382 fi
16383 done
16384
16385
16386 for ac_func in putenv setenv
16387 do
16388 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16389 echo "configure:16390: checking for $ac_func" >&5
16390 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16391 echo $ac_n "(cached) $ac_c" 1>&6
16392 else
16393 cat > conftest.$ac_ext <<EOF
16394 #line 16395 "configure"
16395 #include "confdefs.h"
16396 /* System header to define __stub macros and hopefully few prototypes,
16397 which can conflict with char $ac_func(); below. */
16398 #include <assert.h>
16399 /* Override any gcc2 internal prototype to avoid an error. */
16400 /* We use char because int might match the return type of a gcc2
16401 builtin and then its argument prototype would still apply. */
16402 char $ac_func();
16403
16404 int main() {
16405
16406 /* The GNU C library defines this for functions which it implements
16407 to always fail with ENOSYS. Some functions are actually named
16408 something starting with __ and the normal name is an alias. */
16409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16410 choke me
16411 #else
16412 $ac_func();
16413 #endif
16414
16415 ; return 0; }
16416 EOF
16417 if { (eval echo configure:16418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16418 rm -rf conftest*
16419 eval "ac_cv_func_$ac_func=yes"
16420 else
16421 echo "configure: failed program was:" >&5
16422 cat conftest.$ac_ext >&5
16423 rm -rf conftest*
16424 eval "ac_cv_func_$ac_func=no"
16425 fi
16426 rm -f conftest*
16427 fi
16428
16429 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16430 echo "$ac_t""yes" 1>&6
16431 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16432 cat >> confdefs.h <<EOF
16433 #define $ac_tr_func 1
16434 EOF
16435 break
16436 else
16437 echo "$ac_t""no" 1>&6
16438 fi
16439 done
16440
16441
16442 HAVE_SOME_SLEEP_FUNC=0
16443 if test "$USE_BEOS" = 1; then
16444 cat >> confdefs.h <<\EOF
16445 #define HAVE_SLEEP 1
16446 EOF
16447
16448 HAVE_SOME_SLEEP_FUNC=1
16449 fi
16450
16451 if test "$USE_DARWIN" = 1; then
16452 cat >> confdefs.h <<\EOF
16453 #define HAVE_USLEEP 1
16454 EOF
16455
16456 HAVE_SOME_SLEEP_FUNC=1
16457 fi
16458
16459 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
16460 POSIX4_LINK=
16461 for ac_func in nanosleep
16462 do
16463 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16464 echo "configure:16465: checking for $ac_func" >&5
16465 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16466 echo $ac_n "(cached) $ac_c" 1>&6
16467 else
16468 cat > conftest.$ac_ext <<EOF
16469 #line 16470 "configure"
16470 #include "confdefs.h"
16471 /* System header to define __stub macros and hopefully few prototypes,
16472 which can conflict with char $ac_func(); below. */
16473 #include <assert.h>
16474 /* Override any gcc2 internal prototype to avoid an error. */
16475 /* We use char because int might match the return type of a gcc2
16476 builtin and then its argument prototype would still apply. */
16477 char $ac_func();
16478
16479 int main() {
16480
16481 /* The GNU C library defines this for functions which it implements
16482 to always fail with ENOSYS. Some functions are actually named
16483 something starting with __ and the normal name is an alias. */
16484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16485 choke me
16486 #else
16487 $ac_func();
16488 #endif
16489
16490 ; return 0; }
16491 EOF
16492 if { (eval echo configure:16493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16493 rm -rf conftest*
16494 eval "ac_cv_func_$ac_func=yes"
16495 else
16496 echo "configure: failed program was:" >&5
16497 cat conftest.$ac_ext >&5
16498 rm -rf conftest*
16499 eval "ac_cv_func_$ac_func=no"
16500 fi
16501 rm -f conftest*
16502 fi
16503
16504 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16505 echo "$ac_t""yes" 1>&6
16506 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16507 cat >> confdefs.h <<EOF
16508 #define $ac_tr_func 1
16509 EOF
16510 cat >> confdefs.h <<\EOF
16511 #define HAVE_NANOSLEEP 1
16512 EOF
16513
16514 else
16515 echo "$ac_t""no" 1>&6
16516 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
16517 echo "configure:16518: checking for nanosleep in -lposix4" >&5
16518 ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
16519 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16520 echo $ac_n "(cached) $ac_c" 1>&6
16521 else
16522 ac_save_LIBS="$LIBS"
16523 LIBS="-lposix4 $LIBS"
16524 cat > conftest.$ac_ext <<EOF
16525 #line 16526 "configure"
16526 #include "confdefs.h"
16527 /* Override any gcc2 internal prototype to avoid an error. */
16528 /* We use char because int might match the return type of a gcc2
16529 builtin and then its argument prototype would still apply. */
16530 char nanosleep();
16531
16532 int main() {
16533 nanosleep()
16534 ; return 0; }
16535 EOF
16536 if { (eval echo configure:16537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16537 rm -rf conftest*
16538 eval "ac_cv_lib_$ac_lib_var=yes"
16539 else
16540 echo "configure: failed program was:" >&5
16541 cat conftest.$ac_ext >&5
16542 rm -rf conftest*
16543 eval "ac_cv_lib_$ac_lib_var=no"
16544 fi
16545 rm -f conftest*
16546 LIBS="$ac_save_LIBS"
16547
16548 fi
16549 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16550 echo "$ac_t""yes" 1>&6
16551
16552 cat >> confdefs.h <<\EOF
16553 #define HAVE_NANOSLEEP 1
16554 EOF
16555
16556 POSIX4_LINK=" -lposix4"
16557
16558 else
16559 echo "$ac_t""no" 1>&6
16560
16561 for ac_func in usleep
16562 do
16563 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16564 echo "configure:16565: checking for $ac_func" >&5
16565 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16566 echo $ac_n "(cached) $ac_c" 1>&6
16567 else
16568 cat > conftest.$ac_ext <<EOF
16569 #line 16570 "configure"
16570 #include "confdefs.h"
16571 /* System header to define __stub macros and hopefully few prototypes,
16572 which can conflict with char $ac_func(); below. */
16573 #include <assert.h>
16574 /* Override any gcc2 internal prototype to avoid an error. */
16575 /* We use char because int might match the return type of a gcc2
16576 builtin and then its argument prototype would still apply. */
16577 char $ac_func();
16578
16579 int main() {
16580
16581 /* The GNU C library defines this for functions which it implements
16582 to always fail with ENOSYS. Some functions are actually named
16583 something starting with __ and the normal name is an alias. */
16584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16585 choke me
16586 #else
16587 $ac_func();
16588 #endif
16589
16590 ; return 0; }
16591 EOF
16592 if { (eval echo configure:16593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16593 rm -rf conftest*
16594 eval "ac_cv_func_$ac_func=yes"
16595 else
16596 echo "configure: failed program was:" >&5
16597 cat conftest.$ac_ext >&5
16598 rm -rf conftest*
16599 eval "ac_cv_func_$ac_func=no"
16600 fi
16601 rm -f conftest*
16602 fi
16603
16604 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16605 echo "$ac_t""yes" 1>&6
16606 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16607 cat >> confdefs.h <<EOF
16608 #define $ac_tr_func 1
16609 EOF
16610 cat >> confdefs.h <<\EOF
16611 #define HAVE_USLEEP 1
16612 EOF
16613
16614 else
16615 echo "$ac_t""no" 1>&6
16616 echo "configure: warning: wxSleep() function will not work" 1>&2
16617
16618 fi
16619 done
16620
16621
16622
16623 fi
16624
16625
16626
16627 fi
16628 done
16629
16630 fi
16631
16632 for ac_func in uname gethostname
16633 do
16634 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16635 echo "configure:16636: checking for $ac_func" >&5
16636 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16637 echo $ac_n "(cached) $ac_c" 1>&6
16638 else
16639 cat > conftest.$ac_ext <<EOF
16640 #line 16641 "configure"
16641 #include "confdefs.h"
16642 /* System header to define __stub macros and hopefully few prototypes,
16643 which can conflict with char $ac_func(); below. */
16644 #include <assert.h>
16645 /* Override any gcc2 internal prototype to avoid an error. */
16646 /* We use char because int might match the return type of a gcc2
16647 builtin and then its argument prototype would still apply. */
16648 char $ac_func();
16649
16650 int main() {
16651
16652 /* The GNU C library defines this for functions which it implements
16653 to always fail with ENOSYS. Some functions are actually named
16654 something starting with __ and the normal name is an alias. */
16655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16656 choke me
16657 #else
16658 $ac_func();
16659 #endif
16660
16661 ; return 0; }
16662 EOF
16663 if { (eval echo configure:16664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16664 rm -rf conftest*
16665 eval "ac_cv_func_$ac_func=yes"
16666 else
16667 echo "configure: failed program was:" >&5
16668 cat conftest.$ac_ext >&5
16669 rm -rf conftest*
16670 eval "ac_cv_func_$ac_func=no"
16671 fi
16672 rm -f conftest*
16673 fi
16674
16675 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16676 echo "$ac_t""yes" 1>&6
16677 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16678 cat >> confdefs.h <<EOF
16679 #define $ac_tr_func 1
16680 EOF
16681 break
16682 else
16683 echo "$ac_t""no" 1>&6
16684 fi
16685 done
16686
16687
16688
16689 ac_ext=C
16690 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16691 ac_cpp='$CXXCPP $CPPFLAGS'
16692 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16693 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16694 cross_compiling=$ac_cv_prog_cxx_cross
16695
16696
16697 for ac_func in strtok_r
16698 do
16699 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16700 echo "configure:16701: checking for $ac_func" >&5
16701 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16702 echo $ac_n "(cached) $ac_c" 1>&6
16703 else
16704 cat > conftest.$ac_ext <<EOF
16705 #line 16706 "configure"
16706 #include "confdefs.h"
16707 /* System header to define __stub macros and hopefully few prototypes,
16708 which can conflict with char $ac_func(); below. */
16709 #include <assert.h>
16710 /* Override any gcc2 internal prototype to avoid an error. */
16711 #ifdef __cplusplus
16712 extern "C"
16713 #endif
16714 /* We use char because int might match the return type of a gcc2
16715 builtin and then its argument prototype would still apply. */
16716 char $ac_func();
16717
16718 int main() {
16719
16720 /* The GNU C library defines this for functions which it implements
16721 to always fail with ENOSYS. Some functions are actually named
16722 something starting with __ and the normal name is an alias. */
16723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16724 choke me
16725 #else
16726 $ac_func();
16727 #endif
16728
16729 ; return 0; }
16730 EOF
16731 if { (eval echo configure:16732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16732 rm -rf conftest*
16733 eval "ac_cv_func_$ac_func=yes"
16734 else
16735 echo "configure: failed program was:" >&5
16736 cat conftest.$ac_ext >&5
16737 rm -rf conftest*
16738 eval "ac_cv_func_$ac_func=no"
16739 fi
16740 rm -f conftest*
16741 fi
16742
16743 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16744 echo "$ac_t""yes" 1>&6
16745 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16746 cat >> confdefs.h <<EOF
16747 #define $ac_tr_func 1
16748 EOF
16749
16750 else
16751 echo "$ac_t""no" 1>&6
16752 fi
16753 done
16754
16755
16756 ac_ext=c
16757 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16758 ac_cpp='$CPP $CPPFLAGS'
16759 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16760 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16761 cross_compiling=$ac_cv_prog_cc_cross
16762
16763
16764 INET_LINK=
16765 for ac_func in inet_addr
16766 do
16767 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16768 echo "configure:16769: checking for $ac_func" >&5
16769 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16770 echo $ac_n "(cached) $ac_c" 1>&6
16771 else
16772 cat > conftest.$ac_ext <<EOF
16773 #line 16774 "configure"
16774 #include "confdefs.h"
16775 /* System header to define __stub macros and hopefully few prototypes,
16776 which can conflict with char $ac_func(); below. */
16777 #include <assert.h>
16778 /* Override any gcc2 internal prototype to avoid an error. */
16779 /* We use char because int might match the return type of a gcc2
16780 builtin and then its argument prototype would still apply. */
16781 char $ac_func();
16782
16783 int main() {
16784
16785 /* The GNU C library defines this for functions which it implements
16786 to always fail with ENOSYS. Some functions are actually named
16787 something starting with __ and the normal name is an alias. */
16788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16789 choke me
16790 #else
16791 $ac_func();
16792 #endif
16793
16794 ; return 0; }
16795 EOF
16796 if { (eval echo configure:16797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16797 rm -rf conftest*
16798 eval "ac_cv_func_$ac_func=yes"
16799 else
16800 echo "configure: failed program was:" >&5
16801 cat conftest.$ac_ext >&5
16802 rm -rf conftest*
16803 eval "ac_cv_func_$ac_func=no"
16804 fi
16805 rm -f conftest*
16806 fi
16807
16808 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16809 echo "$ac_t""yes" 1>&6
16810 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16811 cat >> confdefs.h <<EOF
16812 #define $ac_tr_func 1
16813 EOF
16814 cat >> confdefs.h <<\EOF
16815 #define HAVE_INET_ADDR 1
16816 EOF
16817
16818 else
16819 echo "$ac_t""no" 1>&6
16820 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
16821 echo "configure:16822: checking for inet_addr in -lnsl" >&5
16822 ac_lib_var=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
16823 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16824 echo $ac_n "(cached) $ac_c" 1>&6
16825 else
16826 ac_save_LIBS="$LIBS"
16827 LIBS="-lnsl $LIBS"
16828 cat > conftest.$ac_ext <<EOF
16829 #line 16830 "configure"
16830 #include "confdefs.h"
16831 /* Override any gcc2 internal prototype to avoid an error. */
16832 /* We use char because int might match the return type of a gcc2
16833 builtin and then its argument prototype would still apply. */
16834 char inet_addr();
16835
16836 int main() {
16837 inet_addr()
16838 ; return 0; }
16839 EOF
16840 if { (eval echo configure:16841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16841 rm -rf conftest*
16842 eval "ac_cv_lib_$ac_lib_var=yes"
16843 else
16844 echo "configure: failed program was:" >&5
16845 cat conftest.$ac_ext >&5
16846 rm -rf conftest*
16847 eval "ac_cv_lib_$ac_lib_var=no"
16848 fi
16849 rm -f conftest*
16850 LIBS="$ac_save_LIBS"
16851
16852 fi
16853 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16854 echo "$ac_t""yes" 1>&6
16855 INET_LINK="nsl"
16856 else
16857 echo "$ac_t""no" 1>&6
16858 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
16859 echo "configure:16860: checking for inet_addr in -lresolv" >&5
16860 ac_lib_var=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
16861 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16862 echo $ac_n "(cached) $ac_c" 1>&6
16863 else
16864 ac_save_LIBS="$LIBS"
16865 LIBS="-lresolv $LIBS"
16866 cat > conftest.$ac_ext <<EOF
16867 #line 16868 "configure"
16868 #include "confdefs.h"
16869 /* Override any gcc2 internal prototype to avoid an error. */
16870 /* We use char because int might match the return type of a gcc2
16871 builtin and then its argument prototype would still apply. */
16872 char inet_addr();
16873
16874 int main() {
16875 inet_addr()
16876 ; return 0; }
16877 EOF
16878 if { (eval echo configure:16879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16879 rm -rf conftest*
16880 eval "ac_cv_lib_$ac_lib_var=yes"
16881 else
16882 echo "configure: failed program was:" >&5
16883 cat conftest.$ac_ext >&5
16884 rm -rf conftest*
16885 eval "ac_cv_lib_$ac_lib_var=no"
16886 fi
16887 rm -f conftest*
16888 LIBS="$ac_save_LIBS"
16889
16890 fi
16891 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16892 echo "$ac_t""yes" 1>&6
16893 INET_LINK="resolv"
16894 else
16895 echo "$ac_t""no" 1>&6
16896 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
16897 echo "configure:16898: checking for inet_addr in -lsocket" >&5
16898 ac_lib_var=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
16899 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16900 echo $ac_n "(cached) $ac_c" 1>&6
16901 else
16902 ac_save_LIBS="$LIBS"
16903 LIBS="-lsocket $LIBS"
16904 cat > conftest.$ac_ext <<EOF
16905 #line 16906 "configure"
16906 #include "confdefs.h"
16907 /* Override any gcc2 internal prototype to avoid an error. */
16908 /* We use char because int might match the return type of a gcc2
16909 builtin and then its argument prototype would still apply. */
16910 char inet_addr();
16911
16912 int main() {
16913 inet_addr()
16914 ; return 0; }
16915 EOF
16916 if { (eval echo configure:16917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16917 rm -rf conftest*
16918 eval "ac_cv_lib_$ac_lib_var=yes"
16919 else
16920 echo "configure: failed program was:" >&5
16921 cat conftest.$ac_ext >&5
16922 rm -rf conftest*
16923 eval "ac_cv_lib_$ac_lib_var=no"
16924 fi
16925 rm -f conftest*
16926 LIBS="$ac_save_LIBS"
16927
16928 fi
16929 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16930 echo "$ac_t""yes" 1>&6
16931 INET_LINK="socket"
16932
16933 else
16934 echo "$ac_t""no" 1>&6
16935 fi
16936
16937
16938 fi
16939
16940
16941 fi
16942
16943
16944
16945 fi
16946 done
16947
16948
16949 for ac_func in inet_aton
16950 do
16951 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16952 echo "configure:16953: checking for $ac_func" >&5
16953 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16954 echo $ac_n "(cached) $ac_c" 1>&6
16955 else
16956 cat > conftest.$ac_ext <<EOF
16957 #line 16958 "configure"
16958 #include "confdefs.h"
16959 /* System header to define __stub macros and hopefully few prototypes,
16960 which can conflict with char $ac_func(); below. */
16961 #include <assert.h>
16962 /* Override any gcc2 internal prototype to avoid an error. */
16963 /* We use char because int might match the return type of a gcc2
16964 builtin and then its argument prototype would still apply. */
16965 char $ac_func();
16966
16967 int main() {
16968
16969 /* The GNU C library defines this for functions which it implements
16970 to always fail with ENOSYS. Some functions are actually named
16971 something starting with __ and the normal name is an alias. */
16972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16973 choke me
16974 #else
16975 $ac_func();
16976 #endif
16977
16978 ; return 0; }
16979 EOF
16980 if { (eval echo configure:16981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16981 rm -rf conftest*
16982 eval "ac_cv_func_$ac_func=yes"
16983 else
16984 echo "configure: failed program was:" >&5
16985 cat conftest.$ac_ext >&5
16986 rm -rf conftest*
16987 eval "ac_cv_func_$ac_func=no"
16988 fi
16989 rm -f conftest*
16990 fi
16991
16992 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16993 echo "$ac_t""yes" 1>&6
16994 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16995 cat >> confdefs.h <<EOF
16996 #define $ac_tr_func 1
16997 EOF
16998 cat >> confdefs.h <<\EOF
16999 #define HAVE_INET_ATON 1
17000 EOF
17001
17002 else
17003 echo "$ac_t""no" 1>&6
17004 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
17005 echo "configure:17006: checking for inet_aton in -l$INET_LINK" >&5
17006 ac_lib_var=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
17007 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17008 echo $ac_n "(cached) $ac_c" 1>&6
17009 else
17010 ac_save_LIBS="$LIBS"
17011 LIBS="-l$INET_LINK $LIBS"
17012 cat > conftest.$ac_ext <<EOF
17013 #line 17014 "configure"
17014 #include "confdefs.h"
17015 /* Override any gcc2 internal prototype to avoid an error. */
17016 /* We use char because int might match the return type of a gcc2
17017 builtin and then its argument prototype would still apply. */
17018 char inet_aton();
17019
17020 int main() {
17021 inet_aton()
17022 ; return 0; }
17023 EOF
17024 if { (eval echo configure:17025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17025 rm -rf conftest*
17026 eval "ac_cv_lib_$ac_lib_var=yes"
17027 else
17028 echo "configure: failed program was:" >&5
17029 cat conftest.$ac_ext >&5
17030 rm -rf conftest*
17031 eval "ac_cv_lib_$ac_lib_var=no"
17032 fi
17033 rm -f conftest*
17034 LIBS="$ac_save_LIBS"
17035
17036 fi
17037 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17038 echo "$ac_t""yes" 1>&6
17039 cat >> confdefs.h <<\EOF
17040 #define HAVE_INET_ATON 1
17041 EOF
17042
17043 else
17044 echo "$ac_t""no" 1>&6
17045 fi
17046
17047
17048 fi
17049 done
17050
17051
17052 if test "x$INET_LINK" != "x"; then
17053 cat >> confdefs.h <<\EOF
17054 #define HAVE_INET_ADDR 1
17055 EOF
17056
17057 INET_LINK=" -l$INET_LINK"
17058 fi
17059
17060 fi
17061
17062
17063 cat > confcache <<\EOF
17064 # This file is a shell script that caches the results of configure
17065 # tests run on this system so they can be shared between configure
17066 # scripts and configure runs. It is not useful on other systems.
17067 # If it contains results you don't want to keep, you may remove or edit it.
17068 #
17069 # By default, configure uses ./config.cache as the cache file,
17070 # creating it if it does not exist already. You can give configure
17071 # the --cache-file=FILE option to use a different cache file; that is
17072 # what configure does when it calls configure scripts in
17073 # subdirectories, so they share the cache.
17074 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17075 # config.status only pays attention to the cache file if you give it the
17076 # --recheck option to rerun configure.
17077 #
17078 EOF
17079 # The following way of writing the cache mishandles newlines in values,
17080 # but we know of no workaround that is simple, portable, and efficient.
17081 # So, don't put newlines in cache variables' values.
17082 # Ultrix sh set writes to stderr and can't be redirected directly,
17083 # and sets the high bit in the cache file unless we assign to the vars.
17084 (set) 2>&1 |
17085 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17086 *ac_space=\ *)
17087 # `set' does not quote correctly, so add quotes (double-quote substitution
17088 # turns \\\\ into \\, and sed turns \\ into \).
17089 sed -n \
17090 -e "s/'/'\\\\''/g" \
17091 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17092 ;;
17093 *)
17094 # `set' quotes correctly as required by POSIX, so do not add quotes.
17095 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17096 ;;
17097 esac >> confcache
17098 if cmp -s $cache_file confcache; then
17099 :
17100 else
17101 if test -w $cache_file; then
17102 echo "updating cache $cache_file"
17103 cat confcache > $cache_file
17104 else
17105 echo "not updating unwritable cache $cache_file"
17106 fi
17107 fi
17108 rm -f confcache
17109
17110
17111
17112 CPP_MT_FLAG=
17113 if test "$TOOLKIT" != "MSW"; then
17114
17115
17116 THREADS_LINK=
17117 THREADS_CFLAGS=
17118
17119 if test "$wxUSE_THREADS" = "yes" ; then
17120 if test "$wxUSE_WINE" = 1 ; then
17121 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
17122 wxUSE_THREADS="no"
17123 elif test "$USE_BEOS" = 1; then
17124 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
17125 wxUSE_THREADS="no"
17126 fi
17127 fi
17128
17129 if test "$wxUSE_THREADS" = "yes" ; then
17130
17131
17132 THREAD_OPTS="-pthread"
17133 case "${host}" in
17134 *-*-solaris2* | *-*-sunos4* )
17135 if test "x$GCC" = "xyes"; then
17136 THREAD_OPTS="-pthreads $THREAD_OPTS"
17137 else
17138 THREAD_OPTS="-mt $THREAD_OPTS"
17139 fi
17140 ;;
17141 *-*-freebsd*)
17142 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
17143 ;;
17144 *-*-darwin*)
17145 THREAD_OPTS=""
17146 ;;
17147 *-*-aix*)
17148 THREAD_OPTS="pthreads"
17149 ;;
17150 esac
17151
17152 THREAD_OPTS="$THREAD_OPTS pthread none"
17153
17154 THREADS_OK=no
17155 for flag in $THREAD_OPTS; do
17156 case $flag in
17157 none)
17158 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
17159 echo "configure:17160: checking whether pthreads work without any flags" >&5
17160 ;;
17161
17162 -*)
17163 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
17164 echo "configure:17165: checking whether pthreads work with $flag" >&5
17165 THREADS_CFLAGS="$flag"
17166 ;;
17167
17168 *)
17169 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
17170 echo "configure:17171: checking for the pthreads library -l$flag" >&5
17171 THREADS_LINK="-l$flag"
17172 ;;
17173 esac
17174
17175 save_LIBS="$LIBS"
17176 save_CFLAGS="$CFLAGS"
17177 LIBS="$THREADS_LINK $LIBS"
17178 CFLAGS="$THREADS_CFLAGS $CFLAGS"
17179
17180 cat > conftest.$ac_ext <<EOF
17181 #line 17182 "configure"
17182 #include "confdefs.h"
17183 #include <pthread.h>
17184 int main() {
17185 pthread_create(0,0,0,0);
17186 ; return 0; }
17187 EOF
17188 if { (eval echo configure:17189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17189 rm -rf conftest*
17190 THREADS_OK=yes
17191 else
17192 echo "configure: failed program was:" >&5
17193 cat conftest.$ac_ext >&5
17194 fi
17195 rm -f conftest*
17196
17197 LIBS="$save_LIBS"
17198 CFLAGS="$save_CFLAGS"
17199
17200 echo "$ac_t""$THREADS_OK" 1>&6
17201 if test "x$THREADS_OK" = "xyes"; then
17202 break;
17203 fi
17204
17205 THREADS_LINK=""
17206 THREADS_CFLAGS=""
17207 done
17208
17209 if test "x$THREADS_OK" != "xyes"; then
17210 wxUSE_THREADS=no
17211 echo "configure: warning: No thread support on this system... disabled" 1>&2
17212 else
17213 LIBS="$THREADS_LINK $THREADS_CFLAGS $LIBS"
17214
17215 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
17216 echo "configure:17217: checking if more special flags are required for pthreads" >&5
17217 flag=no
17218 case "${host}" in
17219 *-aix* | *-freebsd*)
17220 flag="-D_THREAD_SAFE"
17221 ;;
17222 *solaris* | alpha*-osf*)
17223 flag="-D_REENTRANT"
17224 ;;
17225 esac
17226 echo "$ac_t""${flag}" 1>&6
17227 if test "x$flag" != xno; then
17228 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
17229 fi
17230
17231 if test "x$THREADS_CFLAGS" != "x"; then
17232 CFLAGS="$CFLAGS $THREADS_CFLAGS"
17233 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
17234 fi
17235 fi
17236 fi
17237
17238 if test "$wxUSE_THREADS" = "yes" ; then
17239 for ac_func in thr_setconcurrency
17240 do
17241 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17242 echo "configure:17243: checking for $ac_func" >&5
17243 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17244 echo $ac_n "(cached) $ac_c" 1>&6
17245 else
17246 cat > conftest.$ac_ext <<EOF
17247 #line 17248 "configure"
17248 #include "confdefs.h"
17249 /* System header to define __stub macros and hopefully few prototypes,
17250 which can conflict with char $ac_func(); below. */
17251 #include <assert.h>
17252 /* Override any gcc2 internal prototype to avoid an error. */
17253 /* We use char because int might match the return type of a gcc2
17254 builtin and then its argument prototype would still apply. */
17255 char $ac_func();
17256
17257 int main() {
17258
17259 /* The GNU C library defines this for functions which it implements
17260 to always fail with ENOSYS. Some functions are actually named
17261 something starting with __ and the normal name is an alias. */
17262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17263 choke me
17264 #else
17265 $ac_func();
17266 #endif
17267
17268 ; return 0; }
17269 EOF
17270 if { (eval echo configure:17271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17271 rm -rf conftest*
17272 eval "ac_cv_func_$ac_func=yes"
17273 else
17274 echo "configure: failed program was:" >&5
17275 cat conftest.$ac_ext >&5
17276 rm -rf conftest*
17277 eval "ac_cv_func_$ac_func=no"
17278 fi
17279 rm -f conftest*
17280 fi
17281
17282 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17283 echo "$ac_t""yes" 1>&6
17284 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17285 cat >> confdefs.h <<EOF
17286 #define $ac_tr_func 1
17287 EOF
17288
17289 else
17290 echo "$ac_t""no" 1>&6
17291 fi
17292 done
17293
17294
17295 for ac_hdr in sched.h
17296 do
17297 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17298 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17299 echo "configure:17300: checking for $ac_hdr" >&5
17300 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17301 echo $ac_n "(cached) $ac_c" 1>&6
17302 else
17303 cat > conftest.$ac_ext <<EOF
17304 #line 17305 "configure"
17305 #include "confdefs.h"
17306 #include <$ac_hdr>
17307 EOF
17308 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17309 { (eval echo configure:17310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17310 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17311 if test -z "$ac_err"; then
17312 rm -rf conftest*
17313 eval "ac_cv_header_$ac_safe=yes"
17314 else
17315 echo "$ac_err" >&5
17316 echo "configure: failed program was:" >&5
17317 cat conftest.$ac_ext >&5
17318 rm -rf conftest*
17319 eval "ac_cv_header_$ac_safe=no"
17320 fi
17321 rm -f conftest*
17322 fi
17323 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17324 echo "$ac_t""yes" 1>&6
17325 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17326 cat >> confdefs.h <<EOF
17327 #define $ac_tr_hdr 1
17328 EOF
17329
17330 else
17331 echo "$ac_t""no" 1>&6
17332 fi
17333 done
17334
17335 if test "$ac_cv_header_sched_h" = "yes"; then
17336 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
17337 echo "configure:17338: checking for sched_yield" >&5
17338 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
17339 echo $ac_n "(cached) $ac_c" 1>&6
17340 else
17341 cat > conftest.$ac_ext <<EOF
17342 #line 17343 "configure"
17343 #include "confdefs.h"
17344 /* System header to define __stub macros and hopefully few prototypes,
17345 which can conflict with char sched_yield(); below. */
17346 #include <assert.h>
17347 /* Override any gcc2 internal prototype to avoid an error. */
17348 /* We use char because int might match the return type of a gcc2
17349 builtin and then its argument prototype would still apply. */
17350 char sched_yield();
17351
17352 int main() {
17353
17354 /* The GNU C library defines this for functions which it implements
17355 to always fail with ENOSYS. Some functions are actually named
17356 something starting with __ and the normal name is an alias. */
17357 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
17358 choke me
17359 #else
17360 sched_yield();
17361 #endif
17362
17363 ; return 0; }
17364 EOF
17365 if { (eval echo configure:17366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17366 rm -rf conftest*
17367 eval "ac_cv_func_sched_yield=yes"
17368 else
17369 echo "configure: failed program was:" >&5
17370 cat conftest.$ac_ext >&5
17371 rm -rf conftest*
17372 eval "ac_cv_func_sched_yield=no"
17373 fi
17374 rm -f conftest*
17375 fi
17376
17377 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
17378 echo "$ac_t""yes" 1>&6
17379 cat >> confdefs.h <<\EOF
17380 #define HAVE_SCHED_YIELD 1
17381 EOF
17382
17383 else
17384 echo "$ac_t""no" 1>&6
17385
17386 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
17387 echo "configure:17388: checking for sched_yield in -lposix4" >&5
17388 ac_lib_var=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
17389 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17390 echo $ac_n "(cached) $ac_c" 1>&6
17391 else
17392 ac_save_LIBS="$LIBS"
17393 LIBS="-lposix4 $LIBS"
17394 cat > conftest.$ac_ext <<EOF
17395 #line 17396 "configure"
17396 #include "confdefs.h"
17397 /* Override any gcc2 internal prototype to avoid an error. */
17398 /* We use char because int might match the return type of a gcc2
17399 builtin and then its argument prototype would still apply. */
17400 char sched_yield();
17401
17402 int main() {
17403 sched_yield()
17404 ; return 0; }
17405 EOF
17406 if { (eval echo configure:17407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17407 rm -rf conftest*
17408 eval "ac_cv_lib_$ac_lib_var=yes"
17409 else
17410 echo "configure: failed program was:" >&5
17411 cat conftest.$ac_ext >&5
17412 rm -rf conftest*
17413 eval "ac_cv_lib_$ac_lib_var=no"
17414 fi
17415 rm -f conftest*
17416 LIBS="$ac_save_LIBS"
17417
17418 fi
17419 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17420 echo "$ac_t""yes" 1>&6
17421 cat >> confdefs.h <<\EOF
17422 #define HAVE_SCHED_YIELD 1
17423 EOF
17424 POSIX4_LINK=" -lposix4"
17425 else
17426 echo "$ac_t""no" 1>&6
17427 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
17428
17429 fi
17430
17431
17432
17433 fi
17434
17435 fi
17436
17437 HAVE_PRIOR_FUNCS=0
17438 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
17439 echo "configure:17440: checking for pthread_attr_getschedpolicy" >&5
17440 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
17441 echo $ac_n "(cached) $ac_c" 1>&6
17442 else
17443 cat > conftest.$ac_ext <<EOF
17444 #line 17445 "configure"
17445 #include "confdefs.h"
17446 /* System header to define __stub macros and hopefully few prototypes,
17447 which can conflict with char pthread_attr_getschedpolicy(); below. */
17448 #include <assert.h>
17449 /* Override any gcc2 internal prototype to avoid an error. */
17450 /* We use char because int might match the return type of a gcc2
17451 builtin and then its argument prototype would still apply. */
17452 char pthread_attr_getschedpolicy();
17453
17454 int main() {
17455
17456 /* The GNU C library defines this for functions which it implements
17457 to always fail with ENOSYS. Some functions are actually named
17458 something starting with __ and the normal name is an alias. */
17459 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
17460 choke me
17461 #else
17462 pthread_attr_getschedpolicy();
17463 #endif
17464
17465 ; return 0; }
17466 EOF
17467 if { (eval echo configure:17468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17468 rm -rf conftest*
17469 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
17470 else
17471 echo "configure: failed program was:" >&5
17472 cat conftest.$ac_ext >&5
17473 rm -rf conftest*
17474 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
17475 fi
17476 rm -f conftest*
17477 fi
17478
17479 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
17480 echo "$ac_t""yes" 1>&6
17481 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
17482 echo "configure:17483: checking for pthread_attr_setschedparam" >&5
17483 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
17484 echo $ac_n "(cached) $ac_c" 1>&6
17485 else
17486 cat > conftest.$ac_ext <<EOF
17487 #line 17488 "configure"
17488 #include "confdefs.h"
17489 /* System header to define __stub macros and hopefully few prototypes,
17490 which can conflict with char pthread_attr_setschedparam(); below. */
17491 #include <assert.h>
17492 /* Override any gcc2 internal prototype to avoid an error. */
17493 /* We use char because int might match the return type of a gcc2
17494 builtin and then its argument prototype would still apply. */
17495 char pthread_attr_setschedparam();
17496
17497 int main() {
17498
17499 /* The GNU C library defines this for functions which it implements
17500 to always fail with ENOSYS. Some functions are actually named
17501 something starting with __ and the normal name is an alias. */
17502 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
17503 choke me
17504 #else
17505 pthread_attr_setschedparam();
17506 #endif
17507
17508 ; return 0; }
17509 EOF
17510 if { (eval echo configure:17511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17511 rm -rf conftest*
17512 eval "ac_cv_func_pthread_attr_setschedparam=yes"
17513 else
17514 echo "configure: failed program was:" >&5
17515 cat conftest.$ac_ext >&5
17516 rm -rf conftest*
17517 eval "ac_cv_func_pthread_attr_setschedparam=no"
17518 fi
17519 rm -f conftest*
17520 fi
17521
17522 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
17523 echo "$ac_t""yes" 1>&6
17524 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
17525 echo "configure:17526: checking for sched_get_priority_max" >&5
17526 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
17527 echo $ac_n "(cached) $ac_c" 1>&6
17528 else
17529 cat > conftest.$ac_ext <<EOF
17530 #line 17531 "configure"
17531 #include "confdefs.h"
17532 /* System header to define __stub macros and hopefully few prototypes
17533 else
17534 echo "$ac_t""no" 1>&6
17535 which can conflict with char sched_get_priority_max(); below. */
17536 #include <assert.h>
17537 /* Override any gcc2 internal prototype to avoid an error. */
17538 /* We use char because int might match the return type of a gcc2
17539 builtin and then its argument prototype would still apply. */
17540 char sched_get_priority_max();
17541
17542 int main() {
17543
17544 /* The GNU C library defines this for functions which it implements
17545 to always fail with ENOSYS. Some functions are actually named
17546 something starting with __ and the normal name is an alias. */
17547 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
17548 choke me
17549 #else
17550 sched_get_priority_max();
17551 #endif
17552
17553 ; return 0; }
17554 EOF
17555 if { (eval echo configure:17556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17556 rm -rf conftest*
17557 eval "ac_cv_func_sched_get_priority_max=yes"
17558 else
17559 echo "configure: failed program was:" >&5
17560 cat conftest.$ac_ext >&5
17561 rm -rf conftest*
17562 eval "ac_cv_func_sched_get_priority_max=no"
17563 fi
17564 rm -f conftest*
17565 fi
17566
17567 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
17568 echo "$ac_t""yes" 1>&6
17569 HAVE_PRIOR_FUNCS=1
17570 else
17571 echo "$ac_t""no" 1>&6
17572 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
17573 echo "configure:17574: checking for sched_get_priority_max in -lposix4" >&5
17574 ac_lib_var=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
17575 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17576 echo $ac_n "(cached) $ac_c" 1>&6
17577 else
17578 ac_save_LIBS="$LIBS"
17579 LIBS="-lposix4 $LIBS"
17580 cat > conftest.$ac_ext <<EOF
17581 #line 17582 "configure"
17582 #include "confdefs.h"
17583 /* Override any gcc2 internal prototype to avoid an error. */
17584 /* We use char because int might match the return type of a gcc2
17585 builtin and then its argument prototype would still apply. */
17586 char sched_get_priority_max();
17587
17588 int main() {
17589 sched_get_priority_max()
17590 ; return 0; }
17591 EOF
17592 if { (eval echo configure:17593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17593 rm -rf conftest*
17594 eval "ac_cv_lib_$ac_lib_var=yes"
17595 else
17596 echo "configure: failed program was:" >&5
17597 cat conftest.$ac_ext >&5
17598 rm -rf conftest*
17599 eval "ac_cv_lib_$ac_lib_var=no"
17600 fi
17601 rm -f conftest*
17602 LIBS="$ac_save_LIBS"
17603
17604 fi
17605 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17606 echo "$ac_t""yes" 1>&6
17607
17608 HAVE_PRIOR_FUNCS=1
17609 POSIX4_LINK=" -lposix4"
17610
17611 else
17612 echo "$ac_t""no" 1>&6
17613 fi
17614
17615
17616 fi
17617
17618
17619 else
17620 echo "$ac_t""no" 1>&6
17621 fi
17622
17623
17624 fi
17625
17626
17627 if test "$HAVE_PRIOR_FUNCS" = 1; then
17628 cat >> confdefs.h <<\EOF
17629 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
17630 EOF
17631
17632 else
17633 echo "configure: warning: Setting thread priority will not work" 1>&2
17634 fi
17635
17636 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
17637 echo "configure:17638: checking for pthread_cancel" >&5
17638 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
17639 echo $ac_n "(cached) $ac_c" 1>&6
17640 else
17641 cat > conftest.$ac_ext <<EOF
17642 #line 17643 "configure"
17643 #include "confdefs.h"
17644 /* System header to define __stub macros and hopefully few prototypes,
17645 which can conflict with char pthread_cancel(); below. */
17646 #include <assert.h>
17647 /* Override any gcc2 internal prototype to avoid an error. */
17648 /* We use char because int might match the return type of a gcc2
17649 builtin and then its argument prototype would still apply. */
17650 char pthread_cancel();
17651
17652 int main() {
17653
17654 /* The GNU C library defines this for functions which it implements
17655 to always fail with ENOSYS. Some functions are actually named
17656 something starting with __ and the normal name is an alias. */
17657 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
17658 choke me
17659 #else
17660 pthread_cancel();
17661 #endif
17662
17663 ; return 0; }
17664 EOF
17665 if { (eval echo configure:17666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17666 rm -rf conftest*
17667 eval "ac_cv_func_pthread_cancel=yes"
17668 else
17669 echo "configure: failed program was:" >&5
17670 cat conftest.$ac_ext >&5
17671 rm -rf conftest*
17672 eval "ac_cv_func_pthread_cancel=no"
17673 fi
17674 rm -f conftest*
17675 fi
17676
17677 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
17678 echo "$ac_t""yes" 1>&6
17679 cat >> confdefs.h <<\EOF
17680 #define HAVE_PTHREAD_CANCEL 1
17681 EOF
17682
17683 else
17684 echo "$ac_t""no" 1>&6
17685 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
17686 fi
17687
17688
17689 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
17690 echo "configure:17691: checking for pthread_cleanup_push/pop" >&5
17691 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
17692 echo $ac_n "(cached) $ac_c" 1>&6
17693 else
17694
17695 cat > conftest.$ac_ext <<EOF
17696 #line 17697 "configure"
17697 #include "confdefs.h"
17698 #include <pthread.h>
17699 int main() {
17700
17701 pthread_cleanup_push(NULL, NULL);
17702 pthread_cleanup_pop(0);
17703
17704 ; return 0; }
17705 EOF
17706 if { (eval echo configure:17707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17707 rm -rf conftest*
17708
17709 wx_cv_func_pthread_cleanup_push=yes
17710
17711 else
17712 echo "configure: failed program was:" >&5
17713 cat conftest.$ac_ext >&5
17714 rm -rf conftest*
17715
17716 wx_cv_func_pthread_cleanup_push=no
17717
17718 fi
17719 rm -f conftest*
17720
17721 fi
17722
17723 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
17724
17725 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
17726 cat >> confdefs.h <<\EOF
17727 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
17728 EOF
17729
17730 fi
17731
17732
17733 if test "x$wx_lib_glibc21" = "xyes"; then
17734 CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
17735 fi
17736
17737 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
17738 echo "configure:17739: checking for pthread_mutexattr_t" >&5
17739 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
17740 echo $ac_n "(cached) $ac_c" 1>&6
17741 else
17742
17743 cat > conftest.$ac_ext <<EOF
17744 #line 17745 "configure"
17745 #include "confdefs.h"
17746 #include <pthread.h>
17747 int main() {
17748
17749 pthread_mutexattr_t attr;
17750 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
17751
17752 ; return 0; }
17753 EOF
17754 if { (eval echo configure:17755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17755 rm -rf conftest*
17756
17757 wx_cv_type_pthread_mutexattr_t=yes
17758
17759 else
17760 echo "configure: failed program was:" >&5
17761 cat conftest.$ac_ext >&5
17762 rm -rf conftest*
17763
17764 wx_cv_type_pthread_mutexattr_t=no
17765
17766
17767 fi
17768 rm -f conftest*
17769
17770 fi
17771
17772 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
17773
17774 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
17775 cat >> confdefs.h <<\EOF
17776 #define HAVE_PTHREAD_MUTEXATTR_T 1
17777 EOF
17778
17779 else
17780 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
17781 echo "configure:17782: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
17782 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
17783 echo $ac_n "(cached) $ac_c" 1>&6
17784 else
17785
17786 cat > conftest.$ac_ext <<EOF
17787 #line 17788 "configure"
17788 #include "confdefs.h"
17789 #include <pthread.h>
17790 int main() {
17791
17792 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
17793
17794 ; return 0; }
17795 EOF
17796 if { (eval echo configure:17797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17797 rm -rf conftest*
17798
17799 wx_cv_type_pthread_rec_mutex_init=yes
17800
17801 else
17802 echo "configure: failed program was:" >&5
17803 cat conftest.$ac_ext >&5
17804 rm -rf conftest*
17805
17806 wx_cv_type_pthread_rec_mutex_init=no
17807
17808
17809 fi
17810 rm -f conftest*
17811
17812 fi
17813
17814 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
17815 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
17816 cat >> confdefs.h <<\EOF
17817 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
17818 EOF
17819
17820 else
17821 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
17822 fi
17823 fi
17824 fi
17825
17826 fi
17827
17828 if test "$wxUSE_THREADS" = "yes"; then
17829 cat >> confdefs.h <<\EOF
17830 #define wxUSE_THREADS 1
17831 EOF
17832
17833
17834 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
17835 else
17836 if test "$ac_cv_func_strtok_r" = "yes"; then
17837 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
17838 echo "configure:17839: checking if -D_REENTRANT is needed" >&5
17839 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
17840 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
17841 echo "$ac_t""yes" 1>&6
17842 else
17843 echo "$ac_t""no" 1>&6
17844 fi
17845 fi
17846 fi
17847
17848 if test "$WXGTK20" = 1 ; then
17849 cat >> confdefs.h <<EOF
17850 #define __WXGTK20__ $WXGTK20
17851 EOF
17852
17853 WXGTK12=1
17854 fi
17855
17856 if test "$WXGTK12" = 1 ; then
17857 cat >> confdefs.h <<EOF
17858 #define __WXGTK12__ $WXGTK12
17859 EOF
17860
17861 fi
17862
17863 if test "$WXGTK127" = 1 ; then
17864 cat >> confdefs.h <<EOF
17865 #define __WXGTK127__ $WXGTK127
17866 EOF
17867
17868 fi
17869
17870 WXDEBUG=
17871
17872 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
17873 WXDEBUG="-g"
17874 wxUSE_OPTIMISE=no
17875 fi
17876
17877 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
17878 wxUSE_DEBUG_INFO=yes
17879 WXDEBUG="-ggdb"
17880 fi
17881
17882 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
17883 cat >> confdefs.h <<\EOF
17884 #define WXDEBUG 1
17885 EOF
17886
17887 WXDEBUG_DEFINE="-D__WXDEBUG__"
17888 else
17889 if test "$wxUSE_GTK" = 1 ; then
17890 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
17891 fi
17892 fi
17893
17894 if test "$wxUSE_MEM_TRACING" = "yes" ; then
17895 cat >> confdefs.h <<\EOF
17896 #define wxUSE_MEMORY_TRACING 1
17897 EOF
17898
17899 cat >> confdefs.h <<\EOF
17900 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
17901 EOF
17902
17903 cat >> confdefs.h <<\EOF
17904 #define wxUSE_DEBUG_NEW_ALWAYS 1
17905 EOF
17906
17907 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
17908 fi
17909
17910 if test "$wxUSE_DMALLOC" = "yes" ; then
17911 DMALLOC_LIBS="-ldmalloc"
17912 fi
17913
17914 PROFILE=
17915 if test "$wxUSE_PROFILE" = "yes" ; then
17916 PROFILE=" -pg"
17917 fi
17918
17919 CODE_GEN_FLAGS=
17920 CODE_GEN_FLAGS_CXX=
17921 if test "$GCC" = "yes" ; then
17922 if test "$wxUSE_NO_RTTI" = "yes" ; then
17923 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
17924 fi
17925 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
17926 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
17927 fi
17928 if test "$wxUSE_PERMISSIVE" = "yes" ; then
17929 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
17930 fi
17931 if test "$USE_WIN32" = 1 ; then
17932 # I'm not even really sure what this was ever added to solve,
17933 # but someone added it for mingw native builds, so I guess
17934 # they had a reason, right??
17935 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fno-pcc-struct-return"
17936 fi
17937 fi
17938
17939 if test "$wxUSE_OPTIMISE" = "no" ; then
17940 OPTIMISE=
17941 else
17942 if test "$GCC" = yes ; then
17943 OPTIMISE="-O2"
17944 case "${host}" in
17945 i586-*-*|i686-*-* )
17946 OPTIMISE="${OPTIMISE} "
17947 ;;
17948 esac
17949 else
17950 OPTIMISE="-O"
17951 fi
17952 fi
17953
17954 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
17955 cat >> confdefs.h <<\EOF
17956 #define WXWIN_COMPATIBILITY_2 1
17957 EOF
17958
17959
17960 WXWIN_COMPATIBILITY_2_2="yes"
17961 fi
17962
17963 if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
17964 cat >> confdefs.h <<\EOF
17965 #define WXWIN_COMPATIBILITY_2_2 1
17966 EOF
17967
17968 fi
17969
17970
17971 if test "$wxUSE_GUI" = "yes"; then
17972 cat >> confdefs.h <<\EOF
17973 #define wxUSE_GUI 1
17974 EOF
17975
17976
17977 else
17978 cat >> confdefs.h <<\EOF
17979 #define wxUSE_NOGUI 1
17980 EOF
17981
17982 fi
17983
17984
17985 if test "$wxUSE_UNIX" = "yes"; then
17986 cat >> confdefs.h <<\EOF
17987 #define wxUSE_UNIX 1
17988 EOF
17989
17990 fi
17991
17992
17993 if test "$wxUSE_APPLE_IEEE" = "yes"; then
17994 cat >> confdefs.h <<\EOF
17995 #define wxUSE_APPLE_IEEE 1
17996 EOF
17997
17998 fi
17999
18000 if test "$wxUSE_TIMER" = "yes"; then
18001 cat >> confdefs.h <<\EOF
18002 #define wxUSE_TIMER 1
18003 EOF
18004
18005 fi
18006
18007 if test "$wxUSE_WAVE" = "yes"; then
18008 cat >> confdefs.h <<\EOF
18009 #define wxUSE_WAVE 1
18010 EOF
18011
18012 fi
18013
18014 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
18015 cat >> confdefs.h <<\EOF
18016 #define wxUSE_CMDLINE_PARSER 1
18017 EOF
18018
18019 fi
18020
18021 if test "$wxUSE_STOPWATCH" = "yes"; then
18022 cat >> confdefs.h <<\EOF
18023 #define wxUSE_STOPWATCH 1
18024 EOF
18025
18026 fi
18027
18028 if test "$wxUSE_DATETIME" = "yes"; then
18029 cat >> confdefs.h <<\EOF
18030 #define wxUSE_DATETIME 1
18031 EOF
18032
18033 fi
18034
18035 if test "$wxUSE_TIMEDATE" = "yes"; then
18036 cat >> confdefs.h <<\EOF
18037 #define wxUSE_TIMEDATE 1
18038 EOF
18039
18040 fi
18041
18042 if test "$wxUSE_FILE" = "yes"; then
18043 cat >> confdefs.h <<\EOF
18044 #define wxUSE_FILE 1
18045 EOF
18046
18047 fi
18048
18049 if test "$wxUSE_FFILE" = "yes"; then
18050 cat >> confdefs.h <<\EOF
18051 #define wxUSE_FFILE 1
18052 EOF
18053
18054 fi
18055
18056 if test "$wxUSE_FILESYSTEM" = "yes"; then
18057 cat >> confdefs.h <<\EOF
18058 #define wxUSE_FILESYSTEM 1
18059 EOF
18060
18061 fi
18062
18063 if test "$wxUSE_FS_INET" = "yes"; then
18064 cat >> confdefs.h <<\EOF
18065 #define wxUSE_FS_INET 1
18066 EOF
18067
18068 fi
18069
18070 if test "$wxUSE_FS_ZIP" = "yes"; then
18071 cat >> confdefs.h <<\EOF
18072 #define wxUSE_FS_ZIP 1
18073 EOF
18074
18075 fi
18076
18077 if test "$wxUSE_ZIPSTREAM" = "yes"; then
18078 cat >> confdefs.h <<\EOF
18079 #define wxUSE_ZIPSTREAM 1
18080 EOF
18081
18082 fi
18083
18084 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
18085 cat >> confdefs.h <<\EOF
18086 #define wxUSE_ON_FATAL_EXCEPTION 1
18087 EOF
18088
18089 fi
18090
18091 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
18092 cat >> confdefs.h <<\EOF
18093 #define wxUSE_SNGLINST_CHECKER 1
18094 EOF
18095
18096 fi
18097
18098 if test "$wxUSE_BUSYINFO" = "yes"; then
18099 cat >> confdefs.h <<\EOF
18100 #define wxUSE_BUSYINFO 1
18101 EOF
18102
18103 fi
18104
18105 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
18106 cat >> confdefs.h <<\EOF
18107 #define wxUSE_STD_IOSTREAM 1
18108 EOF
18109
18110 fi
18111
18112 if test "$wxUSE_TEXTBUFFER" = "yes"; then
18113 cat >> confdefs.h <<\EOF
18114 #define wxUSE_TEXTBUFFER 1
18115 EOF
18116
18117 fi
18118
18119 if test "$wxUSE_TEXTFILE" = "yes"; then
18120 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
18121 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
18122 else
18123 cat >> confdefs.h <<\EOF
18124 #define wxUSE_TEXTFILE 1
18125 EOF
18126
18127 fi
18128 fi
18129
18130 if test "$wxUSE_CONFIG" = "yes" ; then
18131 if test "$wxUSE_TEXTFILE" != "yes"; then
18132 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
18133 else
18134 cat >> confdefs.h <<\EOF
18135 #define wxUSE_CONFIG 1
18136 EOF
18137
18138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
18139 fi
18140 fi
18141
18142 if test "$wxUSE_INTL" = "yes" ; then
18143 if test "$wxUSE_FILE" != "yes"; then
18144 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
18145 else
18146 cat >> confdefs.h <<\EOF
18147 #define wxUSE_INTL 1
18148 EOF
18149
18150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
18151 GUIDIST="$GUIDIST INTL_DIST"
18152 fi
18153 fi
18154
18155 if test "$wxUSE_LOG" = "yes"; then
18156 cat >> confdefs.h <<\EOF
18157 #define wxUSE_LOG 1
18158 EOF
18159
18160
18161 if test "$wxUSE_LOGGUI" = "yes"; then
18162 cat >> confdefs.h <<\EOF
18163 #define wxUSE_LOGGUI 1
18164 EOF
18165
18166 fi
18167
18168 if test "$wxUSE_LOGWINDOW" = "yes"; then
18169 cat >> confdefs.h <<\EOF
18170 #define wxUSE_LOGWINDOW 1
18171 EOF
18172
18173 fi
18174
18175 if test "$wxUSE_LOGDIALOG" = "yes"; then
18176 cat >> confdefs.h <<\EOF
18177 #define wxUSE_LOG_DIALOG 1
18178 EOF
18179
18180 fi
18181 fi
18182
18183 if test "$wxUSE_LONGLONG" = "yes"; then
18184 cat >> confdefs.h <<\EOF
18185 #define wxUSE_LONGLONG 1
18186 EOF
18187
18188 fi
18189
18190 if test "$wxUSE_GEOMETRY" = "yes"; then
18191 cat >> confdefs.h <<\EOF
18192 #define wxUSE_GEOMETRY 1
18193 EOF
18194
18195 fi
18196
18197 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
18198 cat >> confdefs.h <<\EOF
18199 #define wxUSE_DIALUP_MANAGER 1
18200 EOF
18201
18202 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
18203 fi
18204
18205 if test "$wxUSE_STREAMS" = "yes" ; then
18206 cat >> confdefs.h <<\EOF
18207 #define wxUSE_STREAMS 1
18208 EOF
18209
18210 fi
18211
18212
18213 if test "$wxUSE_DATETIME" = "yes"; then
18214 for ac_func in strptime
18215 do
18216 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18217 echo "configure:18218: checking for $ac_func" >&5
18218 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18219 echo $ac_n "(cached) $ac_c" 1>&6
18220 else
18221 cat > conftest.$ac_ext <<EOF
18222 #line 18223 "configure"
18223 #include "confdefs.h"
18224 /* System header to define __stub macros and hopefully few prototypes,
18225 which can conflict with char $ac_func(); below. */
18226 #include <assert.h>
18227 /* Override any gcc2 internal prototype to avoid an error. */
18228 /* We use char because int might match the return type of a gcc2
18229 builtin and then its argument prototype would still apply. */
18230 char $ac_func();
18231
18232 int main() {
18233
18234 /* The GNU C library defines this for functions which it implements
18235 to always fail with ENOSYS. Some functions are actually named
18236 something starting with __ and the normal name is an alias. */
18237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18238 choke me
18239 #else
18240 $ac_func();
18241 #endif
18242
18243 ; return 0; }
18244 EOF
18245 if { (eval echo configure:18246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18246 rm -rf conftest*
18247 eval "ac_cv_func_$ac_func=yes"
18248 else
18249 echo "configure: failed program was:" >&5
18250 cat conftest.$ac_ext >&5
18251 rm -rf conftest*
18252 eval "ac_cv_func_$ac_func=no"
18253 fi
18254 rm -f conftest*
18255 fi
18256
18257 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18258 echo "$ac_t""yes" 1>&6
18259 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18260 cat >> confdefs.h <<EOF
18261 #define $ac_tr_func 1
18262 EOF
18263
18264 else
18265 echo "$ac_t""no" 1>&6
18266 fi
18267 done
18268
18269
18270 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
18271 echo "configure:18272: checking for timezone variable in <time.h>" >&5
18272 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
18273 echo $ac_n "(cached) $ac_c" 1>&6
18274 else
18275
18276 cat > conftest.$ac_ext <<EOF
18277 #line 18278 "configure"
18278 #include "confdefs.h"
18279
18280 #include <time.h>
18281
18282 int main() {
18283
18284 int tz;
18285 tz = timezone;
18286
18287 ; return 0; }
18288 EOF
18289 if { (eval echo configure:18290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18290 rm -rf conftest*
18291
18292 wx_cv_var_timezone=timezone
18293
18294 else
18295 echo "configure: failed program was:" >&5
18296 cat conftest.$ac_ext >&5
18297 rm -rf conftest*
18298
18299 cat > conftest.$ac_ext <<EOF
18300 #line 18301 "configure"
18301 #include "confdefs.h"
18302
18303 #include <time.h>
18304
18305 int main() {
18306
18307 int tz;
18308 tz = _timezone;
18309
18310 ; return 0; }
18311 EOF
18312 if { (eval echo configure:18313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18313 rm -rf conftest*
18314
18315 wx_cv_var_timezone=_timezone
18316
18317 else
18318 echo "configure: failed program was:" >&5
18319 cat conftest.$ac_ext >&5
18320 rm -rf conftest*
18321
18322 cat > conftest.$ac_ext <<EOF
18323 #line 18324 "configure"
18324 #include "confdefs.h"
18325
18326 #include <time.h>
18327
18328 int main() {
18329
18330 int tz;
18331 tz = __timezone;
18332
18333 ; return 0; }
18334 EOF
18335 if { (eval echo configure:18336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18336 rm -rf conftest*
18337
18338 wx_cv_var_timezone=__timezone
18339
18340 else
18341 echo "configure: failed program was:" >&5
18342 cat conftest.$ac_ext >&5
18343 rm -rf conftest*
18344
18345 if test "$USE_DOS" = 0 ; then
18346 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
18347 fi
18348
18349
18350 fi
18351 rm -f conftest*
18352
18353
18354 fi
18355 rm -f conftest*
18356
18357
18358 fi
18359 rm -f conftest*
18360
18361
18362 fi
18363
18364 echo "$ac_t""$wx_cv_var_timezone" 1>&6
18365
18366 if test "x$wx_cv_var_timezone" != x ; then
18367 cat >> confdefs.h <<EOF
18368 #define WX_TIMEZONE $wx_cv_var_timezone
18369 EOF
18370
18371 fi
18372
18373 for ac_func in localtime
18374 do
18375 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18376 echo "configure:18377: checking for $ac_func" >&5
18377 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18378 echo $ac_n "(cached) $ac_c" 1>&6
18379 else
18380 cat > conftest.$ac_ext <<EOF
18381 #line 18382 "configure"
18382 #include "confdefs.h"
18383 /* System header to define __stub macros and hopefully few prototypes,
18384 which can conflict with char $ac_func(); below. */
18385 #include <assert.h>
18386 /* Override any gcc2 internal prototype to avoid an error. */
18387 /* We use char because int might match the return type of a gcc2
18388 builtin and then its argument prototype would still apply. */
18389 char $ac_func();
18390
18391 int main() {
18392
18393 /* The GNU C library defines this for functions which it implements
18394 to always fail with ENOSYS. Some functions are actually named
18395 something starting with __ and the normal name is an alias. */
18396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18397 choke me
18398 #else
18399 $ac_func();
18400 #endif
18401
18402 ; return 0; }
18403 EOF
18404 if { (eval echo configure:18405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18405 rm -rf conftest*
18406 eval "ac_cv_func_$ac_func=yes"
18407 else
18408 echo "configure: failed program was:" >&5
18409 cat conftest.$ac_ext >&5
18410 rm -rf conftest*
18411 eval "ac_cv_func_$ac_func=no"
18412 fi
18413 rm -f conftest*
18414 fi
18415
18416 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18417 echo "$ac_t""yes" 1>&6
18418 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18419 cat >> confdefs.h <<EOF
18420 #define $ac_tr_func 1
18421 EOF
18422
18423 else
18424 echo "$ac_t""no" 1>&6
18425 fi
18426 done
18427
18428
18429 if test "$ac_cv_func_localtime" = "yes"; then
18430 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
18431 echo "configure:18432: checking for tm_gmtoff in struct tm" >&5
18432 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
18433 echo $ac_n "(cached) $ac_c" 1>&6
18434 else
18435
18436 cat > conftest.$ac_ext <<EOF
18437 #line 18438 "configure"
18438 #include "confdefs.h"
18439
18440 #include <time.h>
18441
18442 int main() {
18443
18444 struct tm tm;
18445 tm.tm_gmtoff++;
18446
18447 ; return 0; }
18448 EOF
18449 if { (eval echo configure:18450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18450 rm -rf conftest*
18451
18452 wx_cv_struct_tm_has_gmtoff=yes
18453
18454 else
18455 echo "configure: failed program was:" >&5
18456 cat conftest.$ac_ext >&5
18457 rm -rf conftest*
18458 wx_cv_struct_tm_has_gmtoff=no
18459
18460 fi
18461 rm -f conftest*
18462
18463 fi
18464
18465 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
18466 fi
18467
18468 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
18469 cat >> confdefs.h <<\EOF
18470 #define WX_GMTOFF_IN_TM 1
18471 EOF
18472
18473 fi
18474
18475 for ac_func in gettimeofday ftime
18476 do
18477 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18478 echo "configure:18479: checking for $ac_func" >&5
18479 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18480 echo $ac_n "(cached) $ac_c" 1>&6
18481 else
18482 cat > conftest.$ac_ext <<EOF
18483 #line 18484 "configure"
18484 #include "confdefs.h"
18485 /* System header to define __stub macros and hopefully few prototypes,
18486 which can conflict with char $ac_func(); below. */
18487 #include <assert.h>
18488 /* Override any gcc2 internal prototype to avoid an error. */
18489 /* We use char because int might match the return type of a gcc2
18490 builtin and then its argument prototype would still apply. */
18491 char $ac_func();
18492
18493 int main() {
18494
18495 /* The GNU C library defines this for functions which it implements
18496 to always fail with ENOSYS. Some functions are actually named
18497 something starting with __ and the normal name is an alias. */
18498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18499 choke me
18500 #else
18501 $ac_func();
18502 #endif
18503
18504 ; return 0; }
18505 EOF
18506 if { (eval echo configure:18507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18507 rm -rf conftest*
18508 eval "ac_cv_func_$ac_func=yes"
18509 else
18510 echo "configure: failed program was:" >&5
18511 cat conftest.$ac_ext >&5
18512 rm -rf conftest*
18513 eval "ac_cv_func_$ac_func=no"
18514 fi
18515 rm -f conftest*
18516 fi
18517
18518 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18519 echo "$ac_t""yes" 1>&6
18520 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18521 cat >> confdefs.h <<EOF
18522 #define $ac_tr_func 1
18523 EOF
18524 break
18525 else
18526 echo "$ac_t""no" 1>&6
18527 fi
18528 done
18529
18530
18531 if test "$ac_cv_func_gettimeofday" = "yes"; then
18532 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
18533 echo "configure:18534: checking whether gettimeofday takes two arguments" >&5
18534 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
18535 echo $ac_n "(cached) $ac_c" 1>&6
18536 else
18537
18538
18539 ac_ext=C
18540 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18541 ac_cpp='$CXXCPP $CPPFLAGS'
18542 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18543 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18544 cross_compiling=$ac_cv_prog_cxx_cross
18545
18546
18547 cat > conftest.$ac_ext <<EOF
18548 #line 18549 "configure"
18549 #include "confdefs.h"
18550
18551 #include <sys/time.h>
18552 #include <unistd.h>
18553
18554 int main() {
18555
18556 struct timeval tv;
18557 gettimeofday(&tv, NULL);
18558
18559 ; return 0; }
18560 EOF
18561 if { (eval echo configure:18562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18562 rm -rf conftest*
18563 wx_cv_func_gettimeofday_has_2_args=yes
18564 else
18565 echo "configure: failed program was:" >&5
18566 cat conftest.$ac_ext >&5
18567 rm -rf conftest*
18568 cat > conftest.$ac_ext <<EOF
18569 #line 18570 "configure"
18570 #include "confdefs.h"
18571
18572 #include <sys/time.h>
18573 #include <unistd.h>
18574
18575 int main() {
18576
18577 struct timeval tv;
18578 gettimeofday(&tv);
18579
18580 ; return 0; }
18581 EOF
18582 if { (eval echo configure:18583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18583 rm -rf conftest*
18584 wx_cv_func_gettimeofday_has_2_args=no
18585 else
18586 echo "configure: failed program was:" >&5
18587 cat conftest.$ac_ext >&5
18588 rm -rf conftest*
18589
18590 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
18591 wx_cv_func_gettimeofday_has_2_args=unknown
18592
18593
18594 fi
18595 rm -f conftest*
18596
18597 fi
18598 rm -f conftest*
18599 ac_ext=c
18600 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18601 ac_cpp='$CPP $CPPFLAGS'
18602 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18603 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18604 cross_compiling=$ac_cv_prog_cc_cross
18605
18606
18607 fi
18608
18609 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
18610
18611 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
18612 cat >> confdefs.h <<\EOF
18613 #define WX_GETTIMEOFDAY_NO_TZ 1
18614 EOF
18615
18616 fi
18617 fi
18618
18619 cat >> confdefs.h <<\EOF
18620 #define wxUSE_TIMEDATE 1
18621 EOF
18622
18623 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
18624 fi
18625
18626
18627 if test "$wxUSE_SOCKETS" = "yes"; then
18628 if test "$TOOLKIT" = "X11"; then
18629 echo "configure: warning: wxSocket not yet supported under X11... disabled" 1>&2
18630 wxUSE_SOCKETS="no"
18631 fi
18632 fi
18633
18634 if test "$wxUSE_SOCKETS" = "yes"; then
18635 if test "$TOOLKIT" != "MSW"; then
18636 echo $ac_n "checking for socket""... $ac_c" 1>&6
18637 echo "configure:18638: checking for socket" >&5
18638 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
18639 echo $ac_n "(cached) $ac_c" 1>&6
18640 else
18641 cat > conftest.$ac_ext <<EOF
18642 #line 18643 "configure"
18643 #include "confdefs.h"
18644 /* System header to define __stub macros and hopefully few prototypes,
18645 which can conflict with char socket(); below. */
18646 #include <assert.h>
18647 /* Override any gcc2 internal prototype to avoid an error. */
18648 /* We use char because int might match the return type of a gcc2
18649 builtin and then its argument prototype would still apply. */
18650 char socket();
18651
18652 int main() {
18653
18654 /* The GNU C library defines this for functions which it implements
18655 to always fail with ENOSYS. Some functions are actually named
18656 something starting with __ and the normal name is an alias. */
18657 #if defined (__stub_socket) || defined (__stub___socket)
18658 choke me
18659 #else
18660 socket();
18661 #endif
18662
18663 ; return 0; }
18664 EOF
18665 if { (eval echo configure:18666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18666 rm -rf conftest*
18667 eval "ac_cv_func_socket=yes"
18668 else
18669 echo "configure: failed program was:" >&5
18670 cat conftest.$ac_ext >&5
18671 rm -rf conftest*
18672 eval "ac_cv_func_socket=no"
18673 fi
18674 rm -f conftest*
18675 fi
18676
18677 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
18678 echo "$ac_t""yes" 1>&6
18679 :
18680 else
18681 echo "$ac_t""no" 1>&6
18682 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
18683 echo "configure:18684: checking for socket in -lsocket" >&5
18684 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
18685 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18686 echo $ac_n "(cached) $ac_c" 1>&6
18687 else
18688 ac_save_LIBS="$LIBS"
18689 LIBS="-lsocket $LIBS"
18690 cat > conftest.$ac_ext <<EOF
18691 #line 18692 "configure"
18692 #include "confdefs.h"
18693 /* Override any gcc2 internal prototype to avoid an error. */
18694 /* We use char because int might match the return type of a gcc2
18695 builtin and then its argument prototype would still apply. */
18696 char socket();
18697
18698 int main() {
18699 socket()
18700 ; return 0; }
18701 EOF
18702 if { (eval echo configure:18703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18703 rm -rf conftest*
18704 eval "ac_cv_lib_$ac_lib_var=yes"
18705 else
18706 echo "configure: failed program was:" >&5
18707 cat conftest.$ac_ext >&5
18708 rm -rf conftest*
18709 eval "ac_cv_lib_$ac_lib_var=no"
18710 fi
18711 rm -f conftest*
18712 LIBS="$ac_save_LIBS"
18713
18714 fi
18715 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18716 echo "$ac_t""yes" 1>&6
18717 if test "$INET_LINK" != " -lsocket"; then
18718 INET_LINK="$INET_LINK -lsocket"
18719 fi
18720 else
18721 echo "$ac_t""no" 1>&6
18722
18723 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
18724 wxUSE_SOCKETS=no
18725
18726
18727 fi
18728
18729
18730 fi
18731
18732 fi
18733 fi
18734
18735 if test "$wxUSE_SOCKETS" = "yes" ; then
18736 if test "$TOOLKIT" != "MSW"; then
18737 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
18738 echo "configure:18739: checking what is the type of the third argument of getsockname" >&5
18739 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
18740 echo $ac_n "(cached) $ac_c" 1>&6
18741 else
18742
18743
18744 ac_ext=C
18745 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18746 ac_cpp='$CXXCPP $CPPFLAGS'
18747 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18748 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18749 cross_compiling=$ac_cv_prog_cxx_cross
18750
18751
18752 cat > conftest.$ac_ext <<EOF
18753 #line 18754 "configure"
18754 #include "confdefs.h"
18755
18756 #include <sys/types.h>
18757 #include <sys/socket.h>
18758
18759 int main() {
18760
18761 socklen_t len;
18762 getsockname(0, 0, &len);
18763
18764 ; return 0; }
18765 EOF
18766 if { (eval echo configure:18767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18767 rm -rf conftest*
18768 wx_cv_type_getsockname3=socklen_t
18769 else
18770 echo "configure: failed program was:" >&5
18771 cat conftest.$ac_ext >&5
18772 rm -rf conftest*
18773 cat > conftest.$ac_ext <<EOF
18774 #line 18775 "configure"
18775 #include "confdefs.h"
18776
18777 #include <sys/types.h>
18778 #include <sys/socket.h>
18779
18780 int main() {
18781
18782 size_t len;
18783 getsockname(0, 0, &len);
18784
18785 ; return 0; }
18786 EOF
18787 if { (eval echo configure:18788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18788 rm -rf conftest*
18789 wx_cv_type_getsockname3=size_t
18790 else
18791 echo "configure: failed program was:" >&5
18792 cat conftest.$ac_ext >&5
18793 rm -rf conftest*
18794 cat > conftest.$ac_ext <<EOF
18795 #line 18796 "configure"
18796 #include "confdefs.h"
18797
18798 #include <sys/types.h>
18799 #include <sys/socket.h>
18800
18801 int main() {
18802
18803 int len;
18804 getsockname(0, 0, &len);
18805
18806 ; return 0; }
18807 EOF
18808 if { (eval echo configure:18809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18809 rm -rf conftest*
18810 wx_cv_type_getsockname3=int
18811 else
18812 echo "configure: failed program was:" >&5
18813 cat conftest.$ac_ext >&5
18814 rm -rf conftest*
18815 wx_cv_type_getsockname3=unknown
18816
18817 fi
18818 rm -f conftest*
18819
18820 fi
18821 rm -f conftest*
18822
18823 fi
18824 rm -f conftest*
18825
18826 ac_ext=c
18827 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18828 ac_cpp='$CPP $CPPFLAGS'
18829 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18830 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18831 cross_compiling=$ac_cv_prog_cc_cross
18832
18833
18834 fi
18835
18836 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
18837
18838 if test "$wx_cv_type_getsockname3" = "unknown"; then
18839 wxUSE_SOCKETS=no
18840 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
18841 else
18842 cat >> confdefs.h <<EOF
18843 #define SOCKLEN_T $wx_cv_type_getsockname3
18844 EOF
18845
18846 fi
18847 fi
18848 fi
18849
18850 if test "$wxUSE_SOCKETS" = "yes" ; then
18851 cat >> confdefs.h <<\EOF
18852 #define wxUSE_SOCKETS 1
18853 EOF
18854
18855 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
18856 fi
18857
18858
18859 if test "$wxUSE_GUI" = "yes"; then
18860
18861 if test "$TOOLKIT" = "MAC"; then
18862 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
18863 wxUSE_JOYSTICK=no
18864 fi
18865 if test "$TOOLKIT" = "MOTIF"; then
18866 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
18867 wxUSE_JOYSTICK=no
18868 fi
18869 if test "$TOOLKIT" = "X11"; then
18870 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
18871 wxUSE_JOYSTICK=no
18872 fi
18873
18874 if test "$TOOLKIT" != "MSW"; then
18875 if test "$wxUSE_JOYSTICK" = "yes"; then
18876 for ac_hdr in linux/joystick.h
18877 do
18878 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18879 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18880 echo "configure:18881: checking for $ac_hdr" >&5
18881 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18882 echo $ac_n "(cached) $ac_c" 1>&6
18883 else
18884 cat > conftest.$ac_ext <<EOF
18885 #line 18886 "configure"
18886 #include "confdefs.h"
18887 #include <$ac_hdr>
18888 EOF
18889 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18890 { (eval echo configure:18891: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18891 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18892 if test -z "$ac_err"; then
18893 rm -rf conftest*
18894 eval "ac_cv_header_$ac_safe=yes"
18895 else
18896 echo "$ac_err" >&5
18897 echo "configure: failed program was:" >&5
18898 cat conftest.$ac_ext >&5
18899 rm -rf conftest*
18900 eval "ac_cv_header_$ac_safe=no"
18901 fi
18902 rm -f conftest*
18903 fi
18904 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18905 echo "$ac_t""yes" 1>&6
18906 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18907 cat >> confdefs.h <<EOF
18908 #define $ac_tr_hdr 1
18909 EOF
18910
18911 else
18912 echo "$ac_t""no" 1>&6
18913 fi
18914 done
18915
18916 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
18917 wxUSE_JOYSTICK=no
18918 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
18919 fi
18920 fi
18921 fi
18922
18923 if test "$wxUSE_JOYSTICK" = "yes"; then
18924 cat >> confdefs.h <<\EOF
18925 #define wxUSE_JOYSTICK 1
18926 EOF
18927
18928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
18929 fi
18930 fi
18931
18932
18933 if test "$TOOLKIT" != "MSW"; then
18934
18935 HAVE_DL_FUNCS=0
18936 HAVE_SHL_FUNCS=0
18937 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
18938 if test "$USE_DARWIN" = 1; then
18939 HAVE_DL_FUNCS=1
18940 else
18941 for ac_func in dlopen
18942 do
18943 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18944 echo "configure:18945: checking for $ac_func" >&5
18945 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18946 echo $ac_n "(cached) $ac_c" 1>&6
18947 else
18948 cat > conftest.$ac_ext <<EOF
18949 #line 18950 "configure"
18950 #include "confdefs.h"
18951 /* System header to define __stub macros and hopefully few prototypes,
18952 which can conflict with char $ac_func(); below. */
18953 #include <assert.h>
18954 /* Override any gcc2 internal prototype to avoid an error. */
18955 /* We use char because int might match the return type of a gcc2
18956 builtin and then its argument prototype would still apply. */
18957 char $ac_func();
18958
18959 int main() {
18960
18961 /* The GNU C library defines this for functions which it implements
18962 to always fail with ENOSYS. Some functions are actually named
18963 something starting with __ and the normal name is an alias. */
18964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18965 choke me
18966 #else
18967 $ac_func();
18968 #endif
18969
18970 ; return 0; }
18971 EOF
18972 if { (eval echo configure:18973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18973 rm -rf conftest*
18974 eval "ac_cv_func_$ac_func=yes"
18975 else
18976 echo "configure: failed program was:" >&5
18977 cat conftest.$ac_ext >&5
18978 rm -rf conftest*
18979 eval "ac_cv_func_$ac_func=no"
18980 fi
18981 rm -f conftest*
18982 fi
18983
18984 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18985 echo "$ac_t""yes" 1>&6
18986 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18987 cat >> confdefs.h <<EOF
18988 #define $ac_tr_func 1
18989 EOF
18990
18991 cat >> confdefs.h <<\EOF
18992 #define HAVE_DLOPEN 1
18993 EOF
18994
18995 HAVE_DL_FUNCS=1
18996
18997 else
18998 echo "$ac_t""no" 1>&6
18999 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
19000 echo "configure:19001: checking for dlopen in -ldl" >&5
19001 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
19002 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19003 echo $ac_n "(cached) $ac_c" 1>&6
19004 else
19005 ac_save_LIBS="$LIBS"
19006 LIBS="-ldl $LIBS"
19007 cat > conftest.$ac_ext <<EOF
19008 #line 19009 "configure"
19009 #include "confdefs.h"
19010 /* Override any gcc2 internal prototype to avoid an error. */
19011 /* We use char because int might match the return type of a gcc2
19012 builtin and then its argument prototype would still apply. */
19013 char dlopen();
19014
19015 int main() {
19016 dlopen()
19017 ; return 0; }
19018 EOF
19019 if { (eval echo configure:19020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19020 rm -rf conftest*
19021 eval "ac_cv_lib_$ac_lib_var=yes"
19022 else
19023 echo "configure: failed program was:" >&5
19024 cat conftest.$ac_ext >&5
19025 rm -rf conftest*
19026 eval "ac_cv_lib_$ac_lib_var=no"
19027 fi
19028 rm -f conftest*
19029 LIBS="$ac_save_LIBS"
19030
19031 fi
19032 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19033 echo "$ac_t""yes" 1>&6
19034
19035 cat >> confdefs.h <<\EOF
19036 #define HAVE_DLOPEN 1
19037 EOF
19038
19039 HAVE_DL_FUNCS=1
19040 DL_LINK=" -ldl$DL_LINK"
19041
19042 else
19043 echo "$ac_t""no" 1>&6
19044
19045 for ac_func in shl_load
19046 do
19047 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19048 echo "configure:19049: checking for $ac_func" >&5
19049 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19050 echo $ac_n "(cached) $ac_c" 1>&6
19051 else
19052 cat > conftest.$ac_ext <<EOF
19053 #line 19054 "configure"
19054 #include "confdefs.h"
19055 /* System header to define __stub macros and hopefully few prototypes,
19056 which can conflict with char $ac_func(); below. */
19057 #include <assert.h>
19058 /* Override any gcc2 internal prototype to avoid an error. */
19059 /* We use char because int might match the return type of a gcc2
19060 builtin and then its argument prototype would still apply. */
19061 char $ac_func();
19062
19063 int main() {
19064
19065 /* The GNU C library defines this for functions which it implements
19066 to always fail with ENOSYS. Some functions are actually named
19067 something starting with __ and the normal name is an alias. */
19068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19069 choke me
19070 #else
19071 $ac_func();
19072 #endif
19073
19074 ; return 0; }
19075 EOF
19076 if { (eval echo configure:19077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19077 rm -rf conftest*
19078 eval "ac_cv_func_$ac_func=yes"
19079 else
19080 echo "configure: failed program was:" >&5
19081 cat conftest.$ac_ext >&5
19082 rm -rf conftest*
19083 eval "ac_cv_func_$ac_func=no"
19084 fi
19085 rm -f conftest*
19086 fi
19087
19088 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19089 echo "$ac_t""yes" 1>&6
19090 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19091 cat >> confdefs.h <<EOF
19092 #define $ac_tr_func 1
19093 EOF
19094
19095 cat >> confdefs.h <<\EOF
19096 #define HAVE_SHL_LOAD 1
19097 EOF
19098
19099 HAVE_SHL_FUNCS=1
19100
19101 else
19102 echo "$ac_t""no" 1>&6
19103 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
19104 echo "configure:19105: checking for dld in -lshl_load" >&5
19105 ac_lib_var=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
19106 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19107 echo $ac_n "(cached) $ac_c" 1>&6
19108 else
19109 ac_save_LIBS="$LIBS"
19110 LIBS="-lshl_load $LIBS"
19111 cat > conftest.$ac_ext <<EOF
19112 #line 19113 "configure"
19113 #include "confdefs.h"
19114 /* Override any gcc2 internal prototype to avoid an error. */
19115 /* We use char because int might match the return type of a gcc2
19116 builtin and then its argument prototype would still apply. */
19117 char dld();
19118
19119 int main() {
19120 dld()
19121 ; return 0; }
19122 EOF
19123 if { (eval echo configure:19124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19124 rm -rf conftest*
19125 eval "ac_cv_lib_$ac_lib_var=yes"
19126 else
19127 echo "configure: failed program was:" >&5
19128 cat conftest.$ac_ext >&5
19129 rm -rf conftest*
19130 eval "ac_cv_lib_$ac_lib_var=no"
19131 fi
19132 rm -f conftest*
19133 LIBS="$ac_save_LIBS"
19134
19135 fi
19136 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19137 echo "$ac_t""yes" 1>&6
19138
19139 HAVE_SHL_FUNCS=1
19140 DL_LINK=" -ldld$DL_LINK"
19141
19142 else
19143 echo "$ac_t""no" 1>&6
19144 fi
19145
19146
19147 fi
19148 done
19149
19150
19151 fi
19152
19153
19154 fi
19155 done
19156
19157
19158 if test "$HAVE_DL_FUNCS" = 1; then
19159 for ac_func in dlerror
19160 do
19161 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19162 echo "configure:19163: checking for $ac_func" >&5
19163 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19164 echo $ac_n "(cached) $ac_c" 1>&6
19165 else
19166 cat > conftest.$ac_ext <<EOF
19167 #line 19168 "configure"
19168 #include "confdefs.h"
19169 /* System header to define __stub macros and hopefully few prototypes,
19170 which can conflict with char $ac_func(); below. */
19171 #include <assert.h>
19172 /* Override any gcc2 internal prototype to avoid an error. */
19173 /* We use char because int might match the return type of a gcc2
19174 builtin and then its argument prototype would still apply. */
19175 char $ac_func();
19176
19177 int main() {
19178
19179 /* The GNU C library defines this for functions which it implements
19180 to always fail with ENOSYS. Some functions are actually named
19181 something starting with __ and the normal name is an alias. */
19182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19183 choke me
19184 #else
19185 $ac_func();
19186 #endif
19187
19188 ; return 0; }
19189 EOF
19190 if { (eval echo configure:19191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19191 rm -rf conftest*
19192 eval "ac_cv_func_$ac_func=yes"
19193 else
19194 echo "configure: failed program was:" >&5
19195 cat conftest.$ac_ext >&5
19196 rm -rf conftest*
19197 eval "ac_cv_func_$ac_func=no"
19198 fi
19199 rm -f conftest*
19200 fi
19201
19202 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19203 echo "$ac_t""yes" 1>&6
19204 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19205 cat >> confdefs.h <<EOF
19206 #define $ac_tr_func 1
19207 EOF
19208 cat >> confdefs.h <<\EOF
19209 #define HAVE_DLERROR 1
19210 EOF
19211
19212 else
19213 echo "$ac_t""no" 1>&6
19214 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
19215 echo "configure:19216: checking for dlerror in -ldl" >&5
19216 ac_lib_var=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
19217 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19218 echo $ac_n "(cached) $ac_c" 1>&6
19219 else
19220 ac_save_LIBS="$LIBS"
19221 LIBS="-ldl $LIBS"
19222 cat > conftest.$ac_ext <<EOF
19223 #line 19224 "configure"
19224 #include "confdefs.h"
19225 /* Override any gcc2 internal prototype to avoid an error. */
19226 /* We use char because int might match the return type of a gcc2
19227 builtin and then its argument prototype would still apply. */
19228 char dlerror();
19229
19230 int main() {
19231 dlerror()
19232 ; return 0; }
19233 EOF
19234 if { (eval echo configure:19235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19235 rm -rf conftest*
19236 eval "ac_cv_lib_$ac_lib_var=yes"
19237 else
19238 echo "configure: failed program was:" >&5
19239 cat conftest.$ac_ext >&5
19240 rm -rf conftest*
19241 eval "ac_cv_lib_$ac_lib_var=no"
19242 fi
19243 rm -f conftest*
19244 LIBS="$ac_save_LIBS"
19245
19246 fi
19247 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19248 echo "$ac_t""yes" 1>&6
19249 cat >> confdefs.h <<\EOF
19250 #define HAVE_DLERROR 1
19251 EOF
19252
19253 else
19254 echo "$ac_t""no" 1>&6
19255 fi
19256
19257 fi
19258 done
19259
19260 fi
19261 fi
19262
19263 if test "$HAVE_DL_FUNCS" = 0; then
19264 if test "$HAVE_SHL_FUNCS" = 0; then
19265 if test "$USE_UNIX" = 1; then
19266 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
19267 wxUSE_DYNAMIC_LOADER=no
19268 wxUSE_DYNLIB_CLASS=no
19269 else
19270 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
19271 fi
19272 fi
19273 fi
19274 fi
19275 fi
19276
19277 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
19278 cat >> confdefs.h <<\EOF
19279 #define wxUSE_DYNAMIC_LOADER 1
19280 EOF
19281
19282 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19283 cat >> confdefs.h <<\EOF
19284 #define wxUSE_DYNLIB_CLASS 1
19285 EOF
19286
19287 fi
19288
19289
19290 if test "$wxUSE_FONTMAP" = "yes" ; then
19291 cat >> confdefs.h <<\EOF
19292 #define wxUSE_FONTMAP 1
19293 EOF
19294
19295 fi
19296
19297 if test "$wxUSE_UNICODE" = "yes" ; then
19298 cat >> confdefs.h <<\EOF
19299 #define wxUSE_UNICODE 1
19300 EOF
19301
19302
19303 if test "$wxUSE_MSW" != 1; then
19304 wxUSE_UNICODE_MSLU=no
19305 fi
19306
19307 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
19308 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
19309 echo "configure:19310: checking for main in -lunicows" >&5
19310 ac_lib_var=`echo unicows'_'main | sed 'y%./+-%__p_%'`
19311 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19312 echo $ac_n "(cached) $ac_c" 1>&6
19313 else
19314 ac_save_LIBS="$LIBS"
19315 LIBS="-lunicows $LIBS"
19316 cat > conftest.$ac_ext <<EOF
19317 #line 19318 "configure"
19318 #include "confdefs.h"
19319
19320 int main() {
19321 main()
19322 ; return 0; }
19323 EOF
19324 if { (eval echo configure:19325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19325 rm -rf conftest*
19326 eval "ac_cv_lib_$ac_lib_var=yes"
19327 else
19328 echo "configure: failed program was:" >&5
19329 cat conftest.$ac_ext >&5
19330 rm -rf conftest*
19331 eval "ac_cv_lib_$ac_lib_var=no"
19332 fi
19333 rm -f conftest*
19334 LIBS="$ac_save_LIBS"
19335
19336 fi
19337 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19338 echo "$ac_t""yes" 1>&6
19339
19340 cat >> confdefs.h <<\EOF
19341 #define wxUSE_UNICODE_MSLU 1
19342 EOF
19343
19344
19345 else
19346 echo "$ac_t""no" 1>&6
19347
19348 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
19349 Applications will only run on Windows NT/2000/XP!" 1>&2
19350 wxUSE_UNICODE_MSLU=no
19351
19352 fi
19353
19354 fi
19355 fi
19356
19357 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
19358 cat >> confdefs.h <<\EOF
19359 #define wxUSE_EXPERIMENTAL_PRINTF 1
19360 EOF
19361
19362 fi
19363
19364
19365
19366 IODBC_C_SRC=""
19367 if test "$wxUSE_ODBC" = "yes" ; then
19368 cat >> confdefs.h <<\EOF
19369 #define wxUSE_ODBC 1
19370 EOF
19371
19372 WXODBCFLAG="-D_IODBC_"
19373 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
19374 fi
19375
19376
19377 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
19378 cat >> confdefs.h <<\EOF
19379 #define wxUSE_POSTSCRIPT 1
19380 EOF
19381
19382 fi
19383
19384 cat >> confdefs.h <<\EOF
19385 #define wxUSE_AFM_FOR_POSTSCRIPT 1
19386 EOF
19387
19388
19389 cat >> confdefs.h <<\EOF
19390 #define wxUSE_NORMALIZED_PS_FONTS 1
19391 EOF
19392
19393
19394
19395 if test "$wxUSE_CONSTRAINTS" = "yes"; then
19396 cat >> confdefs.h <<\EOF
19397 #define wxUSE_CONSTRAINTS 1
19398 EOF
19399
19400 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
19401 fi
19402
19403 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19404 if test "$wxUSE_UNIVERSAL" = "yes"; then
19405 echo "configure: warning: MDI not yet supported for wxUniversal... disabled" 1>&2
19406 wxUSE_MDI_ARCHITECTURE=no
19407 fi
19408
19409 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19410 cat >> confdefs.h <<\EOF
19411 #define wxUSE_MDI_ARCHITECTURE 1
19412 EOF
19413
19414 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
19415 fi
19416 fi
19417
19418 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
19419 cat >> confdefs.h <<\EOF
19420 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
19421 EOF
19422
19423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
19424 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19425 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
19426 fi
19427 fi
19428
19429 if test "$wxUSE_HELP" = "yes"; then
19430 cat >> confdefs.h <<\EOF
19431 #define wxUSE_HELP 1
19432 EOF
19433
19434 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
19435
19436 if test "$wxUSE_MSW" = 1; then
19437 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
19438 cat >> confdefs.h <<\EOF
19439 #define wxUSE_MS_HTML_HELP 1
19440 EOF
19441
19442 fi
19443 fi
19444
19445 if test "$wxUSE_WXHTML_HELP" = "yes"; then
19446 if test "$wxUSE_HTML" = "yes"; then
19447 cat >> confdefs.h <<\EOF
19448 #define wxUSE_WXHTML_HELP 1
19449 EOF
19450
19451 else
19452 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
19453 wxUSE_WXHTML_HELP=no
19454 fi
19455 fi
19456 fi
19457
19458 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
19459 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19460 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
19461 else
19462 cat >> confdefs.h <<\EOF
19463 #define wxUSE_PRINTING_ARCHITECTURE 1
19464 EOF
19465
19466 fi
19467 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
19468 fi
19469
19470 if test "$wxUSE_PROLOGIO" = "yes" ; then
19471 cat >> confdefs.h <<\EOF
19472 #define wxUSE_PROLOGIO 1
19473 EOF
19474
19475 fi
19476
19477 if test "$wxUSE_RESOURCES" = "yes" ; then
19478 if test "$wxUSE_NANOX" = "yes"; then
19479 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
19480 else
19481 cat >> confdefs.h <<\EOF
19482 #define wxUSE_RESOURCES 1
19483 EOF
19484
19485 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS resource"
19486 fi
19487 fi
19488
19489 if test "$wxUSE_X_RESOURCES" = "yes"; then
19490 cat >> confdefs.h <<\EOF
19491 #define wxUSE_X_RESOURCES 1
19492 EOF
19493
19494 fi
19495
19496
19497 if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
19498 -o "$wxUSE_CLIPBOARD" = "yes" \
19499 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
19500 for ac_hdr in ole2.h
19501 do
19502 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19503 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19504 echo "configure:19505: checking for $ac_hdr" >&5
19505 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19506 echo $ac_n "(cached) $ac_c" 1>&6
19507 else
19508 cat > conftest.$ac_ext <<EOF
19509 #line 19510 "configure"
19510 #include "confdefs.h"
19511 #include <$ac_hdr>
19512 EOF
19513 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19514 { (eval echo configure:19515: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19515 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19516 if test -z "$ac_err"; then
19517 rm -rf conftest*
19518 eval "ac_cv_header_$ac_safe=yes"
19519 else
19520 echo "$ac_err" >&5
19521 echo "configure: failed program was:" >&5
19522 cat conftest.$ac_ext >&5
19523 rm -rf conftest*
19524 eval "ac_cv_header_$ac_safe=no"
19525 fi
19526 rm -f conftest*
19527 fi
19528 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19529 echo "$ac_t""yes" 1>&6
19530 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19531 cat >> confdefs.h <<EOF
19532 #define $ac_tr_hdr 1
19533 EOF
19534
19535 else
19536 echo "$ac_t""no" 1>&6
19537 fi
19538 done
19539
19540
19541 if test "$ac_cv_header_ole2_h" = "yes" ; then
19542 if test "$GCC" = yes ; then
19543 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
19544 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
19545 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
19546 cat >> confdefs.h <<\EOF
19547 #define wxUSE_OLE 1
19548 EOF
19549
19550
19551 fi
19552
19553 cat >> confdefs.h <<\EOF
19554 #define wxUSE_DATAOBJ 1
19555 EOF
19556
19557 else
19558 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
19559
19560 wxUSE_CLIPBOARD=no
19561 wxUSE_DRAG_AND_DROP=no
19562 wxUSE_DATAOBJ=no
19563 fi
19564
19565 if test "$wxUSE_METAFILE" = "yes"; then
19566 cat >> confdefs.h <<\EOF
19567 #define wxUSE_METAFILE 1
19568 EOF
19569
19570
19571 cat >> confdefs.h <<\EOF
19572 #define wxUSE_ENH_METAFILE 1
19573 EOF
19574
19575 fi
19576 fi
19577
19578 if test "$wxUSE_IPC" = "yes"; then
19579 if test "$wxUSE_SOCKETS" != "yes"; then
19580 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
19581 fi
19582
19583 cat >> confdefs.h <<\EOF
19584 #define wxUSE_IPC 1
19585 EOF
19586
19587 fi
19588
19589 if test "$wxUSE_CLIPBOARD" = "yes"; then
19590 cat >> confdefs.h <<\EOF
19591 #define wxUSE_CLIPBOARD 1
19592 EOF
19593
19594
19595 cat >> confdefs.h <<\EOF
19596 #define wxUSE_DATAOBJ 1
19597 EOF
19598
19599 fi
19600
19601 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
19602 if test "$wxUSE_GTK" = 1; then
19603 if test "$WXGTK12" != 1; then
19604 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
19605 wxUSE_DRAG_AND_DROP=no
19606 fi
19607 fi
19608
19609 if test "$wxUSE_MOTIF" = 1; then
19610 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
19611 wxUSE_DRAG_AND_DROP=no
19612 fi
19613
19614 if test "$wxUSE_X11" = 1; then
19615 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
19616 wxUSE_DRAG_AND_DROP=no
19617 fi
19618
19619 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
19620 cat >> confdefs.h <<\EOF
19621 #define wxUSE_DRAG_AND_DROP 1
19622 EOF
19623
19624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
19625 fi
19626
19627 fi
19628
19629 if test "$wxUSE_SPLINES" = "yes" ; then
19630 cat >> confdefs.h <<\EOF
19631 #define wxUSE_SPLINES 1
19632 EOF
19633
19634 fi
19635
19636
19637 USES_CONTROLS=0
19638 if test "$wxUSE_CONTROLS" = "yes"; then
19639 USES_CONTROLS=1
19640 fi
19641
19642 if test "$wxUSE_ACCEL" = "yes"; then
19643 cat >> confdefs.h <<\EOF
19644 #define wxUSE_ACCEL 1
19645 EOF
19646
19647 USES_CONTROLS=1
19648 fi
19649
19650 if test "$wxUSE_BUTTON" = "yes"; then
19651 cat >> confdefs.h <<\EOF
19652 #define wxUSE_BUTTON 1
19653 EOF
19654
19655 USES_CONTROLS=1
19656 fi
19657
19658 if test "$wxUSE_BMPBUTTON" = "yes"; then
19659 cat >> confdefs.h <<\EOF
19660 #define wxUSE_BMPBUTTON 1
19661 EOF
19662
19663 USES_CONTROLS=1
19664 fi
19665
19666 if test "$wxUSE_CALCTRL" = "yes"; then
19667 cat >> confdefs.h <<\EOF
19668 #define wxUSE_CALENDARCTRL 1
19669 EOF
19670
19671 USES_CONTROLS=1
19672 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
19673 fi
19674
19675 if test "$wxUSE_CARET" = "yes"; then
19676 cat >> confdefs.h <<\EOF
19677 #define wxUSE_CARET 1
19678 EOF
19679
19680 USES_CONTROLS=1
19681 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
19682 fi
19683
19684 if test "$wxUSE_COMBOBOX" = "yes"; then
19685 cat >> confdefs.h <<\EOF
19686 #define wxUSE_COMBOBOX 1
19687 EOF
19688
19689 USES_CONTROLS=1
19690 fi
19691
19692 if test "$wxUSE_CHOICE" = "yes"; then
19693 cat >> confdefs.h <<\EOF
19694 #define wxUSE_CHOICE 1
19695 EOF
19696
19697 USES_CONTROLS=1
19698 fi
19699
19700 if test "$wxUSE_CHECKBOX" = "yes"; then
19701 cat >> confdefs.h <<\EOF
19702 #define wxUSE_CHECKBOX 1
19703 EOF
19704
19705 USES_CONTROLS=1
19706 fi
19707
19708 if test "$wxUSE_CHECKLST" = "yes"; then
19709 cat >> confdefs.h <<\EOF
19710 #define wxUSE_CHECKLISTBOX 1
19711 EOF
19712
19713 USES_CONTROLS=1
19714 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
19715 fi
19716
19717 if test "$wxUSE_GAUGE" = "yes"; then
19718 cat >> confdefs.h <<\EOF
19719 #define wxUSE_GAUGE 1
19720 EOF
19721
19722 USES_CONTROLS=1
19723 fi
19724
19725 if test "$wxUSE_NEW_GRID" = "yes"; then
19726 wxUSE_GRID="yes"
19727 cat >> confdefs.h <<\EOF
19728 #define wxUSE_NEW_GRID 1
19729 EOF
19730
19731 USES_CONTROLS=1
19732 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS newgrid"
19733 fi
19734
19735 if test "$wxUSE_GRID" = "yes"; then
19736 cat >> confdefs.h <<\EOF
19737 #define wxUSE_GRID 1
19738 EOF
19739
19740 USES_CONTROLS=1
19741 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
19742 fi
19743
19744 if test "$wxUSE_IMAGLIST" = "yes"; then
19745 cat >> confdefs.h <<\EOF
19746 #define wxUSE_IMAGLIST 1
19747 EOF
19748
19749 fi
19750
19751 if test "$wxUSE_LISTBOX" = "yes"; then
19752 cat >> confdefs.h <<\EOF
19753 #define wxUSE_LISTBOX 1
19754 EOF
19755
19756 USES_CONTROLS=1
19757 fi
19758
19759 if test "$wxUSE_LISTCTRL" = "yes"; then
19760 if test "$wxUSE_IMAGLIST" = "yes"; then
19761 cat >> confdefs.h <<\EOF
19762 #define wxUSE_LISTCTRL 1
19763 EOF
19764
19765 USES_CONTROLS=1
19766 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
19767 else
19768 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
19769 fi
19770 fi
19771
19772 if test "$wxUSE_NOTEBOOK" = "yes"; then
19773 cat >> confdefs.h <<\EOF
19774 #define wxUSE_NOTEBOOK 1
19775 EOF
19776
19777 USES_CONTROLS=1
19778 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
19779 fi
19780
19781 if test "$wxUSE_PROPSHEET" = "yes"; then
19782 cat >> confdefs.h <<\EOF
19783 #define wxUSE_PROPSHEET 1
19784 EOF
19785
19786 USES_CONTROLS=1
19787 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS proplist"
19788 fi
19789
19790 if test "$wxUSE_RADIOBOX" = "yes"; then
19791 cat >> confdefs.h <<\EOF
19792 #define wxUSE_RADIOBOX 1
19793 EOF
19794
19795 USES_CONTROLS=1
19796 fi
19797
19798 if test "$wxUSE_RADIOBTN" = "yes"; then
19799 cat >> confdefs.h <<\EOF
19800 #define wxUSE_RADIOBTN 1
19801 EOF
19802
19803 USES_CONTROLS=1
19804 fi
19805
19806 if test "$wxUSE_SASH" = "yes"; then
19807 cat >> confdefs.h <<\EOF
19808 #define wxUSE_SASH 1
19809 EOF
19810
19811 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
19812 fi
19813
19814 if test "$wxUSE_SCROLLBAR" = "yes"; then
19815 cat >> confdefs.h <<\EOF
19816 #define wxUSE_SCROLLBAR 1
19817 EOF
19818
19819 USES_CONTROLS=1
19820 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
19821 fi
19822
19823 if test "$wxUSE_SLIDER" = "yes"; then
19824 cat >> confdefs.h <<\EOF
19825 #define wxUSE_SLIDER 1
19826 EOF
19827
19828 USES_CONTROLS=1
19829 fi
19830
19831 if test "$wxUSE_SPINBTN" = "yes"; then
19832 cat >> confdefs.h <<\EOF
19833 #define wxUSE_SPINBTN 1
19834 EOF
19835
19836 USES_CONTROLS=1
19837 fi
19838
19839 if test "$wxUSE_SPINCTRL" = "yes"; then
19840 cat >> confdefs.h <<\EOF
19841 #define wxUSE_SPINCTRL 1
19842 EOF
19843
19844 USES_CONTROLS=1
19845 fi
19846
19847 if test "$wxUSE_SPLITTER" = "yes"; then
19848 cat >> confdefs.h <<\EOF
19849 #define wxUSE_SPLITTER 1
19850 EOF
19851
19852 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
19853 fi
19854
19855 if test "$wxUSE_STATBMP" = "yes"; then
19856 cat >> confdefs.h <<\EOF
19857 #define wxUSE_STATBMP 1
19858 EOF
19859
19860 USES_CONTROLS=1
19861 fi
19862
19863 if test "$wxUSE_STATBOX" = "yes"; then
19864 cat >> confdefs.h <<\EOF
19865 #define wxUSE_STATBOX 1
19866 EOF
19867
19868 USES_CONTROLS=1
19869 fi
19870
19871 if test "$wxUSE_STATTEXT" = "yes"; then
19872 cat >> confdefs.h <<\EOF
19873 #define wxUSE_STATTEXT 1
19874 EOF
19875
19876 USES_CONTROLS=1
19877 fi
19878
19879 if test "$wxUSE_STATLINE" = "yes"; then
19880 if test "$wxUSE_WINE" = 1 ; then
19881 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
19882 else
19883 cat >> confdefs.h <<\EOF
19884 #define wxUSE_STATLINE 1
19885 EOF
19886
19887 USES_CONTROLS=1
19888 fi
19889 fi
19890
19891 if test "$wxUSE_STATUSBAR" = "yes"; then
19892 cat >> confdefs.h <<\EOF
19893 #define wxUSE_STATUSBAR 1
19894 EOF
19895
19896 USES_CONTROLS=1
19897
19898 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
19899 fi
19900
19901 if test "$wxUSE_TABDIALOG" = "yes"; then
19902 cat >> confdefs.h <<\EOF
19903 #define wxUSE_TAB_DIALOG 1
19904 EOF
19905
19906 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
19907 fi
19908
19909 if test "$wxUSE_TEXTCTRL" = "yes"; then
19910 cat >> confdefs.h <<\EOF
19911 #define wxUSE_TEXTCTRL 1
19912 EOF
19913
19914 USES_CONTROLS=1
19915 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
19916 fi
19917
19918 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19919 if test "$wxUSE_MAC" = 1; then
19920 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
19921 wxUSE_TOGGLEBTN=no
19922 fi
19923 if test "$wxUSE_UNIVERSAL" = "yes"; then
19924 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
19925 wxUSE_TOGGLEBTN=no
19926 fi
19927
19928 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19929 cat >> confdefs.h <<\EOF
19930 #define wxUSE_TOGGLEBTN 1
19931 EOF
19932
19933 USES_CONTROLS=1
19934 fi
19935 fi
19936
19937 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
19938 cat >> confdefs.h <<\EOF
19939 #define wxUSE_TOOLBAR_SIMPLE 1
19940 EOF
19941
19942 wxUSE_TOOLBAR="yes"
19943 USES_CONTROLS=1
19944 fi
19945
19946 if test "$wxUSE_TOOLBAR" = "yes"; then
19947 cat >> confdefs.h <<\EOF
19948 #define wxUSE_TOOLBAR 1
19949 EOF
19950
19951 USES_CONTROLS=1
19952
19953 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
19954 wxUSE_TOOLBAR_NATIVE="yes"
19955 fi
19956
19957 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
19958 cat >> confdefs.h <<\EOF
19959 #define wxUSE_TOOLBAR_NATIVE 1
19960 EOF
19961
19962 USES_CONTROLS=1
19963 fi
19964
19965 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
19966 fi
19967
19968 if test "$wxUSE_TOOLTIPS" = "yes"; then
19969 if test "$wxUSE_MOTIF" = 1; then
19970 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
19971 else
19972 if test "$wxUSE_WINE" = 1; then
19973 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
19974 else
19975 if test "$wxUSE_UNIVERSAL" = "yes"; then
19976 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
19977 else
19978 cat >> confdefs.h <<\EOF
19979 #define wxUSE_TOOLTIPS 1
19980 EOF
19981
19982 fi
19983 fi
19984 fi
19985 fi
19986
19987 if test "$wxUSE_TREECTRL" = "yes"; then
19988 if test "$wxUSE_IMAGLIST" = "yes"; then
19989 cat >> confdefs.h <<\EOF
19990 #define wxUSE_TREECTRL 1
19991 EOF
19992
19993 USES_CONTROLS=1
19994 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
19995 else
19996 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
19997 fi
19998 fi
19999
20000 if test "$wxUSE_POPUPWIN" = "yes"; then
20001 if test "$wxUSE_MAC" = 1; then
20002 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
20003 else
20004 if test "$wxUSE_MOTIF" = 1; then
20005 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
20006 else
20007 if test "$wxUSE_PM" = 1; then
20008 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
20009 else
20010 cat >> confdefs.h <<\EOF
20011 #define wxUSE_POPUPWIN 1
20012 EOF
20013
20014
20015 USES_CONTROLS=1
20016 fi
20017 fi
20018 fi
20019 fi
20020
20021 if test "$wxUSE_TIPWINDOW" = "yes"; then
20022 if test "$wxUSE_PM" = 1; then
20023 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
20024 else
20025 cat >> confdefs.h <<\EOF
20026 #define wxUSE_TIPWINDOW 1
20027 EOF
20028
20029 fi
20030 fi
20031
20032 if test "$USES_CONTROLS" = 1; then
20033 cat >> confdefs.h <<\EOF
20034 #define wxUSE_CONTROLS 1
20035 EOF
20036
20037 fi
20038
20039
20040 if test "$wxUSE_TREELAYOUT" = "yes"; then
20041 cat >> confdefs.h <<\EOF
20042 #define wxUSE_TREELAYOUT 1
20043 EOF
20044
20045 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelay"
20046 fi
20047
20048 if test "$wxUSE_DRAGIMAGE" = "yes"; then
20049 cat >> confdefs.h <<\EOF
20050 #define wxUSE_DRAGIMAGE 1
20051 EOF
20052
20053 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
20054 fi
20055
20056 if test "$wxUSE_MENUS" = "yes"; then
20057 cat >> confdefs.h <<\EOF
20058 #define wxUSE_MENUS 1
20059 EOF
20060
20061 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
20062 fi
20063
20064 if test "$wxUSE_METAFILE" = "yes"; then
20065 cat >> confdefs.h <<\EOF
20066 #define wxUSE_METAFILE 1
20067 EOF
20068
20069 fi
20070
20071 if test "$wxUSE_MIMETYPE" = "yes"; then
20072 cat >> confdefs.h <<\EOF
20073 #define wxUSE_MIMETYPE 1
20074 EOF
20075
20076 fi
20077
20078 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
20079 cat >> confdefs.h <<\EOF
20080 #define wxUSE_SYSTEM_OPTIONS 1
20081 EOF
20082
20083 fi
20084
20085 if test "$wxUSE_PROTOCOL" = "yes"; then
20086 if test "$wxUSE_SOCKETS" != "yes"; then
20087 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
20088 wxUSE_PROTOCOL=no
20089 fi
20090
20091 if test "$wxUSE_PROTOCOL" = "yes"; then
20092 cat >> confdefs.h <<\EOF
20093 #define wxUSE_PROTOCOL 1
20094 EOF
20095
20096
20097 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
20098 cat >> confdefs.h <<\EOF
20099 #define wxUSE_PROTOCOL_HTTP 1
20100 EOF
20101
20102 fi
20103 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
20104 cat >> confdefs.h <<\EOF
20105 #define wxUSE_PROTOCOL_FTP 1
20106 EOF
20107
20108 fi
20109 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
20110 cat >> confdefs.h <<\EOF
20111 #define wxUSE_PROTOCOL_FILE 1
20112 EOF
20113
20114 fi
20115 fi
20116 fi
20117
20118 if test "$wxUSE_URL" = "yes"; then
20119 if test "$wxUSE_PROTOCOL" != "yes"; then
20120 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
20121 wxUSE_URL=no
20122 fi
20123 if test "$wxUSE_URL" = "yes"; then
20124 cat >> confdefs.h <<\EOF
20125 #define wxUSE_URL 1
20126 EOF
20127
20128 fi
20129 fi
20130
20131 if test "$wxUSE_MINIFRAME" = "yes"; then
20132 cat >> confdefs.h <<\EOF
20133 #define wxUSE_MINIFRAME 1
20134 EOF
20135
20136 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
20137 fi
20138
20139 if test "$wxUSE_HTML" = "yes"; then
20140 cat >> confdefs.h <<\EOF
20141 #define wxUSE_HTML 1
20142 EOF
20143
20144 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html"
20145 fi
20146
20147 if test "$wxUSE_VALIDATORS" = "yes"; then
20148 cat >> confdefs.h <<\EOF
20149 #define wxUSE_VALIDATORS 1
20150 EOF
20151
20152 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
20153 fi
20154
20155 if test "$wxUSE_PALETTE" = "yes" ; then
20156 cat >> confdefs.h <<\EOF
20157 #define wxUSE_PALETTE 1
20158 EOF
20159
20160 fi
20161
20162 if test "$wxUSE_IMAGE" = "yes" ; then
20163 cat >> confdefs.h <<\EOF
20164 #define wxUSE_IMAGE 1
20165 EOF
20166
20167 fi
20168
20169 if test "$wxUSE_GIF" = "yes" ; then
20170 cat >> confdefs.h <<\EOF
20171 #define wxUSE_GIF 1
20172 EOF
20173
20174 fi
20175
20176 if test "$wxUSE_PCX" = "yes" ; then
20177 cat >> confdefs.h <<\EOF
20178 #define wxUSE_PCX 1
20179 EOF
20180
20181 fi
20182
20183 if test "$wxUSE_IFF" = "yes" ; then
20184 cat >> confdefs.h <<\EOF
20185 #define wxUSE_IFF 1
20186 EOF
20187
20188 fi
20189
20190 if test "$wxUSE_PNM" = "yes" ; then
20191 cat >> confdefs.h <<\EOF
20192 #define wxUSE_PNM 1
20193 EOF
20194
20195 fi
20196
20197 if test "$wxUSE_XPM" = "yes" ; then
20198 cat >> confdefs.h <<\EOF
20199 #define wxUSE_XPM 1
20200 EOF
20201
20202 fi
20203
20204 if test "$wxUSE_ICO_CUR" = "yes" ; then
20205 cat >> confdefs.h <<\EOF
20206 #define wxUSE_ICO_CUR 1
20207 EOF
20208
20209 fi
20210
20211 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
20212 LIBS=" -lunicows $LIBS"
20213 fi
20214
20215
20216 if test "$wxUSE_CHOICEDLG" = "yes"; then
20217 cat >> confdefs.h <<\EOF
20218 #define wxUSE_CHOICEDLG 1
20219 EOF
20220
20221 fi
20222
20223 if test "$wxUSE_COLOURDLG" = "yes"; then
20224 cat >> confdefs.h <<\EOF
20225 #define wxUSE_COLOURDLG 1
20226 EOF
20227
20228 fi
20229
20230 if test "$wxUSE_FILEDLG" = "yes"; then
20231 cat >> confdefs.h <<\EOF
20232 #define wxUSE_FILEDLG 1
20233 EOF
20234
20235 fi
20236
20237 if test "$wxUSE_FINDREPLDLG" = "yes"; then
20238 cat >> confdefs.h <<\EOF
20239 #define wxUSE_FINDREPLDLG 1
20240 EOF
20241
20242 fi
20243
20244 if test "$wxUSE_FONTDLG" = "yes"; then
20245 cat >> confdefs.h <<\EOF
20246 #define wxUSE_FONTDLG 1
20247 EOF
20248
20249 fi
20250
20251 if test "$wxUSE_DIRDLG" = "yes"; then
20252 if test "$wxUSE_TREECTRL" != "yes"; then
20253 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
20254 else
20255 cat >> confdefs.h <<\EOF
20256 #define wxUSE_DIRDLG 1
20257 EOF
20258
20259 fi
20260 fi
20261
20262 if test "$wxUSE_MSGDLG" = "yes"; then
20263 cat >> confdefs.h <<\EOF
20264 #define wxUSE_MSGDLG 1
20265 EOF
20266
20267 fi
20268
20269 if test "$wxUSE_NUMBERDLG" = "yes"; then
20270 cat >> confdefs.h <<\EOF
20271 #define wxUSE_NUMBERDLG 1
20272 EOF
20273
20274 fi
20275
20276 if test "$wxUSE_PROGRESSDLG" = "yes"; then
20277 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20278 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
20279 else
20280 cat >> confdefs.h <<\EOF
20281 #define wxUSE_PROGRESSDLG 1
20282 EOF
20283
20284 fi
20285 fi
20286
20287 if test "$wxUSE_SPLASH" = "yes"; then
20288 cat >> confdefs.h <<\EOF
20289 #define wxUSE_SPLASH 1
20290 EOF
20291
20292 fi
20293
20294 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
20295 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20296 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
20297 else
20298 cat >> confdefs.h <<\EOF
20299 #define wxUSE_STARTUP_TIPS 1
20300 EOF
20301
20302 fi
20303 fi
20304
20305 if test "$wxUSE_TEXTDLG" = "yes"; then
20306 cat >> confdefs.h <<\EOF
20307 #define wxUSE_TEXTDLG 1
20308 EOF
20309
20310 fi
20311
20312 if test "$wxUSE_WIZARDDLG" = "yes"; then
20313 cat >> confdefs.h <<\EOF
20314 #define wxUSE_WIZARDDLG 1
20315 EOF
20316
20317 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
20318 fi
20319
20320
20321 if test "$cross_compiling" = "yes"; then
20322 OSINFO="\"$host\""
20323 else
20324 OSINFO=`uname -s -r -m`
20325 OSINFO="\"$OSINFO\""
20326 fi
20327
20328 cat >> confdefs.h <<EOF
20329 #define WXWIN_OS_DESCRIPTION $OSINFO
20330 EOF
20331
20332
20333
20334 if test "x$prefix" != "xNONE"; then
20335 wxPREFIX=$prefix
20336 else
20337 wxPREFIX=$ac_default_prefix
20338 fi
20339
20340 cat >> confdefs.h <<EOF
20341 #define wxINSTALL_PREFIX "$wxPREFIX"
20342 EOF
20343
20344
20345
20346
20347
20348 if test "$wxUSE_MAC" = 1 ; then
20349 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
20350 fi
20351
20352
20353 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK -lm $LIBS"
20354
20355 if test "$wxUSE_GUI" = "yes"; then
20356
20357 LIBS="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
20358
20359
20360 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
20361 drawing dynamic erase event exec font image \
20362 minimal richedit rotate widgets"
20363
20364 CPPFLAGS="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
20365 else
20366 SAMPLES_SUBDIRS="console"
20367 fi
20368
20369
20370 INCLUDES="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
20371 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE"
20372
20373 if test "$wxUSE_GTK" = 1; then
20374 WXCONFIG_INCLUDE=
20375 else
20376 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
20377 fi
20378
20379 if test "$GXX" = yes ; then
20380 CXXWARNINGS="-Wall"
20381
20382 if test "$wxUSE_NO_DEPS" = "no" ; then
20383 CFLAGS="-MMD $CFLAGS"
20384 CXXFLAGS="-MMD $CXXFLAGS"
20385 fi
20386 fi
20387
20388 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
20389
20390 CFLAGS=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
20391 CXXFLAGS=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
20392 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
20393
20394 LDFLAGS="$LDFLAGS $PROFILE"
20395
20396 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439
20440
20441
20442
20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481
20482
20483
20484
20485
20486 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
20487 echo "configure:20488: checking whether ${MAKE-make} sets \${MAKE}" >&5
20488 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
20489 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
20490 echo $ac_n "(cached) $ac_c" 1>&6
20491 else
20492 cat > conftestmake <<\EOF
20493 all:
20494 @echo 'ac_maketemp="${MAKE}"'
20495 EOF
20496 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20497 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
20498 if test -n "$ac_maketemp"; then
20499 eval ac_cv_prog_make_${ac_make}_set=yes
20500 else
20501 eval ac_cv_prog_make_${ac_make}_set=no
20502 fi
20503 rm -f conftestmake
20504 fi
20505 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
20506 echo "$ac_t""yes" 1>&6
20507 SET_MAKE=
20508 else
20509 echo "$ac_t""no" 1>&6
20510 SET_MAKE="MAKE=${MAKE-make}"
20511 fi
20512
20513
20514 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
20515 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
20516 fi
20517
20518
20519
20520 if test "$wxUSE_GUI" = "yes"; then
20521 wx_cv_path_samplesubdirs=$SAMPLES_SUBDIRS
20522 wx_cv_if_gnu_make=$IF_GNU_MAKE
20523 wx_cv_path_ifs=$PATH_IFS
20524 wx_cv_program_ext=$PROGRAM_EXT
20525 wx_cv_target_library=$WX_TARGET_LIBRARY
20526 wx_cv_target_library_gl=$WX_TARGET_LIBRARY_GL
20527 wx_cv_target_libtype=$WX_TARGET_LIBRARY_TYPE
20528 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
20529 wx_cv_path_ifs wx_cv_program_ext \
20530 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
20531 subdirs="demos samples utils contrib"
20532
20533 fi
20534
20535 trap '' 1 2 15
20536 cat > confcache <<\EOF
20537 # This file is a shell script that caches the results of configure
20538 # tests run on this system so they can be shared between configure
20539 # scripts and configure runs. It is not useful on other systems.
20540 # If it contains results you don't want to keep, you may remove or edit it.
20541 #
20542 # By default, configure uses ./config.cache as the cache file,
20543 # creating it if it does not exist already. You can give configure
20544 # the --cache-file=FILE option to use a different cache file; that is
20545 # what configure does when it calls configure scripts in
20546 # subdirectories, so they share the cache.
20547 # Giving --cache-file=/dev/null disables caching, for debugging configure.
20548 # config.status only pays attention to the cache file if you give it the
20549 # --recheck option to rerun configure.
20550 #
20551 EOF
20552 # The following way of writing the cache mishandles newlines in values,
20553 # but we know of no workaround that is simple, portable, and efficient.
20554 # So, don't put newlines in cache variables' values.
20555 # Ultrix sh set writes to stderr and can't be redirected directly,
20556 # and sets the high bit in the cache file unless we assign to the vars.
20557 (set) 2>&1 |
20558 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20559 *ac_space=\ *)
20560 # `set' does not quote correctly, so add quotes (double-quote substitution
20561 # turns \\\\ into \\, and sed turns \\ into \).
20562 sed -n \
20563 -e "s/'/'\\\\''/g" \
20564 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
20565 ;;
20566 *)
20567 # `set' quotes correctly as required by POSIX, so do not add quotes.
20568 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
20569 ;;
20570 esac >> confcache
20571 if cmp -s $cache_file confcache; then
20572 :
20573 else
20574 if test -w $cache_file; then
20575 echo "updating cache $cache_file"
20576 cat confcache > $cache_file
20577 else
20578 echo "not updating unwritable cache $cache_file"
20579 fi
20580 fi
20581 rm -f confcache
20582
20583 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
20584
20585 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20586 # Let make expand exec_prefix.
20587 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20588
20589 # Any assignment to VPATH causes Sun make to only execute
20590 # the first set of double-colon rules, so remove it if not needed.
20591 # If there is a colon in the path, we need to keep it.
20592 if test "x$srcdir" = x.; then
20593 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
20594 fi
20595
20596 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
20597
20598 DEFS=-DHAVE_CONFIG_H
20599
20600 # Without the "./", some shells look in PATH for config.status.
20601 : ${CONFIG_STATUS=./config.status}
20602
20603 echo creating $CONFIG_STATUS
20604 rm -f $CONFIG_STATUS
20605 cat > $CONFIG_STATUS <<EOF
20606 #! /bin/sh
20607 # Generated automatically by configure.
20608 # Run this file to recreate the current configuration.
20609 # This directory was configured as follows,
20610 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20611 #
20612 # $0 $ac_configure_args
20613 #
20614 # Compiler output produced by configure, useful for debugging
20615 # configure, is in ./config.log if it exists.
20616
20617 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
20618 for ac_option
20619 do
20620 case "\$ac_option" in
20621 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20622 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
20623 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
20624 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
20625 echo "$CONFIG_STATUS generated by autoconf version 2.13"
20626 exit 0 ;;
20627 -help | --help | --hel | --he | --h)
20628 echo "\$ac_cs_usage"; exit 0 ;;
20629 *) echo "\$ac_cs_usage"; exit 1 ;;
20630 esac
20631 done
20632
20633 ac_given_srcdir=$srcdir
20634 ac_given_INSTALL="$INSTALL"
20635
20636 trap 'rm -fr `echo "
20637 wx-config
20638 src/make.env
20639 src/makeprog.env
20640 src/makelib.env
20641 Makefile
20642 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
20643 EOF
20644 cat >> $CONFIG_STATUS <<EOF
20645
20646 # Protect against being on the right side of a sed subst in config.status.
20647 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
20648 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
20649 $ac_vpsub
20650 $extrasub
20651 s%@SHELL@%$SHELL%g
20652 s%@CFLAGS@%$CFLAGS%g
20653 s%@CPPFLAGS@%$CPPFLAGS%g
20654 s%@CXXFLAGS@%$CXXFLAGS%g
20655 s%@FFLAGS@%$FFLAGS%g
20656 s%@DEFS@%$DEFS%g
20657 s%@LDFLAGS@%$LDFLAGS%g
20658 s%@LIBS@%$LIBS%g
20659 s%@exec_prefix@%$exec_prefix%g
20660 s%@prefix@%$prefix%g
20661 s%@program_transform_name@%$program_transform_name%g
20662 s%@bindir@%$bindir%g
20663 s%@sbindir@%$sbindir%g
20664 s%@libexecdir@%$libexecdir%g
20665 s%@datadir@%$datadir%g
20666 s%@sysconfdir@%$sysconfdir%g
20667 s%@sharedstatedir@%$sharedstatedir%g
20668 s%@localstatedir@%$localstatedir%g
20669 s%@libdir@%$libdir%g
20670 s%@includedir@%$includedir%g
20671 s%@oldincludedir@%$oldincludedir%g
20672 s%@infodir@%$infodir%g
20673 s%@mandir@%$mandir%g
20674 s%@host@%$host%g
20675 s%@host_alias@%$host_alias%g
20676 s%@host_cpu@%$host_cpu%g
20677 s%@host_vendor@%$host_vendor%g
20678 s%@host_os@%$host_os%g
20679 s%@target@%$target%g
20680 s%@target_alias@%$target_alias%g
20681 s%@target_cpu@%$target_cpu%g
20682 s%@target_vendor@%$target_vendor%g
20683 s%@target_os@%$target_os%g
20684 s%@build@%$build%g
20685 s%@build_alias@%$build_alias%g
20686 s%@build_cpu@%$build_cpu%g
20687 s%@build_vendor@%$build_vendor%g
20688 s%@build_os@%$build_os%g
20689 s%@CC@%$CC%g
20690 s%@CPP@%$CPP%g
20691 s%@CXX@%$CXX%g
20692 s%@RANLIB@%$RANLIB%g
20693 s%@AR@%$AR%g
20694 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
20695 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
20696 s%@INSTALL_DATA@%$INSTALL_DATA%g
20697 s%@STRIP@%$STRIP%g
20698 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
20699 s%@YACC@%$YACC%g
20700 s%@LEX@%$LEX%g
20701 s%@LEXLIB@%$LEXLIB%g
20702 s%@LN_S@%$LN_S%g
20703 s%@PKG_CONFIG@%$PKG_CONFIG%g
20704 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
20705 s%@GTK_LIBS@%$GTK_LIBS%g
20706 s%@GTK_CONFIG@%$GTK_CONFIG%g
20707 s%@X_CFLAGS@%$X_CFLAGS%g
20708 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
20709 s%@X_LIBS@%$X_LIBS%g
20710 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
20711 s%@RESCOMP@%$RESCOMP%g
20712 s%@DEREZ@%$DEREZ%g
20713 s%@CXXCPP@%$CXXCPP%g
20714 s%@LIBICONV@%$LIBICONV%g
20715 s%@LEX_STEM@%$LEX_STEM%g
20716 s%@PATH_IFS@%$PATH_IFS%g
20717 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
20718 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
20719 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
20720 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
20721 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
20722 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
20723 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
20724 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
20725 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
20726 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
20727 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
20728 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
20729 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
20730 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
20731 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
20732 s%@WX_ALL@%$WX_ALL%g
20733 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
20734 s%@SHARED_LD@%$SHARED_LD%g
20735 s%@PIC_FLAG@%$PIC_FLAG%g
20736 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
20737 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
20738 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
20739 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
20740 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
20741 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
20742 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
20743 s%@USE_GUI@%$USE_GUI%g
20744 s%@AFMINSTALL@%$AFMINSTALL%g
20745 s%@TOOLKIT@%$TOOLKIT%g
20746 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
20747 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
20748 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
20749 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
20750 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
20751 s%@cross_compiling@%$cross_compiling%g
20752 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
20753 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
20754 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
20755 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
20756 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
20757 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
20758 s%@ALL_HEADERS@%$ALL_HEADERS%g
20759 s%@ALL_SOURCES@%$ALL_SOURCES%g
20760 s%@GUIDIST@%$GUIDIST%g
20761 s%@PORT_FILES@%$PORT_FILES%g
20762 s%@DISTDIR@%$DISTDIR%g
20763 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
20764 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
20765 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
20766 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
20767 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
20768 s%@EXTRADEFS@%$EXTRADEFS%g
20769 s%@RESFLAGS@%$RESFLAGS%g
20770 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
20771 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
20772 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
20773 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
20774 s%@LIBWXMACRES@%$LIBWXMACRES%g
20775 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
20776 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
20777 s%@DLLTOOL@%$DLLTOOL%g
20778 s%@AS@%$AS%g
20779 s%@NM@%$NM%g
20780 s%@LD@%$LD%g
20781 s%@MAKEINFO@%$MAKEINFO%g
20782 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
20783 s%@SET_MAKE@%$SET_MAKE%g
20784 s%@subdirs@%$subdirs%g
20785
20786 CEOF
20787 EOF
20788
20789 cat >> $CONFIG_STATUS <<\EOF
20790
20791 # Split the substitutions into bite-sized pieces for seds with
20792 # small command number limits, like on Digital OSF/1 and HP-UX.
20793 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
20794 ac_file=1 # Number of current file.
20795 ac_beg=1 # First line for current file.
20796 ac_end=$ac_max_sed_cmds # Line after last line for current file.
20797 ac_more_lines=:
20798 ac_sed_cmds=""
20799 while $ac_more_lines; do
20800 if test $ac_beg -gt 1; then
20801 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
20802 else
20803 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
20804 fi
20805 if test ! -s conftest.s$ac_file; then
20806 ac_more_lines=false
20807 rm -f conftest.s$ac_file
20808 else
20809 if test -z "$ac_sed_cmds"; then
20810 ac_sed_cmds="sed -f conftest.s$ac_file"
20811 else
20812 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
20813 fi
20814 ac_file=`expr $ac_file + 1`
20815 ac_beg=$ac_end
20816 ac_end=`expr $ac_end + $ac_max_sed_cmds`
20817 fi
20818 done
20819 if test -z "$ac_sed_cmds"; then
20820 ac_sed_cmds=cat
20821 fi
20822 EOF
20823
20824 cat >> $CONFIG_STATUS <<EOF
20825
20826 CONFIG_FILES=\${CONFIG_FILES-"wx-config
20827 src/make.env
20828 src/makeprog.env
20829 src/makelib.env
20830 Makefile
20831 "}
20832 EOF
20833 cat >> $CONFIG_STATUS <<\EOF
20834 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
20835 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20836 case "$ac_file" in
20837 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
20838 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
20839 *) ac_file_in="${ac_file}.in" ;;
20840 esac
20841
20842 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
20843
20844 # Remove last slash and all that follows it. Not all systems have dirname.
20845 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20846 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
20847 # The file is in a subdirectory.
20848 test ! -d "$ac_dir" && mkdir "$ac_dir"
20849 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
20850 # A "../" for each directory in $ac_dir_suffix.
20851 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
20852 else
20853 ac_dir_suffix= ac_dots=
20854 fi
20855
20856 case "$ac_given_srcdir" in
20857 .) srcdir=.
20858 if test -z "$ac_dots"; then top_srcdir=.
20859 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
20860 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
20861 *) # Relative path.
20862 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
20863 top_srcdir="$ac_dots$ac_given_srcdir" ;;
20864 esac
20865
20866 case "$ac_given_INSTALL" in
20867 [/$]*) INSTALL="$ac_given_INSTALL" ;;
20868 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
20869 esac
20870
20871 echo creating "$ac_file"
20872 rm -f "$ac_file"
20873 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
20874 case "$ac_file" in
20875 *Makefile*) ac_comsub="1i\\
20876 # $configure_input" ;;
20877 *) ac_comsub= ;;
20878 esac
20879
20880 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20881 sed -e "$ac_comsub
20882 s%@configure_input@%$configure_input%g
20883 s%@srcdir@%$srcdir%g
20884 s%@top_srcdir@%$top_srcdir%g
20885 s%@INSTALL@%$INSTALL%g
20886 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
20887 fi; done
20888 rm -f conftest.s*
20889
20890 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
20891 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20892 #
20893 # ac_d sets the value in "#define NAME VALUE" lines.
20894 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20895 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
20896 ac_dC='\3'
20897 ac_dD='%g'
20898 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
20899 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20900 ac_uB='\([ ]\)%\1#\2define\3'
20901 ac_uC=' '
20902 ac_uD='\4%g'
20903 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20904 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20905 ac_eB='$%\1#\2define\3'
20906 ac_eC=' '
20907 ac_eD='%g'
20908
20909 if test "${CONFIG_HEADERS+set}" != set; then
20910 EOF
20911 cat >> $CONFIG_STATUS <<EOF
20912 CONFIG_HEADERS="setup.h:setup.h.in"
20913 EOF
20914 cat >> $CONFIG_STATUS <<\EOF
20915 fi
20916 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
20917 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20918 case "$ac_file" in
20919 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
20920 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
20921 *) ac_file_in="${ac_file}.in" ;;
20922 esac
20923
20924 echo creating $ac_file
20925
20926 rm -f conftest.frag conftest.in conftest.out
20927 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20928 cat $ac_file_inputs > conftest.in
20929
20930 EOF
20931
20932 # Transform confdefs.h into a sed script conftest.vals that substitutes
20933 # the proper values into config.h.in to produce config.h. And first:
20934 # Protect against being on the right side of a sed subst in config.status.
20935 # Protect against being in an unquoted here document in config.status.
20936 rm -f conftest.vals
20937 cat > conftest.hdr <<\EOF
20938 s/[\\&%]/\\&/g
20939 s%[\\$`]%\\&%g
20940 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
20941 s%ac_d%ac_u%gp
20942 s%ac_u%ac_e%gp
20943 EOF
20944 sed -n -f conftest.hdr confdefs.h > conftest.vals
20945 rm -f conftest.hdr
20946
20947 # This sed command replaces #undef with comments. This is necessary, for
20948 # example, in the case of _POSIX_SOURCE, which is predefined and required
20949 # on some systems where configure will not decide to define it.
20950 cat >> conftest.vals <<\EOF
20951 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
20952 EOF
20953
20954 # Break up conftest.vals because some shells have a limit on
20955 # the size of here documents, and old seds have small limits too.
20956
20957 rm -f conftest.tail
20958 while :
20959 do
20960 ac_lines=`grep -c . conftest.vals`
20961 # grep -c gives empty output for an empty file on some AIX systems.
20962 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
20963 # Write a limited-size here document to conftest.frag.
20964 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
20965 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
20966 echo 'CEOF
20967 sed -f conftest.frag conftest.in > conftest.out
20968 rm -f conftest.in
20969 mv conftest.out conftest.in
20970 ' >> $CONFIG_STATUS
20971 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
20972 rm -f conftest.vals
20973 mv conftest.tail conftest.vals
20974 done
20975 rm -f conftest.vals
20976
20977 cat >> $CONFIG_STATUS <<\EOF
20978 rm -f conftest.frag conftest.h
20979 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
20980 cat conftest.in >> conftest.h
20981 rm -f conftest.in
20982 if cmp -s $ac_file conftest.h 2>/dev/null; then
20983 echo "$ac_file is unchanged"
20984 rm -f conftest.h
20985 else
20986 # Remove last slash and all that follows it. Not all systems have dirname.
20987 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20988 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
20989 # The file is in a subdirectory.
20990 test ! -d "$ac_dir" && mkdir "$ac_dir"
20991 fi
20992 rm -f $ac_file
20993 mv conftest.h $ac_file
20994 fi
20995 fi; done
20996
20997 EOF
20998 cat >> $CONFIG_STATUS <<EOF
20999
21000 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
21001 LN_S="${LN_S}"
21002
21003
21004 EOF
21005 cat >> $CONFIG_STATUS <<\EOF
21006
21007 if test ! -h wx-config; then
21008 chmod +x wx-config
21009 mv wx-config wx${TOOLCHAIN_NAME}-config
21010 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
21011 fi
21012
21013 if test ! -d lib; then
21014 mkdir lib
21015 fi
21016 if test ! -d lib/wx; then
21017 mkdir lib/wx
21018 fi
21019 if test ! -d lib/wx/include; then
21020 mkdir lib/wx/include
21021 fi
21022 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
21023 mkdir lib/wx/include/${TOOLCHAIN_NAME}
21024 fi
21025 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
21026 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
21027 fi
21028 if test -f setup.h; then
21029 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
21030 fi
21031
21032 exit 0
21033 EOF
21034 chmod +x $CONFIG_STATUS
21035 rm -fr confdefs* $ac_clean_files
21036 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
21037
21038 if test "$no_recursion" != yes; then
21039
21040 # Remove --cache-file and --srcdir arguments so they do not pile up.
21041 ac_sub_configure_args=
21042 ac_prev=
21043 for ac_arg in $ac_configure_args; do
21044 if test -n "$ac_prev"; then
21045 ac_prev=
21046 continue
21047 fi
21048 case "$ac_arg" in
21049 -cache-file | --cache-file | --cache-fil | --cache-fi \
21050 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
21051 ac_prev=cache_file ;;
21052 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
21053 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
21054 ;;
21055 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
21056 ac_prev=srcdir ;;
21057 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
21058 ;;
21059 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
21060 esac
21061 done
21062
21063 for ac_config_dir in demos samples utils contrib; do
21064
21065 # Do not complain, so a configure script can configure whichever
21066 # parts of a large source tree are present.
21067 if test ! -d $srcdir/$ac_config_dir; then
21068 continue
21069 fi
21070
21071 echo configuring in $ac_config_dir
21072
21073 case "$srcdir" in
21074 .) ;;
21075 *)
21076 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
21077 else
21078 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
21079 fi
21080 ;;
21081 esac
21082
21083 ac_popdir=`pwd`
21084 cd $ac_config_dir
21085
21086 # A "../" for each directory in /$ac_config_dir.
21087 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
21088
21089 case "$srcdir" in
21090 .) # No --srcdir option. We are building in place.
21091 ac_sub_srcdir=$srcdir ;;
21092 /*) # Absolute path.
21093 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
21094 *) # Relative path.
21095 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
21096 esac
21097
21098 # Check for guested configure; otherwise get Cygnus style configure.
21099 if test -f $ac_sub_srcdir/configure; then
21100 ac_sub_configure=$ac_sub_srcdir/configure
21101 elif test -f $ac_sub_srcdir/configure.in; then
21102 ac_sub_configure=$ac_configure
21103 else
21104 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
21105 ac_sub_configure=
21106 fi
21107
21108 # The recursion is here.
21109 if test -n "$ac_sub_configure"; then
21110
21111 # Make the cache file name correct relative to the subdirectory.
21112 case "$cache_file" in
21113 /*) ac_sub_cache_file=$cache_file ;;
21114 *) # Relative path.
21115 ac_sub_cache_file="$ac_dots$cache_file" ;;
21116 esac
21117 case "$ac_given_INSTALL" in
21118 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21119 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21120 esac
21121
21122 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
21123 # The eval makes quoting arguments work.
21124 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
21125 then :
21126 else
21127 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
21128 fi
21129 fi
21130
21131 cd $ac_popdir
21132 done
21133 fi
21134
21135