]> git.saurik.com Git - wxWidgets.git/blob - configure
wxPerl documentation updates
[wxWidgets.git] / configure
1 #! /bin/sh
2
3 # From configure.in Id: configure.in
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56 # Configure paths for GTK+
57 # Owen Taylor 1997-2001
58
59
60
61 # Configure paths for GTK+
62 # Owen Taylor 97-11-3
63
64
65
66 # Guess values for system-dependent variables and create Makefiles.
67 # Generated automatically using autoconf version 2.13
68 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
69 #
70 # This configure script is free software; the Free Software Foundation
71 # gives unlimited permission to copy, distribute and modify it.
72
73 # Defaults:
74 ac_help=
75 ac_default_prefix=/usr/local
76 # Any additions from configure.in:
77 ac_help="$ac_help
78 --enable-gui use GUI classes"
79 ac_help="$ac_help
80 --enable-universal use wxWindows GUI controls instead of native ones"
81 ac_help="$ac_help
82 --with-gtk use GTK+"
83 ac_help="$ac_help
84 --with-motif use Motif/Lesstif"
85 ac_help="$ac_help
86 --with-mac use Mac OS X"
87 ac_help="$ac_help
88 --with-wine use WINE"
89 ac_help="$ac_help
90 --with-msw use MS-Windows"
91 ac_help="$ac_help
92 --with-pm use OS/2 Presentation Manager"
93 ac_help="$ac_help
94 --with-mgl use SciTech MGL"
95 ac_help="$ac_help
96 --with-microwin use MicroWindows"
97 ac_help="$ac_help
98 --with-x11 use X11"
99 ac_help="$ac_help
100 --enable-nanox use NanoX"
101 ac_help="$ac_help
102 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
103 ac_help="$ac_help
104 --with-libpng use libpng (PNG image format)"
105 ac_help="$ac_help
106 --with-libjpeg use libjpeg (JPEG file format)"
107 ac_help="$ac_help
108 --with-libtiff use libtiff (TIFF file format)"
109 ac_help="$ac_help
110 --with-opengl use OpenGL (or Mesa)"
111 ac_help="$ac_help
112 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
113 ac_help="$ac_help
114 --with-regex enable support for wxRegEx class"
115 ac_help="$ac_help
116 --with-zlib use zlib for LZW compression"
117 ac_help="$ac_help
118 --with-odbc use the IODBC and wxODBC classes"
119 ac_help="$ac_help
120 --enable-shared create shared library code"
121 ac_help="$ac_help
122 --enable-soname set the DT_SONAME field in ELF shared libraries"
123 ac_help="$ac_help
124 --enable-optimise create optimised code"
125 ac_help="$ac_help
126 --enable-debug same as debug_flag and debug_info"
127 ac_help="$ac_help
128 --enable-precomp enable use of precompiled headers (Mac OS X)"
129 ac_help="$ac_help
130 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
131 ac_help="$ac_help
132 --enable-debug_info create code with debugging information"
133 ac_help="$ac_help
134 --enable-debug_gdb create code with extra GDB debugging information"
135 ac_help="$ac_help
136 --enable-debug_cntxt use wxDebugContext"
137 ac_help="$ac_help
138 --enable-mem_tracing create code with memory tracing"
139 ac_help="$ac_help
140 --enable-profile create code with profiling information"
141 ac_help="$ac_help
142 --enable-no_rtti create code without RTTI information"
143 ac_help="$ac_help
144 --enable-no_exceptions create code without C++ exceptions handling"
145 ac_help="$ac_help
146 --enable-permissive compile code disregarding strict ANSI"
147 ac_help="$ac_help
148 --enable-no_deps create code without dependency information"
149 ac_help="$ac_help
150 --enable-compat20 enable wxWindows 2.0 compatibility"
151 ac_help="$ac_help
152 --disable-compat22 disable wxWindows 2.2 compatibility"
153 ac_help="$ac_help
154 --enable-intl use internationalization system"
155 ac_help="$ac_help
156 --enable-config use wxConfig (and derived) classes"
157 ac_help="$ac_help
158 --enable-protocols use wxProtocol and derived classes"
159 ac_help="$ac_help
160 --enable-ftp use wxFTP (requires wxProtocol"
161 ac_help="$ac_help
162 --enable-http use wxHTTP (requires wxProtocol"
163 ac_help="$ac_help
164 --enable-fileproto use wxFileProto class (requires wxProtocol"
165 ac_help="$ac_help
166 --enable-sockets use socket/network classes"
167 ac_help="$ac_help
168 --enable-ipc use interprocess communication (wxSocket etc.)"
169 ac_help="$ac_help
170 --enable-cmdline use wxCmdLineParser class"
171 ac_help="$ac_help
172 --enable-datetime use wxDateTime class"
173 ac_help="$ac_help
174 --enable-timedate use obsolete wxDate/wxTime classes"
175 ac_help="$ac_help
176 --enable-stopwatch use wxStopWatch class"
177 ac_help="$ac_help
178 --enable-dialupman use dialup network classes"
179 ac_help="$ac_help
180 --enable-apple_ieee use the Apple IEEE codec"
181 ac_help="$ac_help
182 --enable-timer use wxTimer class"
183 ac_help="$ac_help
184 --enable-wave use wxWave class"
185 ac_help="$ac_help
186 --enable-fraction use wxFraction class"
187 ac_help="$ac_help
188 --enable-dynlib use wxLibrary class for DLL loading"
189 ac_help="$ac_help
190 --enable-dynamicloader use (new) wxDynamicLibrary class"
191 ac_help="$ac_help
192 --enable-longlong use wxLongLong class"
193 ac_help="$ac_help
194 --enable-geometry use geometry class"
195 ac_help="$ac_help
196 --enable-log use logging system"
197 ac_help="$ac_help
198 --enable-streams use wxStream etc classes"
199 ac_help="$ac_help
200 --enable-file use wxFile classes"
201 ac_help="$ac_help
202 --enable-ffile use wxFFile classes"
203 ac_help="$ac_help
204 --enable-textbuf use wxTextBuffer class"
205 ac_help="$ac_help
206 --enable-textfile use wxTextFile class"
207 ac_help="$ac_help
208 --enable-fontmap use font encodings conversion classes"
209 ac_help="$ac_help
210 --enable-unicode compile wxString with Unicode support"
211 ac_help="$ac_help
212 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
213 ac_help="$ac_help
214 --enable-wxprintfv use wxWindows implementation of vprintf()"
215 ac_help="$ac_help
216 --enable-std_iostreams use standard C++ stream classes"
217 ac_help="$ac_help
218 --enable-filesystem use virtual file systems classes"
219 ac_help="$ac_help
220 --enable-fs_inet use virtual HTTP/FTP filesystems"
221 ac_help="$ac_help
222 --enable-fs_zip use virtual ZIP filesystems"
223 ac_help="$ac_help
224 --enable-zipstream use wxZipInputStream"
225 ac_help="$ac_help
226 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
227 ac_help="$ac_help
228 --enable-snglinst use wxSingleInstanceChecker class"
229 ac_help="$ac_help
230 --enable-mimetype use wxMimeTypesManager"
231 ac_help="$ac_help
232 --enable-sysoptions use wxSystemOptions"
233 ac_help="$ac_help
234 --enable-url use wxURL class"
235 ac_help="$ac_help
236 --enable-protocol use wxProtocol class"
237 ac_help="$ac_help
238 --enable-protocol-http HTTP support in wxProtocol"
239 ac_help="$ac_help
240 --enable-protocol-ftp FTP support in wxProtocol"
241 ac_help="$ac_help
242 --enable-protocol-file FILE support in wxProtocol"
243 ac_help="$ac_help
244 --enable-threads use threads"
245 ac_help="$ac_help
246 --enable-docview use document view architecture"
247 ac_help="$ac_help
248 --enable-help use help subsystem"
249 ac_help="$ac_help
250 --enable-mshtmlhelp use MS HTML Help (win32)"
251 ac_help="$ac_help
252 --enable-html use wxHTML sub-library"
253 ac_help="$ac_help
254 --enable-htmlhelp use wxHTML-based help"
255 ac_help="$ac_help
256 --enable-constraints use layout-constraints system"
257 ac_help="$ac_help
258 --enable-printarch use printing architecture"
259 ac_help="$ac_help
260 --enable-mdi use multiple document interface architecture"
261 ac_help="$ac_help
262 --enable-loggui use standard GUI logger"
263 ac_help="$ac_help
264 --enable-logwin use wxLogWindow"
265 ac_help="$ac_help
266 --enable-logdialog use wxLogDialog"
267 ac_help="$ac_help
268 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
269 ac_help="$ac_help
270 --enable-prologio use Prolog IO library"
271 ac_help="$ac_help
272 --enable-resources use wxWindows resources"
273 ac_help="$ac_help
274 --enable-xresources use X resources for save (default for gtk+)"
275 ac_help="$ac_help
276 --enable-clipboard use wxClipboard classes"
277 ac_help="$ac_help
278 --enable-dnd use Drag'n'Drop classes"
279 ac_help="$ac_help
280 --enable-metafile use win32 metafiles"
281 ac_help="$ac_help
282 --enable-treelayout use wxTreeLayout classes"
283 ac_help="$ac_help
284 --enable-controls use all usual controls"
285 ac_help="$ac_help
286 --enable-accel use accelerators"
287 ac_help="$ac_help
288 --enable-button use wxButton class"
289 ac_help="$ac_help
290 --enable-bmpbutton use wxBitmapButton class"
291 ac_help="$ac_help
292 --enable-calendar use wxCalendarCtrl class"
293 ac_help="$ac_help
294 --enable-caret use wxCaret class"
295 ac_help="$ac_help
296 --enable-checkbox use wxCheckBox class"
297 ac_help="$ac_help
298 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
299 ac_help="$ac_help
300 --enable-choice use wxChoice class"
301 ac_help="$ac_help
302 --enable-combobox use wxComboBox classes"
303 ac_help="$ac_help
304 --enable-gauge use wxGauge class"
305 ac_help="$ac_help
306 --enable-grid use wxGrid class"
307 ac_help="$ac_help
308 --enable-newgrid use new wxGrid class"
309 ac_help="$ac_help
310 --enable-imaglist use wxImageList class"
311 ac_help="$ac_help
312 --enable-listbox use wxListBox class"
313 ac_help="$ac_help
314 --enable-listctrl use wxListCtrl class"
315 ac_help="$ac_help
316 --enable-notebook use wxNotebook class"
317 ac_help="$ac_help
318 --enable-propsheet use wxPropertySheet class"
319 ac_help="$ac_help
320 --enable-radiobox use wxRadioBox class"
321 ac_help="$ac_help
322 --enable-radiobtn use wxRadioButton class"
323 ac_help="$ac_help
324 --enable-sash use wxSashWindow class"
325 ac_help="$ac_help
326 --enable-scrollbar use wxScrollBar class and scrollable windows"
327 ac_help="$ac_help
328 --enable-slider use wxSlider class"
329 ac_help="$ac_help
330 --enable-spinbtn use wxSpinButton class"
331 ac_help="$ac_help
332 --enable-spinctrl use wxSpinCtrl class"
333 ac_help="$ac_help
334 --enable-splitter use wxSplitterWindow class"
335 ac_help="$ac_help
336 --enable-statbmp use wxStaticBitmap class"
337 ac_help="$ac_help
338 --enable-statbox use wxStaticBox class"
339 ac_help="$ac_help
340 --enable-statline use wxStaticLine class"
341 ac_help="$ac_help
342 --enable-stattext use wxStaticText class"
343 ac_help="$ac_help
344 --enable-statusbar use wxStatusBar class"
345 ac_help="$ac_help
346 --enable-tabdialog use wxTabControl class"
347 ac_help="$ac_help
348 --enable-textctrl use wxTextCtrl class"
349 ac_help="$ac_help
350 --enable-togglebtn use wxToggleButton class"
351 ac_help="$ac_help
352 --enable-toolbar use wxToolBar class"
353 ac_help="$ac_help
354 --enable-tbarnative use native wxToolBar class"
355 ac_help="$ac_help
356 --enable-tbarsmpl use wxToolBarSimple class"
357 ac_help="$ac_help
358 --enable-treectrl use wxTreeCtrl class"
359 ac_help="$ac_help
360 --enable-tipwindow use wxTipWindow class"
361 ac_help="$ac_help
362 --enable-popupwin use wxPopUpWindow class"
363 ac_help="$ac_help
364 --enable-commondlg use all common dialogs"
365 ac_help="$ac_help
366 --enable-choicedlg use wxChoiceDialog"
367 ac_help="$ac_help
368 --enable-coldlg use wxColourDialog"
369 ac_help="$ac_help
370 --enable-filedlg use wxFileDialog"
371 ac_help="$ac_help
372 --enable-finddlg use wxFindReplaceDialog"
373 ac_help="$ac_help
374 --enable-fontdlg use wxFontDialog"
375 ac_help="$ac_help
376 --enable-dirdlg use wxDirDialog"
377 ac_help="$ac_help
378 --enable-msgdlg use wxMessageDialog"
379 ac_help="$ac_help
380 --enable-numberdlg use wxNumberEntryDialog"
381 ac_help="$ac_help
382 --enable-splash use wxSplashScreen"
383 ac_help="$ac_help
384 --enable-textdlg use wxTextDialog"
385 ac_help="$ac_help
386 --enable-tipdlg use startup tips"
387 ac_help="$ac_help
388 --enable-progressdlg use wxProgressDialog"
389 ac_help="$ac_help
390 --enable-wizarddlg use wxWizard"
391 ac_help="$ac_help
392 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
393 ac_help="$ac_help
394 --enable-miniframe use wxMiniFrame class"
395 ac_help="$ac_help
396 --enable-tooltips use wxToolTip class"
397 ac_help="$ac_help
398 --enable-splines use spline drawing code"
399 ac_help="$ac_help
400 --enable-validators use wxValidator and derived classes"
401 ac_help="$ac_help
402 --enable-busyinfo use wxBusyInfo"
403 ac_help="$ac_help
404 --enable-joystick use wxJoystick (Linux only)"
405 ac_help="$ac_help
406 --enable-metafiles use wxMetaFile (Windows only)"
407 ac_help="$ac_help
408 --enable-dragimage use wxDragImage"
409 ac_help="$ac_help
410 --enable-palette use wxPalette class"
411 ac_help="$ac_help
412 --enable-image use wxImage class"
413 ac_help="$ac_help
414 --enable-gif use gif images (GIF file format)"
415 ac_help="$ac_help
416 --enable-pcx use pcx images (PCX file format)"
417 ac_help="$ac_help
418 --enable-iff use iff images (IFF file format)"
419 ac_help="$ac_help
420 --enable-pnm use pnm images (PNM file format)"
421 ac_help="$ac_help
422 --enable-xpm use xpm images (XPM file format)"
423 ac_help="$ac_help
424 --enable-icocur use Windows ICO and CUR formats"
425 ac_help="$ac_help
426 --disable-largefile omit support for large files"
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 SO_SUFFIX=a
1295 cat >> confdefs.h <<\EOF
1296 #define __AIX__ 1
1297 EOF
1298
1299 cat >> confdefs.h <<\EOF
1300 #define __SYSV__ 1
1301 EOF
1302
1303 cat >> confdefs.h <<\EOF
1304 #define __SVR4__ 1
1305 EOF
1306
1307 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1308 ;;
1309
1310 *-*-cygwin* | *-*-mingw32* )
1311 USE_UNIX=0
1312 USE_WIN32=1
1313 SO_SUFFIX=dll
1314 cat >> confdefs.h <<\EOF
1315 #define __WIN32__ 1
1316 EOF
1317
1318 cat >> confdefs.h <<\EOF
1319 #define __WIN95__ 1
1320 EOF
1321
1322 cat >> confdefs.h <<\EOF
1323 #define __WINDOWS__ 1
1324 EOF
1325
1326 cat >> confdefs.h <<\EOF
1327 #define __GNUWIN32__ 1
1328 EOF
1329
1330 cat >> confdefs.h <<\EOF
1331 #define STRICT 1
1332 EOF
1333
1334 cat >> confdefs.h <<\EOF
1335 #define WINVER 0x0400
1336 EOF
1337
1338 PROGRAM_EXT=".exe"
1339 RESCOMP=windres
1340 DEFAULT_DEFAULT_wxUSE_MSW=1
1341 ;;
1342
1343 *-pc-msdosdjgpp )
1344 USE_UNIX=0
1345 USE_DOS=1
1346 cat >> confdefs.h <<\EOF
1347 #define __DOS__ 1
1348 EOF
1349
1350 PROGRAM_EXT=".exe"
1351 DEFAULT_DEFAULT_wxUSE_MGL=1
1352 ;;
1353
1354 *-pc-os2_emx | *-pc-os2-emx )
1355 cat >> confdefs.h <<\EOF
1356 #define __EMX__ 1
1357 EOF
1358
1359 PROGRAM_EXT=".exe"
1360 DEFAULT_DEFAULT_wxUSE_PM=1
1361 LIBS="$LIBS -lstdcpp"
1362 ;;
1363
1364 powerpc-*-darwin* )
1365 USE_BSD=1
1366 USE_DARWIN=1
1367 SO_SUFFIX=dylib
1368 cat >> confdefs.h <<\EOF
1369 #define __BSD__ 1
1370 EOF
1371
1372 cat >> confdefs.h <<\EOF
1373 #define __DARWIN__ 1
1374 EOF
1375
1376 cat >> confdefs.h <<\EOF
1377 #define __POWERPC__ 1
1378 EOF
1379
1380 DEFAULT_DEFAULT_wxUSE_MAC=1
1381 ;;
1382
1383 *-*-beos* )
1384 USE_BEOS=1
1385 cat >> confdefs.h <<\EOF
1386 #define __BEOS__ 1
1387 EOF
1388
1389 ;;
1390
1391 *)
1392 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1393 esac
1394
1395 if test "$USE_UNIX" = 1 ; then
1396 wxUSE_UNIX=yes
1397 cat >> confdefs.h <<\EOF
1398 #define __UNIX__ 1
1399 EOF
1400
1401 fi
1402
1403
1404
1405
1406 wx_arg_cache_file="configarg.cache"
1407 echo "loading argument cache $wx_arg_cache_file"
1408 rm -f ${wx_arg_cache_file}.tmp
1409 touch ${wx_arg_cache_file}.tmp
1410 touch ${wx_arg_cache_file}
1411
1412
1413 DEBUG_CONFIGURE=0
1414 if test $DEBUG_CONFIGURE = 1; then
1415 DEFAULT_wxUSE_UNIVERSAL=no
1416
1417 DEFAULT_wxUSE_NANOX=no
1418
1419 DEFAULT_wxUSE_THREADS=yes
1420
1421 DEFAULT_wxUSE_SHARED=yes
1422 DEFAULT_wxUSE_SONAME=no
1423 DEFAULT_wxUSE_OPTIMISE=no
1424 DEFAULT_wxUSE_PROFILE=no
1425 DEFAULT_wxUSE_NO_DEPS=no
1426 DEFAULT_wxUSE_NO_RTTI=no
1427 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1428 DEFAULT_wxUSE_PERMISSIVE=no
1429 DEFAULT_wxUSE_DEBUG_FLAG=yes
1430 DEFAULT_wxUSE_DEBUG_INFO=yes
1431 DEFAULT_wxUSE_DEBUG_GDB=yes
1432 DEFAULT_wxUSE_MEM_TRACING=no
1433 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1434 DEFAULT_wxUSE_DMALLOC=no
1435 DEFAULT_wxUSE_PRECOMP=no
1436 DEFAULT_wxUSE_APPLE_IEEE=no
1437
1438 DEFAULT_wxUSE_LOG=yes
1439 DEFAULT_wxUSE_LOGWINDOW=no
1440 DEFAULT_wxUSE_LOGGUI=no
1441 DEFAULT_wxUSE_LOGDIALOG=no
1442
1443 DEFAULT_wxUSE_GUI=yes
1444 DEFAULT_wxUSE_CONTROLS=no
1445
1446 DEFAULT_wxUSE_REGEX=no
1447 DEFAULT_wxUSE_ZLIB=no
1448 DEFAULT_wxUSE_LIBPNG=no
1449 DEFAULT_wxUSE_LIBJPEG=no
1450 DEFAULT_wxUSE_LIBTIFF=no
1451 DEFAULT_wxUSE_ODBC=no
1452 DEFAULT_wxUSE_OPENGL=no
1453
1454 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1455 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1456 DEFAULT_wxUSE_STD_IOSTREAM=no
1457 DEFAULT_wxUSE_CMDLINE_PARSER=no
1458 DEFAULT_wxUSE_DATETIME=no
1459 DEFAULT_wxUSE_TIMEDATE=no
1460 DEFAULT_wxUSE_TIMER=no
1461 DEFAULT_wxUSE_STOPWATCH=no
1462 DEFAULT_wxUSE_FILE=no
1463 DEFAULT_wxUSE_FFILE=no
1464 DEFAULT_wxUSE_TEXTBUFFER=no
1465 DEFAULT_wxUSE_TEXTFILE=no
1466 DEFAULT_wxUSE_WAVE=no
1467 DEFAULT_wxUSE_INTL=no
1468 DEFAULT_wxUSE_CONFIG=no
1469 DEFAULT_wxUSE_FONTMAP=no
1470 DEFAULT_wxUSE_STREAMS=no
1471 DEFAULT_wxUSE_SOCKETS=no
1472 DEFAULT_wxUSE_DIALUP_MANAGER=no
1473 DEFAULT_wxUSE_JOYSTICK=no
1474 DEFAULT_wxUSE_DYNLIB_CLASS=no
1475 DEFAULT_wxUSE_DYNAMIC_LOADER=no
1476 DEFAULT_wxUSE_LONGLONG=no
1477 DEFAULT_wxUSE_GEOMETRY=no
1478
1479 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
1480 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
1481 DEFAULT_wxUSE_POSTSCRIPT=no
1482
1483 DEFAULT_wxUSE_X_RESOURCES=no
1484 DEFAULT_wxUSE_CLIPBOARD=no
1485 DEFAULT_wxUSE_TOOLTIPS=no
1486 DEFAULT_wxUSE_DRAG_AND_DROP=no
1487 DEFAULT_wxUSE_DRAGIMAGE=no
1488 DEFAULT_wxUSE_SPLINES=no
1489
1490 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
1491 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
1492 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
1493
1494 DEFAULT_wxUSE_PROLOGIO=no
1495 DEFAULT_wxUSE_RESOURCES=no
1496 DEFAULT_wxUSE_CONSTRAINTS=no
1497 DEFAULT_wxUSE_IPC=no
1498 DEFAULT_wxUSE_HELP=no
1499 DEFAULT_wxUSE_MS_HTML_HELP=no
1500 DEFAULT_wxUSE_WXHTML_HELP=no
1501 DEFAULT_wxUSE_TREELAYOUT=no
1502 DEFAULT_wxUSE_METAFILE=no
1503 DEFAULT_wxUSE_MIMETYPE=no
1504 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
1505 DEFAULT_wxUSE_PROTOCOL=no
1506 DEFAULT_wxUSE_PROTOCOL_HTTP=no
1507 DEFAULT_wxUSE_PROTOCOL_FTP=no
1508 DEFAULT_wxUSE_PROTOCOL_FILE=no
1509 DEFAULT_wxUSE_URL=no
1510
1511 DEFAULT_wxUSE_COMMONDLGS=no
1512 DEFAULT_wxUSE_CHOICEDLG=no
1513 DEFAULT_wxUSE_COLOURDLG=no
1514 DEFAULT_wxUSE_DIRDLG=no
1515 DEFAULT_wxUSE_FILEDLG=no
1516 DEFAULT_wxUSE_FINDREPLDLG=no
1517 DEFAULT_wxUSE_FONTDLG=no
1518 DEFAULT_wxUSE_MSGDLG=no
1519 DEFAULT_wxUSE_NUMBERDLG=no
1520 DEFAULT_wxUSE_TEXTDLG=no
1521 DEFAULT_wxUSE_SPLASH=no
1522 DEFAULT_wxUSE_STARTUP_TIPS=no
1523 DEFAULT_wxUSE_PROGRESSDLG=no
1524 DEFAULT_wxUSE_WIZARDDLG=no
1525
1526 DEFAULT_wxUSE_MENUS=no
1527 DEFAULT_wxUSE_MINIFRAME=no
1528 DEFAULT_wxUSE_HTML=no
1529 DEFAULT_wxUSE_FILESYSTEM=no
1530 DEFAULT_wxUSE_FS_INET=no
1531 DEFAULT_wxUSE_FS_ZIP=no
1532 DEFAULT_wxUSE_BUSYINFO=no
1533 DEFAULT_wxUSE_ZIPSTREAM=no
1534 DEFAULT_wxUSE_VALIDATORS=no
1535
1536 DEFAULT_wxUSE_ACCEL=no
1537 DEFAULT_wxUSE_BUTTON=no
1538 DEFAULT_wxUSE_BMPBUTTON=no
1539 DEFAULT_wxUSE_CALCTRL=no
1540 DEFAULT_wxUSE_CARET=no
1541 DEFAULT_wxUSE_CHECKBOX=no
1542 DEFAULT_wxUSE_CHECKLST=no
1543 DEFAULT_wxUSE_CHOICE=no
1544 DEFAULT_wxUSE_COMBOBOX=no
1545 DEFAULT_wxUSE_GAUGE=no
1546 DEFAULT_wxUSE_GRID=no
1547 DEFAULT_wxUSE_NEW_GRID=no
1548 DEFAULT_wxUSE_IMAGLIST=no
1549 DEFAULT_wxUSE_LISTBOX=no
1550 DEFAULT_wxUSE_LISTCTRL=no
1551 DEFAULT_wxUSE_NOTEBOOK=no
1552 DEFAULT_wxUSE_PROPSHEET=no
1553 DEFAULT_wxUSE_RADIOBOX=no
1554 DEFAULT_wxUSE_RADIOBTN=no
1555 DEFAULT_wxUSE_SASH=no
1556 DEFAULT_wxUSE_SCROLLBAR=no
1557 DEFAULT_wxUSE_SLIDER=no
1558 DEFAULT_wxUSE_SPINBTN=no
1559 DEFAULT_wxUSE_SPINCTRL=no
1560 DEFAULT_wxUSE_SPLITTER=no
1561 DEFAULT_wxUSE_STATBMP=no
1562 DEFAULT_wxUSE_STATBOX=no
1563 DEFAULT_wxUSE_STATLINE=no
1564 DEFAULT_wxUSE_STATTEXT=no
1565 DEFAULT_wxUSE_STATUSBAR=yes
1566 DEFAULT_wxUSE_TABDIALOG=no
1567 DEFAULT_wxUSE_TEXTCTRL=no
1568 DEFAULT_wxUSE_TOGGLEBTN=no
1569 DEFAULT_wxUSE_TOOLBAR=no
1570 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
1571 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
1572 DEFAULT_wxUSE_TREECTRL=no
1573 DEFAULT_wxUSE_POPUPWIN=no
1574 DEFAULT_wxUSE_TIPWINDOW=no
1575
1576 DEFAULT_wxUSE_UNICODE=no
1577 DEFAULT_wxUSE_UNICODE_MSLU=no
1578 DEFAULT_wxUSE_WCSRTOMBS=no
1579
1580 DEFAULT_wxUSE_PALETTE=no
1581 DEFAULT_wxUSE_IMAGE=no
1582 DEFAULT_wxUSE_GIF=no
1583 DEFAULT_wxUSE_PCX=no
1584 DEFAULT_wxUSE_PNM=no
1585 DEFAULT_wxUSE_IFF=no
1586 DEFAULT_wxUSE_XPM=no
1587 DEFAULT_wxUSE_ICO_CUR=no
1588 else
1589 DEFAULT_wxUSE_UNIVERSAL=no
1590
1591 DEFAULT_wxUSE_NANOX=no
1592
1593 DEFAULT_wxUSE_THREADS=yes
1594
1595 DEFAULT_wxUSE_SHARED=yes
1596 DEFAULT_wxUSE_SONAME=no
1597 DEFAULT_wxUSE_OPTIMISE=yes
1598 DEFAULT_wxUSE_PROFILE=no
1599 DEFAULT_wxUSE_NO_DEPS=no
1600 DEFAULT_wxUSE_NO_RTTI=no
1601 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1602 DEFAULT_wxUSE_PERMISSIVE=no
1603 DEFAULT_wxUSE_DEBUG_FLAG=no
1604 DEFAULT_wxUSE_DEBUG_INFO=no
1605 DEFAULT_wxUSE_DEBUG_GDB=no
1606 DEFAULT_wxUSE_MEM_TRACING=no
1607 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1608 DEFAULT_wxUSE_DMALLOC=no
1609 DEFAULT_wxUSE_PRECOMP=no
1610 DEFAULT_wxUSE_APPLE_IEEE=yes
1611
1612 DEFAULT_wxUSE_LOG=yes
1613 DEFAULT_wxUSE_LOGWINDOW=yes
1614 DEFAULT_wxUSE_LOGGUI=yes
1615 DEFAULT_wxUSE_LOGDIALOG=yes
1616
1617 DEFAULT_wxUSE_GUI=yes
1618
1619 DEFAULT_wxUSE_REGEX=yes
1620 DEFAULT_wxUSE_ZLIB=yes
1621 DEFAULT_wxUSE_LIBPNG=yes
1622 DEFAULT_wxUSE_LIBJPEG=yes
1623 DEFAULT_wxUSE_LIBTIFF=yes
1624 DEFAULT_wxUSE_ODBC=no
1625 DEFAULT_wxUSE_OPENGL=no
1626
1627 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
1628 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
1629 DEFAULT_wxUSE_STD_IOSTREAM=no
1630 DEFAULT_wxUSE_CMDLINE_PARSER=yes
1631 DEFAULT_wxUSE_DATETIME=yes
1632 DEFAULT_wxUSE_TIMEDATE=no
1633 DEFAULT_wxUSE_TIMER=yes
1634 DEFAULT_wxUSE_STOPWATCH=yes
1635 DEFAULT_wxUSE_FILE=yes
1636 DEFAULT_wxUSE_FFILE=yes
1637 DEFAULT_wxUSE_TEXTBUFFER=yes
1638 DEFAULT_wxUSE_TEXTFILE=yes
1639 DEFAULT_wxUSE_WAVE=no
1640 DEFAULT_wxUSE_INTL=yes
1641 DEFAULT_wxUSE_CONFIG=yes
1642 DEFAULT_wxUSE_FONTMAP=yes
1643 DEFAULT_wxUSE_STREAMS=yes
1644 DEFAULT_wxUSE_SOCKETS=yes
1645 DEFAULT_wxUSE_DIALUP_MANAGER=yes
1646 DEFAULT_wxUSE_JOYSTICK=yes
1647 DEFAULT_wxUSE_DYNLIB_CLASS=yes
1648 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
1649 DEFAULT_wxUSE_LONGLONG=yes
1650 DEFAULT_wxUSE_GEOMETRY=yes
1651
1652 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
1653 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
1654 DEFAULT_wxUSE_POSTSCRIPT=yes
1655
1656 DEFAULT_wxUSE_X_RESOURCES=no
1657 DEFAULT_wxUSE_CLIPBOARD=yes
1658 DEFAULT_wxUSE_TOOLTIPS=yes
1659 DEFAULT_wxUSE_DRAG_AND_DROP=yes
1660 DEFAULT_wxUSE_DRAGIMAGE=yes
1661 DEFAULT_wxUSE_SPLINES=yes
1662
1663 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
1664 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
1665 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
1666
1667 DEFAULT_wxUSE_PROLOGIO=yes
1668 DEFAULT_wxUSE_RESOURCES=yes
1669 DEFAULT_wxUSE_CONSTRAINTS=yes
1670 DEFAULT_wxUSE_IPC=yes
1671 DEFAULT_wxUSE_HELP=yes
1672 DEFAULT_wxUSE_MS_HTML_HELP=yes
1673 DEFAULT_wxUSE_WXHTML_HELP=yes
1674 DEFAULT_wxUSE_TREELAYOUT=yes
1675 DEFAULT_wxUSE_METAFILE=yes
1676 DEFAULT_wxUSE_MIMETYPE=yes
1677 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
1678 DEFAULT_wxUSE_PROTOCOL=yes
1679 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
1680 DEFAULT_wxUSE_PROTOCOL_FTP=yes
1681 DEFAULT_wxUSE_PROTOCOL_FILE=yes
1682 DEFAULT_wxUSE_URL=yes
1683
1684 DEFAULT_wxUSE_COMMONDLGS=yes
1685 DEFAULT_wxUSE_CHOICEDLG=yes
1686 DEFAULT_wxUSE_COLOURDLG=yes
1687 DEFAULT_wxUSE_DIRDLG=yes
1688 DEFAULT_wxUSE_FILEDLG=yes
1689 DEFAULT_wxUSE_FINDREPLDLG=yes
1690 DEFAULT_wxUSE_FONTDLG=yes
1691 DEFAULT_wxUSE_MSGDLG=yes
1692 DEFAULT_wxUSE_NUMBERDLG=yes
1693 DEFAULT_wxUSE_TEXTDLG=yes
1694 DEFAULT_wxUSE_SPLASH=yes
1695 DEFAULT_wxUSE_STARTUP_TIPS=yes
1696 DEFAULT_wxUSE_PROGRESSDLG=yes
1697 DEFAULT_wxUSE_WIZARDDLG=yes
1698
1699 DEFAULT_wxUSE_MENUS=yes
1700 DEFAULT_wxUSE_MINIFRAME=yes
1701 DEFAULT_wxUSE_HTML=yes
1702 DEFAULT_wxUSE_FILESYSTEM=yes
1703 DEFAULT_wxUSE_FS_INET=yes
1704 DEFAULT_wxUSE_FS_ZIP=yes
1705 DEFAULT_wxUSE_BUSYINFO=yes
1706 DEFAULT_wxUSE_ZIPSTREAM=yes
1707 DEFAULT_wxUSE_VALIDATORS=yes
1708
1709 DEFAULT_wxUSE_ACCEL=yes
1710 DEFAULT_wxUSE_BUTTON=yes
1711 DEFAULT_wxUSE_BMPBUTTON=yes
1712 DEFAULT_wxUSE_CALCTRL=yes
1713 DEFAULT_wxUSE_CARET=yes
1714 DEFAULT_wxUSE_CHECKBOX=yes
1715 DEFAULT_wxUSE_CHECKLST=yes
1716 DEFAULT_wxUSE_CHOICE=yes
1717 DEFAULT_wxUSE_COMBOBOX=yes
1718 DEFAULT_wxUSE_GAUGE=yes
1719 DEFAULT_wxUSE_GRID=yes
1720 DEFAULT_wxUSE_NEW_GRID=yes
1721 DEFAULT_wxUSE_IMAGLIST=yes
1722 DEFAULT_wxUSE_LISTBOX=yes
1723 DEFAULT_wxUSE_LISTCTRL=yes
1724 DEFAULT_wxUSE_NOTEBOOK=yes
1725 DEFAULT_wxUSE_PROPSHEET=yes
1726 DEFAULT_wxUSE_RADIOBOX=yes
1727 DEFAULT_wxUSE_RADIOBTN=yes
1728 DEFAULT_wxUSE_SASH=yes
1729 DEFAULT_wxUSE_SCROLLBAR=yes
1730 DEFAULT_wxUSE_SLIDER=yes
1731 DEFAULT_wxUSE_SPINBTN=yes
1732 DEFAULT_wxUSE_SPINCTRL=yes
1733 DEFAULT_wxUSE_SPLITTER=yes
1734 DEFAULT_wxUSE_STATBMP=yes
1735 DEFAULT_wxUSE_STATBOX=yes
1736 DEFAULT_wxUSE_STATLINE=yes
1737 DEFAULT_wxUSE_STATTEXT=yes
1738 DEFAULT_wxUSE_STATUSBAR=yes
1739 DEFAULT_wxUSE_TABDIALOG=no
1740 DEFAULT_wxUSE_TEXTCTRL=yes
1741 DEFAULT_wxUSE_TOGGLEBTN=yes
1742 DEFAULT_wxUSE_TOOLBAR=yes
1743 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
1744 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
1745 DEFAULT_wxUSE_TREECTRL=yes
1746 DEFAULT_wxUSE_POPUPWIN=yes
1747 DEFAULT_wxUSE_TIPWINDOW=yes
1748
1749 DEFAULT_wxUSE_UNICODE=no
1750 DEFAULT_wxUSE_UNICODE_MSLU=yes
1751 DEFAULT_wxUSE_WCSRTOMBS=no
1752
1753 DEFAULT_wxUSE_PALETTE=yes
1754 DEFAULT_wxUSE_IMAGE=yes
1755 DEFAULT_wxUSE_GIF=yes
1756 DEFAULT_wxUSE_PCX=yes
1757 DEFAULT_wxUSE_IFF=no
1758 DEFAULT_wxUSE_PNM=yes
1759 DEFAULT_wxUSE_XPM=yes
1760 DEFAULT_wxUSE_ICO_CUR=yes
1761 fi
1762
1763
1764
1765 for toolkit in `echo $ALL_TOOLKITS`; do
1766 LINE=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1767 if test "x$LINE" != x ; then
1768 has_toolkit_in_cache=1
1769 eval "DEFAULT_$LINE"
1770 eval "CACHE_$toolkit=1"
1771 fi
1772 done
1773
1774
1775
1776 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1777 echo "configure:1778: checking for --enable-gui" >&5
1778 no_cache=0
1779 # Check whether --enable-gui or --disable-gui was given.
1780 if test "${enable_gui+set}" = set; then
1781 enableval="$enable_gui"
1782
1783 if test "$enableval" = yes; then
1784 ac_cv_use_gui='wxUSE_GUI=yes'
1785 else
1786 ac_cv_use_gui='wxUSE_GUI=no'
1787 fi
1788
1789 else
1790
1791 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1792 if test "x$LINE" != x ; then
1793 eval "DEFAULT_$LINE"
1794 else
1795 no_cache=1
1796 fi
1797
1798 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1799
1800 fi
1801
1802
1803 eval "$ac_cv_use_gui"
1804 if test "$no_cache" != 1; then
1805 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1806 fi
1807
1808 if test "$wxUSE_GUI" = yes; then
1809 echo "$ac_t""yes" 1>&6
1810 else
1811 echo "$ac_t""no" 1>&6
1812 fi
1813
1814
1815 if test "$wxUSE_GUI" = "yes"; then
1816
1817
1818 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1819 echo "configure:1820: checking for --enable-universal" >&5
1820 no_cache=0
1821 # Check whether --enable-universal or --disable-universal was given.
1822 if test "${enable_universal+set}" = set; then
1823 enableval="$enable_universal"
1824
1825 if test "$enableval" = yes; then
1826 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
1827 else
1828 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
1829 fi
1830
1831 else
1832
1833 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1834 if test "x$LINE" != x ; then
1835 eval "DEFAULT_$LINE"
1836 else
1837 no_cache=1
1838 fi
1839
1840 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1841
1842 fi
1843
1844
1845 eval "$ac_cv_use_universal"
1846 if test "$no_cache" != 1; then
1847 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1848 fi
1849
1850 if test "$wxUSE_UNIVERSAL" = yes; then
1851 echo "$ac_t""yes" 1>&6
1852 else
1853 echo "$ac_t""no" 1>&6
1854 fi
1855
1856 # Check whether --with-gtk or --without-gtk was given.
1857 if test "${with_gtk+set}" = set; then
1858 withval="$with_gtk"
1859 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
1860 fi
1861
1862 # Check whether --with-motif or --without-motif was given.
1863 if test "${with_motif+set}" = set; then
1864 withval="$with_motif"
1865 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
1866 fi
1867
1868 # Check whether --with-mac or --without-mac was given.
1869 if test "${with_mac+set}" = set; then
1870 withval="$with_mac"
1871 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
1872 fi
1873
1874 # Check whether --with-wine or --without-wine was given.
1875 if test "${with_wine+set}" = set; then
1876 withval="$with_wine"
1877 wxUSE_WINE="$withval" CACHE_WINE=1 TOOLKIT_GIVEN=1
1878 fi
1879
1880 # Check whether --with-msw or --without-msw was given.
1881 if test "${with_msw+set}" = set; then
1882 withval="$with_msw"
1883 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
1884 fi
1885
1886 # Check whether --with-pm or --without-pm was given.
1887 if test "${with_pm+set}" = set; then
1888 withval="$with_pm"
1889 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
1890 fi
1891
1892 # Check whether --with-mgl or --without-mgl was given.
1893 if test "${with_mgl+set}" = set; then
1894 withval="$with_mgl"
1895 wxUSE_MGL="$withval" CACHE_MGL=1 TOOLKIT_GIVEN=1
1896 fi
1897
1898 # Check whether --with-microwin or --without-microwin was given.
1899 if test "${with_microwin+set}" = set; then
1900 withval="$with_microwin"
1901 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
1902 fi
1903
1904 # Check whether --with-x11 or --without-x11 was given.
1905 if test "${with_x11+set}" = set; then
1906 withval="$with_x11"
1907 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
1908 fi
1909
1910
1911 echo $ac_n "checking for --enable-nanox""... $ac_c" 1>&6
1912 echo "configure:1913: checking for --enable-nanox" >&5
1913 no_cache=0
1914 # Check whether --enable-nanox or --disable-nanox was given.
1915 if test "${enable_nanox+set}" = set; then
1916 enableval="$enable_nanox"
1917
1918 if test "$enableval" = yes; then
1919 ac_cv_use_nanox='wxUSE_NANOX=yes'
1920 else
1921 ac_cv_use_nanox='wxUSE_NANOX=no'
1922 fi
1923
1924 else
1925
1926 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1927 if test "x$LINE" != x ; then
1928 eval "DEFAULT_$LINE"
1929 else
1930 no_cache=1
1931 fi
1932
1933 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1934
1935 fi
1936
1937
1938 eval "$ac_cv_use_nanox"
1939 if test "$no_cache" != 1; then
1940 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1941 fi
1942
1943 if test "$wxUSE_NANOX" = yes; then
1944 echo "$ac_t""yes" 1>&6
1945 else
1946 echo "$ac_t""no" 1>&6
1947 fi
1948
1949
1950 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1951 if test "${enable_gtk2+set}" = set; then
1952 enableval="$enable_gtk2"
1953 wxUSE_GTK2="yes"
1954 else
1955 wxUSE_GTK2="no"
1956 fi
1957
1958
1959
1960 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1961 echo "configure:1962: checking for --with-libpng" >&5
1962 no_cache=0
1963 # Check whether --with-libpng or --without-libpng was given.
1964 if test "${with_libpng+set}" = set; then
1965 withval="$with_libpng"
1966
1967 if test "$withval" = yes; then
1968 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
1969 elif test "$withval" = no; then
1970 ac_cv_use_libpng='wxUSE_LIBPNG=no'
1971 elif test "$withval" = sys; then
1972 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
1973 elif test "$withval" = builtin; then
1974 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
1975 else
1976 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1977 fi
1978
1979 else
1980
1981 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1982 if test "x$LINE" != x ; then
1983 eval "DEFAULT_$LINE"
1984 else
1985 no_cache=1
1986 fi
1987
1988 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1989
1990 fi
1991
1992
1993 eval "$ac_cv_use_libpng"
1994 if test "$no_cache" != 1; then
1995 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1996 fi
1997
1998 if test "$wxUSE_LIBPNG" = yes; then
1999 echo "$ac_t""yes" 1>&6
2000 elif test "$wxUSE_LIBPNG" = no; then
2001 echo "$ac_t""no" 1>&6
2002 elif test "$wxUSE_LIBPNG" = sys; then
2003 echo "$ac_t""system version" 1>&6
2004 elif test "$wxUSE_LIBPNG" = builtin; then
2005 echo "$ac_t""builtin version" 1>&6
2006 else
2007 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2008 fi
2009
2010
2011 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2012 echo "configure:2013: checking for --with-libjpeg" >&5
2013 no_cache=0
2014 # Check whether --with-libjpeg or --without-libjpeg was given.
2015 if test "${with_libjpeg+set}" = set; then
2016 withval="$with_libjpeg"
2017
2018 if test "$withval" = yes; then
2019 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2020 elif test "$withval" = no; then
2021 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2022 elif test "$withval" = sys; then
2023 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2024 elif test "$withval" = builtin; then
2025 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2026 else
2027 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2028 fi
2029
2030 else
2031
2032 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2033 if test "x$LINE" != x ; then
2034 eval "DEFAULT_$LINE"
2035 else
2036 no_cache=1
2037 fi
2038
2039 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2040
2041 fi
2042
2043
2044 eval "$ac_cv_use_libjpeg"
2045 if test "$no_cache" != 1; then
2046 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2047 fi
2048
2049 if test "$wxUSE_LIBJPEG" = yes; then
2050 echo "$ac_t""yes" 1>&6
2051 elif test "$wxUSE_LIBJPEG" = no; then
2052 echo "$ac_t""no" 1>&6
2053 elif test "$wxUSE_LIBJPEG" = sys; then
2054 echo "$ac_t""system version" 1>&6
2055 elif test "$wxUSE_LIBJPEG" = builtin; then
2056 echo "$ac_t""builtin version" 1>&6
2057 else
2058 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2059 fi
2060
2061
2062 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2063 echo "configure:2064: checking for --with-libtiff" >&5
2064 no_cache=0
2065 # Check whether --with-libtiff or --without-libtiff was given.
2066 if test "${with_libtiff+set}" = set; then
2067 withval="$with_libtiff"
2068
2069 if test "$withval" = yes; then
2070 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2071 elif test "$withval" = no; then
2072 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2073 elif test "$withval" = sys; then
2074 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2075 elif test "$withval" = builtin; then
2076 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2077 else
2078 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2079 fi
2080
2081 else
2082
2083 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2084 if test "x$LINE" != x ; then
2085 eval "DEFAULT_$LINE"
2086 else
2087 no_cache=1
2088 fi
2089
2090 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2091
2092 fi
2093
2094
2095 eval "$ac_cv_use_libtiff"
2096 if test "$no_cache" != 1; then
2097 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2098 fi
2099
2100 if test "$wxUSE_LIBTIFF" = yes; then
2101 echo "$ac_t""yes" 1>&6
2102 elif test "$wxUSE_LIBTIFF" = no; then
2103 echo "$ac_t""no" 1>&6
2104 elif test "$wxUSE_LIBTIFF" = sys; then
2105 echo "$ac_t""system version" 1>&6
2106 elif test "$wxUSE_LIBTIFF" = builtin; then
2107 echo "$ac_t""builtin version" 1>&6
2108 else
2109 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2110 fi
2111
2112
2113 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2114 echo "configure:2115: checking for --with-opengl" >&5
2115 no_cache=0
2116 # Check whether --with-opengl or --without-opengl was given.
2117 if test "${with_opengl+set}" = set; then
2118 withval="$with_opengl"
2119
2120 if test "$withval" = yes; then
2121 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2122 else
2123 ac_cv_use_opengl='wxUSE_OPENGL=no'
2124 fi
2125
2126 else
2127
2128 LINE=`grep "wxUSE_OPENGL" ${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_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2136
2137 fi
2138
2139
2140 eval "$ac_cv_use_opengl"
2141 if test "$no_cache" != 1; then
2142 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2143 fi
2144
2145 if test "$wxUSE_OPENGL" = yes; then
2146 echo "$ac_t""yes" 1>&6
2147 else
2148 echo "$ac_t""no" 1>&6
2149 fi
2150
2151
2152 fi
2153
2154
2155 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2156 echo "configure:2157: checking for --with-dmalloc" >&5
2157 no_cache=0
2158 # Check whether --with-dmalloc or --without-dmalloc was given.
2159 if test "${with_dmalloc+set}" = set; then
2160 withval="$with_dmalloc"
2161
2162 if test "$withval" = yes; then
2163 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2164 else
2165 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2166 fi
2167
2168 else
2169
2170 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2171 if test "x$LINE" != x ; then
2172 eval "DEFAULT_$LINE"
2173 else
2174 no_cache=1
2175 fi
2176
2177 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2178
2179 fi
2180
2181
2182 eval "$ac_cv_use_dmalloc"
2183 if test "$no_cache" != 1; then
2184 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2185 fi
2186
2187 if test "$wxUSE_DMALLOC" = yes; then
2188 echo "$ac_t""yes" 1>&6
2189 else
2190 echo "$ac_t""no" 1>&6
2191 fi
2192
2193
2194 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2195 echo "configure:2196: checking for --with-regex" >&5
2196 no_cache=0
2197 # Check whether --with-regex or --without-regex was given.
2198 if test "${with_regex+set}" = set; then
2199 withval="$with_regex"
2200
2201 if test "$withval" = yes; then
2202 ac_cv_use_regex='wxUSE_REGEX=yes'
2203 elif test "$withval" = no; then
2204 ac_cv_use_regex='wxUSE_REGEX=no'
2205 elif test "$withval" = sys; then
2206 ac_cv_use_regex='wxUSE_REGEX=sys'
2207 elif test "$withval" = builtin; then
2208 ac_cv_use_regex='wxUSE_REGEX=builtin'
2209 else
2210 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2211 fi
2212
2213 else
2214
2215 LINE=`grep "wxUSE_REGEX" ${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_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2223
2224 fi
2225
2226
2227 eval "$ac_cv_use_regex"
2228 if test "$no_cache" != 1; then
2229 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2230 fi
2231
2232 if test "$wxUSE_REGEX" = yes; then
2233 echo "$ac_t""yes" 1>&6
2234 elif test "$wxUSE_REGEX" = no; then
2235 echo "$ac_t""no" 1>&6
2236 elif test "$wxUSE_REGEX" = sys; then
2237 echo "$ac_t""system version" 1>&6
2238 elif test "$wxUSE_REGEX" = builtin; then
2239 echo "$ac_t""builtin version" 1>&6
2240 else
2241 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2242 fi
2243
2244
2245 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2246 echo "configure:2247: checking for --with-zlib" >&5
2247 no_cache=0
2248 # Check whether --with-zlib or --without-zlib was given.
2249 if test "${with_zlib+set}" = set; then
2250 withval="$with_zlib"
2251
2252 if test "$withval" = yes; then
2253 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2254 elif test "$withval" = no; then
2255 ac_cv_use_zlib='wxUSE_ZLIB=no'
2256 elif test "$withval" = sys; then
2257 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2258 elif test "$withval" = builtin; then
2259 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2260 else
2261 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2262 fi
2263
2264 else
2265
2266 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2267 if test "x$LINE" != x ; then
2268 eval "DEFAULT_$LINE"
2269 else
2270 no_cache=1
2271 fi
2272
2273 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2274
2275 fi
2276
2277
2278 eval "$ac_cv_use_zlib"
2279 if test "$no_cache" != 1; then
2280 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2281 fi
2282
2283 if test "$wxUSE_ZLIB" = yes; then
2284 echo "$ac_t""yes" 1>&6
2285 elif test "$wxUSE_ZLIB" = no; then
2286 echo "$ac_t""no" 1>&6
2287 elif test "$wxUSE_ZLIB" = sys; then
2288 echo "$ac_t""system version" 1>&6
2289 elif test "$wxUSE_ZLIB" = builtin; then
2290 echo "$ac_t""builtin version" 1>&6
2291 else
2292 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2293 fi
2294
2295
2296 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2297 echo "configure:2298: checking for --with-odbc" >&5
2298 no_cache=0
2299 # Check whether --with-odbc or --without-odbc was given.
2300 if test "${with_odbc+set}" = set; then
2301 withval="$with_odbc"
2302
2303 if test "$withval" = yes; then
2304 ac_cv_use_odbc='wxUSE_ODBC=yes'
2305 else
2306 ac_cv_use_odbc='wxUSE_ODBC=no'
2307 fi
2308
2309 else
2310
2311 LINE=`grep "wxUSE_ODBC" ${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_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2319
2320 fi
2321
2322
2323 eval "$ac_cv_use_odbc"
2324 if test "$no_cache" != 1; then
2325 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2326 fi
2327
2328 if test "$wxUSE_ODBC" = yes; then
2329 echo "$ac_t""yes" 1>&6
2330 else
2331 echo "$ac_t""no" 1>&6
2332 fi
2333
2334
2335
2336
2337 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2338 echo "configure:2339: checking for --enable-shared" >&5
2339 no_cache=0
2340 # Check whether --enable-shared or --disable-shared was given.
2341 if test "${enable_shared+set}" = set; then
2342 enableval="$enable_shared"
2343
2344 if test "$enableval" = yes; then
2345 ac_cv_use_shared='wxUSE_SHARED=yes'
2346 else
2347 ac_cv_use_shared='wxUSE_SHARED=no'
2348 fi
2349
2350 else
2351
2352 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2353 if test "x$LINE" != x ; then
2354 eval "DEFAULT_$LINE"
2355 else
2356 no_cache=1
2357 fi
2358
2359 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2360
2361 fi
2362
2363
2364 eval "$ac_cv_use_shared"
2365 if test "$no_cache" != 1; then
2366 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2367 fi
2368
2369 if test "$wxUSE_SHARED" = yes; then
2370 echo "$ac_t""yes" 1>&6
2371 else
2372 echo "$ac_t""no" 1>&6
2373 fi
2374
2375
2376 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2377 echo "configure:2378: checking for --enable-soname" >&5
2378 no_cache=0
2379 # Check whether --enable-soname or --disable-soname was given.
2380 if test "${enable_soname+set}" = set; then
2381 enableval="$enable_soname"
2382
2383 if test "$enableval" = yes; then
2384 ac_cv_use_soname='wxUSE_SONAME=yes'
2385 else
2386 ac_cv_use_soname='wxUSE_SONAME=no'
2387 fi
2388
2389 else
2390
2391 LINE=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2392 if test "x$LINE" != x ; then
2393 eval "DEFAULT_$LINE"
2394 else
2395 no_cache=1
2396 fi
2397
2398 ac_cv_use_soname='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2399
2400 fi
2401
2402
2403 eval "$ac_cv_use_soname"
2404 if test "$no_cache" != 1; then
2405 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2406 fi
2407
2408 if test "$wxUSE_SONAME" = yes; then
2409 echo "$ac_t""yes" 1>&6
2410 else
2411 echo "$ac_t""no" 1>&6
2412 fi
2413
2414
2415 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2416 echo "configure:2417: checking for --enable-optimise" >&5
2417 no_cache=0
2418 # Check whether --enable-optimise or --disable-optimise was given.
2419 if test "${enable_optimise+set}" = set; then
2420 enableval="$enable_optimise"
2421
2422 if test "$enableval" = yes; then
2423 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
2424 else
2425 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
2426 fi
2427
2428 else
2429
2430 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2431 if test "x$LINE" != x ; then
2432 eval "DEFAULT_$LINE"
2433 else
2434 no_cache=1
2435 fi
2436
2437 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2438
2439 fi
2440
2441
2442 eval "$ac_cv_use_optimise"
2443 if test "$no_cache" != 1; then
2444 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2445 fi
2446
2447 if test "$wxUSE_OPTIMISE" = yes; then
2448 echo "$ac_t""yes" 1>&6
2449 else
2450 echo "$ac_t""no" 1>&6
2451 fi
2452
2453
2454 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2455 echo "configure:2456: checking for --enable-debug" >&5
2456 no_cache=0
2457 # Check whether --enable-debug or --disable-debug was given.
2458 if test "${enable_debug+set}" = set; then
2459 enableval="$enable_debug"
2460
2461 if test "$enableval" = yes; then
2462 ac_cv_use_debug='wxUSE_DEBUG=yes'
2463 else
2464 ac_cv_use_debug='wxUSE_DEBUG=no'
2465 fi
2466
2467 else
2468
2469 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2470 if test "x$LINE" != x ; then
2471 eval "DEFAULT_$LINE"
2472 else
2473 no_cache=1
2474 fi
2475
2476 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2477
2478 fi
2479
2480
2481 eval "$ac_cv_use_debug"
2482 if test "$no_cache" != 1; then
2483 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2484 fi
2485
2486 if test "$wxUSE_DEBUG" = yes; then
2487 echo "$ac_t""yes" 1>&6
2488 else
2489 echo "$ac_t""no" 1>&6
2490 fi
2491
2492
2493
2494 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2495 echo "configure:2496: checking for --enable-precomp" >&5
2496 no_cache=0
2497 # Check whether --enable-precomp or --disable-precomp was given.
2498 if test "${enable_precomp+set}" = set; then
2499 enableval="$enable_precomp"
2500
2501 if test "$enableval" = yes; then
2502 ac_cv_use_precomp='wxUSE_PRECOMP=yes'
2503 else
2504 ac_cv_use_precomp='wxUSE_PRECOMP=no'
2505 fi
2506
2507 else
2508
2509 LINE=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2510 if test "x$LINE" != x ; then
2511 eval "DEFAULT_$LINE"
2512 else
2513 no_cache=1
2514 fi
2515
2516 ac_cv_use_precomp='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2517
2518 fi
2519
2520
2521 eval "$ac_cv_use_precomp"
2522 if test "$no_cache" != 1; then
2523 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2524 fi
2525
2526 if test "$wxUSE_PRECOMP" = yes; then
2527 echo "$ac_t""yes" 1>&6
2528 else
2529 echo "$ac_t""no" 1>&6
2530 fi
2531
2532
2533 if test "$wxUSE_DEBUG" = "yes"; then
2534 DEFAULT_wxUSE_DEBUG_FLAG=yes
2535 DEFAULT_wxUSE_DEBUG_INFO=yes
2536 elif test "$wxUSE_DEBUG" = "no"; then
2537 DEFAULT_wxUSE_DEBUG_FLAG=no
2538 DEFAULT_wxUSE_DEBUG_INFO=no
2539 fi
2540
2541
2542 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2543 echo "configure:2544: checking for --enable-debug_flag" >&5
2544 no_cache=0
2545 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2546 if test "${enable_debug_flag+set}" = set; then
2547 enableval="$enable_debug_flag"
2548
2549 if test "$enableval" = yes; then
2550 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
2551 else
2552 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
2553 fi
2554
2555 else
2556
2557 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2558 if test "x$LINE" != x ; then
2559 eval "DEFAULT_$LINE"
2560 else
2561 no_cache=1
2562 fi
2563
2564 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2565
2566 fi
2567
2568
2569 eval "$ac_cv_use_debug_flag"
2570 if test "$no_cache" != 1; then
2571 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2572 fi
2573
2574 if test "$wxUSE_DEBUG_FLAG" = yes; then
2575 echo "$ac_t""yes" 1>&6
2576 else
2577 echo "$ac_t""no" 1>&6
2578 fi
2579
2580
2581 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2582 echo "configure:2583: checking for --enable-debug_info" >&5
2583 no_cache=0
2584 # Check whether --enable-debug_info or --disable-debug_info was given.
2585 if test "${enable_debug_info+set}" = set; then
2586 enableval="$enable_debug_info"
2587
2588 if test "$enableval" = yes; then
2589 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
2590 else
2591 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
2592 fi
2593
2594 else
2595
2596 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2597 if test "x$LINE" != x ; then
2598 eval "DEFAULT_$LINE"
2599 else
2600 no_cache=1
2601 fi
2602
2603 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2604
2605 fi
2606
2607
2608 eval "$ac_cv_use_debug_info"
2609 if test "$no_cache" != 1; then
2610 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2611 fi
2612
2613 if test "$wxUSE_DEBUG_INFO" = yes; then
2614 echo "$ac_t""yes" 1>&6
2615 else
2616 echo "$ac_t""no" 1>&6
2617 fi
2618
2619
2620 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2621 echo "configure:2622: checking for --enable-debug_gdb" >&5
2622 no_cache=0
2623 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2624 if test "${enable_debug_gdb+set}" = set; then
2625 enableval="$enable_debug_gdb"
2626
2627 if test "$enableval" = yes; then
2628 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
2629 else
2630 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
2631 fi
2632
2633 else
2634
2635 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2636 if test "x$LINE" != x ; then
2637 eval "DEFAULT_$LINE"
2638 else
2639 no_cache=1
2640 fi
2641
2642 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2643
2644 fi
2645
2646
2647 eval "$ac_cv_use_debug_gdb"
2648 if test "$no_cache" != 1; then
2649 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2650 fi
2651
2652 if test "$wxUSE_DEBUG_GDB" = yes; then
2653 echo "$ac_t""yes" 1>&6
2654 else
2655 echo "$ac_t""no" 1>&6
2656 fi
2657
2658
2659 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2660 echo "configure:2661: checking for --enable-debug_cntxt" >&5
2661 no_cache=0
2662 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2663 if test "${enable_debug_cntxt+set}" = set; then
2664 enableval="$enable_debug_cntxt"
2665
2666 if test "$enableval" = yes; then
2667 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
2668 else
2669 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
2670 fi
2671
2672 else
2673
2674 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2675 if test "x$LINE" != x ; then
2676 eval "DEFAULT_$LINE"
2677 else
2678 no_cache=1
2679 fi
2680
2681 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2682
2683 fi
2684
2685
2686 eval "$ac_cv_use_debug_cntxt"
2687 if test "$no_cache" != 1; then
2688 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2689 fi
2690
2691 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2692 echo "$ac_t""yes" 1>&6
2693 else
2694 echo "$ac_t""no" 1>&6
2695 fi
2696
2697
2698 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2699 echo "configure:2700: checking for --enable-mem_tracing" >&5
2700 no_cache=0
2701 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2702 if test "${enable_mem_tracing+set}" = set; then
2703 enableval="$enable_mem_tracing"
2704
2705 if test "$enableval" = yes; then
2706 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
2707 else
2708 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
2709 fi
2710
2711 else
2712
2713 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2714 if test "x$LINE" != x ; then
2715 eval "DEFAULT_$LINE"
2716 else
2717 no_cache=1
2718 fi
2719
2720 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2721
2722 fi
2723
2724
2725 eval "$ac_cv_use_mem_tracing"
2726 if test "$no_cache" != 1; then
2727 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2728 fi
2729
2730 if test "$wxUSE_MEM_TRACING" = yes; then
2731 echo "$ac_t""yes" 1>&6
2732 else
2733 echo "$ac_t""no" 1>&6
2734 fi
2735
2736
2737 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2738 echo "configure:2739: checking for --enable-profile" >&5
2739 no_cache=0
2740 # Check whether --enable-profile or --disable-profile was given.
2741 if test "${enable_profile+set}" = set; then
2742 enableval="$enable_profile"
2743
2744 if test "$enableval" = yes; then
2745 ac_cv_use_profile='wxUSE_PROFILE=yes'
2746 else
2747 ac_cv_use_profile='wxUSE_PROFILE=no'
2748 fi
2749
2750 else
2751
2752 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2753 if test "x$LINE" != x ; then
2754 eval "DEFAULT_$LINE"
2755 else
2756 no_cache=1
2757 fi
2758
2759 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2760
2761 fi
2762
2763
2764 eval "$ac_cv_use_profile"
2765 if test "$no_cache" != 1; then
2766 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2767 fi
2768
2769 if test "$wxUSE_PROFILE" = yes; then
2770 echo "$ac_t""yes" 1>&6
2771 else
2772 echo "$ac_t""no" 1>&6
2773 fi
2774
2775
2776 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2777 echo "configure:2778: checking for --enable-no_rtti" >&5
2778 no_cache=0
2779 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2780 if test "${enable_no_rtti+set}" = set; then
2781 enableval="$enable_no_rtti"
2782
2783 if test "$enableval" = yes; then
2784 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
2785 else
2786 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
2787 fi
2788
2789 else
2790
2791 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2792 if test "x$LINE" != x ; then
2793 eval "DEFAULT_$LINE"
2794 else
2795 no_cache=1
2796 fi
2797
2798 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2799
2800 fi
2801
2802
2803 eval "$ac_cv_use_no_rtti"
2804 if test "$no_cache" != 1; then
2805 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2806 fi
2807
2808 if test "$wxUSE_NO_RTTI" = yes; then
2809 echo "$ac_t""yes" 1>&6
2810 else
2811 echo "$ac_t""no" 1>&6
2812 fi
2813
2814
2815 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2816 echo "configure:2817: checking for --enable-no_exceptions" >&5
2817 no_cache=0
2818 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2819 if test "${enable_no_exceptions+set}" = set; then
2820 enableval="$enable_no_exceptions"
2821
2822 if test "$enableval" = yes; then
2823 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
2824 else
2825 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
2826 fi
2827
2828 else
2829
2830 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2831 if test "x$LINE" != x ; then
2832 eval "DEFAULT_$LINE"
2833 else
2834 no_cache=1
2835 fi
2836
2837 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2838
2839 fi
2840
2841
2842 eval "$ac_cv_use_no_exceptions"
2843 if test "$no_cache" != 1; then
2844 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2845 fi
2846
2847 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2848 echo "$ac_t""yes" 1>&6
2849 else
2850 echo "$ac_t""no" 1>&6
2851 fi
2852
2853
2854 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2855 echo "configure:2856: checking for --enable-permissive" >&5
2856 no_cache=0
2857 # Check whether --enable-permissive or --disable-permissive was given.
2858 if test "${enable_permissive+set}" = set; then
2859 enableval="$enable_permissive"
2860
2861 if test "$enableval" = yes; then
2862 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
2863 else
2864 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
2865 fi
2866
2867 else
2868
2869 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2870 if test "x$LINE" != x ; then
2871 eval "DEFAULT_$LINE"
2872 else
2873 no_cache=1
2874 fi
2875
2876 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2877
2878 fi
2879
2880
2881 eval "$ac_cv_use_permissive"
2882 if test "$no_cache" != 1; then
2883 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2884 fi
2885
2886 if test "$wxUSE_PERMISSIVE" = yes; then
2887 echo "$ac_t""yes" 1>&6
2888 else
2889 echo "$ac_t""no" 1>&6
2890 fi
2891
2892
2893 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2894 echo "configure:2895: checking for --enable-no_deps" >&5
2895 no_cache=0
2896 # Check whether --enable-no_deps or --disable-no_deps was given.
2897 if test "${enable_no_deps+set}" = set; then
2898 enableval="$enable_no_deps"
2899
2900 if test "$enableval" = yes; then
2901 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
2902 else
2903 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
2904 fi
2905
2906 else
2907
2908 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2909 if test "x$LINE" != x ; then
2910 eval "DEFAULT_$LINE"
2911 else
2912 no_cache=1
2913 fi
2914
2915 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2916
2917 fi
2918
2919
2920 eval "$ac_cv_use_no_deps"
2921 if test "$no_cache" != 1; then
2922 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2923 fi
2924
2925 if test "$wxUSE_NO_DEPS" = yes; then
2926 echo "$ac_t""yes" 1>&6
2927 else
2928 echo "$ac_t""no" 1>&6
2929 fi
2930
2931
2932
2933 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2934 echo "configure:2935: checking for --enable-compat20" >&5
2935 no_cache=0
2936 # Check whether --enable-compat20 or --disable-compat20 was given.
2937 if test "${enable_compat20+set}" = set; then
2938 enableval="$enable_compat20"
2939
2940 if test "$enableval" = yes; then
2941 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
2942 else
2943 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
2944 fi
2945
2946 else
2947
2948 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2949 if test "x$LINE" != x ; then
2950 eval "DEFAULT_$LINE"
2951 else
2952 no_cache=1
2953 fi
2954
2955 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2956
2957 fi
2958
2959
2960 eval "$ac_cv_use_compat20"
2961 if test "$no_cache" != 1; then
2962 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2963 fi
2964
2965 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2966 echo "$ac_t""yes" 1>&6
2967 else
2968 echo "$ac_t""no" 1>&6
2969 fi
2970
2971
2972 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2973 echo "configure:2974: checking for --enable-compat22" >&5
2974 no_cache=0
2975 # Check whether --enable-compat22 or --disable-compat22 was given.
2976 if test "${enable_compat22+set}" = set; then
2977 enableval="$enable_compat22"
2978
2979 if test "$enableval" = yes; then
2980 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
2981 else
2982 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
2983 fi
2984
2985 else
2986
2987 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2988 if test "x$LINE" != x ; then
2989 eval "DEFAULT_$LINE"
2990 else
2991 no_cache=1
2992 fi
2993
2994 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2995
2996 fi
2997
2998
2999 eval "$ac_cv_use_compat22"
3000 if test "$no_cache" != 1; then
3001 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3002 fi
3003
3004 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3005 echo "$ac_t""yes" 1>&6
3006 else
3007 echo "$ac_t""no" 1>&6
3008 fi
3009
3010
3011
3012
3013 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3014 echo "configure:3015: checking for --enable-intl" >&5
3015 no_cache=0
3016 # Check whether --enable-intl or --disable-intl was given.
3017 if test "${enable_intl+set}" = set; then
3018 enableval="$enable_intl"
3019
3020 if test "$enableval" = yes; then
3021 ac_cv_use_intl='wxUSE_INTL=yes'
3022 else
3023 ac_cv_use_intl='wxUSE_INTL=no'
3024 fi
3025
3026 else
3027
3028 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3029 if test "x$LINE" != x ; then
3030 eval "DEFAULT_$LINE"
3031 else
3032 no_cache=1
3033 fi
3034
3035 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3036
3037 fi
3038
3039
3040 eval "$ac_cv_use_intl"
3041 if test "$no_cache" != 1; then
3042 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3043 fi
3044
3045 if test "$wxUSE_INTL" = yes; then
3046 echo "$ac_t""yes" 1>&6
3047 else
3048 echo "$ac_t""no" 1>&6
3049 fi
3050
3051
3052 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3053 echo "configure:3054: checking for --enable-config" >&5
3054 no_cache=0
3055 # Check whether --enable-config or --disable-config was given.
3056 if test "${enable_config+set}" = set; then
3057 enableval="$enable_config"
3058
3059 if test "$enableval" = yes; then
3060 ac_cv_use_config='wxUSE_CONFIG=yes'
3061 else
3062 ac_cv_use_config='wxUSE_CONFIG=no'
3063 fi
3064
3065 else
3066
3067 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3068 if test "x$LINE" != x ; then
3069 eval "DEFAULT_$LINE"
3070 else
3071 no_cache=1
3072 fi
3073
3074 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3075
3076 fi
3077
3078
3079 eval "$ac_cv_use_config"
3080 if test "$no_cache" != 1; then
3081 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3082 fi
3083
3084 if test "$wxUSE_CONFIG" = yes; then
3085 echo "$ac_t""yes" 1>&6
3086 else
3087 echo "$ac_t""no" 1>&6
3088 fi
3089
3090
3091
3092 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3093 echo "configure:3094: checking for --enable-protocols" >&5
3094 no_cache=0
3095 # Check whether --enable-protocols or --disable-protocols was given.
3096 if test "${enable_protocols+set}" = set; then
3097 enableval="$enable_protocols"
3098
3099 if test "$enableval" = yes; then
3100 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3101 else
3102 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3103 fi
3104
3105 else
3106
3107 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3108 if test "x$LINE" != x ; then
3109 eval "DEFAULT_$LINE"
3110 else
3111 no_cache=1
3112 fi
3113
3114 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3115
3116 fi
3117
3118
3119 eval "$ac_cv_use_protocols"
3120 if test "$no_cache" != 1; then
3121 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3122 fi
3123
3124 if test "$wxUSE_PROTOCOL" = yes; then
3125 echo "$ac_t""yes" 1>&6
3126 else
3127 echo "$ac_t""no" 1>&6
3128 fi
3129
3130
3131 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3132 echo "configure:3133: checking for --enable-ftp" >&5
3133 no_cache=0
3134 # Check whether --enable-ftp or --disable-ftp was given.
3135 if test "${enable_ftp+set}" = set; then
3136 enableval="$enable_ftp"
3137
3138 if test "$enableval" = yes; then
3139 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3140 else
3141 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3142 fi
3143
3144 else
3145
3146 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3147 if test "x$LINE" != x ; then
3148 eval "DEFAULT_$LINE"
3149 else
3150 no_cache=1
3151 fi
3152
3153 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3154
3155 fi
3156
3157
3158 eval "$ac_cv_use_ftp"
3159 if test "$no_cache" != 1; then
3160 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3161 fi
3162
3163 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3164 echo "$ac_t""yes" 1>&6
3165 else
3166 echo "$ac_t""no" 1>&6
3167 fi
3168
3169
3170 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3171 echo "configure:3172: checking for --enable-http" >&5
3172 no_cache=0
3173 # Check whether --enable-http or --disable-http was given.
3174 if test "${enable_http+set}" = set; then
3175 enableval="$enable_http"
3176
3177 if test "$enableval" = yes; then
3178 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3179 else
3180 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3181 fi
3182
3183 else
3184
3185 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3186 if test "x$LINE" != x ; then
3187 eval "DEFAULT_$LINE"
3188 else
3189 no_cache=1
3190 fi
3191
3192 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3193
3194 fi
3195
3196
3197 eval "$ac_cv_use_http"
3198 if test "$no_cache" != 1; then
3199 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3200 fi
3201
3202 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3203 echo "$ac_t""yes" 1>&6
3204 else
3205 echo "$ac_t""no" 1>&6
3206 fi
3207
3208
3209 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3210 echo "configure:3211: checking for --enable-fileproto" >&5
3211 no_cache=0
3212 # Check whether --enable-fileproto or --disable-fileproto was given.
3213 if test "${enable_fileproto+set}" = set; then
3214 enableval="$enable_fileproto"
3215
3216 if test "$enableval" = yes; then
3217 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
3218 else
3219 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
3220 fi
3221
3222 else
3223
3224 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3225 if test "x$LINE" != x ; then
3226 eval "DEFAULT_$LINE"
3227 else
3228 no_cache=1
3229 fi
3230
3231 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3232
3233 fi
3234
3235
3236 eval "$ac_cv_use_fileproto"
3237 if test "$no_cache" != 1; then
3238 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3239 fi
3240
3241 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3242 echo "$ac_t""yes" 1>&6
3243 else
3244 echo "$ac_t""no" 1>&6
3245 fi
3246
3247
3248 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3249 echo "configure:3250: checking for --enable-sockets" >&5
3250 no_cache=0
3251 # Check whether --enable-sockets or --disable-sockets was given.
3252 if test "${enable_sockets+set}" = set; then
3253 enableval="$enable_sockets"
3254
3255 if test "$enableval" = yes; then
3256 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
3257 else
3258 ac_cv_use_sockets='wxUSE_SOCKETS=no'
3259 fi
3260
3261 else
3262
3263 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3264 if test "x$LINE" != x ; then
3265 eval "DEFAULT_$LINE"
3266 else
3267 no_cache=1
3268 fi
3269
3270 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3271
3272 fi
3273
3274
3275 eval "$ac_cv_use_sockets"
3276 if test "$no_cache" != 1; then
3277 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3278 fi
3279
3280 if test "$wxUSE_SOCKETS" = yes; then
3281 echo "$ac_t""yes" 1>&6
3282 else
3283 echo "$ac_t""no" 1>&6
3284 fi
3285
3286
3287
3288 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3289 echo "configure:3290: checking for --enable-ipc" >&5
3290 no_cache=0
3291 # Check whether --enable-ipc or --disable-ipc was given.
3292 if test "${enable_ipc+set}" = set; then
3293 enableval="$enable_ipc"
3294
3295 if test "$enableval" = yes; then
3296 ac_cv_use_ipc='wxUSE_IPC=yes'
3297 else
3298 ac_cv_use_ipc='wxUSE_IPC=no'
3299 fi
3300
3301 else
3302
3303 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3304 if test "x$LINE" != x ; then
3305 eval "DEFAULT_$LINE"
3306 else
3307 no_cache=1
3308 fi
3309
3310 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3311
3312 fi
3313
3314
3315 eval "$ac_cv_use_ipc"
3316 if test "$no_cache" != 1; then
3317 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3318 fi
3319
3320 if test "$wxUSE_IPC" = yes; then
3321 echo "$ac_t""yes" 1>&6
3322 else
3323 echo "$ac_t""no" 1>&6
3324 fi
3325
3326
3327
3328 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3329 echo "configure:3330: checking for --enable-cmdline" >&5
3330 no_cache=0
3331 # Check whether --enable-cmdline or --disable-cmdline was given.
3332 if test "${enable_cmdline+set}" = set; then
3333 enableval="$enable_cmdline"
3334
3335 if test "$enableval" = yes; then
3336 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
3337 else
3338 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
3339 fi
3340
3341 else
3342
3343 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3344 if test "x$LINE" != x ; then
3345 eval "DEFAULT_$LINE"
3346 else
3347 no_cache=1
3348 fi
3349
3350 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3351
3352 fi
3353
3354
3355 eval "$ac_cv_use_cmdline"
3356 if test "$no_cache" != 1; then
3357 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3358 fi
3359
3360 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3361 echo "$ac_t""yes" 1>&6
3362 else
3363 echo "$ac_t""no" 1>&6
3364 fi
3365
3366
3367 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3368 echo "configure:3369: checking for --enable-datetime" >&5
3369 no_cache=0
3370 # Check whether --enable-datetime or --disable-datetime was given.
3371 if test "${enable_datetime+set}" = set; then
3372 enableval="$enable_datetime"
3373
3374 if test "$enableval" = yes; then
3375 ac_cv_use_datetime='wxUSE_DATETIME=yes'
3376 else
3377 ac_cv_use_datetime='wxUSE_DATETIME=no'
3378 fi
3379
3380 else
3381
3382 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3383 if test "x$LINE" != x ; then
3384 eval "DEFAULT_$LINE"
3385 else
3386 no_cache=1
3387 fi
3388
3389 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3390
3391 fi
3392
3393
3394 eval "$ac_cv_use_datetime"
3395 if test "$no_cache" != 1; then
3396 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3397 fi
3398
3399 if test "$wxUSE_DATETIME" = yes; then
3400 echo "$ac_t""yes" 1>&6
3401 else
3402 echo "$ac_t""no" 1>&6
3403 fi
3404
3405
3406 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3407 echo "configure:3408: checking for --enable-timedate" >&5
3408 no_cache=0
3409 # Check whether --enable-timedate or --disable-timedate was given.
3410 if test "${enable_timedate+set}" = set; then
3411 enableval="$enable_timedate"
3412
3413 if test "$enableval" = yes; then
3414 ac_cv_use_timedate='wxUSE_TIMEDATE=yes'
3415 else
3416 ac_cv_use_timedate='wxUSE_TIMEDATE=no'
3417 fi
3418
3419 else
3420
3421 LINE=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3422 if test "x$LINE" != x ; then
3423 eval "DEFAULT_$LINE"
3424 else
3425 no_cache=1
3426 fi
3427
3428 ac_cv_use_timedate='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3429
3430 fi
3431
3432
3433 eval "$ac_cv_use_timedate"
3434 if test "$no_cache" != 1; then
3435 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3436 fi
3437
3438 if test "$wxUSE_TIMEDATE" = yes; then
3439 echo "$ac_t""yes" 1>&6
3440 else
3441 echo "$ac_t""no" 1>&6
3442 fi
3443
3444
3445 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3446 echo "configure:3447: checking for --enable-stopwatch" >&5
3447 no_cache=0
3448 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3449 if test "${enable_stopwatch+set}" = set; then
3450 enableval="$enable_stopwatch"
3451
3452 if test "$enableval" = yes; then
3453 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
3454 else
3455 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
3456 fi
3457
3458 else
3459
3460 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3461 if test "x$LINE" != x ; then
3462 eval "DEFAULT_$LINE"
3463 else
3464 no_cache=1
3465 fi
3466
3467 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3468
3469 fi
3470
3471
3472 eval "$ac_cv_use_stopwatch"
3473 if test "$no_cache" != 1; then
3474 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3475 fi
3476
3477 if test "$wxUSE_STOPWATCH" = yes; then
3478 echo "$ac_t""yes" 1>&6
3479 else
3480 echo "$ac_t""no" 1>&6
3481 fi
3482
3483
3484 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3485 echo "configure:3486: checking for --enable-dialupman" >&5
3486 no_cache=0
3487 # Check whether --enable-dialupman or --disable-dialupman was given.
3488 if test "${enable_dialupman+set}" = set; then
3489 enableval="$enable_dialupman"
3490
3491 if test "$enableval" = yes; then
3492 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
3493 else
3494 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
3495 fi
3496
3497 else
3498
3499 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3500 if test "x$LINE" != x ; then
3501 eval "DEFAULT_$LINE"
3502 else
3503 no_cache=1
3504 fi
3505
3506 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3507
3508 fi
3509
3510
3511 eval "$ac_cv_use_dialupman"
3512 if test "$no_cache" != 1; then
3513 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3514 fi
3515
3516 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3517 echo "$ac_t""yes" 1>&6
3518 else
3519 echo "$ac_t""no" 1>&6
3520 fi
3521
3522
3523 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3524 echo "configure:3525: checking for --enable-apple_ieee" >&5
3525 no_cache=0
3526 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3527 if test "${enable_apple_ieee+set}" = set; then
3528 enableval="$enable_apple_ieee"
3529
3530 if test "$enableval" = yes; then
3531 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
3532 else
3533 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
3534 fi
3535
3536 else
3537
3538 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3539 if test "x$LINE" != x ; then
3540 eval "DEFAULT_$LINE"
3541 else
3542 no_cache=1
3543 fi
3544
3545 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3546
3547 fi
3548
3549
3550 eval "$ac_cv_use_apple_ieee"
3551 if test "$no_cache" != 1; then
3552 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3553 fi
3554
3555 if test "$wxUSE_APPLE_IEEE" = yes; then
3556 echo "$ac_t""yes" 1>&6
3557 else
3558 echo "$ac_t""no" 1>&6
3559 fi
3560
3561
3562 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3563 echo "configure:3564: checking for --enable-timer" >&5
3564 no_cache=0
3565 # Check whether --enable-timer or --disable-timer was given.
3566 if test "${enable_timer+set}" = set; then
3567 enableval="$enable_timer"
3568
3569 if test "$enableval" = yes; then
3570 ac_cv_use_timer='wxUSE_TIMER=yes'
3571 else
3572 ac_cv_use_timer='wxUSE_TIMER=no'
3573 fi
3574
3575 else
3576
3577 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3578 if test "x$LINE" != x ; then
3579 eval "DEFAULT_$LINE"
3580 else
3581 no_cache=1
3582 fi
3583
3584 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3585
3586 fi
3587
3588
3589 eval "$ac_cv_use_timer"
3590 if test "$no_cache" != 1; then
3591 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3592 fi
3593
3594 if test "$wxUSE_TIMER" = yes; then
3595 echo "$ac_t""yes" 1>&6
3596 else
3597 echo "$ac_t""no" 1>&6
3598 fi
3599
3600
3601 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3602 echo "configure:3603: checking for --enable-wave" >&5
3603 no_cache=0
3604 # Check whether --enable-wave or --disable-wave was given.
3605 if test "${enable_wave+set}" = set; then
3606 enableval="$enable_wave"
3607
3608 if test "$enableval" = yes; then
3609 ac_cv_use_wave='wxUSE_WAVE=yes'
3610 else
3611 ac_cv_use_wave='wxUSE_WAVE=no'
3612 fi
3613
3614 else
3615
3616 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3617 if test "x$LINE" != x ; then
3618 eval "DEFAULT_$LINE"
3619 else
3620 no_cache=1
3621 fi
3622
3623 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3624
3625 fi
3626
3627
3628 eval "$ac_cv_use_wave"
3629 if test "$no_cache" != 1; then
3630 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3631 fi
3632
3633 if test "$wxUSE_WAVE" = yes; then
3634 echo "$ac_t""yes" 1>&6
3635 else
3636 echo "$ac_t""no" 1>&6
3637 fi
3638
3639
3640 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3641 echo "configure:3642: checking for --enable-fraction" >&5
3642 no_cache=0
3643 # Check whether --enable-fraction or --disable-fraction was given.
3644 if test "${enable_fraction+set}" = set; then
3645 enableval="$enable_fraction"
3646
3647 if test "$enableval" = yes; then
3648 ac_cv_use_fraction='wxUSE_FRACTION=yes'
3649 else
3650 ac_cv_use_fraction='wxUSE_FRACTION=no'
3651 fi
3652
3653 else
3654
3655 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3656 if test "x$LINE" != x ; then
3657 eval "DEFAULT_$LINE"
3658 else
3659 no_cache=1
3660 fi
3661
3662 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3663
3664 fi
3665
3666
3667 eval "$ac_cv_use_fraction"
3668 if test "$no_cache" != 1; then
3669 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3670 fi
3671
3672 if test "$wxUSE_FRACTION" = yes; then
3673 echo "$ac_t""yes" 1>&6
3674 else
3675 echo "$ac_t""no" 1>&6
3676 fi
3677
3678
3679 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3680 echo "configure:3681: checking for --enable-dynlib" >&5
3681 no_cache=0
3682 # Check whether --enable-dynlib or --disable-dynlib was given.
3683 if test "${enable_dynlib+set}" = set; then
3684 enableval="$enable_dynlib"
3685
3686 if test "$enableval" = yes; then
3687 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
3688 else
3689 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
3690 fi
3691
3692 else
3693
3694 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3695 if test "x$LINE" != x ; then
3696 eval "DEFAULT_$LINE"
3697 else
3698 no_cache=1
3699 fi
3700
3701 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3702
3703 fi
3704
3705
3706 eval "$ac_cv_use_dynlib"
3707 if test "$no_cache" != 1; then
3708 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3709 fi
3710
3711 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3712 echo "$ac_t""yes" 1>&6
3713 else
3714 echo "$ac_t""no" 1>&6
3715 fi
3716
3717
3718 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3719 echo "configure:3720: checking for --enable-dynamicloader" >&5
3720 no_cache=0
3721 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3722 if test "${enable_dynamicloader+set}" = set; then
3723 enableval="$enable_dynamicloader"
3724
3725 if test "$enableval" = yes; then
3726 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
3727 else
3728 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
3729 fi
3730
3731 else
3732
3733 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3734 if test "x$LINE" != x ; then
3735 eval "DEFAULT_$LINE"
3736 else
3737 no_cache=1
3738 fi
3739
3740 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3741
3742 fi
3743
3744
3745 eval "$ac_cv_use_dynamicloader"
3746 if test "$no_cache" != 1; then
3747 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3748 fi
3749
3750 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3751 echo "$ac_t""yes" 1>&6
3752 else
3753 echo "$ac_t""no" 1>&6
3754 fi
3755
3756
3757 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3758 echo "configure:3759: checking for --enable-longlong" >&5
3759 no_cache=0
3760 # Check whether --enable-longlong or --disable-longlong was given.
3761 if test "${enable_longlong+set}" = set; then
3762 enableval="$enable_longlong"
3763
3764 if test "$enableval" = yes; then
3765 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
3766 else
3767 ac_cv_use_longlong='wxUSE_LONGLONG=no'
3768 fi
3769
3770 else
3771
3772 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3773 if test "x$LINE" != x ; then
3774 eval "DEFAULT_$LINE"
3775 else
3776 no_cache=1
3777 fi
3778
3779 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3780
3781 fi
3782
3783
3784 eval "$ac_cv_use_longlong"
3785 if test "$no_cache" != 1; then
3786 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3787 fi
3788
3789 if test "$wxUSE_LONGLONG" = yes; then
3790 echo "$ac_t""yes" 1>&6
3791 else
3792 echo "$ac_t""no" 1>&6
3793 fi
3794
3795
3796 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3797 echo "configure:3798: checking for --enable-geometry" >&5
3798 no_cache=0
3799 # Check whether --enable-geometry or --disable-geometry was given.
3800 if test "${enable_geometry+set}" = set; then
3801 enableval="$enable_geometry"
3802
3803 if test "$enableval" = yes; then
3804 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
3805 else
3806 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
3807 fi
3808
3809 else
3810
3811 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3812 if test "x$LINE" != x ; then
3813 eval "DEFAULT_$LINE"
3814 else
3815 no_cache=1
3816 fi
3817
3818 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3819
3820 fi
3821
3822
3823 eval "$ac_cv_use_geometry"
3824 if test "$no_cache" != 1; then
3825 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3826 fi
3827
3828 if test "$wxUSE_GEOMETRY" = yes; then
3829 echo "$ac_t""yes" 1>&6
3830 else
3831 echo "$ac_t""no" 1>&6
3832 fi
3833
3834
3835 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3836 echo "configure:3837: checking for --enable-log" >&5
3837 no_cache=0
3838 # Check whether --enable-log or --disable-log was given.
3839 if test "${enable_log+set}" = set; then
3840 enableval="$enable_log"
3841
3842 if test "$enableval" = yes; then
3843 ac_cv_use_log='wxUSE_LOG=yes'
3844 else
3845 ac_cv_use_log='wxUSE_LOG=no'
3846 fi
3847
3848 else
3849
3850 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3851 if test "x$LINE" != x ; then
3852 eval "DEFAULT_$LINE"
3853 else
3854 no_cache=1
3855 fi
3856
3857 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3858
3859 fi
3860
3861
3862 eval "$ac_cv_use_log"
3863 if test "$no_cache" != 1; then
3864 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3865 fi
3866
3867 if test "$wxUSE_LOG" = yes; then
3868 echo "$ac_t""yes" 1>&6
3869 else
3870 echo "$ac_t""no" 1>&6
3871 fi
3872
3873
3874 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3875 echo "configure:3876: checking for --enable-streams" >&5
3876 no_cache=0
3877 # Check whether --enable-streams or --disable-streams was given.
3878 if test "${enable_streams+set}" = set; then
3879 enableval="$enable_streams"
3880
3881 if test "$enableval" = yes; then
3882 ac_cv_use_streams='wxUSE_STREAMS=yes'
3883 else
3884 ac_cv_use_streams='wxUSE_STREAMS=no'
3885 fi
3886
3887 else
3888
3889 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3890 if test "x$LINE" != x ; then
3891 eval "DEFAULT_$LINE"
3892 else
3893 no_cache=1
3894 fi
3895
3896 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3897
3898 fi
3899
3900
3901 eval "$ac_cv_use_streams"
3902 if test "$no_cache" != 1; then
3903 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3904 fi
3905
3906 if test "$wxUSE_STREAMS" = yes; then
3907 echo "$ac_t""yes" 1>&6
3908 else
3909 echo "$ac_t""no" 1>&6
3910 fi
3911
3912
3913 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3914 echo "configure:3915: checking for --enable-file" >&5
3915 no_cache=0
3916 # Check whether --enable-file or --disable-file was given.
3917 if test "${enable_file+set}" = set; then
3918 enableval="$enable_file"
3919
3920 if test "$enableval" = yes; then
3921 ac_cv_use_file='wxUSE_FILE=yes'
3922 else
3923 ac_cv_use_file='wxUSE_FILE=no'
3924 fi
3925
3926 else
3927
3928 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3929 if test "x$LINE" != x ; then
3930 eval "DEFAULT_$LINE"
3931 else
3932 no_cache=1
3933 fi
3934
3935 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3936
3937 fi
3938
3939
3940 eval "$ac_cv_use_file"
3941 if test "$no_cache" != 1; then
3942 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3943 fi
3944
3945 if test "$wxUSE_FILE" = yes; then
3946 echo "$ac_t""yes" 1>&6
3947 else
3948 echo "$ac_t""no" 1>&6
3949 fi
3950
3951
3952 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3953 echo "configure:3954: checking for --enable-ffile" >&5
3954 no_cache=0
3955 # Check whether --enable-ffile or --disable-ffile was given.
3956 if test "${enable_ffile+set}" = set; then
3957 enableval="$enable_ffile"
3958
3959 if test "$enableval" = yes; then
3960 ac_cv_use_ffile='wxUSE_FFILE=yes'
3961 else
3962 ac_cv_use_ffile='wxUSE_FFILE=no'
3963 fi
3964
3965 else
3966
3967 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3968 if test "x$LINE" != x ; then
3969 eval "DEFAULT_$LINE"
3970 else
3971 no_cache=1
3972 fi
3973
3974 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3975
3976 fi
3977
3978
3979 eval "$ac_cv_use_ffile"
3980 if test "$no_cache" != 1; then
3981 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3982 fi
3983
3984 if test "$wxUSE_FFILE" = yes; then
3985 echo "$ac_t""yes" 1>&6
3986 else
3987 echo "$ac_t""no" 1>&6
3988 fi
3989
3990
3991 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
3992 echo "configure:3993: checking for --enable-textbuf" >&5
3993 no_cache=0
3994 # Check whether --enable-textbuf or --disable-textbuf was given.
3995 if test "${enable_textbuf+set}" = set; then
3996 enableval="$enable_textbuf"
3997
3998 if test "$enableval" = yes; then
3999 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4000 else
4001 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4002 fi
4003
4004 else
4005
4006 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4007 if test "x$LINE" != x ; then
4008 eval "DEFAULT_$LINE"
4009 else
4010 no_cache=1
4011 fi
4012
4013 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4014
4015 fi
4016
4017
4018 eval "$ac_cv_use_textbuf"
4019 if test "$no_cache" != 1; then
4020 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4021 fi
4022
4023 if test "$wxUSE_TEXTBUFFER" = yes; then
4024 echo "$ac_t""yes" 1>&6
4025 else
4026 echo "$ac_t""no" 1>&6
4027 fi
4028
4029
4030 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4031 echo "configure:4032: checking for --enable-textfile" >&5
4032 no_cache=0
4033 # Check whether --enable-textfile or --disable-textfile was given.
4034 if test "${enable_textfile+set}" = set; then
4035 enableval="$enable_textfile"
4036
4037 if test "$enableval" = yes; then
4038 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4039 else
4040 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4041 fi
4042
4043 else
4044
4045 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4046 if test "x$LINE" != x ; then
4047 eval "DEFAULT_$LINE"
4048 else
4049 no_cache=1
4050 fi
4051
4052 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4053
4054 fi
4055
4056
4057 eval "$ac_cv_use_textfile"
4058 if test "$no_cache" != 1; then
4059 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4060 fi
4061
4062 if test "$wxUSE_TEXTFILE" = yes; then
4063 echo "$ac_t""yes" 1>&6
4064 else
4065 echo "$ac_t""no" 1>&6
4066 fi
4067
4068
4069 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4070 echo "configure:4071: checking for --enable-fontmap" >&5
4071 no_cache=0
4072 # Check whether --enable-fontmap or --disable-fontmap was given.
4073 if test "${enable_fontmap+set}" = set; then
4074 enableval="$enable_fontmap"
4075
4076 if test "$enableval" = yes; then
4077 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4078 else
4079 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4080 fi
4081
4082 else
4083
4084 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4085 if test "x$LINE" != x ; then
4086 eval "DEFAULT_$LINE"
4087 else
4088 no_cache=1
4089 fi
4090
4091 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4092
4093 fi
4094
4095
4096 eval "$ac_cv_use_fontmap"
4097 if test "$no_cache" != 1; then
4098 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4099 fi
4100
4101 if test "$wxUSE_FONTMAP" = yes; then
4102 echo "$ac_t""yes" 1>&6
4103 else
4104 echo "$ac_t""no" 1>&6
4105 fi
4106
4107
4108 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4109 echo "configure:4110: checking for --enable-unicode" >&5
4110 no_cache=0
4111 # Check whether --enable-unicode or --disable-unicode was given.
4112 if test "${enable_unicode+set}" = set; then
4113 enableval="$enable_unicode"
4114
4115 if test "$enableval" = yes; then
4116 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4117 else
4118 ac_cv_use_unicode='wxUSE_UNICODE=no'
4119 fi
4120
4121 else
4122
4123 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4124 if test "x$LINE" != x ; then
4125 eval "DEFAULT_$LINE"
4126 else
4127 no_cache=1
4128 fi
4129
4130 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4131
4132 fi
4133
4134
4135 eval "$ac_cv_use_unicode"
4136 if test "$no_cache" != 1; then
4137 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4138 fi
4139
4140 if test "$wxUSE_UNICODE" = yes; then
4141 echo "$ac_t""yes" 1>&6
4142 else
4143 echo "$ac_t""no" 1>&6
4144 fi
4145
4146
4147 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4148 echo "configure:4149: checking for --enable-mslu" >&5
4149 no_cache=0
4150 # Check whether --enable-mslu or --disable-mslu was given.
4151 if test "${enable_mslu+set}" = set; then
4152 enableval="$enable_mslu"
4153
4154 if test "$enableval" = yes; then
4155 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4156 else
4157 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4158 fi
4159
4160 else
4161
4162 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4163 if test "x$LINE" != x ; then
4164 eval "DEFAULT_$LINE"
4165 else
4166 no_cache=1
4167 fi
4168
4169 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4170
4171 fi
4172
4173
4174 eval "$ac_cv_use_mslu"
4175 if test "$no_cache" != 1; then
4176 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4177 fi
4178
4179 if test "$wxUSE_UNICODE_MSLU" = yes; then
4180 echo "$ac_t""yes" 1>&6
4181 else
4182 echo "$ac_t""no" 1>&6
4183 fi
4184
4185
4186 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4187 echo "configure:4188: checking for --enable-wxprintfv" >&5
4188 no_cache=0
4189 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4190 if test "${enable_wxprintfv+set}" = set; then
4191 enableval="$enable_wxprintfv"
4192
4193 if test "$enableval" = yes; then
4194 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
4195 else
4196 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
4197 fi
4198
4199 else
4200
4201 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4202 if test "x$LINE" != x ; then
4203 eval "DEFAULT_$LINE"
4204 else
4205 no_cache=1
4206 fi
4207
4208 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4209
4210 fi
4211
4212
4213 eval "$ac_cv_use_wxprintfv"
4214 if test "$no_cache" != 1; then
4215 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4216 fi
4217
4218 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4219 echo "$ac_t""yes" 1>&6
4220 else
4221 echo "$ac_t""no" 1>&6
4222 fi
4223
4224
4225 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4226 echo "configure:4227: checking for --enable-std_iostreams" >&5
4227 no_cache=0
4228 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4229 if test "${enable_std_iostreams+set}" = set; then
4230 enableval="$enable_std_iostreams"
4231
4232 if test "$enableval" = yes; then
4233 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4234 else
4235 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4236 fi
4237
4238 else
4239
4240 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4241 if test "x$LINE" != x ; then
4242 eval "DEFAULT_$LINE"
4243 else
4244 no_cache=1
4245 fi
4246
4247 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4248
4249 fi
4250
4251
4252 eval "$ac_cv_use_std_iostreams"
4253 if test "$no_cache" != 1; then
4254 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4255 fi
4256
4257 if test "$wxUSE_STD_IOSTREAM" = yes; then
4258 echo "$ac_t""yes" 1>&6
4259 else
4260 echo "$ac_t""no" 1>&6
4261 fi
4262
4263
4264 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4265 echo "configure:4266: checking for --enable-filesystem" >&5
4266 no_cache=0
4267 # Check whether --enable-filesystem or --disable-filesystem was given.
4268 if test "${enable_filesystem+set}" = set; then
4269 enableval="$enable_filesystem"
4270
4271 if test "$enableval" = yes; then
4272 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4273 else
4274 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4275 fi
4276
4277 else
4278
4279 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4280 if test "x$LINE" != x ; then
4281 eval "DEFAULT_$LINE"
4282 else
4283 no_cache=1
4284 fi
4285
4286 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4287
4288 fi
4289
4290
4291 eval "$ac_cv_use_filesystem"
4292 if test "$no_cache" != 1; then
4293 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4294 fi
4295
4296 if test "$wxUSE_FILESYSTEM" = yes; then
4297 echo "$ac_t""yes" 1>&6
4298 else
4299 echo "$ac_t""no" 1>&6
4300 fi
4301
4302
4303 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4304 echo "configure:4305: checking for --enable-fs_inet" >&5
4305 no_cache=0
4306 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4307 if test "${enable_fs_inet+set}" = set; then
4308 enableval="$enable_fs_inet"
4309
4310 if test "$enableval" = yes; then
4311 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4312 else
4313 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4314 fi
4315
4316 else
4317
4318 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4319 if test "x$LINE" != x ; then
4320 eval "DEFAULT_$LINE"
4321 else
4322 no_cache=1
4323 fi
4324
4325 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4326
4327 fi
4328
4329
4330 eval "$ac_cv_use_fs_inet"
4331 if test "$no_cache" != 1; then
4332 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4333 fi
4334
4335 if test "$wxUSE_FS_INET" = yes; then
4336 echo "$ac_t""yes" 1>&6
4337 else
4338 echo "$ac_t""no" 1>&6
4339 fi
4340
4341
4342 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4343 echo "configure:4344: checking for --enable-fs_zip" >&5
4344 no_cache=0
4345 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4346 if test "${enable_fs_zip+set}" = set; then
4347 enableval="$enable_fs_zip"
4348
4349 if test "$enableval" = yes; then
4350 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4351 else
4352 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4353 fi
4354
4355 else
4356
4357 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4358 if test "x$LINE" != x ; then
4359 eval "DEFAULT_$LINE"
4360 else
4361 no_cache=1
4362 fi
4363
4364 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4365
4366 fi
4367
4368
4369 eval "$ac_cv_use_fs_zip"
4370 if test "$no_cache" != 1; then
4371 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4372 fi
4373
4374 if test "$wxUSE_FS_ZIP" = yes; then
4375 echo "$ac_t""yes" 1>&6
4376 else
4377 echo "$ac_t""no" 1>&6
4378 fi
4379
4380
4381 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4382 echo "configure:4383: checking for --enable-zipstream" >&5
4383 no_cache=0
4384 # Check whether --enable-zipstream or --disable-zipstream was given.
4385 if test "${enable_zipstream+set}" = set; then
4386 enableval="$enable_zipstream"
4387
4388 if test "$enableval" = yes; then
4389 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
4390 else
4391 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
4392 fi
4393
4394 else
4395
4396 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4397 if test "x$LINE" != x ; then
4398 eval "DEFAULT_$LINE"
4399 else
4400 no_cache=1
4401 fi
4402
4403 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4404
4405 fi
4406
4407
4408 eval "$ac_cv_use_zipstream"
4409 if test "$no_cache" != 1; then
4410 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4411 fi
4412
4413 if test "$wxUSE_ZIPSTREAM" = yes; then
4414 echo "$ac_t""yes" 1>&6
4415 else
4416 echo "$ac_t""no" 1>&6
4417 fi
4418
4419
4420
4421 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4422 echo "configure:4423: checking for --enable-catch_segvs" >&5
4423 no_cache=0
4424 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4425 if test "${enable_catch_segvs+set}" = set; then
4426 enableval="$enable_catch_segvs"
4427
4428 if test "$enableval" = yes; then
4429 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4430 else
4431 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4432 fi
4433
4434 else
4435
4436 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4437 if test "x$LINE" != x ; then
4438 eval "DEFAULT_$LINE"
4439 else
4440 no_cache=1
4441 fi
4442
4443 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4444
4445 fi
4446
4447
4448 eval "$ac_cv_use_catch_segvs"
4449 if test "$no_cache" != 1; then
4450 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4451 fi
4452
4453 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4454 echo "$ac_t""yes" 1>&6
4455 else
4456 echo "$ac_t""no" 1>&6
4457 fi
4458
4459
4460 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4461 echo "configure:4462: checking for --enable-snglinst" >&5
4462 no_cache=0
4463 # Check whether --enable-snglinst or --disable-snglinst was given.
4464 if test "${enable_snglinst+set}" = set; then
4465 enableval="$enable_snglinst"
4466
4467 if test "$enableval" = yes; then
4468 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
4469 else
4470 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
4471 fi
4472
4473 else
4474
4475 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4476 if test "x$LINE" != x ; then
4477 eval "DEFAULT_$LINE"
4478 else
4479 no_cache=1
4480 fi
4481
4482 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4483
4484 fi
4485
4486
4487 eval "$ac_cv_use_snglinst"
4488 if test "$no_cache" != 1; then
4489 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4490 fi
4491
4492 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4493 echo "$ac_t""yes" 1>&6
4494 else
4495 echo "$ac_t""no" 1>&6
4496 fi
4497
4498
4499
4500 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4501 echo "configure:4502: checking for --enable-mimetype" >&5
4502 no_cache=0
4503 # Check whether --enable-mimetype or --disable-mimetype was given.
4504 if test "${enable_mimetype+set}" = set; then
4505 enableval="$enable_mimetype"
4506
4507 if test "$enableval" = yes; then
4508 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
4509 else
4510 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
4511 fi
4512
4513 else
4514
4515 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4516 if test "x$LINE" != x ; then
4517 eval "DEFAULT_$LINE"
4518 else
4519 no_cache=1
4520 fi
4521
4522 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4523
4524 fi
4525
4526
4527 eval "$ac_cv_use_mimetype"
4528 if test "$no_cache" != 1; then
4529 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4530 fi
4531
4532 if test "$wxUSE_MIMETYPE" = yes; then
4533 echo "$ac_t""yes" 1>&6
4534 else
4535 echo "$ac_t""no" 1>&6
4536 fi
4537
4538
4539 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4540 echo "configure:4541: checking for --enable-system_options" >&5
4541 no_cache=0
4542 # Check whether --enable-system_options or --disable-system_options was given.
4543 if test "${enable_system_options+set}" = set; then
4544 enableval="$enable_system_options"
4545
4546 if test "$enableval" = yes; then
4547 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
4548 else
4549 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
4550 fi
4551
4552 else
4553
4554 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4555 if test "x$LINE" != x ; then
4556 eval "DEFAULT_$LINE"
4557 else
4558 no_cache=1
4559 fi
4560
4561 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4562
4563 fi
4564
4565
4566 eval "$ac_cv_use_system_options"
4567 if test "$no_cache" != 1; then
4568 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4569 fi
4570
4571 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4572 echo "$ac_t""yes" 1>&6
4573 else
4574 echo "$ac_t""no" 1>&6
4575 fi
4576
4577
4578
4579 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4580 echo "configure:4581: checking for --enable-url" >&5
4581 no_cache=0
4582 # Check whether --enable-url or --disable-url was given.
4583 if test "${enable_url+set}" = set; then
4584 enableval="$enable_url"
4585
4586 if test "$enableval" = yes; then
4587 ac_cv_use_url='wxUSE_URL=yes'
4588 else
4589 ac_cv_use_url='wxUSE_URL=no'
4590 fi
4591
4592 else
4593
4594 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4595 if test "x$LINE" != x ; then
4596 eval "DEFAULT_$LINE"
4597 else
4598 no_cache=1
4599 fi
4600
4601 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
4602
4603 fi
4604
4605
4606 eval "$ac_cv_use_url"
4607 if test "$no_cache" != 1; then
4608 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4609 fi
4610
4611 if test "$wxUSE_URL" = yes; then
4612 echo "$ac_t""yes" 1>&6
4613 else
4614 echo "$ac_t""no" 1>&6
4615 fi
4616
4617
4618 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4619 echo "configure:4620: checking for --enable-protocol" >&5
4620 no_cache=0
4621 # Check whether --enable-protocol or --disable-protocol was given.
4622 if test "${enable_protocol+set}" = set; then
4623 enableval="$enable_protocol"
4624
4625 if test "$enableval" = yes; then
4626 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
4627 else
4628 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
4629 fi
4630
4631 else
4632
4633 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4634 if test "x$LINE" != x ; then
4635 eval "DEFAULT_$LINE"
4636 else
4637 no_cache=1
4638 fi
4639
4640 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4641
4642 fi
4643
4644
4645 eval "$ac_cv_use_protocol"
4646 if test "$no_cache" != 1; then
4647 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4648 fi
4649
4650 if test "$wxUSE_PROTOCOL" = yes; then
4651 echo "$ac_t""yes" 1>&6
4652 else
4653 echo "$ac_t""no" 1>&6
4654 fi
4655
4656
4657 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4658 echo "configure:4659: checking for --enable-protocol_http" >&5
4659 no_cache=0
4660 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4661 if test "${enable_protocol_http+set}" = set; then
4662 enableval="$enable_protocol_http"
4663
4664 if test "$enableval" = yes; then
4665 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
4666 else
4667 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
4668 fi
4669
4670 else
4671
4672 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4673 if test "x$LINE" != x ; then
4674 eval "DEFAULT_$LINE"
4675 else
4676 no_cache=1
4677 fi
4678
4679 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4680
4681 fi
4682
4683
4684 eval "$ac_cv_use_protocol_http"
4685 if test "$no_cache" != 1; then
4686 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4687 fi
4688
4689 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4690 echo "$ac_t""yes" 1>&6
4691 else
4692 echo "$ac_t""no" 1>&6
4693 fi
4694
4695
4696 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4697 echo "configure:4698: checking for --enable-protocol_ftp" >&5
4698 no_cache=0
4699 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4700 if test "${enable_protocol_ftp+set}" = set; then
4701 enableval="$enable_protocol_ftp"
4702
4703 if test "$enableval" = yes; then
4704 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
4705 else
4706 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
4707 fi
4708
4709 else
4710
4711 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4712 if test "x$LINE" != x ; then
4713 eval "DEFAULT_$LINE"
4714 else
4715 no_cache=1
4716 fi
4717
4718 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4719
4720 fi
4721
4722
4723 eval "$ac_cv_use_protocol_ftp"
4724 if test "$no_cache" != 1; then
4725 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4726 fi
4727
4728 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4729 echo "$ac_t""yes" 1>&6
4730 else
4731 echo "$ac_t""no" 1>&6
4732 fi
4733
4734
4735 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4736 echo "configure:4737: checking for --enable-protocol_file" >&5
4737 no_cache=0
4738 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4739 if test "${enable_protocol_file+set}" = set; then
4740 enableval="$enable_protocol_file"
4741
4742 if test "$enableval" = yes; then
4743 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
4744 else
4745 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
4746 fi
4747
4748 else
4749
4750 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4751 if test "x$LINE" != x ; then
4752 eval "DEFAULT_$LINE"
4753 else
4754 no_cache=1
4755 fi
4756
4757 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4758
4759 fi
4760
4761
4762 eval "$ac_cv_use_protocol_file"
4763 if test "$no_cache" != 1; then
4764 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4765 fi
4766
4767 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4768 echo "$ac_t""yes" 1>&6
4769 else
4770 echo "$ac_t""no" 1>&6
4771 fi
4772
4773
4774
4775
4776
4777 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4778 echo "configure:4779: checking for --enable-threads" >&5
4779 no_cache=0
4780 # Check whether --enable-threads or --disable-threads was given.
4781 if test "${enable_threads+set}" = set; then
4782 enableval="$enable_threads"
4783
4784 if test "$enableval" = yes; then
4785 ac_cv_use_threads='wxUSE_THREADS=yes'
4786 else
4787 ac_cv_use_threads='wxUSE_THREADS=no'
4788 fi
4789
4790 else
4791
4792 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4793 if test "x$LINE" != x ; then
4794 eval "DEFAULT_$LINE"
4795 else
4796 no_cache=1
4797 fi
4798
4799 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4800
4801 fi
4802
4803
4804 eval "$ac_cv_use_threads"
4805 if test "$no_cache" != 1; then
4806 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4807 fi
4808
4809 if test "$wxUSE_THREADS" = yes; then
4810 echo "$ac_t""yes" 1>&6
4811 else
4812 echo "$ac_t""no" 1>&6
4813 fi
4814
4815
4816 if test "$wxUSE_GUI" = "yes"; then
4817
4818
4819
4820 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4821 echo "configure:4822: checking for --enable-docview" >&5
4822 no_cache=0
4823 # Check whether --enable-docview or --disable-docview was given.
4824 if test "${enable_docview+set}" = set; then
4825 enableval="$enable_docview"
4826
4827 if test "$enableval" = yes; then
4828 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4829 else
4830 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4831 fi
4832
4833 else
4834
4835 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4836 if test "x$LINE" != x ; then
4837 eval "DEFAULT_$LINE"
4838 else
4839 no_cache=1
4840 fi
4841
4842 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4843
4844 fi
4845
4846
4847 eval "$ac_cv_use_docview"
4848 if test "$no_cache" != 1; then
4849 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4850 fi
4851
4852 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4853 echo "$ac_t""yes" 1>&6
4854 else
4855 echo "$ac_t""no" 1>&6
4856 fi
4857
4858
4859 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4860 echo "configure:4861: checking for --enable-help" >&5
4861 no_cache=0
4862 # Check whether --enable-help or --disable-help was given.
4863 if test "${enable_help+set}" = set; then
4864 enableval="$enable_help"
4865
4866 if test "$enableval" = yes; then
4867 ac_cv_use_help='wxUSE_HELP=yes'
4868 else
4869 ac_cv_use_help='wxUSE_HELP=no'
4870 fi
4871
4872 else
4873
4874 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4875 if test "x$LINE" != x ; then
4876 eval "DEFAULT_$LINE"
4877 else
4878 no_cache=1
4879 fi
4880
4881 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4882
4883 fi
4884
4885
4886 eval "$ac_cv_use_help"
4887 if test "$no_cache" != 1; then
4888 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4889 fi
4890
4891 if test "$wxUSE_HELP" = yes; then
4892 echo "$ac_t""yes" 1>&6
4893 else
4894 echo "$ac_t""no" 1>&6
4895 fi
4896
4897
4898 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4899 echo "configure:4900: checking for --enable-mshtmlhelp" >&5
4900 no_cache=0
4901 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4902 if test "${enable_mshtmlhelp+set}" = set; then
4903 enableval="$enable_mshtmlhelp"
4904
4905 if test "$enableval" = yes; then
4906 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
4907 else
4908 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
4909 fi
4910
4911 else
4912
4913 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4914 if test "x$LINE" != x ; then
4915 eval "DEFAULT_$LINE"
4916 else
4917 no_cache=1
4918 fi
4919
4920 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4921
4922 fi
4923
4924
4925 eval "$ac_cv_use_mshtmlhelp"
4926 if test "$no_cache" != 1; then
4927 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4928 fi
4929
4930 if test "$wxUSE_MS_HTML_HELP" = yes; then
4931 echo "$ac_t""yes" 1>&6
4932 else
4933 echo "$ac_t""no" 1>&6
4934 fi
4935
4936
4937 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4938 echo "configure:4939: checking for --enable-html" >&5
4939 no_cache=0
4940 # Check whether --enable-html or --disable-html was given.
4941 if test "${enable_html+set}" = set; then
4942 enableval="$enable_html"
4943
4944 if test "$enableval" = yes; then
4945 ac_cv_use_html='wxUSE_HTML=yes'
4946 else
4947 ac_cv_use_html='wxUSE_HTML=no'
4948 fi
4949
4950 else
4951
4952 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4953 if test "x$LINE" != x ; then
4954 eval "DEFAULT_$LINE"
4955 else
4956 no_cache=1
4957 fi
4958
4959 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4960
4961 fi
4962
4963
4964 eval "$ac_cv_use_html"
4965 if test "$no_cache" != 1; then
4966 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4967 fi
4968
4969 if test "$wxUSE_HTML" = yes; then
4970 echo "$ac_t""yes" 1>&6
4971 else
4972 echo "$ac_t""no" 1>&6
4973 fi
4974
4975
4976 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4977 echo "configure:4978: checking for --enable-htmlhelp" >&5
4978 no_cache=0
4979 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4980 if test "${enable_htmlhelp+set}" = set; then
4981 enableval="$enable_htmlhelp"
4982
4983 if test "$enableval" = yes; then
4984 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
4985 else
4986 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
4987 fi
4988
4989 else
4990
4991 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4992 if test "x$LINE" != x ; then
4993 eval "DEFAULT_$LINE"
4994 else
4995 no_cache=1
4996 fi
4997
4998 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4999
5000 fi
5001
5002
5003 eval "$ac_cv_use_htmlhelp"
5004 if test "$no_cache" != 1; then
5005 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5006 fi
5007
5008 if test "$wxUSE_WXHTML_HELP" = yes; then
5009 echo "$ac_t""yes" 1>&6
5010 else
5011 echo "$ac_t""no" 1>&6
5012 fi
5013
5014
5015 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
5016 echo "configure:5017: checking for --enable-constraints" >&5
5017 no_cache=0
5018 # Check whether --enable-constraints or --disable-constraints was given.
5019 if test "${enable_constraints+set}" = set; then
5020 enableval="$enable_constraints"
5021
5022 if test "$enableval" = yes; then
5023 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5024 else
5025 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5026 fi
5027
5028 else
5029
5030 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5031 if test "x$LINE" != x ; then
5032 eval "DEFAULT_$LINE"
5033 else
5034 no_cache=1
5035 fi
5036
5037 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5038
5039 fi
5040
5041
5042 eval "$ac_cv_use_constraints"
5043 if test "$no_cache" != 1; then
5044 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5045 fi
5046
5047 if test "$wxUSE_CONSTRAINTS" = yes; then
5048 echo "$ac_t""yes" 1>&6
5049 else
5050 echo "$ac_t""no" 1>&6
5051 fi
5052
5053
5054 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5055 echo "configure:5056: checking for --enable-printarch" >&5
5056 no_cache=0
5057 # Check whether --enable-printarch or --disable-printarch was given.
5058 if test "${enable_printarch+set}" = set; then
5059 enableval="$enable_printarch"
5060
5061 if test "$enableval" = yes; then
5062 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5063 else
5064 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5065 fi
5066
5067 else
5068
5069 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5070 if test "x$LINE" != x ; then
5071 eval "DEFAULT_$LINE"
5072 else
5073 no_cache=1
5074 fi
5075
5076 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5077
5078 fi
5079
5080
5081 eval "$ac_cv_use_printarch"
5082 if test "$no_cache" != 1; then
5083 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5084 fi
5085
5086 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5087 echo "$ac_t""yes" 1>&6
5088 else
5089 echo "$ac_t""no" 1>&6
5090 fi
5091
5092
5093 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5094 echo "configure:5095: checking for --enable-mdi" >&5
5095 no_cache=0
5096 # Check whether --enable-mdi or --disable-mdi was given.
5097 if test "${enable_mdi+set}" = set; then
5098 enableval="$enable_mdi"
5099
5100 if test "$enableval" = yes; then
5101 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
5102 else
5103 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
5104 fi
5105
5106 else
5107
5108 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5109 if test "x$LINE" != x ; then
5110 eval "DEFAULT_$LINE"
5111 else
5112 no_cache=1
5113 fi
5114
5115 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5116
5117 fi
5118
5119
5120 eval "$ac_cv_use_mdi"
5121 if test "$no_cache" != 1; then
5122 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5123 fi
5124
5125 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5126 echo "$ac_t""yes" 1>&6
5127 else
5128 echo "$ac_t""no" 1>&6
5129 fi
5130
5131
5132 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5133 echo "configure:5134: checking for --enable-loggui" >&5
5134 no_cache=0
5135 # Check whether --enable-loggui or --disable-loggui was given.
5136 if test "${enable_loggui+set}" = set; then
5137 enableval="$enable_loggui"
5138
5139 if test "$enableval" = yes; then
5140 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
5141 else
5142 ac_cv_use_loggui='wxUSE_LOGGUI=no'
5143 fi
5144
5145 else
5146
5147 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5148 if test "x$LINE" != x ; then
5149 eval "DEFAULT_$LINE"
5150 else
5151 no_cache=1
5152 fi
5153
5154 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5155
5156 fi
5157
5158
5159 eval "$ac_cv_use_loggui"
5160 if test "$no_cache" != 1; then
5161 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5162 fi
5163
5164 if test "$wxUSE_LOGGUI" = yes; then
5165 echo "$ac_t""yes" 1>&6
5166 else
5167 echo "$ac_t""no" 1>&6
5168 fi
5169
5170
5171 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5172 echo "configure:5173: checking for --enable-logwin" >&5
5173 no_cache=0
5174 # Check whether --enable-logwin or --disable-logwin was given.
5175 if test "${enable_logwin+set}" = set; then
5176 enableval="$enable_logwin"
5177
5178 if test "$enableval" = yes; then
5179 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
5180 else
5181 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
5182 fi
5183
5184 else
5185
5186 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5187 if test "x$LINE" != x ; then
5188 eval "DEFAULT_$LINE"
5189 else
5190 no_cache=1
5191 fi
5192
5193 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5194
5195 fi
5196
5197
5198 eval "$ac_cv_use_logwin"
5199 if test "$no_cache" != 1; then
5200 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5201 fi
5202
5203 if test "$wxUSE_LOGWINDOW" = yes; then
5204 echo "$ac_t""yes" 1>&6
5205 else
5206 echo "$ac_t""no" 1>&6
5207 fi
5208
5209
5210 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5211 echo "configure:5212: checking for --enable-logdialog" >&5
5212 no_cache=0
5213 # Check whether --enable-logdialog or --disable-logdialog was given.
5214 if test "${enable_logdialog+set}" = set; then
5215 enableval="$enable_logdialog"
5216
5217 if test "$enableval" = yes; then
5218 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
5219 else
5220 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
5221 fi
5222
5223 else
5224
5225 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5226 if test "x$LINE" != x ; then
5227 eval "DEFAULT_$LINE"
5228 else
5229 no_cache=1
5230 fi
5231
5232 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5233
5234 fi
5235
5236
5237 eval "$ac_cv_use_logdialog"
5238 if test "$no_cache" != 1; then
5239 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5240 fi
5241
5242 if test "$wxUSE_LOGDIALOG" = yes; then
5243 echo "$ac_t""yes" 1>&6
5244 else
5245 echo "$ac_t""no" 1>&6
5246 fi
5247
5248
5249
5250 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5251 echo "configure:5252: checking for --enable-postscript" >&5
5252 no_cache=0
5253 # Check whether --enable-postscript or --disable-postscript was given.
5254 if test "${enable_postscript+set}" = set; then
5255 enableval="$enable_postscript"
5256
5257 if test "$enableval" = yes; then
5258 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
5259 else
5260 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
5261 fi
5262
5263 else
5264
5265 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5266 if test "x$LINE" != x ; then
5267 eval "DEFAULT_$LINE"
5268 else
5269 no_cache=1
5270 fi
5271
5272 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5273
5274 fi
5275
5276
5277 eval "$ac_cv_use_postscript"
5278 if test "$no_cache" != 1; then
5279 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5280 fi
5281
5282 if test "$wxUSE_POSTSCRIPT" = yes; then
5283 echo "$ac_t""yes" 1>&6
5284 else
5285 echo "$ac_t""no" 1>&6
5286 fi
5287
5288
5289
5290
5291
5292 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5293 echo "configure:5294: checking for --enable-prologio" >&5
5294 no_cache=0
5295 # Check whether --enable-prologio or --disable-prologio was given.
5296 if test "${enable_prologio+set}" = set; then
5297 enableval="$enable_prologio"
5298
5299 if test "$enableval" = yes; then
5300 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
5301 else
5302 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
5303 fi
5304
5305 else
5306
5307 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5308 if test "x$LINE" != x ; then
5309 eval "DEFAULT_$LINE"
5310 else
5311 no_cache=1
5312 fi
5313
5314 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5315
5316 fi
5317
5318
5319 eval "$ac_cv_use_prologio"
5320 if test "$no_cache" != 1; then
5321 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5322 fi
5323
5324 if test "$wxUSE_PROLOGIO" = yes; then
5325 echo "$ac_t""yes" 1>&6
5326 else
5327 echo "$ac_t""no" 1>&6
5328 fi
5329
5330
5331 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5332 echo "configure:5333: checking for --enable-resources" >&5
5333 no_cache=0
5334 # Check whether --enable-resources or --disable-resources was given.
5335 if test "${enable_resources+set}" = set; then
5336 enableval="$enable_resources"
5337
5338 if test "$enableval" = yes; then
5339 ac_cv_use_resources='wxUSE_RESOURCES=yes'
5340 else
5341 ac_cv_use_resources='wxUSE_RESOURCES=no'
5342 fi
5343
5344 else
5345
5346 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5347 if test "x$LINE" != x ; then
5348 eval "DEFAULT_$LINE"
5349 else
5350 no_cache=1
5351 fi
5352
5353 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5354
5355 fi
5356
5357
5358 eval "$ac_cv_use_resources"
5359 if test "$no_cache" != 1; then
5360 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5361 fi
5362
5363 if test "$wxUSE_RESOURCES" = yes; then
5364 echo "$ac_t""yes" 1>&6
5365 else
5366 echo "$ac_t""no" 1>&6
5367 fi
5368
5369
5370
5371 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5372 echo "configure:5373: checking for --enable-xresources" >&5
5373 no_cache=0
5374 # Check whether --enable-xresources or --disable-xresources was given.
5375 if test "${enable_xresources+set}" = set; then
5376 enableval="$enable_xresources"
5377
5378 if test "$enableval" = yes; then
5379 ac_cv_use_xresources='wxUSE_X_RESOURCES=yes'
5380 else
5381 ac_cv_use_xresources='wxUSE_X_RESOURCES=no'
5382 fi
5383
5384 else
5385
5386 LINE=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5387 if test "x$LINE" != x ; then
5388 eval "DEFAULT_$LINE"
5389 else
5390 no_cache=1
5391 fi
5392
5393 ac_cv_use_xresources='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5394
5395 fi
5396
5397
5398 eval "$ac_cv_use_xresources"
5399 if test "$no_cache" != 1; then
5400 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5401 fi
5402
5403 if test "$wxUSE_X_RESOURCES" = yes; then
5404 echo "$ac_t""yes" 1>&6
5405 else
5406 echo "$ac_t""no" 1>&6
5407 fi
5408
5409
5410
5411
5412 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5413 echo "configure:5414: checking for --enable-clipboard" >&5
5414 no_cache=0
5415 # Check whether --enable-clipboard or --disable-clipboard was given.
5416 if test "${enable_clipboard+set}" = set; then
5417 enableval="$enable_clipboard"
5418
5419 if test "$enableval" = yes; then
5420 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
5421 else
5422 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
5423 fi
5424
5425 else
5426
5427 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5428 if test "x$LINE" != x ; then
5429 eval "DEFAULT_$LINE"
5430 else
5431 no_cache=1
5432 fi
5433
5434 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5435
5436 fi
5437
5438
5439 eval "$ac_cv_use_clipboard"
5440 if test "$no_cache" != 1; then
5441 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5442 fi
5443
5444 if test "$wxUSE_CLIPBOARD" = yes; then
5445 echo "$ac_t""yes" 1>&6
5446 else
5447 echo "$ac_t""no" 1>&6
5448 fi
5449
5450
5451 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5452 echo "configure:5453: checking for --enable-dnd" >&5
5453 no_cache=0
5454 # Check whether --enable-dnd or --disable-dnd was given.
5455 if test "${enable_dnd+set}" = set; then
5456 enableval="$enable_dnd"
5457
5458 if test "$enableval" = yes; then
5459 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
5460 else
5461 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
5462 fi
5463
5464 else
5465
5466 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5467 if test "x$LINE" != x ; then
5468 eval "DEFAULT_$LINE"
5469 else
5470 no_cache=1
5471 fi
5472
5473 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5474
5475 fi
5476
5477
5478 eval "$ac_cv_use_dnd"
5479 if test "$no_cache" != 1; then
5480 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5481 fi
5482
5483 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5484 echo "$ac_t""yes" 1>&6
5485 else
5486 echo "$ac_t""no" 1>&6
5487 fi
5488
5489
5490 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5491 echo "configure:5492: checking for --enable-metafile" >&5
5492 no_cache=0
5493 # Check whether --enable-metafile or --disable-metafile was given.
5494 if test "${enable_metafile+set}" = set; then
5495 enableval="$enable_metafile"
5496
5497 if test "$enableval" = yes; then
5498 ac_cv_use_metafile='wxUSE_METAFILE=yes'
5499 else
5500 ac_cv_use_metafile='wxUSE_METAFILE=no'
5501 fi
5502
5503 else
5504
5505 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5506 if test "x$LINE" != x ; then
5507 eval "DEFAULT_$LINE"
5508 else
5509 no_cache=1
5510 fi
5511
5512 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5513
5514 fi
5515
5516
5517 eval "$ac_cv_use_metafile"
5518 if test "$no_cache" != 1; then
5519 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5520 fi
5521
5522 if test "$wxUSE_METAFILE" = yes; then
5523 echo "$ac_t""yes" 1>&6
5524 else
5525 echo "$ac_t""no" 1>&6
5526 fi
5527
5528
5529
5530 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5531 echo "configure:5532: checking for --enable-treelayout" >&5
5532 no_cache=0
5533 # Check whether --enable-treelayout or --disable-treelayout was given.
5534 if test "${enable_treelayout+set}" = set; then
5535 enableval="$enable_treelayout"
5536
5537 if test "$enableval" = yes; then
5538 ac_cv_use_treelayout='wxUSE_TREELAYOUT=yes'
5539 else
5540 ac_cv_use_treelayout='wxUSE_TREELAYOUT=no'
5541 fi
5542
5543 else
5544
5545 LINE=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5546 if test "x$LINE" != x ; then
5547 eval "DEFAULT_$LINE"
5548 else
5549 no_cache=1
5550 fi
5551
5552 ac_cv_use_treelayout='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5553
5554 fi
5555
5556
5557 eval "$ac_cv_use_treelayout"
5558 if test "$no_cache" != 1; then
5559 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5560 fi
5561
5562 if test "$wxUSE_TREELAYOUT" = yes; then
5563 echo "$ac_t""yes" 1>&6
5564 else
5565 echo "$ac_t""no" 1>&6
5566 fi
5567
5568
5569
5570
5571 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5572 echo "configure:5573: checking for --enable-controls" >&5
5573 no_cache=0
5574 # Check whether --enable-controls or --disable-controls was given.
5575 if test "${enable_controls+set}" = set; then
5576 enableval="$enable_controls"
5577
5578 if test "$enableval" = yes; then
5579 ac_cv_use_controls='wxUSE_CONTROLS=yes'
5580 else
5581 ac_cv_use_controls='wxUSE_CONTROLS=no'
5582 fi
5583
5584 else
5585
5586 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5587 if test "x$LINE" != x ; then
5588 eval "DEFAULT_$LINE"
5589 else
5590 no_cache=1
5591 fi
5592
5593 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5594
5595 fi
5596
5597
5598 eval "$ac_cv_use_controls"
5599 if test "$no_cache" != 1; then
5600 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5601 fi
5602
5603 if test "$wxUSE_CONTROLS" = yes; then
5604 echo "$ac_t""yes" 1>&6
5605 else
5606 echo "$ac_t""no" 1>&6
5607 fi
5608
5609
5610 if test "$wxUSE_CONTROLS" = "yes"; then
5611 DEFAULT_wxUSE_ACCEL=yes
5612 DEFAULT_wxUSE_BMPBUTTON=yes
5613 DEFAULT_wxUSE_BUTTON=yes
5614 DEFAULT_wxUSE_CALCTRL=no
5615 DEFAULT_wxUSE_CARET=yes
5616 DEFAULT_wxUSE_COMBOBOX=yes
5617 DEFAULT_wxUSE_CHECKBOX=yes
5618 DEFAULT_wxUSE_CHECKLISTBOX=yes
5619 DEFAULT_wxUSE_CHOICE=yes
5620 DEFAULT_wxUSE_GAUGE=yes
5621 DEFAULT_wxUSE_GRID=yes
5622 DEFAULT_wxUSE_NEW_GRID=yes
5623 DEFAULT_wxUSE_IMAGLIST=yes
5624 DEFAULT_wxUSE_LISTBOX=yes
5625 DEFAULT_wxUSE_LISTCTRL=yes
5626 DEFAULT_wxUSE_NOTEBOOK=yes
5627 DEFAULT_wxUSE_PROPSHEET=yes
5628 DEFAULT_wxUSE_RADIOBOX=yes
5629 DEFAULT_wxUSE_RADIOBTN=yes
5630 DEFAULT_wxUSE_SASH=yes
5631 DEFAULT_wxUSE_SCROLLBAR=yes
5632 DEFAULT_wxUSE_SLIDER=yes
5633 DEFAULT_wxUSE_SPINBTN=yes
5634 DEFAULT_wxUSE_SPINCTRL=yes
5635 DEFAULT_wxUSE_SPLITTER=yes
5636 DEFAULT_wxUSE_STATBMP=yes
5637 DEFAULT_wxUSE_STATBOX=yes
5638 DEFAULT_wxUSE_STATLINE=yes
5639 DEFAULT_wxUSE_STATUSBAR=yes
5640 DEFAULT_wxUSE_TAB_DIALOG=yes
5641 DEFAULT_wxUSE_TOGGLEBTN=yes
5642 DEFAULT_wxUSE_TOOLBAR=yes
5643 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
5644 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
5645 DEFAULT_wxUSE_TOOLTIPS=yes
5646 DEFAULT_wxUSE_TREECTRL=yes
5647 DEFAULT_wxUSE_POPUPWIN=yes
5648 DEFAULT_wxUSE_TIPWINDOW=yes
5649 elif test "$wxUSE_CONTROLS" = "no"; then
5650 DEFAULT_wxUSE_ACCEL=no
5651 DEFAULT_wxUSE_BMPBUTTON=no
5652 DEFAULT_wxUSE_BUTTON=no
5653 DEFAULT_wxUSE_CALCTRL=no
5654 DEFAULT_wxUSE_CARET=no
5655 DEFAULT_wxUSE_COMBOBOX=no
5656 DEFAULT_wxUSE_CHECKBOX=no
5657 DEFAULT_wxUSE_CHECKLISTBOX=no
5658 DEFAULT_wxUSE_CHOICE=no
5659 DEFAULT_wxUSE_GAUGE=no
5660 DEFAULT_wxUSE_GRID=no
5661 DEFAULT_wxUSE_NEW_GRID=no
5662 DEFAULT_wxUSE_IMAGLIST=no
5663 DEFAULT_wxUSE_LISTBOX=no
5664 DEFAULT_wxUSE_LISTCTRL=no
5665 DEFAULT_wxUSE_NOTEBOOK=no
5666 DEFAULT_wxUSE_PROPSHEET=no
5667 DEFAULT_wxUSE_RADIOBOX=no
5668 DEFAULT_wxUSE_RADIOBTN=no
5669 DEFAULT_wxUSE_SASH=no
5670 DEFAULT_wxUSE_SCROLLBAR=no
5671 DEFAULT_wxUSE_SLIDER=no
5672 DEFAULT_wxUSE_SPINBTN=no
5673 DEFAULT_wxUSE_SPINCTRL=no
5674 DEFAULT_wxUSE_SPLITTER=no
5675 DEFAULT_wxUSE_STATBMP=no
5676 DEFAULT_wxUSE_STATBOX=no
5677 DEFAULT_wxUSE_STATLINE=no
5678 DEFAULT_wxUSE_STATUSBAR=no
5679 DEFAULT_wxUSE_TAB_DIALOG=no
5680 DEFAULT_wxUSE_TOGGLEBTN=no
5681 DEFAULT_wxUSE_TOOLBAR=no
5682 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
5683 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
5684 DEFAULT_wxUSE_TOOLTIPS=no
5685 DEFAULT_wxUSE_TREECTRL=no
5686 DEFAULT_wxUSE_POPUPWIN=no
5687 DEFAULT_wxUSE_TIPWINDOW=no
5688 fi
5689
5690
5691 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5692 echo "configure:5693: checking for --enable-accel" >&5
5693 no_cache=0
5694 # Check whether --enable-accel or --disable-accel was given.
5695 if test "${enable_accel+set}" = set; then
5696 enableval="$enable_accel"
5697
5698 if test "$enableval" = yes; then
5699 ac_cv_use_accel='wxUSE_ACCEL=yes'
5700 else
5701 ac_cv_use_accel='wxUSE_ACCEL=no'
5702 fi
5703
5704 else
5705
5706 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5707 if test "x$LINE" != x ; then
5708 eval "DEFAULT_$LINE"
5709 else
5710 no_cache=1
5711 fi
5712
5713 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5714
5715 fi
5716
5717
5718 eval "$ac_cv_use_accel"
5719 if test "$no_cache" != 1; then
5720 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5721 fi
5722
5723 if test "$wxUSE_ACCEL" = yes; then
5724 echo "$ac_t""yes" 1>&6
5725 else
5726 echo "$ac_t""no" 1>&6
5727 fi
5728
5729
5730 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5731 echo "configure:5732: checking for --enable-button" >&5
5732 no_cache=0
5733 # Check whether --enable-button or --disable-button was given.
5734 if test "${enable_button+set}" = set; then
5735 enableval="$enable_button"
5736
5737 if test "$enableval" = yes; then
5738 ac_cv_use_button='wxUSE_BUTTON=yes'
5739 else
5740 ac_cv_use_button='wxUSE_BUTTON=no'
5741 fi
5742
5743 else
5744
5745 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5746 if test "x$LINE" != x ; then
5747 eval "DEFAULT_$LINE"
5748 else
5749 no_cache=1
5750 fi
5751
5752 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5753
5754 fi
5755
5756
5757 eval "$ac_cv_use_button"
5758 if test "$no_cache" != 1; then
5759 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5760 fi
5761
5762 if test "$wxUSE_BUTTON" = yes; then
5763 echo "$ac_t""yes" 1>&6
5764 else
5765 echo "$ac_t""no" 1>&6
5766 fi
5767
5768
5769 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5770 echo "configure:5771: checking for --enable-bmpbutton" >&5
5771 no_cache=0
5772 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5773 if test "${enable_bmpbutton+set}" = set; then
5774 enableval="$enable_bmpbutton"
5775
5776 if test "$enableval" = yes; then
5777 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
5778 else
5779 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
5780 fi
5781
5782 else
5783
5784 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5785 if test "x$LINE" != x ; then
5786 eval "DEFAULT_$LINE"
5787 else
5788 no_cache=1
5789 fi
5790
5791 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5792
5793 fi
5794
5795
5796 eval "$ac_cv_use_bmpbutton"
5797 if test "$no_cache" != 1; then
5798 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5799 fi
5800
5801 if test "$wxUSE_BMPBUTTON" = yes; then
5802 echo "$ac_t""yes" 1>&6
5803 else
5804 echo "$ac_t""no" 1>&6
5805 fi
5806
5807
5808 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5809 echo "configure:5810: checking for --enable-calendar" >&5
5810 no_cache=0
5811 # Check whether --enable-calendar or --disable-calendar was given.
5812 if test "${enable_calendar+set}" = set; then
5813 enableval="$enable_calendar"
5814
5815 if test "$enableval" = yes; then
5816 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
5817 else
5818 ac_cv_use_calendar='wxUSE_CALCTRL=no'
5819 fi
5820
5821 else
5822
5823 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5824 if test "x$LINE" != x ; then
5825 eval "DEFAULT_$LINE"
5826 else
5827 no_cache=1
5828 fi
5829
5830 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5831
5832 fi
5833
5834
5835 eval "$ac_cv_use_calendar"
5836 if test "$no_cache" != 1; then
5837 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5838 fi
5839
5840 if test "$wxUSE_CALCTRL" = yes; then
5841 echo "$ac_t""yes" 1>&6
5842 else
5843 echo "$ac_t""no" 1>&6
5844 fi
5845
5846
5847 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5848 echo "configure:5849: checking for --enable-caret" >&5
5849 no_cache=0
5850 # Check whether --enable-caret or --disable-caret was given.
5851 if test "${enable_caret+set}" = set; then
5852 enableval="$enable_caret"
5853
5854 if test "$enableval" = yes; then
5855 ac_cv_use_caret='wxUSE_CARET=yes'
5856 else
5857 ac_cv_use_caret='wxUSE_CARET=no'
5858 fi
5859
5860 else
5861
5862 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5863 if test "x$LINE" != x ; then
5864 eval "DEFAULT_$LINE"
5865 else
5866 no_cache=1
5867 fi
5868
5869 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5870
5871 fi
5872
5873
5874 eval "$ac_cv_use_caret"
5875 if test "$no_cache" != 1; then
5876 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5877 fi
5878
5879 if test "$wxUSE_CARET" = yes; then
5880 echo "$ac_t""yes" 1>&6
5881 else
5882 echo "$ac_t""no" 1>&6
5883 fi
5884
5885
5886 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5887 echo "configure:5888: checking for --enable-checkbox" >&5
5888 no_cache=0
5889 # Check whether --enable-checkbox or --disable-checkbox was given.
5890 if test "${enable_checkbox+set}" = set; then
5891 enableval="$enable_checkbox"
5892
5893 if test "$enableval" = yes; then
5894 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
5895 else
5896 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
5897 fi
5898
5899 else
5900
5901 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5902 if test "x$LINE" != x ; then
5903 eval "DEFAULT_$LINE"
5904 else
5905 no_cache=1
5906 fi
5907
5908 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5909
5910 fi
5911
5912
5913 eval "$ac_cv_use_checkbox"
5914 if test "$no_cache" != 1; then
5915 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5916 fi
5917
5918 if test "$wxUSE_CHECKBOX" = yes; then
5919 echo "$ac_t""yes" 1>&6
5920 else
5921 echo "$ac_t""no" 1>&6
5922 fi
5923
5924
5925 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5926 echo "configure:5927: checking for --enable-checklst" >&5
5927 no_cache=0
5928 # Check whether --enable-checklst or --disable-checklst was given.
5929 if test "${enable_checklst+set}" = set; then
5930 enableval="$enable_checklst"
5931
5932 if test "$enableval" = yes; then
5933 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
5934 else
5935 ac_cv_use_checklst='wxUSE_CHECKLST=no'
5936 fi
5937
5938 else
5939
5940 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5941 if test "x$LINE" != x ; then
5942 eval "DEFAULT_$LINE"
5943 else
5944 no_cache=1
5945 fi
5946
5947 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5948
5949 fi
5950
5951
5952 eval "$ac_cv_use_checklst"
5953 if test "$no_cache" != 1; then
5954 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5955 fi
5956
5957 if test "$wxUSE_CHECKLST" = yes; then
5958 echo "$ac_t""yes" 1>&6
5959 else
5960 echo "$ac_t""no" 1>&6
5961 fi
5962
5963
5964 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5965 echo "configure:5966: checking for --enable-choice" >&5
5966 no_cache=0
5967 # Check whether --enable-choice or --disable-choice was given.
5968 if test "${enable_choice+set}" = set; then
5969 enableval="$enable_choice"
5970
5971 if test "$enableval" = yes; then
5972 ac_cv_use_choice='wxUSE_CHOICE=yes'
5973 else
5974 ac_cv_use_choice='wxUSE_CHOICE=no'
5975 fi
5976
5977 else
5978
5979 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5980 if test "x$LINE" != x ; then
5981 eval "DEFAULT_$LINE"
5982 else
5983 no_cache=1
5984 fi
5985
5986 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5987
5988 fi
5989
5990
5991 eval "$ac_cv_use_choice"
5992 if test "$no_cache" != 1; then
5993 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5994 fi
5995
5996 if test "$wxUSE_CHOICE" = yes; then
5997 echo "$ac_t""yes" 1>&6
5998 else
5999 echo "$ac_t""no" 1>&6
6000 fi
6001
6002
6003 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
6004 echo "configure:6005: checking for --enable-combobox" >&5
6005 no_cache=0
6006 # Check whether --enable-combobox or --disable-combobox was given.
6007 if test "${enable_combobox+set}" = set; then
6008 enableval="$enable_combobox"
6009
6010 if test "$enableval" = yes; then
6011 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6012 else
6013 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6014 fi
6015
6016 else
6017
6018 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6019 if test "x$LINE" != x ; then
6020 eval "DEFAULT_$LINE"
6021 else
6022 no_cache=1
6023 fi
6024
6025 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6026
6027 fi
6028
6029
6030 eval "$ac_cv_use_combobox"
6031 if test "$no_cache" != 1; then
6032 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6033 fi
6034
6035 if test "$wxUSE_COMBOBOX" = yes; then
6036 echo "$ac_t""yes" 1>&6
6037 else
6038 echo "$ac_t""no" 1>&6
6039 fi
6040
6041
6042 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6043 echo "configure:6044: checking for --enable-gauge" >&5
6044 no_cache=0
6045 # Check whether --enable-gauge or --disable-gauge was given.
6046 if test "${enable_gauge+set}" = set; then
6047 enableval="$enable_gauge"
6048
6049 if test "$enableval" = yes; then
6050 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6051 else
6052 ac_cv_use_gauge='wxUSE_GAUGE=no'
6053 fi
6054
6055 else
6056
6057 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6058 if test "x$LINE" != x ; then
6059 eval "DEFAULT_$LINE"
6060 else
6061 no_cache=1
6062 fi
6063
6064 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6065
6066 fi
6067
6068
6069 eval "$ac_cv_use_gauge"
6070 if test "$no_cache" != 1; then
6071 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6072 fi
6073
6074 if test "$wxUSE_GAUGE" = yes; then
6075 echo "$ac_t""yes" 1>&6
6076 else
6077 echo "$ac_t""no" 1>&6
6078 fi
6079
6080
6081 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6082 echo "configure:6083: checking for --enable-grid" >&5
6083 no_cache=0
6084 # Check whether --enable-grid or --disable-grid was given.
6085 if test "${enable_grid+set}" = set; then
6086 enableval="$enable_grid"
6087
6088 if test "$enableval" = yes; then
6089 ac_cv_use_grid='wxUSE_GRID=yes'
6090 else
6091 ac_cv_use_grid='wxUSE_GRID=no'
6092 fi
6093
6094 else
6095
6096 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6097 if test "x$LINE" != x ; then
6098 eval "DEFAULT_$LINE"
6099 else
6100 no_cache=1
6101 fi
6102
6103 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6104
6105 fi
6106
6107
6108 eval "$ac_cv_use_grid"
6109 if test "$no_cache" != 1; then
6110 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6111 fi
6112
6113 if test "$wxUSE_GRID" = yes; then
6114 echo "$ac_t""yes" 1>&6
6115 else
6116 echo "$ac_t""no" 1>&6
6117 fi
6118
6119
6120 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6121 echo "configure:6122: checking for --enable-newgrid" >&5
6122 no_cache=0
6123 # Check whether --enable-newgrid or --disable-newgrid was given.
6124 if test "${enable_newgrid+set}" = set; then
6125 enableval="$enable_newgrid"
6126
6127 if test "$enableval" = yes; then
6128 ac_cv_use_newgrid='wxUSE_NEW_GRID=yes'
6129 else
6130 ac_cv_use_newgrid='wxUSE_NEW_GRID=no'
6131 fi
6132
6133 else
6134
6135 LINE=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6136 if test "x$LINE" != x ; then
6137 eval "DEFAULT_$LINE"
6138 else
6139 no_cache=1
6140 fi
6141
6142 ac_cv_use_newgrid='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6143
6144 fi
6145
6146
6147 eval "$ac_cv_use_newgrid"
6148 if test "$no_cache" != 1; then
6149 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6150 fi
6151
6152 if test "$wxUSE_NEW_GRID" = yes; then
6153 echo "$ac_t""yes" 1>&6
6154 else
6155 echo "$ac_t""no" 1>&6
6156 fi
6157
6158
6159 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6160 echo "configure:6161: checking for --enable-imaglist" >&5
6161 no_cache=0
6162 # Check whether --enable-imaglist or --disable-imaglist was given.
6163 if test "${enable_imaglist+set}" = set; then
6164 enableval="$enable_imaglist"
6165
6166 if test "$enableval" = yes; then
6167 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
6168 else
6169 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
6170 fi
6171
6172 else
6173
6174 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6175 if test "x$LINE" != x ; then
6176 eval "DEFAULT_$LINE"
6177 else
6178 no_cache=1
6179 fi
6180
6181 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6182
6183 fi
6184
6185
6186 eval "$ac_cv_use_imaglist"
6187 if test "$no_cache" != 1; then
6188 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6189 fi
6190
6191 if test "$wxUSE_IMAGLIST" = yes; then
6192 echo "$ac_t""yes" 1>&6
6193 else
6194 echo "$ac_t""no" 1>&6
6195 fi
6196
6197
6198 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6199 echo "configure:6200: checking for --enable-listbox" >&5
6200 no_cache=0
6201 # Check whether --enable-listbox or --disable-listbox was given.
6202 if test "${enable_listbox+set}" = set; then
6203 enableval="$enable_listbox"
6204
6205 if test "$enableval" = yes; then
6206 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
6207 else
6208 ac_cv_use_listbox='wxUSE_LISTBOX=no'
6209 fi
6210
6211 else
6212
6213 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6214 if test "x$LINE" != x ; then
6215 eval "DEFAULT_$LINE"
6216 else
6217 no_cache=1
6218 fi
6219
6220 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6221
6222 fi
6223
6224
6225 eval "$ac_cv_use_listbox"
6226 if test "$no_cache" != 1; then
6227 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6228 fi
6229
6230 if test "$wxUSE_LISTBOX" = yes; then
6231 echo "$ac_t""yes" 1>&6
6232 else
6233 echo "$ac_t""no" 1>&6
6234 fi
6235
6236
6237 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6238 echo "configure:6239: checking for --enable-listctrl" >&5
6239 no_cache=0
6240 # Check whether --enable-listctrl or --disable-listctrl was given.
6241 if test "${enable_listctrl+set}" = set; then
6242 enableval="$enable_listctrl"
6243
6244 if test "$enableval" = yes; then
6245 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
6246 else
6247 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
6248 fi
6249
6250 else
6251
6252 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6253 if test "x$LINE" != x ; then
6254 eval "DEFAULT_$LINE"
6255 else
6256 no_cache=1
6257 fi
6258
6259 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6260
6261 fi
6262
6263
6264 eval "$ac_cv_use_listctrl"
6265 if test "$no_cache" != 1; then
6266 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6267 fi
6268
6269 if test "$wxUSE_LISTCTRL" = yes; then
6270 echo "$ac_t""yes" 1>&6
6271 else
6272 echo "$ac_t""no" 1>&6
6273 fi
6274
6275
6276 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6277 echo "configure:6278: checking for --enable-notebook" >&5
6278 no_cache=0
6279 # Check whether --enable-notebook or --disable-notebook was given.
6280 if test "${enable_notebook+set}" = set; then
6281 enableval="$enable_notebook"
6282
6283 if test "$enableval" = yes; then
6284 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
6285 else
6286 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
6287 fi
6288
6289 else
6290
6291 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6292 if test "x$LINE" != x ; then
6293 eval "DEFAULT_$LINE"
6294 else
6295 no_cache=1
6296 fi
6297
6298 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6299
6300 fi
6301
6302
6303 eval "$ac_cv_use_notebook"
6304 if test "$no_cache" != 1; then
6305 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6306 fi
6307
6308 if test "$wxUSE_NOTEBOOK" = yes; then
6309 echo "$ac_t""yes" 1>&6
6310 else
6311 echo "$ac_t""no" 1>&6
6312 fi
6313
6314
6315 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6316 echo "configure:6317: checking for --enable-propsheet" >&5
6317 no_cache=0
6318 # Check whether --enable-propsheet or --disable-propsheet was given.
6319 if test "${enable_propsheet+set}" = set; then
6320 enableval="$enable_propsheet"
6321
6322 if test "$enableval" = yes; then
6323 ac_cv_use_propsheet='wxUSE_PROPSHEET=yes'
6324 else
6325 ac_cv_use_propsheet='wxUSE_PROPSHEET=no'
6326 fi
6327
6328 else
6329
6330 LINE=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6331 if test "x$LINE" != x ; then
6332 eval "DEFAULT_$LINE"
6333 else
6334 no_cache=1
6335 fi
6336
6337 ac_cv_use_propsheet='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6338
6339 fi
6340
6341
6342 eval "$ac_cv_use_propsheet"
6343 if test "$no_cache" != 1; then
6344 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6345 fi
6346
6347 if test "$wxUSE_PROPSHEET" = yes; then
6348 echo "$ac_t""yes" 1>&6
6349 else
6350 echo "$ac_t""no" 1>&6
6351 fi
6352
6353
6354 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6355 echo "configure:6356: checking for --enable-radiobox" >&5
6356 no_cache=0
6357 # Check whether --enable-radiobox or --disable-radiobox was given.
6358 if test "${enable_radiobox+set}" = set; then
6359 enableval="$enable_radiobox"
6360
6361 if test "$enableval" = yes; then
6362 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
6363 else
6364 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
6365 fi
6366
6367 else
6368
6369 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6370 if test "x$LINE" != x ; then
6371 eval "DEFAULT_$LINE"
6372 else
6373 no_cache=1
6374 fi
6375
6376 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6377
6378 fi
6379
6380
6381 eval "$ac_cv_use_radiobox"
6382 if test "$no_cache" != 1; then
6383 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6384 fi
6385
6386 if test "$wxUSE_RADIOBOX" = yes; then
6387 echo "$ac_t""yes" 1>&6
6388 else
6389 echo "$ac_t""no" 1>&6
6390 fi
6391
6392
6393 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6394 echo "configure:6395: checking for --enable-radiobtn" >&5
6395 no_cache=0
6396 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6397 if test "${enable_radiobtn+set}" = set; then
6398 enableval="$enable_radiobtn"
6399
6400 if test "$enableval" = yes; then
6401 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
6402 else
6403 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
6404 fi
6405
6406 else
6407
6408 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6409 if test "x$LINE" != x ; then
6410 eval "DEFAULT_$LINE"
6411 else
6412 no_cache=1
6413 fi
6414
6415 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6416
6417 fi
6418
6419
6420 eval "$ac_cv_use_radiobtn"
6421 if test "$no_cache" != 1; then
6422 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6423 fi
6424
6425 if test "$wxUSE_RADIOBTN" = yes; then
6426 echo "$ac_t""yes" 1>&6
6427 else
6428 echo "$ac_t""no" 1>&6
6429 fi
6430
6431
6432 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6433 echo "configure:6434: checking for --enable-sash" >&5
6434 no_cache=0
6435 # Check whether --enable-sash or --disable-sash was given.
6436 if test "${enable_sash+set}" = set; then
6437 enableval="$enable_sash"
6438
6439 if test "$enableval" = yes; then
6440 ac_cv_use_sash='wxUSE_SASH=yes'
6441 else
6442 ac_cv_use_sash='wxUSE_SASH=no'
6443 fi
6444
6445 else
6446
6447 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6448 if test "x$LINE" != x ; then
6449 eval "DEFAULT_$LINE"
6450 else
6451 no_cache=1
6452 fi
6453
6454 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6455
6456 fi
6457
6458
6459 eval "$ac_cv_use_sash"
6460 if test "$no_cache" != 1; then
6461 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6462 fi
6463
6464 if test "$wxUSE_SASH" = yes; then
6465 echo "$ac_t""yes" 1>&6
6466 else
6467 echo "$ac_t""no" 1>&6
6468 fi
6469
6470
6471 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6472 echo "configure:6473: checking for --enable-scrollbar" >&5
6473 no_cache=0
6474 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6475 if test "${enable_scrollbar+set}" = set; then
6476 enableval="$enable_scrollbar"
6477
6478 if test "$enableval" = yes; then
6479 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
6480 else
6481 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
6482 fi
6483
6484 else
6485
6486 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6487 if test "x$LINE" != x ; then
6488 eval "DEFAULT_$LINE"
6489 else
6490 no_cache=1
6491 fi
6492
6493 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6494
6495 fi
6496
6497
6498 eval "$ac_cv_use_scrollbar"
6499 if test "$no_cache" != 1; then
6500 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6501 fi
6502
6503 if test "$wxUSE_SCROLLBAR" = yes; then
6504 echo "$ac_t""yes" 1>&6
6505 else
6506 echo "$ac_t""no" 1>&6
6507 fi
6508
6509
6510 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6511 echo "configure:6512: checking for --enable-slider" >&5
6512 no_cache=0
6513 # Check whether --enable-slider or --disable-slider was given.
6514 if test "${enable_slider+set}" = set; then
6515 enableval="$enable_slider"
6516
6517 if test "$enableval" = yes; then
6518 ac_cv_use_slider='wxUSE_SLIDER=yes'
6519 else
6520 ac_cv_use_slider='wxUSE_SLIDER=no'
6521 fi
6522
6523 else
6524
6525 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6526 if test "x$LINE" != x ; then
6527 eval "DEFAULT_$LINE"
6528 else
6529 no_cache=1
6530 fi
6531
6532 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6533
6534 fi
6535
6536
6537 eval "$ac_cv_use_slider"
6538 if test "$no_cache" != 1; then
6539 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6540 fi
6541
6542 if test "$wxUSE_SLIDER" = yes; then
6543 echo "$ac_t""yes" 1>&6
6544 else
6545 echo "$ac_t""no" 1>&6
6546 fi
6547
6548
6549 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6550 echo "configure:6551: checking for --enable-spinbtn" >&5
6551 no_cache=0
6552 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6553 if test "${enable_spinbtn+set}" = set; then
6554 enableval="$enable_spinbtn"
6555
6556 if test "$enableval" = yes; then
6557 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
6558 else
6559 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
6560 fi
6561
6562 else
6563
6564 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6565 if test "x$LINE" != x ; then
6566 eval "DEFAULT_$LINE"
6567 else
6568 no_cache=1
6569 fi
6570
6571 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6572
6573 fi
6574
6575
6576 eval "$ac_cv_use_spinbtn"
6577 if test "$no_cache" != 1; then
6578 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6579 fi
6580
6581 if test "$wxUSE_SPINBTN" = yes; then
6582 echo "$ac_t""yes" 1>&6
6583 else
6584 echo "$ac_t""no" 1>&6
6585 fi
6586
6587
6588 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6589 echo "configure:6590: checking for --enable-spinctrl" >&5
6590 no_cache=0
6591 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6592 if test "${enable_spinctrl+set}" = set; then
6593 enableval="$enable_spinctrl"
6594
6595 if test "$enableval" = yes; then
6596 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
6597 else
6598 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
6599 fi
6600
6601 else
6602
6603 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6604 if test "x$LINE" != x ; then
6605 eval "DEFAULT_$LINE"
6606 else
6607 no_cache=1
6608 fi
6609
6610 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6611
6612 fi
6613
6614
6615 eval "$ac_cv_use_spinctrl"
6616 if test "$no_cache" != 1; then
6617 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6618 fi
6619
6620 if test "$wxUSE_SPINCTRL" = yes; then
6621 echo "$ac_t""yes" 1>&6
6622 else
6623 echo "$ac_t""no" 1>&6
6624 fi
6625
6626
6627 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6628 echo "configure:6629: checking for --enable-splitter" >&5
6629 no_cache=0
6630 # Check whether --enable-splitter or --disable-splitter was given.
6631 if test "${enable_splitter+set}" = set; then
6632 enableval="$enable_splitter"
6633
6634 if test "$enableval" = yes; then
6635 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
6636 else
6637 ac_cv_use_splitter='wxUSE_SPLITTER=no'
6638 fi
6639
6640 else
6641
6642 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6643 if test "x$LINE" != x ; then
6644 eval "DEFAULT_$LINE"
6645 else
6646 no_cache=1
6647 fi
6648
6649 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6650
6651 fi
6652
6653
6654 eval "$ac_cv_use_splitter"
6655 if test "$no_cache" != 1; then
6656 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6657 fi
6658
6659 if test "$wxUSE_SPLITTER" = yes; then
6660 echo "$ac_t""yes" 1>&6
6661 else
6662 echo "$ac_t""no" 1>&6
6663 fi
6664
6665
6666 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6667 echo "configure:6668: checking for --enable-statbmp" >&5
6668 no_cache=0
6669 # Check whether --enable-statbmp or --disable-statbmp was given.
6670 if test "${enable_statbmp+set}" = set; then
6671 enableval="$enable_statbmp"
6672
6673 if test "$enableval" = yes; then
6674 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
6675 else
6676 ac_cv_use_statbmp='wxUSE_STATBMP=no'
6677 fi
6678
6679 else
6680
6681 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6682 if test "x$LINE" != x ; then
6683 eval "DEFAULT_$LINE"
6684 else
6685 no_cache=1
6686 fi
6687
6688 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6689
6690 fi
6691
6692
6693 eval "$ac_cv_use_statbmp"
6694 if test "$no_cache" != 1; then
6695 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6696 fi
6697
6698 if test "$wxUSE_STATBMP" = yes; then
6699 echo "$ac_t""yes" 1>&6
6700 else
6701 echo "$ac_t""no" 1>&6
6702 fi
6703
6704
6705 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6706 echo "configure:6707: checking for --enable-statbox" >&5
6707 no_cache=0
6708 # Check whether --enable-statbox or --disable-statbox was given.
6709 if test "${enable_statbox+set}" = set; then
6710 enableval="$enable_statbox"
6711
6712 if test "$enableval" = yes; then
6713 ac_cv_use_statbox='wxUSE_STATBOX=yes'
6714 else
6715 ac_cv_use_statbox='wxUSE_STATBOX=no'
6716 fi
6717
6718 else
6719
6720 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6721 if test "x$LINE" != x ; then
6722 eval "DEFAULT_$LINE"
6723 else
6724 no_cache=1
6725 fi
6726
6727 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6728
6729 fi
6730
6731
6732 eval "$ac_cv_use_statbox"
6733 if test "$no_cache" != 1; then
6734 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6735 fi
6736
6737 if test "$wxUSE_STATBOX" = yes; then
6738 echo "$ac_t""yes" 1>&6
6739 else
6740 echo "$ac_t""no" 1>&6
6741 fi
6742
6743
6744 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6745 echo "configure:6746: checking for --enable-statline" >&5
6746 no_cache=0
6747 # Check whether --enable-statline or --disable-statline was given.
6748 if test "${enable_statline+set}" = set; then
6749 enableval="$enable_statline"
6750
6751 if test "$enableval" = yes; then
6752 ac_cv_use_statline='wxUSE_STATLINE=yes'
6753 else
6754 ac_cv_use_statline='wxUSE_STATLINE=no'
6755 fi
6756
6757 else
6758
6759 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6760 if test "x$LINE" != x ; then
6761 eval "DEFAULT_$LINE"
6762 else
6763 no_cache=1
6764 fi
6765
6766 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6767
6768 fi
6769
6770
6771 eval "$ac_cv_use_statline"
6772 if test "$no_cache" != 1; then
6773 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6774 fi
6775
6776 if test "$wxUSE_STATLINE" = yes; then
6777 echo "$ac_t""yes" 1>&6
6778 else
6779 echo "$ac_t""no" 1>&6
6780 fi
6781
6782
6783 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6784 echo "configure:6785: checking for --enable-stattext" >&5
6785 no_cache=0
6786 # Check whether --enable-stattext or --disable-stattext was given.
6787 if test "${enable_stattext+set}" = set; then
6788 enableval="$enable_stattext"
6789
6790 if test "$enableval" = yes; then
6791 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
6792 else
6793 ac_cv_use_stattext='wxUSE_STATTEXT=no'
6794 fi
6795
6796 else
6797
6798 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6799 if test "x$LINE" != x ; then
6800 eval "DEFAULT_$LINE"
6801 else
6802 no_cache=1
6803 fi
6804
6805 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6806
6807 fi
6808
6809
6810 eval "$ac_cv_use_stattext"
6811 if test "$no_cache" != 1; then
6812 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6813 fi
6814
6815 if test "$wxUSE_STATTEXT" = yes; then
6816 echo "$ac_t""yes" 1>&6
6817 else
6818 echo "$ac_t""no" 1>&6
6819 fi
6820
6821
6822 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6823 echo "configure:6824: checking for --enable-statusbar" >&5
6824 no_cache=0
6825 # Check whether --enable-statusbar or --disable-statusbar was given.
6826 if test "${enable_statusbar+set}" = set; then
6827 enableval="$enable_statusbar"
6828
6829 if test "$enableval" = yes; then
6830 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
6831 else
6832 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
6833 fi
6834
6835 else
6836
6837 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6838 if test "x$LINE" != x ; then
6839 eval "DEFAULT_$LINE"
6840 else
6841 no_cache=1
6842 fi
6843
6844 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6845
6846 fi
6847
6848
6849 eval "$ac_cv_use_statusbar"
6850 if test "$no_cache" != 1; then
6851 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6852 fi
6853
6854 if test "$wxUSE_STATUSBAR" = yes; then
6855 echo "$ac_t""yes" 1>&6
6856 else
6857 echo "$ac_t""no" 1>&6
6858 fi
6859
6860
6861 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6862 echo "configure:6863: checking for --enable-tabdialog" >&5
6863 no_cache=0
6864 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6865 if test "${enable_tabdialog+set}" = set; then
6866 enableval="$enable_tabdialog"
6867
6868 if test "$enableval" = yes; then
6869 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
6870 else
6871 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
6872 fi
6873
6874 else
6875
6876 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6877 if test "x$LINE" != x ; then
6878 eval "DEFAULT_$LINE"
6879 else
6880 no_cache=1
6881 fi
6882
6883 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6884
6885 fi
6886
6887
6888 eval "$ac_cv_use_tabdialog"
6889 if test "$no_cache" != 1; then
6890 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6891 fi
6892
6893 if test "$wxUSE_TABDIALOG" = yes; then
6894 echo "$ac_t""yes" 1>&6
6895 else
6896 echo "$ac_t""no" 1>&6
6897 fi
6898
6899
6900 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6901 echo "configure:6902: checking for --enable-textctrl" >&5
6902 no_cache=0
6903 # Check whether --enable-textctrl or --disable-textctrl was given.
6904 if test "${enable_textctrl+set}" = set; then
6905 enableval="$enable_textctrl"
6906
6907 if test "$enableval" = yes; then
6908 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
6909 else
6910 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
6911 fi
6912
6913 else
6914
6915 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6916 if test "x$LINE" != x ; then
6917 eval "DEFAULT_$LINE"
6918 else
6919 no_cache=1
6920 fi
6921
6922 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6923
6924 fi
6925
6926
6927 eval "$ac_cv_use_textctrl"
6928 if test "$no_cache" != 1; then
6929 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6930 fi
6931
6932 if test "$wxUSE_TEXTCTRL" = yes; then
6933 echo "$ac_t""yes" 1>&6
6934 else
6935 echo "$ac_t""no" 1>&6
6936 fi
6937
6938
6939 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6940 echo "configure:6941: checking for --enable-togglebtn" >&5
6941 no_cache=0
6942 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6943 if test "${enable_togglebtn+set}" = set; then
6944 enableval="$enable_togglebtn"
6945
6946 if test "$enableval" = yes; then
6947 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
6948 else
6949 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
6950 fi
6951
6952 else
6953
6954 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6955 if test "x$LINE" != x ; then
6956 eval "DEFAULT_$LINE"
6957 else
6958 no_cache=1
6959 fi
6960
6961 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6962
6963 fi
6964
6965
6966 eval "$ac_cv_use_togglebtn"
6967 if test "$no_cache" != 1; then
6968 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6969 fi
6970
6971 if test "$wxUSE_TOGGLEBTN" = yes; then
6972 echo "$ac_t""yes" 1>&6
6973 else
6974 echo "$ac_t""no" 1>&6
6975 fi
6976
6977
6978 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6979 echo "configure:6980: checking for --enable-toolbar" >&5
6980 no_cache=0
6981 # Check whether --enable-toolbar or --disable-toolbar was given.
6982 if test "${enable_toolbar+set}" = set; then
6983 enableval="$enable_toolbar"
6984
6985 if test "$enableval" = yes; then
6986 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
6987 else
6988 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
6989 fi
6990
6991 else
6992
6993 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6994 if test "x$LINE" != x ; then
6995 eval "DEFAULT_$LINE"
6996 else
6997 no_cache=1
6998 fi
6999
7000 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7001
7002 fi
7003
7004
7005 eval "$ac_cv_use_toolbar"
7006 if test "$no_cache" != 1; then
7007 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7008 fi
7009
7010 if test "$wxUSE_TOOLBAR" = yes; then
7011 echo "$ac_t""yes" 1>&6
7012 else
7013 echo "$ac_t""no" 1>&6
7014 fi
7015
7016
7017 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
7018 echo "configure:7019: checking for --enable-tbarnative" >&5
7019 no_cache=0
7020 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7021 if test "${enable_tbarnative+set}" = set; then
7022 enableval="$enable_tbarnative"
7023
7024 if test "$enableval" = yes; then
7025 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7026 else
7027 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7028 fi
7029
7030 else
7031
7032 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7033 if test "x$LINE" != x ; then
7034 eval "DEFAULT_$LINE"
7035 else
7036 no_cache=1
7037 fi
7038
7039 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7040
7041 fi
7042
7043
7044 eval "$ac_cv_use_tbarnative"
7045 if test "$no_cache" != 1; then
7046 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7047 fi
7048
7049 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7050 echo "$ac_t""yes" 1>&6
7051 else
7052 echo "$ac_t""no" 1>&6
7053 fi
7054
7055
7056 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7057 echo "configure:7058: checking for --enable-tbarsmpl" >&5
7058 no_cache=0
7059 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7060 if test "${enable_tbarsmpl+set}" = set; then
7061 enableval="$enable_tbarsmpl"
7062
7063 if test "$enableval" = yes; then
7064 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7065 else
7066 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7067 fi
7068
7069 else
7070
7071 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7072 if test "x$LINE" != x ; then
7073 eval "DEFAULT_$LINE"
7074 else
7075 no_cache=1
7076 fi
7077
7078 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7079
7080 fi
7081
7082
7083 eval "$ac_cv_use_tbarsmpl"
7084 if test "$no_cache" != 1; then
7085 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7086 fi
7087
7088 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7089 echo "$ac_t""yes" 1>&6
7090 else
7091 echo "$ac_t""no" 1>&6
7092 fi
7093
7094
7095 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7096 echo "configure:7097: checking for --enable-treectrl" >&5
7097 no_cache=0
7098 # Check whether --enable-treectrl or --disable-treectrl was given.
7099 if test "${enable_treectrl+set}" = set; then
7100 enableval="$enable_treectrl"
7101
7102 if test "$enableval" = yes; then
7103 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
7104 else
7105 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
7106 fi
7107
7108 else
7109
7110 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7111 if test "x$LINE" != x ; then
7112 eval "DEFAULT_$LINE"
7113 else
7114 no_cache=1
7115 fi
7116
7117 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7118
7119 fi
7120
7121
7122 eval "$ac_cv_use_treectrl"
7123 if test "$no_cache" != 1; then
7124 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7125 fi
7126
7127 if test "$wxUSE_TREECTRL" = yes; then
7128 echo "$ac_t""yes" 1>&6
7129 else
7130 echo "$ac_t""no" 1>&6
7131 fi
7132
7133
7134 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7135 echo "configure:7136: checking for --enable-tipwindow" >&5
7136 no_cache=0
7137 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7138 if test "${enable_tipwindow+set}" = set; then
7139 enableval="$enable_tipwindow"
7140
7141 if test "$enableval" = yes; then
7142 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
7143 else
7144 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
7145 fi
7146
7147 else
7148
7149 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7150 if test "x$LINE" != x ; then
7151 eval "DEFAULT_$LINE"
7152 else
7153 no_cache=1
7154 fi
7155
7156 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7157
7158 fi
7159
7160
7161 eval "$ac_cv_use_tipwindow"
7162 if test "$no_cache" != 1; then
7163 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7164 fi
7165
7166 if test "$wxUSE_TIPWINDOW" = yes; then
7167 echo "$ac_t""yes" 1>&6
7168 else
7169 echo "$ac_t""no" 1>&6
7170 fi
7171
7172
7173 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7174 echo "configure:7175: checking for --enable-popupwin" >&5
7175 no_cache=0
7176 # Check whether --enable-popupwin or --disable-popupwin was given.
7177 if test "${enable_popupwin+set}" = set; then
7178 enableval="$enable_popupwin"
7179
7180 if test "$enableval" = yes; then
7181 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
7182 else
7183 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
7184 fi
7185
7186 else
7187
7188 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x ; then
7190 eval "DEFAULT_$LINE"
7191 else
7192 no_cache=1
7193 fi
7194
7195 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7196
7197 fi
7198
7199
7200 eval "$ac_cv_use_popupwin"
7201 if test "$no_cache" != 1; then
7202 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7203 fi
7204
7205 if test "$wxUSE_POPUPWIN" = yes; then
7206 echo "$ac_t""yes" 1>&6
7207 else
7208 echo "$ac_t""no" 1>&6
7209 fi
7210
7211
7212
7213
7214 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7215 echo "configure:7216: checking for --enable-commondlg" >&5
7216 no_cache=0
7217 # Check whether --enable-commondlg or --disable-commondlg was given.
7218 if test "${enable_commondlg+set}" = set; then
7219 enableval="$enable_commondlg"
7220
7221 if test "$enableval" = yes; then
7222 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
7223 else
7224 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
7225 fi
7226
7227 else
7228
7229 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x ; then
7231 eval "DEFAULT_$LINE"
7232 else
7233 no_cache=1
7234 fi
7235
7236 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7237
7238 fi
7239
7240
7241 eval "$ac_cv_use_commondlg"
7242 if test "$no_cache" != 1; then
7243 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7244 fi
7245
7246 if test "$wxUSE_COMMONDLGS" = yes; then
7247 echo "$ac_t""yes" 1>&6
7248 else
7249 echo "$ac_t""no" 1>&6
7250 fi
7251
7252
7253 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7254 echo "configure:7255: checking for --enable-choicedlg" >&5
7255 no_cache=0
7256 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7257 if test "${enable_choicedlg+set}" = set; then
7258 enableval="$enable_choicedlg"
7259
7260 if test "$enableval" = yes; then
7261 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
7262 else
7263 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
7264 fi
7265
7266 else
7267
7268 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7269 if test "x$LINE" != x ; then
7270 eval "DEFAULT_$LINE"
7271 else
7272 no_cache=1
7273 fi
7274
7275 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7276
7277 fi
7278
7279
7280 eval "$ac_cv_use_choicedlg"
7281 if test "$no_cache" != 1; then
7282 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7283 fi
7284
7285 if test "$wxUSE_CHOICEDLG" = yes; then
7286 echo "$ac_t""yes" 1>&6
7287 else
7288 echo "$ac_t""no" 1>&6
7289 fi
7290
7291
7292 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7293 echo "configure:7294: checking for --enable-coldlg" >&5
7294 no_cache=0
7295 # Check whether --enable-coldlg or --disable-coldlg was given.
7296 if test "${enable_coldlg+set}" = set; then
7297 enableval="$enable_coldlg"
7298
7299 if test "$enableval" = yes; then
7300 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
7301 else
7302 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
7303 fi
7304
7305 else
7306
7307 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7308 if test "x$LINE" != x ; then
7309 eval "DEFAULT_$LINE"
7310 else
7311 no_cache=1
7312 fi
7313
7314 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7315
7316 fi
7317
7318
7319 eval "$ac_cv_use_coldlg"
7320 if test "$no_cache" != 1; then
7321 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7322 fi
7323
7324 if test "$wxUSE_COLOURDLG" = yes; then
7325 echo "$ac_t""yes" 1>&6
7326 else
7327 echo "$ac_t""no" 1>&6
7328 fi
7329
7330
7331 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7332 echo "configure:7333: checking for --enable-filedlg" >&5
7333 no_cache=0
7334 # Check whether --enable-filedlg or --disable-filedlg was given.
7335 if test "${enable_filedlg+set}" = set; then
7336 enableval="$enable_filedlg"
7337
7338 if test "$enableval" = yes; then
7339 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
7340 else
7341 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
7342 fi
7343
7344 else
7345
7346 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7347 if test "x$LINE" != x ; then
7348 eval "DEFAULT_$LINE"
7349 else
7350 no_cache=1
7351 fi
7352
7353 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7354
7355 fi
7356
7357
7358 eval "$ac_cv_use_filedlg"
7359 if test "$no_cache" != 1; then
7360 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7361 fi
7362
7363 if test "$wxUSE_FILEDLG" = yes; then
7364 echo "$ac_t""yes" 1>&6
7365 else
7366 echo "$ac_t""no" 1>&6
7367 fi
7368
7369
7370 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7371 echo "configure:7372: checking for --enable-finddlg" >&5
7372 no_cache=0
7373 # Check whether --enable-finddlg or --disable-finddlg was given.
7374 if test "${enable_finddlg+set}" = set; then
7375 enableval="$enable_finddlg"
7376
7377 if test "$enableval" = yes; then
7378 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
7379 else
7380 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
7381 fi
7382
7383 else
7384
7385 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7386 if test "x$LINE" != x ; then
7387 eval "DEFAULT_$LINE"
7388 else
7389 no_cache=1
7390 fi
7391
7392 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7393
7394 fi
7395
7396
7397 eval "$ac_cv_use_finddlg"
7398 if test "$no_cache" != 1; then
7399 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7400 fi
7401
7402 if test "$wxUSE_FINDREPLDLG" = yes; then
7403 echo "$ac_t""yes" 1>&6
7404 else
7405 echo "$ac_t""no" 1>&6
7406 fi
7407
7408
7409 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7410 echo "configure:7411: checking for --enable-fontdlg" >&5
7411 no_cache=0
7412 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7413 if test "${enable_fontdlg+set}" = set; then
7414 enableval="$enable_fontdlg"
7415
7416 if test "$enableval" = yes; then
7417 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
7418 else
7419 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
7420 fi
7421
7422 else
7423
7424 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7425 if test "x$LINE" != x ; then
7426 eval "DEFAULT_$LINE"
7427 else
7428 no_cache=1
7429 fi
7430
7431 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7432
7433 fi
7434
7435
7436 eval "$ac_cv_use_fontdlg"
7437 if test "$no_cache" != 1; then
7438 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7439 fi
7440
7441 if test "$wxUSE_FONTDLG" = yes; then
7442 echo "$ac_t""yes" 1>&6
7443 else
7444 echo "$ac_t""no" 1>&6
7445 fi
7446
7447
7448 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7449 echo "configure:7450: checking for --enable-dirdlg" >&5
7450 no_cache=0
7451 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7452 if test "${enable_dirdlg+set}" = set; then
7453 enableval="$enable_dirdlg"
7454
7455 if test "$enableval" = yes; then
7456 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
7457 else
7458 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
7459 fi
7460
7461 else
7462
7463 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7464 if test "x$LINE" != x ; then
7465 eval "DEFAULT_$LINE"
7466 else
7467 no_cache=1
7468 fi
7469
7470 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7471
7472 fi
7473
7474
7475 eval "$ac_cv_use_dirdlg"
7476 if test "$no_cache" != 1; then
7477 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7478 fi
7479
7480 if test "$wxUSE_DIRDLG" = yes; then
7481 echo "$ac_t""yes" 1>&6
7482 else
7483 echo "$ac_t""no" 1>&6
7484 fi
7485
7486
7487 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7488 echo "configure:7489: checking for --enable-msgdlg" >&5
7489 no_cache=0
7490 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7491 if test "${enable_msgdlg+set}" = set; then
7492 enableval="$enable_msgdlg"
7493
7494 if test "$enableval" = yes; then
7495 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
7496 else
7497 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
7498 fi
7499
7500 else
7501
7502 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7503 if test "x$LINE" != x ; then
7504 eval "DEFAULT_$LINE"
7505 else
7506 no_cache=1
7507 fi
7508
7509 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7510
7511 fi
7512
7513
7514 eval "$ac_cv_use_msgdlg"
7515 if test "$no_cache" != 1; then
7516 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7517 fi
7518
7519 if test "$wxUSE_MSGDLG" = yes; then
7520 echo "$ac_t""yes" 1>&6
7521 else
7522 echo "$ac_t""no" 1>&6
7523 fi
7524
7525
7526 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7527 echo "configure:7528: checking for --enable-numberdlg" >&5
7528 no_cache=0
7529 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7530 if test "${enable_numberdlg+set}" = set; then
7531 enableval="$enable_numberdlg"
7532
7533 if test "$enableval" = yes; then
7534 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
7535 else
7536 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
7537 fi
7538
7539 else
7540
7541 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7542 if test "x$LINE" != x ; then
7543 eval "DEFAULT_$LINE"
7544 else
7545 no_cache=1
7546 fi
7547
7548 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7549
7550 fi
7551
7552
7553 eval "$ac_cv_use_numberdlg"
7554 if test "$no_cache" != 1; then
7555 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7556 fi
7557
7558 if test "$wxUSE_NUMBERDLG" = yes; then
7559 echo "$ac_t""yes" 1>&6
7560 else
7561 echo "$ac_t""no" 1>&6
7562 fi
7563
7564
7565 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7566 echo "configure:7567: checking for --enable-splash" >&5
7567 no_cache=0
7568 # Check whether --enable-splash or --disable-splash was given.
7569 if test "${enable_splash+set}" = set; then
7570 enableval="$enable_splash"
7571
7572 if test "$enableval" = yes; then
7573 ac_cv_use_splash='wxUSE_SPLASH=yes'
7574 else
7575 ac_cv_use_splash='wxUSE_SPLASH=no'
7576 fi
7577
7578 else
7579
7580 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7581 if test "x$LINE" != x ; then
7582 eval "DEFAULT_$LINE"
7583 else
7584 no_cache=1
7585 fi
7586
7587 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7588
7589 fi
7590
7591
7592 eval "$ac_cv_use_splash"
7593 if test "$no_cache" != 1; then
7594 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7595 fi
7596
7597 if test "$wxUSE_SPLASH" = yes; then
7598 echo "$ac_t""yes" 1>&6
7599 else
7600 echo "$ac_t""no" 1>&6
7601 fi
7602
7603
7604 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7605 echo "configure:7606: checking for --enable-textdlg" >&5
7606 no_cache=0
7607 # Check whether --enable-textdlg or --disable-textdlg was given.
7608 if test "${enable_textdlg+set}" = set; then
7609 enableval="$enable_textdlg"
7610
7611 if test "$enableval" = yes; then
7612 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
7613 else
7614 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
7615 fi
7616
7617 else
7618
7619 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7620 if test "x$LINE" != x ; then
7621 eval "DEFAULT_$LINE"
7622 else
7623 no_cache=1
7624 fi
7625
7626 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7627
7628 fi
7629
7630
7631 eval "$ac_cv_use_textdlg"
7632 if test "$no_cache" != 1; then
7633 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7634 fi
7635
7636 if test "$wxUSE_TEXTDLG" = yes; then
7637 echo "$ac_t""yes" 1>&6
7638 else
7639 echo "$ac_t""no" 1>&6
7640 fi
7641
7642
7643 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7644 echo "configure:7645: checking for --enable-tipdlg" >&5
7645 no_cache=0
7646 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7647 if test "${enable_tipdlg+set}" = set; then
7648 enableval="$enable_tipdlg"
7649
7650 if test "$enableval" = yes; then
7651 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
7652 else
7653 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
7654 fi
7655
7656 else
7657
7658 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7659 if test "x$LINE" != x ; then
7660 eval "DEFAULT_$LINE"
7661 else
7662 no_cache=1
7663 fi
7664
7665 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7666
7667 fi
7668
7669
7670 eval "$ac_cv_use_tipdlg"
7671 if test "$no_cache" != 1; then
7672 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7673 fi
7674
7675 if test "$wxUSE_STARTUP_TIPS" = yes; then
7676 echo "$ac_t""yes" 1>&6
7677 else
7678 echo "$ac_t""no" 1>&6
7679 fi
7680
7681
7682 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7683 echo "configure:7684: checking for --enable-progressdlg" >&5
7684 no_cache=0
7685 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7686 if test "${enable_progressdlg+set}" = set; then
7687 enableval="$enable_progressdlg"
7688
7689 if test "$enableval" = yes; then
7690 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
7691 else
7692 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
7693 fi
7694
7695 else
7696
7697 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7698 if test "x$LINE" != x ; then
7699 eval "DEFAULT_$LINE"
7700 else
7701 no_cache=1
7702 fi
7703
7704 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7705
7706 fi
7707
7708
7709 eval "$ac_cv_use_progressdlg"
7710 if test "$no_cache" != 1; then
7711 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7712 fi
7713
7714 if test "$wxUSE_PROGRESSDLG" = yes; then
7715 echo "$ac_t""yes" 1>&6
7716 else
7717 echo "$ac_t""no" 1>&6
7718 fi
7719
7720
7721 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7722 echo "configure:7723: checking for --enable-wizarddlg" >&5
7723 no_cache=0
7724 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7725 if test "${enable_wizarddlg+set}" = set; then
7726 enableval="$enable_wizarddlg"
7727
7728 if test "$enableval" = yes; then
7729 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
7730 else
7731 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
7732 fi
7733
7734 else
7735
7736 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7737 if test "x$LINE" != x ; then
7738 eval "DEFAULT_$LINE"
7739 else
7740 no_cache=1
7741 fi
7742
7743 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7744
7745 fi
7746
7747
7748 eval "$ac_cv_use_wizarddlg"
7749 if test "$no_cache" != 1; then
7750 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7751 fi
7752
7753 if test "$wxUSE_WIZARDDLG" = yes; then
7754 echo "$ac_t""yes" 1>&6
7755 else
7756 echo "$ac_t""no" 1>&6
7757 fi
7758
7759
7760
7761
7762 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7763 echo "configure:7764: checking for --enable-menus" >&5
7764 no_cache=0
7765 # Check whether --enable-menus or --disable-menus was given.
7766 if test "${enable_menus+set}" = set; then
7767 enableval="$enable_menus"
7768
7769 if test "$enableval" = yes; then
7770 ac_cv_use_menus='wxUSE_MENUS=yes'
7771 else
7772 ac_cv_use_menus='wxUSE_MENUS=no'
7773 fi
7774
7775 else
7776
7777 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7778 if test "x$LINE" != x ; then
7779 eval "DEFAULT_$LINE"
7780 else
7781 no_cache=1
7782 fi
7783
7784 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7785
7786 fi
7787
7788
7789 eval "$ac_cv_use_menus"
7790 if test "$no_cache" != 1; then
7791 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7792 fi
7793
7794 if test "$wxUSE_MENUS" = yes; then
7795 echo "$ac_t""yes" 1>&6
7796 else
7797 echo "$ac_t""no" 1>&6
7798 fi
7799
7800
7801 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7802 echo "configure:7803: checking for --enable-miniframe" >&5
7803 no_cache=0
7804 # Check whether --enable-miniframe or --disable-miniframe was given.
7805 if test "${enable_miniframe+set}" = set; then
7806 enableval="$enable_miniframe"
7807
7808 if test "$enableval" = yes; then
7809 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
7810 else
7811 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
7812 fi
7813
7814 else
7815
7816 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7817 if test "x$LINE" != x ; then
7818 eval "DEFAULT_$LINE"
7819 else
7820 no_cache=1
7821 fi
7822
7823 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7824
7825 fi
7826
7827
7828 eval "$ac_cv_use_miniframe"
7829 if test "$no_cache" != 1; then
7830 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7831 fi
7832
7833 if test "$wxUSE_MINIFRAME" = yes; then
7834 echo "$ac_t""yes" 1>&6
7835 else
7836 echo "$ac_t""no" 1>&6
7837 fi
7838
7839
7840 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7841 echo "configure:7842: checking for --enable-tooltips" >&5
7842 no_cache=0
7843 # Check whether --enable-tooltips or --disable-tooltips was given.
7844 if test "${enable_tooltips+set}" = set; then
7845 enableval="$enable_tooltips"
7846
7847 if test "$enableval" = yes; then
7848 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
7849 else
7850 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
7851 fi
7852
7853 else
7854
7855 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7856 if test "x$LINE" != x ; then
7857 eval "DEFAULT_$LINE"
7858 else
7859 no_cache=1
7860 fi
7861
7862 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7863
7864 fi
7865
7866
7867 eval "$ac_cv_use_tooltips"
7868 if test "$no_cache" != 1; then
7869 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7870 fi
7871
7872 if test "$wxUSE_TOOLTIPS" = yes; then
7873 echo "$ac_t""yes" 1>&6
7874 else
7875 echo "$ac_t""no" 1>&6
7876 fi
7877
7878
7879 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7880 echo "configure:7881: checking for --enable-splines" >&5
7881 no_cache=0
7882 # Check whether --enable-splines or --disable-splines was given.
7883 if test "${enable_splines+set}" = set; then
7884 enableval="$enable_splines"
7885
7886 if test "$enableval" = yes; then
7887 ac_cv_use_splines='wxUSE_SPLINES=yes'
7888 else
7889 ac_cv_use_splines='wxUSE_SPLINES=no'
7890 fi
7891
7892 else
7893
7894 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7895 if test "x$LINE" != x ; then
7896 eval "DEFAULT_$LINE"
7897 else
7898 no_cache=1
7899 fi
7900
7901 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7902
7903 fi
7904
7905
7906 eval "$ac_cv_use_splines"
7907 if test "$no_cache" != 1; then
7908 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7909 fi
7910
7911 if test "$wxUSE_SPLINES" = yes; then
7912 echo "$ac_t""yes" 1>&6
7913 else
7914 echo "$ac_t""no" 1>&6
7915 fi
7916
7917
7918 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7919 echo "configure:7920: checking for --enable-validators" >&5
7920 no_cache=0
7921 # Check whether --enable-validators or --disable-validators was given.
7922 if test "${enable_validators+set}" = set; then
7923 enableval="$enable_validators"
7924
7925 if test "$enableval" = yes; then
7926 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
7927 else
7928 ac_cv_use_validators='wxUSE_VALIDATORS=no'
7929 fi
7930
7931 else
7932
7933 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7934 if test "x$LINE" != x ; then
7935 eval "DEFAULT_$LINE"
7936 else
7937 no_cache=1
7938 fi
7939
7940 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7941
7942 fi
7943
7944
7945 eval "$ac_cv_use_validators"
7946 if test "$no_cache" != 1; then
7947 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7948 fi
7949
7950 if test "$wxUSE_VALIDATORS" = yes; then
7951 echo "$ac_t""yes" 1>&6
7952 else
7953 echo "$ac_t""no" 1>&6
7954 fi
7955
7956
7957 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7958 echo "configure:7959: checking for --enable-busyinfo" >&5
7959 no_cache=0
7960 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7961 if test "${enable_busyinfo+set}" = set; then
7962 enableval="$enable_busyinfo"
7963
7964 if test "$enableval" = yes; then
7965 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
7966 else
7967 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
7968 fi
7969
7970 else
7971
7972 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7973 if test "x$LINE" != x ; then
7974 eval "DEFAULT_$LINE"
7975 else
7976 no_cache=1
7977 fi
7978
7979 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7980
7981 fi
7982
7983
7984 eval "$ac_cv_use_busyinfo"
7985 if test "$no_cache" != 1; then
7986 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7987 fi
7988
7989 if test "$wxUSE_BUSYINFO" = yes; then
7990 echo "$ac_t""yes" 1>&6
7991 else
7992 echo "$ac_t""no" 1>&6
7993 fi
7994
7995
7996 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7997 echo "configure:7998: checking for --enable-joystick" >&5
7998 no_cache=0
7999 # Check whether --enable-joystick or --disable-joystick was given.
8000 if test "${enable_joystick+set}" = set; then
8001 enableval="$enable_joystick"
8002
8003 if test "$enableval" = yes; then
8004 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8005 else
8006 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8007 fi
8008
8009 else
8010
8011 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8012 if test "x$LINE" != x ; then
8013 eval "DEFAULT_$LINE"
8014 else
8015 no_cache=1
8016 fi
8017
8018 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8019
8020 fi
8021
8022
8023 eval "$ac_cv_use_joystick"
8024 if test "$no_cache" != 1; then
8025 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8026 fi
8027
8028 if test "$wxUSE_JOYSTICK" = yes; then
8029 echo "$ac_t""yes" 1>&6
8030 else
8031 echo "$ac_t""no" 1>&6
8032 fi
8033
8034
8035 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8036 echo "configure:8037: checking for --enable-metafile" >&5
8037 no_cache=0
8038 # Check whether --enable-metafile or --disable-metafile was given.
8039 if test "${enable_metafile+set}" = set; then
8040 enableval="$enable_metafile"
8041
8042 if test "$enableval" = yes; then
8043 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8044 else
8045 ac_cv_use_metafile='wxUSE_METAFILE=no'
8046 fi
8047
8048 else
8049
8050 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8051 if test "x$LINE" != x ; then
8052 eval "DEFAULT_$LINE"
8053 else
8054 no_cache=1
8055 fi
8056
8057 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8058
8059 fi
8060
8061
8062 eval "$ac_cv_use_metafile"
8063 if test "$no_cache" != 1; then
8064 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8065 fi
8066
8067 if test "$wxUSE_METAFILE" = yes; then
8068 echo "$ac_t""yes" 1>&6
8069 else
8070 echo "$ac_t""no" 1>&6
8071 fi
8072
8073
8074 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8075 echo "configure:8076: checking for --enable-dragimage" >&5
8076 no_cache=0
8077 # Check whether --enable-dragimage or --disable-dragimage was given.
8078 if test "${enable_dragimage+set}" = set; then
8079 enableval="$enable_dragimage"
8080
8081 if test "$enableval" = yes; then
8082 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
8083 else
8084 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
8085 fi
8086
8087 else
8088
8089 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8090 if test "x$LINE" != x ; then
8091 eval "DEFAULT_$LINE"
8092 else
8093 no_cache=1
8094 fi
8095
8096 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8097
8098 fi
8099
8100
8101 eval "$ac_cv_use_dragimage"
8102 if test "$no_cache" != 1; then
8103 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8104 fi
8105
8106 if test "$wxUSE_DRAGIMAGE" = yes; then
8107 echo "$ac_t""yes" 1>&6
8108 else
8109 echo "$ac_t""no" 1>&6
8110 fi
8111
8112
8113
8114
8115 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8116 echo "configure:8117: checking for --enable-palette" >&5
8117 no_cache=0
8118 # Check whether --enable-palette or --disable-palette was given.
8119 if test "${enable_palette+set}" = set; then
8120 enableval="$enable_palette"
8121
8122 if test "$enableval" = yes; then
8123 ac_cv_use_palette='wxUSE_PALETTE=yes'
8124 else
8125 ac_cv_use_palette='wxUSE_PALETTE=no'
8126 fi
8127
8128 else
8129
8130 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8131 if test "x$LINE" != x ; then
8132 eval "DEFAULT_$LINE"
8133 else
8134 no_cache=1
8135 fi
8136
8137 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8138
8139 fi
8140
8141
8142 eval "$ac_cv_use_palette"
8143 if test "$no_cache" != 1; then
8144 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8145 fi
8146
8147 if test "$wxUSE_PALETTE" = yes; then
8148 echo "$ac_t""yes" 1>&6
8149 else
8150 echo "$ac_t""no" 1>&6
8151 fi
8152
8153
8154 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8155 echo "configure:8156: checking for --enable-image" >&5
8156 no_cache=0
8157 # Check whether --enable-image or --disable-image was given.
8158 if test "${enable_image+set}" = set; then
8159 enableval="$enable_image"
8160
8161 if test "$enableval" = yes; then
8162 ac_cv_use_image='wxUSE_IMAGE=yes'
8163 else
8164 ac_cv_use_image='wxUSE_IMAGE=no'
8165 fi
8166
8167 else
8168
8169 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8170 if test "x$LINE" != x ; then
8171 eval "DEFAULT_$LINE"
8172 else
8173 no_cache=1
8174 fi
8175
8176 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8177
8178 fi
8179
8180
8181 eval "$ac_cv_use_image"
8182 if test "$no_cache" != 1; then
8183 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8184 fi
8185
8186 if test "$wxUSE_IMAGE" = yes; then
8187 echo "$ac_t""yes" 1>&6
8188 else
8189 echo "$ac_t""no" 1>&6
8190 fi
8191
8192
8193 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8194 echo "configure:8195: checking for --enable-gif" >&5
8195 no_cache=0
8196 # Check whether --enable-gif or --disable-gif was given.
8197 if test "${enable_gif+set}" = set; then
8198 enableval="$enable_gif"
8199
8200 if test "$enableval" = yes; then
8201 ac_cv_use_gif='wxUSE_GIF=yes'
8202 else
8203 ac_cv_use_gif='wxUSE_GIF=no'
8204 fi
8205
8206 else
8207
8208 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8209 if test "x$LINE" != x ; then
8210 eval "DEFAULT_$LINE"
8211 else
8212 no_cache=1
8213 fi
8214
8215 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8216
8217 fi
8218
8219
8220 eval "$ac_cv_use_gif"
8221 if test "$no_cache" != 1; then
8222 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8223 fi
8224
8225 if test "$wxUSE_GIF" = yes; then
8226 echo "$ac_t""yes" 1>&6
8227 else
8228 echo "$ac_t""no" 1>&6
8229 fi
8230
8231
8232 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8233 echo "configure:8234: checking for --enable-pcx" >&5
8234 no_cache=0
8235 # Check whether --enable-pcx or --disable-pcx was given.
8236 if test "${enable_pcx+set}" = set; then
8237 enableval="$enable_pcx"
8238
8239 if test "$enableval" = yes; then
8240 ac_cv_use_pcx='wxUSE_PCX=yes'
8241 else
8242 ac_cv_use_pcx='wxUSE_PCX=no'
8243 fi
8244
8245 else
8246
8247 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8248 if test "x$LINE" != x ; then
8249 eval "DEFAULT_$LINE"
8250 else
8251 no_cache=1
8252 fi
8253
8254 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8255
8256 fi
8257
8258
8259 eval "$ac_cv_use_pcx"
8260 if test "$no_cache" != 1; then
8261 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8262 fi
8263
8264 if test "$wxUSE_PCX" = yes; then
8265 echo "$ac_t""yes" 1>&6
8266 else
8267 echo "$ac_t""no" 1>&6
8268 fi
8269
8270
8271 echo $ac_n "checking for --enable-iff""... $ac_c" 1>&6
8272 echo "configure:8273: checking for --enable-iff" >&5
8273 no_cache=0
8274 # Check whether --enable-iff or --disable-iff was given.
8275 if test "${enable_iff+set}" = set; then
8276 enableval="$enable_iff"
8277
8278 if test "$enableval" = yes; then
8279 ac_cv_use_iff='wxUSE_IFF=yes'
8280 else
8281 ac_cv_use_iff='wxUSE_IFF=no'
8282 fi
8283
8284 else
8285
8286 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8287 if test "x$LINE" != x ; then
8288 eval "DEFAULT_$LINE"
8289 else
8290 no_cache=1
8291 fi
8292
8293 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8294
8295 fi
8296
8297
8298 eval "$ac_cv_use_iff"
8299 if test "$no_cache" != 1; then
8300 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8301 fi
8302
8303 if test "$wxUSE_IFF" = yes; then
8304 echo "$ac_t""yes" 1>&6
8305 else
8306 echo "$ac_t""no" 1>&6
8307 fi
8308
8309
8310 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8311 echo "configure:8312: checking for --enable-pnm" >&5
8312 no_cache=0
8313 # Check whether --enable-pnm or --disable-pnm was given.
8314 if test "${enable_pnm+set}" = set; then
8315 enableval="$enable_pnm"
8316
8317 if test "$enableval" = yes; then
8318 ac_cv_use_pnm='wxUSE_PNM=yes'
8319 else
8320 ac_cv_use_pnm='wxUSE_PNM=no'
8321 fi
8322
8323 else
8324
8325 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8326 if test "x$LINE" != x ; then
8327 eval "DEFAULT_$LINE"
8328 else
8329 no_cache=1
8330 fi
8331
8332 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8333
8334 fi
8335
8336
8337 eval "$ac_cv_use_pnm"
8338 if test "$no_cache" != 1; then
8339 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8340 fi
8341
8342 if test "$wxUSE_PNM" = yes; then
8343 echo "$ac_t""yes" 1>&6
8344 else
8345 echo "$ac_t""no" 1>&6
8346 fi
8347
8348
8349 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8350 echo "configure:8351: checking for --enable-xpm" >&5
8351 no_cache=0
8352 # Check whether --enable-xpm or --disable-xpm was given.
8353 if test "${enable_xpm+set}" = set; then
8354 enableval="$enable_xpm"
8355
8356 if test "$enableval" = yes; then
8357 ac_cv_use_xpm='wxUSE_XPM=yes'
8358 else
8359 ac_cv_use_xpm='wxUSE_XPM=no'
8360 fi
8361
8362 else
8363
8364 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8365 if test "x$LINE" != x ; then
8366 eval "DEFAULT_$LINE"
8367 else
8368 no_cache=1
8369 fi
8370
8371 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8372
8373 fi
8374
8375
8376 eval "$ac_cv_use_xpm"
8377 if test "$no_cache" != 1; then
8378 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8379 fi
8380
8381 if test "$wxUSE_XPM" = yes; then
8382 echo "$ac_t""yes" 1>&6
8383 else
8384 echo "$ac_t""no" 1>&6
8385 fi
8386
8387
8388 echo $ac_n "checking for --enable-ico_cur""... $ac_c" 1>&6
8389 echo "configure:8390: checking for --enable-ico_cur" >&5
8390 no_cache=0
8391 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8392 if test "${enable_ico_cur+set}" = set; then
8393 enableval="$enable_ico_cur"
8394
8395 if test "$enableval" = yes; then
8396 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
8397 else
8398 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
8399 fi
8400
8401 else
8402
8403 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8404 if test "x$LINE" != x ; then
8405 eval "DEFAULT_$LINE"
8406 else
8407 no_cache=1
8408 fi
8409
8410 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8411
8412 fi
8413
8414
8415 eval "$ac_cv_use_ico_cur"
8416 if test "$no_cache" != 1; then
8417 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8418 fi
8419
8420 if test "$wxUSE_ICO_CUR" = yes; then
8421 echo "$ac_t""yes" 1>&6
8422 else
8423 echo "$ac_t""no" 1>&6
8424 fi
8425
8426
8427 fi
8428
8429 case "${host}" in
8430 *-pc-os2_emx | *-pc-os2-emx )
8431 LEX_STEM="lexyy"
8432 ;;
8433 *)
8434 PATH_IFS=':'
8435 LEX_STEM="lex.yy"
8436 ;;
8437 esac
8438
8439
8440
8441 echo "saving argument cache $wx_arg_cache_file"
8442 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
8443
8444
8445
8446 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8447 echo "configure:8448: checking for toolkit" >&5
8448
8449 if test "$wxUSE_GUI" = "yes"; then
8450
8451 if test "$USE_BEOS" = 1; then
8452 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8453 fi
8454
8455 if test "$TOOLKIT_GIVEN" = 1; then
8456 for toolkit in `echo $ALL_TOOLKITS`; do
8457 var=wxUSE_$toolkit
8458 eval "value=\$${var}"
8459 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
8460 done
8461 else
8462 for toolkit in `echo $ALL_TOOLKITS`; do
8463 if test "$has_toolkit_in_cache" != 1; then
8464 var=DEFAULT_DEFAULT_wxUSE_$toolkit
8465 else
8466 var=DEFAULT_wxUSE_$toolkit
8467 fi
8468 eval "wxUSE_$toolkit=\$${var}"
8469 done
8470 fi
8471
8472 NUM_TOOLKITS=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8473 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8474
8475 case "${host}" in
8476 *-pc-os2_emx | *-pc-os2-emx )
8477 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8478 esac
8479
8480 case "$NUM_TOOLKITS" in
8481 1)
8482 ;;
8483 0)
8484 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8485 ;;
8486 *)
8487 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8488 esac
8489
8490 for toolkit in `echo $ALL_TOOLKITS`; do
8491 var=wxUSE_$toolkit
8492 eval "value=\$${var}"
8493 if test "x$value" != x; then
8494 cache_var=CACHE_$toolkit
8495 eval "cache=\$${cache_var}"
8496 if test "$cache" = 1; then
8497 echo "$var=$value" >> ${wx_arg_cache_file}
8498 fi
8499 if test "$value" = 1; then
8500 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
8501 echo "$ac_t""$toolkit_echo" 1>&6
8502 fi
8503 fi
8504 done
8505 else
8506 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8507 fi
8508
8509
8510 cat > confcache <<\EOF
8511 # This file is a shell script that caches the results of configure
8512 # tests run on this system so they can be shared between configure
8513 # scripts and configure runs. It is not useful on other systems.
8514 # If it contains results you don't want to keep, you may remove or edit it.
8515 #
8516 # By default, configure uses ./config.cache as the cache file,
8517 # creating it if it does not exist already. You can give configure
8518 # the --cache-file=FILE option to use a different cache file; that is
8519 # what configure does when it calls configure scripts in
8520 # subdirectories, so they share the cache.
8521 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8522 # config.status only pays attention to the cache file if you give it the
8523 # --recheck option to rerun configure.
8524 #
8525 EOF
8526 # The following way of writing the cache mishandles newlines in values,
8527 # but we know of no workaround that is simple, portable, and efficient.
8528 # So, don't put newlines in cache variables' values.
8529 # Ultrix sh set writes to stderr and can't be redirected directly,
8530 # and sets the high bit in the cache file unless we assign to the vars.
8531 (set) 2>&1 |
8532 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8533 *ac_space=\ *)
8534 # `set' does not quote correctly, so add quotes (double-quote substitution
8535 # turns \\\\ into \\, and sed turns \\ into \).
8536 sed -n \
8537 -e "s/'/'\\\\''/g" \
8538 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8539 ;;
8540 *)
8541 # `set' quotes correctly as required by POSIX, so do not add quotes.
8542 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8543 ;;
8544 esac >> confcache
8545 if cmp -s $cache_file confcache; then
8546 :
8547 else
8548 if test -w $cache_file; then
8549 echo "updating cache $cache_file"
8550 cat confcache > $cache_file
8551 else
8552 echo "not updating unwritable cache $cache_file"
8553 fi
8554 fi
8555 rm -f confcache
8556
8557
8558 if test "$build" != "$host" ; then
8559 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8560 CC=$host_alias-gcc
8561 CXX=$host_alias-c++
8562 AR=$host_alias-ar
8563 RANLIB=$host_alias-ranlib
8564 DLLTOOL=$host_alias-dlltool
8565 RESCOMP=$host_alias-windres
8566 LD=$host_alias-ld
8567 NM=$host_alias-nm
8568 STRIP=$host_alias-strip
8569 else
8570 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8571 fi
8572 fi
8573
8574 CFLAGS=${CFLAGS:=}
8575 # Extract the first word of "gcc", so it can be a program name with args.
8576 set dummy gcc; ac_word=$2
8577 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8578 echo "configure:8579: checking for $ac_word" >&5
8579 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8580 echo $ac_n "(cached) $ac_c" 1>&6
8581 else
8582 if test -n "$CC"; then
8583 ac_cv_prog_CC="$CC" # Let the user override the test.
8584 else
8585 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8586 ac_dummy="$PATH"
8587 for ac_dir in $ac_dummy; do
8588 test -z "$ac_dir" && ac_dir=.
8589 if test -f $ac_dir/$ac_word; then
8590 ac_cv_prog_CC="gcc"
8591 break
8592 fi
8593 done
8594 IFS="$ac_save_ifs"
8595 fi
8596 fi
8597 CC="$ac_cv_prog_CC"
8598 if test -n "$CC"; then
8599 echo "$ac_t""$CC" 1>&6
8600 else
8601 echo "$ac_t""no" 1>&6
8602 fi
8603
8604 if test -z "$CC"; then
8605 # Extract the first word of "cc", so it can be a program name with args.
8606 set dummy cc; ac_word=$2
8607 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8608 echo "configure:8609: checking for $ac_word" >&5
8609 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8610 echo $ac_n "(cached) $ac_c" 1>&6
8611 else
8612 if test -n "$CC"; then
8613 ac_cv_prog_CC="$CC" # Let the user override the test.
8614 else
8615 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8616 ac_prog_rejected=no
8617 ac_dummy="$PATH"
8618 for ac_dir in $ac_dummy; do
8619 test -z "$ac_dir" && ac_dir=.
8620 if test -f $ac_dir/$ac_word; then
8621 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8622 ac_prog_rejected=yes
8623 continue
8624 fi
8625 ac_cv_prog_CC="cc"
8626 break
8627 fi
8628 done
8629 IFS="$ac_save_ifs"
8630 if test $ac_prog_rejected = yes; then
8631 # We found a bogon in the path, so make sure we never use it.
8632 set dummy $ac_cv_prog_CC
8633 shift
8634 if test $# -gt 0; then
8635 # We chose a different compiler from the bogus one.
8636 # However, it has the same basename, so the bogon will be chosen
8637 # first if we set CC to just the basename; use the full file name.
8638 shift
8639 set dummy "$ac_dir/$ac_word" "$@"
8640 shift
8641 ac_cv_prog_CC="$@"
8642 fi
8643 fi
8644 fi
8645 fi
8646 CC="$ac_cv_prog_CC"
8647 if test -n "$CC"; then
8648 echo "$ac_t""$CC" 1>&6
8649 else
8650 echo "$ac_t""no" 1>&6
8651 fi
8652
8653 if test -z "$CC"; then
8654 case "`uname -s`" in
8655 *win32* | *WIN32*)
8656 # Extract the first word of "cl", so it can be a program name with args.
8657 set dummy cl; ac_word=$2
8658 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8659 echo "configure:8660: checking for $ac_word" >&5
8660 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8661 echo $ac_n "(cached) $ac_c" 1>&6
8662 else
8663 if test -n "$CC"; then
8664 ac_cv_prog_CC="$CC" # Let the user override the test.
8665 else
8666 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8667 ac_dummy="$PATH"
8668 for ac_dir in $ac_dummy; do
8669 test -z "$ac_dir" && ac_dir=.
8670 if test -f $ac_dir/$ac_word; then
8671 ac_cv_prog_CC="cl"
8672 break
8673 fi
8674 done
8675 IFS="$ac_save_ifs"
8676 fi
8677 fi
8678 CC="$ac_cv_prog_CC"
8679 if test -n "$CC"; then
8680 echo "$ac_t""$CC" 1>&6
8681 else
8682 echo "$ac_t""no" 1>&6
8683 fi
8684 ;;
8685 esac
8686 fi
8687 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8688 fi
8689
8690 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8691 echo "configure:8692: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8692
8693 ac_ext=c
8694 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8695 ac_cpp='$CPP $CPPFLAGS'
8696 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8697 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8698 cross_compiling=$ac_cv_prog_cc_cross
8699
8700 cat > conftest.$ac_ext << EOF
8701
8702 #line 8703 "configure"
8703 #include "confdefs.h"
8704
8705 main(){return(0);}
8706 EOF
8707 if { (eval echo configure:8708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8708 ac_cv_prog_cc_works=yes
8709 # If we can't run a trivial program, we are probably using a cross compiler.
8710 if (./conftest; exit) 2>/dev/null; then
8711 ac_cv_prog_cc_cross=no
8712 else
8713 ac_cv_prog_cc_cross=yes
8714 fi
8715 else
8716 echo "configure: failed program was:" >&5
8717 cat conftest.$ac_ext >&5
8718 ac_cv_prog_cc_works=no
8719 fi
8720 rm -fr conftest*
8721 ac_ext=c
8722 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8723 ac_cpp='$CPP $CPPFLAGS'
8724 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8725 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8726 cross_compiling=$ac_cv_prog_cc_cross
8727
8728 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8729 if test $ac_cv_prog_cc_works = no; then
8730 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8731 fi
8732 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8733 echo "configure:8734: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8734 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8735 cross_compiling=$ac_cv_prog_cc_cross
8736
8737 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8738 echo "configure:8739: checking whether we are using GNU C" >&5
8739 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8740 echo $ac_n "(cached) $ac_c" 1>&6
8741 else
8742 cat > conftest.c <<EOF
8743 #ifdef __GNUC__
8744 yes;
8745 #endif
8746 EOF
8747 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:8748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
8748 ac_cv_prog_gcc=yes
8749 else
8750 ac_cv_prog_gcc=no
8751 fi
8752 fi
8753
8754 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8755
8756 if test $ac_cv_prog_gcc = yes; then
8757 GCC=yes
8758 else
8759 GCC=
8760 fi
8761
8762 ac_test_CFLAGS="${CFLAGS+set}"
8763 ac_save_CFLAGS="$CFLAGS"
8764 CFLAGS=
8765 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8766 echo "configure:8767: checking whether ${CC-cc} accepts -g" >&5
8767 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8768 echo $ac_n "(cached) $ac_c" 1>&6
8769 else
8770 echo 'void f(){}' > conftest.c
8771 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8772 ac_cv_prog_cc_g=yes
8773 else
8774 ac_cv_prog_cc_g=no
8775 fi
8776 rm -f conftest*
8777
8778 fi
8779
8780 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8781 if test "$ac_test_CFLAGS" = set; then
8782 CFLAGS="$ac_save_CFLAGS"
8783 elif test $ac_cv_prog_cc_g = yes; then
8784 if test "$GCC" = yes; then
8785 CFLAGS="-g -O2"
8786 else
8787 CFLAGS="-g"
8788 fi
8789 else
8790 if test "$GCC" = yes; then
8791 CFLAGS="-O2"
8792 else
8793 CFLAGS=
8794 fi
8795 fi
8796
8797
8798 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8799 echo "configure:8800: checking how to run the C preprocessor" >&5
8800 # On Suns, sometimes $CPP names a directory.
8801 if test -n "$CPP" && test -d "$CPP"; then
8802 CPP=
8803 fi
8804 if test -z "$CPP"; then
8805 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8806 echo $ac_n "(cached) $ac_c" 1>&6
8807 else
8808 # This must be in double quotes, not single quotes, because CPP may get
8809 # substituted into the Makefile and "${CC-cc}" will confuse make.
8810 CPP="${CC-cc} -E"
8811 # On the NeXT, cc -E runs the code through the compiler's parser,
8812 # not just through cpp.
8813 cat > conftest.$ac_ext <<EOF
8814 #line 8815 "configure"
8815 #include "confdefs.h"
8816 #include <assert.h>
8817 Syntax Error
8818 EOF
8819 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8820 { (eval echo configure:8821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8821 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8822 if test -z "$ac_err"; then
8823 :
8824 else
8825 echo "$ac_err" >&5
8826 echo "configure: failed program was:" >&5
8827 cat conftest.$ac_ext >&5
8828 rm -rf conftest*
8829 CPP="${CC-cc} -E -traditional-cpp"
8830 cat > conftest.$ac_ext <<EOF
8831 #line 8832 "configure"
8832 #include "confdefs.h"
8833 #include <assert.h>
8834 Syntax Error
8835 EOF
8836 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8837 { (eval echo configure:8838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8838 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8839 if test -z "$ac_err"; then
8840 :
8841 else
8842 echo "$ac_err" >&5
8843 echo "configure: failed program was:" >&5
8844 cat conftest.$ac_ext >&5
8845 rm -rf conftest*
8846 CPP="${CC-cc} -nologo -E"
8847 cat > conftest.$ac_ext <<EOF
8848 #line 8849 "configure"
8849 #include "confdefs.h"
8850 #include <assert.h>
8851 Syntax Error
8852 EOF
8853 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8854 { (eval echo configure:8855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8855 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8856 if test -z "$ac_err"; then
8857 :
8858 else
8859 echo "$ac_err" >&5
8860 echo "configure: failed program was:" >&5
8861 cat conftest.$ac_ext >&5
8862 rm -rf conftest*
8863 CPP=/lib/cpp
8864 fi
8865 rm -f conftest*
8866 fi
8867 rm -f conftest*
8868 fi
8869 rm -f conftest*
8870 ac_cv_prog_CPP="$CPP"
8871 fi
8872 CPP="$ac_cv_prog_CPP"
8873 else
8874 ac_cv_prog_CPP="$CPP"
8875 fi
8876 echo "$ac_t""$CPP" 1>&6
8877
8878 if test $ac_cv_prog_gcc = yes; then
8879 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8880 echo "configure:8881: checking whether ${CC-cc} needs -traditional" >&5
8881 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8882 echo $ac_n "(cached) $ac_c" 1>&6
8883 else
8884 ac_pattern="Autoconf.*'x'"
8885 cat > conftest.$ac_ext <<EOF
8886 #line 8887 "configure"
8887 #include "confdefs.h"
8888 #include <sgtty.h>
8889 Autoconf TIOCGETP
8890 EOF
8891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8892 egrep "$ac_pattern" >/dev/null 2>&1; then
8893 rm -rf conftest*
8894 ac_cv_prog_gcc_traditional=yes
8895 else
8896 rm -rf conftest*
8897 ac_cv_prog_gcc_traditional=no
8898 fi
8899 rm -f conftest*
8900
8901
8902 if test $ac_cv_prog_gcc_traditional = no; then
8903 cat > conftest.$ac_ext <<EOF
8904 #line 8905 "configure"
8905 #include "confdefs.h"
8906 #include <termio.h>
8907 Autoconf TCGETA
8908 EOF
8909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8910 egrep "$ac_pattern" >/dev/null 2>&1; then
8911 rm -rf conftest*
8912 ac_cv_prog_gcc_traditional=yes
8913 fi
8914 rm -f conftest*
8915
8916 fi
8917 fi
8918
8919 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8920 if test $ac_cv_prog_gcc_traditional = yes; then
8921 CC="$CC -traditional"
8922 fi
8923 fi
8924
8925
8926
8927 ac_ext=C
8928 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8929 ac_cpp='$CXXCPP $CPPFLAGS'
8930 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8931 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8932 cross_compiling=$ac_cv_prog_cxx_cross
8933
8934
8935 CXXFLAGS=${CXXFLAGS:=}
8936 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
8937 do
8938 # Extract the first word of "$ac_prog", so it can be a program name with args.
8939 set dummy $ac_prog; ac_word=$2
8940 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8941 echo "configure:8942: checking for $ac_word" >&5
8942 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8943 echo $ac_n "(cached) $ac_c" 1>&6
8944 else
8945 if test -n "$CXX"; then
8946 ac_cv_prog_CXX="$CXX" # Let the user override the test.
8947 else
8948 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8949 ac_dummy="$PATH"
8950 for ac_dir in $ac_dummy; do
8951 test -z "$ac_dir" && ac_dir=.
8952 if test -f $ac_dir/$ac_word; then
8953 ac_cv_prog_CXX="$ac_prog"
8954 break
8955 fi
8956 done
8957 IFS="$ac_save_ifs"
8958 fi
8959 fi
8960 CXX="$ac_cv_prog_CXX"
8961 if test -n "$CXX"; then
8962 echo "$ac_t""$CXX" 1>&6
8963 else
8964 echo "$ac_t""no" 1>&6
8965 fi
8966
8967 test -n "$CXX" && break
8968 done
8969 test -n "$CXX" || CXX="gcc"
8970
8971
8972 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8973 echo "configure:8974: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8974
8975 ac_ext=C
8976 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8977 ac_cpp='$CXXCPP $CPPFLAGS'
8978 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8979 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8980 cross_compiling=$ac_cv_prog_cxx_cross
8981
8982 cat > conftest.$ac_ext << EOF
8983
8984 #line 8985 "configure"
8985 #include "confdefs.h"
8986
8987 int main(){return(0);}
8988 EOF
8989 if { (eval echo configure:8990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8990 ac_cv_prog_cxx_works=yes
8991 # If we can't run a trivial program, we are probably using a cross compiler.
8992 if (./conftest; exit) 2>/dev/null; then
8993 ac_cv_prog_cxx_cross=no
8994 else
8995 ac_cv_prog_cxx_cross=yes
8996 fi
8997 else
8998 echo "configure: failed program was:" >&5
8999 cat conftest.$ac_ext >&5
9000 ac_cv_prog_cxx_works=no
9001 fi
9002 rm -fr conftest*
9003 ac_ext=C
9004 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9005 ac_cpp='$CXXCPP $CPPFLAGS'
9006 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9007 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9008 cross_compiling=$ac_cv_prog_cxx_cross
9009
9010 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9011 if test $ac_cv_prog_cxx_works = no; then
9012 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9013 fi
9014 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9015 echo "configure:9016: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9016 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9017 cross_compiling=$ac_cv_prog_cxx_cross
9018
9019 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9020 echo "configure:9021: checking whether we are using GNU C++" >&5
9021 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9022 echo $ac_n "(cached) $ac_c" 1>&6
9023 else
9024 cat > conftest.C <<EOF
9025 #ifdef __GNUC__
9026 yes;
9027 #endif
9028 EOF
9029 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:9030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
9030 ac_cv_prog_gxx=yes
9031 else
9032 ac_cv_prog_gxx=no
9033 fi
9034 fi
9035
9036 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9037
9038 if test $ac_cv_prog_gxx = yes; then
9039 GXX=yes
9040 else
9041 GXX=
9042 fi
9043
9044 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9045 ac_save_CXXFLAGS="$CXXFLAGS"
9046 CXXFLAGS=
9047 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9048 echo "configure:9049: checking whether ${CXX-g++} accepts -g" >&5
9049 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9050 echo $ac_n "(cached) $ac_c" 1>&6
9051 else
9052 echo 'void f(){}' > conftest.cc
9053 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9054 ac_cv_prog_cxx_g=yes
9055 else
9056 ac_cv_prog_cxx_g=no
9057 fi
9058 rm -f conftest*
9059
9060 fi
9061
9062 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9063 if test "$ac_test_CXXFLAGS" = set; then
9064 CXXFLAGS="$ac_save_CXXFLAGS"
9065 elif test $ac_cv_prog_cxx_g = yes; then
9066 if test "$GXX" = yes; then
9067 CXXFLAGS="-g -O2"
9068 else
9069 CXXFLAGS="-g"
9070 fi
9071 else
9072 if test "$GXX" = yes; then
9073 CXXFLAGS="-O2"
9074 else
9075 CXXFLAGS=
9076 fi
9077 fi
9078
9079
9080 ac_ext=c
9081 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9082 ac_cpp='$CPP $CPPFLAGS'
9083 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9084 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9085 cross_compiling=$ac_cv_prog_cc_cross
9086
9087
9088 # Extract the first word of "ranlib", so it can be a program name with args.
9089 set dummy ranlib; ac_word=$2
9090 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9091 echo "configure:9092: checking for $ac_word" >&5
9092 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9093 echo $ac_n "(cached) $ac_c" 1>&6
9094 else
9095 if test -n "$RANLIB"; then
9096 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9097 else
9098 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9099 ac_dummy="$PATH"
9100 for ac_dir in $ac_dummy; do
9101 test -z "$ac_dir" && ac_dir=.
9102 if test -f $ac_dir/$ac_word; then
9103 ac_cv_prog_RANLIB="ranlib"
9104 break
9105 fi
9106 done
9107 IFS="$ac_save_ifs"
9108 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
9109 fi
9110 fi
9111 RANLIB="$ac_cv_prog_RANLIB"
9112 if test -n "$RANLIB"; then
9113 echo "$ac_t""$RANLIB" 1>&6
9114 else
9115 echo "$ac_t""no" 1>&6
9116 fi
9117
9118
9119 # Extract the first word of "ar", so it can be a program name with args.
9120 set dummy ar; ac_word=$2
9121 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9122 echo "configure:9123: checking for $ac_word" >&5
9123 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9124 echo $ac_n "(cached) $ac_c" 1>&6
9125 else
9126 if test -n "$AR"; then
9127 ac_cv_prog_AR="$AR" # Let the user override the test.
9128 else
9129 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9130 ac_dummy="$PATH"
9131 for ac_dir in $ac_dummy; do
9132 test -z "$ac_dir" && ac_dir=.
9133 if test -f $ac_dir/$ac_word; then
9134 ac_cv_prog_AR="ar"
9135 break
9136 fi
9137 done
9138 IFS="$ac_save_ifs"
9139 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
9140 fi
9141 fi
9142 AR="$ac_cv_prog_AR"
9143 if test -n "$AR"; then
9144 echo "$ac_t""$AR" 1>&6
9145 else
9146 echo "$ac_t""no" 1>&6
9147 fi
9148
9149
9150 # Find a good install program. We prefer a C program (faster),
9151 # so one script is as good as another. But avoid the broken or
9152 # incompatible versions:
9153 # SysV /etc/install, /usr/sbin/install
9154 # SunOS /usr/etc/install
9155 # IRIX /sbin/install
9156 # AIX /bin/install
9157 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9158 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9159 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9160 # ./install, which can be erroneously created by make from ./install.sh.
9161 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9162 echo "configure:9163: checking for a BSD compatible install" >&5
9163 if test -z "$INSTALL"; then
9164 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9165 echo $ac_n "(cached) $ac_c" 1>&6
9166 else
9167 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
9168 for ac_dir in $PATH; do
9169 # Account for people who put trailing slashes in PATH elements.
9170 case "$ac_dir/" in
9171 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
9172 *)
9173 # OSF1 and SCO ODT 3.0 have their own names for install.
9174 # Don't use installbsd from OSF since it installs stuff as root
9175 # by default.
9176 for ac_prog in ginstall scoinst install; do
9177 if test -f $ac_dir/$ac_prog; then
9178 if test $ac_prog = install &&
9179 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
9180 # AIX install. It has an incompatible calling convention.
9181 :
9182 else
9183 ac_cv_path_install="$ac_dir/$ac_prog -c"
9184 break 2
9185 fi
9186 fi
9187 done
9188 ;;
9189 esac
9190 done
9191 IFS="$ac_save_IFS"
9192
9193 fi
9194 if test "${ac_cv_path_install+set}" = set; then
9195 INSTALL="$ac_cv_path_install"
9196 else
9197 # As a last resort, use the slow shell script. We don't cache a
9198 # path for INSTALL within a source directory, because that will
9199 # break other packages using the cache if that directory is
9200 # removed, or if the path is relative.
9201 INSTALL="$ac_install_sh"
9202 fi
9203 fi
9204 echo "$ac_t""$INSTALL" 1>&6
9205
9206 #Make path Absolute if not already
9207 case ${INSTALL} in
9208 /* ) # Absolute
9209 ;;
9210 *)
9211 INSTALL=`pwd`/${INSTALL} ;;
9212 esac
9213
9214
9215 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9216 # It thinks the first close brace ends the variable substitution.
9217 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
9218
9219 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
9220
9221 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
9222
9223 case "${host}" in
9224
9225 powerpc-*-darwin* )
9226 INSTALL_PROGRAM="cp -fp"
9227 INSTALL_DATA="cp -fp"
9228 ;;
9229 *)
9230 ;;
9231 esac
9232
9233 # Extract the first word of "strip", so it can be a program name with args.
9234 set dummy strip; ac_word=$2
9235 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9236 echo "configure:9228: checking for $ac_word" >&5
9237 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9238 echo $ac_n "(cached) $ac_c" 1>&6
9239 else
9240 if test -n "$STRIP"; then
9241 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9242 else
9243 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9244 ac_dummy="$PATH"
9245 for ac_dir in $ac_dummy; do
9246 test -z "$ac_dir" && ac_dir=.
9247 if test -f $ac_dir/$ac_word; then
9248 ac_cv_prog_STRIP="strip"
9249 break
9250 fi
9251 done
9252 IFS="$ac_save_ifs"
9253 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
9254 fi
9255 fi
9256 STRIP="$ac_cv_prog_STRIP"
9257 if test -n "$STRIP"; then
9258 echo "$ac_t""$STRIP" 1>&6
9259 else
9260 echo "$ac_t""no" 1>&6
9261 fi
9262
9263
9264 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9265 echo "configure:9257: checking if make is GNU make" >&5
9266 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9267 echo $ac_n "(cached) $ac_c" 1>&6
9268 else
9269
9270 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
9271 egrep -s GNU > /dev/null); then
9272 wx_cv_prog_makeisgnu="yes"
9273 else
9274 wx_cv_prog_makeisgnu="no"
9275 fi
9276
9277 fi
9278
9279 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9280
9281 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9282 IF_GNU_MAKE=""
9283 else
9284 IF_GNU_MAKE="#"
9285 fi
9286
9287
9288
9289 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9290 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9291 echo "configure:9283: checking if make supports VPATH" >&5
9292 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9293 echo $ac_n "(cached) $ac_c" 1>&6
9294 else
9295
9296 cat - << EOF > confMake
9297 check : file
9298 cp \$? \$@
9299 cp \$? final_file
9300 EOF
9301
9302 if test ! -d sub ; then
9303 mkdir sub
9304 fi
9305 echo dummy > sub/file
9306 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
9307 RESULT=$?
9308 rm -f sub/file check final_file confMake
9309 rmdir sub
9310 if test "$RESULT" = 0; then
9311 wx_cv_prog_makevpath="yes"
9312 else
9313 wx_cv_prog_makevpath="no"
9314 fi
9315
9316 fi
9317
9318 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9319
9320 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9321 { echo "configure: error:
9322 You need a make-utility that is able to use the variable
9323 VPATH correctly.
9324 If your version of make does not support VPATH correctly,
9325 please install GNU-make (possibly as gmake), and start
9326 configure with the following command:
9327 export MAKE=gmake; ./configure for sh-type shells
9328 setenv MAKE gmake; ./configure for csh-type shells
9329 Also please do remember to use gmake in this case every time
9330 you are trying to compile.
9331 " 1>&2; exit 1; }
9332 fi fi
9333 for ac_prog in 'bison -y' byacc
9334 do
9335 # Extract the first word of "$ac_prog", so it can be a program name with args.
9336 set dummy $ac_prog; ac_word=$2
9337 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9338 echo "configure:9330: checking for $ac_word" >&5
9339 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9340 echo $ac_n "(cached) $ac_c" 1>&6
9341 else
9342 if test -n "$YACC"; then
9343 ac_cv_prog_YACC="$YACC" # Let the user override the test.
9344 else
9345 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9346 ac_dummy="$PATH"
9347 for ac_dir in $ac_dummy; do
9348 test -z "$ac_dir" && ac_dir=.
9349 if test -f $ac_dir/$ac_word; then
9350 ac_cv_prog_YACC="$ac_prog"
9351 break
9352 fi
9353 done
9354 IFS="$ac_save_ifs"
9355 fi
9356 fi
9357 YACC="$ac_cv_prog_YACC"
9358 if test -n "$YACC"; then
9359 echo "$ac_t""$YACC" 1>&6
9360 else
9361 echo "$ac_t""no" 1>&6
9362 fi
9363
9364 test -n "$YACC" && break
9365 done
9366 test -n "$YACC" || YACC="yacc"
9367
9368
9369 # Extract the first word of "flex", so it can be a program name with args.
9370 set dummy flex; ac_word=$2
9371 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9372 echo "configure:9364: checking for $ac_word" >&5
9373 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9374 echo $ac_n "(cached) $ac_c" 1>&6
9375 else
9376 if test -n "$LEX"; then
9377 ac_cv_prog_LEX="$LEX" # Let the user override the test.
9378 else
9379 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9380 ac_dummy="$PATH"
9381 for ac_dir in $ac_dummy; do
9382 test -z "$ac_dir" && ac_dir=.
9383 if test -f $ac_dir/$ac_word; then
9384 ac_cv_prog_LEX="flex"
9385 break
9386 fi
9387 done
9388 IFS="$ac_save_ifs"
9389 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"
9390 fi
9391 fi
9392 LEX="$ac_cv_prog_LEX"
9393 if test -n "$LEX"; then
9394 echo "$ac_t""$LEX" 1>&6
9395 else
9396 echo "$ac_t""no" 1>&6
9397 fi
9398
9399 if test -z "$LEXLIB"
9400 then
9401 case "$LEX" in
9402 flex*) ac_lib=fl ;;
9403 *) ac_lib=l ;;
9404 esac
9405 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9406 echo "configure:9398: checking for yywrap in -l$ac_lib" >&5
9407 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9408 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9409 echo $ac_n "(cached) $ac_c" 1>&6
9410 else
9411 ac_save_LIBS="$LIBS"
9412 LIBS="-l$ac_lib $LIBS"
9413 cat > conftest.$ac_ext <<EOF
9414 #line 9406 "configure"
9415 #include "confdefs.h"
9416 /* Override any gcc2 internal prototype to avoid an error. */
9417 /* We use char because int might match the return type of a gcc2
9418 builtin and then its argument prototype would still apply. */
9419 char yywrap();
9420
9421 int main() {
9422 yywrap()
9423 ; return 0; }
9424 EOF
9425 if { (eval echo configure:9417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9426 rm -rf conftest*
9427 eval "ac_cv_lib_$ac_lib_var=yes"
9428 else
9429 echo "configure: failed program was:" >&5
9430 cat conftest.$ac_ext >&5
9431 rm -rf conftest*
9432 eval "ac_cv_lib_$ac_lib_var=no"
9433 fi
9434 rm -f conftest*
9435 LIBS="$ac_save_LIBS"
9436
9437 fi
9438 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9439 echo "$ac_t""yes" 1>&6
9440 LEXLIB="-l$ac_lib"
9441 else
9442 echo "$ac_t""no" 1>&6
9443 fi
9444
9445 fi
9446
9447
9448 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9449 echo "configure:9441: checking whether ln -s works" >&5
9450 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9451 echo $ac_n "(cached) $ac_c" 1>&6
9452 else
9453 rm -f conftestdata
9454 if ln -s X conftestdata 2>/dev/null
9455 then
9456 rm -f conftestdata
9457 ac_cv_prog_LN_S="ln -s"
9458 else
9459 ac_cv_prog_LN_S=ln
9460 fi
9461 fi
9462 LN_S="$ac_cv_prog_LN_S"
9463 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9464 echo "$ac_t""yes" 1>&6
9465 else
9466 echo "$ac_t""no" 1>&6
9467 fi
9468
9469
9470
9471 if test "$wxUSE_MAC" != 1; then
9472 for ac_hdr in strings.h
9473 do
9474 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9475 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9476 echo "configure:9468: checking for $ac_hdr" >&5
9477 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9478 echo $ac_n "(cached) $ac_c" 1>&6
9479 else
9480 cat > conftest.$ac_ext <<EOF
9481 #line 9473 "configure"
9482 #include "confdefs.h"
9483 #include <$ac_hdr>
9484 EOF
9485 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9486 { (eval echo configure:9478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9487 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9488 if test -z "$ac_err"; then
9489 rm -rf conftest*
9490 eval "ac_cv_header_$ac_safe=yes"
9491 else
9492 echo "$ac_err" >&5
9493 echo "configure: failed program was:" >&5
9494 cat conftest.$ac_ext >&5
9495 rm -rf conftest*
9496 eval "ac_cv_header_$ac_safe=no"
9497 fi
9498 rm -f conftest*
9499 fi
9500 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9501 echo "$ac_t""yes" 1>&6
9502 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9503 cat >> confdefs.h <<EOF
9504 #define $ac_tr_hdr 1
9505 EOF
9506
9507 else
9508 echo "$ac_t""no" 1>&6
9509 fi
9510 done
9511
9512 fi
9513
9514 for ac_hdr in stdlib.h
9515 do
9516 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9517 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9518 echo "configure:9510: checking for $ac_hdr" >&5
9519 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9520 echo $ac_n "(cached) $ac_c" 1>&6
9521 else
9522 cat > conftest.$ac_ext <<EOF
9523 #line 9515 "configure"
9524 #include "confdefs.h"
9525 #include <$ac_hdr>
9526 EOF
9527 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9528 { (eval echo configure:9520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9529 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9530 if test -z "$ac_err"; then
9531 rm -rf conftest*
9532 eval "ac_cv_header_$ac_safe=yes"
9533 else
9534 echo "$ac_err" >&5
9535 echo "configure: failed program was:" >&5
9536 cat conftest.$ac_ext >&5
9537 rm -rf conftest*
9538 eval "ac_cv_header_$ac_safe=no"
9539 fi
9540 rm -f conftest*
9541 fi
9542 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9543 echo "$ac_t""yes" 1>&6
9544 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9545 cat >> confdefs.h <<EOF
9546 #define $ac_tr_hdr 1
9547 EOF
9548
9549 else
9550 echo "$ac_t""no" 1>&6
9551 fi
9552 done
9553
9554 for ac_hdr in malloc.h
9555 do
9556 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9557 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9558 echo "configure:9550: checking for $ac_hdr" >&5
9559 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9560 echo $ac_n "(cached) $ac_c" 1>&6
9561 else
9562 cat > conftest.$ac_ext <<EOF
9563 #line 9555 "configure"
9564 #include "confdefs.h"
9565 #include <$ac_hdr>
9566 EOF
9567 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9568 { (eval echo configure:9560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9569 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9570 if test -z "$ac_err"; then
9571 rm -rf conftest*
9572 eval "ac_cv_header_$ac_safe=yes"
9573 else
9574 echo "$ac_err" >&5
9575 echo "configure: failed program was:" >&5
9576 cat conftest.$ac_ext >&5
9577 rm -rf conftest*
9578 eval "ac_cv_header_$ac_safe=no"
9579 fi
9580 rm -f conftest*
9581 fi
9582 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9583 echo "$ac_t""yes" 1>&6
9584 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9585 cat >> confdefs.h <<EOF
9586 #define $ac_tr_hdr 1
9587 EOF
9588
9589 else
9590 echo "$ac_t""no" 1>&6
9591 fi
9592 done
9593
9594 for ac_hdr in unistd.h
9595 do
9596 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9597 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9598 echo "configure:9590: checking for $ac_hdr" >&5
9599 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9600 echo $ac_n "(cached) $ac_c" 1>&6
9601 else
9602 cat > conftest.$ac_ext <<EOF
9603 #line 9595 "configure"
9604 #include "confdefs.h"
9605 #include <$ac_hdr>
9606 EOF
9607 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9608 { (eval echo configure:9600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9609 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9610 if test -z "$ac_err"; then
9611 rm -rf conftest*
9612 eval "ac_cv_header_$ac_safe=yes"
9613 else
9614 echo "$ac_err" >&5
9615 echo "configure: failed program was:" >&5
9616 cat conftest.$ac_ext >&5
9617 rm -rf conftest*
9618 eval "ac_cv_header_$ac_safe=no"
9619 fi
9620 rm -f conftest*
9621 fi
9622 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9623 echo "$ac_t""yes" 1>&6
9624 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9625 cat >> confdefs.h <<EOF
9626 #define $ac_tr_hdr 1
9627 EOF
9628
9629 else
9630 echo "$ac_t""no" 1>&6
9631 fi
9632 done
9633
9634 for ac_hdr in wchar.h
9635 do
9636 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9637 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9638 echo "configure:9630: checking for $ac_hdr" >&5
9639 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9640 echo $ac_n "(cached) $ac_c" 1>&6
9641 else
9642 cat > conftest.$ac_ext <<EOF
9643 #line 9635 "configure"
9644 #include "confdefs.h"
9645 #include <$ac_hdr>
9646 EOF
9647 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9648 { (eval echo configure:9640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9649 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9650 if test -z "$ac_err"; then
9651 rm -rf conftest*
9652 eval "ac_cv_header_$ac_safe=yes"
9653 else
9654 echo "$ac_err" >&5
9655 echo "configure: failed program was:" >&5
9656 cat conftest.$ac_ext >&5
9657 rm -rf conftest*
9658 eval "ac_cv_header_$ac_safe=no"
9659 fi
9660 rm -f conftest*
9661 fi
9662 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9663 echo "$ac_t""yes" 1>&6
9664 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9665 cat >> confdefs.h <<EOF
9666 #define $ac_tr_hdr 1
9667 EOF
9668
9669 else
9670 echo "$ac_t""no" 1>&6
9671 fi
9672 done
9673
9674
9675 if test "$ac_cv_header_wchar_h" != "yes"; then
9676 for ac_hdr in wcstr.h
9677 do
9678 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9679 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9680 echo "configure:9672: checking for $ac_hdr" >&5
9681 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9682 echo $ac_n "(cached) $ac_c" 1>&6
9683 else
9684 cat > conftest.$ac_ext <<EOF
9685 #line 9677 "configure"
9686 #include "confdefs.h"
9687 #include <$ac_hdr>
9688 EOF
9689 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9690 { (eval echo configure:9682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9691 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9692 if test -z "$ac_err"; then
9693 rm -rf conftest*
9694 eval "ac_cv_header_$ac_safe=yes"
9695 else
9696 echo "$ac_err" >&5
9697 echo "configure: failed program was:" >&5
9698 cat conftest.$ac_ext >&5
9699 rm -rf conftest*
9700 eval "ac_cv_header_$ac_safe=no"
9701 fi
9702 rm -f conftest*
9703 fi
9704 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9705 echo "$ac_t""yes" 1>&6
9706 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9707 cat >> confdefs.h <<EOF
9708 #define $ac_tr_hdr 1
9709 EOF
9710
9711 else
9712 echo "$ac_t""no" 1>&6
9713 fi
9714 done
9715
9716 fi
9717
9718
9719 for ac_hdr in fnmatch.h
9720 do
9721 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9722 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9723 echo "configure:9715: checking for $ac_hdr" >&5
9724 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9725 echo $ac_n "(cached) $ac_c" 1>&6
9726 else
9727 cat > conftest.$ac_ext <<EOF
9728 #line 9720 "configure"
9729 #include "confdefs.h"
9730 #include <$ac_hdr>
9731 EOF
9732 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9733 { (eval echo configure:9725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9734 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9735 if test -z "$ac_err"; then
9736 rm -rf conftest*
9737 eval "ac_cv_header_$ac_safe=yes"
9738 else
9739 echo "$ac_err" >&5
9740 echo "configure: failed program was:" >&5
9741 cat conftest.$ac_ext >&5
9742 rm -rf conftest*
9743 eval "ac_cv_header_$ac_safe=no"
9744 fi
9745 rm -f conftest*
9746 fi
9747 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9748 echo "$ac_t""yes" 1>&6
9749 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9750 cat >> confdefs.h <<EOF
9751 #define $ac_tr_hdr 1
9752 EOF
9753
9754 else
9755 echo "$ac_t""no" 1>&6
9756 fi
9757 done
9758
9759
9760 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
9761 for ac_func in fnmatch
9762 do
9763 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9764 echo "configure:9756: checking for $ac_func" >&5
9765 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9766 echo $ac_n "(cached) $ac_c" 1>&6
9767 else
9768 cat > conftest.$ac_ext <<EOF
9769 #line 9761 "configure"
9770 #include "confdefs.h"
9771 /* System header to define __stub macros and hopefully few prototypes,
9772 which can conflict with char $ac_func(); below. */
9773 #include <assert.h>
9774 /* Override any gcc2 internal prototype to avoid an error. */
9775 /* We use char because int might match the return type of a gcc2
9776 builtin and then its argument prototype would still apply. */
9777 char $ac_func();
9778
9779 int main() {
9780
9781 /* The GNU C library defines this for functions which it implements
9782 to always fail with ENOSYS. Some functions are actually named
9783 something starting with __ and the normal name is an alias. */
9784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9785 choke me
9786 #else
9787 $ac_func();
9788 #endif
9789
9790 ; return 0; }
9791 EOF
9792 if { (eval echo configure:9784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9793 rm -rf conftest*
9794 eval "ac_cv_func_$ac_func=yes"
9795 else
9796 echo "configure: failed program was:" >&5
9797 cat conftest.$ac_ext >&5
9798 rm -rf conftest*
9799 eval "ac_cv_func_$ac_func=no"
9800 fi
9801 rm -f conftest*
9802 fi
9803
9804 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9805 echo "$ac_t""yes" 1>&6
9806 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9807 cat >> confdefs.h <<EOF
9808 #define $ac_tr_func 1
9809 EOF
9810
9811 else
9812 echo "$ac_t""no" 1>&6
9813 fi
9814 done
9815
9816 fi
9817
9818 for ac_hdr in langinfo.h
9819 do
9820 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9821 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9822 echo "configure:9814: checking for $ac_hdr" >&5
9823 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9824 echo $ac_n "(cached) $ac_c" 1>&6
9825 else
9826 cat > conftest.$ac_ext <<EOF
9827 #line 9819 "configure"
9828 #include "confdefs.h"
9829 #include <$ac_hdr>
9830 EOF
9831 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9832 { (eval echo configure:9824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9833 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9834 if test -z "$ac_err"; then
9835 rm -rf conftest*
9836 eval "ac_cv_header_$ac_safe=yes"
9837 else
9838 echo "$ac_err" >&5
9839 echo "configure: failed program was:" >&5
9840 cat conftest.$ac_ext >&5
9841 rm -rf conftest*
9842 eval "ac_cv_header_$ac_safe=no"
9843 fi
9844 rm -f conftest*
9845 fi
9846 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9847 echo "$ac_t""yes" 1>&6
9848 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9849 cat >> confdefs.h <<EOF
9850 #define $ac_tr_hdr 1
9851 EOF
9852
9853 else
9854 echo "$ac_t""no" 1>&6
9855 fi
9856 done
9857
9858
9859 if test "$wxUSE_GUI" = "yes"; then
9860 if test "$wxUSE_UNIX" = "yes"; then
9861 for ac_hdr in X11/XKBlib.h
9862 do
9863 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9864 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9865 echo "configure:9857: checking for $ac_hdr" >&5
9866 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9867 echo $ac_n "(cached) $ac_c" 1>&6
9868 else
9869 cat > conftest.$ac_ext <<EOF
9870 #line 9862 "configure"
9871 #include "confdefs.h"
9872 #include <$ac_hdr>
9873 EOF
9874 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9875 { (eval echo configure:9867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9876 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9877 if test -z "$ac_err"; then
9878 rm -rf conftest*
9879 eval "ac_cv_header_$ac_safe=yes"
9880 else
9881 echo "$ac_err" >&5
9882 echo "configure: failed program was:" >&5
9883 cat conftest.$ac_ext >&5
9884 rm -rf conftest*
9885 eval "ac_cv_header_$ac_safe=no"
9886 fi
9887 rm -f conftest*
9888 fi
9889 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9890 echo "$ac_t""yes" 1>&6
9891 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9892 cat >> confdefs.h <<EOF
9893 #define $ac_tr_hdr 1
9894 EOF
9895
9896 else
9897 echo "$ac_t""no" 1>&6
9898 fi
9899 done
9900
9901 fi
9902 fi
9903
9904
9905 echo $ac_n "checking for working const""... $ac_c" 1>&6
9906 echo "configure:9898: checking for working const" >&5
9907 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
9908 echo $ac_n "(cached) $ac_c" 1>&6
9909 else
9910 cat > conftest.$ac_ext <<EOF
9911 #line 9903 "configure"
9912 #include "confdefs.h"
9913
9914 int main() {
9915
9916 /* Ultrix mips cc rejects this. */
9917 typedef int charset[2]; const charset x;
9918 /* SunOS 4.1.1 cc rejects this. */
9919 char const *const *ccp;
9920 char **p;
9921 /* NEC SVR4.0.2 mips cc rejects this. */
9922 struct point {int x, y;};
9923 static struct point const zero = {0,0};
9924 /* AIX XL C 1.02.0.0 rejects this.
9925 It does not let you subtract one const X* pointer from another in an arm
9926 of an if-expression whose if-part is not a constant expression */
9927 const char *g = "string";
9928 ccp = &g + (g ? g-g : 0);
9929 /* HPUX 7.0 cc rejects these. */
9930 ++ccp;
9931 p = (char**) ccp;
9932 ccp = (char const *const *) p;
9933 { /* SCO 3.2v4 cc rejects this. */
9934 char *t;
9935 char const *s = 0 ? (char *) 0 : (char const *) 0;
9936
9937 *t++ = 0;
9938 }
9939 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9940 int x[] = {25, 17};
9941 const int *foo = &x[0];
9942 ++foo;
9943 }
9944 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9945 typedef const int *iptr;
9946 iptr p = 0;
9947 ++p;
9948 }
9949 { /* AIX XL C 1.02.0.0 rejects this saying
9950 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9951 struct s { int j; const int *ap[3]; };
9952 struct s *b; b->j = 5;
9953 }
9954 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9955 const int foo = 10;
9956 }
9957
9958 ; return 0; }
9959 EOF
9960 if { (eval echo configure:9952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9961 rm -rf conftest*
9962 ac_cv_c_const=yes
9963 else
9964 echo "configure: failed program was:" >&5
9965 cat conftest.$ac_ext >&5
9966 rm -rf conftest*
9967 ac_cv_c_const=no
9968 fi
9969 rm -f conftest*
9970 fi
9971
9972 echo "$ac_t""$ac_cv_c_const" 1>&6
9973 if test $ac_cv_c_const = no; then
9974 cat >> confdefs.h <<\EOF
9975 #define const
9976 EOF
9977
9978 fi
9979
9980 echo $ac_n "checking for inline""... $ac_c" 1>&6
9981 echo "configure:9973: checking for inline" >&5
9982 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
9983 echo $ac_n "(cached) $ac_c" 1>&6
9984 else
9985 ac_cv_c_inline=no
9986 for ac_kw in inline __inline__ __inline; do
9987 cat > conftest.$ac_ext <<EOF
9988 #line 9980 "configure"
9989 #include "confdefs.h"
9990
9991 int main() {
9992 } $ac_kw foo() {
9993 ; return 0; }
9994 EOF
9995 if { (eval echo configure:9987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9996 rm -rf conftest*
9997 ac_cv_c_inline=$ac_kw; break
9998 else
9999 echo "configure: failed program was:" >&5
10000 cat conftest.$ac_ext >&5
10001 fi
10002 rm -f conftest*
10003 done
10004
10005 fi
10006
10007 echo "$ac_t""$ac_cv_c_inline" 1>&6
10008 case "$ac_cv_c_inline" in
10009 inline | yes) ;;
10010 no) cat >> confdefs.h <<\EOF
10011 #define inline
10012 EOF
10013 ;;
10014 *) cat >> confdefs.h <<EOF
10015 #define inline $ac_cv_c_inline
10016 EOF
10017 ;;
10018 esac
10019
10020
10021 echo $ac_n "checking size of char""... $ac_c" 1>&6
10022 echo "configure:10014: checking size of char" >&5
10023 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10024 echo $ac_n "(cached) $ac_c" 1>&6
10025 else
10026 if test "$cross_compiling" = yes; then
10027 ac_cv_sizeof_char=1
10028 else
10029 cat > conftest.$ac_ext <<EOF
10030 #line 10022 "configure"
10031 #include "confdefs.h"
10032 #include <stdio.h>
10033 main()
10034 {
10035 FILE *f=fopen("conftestval", "w");
10036 if (!f) exit(1);
10037 fprintf(f, "%d\n", sizeof(char));
10038 exit(0);
10039 }
10040 EOF
10041 if { (eval echo configure:10033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10042 then
10043 ac_cv_sizeof_char=`cat conftestval`
10044 else
10045 echo "configure: failed program was:" >&5
10046 cat conftest.$ac_ext >&5
10047 rm -fr conftest*
10048 ac_cv_sizeof_char=0
10049 fi
10050 rm -fr conftest*
10051 fi
10052
10053 fi
10054 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10055 cat >> confdefs.h <<EOF
10056 #define SIZEOF_CHAR $ac_cv_sizeof_char
10057 EOF
10058
10059
10060 echo $ac_n "checking size of short""... $ac_c" 1>&6
10061 echo "configure:10053: checking size of short" >&5
10062 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10063 echo $ac_n "(cached) $ac_c" 1>&6
10064 else
10065 if test "$cross_compiling" = yes; then
10066 ac_cv_sizeof_short=2
10067 else
10068 cat > conftest.$ac_ext <<EOF
10069 #line 10061 "configure"
10070 #include "confdefs.h"
10071 #include <stdio.h>
10072 main()
10073 {
10074 FILE *f=fopen("conftestval", "w");
10075 if (!f) exit(1);
10076 fprintf(f, "%d\n", sizeof(short));
10077 exit(0);
10078 }
10079 EOF
10080 if { (eval echo configure:10072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10081 then
10082 ac_cv_sizeof_short=`cat conftestval`
10083 else
10084 echo "configure: failed program was:" >&5
10085 cat conftest.$ac_ext >&5
10086 rm -fr conftest*
10087 ac_cv_sizeof_short=0
10088 fi
10089 rm -fr conftest*
10090 fi
10091
10092 fi
10093 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10094 cat >> confdefs.h <<EOF
10095 #define SIZEOF_SHORT $ac_cv_sizeof_short
10096 EOF
10097
10098
10099 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10100 echo "configure:10092: checking size of void *" >&5
10101 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10102 echo $ac_n "(cached) $ac_c" 1>&6
10103 else
10104 if test "$cross_compiling" = yes; then
10105 ac_cv_sizeof_void_p=4
10106 else
10107 cat > conftest.$ac_ext <<EOF
10108 #line 10100 "configure"
10109 #include "confdefs.h"
10110 #include <stdio.h>
10111 main()
10112 {
10113 FILE *f=fopen("conftestval", "w");
10114 if (!f) exit(1);
10115 fprintf(f, "%d\n", sizeof(void *));
10116 exit(0);
10117 }
10118 EOF
10119 if { (eval echo configure:10111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10120 then
10121 ac_cv_sizeof_void_p=`cat conftestval`
10122 else
10123 echo "configure: failed program was:" >&5
10124 cat conftest.$ac_ext >&5
10125 rm -fr conftest*
10126 ac_cv_sizeof_void_p=0
10127 fi
10128 rm -fr conftest*
10129 fi
10130
10131 fi
10132 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10133 cat >> confdefs.h <<EOF
10134 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10135 EOF
10136
10137
10138 echo $ac_n "checking size of int""... $ac_c" 1>&6
10139 echo "configure:10131: checking size of int" >&5
10140 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10141 echo $ac_n "(cached) $ac_c" 1>&6
10142 else
10143 if test "$cross_compiling" = yes; then
10144 ac_cv_sizeof_int=4
10145 else
10146 cat > conftest.$ac_ext <<EOF
10147 #line 10139 "configure"
10148 #include "confdefs.h"
10149 #include <stdio.h>
10150 main()
10151 {
10152 FILE *f=fopen("conftestval", "w");
10153 if (!f) exit(1);
10154 fprintf(f, "%d\n", sizeof(int));
10155 exit(0);
10156 }
10157 EOF
10158 if { (eval echo configure:10150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10159 then
10160 ac_cv_sizeof_int=`cat conftestval`
10161 else
10162 echo "configure: failed program was:" >&5
10163 cat conftest.$ac_ext >&5
10164 rm -fr conftest*
10165 ac_cv_sizeof_int=0
10166 fi
10167 rm -fr conftest*
10168 fi
10169
10170 fi
10171 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10172 cat >> confdefs.h <<EOF
10173 #define SIZEOF_INT $ac_cv_sizeof_int
10174 EOF
10175
10176
10177 echo $ac_n "checking size of long""... $ac_c" 1>&6
10178 echo "configure:10170: checking size of long" >&5
10179 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10180 echo $ac_n "(cached) $ac_c" 1>&6
10181 else
10182 if test "$cross_compiling" = yes; then
10183 ac_cv_sizeof_long=4
10184 else
10185 cat > conftest.$ac_ext <<EOF
10186 #line 10178 "configure"
10187 #include "confdefs.h"
10188 #include <stdio.h>
10189 main()
10190 {
10191 FILE *f=fopen("conftestval", "w");
10192 if (!f) exit(1);
10193 fprintf(f, "%d\n", sizeof(long));
10194 exit(0);
10195 }
10196 EOF
10197 if { (eval echo configure:10189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10198 then
10199 ac_cv_sizeof_long=`cat conftestval`
10200 else
10201 echo "configure: failed program was:" >&5
10202 cat conftest.$ac_ext >&5
10203 rm -fr conftest*
10204 ac_cv_sizeof_long=0
10205 fi
10206 rm -fr conftest*
10207 fi
10208
10209 fi
10210 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10211 cat >> confdefs.h <<EOF
10212 #define SIZEOF_LONG $ac_cv_sizeof_long
10213 EOF
10214
10215
10216
10217 case "${host}" in
10218 arm-*-linux* )
10219 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10220 echo "configure:10212: checking size of long long" >&5
10221 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10222 echo $ac_n "(cached) $ac_c" 1>&6
10223 else
10224 if test "$cross_compiling" = yes; then
10225 ac_cv_sizeof_long_long=8
10226 else
10227 cat > conftest.$ac_ext <<EOF
10228 #line 10220 "configure"
10229 #include "confdefs.h"
10230 #include <stdio.h>
10231 main()
10232 {
10233 FILE *f=fopen("conftestval", "w");
10234 if (!f) exit(1);
10235 fprintf(f, "%d\n", sizeof(long long));
10236 exit(0);
10237 }
10238 EOF
10239 if { (eval echo configure:10231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10240 then
10241 ac_cv_sizeof_long_long=`cat conftestval`
10242 else
10243 echo "configure: failed program was:" >&5
10244 cat conftest.$ac_ext >&5
10245 rm -fr conftest*
10246 ac_cv_sizeof_long_long=0
10247 fi
10248 rm -fr conftest*
10249 fi
10250
10251 fi
10252 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10253 cat >> confdefs.h <<EOF
10254 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10255 EOF
10256
10257
10258 ;;
10259 * )
10260 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10261 echo "configure:10253: checking size of long long" >&5
10262 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10263 echo $ac_n "(cached) $ac_c" 1>&6
10264 else
10265 if test "$cross_compiling" = yes; then
10266 ac_cv_sizeof_long_long=0
10267 else
10268 cat > conftest.$ac_ext <<EOF
10269 #line 10261 "configure"
10270 #include "confdefs.h"
10271 #include <stdio.h>
10272 main()
10273 {
10274 FILE *f=fopen("conftestval", "w");
10275 if (!f) exit(1);
10276 fprintf(f, "%d\n", sizeof(long long));
10277 exit(0);
10278 }
10279 EOF
10280 if { (eval echo configure:10272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10281 then
10282 ac_cv_sizeof_long_long=`cat conftestval`
10283 else
10284 echo "configure: failed program was:" >&5
10285 cat conftest.$ac_ext >&5
10286 rm -fr conftest*
10287 ac_cv_sizeof_long_long=0
10288 fi
10289 rm -fr conftest*
10290 fi
10291
10292 fi
10293 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10294 cat >> confdefs.h <<EOF
10295 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10296 EOF
10297
10298
10299 esac
10300
10301 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10302 echo "configure:10294: checking size of wchar_t" >&5
10303 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10304 echo $ac_n "(cached) $ac_c" 1>&6
10305 else
10306
10307 if test "$cross_compiling" = yes; then
10308 wx_cv_sizeof_wchar_t=4
10309
10310 else
10311 cat > conftest.$ac_ext <<EOF
10312 #line 10304 "configure"
10313 #include "confdefs.h"
10314
10315 #ifdef HAVE_WCHAR_H
10316 # ifdef __CYGWIN__
10317 # include <stddef.h>
10318 # endif
10319 # include <wchar.h>
10320 #endif
10321 #ifdef HAVE_STDLIB_H
10322 # include <stdlib.h>
10323 #endif
10324 #include <stdio.h>
10325 int main()
10326 {
10327 FILE *f=fopen("conftestval", "w");
10328 if (!f) exit(1);
10329 fprintf(f, "%i", sizeof(wchar_t));
10330 exit(0);
10331 }
10332
10333 EOF
10334 if { (eval echo configure:10326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10335 then
10336 wx_cv_sizeof_wchar_t=`cat conftestval`
10337 else
10338 echo "configure: failed program was:" >&5
10339 cat conftest.$ac_ext >&5
10340 rm -fr conftest*
10341 wx_cv_sizeof_wchar_t=0
10342 fi
10343 rm -fr conftest*
10344 fi
10345
10346
10347 fi
10348
10349 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10350
10351 cat >> confdefs.h <<EOF
10352 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10353 EOF
10354
10355
10356 # Check whether --enable-largefile or --disable-largefile was given.
10357 if test "${enable_largefile+set}" = set; then
10358 enableval="$enable_largefile"
10359 :
10360 fi
10361
10362 if test "$enable_largefile" != no; then
10363 wx_largefile=no
10364
10365 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10366 echo "configure:10358: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10367 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10368 echo $ac_n "(cached) $ac_c" 1>&6
10369 else
10370
10371 cat > conftest.$ac_ext <<EOF
10372 #line 10364 "configure"
10373 #include "confdefs.h"
10374 #define _FILE_OFFSET_BITS 64
10375 #include <sys/types.h>
10376 int main() {
10377 typedef struct {
10378 unsigned int field: sizeof(off_t) == 8;
10379 } wxlf;
10380
10381 ; return 0; }
10382 EOF
10383 if { (eval echo configure:10375: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10384 rm -rf conftest*
10385 ac_cv_sys_file_offset_bits=64
10386 else
10387 echo "configure: failed program was:" >&5
10388 cat conftest.$ac_ext >&5
10389 rm -rf conftest*
10390 ac_cv_sys_file_offset_bits=no
10391 fi
10392 rm -f conftest*
10393
10394
10395 fi
10396
10397 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10398
10399 if test "$ac_cv_sys_file_offset_bits" != no; then
10400 wx_largefile=yes
10401 cat >> confdefs.h <<EOF
10402 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10403 EOF
10404
10405 fi
10406
10407 if test "x$wx_largefile" != "xyes"; then
10408
10409 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10410 echo "configure:10402: checking for _LARGE_FILES value needed for large files" >&5
10411 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10412 echo $ac_n "(cached) $ac_c" 1>&6
10413 else
10414
10415 cat > conftest.$ac_ext <<EOF
10416 #line 10408 "configure"
10417 #include "confdefs.h"
10418 #define _LARGE_FILES 1
10419 #include <sys/types.h>
10420 int main() {
10421 typedef struct {
10422 unsigned int field: sizeof(off_t) == 8;
10423 } wxlf;
10424
10425 ; return 0; }
10426 EOF
10427 if { (eval echo configure:10419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10428 rm -rf conftest*
10429 ac_cv_sys_large_files=1
10430 else
10431 echo "configure: failed program was:" >&5
10432 cat conftest.$ac_ext >&5
10433 rm -rf conftest*
10434 ac_cv_sys_large_files=no
10435 fi
10436 rm -f conftest*
10437
10438
10439 fi
10440
10441 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
10442
10443 if test "$ac_cv_sys_large_files" != no; then
10444 wx_largefile=yes
10445 cat >> confdefs.h <<EOF
10446 #define _LARGE_FILES $ac_cv_sys_large_files
10447 EOF
10448
10449 fi
10450
10451 fi
10452
10453 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
10454 echo "configure:10446: checking if large file support is available" >&5
10455 if test "x$wx_largefile" = "xyes"; then
10456 cat >> confdefs.h <<\EOF
10457 #define HAVE_LARGEFILE_SUPPORT 1
10458 EOF
10459
10460 fi
10461 echo "$ac_t""$wx_largefile" 1>&6
10462 fi
10463
10464
10465 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10466 echo "configure:10458: checking whether byte ordering is bigendian" >&5
10467 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10468 echo $ac_n "(cached) $ac_c" 1>&6
10469 else
10470 ac_cv_c_bigendian=unknown
10471 # See if sys/param.h defines the BYTE_ORDER macro.
10472 cat > conftest.$ac_ext <<EOF
10473 #line 10465 "configure"
10474 #include "confdefs.h"
10475 #include <sys/types.h>
10476 #include <sys/param.h>
10477 int main() {
10478
10479 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10480 bogus endian macros
10481 #endif
10482 ; return 0; }
10483 EOF
10484 if { (eval echo configure:10476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10485 rm -rf conftest*
10486 # It does; now see whether it defined to BIG_ENDIAN or not.
10487 cat > conftest.$ac_ext <<EOF
10488 #line 10480 "configure"
10489 #include "confdefs.h"
10490 #include <sys/types.h>
10491 #include <sys/param.h>
10492 int main() {
10493
10494 #if BYTE_ORDER != BIG_ENDIAN
10495 not big endian
10496 #endif
10497 ; return 0; }
10498 EOF
10499 if { (eval echo configure:10491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10500 rm -rf conftest*
10501 ac_cv_c_bigendian=yes
10502 else
10503 echo "configure: failed program was:" >&5
10504 cat conftest.$ac_ext >&5
10505 rm -rf conftest*
10506 ac_cv_c_bigendian=no
10507 fi
10508 rm -f conftest*
10509 else
10510 echo "configure: failed program was:" >&5
10511 cat conftest.$ac_ext >&5
10512 fi
10513 rm -f conftest*
10514 if test $ac_cv_c_bigendian = unknown; then
10515 if test "$cross_compiling" = yes; then
10516 ac_cv_c_bigendian=unknown
10517 else
10518 cat > conftest.$ac_ext <<EOF
10519 #line 10511 "configure"
10520 #include "confdefs.h"
10521 main () {
10522 /* Are we little or big endian? From Harbison&Steele. */
10523 union
10524 {
10525 long l;
10526 char c[sizeof (long)];
10527 } u;
10528 u.l = 1;
10529 exit (u.c[sizeof (long) - 1] == 1);
10530 }
10531 EOF
10532 if { (eval echo configure:10524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10533 then
10534 ac_cv_c_bigendian=no
10535 else
10536 echo "configure: failed program was:" >&5
10537 cat conftest.$ac_ext >&5
10538 rm -fr conftest*
10539 ac_cv_c_bigendian=yes
10540 fi
10541 rm -fr conftest*
10542 fi
10543
10544 fi
10545 fi
10546
10547 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10548 if test $ac_cv_c_bigendian = unknown; then
10549 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
10550 fi
10551 if test $ac_cv_c_bigendian = yes; then
10552 cat >> confdefs.h <<\EOF
10553 #define WORDS_BIGENDIAN 1
10554 EOF
10555
10556 fi
10557
10558
10559 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
10560 echo "configure:10552: checking how to run the C++ preprocessor" >&5
10561 if test -z "$CXXCPP"; then
10562 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
10563 echo $ac_n "(cached) $ac_c" 1>&6
10564 else
10565 ac_ext=C
10566 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10567 ac_cpp='$CXXCPP $CPPFLAGS'
10568 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10569 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10570 cross_compiling=$ac_cv_prog_cxx_cross
10571 CXXCPP="${CXX-g++} -E"
10572 cat > conftest.$ac_ext <<EOF
10573 #line 10565 "configure"
10574 #include "confdefs.h"
10575 #include <stdlib.h>
10576 EOF
10577 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10578 { (eval echo configure:10570: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10579 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10580 if test -z "$ac_err"; then
10581 :
10582 else
10583 echo "$ac_err" >&5
10584 echo "configure: failed program was:" >&5
10585 cat conftest.$ac_ext >&5
10586 rm -rf conftest*
10587 CXXCPP=/lib/cpp
10588 fi
10589 rm -f conftest*
10590 ac_cv_prog_CXXCPP="$CXXCPP"
10591 ac_ext=C
10592 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10593 ac_cpp='$CXXCPP $CPPFLAGS'
10594 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10595 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10596 cross_compiling=$ac_cv_prog_cxx_cross
10597 fi
10598 fi
10599 CXXCPP="$ac_cv_prog_CXXCPP"
10600 echo "$ac_t""$CXXCPP" 1>&6
10601
10602
10603 if test "$cross_compiling" = "yes"; then
10604 cat >> confdefs.h <<\EOF
10605 #define wxUSE_IOSTREAMH 1
10606 EOF
10607
10608 else
10609
10610 ac_ext=C
10611 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10612 ac_cpp='$CXXCPP $CPPFLAGS'
10613 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10614 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10615 cross_compiling=$ac_cv_prog_cxx_cross
10616
10617
10618 for ac_hdr in iostream
10619 do
10620 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10621 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10622 echo "configure:10614: checking for $ac_hdr" >&5
10623 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10624 echo $ac_n "(cached) $ac_c" 1>&6
10625 else
10626 cat > conftest.$ac_ext <<EOF
10627 #line 10619 "configure"
10628 #include "confdefs.h"
10629 #include <$ac_hdr>
10630 EOF
10631 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10632 { (eval echo configure:10624: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10633 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10634 if test -z "$ac_err"; then
10635 rm -rf conftest*
10636 eval "ac_cv_header_$ac_safe=yes"
10637 else
10638 echo "$ac_err" >&5
10639 echo "configure: failed program was:" >&5
10640 cat conftest.$ac_ext >&5
10641 rm -rf conftest*
10642 eval "ac_cv_header_$ac_safe=no"
10643 fi
10644 rm -f conftest*
10645 fi
10646 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10647 echo "$ac_t""yes" 1>&6
10648 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10649 cat >> confdefs.h <<EOF
10650 #define $ac_tr_hdr 1
10651 EOF
10652
10653 else
10654 echo "$ac_t""no" 1>&6
10655 fi
10656 done
10657
10658
10659 if test "$ac_cv_header_iostream" = "yes" ; then
10660 :
10661 else
10662 cat >> confdefs.h <<\EOF
10663 #define wxUSE_IOSTREAMH 1
10664 EOF
10665
10666 fi
10667
10668 ac_ext=c
10669 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10670 ac_cpp='$CPP $CPPFLAGS'
10671 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10672 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10673 cross_compiling=$ac_cv_prog_cc_cross
10674
10675 fi
10676
10677
10678
10679 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
10680 echo "configure:10672: checking if C++ compiler supports bool" >&5
10681 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
10682 echo $ac_n "(cached) $ac_c" 1>&6
10683 else
10684
10685
10686 ac_ext=C
10687 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10688 ac_cpp='$CXXCPP $CPPFLAGS'
10689 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10690 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10691 cross_compiling=$ac_cv_prog_cxx_cross
10692
10693
10694 cat > conftest.$ac_ext <<EOF
10695 #line 10687 "configure"
10696 #include "confdefs.h"
10697
10698
10699 int main() {
10700
10701 bool b = true;
10702
10703 return 0;
10704
10705 ; return 0; }
10706 EOF
10707 if { (eval echo configure:10699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10708 rm -rf conftest*
10709
10710 wx_cv_cpp_bool=yes
10711
10712 else
10713 echo "configure: failed program was:" >&5
10714 cat conftest.$ac_ext >&5
10715 rm -rf conftest*
10716
10717 wx_cv_cpp_bool=no
10718
10719
10720 fi
10721 rm -f conftest*
10722
10723 ac_ext=c
10724 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10725 ac_cpp='$CPP $CPPFLAGS'
10726 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10727 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10728 cross_compiling=$ac_cv_prog_cc_cross
10729
10730
10731 fi
10732
10733 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
10734
10735 if test "$wx_cv_cpp_bool" = "yes"; then
10736 cat >> confdefs.h <<\EOF
10737 #define HAVE_BOOL 1
10738 EOF
10739
10740 fi
10741
10742
10743
10744 SEARCH_INCLUDE="\
10745 /usr/local/include \
10746 \
10747 /usr/Motif-1.2/include \
10748 /usr/Motif-2.1/include \
10749 \
10750 /usr/include/Motif1.2 \
10751 /opt/xpm/include/X11 \
10752 /opt/GBxpm/include/ \
10753 /opt/GBxpm/X11/include/ \
10754 \
10755 /usr/Motif1.2/include \
10756 /usr/dt/include \
10757 /usr/openwin/include \
10758 \
10759 /usr/include/Xm \
10760 \
10761 /usr/X11R6/include \
10762 /usr/X11R6.4/include \
10763 /usr/X11R5/include \
10764 /usr/X11R4/include \
10765 \
10766 /usr/include/X11R6 \
10767 /usr/include/X11R5 \
10768 /usr/include/X11R4 \
10769 \
10770 /usr/local/X11R6/include \
10771 /usr/local/X11R5/include \
10772 /usr/local/X11R4/include \
10773 \
10774 /usr/local/include/X11R6 \
10775 /usr/local/include/X11R5 \
10776 /usr/local/include/X11R4 \
10777 \
10778 /usr/X11/include \
10779 /usr/include/X11 \
10780 /usr/local/X11/include \
10781 /usr/local/include/X11 \
10782 \
10783 /usr/X386/include \
10784 /usr/x386/include \
10785 /usr/XFree86/include/X11 \
10786 \
10787 X:/XFree86/include \
10788 X:/XFree86/include/X11 \
10789 \
10790 /usr/include/gtk \
10791 /usr/local/include/gtk \
10792 /usr/include/glib \
10793 /usr/local/include/glib \
10794 \
10795 /usr/include/qt \
10796 /usr/local/include/qt \
10797 \
10798 /usr/include/windows \
10799 /usr/include/wine \
10800 /usr/local/include/wine \
10801 \
10802 /usr/unsupported/include \
10803 /usr/athena/include \
10804 /usr/local/x11r5/include \
10805 /usr/lpp/Xamples/include \
10806 \
10807 /usr/openwin/share/include \
10808 \
10809 /usr/include"
10810
10811 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
10812
10813
10814 cat > confcache <<\EOF
10815 # This file is a shell script that caches the results of configure
10816 # tests run on this system so they can be shared between configure
10817 # scripts and configure runs. It is not useful on other systems.
10818 # If it contains results you don't want to keep, you may remove or edit it.
10819 #
10820 # By default, configure uses ./config.cache as the cache file,
10821 # creating it if it does not exist already. You can give configure
10822 # the --cache-file=FILE option to use a different cache file; that is
10823 # what configure does when it calls configure scripts in
10824 # subdirectories, so they share the cache.
10825 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10826 # config.status only pays attention to the cache file if you give it the
10827 # --recheck option to rerun configure.
10828 #
10829 EOF
10830 # The following way of writing the cache mishandles newlines in values,
10831 # but we know of no workaround that is simple, portable, and efficient.
10832 # So, don't put newlines in cache variables' values.
10833 # Ultrix sh set writes to stderr and can't be redirected directly,
10834 # and sets the high bit in the cache file unless we assign to the vars.
10835 (set) 2>&1 |
10836 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10837 *ac_space=\ *)
10838 # `set' does not quote correctly, so add quotes (double-quote substitution
10839 # turns \\\\ into \\, and sed turns \\ into \).
10840 sed -n \
10841 -e "s/'/'\\\\''/g" \
10842 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10843 ;;
10844 *)
10845 # `set' quotes correctly as required by POSIX, so do not add quotes.
10846 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10847 ;;
10848 esac >> confcache
10849 if cmp -s $cache_file confcache; then
10850 :
10851 else
10852 if test -w $cache_file; then
10853 echo "updating cache $cache_file"
10854 cat confcache > $cache_file
10855 else
10856 echo "not updating unwritable cache $cache_file"
10857 fi
10858 fi
10859 rm -f confcache
10860
10861
10862 if test "$USE_LINUX" = 1; then
10863 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
10864 echo "configure:10856: checking for glibc 2.1 or later" >&5
10865 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
10866 echo $ac_n "(cached) $ac_c" 1>&6
10867 else
10868
10869 cat > conftest.$ac_ext <<EOF
10870 #line 10862 "configure"
10871 #include "confdefs.h"
10872 #include <features.h>
10873 int main() {
10874
10875 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
10876 #error not glibc2.1
10877 #endif
10878
10879 ; return 0; }
10880 EOF
10881 if { (eval echo configure:10873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10882 rm -rf conftest*
10883
10884 wx_cv_lib_glibc21=yes
10885
10886 else
10887 echo "configure: failed program was:" >&5
10888 cat conftest.$ac_ext >&5
10889 rm -rf conftest*
10890
10891 wx_cv_lib_glibc21=no
10892
10893
10894 fi
10895 rm -f conftest*
10896
10897 fi
10898
10899 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
10900 if test "$wx_cv_lib_glibc21" = "yes"; then
10901 cat >> confdefs.h <<\EOF
10902 #define wxHAVE_GLIBC2 1
10903 EOF
10904
10905 fi
10906 fi
10907
10908
10909
10910 REGEX_INCLUDE=
10911 if test "$wxUSE_REGEX" != "no"; then
10912 cat >> confdefs.h <<\EOF
10913 #define wxUSE_REGEX 1
10914 EOF
10915
10916
10917 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
10918 ac_safe=`echo "regex.h" | sed 'y%./+-%__p_%'`
10919 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
10920 echo "configure:10912: checking for regex.h" >&5
10921 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10922 echo $ac_n "(cached) $ac_c" 1>&6
10923 else
10924 cat > conftest.$ac_ext <<EOF
10925 #line 10917 "configure"
10926 #include "confdefs.h"
10927 #include <regex.h>
10928 EOF
10929 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10930 { (eval echo configure:10922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10931 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10932 if test -z "$ac_err"; then
10933 rm -rf conftest*
10934 eval "ac_cv_header_$ac_safe=yes"
10935 else
10936 echo "$ac_err" >&5
10937 echo "configure: failed program was:" >&5
10938 cat conftest.$ac_ext >&5
10939 rm -rf conftest*
10940 eval "ac_cv_header_$ac_safe=no"
10941 fi
10942 rm -f conftest*
10943 fi
10944 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10945 echo "$ac_t""yes" 1>&6
10946 for ac_func in regcomp
10947 do
10948 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10949 echo "configure:10941: checking for $ac_func" >&5
10950 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10951 echo $ac_n "(cached) $ac_c" 1>&6
10952 else
10953 cat > conftest.$ac_ext <<EOF
10954 #line 10946 "configure"
10955 #include "confdefs.h"
10956 /* System header to define __stub macros and hopefully few prototypes,
10957 which can conflict with char $ac_func(); below. */
10958 #include <assert.h>
10959 /* Override any gcc2 internal prototype to avoid an error. */
10960 /* We use char because int might match the return type of a gcc2
10961 builtin and then its argument prototype would still apply. */
10962 char $ac_func();
10963
10964 int main() {
10965
10966 /* The GNU C library defines this for functions which it implements
10967 to always fail with ENOSYS. Some functions are actually named
10968 something starting with __ and the normal name is an alias. */
10969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10970 choke me
10971 #else
10972 $ac_func();
10973 #endif
10974
10975 ; return 0; }
10976 EOF
10977 if { (eval echo configure:10969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10978 rm -rf conftest*
10979 eval "ac_cv_func_$ac_func=yes"
10980 else
10981 echo "configure: failed program was:" >&5
10982 cat conftest.$ac_ext >&5
10983 rm -rf conftest*
10984 eval "ac_cv_func_$ac_func=no"
10985 fi
10986 rm -f conftest*
10987 fi
10988
10989 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10990 echo "$ac_t""yes" 1>&6
10991 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10992 cat >> confdefs.h <<EOF
10993 #define $ac_tr_func 1
10994 EOF
10995
10996 else
10997 echo "$ac_t""no" 1>&6
10998 fi
10999 done
11000
11001 else
11002 echo "$ac_t""no" 1>&6
11003 fi
11004
11005
11006 if test "x$ac_cv_func_regcomp" != "xyes"; then
11007 if test "$wxUSE_REGEX" = "sys" ; then
11008 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11009 else
11010 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11011 wxUSE_REGEX=builtin
11012 fi
11013 else
11014 wxUSE_REGEX=sys
11015 fi
11016 fi
11017
11018 if test "$wxUSE_REGEX" = "builtin" ; then
11019 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
11020 fi
11021 fi
11022
11023
11024 ZLIB_INCLUDE=
11025 ZLIB_LINK=
11026 if test "$wxUSE_ZLIB" != "no" ; then
11027 cat >> confdefs.h <<\EOF
11028 #define wxUSE_ZLIB 1
11029 EOF
11030
11031
11032 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11033 ac_safe=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11034 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11035 echo "configure:11027: checking for zlib.h" >&5
11036 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11037 echo $ac_n "(cached) $ac_c" 1>&6
11038 else
11039 cat > conftest.$ac_ext <<EOF
11040 #line 11032 "configure"
11041 #include "confdefs.h"
11042 #include <zlib.h>
11043 EOF
11044 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11045 { (eval echo configure:11037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11046 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11047 if test -z "$ac_err"; then
11048 rm -rf conftest*
11049 eval "ac_cv_header_$ac_safe=yes"
11050 else
11051 echo "$ac_err" >&5
11052 echo "configure: failed program was:" >&5
11053 cat conftest.$ac_ext >&5
11054 rm -rf conftest*
11055 eval "ac_cv_header_$ac_safe=no"
11056 fi
11057 rm -f conftest*
11058 fi
11059 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11060 echo "$ac_t""yes" 1>&6
11061 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11062 echo "configure:11054: checking for deflate in -lz" >&5
11063 ac_lib_var=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11064 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11065 echo $ac_n "(cached) $ac_c" 1>&6
11066 else
11067 ac_save_LIBS="$LIBS"
11068 LIBS="-lz $LIBS"
11069 cat > conftest.$ac_ext <<EOF
11070 #line 11062 "configure"
11071 #include "confdefs.h"
11072 /* Override any gcc2 internal prototype to avoid an error. */
11073 /* We use char because int might match the return type of a gcc2
11074 builtin and then its argument prototype would still apply. */
11075 char deflate();
11076
11077 int main() {
11078 deflate()
11079 ; return 0; }
11080 EOF
11081 if { (eval echo configure:11073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11082 rm -rf conftest*
11083 eval "ac_cv_lib_$ac_lib_var=yes"
11084 else
11085 echo "configure: failed program was:" >&5
11086 cat conftest.$ac_ext >&5
11087 rm -rf conftest*
11088 eval "ac_cv_lib_$ac_lib_var=no"
11089 fi
11090 rm -f conftest*
11091 LIBS="$ac_save_LIBS"
11092
11093 fi
11094 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11095 echo "$ac_t""yes" 1>&6
11096 ZLIB_LINK=" -lz"
11097 else
11098 echo "$ac_t""no" 1>&6
11099 fi
11100
11101 else
11102 echo "$ac_t""no" 1>&6
11103 fi
11104
11105
11106 if test "x$ZLIB_LINK" = "x" ; then
11107 if test "$wxUSE_ZLIB" = "sys" ; then
11108 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11109 else
11110 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
11111 wxUSE_ZLIB=builtin
11112 fi
11113 else
11114 wxUSE_ZLIB=sys
11115 fi
11116 fi
11117
11118 if test "$wxUSE_ZLIB" = "builtin" ; then
11119 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
11120 fi
11121 fi
11122
11123
11124 PNG_INCLUDE=
11125 PNG_LINK=
11126 if test "$wxUSE_LIBPNG" != "no" ; then
11127 cat >> confdefs.h <<\EOF
11128 #define wxUSE_LIBPNG 1
11129 EOF
11130
11131
11132 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11133 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11134 wxUSE_LIBPNG=sys
11135 fi
11136
11137 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11138 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11139 wxUSE_LIBPNG=builtin
11140 fi
11141
11142 if test "$wxUSE_MGL" != 1 ; then
11143 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11144 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
11145 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11146 echo "configure:11138: checking for png.h" >&5
11147 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11148 echo $ac_n "(cached) $ac_c" 1>&6
11149 else
11150 cat > conftest.$ac_ext <<EOF
11151 #line 11143 "configure"
11152 #include "confdefs.h"
11153 #include <png.h>
11154 EOF
11155 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11156 { (eval echo configure:11148: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11157 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11158 if test -z "$ac_err"; then
11159 rm -rf conftest*
11160 eval "ac_cv_header_$ac_safe=yes"
11161 else
11162 echo "$ac_err" >&5
11163 echo "configure: failed program was:" >&5
11164 cat conftest.$ac_ext >&5
11165 rm -rf conftest*
11166 eval "ac_cv_header_$ac_safe=no"
11167 fi
11168 rm -f conftest*
11169 fi
11170 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11171 echo "$ac_t""yes" 1>&6
11172 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11173 echo "configure:11165: checking for png_check_sig in -lpng" >&5
11174 ac_lib_var=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11175 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11176 echo $ac_n "(cached) $ac_c" 1>&6
11177 else
11178 ac_save_LIBS="$LIBS"
11179 LIBS="-lpng -lz -lm $LIBS"
11180 cat > conftest.$ac_ext <<EOF
11181 #line 11173 "configure"
11182 #include "confdefs.h"
11183 /* Override any gcc2 internal prototype to avoid an error. */
11184 /* We use char because int might match the return type of a gcc2
11185 builtin and then its argument prototype would still apply. */
11186 char png_check_sig();
11187
11188 int main() {
11189 png_check_sig()
11190 ; return 0; }
11191 EOF
11192 if { (eval echo configure:11184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11193 rm -rf conftest*
11194 eval "ac_cv_lib_$ac_lib_var=yes"
11195 else
11196 echo "configure: failed program was:" >&5
11197 cat conftest.$ac_ext >&5
11198 rm -rf conftest*
11199 eval "ac_cv_lib_$ac_lib_var=no"
11200 fi
11201 rm -f conftest*
11202 LIBS="$ac_save_LIBS"
11203
11204 fi
11205 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11206 echo "$ac_t""yes" 1>&6
11207 PNG_LINK=" -lpng"
11208 else
11209 echo "$ac_t""no" 1>&6
11210 fi
11211
11212
11213 else
11214 echo "$ac_t""no" 1>&6
11215 fi
11216
11217
11218 if test "x$PNG_LINK" = "x" ; then
11219 if test "$wxUSE_LIBPNG" = "sys" ; then
11220 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
11221 else
11222 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
11223 wxUSE_LIBPNG=builtin
11224 fi
11225 else
11226 wxUSE_LIBPNG=yes
11227 fi
11228 fi
11229 fi
11230
11231 if test "$wxUSE_LIBPNG" = "builtin" ; then
11232 PNG_INCLUDE="-I\${top_srcdir}/src/png"
11233 fi
11234
11235 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
11236 fi
11237
11238
11239 JPEG_INCLUDE=
11240 JPEG_LINK=
11241 if test "$wxUSE_LIBJPEG" != "no" ; then
11242 cat >> confdefs.h <<\EOF
11243 #define wxUSE_LIBJPEG 1
11244 EOF
11245
11246
11247 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
11248 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
11249 wxUSE_LIBJPEG=sys
11250 fi
11251
11252 if test "$wxUSE_MGL" != 1 ; then
11253 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
11254 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11255 echo "configure:11247: checking for jpeglib.h" >&5
11256 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
11257 echo $ac_n "(cached) $ac_c" 1>&6
11258 else
11259 cat > conftest.$ac_ext <<EOF
11260 #line 11252 "configure"
11261 #include "confdefs.h"
11262
11263 #undef HAVE_STDLIB_H
11264 #include <stdio.h>
11265 #include <jpeglib.h>
11266
11267 int main() {
11268
11269
11270 ; return 0; }
11271 EOF
11272 if { (eval echo configure:11264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11273 rm -rf conftest*
11274 ac_cv_header_jpeglib_h=yes
11275 else
11276 echo "configure: failed program was:" >&5
11277 cat conftest.$ac_ext >&5
11278 rm -rf conftest*
11279 ac_cv_header_jpeglib_h=no
11280
11281 fi
11282 rm -f conftest*
11283
11284 fi
11285
11286 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
11287
11288 if test "$ac_cv_header_jpeglib_h" = "yes"; then
11289 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
11290 echo "configure:11282: checking for jpeg_read_header in -ljpeg" >&5
11291 ac_lib_var=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
11292 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11293 echo $ac_n "(cached) $ac_c" 1>&6
11294 else
11295 ac_save_LIBS="$LIBS"
11296 LIBS="-ljpeg $LIBS"
11297 cat > conftest.$ac_ext <<EOF
11298 #line 11290 "configure"
11299 #include "confdefs.h"
11300 /* Override any gcc2 internal prototype to avoid an error. */
11301 /* We use char because int might match the return type of a gcc2
11302 builtin and then its argument prototype would still apply. */
11303 char jpeg_read_header();
11304
11305 int main() {
11306 jpeg_read_header()
11307 ; return 0; }
11308 EOF
11309 if { (eval echo configure:11301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11310 rm -rf conftest*
11311 eval "ac_cv_lib_$ac_lib_var=yes"
11312 else
11313 echo "configure: failed program was:" >&5
11314 cat conftest.$ac_ext >&5
11315 rm -rf conftest*
11316 eval "ac_cv_lib_$ac_lib_var=no"
11317 fi
11318 rm -f conftest*
11319 LIBS="$ac_save_LIBS"
11320
11321 fi
11322 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11323 echo "$ac_t""yes" 1>&6
11324 JPEG_LINK=" -ljpeg"
11325 else
11326 echo "$ac_t""no" 1>&6
11327 fi
11328
11329 fi
11330
11331 if test "x$JPEG_LINK" = "x" ; then
11332 if test "$wxUSE_LIBJPEG" = "sys" ; then
11333 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
11334 else
11335 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
11336 wxUSE_LIBJPEG=builtin
11337 fi
11338 else
11339 wxUSE_LIBJPEG=sys
11340 fi
11341 fi
11342 fi
11343
11344 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11345 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
11346 fi
11347 fi
11348
11349
11350 TIFF_INCLUDE=
11351 TIFF_LINK=
11352 if test "$wxUSE_LIBTIFF" != "no" ; then
11353 cat >> confdefs.h <<\EOF
11354 #define wxUSE_LIBTIFF 1
11355 EOF
11356
11357
11358 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
11359 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
11360 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
11361 echo "configure:11353: checking for tiffio.h" >&5
11362 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11363 echo $ac_n "(cached) $ac_c" 1>&6
11364 else
11365 cat > conftest.$ac_ext <<EOF
11366 #line 11358 "configure"
11367 #include "confdefs.h"
11368 #include <tiffio.h>
11369 EOF
11370 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11371 { (eval echo configure:11363: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11372 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11373 if test -z "$ac_err"; then
11374 rm -rf conftest*
11375 eval "ac_cv_header_$ac_safe=yes"
11376 else
11377 echo "$ac_err" >&5
11378 echo "configure: failed program was:" >&5
11379 cat conftest.$ac_ext >&5
11380 rm -rf conftest*
11381 eval "ac_cv_header_$ac_safe=no"
11382 fi
11383 rm -f conftest*
11384 fi
11385 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11386 echo "$ac_t""yes" 1>&6
11387 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
11388 echo "configure:11380: checking for TIFFError in -ltiff" >&5
11389 ac_lib_var=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
11390 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11391 echo $ac_n "(cached) $ac_c" 1>&6
11392 else
11393 ac_save_LIBS="$LIBS"
11394 LIBS="-ltiff -lm $LIBS"
11395 cat > conftest.$ac_ext <<EOF
11396 #line 11388 "configure"
11397 #include "confdefs.h"
11398 /* Override any gcc2 internal prototype to avoid an error. */
11399 /* We use char because int might match the return type of a gcc2
11400 builtin and then its argument prototype would still apply. */
11401 char TIFFError();
11402
11403 int main() {
11404 TIFFError()
11405 ; return 0; }
11406 EOF
11407 if { (eval echo configure:11399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11408 rm -rf conftest*
11409 eval "ac_cv_lib_$ac_lib_var=yes"
11410 else
11411 echo "configure: failed program was:" >&5
11412 cat conftest.$ac_ext >&5
11413 rm -rf conftest*
11414 eval "ac_cv_lib_$ac_lib_var=no"
11415 fi
11416 rm -f conftest*
11417 LIBS="$ac_save_LIBS"
11418
11419 fi
11420 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11421 echo "$ac_t""yes" 1>&6
11422 TIFF_LINK=" -ltiff"
11423 else
11424 echo "$ac_t""no" 1>&6
11425 fi
11426
11427
11428 else
11429 echo "$ac_t""no" 1>&6
11430 fi
11431
11432
11433 if test "x$TIFF_LINK" = "x" ; then
11434 if test "$wxUSE_LIBTIFF" = "sys" ; then
11435 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
11436 else
11437 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
11438 wxUSE_LIBTIFF=builtin
11439 fi
11440 else
11441 wxUSE_LIBTIFF=sys
11442 fi
11443 fi
11444
11445 if test "$wxUSE_LIBTIFF" = "builtin" ; then
11446 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
11447 fi
11448 fi
11449
11450
11451 AFMINSTALL=
11452
11453 TOOLKIT=
11454 TOOLKIT_INCLUDE=
11455 WIDGET_SET=
11456
11457 if test "$USE_WIN32" = 1 ; then
11458 for ac_hdr in w32api.h
11459 do
11460 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11461 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11462 echo "configure:11454: checking for $ac_hdr" >&5
11463 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11464 echo $ac_n "(cached) $ac_c" 1>&6
11465 else
11466 cat > conftest.$ac_ext <<EOF
11467 #line 11459 "configure"
11468 #include "confdefs.h"
11469 #include <$ac_hdr>
11470 EOF
11471 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11472 { (eval echo configure:11464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11473 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11474 if test -z "$ac_err"; then
11475 rm -rf conftest*
11476 eval "ac_cv_header_$ac_safe=yes"
11477 else
11478 echo "$ac_err" >&5
11479 echo "configure: failed program was:" >&5
11480 cat conftest.$ac_ext >&5
11481 rm -rf conftest*
11482 eval "ac_cv_header_$ac_safe=no"
11483 fi
11484 rm -f conftest*
11485 fi
11486 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11487 echo "$ac_t""yes" 1>&6
11488 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11489 cat >> confdefs.h <<EOF
11490 #define $ac_tr_hdr 1
11491 EOF
11492
11493 else
11494 echo "$ac_t""no" 1>&6
11495 fi
11496 done
11497
11498 ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'`
11499 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
11500 echo "configure:11492: checking for windows.h" >&5
11501 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11502 echo $ac_n "(cached) $ac_c" 1>&6
11503 else
11504 cat > conftest.$ac_ext <<EOF
11505 #line 11497 "configure"
11506 #include "confdefs.h"
11507 #include <windows.h>
11508 EOF
11509 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11510 { (eval echo configure:11502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11511 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11512 if test -z "$ac_err"; then
11513 rm -rf conftest*
11514 eval "ac_cv_header_$ac_safe=yes"
11515 else
11516 echo "$ac_err" >&5
11517 echo "configure: failed program was:" >&5
11518 cat conftest.$ac_ext >&5
11519 rm -rf conftest*
11520 eval "ac_cv_header_$ac_safe=no"
11521 fi
11522 rm -f conftest*
11523 fi
11524 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11525 echo "$ac_t""yes" 1>&6
11526 :
11527 else
11528 echo "$ac_t""no" 1>&6
11529
11530 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
11531
11532 fi
11533
11534
11535 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
11536 echo "configure:11528: checking if w32api has good enough MSIE support" >&5
11537 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
11538 echo $ac_n "(cached) $ac_c" 1>&6
11539 else
11540
11541 cat > conftest.$ac_ext <<EOF
11542 #line 11534 "configure"
11543 #include "confdefs.h"
11544 #include <w32api.h>
11545 int main() {
11546
11547 #define wxCHECK_W32API_VERSION( major, minor ) \
11548 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
11549 && ( ( __W32API_MAJOR_VERSION > (major) ) \
11550 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
11551
11552 #if !wxCHECK_W32API_VERSION(1,1)
11553 #error You need w32api 1.1 or newer
11554 #endif
11555
11556 ; return 0; }
11557 EOF
11558 if { (eval echo configure:11550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11559 rm -rf conftest*
11560
11561 wx_cv_w32api_win32_ie=yes
11562
11563 else
11564 echo "configure: failed program was:" >&5
11565 cat conftest.$ac_ext >&5
11566 rm -rf conftest*
11567
11568 wx_cv_w32api_win32_ie=no
11569
11570 fi
11571 rm -f conftest*
11572
11573 fi
11574
11575 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
11576 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
11577 CPPFLAGS="$CPPFLAGS -D_WIN32_IE=0x400"
11578 fi
11579
11580 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
11581
11582 case "${host}" in
11583 *-*-cygwin* )
11584 LIBS="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
11585 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
11586 esac
11587
11588 if test "$wxUSE_ODBC" = "yes" ; then
11589 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
11590 fi
11591
11592 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
11593 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
11594 fi
11595
11596 if test "$wxUSE_GUI" = "yes"; then
11597 USE_GUI=1
11598
11599 GUI_TK_LIBRARY=
11600
11601 WXGTK12=
11602 WXGTK127=
11603 WXGTK20=
11604
11605 if test "$wxUSE_MSW" = 1 ; then
11606 TOOLKIT=MSW
11607 GUIDIST=MSW_DIST
11608
11609 case "${host}" in
11610 *-*-mingw32* )
11611 LDFLAGS="$LDFLAGS -Wl,--subsystem,windows -mwindows"
11612 esac
11613 fi
11614
11615 if test "$wxUSE_GTK" = 1; then
11616 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
11617 echo "configure:11609: checking for GTK+ version" >&5
11618
11619 gtk_version_cached=1
11620 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
11621 echo $ac_n "(cached) $ac_c" 1>&6
11622 else
11623
11624 gtk_version_cached=0
11625 echo "$ac_t""" 1>&6
11626
11627 GTK_MODULES=
11628 if test "$wxUSE_THREADS" = "yes"; then
11629 GTK_MODULES=gthread
11630 fi
11631
11632 wx_cv_lib_gtk=
11633 if test "x$wxUSE_GTK2" = "xyes"; then
11634 # Check whether --enable-gtktest or --disable-gtktest was given.
11635 if test "${enable_gtktest+set}" = set; then
11636 enableval="$enable_gtktest"
11637 :
11638 else
11639 enable_gtktest=yes
11640 fi
11641
11642
11643 pkg_config_args=gtk+-2.0
11644 for module in . $GTK_MODULES
11645 do
11646 case "$module" in
11647 gthread)
11648 pkg_config_args="$pkg_config_args gthread-2.0"
11649 ;;
11650 esac
11651 done
11652
11653 no_gtk=""
11654
11655 # Extract the first word of "pkg-config", so it can be a program name with args.
11656 set dummy pkg-config; ac_word=$2
11657 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11658 echo "configure:11650: checking for $ac_word" >&5
11659 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
11660 echo $ac_n "(cached) $ac_c" 1>&6
11661 else
11662 case "$PKG_CONFIG" in
11663 /*)
11664 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11665 ;;
11666 ?:/*)
11667 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a dos path.
11668 ;;
11669 *)
11670 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
11671 ac_dummy="$PATH"
11672 for ac_dir in $ac_dummy; do
11673 test -z "$ac_dir" && ac_dir=.
11674 if test -f $ac_dir/$ac_word; then
11675 ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
11676 break
11677 fi
11678 done
11679 IFS="$ac_save_ifs"
11680 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
11681 ;;
11682 esac
11683 fi
11684 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11685 if test -n "$PKG_CONFIG"; then
11686 echo "$ac_t""$PKG_CONFIG" 1>&6
11687 else
11688 echo "$ac_t""no" 1>&6
11689 fi
11690
11691
11692 if test x$PKG_CONFIG != xno ; then
11693 if pkg-config --atleast-pkgconfig-version 0.7 ; then
11694 :
11695 else
11696 echo *** pkg-config too old; version 0.7 or better required.
11697 no_gtk=yes
11698 PKG_CONFIG=no
11699 fi
11700 else
11701 no_gtk=yes
11702 fi
11703
11704 min_gtk_version=2.0.0
11705 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
11706 echo "configure:11698: checking for GTK+ - version >= $min_gtk_version" >&5
11707
11708 if test x$PKG_CONFIG != xno ; then
11709 ## don't try to run the test against uninstalled libtool libs
11710 if $PKG_CONFIG --uninstalled $pkg_config_args; then
11711 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
11712 enable_gtktest=no
11713 fi
11714
11715 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
11716 :
11717 else
11718 no_gtk=yes
11719 fi
11720 fi
11721
11722 if test x"$no_gtk" = x ; then
11723 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
11724 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
11725 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
11726 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11727 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
11728 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11729 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
11730 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11731 if test "x$enable_gtktest" = "xyes" ; then
11732 ac_save_CFLAGS="$CFLAGS"
11733 ac_save_LIBS="$LIBS"
11734 CFLAGS="$CFLAGS $GTK_CFLAGS"
11735 LIBS="$GTK_LIBS $LIBS"
11736 rm -f conf.gtktest
11737 if test "$cross_compiling" = yes; then
11738 echo $ac_n "cross compiling; assumed OK... $ac_c"
11739 else
11740 cat > conftest.$ac_ext <<EOF
11741 #line 11733 "configure"
11742 #include "confdefs.h"
11743
11744 #include <gtk/gtk.h>
11745 #include <stdio.h>
11746 #include <stdlib.h>
11747
11748 int
11749 main ()
11750 {
11751 int major, minor, micro;
11752 char *tmp_version;
11753
11754 system ("touch conf.gtktest");
11755
11756 /* HP/UX 9 (%@#!) writes to sscanf strings */
11757 tmp_version = g_strdup("$min_gtk_version");
11758 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
11759 printf("%s, bad version string\n", "$min_gtk_version");
11760 exit(1);
11761 }
11762
11763 if ((gtk_major_version != $gtk_config_major_version) ||
11764 (gtk_minor_version != $gtk_config_minor_version) ||
11765 (gtk_micro_version != $gtk_config_micro_version))
11766 {
11767 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
11768 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
11769 gtk_major_version, gtk_minor_version, gtk_micro_version);
11770 printf ("*** was found! If pkg-config was correct, then it is best\n");
11771 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
11772 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
11773 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
11774 printf("*** required on your system.\n");
11775 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
11776 printf("*** to point to the correct configuration files\n");
11777 }
11778 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
11779 (gtk_minor_version != GTK_MINOR_VERSION) ||
11780 (gtk_micro_version != GTK_MICRO_VERSION))
11781 {
11782 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
11783 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
11784 printf("*** library (version %d.%d.%d)\n",
11785 gtk_major_version, gtk_minor_version, gtk_micro_version);
11786 }
11787 else
11788 {
11789 if ((gtk_major_version > major) ||
11790 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11791 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11792 {
11793 return 0;
11794 }
11795 else
11796 {
11797 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11798 gtk_major_version, gtk_minor_version, gtk_micro_version);
11799 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11800 major, minor, micro);
11801 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11802 printf("***\n");
11803 printf("*** If you have already installed a sufficiently new version, this error\n");
11804 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
11805 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11806 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
11807 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
11808 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11809 printf("*** so that the correct libraries are found at run-time))\n");
11810 }
11811 }
11812 return 1;
11813 }
11814
11815 EOF
11816 if { (eval echo configure:11808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11817 then
11818 :
11819 else
11820 echo "configure: failed program was:" >&5
11821 cat conftest.$ac_ext >&5
11822 rm -fr conftest*
11823 no_gtk=yes
11824 fi
11825 rm -fr conftest*
11826 fi
11827
11828 CFLAGS="$ac_save_CFLAGS"
11829 LIBS="$ac_save_LIBS"
11830 fi
11831 fi
11832 if test "x$no_gtk" = x ; then
11833 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
11834 wx_cv_lib_gtk=2.0
11835 else
11836 echo "$ac_t""no" 1>&6
11837 if test "$PKG_CONFIG" = "no" ; then
11838 echo "*** A new enough version of pkg-config was not found."
11839 echo "*** See http://pkgconfig.sourceforge.net"
11840 else
11841 if test -f conf.gtktest ; then
11842 :
11843 else
11844 echo "*** Could not run GTK+ test program, checking why..."
11845 CFLAGS="$CFLAGS $GTK_CFLAGS"
11846 LIBS="$LIBS $GTK_LIBS"
11847 cat > conftest.$ac_ext <<EOF
11848 #line 11840 "configure"
11849 #include "confdefs.h"
11850
11851 #include <gtk/gtk.h>
11852 #include <stdio.h>
11853
11854 int main() {
11855 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
11856 ; return 0; }
11857 EOF
11858 if { (eval echo configure:11850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11859 rm -rf conftest*
11860 echo "*** The test program compiled, but did not run. This usually means"
11861 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
11862 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
11863 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11864 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11865 echo "*** is required on your system"
11866 echo "***"
11867 echo "*** If you have an old version installed, it is best to remove it, although"
11868 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11869 else
11870 echo "configure: failed program was:" >&5
11871 cat conftest.$ac_ext >&5
11872 rm -rf conftest*
11873 echo "*** The test program failed to compile or link. See the file config.log for the"
11874 echo "*** exact error that occured. This usually means GTK+ was incorrectly installed"
11875 echo "*** or that you have moved GTK+ since it was installed. In the latter case, you"
11876 echo "*** may want to edit the pkg-config script: $PKG_CONFIG"
11877 fi
11878 rm -f conftest*
11879 CFLAGS="$ac_save_CFLAGS"
11880 LIBS="$ac_save_LIBS"
11881 fi
11882 fi
11883 GTK_CFLAGS=""
11884 GTK_LIBS=""
11885 :
11886 fi
11887
11888
11889 rm -f conf.gtktest
11890
11891 fi
11892
11893 if test -z "$wx_cv_lib_gtk"; then
11894 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
11895 if test "${with_gtk_prefix+set}" = set; then
11896 withval="$with_gtk_prefix"
11897 gtk_config_prefix="$withval"
11898 else
11899 gtk_config_prefix=""
11900 fi
11901
11902 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
11903 if test "${with_gtk_exec_prefix+set}" = set; then
11904 withval="$with_gtk_exec_prefix"
11905 gtk_config_exec_prefix="$withval"
11906 else
11907 gtk_config_exec_prefix=""
11908 fi
11909
11910 # Check whether --enable-gtktest or --disable-gtktest was given.
11911 if test "${enable_gtktest+set}" = set; then
11912 enableval="$enable_gtktest"
11913 :
11914 else
11915 enable_gtktest=yes
11916 fi
11917
11918
11919 for module in . $GTK_MODULES
11920 do
11921 case "$module" in
11922 gthread)
11923 gtk_config_args="$gtk_config_args gthread"
11924 ;;
11925 esac
11926 done
11927
11928 if test x$gtk_config_exec_prefix != x ; then
11929 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
11930 if test x${GTK_CONFIG+set} != xset ; then
11931 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
11932 fi
11933 fi
11934 if test x$gtk_config_prefix != x ; then
11935 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
11936 if test x${GTK_CONFIG+set} != xset ; then
11937 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
11938 fi
11939 fi
11940
11941 # Extract the first word of "gtk-config", so it can be a program name with args.
11942 set dummy gtk-config; ac_word=$2
11943 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11944 echo "configure:11936: checking for $ac_word" >&5
11945 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
11946 echo $ac_n "(cached) $ac_c" 1>&6
11947 else
11948 case "$GTK_CONFIG" in
11949 /*)
11950 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
11951 ;;
11952 ?:/*)
11953 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
11954 ;;
11955 *)
11956 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
11957 ac_dummy="$PATH"
11958 for ac_dir in $ac_dummy; do
11959 test -z "$ac_dir" && ac_dir=.
11960 if test -f $ac_dir/$ac_word; then
11961 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
11962 break
11963 fi
11964 done
11965 IFS="$ac_save_ifs"
11966 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
11967 ;;
11968 esac
11969 fi
11970 GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
11971 if test -n "$GTK_CONFIG"; then
11972 echo "$ac_t""$GTK_CONFIG" 1>&6
11973 else
11974 echo "$ac_t""no" 1>&6
11975 fi
11976
11977 min_gtk_version=1.2.7
11978 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
11979 echo "configure:11971: checking for GTK - version >= $min_gtk_version" >&5
11980 no_gtk=""
11981 if test "$GTK_CONFIG" = "no" ; then
11982 no_gtk=yes
11983 else
11984 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
11985 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
11986 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
11987 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11988 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
11989 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11990 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
11991 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11992 if test "x$enable_gtktest" = "xyes" ; then
11993 ac_save_CFLAGS="$CFLAGS"
11994 ac_save_LIBS="$LIBS"
11995 CFLAGS="$CFLAGS $GTK_CFLAGS"
11996 LIBS="$GTK_LIBS $LIBS"
11997 rm -f conf.gtktest
11998 if test "$cross_compiling" = yes; then
11999 echo $ac_n "cross compiling; assumed OK... $ac_c"
12000 else
12001 cat > conftest.$ac_ext <<EOF
12002 #line 11994 "configure"
12003 #include "confdefs.h"
12004
12005 #include <gtk/gtk.h>
12006 #include <stdio.h>
12007 #include <stdlib.h>
12008
12009 int
12010 main ()
12011 {
12012 int major, minor, micro;
12013 char *tmp_version;
12014
12015 system ("touch conf.gtktest");
12016
12017 /* HP/UX 9 (%@#!) writes to sscanf strings */
12018 tmp_version = g_strdup("$min_gtk_version");
12019 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
12020 printf("%s, bad version string\n", "$min_gtk_version");
12021 exit(1);
12022 }
12023
12024 if ((gtk_major_version != $gtk_config_major_version) ||
12025 (gtk_minor_version != $gtk_config_minor_version) ||
12026 (gtk_micro_version != $gtk_config_micro_version))
12027 {
12028 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12029 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12030 gtk_major_version, gtk_minor_version, gtk_micro_version);
12031 printf ("*** was found! If gtk-config was correct, then it is best\n");
12032 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12033 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12034 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12035 printf("*** required on your system.\n");
12036 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12037 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12038 printf("*** before re-running configure\n");
12039 }
12040 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12041 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12042 (gtk_minor_version != GTK_MINOR_VERSION) ||
12043 (gtk_micro_version != GTK_MICRO_VERSION))
12044 {
12045 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12046 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12047 printf("*** library (version %d.%d.%d)\n",
12048 gtk_major_version, gtk_minor_version, gtk_micro_version);
12049 }
12050 #endif /* defined (GTK_MAJOR_VERSION) ... */
12051 else
12052 {
12053 if ((gtk_major_version > major) ||
12054 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12055 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12056 {
12057 return 0;
12058 }
12059 else
12060 {
12061 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12062 gtk_major_version, gtk_minor_version, gtk_micro_version);
12063 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12064 major, minor, micro);
12065 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12066 printf("***\n");
12067 printf("*** If you have already installed a sufficiently new version, this error\n");
12068 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12069 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12070 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12071 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12072 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12073 printf("*** so that the correct libraries are found at run-time))\n");
12074 }
12075 }
12076 return 1;
12077 }
12078
12079 EOF
12080 if { (eval echo configure:12072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12081 then
12082 :
12083 else
12084 echo "configure: failed program was:" >&5
12085 cat conftest.$ac_ext >&5
12086 rm -fr conftest*
12087 no_gtk=yes
12088 fi
12089 rm -fr conftest*
12090 fi
12091
12092 CFLAGS="$ac_save_CFLAGS"
12093 LIBS="$ac_save_LIBS"
12094 fi
12095 fi
12096 if test "x$no_gtk" = x ; then
12097 echo "$ac_t""yes" 1>&6
12098 wx_cv_lib_gtk=1.2.7
12099 else
12100 echo "$ac_t""no" 1>&6
12101 if test "$GTK_CONFIG" = "no" ; then
12102 echo "*** The gtk-config script installed by GTK could not be found"
12103 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12104 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12105 echo "*** full path to gtk-config."
12106 else
12107 if test -f conf.gtktest ; then
12108 :
12109 else
12110 echo "*** Could not run GTK test program, checking why..."
12111 CFLAGS="$CFLAGS $GTK_CFLAGS"
12112 LIBS="$LIBS $GTK_LIBS"
12113 cat > conftest.$ac_ext <<EOF
12114 #line 12106 "configure"
12115 #include "confdefs.h"
12116
12117 #include <gtk/gtk.h>
12118 #include <stdio.h>
12119
12120 int main() {
12121 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12122 ; return 0; }
12123 EOF
12124 if { (eval echo configure:12116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12125 rm -rf conftest*
12126 echo "*** The test program compiled, but did not run. This usually means"
12127 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12128 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12129 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12130 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12131 echo "*** is required on your system"
12132 echo "***"
12133 echo "*** If you have an old version installed, it is best to remove it, although"
12134 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12135 echo "***"
12136 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12137 echo "*** came with the system with the command"
12138 echo "***"
12139 echo "*** rpm --erase --nodeps gtk gtk-devel"
12140 else
12141 echo "configure: failed program was:" >&5
12142 cat conftest.$ac_ext >&5
12143 rm -rf conftest*
12144 echo "*** The test program failed to compile or link. See the file config.log for the"
12145 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12146 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12147 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12148 fi
12149 rm -f conftest*
12150 CFLAGS="$ac_save_CFLAGS"
12151 LIBS="$ac_save_LIBS"
12152 fi
12153 fi
12154 GTK_CFLAGS=""
12155 GTK_LIBS=""
12156 :
12157 fi
12158
12159
12160 rm -f conf.gtktest
12161
12162 fi
12163
12164 if test -z "$wx_cv_lib_gtk"; then
12165 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12166 if test "${with_gtk_prefix+set}" = set; then
12167 withval="$with_gtk_prefix"
12168 gtk_config_prefix="$withval"
12169 else
12170 gtk_config_prefix=""
12171 fi
12172
12173 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12174 if test "${with_gtk_exec_prefix+set}" = set; then
12175 withval="$with_gtk_exec_prefix"
12176 gtk_config_exec_prefix="$withval"
12177 else
12178 gtk_config_exec_prefix=""
12179 fi
12180
12181 # Check whether --enable-gtktest or --disable-gtktest was given.
12182 if test "${enable_gtktest+set}" = set; then
12183 enableval="$enable_gtktest"
12184 :
12185 else
12186 enable_gtktest=yes
12187 fi
12188
12189
12190 for module in . $GTK_MODULES
12191 do
12192 case "$module" in
12193 gthread)
12194 gtk_config_args="$gtk_config_args gthread"
12195 ;;
12196 esac
12197 done
12198
12199 if test x$gtk_config_exec_prefix != x ; then
12200 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12201 if test x${GTK_CONFIG+set} != xset ; then
12202 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
12203 fi
12204 fi
12205 if test x$gtk_config_prefix != x ; then
12206 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
12207 if test x${GTK_CONFIG+set} != xset ; then
12208 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
12209 fi
12210 fi
12211
12212 # Extract the first word of "gtk-config", so it can be a program name with args.
12213 set dummy gtk-config; ac_word=$2
12214 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12215 echo "configure:12207: checking for $ac_word" >&5
12216 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12217 echo $ac_n "(cached) $ac_c" 1>&6
12218 else
12219 case "$GTK_CONFIG" in
12220 /*)
12221 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
12222 ;;
12223 ?:/*)
12224 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
12225 ;;
12226 *)
12227 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
12228 ac_dummy="$PATH"
12229 for ac_dir in $ac_dummy; do
12230 test -z "$ac_dir" && ac_dir=.
12231 if test -f $ac_dir/$ac_word; then
12232 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
12233 break
12234 fi
12235 done
12236 IFS="$ac_save_ifs"
12237 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
12238 ;;
12239 esac
12240 fi
12241 GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
12242 if test -n "$GTK_CONFIG"; then
12243 echo "$ac_t""$GTK_CONFIG" 1>&6
12244 else
12245 echo "$ac_t""no" 1>&6
12246 fi
12247
12248 min_gtk_version=1.2.3
12249 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12250 echo "configure:12242: checking for GTK - version >= $min_gtk_version" >&5
12251 no_gtk=""
12252 if test "$GTK_CONFIG" = "no" ; then
12253 no_gtk=yes
12254 else
12255 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
12256 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
12257 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
12258 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12259 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
12260 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12261 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
12262 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12263 if test "x$enable_gtktest" = "xyes" ; then
12264 ac_save_CFLAGS="$CFLAGS"
12265 ac_save_LIBS="$LIBS"
12266 CFLAGS="$CFLAGS $GTK_CFLAGS"
12267 LIBS="$GTK_LIBS $LIBS"
12268 rm -f conf.gtktest
12269 if test "$cross_compiling" = yes; then
12270 echo $ac_n "cross compiling; assumed OK... $ac_c"
12271 else
12272 cat > conftest.$ac_ext <<EOF
12273 #line 12265 "configure"
12274 #include "confdefs.h"
12275
12276 #include <gtk/gtk.h>
12277 #include <stdio.h>
12278 #include <stdlib.h>
12279
12280 int
12281 main ()
12282 {
12283 int major, minor, micro;
12284 char *tmp_version;
12285
12286 system ("touch conf.gtktest");
12287
12288 /* HP/UX 9 (%@#!) writes to sscanf strings */
12289 tmp_version = g_strdup("$min_gtk_version");
12290 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
12291 printf("%s, bad version string\n", "$min_gtk_version");
12292 exit(1);
12293 }
12294
12295 if ((gtk_major_version != $gtk_config_major_version) ||
12296 (gtk_minor_version != $gtk_config_minor_version) ||
12297 (gtk_micro_version != $gtk_config_micro_version))
12298 {
12299 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12300 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12301 gtk_major_version, gtk_minor_version, gtk_micro_version);
12302 printf ("*** was found! If gtk-config was correct, then it is best\n");
12303 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12304 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12305 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12306 printf("*** required on your system.\n");
12307 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12308 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12309 printf("*** before re-running configure\n");
12310 }
12311 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12312 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12313 (gtk_minor_version != GTK_MINOR_VERSION) ||
12314 (gtk_micro_version != GTK_MICRO_VERSION))
12315 {
12316 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12317 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12318 printf("*** library (version %d.%d.%d)\n",
12319 gtk_major_version, gtk_minor_version, gtk_micro_version);
12320 }
12321 #endif /* defined (GTK_MAJOR_VERSION) ... */
12322 else
12323 {
12324 if ((gtk_major_version > major) ||
12325 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12326 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12327 {
12328 return 0;
12329 }
12330 else
12331 {
12332 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12333 gtk_major_version, gtk_minor_version, gtk_micro_version);
12334 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12335 major, minor, micro);
12336 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12337 printf("***\n");
12338 printf("*** If you have already installed a sufficiently new version, this error\n");
12339 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12340 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12341 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12342 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12343 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12344 printf("*** so that the correct libraries are found at run-time))\n");
12345 }
12346 }
12347 return 1;
12348 }
12349
12350 EOF
12351 if { (eval echo configure:12343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12352 then
12353 :
12354 else
12355 echo "configure: failed program was:" >&5
12356 cat conftest.$ac_ext >&5
12357 rm -fr conftest*
12358 no_gtk=yes
12359 fi
12360 rm -fr conftest*
12361 fi
12362
12363 CFLAGS="$ac_save_CFLAGS"
12364 LIBS="$ac_save_LIBS"
12365 fi
12366 fi
12367 if test "x$no_gtk" = x ; then
12368 echo "$ac_t""yes" 1>&6
12369 wx_cv_lib_gtk=1.2.3
12370 else
12371 echo "$ac_t""no" 1>&6
12372 if test "$GTK_CONFIG" = "no" ; then
12373 echo "*** The gtk-config script installed by GTK could not be found"
12374 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12375 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12376 echo "*** full path to gtk-config."
12377 else
12378 if test -f conf.gtktest ; then
12379 :
12380 else
12381 echo "*** Could not run GTK test program, checking why..."
12382 CFLAGS="$CFLAGS $GTK_CFLAGS"
12383 LIBS="$LIBS $GTK_LIBS"
12384 cat > conftest.$ac_ext <<EOF
12385 #line 12377 "configure"
12386 #include "confdefs.h"
12387
12388 #include <gtk/gtk.h>
12389 #include <stdio.h>
12390
12391 int main() {
12392 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12393 ; return 0; }
12394 EOF
12395 if { (eval echo configure:12387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12396 rm -rf conftest*
12397 echo "*** The test program compiled, but did not run. This usually means"
12398 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12399 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12400 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12401 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12402 echo "*** is required on your system"
12403 echo "***"
12404 echo "*** If you have an old version installed, it is best to remove it, although"
12405 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12406 echo "***"
12407 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12408 echo "*** came with the system with the command"
12409 echo "***"
12410 echo "*** rpm --erase --nodeps gtk gtk-devel"
12411 else
12412 echo "configure: failed program was:" >&5
12413 cat conftest.$ac_ext >&5
12414 rm -rf conftest*
12415 echo "*** The test program failed to compile or link. See the file config.log for the"
12416 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12417 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12418 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12419 fi
12420 rm -f conftest*
12421 CFLAGS="$ac_save_CFLAGS"
12422 LIBS="$ac_save_LIBS"
12423 fi
12424 fi
12425 GTK_CFLAGS=""
12426 GTK_LIBS=""
12427 :
12428 fi
12429
12430
12431 rm -f conf.gtktest
12432
12433 fi
12434
12435 if test -z "$wx_cv_lib_gtk"; then
12436 wx_cv_lib_gtk=none
12437 else
12438 wx_cv_cflags_gtk=$GTK_CFLAGS
12439 wx_cv_libs_gtk=$GTK_LIBS
12440 fi
12441
12442
12443 fi
12444
12445
12446 if test "$gtk_version_cached" = 1; then
12447 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
12448 fi
12449
12450 case "$wx_cv_lib_gtk" in
12451 2.0) WXGTK20=1
12452 ;;
12453 1.2.7) WXGTK127=1
12454 WXGTK12=1
12455 ;;
12456 1.2.3) WXGTK12=1
12457 ;;
12458 *) { echo "configure: error:
12459 Please check that gtk-config is in path, the directory
12460 where GTK+ libraries are installed (returned by
12461 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
12462 equivalent variable and GTK+ is version 1.2.3 or above.
12463 " 1>&2; exit 1; }
12464 ;;
12465 esac
12466
12467 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
12468 GUI_TK_LIBRARY="$wx_cv_libs_gtk"
12469
12470 AFMINSTALL=afminstall
12471 TOOLKIT=GTK
12472 GUIDIST=GTK_DIST
12473
12474 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
12475 echo "configure:12467: checking for gdk_im_open in -lgdk" >&5
12476 ac_lib_var=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
12477 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12478 echo $ac_n "(cached) $ac_c" 1>&6
12479 else
12480 ac_save_LIBS="$LIBS"
12481 LIBS="-lgdk $LIBS"
12482 cat > conftest.$ac_ext <<EOF
12483 #line 12475 "configure"
12484 #include "confdefs.h"
12485 /* Override any gcc2 internal prototype to avoid an error. */
12486 /* We use char because int might match the return type of a gcc2
12487 builtin and then its argument prototype would still apply. */
12488 char gdk_im_open();
12489
12490 int main() {
12491 gdk_im_open()
12492 ; return 0; }
12493 EOF
12494 if { (eval echo configure:12486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12495 rm -rf conftest*
12496 eval "ac_cv_lib_$ac_lib_var=yes"
12497 else
12498 echo "configure: failed program was:" >&5
12499 cat conftest.$ac_ext >&5
12500 rm -rf conftest*
12501 eval "ac_cv_lib_$ac_lib_var=no"
12502 fi
12503 rm -f conftest*
12504 LIBS="$ac_save_LIBS"
12505
12506 fi
12507 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12508 echo "$ac_t""yes" 1>&6
12509 cat >> confdefs.h <<\EOF
12510 #define HAVE_XIM 1
12511 EOF
12512
12513 else
12514 echo "$ac_t""no" 1>&6
12515 fi
12516
12517 fi
12518
12519 if test "$wxUSE_MGL" = 1; then
12520 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
12521 echo "configure:12513: checking for SciTech MGL library" >&5
12522 if test "x$MGL_ROOT" = x ; then
12523 echo "$ac_t""not found" 1>&6
12524 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
12525 else
12526 echo "$ac_t""$MGL_ROOT" 1>&6
12527 fi
12528
12529 case "${host}" in
12530 *-*-linux* )
12531 mgl_os=linux/gcc/glibc
12532 ;;
12533 *-pc-msdosdjgpp )
12534 mgl_os=dos32/dj2
12535 ;;
12536 *)
12537 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
12538 esac
12539
12540 mgl_lib_type=""
12541
12542 if test "$wxUSE_DEBUG_FLAG" = yes ; then
12543 if test -f $MGL_ROOT/lib/debug/$mgl_os/libmgl.a -o \
12544 -f $MGL_ROOT/lib/debug/$mgl_os/libmgl.so; then
12545 mgl_lib_type=debug
12546 fi
12547 fi
12548 if test "x$mgl_lib_type" = x ; then
12549 if test -f $MGL_ROOT/lib/release/$mgl_os/libmgl.a -o \
12550 -f $MGL_ROOT/lib/release/$mgl_os/libmgl.so; then
12551 mgl_lib_type=release
12552 else
12553 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
12554 fi
12555 fi
12556
12557 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
12558 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
12559
12560 AFMINSTALL=afminstall
12561 TOOLKIT=MGL
12562 GUIDIST=MGL_DIST
12563 fi
12564
12565 if test "$wxUSE_MICROWIN" = 1; then
12566 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
12567 echo "configure:12559: checking for MicroWindows" >&5
12568 if test "x$MICROWINDOWS" = x ; then
12569 echo "$ac_t""not found" 1>&6
12570 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
12571 else
12572 echo "$ac_t""$MICROWINDOWS" 1>&6
12573 fi
12574
12575 if test -f $MICROWINDOWS/lib/libmwin.a; then
12576 echo "$ac_t""MicroWindows' libraries found." 1>&6
12577 else
12578 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
12579 fi
12580
12581 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
12582 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
12583
12584 AFMINSTALL=afminstall
12585 TOOLKIT=MICROWIN
12586 GUIDIST=MICROWIN_DIST
12587
12588 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__ -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
12589 fi
12590
12591 if test "$wxUSE_X11" = 1; then
12592 # If we find X, set shell vars x_includes and x_libraries to the
12593 # paths, otherwise set no_x=yes.
12594 # Uses ac_ vars as temps to allow command line to override cache and checks.
12595 # --without-x overrides everything else, but does not touch the cache.
12596 echo $ac_n "checking for X""... $ac_c" 1>&6
12597 echo "configure:12589: checking for X" >&5
12598
12599 # Check whether --with-x or --without-x was given.
12600 if test "${with_x+set}" = set; then
12601 withval="$with_x"
12602 :
12603 fi
12604
12605 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
12606 if test "x$with_x" = xno; then
12607 # The user explicitly disabled X.
12608 have_x=disabled
12609 else
12610 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
12611 # Both variables are already set.
12612 have_x=yes
12613 else
12614 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
12615 echo $ac_n "(cached) $ac_c" 1>&6
12616 else
12617 # One or both of the vars are not set, and there is no cached value.
12618 ac_x_includes=NO ac_x_libraries=NO
12619 rm -fr conftestdir
12620 if mkdir conftestdir; then
12621 cd conftestdir
12622 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
12623 cat > Imakefile <<'EOF'
12624 acfindx:
12625 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
12626 EOF
12627 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
12628 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12629 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
12630 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
12631 for ac_extension in a so sl; do
12632 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
12633 test -f $ac_im_libdir/libX11.$ac_extension; then
12634 ac_im_usrlibdir=$ac_im_libdir; break
12635 fi
12636 done
12637 # Screen out bogus values from the imake configuration. They are
12638 # bogus both because they are the default anyway, and because
12639 # using them would break gcc on systems where it needs fixed includes.
12640 case "$ac_im_incroot" in
12641 /usr/include) ;;
12642 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
12643 esac
12644 case "$ac_im_usrlibdir" in
12645 /usr/lib | /lib) ;;
12646 *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
12647 esac
12648 fi
12649 cd ..
12650 rm -fr conftestdir
12651 fi
12652
12653 if test "$ac_x_includes" = NO; then
12654 # Guess where to find include files, by looking for this one X11 .h file.
12655 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
12656
12657 # First, try using that file with no special directory specified.
12658 cat > conftest.$ac_ext <<EOF
12659 #line 12651 "configure"
12660 #include "confdefs.h"
12661 #include <$x_direct_test_include>
12662 EOF
12663 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12664 { (eval echo configure:12656: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12665 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12666 if test -z "$ac_err"; then
12667 rm -rf conftest*
12668 # We can compile using X headers with no special include directory.
12669 ac_x_includes=
12670 else
12671 echo "$ac_err" >&5
12672 echo "configure: failed program was:" >&5
12673 cat conftest.$ac_ext >&5
12674 rm -rf conftest*
12675 # Look for the header file in a standard set of common directories.
12676 # Check X11 before X11Rn because it is often a symlink to the current release.
12677 for ac_dir in \
12678 /usr/X11/include \
12679 /usr/X11R6/include \
12680 /usr/X11R5/include \
12681 /usr/X11R4/include \
12682 \
12683 /usr/include/X11 \
12684 /usr/include/X11R6 \
12685 /usr/include/X11R5 \
12686 /usr/include/X11R4 \
12687 \
12688 /usr/local/X11/include \
12689 /usr/local/X11R6/include \
12690 /usr/local/X11R5/include \
12691 /usr/local/X11R4/include \
12692 \
12693 /usr/local/include/X11 \
12694 /usr/local/include/X11R6 \
12695 /usr/local/include/X11R5 \
12696 /usr/local/include/X11R4 \
12697 \
12698 /usr/X386/include \
12699 /usr/x386/include \
12700 /usr/XFree86/include/X11 \
12701 \
12702 /usr/include \
12703 /usr/local/include \
12704 /usr/unsupported/include \
12705 /usr/athena/include \
12706 /usr/local/x11r5/include \
12707 /usr/lpp/Xamples/include \
12708 \
12709 /usr/openwin/include \
12710 /usr/openwin/share/include \
12711 ; \
12712 do
12713 if test -r "$ac_dir/$x_direct_test_include"; then
12714 ac_x_includes=$ac_dir
12715 break
12716 fi
12717 done
12718 fi
12719 rm -f conftest*
12720 fi # $ac_x_includes = NO
12721
12722 if test "$ac_x_libraries" = NO; then
12723 # Check for the libraries.
12724
12725 test -z "$x_direct_test_library" && x_direct_test_library=Xt
12726 test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
12727
12728 # See if we find them without any special options.
12729 # Don't add to $LIBS permanently.
12730 ac_save_LIBS="$LIBS"
12731 LIBS="-l$x_direct_test_library $LIBS"
12732 cat > conftest.$ac_ext <<EOF
12733 #line 12725 "configure"
12734 #include "confdefs.h"
12735
12736 int main() {
12737 ${x_direct_test_function}()
12738 ; return 0; }
12739 EOF
12740 if { (eval echo configure:12732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12741 rm -rf conftest*
12742 LIBS="$ac_save_LIBS"
12743 # We can link X programs with no special library path.
12744 ac_x_libraries=
12745 else
12746 echo "configure: failed program was:" >&5
12747 cat conftest.$ac_ext >&5
12748 rm -rf conftest*
12749 LIBS="$ac_save_LIBS"
12750 # First see if replacing the include by lib works.
12751 # Check X11 before X11Rn because it is often a symlink to the current release.
12752 for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
12753 /usr/X11/lib \
12754 /usr/X11R6/lib \
12755 /usr/X11R5/lib \
12756 /usr/X11R4/lib \
12757 \
12758 /usr/lib/X11 \
12759 /usr/lib/X11R6 \
12760 /usr/lib/X11R5 \
12761 /usr/lib/X11R4 \
12762 \
12763 /usr/local/X11/lib \
12764 /usr/local/X11R6/lib \
12765 /usr/local/X11R5/lib \
12766 /usr/local/X11R4/lib \
12767 \
12768 /usr/local/lib/X11 \
12769 /usr/local/lib/X11R6 \
12770 /usr/local/lib/X11R5 \
12771 /usr/local/lib/X11R4 \
12772 \
12773 /usr/X386/lib \
12774 /usr/x386/lib \
12775 /usr/XFree86/lib/X11 \
12776 \
12777 /usr/lib \
12778 /usr/local/lib \
12779 /usr/unsupported/lib \
12780 /usr/athena/lib \
12781 /usr/local/x11r5/lib \
12782 /usr/lpp/Xamples/lib \
12783 /lib/usr/lib/X11 \
12784 \
12785 /usr/openwin/lib \
12786 /usr/openwin/share/lib \
12787 ; \
12788 do
12789 for ac_extension in a so sl; do
12790 if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
12791 ac_x_libraries=$ac_dir
12792 break 2
12793 fi
12794 done
12795 done
12796 fi
12797 rm -f conftest*
12798 fi # $ac_x_libraries = NO
12799
12800 if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then
12801 # Didn't find X anywhere. Cache the known absence of X.
12802 ac_cv_have_x="have_x=no"
12803 else
12804 # Record where we found X for the cache.
12805 ac_cv_have_x="have_x=yes \
12806 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
12807 fi
12808 fi
12809 fi
12810 eval "$ac_cv_have_x"
12811 fi # $with_x != no
12812
12813 if test "$have_x" != yes; then
12814 echo "$ac_t""$have_x" 1>&6
12815 no_x=yes
12816 else
12817 # If each of the values was on the command line, it overrides each guess.
12818 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
12819 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
12820 # Update the cache value to reflect the command line values.
12821 ac_cv_have_x="have_x=yes \
12822 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
12823 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
12824 fi
12825
12826 if test "$no_x" = yes; then
12827 # Not all programs may use this symbol, but it does not hurt to define it.
12828 cat >> confdefs.h <<\EOF
12829 #define X_DISPLAY_MISSING 1
12830 EOF
12831
12832 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
12833 else
12834 if test -n "$x_includes"; then
12835 X_CFLAGS="$X_CFLAGS -I$x_includes"
12836 fi
12837
12838 # It would also be nice to do this for all -L options, not just this one.
12839 if test -n "$x_libraries"; then
12840 X_LIBS="$X_LIBS -L$x_libraries"
12841 # For Solaris; some versions of Sun CC require a space after -R and
12842 # others require no space. Words are not sufficient . . . .
12843 case "`(uname -sr) 2>/dev/null`" in
12844 "SunOS 5"*)
12845 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
12846 echo "configure:12838: checking whether -R must be followed by a space" >&5
12847 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
12848 cat > conftest.$ac_ext <<EOF
12849 #line 12841 "configure"
12850 #include "confdefs.h"
12851
12852 int main() {
12853
12854 ; return 0; }
12855 EOF
12856 if { (eval echo configure:12848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12857 rm -rf conftest*
12858 ac_R_nospace=yes
12859 else
12860 echo "configure: failed program was:" >&5
12861 cat conftest.$ac_ext >&5
12862 rm -rf conftest*
12863 ac_R_nospace=no
12864 fi
12865 rm -f conftest*
12866 if test $ac_R_nospace = yes; then
12867 echo "$ac_t""no" 1>&6
12868 X_LIBS="$X_LIBS -R$x_libraries"
12869 else
12870 LIBS="$ac_xsave_LIBS -R $x_libraries"
12871 cat > conftest.$ac_ext <<EOF
12872 #line 12864 "configure"
12873 #include "confdefs.h"
12874
12875 int main() {
12876
12877 ; return 0; }
12878 EOF
12879 if { (eval echo configure:12871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12880 rm -rf conftest*
12881 ac_R_space=yes
12882 else
12883 echo "configure: failed program was:" >&5
12884 cat conftest.$ac_ext >&5
12885 rm -rf conftest*
12886 ac_R_space=no
12887 fi
12888 rm -f conftest*
12889 if test $ac_R_space = yes; then
12890 echo "$ac_t""yes" 1>&6
12891 X_LIBS="$X_LIBS -R $x_libraries"
12892 else
12893 echo "$ac_t""neither works" 1>&6
12894 fi
12895 fi
12896 LIBS="$ac_xsave_LIBS"
12897 esac
12898 fi
12899
12900 # Check for system-dependent libraries X programs must link with.
12901 # Do this before checking for the system-independent R6 libraries
12902 # (-lICE), since we may need -lsocket or whatever for X linking.
12903
12904 if test "$ISC" = yes; then
12905 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
12906 else
12907 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
12908 # libraries were built with DECnet support. And karl@cs.umb.edu says
12909 # the Alpha needs dnet_stub (dnet does not exist).
12910 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
12911 echo "configure:12903: checking for dnet_ntoa in -ldnet" >&5
12912 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
12913 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12914 echo $ac_n "(cached) $ac_c" 1>&6
12915 else
12916 ac_save_LIBS="$LIBS"
12917 LIBS="-ldnet $LIBS"
12918 cat > conftest.$ac_ext <<EOF
12919 #line 12911 "configure"
12920 #include "confdefs.h"
12921 /* Override any gcc2 internal prototype to avoid an error. */
12922 /* We use char because int might match the return type of a gcc2
12923 builtin and then its argument prototype would still apply. */
12924 char dnet_ntoa();
12925
12926 int main() {
12927 dnet_ntoa()
12928 ; return 0; }
12929 EOF
12930 if { (eval echo configure:12922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12931 rm -rf conftest*
12932 eval "ac_cv_lib_$ac_lib_var=yes"
12933 else
12934 echo "configure: failed program was:" >&5
12935 cat conftest.$ac_ext >&5
12936 rm -rf conftest*
12937 eval "ac_cv_lib_$ac_lib_var=no"
12938 fi
12939 rm -f conftest*
12940 LIBS="$ac_save_LIBS"
12941
12942 fi
12943 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12944 echo "$ac_t""yes" 1>&6
12945 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
12946 else
12947 echo "$ac_t""no" 1>&6
12948 fi
12949
12950 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
12951 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
12952 echo "configure:12944: checking for dnet_ntoa in -ldnet_stub" >&5
12953 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
12954 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12955 echo $ac_n "(cached) $ac_c" 1>&6
12956 else
12957 ac_save_LIBS="$LIBS"
12958 LIBS="-ldnet_stub $LIBS"
12959 cat > conftest.$ac_ext <<EOF
12960 #line 12952 "configure"
12961 #include "confdefs.h"
12962 /* Override any gcc2 internal prototype to avoid an error. */
12963 /* We use char because int might match the return type of a gcc2
12964 builtin and then its argument prototype would still apply. */
12965 char dnet_ntoa();
12966
12967 int main() {
12968 dnet_ntoa()
12969 ; return 0; }
12970 EOF
12971 if { (eval echo configure:12963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12972 rm -rf conftest*
12973 eval "ac_cv_lib_$ac_lib_var=yes"
12974 else
12975 echo "configure: failed program was:" >&5
12976 cat conftest.$ac_ext >&5
12977 rm -rf conftest*
12978 eval "ac_cv_lib_$ac_lib_var=no"
12979 fi
12980 rm -f conftest*
12981 LIBS="$ac_save_LIBS"
12982
12983 fi
12984 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12985 echo "$ac_t""yes" 1>&6
12986 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
12987 else
12988 echo "$ac_t""no" 1>&6
12989 fi
12990
12991 fi
12992
12993 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
12994 # to get the SysV transport functions.
12995 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
12996 # needs -lnsl.
12997 # The nsl library prevents programs from opening the X display
12998 # on Irix 5.2, according to dickey@clark.net.
12999 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13000 echo "configure:12992: checking for gethostbyname" >&5
13001 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13002 echo $ac_n "(cached) $ac_c" 1>&6
13003 else
13004 cat > conftest.$ac_ext <<EOF
13005 #line 12997 "configure"
13006 #include "confdefs.h"
13007 /* System header to define __stub macros and hopefully few prototypes,
13008 which can conflict with char gethostbyname(); below. */
13009 #include <assert.h>
13010 /* Override any gcc2 internal prototype to avoid an error. */
13011 /* We use char because int might match the return type of a gcc2
13012 builtin and then its argument prototype would still apply. */
13013 char gethostbyname();
13014
13015 int main() {
13016
13017 /* The GNU C library defines this for functions which it implements
13018 to always fail with ENOSYS. Some functions are actually named
13019 something starting with __ and the normal name is an alias. */
13020 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13021 choke me
13022 #else
13023 gethostbyname();
13024 #endif
13025
13026 ; return 0; }
13027 EOF
13028 if { (eval echo configure:13020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13029 rm -rf conftest*
13030 eval "ac_cv_func_gethostbyname=yes"
13031 else
13032 echo "configure: failed program was:" >&5
13033 cat conftest.$ac_ext >&5
13034 rm -rf conftest*
13035 eval "ac_cv_func_gethostbyname=no"
13036 fi
13037 rm -f conftest*
13038 fi
13039
13040 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13041 echo "$ac_t""yes" 1>&6
13042 :
13043 else
13044 echo "$ac_t""no" 1>&6
13045 fi
13046
13047 if test $ac_cv_func_gethostbyname = no; then
13048 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13049 echo "configure:13041: checking for gethostbyname in -lnsl" >&5
13050 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13051 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13052 echo $ac_n "(cached) $ac_c" 1>&6
13053 else
13054 ac_save_LIBS="$LIBS"
13055 LIBS="-lnsl $LIBS"
13056 cat > conftest.$ac_ext <<EOF
13057 #line 13049 "configure"
13058 #include "confdefs.h"
13059 /* Override any gcc2 internal prototype to avoid an error. */
13060 /* We use char because int might match the return type of a gcc2
13061 builtin and then its argument prototype would still apply. */
13062 char gethostbyname();
13063
13064 int main() {
13065 gethostbyname()
13066 ; return 0; }
13067 EOF
13068 if { (eval echo configure:13060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13069 rm -rf conftest*
13070 eval "ac_cv_lib_$ac_lib_var=yes"
13071 else
13072 echo "configure: failed program was:" >&5
13073 cat conftest.$ac_ext >&5
13074 rm -rf conftest*
13075 eval "ac_cv_lib_$ac_lib_var=no"
13076 fi
13077 rm -f conftest*
13078 LIBS="$ac_save_LIBS"
13079
13080 fi
13081 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13082 echo "$ac_t""yes" 1>&6
13083 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13084 else
13085 echo "$ac_t""no" 1>&6
13086 fi
13087
13088 fi
13089
13090 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13091 # socket/setsockopt and other routines are undefined under SCO ODT
13092 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13093 # on later versions), says simon@lia.di.epfl.ch: it contains
13094 # gethostby* variants that don't use the nameserver (or something).
13095 # -lsocket must be given before -lnsl if both are needed.
13096 # We assume that if connect needs -lnsl, so does gethostbyname.
13097 echo $ac_n "checking for connect""... $ac_c" 1>&6
13098 echo "configure:13090: checking for connect" >&5
13099 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
13100 echo $ac_n "(cached) $ac_c" 1>&6
13101 else
13102 cat > conftest.$ac_ext <<EOF
13103 #line 13095 "configure"
13104 #include "confdefs.h"
13105 /* System header to define __stub macros and hopefully few prototypes,
13106 which can conflict with char connect(); below. */
13107 #include <assert.h>
13108 /* Override any gcc2 internal prototype to avoid an error. */
13109 /* We use char because int might match the return type of a gcc2
13110 builtin and then its argument prototype would still apply. */
13111 char connect();
13112
13113 int main() {
13114
13115 /* The GNU C library defines this for functions which it implements
13116 to always fail with ENOSYS. Some functions are actually named
13117 something starting with __ and the normal name is an alias. */
13118 #if defined (__stub_connect) || defined (__stub___connect)
13119 choke me
13120 #else
13121 connect();
13122 #endif
13123
13124 ; return 0; }
13125 EOF
13126 if { (eval echo configure:13118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13127 rm -rf conftest*
13128 eval "ac_cv_func_connect=yes"
13129 else
13130 echo "configure: failed program was:" >&5
13131 cat conftest.$ac_ext >&5
13132 rm -rf conftest*
13133 eval "ac_cv_func_connect=no"
13134 fi
13135 rm -f conftest*
13136 fi
13137
13138 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
13139 echo "$ac_t""yes" 1>&6
13140 :
13141 else
13142 echo "$ac_t""no" 1>&6
13143 fi
13144
13145 if test $ac_cv_func_connect = no; then
13146 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
13147 echo "configure:13139: checking for connect in -lsocket" >&5
13148 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
13149 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13150 echo $ac_n "(cached) $ac_c" 1>&6
13151 else
13152 ac_save_LIBS="$LIBS"
13153 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13154 cat > conftest.$ac_ext <<EOF
13155 #line 13147 "configure"
13156 #include "confdefs.h"
13157 /* Override any gcc2 internal prototype to avoid an error. */
13158 /* We use char because int might match the return type of a gcc2
13159 builtin and then its argument prototype would still apply. */
13160 char connect();
13161
13162 int main() {
13163 connect()
13164 ; return 0; }
13165 EOF
13166 if { (eval echo configure:13158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13167 rm -rf conftest*
13168 eval "ac_cv_lib_$ac_lib_var=yes"
13169 else
13170 echo "configure: failed program was:" >&5
13171 cat conftest.$ac_ext >&5
13172 rm -rf conftest*
13173 eval "ac_cv_lib_$ac_lib_var=no"
13174 fi
13175 rm -f conftest*
13176 LIBS="$ac_save_LIBS"
13177
13178 fi
13179 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13180 echo "$ac_t""yes" 1>&6
13181 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
13182 else
13183 echo "$ac_t""no" 1>&6
13184 fi
13185
13186 fi
13187
13188 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
13189 echo $ac_n "checking for remove""... $ac_c" 1>&6
13190 echo "configure:13182: checking for remove" >&5
13191 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
13192 echo $ac_n "(cached) $ac_c" 1>&6
13193 else
13194 cat > conftest.$ac_ext <<EOF
13195 #line 13187 "configure"
13196 #include "confdefs.h"
13197 /* System header to define __stub macros and hopefully few prototypes,
13198 which can conflict with char remove(); below. */
13199 #include <assert.h>
13200 /* Override any gcc2 internal prototype to avoid an error. */
13201 /* We use char because int might match the return type of a gcc2
13202 builtin and then its argument prototype would still apply. */
13203 char remove();
13204
13205 int main() {
13206
13207 /* The GNU C library defines this for functions which it implements
13208 to always fail with ENOSYS. Some functions are actually named
13209 something starting with __ and the normal name is an alias. */
13210 #if defined (__stub_remove) || defined (__stub___remove)
13211 choke me
13212 #else
13213 remove();
13214 #endif
13215
13216 ; return 0; }
13217 EOF
13218 if { (eval echo configure:13210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13219 rm -rf conftest*
13220 eval "ac_cv_func_remove=yes"
13221 else
13222 echo "configure: failed program was:" >&5
13223 cat conftest.$ac_ext >&5
13224 rm -rf conftest*
13225 eval "ac_cv_func_remove=no"
13226 fi
13227 rm -f conftest*
13228 fi
13229
13230 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
13231 echo "$ac_t""yes" 1>&6
13232 :
13233 else
13234 echo "$ac_t""no" 1>&6
13235 fi
13236
13237 if test $ac_cv_func_remove = no; then
13238 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
13239 echo "configure:13231: checking for remove in -lposix" >&5
13240 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
13241 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13242 echo $ac_n "(cached) $ac_c" 1>&6
13243 else
13244 ac_save_LIBS="$LIBS"
13245 LIBS="-lposix $LIBS"
13246 cat > conftest.$ac_ext <<EOF
13247 #line 13239 "configure"
13248 #include "confdefs.h"
13249 /* Override any gcc2 internal prototype to avoid an error. */
13250 /* We use char because int might match the return type of a gcc2
13251 builtin and then its argument prototype would still apply. */
13252 char remove();
13253
13254 int main() {
13255 remove()
13256 ; return 0; }
13257 EOF
13258 if { (eval echo configure:13250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13259 rm -rf conftest*
13260 eval "ac_cv_lib_$ac_lib_var=yes"
13261 else
13262 echo "configure: failed program was:" >&5
13263 cat conftest.$ac_ext >&5
13264 rm -rf conftest*
13265 eval "ac_cv_lib_$ac_lib_var=no"
13266 fi
13267 rm -f conftest*
13268 LIBS="$ac_save_LIBS"
13269
13270 fi
13271 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13272 echo "$ac_t""yes" 1>&6
13273 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
13274 else
13275 echo "$ac_t""no" 1>&6
13276 fi
13277
13278 fi
13279
13280 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13281 echo $ac_n "checking for shmat""... $ac_c" 1>&6
13282 echo "configure:13274: checking for shmat" >&5
13283 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
13284 echo $ac_n "(cached) $ac_c" 1>&6
13285 else
13286 cat > conftest.$ac_ext <<EOF
13287 #line 13279 "configure"
13288 #include "confdefs.h"
13289 /* System header to define __stub macros and hopefully few prototypes,
13290 which can conflict with char shmat(); below. */
13291 #include <assert.h>
13292 /* Override any gcc2 internal prototype to avoid an error. */
13293 /* We use char because int might match the return type of a gcc2
13294 builtin and then its argument prototype would still apply. */
13295 char shmat();
13296
13297 int main() {
13298
13299 /* The GNU C library defines this for functions which it implements
13300 to always fail with ENOSYS. Some functions are actually named
13301 something starting with __ and the normal name is an alias. */
13302 #if defined (__stub_shmat) || defined (__stub___shmat)
13303 choke me
13304 #else
13305 shmat();
13306 #endif
13307
13308 ; return 0; }
13309 EOF
13310 if { (eval echo configure:13302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13311 rm -rf conftest*
13312 eval "ac_cv_func_shmat=yes"
13313 else
13314 echo "configure: failed program was:" >&5
13315 cat conftest.$ac_ext >&5
13316 rm -rf conftest*
13317 eval "ac_cv_func_shmat=no"
13318 fi
13319 rm -f conftest*
13320 fi
13321
13322 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
13323 echo "$ac_t""yes" 1>&6
13324 :
13325 else
13326 echo "$ac_t""no" 1>&6
13327 fi
13328
13329 if test $ac_cv_func_shmat = no; then
13330 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
13331 echo "configure:13323: checking for shmat in -lipc" >&5
13332 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
13333 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13334 echo $ac_n "(cached) $ac_c" 1>&6
13335 else
13336 ac_save_LIBS="$LIBS"
13337 LIBS="-lipc $LIBS"
13338 cat > conftest.$ac_ext <<EOF
13339 #line 13331 "configure"
13340 #include "confdefs.h"
13341 /* Override any gcc2 internal prototype to avoid an error. */
13342 /* We use char because int might match the return type of a gcc2
13343 builtin and then its argument prototype would still apply. */
13344 char shmat();
13345
13346 int main() {
13347 shmat()
13348 ; return 0; }
13349 EOF
13350 if { (eval echo configure:13342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13351 rm -rf conftest*
13352 eval "ac_cv_lib_$ac_lib_var=yes"
13353 else
13354 echo "configure: failed program was:" >&5
13355 cat conftest.$ac_ext >&5
13356 rm -rf conftest*
13357 eval "ac_cv_lib_$ac_lib_var=no"
13358 fi
13359 rm -f conftest*
13360 LIBS="$ac_save_LIBS"
13361
13362 fi
13363 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13364 echo "$ac_t""yes" 1>&6
13365 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
13366 else
13367 echo "$ac_t""no" 1>&6
13368 fi
13369
13370 fi
13371 fi
13372
13373 # Check for libraries that X11R6 Xt/Xaw programs need.
13374 ac_save_LDFLAGS="$LDFLAGS"
13375 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
13376 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13377 # check for ICE first), but we must link in the order -lSM -lICE or
13378 # we get undefined symbols. So assume we have SM if we have ICE.
13379 # These have to be linked with before -lX11, unlike the other
13380 # libraries we check for below, so use a different variable.
13381 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
13382 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
13383 echo "configure:13375: checking for IceConnectionNumber in -lICE" >&5
13384 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
13385 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13386 echo $ac_n "(cached) $ac_c" 1>&6
13387 else
13388 ac_save_LIBS="$LIBS"
13389 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
13390 cat > conftest.$ac_ext <<EOF
13391 #line 13383 "configure"
13392 #include "confdefs.h"
13393 /* Override any gcc2 internal prototype to avoid an error. */
13394 /* We use char because int might match the return type of a gcc2
13395 builtin and then its argument prototype would still apply. */
13396 char IceConnectionNumber();
13397
13398 int main() {
13399 IceConnectionNumber()
13400 ; return 0; }
13401 EOF
13402 if { (eval echo configure:13394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13403 rm -rf conftest*
13404 eval "ac_cv_lib_$ac_lib_var=yes"
13405 else
13406 echo "configure: failed program was:" >&5
13407 cat conftest.$ac_ext >&5
13408 rm -rf conftest*
13409 eval "ac_cv_lib_$ac_lib_var=no"
13410 fi
13411 rm -f conftest*
13412 LIBS="$ac_save_LIBS"
13413
13414 fi
13415 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13416 echo "$ac_t""yes" 1>&6
13417 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
13418 else
13419 echo "$ac_t""no" 1>&6
13420 fi
13421
13422 LDFLAGS="$ac_save_LDFLAGS"
13423
13424 fi
13425
13426
13427 if test "$no_x" = "yes"; then
13428 { echo "configure: error: X11 not found" 1>&2; exit 1; }
13429 fi
13430
13431 GUI_TK_LIBRARY="$X_LIBS"
13432 TOOLKIT_INCLUDE="$X_CFLAGS"
13433 AFMINSTALL=afminstall
13434 COMPILED_X_PROGRAM=0
13435
13436 if test "$wxUSE_NANOX" = "yes"; then
13437 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
13438 echo "configure:13430: checking for MicroWindows/NanoX distribution" >&5
13439 if test "x$MICROWIN" = x ; then
13440 echo "$ac_t""not found" 1>&6
13441 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
13442 else
13443 echo "$ac_t""$MICROWIN" 1>&6
13444 cat >> confdefs.h <<\EOF
13445 #define wxUSE_NANOX 1
13446 EOF
13447
13448 fi
13449 fi
13450
13451 xpm_link=
13452 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13453 echo "configure:13445: checking for Xpm library" >&5
13454
13455 ac_find_libraries=
13456 for ac_dir in $SEARCH_LIB;
13457 do
13458 for ac_extension in a so sl dylib; do
13459 if test -f "$ac_dir/libXpm.$ac_extension"; then
13460 ac_find_libraries=$ac_dir
13461 break 2
13462 fi
13463 done
13464 done
13465
13466 if test "$ac_find_libraries" != "" ; then
13467
13468 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
13469 result=$?
13470 if test $result = 0; then
13471 ac_path_to_link=""
13472 else
13473 ac_path_to_link=" -L$ac_find_libraries"
13474 fi
13475
13476 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
13477 xpm_link=" -lXpm"
13478 cat >> confdefs.h <<\EOF
13479 #define wxHAVE_LIB_XPM 1
13480 EOF
13481
13482 echo "$ac_t""found at $ac_find_libraries" 1>&6
13483 else
13484 cat > conftest.$ac_ext <<EOF
13485 #line 13477 "configure"
13486 #include "confdefs.h"
13487
13488 #include <X11/xpm.h>
13489
13490 int main() {
13491
13492 int version;
13493 version = XpmLibraryVersion();
13494
13495 ; return 0; }
13496 EOF
13497 if { (eval echo configure:13489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13498 rm -rf conftest*
13499
13500 xpm_link=" -lXpm"
13501 cat >> confdefs.h <<\EOF
13502 #define wxHAVE_LIB_XPM 1
13503 EOF
13504
13505 echo "$ac_t""found in default search path" 1>&6
13506 COMPILED_X_PROGRAM=0
13507
13508 else
13509 echo "configure: failed program was:" >&5
13510 cat conftest.$ac_ext >&5
13511 rm -rf conftest*
13512
13513 echo "$ac_t""no" 1>&6
13514 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13515
13516
13517 fi
13518 rm -f conftest*
13519 fi
13520
13521 if test "$wxUSE_NANOX" = "yes"; then
13522 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
13523 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"
13524 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
13525 else
13526 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
13527 fi
13528
13529 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
13530 TOOLKIT=X11
13531 GUIDIST=X11_DIST
13532 fi
13533
13534 if test "$wxUSE_WINE" = 1; then
13535 ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'`
13536 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
13537 echo "configure:13529: checking for windows.h" >&5
13538 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13539 echo $ac_n "(cached) $ac_c" 1>&6
13540 else
13541 cat > conftest.$ac_ext <<EOF
13542 #line 13534 "configure"
13543 #include "confdefs.h"
13544 #include <windows.h>
13545 EOF
13546 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13547 { (eval echo configure:13539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13548 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13549 if test -z "$ac_err"; then
13550 rm -rf conftest*
13551 eval "ac_cv_header_$ac_safe=yes"
13552 else
13553 echo "$ac_err" >&5
13554 echo "configure: failed program was:" >&5
13555 cat conftest.$ac_ext >&5
13556 rm -rf conftest*
13557 eval "ac_cv_header_$ac_safe=no"
13558 fi
13559 rm -f conftest*
13560 fi
13561 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13562 echo "$ac_t""yes" 1>&6
13563 :
13564 else
13565 echo "$ac_t""no" 1>&6
13566
13567 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
13568
13569 fi
13570
13571
13572 xpm_link=
13573 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13574 echo "configure:13566: checking for Xpm library" >&5
13575
13576 ac_find_libraries=
13577 for ac_dir in $SEARCH_LIB;
13578 do
13579 for ac_extension in a so sl dylib; do
13580 if test -f "$ac_dir/libXpm.$ac_extension"; then
13581 ac_find_libraries=$ac_dir
13582 break 2
13583 fi
13584 done
13585 done
13586
13587 if test "$ac_find_libraries" != "" ; then
13588 GUI_TK_LIBRARY="-L$ac_find_libraries"
13589 xpm_link=" -lXpm"
13590 cat >> confdefs.h <<\EOF
13591 #define wxHAVE_LIB_XPM 1
13592 EOF
13593
13594 echo "$ac_t""found at $ac_find_libraries" 1>&6
13595 else
13596 echo "$ac_t""no" 1>&6
13597 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13598 fi
13599
13600 mesa_link=
13601 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
13602 echo "configure:13594: checking for Mesa library" >&5
13603
13604 ac_find_libraries=
13605 for ac_dir in $SEARCH_LIB;
13606 do
13607 for ac_extension in a so sl dylib; do
13608 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
13609 ac_find_libraries=$ac_dir
13610 break 2
13611 fi
13612 done
13613 done
13614
13615 if test "$ac_find_libraries" != "" ; then
13616 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -L$ac_find_libraries"
13617 mesa_link=" -lMesaGL"
13618 echo "$ac_t""found at $ac_find_libraries" 1>&6
13619 else
13620 { echo "configure: error: no" 1>&2; exit 1; }
13621 fi
13622
13623 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
13624 TOOLKIT=MSW
13625 GUIDIST=MSW_DIST
13626 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXWINE__"
13627 fi
13628
13629 if test "$wxUSE_MOTIF" = 1; then
13630 if test "$no_x" = yes; then
13631 # Not all programs may use this symbol, but it does not hurt to define it.
13632 cat >> confdefs.h <<\EOF
13633 #define X_DISPLAY_MISSING 1
13634 EOF
13635
13636 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13637 else
13638 if test -n "$x_includes"; then
13639 X_CFLAGS="$X_CFLAGS -I$x_includes"
13640 fi
13641
13642 # It would also be nice to do this for all -L options, not just this one.
13643 if test -n "$x_libraries"; then
13644 X_LIBS="$X_LIBS -L$x_libraries"
13645 # For Solaris; some versions of Sun CC require a space after -R and
13646 # others require no space. Words are not sufficient . . . .
13647 case "`(uname -sr) 2>/dev/null`" in
13648 "SunOS 5"*)
13649 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13650 echo "configure:13642: checking whether -R must be followed by a space" >&5
13651 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
13652 cat > conftest.$ac_ext <<EOF
13653 #line 13645 "configure"
13654 #include "confdefs.h"
13655
13656 int main() {
13657
13658 ; return 0; }
13659 EOF
13660 if { (eval echo configure:13652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13661 rm -rf conftest*
13662 ac_R_nospace=yes
13663 else
13664 echo "configure: failed program was:" >&5
13665 cat conftest.$ac_ext >&5
13666 rm -rf conftest*
13667 ac_R_nospace=no
13668 fi
13669 rm -f conftest*
13670 if test $ac_R_nospace = yes; then
13671 echo "$ac_t""no" 1>&6
13672 X_LIBS="$X_LIBS -R$x_libraries"
13673 else
13674 LIBS="$ac_xsave_LIBS -R $x_libraries"
13675 cat > conftest.$ac_ext <<EOF
13676 #line 13668 "configure"
13677 #include "confdefs.h"
13678
13679 int main() {
13680
13681 ; return 0; }
13682 EOF
13683 if { (eval echo configure:13675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13684 rm -rf conftest*
13685 ac_R_space=yes
13686 else
13687 echo "configure: failed program was:" >&5
13688 cat conftest.$ac_ext >&5
13689 rm -rf conftest*
13690 ac_R_space=no
13691 fi
13692 rm -f conftest*
13693 if test $ac_R_space = yes; then
13694 echo "$ac_t""yes" 1>&6
13695 X_LIBS="$X_LIBS -R $x_libraries"
13696 else
13697 echo "$ac_t""neither works" 1>&6
13698 fi
13699 fi
13700 LIBS="$ac_xsave_LIBS"
13701 esac
13702 fi
13703
13704 # Check for system-dependent libraries X programs must link with.
13705 # Do this before checking for the system-independent R6 libraries
13706 # (-lICE), since we may need -lsocket or whatever for X linking.
13707
13708 if test "$ISC" = yes; then
13709 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13710 else
13711 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13712 # libraries were built with DECnet support. And karl@cs.umb.edu says
13713 # the Alpha needs dnet_stub (dnet does not exist).
13714 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13715 echo "configure:13707: checking for dnet_ntoa in -ldnet" >&5
13716 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13717 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13718 echo $ac_n "(cached) $ac_c" 1>&6
13719 else
13720 ac_save_LIBS="$LIBS"
13721 LIBS="-ldnet $LIBS"
13722 cat > conftest.$ac_ext <<EOF
13723 #line 13715 "configure"
13724 #include "confdefs.h"
13725 /* Override any gcc2 internal prototype to avoid an error. */
13726 /* We use char because int might match the return type of a gcc2
13727 builtin and then its argument prototype would still apply. */
13728 char dnet_ntoa();
13729
13730 int main() {
13731 dnet_ntoa()
13732 ; return 0; }
13733 EOF
13734 if { (eval echo configure:13726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13735 rm -rf conftest*
13736 eval "ac_cv_lib_$ac_lib_var=yes"
13737 else
13738 echo "configure: failed program was:" >&5
13739 cat conftest.$ac_ext >&5
13740 rm -rf conftest*
13741 eval "ac_cv_lib_$ac_lib_var=no"
13742 fi
13743 rm -f conftest*
13744 LIBS="$ac_save_LIBS"
13745
13746 fi
13747 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13748 echo "$ac_t""yes" 1>&6
13749 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13750 else
13751 echo "$ac_t""no" 1>&6
13752 fi
13753
13754 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13755 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13756 echo "configure:13748: checking for dnet_ntoa in -ldnet_stub" >&5
13757 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13758 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13759 echo $ac_n "(cached) $ac_c" 1>&6
13760 else
13761 ac_save_LIBS="$LIBS"
13762 LIBS="-ldnet_stub $LIBS"
13763 cat > conftest.$ac_ext <<EOF
13764 #line 13756 "configure"
13765 #include "confdefs.h"
13766 /* Override any gcc2 internal prototype to avoid an error. */
13767 /* We use char because int might match the return type of a gcc2
13768 builtin and then its argument prototype would still apply. */
13769 char dnet_ntoa();
13770
13771 int main() {
13772 dnet_ntoa()
13773 ; return 0; }
13774 EOF
13775 if { (eval echo configure:13767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13776 rm -rf conftest*
13777 eval "ac_cv_lib_$ac_lib_var=yes"
13778 else
13779 echo "configure: failed program was:" >&5
13780 cat conftest.$ac_ext >&5
13781 rm -rf conftest*
13782 eval "ac_cv_lib_$ac_lib_var=no"
13783 fi
13784 rm -f conftest*
13785 LIBS="$ac_save_LIBS"
13786
13787 fi
13788 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13789 echo "$ac_t""yes" 1>&6
13790 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13791 else
13792 echo "$ac_t""no" 1>&6
13793 fi
13794
13795 fi
13796
13797 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13798 # to get the SysV transport functions.
13799 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13800 # needs -lnsl.
13801 # The nsl library prevents programs from opening the X display
13802 # on Irix 5.2, according to dickey@clark.net.
13803 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13804 echo "configure:13796: checking for gethostbyname" >&5
13805 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13806 echo $ac_n "(cached) $ac_c" 1>&6
13807 else
13808 cat > conftest.$ac_ext <<EOF
13809 #line 13801 "configure"
13810 #include "confdefs.h"
13811 /* System header to define __stub macros and hopefully few prototypes,
13812 which can conflict with char gethostbyname(); below. */
13813 #include <assert.h>
13814 /* Override any gcc2 internal prototype to avoid an error. */
13815 /* We use char because int might match the return type of a gcc2
13816 builtin and then its argument prototype would still apply. */
13817 char gethostbyname();
13818
13819 int main() {
13820
13821 /* The GNU C library defines this for functions which it implements
13822 to always fail with ENOSYS. Some functions are actually named
13823 something starting with __ and the normal name is an alias. */
13824 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13825 choke me
13826 #else
13827 gethostbyname();
13828 #endif
13829
13830 ; return 0; }
13831 EOF
13832 if { (eval echo configure:13824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13833 rm -rf conftest*
13834 eval "ac_cv_func_gethostbyname=yes"
13835 else
13836 echo "configure: failed program was:" >&5
13837 cat conftest.$ac_ext >&5
13838 rm -rf conftest*
13839 eval "ac_cv_func_gethostbyname=no"
13840 fi
13841 rm -f conftest*
13842 fi
13843
13844 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13845 echo "$ac_t""yes" 1>&6
13846 :
13847 else
13848 echo "$ac_t""no" 1>&6
13849 fi
13850
13851 if test $ac_cv_func_gethostbyname = no; then
13852 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13853 echo "configure:13845: checking for gethostbyname in -lnsl" >&5
13854 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13855 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13856 echo $ac_n "(cached) $ac_c" 1>&6
13857 else
13858 ac_save_LIBS="$LIBS"
13859 LIBS="-lnsl $LIBS"
13860 cat > conftest.$ac_ext <<EOF
13861 #line 13853 "configure"
13862 #include "confdefs.h"
13863 /* Override any gcc2 internal prototype to avoid an error. */
13864 /* We use char because int might match the return type of a gcc2
13865 builtin and then its argument prototype would still apply. */
13866 char gethostbyname();
13867
13868 int main() {
13869 gethostbyname()
13870 ; return 0; }
13871 EOF
13872 if { (eval echo configure:13864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13873 rm -rf conftest*
13874 eval "ac_cv_lib_$ac_lib_var=yes"
13875 else
13876 echo "configure: failed program was:" >&5
13877 cat conftest.$ac_ext >&5
13878 rm -rf conftest*
13879 eval "ac_cv_lib_$ac_lib_var=no"
13880 fi
13881 rm -f conftest*
13882 LIBS="$ac_save_LIBS"
13883
13884 fi
13885 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13886 echo "$ac_t""yes" 1>&6
13887 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13888 else
13889 echo "$ac_t""no" 1>&6
13890 fi
13891
13892 fi
13893
13894 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13895 # socket/setsockopt and other routines are undefined under SCO ODT
13896 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13897 # on later versions), says simon@lia.di.epfl.ch: it contains
13898 # gethostby* variants that don't use the nameserver (or something).
13899 # -lsocket must be given before -lnsl if both are needed.
13900 # We assume that if connect needs -lnsl, so does gethostbyname.
13901 echo $ac_n "checking for connect""... $ac_c" 1>&6
13902 echo "configure:13894: checking for connect" >&5
13903 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
13904 echo $ac_n "(cached) $ac_c" 1>&6
13905 else
13906 cat > conftest.$ac_ext <<EOF
13907 #line 13899 "configure"
13908 #include "confdefs.h"
13909 /* System header to define __stub macros and hopefully few prototypes,
13910 which can conflict with char connect(); below. */
13911 #include <assert.h>
13912 /* Override any gcc2 internal prototype to avoid an error. */
13913 /* We use char because int might match the return type of a gcc2
13914 builtin and then its argument prototype would still apply. */
13915 char connect();
13916
13917 int main() {
13918
13919 /* The GNU C library defines this for functions which it implements
13920 to always fail with ENOSYS. Some functions are actually named
13921 something starting with __ and the normal name is an alias. */
13922 #if defined (__stub_connect) || defined (__stub___connect)
13923 choke me
13924 #else
13925 connect();
13926 #endif
13927
13928 ; return 0; }
13929 EOF
13930 if { (eval echo configure:13922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13931 rm -rf conftest*
13932 eval "ac_cv_func_connect=yes"
13933 else
13934 echo "configure: failed program was:" >&5
13935 cat conftest.$ac_ext >&5
13936 rm -rf conftest*
13937 eval "ac_cv_func_connect=no"
13938 fi
13939 rm -f conftest*
13940 fi
13941
13942 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
13943 echo "$ac_t""yes" 1>&6
13944 :
13945 else
13946 echo "$ac_t""no" 1>&6
13947 fi
13948
13949 if test $ac_cv_func_connect = no; then
13950 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
13951 echo "configure:13943: checking for connect in -lsocket" >&5
13952 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
13953 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13954 echo $ac_n "(cached) $ac_c" 1>&6
13955 else
13956 ac_save_LIBS="$LIBS"
13957 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13958 cat > conftest.$ac_ext <<EOF
13959 #line 13951 "configure"
13960 #include "confdefs.h"
13961 /* Override any gcc2 internal prototype to avoid an error. */
13962 /* We use char because int might match the return type of a gcc2
13963 builtin and then its argument prototype would still apply. */
13964 char connect();
13965
13966 int main() {
13967 connect()
13968 ; return 0; }
13969 EOF
13970 if { (eval echo configure:13962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13971 rm -rf conftest*
13972 eval "ac_cv_lib_$ac_lib_var=yes"
13973 else
13974 echo "configure: failed program was:" >&5
13975 cat conftest.$ac_ext >&5
13976 rm -rf conftest*
13977 eval "ac_cv_lib_$ac_lib_var=no"
13978 fi
13979 rm -f conftest*
13980 LIBS="$ac_save_LIBS"
13981
13982 fi
13983 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13984 echo "$ac_t""yes" 1>&6
13985 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
13986 else
13987 echo "$ac_t""no" 1>&6
13988 fi
13989
13990 fi
13991
13992 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
13993 echo $ac_n "checking for remove""... $ac_c" 1>&6
13994 echo "configure:13986: checking for remove" >&5
13995 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
13996 echo $ac_n "(cached) $ac_c" 1>&6
13997 else
13998 cat > conftest.$ac_ext <<EOF
13999 #line 13991 "configure"
14000 #include "confdefs.h"
14001 /* System header to define __stub macros and hopefully few prototypes,
14002 which can conflict with char remove(); below. */
14003 #include <assert.h>
14004 /* Override any gcc2 internal prototype to avoid an error. */
14005 /* We use char because int might match the return type of a gcc2
14006 builtin and then its argument prototype would still apply. */
14007 char remove();
14008
14009 int main() {
14010
14011 /* The GNU C library defines this for functions which it implements
14012 to always fail with ENOSYS. Some functions are actually named
14013 something starting with __ and the normal name is an alias. */
14014 #if defined (__stub_remove) || defined (__stub___remove)
14015 choke me
14016 #else
14017 remove();
14018 #endif
14019
14020 ; return 0; }
14021 EOF
14022 if { (eval echo configure:14014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14023 rm -rf conftest*
14024 eval "ac_cv_func_remove=yes"
14025 else
14026 echo "configure: failed program was:" >&5
14027 cat conftest.$ac_ext >&5
14028 rm -rf conftest*
14029 eval "ac_cv_func_remove=no"
14030 fi
14031 rm -f conftest*
14032 fi
14033
14034 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14035 echo "$ac_t""yes" 1>&6
14036 :
14037 else
14038 echo "$ac_t""no" 1>&6
14039 fi
14040
14041 if test $ac_cv_func_remove = no; then
14042 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14043 echo "configure:14035: checking for remove in -lposix" >&5
14044 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14045 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14046 echo $ac_n "(cached) $ac_c" 1>&6
14047 else
14048 ac_save_LIBS="$LIBS"
14049 LIBS="-lposix $LIBS"
14050 cat > conftest.$ac_ext <<EOF
14051 #line 14043 "configure"
14052 #include "confdefs.h"
14053 /* Override any gcc2 internal prototype to avoid an error. */
14054 /* We use char because int might match the return type of a gcc2
14055 builtin and then its argument prototype would still apply. */
14056 char remove();
14057
14058 int main() {
14059 remove()
14060 ; return 0; }
14061 EOF
14062 if { (eval echo configure:14054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14063 rm -rf conftest*
14064 eval "ac_cv_lib_$ac_lib_var=yes"
14065 else
14066 echo "configure: failed program was:" >&5
14067 cat conftest.$ac_ext >&5
14068 rm -rf conftest*
14069 eval "ac_cv_lib_$ac_lib_var=no"
14070 fi
14071 rm -f conftest*
14072 LIBS="$ac_save_LIBS"
14073
14074 fi
14075 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14076 echo "$ac_t""yes" 1>&6
14077 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14078 else
14079 echo "$ac_t""no" 1>&6
14080 fi
14081
14082 fi
14083
14084 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14085 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14086 echo "configure:14078: checking for shmat" >&5
14087 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14088 echo $ac_n "(cached) $ac_c" 1>&6
14089 else
14090 cat > conftest.$ac_ext <<EOF
14091 #line 14083 "configure"
14092 #include "confdefs.h"
14093 /* System header to define __stub macros and hopefully few prototypes,
14094 which can conflict with char shmat(); below. */
14095 #include <assert.h>
14096 /* Override any gcc2 internal prototype to avoid an error. */
14097 /* We use char because int might match the return type of a gcc2
14098 builtin and then its argument prototype would still apply. */
14099 char shmat();
14100
14101 int main() {
14102
14103 /* The GNU C library defines this for functions which it implements
14104 to always fail with ENOSYS. Some functions are actually named
14105 something starting with __ and the normal name is an alias. */
14106 #if defined (__stub_shmat) || defined (__stub___shmat)
14107 choke me
14108 #else
14109 shmat();
14110 #endif
14111
14112 ; return 0; }
14113 EOF
14114 if { (eval echo configure:14106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14115 rm -rf conftest*
14116 eval "ac_cv_func_shmat=yes"
14117 else
14118 echo "configure: failed program was:" >&5
14119 cat conftest.$ac_ext >&5
14120 rm -rf conftest*
14121 eval "ac_cv_func_shmat=no"
14122 fi
14123 rm -f conftest*
14124 fi
14125
14126 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14127 echo "$ac_t""yes" 1>&6
14128 :
14129 else
14130 echo "$ac_t""no" 1>&6
14131 fi
14132
14133 if test $ac_cv_func_shmat = no; then
14134 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14135 echo "configure:14127: checking for shmat in -lipc" >&5
14136 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14137 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14138 echo $ac_n "(cached) $ac_c" 1>&6
14139 else
14140 ac_save_LIBS="$LIBS"
14141 LIBS="-lipc $LIBS"
14142 cat > conftest.$ac_ext <<EOF
14143 #line 14135 "configure"
14144 #include "confdefs.h"
14145 /* Override any gcc2 internal prototype to avoid an error. */
14146 /* We use char because int might match the return type of a gcc2
14147 builtin and then its argument prototype would still apply. */
14148 char shmat();
14149
14150 int main() {
14151 shmat()
14152 ; return 0; }
14153 EOF
14154 if { (eval echo configure:14146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14155 rm -rf conftest*
14156 eval "ac_cv_lib_$ac_lib_var=yes"
14157 else
14158 echo "configure: failed program was:" >&5
14159 cat conftest.$ac_ext >&5
14160 rm -rf conftest*
14161 eval "ac_cv_lib_$ac_lib_var=no"
14162 fi
14163 rm -f conftest*
14164 LIBS="$ac_save_LIBS"
14165
14166 fi
14167 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14168 echo "$ac_t""yes" 1>&6
14169 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14170 else
14171 echo "$ac_t""no" 1>&6
14172 fi
14173
14174 fi
14175 fi
14176
14177 # Check for libraries that X11R6 Xt/Xaw programs need.
14178 ac_save_LDFLAGS="$LDFLAGS"
14179 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14180 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14181 # check for ICE first), but we must link in the order -lSM -lICE or
14182 # we get undefined symbols. So assume we have SM if we have ICE.
14183 # These have to be linked with before -lX11, unlike the other
14184 # libraries we check for below, so use a different variable.
14185 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14186 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14187 echo "configure:14179: checking for IceConnectionNumber in -lICE" >&5
14188 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14189 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14190 echo $ac_n "(cached) $ac_c" 1>&6
14191 else
14192 ac_save_LIBS="$LIBS"
14193 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14194 cat > conftest.$ac_ext <<EOF
14195 #line 14187 "configure"
14196 #include "confdefs.h"
14197 /* Override any gcc2 internal prototype to avoid an error. */
14198 /* We use char because int might match the return type of a gcc2
14199 builtin and then its argument prototype would still apply. */
14200 char IceConnectionNumber();
14201
14202 int main() {
14203 IceConnectionNumber()
14204 ; return 0; }
14205 EOF
14206 if { (eval echo configure:14198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14207 rm -rf conftest*
14208 eval "ac_cv_lib_$ac_lib_var=yes"
14209 else
14210 echo "configure: failed program was:" >&5
14211 cat conftest.$ac_ext >&5
14212 rm -rf conftest*
14213 eval "ac_cv_lib_$ac_lib_var=no"
14214 fi
14215 rm -f conftest*
14216 LIBS="$ac_save_LIBS"
14217
14218 fi
14219 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14220 echo "$ac_t""yes" 1>&6
14221 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14222 else
14223 echo "$ac_t""no" 1>&6
14224 fi
14225
14226 LDFLAGS="$ac_save_LDFLAGS"
14227
14228 fi
14229
14230
14231 if test "$no_x" = "yes"; then
14232 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14233 fi
14234
14235 GUI_TK_LIBRARY="$X_LIBS"
14236 TOOLKIT_INCLUDE="$X_CFLAGS"
14237 AFMINSTALL=afminstall
14238 COMPILED_X_PROGRAM=0
14239
14240 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
14241 echo "configure:14233: checking for Motif/Lesstif headers" >&5
14242
14243 ac_find_includes=
14244 for ac_dir in $SEARCH_INCLUDE;
14245 do
14246 if test -f "$ac_dir/Xm/Xm.h"; then
14247 ac_find_includes=$ac_dir
14248 break
14249 fi
14250 done
14251
14252 if test "$ac_find_includes" != "" ; then
14253 echo "$ac_t""found $ac_find_includes" 1>&6
14254 else
14255 cat > conftest.$ac_ext <<EOF
14256 #line 14248 "configure"
14257 #include "confdefs.h"
14258
14259 #include <Xm/Xm.h>
14260
14261 int main() {
14262
14263 int version;
14264 version = xmUseVersion;
14265
14266 ; return 0; }
14267 EOF
14268 if { (eval echo configure:14260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14269 rm -rf conftest*
14270
14271 echo "$ac_t""found in default search path" 1>&6
14272 COMPILED_X_PROGRAM=1
14273
14274 else
14275 echo "configure: failed program was:" >&5
14276 cat conftest.$ac_ext >&5
14277 rm -rf conftest*
14278
14279 echo "$ac_t""no" 1>&6
14280 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
14281
14282
14283 fi
14284 rm -f conftest*
14285 fi
14286
14287 if test "$COMPILED_X_PROGRAM" = 0; then
14288 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
14289 echo "configure:14281: checking for Motif/Lesstif library" >&5
14290
14291 ac_find_libraries=
14292 for ac_dir in $SEARCH_LIB;
14293 do
14294 for ac_extension in a so sl dylib; do
14295 if test -f "$ac_dir/libXm.$ac_extension"; then
14296 ac_find_libraries=$ac_dir
14297 break 2
14298 fi
14299 done
14300 done
14301
14302 if test "$ac_find_libraries" != "" ; then
14303
14304 ac_path_to_include=$ac_find_includes
14305 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
14306 result=$?
14307 if test $result = 0; then
14308 ac_path_to_include=""
14309 else
14310 ac_path_to_include=" -I$ac_find_includes"
14311 fi
14312
14313
14314 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
14315 result=$?
14316 if test $result = 0; then
14317 ac_path_to_link=""
14318 else
14319 ac_path_to_link=" -L$ac_find_libraries"
14320 fi
14321
14322
14323 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
14324 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
14325 echo "$ac_t""found at $ac_find_libraries" 1>&6
14326 else
14327 cat > conftest.$ac_ext <<EOF
14328 #line 14320 "configure"
14329 #include "confdefs.h"
14330
14331 #include <Xm/Xm.h>
14332
14333 int main() {
14334
14335 int version;
14336 version = xmUseVersion;
14337
14338 ; return 0; }
14339 EOF
14340 if { (eval echo configure:14332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14341 rm -rf conftest*
14342
14343 echo "$ac_t""found in default search path" 1>&6
14344 COMPILED_X_PROGRAM=1
14345
14346 else
14347 echo "configure: failed program was:" >&5
14348 cat conftest.$ac_ext >&5
14349 rm -rf conftest*
14350
14351 echo "$ac_t""no" 1>&6
14352 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
14353
14354
14355 fi
14356 rm -f conftest*
14357 fi
14358 fi
14359
14360 xpm_link=
14361 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14362 echo "configure:14354: checking for Xpm library" >&5
14363
14364 ac_find_libraries=
14365 for ac_dir in $SEARCH_LIB;
14366 do
14367 for ac_extension in a so sl dylib; do
14368 if test -f "$ac_dir/libXpm.$ac_extension"; then
14369 ac_find_libraries=$ac_dir
14370 break 2
14371 fi
14372 done
14373 done
14374
14375 if test "$ac_find_libraries" != "" ; then
14376
14377 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
14378 result=$?
14379 if test $result = 0; then
14380 ac_path_to_link=""
14381 else
14382 ac_path_to_link=" -L$ac_find_libraries"
14383 fi
14384
14385 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
14386 xpm_link=" -lXpm"
14387 cat >> confdefs.h <<\EOF
14388 #define wxHAVE_LIB_XPM 1
14389 EOF
14390
14391 echo "$ac_t""found at $ac_find_libraries" 1>&6
14392 else
14393 cat > conftest.$ac_ext <<EOF
14394 #line 14386 "configure"
14395 #include "confdefs.h"
14396
14397 #include <X11/xpm.h>
14398
14399 int main() {
14400
14401 int version;
14402 version = XpmLibraryVersion();
14403
14404 ; return 0; }
14405 EOF
14406 if { (eval echo configure:14398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14407 rm -rf conftest*
14408
14409 xpm_link=" -lXpm"
14410 cat >> confdefs.h <<\EOF
14411 #define wxHAVE_LIB_XPM 1
14412 EOF
14413
14414 echo "$ac_t""found in default search path" 1>&6
14415 COMPILED_X_PROGRAM=0
14416
14417 else
14418 echo "configure: failed program was:" >&5
14419 cat conftest.$ac_ext >&5
14420 rm -rf conftest*
14421
14422 echo "$ac_t""no" 1>&6
14423 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14424
14425
14426 fi
14427 rm -f conftest*
14428 fi
14429
14430 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
14431 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
14432 TOOLKIT=MOTIF
14433 GUIDIST=MOTIF_DIST
14434 fi
14435
14436 if test "$wxUSE_MAC" = 1; then
14437 if test "$wxUSE_PRECOMP" = "yes"; then
14438 CPPFLAGS="$CPPFLAGS -cpp-precomp"
14439 else
14440 CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
14441 fi
14442 CPPFLAGS="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
14443 CFLAGS="$CFLAGS -fpascal-strings"
14444 CXXFLAGS="$CXXFLAGS -fpascal-strings"
14445
14446 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
14447 TOOLKIT=MAC
14448 GUIDIST=MACX_DIST
14449 fi
14450
14451 if test "$wxUSE_PM" = 1; then
14452 TOOLKIT=PM
14453 GUIDIST=GTK_DIST
14454 fi
14455
14456 if test "$TOOLKIT" = "PM" ; then
14457 TOOLKIT_DIR="os2"
14458 else
14459 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
14460 fi
14461
14462 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
14463
14464 if test "$wxUSE_UNIVERSAL" = "yes"; then
14465 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
14466
14467 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
14468 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
14469
14470 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
14471 if test "$wxUSE_X11" = 1; then
14472 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
14473 else
14474 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
14475 fi
14476 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
14477 WIDGET_SET=univ
14478 else
14479 ALL_OBJECTS="\$(GUIOBJS)"
14480 ALL_SOURCES="\$(ALL_SOURCES)"
14481 ALL_HEADERS="\$(ALL_HEADERS)"
14482 fi
14483
14484 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
14485
14486 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
14487 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
14488 fi
14489
14490 if test "$wxUSE_HTML" = "yes"; then
14491 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
14492 fi
14493
14494 if test "$wxUSE_LIBJPEG" = "builtin" ; then
14495 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
14496 fi
14497 if test "$wxUSE_LIBTIFF" = "builtin" ; then
14498 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
14499 fi
14500 if test "$wxUSE_LIBPNG" = "builtin" ; then
14501 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
14502 fi
14503
14504 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
14505 DISTDIR="wx\$(TOOLKIT)"
14506 else
14507 USE_GUI=0
14508
14509 TOOLKIT_DIR="base"
14510
14511 if test "$USE_WIN32" = 1 ; then
14512 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
14513 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
14514
14515 TOOLKIT="MSW"
14516 else
14517 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
14518 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
14519 fi
14520
14521 ALL_SOURCES="\$(ALL_SOURCES)"
14522 ALL_HEADERS="\$(ALL_HEADERS)"
14523
14524 PORT_FILES="\${top_srcdir}/src/files.lst"
14525
14526 GUIDIST="BASE_DIST"
14527 DISTDIR="wxBase"
14528 fi
14529
14530
14531 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
14532 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
14533 fi
14534
14535 if test "$wxUSE_REGEX" = "builtin" ; then
14536 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
14537 fi
14538 if test "$wxUSE_ZLIB" = "builtin" ; then
14539 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
14540 fi
14541
14542
14543 if test "$wxUSE_OPENGL" = "yes"; then
14544 if test "$wxUSE_MAC" = 1; then
14545 OPENGL_LIBS="-framework OpenGL -framework AGL"
14546 elif test "$wxUSE_MSW" = 1; then
14547 OPENGL_LIBS="-lopengl32 -lglu32"
14548 else
14549 ac_safe=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
14550 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
14551 echo "configure:14543: checking for GL/gl.h" >&5
14552 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14553 echo $ac_n "(cached) $ac_c" 1>&6
14554 else
14555 cat > conftest.$ac_ext <<EOF
14556 #line 14548 "configure"
14557 #include "confdefs.h"
14558 #include <GL/gl.h>
14559 EOF
14560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14561 { (eval echo configure:14553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14562 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14563 if test -z "$ac_err"; then
14564 rm -rf conftest*
14565 eval "ac_cv_header_$ac_safe=yes"
14566 else
14567 echo "$ac_err" >&5
14568 echo "configure: failed program was:" >&5
14569 cat conftest.$ac_ext >&5
14570 rm -rf conftest*
14571 eval "ac_cv_header_$ac_safe=no"
14572 fi
14573 rm -f conftest*
14574 fi
14575 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14576 echo "$ac_t""yes" 1>&6
14577
14578 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
14579 echo "configure:14571: checking for -lGL" >&5
14580
14581 ac_find_libraries=
14582 for ac_dir in $SEARCH_LIB;
14583 do
14584 for ac_extension in a so sl dylib; do
14585 if test -f "$ac_dir/libGL.$ac_extension"; then
14586 ac_find_libraries=$ac_dir
14587 break 2
14588 fi
14589 done
14590 done
14591
14592 if test "$ac_find_libraries" != "" ; then
14593
14594 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
14595 result=$?
14596 if test $result = 0; then
14597 ac_path_to_link=""
14598 else
14599 ac_path_to_link=" -L$ac_find_libraries"
14600 fi
14601
14602 if test "$ac_path_to_link" = " -L/usr/lib" ; then
14603 LDFLAGS_GL="$LDFLAGS"
14604 else
14605 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
14606 fi
14607 OPENGL_LIBS="-lGL -lGLU"
14608 echo "$ac_t""yes" 1>&6
14609 else
14610 echo "$ac_t""no" 1>&6
14611 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
14612 echo "configure:14604: checking for -lMesaGL" >&5
14613
14614 ac_find_libraries=
14615 for ac_dir in $SEARCH_LIB;
14616 do
14617 for ac_extension in a so sl dylib; do
14618 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
14619 ac_find_libraries=$ac_dir
14620 break 2
14621 fi
14622 done
14623 done
14624
14625 if test "$ac_find_libraries" != "" ; then
14626
14627 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
14628 result=$?
14629 if test $result = 0; then
14630 ac_path_to_link=""
14631 else
14632 ac_path_to_link=" -L$ac_find_libraries"
14633 fi
14634
14635 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
14636 OPENGL_LIBS="-lMesaGL -lMesaGLU"
14637 echo "$ac_t""yes" 1>&6
14638 else
14639 echo "$ac_t""no" 1>&6
14640 fi
14641 fi
14642
14643 else
14644 echo "$ac_t""no" 1>&6
14645 fi
14646
14647
14648 if test "x$OPENGL_LIBS" = "x"; then
14649 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
14650 fi
14651 fi
14652
14653 if test "$wxUSE_OPENGL" = "yes"; then
14654 cat >> confdefs.h <<\EOF
14655 #define wxUSE_OPENGL 1
14656 EOF
14657
14658 cat >> confdefs.h <<\EOF
14659 #define wxUSE_GLCANVAS 1
14660 EOF
14661
14662 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
14663 fi
14664 fi
14665
14666 if test -z "$TOOLKIT_VPATH" ; then
14667 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
14668 fi
14669
14670 if test -n "$TOOLKIT" ; then
14671 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
14672 fi
14673
14674 lib_unicode_suffix=
14675 if test "$wxUSE_UNICODE" = "yes"; then
14676 lib_unicode_suffix=u
14677 fi
14678
14679 lib_debug_suffix=
14680 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
14681 lib_debug_suffix=d
14682 fi
14683
14684 TOOLCHAIN_NAME="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
14685 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
14686
14687 if test "$cross_compiling" = "yes"; then
14688 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
14689 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
14690 fi
14691
14692 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
14693 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
14694
14695 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
14696 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
14697
14698 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
14699 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
14700 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
14701 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
14702
14703 case "${host}" in
14704 *-*-cygwin* | *-*-mingw32* )
14705
14706
14707
14708 if test "$cross_compiling" != "yes"; then
14709 WX_LIBRARY="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
14710 WX_LIBRARY_GL="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
14711 WX_LIBRARY_NAME_SHARED="${WX_LIBRARY}.${SO_SUFFIX}"
14712 WX_LIBRARY_NAME_SHARED_GL="${WX_LIBRARY_GL}.${SO_SUFFIX}"
14713 else
14714 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
14715 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
14716 fi
14717 ;;
14718
14719 *-*-darwin* )
14720 if test "$wxUSE_MAC" = 1; then
14721 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.r"
14722 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.rsrc"
14723 fi
14724 ;;
14725 esac
14726
14727 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
14728 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
14729
14730 WXCONFIG_LIBS="-l${WX_LIBRARY}"
14731 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
14732
14733 if test "$wxUSE_OPENGL" = "yes"; then
14734 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
14735 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
14736 fi
14737
14738
14739
14740 if test "$wxUSE_SHARED" = "yes"; then
14741 case "${host}" in
14742 *-pc-os2_emx | *-pc-os2-emx | \
14743 *-pc-msdosdjgpp )
14744 wxUSE_SHARED=no
14745 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
14746 ;;
14747 esac
14748 fi
14749
14750 if test "$wxUSE_SHARED" = "yes"; then
14751
14752 if test "$wxUSE_OPENGL" = "yes"; then
14753 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
14754 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
14755 else
14756 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
14757 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1}"
14758 fi
14759
14760 if test "$GCC" = "yes"; then
14761 PIC_FLAG="-fPIC"
14762 fi
14763
14764 SHARED_LD="${CXX} -shared -o"
14765
14766 case "${host}" in
14767 *-hp-hpux* )
14768 if test "$GCC" == "yes"; then
14769 SHARED_LD="${SHARED_LD} ${PIC_FLAG}"
14770 else
14771 LDFLAGS="$LDFLAGS -L/usr/lib"
14772
14773 SHARED_LD="${CXX} -b -o"
14774 PIC_FLAG="+Z"
14775 fi
14776
14777 if test "$wxUSE_OPENGL" = "yes"; then
14778 WX_ALL_INSTALLED="preinstall_gl"
14779 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
14780 else
14781 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
14782 fi
14783 ;;
14784
14785 *-*-linux* )
14786 if test "$GCC" != "yes"; then
14787 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
14788 echo "configure:14780: checking for Intel compiler" >&5
14789 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
14790 echo $ac_n "(cached) $ac_c" 1>&6
14791 else
14792
14793 cat > conftest.$ac_ext <<EOF
14794 #line 14786 "configure"
14795 #include "confdefs.h"
14796
14797 int main() {
14798
14799 #ifndef __INTEL_COMPILER
14800 #error Not icc
14801 #endif
14802
14803 ; return 0; }
14804 EOF
14805 if { (eval echo configure:14797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14806 rm -rf conftest*
14807 wx_cv_prog_icc=yes
14808 else
14809 echo "configure: failed program was:" >&5
14810 cat conftest.$ac_ext >&5
14811 rm -rf conftest*
14812 wx_cv_prog_icc=no
14813
14814 fi
14815 rm -f conftest*
14816
14817 fi
14818
14819 echo "$ac_t""$wx_cv_prog_icc" 1>&6
14820 if test "$wx_cv_prog_icc" = "yes"; then
14821 PIC_FLAG="-KPIC"
14822 fi
14823 fi
14824
14825 if test "$wxUSE_SONAME" = "yes" ; then
14826 SONAME_FLAGS="-Wl,-soname,${WX_LIBRARY_LINK1}"
14827 SONAME_FLAGS_GL="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
14828 WX_TARGET_LIBRARY_SONAME="-Wl,-soname,\$(TARGETLIB_LINK1)"
14829 fi
14830 ;;
14831
14832 *-*-solaris2* )
14833 if test "$GCC" = yes ; then
14834 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
14835 else
14836 SHARED_LD="${CXX} -G -o"
14837 PIC_FLAG="-KPIC"
14838 SONAME_FLAGS="-h ${WX_LIBRARY_NAME_SHARED}"
14839 SONAME_FLAGS_GL="-h ${WX_LIBRARY_NAME_SHARED_GL}"
14840 fi
14841 ;;
14842
14843 *-*-darwin* )
14844 CFLAGS="$CFLAGS -fno-common -DWXMAKINGDLL"
14845 CXXFLAGS="$CXXFLAGS -fno-common -DWXMAKINGDLL"
14846 SHARED_LD="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
14847 PIC_FLAG="-dynamic -fPIC"
14848 SONAME_FLAGS="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION}"
14849 SONAME_FLAGS_GL=${SONAME_FLAGS}
14850 ;;
14851
14852 *-*-aix* )
14853 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
14854 set dummy makeC++SharedLib; ac_word=$2
14855 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14856 echo "configure:14848: checking for $ac_word" >&5
14857 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
14858 echo $ac_n "(cached) $ac_c" 1>&6
14859 else
14860 if test -n "$AIX_CXX_LD"; then
14861 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
14862 else
14863 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
14864 ac_dummy="$PATH"
14865 for ac_dir in $ac_dummy; do
14866 test -z "$ac_dir" && ac_dir=.
14867 if test -f $ac_dir/$ac_word; then
14868 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
14869 break
14870 fi
14871 done
14872 IFS="$ac_save_ifs"
14873 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
14874 fi
14875 fi
14876 AIX_CXX_LD="$ac_cv_prog_AIX_CXX_LD"
14877 if test -n "$AIX_CXX_LD"; then
14878 echo "$ac_t""$AIX_CXX_LD" 1>&6
14879 else
14880 echo "$ac_t""no" 1>&6
14881 fi
14882
14883
14884 SHARED_LD="$(AIX_CXX_LD) -p 0 -o"
14885 ;;
14886
14887 *-*-cygwin* | *-*-mingw32* )
14888
14889 WX_LIBRARY_IMPORTLIB="${WX_LIBRARY_NAME_SHARED}.a"
14890
14891 SHARED_LD="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
14892 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
14893
14894 PIC_FLAG="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
14895
14896 if test "$wxUSE_OPENGL" = "yes"; then
14897 WX_ALL_INSTALLED="preinstall_gl"
14898 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
14899 else
14900 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
14901 fi
14902 ;;
14903
14904 *-*-beos* )
14905 SHARED_LD="${LD} -shared -o"
14906 ;;
14907
14908 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
14909 *-*-sunos4* | \
14910 *-*-irix5* | *-*-irix6* | \
14911 *-*-osf* | \
14912 *-*-dgux5* | \
14913 *-*-sysv5* )
14914 ;;
14915
14916 *)
14917 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
14918 esac
14919
14920 if test "x$WX_TARGET_LIBRARY" = "x"; then
14921 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
14922 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
14923 fi
14924
14925 WX_TARGET_LIBRARY_TYPE="so"
14926 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
14927 fi
14928
14929 if test "$wxUSE_SHARED" = "no"; then
14930
14931 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
14932 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
14933 fi
14934
14935 if test "$wxUSE_MAC" = 1; then
14936 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
14937 fi
14938
14939 if test "$wxUSE_OPENGL" = "yes"; then
14940 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
14941 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
14942 else
14943 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
14944 fi
14945
14946 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
14947 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
14948
14949 WX_TARGET_LIBRARY_TYPE="a"
14950 INSTALL_LIBRARY='$(INSTALL_DATA)'
14951 fi
14952
14953 if test "$wxUSE_MAC" = 1; then
14954 LIBWXMACRES="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
14955 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
14956 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
14957 # Extract the first word of "Rez", so it can be a program name with args.
14958 set dummy Rez; ac_word=$2
14959 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14960 echo "configure:14952: checking for $ac_word" >&5
14961 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
14962 echo $ac_n "(cached) $ac_c" 1>&6
14963 else
14964 if test -n "$RESCOMP"; then
14965 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
14966 else
14967 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
14968 ac_dummy="$PATH"
14969 for ac_dir in $ac_dummy; do
14970 test -z "$ac_dir" && ac_dir=.
14971 if test -f $ac_dir/$ac_word; then
14972 ac_cv_prog_RESCOMP="Rez"
14973 break
14974 fi
14975 done
14976 IFS="$ac_save_ifs"
14977 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
14978 fi
14979 fi
14980 RESCOMP="$ac_cv_prog_RESCOMP"
14981 if test -n "$RESCOMP"; then
14982 echo "$ac_t""$RESCOMP" 1>&6
14983 else
14984 echo "$ac_t""no" 1>&6
14985 fi
14986
14987 # Extract the first word of "DeRez", so it can be a program name with args.
14988 set dummy DeRez; ac_word=$2
14989 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14990 echo "configure:14982: checking for $ac_word" >&5
14991 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
14992 echo $ac_n "(cached) $ac_c" 1>&6
14993 else
14994 if test -n "$DEREZ"; then
14995 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
14996 else
14997 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
14998 ac_dummy="$PATH"
14999 for ac_dir in $ac_dummy; do
15000 test -z "$ac_dir" && ac_dir=.
15001 if test -f $ac_dir/$ac_word; then
15002 ac_cv_prog_DEREZ="DeRez"
15003 break
15004 fi
15005 done
15006 IFS="$ac_save_ifs"
15007 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
15008 fi
15009 fi
15010 DEREZ="$ac_cv_prog_DEREZ"
15011 if test -n "$DEREZ"; then
15012 echo "$ac_t""$DEREZ" 1>&6
15013 else
15014 echo "$ac_t""no" 1>&6
15015 fi
15016
15017 MACOSX_BUNDLE="bundle"
15018 if test "$wxUSE_SHARED" = "yes"; then
15019 LIBWXMACRESCOMP="\$(RESCOMP) -t APPL Carbon.r -o \$(BIN_PROGRAM)"
15020 LIBWXMACRESWXCONFIG="${RESCOMP} -t APPL Carbon.r -o"
15021 else
15022 LIBWXMACRESCOMP="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
15023 LIBWXMACRESWXCONFIG="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
15024 fi
15025 else
15026 if test "$wxUSE_PM" = 1; then
15027 LIBWXMACRESCOMP="emxbind -ep \$(BIN_PROGRAM)"
15028 fi
15029 fi
15030
15031
15032 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
15033 echo "configure:15025: checking for ANSI C header files" >&5
15034 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
15035 echo $ac_n "(cached) $ac_c" 1>&6
15036 else
15037 cat > conftest.$ac_ext <<EOF
15038 #line 15030 "configure"
15039 #include "confdefs.h"
15040 #include <stdlib.h>
15041 #include <stdarg.h>
15042 #include <string.h>
15043 #include <float.h>
15044 EOF
15045 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15046 { (eval echo configure:15038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15047 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15048 if test -z "$ac_err"; then
15049 rm -rf conftest*
15050 ac_cv_header_stdc=yes
15051 else
15052 echo "$ac_err" >&5
15053 echo "configure: failed program was:" >&5
15054 cat conftest.$ac_ext >&5
15055 rm -rf conftest*
15056 ac_cv_header_stdc=no
15057 fi
15058 rm -f conftest*
15059
15060 if test $ac_cv_header_stdc = yes; then
15061 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15062 cat > conftest.$ac_ext <<EOF
15063 #line 15055 "configure"
15064 #include "confdefs.h"
15065 #include <string.h>
15066 EOF
15067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15068 egrep "memchr" >/dev/null 2>&1; then
15069 :
15070 else
15071 rm -rf conftest*
15072 ac_cv_header_stdc=no
15073 fi
15074 rm -f conftest*
15075
15076 fi
15077
15078 if test $ac_cv_header_stdc = yes; then
15079 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15080 cat > conftest.$ac_ext <<EOF
15081 #line 15073 "configure"
15082 #include "confdefs.h"
15083 #include <stdlib.h>
15084 EOF
15085 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15086 egrep "free" >/dev/null 2>&1; then
15087 :
15088 else
15089 rm -rf conftest*
15090 ac_cv_header_stdc=no
15091 fi
15092 rm -f conftest*
15093
15094 fi
15095
15096 if test $ac_cv_header_stdc = yes; then
15097 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15098 if test "$cross_compiling" = yes; then
15099 :
15100 else
15101 cat > conftest.$ac_ext <<EOF
15102 #line 15094 "configure"
15103 #include "confdefs.h"
15104 #include <ctype.h>
15105 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15106 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15107 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15108 int main () { int i; for (i = 0; i < 256; i++)
15109 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
15110 exit (0); }
15111
15112 EOF
15113 if { (eval echo configure:15105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
15114 then
15115 :
15116 else
15117 echo "configure: failed program was:" >&5
15118 cat conftest.$ac_ext >&5
15119 rm -fr conftest*
15120 ac_cv_header_stdc=no
15121 fi
15122 rm -fr conftest*
15123 fi
15124
15125 fi
15126 fi
15127
15128 echo "$ac_t""$ac_cv_header_stdc" 1>&6
15129 if test $ac_cv_header_stdc = yes; then
15130 cat >> confdefs.h <<\EOF
15131 #define STDC_HEADERS 1
15132 EOF
15133
15134 fi
15135
15136 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
15137 echo "configure:15129: checking for mode_t" >&5
15138 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
15139 echo $ac_n "(cached) $ac_c" 1>&6
15140 else
15141 cat > conftest.$ac_ext <<EOF
15142 #line 15134 "configure"
15143 #include "confdefs.h"
15144 #include <sys/types.h>
15145 #if STDC_HEADERS
15146 #include <stdlib.h>
15147 #include <stddef.h>
15148 #endif
15149 EOF
15150 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15151 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
15152 rm -rf conftest*
15153 ac_cv_type_mode_t=yes
15154 else
15155 rm -rf conftest*
15156 ac_cv_type_mode_t=no
15157 fi
15158 rm -f conftest*
15159
15160 fi
15161 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
15162 if test $ac_cv_type_mode_t = no; then
15163 cat >> confdefs.h <<\EOF
15164 #define mode_t int
15165 EOF
15166
15167 fi
15168
15169 echo $ac_n "checking for off_t""... $ac_c" 1>&6
15170 echo "configure:15162: checking for off_t" >&5
15171 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
15172 echo $ac_n "(cached) $ac_c" 1>&6
15173 else
15174 cat > conftest.$ac_ext <<EOF
15175 #line 15167 "configure"
15176 #include "confdefs.h"
15177 #include <sys/types.h>
15178 #if STDC_HEADERS
15179 #include <stdlib.h>
15180 #include <stddef.h>
15181 #endif
15182 EOF
15183 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15184 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
15185 rm -rf conftest*
15186 ac_cv_type_off_t=yes
15187 else
15188 rm -rf conftest*
15189 ac_cv_type_off_t=no
15190 fi
15191 rm -f conftest*
15192
15193 fi
15194 echo "$ac_t""$ac_cv_type_off_t" 1>&6
15195 if test $ac_cv_type_off_t = no; then
15196 cat >> confdefs.h <<\EOF
15197 #define off_t long
15198 EOF
15199
15200 fi
15201
15202 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
15203 echo "configure:15195: checking for pid_t" >&5
15204 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
15205 echo $ac_n "(cached) $ac_c" 1>&6
15206 else
15207 cat > conftest.$ac_ext <<EOF
15208 #line 15200 "configure"
15209 #include "confdefs.h"
15210 #include <sys/types.h>
15211 #if STDC_HEADERS
15212 #include <stdlib.h>
15213 #include <stddef.h>
15214 #endif
15215 EOF
15216 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15217 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
15218 rm -rf conftest*
15219 ac_cv_type_pid_t=yes
15220 else
15221 rm -rf conftest*
15222 ac_cv_type_pid_t=no
15223 fi
15224 rm -f conftest*
15225
15226 fi
15227 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
15228 if test $ac_cv_type_pid_t = no; then
15229 cat >> confdefs.h <<\EOF
15230 #define pid_t int
15231 EOF
15232
15233 fi
15234
15235 echo $ac_n "checking for size_t""... $ac_c" 1>&6
15236 echo "configure:15228: checking for size_t" >&5
15237 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
15238 echo $ac_n "(cached) $ac_c" 1>&6
15239 else
15240 cat > conftest.$ac_ext <<EOF
15241 #line 15233 "configure"
15242 #include "confdefs.h"
15243 #include <sys/types.h>
15244 #if STDC_HEADERS
15245 #include <stdlib.h>
15246 #include <stddef.h>
15247 #endif
15248 EOF
15249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15250 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
15251 rm -rf conftest*
15252 ac_cv_type_size_t=yes
15253 else
15254 rm -rf conftest*
15255 ac_cv_type_size_t=no
15256 fi
15257 rm -f conftest*
15258
15259 fi
15260 echo "$ac_t""$ac_cv_type_size_t" 1>&6
15261 if test $ac_cv_type_size_t = no; then
15262 cat >> confdefs.h <<\EOF
15263 #define size_t unsigned
15264 EOF
15265
15266 fi
15267
15268 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
15269 echo "configure:15261: checking for uid_t in sys/types.h" >&5
15270 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
15271 echo $ac_n "(cached) $ac_c" 1>&6
15272 else
15273 cat > conftest.$ac_ext <<EOF
15274 #line 15266 "configure"
15275 #include "confdefs.h"
15276 #include <sys/types.h>
15277 EOF
15278 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15279 egrep "uid_t" >/dev/null 2>&1; then
15280 rm -rf conftest*
15281 ac_cv_type_uid_t=yes
15282 else
15283 rm -rf conftest*
15284 ac_cv_type_uid_t=no
15285 fi
15286 rm -f conftest*
15287
15288 fi
15289
15290 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
15291 if test $ac_cv_type_uid_t = no; then
15292 cat >> confdefs.h <<\EOF
15293 #define uid_t int
15294 EOF
15295
15296 cat >> confdefs.h <<\EOF
15297 #define gid_t int
15298 EOF
15299
15300 fi
15301
15302
15303
15304 ac_ext=C
15305 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15306 ac_cpp='$CXXCPP $CPPFLAGS'
15307 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15308 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15309 cross_compiling=$ac_cv_prog_cxx_cross
15310
15311 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
15312 echo "configure:15304: checking if size_t is unsigned int" >&5
15313 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
15314 echo $ac_n "(cached) $ac_c" 1>&6
15315 else
15316 cat > conftest.$ac_ext <<EOF
15317 #line 15309 "configure"
15318 #include "confdefs.h"
15319 #include <stddef.h>
15320 int main() {
15321
15322 return 0; }
15323
15324 struct Foo { void foo(size_t); void foo(unsigned int); };
15325
15326 int bar() {
15327
15328 ; return 0; }
15329 EOF
15330 if { (eval echo configure:15322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15331 rm -rf conftest*
15332 wx_cv_size_t_is_uint=no
15333 else
15334 echo "configure: failed program was:" >&5
15335 cat conftest.$ac_ext >&5
15336 rm -rf conftest*
15337 wx_cv_size_t_is_uint=yes
15338
15339 fi
15340 rm -f conftest*
15341
15342 fi
15343
15344 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
15345
15346 if test "$wx_cv_size_t_is_uint" = "yes"; then
15347 cat >> confdefs.h <<\EOF
15348 #define wxSIZE_T_IS_UINT 1
15349 EOF
15350
15351 else
15352 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
15353 echo "configure:15345: checking if size_t is unsigned long" >&5
15354 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
15355 echo $ac_n "(cached) $ac_c" 1>&6
15356 else
15357 cat > conftest.$ac_ext <<EOF
15358 #line 15350 "configure"
15359 #include "confdefs.h"
15360 #include <stddef.h>
15361 int main() {
15362
15363 return 0; }
15364
15365 struct Foo { void foo(size_t); void foo(unsigned long); };
15366
15367 int bar() {
15368
15369 ; return 0; }
15370 EOF
15371 if { (eval echo configure:15363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15372 rm -rf conftest*
15373 wx_cv_size_t_is_ulong=no
15374 else
15375 echo "configure: failed program was:" >&5
15376 cat conftest.$ac_ext >&5
15377 rm -rf conftest*
15378 wx_cv_size_t_is_ulong=yes
15379
15380 fi
15381 rm -f conftest*
15382
15383 fi
15384
15385 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
15386
15387 if test "$wx_cv_size_t_is_ulong" = "yes"; then
15388 cat >> confdefs.h <<\EOF
15389 #define wxSIZE_T_IS_ULONG 1
15390 EOF
15391
15392 fi
15393 fi
15394
15395 ac_ext=c
15396 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15397 ac_cpp='$CPP $CPPFLAGS'
15398 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15399 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15400 cross_compiling=$ac_cv_prog_cc_cross
15401
15402
15403
15404 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
15405 echo "configure:15397: checking for pw_gecos in struct passwd" >&5
15406 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
15407 echo $ac_n "(cached) $ac_c" 1>&6
15408 else
15409
15410 cat > conftest.$ac_ext <<EOF
15411 #line 15403 "configure"
15412 #include "confdefs.h"
15413 #include <pwd.h>
15414 int main() {
15415
15416 char *p;
15417 struct passwd *pw;
15418 p = pw->pw_gecos;
15419
15420 ; return 0; }
15421 EOF
15422 if { (eval echo configure:15414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15423 rm -rf conftest*
15424
15425 wx_cv_struct_pw_gecos=yes
15426
15427 else
15428 echo "configure: failed program was:" >&5
15429 cat conftest.$ac_ext >&5
15430 rm -rf conftest*
15431
15432 wx_cv_struct_pw_gecos=no
15433
15434
15435 fi
15436 rm -f conftest*
15437
15438
15439 fi
15440
15441 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
15442
15443 if test "$wx_cv_struct_pw_gecos" = "yes"; then
15444 cat >> confdefs.h <<\EOF
15445 #define HAVE_PW_GECOS 1
15446 EOF
15447
15448 fi
15449
15450
15451 WCHAR_OK=0
15452 if test "$wx_cv_sizeof_wchar_t" != "0"; then
15453 WCHAR_LINK=
15454 for ac_func in wcslen
15455 do
15456 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15457 echo "configure:15449: checking for $ac_func" >&5
15458 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15459 echo $ac_n "(cached) $ac_c" 1>&6
15460 else
15461 cat > conftest.$ac_ext <<EOF
15462 #line 15454 "configure"
15463 #include "confdefs.h"
15464 /* System header to define __stub macros and hopefully few prototypes,
15465 which can conflict with char $ac_func(); below. */
15466 #include <assert.h>
15467 /* Override any gcc2 internal prototype to avoid an error. */
15468 /* We use char because int might match the return type of a gcc2
15469 builtin and then its argument prototype would still apply. */
15470 char $ac_func();
15471
15472 int main() {
15473
15474 /* The GNU C library defines this for functions which it implements
15475 to always fail with ENOSYS. Some functions are actually named
15476 something starting with __ and the normal name is an alias. */
15477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15478 choke me
15479 #else
15480 $ac_func();
15481 #endif
15482
15483 ; return 0; }
15484 EOF
15485 if { (eval echo configure:15477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15486 rm -rf conftest*
15487 eval "ac_cv_func_$ac_func=yes"
15488 else
15489 echo "configure: failed program was:" >&5
15490 cat conftest.$ac_ext >&5
15491 rm -rf conftest*
15492 eval "ac_cv_func_$ac_func=no"
15493 fi
15494 rm -f conftest*
15495 fi
15496
15497 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15498 echo "$ac_t""yes" 1>&6
15499 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15500 cat >> confdefs.h <<EOF
15501 #define $ac_tr_func 1
15502 EOF
15503
15504 cat >> confdefs.h <<\EOF
15505 #define HAVE_WCSLEN 1
15506 EOF
15507
15508 WCHAR_OK=1
15509
15510 else
15511 echo "$ac_t""no" 1>&6
15512 fi
15513 done
15514
15515
15516 if test "$WCHAR_OK" = 0; then
15517 if test "$TOOLKIT" = "MSW"; then
15518 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
15519 echo "configure:15511: checking for wcslen in -lmsvcrt" >&5
15520 ac_lib_var=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
15521 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15522 echo $ac_n "(cached) $ac_c" 1>&6
15523 else
15524 ac_save_LIBS="$LIBS"
15525 LIBS="-lmsvcrt $LIBS"
15526 cat > conftest.$ac_ext <<EOF
15527 #line 15519 "configure"
15528 #include "confdefs.h"
15529 /* Override any gcc2 internal prototype to avoid an error. */
15530 /* We use char because int might match the return type of a gcc2
15531 builtin and then its argument prototype would still apply. */
15532 char wcslen();
15533
15534 int main() {
15535 wcslen()
15536 ; return 0; }
15537 EOF
15538 if { (eval echo configure:15530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15539 rm -rf conftest*
15540 eval "ac_cv_lib_$ac_lib_var=yes"
15541 else
15542 echo "configure: failed program was:" >&5
15543 cat conftest.$ac_ext >&5
15544 rm -rf conftest*
15545 eval "ac_cv_lib_$ac_lib_var=no"
15546 fi
15547 rm -f conftest*
15548 LIBS="$ac_save_LIBS"
15549
15550 fi
15551 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15552 echo "$ac_t""yes" 1>&6
15553
15554 cat >> confdefs.h <<\EOF
15555 #define HAVE_WCSLEN 1
15556 EOF
15557
15558 WCHAR_OK=1
15559
15560 else
15561 echo "$ac_t""no" 1>&6
15562 fi
15563
15564 else
15565 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
15566 echo "configure:15558: checking for wcslen in -lw" >&5
15567 ac_lib_var=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
15568 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15569 echo $ac_n "(cached) $ac_c" 1>&6
15570 else
15571 ac_save_LIBS="$LIBS"
15572 LIBS="-lw $LIBS"
15573 cat > conftest.$ac_ext <<EOF
15574 #line 15566 "configure"
15575 #include "confdefs.h"
15576 /* Override any gcc2 internal prototype to avoid an error. */
15577 /* We use char because int might match the return type of a gcc2
15578 builtin and then its argument prototype would still apply. */
15579 char wcslen();
15580
15581 int main() {
15582 wcslen()
15583 ; return 0; }
15584 EOF
15585 if { (eval echo configure:15577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15586 rm -rf conftest*
15587 eval "ac_cv_lib_$ac_lib_var=yes"
15588 else
15589 echo "configure: failed program was:" >&5
15590 cat conftest.$ac_ext >&5
15591 rm -rf conftest*
15592 eval "ac_cv_lib_$ac_lib_var=no"
15593 fi
15594 rm -f conftest*
15595 LIBS="$ac_save_LIBS"
15596
15597 fi
15598 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15599 echo "$ac_t""yes" 1>&6
15600
15601 cat >> confdefs.h <<\EOF
15602 #define HAVE_WCSLEN 1
15603 EOF
15604
15605 WCHAR_LINK=" -lw"
15606 WCHAR_OK=1
15607
15608 else
15609 echo "$ac_t""no" 1>&6
15610 fi
15611
15612 fi
15613 fi
15614 fi
15615
15616 if test "$WCHAR_OK" = 1; then
15617 cat >> confdefs.h <<\EOF
15618 #define wxUSE_WCHAR_T 1
15619 EOF
15620
15621
15622 for ac_func in wcsrtombs
15623 do
15624 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15625 echo "configure:15617: checking for $ac_func" >&5
15626 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15627 echo $ac_n "(cached) $ac_c" 1>&6
15628 else
15629 cat > conftest.$ac_ext <<EOF
15630 #line 15622 "configure"
15631 #include "confdefs.h"
15632 /* System header to define __stub macros and hopefully few prototypes,
15633 which can conflict with char $ac_func(); below. */
15634 #include <assert.h>
15635 /* Override any gcc2 internal prototype to avoid an error. */
15636 /* We use char because int might match the return type of a gcc2
15637 builtin and then its argument prototype would still apply. */
15638 char $ac_func();
15639
15640 int main() {
15641
15642 /* The GNU C library defines this for functions which it implements
15643 to always fail with ENOSYS. Some functions are actually named
15644 something starting with __ and the normal name is an alias. */
15645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15646 choke me
15647 #else
15648 $ac_func();
15649 #endif
15650
15651 ; return 0; }
15652 EOF
15653 if { (eval echo configure:15645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15654 rm -rf conftest*
15655 eval "ac_cv_func_$ac_func=yes"
15656 else
15657 echo "configure: failed program was:" >&5
15658 cat conftest.$ac_ext >&5
15659 rm -rf conftest*
15660 eval "ac_cv_func_$ac_func=no"
15661 fi
15662 rm -f conftest*
15663 fi
15664
15665 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15666 echo "$ac_t""yes" 1>&6
15667 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15668 cat >> confdefs.h <<EOF
15669 #define $ac_tr_func 1
15670 EOF
15671
15672 else
15673 echo "$ac_t""no" 1>&6
15674 fi
15675 done
15676
15677 else
15678 if test "$USE_DARWIN" = 1; then
15679 cat >> confdefs.h <<\EOF
15680 #define wxUSE_WCHAR_T 1
15681 EOF
15682
15683 else
15684 echo "configure: warning: Wide character support is unavailable" 1>&2
15685 fi
15686 fi
15687
15688 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
15689 echo "configure:15681: checking for vprintf" >&5
15690 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
15691 echo $ac_n "(cached) $ac_c" 1>&6
15692 else
15693 cat > conftest.$ac_ext <<EOF
15694 #line 15686 "configure"
15695 #include "confdefs.h"
15696 /* System header to define __stub macros and hopefully few prototypes,
15697 which can conflict with char vprintf(); below. */
15698 #include <assert.h>
15699 /* Override any gcc2 internal prototype to avoid an error. */
15700 /* We use char because int might match the return type of a gcc2
15701 builtin and then its argument prototype would still apply. */
15702 char vprintf();
15703
15704 int main() {
15705
15706 /* The GNU C library defines this for functions which it implements
15707 to always fail with ENOSYS. Some functions are actually named
15708 something starting with __ and the normal name is an alias. */
15709 #if defined (__stub_vprintf) || defined (__stub___vprintf)
15710 choke me
15711 #else
15712 vprintf();
15713 #endif
15714
15715 ; return 0; }
15716 EOF
15717 if { (eval echo configure:15709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15718 rm -rf conftest*
15719 eval "ac_cv_func_vprintf=yes"
15720 else
15721 echo "configure: failed program was:" >&5
15722 cat conftest.$ac_ext >&5
15723 rm -rf conftest*
15724 eval "ac_cv_func_vprintf=no"
15725 fi
15726 rm -f conftest*
15727 fi
15728
15729 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
15730 echo "$ac_t""yes" 1>&6
15731 cat >> confdefs.h <<\EOF
15732 #define HAVE_VPRINTF 1
15733 EOF
15734
15735 else
15736 echo "$ac_t""no" 1>&6
15737 fi
15738
15739 if test "$ac_cv_func_vprintf" != yes; then
15740 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
15741 echo "configure:15733: checking for _doprnt" >&5
15742 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
15743 echo $ac_n "(cached) $ac_c" 1>&6
15744 else
15745 cat > conftest.$ac_ext <<EOF
15746 #line 15738 "configure"
15747 #include "confdefs.h"
15748 /* System header to define __stub macros and hopefully few prototypes,
15749 which can conflict with char _doprnt(); below. */
15750 #include <assert.h>
15751 /* Override any gcc2 internal prototype to avoid an error. */
15752 /* We use char because int might match the return type of a gcc2
15753 builtin and then its argument prototype would still apply. */
15754 char _doprnt();
15755
15756 int main() {
15757
15758 /* The GNU C library defines this for functions which it implements
15759 to always fail with ENOSYS. Some functions are actually named
15760 something starting with __ and the normal name is an alias. */
15761 #if defined (__stub__doprnt) || defined (__stub____doprnt)
15762 choke me
15763 #else
15764 _doprnt();
15765 #endif
15766
15767 ; return 0; }
15768 EOF
15769 if { (eval echo configure:15761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15770 rm -rf conftest*
15771 eval "ac_cv_func__doprnt=yes"
15772 else
15773 echo "configure: failed program was:" >&5
15774 cat conftest.$ac_ext >&5
15775 rm -rf conftest*
15776 eval "ac_cv_func__doprnt=no"
15777 fi
15778 rm -f conftest*
15779 fi
15780
15781 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
15782 echo "$ac_t""yes" 1>&6
15783 cat >> confdefs.h <<\EOF
15784 #define HAVE_DOPRNT 1
15785 EOF
15786
15787 else
15788 echo "$ac_t""no" 1>&6
15789 fi
15790
15791 fi
15792
15793
15794
15795
15796
15797
15798 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
15799 echo "configure:15791: checking for vsnprintf" >&5
15800 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
15801 echo $ac_n "(cached) $ac_c" 1>&6
15802 else
15803
15804 cat > conftest.$ac_ext <<EOF
15805 #line 15797 "configure"
15806 #include "confdefs.h"
15807
15808 #include <stdio.h>
15809 #include <stdarg.h>
15810
15811 int main() {
15812
15813 int wx_test_vsnprintf(const char *, ...);
15814
15815 wx_test_vsnprintf("%s");
15816 return 0;
15817 }
15818
15819 int wx_test_vsnprintf(const char *fmt, ...)
15820 {
15821 char *s;
15822
15823 va_list argp;
15824 va_start(argp, fmt);
15825 vsnprintf(s, 42, fmt, argp);
15826 va_end(argp);
15827
15828 ; return 0; }
15829 EOF
15830 if { (eval echo configure:15822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15831 rm -rf conftest*
15832
15833 wx_cv_func_vsnprintf=yes
15834
15835 else
15836 echo "configure: failed program was:" >&5
15837 cat conftest.$ac_ext >&5
15838 rm -rf conftest*
15839
15840 cat > conftest.$ac_ext <<EOF
15841 #line 15833 "configure"
15842 #include "confdefs.h"
15843
15844 #include <stdio.h>
15845 #include <stdarg.h>
15846
15847 int main() {
15848
15849 int wx_test_vsnprintf(const char *, ...);
15850
15851 wx_test_vsnprintf("%s");
15852 return 0;
15853 }
15854
15855 int wx_test_vsnprintf(const char *fmt, ...)
15856 {
15857 char *s;
15858
15859 va_list argp;
15860 va_start(argp, fmt);
15861 _vsnprintf(s, 42, fmt, argp);
15862 va_end(argp);
15863
15864 ; return 0; }
15865 EOF
15866 if { (eval echo configure:15858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15867 rm -rf conftest*
15868
15869 wx_cv_func_vsnprintf=yes
15870
15871 else
15872 echo "configure: failed program was:" >&5
15873 cat conftest.$ac_ext >&5
15874 rm -rf conftest*
15875
15876 wx_cv_func_vsnprintf=no
15877
15878 fi
15879 rm -f conftest*
15880
15881 fi
15882 rm -f conftest*
15883
15884 fi
15885
15886 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
15887
15888 if test "$wx_cv_func_vsnprintf" = yes; then
15889 cat >> confdefs.h <<\EOF
15890 #define HAVE_VSNPRINTF 1
15891 EOF
15892
15893 else
15894 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
15895 fi
15896
15897 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
15898 echo "configure:15890: checking for vsscanf" >&5
15899 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
15900 echo $ac_n "(cached) $ac_c" 1>&6
15901 else
15902
15903 cat > conftest.$ac_ext <<EOF
15904 #line 15896 "configure"
15905 #include "confdefs.h"
15906
15907 #include <stdio.h>
15908 #include <stdarg.h>
15909
15910 int main() {
15911
15912 int wx_test_vsscanf(const char *, ...);
15913
15914 wx_test_vsscanf("%d");
15915 return 0;
15916 }
15917
15918 int wx_test_vsscanf(const char *fmt, ...)
15919 {
15920 va_list argp;
15921 va_start(argp, fmt);
15922 vsscanf("42", fmt, argp);
15923 va_end(argp);
15924
15925 ; return 0; }
15926 EOF
15927 if { (eval echo configure:15919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15928 rm -rf conftest*
15929
15930 wx_cv_func_vsscanf=yes
15931
15932 else
15933 echo "configure: failed program was:" >&5
15934 cat conftest.$ac_ext >&5
15935 rm -rf conftest*
15936
15937 wx_cv_func_vsscanf=no
15938
15939 fi
15940 rm -f conftest*
15941
15942 fi
15943
15944 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
15945
15946 if test "$wx_cv_func_vsscanf" = yes; then
15947 cat >> confdefs.h <<\EOF
15948 #define HAVE_VSSCANF 1
15949 EOF
15950
15951 fi
15952
15953 if test "$TOOLKIT" != "MSW"; then
15954
15955
15956
15957 ac_ext=C
15958 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15959 ac_cpp='$CXXCPP $CPPFLAGS'
15960 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15961 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15962 cross_compiling=$ac_cv_prog_cxx_cross
15963
15964
15965
15966 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
15967 if test "${with_libiconv_prefix+set}" = set; then
15968 withval="$with_libiconv_prefix"
15969
15970 for dir in `echo "$withval" | tr : ' '`; do
15971 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
15972 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
15973 done
15974
15975 fi
15976
15977
15978 echo $ac_n "checking for iconv""... $ac_c" 1>&6
15979 echo "configure:15971: checking for iconv" >&5
15980 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
15981 echo $ac_n "(cached) $ac_c" 1>&6
15982 else
15983
15984 am_cv_func_iconv="no, consider installing GNU libiconv"
15985 am_cv_lib_iconv=no
15986 cat > conftest.$ac_ext <<EOF
15987 #line 15979 "configure"
15988 #include "confdefs.h"
15989 #include <stdlib.h>
15990 #include <iconv.h>
15991 int main() {
15992 iconv_t cd = iconv_open("","");
15993 iconv(cd,NULL,NULL,NULL,NULL);
15994 iconv_close(cd);
15995 ; return 0; }
15996 EOF
15997 if { (eval echo configure:15989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15998 rm -rf conftest*
15999 am_cv_func_iconv=yes
16000 else
16001 echo "configure: failed program was:" >&5
16002 cat conftest.$ac_ext >&5
16003 fi
16004 rm -f conftest*
16005 if test "$am_cv_func_iconv" != yes; then
16006 am_save_LIBS="$LIBS"
16007 LIBS="$LIBS -liconv"
16008 cat > conftest.$ac_ext <<EOF
16009 #line 16001 "configure"
16010 #include "confdefs.h"
16011 #include <stdlib.h>
16012 #include <iconv.h>
16013 int main() {
16014 iconv_t cd = iconv_open("","");
16015 iconv(cd,NULL,NULL,NULL,NULL);
16016 iconv_close(cd);
16017 ; return 0; }
16018 EOF
16019 if { (eval echo configure:16011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16020 rm -rf conftest*
16021 am_cv_lib_iconv=yes
16022 am_cv_func_iconv=yes
16023 else
16024 echo "configure: failed program was:" >&5
16025 cat conftest.$ac_ext >&5
16026 fi
16027 rm -f conftest*
16028 LIBS="$am_save_LIBS"
16029 fi
16030
16031 fi
16032
16033 echo "$ac_t""$am_cv_func_iconv" 1>&6
16034 if test "$am_cv_func_iconv" = yes; then
16035 cat >> confdefs.h <<\EOF
16036 #define HAVE_ICONV 1
16037 EOF
16038
16039 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
16040 echo "configure:16032: checking if iconv needs const" >&5
16041 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
16042 echo $ac_n "(cached) $ac_c" 1>&6
16043 else
16044 cat > conftest.$ac_ext <<EOF
16045 #line 16037 "configure"
16046 #include "confdefs.h"
16047
16048 #include <stdlib.h>
16049 #include <iconv.h>
16050 extern
16051 #ifdef __cplusplus
16052 "C"
16053 #endif
16054 #if defined(__STDC__) || defined(__cplusplus)
16055 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
16056 #else
16057 size_t iconv();
16058 #endif
16059
16060 int main() {
16061
16062 ; return 0; }
16063 EOF
16064 if { (eval echo configure:16056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16065 rm -rf conftest*
16066 wx_cv_func_iconv_const="no"
16067 else
16068 echo "configure: failed program was:" >&5
16069 cat conftest.$ac_ext >&5
16070 rm -rf conftest*
16071 wx_cv_func_iconv_const="yes"
16072
16073 fi
16074 rm -f conftest*
16075
16076 fi
16077
16078 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
16079
16080 iconv_const=
16081 if test "x$wx_cv_func_iconv_const" = "xyes"; then
16082 iconv_const="const"
16083 fi
16084
16085 cat >> confdefs.h <<EOF
16086 #define ICONV_CONST $iconv_const
16087 EOF
16088
16089 fi
16090 LIBICONV=
16091 if test "$am_cv_lib_iconv" = yes; then
16092 LIBICONV="-liconv"
16093 fi
16094
16095
16096 LIBS="$LIBICONV $LIBS"
16097 ac_ext=c
16098 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16099 ac_cpp='$CPP $CPPFLAGS'
16100 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16101 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16102 cross_compiling=$ac_cv_prog_cc_cross
16103
16104
16105 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
16106 for ac_func in sigaction
16107 do
16108 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16109 echo "configure:16101: 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 16106 "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:16129: \"$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
16156 else
16157 echo "$ac_t""no" 1>&6
16158 fi
16159 done
16160
16161
16162 if test "$ac_cv_func_sigaction" = "no"; then
16163 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
16164 wxUSE_ON_FATAL_EXCEPTION=no
16165 fi
16166
16167 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16168
16169 ac_ext=C
16170 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16171 ac_cpp='$CXXCPP $CPPFLAGS'
16172 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16173 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16174 cross_compiling=$ac_cv_prog_cxx_cross
16175
16176
16177 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
16178 echo "configure:16170: checking for sa_handler type" >&5
16179 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
16180 echo $ac_n "(cached) $ac_c" 1>&6
16181 else
16182
16183 cat > conftest.$ac_ext <<EOF
16184 #line 16176 "configure"
16185 #include "confdefs.h"
16186 #include <signal.h>
16187 int main() {
16188
16189 extern void testSigHandler(int);
16190
16191 struct sigaction sa;
16192 sa.sa_handler = testSigHandler;
16193
16194 ; return 0; }
16195 EOF
16196 if { (eval echo configure:16188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16197 rm -rf conftest*
16198
16199 wx_cv_type_sa_handler=int
16200
16201 else
16202 echo "configure: failed program was:" >&5
16203 cat conftest.$ac_ext >&5
16204 rm -rf conftest*
16205
16206 wx_cv_type_sa_handler=void
16207
16208 fi
16209 rm -f conftest*
16210
16211 fi
16212
16213 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
16214
16215 ac_ext=c
16216 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16217 ac_cpp='$CPP $CPPFLAGS'
16218 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16219 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16220 cross_compiling=$ac_cv_prog_cc_cross
16221
16222
16223 cat >> confdefs.h <<EOF
16224 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
16225 EOF
16226
16227 fi
16228 fi
16229
16230 for ac_func in vfork
16231 do
16232 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16233 echo "configure:16225: checking for $ac_func" >&5
16234 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16235 echo $ac_n "(cached) $ac_c" 1>&6
16236 else
16237 cat > conftest.$ac_ext <<EOF
16238 #line 16230 "configure"
16239 #include "confdefs.h"
16240 /* System header to define __stub macros and hopefully few prototypes,
16241 which can conflict with char $ac_func(); below. */
16242 #include <assert.h>
16243 /* Override any gcc2 internal prototype to avoid an error. */
16244 /* We use char because int might match the return type of a gcc2
16245 builtin and then its argument prototype would still apply. */
16246 char $ac_func();
16247
16248 int main() {
16249
16250 /* The GNU C library defines this for functions which it implements
16251 to always fail with ENOSYS. Some functions are actually named
16252 something starting with __ and the normal name is an alias. */
16253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16254 choke me
16255 #else
16256 $ac_func();
16257 #endif
16258
16259 ; return 0; }
16260 EOF
16261 if { (eval echo configure:16253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16262 rm -rf conftest*
16263 eval "ac_cv_func_$ac_func=yes"
16264 else
16265 echo "configure: failed program was:" >&5
16266 cat conftest.$ac_ext >&5
16267 rm -rf conftest*
16268 eval "ac_cv_func_$ac_func=no"
16269 fi
16270 rm -f conftest*
16271 fi
16272
16273 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16274 echo "$ac_t""yes" 1>&6
16275 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16276 cat >> confdefs.h <<EOF
16277 #define $ac_tr_func 1
16278 EOF
16279
16280 else
16281 echo "$ac_t""no" 1>&6
16282 fi
16283 done
16284
16285
16286 for ac_func in mkstemp mktemp
16287 do
16288 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16289 echo "configure:16281: checking for $ac_func" >&5
16290 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16291 echo $ac_n "(cached) $ac_c" 1>&6
16292 else
16293 cat > conftest.$ac_ext <<EOF
16294 #line 16286 "configure"
16295 #include "confdefs.h"
16296 /* System header to define __stub macros and hopefully few prototypes,
16297 which can conflict with char $ac_func(); below. */
16298 #include <assert.h>
16299 /* Override any gcc2 internal prototype to avoid an error. */
16300 /* We use char because int might match the return type of a gcc2
16301 builtin and then its argument prototype would still apply. */
16302 char $ac_func();
16303
16304 int main() {
16305
16306 /* The GNU C library defines this for functions which it implements
16307 to always fail with ENOSYS. Some functions are actually named
16308 something starting with __ and the normal name is an alias. */
16309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16310 choke me
16311 #else
16312 $ac_func();
16313 #endif
16314
16315 ; return 0; }
16316 EOF
16317 if { (eval echo configure:16309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16318 rm -rf conftest*
16319 eval "ac_cv_func_$ac_func=yes"
16320 else
16321 echo "configure: failed program was:" >&5
16322 cat conftest.$ac_ext >&5
16323 rm -rf conftest*
16324 eval "ac_cv_func_$ac_func=no"
16325 fi
16326 rm -f conftest*
16327 fi
16328
16329 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16330 echo "$ac_t""yes" 1>&6
16331 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16332 cat >> confdefs.h <<EOF
16333 #define $ac_tr_func 1
16334 EOF
16335 break
16336 else
16337 echo "$ac_t""no" 1>&6
16338 fi
16339 done
16340
16341
16342 echo $ac_n "checking for statfs""... $ac_c" 1>&6
16343 echo "configure:16335: checking for statfs" >&5
16344 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
16345 echo $ac_n "(cached) $ac_c" 1>&6
16346 else
16347 cat > conftest.$ac_ext <<EOF
16348 #line 16340 "configure"
16349 #include "confdefs.h"
16350
16351 #if defined(__BSD__)
16352 #include <sys/param.h>
16353 #include <sys/mount.h>
16354 #else
16355 #include <sys/vfs.h>
16356 #endif
16357
16358 int main() {
16359
16360 long l;
16361 struct statfs fs;
16362 statfs("/", &fs);
16363 l = fs.f_bsize;
16364 l += fs.f_blocks;
16365 l += fs.f_bavail;
16366
16367 ; return 0; }
16368 EOF
16369 if { (eval echo configure:16361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16370 rm -rf conftest*
16371
16372 wx_cv_func_statfs=yes
16373
16374 else
16375 echo "configure: failed program was:" >&5
16376 cat conftest.$ac_ext >&5
16377 rm -rf conftest*
16378
16379 wx_cv_func_statfs=no
16380
16381
16382 fi
16383 rm -f conftest*
16384
16385 fi
16386
16387 echo "$ac_t""$wx_cv_func_statfs" 1>&6
16388
16389 if test "$wx_cv_func_statfs" = "yes"; then
16390 cat >> confdefs.h <<\EOF
16391 #define HAVE_STATFS 1
16392 EOF
16393
16394 else
16395 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
16396 echo "configure:16388: checking for statvfs" >&5
16397 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
16398 echo $ac_n "(cached) $ac_c" 1>&6
16399 else
16400 cat > conftest.$ac_ext <<EOF
16401 #line 16393 "configure"
16402 #include "confdefs.h"
16403
16404 #include <sys/statvfs.h>
16405
16406 int main() {
16407
16408 long l;
16409 struct statvfs fs;
16410 statvfs("/", &fs);
16411 l = fs.f_bsize;
16412 l += fs.f_blocks;
16413 l += fs.f_bavail;
16414
16415 ; return 0; }
16416 EOF
16417 if { (eval echo configure:16409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16418 rm -rf conftest*
16419
16420 wx_cv_func_statvfs=yes
16421
16422 else
16423 echo "configure: failed program was:" >&5
16424 cat conftest.$ac_ext >&5
16425 rm -rf conftest*
16426
16427 wx_cv_func_statvfs=no
16428
16429
16430 fi
16431 rm -f conftest*
16432
16433 fi
16434
16435 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
16436
16437 if test "$wx_cv_func_statvfs" = "yes"; then
16438 cat >> confdefs.h <<\EOF
16439 #define HAVE_STATVFS 1
16440 EOF
16441
16442 else
16443 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
16444 fi
16445 fi
16446
16447 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16448 for ac_func in fcntl flock
16449 do
16450 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16451 echo "configure:16443: checking for $ac_func" >&5
16452 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16453 echo $ac_n "(cached) $ac_c" 1>&6
16454 else
16455 cat > conftest.$ac_ext <<EOF
16456 #line 16448 "configure"
16457 #include "confdefs.h"
16458 /* System header to define __stub macros and hopefully few prototypes,
16459 which can conflict with char $ac_func(); below. */
16460 #include <assert.h>
16461 /* Override any gcc2 internal prototype to avoid an error. */
16462 /* We use char because int might match the return type of a gcc2
16463 builtin and then its argument prototype would still apply. */
16464 char $ac_func();
16465
16466 int main() {
16467
16468 /* The GNU C library defines this for functions which it implements
16469 to always fail with ENOSYS. Some functions are actually named
16470 something starting with __ and the normal name is an alias. */
16471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16472 choke me
16473 #else
16474 $ac_func();
16475 #endif
16476
16477 ; return 0; }
16478 EOF
16479 if { (eval echo configure:16471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16480 rm -rf conftest*
16481 eval "ac_cv_func_$ac_func=yes"
16482 else
16483 echo "configure: failed program was:" >&5
16484 cat conftest.$ac_ext >&5
16485 rm -rf conftest*
16486 eval "ac_cv_func_$ac_func=no"
16487 fi
16488 rm -f conftest*
16489 fi
16490
16491 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16492 echo "$ac_t""yes" 1>&6
16493 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16494 cat >> confdefs.h <<EOF
16495 #define $ac_tr_func 1
16496 EOF
16497 break
16498 else
16499 echo "$ac_t""no" 1>&6
16500 fi
16501 done
16502
16503
16504 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
16505 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
16506 wxUSE_SNGLINST_CHECKER=no
16507 fi
16508 fi
16509
16510 for ac_func in timegm
16511 do
16512 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16513 echo "configure:16505: checking for $ac_func" >&5
16514 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16515 echo $ac_n "(cached) $ac_c" 1>&6
16516 else
16517 cat > conftest.$ac_ext <<EOF
16518 #line 16510 "configure"
16519 #include "confdefs.h"
16520 /* System header to define __stub macros and hopefully few prototypes,
16521 which can conflict with char $ac_func(); below. */
16522 #include <assert.h>
16523 /* Override any gcc2 internal prototype to avoid an error. */
16524 /* We use char because int might match the return type of a gcc2
16525 builtin and then its argument prototype would still apply. */
16526 char $ac_func();
16527
16528 int main() {
16529
16530 /* The GNU C library defines this for functions which it implements
16531 to always fail with ENOSYS. Some functions are actually named
16532 something starting with __ and the normal name is an alias. */
16533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16534 choke me
16535 #else
16536 $ac_func();
16537 #endif
16538
16539 ; return 0; }
16540 EOF
16541 if { (eval echo configure:16533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16542 rm -rf conftest*
16543 eval "ac_cv_func_$ac_func=yes"
16544 else
16545 echo "configure: failed program was:" >&5
16546 cat conftest.$ac_ext >&5
16547 rm -rf conftest*
16548 eval "ac_cv_func_$ac_func=no"
16549 fi
16550 rm -f conftest*
16551 fi
16552
16553 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16554 echo "$ac_t""yes" 1>&6
16555 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16556 cat >> confdefs.h <<EOF
16557 #define $ac_tr_func 1
16558 EOF
16559
16560 else
16561 echo "$ac_t""no" 1>&6
16562 fi
16563 done
16564
16565
16566 for ac_func in putenv setenv
16567 do
16568 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16569 echo "configure:16561: checking for $ac_func" >&5
16570 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16571 echo $ac_n "(cached) $ac_c" 1>&6
16572 else
16573 cat > conftest.$ac_ext <<EOF
16574 #line 16566 "configure"
16575 #include "confdefs.h"
16576 /* System header to define __stub macros and hopefully few prototypes,
16577 which can conflict with char $ac_func(); below. */
16578 #include <assert.h>
16579 /* Override any gcc2 internal prototype to avoid an error. */
16580 /* We use char because int might match the return type of a gcc2
16581 builtin and then its argument prototype would still apply. */
16582 char $ac_func();
16583
16584 int main() {
16585
16586 /* The GNU C library defines this for functions which it implements
16587 to always fail with ENOSYS. Some functions are actually named
16588 something starting with __ and the normal name is an alias. */
16589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16590 choke me
16591 #else
16592 $ac_func();
16593 #endif
16594
16595 ; return 0; }
16596 EOF
16597 if { (eval echo configure:16589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16598 rm -rf conftest*
16599 eval "ac_cv_func_$ac_func=yes"
16600 else
16601 echo "configure: failed program was:" >&5
16602 cat conftest.$ac_ext >&5
16603 rm -rf conftest*
16604 eval "ac_cv_func_$ac_func=no"
16605 fi
16606 rm -f conftest*
16607 fi
16608
16609 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16610 echo "$ac_t""yes" 1>&6
16611 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16612 cat >> confdefs.h <<EOF
16613 #define $ac_tr_func 1
16614 EOF
16615 break
16616 else
16617 echo "$ac_t""no" 1>&6
16618 fi
16619 done
16620
16621
16622 HAVE_SOME_SLEEP_FUNC=0
16623 if test "$USE_BEOS" = 1; then
16624 cat >> confdefs.h <<\EOF
16625 #define HAVE_SLEEP 1
16626 EOF
16627
16628 HAVE_SOME_SLEEP_FUNC=1
16629 fi
16630
16631 if test "$USE_DARWIN" = 1; then
16632 cat >> confdefs.h <<\EOF
16633 #define HAVE_USLEEP 1
16634 EOF
16635
16636 HAVE_SOME_SLEEP_FUNC=1
16637 fi
16638
16639 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
16640 POSIX4_LINK=
16641 for ac_func in nanosleep
16642 do
16643 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16644 echo "configure:16636: checking for $ac_func" >&5
16645 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16646 echo $ac_n "(cached) $ac_c" 1>&6
16647 else
16648 cat > conftest.$ac_ext <<EOF
16649 #line 16641 "configure"
16650 #include "confdefs.h"
16651 /* System header to define __stub macros and hopefully few prototypes,
16652 which can conflict with char $ac_func(); below. */
16653 #include <assert.h>
16654 /* Override any gcc2 internal prototype to avoid an error. */
16655 /* We use char because int might match the return type of a gcc2
16656 builtin and then its argument prototype would still apply. */
16657 char $ac_func();
16658
16659 int main() {
16660
16661 /* The GNU C library defines this for functions which it implements
16662 to always fail with ENOSYS. Some functions are actually named
16663 something starting with __ and the normal name is an alias. */
16664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16665 choke me
16666 #else
16667 $ac_func();
16668 #endif
16669
16670 ; return 0; }
16671 EOF
16672 if { (eval echo configure:16664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16673 rm -rf conftest*
16674 eval "ac_cv_func_$ac_func=yes"
16675 else
16676 echo "configure: failed program was:" >&5
16677 cat conftest.$ac_ext >&5
16678 rm -rf conftest*
16679 eval "ac_cv_func_$ac_func=no"
16680 fi
16681 rm -f conftest*
16682 fi
16683
16684 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16685 echo "$ac_t""yes" 1>&6
16686 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16687 cat >> confdefs.h <<EOF
16688 #define $ac_tr_func 1
16689 EOF
16690 cat >> confdefs.h <<\EOF
16691 #define HAVE_NANOSLEEP 1
16692 EOF
16693
16694 else
16695 echo "$ac_t""no" 1>&6
16696 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
16697 echo "configure:16689: checking for nanosleep in -lposix4" >&5
16698 ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
16699 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16700 echo $ac_n "(cached) $ac_c" 1>&6
16701 else
16702 ac_save_LIBS="$LIBS"
16703 LIBS="-lposix4 $LIBS"
16704 cat > conftest.$ac_ext <<EOF
16705 #line 16697 "configure"
16706 #include "confdefs.h"
16707 /* Override any gcc2 internal prototype to avoid an error. */
16708 /* We use char because int might match the return type of a gcc2
16709 builtin and then its argument prototype would still apply. */
16710 char nanosleep();
16711
16712 int main() {
16713 nanosleep()
16714 ; return 0; }
16715 EOF
16716 if { (eval echo configure:16708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16717 rm -rf conftest*
16718 eval "ac_cv_lib_$ac_lib_var=yes"
16719 else
16720 echo "configure: failed program was:" >&5
16721 cat conftest.$ac_ext >&5
16722 rm -rf conftest*
16723 eval "ac_cv_lib_$ac_lib_var=no"
16724 fi
16725 rm -f conftest*
16726 LIBS="$ac_save_LIBS"
16727
16728 fi
16729 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16730 echo "$ac_t""yes" 1>&6
16731
16732 cat >> confdefs.h <<\EOF
16733 #define HAVE_NANOSLEEP 1
16734 EOF
16735
16736 POSIX4_LINK=" -lposix4"
16737
16738 else
16739 echo "$ac_t""no" 1>&6
16740
16741 for ac_func in usleep
16742 do
16743 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16744 echo "configure:16736: checking for $ac_func" >&5
16745 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16746 echo $ac_n "(cached) $ac_c" 1>&6
16747 else
16748 cat > conftest.$ac_ext <<EOF
16749 #line 16741 "configure"
16750 #include "confdefs.h"
16751 /* System header to define __stub macros and hopefully few prototypes,
16752 which can conflict with char $ac_func(); below. */
16753 #include <assert.h>
16754 /* Override any gcc2 internal prototype to avoid an error. */
16755 /* We use char because int might match the return type of a gcc2
16756 builtin and then its argument prototype would still apply. */
16757 char $ac_func();
16758
16759 int main() {
16760
16761 /* The GNU C library defines this for functions which it implements
16762 to always fail with ENOSYS. Some functions are actually named
16763 something starting with __ and the normal name is an alias. */
16764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16765 choke me
16766 #else
16767 $ac_func();
16768 #endif
16769
16770 ; return 0; }
16771 EOF
16772 if { (eval echo configure:16764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16773 rm -rf conftest*
16774 eval "ac_cv_func_$ac_func=yes"
16775 else
16776 echo "configure: failed program was:" >&5
16777 cat conftest.$ac_ext >&5
16778 rm -rf conftest*
16779 eval "ac_cv_func_$ac_func=no"
16780 fi
16781 rm -f conftest*
16782 fi
16783
16784 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16785 echo "$ac_t""yes" 1>&6
16786 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16787 cat >> confdefs.h <<EOF
16788 #define $ac_tr_func 1
16789 EOF
16790 cat >> confdefs.h <<\EOF
16791 #define HAVE_USLEEP 1
16792 EOF
16793
16794 else
16795 echo "$ac_t""no" 1>&6
16796 echo "configure: warning: wxSleep() function will not work" 1>&2
16797
16798 fi
16799 done
16800
16801
16802
16803 fi
16804
16805
16806
16807 fi
16808 done
16809
16810 fi
16811
16812 for ac_func in uname gethostname
16813 do
16814 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16815 echo "configure:16807: checking for $ac_func" >&5
16816 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16817 echo $ac_n "(cached) $ac_c" 1>&6
16818 else
16819 cat > conftest.$ac_ext <<EOF
16820 #line 16812 "configure"
16821 #include "confdefs.h"
16822 /* System header to define __stub macros and hopefully few prototypes,
16823 which can conflict with char $ac_func(); below. */
16824 #include <assert.h>
16825 /* Override any gcc2 internal prototype to avoid an error. */
16826 /* We use char because int might match the return type of a gcc2
16827 builtin and then its argument prototype would still apply. */
16828 char $ac_func();
16829
16830 int main() {
16831
16832 /* The GNU C library defines this for functions which it implements
16833 to always fail with ENOSYS. Some functions are actually named
16834 something starting with __ and the normal name is an alias. */
16835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16836 choke me
16837 #else
16838 $ac_func();
16839 #endif
16840
16841 ; return 0; }
16842 EOF
16843 if { (eval echo configure:16835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16844 rm -rf conftest*
16845 eval "ac_cv_func_$ac_func=yes"
16846 else
16847 echo "configure: failed program was:" >&5
16848 cat conftest.$ac_ext >&5
16849 rm -rf conftest*
16850 eval "ac_cv_func_$ac_func=no"
16851 fi
16852 rm -f conftest*
16853 fi
16854
16855 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16856 echo "$ac_t""yes" 1>&6
16857 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16858 cat >> confdefs.h <<EOF
16859 #define $ac_tr_func 1
16860 EOF
16861 break
16862 else
16863 echo "$ac_t""no" 1>&6
16864 fi
16865 done
16866
16867
16868
16869 ac_ext=C
16870 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16871 ac_cpp='$CXXCPP $CPPFLAGS'
16872 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16873 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16874 cross_compiling=$ac_cv_prog_cxx_cross
16875
16876
16877 for ac_func in strtok_r
16878 do
16879 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16880 echo "configure:16872: checking for $ac_func" >&5
16881 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16882 echo $ac_n "(cached) $ac_c" 1>&6
16883 else
16884 cat > conftest.$ac_ext <<EOF
16885 #line 16877 "configure"
16886 #include "confdefs.h"
16887 /* System header to define __stub macros and hopefully few prototypes,
16888 which can conflict with char $ac_func(); below. */
16889 #include <assert.h>
16890 /* Override any gcc2 internal prototype to avoid an error. */
16891 #ifdef __cplusplus
16892 extern "C"
16893 #endif
16894 /* We use char because int might match the return type of a gcc2
16895 builtin and then its argument prototype would still apply. */
16896 char $ac_func();
16897
16898 int main() {
16899
16900 /* The GNU C library defines this for functions which it implements
16901 to always fail with ENOSYS. Some functions are actually named
16902 something starting with __ and the normal name is an alias. */
16903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16904 choke me
16905 #else
16906 $ac_func();
16907 #endif
16908
16909 ; return 0; }
16910 EOF
16911 if { (eval echo configure:16903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16912 rm -rf conftest*
16913 eval "ac_cv_func_$ac_func=yes"
16914 else
16915 echo "configure: failed program was:" >&5
16916 cat conftest.$ac_ext >&5
16917 rm -rf conftest*
16918 eval "ac_cv_func_$ac_func=no"
16919 fi
16920 rm -f conftest*
16921 fi
16922
16923 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16924 echo "$ac_t""yes" 1>&6
16925 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16926 cat >> confdefs.h <<EOF
16927 #define $ac_tr_func 1
16928 EOF
16929
16930 else
16931 echo "$ac_t""no" 1>&6
16932 fi
16933 done
16934
16935
16936 ac_ext=c
16937 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16938 ac_cpp='$CPP $CPPFLAGS'
16939 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16940 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16941 cross_compiling=$ac_cv_prog_cc_cross
16942
16943
16944 INET_LINK=
16945 for ac_func in inet_addr
16946 do
16947 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16948 echo "configure:16940: checking for $ac_func" >&5
16949 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16950 echo $ac_n "(cached) $ac_c" 1>&6
16951 else
16952 cat > conftest.$ac_ext <<EOF
16953 #line 16945 "configure"
16954 #include "confdefs.h"
16955 /* System header to define __stub macros and hopefully few prototypes,
16956 which can conflict with char $ac_func(); below. */
16957 #include <assert.h>
16958 /* Override any gcc2 internal prototype to avoid an error. */
16959 /* We use char because int might match the return type of a gcc2
16960 builtin and then its argument prototype would still apply. */
16961 char $ac_func();
16962
16963 int main() {
16964
16965 /* The GNU C library defines this for functions which it implements
16966 to always fail with ENOSYS. Some functions are actually named
16967 something starting with __ and the normal name is an alias. */
16968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16969 choke me
16970 #else
16971 $ac_func();
16972 #endif
16973
16974 ; return 0; }
16975 EOF
16976 if { (eval echo configure:16968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16977 rm -rf conftest*
16978 eval "ac_cv_func_$ac_func=yes"
16979 else
16980 echo "configure: failed program was:" >&5
16981 cat conftest.$ac_ext >&5
16982 rm -rf conftest*
16983 eval "ac_cv_func_$ac_func=no"
16984 fi
16985 rm -f conftest*
16986 fi
16987
16988 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16989 echo "$ac_t""yes" 1>&6
16990 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16991 cat >> confdefs.h <<EOF
16992 #define $ac_tr_func 1
16993 EOF
16994 cat >> confdefs.h <<\EOF
16995 #define HAVE_INET_ADDR 1
16996 EOF
16997
16998 else
16999 echo "$ac_t""no" 1>&6
17000 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
17001 echo "configure:16993: checking for inet_addr in -lnsl" >&5
17002 ac_lib_var=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
17003 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17004 echo $ac_n "(cached) $ac_c" 1>&6
17005 else
17006 ac_save_LIBS="$LIBS"
17007 LIBS="-lnsl $LIBS"
17008 cat > conftest.$ac_ext <<EOF
17009 #line 17001 "configure"
17010 #include "confdefs.h"
17011 /* Override any gcc2 internal prototype to avoid an error. */
17012 /* We use char because int might match the return type of a gcc2
17013 builtin and then its argument prototype would still apply. */
17014 char inet_addr();
17015
17016 int main() {
17017 inet_addr()
17018 ; return 0; }
17019 EOF
17020 if { (eval echo configure:17012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17021 rm -rf conftest*
17022 eval "ac_cv_lib_$ac_lib_var=yes"
17023 else
17024 echo "configure: failed program was:" >&5
17025 cat conftest.$ac_ext >&5
17026 rm -rf conftest*
17027 eval "ac_cv_lib_$ac_lib_var=no"
17028 fi
17029 rm -f conftest*
17030 LIBS="$ac_save_LIBS"
17031
17032 fi
17033 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17034 echo "$ac_t""yes" 1>&6
17035 INET_LINK="nsl"
17036 else
17037 echo "$ac_t""no" 1>&6
17038 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
17039 echo "configure:17031: checking for inet_addr in -lresolv" >&5
17040 ac_lib_var=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
17041 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17042 echo $ac_n "(cached) $ac_c" 1>&6
17043 else
17044 ac_save_LIBS="$LIBS"
17045 LIBS="-lresolv $LIBS"
17046 cat > conftest.$ac_ext <<EOF
17047 #line 17039 "configure"
17048 #include "confdefs.h"
17049 /* Override any gcc2 internal prototype to avoid an error. */
17050 /* We use char because int might match the return type of a gcc2
17051 builtin and then its argument prototype would still apply. */
17052 char inet_addr();
17053
17054 int main() {
17055 inet_addr()
17056 ; return 0; }
17057 EOF
17058 if { (eval echo configure:17050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17059 rm -rf conftest*
17060 eval "ac_cv_lib_$ac_lib_var=yes"
17061 else
17062 echo "configure: failed program was:" >&5
17063 cat conftest.$ac_ext >&5
17064 rm -rf conftest*
17065 eval "ac_cv_lib_$ac_lib_var=no"
17066 fi
17067 rm -f conftest*
17068 LIBS="$ac_save_LIBS"
17069
17070 fi
17071 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17072 echo "$ac_t""yes" 1>&6
17073 INET_LINK="resolv"
17074 else
17075 echo "$ac_t""no" 1>&6
17076 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
17077 echo "configure:17069: checking for inet_addr in -lsocket" >&5
17078 ac_lib_var=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
17079 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17080 echo $ac_n "(cached) $ac_c" 1>&6
17081 else
17082 ac_save_LIBS="$LIBS"
17083 LIBS="-lsocket $LIBS"
17084 cat > conftest.$ac_ext <<EOF
17085 #line 17077 "configure"
17086 #include "confdefs.h"
17087 /* Override any gcc2 internal prototype to avoid an error. */
17088 /* We use char because int might match the return type of a gcc2
17089 builtin and then its argument prototype would still apply. */
17090 char inet_addr();
17091
17092 int main() {
17093 inet_addr()
17094 ; return 0; }
17095 EOF
17096 if { (eval echo configure:17088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17097 rm -rf conftest*
17098 eval "ac_cv_lib_$ac_lib_var=yes"
17099 else
17100 echo "configure: failed program was:" >&5
17101 cat conftest.$ac_ext >&5
17102 rm -rf conftest*
17103 eval "ac_cv_lib_$ac_lib_var=no"
17104 fi
17105 rm -f conftest*
17106 LIBS="$ac_save_LIBS"
17107
17108 fi
17109 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17110 echo "$ac_t""yes" 1>&6
17111 INET_LINK="socket"
17112
17113 else
17114 echo "$ac_t""no" 1>&6
17115 fi
17116
17117
17118 fi
17119
17120
17121 fi
17122
17123
17124
17125 fi
17126 done
17127
17128
17129 for ac_func in inet_aton
17130 do
17131 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17132 echo "configure:17124: checking for $ac_func" >&5
17133 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17134 echo $ac_n "(cached) $ac_c" 1>&6
17135 else
17136 cat > conftest.$ac_ext <<EOF
17137 #line 17129 "configure"
17138 #include "confdefs.h"
17139 /* System header to define __stub macros and hopefully few prototypes,
17140 which can conflict with char $ac_func(); below. */
17141 #include <assert.h>
17142 /* Override any gcc2 internal prototype to avoid an error. */
17143 /* We use char because int might match the return type of a gcc2
17144 builtin and then its argument prototype would still apply. */
17145 char $ac_func();
17146
17147 int main() {
17148
17149 /* The GNU C library defines this for functions which it implements
17150 to always fail with ENOSYS. Some functions are actually named
17151 something starting with __ and the normal name is an alias. */
17152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17153 choke me
17154 #else
17155 $ac_func();
17156 #endif
17157
17158 ; return 0; }
17159 EOF
17160 if { (eval echo configure:17152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17161 rm -rf conftest*
17162 eval "ac_cv_func_$ac_func=yes"
17163 else
17164 echo "configure: failed program was:" >&5
17165 cat conftest.$ac_ext >&5
17166 rm -rf conftest*
17167 eval "ac_cv_func_$ac_func=no"
17168 fi
17169 rm -f conftest*
17170 fi
17171
17172 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17173 echo "$ac_t""yes" 1>&6
17174 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17175 cat >> confdefs.h <<EOF
17176 #define $ac_tr_func 1
17177 EOF
17178 cat >> confdefs.h <<\EOF
17179 #define HAVE_INET_ATON 1
17180 EOF
17181
17182 else
17183 echo "$ac_t""no" 1>&6
17184 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
17185 echo "configure:17177: checking for inet_aton in -l$INET_LINK" >&5
17186 ac_lib_var=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
17187 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17188 echo $ac_n "(cached) $ac_c" 1>&6
17189 else
17190 ac_save_LIBS="$LIBS"
17191 LIBS="-l$INET_LINK $LIBS"
17192 cat > conftest.$ac_ext <<EOF
17193 #line 17185 "configure"
17194 #include "confdefs.h"
17195 /* Override any gcc2 internal prototype to avoid an error. */
17196 /* We use char because int might match the return type of a gcc2
17197 builtin and then its argument prototype would still apply. */
17198 char inet_aton();
17199
17200 int main() {
17201 inet_aton()
17202 ; return 0; }
17203 EOF
17204 if { (eval echo configure:17196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17205 rm -rf conftest*
17206 eval "ac_cv_lib_$ac_lib_var=yes"
17207 else
17208 echo "configure: failed program was:" >&5
17209 cat conftest.$ac_ext >&5
17210 rm -rf conftest*
17211 eval "ac_cv_lib_$ac_lib_var=no"
17212 fi
17213 rm -f conftest*
17214 LIBS="$ac_save_LIBS"
17215
17216 fi
17217 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17218 echo "$ac_t""yes" 1>&6
17219 cat >> confdefs.h <<\EOF
17220 #define HAVE_INET_ATON 1
17221 EOF
17222
17223 else
17224 echo "$ac_t""no" 1>&6
17225 fi
17226
17227
17228 fi
17229 done
17230
17231
17232 if test "x$INET_LINK" != "x"; then
17233 cat >> confdefs.h <<\EOF
17234 #define HAVE_INET_ADDR 1
17235 EOF
17236
17237 INET_LINK=" -l$INET_LINK"
17238 fi
17239
17240 fi
17241
17242
17243 cat > confcache <<\EOF
17244 # This file is a shell script that caches the results of configure
17245 # tests run on this system so they can be shared between configure
17246 # scripts and configure runs. It is not useful on other systems.
17247 # If it contains results you don't want to keep, you may remove or edit it.
17248 #
17249 # By default, configure uses ./config.cache as the cache file,
17250 # creating it if it does not exist already. You can give configure
17251 # the --cache-file=FILE option to use a different cache file; that is
17252 # what configure does when it calls configure scripts in
17253 # subdirectories, so they share the cache.
17254 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17255 # config.status only pays attention to the cache file if you give it the
17256 # --recheck option to rerun configure.
17257 #
17258 EOF
17259 # The following way of writing the cache mishandles newlines in values,
17260 # but we know of no workaround that is simple, portable, and efficient.
17261 # So, don't put newlines in cache variables' values.
17262 # Ultrix sh set writes to stderr and can't be redirected directly,
17263 # and sets the high bit in the cache file unless we assign to the vars.
17264 (set) 2>&1 |
17265 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17266 *ac_space=\ *)
17267 # `set' does not quote correctly, so add quotes (double-quote substitution
17268 # turns \\\\ into \\, and sed turns \\ into \).
17269 sed -n \
17270 -e "s/'/'\\\\''/g" \
17271 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17272 ;;
17273 *)
17274 # `set' quotes correctly as required by POSIX, so do not add quotes.
17275 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17276 ;;
17277 esac >> confcache
17278 if cmp -s $cache_file confcache; then
17279 :
17280 else
17281 if test -w $cache_file; then
17282 echo "updating cache $cache_file"
17283 cat confcache > $cache_file
17284 else
17285 echo "not updating unwritable cache $cache_file"
17286 fi
17287 fi
17288 rm -f confcache
17289
17290
17291
17292 CPP_MT_FLAG=
17293 if test "$TOOLKIT" != "MSW"; then
17294
17295
17296 THREADS_LINK=
17297 THREADS_CFLAGS=
17298
17299 if test "$wxUSE_THREADS" = "yes" ; then
17300 if test "$wxUSE_WINE" = 1 ; then
17301 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
17302 wxUSE_THREADS="no"
17303 elif test "$USE_BEOS" = 1; then
17304 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
17305 wxUSE_THREADS="no"
17306 fi
17307 fi
17308
17309 if test "$wxUSE_THREADS" = "yes" ; then
17310
17311
17312 THREAD_OPTS="-pthread"
17313 case "${host}" in
17314 *-*-solaris2* | *-*-sunos4* )
17315 if test "x$GCC" = "xyes"; then
17316 THREAD_OPTS="-pthreads $THREAD_OPTS"
17317 else
17318 THREAD_OPTS="-mt $THREAD_OPTS"
17319 fi
17320 ;;
17321 *-*-freebsd*)
17322 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
17323 ;;
17324 *-*-darwin*)
17325 THREAD_OPTS=""
17326 ;;
17327 *-*-aix*)
17328 THREAD_OPTS="pthreads"
17329 ;;
17330 esac
17331
17332 THREAD_OPTS="$THREAD_OPTS pthread none"
17333
17334 THREADS_OK=no
17335 for flag in $THREAD_OPTS; do
17336 case $flag in
17337 none)
17338 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
17339 echo "configure:17331: checking whether pthreads work without any flags" >&5
17340 ;;
17341
17342 -*)
17343 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
17344 echo "configure:17336: checking whether pthreads work with $flag" >&5
17345 THREADS_CFLAGS="$flag"
17346 ;;
17347
17348 *)
17349 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
17350 echo "configure:17342: checking for the pthreads library -l$flag" >&5
17351 THREADS_LINK="-l$flag"
17352 ;;
17353 esac
17354
17355 save_LIBS="$LIBS"
17356 save_CFLAGS="$CFLAGS"
17357 LIBS="$THREADS_LINK $LIBS"
17358 CFLAGS="$THREADS_CFLAGS $CFLAGS"
17359
17360 cat > conftest.$ac_ext <<EOF
17361 #line 17353 "configure"
17362 #include "confdefs.h"
17363 #include <pthread.h>
17364 int main() {
17365 pthread_create(0,0,0,0);
17366 ; return 0; }
17367 EOF
17368 if { (eval echo configure:17360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17369 rm -rf conftest*
17370 THREADS_OK=yes
17371 else
17372 echo "configure: failed program was:" >&5
17373 cat conftest.$ac_ext >&5
17374 fi
17375 rm -f conftest*
17376
17377 LIBS="$save_LIBS"
17378 CFLAGS="$save_CFLAGS"
17379
17380 echo "$ac_t""$THREADS_OK" 1>&6
17381 if test "x$THREADS_OK" = "xyes"; then
17382 break;
17383 fi
17384
17385 THREADS_LINK=""
17386 THREADS_CFLAGS=""
17387 done
17388
17389 if test "x$THREADS_OK" != "xyes"; then
17390 wxUSE_THREADS=no
17391 echo "configure: warning: No thread support on this system... disabled" 1>&2
17392 else
17393 LIBS="$THREADS_LINK $THREADS_CFLAGS $LIBS"
17394
17395 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
17396 echo "configure:17388: checking if more special flags are required for pthreads" >&5
17397 flag=no
17398 case "${host}" in
17399 *-aix* | *-freebsd*)
17400 flag="-D_THREAD_SAFE"
17401 ;;
17402 *solaris* | alpha*-osf*)
17403 flag="-D_REENTRANT"
17404 ;;
17405 esac
17406 echo "$ac_t""${flag}" 1>&6
17407 if test "x$flag" != xno; then
17408 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
17409 fi
17410
17411 if test "x$THREADS_CFLAGS" != "x"; then
17412 CFLAGS="$CFLAGS $THREADS_CFLAGS"
17413 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
17414 fi
17415 fi
17416 fi
17417
17418 if test "$wxUSE_THREADS" = "yes" ; then
17419 for ac_func in thr_setconcurrency
17420 do
17421 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17422 echo "configure:17414: checking for $ac_func" >&5
17423 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17424 echo $ac_n "(cached) $ac_c" 1>&6
17425 else
17426 cat > conftest.$ac_ext <<EOF
17427 #line 17419 "configure"
17428 #include "confdefs.h"
17429 /* System header to define __stub macros and hopefully few prototypes,
17430 which can conflict with char $ac_func(); below. */
17431 #include <assert.h>
17432 /* Override any gcc2 internal prototype to avoid an error. */
17433 /* We use char because int might match the return type of a gcc2
17434 builtin and then its argument prototype would still apply. */
17435 char $ac_func();
17436
17437 int main() {
17438
17439 /* The GNU C library defines this for functions which it implements
17440 to always fail with ENOSYS. Some functions are actually named
17441 something starting with __ and the normal name is an alias. */
17442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17443 choke me
17444 #else
17445 $ac_func();
17446 #endif
17447
17448 ; return 0; }
17449 EOF
17450 if { (eval echo configure:17442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17451 rm -rf conftest*
17452 eval "ac_cv_func_$ac_func=yes"
17453 else
17454 echo "configure: failed program was:" >&5
17455 cat conftest.$ac_ext >&5
17456 rm -rf conftest*
17457 eval "ac_cv_func_$ac_func=no"
17458 fi
17459 rm -f conftest*
17460 fi
17461
17462 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17463 echo "$ac_t""yes" 1>&6
17464 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17465 cat >> confdefs.h <<EOF
17466 #define $ac_tr_func 1
17467 EOF
17468
17469 else
17470 echo "$ac_t""no" 1>&6
17471 fi
17472 done
17473
17474
17475 for ac_hdr in sched.h
17476 do
17477 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17478 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17479 echo "configure:17471: checking for $ac_hdr" >&5
17480 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17481 echo $ac_n "(cached) $ac_c" 1>&6
17482 else
17483 cat > conftest.$ac_ext <<EOF
17484 #line 17476 "configure"
17485 #include "confdefs.h"
17486 #include <$ac_hdr>
17487 EOF
17488 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17489 { (eval echo configure:17481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17490 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17491 if test -z "$ac_err"; then
17492 rm -rf conftest*
17493 eval "ac_cv_header_$ac_safe=yes"
17494 else
17495 echo "$ac_err" >&5
17496 echo "configure: failed program was:" >&5
17497 cat conftest.$ac_ext >&5
17498 rm -rf conftest*
17499 eval "ac_cv_header_$ac_safe=no"
17500 fi
17501 rm -f conftest*
17502 fi
17503 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17504 echo "$ac_t""yes" 1>&6
17505 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17506 cat >> confdefs.h <<EOF
17507 #define $ac_tr_hdr 1
17508 EOF
17509
17510 else
17511 echo "$ac_t""no" 1>&6
17512 fi
17513 done
17514
17515 if test "$ac_cv_header_sched_h" = "yes"; then
17516 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
17517 echo "configure:17509: checking for sched_yield" >&5
17518 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
17519 echo $ac_n "(cached) $ac_c" 1>&6
17520 else
17521 cat > conftest.$ac_ext <<EOF
17522 #line 17514 "configure"
17523 #include "confdefs.h"
17524 /* System header to define __stub macros and hopefully few prototypes,
17525 which can conflict with char sched_yield(); below. */
17526 #include <assert.h>
17527 /* Override any gcc2 internal prototype to avoid an error. */
17528 /* We use char because int might match the return type of a gcc2
17529 builtin and then its argument prototype would still apply. */
17530 char sched_yield();
17531
17532 int main() {
17533
17534 /* The GNU C library defines this for functions which it implements
17535 to always fail with ENOSYS. Some functions are actually named
17536 something starting with __ and the normal name is an alias. */
17537 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
17538 choke me
17539 #else
17540 sched_yield();
17541 #endif
17542
17543 ; return 0; }
17544 EOF
17545 if { (eval echo configure:17537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17546 rm -rf conftest*
17547 eval "ac_cv_func_sched_yield=yes"
17548 else
17549 echo "configure: failed program was:" >&5
17550 cat conftest.$ac_ext >&5
17551 rm -rf conftest*
17552 eval "ac_cv_func_sched_yield=no"
17553 fi
17554 rm -f conftest*
17555 fi
17556
17557 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
17558 echo "$ac_t""yes" 1>&6
17559 cat >> confdefs.h <<\EOF
17560 #define HAVE_SCHED_YIELD 1
17561 EOF
17562
17563 else
17564 echo "$ac_t""no" 1>&6
17565
17566 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
17567 echo "configure:17559: checking for sched_yield in -lposix4" >&5
17568 ac_lib_var=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
17569 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17570 echo $ac_n "(cached) $ac_c" 1>&6
17571 else
17572 ac_save_LIBS="$LIBS"
17573 LIBS="-lposix4 $LIBS"
17574 cat > conftest.$ac_ext <<EOF
17575 #line 17567 "configure"
17576 #include "confdefs.h"
17577 /* Override any gcc2 internal prototype to avoid an error. */
17578 /* We use char because int might match the return type of a gcc2
17579 builtin and then its argument prototype would still apply. */
17580 char sched_yield();
17581
17582 int main() {
17583 sched_yield()
17584 ; return 0; }
17585 EOF
17586 if { (eval echo configure:17578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17587 rm -rf conftest*
17588 eval "ac_cv_lib_$ac_lib_var=yes"
17589 else
17590 echo "configure: failed program was:" >&5
17591 cat conftest.$ac_ext >&5
17592 rm -rf conftest*
17593 eval "ac_cv_lib_$ac_lib_var=no"
17594 fi
17595 rm -f conftest*
17596 LIBS="$ac_save_LIBS"
17597
17598 fi
17599 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17600 echo "$ac_t""yes" 1>&6
17601 cat >> confdefs.h <<\EOF
17602 #define HAVE_SCHED_YIELD 1
17603 EOF
17604 POSIX4_LINK=" -lposix4"
17605 else
17606 echo "$ac_t""no" 1>&6
17607 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
17608
17609 fi
17610
17611
17612
17613 fi
17614
17615 fi
17616
17617 HAVE_PRIOR_FUNCS=0
17618 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
17619 echo "configure:17611: checking for pthread_attr_getschedpolicy" >&5
17620 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
17621 echo $ac_n "(cached) $ac_c" 1>&6
17622 else
17623 cat > conftest.$ac_ext <<EOF
17624 #line 17616 "configure"
17625 #include "confdefs.h"
17626 /* System header to define __stub macros and hopefully few prototypes,
17627 which can conflict with char pthread_attr_getschedpolicy(); below. */
17628 #include <assert.h>
17629 /* Override any gcc2 internal prototype to avoid an error. */
17630 /* We use char because int might match the return type of a gcc2
17631 builtin and then its argument prototype would still apply. */
17632 char pthread_attr_getschedpolicy();
17633
17634 int main() {
17635
17636 /* The GNU C library defines this for functions which it implements
17637 to always fail with ENOSYS. Some functions are actually named
17638 something starting with __ and the normal name is an alias. */
17639 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
17640 choke me
17641 #else
17642 pthread_attr_getschedpolicy();
17643 #endif
17644
17645 ; return 0; }
17646 EOF
17647 if { (eval echo configure:17639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17648 rm -rf conftest*
17649 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
17650 else
17651 echo "configure: failed program was:" >&5
17652 cat conftest.$ac_ext >&5
17653 rm -rf conftest*
17654 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
17655 fi
17656 rm -f conftest*
17657 fi
17658
17659 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
17660 echo "$ac_t""yes" 1>&6
17661 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
17662 echo "configure:17654: checking for pthread_attr_setschedparam" >&5
17663 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
17664 echo $ac_n "(cached) $ac_c" 1>&6
17665 else
17666 cat > conftest.$ac_ext <<EOF
17667 #line 17659 "configure"
17668 #include "confdefs.h"
17669 /* System header to define __stub macros and hopefully few prototypes,
17670 which can conflict with char pthread_attr_setschedparam(); below. */
17671 #include <assert.h>
17672 /* Override any gcc2 internal prototype to avoid an error. */
17673 /* We use char because int might match the return type of a gcc2
17674 builtin and then its argument prototype would still apply. */
17675 char pthread_attr_setschedparam();
17676
17677 int main() {
17678
17679 /* The GNU C library defines this for functions which it implements
17680 to always fail with ENOSYS. Some functions are actually named
17681 something starting with __ and the normal name is an alias. */
17682 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
17683 choke me
17684 #else
17685 pthread_attr_setschedparam();
17686 #endif
17687
17688 ; return 0; }
17689 EOF
17690 if { (eval echo configure:17682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17691 rm -rf conftest*
17692 eval "ac_cv_func_pthread_attr_setschedparam=yes"
17693 else
17694 echo "configure: failed program was:" >&5
17695 cat conftest.$ac_ext >&5
17696 rm -rf conftest*
17697 eval "ac_cv_func_pthread_attr_setschedparam=no"
17698 fi
17699 rm -f conftest*
17700 fi
17701
17702 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
17703 echo "$ac_t""yes" 1>&6
17704 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
17705 echo "configure:17697: checking for sched_get_priority_max" >&5
17706 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
17707 echo $ac_n "(cached) $ac_c" 1>&6
17708 else
17709 cat > conftest.$ac_ext <<EOF
17710 #line 17702 "configure"
17711 #include "confdefs.h"
17712 /* System header to define __stub macros and hopefully few prototypes
17713 else
17714 echo "$ac_t""no" 1>&6
17715 which can conflict with char sched_get_priority_max(); below. */
17716 #include <assert.h>
17717 /* Override any gcc2 internal prototype to avoid an error. */
17718 /* We use char because int might match the return type of a gcc2
17719 builtin and then its argument prototype would still apply. */
17720 char sched_get_priority_max();
17721
17722 int main() {
17723
17724 /* The GNU C library defines this for functions which it implements
17725 to always fail with ENOSYS. Some functions are actually named
17726 something starting with __ and the normal name is an alias. */
17727 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
17728 choke me
17729 #else
17730 sched_get_priority_max();
17731 #endif
17732
17733 ; return 0; }
17734 EOF
17735 if { (eval echo configure:17727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17736 rm -rf conftest*
17737 eval "ac_cv_func_sched_get_priority_max=yes"
17738 else
17739 echo "configure: failed program was:" >&5
17740 cat conftest.$ac_ext >&5
17741 rm -rf conftest*
17742 eval "ac_cv_func_sched_get_priority_max=no"
17743 fi
17744 rm -f conftest*
17745 fi
17746
17747 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
17748 echo "$ac_t""yes" 1>&6
17749 HAVE_PRIOR_FUNCS=1
17750 else
17751 echo "$ac_t""no" 1>&6
17752 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
17753 echo "configure:17745: checking for sched_get_priority_max in -lposix4" >&5
17754 ac_lib_var=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
17755 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17756 echo $ac_n "(cached) $ac_c" 1>&6
17757 else
17758 ac_save_LIBS="$LIBS"
17759 LIBS="-lposix4 $LIBS"
17760 cat > conftest.$ac_ext <<EOF
17761 #line 17753 "configure"
17762 #include "confdefs.h"
17763 /* Override any gcc2 internal prototype to avoid an error. */
17764 /* We use char because int might match the return type of a gcc2
17765 builtin and then its argument prototype would still apply. */
17766 char sched_get_priority_max();
17767
17768 int main() {
17769 sched_get_priority_max()
17770 ; return 0; }
17771 EOF
17772 if { (eval echo configure:17764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17773 rm -rf conftest*
17774 eval "ac_cv_lib_$ac_lib_var=yes"
17775 else
17776 echo "configure: failed program was:" >&5
17777 cat conftest.$ac_ext >&5
17778 rm -rf conftest*
17779 eval "ac_cv_lib_$ac_lib_var=no"
17780 fi
17781 rm -f conftest*
17782 LIBS="$ac_save_LIBS"
17783
17784 fi
17785 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17786 echo "$ac_t""yes" 1>&6
17787
17788 HAVE_PRIOR_FUNCS=1
17789 POSIX4_LINK=" -lposix4"
17790
17791 else
17792 echo "$ac_t""no" 1>&6
17793 fi
17794
17795
17796 fi
17797
17798
17799 else
17800 echo "$ac_t""no" 1>&6
17801 fi
17802
17803
17804 fi
17805
17806
17807 if test "$HAVE_PRIOR_FUNCS" = 1; then
17808 cat >> confdefs.h <<\EOF
17809 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
17810 EOF
17811
17812 else
17813 echo "configure: warning: Setting thread priority will not work" 1>&2
17814 fi
17815
17816 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
17817 echo "configure:17809: checking for pthread_cancel" >&5
17818 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
17819 echo $ac_n "(cached) $ac_c" 1>&6
17820 else
17821 cat > conftest.$ac_ext <<EOF
17822 #line 17814 "configure"
17823 #include "confdefs.h"
17824 /* System header to define __stub macros and hopefully few prototypes,
17825 which can conflict with char pthread_cancel(); below. */
17826 #include <assert.h>
17827 /* Override any gcc2 internal prototype to avoid an error. */
17828 /* We use char because int might match the return type of a gcc2
17829 builtin and then its argument prototype would still apply. */
17830 char pthread_cancel();
17831
17832 int main() {
17833
17834 /* The GNU C library defines this for functions which it implements
17835 to always fail with ENOSYS. Some functions are actually named
17836 something starting with __ and the normal name is an alias. */
17837 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
17838 choke me
17839 #else
17840 pthread_cancel();
17841 #endif
17842
17843 ; return 0; }
17844 EOF
17845 if { (eval echo configure:17837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17846 rm -rf conftest*
17847 eval "ac_cv_func_pthread_cancel=yes"
17848 else
17849 echo "configure: failed program was:" >&5
17850 cat conftest.$ac_ext >&5
17851 rm -rf conftest*
17852 eval "ac_cv_func_pthread_cancel=no"
17853 fi
17854 rm -f conftest*
17855 fi
17856
17857 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
17858 echo "$ac_t""yes" 1>&6
17859 cat >> confdefs.h <<\EOF
17860 #define HAVE_PTHREAD_CANCEL 1
17861 EOF
17862
17863 else
17864 echo "$ac_t""no" 1>&6
17865 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
17866 fi
17867
17868
17869 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
17870 echo "configure:17862: checking for pthread_cleanup_push/pop" >&5
17871 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
17872 echo $ac_n "(cached) $ac_c" 1>&6
17873 else
17874
17875 cat > conftest.$ac_ext <<EOF
17876 #line 17868 "configure"
17877 #include "confdefs.h"
17878 #include <pthread.h>
17879 int main() {
17880
17881 pthread_cleanup_push(NULL, NULL);
17882 pthread_cleanup_pop(0);
17883
17884 ; return 0; }
17885 EOF
17886 if { (eval echo configure:17878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17887 rm -rf conftest*
17888
17889 wx_cv_func_pthread_cleanup_push=yes
17890
17891 else
17892 echo "configure: failed program was:" >&5
17893 cat conftest.$ac_ext >&5
17894 rm -rf conftest*
17895
17896 wx_cv_func_pthread_cleanup_push=no
17897
17898 fi
17899 rm -f conftest*
17900
17901 fi
17902
17903 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
17904
17905 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
17906 cat >> confdefs.h <<\EOF
17907 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
17908 EOF
17909
17910 fi
17911
17912
17913 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17914 CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
17915 fi
17916
17917 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
17918 echo "configure:17910: checking for pthread_mutexattr_t" >&5
17919 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
17920 echo $ac_n "(cached) $ac_c" 1>&6
17921 else
17922
17923 cat > conftest.$ac_ext <<EOF
17924 #line 17916 "configure"
17925 #include "confdefs.h"
17926 #include <pthread.h>
17927 int main() {
17928
17929 pthread_mutexattr_t attr;
17930 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
17931
17932 ; return 0; }
17933 EOF
17934 if { (eval echo configure:17926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17935 rm -rf conftest*
17936
17937 wx_cv_type_pthread_mutexattr_t=yes
17938
17939 else
17940 echo "configure: failed program was:" >&5
17941 cat conftest.$ac_ext >&5
17942 rm -rf conftest*
17943
17944 wx_cv_type_pthread_mutexattr_t=no
17945
17946
17947 fi
17948 rm -f conftest*
17949
17950 fi
17951
17952 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
17953
17954 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
17955 cat >> confdefs.h <<\EOF
17956 #define HAVE_PTHREAD_MUTEXATTR_T 1
17957 EOF
17958
17959 else
17960 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
17961 echo "configure:17953: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
17962 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
17963 echo $ac_n "(cached) $ac_c" 1>&6
17964 else
17965
17966 cat > conftest.$ac_ext <<EOF
17967 #line 17959 "configure"
17968 #include "confdefs.h"
17969 #include <pthread.h>
17970 int main() {
17971
17972 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
17973
17974 ; return 0; }
17975 EOF
17976 if { (eval echo configure:17968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17977 rm -rf conftest*
17978
17979 wx_cv_type_pthread_rec_mutex_init=yes
17980
17981 else
17982 echo "configure: failed program was:" >&5
17983 cat conftest.$ac_ext >&5
17984 rm -rf conftest*
17985
17986 wx_cv_type_pthread_rec_mutex_init=no
17987
17988
17989 fi
17990 rm -f conftest*
17991
17992 fi
17993
17994 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
17995 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
17996 cat >> confdefs.h <<\EOF
17997 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
17998 EOF
17999
18000 else
18001 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
18002 fi
18003 fi
18004 fi
18005
18006 fi
18007
18008 if test "$wxUSE_THREADS" = "yes"; then
18009 cat >> confdefs.h <<\EOF
18010 #define wxUSE_THREADS 1
18011 EOF
18012
18013
18014 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
18015 else
18016 if test "$ac_cv_func_strtok_r" = "yes"; then
18017 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
18018 echo "configure:18010: checking if -D_REENTRANT is needed" >&5
18019 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
18020 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
18021 echo "$ac_t""yes" 1>&6
18022 else
18023 echo "$ac_t""no" 1>&6
18024 fi
18025 fi
18026 fi
18027
18028 if test "$WXGTK20" = 1 ; then
18029 cat >> confdefs.h <<EOF
18030 #define __WXGTK20__ $WXGTK20
18031 EOF
18032
18033 WXGTK12=1
18034 fi
18035
18036 if test "$WXGTK12" = 1 ; then
18037 cat >> confdefs.h <<EOF
18038 #define __WXGTK12__ $WXGTK12
18039 EOF
18040
18041 fi
18042
18043 if test "$WXGTK127" = 1 ; then
18044 cat >> confdefs.h <<EOF
18045 #define __WXGTK127__ $WXGTK127
18046 EOF
18047
18048 fi
18049
18050 WXDEBUG=
18051
18052 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
18053 WXDEBUG="-g"
18054 wxUSE_OPTIMISE=no
18055 fi
18056
18057 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
18058 wxUSE_DEBUG_INFO=yes
18059 WXDEBUG="-ggdb"
18060 fi
18061
18062 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
18063 cat >> confdefs.h <<\EOF
18064 #define WXDEBUG 1
18065 EOF
18066
18067 WXDEBUG_DEFINE="-D__WXDEBUG__"
18068 else
18069 if test "$wxUSE_GTK" = 1 ; then
18070 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
18071 fi
18072 fi
18073
18074 if test "$wxUSE_MEM_TRACING" = "yes" ; then
18075 cat >> confdefs.h <<\EOF
18076 #define wxUSE_MEMORY_TRACING 1
18077 EOF
18078
18079 cat >> confdefs.h <<\EOF
18080 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
18081 EOF
18082
18083 cat >> confdefs.h <<\EOF
18084 #define wxUSE_DEBUG_NEW_ALWAYS 1
18085 EOF
18086
18087 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
18088 fi
18089
18090 if test "$wxUSE_DMALLOC" = "yes" ; then
18091 DMALLOC_LIBS="-ldmalloc"
18092 fi
18093
18094 PROFILE=
18095 if test "$wxUSE_PROFILE" = "yes" ; then
18096 PROFILE=" -pg"
18097 fi
18098
18099 CODE_GEN_FLAGS=
18100 CODE_GEN_FLAGS_CXX=
18101 if test "$GCC" = "yes" ; then
18102 if test "$wxUSE_NO_RTTI" = "yes" ; then
18103 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
18104 fi
18105 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
18106 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
18107 fi
18108 if test "$wxUSE_PERMISSIVE" = "yes" ; then
18109 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
18110 fi
18111 if test "$USE_WIN32" = 1 ; then
18112 # I'm not even really sure what this was ever added to solve,
18113 # but someone added it for mingw native builds, so I guess
18114 # they had a reason, right??
18115 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fno-pcc-struct-return"
18116 fi
18117 fi
18118
18119 if test "$wxUSE_OPTIMISE" = "no" ; then
18120 OPTIMISE=
18121 else
18122 if test "$GCC" = yes ; then
18123 OPTIMISE="-O2"
18124 case "${host}" in
18125 i586-*-*|i686-*-* )
18126 OPTIMISE="${OPTIMISE} "
18127 ;;
18128 esac
18129 else
18130 OPTIMISE="-O"
18131 fi
18132 fi
18133
18134 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
18135 cat >> confdefs.h <<\EOF
18136 #define WXWIN_COMPATIBILITY_2 1
18137 EOF
18138
18139
18140 WXWIN_COMPATIBILITY_2_2="yes"
18141 fi
18142
18143 if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
18144 cat >> confdefs.h <<\EOF
18145 #define WXWIN_COMPATIBILITY_2_2 1
18146 EOF
18147
18148 fi
18149
18150
18151 if test "$wxUSE_GUI" = "yes"; then
18152 cat >> confdefs.h <<\EOF
18153 #define wxUSE_GUI 1
18154 EOF
18155
18156
18157 else
18158 cat >> confdefs.h <<\EOF
18159 #define wxUSE_NOGUI 1
18160 EOF
18161
18162 fi
18163
18164
18165 if test "$wxUSE_UNIX" = "yes"; then
18166 cat >> confdefs.h <<\EOF
18167 #define wxUSE_UNIX 1
18168 EOF
18169
18170 fi
18171
18172
18173 if test "$wxUSE_APPLE_IEEE" = "yes"; then
18174 cat >> confdefs.h <<\EOF
18175 #define wxUSE_APPLE_IEEE 1
18176 EOF
18177
18178 fi
18179
18180 if test "$wxUSE_TIMER" = "yes"; then
18181 cat >> confdefs.h <<\EOF
18182 #define wxUSE_TIMER 1
18183 EOF
18184
18185 fi
18186
18187 if test "$wxUSE_WAVE" = "yes"; then
18188 cat >> confdefs.h <<\EOF
18189 #define wxUSE_WAVE 1
18190 EOF
18191
18192 fi
18193
18194 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
18195 cat >> confdefs.h <<\EOF
18196 #define wxUSE_CMDLINE_PARSER 1
18197 EOF
18198
18199 fi
18200
18201 if test "$wxUSE_STOPWATCH" = "yes"; then
18202 cat >> confdefs.h <<\EOF
18203 #define wxUSE_STOPWATCH 1
18204 EOF
18205
18206 fi
18207
18208 if test "$wxUSE_DATETIME" = "yes"; then
18209 cat >> confdefs.h <<\EOF
18210 #define wxUSE_DATETIME 1
18211 EOF
18212
18213 fi
18214
18215 if test "$wxUSE_TIMEDATE" = "yes"; then
18216 cat >> confdefs.h <<\EOF
18217 #define wxUSE_TIMEDATE 1
18218 EOF
18219
18220 fi
18221
18222 if test "$wxUSE_FILE" = "yes"; then
18223 cat >> confdefs.h <<\EOF
18224 #define wxUSE_FILE 1
18225 EOF
18226
18227 fi
18228
18229 if test "$wxUSE_FFILE" = "yes"; then
18230 cat >> confdefs.h <<\EOF
18231 #define wxUSE_FFILE 1
18232 EOF
18233
18234 fi
18235
18236 if test "$wxUSE_FILESYSTEM" = "yes"; then
18237 cat >> confdefs.h <<\EOF
18238 #define wxUSE_FILESYSTEM 1
18239 EOF
18240
18241 fi
18242
18243 if test "$wxUSE_FS_INET" = "yes"; then
18244 cat >> confdefs.h <<\EOF
18245 #define wxUSE_FS_INET 1
18246 EOF
18247
18248 fi
18249
18250 if test "$wxUSE_FS_ZIP" = "yes"; then
18251 cat >> confdefs.h <<\EOF
18252 #define wxUSE_FS_ZIP 1
18253 EOF
18254
18255 fi
18256
18257 if test "$wxUSE_ZIPSTREAM" = "yes"; then
18258 cat >> confdefs.h <<\EOF
18259 #define wxUSE_ZIPSTREAM 1
18260 EOF
18261
18262 fi
18263
18264 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
18265 cat >> confdefs.h <<\EOF
18266 #define wxUSE_ON_FATAL_EXCEPTION 1
18267 EOF
18268
18269 fi
18270
18271 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
18272 cat >> confdefs.h <<\EOF
18273 #define wxUSE_SNGLINST_CHECKER 1
18274 EOF
18275
18276 fi
18277
18278 if test "$wxUSE_BUSYINFO" = "yes"; then
18279 cat >> confdefs.h <<\EOF
18280 #define wxUSE_BUSYINFO 1
18281 EOF
18282
18283 fi
18284
18285 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
18286 cat >> confdefs.h <<\EOF
18287 #define wxUSE_STD_IOSTREAM 1
18288 EOF
18289
18290 fi
18291
18292 if test "$wxUSE_TEXTBUFFER" = "yes"; then
18293 cat >> confdefs.h <<\EOF
18294 #define wxUSE_TEXTBUFFER 1
18295 EOF
18296
18297 fi
18298
18299 if test "$wxUSE_TEXTFILE" = "yes"; then
18300 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
18301 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
18302 else
18303 cat >> confdefs.h <<\EOF
18304 #define wxUSE_TEXTFILE 1
18305 EOF
18306
18307 fi
18308 fi
18309
18310 if test "$wxUSE_CONFIG" = "yes" ; then
18311 if test "$wxUSE_TEXTFILE" != "yes"; then
18312 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
18313 else
18314 cat >> confdefs.h <<\EOF
18315 #define wxUSE_CONFIG 1
18316 EOF
18317
18318 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
18319 fi
18320 fi
18321
18322 if test "$wxUSE_INTL" = "yes" ; then
18323 if test "$wxUSE_FILE" != "yes"; then
18324 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
18325 else
18326 cat >> confdefs.h <<\EOF
18327 #define wxUSE_INTL 1
18328 EOF
18329
18330 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
18331 GUIDIST="$GUIDIST INTL_DIST"
18332 fi
18333 fi
18334
18335 if test "$wxUSE_LOG" = "yes"; then
18336 cat >> confdefs.h <<\EOF
18337 #define wxUSE_LOG 1
18338 EOF
18339
18340
18341 if test "$wxUSE_LOGGUI" = "yes"; then
18342 cat >> confdefs.h <<\EOF
18343 #define wxUSE_LOGGUI 1
18344 EOF
18345
18346 fi
18347
18348 if test "$wxUSE_LOGWINDOW" = "yes"; then
18349 cat >> confdefs.h <<\EOF
18350 #define wxUSE_LOGWINDOW 1
18351 EOF
18352
18353 fi
18354
18355 if test "$wxUSE_LOGDIALOG" = "yes"; then
18356 cat >> confdefs.h <<\EOF
18357 #define wxUSE_LOG_DIALOG 1
18358 EOF
18359
18360 fi
18361 fi
18362
18363 if test "$wxUSE_LONGLONG" = "yes"; then
18364 cat >> confdefs.h <<\EOF
18365 #define wxUSE_LONGLONG 1
18366 EOF
18367
18368 fi
18369
18370 if test "$wxUSE_GEOMETRY" = "yes"; then
18371 cat >> confdefs.h <<\EOF
18372 #define wxUSE_GEOMETRY 1
18373 EOF
18374
18375 fi
18376
18377 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
18378 cat >> confdefs.h <<\EOF
18379 #define wxUSE_DIALUP_MANAGER 1
18380 EOF
18381
18382 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
18383 fi
18384
18385 if test "$wxUSE_STREAMS" = "yes" ; then
18386 cat >> confdefs.h <<\EOF
18387 #define wxUSE_STREAMS 1
18388 EOF
18389
18390 fi
18391
18392
18393 if test "$wxUSE_DATETIME" = "yes"; then
18394 for ac_func in strptime
18395 do
18396 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18397 echo "configure:18389: checking for $ac_func" >&5
18398 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18399 echo $ac_n "(cached) $ac_c" 1>&6
18400 else
18401 cat > conftest.$ac_ext <<EOF
18402 #line 18394 "configure"
18403 #include "confdefs.h"
18404 /* System header to define __stub macros and hopefully few prototypes,
18405 which can conflict with char $ac_func(); below. */
18406 #include <assert.h>
18407 /* Override any gcc2 internal prototype to avoid an error. */
18408 /* We use char because int might match the return type of a gcc2
18409 builtin and then its argument prototype would still apply. */
18410 char $ac_func();
18411
18412 int main() {
18413
18414 /* The GNU C library defines this for functions which it implements
18415 to always fail with ENOSYS. Some functions are actually named
18416 something starting with __ and the normal name is an alias. */
18417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18418 choke me
18419 #else
18420 $ac_func();
18421 #endif
18422
18423 ; return 0; }
18424 EOF
18425 if { (eval echo configure:18417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18426 rm -rf conftest*
18427 eval "ac_cv_func_$ac_func=yes"
18428 else
18429 echo "configure: failed program was:" >&5
18430 cat conftest.$ac_ext >&5
18431 rm -rf conftest*
18432 eval "ac_cv_func_$ac_func=no"
18433 fi
18434 rm -f conftest*
18435 fi
18436
18437 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18438 echo "$ac_t""yes" 1>&6
18439 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18440 cat >> confdefs.h <<EOF
18441 #define $ac_tr_func 1
18442 EOF
18443
18444 else
18445 echo "$ac_t""no" 1>&6
18446 fi
18447 done
18448
18449
18450 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
18451 echo "configure:18443: checking for timezone variable in <time.h>" >&5
18452 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
18453 echo $ac_n "(cached) $ac_c" 1>&6
18454 else
18455
18456 cat > conftest.$ac_ext <<EOF
18457 #line 18449 "configure"
18458 #include "confdefs.h"
18459
18460 #include <time.h>
18461
18462 int main() {
18463
18464 int tz;
18465 tz = timezone;
18466
18467 ; return 0; }
18468 EOF
18469 if { (eval echo configure:18461: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18470 rm -rf conftest*
18471
18472 wx_cv_var_timezone=timezone
18473
18474 else
18475 echo "configure: failed program was:" >&5
18476 cat conftest.$ac_ext >&5
18477 rm -rf conftest*
18478
18479 cat > conftest.$ac_ext <<EOF
18480 #line 18472 "configure"
18481 #include "confdefs.h"
18482
18483 #include <time.h>
18484
18485 int main() {
18486
18487 int tz;
18488 tz = _timezone;
18489
18490 ; return 0; }
18491 EOF
18492 if { (eval echo configure:18484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18493 rm -rf conftest*
18494
18495 wx_cv_var_timezone=_timezone
18496
18497 else
18498 echo "configure: failed program was:" >&5
18499 cat conftest.$ac_ext >&5
18500 rm -rf conftest*
18501
18502 cat > conftest.$ac_ext <<EOF
18503 #line 18495 "configure"
18504 #include "confdefs.h"
18505
18506 #include <time.h>
18507
18508 int main() {
18509
18510 int tz;
18511 tz = __timezone;
18512
18513 ; return 0; }
18514 EOF
18515 if { (eval echo configure:18507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18516 rm -rf conftest*
18517
18518 wx_cv_var_timezone=__timezone
18519
18520 else
18521 echo "configure: failed program was:" >&5
18522 cat conftest.$ac_ext >&5
18523 rm -rf conftest*
18524
18525 if test "$USE_DOS" = 0 ; then
18526 echo "configure: warning: no timezone variable" 1>&2
18527 fi
18528
18529
18530 fi
18531 rm -f conftest*
18532
18533
18534 fi
18535 rm -f conftest*
18536
18537
18538 fi
18539 rm -f conftest*
18540
18541
18542 fi
18543
18544 echo "$ac_t""$wx_cv_var_timezone" 1>&6
18545
18546 if test "x$wx_cv_var_timezone" != x ; then
18547 cat >> confdefs.h <<EOF
18548 #define WX_TIMEZONE $wx_cv_var_timezone
18549 EOF
18550
18551 fi
18552
18553 for ac_func in localtime
18554 do
18555 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18556 echo "configure:18548: checking for $ac_func" >&5
18557 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18558 echo $ac_n "(cached) $ac_c" 1>&6
18559 else
18560 cat > conftest.$ac_ext <<EOF
18561 #line 18553 "configure"
18562 #include "confdefs.h"
18563 /* System header to define __stub macros and hopefully few prototypes,
18564 which can conflict with char $ac_func(); below. */
18565 #include <assert.h>
18566 /* Override any gcc2 internal prototype to avoid an error. */
18567 /* We use char because int might match the return type of a gcc2
18568 builtin and then its argument prototype would still apply. */
18569 char $ac_func();
18570
18571 int main() {
18572
18573 /* The GNU C library defines this for functions which it implements
18574 to always fail with ENOSYS. Some functions are actually named
18575 something starting with __ and the normal name is an alias. */
18576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18577 choke me
18578 #else
18579 $ac_func();
18580 #endif
18581
18582 ; return 0; }
18583 EOF
18584 if { (eval echo configure:18576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18585 rm -rf conftest*
18586 eval "ac_cv_func_$ac_func=yes"
18587 else
18588 echo "configure: failed program was:" >&5
18589 cat conftest.$ac_ext >&5
18590 rm -rf conftest*
18591 eval "ac_cv_func_$ac_func=no"
18592 fi
18593 rm -f conftest*
18594 fi
18595
18596 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18597 echo "$ac_t""yes" 1>&6
18598 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18599 cat >> confdefs.h <<EOF
18600 #define $ac_tr_func 1
18601 EOF
18602
18603 else
18604 echo "$ac_t""no" 1>&6
18605 fi
18606 done
18607
18608
18609 if test "$ac_cv_func_localtime" = "yes"; then
18610 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
18611 echo "configure:18603: checking for tm_gmtoff in struct tm" >&5
18612 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
18613 echo $ac_n "(cached) $ac_c" 1>&6
18614 else
18615
18616 cat > conftest.$ac_ext <<EOF
18617 #line 18609 "configure"
18618 #include "confdefs.h"
18619
18620 #include <time.h>
18621
18622 int main() {
18623
18624 struct tm tm;
18625 tm.tm_gmtoff++;
18626
18627 ; return 0; }
18628 EOF
18629 if { (eval echo configure:18621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18630 rm -rf conftest*
18631
18632 wx_cv_struct_tm_has_gmtoff=yes
18633
18634 else
18635 echo "configure: failed program was:" >&5
18636 cat conftest.$ac_ext >&5
18637 rm -rf conftest*
18638 wx_cv_struct_tm_has_gmtoff=no
18639
18640 fi
18641 rm -f conftest*
18642
18643 fi
18644
18645 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
18646 fi
18647
18648 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
18649 cat >> confdefs.h <<\EOF
18650 #define WX_GMTOFF_IN_TM 1
18651 EOF
18652
18653 fi
18654
18655 for ac_func in gettimeofday ftime
18656 do
18657 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18658 echo "configure:18650: checking for $ac_func" >&5
18659 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18660 echo $ac_n "(cached) $ac_c" 1>&6
18661 else
18662 cat > conftest.$ac_ext <<EOF
18663 #line 18655 "configure"
18664 #include "confdefs.h"
18665 /* System header to define __stub macros and hopefully few prototypes,
18666 which can conflict with char $ac_func(); below. */
18667 #include <assert.h>
18668 /* Override any gcc2 internal prototype to avoid an error. */
18669 /* We use char because int might match the return type of a gcc2
18670 builtin and then its argument prototype would still apply. */
18671 char $ac_func();
18672
18673 int main() {
18674
18675 /* The GNU C library defines this for functions which it implements
18676 to always fail with ENOSYS. Some functions are actually named
18677 something starting with __ and the normal name is an alias. */
18678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18679 choke me
18680 #else
18681 $ac_func();
18682 #endif
18683
18684 ; return 0; }
18685 EOF
18686 if { (eval echo configure:18678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18687 rm -rf conftest*
18688 eval "ac_cv_func_$ac_func=yes"
18689 else
18690 echo "configure: failed program was:" >&5
18691 cat conftest.$ac_ext >&5
18692 rm -rf conftest*
18693 eval "ac_cv_func_$ac_func=no"
18694 fi
18695 rm -f conftest*
18696 fi
18697
18698 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18699 echo "$ac_t""yes" 1>&6
18700 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18701 cat >> confdefs.h <<EOF
18702 #define $ac_tr_func 1
18703 EOF
18704 break
18705 else
18706 echo "$ac_t""no" 1>&6
18707 fi
18708 done
18709
18710
18711 if test "$ac_cv_func_gettimeofday" = "yes"; then
18712 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
18713 echo "configure:18705: checking whether gettimeofday takes two arguments" >&5
18714 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
18715 echo $ac_n "(cached) $ac_c" 1>&6
18716 else
18717
18718
18719 ac_ext=C
18720 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18721 ac_cpp='$CXXCPP $CPPFLAGS'
18722 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18723 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18724 cross_compiling=$ac_cv_prog_cxx_cross
18725
18726
18727 cat > conftest.$ac_ext <<EOF
18728 #line 18720 "configure"
18729 #include "confdefs.h"
18730
18731 #include <sys/time.h>
18732 #include <unistd.h>
18733
18734 int main() {
18735
18736 struct timeval tv;
18737 gettimeofday(&tv, NULL);
18738
18739 ; return 0; }
18740 EOF
18741 if { (eval echo configure:18733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18742 rm -rf conftest*
18743 wx_cv_func_gettimeofday_has_2_args=yes
18744 else
18745 echo "configure: failed program was:" >&5
18746 cat conftest.$ac_ext >&5
18747 rm -rf conftest*
18748 cat > conftest.$ac_ext <<EOF
18749 #line 18741 "configure"
18750 #include "confdefs.h"
18751
18752 #include <sys/time.h>
18753 #include <unistd.h>
18754
18755 int main() {
18756
18757 struct timeval tv;
18758 gettimeofday(&tv);
18759
18760 ; return 0; }
18761 EOF
18762 if { (eval echo configure:18754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18763 rm -rf conftest*
18764 wx_cv_func_gettimeofday_has_2_args=no
18765 else
18766 echo "configure: failed program was:" >&5
18767 cat conftest.$ac_ext >&5
18768 rm -rf conftest*
18769
18770 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
18771 wx_cv_func_gettimeofday_has_2_args=unknown
18772
18773
18774 fi
18775 rm -f conftest*
18776
18777 fi
18778 rm -f conftest*
18779 ac_ext=c
18780 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18781 ac_cpp='$CPP $CPPFLAGS'
18782 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18783 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18784 cross_compiling=$ac_cv_prog_cc_cross
18785
18786
18787 fi
18788
18789 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
18790
18791 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
18792 cat >> confdefs.h <<\EOF
18793 #define WX_GETTIMEOFDAY_NO_TZ 1
18794 EOF
18795
18796 fi
18797 fi
18798
18799 cat >> confdefs.h <<\EOF
18800 #define wxUSE_TIMEDATE 1
18801 EOF
18802
18803 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
18804 fi
18805
18806
18807 if test "$wxUSE_SOCKETS" = "yes"; then
18808 if test "$TOOLKIT" = "X11"; then
18809 echo "configure: warning: wxSocket not yet supported under X11... disabled" 1>&2
18810 wxUSE_SOCKETS="no"
18811 fi
18812 fi
18813
18814 if test "$wxUSE_SOCKETS" = "yes"; then
18815 if test "$TOOLKIT" != "MSW"; then
18816 echo $ac_n "checking for socket""... $ac_c" 1>&6
18817 echo "configure:18809: checking for socket" >&5
18818 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
18819 echo $ac_n "(cached) $ac_c" 1>&6
18820 else
18821 cat > conftest.$ac_ext <<EOF
18822 #line 18814 "configure"
18823 #include "confdefs.h"
18824 /* System header to define __stub macros and hopefully few prototypes,
18825 which can conflict with char socket(); below. */
18826 #include <assert.h>
18827 /* Override any gcc2 internal prototype to avoid an error. */
18828 /* We use char because int might match the return type of a gcc2
18829 builtin and then its argument prototype would still apply. */
18830 char socket();
18831
18832 int main() {
18833
18834 /* The GNU C library defines this for functions which it implements
18835 to always fail with ENOSYS. Some functions are actually named
18836 something starting with __ and the normal name is an alias. */
18837 #if defined (__stub_socket) || defined (__stub___socket)
18838 choke me
18839 #else
18840 socket();
18841 #endif
18842
18843 ; return 0; }
18844 EOF
18845 if { (eval echo configure:18837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18846 rm -rf conftest*
18847 eval "ac_cv_func_socket=yes"
18848 else
18849 echo "configure: failed program was:" >&5
18850 cat conftest.$ac_ext >&5
18851 rm -rf conftest*
18852 eval "ac_cv_func_socket=no"
18853 fi
18854 rm -f conftest*
18855 fi
18856
18857 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
18858 echo "$ac_t""yes" 1>&6
18859 :
18860 else
18861 echo "$ac_t""no" 1>&6
18862 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
18863 echo "configure:18855: checking for socket in -lsocket" >&5
18864 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
18865 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18866 echo $ac_n "(cached) $ac_c" 1>&6
18867 else
18868 ac_save_LIBS="$LIBS"
18869 LIBS="-lsocket $LIBS"
18870 cat > conftest.$ac_ext <<EOF
18871 #line 18863 "configure"
18872 #include "confdefs.h"
18873 /* Override any gcc2 internal prototype to avoid an error. */
18874 /* We use char because int might match the return type of a gcc2
18875 builtin and then its argument prototype would still apply. */
18876 char socket();
18877
18878 int main() {
18879 socket()
18880 ; return 0; }
18881 EOF
18882 if { (eval echo configure:18874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18883 rm -rf conftest*
18884 eval "ac_cv_lib_$ac_lib_var=yes"
18885 else
18886 echo "configure: failed program was:" >&5
18887 cat conftest.$ac_ext >&5
18888 rm -rf conftest*
18889 eval "ac_cv_lib_$ac_lib_var=no"
18890 fi
18891 rm -f conftest*
18892 LIBS="$ac_save_LIBS"
18893
18894 fi
18895 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18896 echo "$ac_t""yes" 1>&6
18897 if test "$INET_LINK" != " -lsocket"; then
18898 INET_LINK="$INET_LINK -lsocket"
18899 fi
18900 else
18901 echo "$ac_t""no" 1>&6
18902
18903 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
18904 wxUSE_SOCKETS=no
18905
18906
18907 fi
18908
18909
18910 fi
18911
18912 fi
18913 fi
18914
18915 if test "$wxUSE_SOCKETS" = "yes" ; then
18916 if test "$TOOLKIT" != "MSW"; then
18917 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
18918 echo "configure:18910: checking what is the type of the third argument of getsockname" >&5
18919 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
18920 echo $ac_n "(cached) $ac_c" 1>&6
18921 else
18922
18923
18924 ac_ext=C
18925 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18926 ac_cpp='$CXXCPP $CPPFLAGS'
18927 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18928 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18929 cross_compiling=$ac_cv_prog_cxx_cross
18930
18931
18932 cat > conftest.$ac_ext <<EOF
18933 #line 18925 "configure"
18934 #include "confdefs.h"
18935
18936 #include <sys/types.h>
18937 #include <sys/socket.h>
18938
18939 int main() {
18940
18941 socklen_t len;
18942 getsockname(0, 0, &len);
18943
18944 ; return 0; }
18945 EOF
18946 if { (eval echo configure:18938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18947 rm -rf conftest*
18948 wx_cv_type_getsockname3=socklen_t
18949 else
18950 echo "configure: failed program was:" >&5
18951 cat conftest.$ac_ext >&5
18952 rm -rf conftest*
18953 cat > conftest.$ac_ext <<EOF
18954 #line 18946 "configure"
18955 #include "confdefs.h"
18956
18957 #include <sys/types.h>
18958 #include <sys/socket.h>
18959
18960 int main() {
18961
18962 size_t len;
18963 getsockname(0, 0, &len);
18964
18965 ; return 0; }
18966 EOF
18967 if { (eval echo configure:18959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18968 rm -rf conftest*
18969 wx_cv_type_getsockname3=size_t
18970 else
18971 echo "configure: failed program was:" >&5
18972 cat conftest.$ac_ext >&5
18973 rm -rf conftest*
18974 cat > conftest.$ac_ext <<EOF
18975 #line 18967 "configure"
18976 #include "confdefs.h"
18977
18978 #include <sys/types.h>
18979 #include <sys/socket.h>
18980
18981 int main() {
18982
18983 int len;
18984 getsockname(0, 0, &len);
18985
18986 ; return 0; }
18987 EOF
18988 if { (eval echo configure:18980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18989 rm -rf conftest*
18990 wx_cv_type_getsockname3=int
18991 else
18992 echo "configure: failed program was:" >&5
18993 cat conftest.$ac_ext >&5
18994 rm -rf conftest*
18995 wx_cv_type_getsockname3=unknown
18996
18997 fi
18998 rm -f conftest*
18999
19000 fi
19001 rm -f conftest*
19002
19003 fi
19004 rm -f conftest*
19005
19006 ac_ext=c
19007 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19008 ac_cpp='$CPP $CPPFLAGS'
19009 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19010 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19011 cross_compiling=$ac_cv_prog_cc_cross
19012
19013
19014 fi
19015
19016 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
19017
19018 if test "$wx_cv_type_getsockname3" = "unknown"; then
19019 wxUSE_SOCKETS=no
19020 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
19021 else
19022 cat >> confdefs.h <<EOF
19023 #define SOCKLEN_T $wx_cv_type_getsockname3
19024 EOF
19025
19026 fi
19027 fi
19028 fi
19029
19030 if test "$wxUSE_SOCKETS" = "yes" ; then
19031 cat >> confdefs.h <<\EOF
19032 #define wxUSE_SOCKETS 1
19033 EOF
19034
19035 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
19036 fi
19037
19038
19039 if test "$wxUSE_GUI" = "yes"; then
19040
19041 if test "$TOOLKIT" = "MAC"; then
19042 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
19043 wxUSE_JOYSTICK=no
19044 fi
19045 if test "$TOOLKIT" = "MOTIF"; then
19046 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
19047 wxUSE_JOYSTICK=no
19048 fi
19049 if test "$TOOLKIT" = "X11"; then
19050 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
19051 wxUSE_JOYSTICK=no
19052 fi
19053
19054 if test "$TOOLKIT" != "MSW"; then
19055 if test "$wxUSE_JOYSTICK" = "yes"; then
19056 for ac_hdr in linux/joystick.h
19057 do
19058 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19059 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19060 echo "configure:19052: checking for $ac_hdr" >&5
19061 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19062 echo $ac_n "(cached) $ac_c" 1>&6
19063 else
19064 cat > conftest.$ac_ext <<EOF
19065 #line 19057 "configure"
19066 #include "confdefs.h"
19067 #include <$ac_hdr>
19068 EOF
19069 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19070 { (eval echo configure:19062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19071 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19072 if test -z "$ac_err"; then
19073 rm -rf conftest*
19074 eval "ac_cv_header_$ac_safe=yes"
19075 else
19076 echo "$ac_err" >&5
19077 echo "configure: failed program was:" >&5
19078 cat conftest.$ac_ext >&5
19079 rm -rf conftest*
19080 eval "ac_cv_header_$ac_safe=no"
19081 fi
19082 rm -f conftest*
19083 fi
19084 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19085 echo "$ac_t""yes" 1>&6
19086 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19087 cat >> confdefs.h <<EOF
19088 #define $ac_tr_hdr 1
19089 EOF
19090
19091 else
19092 echo "$ac_t""no" 1>&6
19093 fi
19094 done
19095
19096 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
19097 wxUSE_JOYSTICK=no
19098 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
19099 fi
19100 fi
19101 fi
19102
19103 if test "$wxUSE_JOYSTICK" = "yes"; then
19104 cat >> confdefs.h <<\EOF
19105 #define wxUSE_JOYSTICK 1
19106 EOF
19107
19108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
19109 fi
19110 fi
19111
19112
19113 if test "$TOOLKIT" != "MSW"; then
19114
19115 HAVE_DL_FUNCS=0
19116 HAVE_SHL_FUNCS=0
19117 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19118 if test "$USE_DARWIN" = 1; then
19119 HAVE_DL_FUNCS=1
19120 else
19121 for ac_func in dlopen
19122 do
19123 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19124 echo "configure:19116: checking for $ac_func" >&5
19125 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19126 echo $ac_n "(cached) $ac_c" 1>&6
19127 else
19128 cat > conftest.$ac_ext <<EOF
19129 #line 19121 "configure"
19130 #include "confdefs.h"
19131 /* System header to define __stub macros and hopefully few prototypes,
19132 which can conflict with char $ac_func(); below. */
19133 #include <assert.h>
19134 /* Override any gcc2 internal prototype to avoid an error. */
19135 /* We use char because int might match the return type of a gcc2
19136 builtin and then its argument prototype would still apply. */
19137 char $ac_func();
19138
19139 int main() {
19140
19141 /* The GNU C library defines this for functions which it implements
19142 to always fail with ENOSYS. Some functions are actually named
19143 something starting with __ and the normal name is an alias. */
19144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19145 choke me
19146 #else
19147 $ac_func();
19148 #endif
19149
19150 ; return 0; }
19151 EOF
19152 if { (eval echo configure:19144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19153 rm -rf conftest*
19154 eval "ac_cv_func_$ac_func=yes"
19155 else
19156 echo "configure: failed program was:" >&5
19157 cat conftest.$ac_ext >&5
19158 rm -rf conftest*
19159 eval "ac_cv_func_$ac_func=no"
19160 fi
19161 rm -f conftest*
19162 fi
19163
19164 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19165 echo "$ac_t""yes" 1>&6
19166 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19167 cat >> confdefs.h <<EOF
19168 #define $ac_tr_func 1
19169 EOF
19170
19171 cat >> confdefs.h <<\EOF
19172 #define HAVE_DLOPEN 1
19173 EOF
19174
19175 HAVE_DL_FUNCS=1
19176
19177 else
19178 echo "$ac_t""no" 1>&6
19179 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
19180 echo "configure:19172: checking for dlopen in -ldl" >&5
19181 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
19182 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19183 echo $ac_n "(cached) $ac_c" 1>&6
19184 else
19185 ac_save_LIBS="$LIBS"
19186 LIBS="-ldl $LIBS"
19187 cat > conftest.$ac_ext <<EOF
19188 #line 19180 "configure"
19189 #include "confdefs.h"
19190 /* Override any gcc2 internal prototype to avoid an error. */
19191 /* We use char because int might match the return type of a gcc2
19192 builtin and then its argument prototype would still apply. */
19193 char dlopen();
19194
19195 int main() {
19196 dlopen()
19197 ; return 0; }
19198 EOF
19199 if { (eval echo configure:19191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19200 rm -rf conftest*
19201 eval "ac_cv_lib_$ac_lib_var=yes"
19202 else
19203 echo "configure: failed program was:" >&5
19204 cat conftest.$ac_ext >&5
19205 rm -rf conftest*
19206 eval "ac_cv_lib_$ac_lib_var=no"
19207 fi
19208 rm -f conftest*
19209 LIBS="$ac_save_LIBS"
19210
19211 fi
19212 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19213 echo "$ac_t""yes" 1>&6
19214
19215 cat >> confdefs.h <<\EOF
19216 #define HAVE_DLOPEN 1
19217 EOF
19218
19219 HAVE_DL_FUNCS=1
19220 DL_LINK=" -ldl$DL_LINK"
19221
19222 else
19223 echo "$ac_t""no" 1>&6
19224
19225 for ac_func in shl_load
19226 do
19227 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19228 echo "configure:19220: checking for $ac_func" >&5
19229 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19230 echo $ac_n "(cached) $ac_c" 1>&6
19231 else
19232 cat > conftest.$ac_ext <<EOF
19233 #line 19225 "configure"
19234 #include "confdefs.h"
19235 /* System header to define __stub macros and hopefully few prototypes,
19236 which can conflict with char $ac_func(); below. */
19237 #include <assert.h>
19238 /* Override any gcc2 internal prototype to avoid an error. */
19239 /* We use char because int might match the return type of a gcc2
19240 builtin and then its argument prototype would still apply. */
19241 char $ac_func();
19242
19243 int main() {
19244
19245 /* The GNU C library defines this for functions which it implements
19246 to always fail with ENOSYS. Some functions are actually named
19247 something starting with __ and the normal name is an alias. */
19248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19249 choke me
19250 #else
19251 $ac_func();
19252 #endif
19253
19254 ; return 0; }
19255 EOF
19256 if { (eval echo configure:19248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19257 rm -rf conftest*
19258 eval "ac_cv_func_$ac_func=yes"
19259 else
19260 echo "configure: failed program was:" >&5
19261 cat conftest.$ac_ext >&5
19262 rm -rf conftest*
19263 eval "ac_cv_func_$ac_func=no"
19264 fi
19265 rm -f conftest*
19266 fi
19267
19268 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19269 echo "$ac_t""yes" 1>&6
19270 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19271 cat >> confdefs.h <<EOF
19272 #define $ac_tr_func 1
19273 EOF
19274
19275 cat >> confdefs.h <<\EOF
19276 #define HAVE_SHL_LOAD 1
19277 EOF
19278
19279 HAVE_SHL_FUNCS=1
19280
19281 else
19282 echo "$ac_t""no" 1>&6
19283 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
19284 echo "configure:19276: checking for dld in -lshl_load" >&5
19285 ac_lib_var=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
19286 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19287 echo $ac_n "(cached) $ac_c" 1>&6
19288 else
19289 ac_save_LIBS="$LIBS"
19290 LIBS="-lshl_load $LIBS"
19291 cat > conftest.$ac_ext <<EOF
19292 #line 19284 "configure"
19293 #include "confdefs.h"
19294 /* Override any gcc2 internal prototype to avoid an error. */
19295 /* We use char because int might match the return type of a gcc2
19296 builtin and then its argument prototype would still apply. */
19297 char dld();
19298
19299 int main() {
19300 dld()
19301 ; return 0; }
19302 EOF
19303 if { (eval echo configure:19295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19304 rm -rf conftest*
19305 eval "ac_cv_lib_$ac_lib_var=yes"
19306 else
19307 echo "configure: failed program was:" >&5
19308 cat conftest.$ac_ext >&5
19309 rm -rf conftest*
19310 eval "ac_cv_lib_$ac_lib_var=no"
19311 fi
19312 rm -f conftest*
19313 LIBS="$ac_save_LIBS"
19314
19315 fi
19316 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19317 echo "$ac_t""yes" 1>&6
19318
19319 HAVE_SHL_FUNCS=1
19320 DL_LINK=" -ldld$DL_LINK"
19321
19322 else
19323 echo "$ac_t""no" 1>&6
19324 fi
19325
19326
19327 fi
19328 done
19329
19330
19331 fi
19332
19333
19334 fi
19335 done
19336
19337
19338 if test "$HAVE_DL_FUNCS" = 1; then
19339 for ac_func in dlerror
19340 do
19341 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19342 echo "configure:19334: checking for $ac_func" >&5
19343 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19344 echo $ac_n "(cached) $ac_c" 1>&6
19345 else
19346 cat > conftest.$ac_ext <<EOF
19347 #line 19339 "configure"
19348 #include "confdefs.h"
19349 /* System header to define __stub macros and hopefully few prototypes,
19350 which can conflict with char $ac_func(); below. */
19351 #include <assert.h>
19352 /* Override any gcc2 internal prototype to avoid an error. */
19353 /* We use char because int might match the return type of a gcc2
19354 builtin and then its argument prototype would still apply. */
19355 char $ac_func();
19356
19357 int main() {
19358
19359 /* The GNU C library defines this for functions which it implements
19360 to always fail with ENOSYS. Some functions are actually named
19361 something starting with __ and the normal name is an alias. */
19362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19363 choke me
19364 #else
19365 $ac_func();
19366 #endif
19367
19368 ; return 0; }
19369 EOF
19370 if { (eval echo configure:19362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19371 rm -rf conftest*
19372 eval "ac_cv_func_$ac_func=yes"
19373 else
19374 echo "configure: failed program was:" >&5
19375 cat conftest.$ac_ext >&5
19376 rm -rf conftest*
19377 eval "ac_cv_func_$ac_func=no"
19378 fi
19379 rm -f conftest*
19380 fi
19381
19382 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19383 echo "$ac_t""yes" 1>&6
19384 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19385 cat >> confdefs.h <<EOF
19386 #define $ac_tr_func 1
19387 EOF
19388 cat >> confdefs.h <<\EOF
19389 #define HAVE_DLERROR 1
19390 EOF
19391
19392 else
19393 echo "$ac_t""no" 1>&6
19394 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
19395 echo "configure:19387: checking for dlerror in -ldl" >&5
19396 ac_lib_var=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
19397 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19398 echo $ac_n "(cached) $ac_c" 1>&6
19399 else
19400 ac_save_LIBS="$LIBS"
19401 LIBS="-ldl $LIBS"
19402 cat > conftest.$ac_ext <<EOF
19403 #line 19395 "configure"
19404 #include "confdefs.h"
19405 /* Override any gcc2 internal prototype to avoid an error. */
19406 /* We use char because int might match the return type of a gcc2
19407 builtin and then its argument prototype would still apply. */
19408 char dlerror();
19409
19410 int main() {
19411 dlerror()
19412 ; return 0; }
19413 EOF
19414 if { (eval echo configure:19406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19415 rm -rf conftest*
19416 eval "ac_cv_lib_$ac_lib_var=yes"
19417 else
19418 echo "configure: failed program was:" >&5
19419 cat conftest.$ac_ext >&5
19420 rm -rf conftest*
19421 eval "ac_cv_lib_$ac_lib_var=no"
19422 fi
19423 rm -f conftest*
19424 LIBS="$ac_save_LIBS"
19425
19426 fi
19427 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19428 echo "$ac_t""yes" 1>&6
19429 cat >> confdefs.h <<\EOF
19430 #define HAVE_DLERROR 1
19431 EOF
19432
19433 else
19434 echo "$ac_t""no" 1>&6
19435 fi
19436
19437 fi
19438 done
19439
19440 fi
19441 fi
19442
19443 if test "$HAVE_DL_FUNCS" = 0; then
19444 if test "$HAVE_SHL_FUNCS" = 0; then
19445 if test "$USE_UNIX" = 1; then
19446 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
19447 wxUSE_DYNAMIC_LOADER=no
19448 wxUSE_DYNLIB_CLASS=no
19449 else
19450 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
19451 fi
19452 fi
19453 fi
19454 fi
19455 fi
19456
19457 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
19458 cat >> confdefs.h <<\EOF
19459 #define wxUSE_DYNAMIC_LOADER 1
19460 EOF
19461
19462 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19463 cat >> confdefs.h <<\EOF
19464 #define wxUSE_DYNLIB_CLASS 1
19465 EOF
19466
19467 fi
19468
19469
19470 if test "$wxUSE_FONTMAP" = "yes" ; then
19471 cat >> confdefs.h <<\EOF
19472 #define wxUSE_FONTMAP 1
19473 EOF
19474
19475 fi
19476
19477 if test "$wxUSE_UNICODE" = "yes" ; then
19478 cat >> confdefs.h <<\EOF
19479 #define wxUSE_UNICODE 1
19480 EOF
19481
19482
19483 if test "$wxUSE_MSW" != 1; then
19484 wxUSE_UNICODE_MSLU=no
19485 fi
19486
19487 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
19488 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
19489 echo "configure:19481: checking for main in -lunicows" >&5
19490 ac_lib_var=`echo unicows'_'main | sed 'y%./+-%__p_%'`
19491 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19492 echo $ac_n "(cached) $ac_c" 1>&6
19493 else
19494 ac_save_LIBS="$LIBS"
19495 LIBS="-lunicows $LIBS"
19496 cat > conftest.$ac_ext <<EOF
19497 #line 19489 "configure"
19498 #include "confdefs.h"
19499
19500 int main() {
19501 main()
19502 ; return 0; }
19503 EOF
19504 if { (eval echo configure:19496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19505 rm -rf conftest*
19506 eval "ac_cv_lib_$ac_lib_var=yes"
19507 else
19508 echo "configure: failed program was:" >&5
19509 cat conftest.$ac_ext >&5
19510 rm -rf conftest*
19511 eval "ac_cv_lib_$ac_lib_var=no"
19512 fi
19513 rm -f conftest*
19514 LIBS="$ac_save_LIBS"
19515
19516 fi
19517 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19518 echo "$ac_t""yes" 1>&6
19519
19520 cat >> confdefs.h <<\EOF
19521 #define wxUSE_UNICODE_MSLU 1
19522 EOF
19523
19524
19525 else
19526 echo "$ac_t""no" 1>&6
19527
19528 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
19529 Applications will only run on Windows NT/2000/XP!" 1>&2
19530 wxUSE_UNICODE_MSLU=no
19531
19532 fi
19533
19534 fi
19535 fi
19536
19537 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
19538 cat >> confdefs.h <<\EOF
19539 #define wxUSE_EXPERIMENTAL_PRINTF 1
19540 EOF
19541
19542 fi
19543
19544
19545
19546 IODBC_C_SRC=""
19547 if test "$wxUSE_ODBC" = "yes" ; then
19548 cat >> confdefs.h <<\EOF
19549 #define wxUSE_ODBC 1
19550 EOF
19551
19552 WXODBCFLAG="-D_IODBC_"
19553 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
19554 fi
19555
19556
19557 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
19558 cat >> confdefs.h <<\EOF
19559 #define wxUSE_POSTSCRIPT 1
19560 EOF
19561
19562 fi
19563
19564 cat >> confdefs.h <<\EOF
19565 #define wxUSE_AFM_FOR_POSTSCRIPT 1
19566 EOF
19567
19568
19569 cat >> confdefs.h <<\EOF
19570 #define wxUSE_NORMALIZED_PS_FONTS 1
19571 EOF
19572
19573
19574
19575 if test "$wxUSE_CONSTRAINTS" = "yes"; then
19576 cat >> confdefs.h <<\EOF
19577 #define wxUSE_CONSTRAINTS 1
19578 EOF
19579
19580 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
19581 fi
19582
19583 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19584 if test "$wxUSE_UNIVERSAL" = "yes"; then
19585 echo "configure: warning: MDI not yet supported for wxUniversal... disabled" 1>&2
19586 wxUSE_MDI_ARCHITECTURE=no
19587 fi
19588
19589 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19590 cat >> confdefs.h <<\EOF
19591 #define wxUSE_MDI_ARCHITECTURE 1
19592 EOF
19593
19594 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
19595 fi
19596 fi
19597
19598 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
19599 cat >> confdefs.h <<\EOF
19600 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
19601 EOF
19602
19603 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
19604 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19605 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
19606 fi
19607 fi
19608
19609 if test "$wxUSE_HELP" = "yes"; then
19610 cat >> confdefs.h <<\EOF
19611 #define wxUSE_HELP 1
19612 EOF
19613
19614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
19615
19616 if test "$wxUSE_MSW" = 1; then
19617 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
19618 cat >> confdefs.h <<\EOF
19619 #define wxUSE_MS_HTML_HELP 1
19620 EOF
19621
19622 fi
19623 fi
19624
19625 if test "$wxUSE_WXHTML_HELP" = "yes"; then
19626 if test "$wxUSE_HTML" = "yes"; then
19627 cat >> confdefs.h <<\EOF
19628 #define wxUSE_WXHTML_HELP 1
19629 EOF
19630
19631 else
19632 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
19633 wxUSE_WXHTML_HELP=no
19634 fi
19635 fi
19636 fi
19637
19638 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
19639 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19640 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
19641 else
19642 cat >> confdefs.h <<\EOF
19643 #define wxUSE_PRINTING_ARCHITECTURE 1
19644 EOF
19645
19646 fi
19647 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
19648 fi
19649
19650 if test "$wxUSE_PROLOGIO" = "yes" ; then
19651 cat >> confdefs.h <<\EOF
19652 #define wxUSE_PROLOGIO 1
19653 EOF
19654
19655 fi
19656
19657 if test "$wxUSE_RESOURCES" = "yes" ; then
19658 if test "$wxUSE_NANOX" = "yes"; then
19659 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
19660 else
19661 cat >> confdefs.h <<\EOF
19662 #define wxUSE_RESOURCES 1
19663 EOF
19664
19665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS resource"
19666 fi
19667 fi
19668
19669 if test "$wxUSE_X_RESOURCES" = "yes"; then
19670 cat >> confdefs.h <<\EOF
19671 #define wxUSE_X_RESOURCES 1
19672 EOF
19673
19674 fi
19675
19676
19677 if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
19678 -o "$wxUSE_CLIPBOARD" = "yes" \
19679 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
19680 for ac_hdr in ole2.h
19681 do
19682 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19683 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19684 echo "configure:19676: checking for $ac_hdr" >&5
19685 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19686 echo $ac_n "(cached) $ac_c" 1>&6
19687 else
19688 cat > conftest.$ac_ext <<EOF
19689 #line 19681 "configure"
19690 #include "confdefs.h"
19691 #include <$ac_hdr>
19692 EOF
19693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19694 { (eval echo configure:19686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19695 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19696 if test -z "$ac_err"; then
19697 rm -rf conftest*
19698 eval "ac_cv_header_$ac_safe=yes"
19699 else
19700 echo "$ac_err" >&5
19701 echo "configure: failed program was:" >&5
19702 cat conftest.$ac_ext >&5
19703 rm -rf conftest*
19704 eval "ac_cv_header_$ac_safe=no"
19705 fi
19706 rm -f conftest*
19707 fi
19708 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19709 echo "$ac_t""yes" 1>&6
19710 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19711 cat >> confdefs.h <<EOF
19712 #define $ac_tr_hdr 1
19713 EOF
19714
19715 else
19716 echo "$ac_t""no" 1>&6
19717 fi
19718 done
19719
19720
19721 if test "$ac_cv_header_ole2_h" = "yes" ; then
19722 if test "$GCC" = yes ; then
19723 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
19724 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
19725 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
19726 cat >> confdefs.h <<\EOF
19727 #define wxUSE_OLE 1
19728 EOF
19729
19730
19731 fi
19732
19733 cat >> confdefs.h <<\EOF
19734 #define wxUSE_DATAOBJ 1
19735 EOF
19736
19737 else
19738 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
19739
19740 wxUSE_CLIPBOARD=no
19741 wxUSE_DRAG_AND_DROP=no
19742 wxUSE_DATAOBJ=no
19743 fi
19744
19745 if test "$wxUSE_METAFILE" = "yes"; then
19746 cat >> confdefs.h <<\EOF
19747 #define wxUSE_METAFILE 1
19748 EOF
19749
19750
19751 cat >> confdefs.h <<\EOF
19752 #define wxUSE_ENH_METAFILE 1
19753 EOF
19754
19755 fi
19756 fi
19757
19758 if test "$wxUSE_IPC" = "yes"; then
19759 if test "$wxUSE_SOCKETS" != "yes"; then
19760 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
19761 fi
19762
19763 cat >> confdefs.h <<\EOF
19764 #define wxUSE_IPC 1
19765 EOF
19766
19767 fi
19768
19769 if test "$wxUSE_CLIPBOARD" = "yes"; then
19770 cat >> confdefs.h <<\EOF
19771 #define wxUSE_CLIPBOARD 1
19772 EOF
19773
19774
19775 cat >> confdefs.h <<\EOF
19776 #define wxUSE_DATAOBJ 1
19777 EOF
19778
19779 fi
19780
19781 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
19782 if test "$wxUSE_GTK" = 1; then
19783 if test "$WXGTK12" != 1; then
19784 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
19785 wxUSE_DRAG_AND_DROP=no
19786 fi
19787 fi
19788
19789 if test "$wxUSE_MOTIF" = 1; then
19790 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
19791 wxUSE_DRAG_AND_DROP=no
19792 fi
19793
19794 if test "$wxUSE_X11" = 1; then
19795 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
19796 wxUSE_DRAG_AND_DROP=no
19797 fi
19798
19799 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
19800 cat >> confdefs.h <<\EOF
19801 #define wxUSE_DRAG_AND_DROP 1
19802 EOF
19803
19804 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
19805 fi
19806
19807 fi
19808
19809 if test "$wxUSE_SPLINES" = "yes" ; then
19810 cat >> confdefs.h <<\EOF
19811 #define wxUSE_SPLINES 1
19812 EOF
19813
19814 fi
19815
19816
19817 USES_CONTROLS=0
19818 if test "$wxUSE_CONTROLS" = "yes"; then
19819 USES_CONTROLS=1
19820 fi
19821
19822 if test "$wxUSE_ACCEL" = "yes"; then
19823 cat >> confdefs.h <<\EOF
19824 #define wxUSE_ACCEL 1
19825 EOF
19826
19827 USES_CONTROLS=1
19828 fi
19829
19830 if test "$wxUSE_BUTTON" = "yes"; then
19831 cat >> confdefs.h <<\EOF
19832 #define wxUSE_BUTTON 1
19833 EOF
19834
19835 USES_CONTROLS=1
19836 fi
19837
19838 if test "$wxUSE_BMPBUTTON" = "yes"; then
19839 cat >> confdefs.h <<\EOF
19840 #define wxUSE_BMPBUTTON 1
19841 EOF
19842
19843 USES_CONTROLS=1
19844 fi
19845
19846 if test "$wxUSE_CALCTRL" = "yes"; then
19847 cat >> confdefs.h <<\EOF
19848 #define wxUSE_CALENDARCTRL 1
19849 EOF
19850
19851 USES_CONTROLS=1
19852 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
19853 fi
19854
19855 if test "$wxUSE_CARET" = "yes"; then
19856 cat >> confdefs.h <<\EOF
19857 #define wxUSE_CARET 1
19858 EOF
19859
19860 USES_CONTROLS=1
19861 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
19862 fi
19863
19864 if test "$wxUSE_COMBOBOX" = "yes"; then
19865 cat >> confdefs.h <<\EOF
19866 #define wxUSE_COMBOBOX 1
19867 EOF
19868
19869 USES_CONTROLS=1
19870 fi
19871
19872 if test "$wxUSE_CHOICE" = "yes"; then
19873 cat >> confdefs.h <<\EOF
19874 #define wxUSE_CHOICE 1
19875 EOF
19876
19877 USES_CONTROLS=1
19878 fi
19879
19880 if test "$wxUSE_CHECKBOX" = "yes"; then
19881 cat >> confdefs.h <<\EOF
19882 #define wxUSE_CHECKBOX 1
19883 EOF
19884
19885 USES_CONTROLS=1
19886 fi
19887
19888 if test "$wxUSE_CHECKLST" = "yes"; then
19889 cat >> confdefs.h <<\EOF
19890 #define wxUSE_CHECKLISTBOX 1
19891 EOF
19892
19893 USES_CONTROLS=1
19894 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
19895 fi
19896
19897 if test "$wxUSE_GAUGE" = "yes"; then
19898 cat >> confdefs.h <<\EOF
19899 #define wxUSE_GAUGE 1
19900 EOF
19901
19902 USES_CONTROLS=1
19903 fi
19904
19905 if test "$wxUSE_NEW_GRID" = "yes"; then
19906 wxUSE_GRID="yes"
19907 cat >> confdefs.h <<\EOF
19908 #define wxUSE_NEW_GRID 1
19909 EOF
19910
19911 USES_CONTROLS=1
19912 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS newgrid"
19913 fi
19914
19915 if test "$wxUSE_GRID" = "yes"; then
19916 cat >> confdefs.h <<\EOF
19917 #define wxUSE_GRID 1
19918 EOF
19919
19920 USES_CONTROLS=1
19921 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
19922 fi
19923
19924 if test "$wxUSE_IMAGLIST" = "yes"; then
19925 cat >> confdefs.h <<\EOF
19926 #define wxUSE_IMAGLIST 1
19927 EOF
19928
19929 fi
19930
19931 if test "$wxUSE_LISTBOX" = "yes"; then
19932 cat >> confdefs.h <<\EOF
19933 #define wxUSE_LISTBOX 1
19934 EOF
19935
19936 USES_CONTROLS=1
19937 fi
19938
19939 if test "$wxUSE_LISTCTRL" = "yes"; then
19940 if test "$wxUSE_IMAGLIST" = "yes"; then
19941 cat >> confdefs.h <<\EOF
19942 #define wxUSE_LISTCTRL 1
19943 EOF
19944
19945 USES_CONTROLS=1
19946 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
19947 else
19948 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
19949 fi
19950 fi
19951
19952 if test "$wxUSE_NOTEBOOK" = "yes"; then
19953 cat >> confdefs.h <<\EOF
19954 #define wxUSE_NOTEBOOK 1
19955 EOF
19956
19957 USES_CONTROLS=1
19958 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
19959 fi
19960
19961 if test "$wxUSE_PROPSHEET" = "yes"; then
19962 cat >> confdefs.h <<\EOF
19963 #define wxUSE_PROPSHEET 1
19964 EOF
19965
19966 USES_CONTROLS=1
19967 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS proplist"
19968 fi
19969
19970 if test "$wxUSE_RADIOBOX" = "yes"; then
19971 cat >> confdefs.h <<\EOF
19972 #define wxUSE_RADIOBOX 1
19973 EOF
19974
19975 USES_CONTROLS=1
19976 fi
19977
19978 if test "$wxUSE_RADIOBTN" = "yes"; then
19979 cat >> confdefs.h <<\EOF
19980 #define wxUSE_RADIOBTN 1
19981 EOF
19982
19983 USES_CONTROLS=1
19984 fi
19985
19986 if test "$wxUSE_SASH" = "yes"; then
19987 cat >> confdefs.h <<\EOF
19988 #define wxUSE_SASH 1
19989 EOF
19990
19991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
19992 fi
19993
19994 if test "$wxUSE_SCROLLBAR" = "yes"; then
19995 cat >> confdefs.h <<\EOF
19996 #define wxUSE_SCROLLBAR 1
19997 EOF
19998
19999 USES_CONTROLS=1
20000 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
20001 fi
20002
20003 if test "$wxUSE_SLIDER" = "yes"; then
20004 cat >> confdefs.h <<\EOF
20005 #define wxUSE_SLIDER 1
20006 EOF
20007
20008 USES_CONTROLS=1
20009 fi
20010
20011 if test "$wxUSE_SPINBTN" = "yes"; then
20012 cat >> confdefs.h <<\EOF
20013 #define wxUSE_SPINBTN 1
20014 EOF
20015
20016 USES_CONTROLS=1
20017 fi
20018
20019 if test "$wxUSE_SPINCTRL" = "yes"; then
20020 cat >> confdefs.h <<\EOF
20021 #define wxUSE_SPINCTRL 1
20022 EOF
20023
20024 USES_CONTROLS=1
20025 fi
20026
20027 if test "$wxUSE_SPLITTER" = "yes"; then
20028 cat >> confdefs.h <<\EOF
20029 #define wxUSE_SPLITTER 1
20030 EOF
20031
20032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
20033 fi
20034
20035 if test "$wxUSE_STATBMP" = "yes"; then
20036 cat >> confdefs.h <<\EOF
20037 #define wxUSE_STATBMP 1
20038 EOF
20039
20040 USES_CONTROLS=1
20041 fi
20042
20043 if test "$wxUSE_STATBOX" = "yes"; then
20044 cat >> confdefs.h <<\EOF
20045 #define wxUSE_STATBOX 1
20046 EOF
20047
20048 USES_CONTROLS=1
20049 fi
20050
20051 if test "$wxUSE_STATTEXT" = "yes"; then
20052 cat >> confdefs.h <<\EOF
20053 #define wxUSE_STATTEXT 1
20054 EOF
20055
20056 USES_CONTROLS=1
20057 fi
20058
20059 if test "$wxUSE_STATLINE" = "yes"; then
20060 if test "$wxUSE_WINE" = 1 ; then
20061 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
20062 else
20063 cat >> confdefs.h <<\EOF
20064 #define wxUSE_STATLINE 1
20065 EOF
20066
20067 USES_CONTROLS=1
20068 fi
20069 fi
20070
20071 if test "$wxUSE_STATUSBAR" = "yes"; then
20072 cat >> confdefs.h <<\EOF
20073 #define wxUSE_STATUSBAR 1
20074 EOF
20075
20076 USES_CONTROLS=1
20077
20078 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
20079 fi
20080
20081 if test "$wxUSE_TABDIALOG" = "yes"; then
20082 cat >> confdefs.h <<\EOF
20083 #define wxUSE_TAB_DIALOG 1
20084 EOF
20085
20086 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
20087 fi
20088
20089 if test "$wxUSE_TEXTCTRL" = "yes"; then
20090 cat >> confdefs.h <<\EOF
20091 #define wxUSE_TEXTCTRL 1
20092 EOF
20093
20094 USES_CONTROLS=1
20095 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
20096 fi
20097
20098 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20099 if test "$wxUSE_MAC" = 1; then
20100 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
20101 wxUSE_TOGGLEBTN=no
20102 fi
20103 if test "$wxUSE_UNIVERSAL" = "yes"; then
20104 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
20105 wxUSE_TOGGLEBTN=no
20106 fi
20107
20108 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20109 cat >> confdefs.h <<\EOF
20110 #define wxUSE_TOGGLEBTN 1
20111 EOF
20112
20113 USES_CONTROLS=1
20114 fi
20115 fi
20116
20117 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
20118 cat >> confdefs.h <<\EOF
20119 #define wxUSE_TOOLBAR_SIMPLE 1
20120 EOF
20121
20122 wxUSE_TOOLBAR="yes"
20123 USES_CONTROLS=1
20124 fi
20125
20126 if test "$wxUSE_TOOLBAR" = "yes"; then
20127 cat >> confdefs.h <<\EOF
20128 #define wxUSE_TOOLBAR 1
20129 EOF
20130
20131 USES_CONTROLS=1
20132
20133 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
20134 wxUSE_TOOLBAR_NATIVE="yes"
20135 fi
20136
20137 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
20138 cat >> confdefs.h <<\EOF
20139 #define wxUSE_TOOLBAR_NATIVE 1
20140 EOF
20141
20142 USES_CONTROLS=1
20143 fi
20144
20145 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
20146 fi
20147
20148 if test "$wxUSE_TOOLTIPS" = "yes"; then
20149 if test "$wxUSE_MOTIF" = 1; then
20150 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
20151 else
20152 if test "$wxUSE_WINE" = 1; then
20153 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
20154 else
20155 if test "$wxUSE_UNIVERSAL" = "yes"; then
20156 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
20157 else
20158 cat >> confdefs.h <<\EOF
20159 #define wxUSE_TOOLTIPS 1
20160 EOF
20161
20162 fi
20163 fi
20164 fi
20165 fi
20166
20167 if test "$wxUSE_TREECTRL" = "yes"; then
20168 if test "$wxUSE_IMAGLIST" = "yes"; then
20169 cat >> confdefs.h <<\EOF
20170 #define wxUSE_TREECTRL 1
20171 EOF
20172
20173 USES_CONTROLS=1
20174 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
20175 else
20176 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
20177 fi
20178 fi
20179
20180 if test "$wxUSE_POPUPWIN" = "yes"; then
20181 if test "$wxUSE_MAC" = 1; then
20182 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
20183 else
20184 if test "$wxUSE_MOTIF" = 1; then
20185 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
20186 else
20187 if test "$wxUSE_PM" = 1; then
20188 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
20189 else
20190 cat >> confdefs.h <<\EOF
20191 #define wxUSE_POPUPWIN 1
20192 EOF
20193
20194
20195 USES_CONTROLS=1
20196 fi
20197 fi
20198 fi
20199 fi
20200
20201 if test "$wxUSE_TIPWINDOW" = "yes"; then
20202 if test "$wxUSE_PM" = 1; then
20203 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
20204 else
20205 cat >> confdefs.h <<\EOF
20206 #define wxUSE_TIPWINDOW 1
20207 EOF
20208
20209 fi
20210 fi
20211
20212 if test "$USES_CONTROLS" = 1; then
20213 cat >> confdefs.h <<\EOF
20214 #define wxUSE_CONTROLS 1
20215 EOF
20216
20217 fi
20218
20219
20220 if test "$wxUSE_TREELAYOUT" = "yes"; then
20221 cat >> confdefs.h <<\EOF
20222 #define wxUSE_TREELAYOUT 1
20223 EOF
20224
20225 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelay"
20226 fi
20227
20228 if test "$wxUSE_DRAGIMAGE" = "yes"; then
20229 cat >> confdefs.h <<\EOF
20230 #define wxUSE_DRAGIMAGE 1
20231 EOF
20232
20233 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
20234 fi
20235
20236 if test "$wxUSE_MENUS" = "yes"; then
20237 cat >> confdefs.h <<\EOF
20238 #define wxUSE_MENUS 1
20239 EOF
20240
20241 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
20242 fi
20243
20244 if test "$wxUSE_METAFILE" = "yes"; then
20245 cat >> confdefs.h <<\EOF
20246 #define wxUSE_METAFILE 1
20247 EOF
20248
20249 fi
20250
20251 if test "$wxUSE_MIMETYPE" = "yes"; then
20252 cat >> confdefs.h <<\EOF
20253 #define wxUSE_MIMETYPE 1
20254 EOF
20255
20256 fi
20257
20258 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
20259 cat >> confdefs.h <<\EOF
20260 #define wxUSE_SYSTEM_OPTIONS 1
20261 EOF
20262
20263 if test "$TOOLKIT" = "MSW"; then
20264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
20265 fi
20266
20267 fi
20268
20269 if test "$wxUSE_PROTOCOL" = "yes"; then
20270 if test "$wxUSE_SOCKETS" != "yes"; then
20271 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
20272 wxUSE_PROTOCOL=no
20273 fi
20274
20275 if test "$wxUSE_PROTOCOL" = "yes"; then
20276 cat >> confdefs.h <<\EOF
20277 #define wxUSE_PROTOCOL 1
20278 EOF
20279
20280
20281 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
20282 cat >> confdefs.h <<\EOF
20283 #define wxUSE_PROTOCOL_HTTP 1
20284 EOF
20285
20286 fi
20287 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
20288 cat >> confdefs.h <<\EOF
20289 #define wxUSE_PROTOCOL_FTP 1
20290 EOF
20291
20292 fi
20293 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
20294 cat >> confdefs.h <<\EOF
20295 #define wxUSE_PROTOCOL_FILE 1
20296 EOF
20297
20298 fi
20299 fi
20300 fi
20301
20302 if test "$wxUSE_URL" = "yes"; then
20303 if test "$wxUSE_PROTOCOL" != "yes"; then
20304 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
20305 wxUSE_URL=no
20306 fi
20307 if test "$wxUSE_URL" = "yes"; then
20308 cat >> confdefs.h <<\EOF
20309 #define wxUSE_URL 1
20310 EOF
20311
20312 fi
20313 fi
20314
20315 if test "$wxUSE_MINIFRAME" = "yes"; then
20316 cat >> confdefs.h <<\EOF
20317 #define wxUSE_MINIFRAME 1
20318 EOF
20319
20320 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
20321 fi
20322
20323 if test "$wxUSE_HTML" = "yes"; then
20324 cat >> confdefs.h <<\EOF
20325 #define wxUSE_HTML 1
20326 EOF
20327
20328 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html"
20329 fi
20330
20331 if test "$wxUSE_VALIDATORS" = "yes"; then
20332 cat >> confdefs.h <<\EOF
20333 #define wxUSE_VALIDATORS 1
20334 EOF
20335
20336 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
20337 fi
20338
20339 if test "$wxUSE_PALETTE" = "yes" ; then
20340 cat >> confdefs.h <<\EOF
20341 #define wxUSE_PALETTE 1
20342 EOF
20343
20344 fi
20345
20346 if test "$wxUSE_IMAGE" = "yes" ; then
20347 cat >> confdefs.h <<\EOF
20348 #define wxUSE_IMAGE 1
20349 EOF
20350
20351 fi
20352
20353 if test "$wxUSE_GIF" = "yes" ; then
20354 cat >> confdefs.h <<\EOF
20355 #define wxUSE_GIF 1
20356 EOF
20357
20358 fi
20359
20360 if test "$wxUSE_PCX" = "yes" ; then
20361 cat >> confdefs.h <<\EOF
20362 #define wxUSE_PCX 1
20363 EOF
20364
20365 fi
20366
20367 if test "$wxUSE_IFF" = "yes" ; then
20368 cat >> confdefs.h <<\EOF
20369 #define wxUSE_IFF 1
20370 EOF
20371
20372 fi
20373
20374 if test "$wxUSE_PNM" = "yes" ; then
20375 cat >> confdefs.h <<\EOF
20376 #define wxUSE_PNM 1
20377 EOF
20378
20379 fi
20380
20381 if test "$wxUSE_XPM" = "yes" ; then
20382 cat >> confdefs.h <<\EOF
20383 #define wxUSE_XPM 1
20384 EOF
20385
20386 fi
20387
20388 if test "$wxUSE_ICO_CUR" = "yes" ; then
20389 cat >> confdefs.h <<\EOF
20390 #define wxUSE_ICO_CUR 1
20391 EOF
20392
20393 fi
20394
20395 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
20396 LIBS=" -lunicows $LIBS"
20397 fi
20398
20399
20400 if test "$wxUSE_CHOICEDLG" = "yes"; then
20401 cat >> confdefs.h <<\EOF
20402 #define wxUSE_CHOICEDLG 1
20403 EOF
20404
20405 fi
20406
20407 if test "$wxUSE_COLOURDLG" = "yes"; then
20408 cat >> confdefs.h <<\EOF
20409 #define wxUSE_COLOURDLG 1
20410 EOF
20411
20412 fi
20413
20414 if test "$wxUSE_FILEDLG" = "yes"; then
20415 cat >> confdefs.h <<\EOF
20416 #define wxUSE_FILEDLG 1
20417 EOF
20418
20419 fi
20420
20421 if test "$wxUSE_FINDREPLDLG" = "yes"; then
20422 cat >> confdefs.h <<\EOF
20423 #define wxUSE_FINDREPLDLG 1
20424 EOF
20425
20426 fi
20427
20428 if test "$wxUSE_FONTDLG" = "yes"; then
20429 cat >> confdefs.h <<\EOF
20430 #define wxUSE_FONTDLG 1
20431 EOF
20432
20433 fi
20434
20435 if test "$wxUSE_DIRDLG" = "yes"; then
20436 if test "$wxUSE_TREECTRL" != "yes"; then
20437 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
20438 else
20439 cat >> confdefs.h <<\EOF
20440 #define wxUSE_DIRDLG 1
20441 EOF
20442
20443 fi
20444 fi
20445
20446 if test "$wxUSE_MSGDLG" = "yes"; then
20447 cat >> confdefs.h <<\EOF
20448 #define wxUSE_MSGDLG 1
20449 EOF
20450
20451 fi
20452
20453 if test "$wxUSE_NUMBERDLG" = "yes"; then
20454 cat >> confdefs.h <<\EOF
20455 #define wxUSE_NUMBERDLG 1
20456 EOF
20457
20458 fi
20459
20460 if test "$wxUSE_PROGRESSDLG" = "yes"; then
20461 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20462 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
20463 else
20464 cat >> confdefs.h <<\EOF
20465 #define wxUSE_PROGRESSDLG 1
20466 EOF
20467
20468 fi
20469 fi
20470
20471 if test "$wxUSE_SPLASH" = "yes"; then
20472 cat >> confdefs.h <<\EOF
20473 #define wxUSE_SPLASH 1
20474 EOF
20475
20476 fi
20477
20478 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
20479 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20480 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
20481 else
20482 cat >> confdefs.h <<\EOF
20483 #define wxUSE_STARTUP_TIPS 1
20484 EOF
20485
20486 fi
20487 fi
20488
20489 if test "$wxUSE_TEXTDLG" = "yes"; then
20490 cat >> confdefs.h <<\EOF
20491 #define wxUSE_TEXTDLG 1
20492 EOF
20493
20494 fi
20495
20496 if test "$wxUSE_WIZARDDLG" = "yes"; then
20497 cat >> confdefs.h <<\EOF
20498 #define wxUSE_WIZARDDLG 1
20499 EOF
20500
20501 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
20502 fi
20503
20504
20505 if test "$cross_compiling" = "yes"; then
20506 OSINFO="\"$host\""
20507 else
20508 OSINFO=`uname -s -r -m`
20509 OSINFO="\"$OSINFO\""
20510 fi
20511
20512 cat >> confdefs.h <<EOF
20513 #define WXWIN_OS_DESCRIPTION $OSINFO
20514 EOF
20515
20516
20517
20518 if test "x$prefix" != "xNONE"; then
20519 wxPREFIX=$prefix
20520 else
20521 wxPREFIX=$ac_default_prefix
20522 fi
20523
20524 cat >> confdefs.h <<EOF
20525 #define wxINSTALL_PREFIX "$wxPREFIX"
20526 EOF
20527
20528
20529
20530
20531
20532 if test "$wxUSE_MAC" = 1 ; then
20533 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
20534 fi
20535
20536
20537 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK -lm $LIBS"
20538
20539 if test "$wxUSE_GUI" = "yes"; then
20540
20541 LIBS="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
20542
20543
20544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
20545 drawing dynamic erase event exec font image \
20546 minimal richedit rotate widgets"
20547
20548 CPPFLAGS="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
20549 else
20550 SAMPLES_SUBDIRS="console"
20551 fi
20552
20553
20554 INCLUDES="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
20555 -I\${top_srcdir}/include \
20556 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
20557 $TOOLKIT_INCLUDE"
20558
20559 if test "$wxUSE_GTK" = 1; then
20560 WXCONFIG_INCLUDE=
20561 else
20562 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
20563 fi
20564
20565 if test "$GXX" = yes ; then
20566 CXXWARNINGS="-Wall"
20567
20568 if test "$wxUSE_NO_DEPS" = "no" ; then
20569 CFLAGS="-MMD $CFLAGS"
20570 CXXFLAGS="-MMD $CXXFLAGS"
20571 fi
20572 fi
20573
20574 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
20575
20576 CFLAGS=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
20577 CXXFLAGS=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
20578 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
20579
20580 LDFLAGS="$LDFLAGS $PROFILE"
20581
20582 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
20583
20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
20595
20596
20597
20598
20599
20600
20601
20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
20641
20642
20643
20644
20645
20646
20647
20648
20649
20650
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660
20661
20662
20663
20664
20665
20666
20667
20668
20669
20670
20671
20672 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
20673 echo "configure:20665: checking whether ${MAKE-make} sets \${MAKE}" >&5
20674 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
20675 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
20676 echo $ac_n "(cached) $ac_c" 1>&6
20677 else
20678 cat > conftestmake <<\EOF
20679 all:
20680 @echo 'ac_maketemp="${MAKE}"'
20681 EOF
20682 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20683 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
20684 if test -n "$ac_maketemp"; then
20685 eval ac_cv_prog_make_${ac_make}_set=yes
20686 else
20687 eval ac_cv_prog_make_${ac_make}_set=no
20688 fi
20689 rm -f conftestmake
20690 fi
20691 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
20692 echo "$ac_t""yes" 1>&6
20693 SET_MAKE=
20694 else
20695 echo "$ac_t""no" 1>&6
20696 SET_MAKE="MAKE=${MAKE-make}"
20697 fi
20698
20699
20700 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
20701 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
20702 fi
20703
20704
20705
20706 wx_cv_path_samplesubdirs=$SAMPLES_SUBDIRS
20707 wx_cv_if_gnu_make=$IF_GNU_MAKE
20708 wx_cv_path_ifs=$PATH_IFS
20709 wx_cv_program_ext=$PROGRAM_EXT
20710 wx_cv_target_library=$WX_TARGET_LIBRARY
20711 wx_cv_target_library_gl=$WX_TARGET_LIBRARY_GL
20712 wx_cv_target_libtype=$WX_TARGET_LIBRARY_TYPE
20713 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
20714 wx_cv_path_ifs wx_cv_program_ext \
20715 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
20716
20717 subdirs="demos samples utils contrib"
20718
20719
20720 trap '' 1 2 15
20721 cat > confcache <<\EOF
20722 # This file is a shell script that caches the results of configure
20723 # tests run on this system so they can be shared between configure
20724 # scripts and configure runs. It is not useful on other systems.
20725 # If it contains results you don't want to keep, you may remove or edit it.
20726 #
20727 # By default, configure uses ./config.cache as the cache file,
20728 # creating it if it does not exist already. You can give configure
20729 # the --cache-file=FILE option to use a different cache file; that is
20730 # what configure does when it calls configure scripts in
20731 # subdirectories, so they share the cache.
20732 # Giving --cache-file=/dev/null disables caching, for debugging configure.
20733 # config.status only pays attention to the cache file if you give it the
20734 # --recheck option to rerun configure.
20735 #
20736 EOF
20737 # The following way of writing the cache mishandles newlines in values,
20738 # but we know of no workaround that is simple, portable, and efficient.
20739 # So, don't put newlines in cache variables' values.
20740 # Ultrix sh set writes to stderr and can't be redirected directly,
20741 # and sets the high bit in the cache file unless we assign to the vars.
20742 (set) 2>&1 |
20743 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20744 *ac_space=\ *)
20745 # `set' does not quote correctly, so add quotes (double-quote substitution
20746 # turns \\\\ into \\, and sed turns \\ into \).
20747 sed -n \
20748 -e "s/'/'\\\\''/g" \
20749 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
20750 ;;
20751 *)
20752 # `set' quotes correctly as required by POSIX, so do not add quotes.
20753 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
20754 ;;
20755 esac >> confcache
20756 if cmp -s $cache_file confcache; then
20757 :
20758 else
20759 if test -w $cache_file; then
20760 echo "updating cache $cache_file"
20761 cat confcache > $cache_file
20762 else
20763 echo "not updating unwritable cache $cache_file"
20764 fi
20765 fi
20766 rm -f confcache
20767
20768 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
20769
20770 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20771 # Let make expand exec_prefix.
20772 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20773
20774 # Any assignment to VPATH causes Sun make to only execute
20775 # the first set of double-colon rules, so remove it if not needed.
20776 # If there is a colon in the path, we need to keep it.
20777 if test "x$srcdir" = x.; then
20778 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
20779 fi
20780
20781 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
20782
20783 DEFS=-DHAVE_CONFIG_H
20784
20785 # Without the "./", some shells look in PATH for config.status.
20786 : ${CONFIG_STATUS=./config.status}
20787
20788 echo creating $CONFIG_STATUS
20789 rm -f $CONFIG_STATUS
20790 cat > $CONFIG_STATUS <<EOF
20791 #! /bin/sh
20792 # Generated automatically by configure.
20793 # Run this file to recreate the current configuration.
20794 # This directory was configured as follows,
20795 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20796 #
20797 # $0 $ac_configure_args
20798 #
20799 # Compiler output produced by configure, useful for debugging
20800 # configure, is in ./config.log if it exists.
20801
20802 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
20803 for ac_option
20804 do
20805 case "\$ac_option" in
20806 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20807 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
20808 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
20809 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
20810 echo "$CONFIG_STATUS generated by autoconf version 2.13"
20811 exit 0 ;;
20812 -help | --help | --hel | --he | --h)
20813 echo "\$ac_cs_usage"; exit 0 ;;
20814 *) echo "\$ac_cs_usage"; exit 1 ;;
20815 esac
20816 done
20817
20818 ac_given_srcdir=$srcdir
20819 ac_given_INSTALL="$INSTALL"
20820
20821 trap 'rm -fr `echo "
20822 wx-config
20823 src/make.env
20824 src/makeprog.env
20825 src/makelib.env
20826 Makefile
20827 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
20828 EOF
20829 cat >> $CONFIG_STATUS <<EOF
20830
20831 # Protect against being on the right side of a sed subst in config.status.
20832 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
20833 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
20834 $ac_vpsub
20835 $extrasub
20836 s%@SHELL@%$SHELL%g
20837 s%@CFLAGS@%$CFLAGS%g
20838 s%@CPPFLAGS@%$CPPFLAGS%g
20839 s%@CXXFLAGS@%$CXXFLAGS%g
20840 s%@FFLAGS@%$FFLAGS%g
20841 s%@DEFS@%$DEFS%g
20842 s%@LDFLAGS@%$LDFLAGS%g
20843 s%@LIBS@%$LIBS%g
20844 s%@exec_prefix@%$exec_prefix%g
20845 s%@prefix@%$prefix%g
20846 s%@program_transform_name@%$program_transform_name%g
20847 s%@bindir@%$bindir%g
20848 s%@sbindir@%$sbindir%g
20849 s%@libexecdir@%$libexecdir%g
20850 s%@datadir@%$datadir%g
20851 s%@sysconfdir@%$sysconfdir%g
20852 s%@sharedstatedir@%$sharedstatedir%g
20853 s%@localstatedir@%$localstatedir%g
20854 s%@libdir@%$libdir%g
20855 s%@includedir@%$includedir%g
20856 s%@oldincludedir@%$oldincludedir%g
20857 s%@infodir@%$infodir%g
20858 s%@mandir@%$mandir%g
20859 s%@host@%$host%g
20860 s%@host_alias@%$host_alias%g
20861 s%@host_cpu@%$host_cpu%g
20862 s%@host_vendor@%$host_vendor%g
20863 s%@host_os@%$host_os%g
20864 s%@target@%$target%g
20865 s%@target_alias@%$target_alias%g
20866 s%@target_cpu@%$target_cpu%g
20867 s%@target_vendor@%$target_vendor%g
20868 s%@target_os@%$target_os%g
20869 s%@build@%$build%g
20870 s%@build_alias@%$build_alias%g
20871 s%@build_cpu@%$build_cpu%g
20872 s%@build_vendor@%$build_vendor%g
20873 s%@build_os@%$build_os%g
20874 s%@CC@%$CC%g
20875 s%@CPP@%$CPP%g
20876 s%@CXX@%$CXX%g
20877 s%@RANLIB@%$RANLIB%g
20878 s%@AR@%$AR%g
20879 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
20880 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
20881 s%@INSTALL_DATA@%$INSTALL_DATA%g
20882 s%@STRIP@%$STRIP%g
20883 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
20884 s%@YACC@%$YACC%g
20885 s%@LEX@%$LEX%g
20886 s%@LEXLIB@%$LEXLIB%g
20887 s%@LN_S@%$LN_S%g
20888 s%@CXXCPP@%$CXXCPP%g
20889 s%@PKG_CONFIG@%$PKG_CONFIG%g
20890 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
20891 s%@GTK_LIBS@%$GTK_LIBS%g
20892 s%@GTK_CONFIG@%$GTK_CONFIG%g
20893 s%@X_CFLAGS@%$X_CFLAGS%g
20894 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
20895 s%@X_LIBS@%$X_LIBS%g
20896 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
20897 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
20898 s%@RESCOMP@%$RESCOMP%g
20899 s%@DEREZ@%$DEREZ%g
20900 s%@LIBICONV@%$LIBICONV%g
20901 s%@LEX_STEM@%$LEX_STEM%g
20902 s%@PATH_IFS@%$PATH_IFS%g
20903 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
20904 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
20905 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
20906 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
20907 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
20908 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
20909 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
20910 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
20911 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
20912 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
20913 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
20914 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
20915 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
20916 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
20917 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
20918 s%@WX_ALL@%$WX_ALL%g
20919 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
20920 s%@SHARED_LD@%$SHARED_LD%g
20921 s%@PIC_FLAG@%$PIC_FLAG%g
20922 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
20923 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
20924 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
20925 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
20926 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
20927 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
20928 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
20929 s%@USE_GUI@%$USE_GUI%g
20930 s%@AFMINSTALL@%$AFMINSTALL%g
20931 s%@TOOLKIT@%$TOOLKIT%g
20932 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
20933 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
20934 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
20935 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
20936 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
20937 s%@cross_compiling@%$cross_compiling%g
20938 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
20939 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
20940 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
20941 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
20942 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
20943 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
20944 s%@ALL_HEADERS@%$ALL_HEADERS%g
20945 s%@ALL_SOURCES@%$ALL_SOURCES%g
20946 s%@GUIDIST@%$GUIDIST%g
20947 s%@PORT_FILES@%$PORT_FILES%g
20948 s%@DISTDIR@%$DISTDIR%g
20949 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
20950 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
20951 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
20952 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
20953 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
20954 s%@EXTRADEFS@%$EXTRADEFS%g
20955 s%@RESFLAGS@%$RESFLAGS%g
20956 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
20957 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
20958 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
20959 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
20960 s%@LIBWXMACRES@%$LIBWXMACRES%g
20961 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
20962 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
20963 s%@DLLTOOL@%$DLLTOOL%g
20964 s%@AS@%$AS%g
20965 s%@NM@%$NM%g
20966 s%@LD@%$LD%g
20967 s%@MAKEINFO@%$MAKEINFO%g
20968 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
20969 s%@SET_MAKE@%$SET_MAKE%g
20970 s%@subdirs@%$subdirs%g
20971
20972 CEOF
20973 EOF
20974
20975 cat >> $CONFIG_STATUS <<\EOF
20976
20977 # Split the substitutions into bite-sized pieces for seds with
20978 # small command number limits, like on Digital OSF/1 and HP-UX.
20979 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
20980 ac_file=1 # Number of current file.
20981 ac_beg=1 # First line for current file.
20982 ac_end=$ac_max_sed_cmds # Line after last line for current file.
20983 ac_more_lines=:
20984 ac_sed_cmds=""
20985 while $ac_more_lines; do
20986 if test $ac_beg -gt 1; then
20987 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
20988 else
20989 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
20990 fi
20991 if test ! -s conftest.s$ac_file; then
20992 ac_more_lines=false
20993 rm -f conftest.s$ac_file
20994 else
20995 if test -z "$ac_sed_cmds"; then
20996 ac_sed_cmds="sed -f conftest.s$ac_file"
20997 else
20998 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
20999 fi
21000 ac_file=`expr $ac_file + 1`
21001 ac_beg=$ac_end
21002 ac_end=`expr $ac_end + $ac_max_sed_cmds`
21003 fi
21004 done
21005 if test -z "$ac_sed_cmds"; then
21006 ac_sed_cmds=cat
21007 fi
21008 EOF
21009
21010 cat >> $CONFIG_STATUS <<EOF
21011
21012 CONFIG_FILES=\${CONFIG_FILES-"wx-config
21013 src/make.env
21014 src/makeprog.env
21015 src/makelib.env
21016 Makefile
21017 "}
21018 EOF
21019 cat >> $CONFIG_STATUS <<\EOF
21020 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
21021 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21022 case "$ac_file" in
21023 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
21024 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
21025 *) ac_file_in="${ac_file}.in" ;;
21026 esac
21027
21028 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
21029
21030 # Remove last slash and all that follows it. Not all systems have dirname.
21031 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21032 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21033 # The file is in a subdirectory.
21034 test ! -d "$ac_dir" && mkdir "$ac_dir"
21035 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
21036 # A "../" for each directory in $ac_dir_suffix.
21037 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
21038 else
21039 ac_dir_suffix= ac_dots=
21040 fi
21041
21042 case "$ac_given_srcdir" in
21043 .) srcdir=.
21044 if test -z "$ac_dots"; then top_srcdir=.
21045 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
21046 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
21047 *) # Relative path.
21048 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
21049 top_srcdir="$ac_dots$ac_given_srcdir" ;;
21050 esac
21051
21052 case "$ac_given_INSTALL" in
21053 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21054 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21055 esac
21056
21057 echo creating "$ac_file"
21058 rm -f "$ac_file"
21059 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
21060 case "$ac_file" in
21061 *Makefile*) ac_comsub="1i\\
21062 # $configure_input" ;;
21063 *) ac_comsub= ;;
21064 esac
21065
21066 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21067 sed -e "$ac_comsub
21068 s%@configure_input@%$configure_input%g
21069 s%@srcdir@%$srcdir%g
21070 s%@top_srcdir@%$top_srcdir%g
21071 s%@INSTALL@%$INSTALL%g
21072 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
21073 fi; done
21074 rm -f conftest.s*
21075
21076 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21077 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21078 #
21079 # ac_d sets the value in "#define NAME VALUE" lines.
21080 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21081 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
21082 ac_dC='\3'
21083 ac_dD='%g'
21084 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
21085 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21086 ac_uB='\([ ]\)%\1#\2define\3'
21087 ac_uC=' '
21088 ac_uD='\4%g'
21089 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21090 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21091 ac_eB='$%\1#\2define\3'
21092 ac_eC=' '
21093 ac_eD='%g'
21094
21095 if test "${CONFIG_HEADERS+set}" != set; then
21096 EOF
21097 cat >> $CONFIG_STATUS <<EOF
21098 CONFIG_HEADERS="setup.h:setup.h.in"
21099 EOF
21100 cat >> $CONFIG_STATUS <<\EOF
21101 fi
21102 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
21103 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21104 case "$ac_file" in
21105 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
21106 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
21107 *) ac_file_in="${ac_file}.in" ;;
21108 esac
21109
21110 echo creating $ac_file
21111
21112 rm -f conftest.frag conftest.in conftest.out
21113 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21114 cat $ac_file_inputs > conftest.in
21115
21116 EOF
21117
21118 # Transform confdefs.h into a sed script conftest.vals that substitutes
21119 # the proper values into config.h.in to produce config.h. And first:
21120 # Protect against being on the right side of a sed subst in config.status.
21121 # Protect against being in an unquoted here document in config.status.
21122 rm -f conftest.vals
21123 cat > conftest.hdr <<\EOF
21124 s/[\\&%]/\\&/g
21125 s%[\\$`]%\\&%g
21126 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
21127 s%ac_d%ac_u%gp
21128 s%ac_u%ac_e%gp
21129 EOF
21130 sed -n -f conftest.hdr confdefs.h > conftest.vals
21131 rm -f conftest.hdr
21132
21133 # This sed command replaces #undef with comments. This is necessary, for
21134 # example, in the case of _POSIX_SOURCE, which is predefined and required
21135 # on some systems where configure will not decide to define it.
21136 cat >> conftest.vals <<\EOF
21137 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
21138 EOF
21139
21140 # Break up conftest.vals because some shells have a limit on
21141 # the size of here documents, and old seds have small limits too.
21142
21143 rm -f conftest.tail
21144 while :
21145 do
21146 ac_lines=`grep -c . conftest.vals`
21147 # grep -c gives empty output for an empty file on some AIX systems.
21148 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
21149 # Write a limited-size here document to conftest.frag.
21150 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
21151 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
21152 echo 'CEOF
21153 sed -f conftest.frag conftest.in > conftest.out
21154 rm -f conftest.in
21155 mv conftest.out conftest.in
21156 ' >> $CONFIG_STATUS
21157 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
21158 rm -f conftest.vals
21159 mv conftest.tail conftest.vals
21160 done
21161 rm -f conftest.vals
21162
21163 cat >> $CONFIG_STATUS <<\EOF
21164 rm -f conftest.frag conftest.h
21165 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
21166 cat conftest.in >> conftest.h
21167 rm -f conftest.in
21168 if cmp -s $ac_file conftest.h 2>/dev/null; then
21169 echo "$ac_file is unchanged"
21170 rm -f conftest.h
21171 else
21172 # Remove last slash and all that follows it. Not all systems have dirname.
21173 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21174 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21175 # The file is in a subdirectory.
21176 test ! -d "$ac_dir" && mkdir "$ac_dir"
21177 fi
21178 rm -f $ac_file
21179 mv conftest.h $ac_file
21180 fi
21181 fi; done
21182
21183 EOF
21184 cat >> $CONFIG_STATUS <<EOF
21185
21186 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
21187 LN_S="${LN_S}"
21188
21189
21190 EOF
21191 cat >> $CONFIG_STATUS <<\EOF
21192
21193 if test ! -h wx-config; then
21194 chmod +x wx-config
21195 mv wx-config wx${TOOLCHAIN_NAME}-config
21196 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
21197 fi
21198
21199 if test ! -d lib; then
21200 mkdir lib
21201 fi
21202 if test ! -d lib/wx; then
21203 mkdir lib/wx
21204 fi
21205 if test ! -d lib/wx/include; then
21206 mkdir lib/wx/include
21207 fi
21208 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
21209 mkdir lib/wx/include/${TOOLCHAIN_NAME}
21210 fi
21211 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
21212 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
21213 fi
21214 if test -f setup.h; then
21215 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
21216 fi
21217
21218 exit 0
21219 EOF
21220 chmod +x $CONFIG_STATUS
21221 rm -fr confdefs* $ac_clean_files
21222 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
21223
21224 if test "$no_recursion" != yes; then
21225
21226 # Remove --cache-file and --srcdir arguments so they do not pile up.
21227 ac_sub_configure_args=
21228 ac_prev=
21229 for ac_arg in $ac_configure_args; do
21230 if test -n "$ac_prev"; then
21231 ac_prev=
21232 continue
21233 fi
21234 case "$ac_arg" in
21235 -cache-file | --cache-file | --cache-fil | --cache-fi \
21236 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
21237 ac_prev=cache_file ;;
21238 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
21239 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
21240 ;;
21241 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
21242 ac_prev=srcdir ;;
21243 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
21244 ;;
21245 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
21246 esac
21247 done
21248
21249 for ac_config_dir in demos samples utils contrib; do
21250
21251 # Do not complain, so a configure script can configure whichever
21252 # parts of a large source tree are present.
21253 if test ! -d $srcdir/$ac_config_dir; then
21254 continue
21255 fi
21256
21257 echo configuring in $ac_config_dir
21258
21259 case "$srcdir" in
21260 .) ;;
21261 *)
21262 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
21263 else
21264 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
21265 fi
21266 ;;
21267 esac
21268
21269 ac_popdir=`pwd`
21270 cd $ac_config_dir
21271
21272 # A "../" for each directory in /$ac_config_dir.
21273 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
21274
21275 case "$srcdir" in
21276 .) # No --srcdir option. We are building in place.
21277 ac_sub_srcdir=$srcdir ;;
21278 /*) # Absolute path.
21279 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
21280 *) # Relative path.
21281 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
21282 esac
21283
21284 # Check for guested configure; otherwise get Cygnus style configure.
21285 if test -f $ac_sub_srcdir/configure; then
21286 ac_sub_configure=$ac_sub_srcdir/configure
21287 elif test -f $ac_sub_srcdir/configure.in; then
21288 ac_sub_configure=$ac_configure
21289 else
21290 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
21291 ac_sub_configure=
21292 fi
21293
21294 # The recursion is here.
21295 if test -n "$ac_sub_configure"; then
21296
21297 # Make the cache file name correct relative to the subdirectory.
21298 case "$cache_file" in
21299 /*) ac_sub_cache_file=$cache_file ;;
21300 *) # Relative path.
21301 ac_sub_cache_file="$ac_dots$cache_file" ;;
21302 esac
21303 case "$ac_given_INSTALL" in
21304 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21305 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21306 esac
21307
21308 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
21309 # The eval makes quoting arguments work.
21310 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
21311 then :
21312 else
21313 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
21314 fi
21315 fi
21316
21317 cd $ac_popdir
21318 done
21319 fi
21320
21321