]> git.saurik.com Git - wxWidgets.git/blob - configure
changed processing of events to only process the events that were logged when enterin...
[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 # Guess values for system-dependent variables and create Makefiles.
45 # Generated automatically using autoconf version 2.13
46 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
47 #
48 # This configure script is free software; the Free Software Foundation
49 # gives unlimited permission to copy, distribute and modify it.
50
51 # Defaults:
52 ac_help=
53 ac_default_prefix=/usr/local
54 # Any additions from configure.in:
55 ac_help="$ac_help
56 --enable-gui use GUI classes"
57 ac_help="$ac_help
58 --enable-universal use wxWindows GUI controls instead of native ones"
59 ac_help="$ac_help
60 --with-gtk use GTK+"
61 ac_help="$ac_help
62 --with-motif use Motif/Lesstif"
63 ac_help="$ac_help
64 --with-mac use Mac OS X"
65 ac_help="$ac_help
66 --with-wine use WINE"
67 ac_help="$ac_help
68 --with-msw use MS-Windows"
69 ac_help="$ac_help
70 --with-pm use OS/2 Presentation Manager"
71 ac_help="$ac_help
72 --with-mgl use SciTech MGL"
73 ac_help="$ac_help
74 --with-microwin use MicroWindows"
75 ac_help="$ac_help
76 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
77 ac_help="$ac_help
78 --with-libpng use libpng (PNG image format)"
79 ac_help="$ac_help
80 --with-libjpeg use libjpeg (JPEG file format)"
81 ac_help="$ac_help
82 --with-libtiff use libtiff (TIFF file format)"
83 ac_help="$ac_help
84 --with-freetype use freetype (font rasterizer)"
85 ac_help="$ac_help
86 --with-opengl use OpenGL (or Mesa)"
87 ac_help="$ac_help
88 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
89 ac_help="$ac_help
90 --with-regex enable support for wxRegEx class"
91 ac_help="$ac_help
92 --with-zlib use zlib for LZW compression"
93 ac_help="$ac_help
94 --with-odbc use the IODBC and wxODBC classes"
95 ac_help="$ac_help
96 --enable-shared create shared library code"
97 ac_help="$ac_help
98 --enable-soname set the DT_SONAME field in ELF shared libraries"
99 ac_help="$ac_help
100 --enable-optimise create optimised code"
101 ac_help="$ac_help
102 --enable-debug same as debug_flag and debug_info"
103 ac_help="$ac_help
104 --enable-precomp enable use of precompiled headers (Mac OS X)"
105 ac_help="$ac_help
106 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
107 ac_help="$ac_help
108 --enable-debug_info create code with debugging information"
109 ac_help="$ac_help
110 --enable-debug_gdb create code with extra GDB debugging information"
111 ac_help="$ac_help
112 --enable-debug_cntxt use wxDebugContext"
113 ac_help="$ac_help
114 --enable-mem_tracing create code with memory tracing"
115 ac_help="$ac_help
116 --enable-profile create code with profiling information"
117 ac_help="$ac_help
118 --enable-no_rtti create code without RTTI information"
119 ac_help="$ac_help
120 --enable-no_exceptions create code without C++ exceptions handling"
121 ac_help="$ac_help
122 --enable-permissive compile code disregarding strict ANSI"
123 ac_help="$ac_help
124 --enable-no_deps create code without dependency information"
125 ac_help="$ac_help
126 --enable-compat20 enable wxWindows 2.0 compatibility"
127 ac_help="$ac_help
128 --enable-compat22 enable wxWindows 2.2 compatibility"
129 ac_help="$ac_help
130 --enable-intl use internationalization system"
131 ac_help="$ac_help
132 --enable-config use wxConfig (and derived) classes"
133 ac_help="$ac_help
134 --enable-protocols use wxProtocol and derived classes"
135 ac_help="$ac_help
136 --enable-ftp use wxFTP (requires wxProtocol"
137 ac_help="$ac_help
138 --enable-http use wxHTTP (requires wxProtocol"
139 ac_help="$ac_help
140 --enable-fileproto use wxFileProto class (requires wxProtocol"
141 ac_help="$ac_help
142 --enable-sockets use socket/network classes"
143 ac_help="$ac_help
144 --enable-ipc use interprocess communication (wxSocket etc.)"
145 ac_help="$ac_help
146 --enable-cmdline use wxCmdLineParser class"
147 ac_help="$ac_help
148 --enable-datetime use wxDateTime class"
149 ac_help="$ac_help
150 --enable-timedate use obsolete wxDate/wxTime classes"
151 ac_help="$ac_help
152 --enable-stopwatch use wxStopWatch class"
153 ac_help="$ac_help
154 --enable-dialupman use dialup network classes"
155 ac_help="$ac_help
156 --enable-apple_ieee use the Apple IEEE codec"
157 ac_help="$ac_help
158 --enable-timer use wxTimer class"
159 ac_help="$ac_help
160 --enable-wave use wxWave class"
161 ac_help="$ac_help
162 --enable-fraction use wxFraction class"
163 ac_help="$ac_help
164 --enable-dynlib use wxLibrary class for DLL loading"
165 ac_help="$ac_help
166 --enable-dynamicloader use (new) wxDynamicLibrary class"
167 ac_help="$ac_help
168 --enable-longlong use wxLongLong class"
169 ac_help="$ac_help
170 --enable-geometry use geometry class"
171 ac_help="$ac_help
172 --enable-log use logging system"
173 ac_help="$ac_help
174 --enable-streams use wxStream etc classes"
175 ac_help="$ac_help
176 --enable-file use wxFile classes"
177 ac_help="$ac_help
178 --enable-ffile use wxFFile classes"
179 ac_help="$ac_help
180 --enable-textbuf use wxTextBuffer class"
181 ac_help="$ac_help
182 --enable-textfile use wxTextFile class"
183 ac_help="$ac_help
184 --enable-fontmap use font encodings conversion classes"
185 ac_help="$ac_help
186 --enable-unicode compile wxString with Unicode support"
187 ac_help="$ac_help
188 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
189 ac_help="$ac_help
190 --enable-wxprintfv use wxWindows implementation of vprintf()"
191 ac_help="$ac_help
192 --enable-std_iostreams use standard C++ stream classes"
193 ac_help="$ac_help
194 --enable-filesystem use virtual file systems classes"
195 ac_help="$ac_help
196 --enable-fs_inet use virtual HTTP/FTP filesystems"
197 ac_help="$ac_help
198 --enable-fs_zip use virtual ZIP filesystems"
199 ac_help="$ac_help
200 --enable-zipstream use wxZipInputStream"
201 ac_help="$ac_help
202 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
203 ac_help="$ac_help
204 --enable-snglinst use wxSingleInstanceChecker class"
205 ac_help="$ac_help
206 --enable-mimetype use wxMimeTypesManager"
207 ac_help="$ac_help
208 --enable-sysoptions use wxSystemOptions"
209 ac_help="$ac_help
210 --enable-url use wxURL class"
211 ac_help="$ac_help
212 --enable-protocol use wxProtocol class"
213 ac_help="$ac_help
214 --enable-protocol-http HTTP support in wxProtocol"
215 ac_help="$ac_help
216 --enable-protocol-ftp FTP support in wxProtocol"
217 ac_help="$ac_help
218 --enable-protocol-file FILE support in wxProtocol"
219 ac_help="$ac_help
220 --enable-threads use threads"
221 ac_help="$ac_help
222 --enable-docview use document view architecture"
223 ac_help="$ac_help
224 --enable-help use help subsystem"
225 ac_help="$ac_help
226 --enable-mshtmlhelp use MS HTML Help (win32)"
227 ac_help="$ac_help
228 --enable-html use wxHTML sub-library"
229 ac_help="$ac_help
230 --enable-htmlhelp use wxHTML-based help"
231 ac_help="$ac_help
232 --enable-constraints use layout-constraints system"
233 ac_help="$ac_help
234 --enable-printarch use printing architecture"
235 ac_help="$ac_help
236 --enable-mdi use multiple document interface architecture"
237 ac_help="$ac_help
238 --enable-loggui use standard GUI logger"
239 ac_help="$ac_help
240 --enable-logwin use wxLogWindow"
241 ac_help="$ac_help
242 --enable-logdialog use wxLogDialog"
243 ac_help="$ac_help
244 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
245 ac_help="$ac_help
246 --enable-prologio use Prolog IO library"
247 ac_help="$ac_help
248 --enable-resources use wxWindows resources"
249 ac_help="$ac_help
250 --enable-xresources use X resources for save (default for gtk+)"
251 ac_help="$ac_help
252 --enable-clipboard use wxClipboard classes"
253 ac_help="$ac_help
254 --enable-dnd use Drag'n'Drop classes"
255 ac_help="$ac_help
256 --enable-metafile use win32 metafiles"
257 ac_help="$ac_help
258 --enable-treelayout use wxTreeLayout classes"
259 ac_help="$ac_help
260 --enable-controls use all usual controls"
261 ac_help="$ac_help
262 --enable-accel use accelerators"
263 ac_help="$ac_help
264 --enable-button use wxButton class"
265 ac_help="$ac_help
266 --enable-bmpbutton use wxBitmapButton class"
267 ac_help="$ac_help
268 --enable-calendar use wxCalendarCtrl class"
269 ac_help="$ac_help
270 --enable-caret use wxCaret class"
271 ac_help="$ac_help
272 --enable-checkbox use wxCheckBox class"
273 ac_help="$ac_help
274 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
275 ac_help="$ac_help
276 --enable-choice use wxChoice class"
277 ac_help="$ac_help
278 --enable-combobox use wxComboBox classes"
279 ac_help="$ac_help
280 --enable-gauge use wxGauge class"
281 ac_help="$ac_help
282 --enable-grid use wxGrid class"
283 ac_help="$ac_help
284 --enable-newgrid use new wxGrid class"
285 ac_help="$ac_help
286 --enable-imaglist use wxImageList class"
287 ac_help="$ac_help
288 --enable-listbox use wxListBox class"
289 ac_help="$ac_help
290 --enable-listctrl use wxListCtrl class"
291 ac_help="$ac_help
292 --enable-notebook use wxNotebook class"
293 ac_help="$ac_help
294 --enable-propsheet use wxPropertySheet class"
295 ac_help="$ac_help
296 --enable-radiobox use wxRadioBox class"
297 ac_help="$ac_help
298 --enable-radiobtn use wxRadioButton class"
299 ac_help="$ac_help
300 --enable-sash use wxSashWindow class"
301 ac_help="$ac_help
302 --enable-scrollbar use wxScrollBar class and scrollable windows"
303 ac_help="$ac_help
304 --enable-slider use wxSlider class"
305 ac_help="$ac_help
306 --enable-spinbtn use wxSpinButton class"
307 ac_help="$ac_help
308 --enable-spinctrl use wxSpinCtrl class"
309 ac_help="$ac_help
310 --enable-splitter use wxSplitterWindow class"
311 ac_help="$ac_help
312 --enable-statbmp use wxStaticBitmap class"
313 ac_help="$ac_help
314 --enable-statbox use wxStaticBox class"
315 ac_help="$ac_help
316 --enable-statline use wxStaticLine class"
317 ac_help="$ac_help
318 --enable-stattext use wxStaticText class"
319 ac_help="$ac_help
320 --enable-statusbar use wxStatusBar class"
321 ac_help="$ac_help
322 --enable-tabdialog use wxTabControl class"
323 ac_help="$ac_help
324 --enable-textctrl use wxTextCtrl class"
325 ac_help="$ac_help
326 --enable-togglebtn use wxToggleButton class"
327 ac_help="$ac_help
328 --enable-toolbar use wxToolBar class"
329 ac_help="$ac_help
330 --enable-tbarnative use native wxToolBar class"
331 ac_help="$ac_help
332 --enable-tbarsmpl use wxToolBarSimple class"
333 ac_help="$ac_help
334 --enable-treectrl use wxTreeCtrl class"
335 ac_help="$ac_help
336 --enable-tipwindow use wxTipWindow class"
337 ac_help="$ac_help
338 --enable-popupwin use wxPopUpWindow class"
339 ac_help="$ac_help
340 --enable-commondlg use all common dialogs"
341 ac_help="$ac_help
342 --enable-choicedlg use wxChoiceDialog"
343 ac_help="$ac_help
344 --enable-coldlg use wxColourDialog"
345 ac_help="$ac_help
346 --enable-filedlg use wxFileDialog"
347 ac_help="$ac_help
348 --enable-finddlg use wxFindReplaceDialog"
349 ac_help="$ac_help
350 --enable-fontdlg use wxFontDialog"
351 ac_help="$ac_help
352 --enable-dirdlg use wxDirDialog"
353 ac_help="$ac_help
354 --enable-msgdlg use wxMessageDialog"
355 ac_help="$ac_help
356 --enable-numberdlg use wxNumberEntryDialog"
357 ac_help="$ac_help
358 --enable-splash use wxSplashScreen"
359 ac_help="$ac_help
360 --enable-textdlg use wxTextDialog"
361 ac_help="$ac_help
362 --enable-tipdlg use startup tips"
363 ac_help="$ac_help
364 --enable-progressdlg use wxProgressDialog"
365 ac_help="$ac_help
366 --enable-wizarddlg use wxWizard"
367 ac_help="$ac_help
368 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
369 ac_help="$ac_help
370 --enable-miniframe use wxMiniFrame class"
371 ac_help="$ac_help
372 --enable-tooltips use wxToolTip class"
373 ac_help="$ac_help
374 --enable-splines use spline drawing code"
375 ac_help="$ac_help
376 --enable-validators use wxValidator and derived classes"
377 ac_help="$ac_help
378 --enable-busyinfo use wxBusyInfo"
379 ac_help="$ac_help
380 --enable-joystick use wxJoystick (Linux only)"
381 ac_help="$ac_help
382 --enable-metafiles use wxMetaFile (Windows only)"
383 ac_help="$ac_help
384 --enable-dragimage use wxDragImage"
385 ac_help="$ac_help
386 --enable-palette use wxPalette class"
387 ac_help="$ac_help
388 --enable-image use wxImage class"
389 ac_help="$ac_help
390 --enable-gif use gif images (GIF file format)"
391 ac_help="$ac_help
392 --enable-pcx use pcx images (PCX file format)"
393 ac_help="$ac_help
394 --enable-pnm use pnm images (PNM file format)"
395 ac_help="$ac_help
396 --enable-xpm use xpm images (XPM file format)"
397 ac_help="$ac_help
398 --enable-icocur use Windows ICO and CUR formats"
399 ac_help="$ac_help
400 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
401 ac_help="$ac_help
402 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
403 ac_help="$ac_help
404 --disable-gtktest Do not try to compile and run a test GTK program"
405 ac_help="$ac_help
406 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
407 ac_help="$ac_help
408 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
409 ac_help="$ac_help
410 --disable-gtktest Do not try to compile and run a test GTK program"
411 ac_help="$ac_help
412 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
413 ac_help="$ac_help
414 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
415 ac_help="$ac_help
416 --disable-gtktest Do not try to compile and run a test GTK program"
417 ac_help="$ac_help
418 --with-x use the X Window System"
419
420 # Initialize some variables set by options.
421 # The variables have the same names as the options, with
422 # dashes changed to underlines.
423 build=NONE
424 cache_file=./config.cache
425 exec_prefix=NONE
426 host=NONE
427 no_create=
428 nonopt=NONE
429 no_recursion=
430 prefix=NONE
431 program_prefix=NONE
432 program_suffix=NONE
433 program_transform_name=s,x,x,
434 silent=
435 site=
436 srcdir=
437 target=NONE
438 verbose=
439 x_includes=NONE
440 x_libraries=NONE
441 bindir='${exec_prefix}/bin'
442 sbindir='${exec_prefix}/sbin'
443 libexecdir='${exec_prefix}/libexec'
444 datadir='${prefix}/share'
445 sysconfdir='${prefix}/etc'
446 sharedstatedir='${prefix}/com'
447 localstatedir='${prefix}/var'
448 libdir='${exec_prefix}/lib'
449 includedir='${prefix}/include'
450 oldincludedir='/usr/include'
451 infodir='${prefix}/info'
452 mandir='${prefix}/man'
453
454 # Initialize some other variables.
455 subdirs=
456 MFLAGS= MAKEFLAGS=
457 SHELL=${CONFIG_SHELL-/bin/sh}
458 # Maximum number of lines to put in a shell here document.
459 ac_max_here_lines=12
460
461 ac_prev=
462 for ac_option
463 do
464
465 # If the previous option needs an argument, assign it.
466 if test -n "$ac_prev"; then
467 eval "$ac_prev=\$ac_option"
468 ac_prev=
469 continue
470 fi
471
472 case "$ac_option" in
473 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
474 *) ac_optarg= ;;
475 esac
476
477 # Accept the important Cygnus configure options, so we can diagnose typos.
478
479 case "$ac_option" in
480
481 -bindir | --bindir | --bindi | --bind | --bin | --bi)
482 ac_prev=bindir ;;
483 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
484 bindir="$ac_optarg" ;;
485
486 -build | --build | --buil | --bui | --bu)
487 ac_prev=build ;;
488 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
489 build="$ac_optarg" ;;
490
491 -cache-file | --cache-file | --cache-fil | --cache-fi \
492 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
493 ac_prev=cache_file ;;
494 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
495 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
496 cache_file="$ac_optarg" ;;
497
498 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
499 ac_prev=datadir ;;
500 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
501 | --da=*)
502 datadir="$ac_optarg" ;;
503
504 -disable-* | --disable-*)
505 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
506 # Reject names that are not valid shell variable names.
507 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
508 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
509 fi
510 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
511 eval "enable_${ac_feature}=no" ;;
512
513 -enable-* | --enable-*)
514 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
515 # Reject names that are not valid shell variable names.
516 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
517 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
518 fi
519 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
520 case "$ac_option" in
521 *=*) ;;
522 *) ac_optarg=yes ;;
523 esac
524 eval "enable_${ac_feature}='$ac_optarg'" ;;
525
526 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
527 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
528 | --exec | --exe | --ex)
529 ac_prev=exec_prefix ;;
530 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
531 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
532 | --exec=* | --exe=* | --ex=*)
533 exec_prefix="$ac_optarg" ;;
534
535 -gas | --gas | --ga | --g)
536 # Obsolete; use --with-gas.
537 with_gas=yes ;;
538
539 -help | --help | --hel | --he)
540 # Omit some internal or obsolete options to make the list less imposing.
541 # This message is too long to be a string in the A/UX 3.1 sh.
542 cat << EOF
543 Usage: configure [options] [host]
544 Options: [defaults in brackets after descriptions]
545 Configuration:
546 --cache-file=FILE cache test results in FILE
547 --help print this message
548 --no-create do not create output files
549 --quiet, --silent do not print \`checking...' messages
550 --version print the version of autoconf that created configure
551 Directory and file names:
552 --prefix=PREFIX install architecture-independent files in PREFIX
553 [$ac_default_prefix]
554 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
555 [same as prefix]
556 --bindir=DIR user executables in DIR [EPREFIX/bin]
557 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
558 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
559 --datadir=DIR read-only architecture-independent data in DIR
560 [PREFIX/share]
561 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
562 --sharedstatedir=DIR modifiable architecture-independent data in DIR
563 [PREFIX/com]
564 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
565 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
566 --includedir=DIR C header files in DIR [PREFIX/include]
567 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
568 --infodir=DIR info documentation in DIR [PREFIX/info]
569 --mandir=DIR man documentation in DIR [PREFIX/man]
570 --srcdir=DIR find the sources in DIR [configure dir or ..]
571 --program-prefix=PREFIX prepend PREFIX to installed program names
572 --program-suffix=SUFFIX append SUFFIX to installed program names
573 --program-transform-name=PROGRAM
574 run sed PROGRAM on installed program names
575 EOF
576 cat << EOF
577 Host type:
578 --build=BUILD configure for building on BUILD [BUILD=HOST]
579 --host=HOST configure for HOST [guessed]
580 --target=TARGET configure for TARGET [TARGET=HOST]
581 Features and packages:
582 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
583 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
584 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
585 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
586 --x-includes=DIR X include files are in DIR
587 --x-libraries=DIR X library files are in DIR
588 EOF
589 if test -n "$ac_help"; then
590 echo "--enable and --with options recognized:$ac_help"
591 fi
592 exit 0 ;;
593
594 -host | --host | --hos | --ho)
595 ac_prev=host ;;
596 -host=* | --host=* | --hos=* | --ho=*)
597 host="$ac_optarg" ;;
598
599 -includedir | --includedir | --includedi | --included | --include \
600 | --includ | --inclu | --incl | --inc)
601 ac_prev=includedir ;;
602 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
603 | --includ=* | --inclu=* | --incl=* | --inc=*)
604 includedir="$ac_optarg" ;;
605
606 -infodir | --infodir | --infodi | --infod | --info | --inf)
607 ac_prev=infodir ;;
608 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
609 infodir="$ac_optarg" ;;
610
611 -libdir | --libdir | --libdi | --libd)
612 ac_prev=libdir ;;
613 -libdir=* | --libdir=* | --libdi=* | --libd=*)
614 libdir="$ac_optarg" ;;
615
616 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
617 | --libexe | --libex | --libe)
618 ac_prev=libexecdir ;;
619 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
620 | --libexe=* | --libex=* | --libe=*)
621 libexecdir="$ac_optarg" ;;
622
623 -localstatedir | --localstatedir | --localstatedi | --localstated \
624 | --localstate | --localstat | --localsta | --localst \
625 | --locals | --local | --loca | --loc | --lo)
626 ac_prev=localstatedir ;;
627 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
628 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
629 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
630 localstatedir="$ac_optarg" ;;
631
632 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
633 ac_prev=mandir ;;
634 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
635 mandir="$ac_optarg" ;;
636
637 -nfp | --nfp | --nf)
638 # Obsolete; use --without-fp.
639 with_fp=no ;;
640
641 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
642 | --no-cr | --no-c)
643 no_create=yes ;;
644
645 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
646 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
647 no_recursion=yes ;;
648
649 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
650 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
651 | --oldin | --oldi | --old | --ol | --o)
652 ac_prev=oldincludedir ;;
653 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
654 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
655 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
656 oldincludedir="$ac_optarg" ;;
657
658 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
659 ac_prev=prefix ;;
660 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
661 prefix="$ac_optarg" ;;
662
663 -program-prefix | --program-prefix | --program-prefi | --program-pref \
664 | --program-pre | --program-pr | --program-p)
665 ac_prev=program_prefix ;;
666 -program-prefix=* | --program-prefix=* | --program-prefi=* \
667 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
668 program_prefix="$ac_optarg" ;;
669
670 -program-suffix | --program-suffix | --program-suffi | --program-suff \
671 | --program-suf | --program-su | --program-s)
672 ac_prev=program_suffix ;;
673 -program-suffix=* | --program-suffix=* | --program-suffi=* \
674 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
675 program_suffix="$ac_optarg" ;;
676
677 -program-transform-name | --program-transform-name \
678 | --program-transform-nam | --program-transform-na \
679 | --program-transform-n | --program-transform- \
680 | --program-transform | --program-transfor \
681 | --program-transfo | --program-transf \
682 | --program-trans | --program-tran \
683 | --progr-tra | --program-tr | --program-t)
684 ac_prev=program_transform_name ;;
685 -program-transform-name=* | --program-transform-name=* \
686 | --program-transform-nam=* | --program-transform-na=* \
687 | --program-transform-n=* | --program-transform-=* \
688 | --program-transform=* | --program-transfor=* \
689 | --program-transfo=* | --program-transf=* \
690 | --program-trans=* | --program-tran=* \
691 | --progr-tra=* | --program-tr=* | --program-t=*)
692 program_transform_name="$ac_optarg" ;;
693
694 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
695 | -silent | --silent | --silen | --sile | --sil)
696 silent=yes ;;
697
698 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
699 ac_prev=sbindir ;;
700 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
701 | --sbi=* | --sb=*)
702 sbindir="$ac_optarg" ;;
703
704 -sharedstatedir | --sharedstatedir | --sharedstatedi \
705 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
706 | --sharedst | --shareds | --shared | --share | --shar \
707 | --sha | --sh)
708 ac_prev=sharedstatedir ;;
709 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
710 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
711 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
712 | --sha=* | --sh=*)
713 sharedstatedir="$ac_optarg" ;;
714
715 -site | --site | --sit)
716 ac_prev=site ;;
717 -site=* | --site=* | --sit=*)
718 site="$ac_optarg" ;;
719
720 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
721 ac_prev=srcdir ;;
722 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
723 srcdir="$ac_optarg" ;;
724
725 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
726 | --syscon | --sysco | --sysc | --sys | --sy)
727 ac_prev=sysconfdir ;;
728 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
729 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
730 sysconfdir="$ac_optarg" ;;
731
732 -target | --target | --targe | --targ | --tar | --ta | --t)
733 ac_prev=target ;;
734 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
735 target="$ac_optarg" ;;
736
737 -v | -verbose | --verbose | --verbos | --verbo | --verb)
738 verbose=yes ;;
739
740 -version | --version | --versio | --versi | --vers)
741 echo "configure generated by autoconf version 2.13"
742 exit 0 ;;
743
744 -with-* | --with-*)
745 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
746 # Reject names that are not valid shell variable names.
747 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
748 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
749 fi
750 ac_package=`echo $ac_package| sed 's/-/_/g'`
751 case "$ac_option" in
752 *=*) ;;
753 *) ac_optarg=yes ;;
754 esac
755 eval "with_${ac_package}='$ac_optarg'" ;;
756
757 -without-* | --without-*)
758 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
759 # Reject names that are not valid shell variable names.
760 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
761 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
762 fi
763 ac_package=`echo $ac_package| sed 's/-/_/g'`
764 eval "with_${ac_package}=no" ;;
765
766 --x)
767 # Obsolete; use --with-x.
768 with_x=yes ;;
769
770 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
771 | --x-incl | --x-inc | --x-in | --x-i)
772 ac_prev=x_includes ;;
773 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
774 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
775 x_includes="$ac_optarg" ;;
776
777 -x-libraries | --x-libraries | --x-librarie | --x-librari \
778 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
779 ac_prev=x_libraries ;;
780 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
781 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
782 x_libraries="$ac_optarg" ;;
783
784 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
785 ;;
786
787 *)
788 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
789 echo "configure: warning: $ac_option: invalid host type" 1>&2
790 fi
791 if test "x$nonopt" != xNONE; then
792 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
793 fi
794 nonopt="$ac_option"
795 ;;
796
797 esac
798 done
799
800 if test -n "$ac_prev"; then
801 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
802 fi
803
804 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
805
806 # File descriptor usage:
807 # 0 standard input
808 # 1 file creation
809 # 2 errors and warnings
810 # 3 some systems may open it to /dev/tty
811 # 4 used on the Kubota Titan
812 # 6 checking for... messages and results
813 # 5 compiler messages saved in config.log
814 if test "$silent" = yes; then
815 exec 6>/dev/null
816 else
817 exec 6>&1
818 fi
819 exec 5>./config.log
820
821 echo "\
822 This file contains any messages produced by compilers while
823 running configure, to aid debugging if configure makes a mistake.
824 " 1>&5
825
826 # Strip out --no-create and --no-recursion so they do not pile up.
827 # Also quote any args containing shell metacharacters.
828 ac_configure_args=
829 for ac_arg
830 do
831 case "$ac_arg" in
832 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
833 | --no-cr | --no-c) ;;
834 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
835 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
836 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
837 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
838 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
839 esac
840 done
841
842 # NLS nuisances.
843 # Only set these to C if already set. These must not be set unconditionally
844 # because not all systems understand e.g. LANG=C (notably SCO).
845 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
846 # Non-C LC_CTYPE values break the ctype check.
847 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
848 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
849 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
850 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
851
852 # confdefs.h avoids OS command line length limits that DEFS can exceed.
853 rm -rf conftest* confdefs.h
854 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
855 echo > confdefs.h
856
857 # A filename unique to this package, relative to the directory that
858 # configure is in, which we can look for to find out if srcdir is correct.
859 ac_unique_file=wx-config.in
860
861 # Find the source files, if location was not specified.
862 if test -z "$srcdir"; then
863 ac_srcdir_defaulted=yes
864 # Try the directory containing this script, then its parent.
865 ac_prog=$0
866 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
867 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
868 srcdir=$ac_confdir
869 if test ! -r $srcdir/$ac_unique_file; then
870 srcdir=..
871 fi
872 else
873 ac_srcdir_defaulted=no
874 fi
875 if test ! -r $srcdir/$ac_unique_file; then
876 if test "$ac_srcdir_defaulted" = yes; then
877 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
878 else
879 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
880 fi
881 fi
882 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
883
884 # Prefer explicitly selected file to automatically selected ones.
885 if test -z "$CONFIG_SITE"; then
886 if test "x$prefix" != xNONE; then
887 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
888 else
889 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
890 fi
891 fi
892 for ac_site_file in $CONFIG_SITE; do
893 if test -r "$ac_site_file"; then
894 echo "loading site script $ac_site_file"
895 . "$ac_site_file"
896 fi
897 done
898
899 if test -r "$cache_file"; then
900 echo "loading cache $cache_file"
901 . $cache_file
902 else
903 echo "creating cache $cache_file"
904 > $cache_file
905 fi
906
907 ac_ext=c
908 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
909 ac_cpp='$CPP $CPPFLAGS'
910 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
911 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
912 cross_compiling=$ac_cv_prog_cc_cross
913
914 ac_exeext=
915 ac_objext=o
916 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
917 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
918 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
919 ac_n= ac_c='
920 ' ac_t=' '
921 else
922 ac_n=-n ac_c= ac_t=
923 fi
924 else
925 ac_n= ac_c='\c' ac_t=
926 fi
927
928
929
930 ac_aux_dir=
931 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
932 if test -f $ac_dir/install-sh; then
933 ac_aux_dir=$ac_dir
934 ac_install_sh="$ac_aux_dir/install-sh -c"
935 break
936 elif test -f $ac_dir/install.sh; then
937 ac_aux_dir=$ac_dir
938 ac_install_sh="$ac_aux_dir/install.sh -c"
939 break
940 fi
941 done
942 if test -z "$ac_aux_dir"; then
943 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
944 fi
945 ac_config_guess=$ac_aux_dir/config.guess
946 ac_config_sub=$ac_aux_dir/config.sub
947 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
948
949
950 # Do some error checking and defaulting for the host and target type.
951 # The inputs are:
952 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
953 #
954 # The rules are:
955 # 1. You are not allowed to specify --host, --target, and nonopt at the
956 # same time.
957 # 2. Host defaults to nonopt.
958 # 3. If nonopt is not specified, then host defaults to the current host,
959 # as determined by config.guess.
960 # 4. Target and build default to nonopt.
961 # 5. If nonopt is not specified, then target and build default to host.
962
963 # The aliases save the names the user supplied, while $host etc.
964 # will get canonicalized.
965 case $host---$target---$nonopt in
966 NONE---*---* | *---NONE---* | *---*---NONE) ;;
967 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
968 esac
969
970
971 # Make sure we can run config.sub.
972 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
973 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
974 fi
975
976 echo $ac_n "checking host system type""... $ac_c" 1>&6
977 echo "configure:978: checking host system type" >&5
978
979 host_alias=$host
980 case "$host_alias" in
981 NONE)
982 case $nonopt in
983 NONE)
984 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
985 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
986 fi ;;
987 *) host_alias=$nonopt ;;
988 esac ;;
989 esac
990
991 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
992 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
993 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
994 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
995 echo "$ac_t""$host" 1>&6
996
997 echo $ac_n "checking target system type""... $ac_c" 1>&6
998 echo "configure:999: checking target system type" >&5
999
1000 target_alias=$target
1001 case "$target_alias" in
1002 NONE)
1003 case $nonopt in
1004 NONE) target_alias=$host_alias ;;
1005 *) target_alias=$nonopt ;;
1006 esac ;;
1007 esac
1008
1009 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1010 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1011 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1012 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1013 echo "$ac_t""$target" 1>&6
1014
1015 echo $ac_n "checking build system type""... $ac_c" 1>&6
1016 echo "configure:1017: checking build system type" >&5
1017
1018 build_alias=$build
1019 case "$build_alias" in
1020 NONE)
1021 case $nonopt in
1022 NONE) build_alias=$host_alias ;;
1023 *) build_alias=$nonopt ;;
1024 esac ;;
1025 esac
1026
1027 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1028 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1029 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1030 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1031 echo "$ac_t""$build" 1>&6
1032
1033 test "$host_alias" != "$target_alias" &&
1034 test "$program_prefix$program_suffix$program_transform_name" = \
1035 NONENONEs,x,x, &&
1036 program_prefix=${target_alias}-
1037
1038
1039
1040 WX_MAJOR_VERSION_NUMBER=2
1041 WX_MINOR_VERSION_NUMBER=3
1042 WX_RELEASE_NUMBER=3
1043
1044 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1045 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1046
1047 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1048
1049 WX_CURRENT=2
1050 WX_REVISION=0
1051 WX_AGE=0
1052
1053
1054
1055 USE_UNIX=1
1056 USE_WIN32=0
1057 USE_DOS=0
1058 USE_BEOS=0
1059 USE_MAC=0
1060
1061 USE_LINUX=
1062 USE_SGI=
1063 USE_HPUX=
1064 USE_SYSV=
1065 USE_SVR4=
1066 USE_AIX=
1067 USE_SUN=
1068 USE_SOLARIS=
1069 USE_SUNOS=
1070 USE_ALPHA=
1071 USE_OSF=
1072 USE_BSD=
1073 USE_DARWIN=
1074 USE_FREEBSD=
1075 USE_OPENBSD=
1076 USE_NETBSD=
1077 USE_VMS=
1078 USE_ULTRIX=
1079 USE_DATA_GENERAL=
1080
1081 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1082
1083 CPP_MT_FLAG=-D_REENTRANT
1084
1085 ALL_TOOLKITS="GTK MAC MGL MICROWIN MOTIF MSW PM WINE"
1086
1087 DEFAULT_wxUSE_GTK=0
1088 DEFAULT_wxUSE_MAC=0
1089 DEFAULT_wxUSE_MGL=0
1090 DEFAULT_wxUSE_MICROWIN=0
1091 DEFAULT_wxUSE_MOTIF=0
1092 DEFAULT_wxUSE_MSW=0
1093 DEFAULT_wxUSE_PM=0
1094 DEFAULT_wxUSE_WINE=0
1095
1096 DEFAULT_DEFAULT_wxUSE_GTK=0
1097 DEFAULT_DEFAULT_wxUSE_MAC=0
1098 DEFAULT_DEFAULT_wxUSE_MGL=0
1099 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1100 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1101 DEFAULT_DEFAULT_wxUSE_MSW=0
1102 DEFAULT_DEFAULT_wxUSE_PM=0
1103 DEFAULT_DEFAULT_wxUSE_WINE=0
1104
1105 PROGRAM_EXT=
1106 SO_SUFFIX=so
1107
1108 case "${host}" in
1109 *-hp-hpux* )
1110 USE_HPUX=1
1111 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1112 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1113 SO_SUFFIX=sl
1114 cat >> confdefs.h <<\EOF
1115 #define __HPUX__ 1
1116 EOF
1117
1118 ;;
1119 *-*-linux* )
1120 USE_LINUX=1
1121 cat >> confdefs.h <<\EOF
1122 #define __LINUX__ 1
1123 EOF
1124
1125 TMP=`uname -m`
1126 if test "x$TMP" = "xalpha"; then
1127 USE_ALPHA=1
1128 cat >> confdefs.h <<\EOF
1129 #define __ALPHA__ 1
1130 EOF
1131
1132 fi
1133 DEFAULT_DEFAULT_wxUSE_GTK=1
1134 ;;
1135 *-*-irix5* | *-*-irix6* )
1136 USE_SGI=1
1137 USE_SVR4=1
1138 cat >> confdefs.h <<\EOF
1139 #define __SGI__ 1
1140 EOF
1141
1142 cat >> confdefs.h <<\EOF
1143 #define __SVR4__ 1
1144 EOF
1145
1146 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1147 ;;
1148 *-*-solaris2* )
1149 USE_SUN=1
1150 USE_SOLARIS=1
1151 USE_SVR4=1
1152 cat >> confdefs.h <<\EOF
1153 #define __SUN__ 1
1154 EOF
1155
1156 cat >> confdefs.h <<\EOF
1157 #define __SOLARIS__ 1
1158 EOF
1159
1160 cat >> confdefs.h <<\EOF
1161 #define __SVR4__ 1
1162 EOF
1163
1164 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1165 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1166 ;;
1167 *-*-sunos4* )
1168 USE_SUN=1
1169 USE_SUNOS=1
1170 USE_BSD=1
1171 cat >> confdefs.h <<\EOF
1172 #define __SUN__ 1
1173 EOF
1174
1175 cat >> confdefs.h <<\EOF
1176 #define __SUNOS__ 1
1177 EOF
1178
1179 cat >> confdefs.h <<\EOF
1180 #define __BSD__ 1
1181 EOF
1182
1183 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1184 ;;
1185 *-*-freebsd*)
1186 USE_BSD=1
1187 USE_FREEBSD=1
1188 CPP_MT_FLAG=-D_THREAD_SAFE
1189 cat >> confdefs.h <<\EOF
1190 #define __FREEBSD__ 1
1191 EOF
1192
1193 cat >> confdefs.h <<\EOF
1194 #define __BSD__ 1
1195 EOF
1196
1197 DEFAULT_DEFAULT_wxUSE_GTK=1
1198 ;;
1199 *-*-openbsd*)
1200 USE_BSD=1
1201 USE_OPENBSD=1
1202 cat >> confdefs.h <<\EOF
1203 #define __FREEBSD__ 1
1204 EOF
1205
1206 cat >> confdefs.h <<\EOF
1207 #define __OPENBSD__ 1
1208 EOF
1209
1210 DEFAULT_DEFAULT_wxUSE_GTK=1
1211 ;;
1212 *-*-netbsd*)
1213 USE_BSD=1
1214 USE_NETBSD=1
1215 cat >> confdefs.h <<\EOF
1216 #define __FREEBSD__ 1
1217 EOF
1218
1219 cat >> confdefs.h <<\EOF
1220 #define __NETBSD__ 1
1221 EOF
1222
1223 DEFAULT_DEFAULT_wxUSE_GTK=1
1224 ;;
1225 *-*-osf* )
1226 USE_ALPHA=1
1227 USE_OSF=1
1228 cat >> confdefs.h <<\EOF
1229 #define __ALPHA__ 1
1230 EOF
1231
1232 cat >> confdefs.h <<\EOF
1233 #define __OSF__ 1
1234 EOF
1235
1236 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1237 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1238 ;;
1239 *-*-dgux5* )
1240 USE_ALPHA=1
1241 USE_SVR4=1
1242 cat >> confdefs.h <<\EOF
1243 #define __ALPHA__ 1
1244 EOF
1245
1246 cat >> confdefs.h <<\EOF
1247 #define __SVR4__ 1
1248 EOF
1249
1250 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1251 ;;
1252 *-*-sysv5* )
1253 USE_SYSV=1
1254 USE_SVR4=1
1255 cat >> confdefs.h <<\EOF
1256 #define __SYSV__ 1
1257 EOF
1258
1259 cat >> confdefs.h <<\EOF
1260 #define __SVR4__ 1
1261 EOF
1262
1263 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1264 ;;
1265 *-*-aix* )
1266 USE_AIX=1
1267 USE_SYSV=1
1268 USE_SVR4=1
1269 cat >> confdefs.h <<\EOF
1270 #define __AIX__ 1
1271 EOF
1272
1273 cat >> confdefs.h <<\EOF
1274 #define __SYSV__ 1
1275 EOF
1276
1277 cat >> confdefs.h <<\EOF
1278 #define __SVR4__ 1
1279 EOF
1280
1281 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1282 ;;
1283
1284 *-*-cygwin* | *-*-mingw32* )
1285 USE_UNIX=0
1286 USE_WIN32=1
1287 SO_SUFFIX=dll
1288 cat >> confdefs.h <<\EOF
1289 #define __WIN32__ 1
1290 EOF
1291
1292 cat >> confdefs.h <<\EOF
1293 #define __WIN95__ 1
1294 EOF
1295
1296 cat >> confdefs.h <<\EOF
1297 #define __WINDOWS__ 1
1298 EOF
1299
1300 cat >> confdefs.h <<\EOF
1301 #define __GNUWIN32__ 1
1302 EOF
1303
1304 cat >> confdefs.h <<\EOF
1305 #define STRICT 1
1306 EOF
1307
1308 cat >> confdefs.h <<\EOF
1309 #define WINVER 0x0400
1310 EOF
1311
1312 PROGRAM_EXT=".exe"
1313 RESCOMP=windres
1314 DEFAULT_DEFAULT_wxUSE_MSW=1
1315 ;;
1316
1317 *-pc-msdosdjgpp )
1318 USE_UNIX=0
1319 USE_DOS=1
1320 cat >> confdefs.h <<\EOF
1321 #define __DOS__ 1
1322 EOF
1323
1324 PROGRAM_EXT=".exe"
1325 DEFAULT_DEFAULT_wxUSE_MGL=1
1326 DEFAULT_DEFAULT_wxUSE_SHARED=0
1327 ;;
1328
1329 *-pc-os2_emx | *-pc-os2-emx )
1330 cat >> confdefs.h <<\EOF
1331 #define __EMX__ 1
1332 EOF
1333
1334 PROGRAM_EXT=".exe"
1335 DEFAULT_DEFAULT_wxUSE_PM=1
1336 ;;
1337
1338 powerpc-*-darwin* )
1339 USE_BSD=1
1340 USE_DARWIN=1
1341 CPP_MT_FLAG=
1342 SO_SUFFIX=dylib
1343 cat >> confdefs.h <<\EOF
1344 #define __BSD__ 1
1345 EOF
1346
1347 cat >> confdefs.h <<\EOF
1348 #define __DARWIN__ 1
1349 EOF
1350
1351 cat >> confdefs.h <<\EOF
1352 #define __POWERPC__ 1
1353 EOF
1354
1355 DEFAULT_DEFAULT_wxUSE_MAC=1
1356 ;;
1357
1358 *-*-beos* )
1359 USE_BEOS=1
1360 cat >> confdefs.h <<\EOF
1361 #define __BEOS__ 1
1362 EOF
1363
1364 ;;
1365
1366 *)
1367 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1368 esac
1369
1370 if test "$USE_UNIX" = 1 ; then
1371 wxUSE_UNIX=yes
1372 cat >> confdefs.h <<\EOF
1373 #define __UNIX__ 1
1374 EOF
1375
1376 fi
1377
1378 if test "$USE_LINUX" = 1; then
1379 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1380 echo "configure:1381: checking for glibc 2.1 or later" >&5
1381 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1382 echo $ac_n "(cached) $ac_c" 1>&6
1383 else
1384
1385 cat > conftest.$ac_ext <<EOF
1386 #line 1387 "configure"
1387 #include "confdefs.h"
1388 #include <features.h>
1389 int main() {
1390
1391 #if !__GLIBC_PREREQ(2, 1)
1392 #error not glibc2.1
1393 #endif
1394
1395 ; return 0; }
1396 EOF
1397 if { (eval echo configure:1398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1398 rm -rf conftest*
1399
1400 wx_lib_glibc21=yes
1401
1402 else
1403 echo "configure: failed program was:" >&5
1404 cat conftest.$ac_ext >&5
1405 rm -rf conftest*
1406
1407 wx_lib_glibc21=no
1408
1409
1410 fi
1411 rm -f conftest*
1412
1413 fi
1414
1415 echo "$ac_t""$wx_lib_glibc21" 1>&6
1416 if test "$wx_lib_glibc21" = "yes"; then
1417 cat >> confdefs.h <<\EOF
1418 #define wxHAVE_GLIBC2 1
1419 EOF
1420
1421 fi
1422 fi
1423
1424
1425
1426
1427 wx_arg_cache_file="configarg.cache"
1428 echo "loading argument cache $wx_arg_cache_file"
1429 rm -f ${wx_arg_cache_file}.tmp
1430 touch ${wx_arg_cache_file}.tmp
1431 touch ${wx_arg_cache_file}
1432
1433
1434 DEBUG_CONFIGURE=0
1435 if test $DEBUG_CONFIGURE = 1; then
1436 DEFAULT_wxUSE_UNIVERSAL=no
1437
1438 DEFAULT_wxUSE_THREADS=yes
1439
1440 DEFAULT_wxUSE_SHARED=yes
1441 DEFAULT_wxUSE_SONAME=no
1442 DEFAULT_wxUSE_OPTIMISE=no
1443 DEFAULT_wxUSE_PROFILE=no
1444 DEFAULT_wxUSE_NO_DEPS=no
1445 DEFAULT_wxUSE_NO_RTTI=yes
1446 DEFAULT_wxUSE_NO_EXCEPTIONS=yes
1447 DEFAULT_wxUSE_PERMISSIVE=no
1448 DEFAULT_wxUSE_DEBUG_FLAG=yes
1449 DEFAULT_wxUSE_DEBUG_INFO=yes
1450 DEFAULT_wxUSE_DEBUG_GDB=yes
1451 DEFAULT_wxUSE_MEM_TRACING=no
1452 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1453 DEFAULT_wxUSE_DMALLOC=no
1454 DEFAULT_wxUSE_PRECOMP=no
1455 DEFAULT_wxUSE_APPLE_IEEE=no
1456
1457 DEFAULT_wxUSE_LOG=yes
1458 DEFAULT_wxUSE_LOGWINDOW=no
1459 DEFAULT_wxUSE_LOGGUI=no
1460 DEFAULT_wxUSE_LOGDIALOG=no
1461
1462 DEFAULT_wxUSE_GUI=yes
1463 DEFAULT_wxUSE_CONTROLS=no
1464
1465 DEFAULT_wxUSE_REGEX=no
1466 DEFAULT_wxUSE_ZLIB=no
1467 DEFAULT_wxUSE_LIBPNG=no
1468 DEFAULT_wxUSE_LIBJPEG=no
1469 DEFAULT_wxUSE_LIBTIFF=no
1470 DEFAULT_wxUSE_ODBC=no
1471 DEFAULT_wxUSE_FREETYPE=no
1472 DEFAULT_wxUSE_OPENGL=no
1473
1474 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1475 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1476 DEFAULT_wxUSE_STD_IOSTREAM=no
1477 DEFAULT_wxUSE_CMDLINE_PARSER=no
1478 DEFAULT_wxUSE_DATETIME=no
1479 DEFAULT_wxUSE_TIMEDATE=no
1480 DEFAULT_wxUSE_TIMER=no
1481 DEFAULT_wxUSE_STOPWATCH=no
1482 DEFAULT_wxUSE_FILE=no
1483 DEFAULT_wxUSE_FFILE=no
1484 DEFAULT_wxUSE_TEXTBUFFER=no
1485 DEFAULT_wxUSE_TEXTFILE=no
1486 DEFAULT_wxUSE_WAVE=no
1487 DEFAULT_wxUSE_INTL=no
1488 DEFAULT_wxUSE_CONFIG=no
1489 DEFAULT_wxUSE_FONTMAP=no
1490 DEFAULT_wxUSE_STREAMS=no
1491 DEFAULT_wxUSE_SOCKETS=no
1492 DEFAULT_wxUSE_DIALUP_MANAGER=no
1493 DEFAULT_wxUSE_JOYSTICK=no
1494 DEFAULT_wxUSE_DYNLIB_CLASS=no
1495 DEFAULT_wxUSE_DYNAMIC_LOADER=no
1496 DEFAULT_wxUSE_LONGLONG=no
1497 DEFAULT_wxUSE_GEOMETRY=no
1498
1499 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
1500 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
1501 DEFAULT_wxUSE_POSTSCRIPT=no
1502
1503 DEFAULT_wxUSE_X_RESOURCES=no
1504 DEFAULT_wxUSE_CLIPBOARD=no
1505 DEFAULT_wxUSE_TOOLTIPS=no
1506 DEFAULT_wxUSE_DRAG_AND_DROP=no
1507 DEFAULT_wxUSE_DRAGIMAGE=no
1508 DEFAULT_wxUSE_SPLINES=no
1509
1510 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
1511 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
1512 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
1513
1514 DEFAULT_wxUSE_PROLOGIO=no
1515 DEFAULT_wxUSE_RESOURCES=no
1516 DEFAULT_wxUSE_CONSTRAINTS=no
1517 DEFAULT_wxUSE_IPC=no
1518 DEFAULT_wxUSE_HELP=no
1519 DEFAULT_wxUSE_MS_HTML_HELP=no
1520 DEFAULT_wxUSE_WXHTML_HELP=no
1521 DEFAULT_wxUSE_TREELAYOUT=no
1522 DEFAULT_wxUSE_METAFILE=no
1523 DEFAULT_wxUSE_MIMETYPE=no
1524 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
1525 DEFAULT_wxUSE_PROTOCOL=no
1526 DEFAULT_wxUSE_PROTOCOL_HTTP=no
1527 DEFAULT_wxUSE_PROTOCOL_FTP=no
1528 DEFAULT_wxUSE_PROTOCOL_FILE=no
1529 DEFAULT_wxUSE_URL=no
1530
1531 DEFAULT_wxUSE_COMMONDLGS=no
1532 DEFAULT_wxUSE_CHOICEDLG=no
1533 DEFAULT_wxUSE_COLOURDLG=no
1534 DEFAULT_wxUSE_DIRDLG=no
1535 DEFAULT_wxUSE_FILEDLG=no
1536 DEFAULT_wxUSE_FINDREPLDLG=no
1537 DEFAULT_wxUSE_FONTDLG=no
1538 DEFAULT_wxUSE_MSGDLG=no
1539 DEFAULT_wxUSE_NUMBERDLG=no
1540 DEFAULT_wxUSE_TEXTDLG=no
1541 DEFAULT_wxUSE_SPLASH=no
1542 DEFAULT_wxUSE_STARTUP_TIPS=no
1543 DEFAULT_wxUSE_PROGRESSDLG=no
1544 DEFAULT_wxUSE_WIZARDDLG=no
1545
1546 DEFAULT_wxUSE_MENUS=no
1547 DEFAULT_wxUSE_MINIFRAME=no
1548 DEFAULT_wxUSE_HTML=no
1549 DEFAULT_wxUSE_FILESYSTEM=no
1550 DEFAULT_wxUSE_FS_INET=no
1551 DEFAULT_wxUSE_FS_ZIP=no
1552 DEFAULT_wxUSE_BUSYINFO=no
1553 DEFAULT_wxUSE_ZIPSTREAM=no
1554 DEFAULT_wxUSE_VALIDATORS=no
1555
1556 DEFAULT_wxUSE_ACCEL=no
1557 DEFAULT_wxUSE_BUTTON=no
1558 DEFAULT_wxUSE_BMPBUTTON=no
1559 DEFAULT_wxUSE_CALCTRL=no
1560 DEFAULT_wxUSE_CARET=no
1561 DEFAULT_wxUSE_CHECKBOX=no
1562 DEFAULT_wxUSE_CHECKLST=no
1563 DEFAULT_wxUSE_CHOICE=no
1564 DEFAULT_wxUSE_COMBOBOX=no
1565 DEFAULT_wxUSE_GAUGE=no
1566 DEFAULT_wxUSE_GRID=no
1567 DEFAULT_wxUSE_NEW_GRID=no
1568 DEFAULT_wxUSE_IMAGLIST=no
1569 DEFAULT_wxUSE_LISTBOX=no
1570 DEFAULT_wxUSE_LISTCTRL=no
1571 DEFAULT_wxUSE_NOTEBOOK=no
1572 DEFAULT_wxUSE_PROPSHEET=no
1573 DEFAULT_wxUSE_RADIOBOX=no
1574 DEFAULT_wxUSE_RADIOBTN=no
1575 DEFAULT_wxUSE_SASH=no
1576 DEFAULT_wxUSE_SCROLLBAR=no
1577 DEFAULT_wxUSE_SLIDER=no
1578 DEFAULT_wxUSE_SPINBTN=no
1579 DEFAULT_wxUSE_SPINCTRL=no
1580 DEFAULT_wxUSE_SPLITTER=no
1581 DEFAULT_wxUSE_STATBMP=no
1582 DEFAULT_wxUSE_STATBOX=no
1583 DEFAULT_wxUSE_STATLINE=no
1584 DEFAULT_wxUSE_STATTEXT=no
1585 DEFAULT_wxUSE_STATUSBAR=yes
1586 DEFAULT_wxUSE_TABDIALOG=no
1587 DEFAULT_wxUSE_TEXTCTRL=no
1588 DEFAULT_wxUSE_TOGGLEBTN=no
1589 DEFAULT_wxUSE_TOOLBAR=no
1590 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
1591 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
1592 DEFAULT_wxUSE_TREECTRL=no
1593 DEFAULT_wxUSE_POPUPWIN=no
1594 DEFAULT_wxUSE_TIPWINDOW=no
1595
1596 DEFAULT_wxUSE_UNICODE=no
1597 DEFAULT_wxUSE_UNICODE_MSLU=no
1598 DEFAULT_wxUSE_WCSRTOMBS=no
1599
1600 DEFAULT_wxUSE_PALETTE=no
1601 DEFAULT_wxUSE_IMAGE=no
1602 DEFAULT_wxUSE_GIF=no
1603 DEFAULT_wxUSE_PCX=no
1604 DEFAULT_wxUSE_PNM=no
1605 DEFAULT_wxUSE_XPM=no
1606 DEFAULT_wxUSE_ICO_CUR=no
1607 else
1608 DEFAULT_wxUSE_UNIVERSAL=no
1609
1610 DEFAULT_wxUSE_THREADS=yes
1611
1612 DEFAULT_wxUSE_SHARED=yes
1613 DEFAULT_wxUSE_SONAME=no
1614 DEFAULT_wxUSE_OPTIMISE=yes
1615 DEFAULT_wxUSE_PROFILE=no
1616 DEFAULT_wxUSE_NO_DEPS=no
1617 DEFAULT_wxUSE_NO_RTTI=yes
1618 DEFAULT_wxUSE_NO_EXCEPTIONS=yes
1619 DEFAULT_wxUSE_PERMISSIVE=no
1620 DEFAULT_wxUSE_DEBUG_FLAG=no
1621 DEFAULT_wxUSE_DEBUG_INFO=no
1622 DEFAULT_wxUSE_DEBUG_GDB=no
1623 DEFAULT_wxUSE_MEM_TRACING=no
1624 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1625 DEFAULT_wxUSE_DMALLOC=no
1626 DEFAULT_wxUSE_PRECOMP=no
1627 DEFAULT_wxUSE_APPLE_IEEE=yes
1628
1629 DEFAULT_wxUSE_LOG=yes
1630 DEFAULT_wxUSE_LOGWINDOW=yes
1631 DEFAULT_wxUSE_LOGGUI=yes
1632 DEFAULT_wxUSE_LOGDIALOG=yes
1633
1634 DEFAULT_wxUSE_GUI=yes
1635
1636 DEFAULT_wxUSE_REGEX=yes
1637 DEFAULT_wxUSE_ZLIB=yes
1638 DEFAULT_wxUSE_LIBPNG=yes
1639 DEFAULT_wxUSE_LIBJPEG=yes
1640 DEFAULT_wxUSE_LIBTIFF=yes
1641 DEFAULT_wxUSE_ODBC=no
1642 DEFAULT_wxUSE_FREETYPE=no
1643 DEFAULT_wxUSE_OPENGL=no
1644
1645 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
1646 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
1647 DEFAULT_wxUSE_STD_IOSTREAM=no
1648 DEFAULT_wxUSE_CMDLINE_PARSER=yes
1649 DEFAULT_wxUSE_DATETIME=yes
1650 DEFAULT_wxUSE_TIMEDATE=no
1651 DEFAULT_wxUSE_TIMER=yes
1652 DEFAULT_wxUSE_STOPWATCH=yes
1653 DEFAULT_wxUSE_FILE=yes
1654 DEFAULT_wxUSE_FFILE=yes
1655 DEFAULT_wxUSE_TEXTBUFFER=yes
1656 DEFAULT_wxUSE_TEXTFILE=yes
1657 DEFAULT_wxUSE_WAVE=no
1658 DEFAULT_wxUSE_INTL=yes
1659 DEFAULT_wxUSE_CONFIG=yes
1660 DEFAULT_wxUSE_FONTMAP=yes
1661 DEFAULT_wxUSE_STREAMS=yes
1662 DEFAULT_wxUSE_SOCKETS=yes
1663 DEFAULT_wxUSE_DIALUP_MANAGER=yes
1664 DEFAULT_wxUSE_JOYSTICK=yes
1665 DEFAULT_wxUSE_DYNLIB_CLASS=yes
1666 DEFAULT_wxUSE_DYNAMIC_LOADER=no
1667 DEFAULT_wxUSE_LONGLONG=yes
1668 DEFAULT_wxUSE_GEOMETRY=yes
1669
1670 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
1671 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
1672 DEFAULT_wxUSE_POSTSCRIPT=yes
1673
1674 DEFAULT_wxUSE_X_RESOURCES=no
1675 DEFAULT_wxUSE_CLIPBOARD=yes
1676 DEFAULT_wxUSE_TOOLTIPS=yes
1677 DEFAULT_wxUSE_DRAG_AND_DROP=yes
1678 DEFAULT_wxUSE_DRAGIMAGE=yes
1679 DEFAULT_wxUSE_SPLINES=yes
1680
1681 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
1682 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
1683 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
1684
1685 DEFAULT_wxUSE_PROLOGIO=yes
1686 DEFAULT_wxUSE_RESOURCES=yes
1687 DEFAULT_wxUSE_CONSTRAINTS=yes
1688 DEFAULT_wxUSE_IPC=yes
1689 DEFAULT_wxUSE_HELP=yes
1690 DEFAULT_wxUSE_MS_HTML_HELP=yes
1691 DEFAULT_wxUSE_WXHTML_HELP=yes
1692 DEFAULT_wxUSE_TREELAYOUT=yes
1693 DEFAULT_wxUSE_METAFILE=yes
1694 DEFAULT_wxUSE_MIMETYPE=yes
1695 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
1696 DEFAULT_wxUSE_PROTOCOL=yes
1697 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
1698 DEFAULT_wxUSE_PROTOCOL_FTP=yes
1699 DEFAULT_wxUSE_PROTOCOL_FILE=yes
1700 DEFAULT_wxUSE_URL=yes
1701
1702 DEFAULT_wxUSE_COMMONDLGS=yes
1703 DEFAULT_wxUSE_CHOICEDLG=yes
1704 DEFAULT_wxUSE_COLOURDLG=yes
1705 DEFAULT_wxUSE_DIRDLG=yes
1706 DEFAULT_wxUSE_FILEDLG=yes
1707 DEFAULT_wxUSE_FINDREPLDLG=yes
1708 DEFAULT_wxUSE_FONTDLG=yes
1709 DEFAULT_wxUSE_MSGDLG=yes
1710 DEFAULT_wxUSE_NUMBERDLG=yes
1711 DEFAULT_wxUSE_TEXTDLG=yes
1712 DEFAULT_wxUSE_SPLASH=yes
1713 DEFAULT_wxUSE_STARTUP_TIPS=yes
1714 DEFAULT_wxUSE_PROGRESSDLG=yes
1715 DEFAULT_wxUSE_WIZARDDLG=yes
1716
1717 DEFAULT_wxUSE_MENUS=yes
1718 DEFAULT_wxUSE_MINIFRAME=yes
1719 DEFAULT_wxUSE_HTML=yes
1720 DEFAULT_wxUSE_FILESYSTEM=yes
1721 DEFAULT_wxUSE_FS_INET=yes
1722 DEFAULT_wxUSE_FS_ZIP=yes
1723 DEFAULT_wxUSE_BUSYINFO=yes
1724 DEFAULT_wxUSE_ZIPSTREAM=yes
1725 DEFAULT_wxUSE_VALIDATORS=yes
1726
1727 DEFAULT_wxUSE_ACCEL=yes
1728 DEFAULT_wxUSE_BUTTON=yes
1729 DEFAULT_wxUSE_BMPBUTTON=yes
1730 DEFAULT_wxUSE_CALCTRL=yes
1731 DEFAULT_wxUSE_CARET=yes
1732 DEFAULT_wxUSE_CHECKBOX=yes
1733 DEFAULT_wxUSE_CHECKLST=yes
1734 DEFAULT_wxUSE_CHOICE=yes
1735 DEFAULT_wxUSE_COMBOBOX=yes
1736 DEFAULT_wxUSE_GAUGE=yes
1737 DEFAULT_wxUSE_GRID=yes
1738 DEFAULT_wxUSE_NEW_GRID=yes
1739 DEFAULT_wxUSE_IMAGLIST=yes
1740 DEFAULT_wxUSE_LISTBOX=yes
1741 DEFAULT_wxUSE_LISTCTRL=yes
1742 DEFAULT_wxUSE_NOTEBOOK=yes
1743 DEFAULT_wxUSE_PROPSHEET=yes
1744 DEFAULT_wxUSE_RADIOBOX=yes
1745 DEFAULT_wxUSE_RADIOBTN=yes
1746 DEFAULT_wxUSE_SASH=yes
1747 DEFAULT_wxUSE_SCROLLBAR=yes
1748 DEFAULT_wxUSE_SLIDER=yes
1749 DEFAULT_wxUSE_SPINBTN=yes
1750 DEFAULT_wxUSE_SPINCTRL=yes
1751 DEFAULT_wxUSE_SPLITTER=yes
1752 DEFAULT_wxUSE_STATBMP=yes
1753 DEFAULT_wxUSE_STATBOX=yes
1754 DEFAULT_wxUSE_STATLINE=yes
1755 DEFAULT_wxUSE_STATTEXT=yes
1756 DEFAULT_wxUSE_STATUSBAR=yes
1757 DEFAULT_wxUSE_TABDIALOG=no
1758 DEFAULT_wxUSE_TEXTCTRL=yes
1759 DEFAULT_wxUSE_TOGGLEBTN=yes
1760 DEFAULT_wxUSE_TOOLBAR=yes
1761 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
1762 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
1763 DEFAULT_wxUSE_TREECTRL=yes
1764 DEFAULT_wxUSE_POPUPWIN=yes
1765 DEFAULT_wxUSE_TIPWINDOW=yes
1766
1767 DEFAULT_wxUSE_UNICODE=no
1768 DEFAULT_wxUSE_UNICODE_MSLU=yes
1769 DEFAULT_wxUSE_WCSRTOMBS=no
1770
1771 DEFAULT_wxUSE_PALETTE=yes
1772 DEFAULT_wxUSE_IMAGE=yes
1773 DEFAULT_wxUSE_GIF=yes
1774 DEFAULT_wxUSE_PCX=yes
1775 DEFAULT_wxUSE_PNM=yes
1776 DEFAULT_wxUSE_XPM=yes
1777 DEFAULT_wxUSE_ICO_CUR=yes
1778 fi
1779
1780
1781
1782 for toolkit in `echo $ALL_TOOLKITS`; do
1783 LINE=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1784 if test "x$LINE" != x ; then
1785 has_toolkit_in_cache=1
1786 eval "DEFAULT_$LINE"
1787 eval "CACHE_$toolkit=1"
1788 fi
1789 done
1790
1791
1792
1793 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1794 echo "configure:1795: checking for --enable-gui" >&5
1795 no_cache=0
1796 # Check whether --enable-gui or --disable-gui was given.
1797 if test "${enable_gui+set}" = set; then
1798 enableval="$enable_gui"
1799
1800 if test "$enableval" = yes; then
1801 ac_cv_use_gui='wxUSE_GUI=yes'
1802 else
1803 ac_cv_use_gui='wxUSE_GUI=no'
1804 fi
1805
1806 else
1807
1808 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1809 if test "x$LINE" != x ; then
1810 eval "DEFAULT_$LINE"
1811 else
1812 no_cache=1
1813 fi
1814
1815 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1816
1817 fi
1818
1819
1820 eval "$ac_cv_use_gui"
1821 if test "$no_cache" != 1; then
1822 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1823 fi
1824
1825 if test "$wxUSE_GUI" = yes; then
1826 echo "$ac_t""yes" 1>&6
1827 else
1828 echo "$ac_t""no" 1>&6
1829 fi
1830
1831
1832 if test "$wxUSE_GUI" = "yes"; then
1833
1834
1835 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1836 echo "configure:1837: checking for --enable-universal" >&5
1837 no_cache=0
1838 # Check whether --enable-universal or --disable-universal was given.
1839 if test "${enable_universal+set}" = set; then
1840 enableval="$enable_universal"
1841
1842 if test "$enableval" = yes; then
1843 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
1844 else
1845 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
1846 fi
1847
1848 else
1849
1850 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1851 if test "x$LINE" != x ; then
1852 eval "DEFAULT_$LINE"
1853 else
1854 no_cache=1
1855 fi
1856
1857 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1858
1859 fi
1860
1861
1862 eval "$ac_cv_use_universal"
1863 if test "$no_cache" != 1; then
1864 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1865 fi
1866
1867 if test "$wxUSE_UNIVERSAL" = yes; then
1868 echo "$ac_t""yes" 1>&6
1869 else
1870 echo "$ac_t""no" 1>&6
1871 fi
1872
1873 # Check whether --with-gtk or --without-gtk was given.
1874 if test "${with_gtk+set}" = set; then
1875 withval="$with_gtk"
1876 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
1877 fi
1878
1879 # Check whether --with-motif or --without-motif was given.
1880 if test "${with_motif+set}" = set; then
1881 withval="$with_motif"
1882 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
1883 fi
1884
1885 # Check whether --with-mac or --without-mac was given.
1886 if test "${with_mac+set}" = set; then
1887 withval="$with_mac"
1888 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
1889 fi
1890
1891 # Check whether --with-wine or --without-wine was given.
1892 if test "${with_wine+set}" = set; then
1893 withval="$with_wine"
1894 wxUSE_WINE="$withval" CACHE_WINE=1 TOOLKIT_GIVEN=1
1895 fi
1896
1897 # Check whether --with-msw or --without-msw was given.
1898 if test "${with_msw+set}" = set; then
1899 withval="$with_msw"
1900 wxUSE_MSW="$withval" CACHE_MSW TOOLKIT_GIVEN=1
1901 fi
1902
1903 # Check whether --with-pm or --without-pm was given.
1904 if test "${with_pm+set}" = set; then
1905 withval="$with_pm"
1906 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
1907 fi
1908
1909 # Check whether --with-mgl or --without-mgl was given.
1910 if test "${with_mgl+set}" = set; then
1911 withval="$with_mgl"
1912 wxUSE_MGL="$withval" CACHE_MGL=1 TOOLKIT_GIVEN=1
1913 fi
1914
1915 # Check whether --with-microwin or --without-microwin was given.
1916 if test "${with_microwin+set}" = set; then
1917 withval="$with_microwin"
1918 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
1919 fi
1920
1921
1922 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1923 if test "${enable_gtk2+set}" = set; then
1924 enableval="$enable_gtk2"
1925 wxUSE_GTK2=1
1926 else
1927 wxUSE_GTK2=0
1928 fi
1929
1930
1931
1932 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1933 echo "configure:1934: checking for --with-libpng" >&5
1934 no_cache=0
1935 # Check whether --with-libpng or --without-libpng was given.
1936 if test "${with_libpng+set}" = set; then
1937 withval="$with_libpng"
1938
1939 if test "$withval" = yes; then
1940 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
1941 elif test "$withval" = no; then
1942 ac_cv_use_libpng='wxUSE_LIBPNG=no'
1943 elif test "$withval" = sys; then
1944 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
1945 elif test "$withval" = builtin; then
1946 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
1947 else
1948 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1949 fi
1950
1951 else
1952
1953 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1954 if test "x$LINE" != x ; then
1955 eval "DEFAULT_$LINE"
1956 else
1957 no_cache=1
1958 fi
1959
1960 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1961
1962 fi
1963
1964
1965 eval "$ac_cv_use_libpng"
1966 if test "$no_cache" != 1; then
1967 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1968 fi
1969
1970 if test "$wxUSE_LIBPNG" = yes; then
1971 echo "$ac_t""yes" 1>&6
1972 elif test "$wxUSE_LIBPNG" = no; then
1973 echo "$ac_t""no" 1>&6
1974 elif test "$wxUSE_LIBPNG" = sys; then
1975 echo "$ac_t""system version" 1>&6
1976 elif test "$wxUSE_LIBPNG" = builtin; then
1977 echo "$ac_t""builtin version" 1>&6
1978 else
1979 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1980 fi
1981
1982
1983 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1984 echo "configure:1985: checking for --with-libjpeg" >&5
1985 no_cache=0
1986 # Check whether --with-libjpeg or --without-libjpeg was given.
1987 if test "${with_libjpeg+set}" = set; then
1988 withval="$with_libjpeg"
1989
1990 if test "$withval" = yes; then
1991 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
1992 elif test "$withval" = no; then
1993 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
1994 elif test "$withval" = sys; then
1995 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
1996 elif test "$withval" = builtin; then
1997 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
1998 else
1999 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2000 fi
2001
2002 else
2003
2004 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2005 if test "x$LINE" != x ; then
2006 eval "DEFAULT_$LINE"
2007 else
2008 no_cache=1
2009 fi
2010
2011 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2012
2013 fi
2014
2015
2016 eval "$ac_cv_use_libjpeg"
2017 if test "$no_cache" != 1; then
2018 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2019 fi
2020
2021 if test "$wxUSE_LIBJPEG" = yes; then
2022 echo "$ac_t""yes" 1>&6
2023 elif test "$wxUSE_LIBJPEG" = no; then
2024 echo "$ac_t""no" 1>&6
2025 elif test "$wxUSE_LIBJPEG" = sys; then
2026 echo "$ac_t""system version" 1>&6
2027 elif test "$wxUSE_LIBJPEG" = builtin; then
2028 echo "$ac_t""builtin version" 1>&6
2029 else
2030 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2031 fi
2032
2033
2034 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2035 echo "configure:2036: checking for --with-libtiff" >&5
2036 no_cache=0
2037 # Check whether --with-libtiff or --without-libtiff was given.
2038 if test "${with_libtiff+set}" = set; then
2039 withval="$with_libtiff"
2040
2041 if test "$withval" = yes; then
2042 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2043 elif test "$withval" = no; then
2044 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2045 elif test "$withval" = sys; then
2046 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2047 elif test "$withval" = builtin; then
2048 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2049 else
2050 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2051 fi
2052
2053 else
2054
2055 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2056 if test "x$LINE" != x ; then
2057 eval "DEFAULT_$LINE"
2058 else
2059 no_cache=1
2060 fi
2061
2062 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2063
2064 fi
2065
2066
2067 eval "$ac_cv_use_libtiff"
2068 if test "$no_cache" != 1; then
2069 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2070 fi
2071
2072 if test "$wxUSE_LIBTIFF" = yes; then
2073 echo "$ac_t""yes" 1>&6
2074 elif test "$wxUSE_LIBTIFF" = no; then
2075 echo "$ac_t""no" 1>&6
2076 elif test "$wxUSE_LIBTIFF" = sys; then
2077 echo "$ac_t""system version" 1>&6
2078 elif test "$wxUSE_LIBTIFF" = builtin; then
2079 echo "$ac_t""builtin version" 1>&6
2080 else
2081 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2082 fi
2083
2084
2085 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
2086 echo "configure:2087: checking for --with-freetype" >&5
2087 no_cache=0
2088 # Check whether --with-freetype or --without-freetype was given.
2089 if test "${with_freetype+set}" = set; then
2090 withval="$with_freetype"
2091
2092 if test "$withval" = yes; then
2093 ac_cv_use_freetype='wxUSE_FREETYPE=yes'
2094 elif test "$withval" = no; then
2095 ac_cv_use_freetype='wxUSE_FREETYPE=no'
2096 elif test "$withval" = sys; then
2097 ac_cv_use_freetype='wxUSE_FREETYPE=sys'
2098 elif test "$withval" = builtin; then
2099 ac_cv_use_freetype='wxUSE_FREETYPE=builtin'
2100 else
2101 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2102 fi
2103
2104 else
2105
2106 LINE=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2107 if test "x$LINE" != x ; then
2108 eval "DEFAULT_$LINE"
2109 else
2110 no_cache=1
2111 fi
2112
2113 ac_cv_use_freetype='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2114
2115 fi
2116
2117
2118 eval "$ac_cv_use_freetype"
2119 if test "$no_cache" != 1; then
2120 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2121 fi
2122
2123 if test "$wxUSE_FREETYPE" = yes; then
2124 echo "$ac_t""yes" 1>&6
2125 elif test "$wxUSE_FREETYPE" = no; then
2126 echo "$ac_t""no" 1>&6
2127 elif test "$wxUSE_FREETYPE" = sys; then
2128 echo "$ac_t""system version" 1>&6
2129 elif test "$wxUSE_FREETYPE" = builtin; then
2130 echo "$ac_t""builtin version" 1>&6
2131 else
2132 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2133 fi
2134
2135
2136 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2137 echo "configure:2138: checking for --with-opengl" >&5
2138 no_cache=0
2139 # Check whether --with-opengl or --without-opengl was given.
2140 if test "${with_opengl+set}" = set; then
2141 withval="$with_opengl"
2142
2143 if test "$withval" = yes; then
2144 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2145 else
2146 ac_cv_use_opengl='wxUSE_OPENGL=no'
2147 fi
2148
2149 else
2150
2151 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2152 if test "x$LINE" != x ; then
2153 eval "DEFAULT_$LINE"
2154 else
2155 no_cache=1
2156 fi
2157
2158 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2159
2160 fi
2161
2162
2163 eval "$ac_cv_use_opengl"
2164 if test "$no_cache" != 1; then
2165 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2166 fi
2167
2168 if test "$wxUSE_OPENGL" = yes; then
2169 echo "$ac_t""yes" 1>&6
2170 else
2171 echo "$ac_t""no" 1>&6
2172 fi
2173
2174
2175 fi
2176
2177
2178 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2179 echo "configure:2180: checking for --with-dmalloc" >&5
2180 no_cache=0
2181 # Check whether --with-dmalloc or --without-dmalloc was given.
2182 if test "${with_dmalloc+set}" = set; then
2183 withval="$with_dmalloc"
2184
2185 if test "$withval" = yes; then
2186 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2187 else
2188 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2189 fi
2190
2191 else
2192
2193 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2194 if test "x$LINE" != x ; then
2195 eval "DEFAULT_$LINE"
2196 else
2197 no_cache=1
2198 fi
2199
2200 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2201
2202 fi
2203
2204
2205 eval "$ac_cv_use_dmalloc"
2206 if test "$no_cache" != 1; then
2207 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2208 fi
2209
2210 if test "$wxUSE_DMALLOC" = yes; then
2211 echo "$ac_t""yes" 1>&6
2212 else
2213 echo "$ac_t""no" 1>&6
2214 fi
2215
2216
2217 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2218 echo "configure:2219: checking for --with-regex" >&5
2219 no_cache=0
2220 # Check whether --with-regex or --without-regex was given.
2221 if test "${with_regex+set}" = set; then
2222 withval="$with_regex"
2223
2224 if test "$withval" = yes; then
2225 ac_cv_use_regex='wxUSE_REGEX=yes'
2226 elif test "$withval" = no; then
2227 ac_cv_use_regex='wxUSE_REGEX=no'
2228 elif test "$withval" = sys; then
2229 ac_cv_use_regex='wxUSE_REGEX=sys'
2230 elif test "$withval" = builtin; then
2231 ac_cv_use_regex='wxUSE_REGEX=builtin'
2232 else
2233 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2234 fi
2235
2236 else
2237
2238 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2239 if test "x$LINE" != x ; then
2240 eval "DEFAULT_$LINE"
2241 else
2242 no_cache=1
2243 fi
2244
2245 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2246
2247 fi
2248
2249
2250 eval "$ac_cv_use_regex"
2251 if test "$no_cache" != 1; then
2252 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2253 fi
2254
2255 if test "$wxUSE_REGEX" = yes; then
2256 echo "$ac_t""yes" 1>&6
2257 elif test "$wxUSE_REGEX" = no; then
2258 echo "$ac_t""no" 1>&6
2259 elif test "$wxUSE_REGEX" = sys; then
2260 echo "$ac_t""system version" 1>&6
2261 elif test "$wxUSE_REGEX" = builtin; then
2262 echo "$ac_t""builtin version" 1>&6
2263 else
2264 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2265 fi
2266
2267
2268 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2269 echo "configure:2270: checking for --with-zlib" >&5
2270 no_cache=0
2271 # Check whether --with-zlib or --without-zlib was given.
2272 if test "${with_zlib+set}" = set; then
2273 withval="$with_zlib"
2274
2275 if test "$withval" = yes; then
2276 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2277 elif test "$withval" = no; then
2278 ac_cv_use_zlib='wxUSE_ZLIB=no'
2279 elif test "$withval" = sys; then
2280 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2281 elif test "$withval" = builtin; then
2282 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2283 else
2284 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2285 fi
2286
2287 else
2288
2289 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2290 if test "x$LINE" != x ; then
2291 eval "DEFAULT_$LINE"
2292 else
2293 no_cache=1
2294 fi
2295
2296 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2297
2298 fi
2299
2300
2301 eval "$ac_cv_use_zlib"
2302 if test "$no_cache" != 1; then
2303 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2304 fi
2305
2306 if test "$wxUSE_ZLIB" = yes; then
2307 echo "$ac_t""yes" 1>&6
2308 elif test "$wxUSE_ZLIB" = no; then
2309 echo "$ac_t""no" 1>&6
2310 elif test "$wxUSE_ZLIB" = sys; then
2311 echo "$ac_t""system version" 1>&6
2312 elif test "$wxUSE_ZLIB" = builtin; then
2313 echo "$ac_t""builtin version" 1>&6
2314 else
2315 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2316 fi
2317
2318
2319 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2320 echo "configure:2321: checking for --with-odbc" >&5
2321 no_cache=0
2322 # Check whether --with-odbc or --without-odbc was given.
2323 if test "${with_odbc+set}" = set; then
2324 withval="$with_odbc"
2325
2326 if test "$withval" = yes; then
2327 ac_cv_use_odbc='wxUSE_ODBC=yes'
2328 else
2329 ac_cv_use_odbc='wxUSE_ODBC=no'
2330 fi
2331
2332 else
2333
2334 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2335 if test "x$LINE" != x ; then
2336 eval "DEFAULT_$LINE"
2337 else
2338 no_cache=1
2339 fi
2340
2341 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2342
2343 fi
2344
2345
2346 eval "$ac_cv_use_odbc"
2347 if test "$no_cache" != 1; then
2348 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2349 fi
2350
2351 if test "$wxUSE_ODBC" = yes; then
2352 echo "$ac_t""yes" 1>&6
2353 else
2354 echo "$ac_t""no" 1>&6
2355 fi
2356
2357
2358
2359
2360 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2361 echo "configure:2362: checking for --enable-shared" >&5
2362 no_cache=0
2363 # Check whether --enable-shared or --disable-shared was given.
2364 if test "${enable_shared+set}" = set; then
2365 enableval="$enable_shared"
2366
2367 if test "$enableval" = yes; then
2368 ac_cv_use_shared='wxUSE_SHARED=yes'
2369 else
2370 ac_cv_use_shared='wxUSE_SHARED=no'
2371 fi
2372
2373 else
2374
2375 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2376 if test "x$LINE" != x ; then
2377 eval "DEFAULT_$LINE"
2378 else
2379 no_cache=1
2380 fi
2381
2382 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2383
2384 fi
2385
2386
2387 eval "$ac_cv_use_shared"
2388 if test "$no_cache" != 1; then
2389 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2390 fi
2391
2392 if test "$wxUSE_SHARED" = yes; then
2393 echo "$ac_t""yes" 1>&6
2394 else
2395 echo "$ac_t""no" 1>&6
2396 fi
2397
2398
2399 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2400 echo "configure:2401: checking for --enable-soname" >&5
2401 no_cache=0
2402 # Check whether --enable-soname or --disable-soname was given.
2403 if test "${enable_soname+set}" = set; then
2404 enableval="$enable_soname"
2405
2406 if test "$enableval" = yes; then
2407 ac_cv_use_soname='wxUSE_SONAME=yes'
2408 else
2409 ac_cv_use_soname='wxUSE_SONAME=no'
2410 fi
2411
2412 else
2413
2414 LINE=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2415 if test "x$LINE" != x ; then
2416 eval "DEFAULT_$LINE"
2417 else
2418 no_cache=1
2419 fi
2420
2421 ac_cv_use_soname='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2422
2423 fi
2424
2425
2426 eval "$ac_cv_use_soname"
2427 if test "$no_cache" != 1; then
2428 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2429 fi
2430
2431 if test "$wxUSE_SONAME" = yes; then
2432 echo "$ac_t""yes" 1>&6
2433 else
2434 echo "$ac_t""no" 1>&6
2435 fi
2436
2437
2438 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2439 echo "configure:2440: checking for --enable-optimise" >&5
2440 no_cache=0
2441 # Check whether --enable-optimise or --disable-optimise was given.
2442 if test "${enable_optimise+set}" = set; then
2443 enableval="$enable_optimise"
2444
2445 if test "$enableval" = yes; then
2446 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
2447 else
2448 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
2449 fi
2450
2451 else
2452
2453 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2454 if test "x$LINE" != x ; then
2455 eval "DEFAULT_$LINE"
2456 else
2457 no_cache=1
2458 fi
2459
2460 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2461
2462 fi
2463
2464
2465 eval "$ac_cv_use_optimise"
2466 if test "$no_cache" != 1; then
2467 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2468 fi
2469
2470 if test "$wxUSE_OPTIMISE" = yes; then
2471 echo "$ac_t""yes" 1>&6
2472 else
2473 echo "$ac_t""no" 1>&6
2474 fi
2475
2476
2477 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2478 echo "configure:2479: checking for --enable-debug" >&5
2479 no_cache=0
2480 # Check whether --enable-debug or --disable-debug was given.
2481 if test "${enable_debug+set}" = set; then
2482 enableval="$enable_debug"
2483
2484 if test "$enableval" = yes; then
2485 ac_cv_use_debug='wxUSE_DEBUG=yes'
2486 else
2487 ac_cv_use_debug='wxUSE_DEBUG=no'
2488 fi
2489
2490 else
2491
2492 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2493 if test "x$LINE" != x ; then
2494 eval "DEFAULT_$LINE"
2495 else
2496 no_cache=1
2497 fi
2498
2499 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2500
2501 fi
2502
2503
2504 eval "$ac_cv_use_debug"
2505 if test "$no_cache" != 1; then
2506 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2507 fi
2508
2509 if test "$wxUSE_DEBUG" = yes; then
2510 echo "$ac_t""yes" 1>&6
2511 else
2512 echo "$ac_t""no" 1>&6
2513 fi
2514
2515
2516
2517 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2518 echo "configure:2519: checking for --enable-precomp" >&5
2519 no_cache=0
2520 # Check whether --enable-precomp or --disable-precomp was given.
2521 if test "${enable_precomp+set}" = set; then
2522 enableval="$enable_precomp"
2523
2524 if test "$enableval" = yes; then
2525 ac_cv_use_precomp='wxUSE_PRECOMP=yes'
2526 else
2527 ac_cv_use_precomp='wxUSE_PRECOMP=no'
2528 fi
2529
2530 else
2531
2532 LINE=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2533 if test "x$LINE" != x ; then
2534 eval "DEFAULT_$LINE"
2535 else
2536 no_cache=1
2537 fi
2538
2539 ac_cv_use_precomp='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2540
2541 fi
2542
2543
2544 eval "$ac_cv_use_precomp"
2545 if test "$no_cache" != 1; then
2546 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2547 fi
2548
2549 if test "$wxUSE_PRECOMP" = yes; then
2550 echo "$ac_t""yes" 1>&6
2551 else
2552 echo "$ac_t""no" 1>&6
2553 fi
2554
2555
2556 if test "$wxUSE_DEBUG" = "yes"; then
2557 DEFAULT_wxUSE_DEBUG_FLAG=yes
2558 DEFAULT_wxUSE_DEBUG_INFO=yes
2559 elif test "$wxUSE_DEBUG" = "no"; then
2560 DEFAULT_wxUSE_DEBUG_FLAG=no
2561 DEFAULT_wxUSE_DEBUG_INFO=no
2562 fi
2563
2564
2565 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2566 echo "configure:2567: checking for --enable-debug_flag" >&5
2567 no_cache=0
2568 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2569 if test "${enable_debug_flag+set}" = set; then
2570 enableval="$enable_debug_flag"
2571
2572 if test "$enableval" = yes; then
2573 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
2574 else
2575 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
2576 fi
2577
2578 else
2579
2580 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2581 if test "x$LINE" != x ; then
2582 eval "DEFAULT_$LINE"
2583 else
2584 no_cache=1
2585 fi
2586
2587 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2588
2589 fi
2590
2591
2592 eval "$ac_cv_use_debug_flag"
2593 if test "$no_cache" != 1; then
2594 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2595 fi
2596
2597 if test "$wxUSE_DEBUG_FLAG" = yes; then
2598 echo "$ac_t""yes" 1>&6
2599 else
2600 echo "$ac_t""no" 1>&6
2601 fi
2602
2603
2604 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2605 echo "configure:2606: checking for --enable-debug_info" >&5
2606 no_cache=0
2607 # Check whether --enable-debug_info or --disable-debug_info was given.
2608 if test "${enable_debug_info+set}" = set; then
2609 enableval="$enable_debug_info"
2610
2611 if test "$enableval" = yes; then
2612 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
2613 else
2614 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
2615 fi
2616
2617 else
2618
2619 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2620 if test "x$LINE" != x ; then
2621 eval "DEFAULT_$LINE"
2622 else
2623 no_cache=1
2624 fi
2625
2626 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2627
2628 fi
2629
2630
2631 eval "$ac_cv_use_debug_info"
2632 if test "$no_cache" != 1; then
2633 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2634 fi
2635
2636 if test "$wxUSE_DEBUG_INFO" = yes; then
2637 echo "$ac_t""yes" 1>&6
2638 else
2639 echo "$ac_t""no" 1>&6
2640 fi
2641
2642
2643 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2644 echo "configure:2645: checking for --enable-debug_gdb" >&5
2645 no_cache=0
2646 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2647 if test "${enable_debug_gdb+set}" = set; then
2648 enableval="$enable_debug_gdb"
2649
2650 if test "$enableval" = yes; then
2651 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
2652 else
2653 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
2654 fi
2655
2656 else
2657
2658 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2659 if test "x$LINE" != x ; then
2660 eval "DEFAULT_$LINE"
2661 else
2662 no_cache=1
2663 fi
2664
2665 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2666
2667 fi
2668
2669
2670 eval "$ac_cv_use_debug_gdb"
2671 if test "$no_cache" != 1; then
2672 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2673 fi
2674
2675 if test "$wxUSE_DEBUG_GDB" = yes; then
2676 echo "$ac_t""yes" 1>&6
2677 else
2678 echo "$ac_t""no" 1>&6
2679 fi
2680
2681
2682 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2683 echo "configure:2684: checking for --enable-debug_cntxt" >&5
2684 no_cache=0
2685 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2686 if test "${enable_debug_cntxt+set}" = set; then
2687 enableval="$enable_debug_cntxt"
2688
2689 if test "$enableval" = yes; then
2690 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
2691 else
2692 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
2693 fi
2694
2695 else
2696
2697 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2698 if test "x$LINE" != x ; then
2699 eval "DEFAULT_$LINE"
2700 else
2701 no_cache=1
2702 fi
2703
2704 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2705
2706 fi
2707
2708
2709 eval "$ac_cv_use_debug_cntxt"
2710 if test "$no_cache" != 1; then
2711 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2712 fi
2713
2714 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2715 echo "$ac_t""yes" 1>&6
2716 else
2717 echo "$ac_t""no" 1>&6
2718 fi
2719
2720
2721 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2722 echo "configure:2723: checking for --enable-mem_tracing" >&5
2723 no_cache=0
2724 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2725 if test "${enable_mem_tracing+set}" = set; then
2726 enableval="$enable_mem_tracing"
2727
2728 if test "$enableval" = yes; then
2729 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
2730 else
2731 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
2732 fi
2733
2734 else
2735
2736 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2737 if test "x$LINE" != x ; then
2738 eval "DEFAULT_$LINE"
2739 else
2740 no_cache=1
2741 fi
2742
2743 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2744
2745 fi
2746
2747
2748 eval "$ac_cv_use_mem_tracing"
2749 if test "$no_cache" != 1; then
2750 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2751 fi
2752
2753 if test "$wxUSE_MEM_TRACING" = yes; then
2754 echo "$ac_t""yes" 1>&6
2755 else
2756 echo "$ac_t""no" 1>&6
2757 fi
2758
2759
2760 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2761 echo "configure:2762: checking for --enable-profile" >&5
2762 no_cache=0
2763 # Check whether --enable-profile or --disable-profile was given.
2764 if test "${enable_profile+set}" = set; then
2765 enableval="$enable_profile"
2766
2767 if test "$enableval" = yes; then
2768 ac_cv_use_profile='wxUSE_PROFILE=yes'
2769 else
2770 ac_cv_use_profile='wxUSE_PROFILE=no'
2771 fi
2772
2773 else
2774
2775 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2776 if test "x$LINE" != x ; then
2777 eval "DEFAULT_$LINE"
2778 else
2779 no_cache=1
2780 fi
2781
2782 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2783
2784 fi
2785
2786
2787 eval "$ac_cv_use_profile"
2788 if test "$no_cache" != 1; then
2789 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2790 fi
2791
2792 if test "$wxUSE_PROFILE" = yes; then
2793 echo "$ac_t""yes" 1>&6
2794 else
2795 echo "$ac_t""no" 1>&6
2796 fi
2797
2798
2799 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2800 echo "configure:2801: checking for --enable-no_rtti" >&5
2801 no_cache=0
2802 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2803 if test "${enable_no_rtti+set}" = set; then
2804 enableval="$enable_no_rtti"
2805
2806 if test "$enableval" = yes; then
2807 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
2808 else
2809 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
2810 fi
2811
2812 else
2813
2814 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2815 if test "x$LINE" != x ; then
2816 eval "DEFAULT_$LINE"
2817 else
2818 no_cache=1
2819 fi
2820
2821 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2822
2823 fi
2824
2825
2826 eval "$ac_cv_use_no_rtti"
2827 if test "$no_cache" != 1; then
2828 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2829 fi
2830
2831 if test "$wxUSE_NO_RTTI" = yes; then
2832 echo "$ac_t""yes" 1>&6
2833 else
2834 echo "$ac_t""no" 1>&6
2835 fi
2836
2837
2838 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2839 echo "configure:2840: checking for --enable-no_exceptions" >&5
2840 no_cache=0
2841 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2842 if test "${enable_no_exceptions+set}" = set; then
2843 enableval="$enable_no_exceptions"
2844
2845 if test "$enableval" = yes; then
2846 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
2847 else
2848 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
2849 fi
2850
2851 else
2852
2853 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2854 if test "x$LINE" != x ; then
2855 eval "DEFAULT_$LINE"
2856 else
2857 no_cache=1
2858 fi
2859
2860 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2861
2862 fi
2863
2864
2865 eval "$ac_cv_use_no_exceptions"
2866 if test "$no_cache" != 1; then
2867 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2868 fi
2869
2870 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2871 echo "$ac_t""yes" 1>&6
2872 else
2873 echo "$ac_t""no" 1>&6
2874 fi
2875
2876
2877 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2878 echo "configure:2879: checking for --enable-permissive" >&5
2879 no_cache=0
2880 # Check whether --enable-permissive or --disable-permissive was given.
2881 if test "${enable_permissive+set}" = set; then
2882 enableval="$enable_permissive"
2883
2884 if test "$enableval" = yes; then
2885 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
2886 else
2887 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
2888 fi
2889
2890 else
2891
2892 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2893 if test "x$LINE" != x ; then
2894 eval "DEFAULT_$LINE"
2895 else
2896 no_cache=1
2897 fi
2898
2899 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2900
2901 fi
2902
2903
2904 eval "$ac_cv_use_permissive"
2905 if test "$no_cache" != 1; then
2906 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2907 fi
2908
2909 if test "$wxUSE_PERMISSIVE" = yes; then
2910 echo "$ac_t""yes" 1>&6
2911 else
2912 echo "$ac_t""no" 1>&6
2913 fi
2914
2915
2916 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2917 echo "configure:2918: checking for --enable-no_deps" >&5
2918 no_cache=0
2919 # Check whether --enable-no_deps or --disable-no_deps was given.
2920 if test "${enable_no_deps+set}" = set; then
2921 enableval="$enable_no_deps"
2922
2923 if test "$enableval" = yes; then
2924 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
2925 else
2926 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
2927 fi
2928
2929 else
2930
2931 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2932 if test "x$LINE" != x ; then
2933 eval "DEFAULT_$LINE"
2934 else
2935 no_cache=1
2936 fi
2937
2938 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2939
2940 fi
2941
2942
2943 eval "$ac_cv_use_no_deps"
2944 if test "$no_cache" != 1; then
2945 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2946 fi
2947
2948 if test "$wxUSE_NO_DEPS" = yes; then
2949 echo "$ac_t""yes" 1>&6
2950 else
2951 echo "$ac_t""no" 1>&6
2952 fi
2953
2954
2955
2956 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2957 echo "configure:2958: checking for --enable-compat20" >&5
2958 no_cache=0
2959 # Check whether --enable-compat20 or --disable-compat20 was given.
2960 if test "${enable_compat20+set}" = set; then
2961 enableval="$enable_compat20"
2962
2963 if test "$enableval" = yes; then
2964 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
2965 else
2966 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
2967 fi
2968
2969 else
2970
2971 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2972 if test "x$LINE" != x ; then
2973 eval "DEFAULT_$LINE"
2974 else
2975 no_cache=1
2976 fi
2977
2978 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2979
2980 fi
2981
2982
2983 eval "$ac_cv_use_compat20"
2984 if test "$no_cache" != 1; then
2985 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2986 fi
2987
2988 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2989 echo "$ac_t""yes" 1>&6
2990 else
2991 echo "$ac_t""no" 1>&6
2992 fi
2993
2994
2995 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2996 echo "configure:2997: checking for --enable-compat22" >&5
2997 no_cache=0
2998 # Check whether --enable-compat22 or --disable-compat22 was given.
2999 if test "${enable_compat22+set}" = set; then
3000 enableval="$enable_compat22"
3001
3002 if test "$enableval" = yes; then
3003 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3004 else
3005 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3006 fi
3007
3008 else
3009
3010 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3011 if test "x$LINE" != x ; then
3012 eval "DEFAULT_$LINE"
3013 else
3014 no_cache=1
3015 fi
3016
3017 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3018
3019 fi
3020
3021
3022 eval "$ac_cv_use_compat22"
3023 if test "$no_cache" != 1; then
3024 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3025 fi
3026
3027 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3028 echo "$ac_t""yes" 1>&6
3029 else
3030 echo "$ac_t""no" 1>&6
3031 fi
3032
3033
3034
3035
3036 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3037 echo "configure:3038: checking for --enable-intl" >&5
3038 no_cache=0
3039 # Check whether --enable-intl or --disable-intl was given.
3040 if test "${enable_intl+set}" = set; then
3041 enableval="$enable_intl"
3042
3043 if test "$enableval" = yes; then
3044 ac_cv_use_intl='wxUSE_INTL=yes'
3045 else
3046 ac_cv_use_intl='wxUSE_INTL=no'
3047 fi
3048
3049 else
3050
3051 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3052 if test "x$LINE" != x ; then
3053 eval "DEFAULT_$LINE"
3054 else
3055 no_cache=1
3056 fi
3057
3058 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3059
3060 fi
3061
3062
3063 eval "$ac_cv_use_intl"
3064 if test "$no_cache" != 1; then
3065 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3066 fi
3067
3068 if test "$wxUSE_INTL" = yes; then
3069 echo "$ac_t""yes" 1>&6
3070 else
3071 echo "$ac_t""no" 1>&6
3072 fi
3073
3074
3075 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3076 echo "configure:3077: checking for --enable-config" >&5
3077 no_cache=0
3078 # Check whether --enable-config or --disable-config was given.
3079 if test "${enable_config+set}" = set; then
3080 enableval="$enable_config"
3081
3082 if test "$enableval" = yes; then
3083 ac_cv_use_config='wxUSE_CONFIG=yes'
3084 else
3085 ac_cv_use_config='wxUSE_CONFIG=no'
3086 fi
3087
3088 else
3089
3090 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3091 if test "x$LINE" != x ; then
3092 eval "DEFAULT_$LINE"
3093 else
3094 no_cache=1
3095 fi
3096
3097 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3098
3099 fi
3100
3101
3102 eval "$ac_cv_use_config"
3103 if test "$no_cache" != 1; then
3104 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3105 fi
3106
3107 if test "$wxUSE_CONFIG" = yes; then
3108 echo "$ac_t""yes" 1>&6
3109 else
3110 echo "$ac_t""no" 1>&6
3111 fi
3112
3113
3114
3115 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3116 echo "configure:3117: checking for --enable-protocols" >&5
3117 no_cache=0
3118 # Check whether --enable-protocols or --disable-protocols was given.
3119 if test "${enable_protocols+set}" = set; then
3120 enableval="$enable_protocols"
3121
3122 if test "$enableval" = yes; then
3123 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3124 else
3125 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3126 fi
3127
3128 else
3129
3130 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3131 if test "x$LINE" != x ; then
3132 eval "DEFAULT_$LINE"
3133 else
3134 no_cache=1
3135 fi
3136
3137 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3138
3139 fi
3140
3141
3142 eval "$ac_cv_use_protocols"
3143 if test "$no_cache" != 1; then
3144 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3145 fi
3146
3147 if test "$wxUSE_PROTOCOL" = yes; then
3148 echo "$ac_t""yes" 1>&6
3149 else
3150 echo "$ac_t""no" 1>&6
3151 fi
3152
3153
3154 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3155 echo "configure:3156: checking for --enable-ftp" >&5
3156 no_cache=0
3157 # Check whether --enable-ftp or --disable-ftp was given.
3158 if test "${enable_ftp+set}" = set; then
3159 enableval="$enable_ftp"
3160
3161 if test "$enableval" = yes; then
3162 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3163 else
3164 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3165 fi
3166
3167 else
3168
3169 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3170 if test "x$LINE" != x ; then
3171 eval "DEFAULT_$LINE"
3172 else
3173 no_cache=1
3174 fi
3175
3176 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3177
3178 fi
3179
3180
3181 eval "$ac_cv_use_ftp"
3182 if test "$no_cache" != 1; then
3183 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3184 fi
3185
3186 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3187 echo "$ac_t""yes" 1>&6
3188 else
3189 echo "$ac_t""no" 1>&6
3190 fi
3191
3192
3193 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3194 echo "configure:3195: checking for --enable-http" >&5
3195 no_cache=0
3196 # Check whether --enable-http or --disable-http was given.
3197 if test "${enable_http+set}" = set; then
3198 enableval="$enable_http"
3199
3200 if test "$enableval" = yes; then
3201 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3202 else
3203 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3204 fi
3205
3206 else
3207
3208 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3209 if test "x$LINE" != x ; then
3210 eval "DEFAULT_$LINE"
3211 else
3212 no_cache=1
3213 fi
3214
3215 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3216
3217 fi
3218
3219
3220 eval "$ac_cv_use_http"
3221 if test "$no_cache" != 1; then
3222 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3223 fi
3224
3225 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3226 echo "$ac_t""yes" 1>&6
3227 else
3228 echo "$ac_t""no" 1>&6
3229 fi
3230
3231
3232 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3233 echo "configure:3234: checking for --enable-fileproto" >&5
3234 no_cache=0
3235 # Check whether --enable-fileproto or --disable-fileproto was given.
3236 if test "${enable_fileproto+set}" = set; then
3237 enableval="$enable_fileproto"
3238
3239 if test "$enableval" = yes; then
3240 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
3241 else
3242 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
3243 fi
3244
3245 else
3246
3247 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3248 if test "x$LINE" != x ; then
3249 eval "DEFAULT_$LINE"
3250 else
3251 no_cache=1
3252 fi
3253
3254 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3255
3256 fi
3257
3258
3259 eval "$ac_cv_use_fileproto"
3260 if test "$no_cache" != 1; then
3261 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3262 fi
3263
3264 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3265 echo "$ac_t""yes" 1>&6
3266 else
3267 echo "$ac_t""no" 1>&6
3268 fi
3269
3270
3271 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3272 echo "configure:3273: checking for --enable-sockets" >&5
3273 no_cache=0
3274 # Check whether --enable-sockets or --disable-sockets was given.
3275 if test "${enable_sockets+set}" = set; then
3276 enableval="$enable_sockets"
3277
3278 if test "$enableval" = yes; then
3279 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
3280 else
3281 ac_cv_use_sockets='wxUSE_SOCKETS=no'
3282 fi
3283
3284 else
3285
3286 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3287 if test "x$LINE" != x ; then
3288 eval "DEFAULT_$LINE"
3289 else
3290 no_cache=1
3291 fi
3292
3293 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3294
3295 fi
3296
3297
3298 eval "$ac_cv_use_sockets"
3299 if test "$no_cache" != 1; then
3300 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3301 fi
3302
3303 if test "$wxUSE_SOCKETS" = yes; then
3304 echo "$ac_t""yes" 1>&6
3305 else
3306 echo "$ac_t""no" 1>&6
3307 fi
3308
3309
3310
3311 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3312 echo "configure:3313: checking for --enable-ipc" >&5
3313 no_cache=0
3314 # Check whether --enable-ipc or --disable-ipc was given.
3315 if test "${enable_ipc+set}" = set; then
3316 enableval="$enable_ipc"
3317
3318 if test "$enableval" = yes; then
3319 ac_cv_use_ipc='wxUSE_IPC=yes'
3320 else
3321 ac_cv_use_ipc='wxUSE_IPC=no'
3322 fi
3323
3324 else
3325
3326 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3327 if test "x$LINE" != x ; then
3328 eval "DEFAULT_$LINE"
3329 else
3330 no_cache=1
3331 fi
3332
3333 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3334
3335 fi
3336
3337
3338 eval "$ac_cv_use_ipc"
3339 if test "$no_cache" != 1; then
3340 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3341 fi
3342
3343 if test "$wxUSE_IPC" = yes; then
3344 echo "$ac_t""yes" 1>&6
3345 else
3346 echo "$ac_t""no" 1>&6
3347 fi
3348
3349
3350
3351 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3352 echo "configure:3353: checking for --enable-cmdline" >&5
3353 no_cache=0
3354 # Check whether --enable-cmdline or --disable-cmdline was given.
3355 if test "${enable_cmdline+set}" = set; then
3356 enableval="$enable_cmdline"
3357
3358 if test "$enableval" = yes; then
3359 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
3360 else
3361 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
3362 fi
3363
3364 else
3365
3366 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3367 if test "x$LINE" != x ; then
3368 eval "DEFAULT_$LINE"
3369 else
3370 no_cache=1
3371 fi
3372
3373 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3374
3375 fi
3376
3377
3378 eval "$ac_cv_use_cmdline"
3379 if test "$no_cache" != 1; then
3380 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3381 fi
3382
3383 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3384 echo "$ac_t""yes" 1>&6
3385 else
3386 echo "$ac_t""no" 1>&6
3387 fi
3388
3389
3390 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3391 echo "configure:3392: checking for --enable-datetime" >&5
3392 no_cache=0
3393 # Check whether --enable-datetime or --disable-datetime was given.
3394 if test "${enable_datetime+set}" = set; then
3395 enableval="$enable_datetime"
3396
3397 if test "$enableval" = yes; then
3398 ac_cv_use_datetime='wxUSE_DATETIME=yes'
3399 else
3400 ac_cv_use_datetime='wxUSE_DATETIME=no'
3401 fi
3402
3403 else
3404
3405 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3406 if test "x$LINE" != x ; then
3407 eval "DEFAULT_$LINE"
3408 else
3409 no_cache=1
3410 fi
3411
3412 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3413
3414 fi
3415
3416
3417 eval "$ac_cv_use_datetime"
3418 if test "$no_cache" != 1; then
3419 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3420 fi
3421
3422 if test "$wxUSE_DATETIME" = yes; then
3423 echo "$ac_t""yes" 1>&6
3424 else
3425 echo "$ac_t""no" 1>&6
3426 fi
3427
3428
3429 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3430 echo "configure:3431: checking for --enable-timedate" >&5
3431 no_cache=0
3432 # Check whether --enable-timedate or --disable-timedate was given.
3433 if test "${enable_timedate+set}" = set; then
3434 enableval="$enable_timedate"
3435
3436 if test "$enableval" = yes; then
3437 ac_cv_use_timedate='wxUSE_TIMEDATE=yes'
3438 else
3439 ac_cv_use_timedate='wxUSE_TIMEDATE=no'
3440 fi
3441
3442 else
3443
3444 LINE=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3445 if test "x$LINE" != x ; then
3446 eval "DEFAULT_$LINE"
3447 else
3448 no_cache=1
3449 fi
3450
3451 ac_cv_use_timedate='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3452
3453 fi
3454
3455
3456 eval "$ac_cv_use_timedate"
3457 if test "$no_cache" != 1; then
3458 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3459 fi
3460
3461 if test "$wxUSE_TIMEDATE" = yes; then
3462 echo "$ac_t""yes" 1>&6
3463 else
3464 echo "$ac_t""no" 1>&6
3465 fi
3466
3467
3468 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3469 echo "configure:3470: checking for --enable-stopwatch" >&5
3470 no_cache=0
3471 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3472 if test "${enable_stopwatch+set}" = set; then
3473 enableval="$enable_stopwatch"
3474
3475 if test "$enableval" = yes; then
3476 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
3477 else
3478 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
3479 fi
3480
3481 else
3482
3483 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3484 if test "x$LINE" != x ; then
3485 eval "DEFAULT_$LINE"
3486 else
3487 no_cache=1
3488 fi
3489
3490 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3491
3492 fi
3493
3494
3495 eval "$ac_cv_use_stopwatch"
3496 if test "$no_cache" != 1; then
3497 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3498 fi
3499
3500 if test "$wxUSE_STOPWATCH" = yes; then
3501 echo "$ac_t""yes" 1>&6
3502 else
3503 echo "$ac_t""no" 1>&6
3504 fi
3505
3506
3507 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3508 echo "configure:3509: checking for --enable-dialupman" >&5
3509 no_cache=0
3510 # Check whether --enable-dialupman or --disable-dialupman was given.
3511 if test "${enable_dialupman+set}" = set; then
3512 enableval="$enable_dialupman"
3513
3514 if test "$enableval" = yes; then
3515 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
3516 else
3517 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
3518 fi
3519
3520 else
3521
3522 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3523 if test "x$LINE" != x ; then
3524 eval "DEFAULT_$LINE"
3525 else
3526 no_cache=1
3527 fi
3528
3529 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3530
3531 fi
3532
3533
3534 eval "$ac_cv_use_dialupman"
3535 if test "$no_cache" != 1; then
3536 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3537 fi
3538
3539 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3540 echo "$ac_t""yes" 1>&6
3541 else
3542 echo "$ac_t""no" 1>&6
3543 fi
3544
3545
3546 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3547 echo "configure:3548: checking for --enable-apple_ieee" >&5
3548 no_cache=0
3549 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3550 if test "${enable_apple_ieee+set}" = set; then
3551 enableval="$enable_apple_ieee"
3552
3553 if test "$enableval" = yes; then
3554 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
3555 else
3556 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
3557 fi
3558
3559 else
3560
3561 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3562 if test "x$LINE" != x ; then
3563 eval "DEFAULT_$LINE"
3564 else
3565 no_cache=1
3566 fi
3567
3568 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3569
3570 fi
3571
3572
3573 eval "$ac_cv_use_apple_ieee"
3574 if test "$no_cache" != 1; then
3575 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3576 fi
3577
3578 if test "$wxUSE_APPLE_IEEE" = yes; then
3579 echo "$ac_t""yes" 1>&6
3580 else
3581 echo "$ac_t""no" 1>&6
3582 fi
3583
3584
3585 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3586 echo "configure:3587: checking for --enable-timer" >&5
3587 no_cache=0
3588 # Check whether --enable-timer or --disable-timer was given.
3589 if test "${enable_timer+set}" = set; then
3590 enableval="$enable_timer"
3591
3592 if test "$enableval" = yes; then
3593 ac_cv_use_timer='wxUSE_TIMER=yes'
3594 else
3595 ac_cv_use_timer='wxUSE_TIMER=no'
3596 fi
3597
3598 else
3599
3600 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3601 if test "x$LINE" != x ; then
3602 eval "DEFAULT_$LINE"
3603 else
3604 no_cache=1
3605 fi
3606
3607 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3608
3609 fi
3610
3611
3612 eval "$ac_cv_use_timer"
3613 if test "$no_cache" != 1; then
3614 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3615 fi
3616
3617 if test "$wxUSE_TIMER" = yes; then
3618 echo "$ac_t""yes" 1>&6
3619 else
3620 echo "$ac_t""no" 1>&6
3621 fi
3622
3623
3624 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3625 echo "configure:3626: checking for --enable-wave" >&5
3626 no_cache=0
3627 # Check whether --enable-wave or --disable-wave was given.
3628 if test "${enable_wave+set}" = set; then
3629 enableval="$enable_wave"
3630
3631 if test "$enableval" = yes; then
3632 ac_cv_use_wave='wxUSE_WAVE=yes'
3633 else
3634 ac_cv_use_wave='wxUSE_WAVE=no'
3635 fi
3636
3637 else
3638
3639 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3640 if test "x$LINE" != x ; then
3641 eval "DEFAULT_$LINE"
3642 else
3643 no_cache=1
3644 fi
3645
3646 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3647
3648 fi
3649
3650
3651 eval "$ac_cv_use_wave"
3652 if test "$no_cache" != 1; then
3653 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3654 fi
3655
3656 if test "$wxUSE_WAVE" = yes; then
3657 echo "$ac_t""yes" 1>&6
3658 else
3659 echo "$ac_t""no" 1>&6
3660 fi
3661
3662
3663 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3664 echo "configure:3665: checking for --enable-fraction" >&5
3665 no_cache=0
3666 # Check whether --enable-fraction or --disable-fraction was given.
3667 if test "${enable_fraction+set}" = set; then
3668 enableval="$enable_fraction"
3669
3670 if test "$enableval" = yes; then
3671 ac_cv_use_fraction='wxUSE_FRACTION=yes'
3672 else
3673 ac_cv_use_fraction='wxUSE_FRACTION=no'
3674 fi
3675
3676 else
3677
3678 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3679 if test "x$LINE" != x ; then
3680 eval "DEFAULT_$LINE"
3681 else
3682 no_cache=1
3683 fi
3684
3685 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3686
3687 fi
3688
3689
3690 eval "$ac_cv_use_fraction"
3691 if test "$no_cache" != 1; then
3692 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3693 fi
3694
3695 if test "$wxUSE_FRACTION" = yes; then
3696 echo "$ac_t""yes" 1>&6
3697 else
3698 echo "$ac_t""no" 1>&6
3699 fi
3700
3701
3702 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3703 echo "configure:3704: checking for --enable-dynlib" >&5
3704 no_cache=0
3705 # Check whether --enable-dynlib or --disable-dynlib was given.
3706 if test "${enable_dynlib+set}" = set; then
3707 enableval="$enable_dynlib"
3708
3709 if test "$enableval" = yes; then
3710 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
3711 else
3712 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
3713 fi
3714
3715 else
3716
3717 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3718 if test "x$LINE" != x ; then
3719 eval "DEFAULT_$LINE"
3720 else
3721 no_cache=1
3722 fi
3723
3724 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3725
3726 fi
3727
3728
3729 eval "$ac_cv_use_dynlib"
3730 if test "$no_cache" != 1; then
3731 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3732 fi
3733
3734 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3735 echo "$ac_t""yes" 1>&6
3736 else
3737 echo "$ac_t""no" 1>&6
3738 fi
3739
3740
3741 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3742 echo "configure:3743: checking for --enable-dynamicloader" >&5
3743 no_cache=0
3744 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3745 if test "${enable_dynamicloader+set}" = set; then
3746 enableval="$enable_dynamicloader"
3747
3748 if test "$enableval" = yes; then
3749 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
3750 else
3751 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
3752 fi
3753
3754 else
3755
3756 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3757 if test "x$LINE" != x ; then
3758 eval "DEFAULT_$LINE"
3759 else
3760 no_cache=1
3761 fi
3762
3763 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3764
3765 fi
3766
3767
3768 eval "$ac_cv_use_dynamicloader"
3769 if test "$no_cache" != 1; then
3770 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3771 fi
3772
3773 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3774 echo "$ac_t""yes" 1>&6
3775 else
3776 echo "$ac_t""no" 1>&6
3777 fi
3778
3779
3780 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3781 echo "configure:3782: checking for --enable-longlong" >&5
3782 no_cache=0
3783 # Check whether --enable-longlong or --disable-longlong was given.
3784 if test "${enable_longlong+set}" = set; then
3785 enableval="$enable_longlong"
3786
3787 if test "$enableval" = yes; then
3788 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
3789 else
3790 ac_cv_use_longlong='wxUSE_LONGLONG=no'
3791 fi
3792
3793 else
3794
3795 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3796 if test "x$LINE" != x ; then
3797 eval "DEFAULT_$LINE"
3798 else
3799 no_cache=1
3800 fi
3801
3802 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3803
3804 fi
3805
3806
3807 eval "$ac_cv_use_longlong"
3808 if test "$no_cache" != 1; then
3809 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3810 fi
3811
3812 if test "$wxUSE_LONGLONG" = yes; then
3813 echo "$ac_t""yes" 1>&6
3814 else
3815 echo "$ac_t""no" 1>&6
3816 fi
3817
3818
3819 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3820 echo "configure:3821: checking for --enable-geometry" >&5
3821 no_cache=0
3822 # Check whether --enable-geometry or --disable-geometry was given.
3823 if test "${enable_geometry+set}" = set; then
3824 enableval="$enable_geometry"
3825
3826 if test "$enableval" = yes; then
3827 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
3828 else
3829 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
3830 fi
3831
3832 else
3833
3834 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3835 if test "x$LINE" != x ; then
3836 eval "DEFAULT_$LINE"
3837 else
3838 no_cache=1
3839 fi
3840
3841 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3842
3843 fi
3844
3845
3846 eval "$ac_cv_use_geometry"
3847 if test "$no_cache" != 1; then
3848 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3849 fi
3850
3851 if test "$wxUSE_GEOMETRY" = yes; then
3852 echo "$ac_t""yes" 1>&6
3853 else
3854 echo "$ac_t""no" 1>&6
3855 fi
3856
3857
3858 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3859 echo "configure:3860: checking for --enable-log" >&5
3860 no_cache=0
3861 # Check whether --enable-log or --disable-log was given.
3862 if test "${enable_log+set}" = set; then
3863 enableval="$enable_log"
3864
3865 if test "$enableval" = yes; then
3866 ac_cv_use_log='wxUSE_LOG=yes'
3867 else
3868 ac_cv_use_log='wxUSE_LOG=no'
3869 fi
3870
3871 else
3872
3873 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3874 if test "x$LINE" != x ; then
3875 eval "DEFAULT_$LINE"
3876 else
3877 no_cache=1
3878 fi
3879
3880 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3881
3882 fi
3883
3884
3885 eval "$ac_cv_use_log"
3886 if test "$no_cache" != 1; then
3887 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3888 fi
3889
3890 if test "$wxUSE_LOG" = yes; then
3891 echo "$ac_t""yes" 1>&6
3892 else
3893 echo "$ac_t""no" 1>&6
3894 fi
3895
3896
3897 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3898 echo "configure:3899: checking for --enable-streams" >&5
3899 no_cache=0
3900 # Check whether --enable-streams or --disable-streams was given.
3901 if test "${enable_streams+set}" = set; then
3902 enableval="$enable_streams"
3903
3904 if test "$enableval" = yes; then
3905 ac_cv_use_streams='wxUSE_STREAMS=yes'
3906 else
3907 ac_cv_use_streams='wxUSE_STREAMS=no'
3908 fi
3909
3910 else
3911
3912 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3913 if test "x$LINE" != x ; then
3914 eval "DEFAULT_$LINE"
3915 else
3916 no_cache=1
3917 fi
3918
3919 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3920
3921 fi
3922
3923
3924 eval "$ac_cv_use_streams"
3925 if test "$no_cache" != 1; then
3926 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3927 fi
3928
3929 if test "$wxUSE_STREAMS" = yes; then
3930 echo "$ac_t""yes" 1>&6
3931 else
3932 echo "$ac_t""no" 1>&6
3933 fi
3934
3935
3936 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3937 echo "configure:3938: checking for --enable-file" >&5
3938 no_cache=0
3939 # Check whether --enable-file or --disable-file was given.
3940 if test "${enable_file+set}" = set; then
3941 enableval="$enable_file"
3942
3943 if test "$enableval" = yes; then
3944 ac_cv_use_file='wxUSE_FILE=yes'
3945 else
3946 ac_cv_use_file='wxUSE_FILE=no'
3947 fi
3948
3949 else
3950
3951 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3952 if test "x$LINE" != x ; then
3953 eval "DEFAULT_$LINE"
3954 else
3955 no_cache=1
3956 fi
3957
3958 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3959
3960 fi
3961
3962
3963 eval "$ac_cv_use_file"
3964 if test "$no_cache" != 1; then
3965 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3966 fi
3967
3968 if test "$wxUSE_FILE" = yes; then
3969 echo "$ac_t""yes" 1>&6
3970 else
3971 echo "$ac_t""no" 1>&6
3972 fi
3973
3974
3975 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3976 echo "configure:3977: checking for --enable-ffile" >&5
3977 no_cache=0
3978 # Check whether --enable-ffile or --disable-ffile was given.
3979 if test "${enable_ffile+set}" = set; then
3980 enableval="$enable_ffile"
3981
3982 if test "$enableval" = yes; then
3983 ac_cv_use_ffile='wxUSE_FFILE=yes'
3984 else
3985 ac_cv_use_ffile='wxUSE_FFILE=no'
3986 fi
3987
3988 else
3989
3990 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3991 if test "x$LINE" != x ; then
3992 eval "DEFAULT_$LINE"
3993 else
3994 no_cache=1
3995 fi
3996
3997 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3998
3999 fi
4000
4001
4002 eval "$ac_cv_use_ffile"
4003 if test "$no_cache" != 1; then
4004 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4005 fi
4006
4007 if test "$wxUSE_FFILE" = yes; then
4008 echo "$ac_t""yes" 1>&6
4009 else
4010 echo "$ac_t""no" 1>&6
4011 fi
4012
4013
4014 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
4015 echo "configure:4016: checking for --enable-textbuf" >&5
4016 no_cache=0
4017 # Check whether --enable-textbuf or --disable-textbuf was given.
4018 if test "${enable_textbuf+set}" = set; then
4019 enableval="$enable_textbuf"
4020
4021 if test "$enableval" = yes; then
4022 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4023 else
4024 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4025 fi
4026
4027 else
4028
4029 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4030 if test "x$LINE" != x ; then
4031 eval "DEFAULT_$LINE"
4032 else
4033 no_cache=1
4034 fi
4035
4036 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4037
4038 fi
4039
4040
4041 eval "$ac_cv_use_textbuf"
4042 if test "$no_cache" != 1; then
4043 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4044 fi
4045
4046 if test "$wxUSE_TEXTBUFFER" = yes; then
4047 echo "$ac_t""yes" 1>&6
4048 else
4049 echo "$ac_t""no" 1>&6
4050 fi
4051
4052
4053 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4054 echo "configure:4055: checking for --enable-textfile" >&5
4055 no_cache=0
4056 # Check whether --enable-textfile or --disable-textfile was given.
4057 if test "${enable_textfile+set}" = set; then
4058 enableval="$enable_textfile"
4059
4060 if test "$enableval" = yes; then
4061 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4062 else
4063 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4064 fi
4065
4066 else
4067
4068 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4069 if test "x$LINE" != x ; then
4070 eval "DEFAULT_$LINE"
4071 else
4072 no_cache=1
4073 fi
4074
4075 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4076
4077 fi
4078
4079
4080 eval "$ac_cv_use_textfile"
4081 if test "$no_cache" != 1; then
4082 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4083 fi
4084
4085 if test "$wxUSE_TEXTFILE" = yes; then
4086 echo "$ac_t""yes" 1>&6
4087 else
4088 echo "$ac_t""no" 1>&6
4089 fi
4090
4091
4092 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4093 echo "configure:4094: checking for --enable-fontmap" >&5
4094 no_cache=0
4095 # Check whether --enable-fontmap or --disable-fontmap was given.
4096 if test "${enable_fontmap+set}" = set; then
4097 enableval="$enable_fontmap"
4098
4099 if test "$enableval" = yes; then
4100 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4101 else
4102 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4103 fi
4104
4105 else
4106
4107 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4108 if test "x$LINE" != x ; then
4109 eval "DEFAULT_$LINE"
4110 else
4111 no_cache=1
4112 fi
4113
4114 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4115
4116 fi
4117
4118
4119 eval "$ac_cv_use_fontmap"
4120 if test "$no_cache" != 1; then
4121 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4122 fi
4123
4124 if test "$wxUSE_FONTMAP" = yes; then
4125 echo "$ac_t""yes" 1>&6
4126 else
4127 echo "$ac_t""no" 1>&6
4128 fi
4129
4130
4131 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4132 echo "configure:4133: checking for --enable-unicode" >&5
4133 no_cache=0
4134 # Check whether --enable-unicode or --disable-unicode was given.
4135 if test "${enable_unicode+set}" = set; then
4136 enableval="$enable_unicode"
4137
4138 if test "$enableval" = yes; then
4139 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4140 else
4141 ac_cv_use_unicode='wxUSE_UNICODE=no'
4142 fi
4143
4144 else
4145
4146 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4147 if test "x$LINE" != x ; then
4148 eval "DEFAULT_$LINE"
4149 else
4150 no_cache=1
4151 fi
4152
4153 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4154
4155 fi
4156
4157
4158 eval "$ac_cv_use_unicode"
4159 if test "$no_cache" != 1; then
4160 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4161 fi
4162
4163 if test "$wxUSE_UNICODE" = yes; then
4164 echo "$ac_t""yes" 1>&6
4165 else
4166 echo "$ac_t""no" 1>&6
4167 fi
4168
4169
4170 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4171 echo "configure:4172: checking for --enable-mslu" >&5
4172 no_cache=0
4173 # Check whether --enable-mslu or --disable-mslu was given.
4174 if test "${enable_mslu+set}" = set; then
4175 enableval="$enable_mslu"
4176
4177 if test "$enableval" = yes; then
4178 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4179 else
4180 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4181 fi
4182
4183 else
4184
4185 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4186 if test "x$LINE" != x ; then
4187 eval "DEFAULT_$LINE"
4188 else
4189 no_cache=1
4190 fi
4191
4192 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4193
4194 fi
4195
4196
4197 eval "$ac_cv_use_mslu"
4198 if test "$no_cache" != 1; then
4199 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4200 fi
4201
4202 if test "$wxUSE_UNICODE_MSLU" = yes; then
4203 echo "$ac_t""yes" 1>&6
4204 else
4205 echo "$ac_t""no" 1>&6
4206 fi
4207
4208
4209 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4210 echo "configure:4211: checking for --enable-wxprintfv" >&5
4211 no_cache=0
4212 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4213 if test "${enable_wxprintfv+set}" = set; then
4214 enableval="$enable_wxprintfv"
4215
4216 if test "$enableval" = yes; then
4217 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
4218 else
4219 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
4220 fi
4221
4222 else
4223
4224 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4225 if test "x$LINE" != x ; then
4226 eval "DEFAULT_$LINE"
4227 else
4228 no_cache=1
4229 fi
4230
4231 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4232
4233 fi
4234
4235
4236 eval "$ac_cv_use_wxprintfv"
4237 if test "$no_cache" != 1; then
4238 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4239 fi
4240
4241 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4242 echo "$ac_t""yes" 1>&6
4243 else
4244 echo "$ac_t""no" 1>&6
4245 fi
4246
4247
4248 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4249 echo "configure:4250: checking for --enable-std_iostreams" >&5
4250 no_cache=0
4251 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4252 if test "${enable_std_iostreams+set}" = set; then
4253 enableval="$enable_std_iostreams"
4254
4255 if test "$enableval" = yes; then
4256 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4257 else
4258 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4259 fi
4260
4261 else
4262
4263 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4264 if test "x$LINE" != x ; then
4265 eval "DEFAULT_$LINE"
4266 else
4267 no_cache=1
4268 fi
4269
4270 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4271
4272 fi
4273
4274
4275 eval "$ac_cv_use_std_iostreams"
4276 if test "$no_cache" != 1; then
4277 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4278 fi
4279
4280 if test "$wxUSE_STD_IOSTREAM" = yes; then
4281 echo "$ac_t""yes" 1>&6
4282 else
4283 echo "$ac_t""no" 1>&6
4284 fi
4285
4286
4287 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4288 echo "configure:4289: checking for --enable-filesystem" >&5
4289 no_cache=0
4290 # Check whether --enable-filesystem or --disable-filesystem was given.
4291 if test "${enable_filesystem+set}" = set; then
4292 enableval="$enable_filesystem"
4293
4294 if test "$enableval" = yes; then
4295 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4296 else
4297 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4298 fi
4299
4300 else
4301
4302 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4303 if test "x$LINE" != x ; then
4304 eval "DEFAULT_$LINE"
4305 else
4306 no_cache=1
4307 fi
4308
4309 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4310
4311 fi
4312
4313
4314 eval "$ac_cv_use_filesystem"
4315 if test "$no_cache" != 1; then
4316 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4317 fi
4318
4319 if test "$wxUSE_FILESYSTEM" = yes; then
4320 echo "$ac_t""yes" 1>&6
4321 else
4322 echo "$ac_t""no" 1>&6
4323 fi
4324
4325
4326 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4327 echo "configure:4328: checking for --enable-fs_inet" >&5
4328 no_cache=0
4329 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4330 if test "${enable_fs_inet+set}" = set; then
4331 enableval="$enable_fs_inet"
4332
4333 if test "$enableval" = yes; then
4334 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4335 else
4336 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4337 fi
4338
4339 else
4340
4341 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4342 if test "x$LINE" != x ; then
4343 eval "DEFAULT_$LINE"
4344 else
4345 no_cache=1
4346 fi
4347
4348 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4349
4350 fi
4351
4352
4353 eval "$ac_cv_use_fs_inet"
4354 if test "$no_cache" != 1; then
4355 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4356 fi
4357
4358 if test "$wxUSE_FS_INET" = yes; then
4359 echo "$ac_t""yes" 1>&6
4360 else
4361 echo "$ac_t""no" 1>&6
4362 fi
4363
4364
4365 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4366 echo "configure:4367: checking for --enable-fs_zip" >&5
4367 no_cache=0
4368 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4369 if test "${enable_fs_zip+set}" = set; then
4370 enableval="$enable_fs_zip"
4371
4372 if test "$enableval" = yes; then
4373 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4374 else
4375 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4376 fi
4377
4378 else
4379
4380 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4381 if test "x$LINE" != x ; then
4382 eval "DEFAULT_$LINE"
4383 else
4384 no_cache=1
4385 fi
4386
4387 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4388
4389 fi
4390
4391
4392 eval "$ac_cv_use_fs_zip"
4393 if test "$no_cache" != 1; then
4394 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4395 fi
4396
4397 if test "$wxUSE_FS_ZIP" = yes; then
4398 echo "$ac_t""yes" 1>&6
4399 else
4400 echo "$ac_t""no" 1>&6
4401 fi
4402
4403
4404 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4405 echo "configure:4406: checking for --enable-zipstream" >&5
4406 no_cache=0
4407 # Check whether --enable-zipstream or --disable-zipstream was given.
4408 if test "${enable_zipstream+set}" = set; then
4409 enableval="$enable_zipstream"
4410
4411 if test "$enableval" = yes; then
4412 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
4413 else
4414 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
4415 fi
4416
4417 else
4418
4419 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4420 if test "x$LINE" != x ; then
4421 eval "DEFAULT_$LINE"
4422 else
4423 no_cache=1
4424 fi
4425
4426 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4427
4428 fi
4429
4430
4431 eval "$ac_cv_use_zipstream"
4432 if test "$no_cache" != 1; then
4433 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4434 fi
4435
4436 if test "$wxUSE_ZIPSTREAM" = yes; then
4437 echo "$ac_t""yes" 1>&6
4438 else
4439 echo "$ac_t""no" 1>&6
4440 fi
4441
4442
4443
4444 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4445 echo "configure:4446: checking for --enable-catch_segvs" >&5
4446 no_cache=0
4447 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4448 if test "${enable_catch_segvs+set}" = set; then
4449 enableval="$enable_catch_segvs"
4450
4451 if test "$enableval" = yes; then
4452 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4453 else
4454 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4455 fi
4456
4457 else
4458
4459 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4460 if test "x$LINE" != x ; then
4461 eval "DEFAULT_$LINE"
4462 else
4463 no_cache=1
4464 fi
4465
4466 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4467
4468 fi
4469
4470
4471 eval "$ac_cv_use_catch_segvs"
4472 if test "$no_cache" != 1; then
4473 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4474 fi
4475
4476 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4477 echo "$ac_t""yes" 1>&6
4478 else
4479 echo "$ac_t""no" 1>&6
4480 fi
4481
4482
4483 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4484 echo "configure:4485: checking for --enable-snglinst" >&5
4485 no_cache=0
4486 # Check whether --enable-snglinst or --disable-snglinst was given.
4487 if test "${enable_snglinst+set}" = set; then
4488 enableval="$enable_snglinst"
4489
4490 if test "$enableval" = yes; then
4491 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
4492 else
4493 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
4494 fi
4495
4496 else
4497
4498 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4499 if test "x$LINE" != x ; then
4500 eval "DEFAULT_$LINE"
4501 else
4502 no_cache=1
4503 fi
4504
4505 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4506
4507 fi
4508
4509
4510 eval "$ac_cv_use_snglinst"
4511 if test "$no_cache" != 1; then
4512 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4513 fi
4514
4515 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4516 echo "$ac_t""yes" 1>&6
4517 else
4518 echo "$ac_t""no" 1>&6
4519 fi
4520
4521
4522
4523 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4524 echo "configure:4525: checking for --enable-mimetype" >&5
4525 no_cache=0
4526 # Check whether --enable-mimetype or --disable-mimetype was given.
4527 if test "${enable_mimetype+set}" = set; then
4528 enableval="$enable_mimetype"
4529
4530 if test "$enableval" = yes; then
4531 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
4532 else
4533 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
4534 fi
4535
4536 else
4537
4538 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4539 if test "x$LINE" != x ; then
4540 eval "DEFAULT_$LINE"
4541 else
4542 no_cache=1
4543 fi
4544
4545 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4546
4547 fi
4548
4549
4550 eval "$ac_cv_use_mimetype"
4551 if test "$no_cache" != 1; then
4552 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4553 fi
4554
4555 if test "$wxUSE_MIMETYPE" = yes; then
4556 echo "$ac_t""yes" 1>&6
4557 else
4558 echo "$ac_t""no" 1>&6
4559 fi
4560
4561
4562 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4563 echo "configure:4564: checking for --enable-system_options" >&5
4564 no_cache=0
4565 # Check whether --enable-system_options or --disable-system_options was given.
4566 if test "${enable_system_options+set}" = set; then
4567 enableval="$enable_system_options"
4568
4569 if test "$enableval" = yes; then
4570 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
4571 else
4572 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
4573 fi
4574
4575 else
4576
4577 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4578 if test "x$LINE" != x ; then
4579 eval "DEFAULT_$LINE"
4580 else
4581 no_cache=1
4582 fi
4583
4584 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4585
4586 fi
4587
4588
4589 eval "$ac_cv_use_system_options"
4590 if test "$no_cache" != 1; then
4591 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4592 fi
4593
4594 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4595 echo "$ac_t""yes" 1>&6
4596 else
4597 echo "$ac_t""no" 1>&6
4598 fi
4599
4600
4601
4602 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4603 echo "configure:4604: checking for --enable-url" >&5
4604 no_cache=0
4605 # Check whether --enable-url or --disable-url was given.
4606 if test "${enable_url+set}" = set; then
4607 enableval="$enable_url"
4608
4609 if test "$enableval" = yes; then
4610 ac_cv_use_url='wxUSE_URL=yes'
4611 else
4612 ac_cv_use_url='wxUSE_URL=no'
4613 fi
4614
4615 else
4616
4617 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4618 if test "x$LINE" != x ; then
4619 eval "DEFAULT_$LINE"
4620 else
4621 no_cache=1
4622 fi
4623
4624 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
4625
4626 fi
4627
4628
4629 eval "$ac_cv_use_url"
4630 if test "$no_cache" != 1; then
4631 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4632 fi
4633
4634 if test "$wxUSE_URL" = yes; then
4635 echo "$ac_t""yes" 1>&6
4636 else
4637 echo "$ac_t""no" 1>&6
4638 fi
4639
4640
4641 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4642 echo "configure:4643: checking for --enable-protocol" >&5
4643 no_cache=0
4644 # Check whether --enable-protocol or --disable-protocol was given.
4645 if test "${enable_protocol+set}" = set; then
4646 enableval="$enable_protocol"
4647
4648 if test "$enableval" = yes; then
4649 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
4650 else
4651 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
4652 fi
4653
4654 else
4655
4656 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4657 if test "x$LINE" != x ; then
4658 eval "DEFAULT_$LINE"
4659 else
4660 no_cache=1
4661 fi
4662
4663 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4664
4665 fi
4666
4667
4668 eval "$ac_cv_use_protocol"
4669 if test "$no_cache" != 1; then
4670 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4671 fi
4672
4673 if test "$wxUSE_PROTOCOL" = yes; then
4674 echo "$ac_t""yes" 1>&6
4675 else
4676 echo "$ac_t""no" 1>&6
4677 fi
4678
4679
4680 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4681 echo "configure:4682: checking for --enable-protocol_http" >&5
4682 no_cache=0
4683 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4684 if test "${enable_protocol_http+set}" = set; then
4685 enableval="$enable_protocol_http"
4686
4687 if test "$enableval" = yes; then
4688 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
4689 else
4690 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
4691 fi
4692
4693 else
4694
4695 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4696 if test "x$LINE" != x ; then
4697 eval "DEFAULT_$LINE"
4698 else
4699 no_cache=1
4700 fi
4701
4702 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4703
4704 fi
4705
4706
4707 eval "$ac_cv_use_protocol_http"
4708 if test "$no_cache" != 1; then
4709 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4710 fi
4711
4712 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4713 echo "$ac_t""yes" 1>&6
4714 else
4715 echo "$ac_t""no" 1>&6
4716 fi
4717
4718
4719 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4720 echo "configure:4721: checking for --enable-protocol_ftp" >&5
4721 no_cache=0
4722 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4723 if test "${enable_protocol_ftp+set}" = set; then
4724 enableval="$enable_protocol_ftp"
4725
4726 if test "$enableval" = yes; then
4727 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
4728 else
4729 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
4730 fi
4731
4732 else
4733
4734 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4735 if test "x$LINE" != x ; then
4736 eval "DEFAULT_$LINE"
4737 else
4738 no_cache=1
4739 fi
4740
4741 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4742
4743 fi
4744
4745
4746 eval "$ac_cv_use_protocol_ftp"
4747 if test "$no_cache" != 1; then
4748 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4749 fi
4750
4751 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4752 echo "$ac_t""yes" 1>&6
4753 else
4754 echo "$ac_t""no" 1>&6
4755 fi
4756
4757
4758 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4759 echo "configure:4760: checking for --enable-protocol_file" >&5
4760 no_cache=0
4761 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4762 if test "${enable_protocol_file+set}" = set; then
4763 enableval="$enable_protocol_file"
4764
4765 if test "$enableval" = yes; then
4766 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
4767 else
4768 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
4769 fi
4770
4771 else
4772
4773 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4774 if test "x$LINE" != x ; then
4775 eval "DEFAULT_$LINE"
4776 else
4777 no_cache=1
4778 fi
4779
4780 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4781
4782 fi
4783
4784
4785 eval "$ac_cv_use_protocol_file"
4786 if test "$no_cache" != 1; then
4787 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4788 fi
4789
4790 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4791 echo "$ac_t""yes" 1>&6
4792 else
4793 echo "$ac_t""no" 1>&6
4794 fi
4795
4796
4797
4798
4799
4800 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4801 echo "configure:4802: checking for --enable-threads" >&5
4802 no_cache=0
4803 # Check whether --enable-threads or --disable-threads was given.
4804 if test "${enable_threads+set}" = set; then
4805 enableval="$enable_threads"
4806
4807 if test "$enableval" = yes; then
4808 ac_cv_use_threads='wxUSE_THREADS=yes'
4809 else
4810 ac_cv_use_threads='wxUSE_THREADS=no'
4811 fi
4812
4813 else
4814
4815 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4816 if test "x$LINE" != x ; then
4817 eval "DEFAULT_$LINE"
4818 else
4819 no_cache=1
4820 fi
4821
4822 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4823
4824 fi
4825
4826
4827 eval "$ac_cv_use_threads"
4828 if test "$no_cache" != 1; then
4829 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4830 fi
4831
4832 if test "$wxUSE_THREADS" = yes; then
4833 echo "$ac_t""yes" 1>&6
4834 else
4835 echo "$ac_t""no" 1>&6
4836 fi
4837
4838
4839 if test "$wxUSE_GUI" = "yes"; then
4840
4841
4842
4843 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4844 echo "configure:4845: checking for --enable-docview" >&5
4845 no_cache=0
4846 # Check whether --enable-docview or --disable-docview was given.
4847 if test "${enable_docview+set}" = set; then
4848 enableval="$enable_docview"
4849
4850 if test "$enableval" = yes; then
4851 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4852 else
4853 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4854 fi
4855
4856 else
4857
4858 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4859 if test "x$LINE" != x ; then
4860 eval "DEFAULT_$LINE"
4861 else
4862 no_cache=1
4863 fi
4864
4865 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4866
4867 fi
4868
4869
4870 eval "$ac_cv_use_docview"
4871 if test "$no_cache" != 1; then
4872 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4873 fi
4874
4875 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4876 echo "$ac_t""yes" 1>&6
4877 else
4878 echo "$ac_t""no" 1>&6
4879 fi
4880
4881
4882 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4883 echo "configure:4884: checking for --enable-help" >&5
4884 no_cache=0
4885 # Check whether --enable-help or --disable-help was given.
4886 if test "${enable_help+set}" = set; then
4887 enableval="$enable_help"
4888
4889 if test "$enableval" = yes; then
4890 ac_cv_use_help='wxUSE_HELP=yes'
4891 else
4892 ac_cv_use_help='wxUSE_HELP=no'
4893 fi
4894
4895 else
4896
4897 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4898 if test "x$LINE" != x ; then
4899 eval "DEFAULT_$LINE"
4900 else
4901 no_cache=1
4902 fi
4903
4904 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4905
4906 fi
4907
4908
4909 eval "$ac_cv_use_help"
4910 if test "$no_cache" != 1; then
4911 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4912 fi
4913
4914 if test "$wxUSE_HELP" = yes; then
4915 echo "$ac_t""yes" 1>&6
4916 else
4917 echo "$ac_t""no" 1>&6
4918 fi
4919
4920
4921 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4922 echo "configure:4923: checking for --enable-mshtmlhelp" >&5
4923 no_cache=0
4924 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4925 if test "${enable_mshtmlhelp+set}" = set; then
4926 enableval="$enable_mshtmlhelp"
4927
4928 if test "$enableval" = yes; then
4929 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
4930 else
4931 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
4932 fi
4933
4934 else
4935
4936 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4937 if test "x$LINE" != x ; then
4938 eval "DEFAULT_$LINE"
4939 else
4940 no_cache=1
4941 fi
4942
4943 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4944
4945 fi
4946
4947
4948 eval "$ac_cv_use_mshtmlhelp"
4949 if test "$no_cache" != 1; then
4950 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4951 fi
4952
4953 if test "$wxUSE_MS_HTML_HELP" = yes; then
4954 echo "$ac_t""yes" 1>&6
4955 else
4956 echo "$ac_t""no" 1>&6
4957 fi
4958
4959
4960 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4961 echo "configure:4962: checking for --enable-html" >&5
4962 no_cache=0
4963 # Check whether --enable-html or --disable-html was given.
4964 if test "${enable_html+set}" = set; then
4965 enableval="$enable_html"
4966
4967 if test "$enableval" = yes; then
4968 ac_cv_use_html='wxUSE_HTML=yes'
4969 else
4970 ac_cv_use_html='wxUSE_HTML=no'
4971 fi
4972
4973 else
4974
4975 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4976 if test "x$LINE" != x ; then
4977 eval "DEFAULT_$LINE"
4978 else
4979 no_cache=1
4980 fi
4981
4982 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4983
4984 fi
4985
4986
4987 eval "$ac_cv_use_html"
4988 if test "$no_cache" != 1; then
4989 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4990 fi
4991
4992 if test "$wxUSE_HTML" = yes; then
4993 echo "$ac_t""yes" 1>&6
4994 else
4995 echo "$ac_t""no" 1>&6
4996 fi
4997
4998
4999 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
5000 echo "configure:5001: checking for --enable-htmlhelp" >&5
5001 no_cache=0
5002 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5003 if test "${enable_htmlhelp+set}" = set; then
5004 enableval="$enable_htmlhelp"
5005
5006 if test "$enableval" = yes; then
5007 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5008 else
5009 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5010 fi
5011
5012 else
5013
5014 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5015 if test "x$LINE" != x ; then
5016 eval "DEFAULT_$LINE"
5017 else
5018 no_cache=1
5019 fi
5020
5021 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5022
5023 fi
5024
5025
5026 eval "$ac_cv_use_htmlhelp"
5027 if test "$no_cache" != 1; then
5028 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5029 fi
5030
5031 if test "$wxUSE_WXHTML_HELP" = yes; then
5032 echo "$ac_t""yes" 1>&6
5033 else
5034 echo "$ac_t""no" 1>&6
5035 fi
5036
5037
5038 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
5039 echo "configure:5040: checking for --enable-constraints" >&5
5040 no_cache=0
5041 # Check whether --enable-constraints or --disable-constraints was given.
5042 if test "${enable_constraints+set}" = set; then
5043 enableval="$enable_constraints"
5044
5045 if test "$enableval" = yes; then
5046 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5047 else
5048 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5049 fi
5050
5051 else
5052
5053 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5054 if test "x$LINE" != x ; then
5055 eval "DEFAULT_$LINE"
5056 else
5057 no_cache=1
5058 fi
5059
5060 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5061
5062 fi
5063
5064
5065 eval "$ac_cv_use_constraints"
5066 if test "$no_cache" != 1; then
5067 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5068 fi
5069
5070 if test "$wxUSE_CONSTRAINTS" = yes; then
5071 echo "$ac_t""yes" 1>&6
5072 else
5073 echo "$ac_t""no" 1>&6
5074 fi
5075
5076
5077 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5078 echo "configure:5079: checking for --enable-printarch" >&5
5079 no_cache=0
5080 # Check whether --enable-printarch or --disable-printarch was given.
5081 if test "${enable_printarch+set}" = set; then
5082 enableval="$enable_printarch"
5083
5084 if test "$enableval" = yes; then
5085 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5086 else
5087 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5088 fi
5089
5090 else
5091
5092 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5093 if test "x$LINE" != x ; then
5094 eval "DEFAULT_$LINE"
5095 else
5096 no_cache=1
5097 fi
5098
5099 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5100
5101 fi
5102
5103
5104 eval "$ac_cv_use_printarch"
5105 if test "$no_cache" != 1; then
5106 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5107 fi
5108
5109 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5110 echo "$ac_t""yes" 1>&6
5111 else
5112 echo "$ac_t""no" 1>&6
5113 fi
5114
5115
5116 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5117 echo "configure:5118: checking for --enable-mdi" >&5
5118 no_cache=0
5119 # Check whether --enable-mdi or --disable-mdi was given.
5120 if test "${enable_mdi+set}" = set; then
5121 enableval="$enable_mdi"
5122
5123 if test "$enableval" = yes; then
5124 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
5125 else
5126 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
5127 fi
5128
5129 else
5130
5131 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5132 if test "x$LINE" != x ; then
5133 eval "DEFAULT_$LINE"
5134 else
5135 no_cache=1
5136 fi
5137
5138 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5139
5140 fi
5141
5142
5143 eval "$ac_cv_use_mdi"
5144 if test "$no_cache" != 1; then
5145 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5146 fi
5147
5148 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5149 echo "$ac_t""yes" 1>&6
5150 else
5151 echo "$ac_t""no" 1>&6
5152 fi
5153
5154
5155 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5156 echo "configure:5157: checking for --enable-loggui" >&5
5157 no_cache=0
5158 # Check whether --enable-loggui or --disable-loggui was given.
5159 if test "${enable_loggui+set}" = set; then
5160 enableval="$enable_loggui"
5161
5162 if test "$enableval" = yes; then
5163 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
5164 else
5165 ac_cv_use_loggui='wxUSE_LOGGUI=no'
5166 fi
5167
5168 else
5169
5170 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5171 if test "x$LINE" != x ; then
5172 eval "DEFAULT_$LINE"
5173 else
5174 no_cache=1
5175 fi
5176
5177 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5178
5179 fi
5180
5181
5182 eval "$ac_cv_use_loggui"
5183 if test "$no_cache" != 1; then
5184 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5185 fi
5186
5187 if test "$wxUSE_LOGGUI" = yes; then
5188 echo "$ac_t""yes" 1>&6
5189 else
5190 echo "$ac_t""no" 1>&6
5191 fi
5192
5193
5194 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5195 echo "configure:5196: checking for --enable-logwin" >&5
5196 no_cache=0
5197 # Check whether --enable-logwin or --disable-logwin was given.
5198 if test "${enable_logwin+set}" = set; then
5199 enableval="$enable_logwin"
5200
5201 if test "$enableval" = yes; then
5202 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
5203 else
5204 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
5205 fi
5206
5207 else
5208
5209 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5210 if test "x$LINE" != x ; then
5211 eval "DEFAULT_$LINE"
5212 else
5213 no_cache=1
5214 fi
5215
5216 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5217
5218 fi
5219
5220
5221 eval "$ac_cv_use_logwin"
5222 if test "$no_cache" != 1; then
5223 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5224 fi
5225
5226 if test "$wxUSE_LOGWINDOW" = yes; then
5227 echo "$ac_t""yes" 1>&6
5228 else
5229 echo "$ac_t""no" 1>&6
5230 fi
5231
5232
5233 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5234 echo "configure:5235: checking for --enable-logdialog" >&5
5235 no_cache=0
5236 # Check whether --enable-logdialog or --disable-logdialog was given.
5237 if test "${enable_logdialog+set}" = set; then
5238 enableval="$enable_logdialog"
5239
5240 if test "$enableval" = yes; then
5241 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
5242 else
5243 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
5244 fi
5245
5246 else
5247
5248 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5249 if test "x$LINE" != x ; then
5250 eval "DEFAULT_$LINE"
5251 else
5252 no_cache=1
5253 fi
5254
5255 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5256
5257 fi
5258
5259
5260 eval "$ac_cv_use_logdialog"
5261 if test "$no_cache" != 1; then
5262 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5263 fi
5264
5265 if test "$wxUSE_LOGDIALOG" = yes; then
5266 echo "$ac_t""yes" 1>&6
5267 else
5268 echo "$ac_t""no" 1>&6
5269 fi
5270
5271
5272
5273 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5274 echo "configure:5275: checking for --enable-postscript" >&5
5275 no_cache=0
5276 # Check whether --enable-postscript or --disable-postscript was given.
5277 if test "${enable_postscript+set}" = set; then
5278 enableval="$enable_postscript"
5279
5280 if test "$enableval" = yes; then
5281 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
5282 else
5283 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
5284 fi
5285
5286 else
5287
5288 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5289 if test "x$LINE" != x ; then
5290 eval "DEFAULT_$LINE"
5291 else
5292 no_cache=1
5293 fi
5294
5295 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5296
5297 fi
5298
5299
5300 eval "$ac_cv_use_postscript"
5301 if test "$no_cache" != 1; then
5302 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5303 fi
5304
5305 if test "$wxUSE_POSTSCRIPT" = yes; then
5306 echo "$ac_t""yes" 1>&6
5307 else
5308 echo "$ac_t""no" 1>&6
5309 fi
5310
5311
5312
5313
5314
5315 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5316 echo "configure:5317: checking for --enable-prologio" >&5
5317 no_cache=0
5318 # Check whether --enable-prologio or --disable-prologio was given.
5319 if test "${enable_prologio+set}" = set; then
5320 enableval="$enable_prologio"
5321
5322 if test "$enableval" = yes; then
5323 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
5324 else
5325 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
5326 fi
5327
5328 else
5329
5330 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5331 if test "x$LINE" != x ; then
5332 eval "DEFAULT_$LINE"
5333 else
5334 no_cache=1
5335 fi
5336
5337 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5338
5339 fi
5340
5341
5342 eval "$ac_cv_use_prologio"
5343 if test "$no_cache" != 1; then
5344 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5345 fi
5346
5347 if test "$wxUSE_PROLOGIO" = yes; then
5348 echo "$ac_t""yes" 1>&6
5349 else
5350 echo "$ac_t""no" 1>&6
5351 fi
5352
5353
5354 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5355 echo "configure:5356: checking for --enable-resources" >&5
5356 no_cache=0
5357 # Check whether --enable-resources or --disable-resources was given.
5358 if test "${enable_resources+set}" = set; then
5359 enableval="$enable_resources"
5360
5361 if test "$enableval" = yes; then
5362 ac_cv_use_resources='wxUSE_RESOURCES=yes'
5363 else
5364 ac_cv_use_resources='wxUSE_RESOURCES=no'
5365 fi
5366
5367 else
5368
5369 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5370 if test "x$LINE" != x ; then
5371 eval "DEFAULT_$LINE"
5372 else
5373 no_cache=1
5374 fi
5375
5376 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5377
5378 fi
5379
5380
5381 eval "$ac_cv_use_resources"
5382 if test "$no_cache" != 1; then
5383 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5384 fi
5385
5386 if test "$wxUSE_RESOURCES" = yes; then
5387 echo "$ac_t""yes" 1>&6
5388 else
5389 echo "$ac_t""no" 1>&6
5390 fi
5391
5392
5393
5394 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5395 echo "configure:5396: checking for --enable-xresources" >&5
5396 no_cache=0
5397 # Check whether --enable-xresources or --disable-xresources was given.
5398 if test "${enable_xresources+set}" = set; then
5399 enableval="$enable_xresources"
5400
5401 if test "$enableval" = yes; then
5402 ac_cv_use_xresources='wxUSE_X_RESOURCES=yes'
5403 else
5404 ac_cv_use_xresources='wxUSE_X_RESOURCES=no'
5405 fi
5406
5407 else
5408
5409 LINE=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5410 if test "x$LINE" != x ; then
5411 eval "DEFAULT_$LINE"
5412 else
5413 no_cache=1
5414 fi
5415
5416 ac_cv_use_xresources='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5417
5418 fi
5419
5420
5421 eval "$ac_cv_use_xresources"
5422 if test "$no_cache" != 1; then
5423 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5424 fi
5425
5426 if test "$wxUSE_X_RESOURCES" = yes; then
5427 echo "$ac_t""yes" 1>&6
5428 else
5429 echo "$ac_t""no" 1>&6
5430 fi
5431
5432
5433
5434
5435 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5436 echo "configure:5437: checking for --enable-clipboard" >&5
5437 no_cache=0
5438 # Check whether --enable-clipboard or --disable-clipboard was given.
5439 if test "${enable_clipboard+set}" = set; then
5440 enableval="$enable_clipboard"
5441
5442 if test "$enableval" = yes; then
5443 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
5444 else
5445 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
5446 fi
5447
5448 else
5449
5450 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5451 if test "x$LINE" != x ; then
5452 eval "DEFAULT_$LINE"
5453 else
5454 no_cache=1
5455 fi
5456
5457 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5458
5459 fi
5460
5461
5462 eval "$ac_cv_use_clipboard"
5463 if test "$no_cache" != 1; then
5464 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5465 fi
5466
5467 if test "$wxUSE_CLIPBOARD" = yes; then
5468 echo "$ac_t""yes" 1>&6
5469 else
5470 echo "$ac_t""no" 1>&6
5471 fi
5472
5473
5474 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5475 echo "configure:5476: checking for --enable-dnd" >&5
5476 no_cache=0
5477 # Check whether --enable-dnd or --disable-dnd was given.
5478 if test "${enable_dnd+set}" = set; then
5479 enableval="$enable_dnd"
5480
5481 if test "$enableval" = yes; then
5482 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
5483 else
5484 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
5485 fi
5486
5487 else
5488
5489 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5490 if test "x$LINE" != x ; then
5491 eval "DEFAULT_$LINE"
5492 else
5493 no_cache=1
5494 fi
5495
5496 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5497
5498 fi
5499
5500
5501 eval "$ac_cv_use_dnd"
5502 if test "$no_cache" != 1; then
5503 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5504 fi
5505
5506 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5507 echo "$ac_t""yes" 1>&6
5508 else
5509 echo "$ac_t""no" 1>&6
5510 fi
5511
5512
5513 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5514 echo "configure:5515: checking for --enable-metafile" >&5
5515 no_cache=0
5516 # Check whether --enable-metafile or --disable-metafile was given.
5517 if test "${enable_metafile+set}" = set; then
5518 enableval="$enable_metafile"
5519
5520 if test "$enableval" = yes; then
5521 ac_cv_use_metafile='wxUSE_METAFILE=yes'
5522 else
5523 ac_cv_use_metafile='wxUSE_METAFILE=no'
5524 fi
5525
5526 else
5527
5528 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5529 if test "x$LINE" != x ; then
5530 eval "DEFAULT_$LINE"
5531 else
5532 no_cache=1
5533 fi
5534
5535 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5536
5537 fi
5538
5539
5540 eval "$ac_cv_use_metafile"
5541 if test "$no_cache" != 1; then
5542 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5543 fi
5544
5545 if test "$wxUSE_METAFILE" = yes; then
5546 echo "$ac_t""yes" 1>&6
5547 else
5548 echo "$ac_t""no" 1>&6
5549 fi
5550
5551
5552
5553 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5554 echo "configure:5555: checking for --enable-treelayout" >&5
5555 no_cache=0
5556 # Check whether --enable-treelayout or --disable-treelayout was given.
5557 if test "${enable_treelayout+set}" = set; then
5558 enableval="$enable_treelayout"
5559
5560 if test "$enableval" = yes; then
5561 ac_cv_use_treelayout='wxUSE_TREELAYOUT=yes'
5562 else
5563 ac_cv_use_treelayout='wxUSE_TREELAYOUT=no'
5564 fi
5565
5566 else
5567
5568 LINE=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5569 if test "x$LINE" != x ; then
5570 eval "DEFAULT_$LINE"
5571 else
5572 no_cache=1
5573 fi
5574
5575 ac_cv_use_treelayout='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5576
5577 fi
5578
5579
5580 eval "$ac_cv_use_treelayout"
5581 if test "$no_cache" != 1; then
5582 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5583 fi
5584
5585 if test "$wxUSE_TREELAYOUT" = yes; then
5586 echo "$ac_t""yes" 1>&6
5587 else
5588 echo "$ac_t""no" 1>&6
5589 fi
5590
5591
5592
5593
5594 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5595 echo "configure:5596: checking for --enable-controls" >&5
5596 no_cache=0
5597 # Check whether --enable-controls or --disable-controls was given.
5598 if test "${enable_controls+set}" = set; then
5599 enableval="$enable_controls"
5600
5601 if test "$enableval" = yes; then
5602 ac_cv_use_controls='wxUSE_CONTROLS=yes'
5603 else
5604 ac_cv_use_controls='wxUSE_CONTROLS=no'
5605 fi
5606
5607 else
5608
5609 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5610 if test "x$LINE" != x ; then
5611 eval "DEFAULT_$LINE"
5612 else
5613 no_cache=1
5614 fi
5615
5616 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5617
5618 fi
5619
5620
5621 eval "$ac_cv_use_controls"
5622 if test "$no_cache" != 1; then
5623 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5624 fi
5625
5626 if test "$wxUSE_CONTROLS" = yes; then
5627 echo "$ac_t""yes" 1>&6
5628 else
5629 echo "$ac_t""no" 1>&6
5630 fi
5631
5632
5633 if test "$wxUSE_CONTROLS" = "yes"; then
5634 DEFAULT_wxUSE_ACCEL=yes
5635 DEFAULT_wxUSE_BMPBUTTON=yes
5636 DEFAULT_wxUSE_BUTTON=yes
5637 DEFAULT_wxUSE_CALCTRL=no
5638 DEFAULT_wxUSE_CARET=yes
5639 DEFAULT_wxUSE_COMBOBOX=yes
5640 DEFAULT_wxUSE_CHECKBOX=yes
5641 DEFAULT_wxUSE_CHECKLISTBOX=yes
5642 DEFAULT_wxUSE_CHOICE=yes
5643 DEFAULT_wxUSE_GAUGE=yes
5644 DEFAULT_wxUSE_GRID=yes
5645 DEFAULT_wxUSE_NEW_GRID=yes
5646 DEFAULT_wxUSE_IMAGLIST=yes
5647 DEFAULT_wxUSE_LISTBOX=yes
5648 DEFAULT_wxUSE_LISTCTRL=yes
5649 DEFAULT_wxUSE_NOTEBOOK=yes
5650 DEFAULT_wxUSE_PROPSHEET=yes
5651 DEFAULT_wxUSE_RADIOBOX=yes
5652 DEFAULT_wxUSE_RADIOBTN=yes
5653 DEFAULT_wxUSE_SASH=yes
5654 DEFAULT_wxUSE_SCROLLBAR=yes
5655 DEFAULT_wxUSE_SLIDER=yes
5656 DEFAULT_wxUSE_SPINBTN=yes
5657 DEFAULT_wxUSE_SPINCTRL=yes
5658 DEFAULT_wxUSE_SPLITTER=yes
5659 DEFAULT_wxUSE_STATBMP=yes
5660 DEFAULT_wxUSE_STATBOX=yes
5661 DEFAULT_wxUSE_STATLINE=yes
5662 DEFAULT_wxUSE_STATUSBAR=yes
5663 DEFAULT_wxUSE_TAB_DIALOG=yes
5664 DEFAULT_wxUSE_TOGGLEBTN=yes
5665 DEFAULT_wxUSE_TOOLBAR=yes
5666 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
5667 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
5668 DEFAULT_wxUSE_TOOLTIPS=yes
5669 DEFAULT_wxUSE_TREECTRL=yes
5670 DEFAULT_wxUSE_POPUPWIN=yes
5671 DEFAULT_wxUSE_TIPWINDOW=yes
5672 elif test "$wxUSE_CONTROLS" = "no"; then
5673 DEFAULT_wxUSE_ACCEL=no
5674 DEFAULT_wxUSE_BMPBUTTON=no
5675 DEFAULT_wxUSE_BUTTON=no
5676 DEFAULT_wxUSE_CALCTRL=no
5677 DEFAULT_wxUSE_CARET=no
5678 DEFAULT_wxUSE_COMBOBOX=no
5679 DEFAULT_wxUSE_CHECKBOX=no
5680 DEFAULT_wxUSE_CHECKLISTBOX=no
5681 DEFAULT_wxUSE_CHOICE=no
5682 DEFAULT_wxUSE_GAUGE=no
5683 DEFAULT_wxUSE_GRID=no
5684 DEFAULT_wxUSE_NEW_GRID=no
5685 DEFAULT_wxUSE_IMAGLIST=no
5686 DEFAULT_wxUSE_LISTBOX=no
5687 DEFAULT_wxUSE_LISTCTRL=no
5688 DEFAULT_wxUSE_NOTEBOOK=no
5689 DEFAULT_wxUSE_PROPSHEET=no
5690 DEFAULT_wxUSE_RADIOBOX=no
5691 DEFAULT_wxUSE_RADIOBTN=no
5692 DEFAULT_wxUSE_SASH=no
5693 DEFAULT_wxUSE_SCROLLBAR=no
5694 DEFAULT_wxUSE_SLIDER=no
5695 DEFAULT_wxUSE_SPINBTN=no
5696 DEFAULT_wxUSE_SPINCTRL=no
5697 DEFAULT_wxUSE_SPLITTER=no
5698 DEFAULT_wxUSE_STATBMP=no
5699 DEFAULT_wxUSE_STATBOX=no
5700 DEFAULT_wxUSE_STATLINE=no
5701 DEFAULT_wxUSE_STATUSBAR=no
5702 DEFAULT_wxUSE_TAB_DIALOG=no
5703 DEFAULT_wxUSE_TOGGLEBTN=no
5704 DEFAULT_wxUSE_TOOLBAR=no
5705 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
5706 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
5707 DEFAULT_wxUSE_TOOLTIPS=no
5708 DEFAULT_wxUSE_TREECTRL=no
5709 DEFAULT_wxUSE_POPUPWIN=no
5710 DEFAULT_wxUSE_TIPWINDOW=no
5711 fi
5712
5713
5714 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5715 echo "configure:5716: checking for --enable-accel" >&5
5716 no_cache=0
5717 # Check whether --enable-accel or --disable-accel was given.
5718 if test "${enable_accel+set}" = set; then
5719 enableval="$enable_accel"
5720
5721 if test "$enableval" = yes; then
5722 ac_cv_use_accel='wxUSE_ACCEL=yes'
5723 else
5724 ac_cv_use_accel='wxUSE_ACCEL=no'
5725 fi
5726
5727 else
5728
5729 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5730 if test "x$LINE" != x ; then
5731 eval "DEFAULT_$LINE"
5732 else
5733 no_cache=1
5734 fi
5735
5736 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5737
5738 fi
5739
5740
5741 eval "$ac_cv_use_accel"
5742 if test "$no_cache" != 1; then
5743 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5744 fi
5745
5746 if test "$wxUSE_ACCEL" = yes; then
5747 echo "$ac_t""yes" 1>&6
5748 else
5749 echo "$ac_t""no" 1>&6
5750 fi
5751
5752
5753 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5754 echo "configure:5755: checking for --enable-button" >&5
5755 no_cache=0
5756 # Check whether --enable-button or --disable-button was given.
5757 if test "${enable_button+set}" = set; then
5758 enableval="$enable_button"
5759
5760 if test "$enableval" = yes; then
5761 ac_cv_use_button='wxUSE_BUTTON=yes'
5762 else
5763 ac_cv_use_button='wxUSE_BUTTON=no'
5764 fi
5765
5766 else
5767
5768 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5769 if test "x$LINE" != x ; then
5770 eval "DEFAULT_$LINE"
5771 else
5772 no_cache=1
5773 fi
5774
5775 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5776
5777 fi
5778
5779
5780 eval "$ac_cv_use_button"
5781 if test "$no_cache" != 1; then
5782 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5783 fi
5784
5785 if test "$wxUSE_BUTTON" = yes; then
5786 echo "$ac_t""yes" 1>&6
5787 else
5788 echo "$ac_t""no" 1>&6
5789 fi
5790
5791
5792 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5793 echo "configure:5794: checking for --enable-bmpbutton" >&5
5794 no_cache=0
5795 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5796 if test "${enable_bmpbutton+set}" = set; then
5797 enableval="$enable_bmpbutton"
5798
5799 if test "$enableval" = yes; then
5800 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
5801 else
5802 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
5803 fi
5804
5805 else
5806
5807 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5808 if test "x$LINE" != x ; then
5809 eval "DEFAULT_$LINE"
5810 else
5811 no_cache=1
5812 fi
5813
5814 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5815
5816 fi
5817
5818
5819 eval "$ac_cv_use_bmpbutton"
5820 if test "$no_cache" != 1; then
5821 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5822 fi
5823
5824 if test "$wxUSE_BMPBUTTON" = yes; then
5825 echo "$ac_t""yes" 1>&6
5826 else
5827 echo "$ac_t""no" 1>&6
5828 fi
5829
5830
5831 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5832 echo "configure:5833: checking for --enable-calendar" >&5
5833 no_cache=0
5834 # Check whether --enable-calendar or --disable-calendar was given.
5835 if test "${enable_calendar+set}" = set; then
5836 enableval="$enable_calendar"
5837
5838 if test "$enableval" = yes; then
5839 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
5840 else
5841 ac_cv_use_calendar='wxUSE_CALCTRL=no'
5842 fi
5843
5844 else
5845
5846 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5847 if test "x$LINE" != x ; then
5848 eval "DEFAULT_$LINE"
5849 else
5850 no_cache=1
5851 fi
5852
5853 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5854
5855 fi
5856
5857
5858 eval "$ac_cv_use_calendar"
5859 if test "$no_cache" != 1; then
5860 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5861 fi
5862
5863 if test "$wxUSE_CALCTRL" = yes; then
5864 echo "$ac_t""yes" 1>&6
5865 else
5866 echo "$ac_t""no" 1>&6
5867 fi
5868
5869
5870 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5871 echo "configure:5872: checking for --enable-caret" >&5
5872 no_cache=0
5873 # Check whether --enable-caret or --disable-caret was given.
5874 if test "${enable_caret+set}" = set; then
5875 enableval="$enable_caret"
5876
5877 if test "$enableval" = yes; then
5878 ac_cv_use_caret='wxUSE_CARET=yes'
5879 else
5880 ac_cv_use_caret='wxUSE_CARET=no'
5881 fi
5882
5883 else
5884
5885 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5886 if test "x$LINE" != x ; then
5887 eval "DEFAULT_$LINE"
5888 else
5889 no_cache=1
5890 fi
5891
5892 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5893
5894 fi
5895
5896
5897 eval "$ac_cv_use_caret"
5898 if test "$no_cache" != 1; then
5899 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5900 fi
5901
5902 if test "$wxUSE_CARET" = yes; then
5903 echo "$ac_t""yes" 1>&6
5904 else
5905 echo "$ac_t""no" 1>&6
5906 fi
5907
5908
5909 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5910 echo "configure:5911: checking for --enable-checkbox" >&5
5911 no_cache=0
5912 # Check whether --enable-checkbox or --disable-checkbox was given.
5913 if test "${enable_checkbox+set}" = set; then
5914 enableval="$enable_checkbox"
5915
5916 if test "$enableval" = yes; then
5917 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
5918 else
5919 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
5920 fi
5921
5922 else
5923
5924 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5925 if test "x$LINE" != x ; then
5926 eval "DEFAULT_$LINE"
5927 else
5928 no_cache=1
5929 fi
5930
5931 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5932
5933 fi
5934
5935
5936 eval "$ac_cv_use_checkbox"
5937 if test "$no_cache" != 1; then
5938 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5939 fi
5940
5941 if test "$wxUSE_CHECKBOX" = yes; then
5942 echo "$ac_t""yes" 1>&6
5943 else
5944 echo "$ac_t""no" 1>&6
5945 fi
5946
5947
5948 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5949 echo "configure:5950: checking for --enable-checklst" >&5
5950 no_cache=0
5951 # Check whether --enable-checklst or --disable-checklst was given.
5952 if test "${enable_checklst+set}" = set; then
5953 enableval="$enable_checklst"
5954
5955 if test "$enableval" = yes; then
5956 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
5957 else
5958 ac_cv_use_checklst='wxUSE_CHECKLST=no'
5959 fi
5960
5961 else
5962
5963 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5964 if test "x$LINE" != x ; then
5965 eval "DEFAULT_$LINE"
5966 else
5967 no_cache=1
5968 fi
5969
5970 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5971
5972 fi
5973
5974
5975 eval "$ac_cv_use_checklst"
5976 if test "$no_cache" != 1; then
5977 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5978 fi
5979
5980 if test "$wxUSE_CHECKLST" = yes; then
5981 echo "$ac_t""yes" 1>&6
5982 else
5983 echo "$ac_t""no" 1>&6
5984 fi
5985
5986
5987 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5988 echo "configure:5989: checking for --enable-choice" >&5
5989 no_cache=0
5990 # Check whether --enable-choice or --disable-choice was given.
5991 if test "${enable_choice+set}" = set; then
5992 enableval="$enable_choice"
5993
5994 if test "$enableval" = yes; then
5995 ac_cv_use_choice='wxUSE_CHOICE=yes'
5996 else
5997 ac_cv_use_choice='wxUSE_CHOICE=no'
5998 fi
5999
6000 else
6001
6002 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6003 if test "x$LINE" != x ; then
6004 eval "DEFAULT_$LINE"
6005 else
6006 no_cache=1
6007 fi
6008
6009 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6010
6011 fi
6012
6013
6014 eval "$ac_cv_use_choice"
6015 if test "$no_cache" != 1; then
6016 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6017 fi
6018
6019 if test "$wxUSE_CHOICE" = yes; then
6020 echo "$ac_t""yes" 1>&6
6021 else
6022 echo "$ac_t""no" 1>&6
6023 fi
6024
6025
6026 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
6027 echo "configure:6028: checking for --enable-combobox" >&5
6028 no_cache=0
6029 # Check whether --enable-combobox or --disable-combobox was given.
6030 if test "${enable_combobox+set}" = set; then
6031 enableval="$enable_combobox"
6032
6033 if test "$enableval" = yes; then
6034 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6035 else
6036 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6037 fi
6038
6039 else
6040
6041 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6042 if test "x$LINE" != x ; then
6043 eval "DEFAULT_$LINE"
6044 else
6045 no_cache=1
6046 fi
6047
6048 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6049
6050 fi
6051
6052
6053 eval "$ac_cv_use_combobox"
6054 if test "$no_cache" != 1; then
6055 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6056 fi
6057
6058 if test "$wxUSE_COMBOBOX" = yes; then
6059 echo "$ac_t""yes" 1>&6
6060 else
6061 echo "$ac_t""no" 1>&6
6062 fi
6063
6064
6065 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6066 echo "configure:6067: checking for --enable-gauge" >&5
6067 no_cache=0
6068 # Check whether --enable-gauge or --disable-gauge was given.
6069 if test "${enable_gauge+set}" = set; then
6070 enableval="$enable_gauge"
6071
6072 if test "$enableval" = yes; then
6073 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6074 else
6075 ac_cv_use_gauge='wxUSE_GAUGE=no'
6076 fi
6077
6078 else
6079
6080 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6081 if test "x$LINE" != x ; then
6082 eval "DEFAULT_$LINE"
6083 else
6084 no_cache=1
6085 fi
6086
6087 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6088
6089 fi
6090
6091
6092 eval "$ac_cv_use_gauge"
6093 if test "$no_cache" != 1; then
6094 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6095 fi
6096
6097 if test "$wxUSE_GAUGE" = yes; then
6098 echo "$ac_t""yes" 1>&6
6099 else
6100 echo "$ac_t""no" 1>&6
6101 fi
6102
6103
6104 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6105 echo "configure:6106: checking for --enable-grid" >&5
6106 no_cache=0
6107 # Check whether --enable-grid or --disable-grid was given.
6108 if test "${enable_grid+set}" = set; then
6109 enableval="$enable_grid"
6110
6111 if test "$enableval" = yes; then
6112 ac_cv_use_grid='wxUSE_GRID=yes'
6113 else
6114 ac_cv_use_grid='wxUSE_GRID=no'
6115 fi
6116
6117 else
6118
6119 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6120 if test "x$LINE" != x ; then
6121 eval "DEFAULT_$LINE"
6122 else
6123 no_cache=1
6124 fi
6125
6126 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6127
6128 fi
6129
6130
6131 eval "$ac_cv_use_grid"
6132 if test "$no_cache" != 1; then
6133 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6134 fi
6135
6136 if test "$wxUSE_GRID" = yes; then
6137 echo "$ac_t""yes" 1>&6
6138 else
6139 echo "$ac_t""no" 1>&6
6140 fi
6141
6142
6143 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6144 echo "configure:6145: checking for --enable-newgrid" >&5
6145 no_cache=0
6146 # Check whether --enable-newgrid or --disable-newgrid was given.
6147 if test "${enable_newgrid+set}" = set; then
6148 enableval="$enable_newgrid"
6149
6150 if test "$enableval" = yes; then
6151 ac_cv_use_newgrid='wxUSE_NEW_GRID=yes'
6152 else
6153 ac_cv_use_newgrid='wxUSE_NEW_GRID=no'
6154 fi
6155
6156 else
6157
6158 LINE=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6159 if test "x$LINE" != x ; then
6160 eval "DEFAULT_$LINE"
6161 else
6162 no_cache=1
6163 fi
6164
6165 ac_cv_use_newgrid='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6166
6167 fi
6168
6169
6170 eval "$ac_cv_use_newgrid"
6171 if test "$no_cache" != 1; then
6172 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6173 fi
6174
6175 if test "$wxUSE_NEW_GRID" = yes; then
6176 echo "$ac_t""yes" 1>&6
6177 else
6178 echo "$ac_t""no" 1>&6
6179 fi
6180
6181
6182 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6183 echo "configure:6184: checking for --enable-imaglist" >&5
6184 no_cache=0
6185 # Check whether --enable-imaglist or --disable-imaglist was given.
6186 if test "${enable_imaglist+set}" = set; then
6187 enableval="$enable_imaglist"
6188
6189 if test "$enableval" = yes; then
6190 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
6191 else
6192 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
6193 fi
6194
6195 else
6196
6197 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6198 if test "x$LINE" != x ; then
6199 eval "DEFAULT_$LINE"
6200 else
6201 no_cache=1
6202 fi
6203
6204 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6205
6206 fi
6207
6208
6209 eval "$ac_cv_use_imaglist"
6210 if test "$no_cache" != 1; then
6211 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6212 fi
6213
6214 if test "$wxUSE_IMAGLIST" = yes; then
6215 echo "$ac_t""yes" 1>&6
6216 else
6217 echo "$ac_t""no" 1>&6
6218 fi
6219
6220
6221 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6222 echo "configure:6223: checking for --enable-listbox" >&5
6223 no_cache=0
6224 # Check whether --enable-listbox or --disable-listbox was given.
6225 if test "${enable_listbox+set}" = set; then
6226 enableval="$enable_listbox"
6227
6228 if test "$enableval" = yes; then
6229 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
6230 else
6231 ac_cv_use_listbox='wxUSE_LISTBOX=no'
6232 fi
6233
6234 else
6235
6236 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6237 if test "x$LINE" != x ; then
6238 eval "DEFAULT_$LINE"
6239 else
6240 no_cache=1
6241 fi
6242
6243 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6244
6245 fi
6246
6247
6248 eval "$ac_cv_use_listbox"
6249 if test "$no_cache" != 1; then
6250 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6251 fi
6252
6253 if test "$wxUSE_LISTBOX" = yes; then
6254 echo "$ac_t""yes" 1>&6
6255 else
6256 echo "$ac_t""no" 1>&6
6257 fi
6258
6259
6260 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6261 echo "configure:6262: checking for --enable-listctrl" >&5
6262 no_cache=0
6263 # Check whether --enable-listctrl or --disable-listctrl was given.
6264 if test "${enable_listctrl+set}" = set; then
6265 enableval="$enable_listctrl"
6266
6267 if test "$enableval" = yes; then
6268 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
6269 else
6270 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
6271 fi
6272
6273 else
6274
6275 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6276 if test "x$LINE" != x ; then
6277 eval "DEFAULT_$LINE"
6278 else
6279 no_cache=1
6280 fi
6281
6282 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6283
6284 fi
6285
6286
6287 eval "$ac_cv_use_listctrl"
6288 if test "$no_cache" != 1; then
6289 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6290 fi
6291
6292 if test "$wxUSE_LISTCTRL" = yes; then
6293 echo "$ac_t""yes" 1>&6
6294 else
6295 echo "$ac_t""no" 1>&6
6296 fi
6297
6298
6299 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6300 echo "configure:6301: checking for --enable-notebook" >&5
6301 no_cache=0
6302 # Check whether --enable-notebook or --disable-notebook was given.
6303 if test "${enable_notebook+set}" = set; then
6304 enableval="$enable_notebook"
6305
6306 if test "$enableval" = yes; then
6307 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
6308 else
6309 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
6310 fi
6311
6312 else
6313
6314 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6315 if test "x$LINE" != x ; then
6316 eval "DEFAULT_$LINE"
6317 else
6318 no_cache=1
6319 fi
6320
6321 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6322
6323 fi
6324
6325
6326 eval "$ac_cv_use_notebook"
6327 if test "$no_cache" != 1; then
6328 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6329 fi
6330
6331 if test "$wxUSE_NOTEBOOK" = yes; then
6332 echo "$ac_t""yes" 1>&6
6333 else
6334 echo "$ac_t""no" 1>&6
6335 fi
6336
6337
6338 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6339 echo "configure:6340: checking for --enable-propsheet" >&5
6340 no_cache=0
6341 # Check whether --enable-propsheet or --disable-propsheet was given.
6342 if test "${enable_propsheet+set}" = set; then
6343 enableval="$enable_propsheet"
6344
6345 if test "$enableval" = yes; then
6346 ac_cv_use_propsheet='wxUSE_PROPSHEET=yes'
6347 else
6348 ac_cv_use_propsheet='wxUSE_PROPSHEET=no'
6349 fi
6350
6351 else
6352
6353 LINE=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6354 if test "x$LINE" != x ; then
6355 eval "DEFAULT_$LINE"
6356 else
6357 no_cache=1
6358 fi
6359
6360 ac_cv_use_propsheet='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6361
6362 fi
6363
6364
6365 eval "$ac_cv_use_propsheet"
6366 if test "$no_cache" != 1; then
6367 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6368 fi
6369
6370 if test "$wxUSE_PROPSHEET" = yes; then
6371 echo "$ac_t""yes" 1>&6
6372 else
6373 echo "$ac_t""no" 1>&6
6374 fi
6375
6376
6377 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6378 echo "configure:6379: checking for --enable-radiobox" >&5
6379 no_cache=0
6380 # Check whether --enable-radiobox or --disable-radiobox was given.
6381 if test "${enable_radiobox+set}" = set; then
6382 enableval="$enable_radiobox"
6383
6384 if test "$enableval" = yes; then
6385 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
6386 else
6387 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
6388 fi
6389
6390 else
6391
6392 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6393 if test "x$LINE" != x ; then
6394 eval "DEFAULT_$LINE"
6395 else
6396 no_cache=1
6397 fi
6398
6399 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6400
6401 fi
6402
6403
6404 eval "$ac_cv_use_radiobox"
6405 if test "$no_cache" != 1; then
6406 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6407 fi
6408
6409 if test "$wxUSE_RADIOBOX" = yes; then
6410 echo "$ac_t""yes" 1>&6
6411 else
6412 echo "$ac_t""no" 1>&6
6413 fi
6414
6415
6416 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6417 echo "configure:6418: checking for --enable-radiobtn" >&5
6418 no_cache=0
6419 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6420 if test "${enable_radiobtn+set}" = set; then
6421 enableval="$enable_radiobtn"
6422
6423 if test "$enableval" = yes; then
6424 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
6425 else
6426 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
6427 fi
6428
6429 else
6430
6431 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6432 if test "x$LINE" != x ; then
6433 eval "DEFAULT_$LINE"
6434 else
6435 no_cache=1
6436 fi
6437
6438 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6439
6440 fi
6441
6442
6443 eval "$ac_cv_use_radiobtn"
6444 if test "$no_cache" != 1; then
6445 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6446 fi
6447
6448 if test "$wxUSE_RADIOBTN" = yes; then
6449 echo "$ac_t""yes" 1>&6
6450 else
6451 echo "$ac_t""no" 1>&6
6452 fi
6453
6454
6455 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6456 echo "configure:6457: checking for --enable-sash" >&5
6457 no_cache=0
6458 # Check whether --enable-sash or --disable-sash was given.
6459 if test "${enable_sash+set}" = set; then
6460 enableval="$enable_sash"
6461
6462 if test "$enableval" = yes; then
6463 ac_cv_use_sash='wxUSE_SASH=yes'
6464 else
6465 ac_cv_use_sash='wxUSE_SASH=no'
6466 fi
6467
6468 else
6469
6470 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6471 if test "x$LINE" != x ; then
6472 eval "DEFAULT_$LINE"
6473 else
6474 no_cache=1
6475 fi
6476
6477 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6478
6479 fi
6480
6481
6482 eval "$ac_cv_use_sash"
6483 if test "$no_cache" != 1; then
6484 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6485 fi
6486
6487 if test "$wxUSE_SASH" = yes; then
6488 echo "$ac_t""yes" 1>&6
6489 else
6490 echo "$ac_t""no" 1>&6
6491 fi
6492
6493
6494 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6495 echo "configure:6496: checking for --enable-scrollbar" >&5
6496 no_cache=0
6497 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6498 if test "${enable_scrollbar+set}" = set; then
6499 enableval="$enable_scrollbar"
6500
6501 if test "$enableval" = yes; then
6502 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
6503 else
6504 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
6505 fi
6506
6507 else
6508
6509 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6510 if test "x$LINE" != x ; then
6511 eval "DEFAULT_$LINE"
6512 else
6513 no_cache=1
6514 fi
6515
6516 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6517
6518 fi
6519
6520
6521 eval "$ac_cv_use_scrollbar"
6522 if test "$no_cache" != 1; then
6523 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6524 fi
6525
6526 if test "$wxUSE_SCROLLBAR" = yes; then
6527 echo "$ac_t""yes" 1>&6
6528 else
6529 echo "$ac_t""no" 1>&6
6530 fi
6531
6532
6533 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6534 echo "configure:6535: checking for --enable-slider" >&5
6535 no_cache=0
6536 # Check whether --enable-slider or --disable-slider was given.
6537 if test "${enable_slider+set}" = set; then
6538 enableval="$enable_slider"
6539
6540 if test "$enableval" = yes; then
6541 ac_cv_use_slider='wxUSE_SLIDER=yes'
6542 else
6543 ac_cv_use_slider='wxUSE_SLIDER=no'
6544 fi
6545
6546 else
6547
6548 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6549 if test "x$LINE" != x ; then
6550 eval "DEFAULT_$LINE"
6551 else
6552 no_cache=1
6553 fi
6554
6555 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6556
6557 fi
6558
6559
6560 eval "$ac_cv_use_slider"
6561 if test "$no_cache" != 1; then
6562 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6563 fi
6564
6565 if test "$wxUSE_SLIDER" = yes; then
6566 echo "$ac_t""yes" 1>&6
6567 else
6568 echo "$ac_t""no" 1>&6
6569 fi
6570
6571
6572 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6573 echo "configure:6574: checking for --enable-spinbtn" >&5
6574 no_cache=0
6575 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6576 if test "${enable_spinbtn+set}" = set; then
6577 enableval="$enable_spinbtn"
6578
6579 if test "$enableval" = yes; then
6580 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
6581 else
6582 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
6583 fi
6584
6585 else
6586
6587 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6588 if test "x$LINE" != x ; then
6589 eval "DEFAULT_$LINE"
6590 else
6591 no_cache=1
6592 fi
6593
6594 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6595
6596 fi
6597
6598
6599 eval "$ac_cv_use_spinbtn"
6600 if test "$no_cache" != 1; then
6601 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6602 fi
6603
6604 if test "$wxUSE_SPINBTN" = yes; then
6605 echo "$ac_t""yes" 1>&6
6606 else
6607 echo "$ac_t""no" 1>&6
6608 fi
6609
6610
6611 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6612 echo "configure:6613: checking for --enable-spinctrl" >&5
6613 no_cache=0
6614 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6615 if test "${enable_spinctrl+set}" = set; then
6616 enableval="$enable_spinctrl"
6617
6618 if test "$enableval" = yes; then
6619 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
6620 else
6621 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
6622 fi
6623
6624 else
6625
6626 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6627 if test "x$LINE" != x ; then
6628 eval "DEFAULT_$LINE"
6629 else
6630 no_cache=1
6631 fi
6632
6633 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6634
6635 fi
6636
6637
6638 eval "$ac_cv_use_spinctrl"
6639 if test "$no_cache" != 1; then
6640 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6641 fi
6642
6643 if test "$wxUSE_SPINCTRL" = yes; then
6644 echo "$ac_t""yes" 1>&6
6645 else
6646 echo "$ac_t""no" 1>&6
6647 fi
6648
6649
6650 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6651 echo "configure:6652: checking for --enable-splitter" >&5
6652 no_cache=0
6653 # Check whether --enable-splitter or --disable-splitter was given.
6654 if test "${enable_splitter+set}" = set; then
6655 enableval="$enable_splitter"
6656
6657 if test "$enableval" = yes; then
6658 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
6659 else
6660 ac_cv_use_splitter='wxUSE_SPLITTER=no'
6661 fi
6662
6663 else
6664
6665 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6666 if test "x$LINE" != x ; then
6667 eval "DEFAULT_$LINE"
6668 else
6669 no_cache=1
6670 fi
6671
6672 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6673
6674 fi
6675
6676
6677 eval "$ac_cv_use_splitter"
6678 if test "$no_cache" != 1; then
6679 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6680 fi
6681
6682 if test "$wxUSE_SPLITTER" = yes; then
6683 echo "$ac_t""yes" 1>&6
6684 else
6685 echo "$ac_t""no" 1>&6
6686 fi
6687
6688
6689 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6690 echo "configure:6691: checking for --enable-statbmp" >&5
6691 no_cache=0
6692 # Check whether --enable-statbmp or --disable-statbmp was given.
6693 if test "${enable_statbmp+set}" = set; then
6694 enableval="$enable_statbmp"
6695
6696 if test "$enableval" = yes; then
6697 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
6698 else
6699 ac_cv_use_statbmp='wxUSE_STATBMP=no'
6700 fi
6701
6702 else
6703
6704 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6705 if test "x$LINE" != x ; then
6706 eval "DEFAULT_$LINE"
6707 else
6708 no_cache=1
6709 fi
6710
6711 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6712
6713 fi
6714
6715
6716 eval "$ac_cv_use_statbmp"
6717 if test "$no_cache" != 1; then
6718 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6719 fi
6720
6721 if test "$wxUSE_STATBMP" = yes; then
6722 echo "$ac_t""yes" 1>&6
6723 else
6724 echo "$ac_t""no" 1>&6
6725 fi
6726
6727
6728 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6729 echo "configure:6730: checking for --enable-statbox" >&5
6730 no_cache=0
6731 # Check whether --enable-statbox or --disable-statbox was given.
6732 if test "${enable_statbox+set}" = set; then
6733 enableval="$enable_statbox"
6734
6735 if test "$enableval" = yes; then
6736 ac_cv_use_statbox='wxUSE_STATBOX=yes'
6737 else
6738 ac_cv_use_statbox='wxUSE_STATBOX=no'
6739 fi
6740
6741 else
6742
6743 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6744 if test "x$LINE" != x ; then
6745 eval "DEFAULT_$LINE"
6746 else
6747 no_cache=1
6748 fi
6749
6750 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6751
6752 fi
6753
6754
6755 eval "$ac_cv_use_statbox"
6756 if test "$no_cache" != 1; then
6757 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6758 fi
6759
6760 if test "$wxUSE_STATBOX" = yes; then
6761 echo "$ac_t""yes" 1>&6
6762 else
6763 echo "$ac_t""no" 1>&6
6764 fi
6765
6766
6767 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6768 echo "configure:6769: checking for --enable-statline" >&5
6769 no_cache=0
6770 # Check whether --enable-statline or --disable-statline was given.
6771 if test "${enable_statline+set}" = set; then
6772 enableval="$enable_statline"
6773
6774 if test "$enableval" = yes; then
6775 ac_cv_use_statline='wxUSE_STATLINE=yes'
6776 else
6777 ac_cv_use_statline='wxUSE_STATLINE=no'
6778 fi
6779
6780 else
6781
6782 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6783 if test "x$LINE" != x ; then
6784 eval "DEFAULT_$LINE"
6785 else
6786 no_cache=1
6787 fi
6788
6789 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6790
6791 fi
6792
6793
6794 eval "$ac_cv_use_statline"
6795 if test "$no_cache" != 1; then
6796 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6797 fi
6798
6799 if test "$wxUSE_STATLINE" = yes; then
6800 echo "$ac_t""yes" 1>&6
6801 else
6802 echo "$ac_t""no" 1>&6
6803 fi
6804
6805
6806 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6807 echo "configure:6808: checking for --enable-stattext" >&5
6808 no_cache=0
6809 # Check whether --enable-stattext or --disable-stattext was given.
6810 if test "${enable_stattext+set}" = set; then
6811 enableval="$enable_stattext"
6812
6813 if test "$enableval" = yes; then
6814 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
6815 else
6816 ac_cv_use_stattext='wxUSE_STATTEXT=no'
6817 fi
6818
6819 else
6820
6821 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6822 if test "x$LINE" != x ; then
6823 eval "DEFAULT_$LINE"
6824 else
6825 no_cache=1
6826 fi
6827
6828 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6829
6830 fi
6831
6832
6833 eval "$ac_cv_use_stattext"
6834 if test "$no_cache" != 1; then
6835 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6836 fi
6837
6838 if test "$wxUSE_STATTEXT" = yes; then
6839 echo "$ac_t""yes" 1>&6
6840 else
6841 echo "$ac_t""no" 1>&6
6842 fi
6843
6844
6845 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6846 echo "configure:6847: checking for --enable-statusbar" >&5
6847 no_cache=0
6848 # Check whether --enable-statusbar or --disable-statusbar was given.
6849 if test "${enable_statusbar+set}" = set; then
6850 enableval="$enable_statusbar"
6851
6852 if test "$enableval" = yes; then
6853 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
6854 else
6855 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
6856 fi
6857
6858 else
6859
6860 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6861 if test "x$LINE" != x ; then
6862 eval "DEFAULT_$LINE"
6863 else
6864 no_cache=1
6865 fi
6866
6867 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6868
6869 fi
6870
6871
6872 eval "$ac_cv_use_statusbar"
6873 if test "$no_cache" != 1; then
6874 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6875 fi
6876
6877 if test "$wxUSE_STATUSBAR" = yes; then
6878 echo "$ac_t""yes" 1>&6
6879 else
6880 echo "$ac_t""no" 1>&6
6881 fi
6882
6883
6884 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6885 echo "configure:6886: checking for --enable-tabdialog" >&5
6886 no_cache=0
6887 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6888 if test "${enable_tabdialog+set}" = set; then
6889 enableval="$enable_tabdialog"
6890
6891 if test "$enableval" = yes; then
6892 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
6893 else
6894 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
6895 fi
6896
6897 else
6898
6899 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6900 if test "x$LINE" != x ; then
6901 eval "DEFAULT_$LINE"
6902 else
6903 no_cache=1
6904 fi
6905
6906 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6907
6908 fi
6909
6910
6911 eval "$ac_cv_use_tabdialog"
6912 if test "$no_cache" != 1; then
6913 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6914 fi
6915
6916 if test "$wxUSE_TABDIALOG" = yes; then
6917 echo "$ac_t""yes" 1>&6
6918 else
6919 echo "$ac_t""no" 1>&6
6920 fi
6921
6922
6923 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6924 echo "configure:6925: checking for --enable-textctrl" >&5
6925 no_cache=0
6926 # Check whether --enable-textctrl or --disable-textctrl was given.
6927 if test "${enable_textctrl+set}" = set; then
6928 enableval="$enable_textctrl"
6929
6930 if test "$enableval" = yes; then
6931 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
6932 else
6933 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
6934 fi
6935
6936 else
6937
6938 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6939 if test "x$LINE" != x ; then
6940 eval "DEFAULT_$LINE"
6941 else
6942 no_cache=1
6943 fi
6944
6945 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6946
6947 fi
6948
6949
6950 eval "$ac_cv_use_textctrl"
6951 if test "$no_cache" != 1; then
6952 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6953 fi
6954
6955 if test "$wxUSE_TEXTCTRL" = yes; then
6956 echo "$ac_t""yes" 1>&6
6957 else
6958 echo "$ac_t""no" 1>&6
6959 fi
6960
6961
6962 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6963 echo "configure:6964: checking for --enable-togglebtn" >&5
6964 no_cache=0
6965 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6966 if test "${enable_togglebtn+set}" = set; then
6967 enableval="$enable_togglebtn"
6968
6969 if test "$enableval" = yes; then
6970 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
6971 else
6972 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
6973 fi
6974
6975 else
6976
6977 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6978 if test "x$LINE" != x ; then
6979 eval "DEFAULT_$LINE"
6980 else
6981 no_cache=1
6982 fi
6983
6984 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6985
6986 fi
6987
6988
6989 eval "$ac_cv_use_togglebtn"
6990 if test "$no_cache" != 1; then
6991 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6992 fi
6993
6994 if test "$wxUSE_TOGGLEBTN" = yes; then
6995 echo "$ac_t""yes" 1>&6
6996 else
6997 echo "$ac_t""no" 1>&6
6998 fi
6999
7000
7001 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
7002 echo "configure:7003: checking for --enable-toolbar" >&5
7003 no_cache=0
7004 # Check whether --enable-toolbar or --disable-toolbar was given.
7005 if test "${enable_toolbar+set}" = set; then
7006 enableval="$enable_toolbar"
7007
7008 if test "$enableval" = yes; then
7009 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7010 else
7011 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7012 fi
7013
7014 else
7015
7016 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7017 if test "x$LINE" != x ; then
7018 eval "DEFAULT_$LINE"
7019 else
7020 no_cache=1
7021 fi
7022
7023 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7024
7025 fi
7026
7027
7028 eval "$ac_cv_use_toolbar"
7029 if test "$no_cache" != 1; then
7030 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7031 fi
7032
7033 if test "$wxUSE_TOOLBAR" = yes; then
7034 echo "$ac_t""yes" 1>&6
7035 else
7036 echo "$ac_t""no" 1>&6
7037 fi
7038
7039
7040 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
7041 echo "configure:7042: checking for --enable-tbarnative" >&5
7042 no_cache=0
7043 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7044 if test "${enable_tbarnative+set}" = set; then
7045 enableval="$enable_tbarnative"
7046
7047 if test "$enableval" = yes; then
7048 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7049 else
7050 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7051 fi
7052
7053 else
7054
7055 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7056 if test "x$LINE" != x ; then
7057 eval "DEFAULT_$LINE"
7058 else
7059 no_cache=1
7060 fi
7061
7062 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7063
7064 fi
7065
7066
7067 eval "$ac_cv_use_tbarnative"
7068 if test "$no_cache" != 1; then
7069 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7070 fi
7071
7072 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7073 echo "$ac_t""yes" 1>&6
7074 else
7075 echo "$ac_t""no" 1>&6
7076 fi
7077
7078
7079 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7080 echo "configure:7081: checking for --enable-tbarsmpl" >&5
7081 no_cache=0
7082 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7083 if test "${enable_tbarsmpl+set}" = set; then
7084 enableval="$enable_tbarsmpl"
7085
7086 if test "$enableval" = yes; then
7087 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7088 else
7089 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7090 fi
7091
7092 else
7093
7094 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7095 if test "x$LINE" != x ; then
7096 eval "DEFAULT_$LINE"
7097 else
7098 no_cache=1
7099 fi
7100
7101 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7102
7103 fi
7104
7105
7106 eval "$ac_cv_use_tbarsmpl"
7107 if test "$no_cache" != 1; then
7108 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7109 fi
7110
7111 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7112 echo "$ac_t""yes" 1>&6
7113 else
7114 echo "$ac_t""no" 1>&6
7115 fi
7116
7117
7118 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7119 echo "configure:7120: checking for --enable-treectrl" >&5
7120 no_cache=0
7121 # Check whether --enable-treectrl or --disable-treectrl was given.
7122 if test "${enable_treectrl+set}" = set; then
7123 enableval="$enable_treectrl"
7124
7125 if test "$enableval" = yes; then
7126 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
7127 else
7128 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
7129 fi
7130
7131 else
7132
7133 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7134 if test "x$LINE" != x ; then
7135 eval "DEFAULT_$LINE"
7136 else
7137 no_cache=1
7138 fi
7139
7140 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7141
7142 fi
7143
7144
7145 eval "$ac_cv_use_treectrl"
7146 if test "$no_cache" != 1; then
7147 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7148 fi
7149
7150 if test "$wxUSE_TREECTRL" = yes; then
7151 echo "$ac_t""yes" 1>&6
7152 else
7153 echo "$ac_t""no" 1>&6
7154 fi
7155
7156
7157 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7158 echo "configure:7159: checking for --enable-tipwindow" >&5
7159 no_cache=0
7160 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7161 if test "${enable_tipwindow+set}" = set; then
7162 enableval="$enable_tipwindow"
7163
7164 if test "$enableval" = yes; then
7165 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
7166 else
7167 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
7168 fi
7169
7170 else
7171
7172 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7173 if test "x$LINE" != x ; then
7174 eval "DEFAULT_$LINE"
7175 else
7176 no_cache=1
7177 fi
7178
7179 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7180
7181 fi
7182
7183
7184 eval "$ac_cv_use_tipwindow"
7185 if test "$no_cache" != 1; then
7186 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7187 fi
7188
7189 if test "$wxUSE_TIPWINDOW" = yes; then
7190 echo "$ac_t""yes" 1>&6
7191 else
7192 echo "$ac_t""no" 1>&6
7193 fi
7194
7195
7196 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7197 echo "configure:7198: checking for --enable-popupwin" >&5
7198 no_cache=0
7199 # Check whether --enable-popupwin or --disable-popupwin was given.
7200 if test "${enable_popupwin+set}" = set; then
7201 enableval="$enable_popupwin"
7202
7203 if test "$enableval" = yes; then
7204 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
7205 else
7206 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
7207 fi
7208
7209 else
7210
7211 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7212 if test "x$LINE" != x ; then
7213 eval "DEFAULT_$LINE"
7214 else
7215 no_cache=1
7216 fi
7217
7218 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7219
7220 fi
7221
7222
7223 eval "$ac_cv_use_popupwin"
7224 if test "$no_cache" != 1; then
7225 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7226 fi
7227
7228 if test "$wxUSE_POPUPWIN" = yes; then
7229 echo "$ac_t""yes" 1>&6
7230 else
7231 echo "$ac_t""no" 1>&6
7232 fi
7233
7234
7235
7236
7237 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7238 echo "configure:7239: checking for --enable-commondlg" >&5
7239 no_cache=0
7240 # Check whether --enable-commondlg or --disable-commondlg was given.
7241 if test "${enable_commondlg+set}" = set; then
7242 enableval="$enable_commondlg"
7243
7244 if test "$enableval" = yes; then
7245 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
7246 else
7247 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
7248 fi
7249
7250 else
7251
7252 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7253 if test "x$LINE" != x ; then
7254 eval "DEFAULT_$LINE"
7255 else
7256 no_cache=1
7257 fi
7258
7259 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7260
7261 fi
7262
7263
7264 eval "$ac_cv_use_commondlg"
7265 if test "$no_cache" != 1; then
7266 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7267 fi
7268
7269 if test "$wxUSE_COMMONDLGS" = yes; then
7270 echo "$ac_t""yes" 1>&6
7271 else
7272 echo "$ac_t""no" 1>&6
7273 fi
7274
7275
7276 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7277 echo "configure:7278: checking for --enable-choicedlg" >&5
7278 no_cache=0
7279 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7280 if test "${enable_choicedlg+set}" = set; then
7281 enableval="$enable_choicedlg"
7282
7283 if test "$enableval" = yes; then
7284 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
7285 else
7286 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
7287 fi
7288
7289 else
7290
7291 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7292 if test "x$LINE" != x ; then
7293 eval "DEFAULT_$LINE"
7294 else
7295 no_cache=1
7296 fi
7297
7298 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7299
7300 fi
7301
7302
7303 eval "$ac_cv_use_choicedlg"
7304 if test "$no_cache" != 1; then
7305 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7306 fi
7307
7308 if test "$wxUSE_CHOICEDLG" = yes; then
7309 echo "$ac_t""yes" 1>&6
7310 else
7311 echo "$ac_t""no" 1>&6
7312 fi
7313
7314
7315 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7316 echo "configure:7317: checking for --enable-coldlg" >&5
7317 no_cache=0
7318 # Check whether --enable-coldlg or --disable-coldlg was given.
7319 if test "${enable_coldlg+set}" = set; then
7320 enableval="$enable_coldlg"
7321
7322 if test "$enableval" = yes; then
7323 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
7324 else
7325 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
7326 fi
7327
7328 else
7329
7330 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7331 if test "x$LINE" != x ; then
7332 eval "DEFAULT_$LINE"
7333 else
7334 no_cache=1
7335 fi
7336
7337 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7338
7339 fi
7340
7341
7342 eval "$ac_cv_use_coldlg"
7343 if test "$no_cache" != 1; then
7344 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7345 fi
7346
7347 if test "$wxUSE_COLOURDLG" = yes; then
7348 echo "$ac_t""yes" 1>&6
7349 else
7350 echo "$ac_t""no" 1>&6
7351 fi
7352
7353
7354 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7355 echo "configure:7356: checking for --enable-filedlg" >&5
7356 no_cache=0
7357 # Check whether --enable-filedlg or --disable-filedlg was given.
7358 if test "${enable_filedlg+set}" = set; then
7359 enableval="$enable_filedlg"
7360
7361 if test "$enableval" = yes; then
7362 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
7363 else
7364 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
7365 fi
7366
7367 else
7368
7369 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7370 if test "x$LINE" != x ; then
7371 eval "DEFAULT_$LINE"
7372 else
7373 no_cache=1
7374 fi
7375
7376 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7377
7378 fi
7379
7380
7381 eval "$ac_cv_use_filedlg"
7382 if test "$no_cache" != 1; then
7383 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7384 fi
7385
7386 if test "$wxUSE_FILEDLG" = yes; then
7387 echo "$ac_t""yes" 1>&6
7388 else
7389 echo "$ac_t""no" 1>&6
7390 fi
7391
7392
7393 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7394 echo "configure:7395: checking for --enable-finddlg" >&5
7395 no_cache=0
7396 # Check whether --enable-finddlg or --disable-finddlg was given.
7397 if test "${enable_finddlg+set}" = set; then
7398 enableval="$enable_finddlg"
7399
7400 if test "$enableval" = yes; then
7401 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
7402 else
7403 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
7404 fi
7405
7406 else
7407
7408 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7409 if test "x$LINE" != x ; then
7410 eval "DEFAULT_$LINE"
7411 else
7412 no_cache=1
7413 fi
7414
7415 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7416
7417 fi
7418
7419
7420 eval "$ac_cv_use_finddlg"
7421 if test "$no_cache" != 1; then
7422 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7423 fi
7424
7425 if test "$wxUSE_FINDREPLDLG" = yes; then
7426 echo "$ac_t""yes" 1>&6
7427 else
7428 echo "$ac_t""no" 1>&6
7429 fi
7430
7431
7432 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7433 echo "configure:7434: checking for --enable-fontdlg" >&5
7434 no_cache=0
7435 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7436 if test "${enable_fontdlg+set}" = set; then
7437 enableval="$enable_fontdlg"
7438
7439 if test "$enableval" = yes; then
7440 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
7441 else
7442 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
7443 fi
7444
7445 else
7446
7447 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7448 if test "x$LINE" != x ; then
7449 eval "DEFAULT_$LINE"
7450 else
7451 no_cache=1
7452 fi
7453
7454 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7455
7456 fi
7457
7458
7459 eval "$ac_cv_use_fontdlg"
7460 if test "$no_cache" != 1; then
7461 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7462 fi
7463
7464 if test "$wxUSE_FONTDLG" = yes; then
7465 echo "$ac_t""yes" 1>&6
7466 else
7467 echo "$ac_t""no" 1>&6
7468 fi
7469
7470
7471 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7472 echo "configure:7473: checking for --enable-dirdlg" >&5
7473 no_cache=0
7474 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7475 if test "${enable_dirdlg+set}" = set; then
7476 enableval="$enable_dirdlg"
7477
7478 if test "$enableval" = yes; then
7479 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
7480 else
7481 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
7482 fi
7483
7484 else
7485
7486 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7487 if test "x$LINE" != x ; then
7488 eval "DEFAULT_$LINE"
7489 else
7490 no_cache=1
7491 fi
7492
7493 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7494
7495 fi
7496
7497
7498 eval "$ac_cv_use_dirdlg"
7499 if test "$no_cache" != 1; then
7500 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7501 fi
7502
7503 if test "$wxUSE_DIRDLG" = yes; then
7504 echo "$ac_t""yes" 1>&6
7505 else
7506 echo "$ac_t""no" 1>&6
7507 fi
7508
7509
7510 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7511 echo "configure:7512: checking for --enable-msgdlg" >&5
7512 no_cache=0
7513 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7514 if test "${enable_msgdlg+set}" = set; then
7515 enableval="$enable_msgdlg"
7516
7517 if test "$enableval" = yes; then
7518 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
7519 else
7520 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
7521 fi
7522
7523 else
7524
7525 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7526 if test "x$LINE" != x ; then
7527 eval "DEFAULT_$LINE"
7528 else
7529 no_cache=1
7530 fi
7531
7532 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7533
7534 fi
7535
7536
7537 eval "$ac_cv_use_msgdlg"
7538 if test "$no_cache" != 1; then
7539 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7540 fi
7541
7542 if test "$wxUSE_MSGDLG" = yes; then
7543 echo "$ac_t""yes" 1>&6
7544 else
7545 echo "$ac_t""no" 1>&6
7546 fi
7547
7548
7549 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7550 echo "configure:7551: checking for --enable-numberdlg" >&5
7551 no_cache=0
7552 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7553 if test "${enable_numberdlg+set}" = set; then
7554 enableval="$enable_numberdlg"
7555
7556 if test "$enableval" = yes; then
7557 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
7558 else
7559 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
7560 fi
7561
7562 else
7563
7564 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7565 if test "x$LINE" != x ; then
7566 eval "DEFAULT_$LINE"
7567 else
7568 no_cache=1
7569 fi
7570
7571 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7572
7573 fi
7574
7575
7576 eval "$ac_cv_use_numberdlg"
7577 if test "$no_cache" != 1; then
7578 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7579 fi
7580
7581 if test "$wxUSE_NUMBERDLG" = yes; then
7582 echo "$ac_t""yes" 1>&6
7583 else
7584 echo "$ac_t""no" 1>&6
7585 fi
7586
7587
7588 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7589 echo "configure:7590: checking for --enable-splash" >&5
7590 no_cache=0
7591 # Check whether --enable-splash or --disable-splash was given.
7592 if test "${enable_splash+set}" = set; then
7593 enableval="$enable_splash"
7594
7595 if test "$enableval" = yes; then
7596 ac_cv_use_splash='wxUSE_SPLASH=yes'
7597 else
7598 ac_cv_use_splash='wxUSE_SPLASH=no'
7599 fi
7600
7601 else
7602
7603 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7604 if test "x$LINE" != x ; then
7605 eval "DEFAULT_$LINE"
7606 else
7607 no_cache=1
7608 fi
7609
7610 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7611
7612 fi
7613
7614
7615 eval "$ac_cv_use_splash"
7616 if test "$no_cache" != 1; then
7617 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7618 fi
7619
7620 if test "$wxUSE_SPLASH" = yes; then
7621 echo "$ac_t""yes" 1>&6
7622 else
7623 echo "$ac_t""no" 1>&6
7624 fi
7625
7626
7627 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7628 echo "configure:7629: checking for --enable-textdlg" >&5
7629 no_cache=0
7630 # Check whether --enable-textdlg or --disable-textdlg was given.
7631 if test "${enable_textdlg+set}" = set; then
7632 enableval="$enable_textdlg"
7633
7634 if test "$enableval" = yes; then
7635 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
7636 else
7637 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
7638 fi
7639
7640 else
7641
7642 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7643 if test "x$LINE" != x ; then
7644 eval "DEFAULT_$LINE"
7645 else
7646 no_cache=1
7647 fi
7648
7649 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7650
7651 fi
7652
7653
7654 eval "$ac_cv_use_textdlg"
7655 if test "$no_cache" != 1; then
7656 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7657 fi
7658
7659 if test "$wxUSE_TEXTDLG" = yes; then
7660 echo "$ac_t""yes" 1>&6
7661 else
7662 echo "$ac_t""no" 1>&6
7663 fi
7664
7665
7666 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7667 echo "configure:7668: checking for --enable-tipdlg" >&5
7668 no_cache=0
7669 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7670 if test "${enable_tipdlg+set}" = set; then
7671 enableval="$enable_tipdlg"
7672
7673 if test "$enableval" = yes; then
7674 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
7675 else
7676 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
7677 fi
7678
7679 else
7680
7681 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7682 if test "x$LINE" != x ; then
7683 eval "DEFAULT_$LINE"
7684 else
7685 no_cache=1
7686 fi
7687
7688 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7689
7690 fi
7691
7692
7693 eval "$ac_cv_use_tipdlg"
7694 if test "$no_cache" != 1; then
7695 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7696 fi
7697
7698 if test "$wxUSE_STARTUP_TIPS" = yes; then
7699 echo "$ac_t""yes" 1>&6
7700 else
7701 echo "$ac_t""no" 1>&6
7702 fi
7703
7704
7705 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7706 echo "configure:7707: checking for --enable-progressdlg" >&5
7707 no_cache=0
7708 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7709 if test "${enable_progressdlg+set}" = set; then
7710 enableval="$enable_progressdlg"
7711
7712 if test "$enableval" = yes; then
7713 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
7714 else
7715 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
7716 fi
7717
7718 else
7719
7720 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7721 if test "x$LINE" != x ; then
7722 eval "DEFAULT_$LINE"
7723 else
7724 no_cache=1
7725 fi
7726
7727 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7728
7729 fi
7730
7731
7732 eval "$ac_cv_use_progressdlg"
7733 if test "$no_cache" != 1; then
7734 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7735 fi
7736
7737 if test "$wxUSE_PROGRESSDLG" = yes; then
7738 echo "$ac_t""yes" 1>&6
7739 else
7740 echo "$ac_t""no" 1>&6
7741 fi
7742
7743
7744 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7745 echo "configure:7746: checking for --enable-wizarddlg" >&5
7746 no_cache=0
7747 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7748 if test "${enable_wizarddlg+set}" = set; then
7749 enableval="$enable_wizarddlg"
7750
7751 if test "$enableval" = yes; then
7752 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
7753 else
7754 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
7755 fi
7756
7757 else
7758
7759 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7760 if test "x$LINE" != x ; then
7761 eval "DEFAULT_$LINE"
7762 else
7763 no_cache=1
7764 fi
7765
7766 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7767
7768 fi
7769
7770
7771 eval "$ac_cv_use_wizarddlg"
7772 if test "$no_cache" != 1; then
7773 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7774 fi
7775
7776 if test "$wxUSE_WIZARDDLG" = yes; then
7777 echo "$ac_t""yes" 1>&6
7778 else
7779 echo "$ac_t""no" 1>&6
7780 fi
7781
7782
7783
7784
7785 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7786 echo "configure:7787: checking for --enable-menus" >&5
7787 no_cache=0
7788 # Check whether --enable-menus or --disable-menus was given.
7789 if test "${enable_menus+set}" = set; then
7790 enableval="$enable_menus"
7791
7792 if test "$enableval" = yes; then
7793 ac_cv_use_menus='wxUSE_MENUS=yes'
7794 else
7795 ac_cv_use_menus='wxUSE_MENUS=no'
7796 fi
7797
7798 else
7799
7800 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7801 if test "x$LINE" != x ; then
7802 eval "DEFAULT_$LINE"
7803 else
7804 no_cache=1
7805 fi
7806
7807 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7808
7809 fi
7810
7811
7812 eval "$ac_cv_use_menus"
7813 if test "$no_cache" != 1; then
7814 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7815 fi
7816
7817 if test "$wxUSE_MENUS" = yes; then
7818 echo "$ac_t""yes" 1>&6
7819 else
7820 echo "$ac_t""no" 1>&6
7821 fi
7822
7823
7824 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7825 echo "configure:7826: checking for --enable-miniframe" >&5
7826 no_cache=0
7827 # Check whether --enable-miniframe or --disable-miniframe was given.
7828 if test "${enable_miniframe+set}" = set; then
7829 enableval="$enable_miniframe"
7830
7831 if test "$enableval" = yes; then
7832 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
7833 else
7834 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
7835 fi
7836
7837 else
7838
7839 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7840 if test "x$LINE" != x ; then
7841 eval "DEFAULT_$LINE"
7842 else
7843 no_cache=1
7844 fi
7845
7846 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7847
7848 fi
7849
7850
7851 eval "$ac_cv_use_miniframe"
7852 if test "$no_cache" != 1; then
7853 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7854 fi
7855
7856 if test "$wxUSE_MINIFRAME" = yes; then
7857 echo "$ac_t""yes" 1>&6
7858 else
7859 echo "$ac_t""no" 1>&6
7860 fi
7861
7862
7863 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7864 echo "configure:7865: checking for --enable-tooltips" >&5
7865 no_cache=0
7866 # Check whether --enable-tooltips or --disable-tooltips was given.
7867 if test "${enable_tooltips+set}" = set; then
7868 enableval="$enable_tooltips"
7869
7870 if test "$enableval" = yes; then
7871 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
7872 else
7873 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
7874 fi
7875
7876 else
7877
7878 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7879 if test "x$LINE" != x ; then
7880 eval "DEFAULT_$LINE"
7881 else
7882 no_cache=1
7883 fi
7884
7885 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7886
7887 fi
7888
7889
7890 eval "$ac_cv_use_tooltips"
7891 if test "$no_cache" != 1; then
7892 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7893 fi
7894
7895 if test "$wxUSE_TOOLTIPS" = yes; then
7896 echo "$ac_t""yes" 1>&6
7897 else
7898 echo "$ac_t""no" 1>&6
7899 fi
7900
7901
7902 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7903 echo "configure:7904: checking for --enable-splines" >&5
7904 no_cache=0
7905 # Check whether --enable-splines or --disable-splines was given.
7906 if test "${enable_splines+set}" = set; then
7907 enableval="$enable_splines"
7908
7909 if test "$enableval" = yes; then
7910 ac_cv_use_splines='wxUSE_SPLINES=yes'
7911 else
7912 ac_cv_use_splines='wxUSE_SPLINES=no'
7913 fi
7914
7915 else
7916
7917 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7918 if test "x$LINE" != x ; then
7919 eval "DEFAULT_$LINE"
7920 else
7921 no_cache=1
7922 fi
7923
7924 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7925
7926 fi
7927
7928
7929 eval "$ac_cv_use_splines"
7930 if test "$no_cache" != 1; then
7931 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7932 fi
7933
7934 if test "$wxUSE_SPLINES" = yes; then
7935 echo "$ac_t""yes" 1>&6
7936 else
7937 echo "$ac_t""no" 1>&6
7938 fi
7939
7940
7941 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7942 echo "configure:7943: checking for --enable-validators" >&5
7943 no_cache=0
7944 # Check whether --enable-validators or --disable-validators was given.
7945 if test "${enable_validators+set}" = set; then
7946 enableval="$enable_validators"
7947
7948 if test "$enableval" = yes; then
7949 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
7950 else
7951 ac_cv_use_validators='wxUSE_VALIDATORS=no'
7952 fi
7953
7954 else
7955
7956 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7957 if test "x$LINE" != x ; then
7958 eval "DEFAULT_$LINE"
7959 else
7960 no_cache=1
7961 fi
7962
7963 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7964
7965 fi
7966
7967
7968 eval "$ac_cv_use_validators"
7969 if test "$no_cache" != 1; then
7970 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7971 fi
7972
7973 if test "$wxUSE_VALIDATORS" = yes; then
7974 echo "$ac_t""yes" 1>&6
7975 else
7976 echo "$ac_t""no" 1>&6
7977 fi
7978
7979
7980 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7981 echo "configure:7982: checking for --enable-busyinfo" >&5
7982 no_cache=0
7983 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7984 if test "${enable_busyinfo+set}" = set; then
7985 enableval="$enable_busyinfo"
7986
7987 if test "$enableval" = yes; then
7988 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
7989 else
7990 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
7991 fi
7992
7993 else
7994
7995 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7996 if test "x$LINE" != x ; then
7997 eval "DEFAULT_$LINE"
7998 else
7999 no_cache=1
8000 fi
8001
8002 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8003
8004 fi
8005
8006
8007 eval "$ac_cv_use_busyinfo"
8008 if test "$no_cache" != 1; then
8009 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8010 fi
8011
8012 if test "$wxUSE_BUSYINFO" = yes; then
8013 echo "$ac_t""yes" 1>&6
8014 else
8015 echo "$ac_t""no" 1>&6
8016 fi
8017
8018
8019 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
8020 echo "configure:8021: checking for --enable-joystick" >&5
8021 no_cache=0
8022 # Check whether --enable-joystick or --disable-joystick was given.
8023 if test "${enable_joystick+set}" = set; then
8024 enableval="$enable_joystick"
8025
8026 if test "$enableval" = yes; then
8027 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8028 else
8029 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8030 fi
8031
8032 else
8033
8034 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8035 if test "x$LINE" != x ; then
8036 eval "DEFAULT_$LINE"
8037 else
8038 no_cache=1
8039 fi
8040
8041 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8042
8043 fi
8044
8045
8046 eval "$ac_cv_use_joystick"
8047 if test "$no_cache" != 1; then
8048 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8049 fi
8050
8051 if test "$wxUSE_JOYSTICK" = yes; then
8052 echo "$ac_t""yes" 1>&6
8053 else
8054 echo "$ac_t""no" 1>&6
8055 fi
8056
8057
8058 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8059 echo "configure:8060: checking for --enable-metafile" >&5
8060 no_cache=0
8061 # Check whether --enable-metafile or --disable-metafile was given.
8062 if test "${enable_metafile+set}" = set; then
8063 enableval="$enable_metafile"
8064
8065 if test "$enableval" = yes; then
8066 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8067 else
8068 ac_cv_use_metafile='wxUSE_METAFILE=no'
8069 fi
8070
8071 else
8072
8073 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8074 if test "x$LINE" != x ; then
8075 eval "DEFAULT_$LINE"
8076 else
8077 no_cache=1
8078 fi
8079
8080 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8081
8082 fi
8083
8084
8085 eval "$ac_cv_use_metafile"
8086 if test "$no_cache" != 1; then
8087 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8088 fi
8089
8090 if test "$wxUSE_METAFILE" = yes; then
8091 echo "$ac_t""yes" 1>&6
8092 else
8093 echo "$ac_t""no" 1>&6
8094 fi
8095
8096
8097 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8098 echo "configure:8099: checking for --enable-dragimage" >&5
8099 no_cache=0
8100 # Check whether --enable-dragimage or --disable-dragimage was given.
8101 if test "${enable_dragimage+set}" = set; then
8102 enableval="$enable_dragimage"
8103
8104 if test "$enableval" = yes; then
8105 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
8106 else
8107 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
8108 fi
8109
8110 else
8111
8112 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8113 if test "x$LINE" != x ; then
8114 eval "DEFAULT_$LINE"
8115 else
8116 no_cache=1
8117 fi
8118
8119 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8120
8121 fi
8122
8123
8124 eval "$ac_cv_use_dragimage"
8125 if test "$no_cache" != 1; then
8126 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8127 fi
8128
8129 if test "$wxUSE_DRAGIMAGE" = yes; then
8130 echo "$ac_t""yes" 1>&6
8131 else
8132 echo "$ac_t""no" 1>&6
8133 fi
8134
8135
8136
8137
8138 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8139 echo "configure:8140: checking for --enable-palette" >&5
8140 no_cache=0
8141 # Check whether --enable-palette or --disable-palette was given.
8142 if test "${enable_palette+set}" = set; then
8143 enableval="$enable_palette"
8144
8145 if test "$enableval" = yes; then
8146 ac_cv_use_palette='wxUSE_PALETTE=yes'
8147 else
8148 ac_cv_use_palette='wxUSE_PALETTE=no'
8149 fi
8150
8151 else
8152
8153 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8154 if test "x$LINE" != x ; then
8155 eval "DEFAULT_$LINE"
8156 else
8157 no_cache=1
8158 fi
8159
8160 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8161
8162 fi
8163
8164
8165 eval "$ac_cv_use_palette"
8166 if test "$no_cache" != 1; then
8167 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8168 fi
8169
8170 if test "$wxUSE_PALETTE" = yes; then
8171 echo "$ac_t""yes" 1>&6
8172 else
8173 echo "$ac_t""no" 1>&6
8174 fi
8175
8176
8177 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8178 echo "configure:8179: checking for --enable-image" >&5
8179 no_cache=0
8180 # Check whether --enable-image or --disable-image was given.
8181 if test "${enable_image+set}" = set; then
8182 enableval="$enable_image"
8183
8184 if test "$enableval" = yes; then
8185 ac_cv_use_image='wxUSE_IMAGE=yes'
8186 else
8187 ac_cv_use_image='wxUSE_IMAGE=no'
8188 fi
8189
8190 else
8191
8192 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8193 if test "x$LINE" != x ; then
8194 eval "DEFAULT_$LINE"
8195 else
8196 no_cache=1
8197 fi
8198
8199 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8200
8201 fi
8202
8203
8204 eval "$ac_cv_use_image"
8205 if test "$no_cache" != 1; then
8206 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8207 fi
8208
8209 if test "$wxUSE_IMAGE" = yes; then
8210 echo "$ac_t""yes" 1>&6
8211 else
8212 echo "$ac_t""no" 1>&6
8213 fi
8214
8215
8216 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8217 echo "configure:8218: checking for --enable-gif" >&5
8218 no_cache=0
8219 # Check whether --enable-gif or --disable-gif was given.
8220 if test "${enable_gif+set}" = set; then
8221 enableval="$enable_gif"
8222
8223 if test "$enableval" = yes; then
8224 ac_cv_use_gif='wxUSE_GIF=yes'
8225 else
8226 ac_cv_use_gif='wxUSE_GIF=no'
8227 fi
8228
8229 else
8230
8231 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8232 if test "x$LINE" != x ; then
8233 eval "DEFAULT_$LINE"
8234 else
8235 no_cache=1
8236 fi
8237
8238 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8239
8240 fi
8241
8242
8243 eval "$ac_cv_use_gif"
8244 if test "$no_cache" != 1; then
8245 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8246 fi
8247
8248 if test "$wxUSE_GIF" = yes; then
8249 echo "$ac_t""yes" 1>&6
8250 else
8251 echo "$ac_t""no" 1>&6
8252 fi
8253
8254
8255 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8256 echo "configure:8257: checking for --enable-pcx" >&5
8257 no_cache=0
8258 # Check whether --enable-pcx or --disable-pcx was given.
8259 if test "${enable_pcx+set}" = set; then
8260 enableval="$enable_pcx"
8261
8262 if test "$enableval" = yes; then
8263 ac_cv_use_pcx='wxUSE_PCX=yes'
8264 else
8265 ac_cv_use_pcx='wxUSE_PCX=no'
8266 fi
8267
8268 else
8269
8270 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8271 if test "x$LINE" != x ; then
8272 eval "DEFAULT_$LINE"
8273 else
8274 no_cache=1
8275 fi
8276
8277 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8278
8279 fi
8280
8281
8282 eval "$ac_cv_use_pcx"
8283 if test "$no_cache" != 1; then
8284 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8285 fi
8286
8287 if test "$wxUSE_PCX" = yes; then
8288 echo "$ac_t""yes" 1>&6
8289 else
8290 echo "$ac_t""no" 1>&6
8291 fi
8292
8293
8294 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8295 echo "configure:8296: checking for --enable-pnm" >&5
8296 no_cache=0
8297 # Check whether --enable-pnm or --disable-pnm was given.
8298 if test "${enable_pnm+set}" = set; then
8299 enableval="$enable_pnm"
8300
8301 if test "$enableval" = yes; then
8302 ac_cv_use_pnm='wxUSE_PNM=yes'
8303 else
8304 ac_cv_use_pnm='wxUSE_PNM=no'
8305 fi
8306
8307 else
8308
8309 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8310 if test "x$LINE" != x ; then
8311 eval "DEFAULT_$LINE"
8312 else
8313 no_cache=1
8314 fi
8315
8316 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8317
8318 fi
8319
8320
8321 eval "$ac_cv_use_pnm"
8322 if test "$no_cache" != 1; then
8323 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8324 fi
8325
8326 if test "$wxUSE_PNM" = yes; then
8327 echo "$ac_t""yes" 1>&6
8328 else
8329 echo "$ac_t""no" 1>&6
8330 fi
8331
8332
8333 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8334 echo "configure:8335: checking for --enable-xpm" >&5
8335 no_cache=0
8336 # Check whether --enable-xpm or --disable-xpm was given.
8337 if test "${enable_xpm+set}" = set; then
8338 enableval="$enable_xpm"
8339
8340 if test "$enableval" = yes; then
8341 ac_cv_use_xpm='wxUSE_XPM=yes'
8342 else
8343 ac_cv_use_xpm='wxUSE_XPM=no'
8344 fi
8345
8346 else
8347
8348 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8349 if test "x$LINE" != x ; then
8350 eval "DEFAULT_$LINE"
8351 else
8352 no_cache=1
8353 fi
8354
8355 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8356
8357 fi
8358
8359
8360 eval "$ac_cv_use_xpm"
8361 if test "$no_cache" != 1; then
8362 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8363 fi
8364
8365 if test "$wxUSE_XPM" = yes; then
8366 echo "$ac_t""yes" 1>&6
8367 else
8368 echo "$ac_t""no" 1>&6
8369 fi
8370
8371
8372 echo $ac_n "checking for --enable-icocur""... $ac_c" 1>&6
8373 echo "configure:8374: checking for --enable-icocur" >&5
8374 no_cache=0
8375 # Check whether --enable-icocur or --disable-icocur was given.
8376 if test "${enable_icocur+set}" = set; then
8377 enableval="$enable_icocur"
8378
8379 if test "$enableval" = yes; then
8380 ac_cv_use_icocur='wxUSE_ICO_CUR=yes'
8381 else
8382 ac_cv_use_icocur='wxUSE_ICO_CUR=no'
8383 fi
8384
8385 else
8386
8387 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8388 if test "x$LINE" != x ; then
8389 eval "DEFAULT_$LINE"
8390 else
8391 no_cache=1
8392 fi
8393
8394 ac_cv_use_icocur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8395
8396 fi
8397
8398
8399 eval "$ac_cv_use_icocur"
8400 if test "$no_cache" != 1; then
8401 echo $ac_cv_use_icocur >> ${wx_arg_cache_file}.tmp
8402 fi
8403
8404 if test "$wxUSE_ICO_CUR" = yes; then
8405 echo "$ac_t""yes" 1>&6
8406 else
8407 echo "$ac_t""no" 1>&6
8408 fi
8409
8410
8411 fi
8412
8413
8414 echo "saving argument cache $wx_arg_cache_file"
8415 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
8416
8417
8418
8419 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8420 echo "configure:8421: checking for toolkit" >&5
8421
8422 if test "$wxUSE_GUI" = "yes"; then
8423
8424 if test "$USE_BEOS" = 1; then
8425 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8426 fi
8427
8428 if test "$TOOLKIT_GIVEN" = 1; then
8429 for toolkit in `echo $ALL_TOOLKITS`; do
8430 var=wxUSE_$toolkit
8431 eval "value=\$${var}"
8432 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
8433 done
8434 else
8435 for toolkit in `echo $ALL_TOOLKITS`; do
8436 if test "$has_toolkit_in_cache" != 1; then
8437 var=DEFAULT_DEFAULT_wxUSE_$toolkit
8438 else
8439 var=DEFAULT_wxUSE_$toolkit
8440 fi
8441 eval "wxUSE_$toolkit=\$${var}"
8442 done
8443 fi
8444
8445 NUM_TOOLKITS=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8446 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0}`
8447
8448 case "${host}" in
8449 *-pc-os2_emx | *-pc-os2-emx )
8450 # PATH_IFS is autodetected by OS/2's configure (usually ';')
8451 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8452 LEX_STEM="lexyy"
8453 ;;
8454 *)
8455 PATH_IFS=':'
8456 LEX_STEM="lex.yy"
8457 ;;
8458 esac
8459
8460 case "$NUM_TOOLKITS" in
8461 1)
8462 ;;
8463 0)
8464 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8465 ;;
8466 *)
8467 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8468 esac
8469
8470 for toolkit in `echo $ALL_TOOLKITS`; do
8471 var=wxUSE_$toolkit
8472 eval "value=\$${var}"
8473 if test "x$value" != x; then
8474 cache_var=CACHE_$toolkit
8475 eval "cache=\$${cache_var}"
8476 if test "$cache" = 1; then
8477 echo "$var=$value" >> ${wx_arg_cache_file}
8478 fi
8479 if test "$value" = 1; then
8480 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
8481 echo "$ac_t""$toolkit_echo" 1>&6
8482 fi
8483 fi
8484 done
8485 else
8486 PATH_IFS=':'
8487 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8488 fi
8489
8490
8491 cat > confcache <<\EOF
8492 # This file is a shell script that caches the results of configure
8493 # tests run on this system so they can be shared between configure
8494 # scripts and configure runs. It is not useful on other systems.
8495 # If it contains results you don't want to keep, you may remove or edit it.
8496 #
8497 # By default, configure uses ./config.cache as the cache file,
8498 # creating it if it does not exist already. You can give configure
8499 # the --cache-file=FILE option to use a different cache file; that is
8500 # what configure does when it calls configure scripts in
8501 # subdirectories, so they share the cache.
8502 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8503 # config.status only pays attention to the cache file if you give it the
8504 # --recheck option to rerun configure.
8505 #
8506 EOF
8507 # The following way of writing the cache mishandles newlines in values,
8508 # but we know of no workaround that is simple, portable, and efficient.
8509 # So, don't put newlines in cache variables' values.
8510 # Ultrix sh set writes to stderr and can't be redirected directly,
8511 # and sets the high bit in the cache file unless we assign to the vars.
8512 (set) 2>&1 |
8513 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8514 *ac_space=\ *)
8515 # `set' does not quote correctly, so add quotes (double-quote substitution
8516 # turns \\\\ into \\, and sed turns \\ into \).
8517 sed -n \
8518 -e "s/'/'\\\\''/g" \
8519 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8520 ;;
8521 *)
8522 # `set' quotes correctly as required by POSIX, so do not add quotes.
8523 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8524 ;;
8525 esac >> confcache
8526 if cmp -s $cache_file confcache; then
8527 :
8528 else
8529 if test -w $cache_file; then
8530 echo "updating cache $cache_file"
8531 cat confcache > $cache_file
8532 else
8533 echo "not updating unwritable cache $cache_file"
8534 fi
8535 fi
8536 rm -f confcache
8537
8538
8539 if test "$build" != "$host" ; then
8540 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 ; then
8541 CC=$host_alias-gcc
8542 CXX=$host_alias-c++
8543 AR=$host_alias-ar
8544 RANLIB=$host_alias-ranlib
8545 DLLTOOL=$host_alias-dlltool
8546 RESCOMP=$host_alias-windres
8547 LD=$host_alias-ld
8548 NM=$host_alias-nm
8549 STRIP=$host_alias-strip
8550 else
8551 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8552 fi
8553 fi
8554
8555 # Extract the first word of "gcc", so it can be a program name with args.
8556 set dummy gcc; ac_word=$2
8557 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8558 echo "configure:8559: checking for $ac_word" >&5
8559 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8560 echo $ac_n "(cached) $ac_c" 1>&6
8561 else
8562 if test -n "$CC"; then
8563 ac_cv_prog_CC="$CC" # Let the user override the test.
8564 else
8565 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8566 ac_dummy="$PATH"
8567 for ac_dir in $ac_dummy; do
8568 test -z "$ac_dir" && ac_dir=.
8569 if test -f $ac_dir/$ac_word; then
8570 ac_cv_prog_CC="gcc"
8571 break
8572 fi
8573 done
8574 IFS="$ac_save_ifs"
8575 fi
8576 fi
8577 CC="$ac_cv_prog_CC"
8578 if test -n "$CC"; then
8579 echo "$ac_t""$CC" 1>&6
8580 else
8581 echo "$ac_t""no" 1>&6
8582 fi
8583
8584 if test -z "$CC"; then
8585 # Extract the first word of "cc", so it can be a program name with args.
8586 set dummy cc; ac_word=$2
8587 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8588 echo "configure:8589: checking for $ac_word" >&5
8589 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8590 echo $ac_n "(cached) $ac_c" 1>&6
8591 else
8592 if test -n "$CC"; then
8593 ac_cv_prog_CC="$CC" # Let the user override the test.
8594 else
8595 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8596 ac_prog_rejected=no
8597 ac_dummy="$PATH"
8598 for ac_dir in $ac_dummy; do
8599 test -z "$ac_dir" && ac_dir=.
8600 if test -f $ac_dir/$ac_word; then
8601 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8602 ac_prog_rejected=yes
8603 continue
8604 fi
8605 ac_cv_prog_CC="cc"
8606 break
8607 fi
8608 done
8609 IFS="$ac_save_ifs"
8610 if test $ac_prog_rejected = yes; then
8611 # We found a bogon in the path, so make sure we never use it.
8612 set dummy $ac_cv_prog_CC
8613 shift
8614 if test $# -gt 0; then
8615 # We chose a different compiler from the bogus one.
8616 # However, it has the same basename, so the bogon will be chosen
8617 # first if we set CC to just the basename; use the full file name.
8618 shift
8619 set dummy "$ac_dir/$ac_word" "$@"
8620 shift
8621 ac_cv_prog_CC="$@"
8622 fi
8623 fi
8624 fi
8625 fi
8626 CC="$ac_cv_prog_CC"
8627 if test -n "$CC"; then
8628 echo "$ac_t""$CC" 1>&6
8629 else
8630 echo "$ac_t""no" 1>&6
8631 fi
8632
8633 if test -z "$CC"; then
8634 case "`uname -s`" in
8635 *win32* | *WIN32*)
8636 # Extract the first word of "cl", so it can be a program name with args.
8637 set dummy cl; ac_word=$2
8638 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8639 echo "configure:8640: checking for $ac_word" >&5
8640 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8641 echo $ac_n "(cached) $ac_c" 1>&6
8642 else
8643 if test -n "$CC"; then
8644 ac_cv_prog_CC="$CC" # Let the user override the test.
8645 else
8646 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8647 ac_dummy="$PATH"
8648 for ac_dir in $ac_dummy; do
8649 test -z "$ac_dir" && ac_dir=.
8650 if test -f $ac_dir/$ac_word; then
8651 ac_cv_prog_CC="cl"
8652 break
8653 fi
8654 done
8655 IFS="$ac_save_ifs"
8656 fi
8657 fi
8658 CC="$ac_cv_prog_CC"
8659 if test -n "$CC"; then
8660 echo "$ac_t""$CC" 1>&6
8661 else
8662 echo "$ac_t""no" 1>&6
8663 fi
8664 ;;
8665 esac
8666 fi
8667 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8668 fi
8669
8670 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8671 echo "configure:8672: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8672
8673 ac_ext=c
8674 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8675 ac_cpp='$CPP $CPPFLAGS'
8676 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8677 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8678 cross_compiling=$ac_cv_prog_cc_cross
8679
8680 cat > conftest.$ac_ext << EOF
8681
8682 #line 8683 "configure"
8683 #include "confdefs.h"
8684
8685 main(){return(0);}
8686 EOF
8687 if { (eval echo configure:8688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8688 ac_cv_prog_cc_works=yes
8689 # If we can't run a trivial program, we are probably using a cross compiler.
8690 if (./conftest; exit) 2>/dev/null; then
8691 ac_cv_prog_cc_cross=no
8692 else
8693 ac_cv_prog_cc_cross=yes
8694 fi
8695 else
8696 echo "configure: failed program was:" >&5
8697 cat conftest.$ac_ext >&5
8698 ac_cv_prog_cc_works=no
8699 fi
8700 rm -fr conftest*
8701 ac_ext=c
8702 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8703 ac_cpp='$CPP $CPPFLAGS'
8704 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8705 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8706 cross_compiling=$ac_cv_prog_cc_cross
8707
8708 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8709 if test $ac_cv_prog_cc_works = no; then
8710 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8711 fi
8712 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8713 echo "configure:8714: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8714 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8715 cross_compiling=$ac_cv_prog_cc_cross
8716
8717 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8718 echo "configure:8719: checking whether we are using GNU C" >&5
8719 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8720 echo $ac_n "(cached) $ac_c" 1>&6
8721 else
8722 cat > conftest.c <<EOF
8723 #ifdef __GNUC__
8724 yes;
8725 #endif
8726 EOF
8727 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:8728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
8728 ac_cv_prog_gcc=yes
8729 else
8730 ac_cv_prog_gcc=no
8731 fi
8732 fi
8733
8734 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8735
8736 if test $ac_cv_prog_gcc = yes; then
8737 GCC=yes
8738 else
8739 GCC=
8740 fi
8741
8742 ac_test_CFLAGS="${CFLAGS+set}"
8743 ac_save_CFLAGS="$CFLAGS"
8744 CFLAGS=
8745 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8746 echo "configure:8747: checking whether ${CC-cc} accepts -g" >&5
8747 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8748 echo $ac_n "(cached) $ac_c" 1>&6
8749 else
8750 echo 'void f(){}' > conftest.c
8751 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8752 ac_cv_prog_cc_g=yes
8753 else
8754 ac_cv_prog_cc_g=no
8755 fi
8756 rm -f conftest*
8757
8758 fi
8759
8760 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8761 if test "$ac_test_CFLAGS" = set; then
8762 CFLAGS="$ac_save_CFLAGS"
8763 elif test $ac_cv_prog_cc_g = yes; then
8764 if test "$GCC" = yes; then
8765 CFLAGS="-g -O2"
8766 else
8767 CFLAGS="-g"
8768 fi
8769 else
8770 if test "$GCC" = yes; then
8771 CFLAGS="-O2"
8772 else
8773 CFLAGS=
8774 fi
8775 fi
8776
8777
8778 CFLAGS=`echo "$CFLAGS" | sed 's/-g//g'`
8779
8780 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8781 echo "configure:8782: checking how to run the C preprocessor" >&5
8782 # On Suns, sometimes $CPP names a directory.
8783 if test -n "$CPP" && test -d "$CPP"; then
8784 CPP=
8785 fi
8786 if test -z "$CPP"; then
8787 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8788 echo $ac_n "(cached) $ac_c" 1>&6
8789 else
8790 # This must be in double quotes, not single quotes, because CPP may get
8791 # substituted into the Makefile and "${CC-cc}" will confuse make.
8792 CPP="${CC-cc} -E"
8793 # On the NeXT, cc -E runs the code through the compiler's parser,
8794 # not just through cpp.
8795 cat > conftest.$ac_ext <<EOF
8796 #line 8797 "configure"
8797 #include "confdefs.h"
8798 #include <assert.h>
8799 Syntax Error
8800 EOF
8801 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8802 { (eval echo configure:8803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8803 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8804 if test -z "$ac_err"; then
8805 :
8806 else
8807 echo "$ac_err" >&5
8808 echo "configure: failed program was:" >&5
8809 cat conftest.$ac_ext >&5
8810 rm -rf conftest*
8811 CPP="${CC-cc} -E -traditional-cpp"
8812 cat > conftest.$ac_ext <<EOF
8813 #line 8814 "configure"
8814 #include "confdefs.h"
8815 #include <assert.h>
8816 Syntax Error
8817 EOF
8818 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8819 { (eval echo configure:8820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8820 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8821 if test -z "$ac_err"; then
8822 :
8823 else
8824 echo "$ac_err" >&5
8825 echo "configure: failed program was:" >&5
8826 cat conftest.$ac_ext >&5
8827 rm -rf conftest*
8828 CPP="${CC-cc} -nologo -E"
8829 cat > conftest.$ac_ext <<EOF
8830 #line 8831 "configure"
8831 #include "confdefs.h"
8832 #include <assert.h>
8833 Syntax Error
8834 EOF
8835 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8836 { (eval echo configure:8837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8837 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8838 if test -z "$ac_err"; then
8839 :
8840 else
8841 echo "$ac_err" >&5
8842 echo "configure: failed program was:" >&5
8843 cat conftest.$ac_ext >&5
8844 rm -rf conftest*
8845 CPP=/lib/cpp
8846 fi
8847 rm -f conftest*
8848 fi
8849 rm -f conftest*
8850 fi
8851 rm -f conftest*
8852 ac_cv_prog_CPP="$CPP"
8853 fi
8854 CPP="$ac_cv_prog_CPP"
8855 else
8856 ac_cv_prog_CPP="$CPP"
8857 fi
8858 echo "$ac_t""$CPP" 1>&6
8859
8860 if test $ac_cv_prog_gcc = yes; then
8861 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8862 echo "configure:8863: checking whether ${CC-cc} needs -traditional" >&5
8863 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8864 echo $ac_n "(cached) $ac_c" 1>&6
8865 else
8866 ac_pattern="Autoconf.*'x'"
8867 cat > conftest.$ac_ext <<EOF
8868 #line 8869 "configure"
8869 #include "confdefs.h"
8870 #include <sgtty.h>
8871 Autoconf TIOCGETP
8872 EOF
8873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8874 egrep "$ac_pattern" >/dev/null 2>&1; then
8875 rm -rf conftest*
8876 ac_cv_prog_gcc_traditional=yes
8877 else
8878 rm -rf conftest*
8879 ac_cv_prog_gcc_traditional=no
8880 fi
8881 rm -f conftest*
8882
8883
8884 if test $ac_cv_prog_gcc_traditional = no; then
8885 cat > conftest.$ac_ext <<EOF
8886 #line 8887 "configure"
8887 #include "confdefs.h"
8888 #include <termio.h>
8889 Autoconf TCGETA
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 fi
8896 rm -f conftest*
8897
8898 fi
8899 fi
8900
8901 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8902 if test $ac_cv_prog_gcc_traditional = yes; then
8903 CC="$CC -traditional"
8904 fi
8905 fi
8906
8907
8908
8909 ac_ext=C
8910 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8911 ac_cpp='$CXXCPP $CPPFLAGS'
8912 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8913 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8914 cross_compiling=$ac_cv_prog_cxx_cross
8915
8916
8917 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
8918 do
8919 # Extract the first word of "$ac_prog", so it can be a program name with args.
8920 set dummy $ac_prog; ac_word=$2
8921 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8922 echo "configure:8923: checking for $ac_word" >&5
8923 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8924 echo $ac_n "(cached) $ac_c" 1>&6
8925 else
8926 if test -n "$CXX"; then
8927 ac_cv_prog_CXX="$CXX" # Let the user override the test.
8928 else
8929 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8930 ac_dummy="$PATH"
8931 for ac_dir in $ac_dummy; do
8932 test -z "$ac_dir" && ac_dir=.
8933 if test -f $ac_dir/$ac_word; then
8934 ac_cv_prog_CXX="$ac_prog"
8935 break
8936 fi
8937 done
8938 IFS="$ac_save_ifs"
8939 fi
8940 fi
8941 CXX="$ac_cv_prog_CXX"
8942 if test -n "$CXX"; then
8943 echo "$ac_t""$CXX" 1>&6
8944 else
8945 echo "$ac_t""no" 1>&6
8946 fi
8947
8948 test -n "$CXX" && break
8949 done
8950 test -n "$CXX" || CXX="gcc"
8951
8952
8953 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8954 echo "configure:8955: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8955
8956 ac_ext=C
8957 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8958 ac_cpp='$CXXCPP $CPPFLAGS'
8959 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8960 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8961 cross_compiling=$ac_cv_prog_cxx_cross
8962
8963 cat > conftest.$ac_ext << EOF
8964
8965 #line 8966 "configure"
8966 #include "confdefs.h"
8967
8968 int main(){return(0);}
8969 EOF
8970 if { (eval echo configure:8971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8971 ac_cv_prog_cxx_works=yes
8972 # If we can't run a trivial program, we are probably using a cross compiler.
8973 if (./conftest; exit) 2>/dev/null; then
8974 ac_cv_prog_cxx_cross=no
8975 else
8976 ac_cv_prog_cxx_cross=yes
8977 fi
8978 else
8979 echo "configure: failed program was:" >&5
8980 cat conftest.$ac_ext >&5
8981 ac_cv_prog_cxx_works=no
8982 fi
8983 rm -fr conftest*
8984 ac_ext=C
8985 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8986 ac_cpp='$CXXCPP $CPPFLAGS'
8987 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8988 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8989 cross_compiling=$ac_cv_prog_cxx_cross
8990
8991 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8992 if test $ac_cv_prog_cxx_works = no; then
8993 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8994 fi
8995 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8996 echo "configure:8997: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8997 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8998 cross_compiling=$ac_cv_prog_cxx_cross
8999
9000 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9001 echo "configure:9002: checking whether we are using GNU C++" >&5
9002 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9003 echo $ac_n "(cached) $ac_c" 1>&6
9004 else
9005 cat > conftest.C <<EOF
9006 #ifdef __GNUC__
9007 yes;
9008 #endif
9009 EOF
9010 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:9011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
9011 ac_cv_prog_gxx=yes
9012 else
9013 ac_cv_prog_gxx=no
9014 fi
9015 fi
9016
9017 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9018
9019 if test $ac_cv_prog_gxx = yes; then
9020 GXX=yes
9021 else
9022 GXX=
9023 fi
9024
9025 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9026 ac_save_CXXFLAGS="$CXXFLAGS"
9027 CXXFLAGS=
9028 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9029 echo "configure:9030: checking whether ${CXX-g++} accepts -g" >&5
9030 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9031 echo $ac_n "(cached) $ac_c" 1>&6
9032 else
9033 echo 'void f(){}' > conftest.cc
9034 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9035 ac_cv_prog_cxx_g=yes
9036 else
9037 ac_cv_prog_cxx_g=no
9038 fi
9039 rm -f conftest*
9040
9041 fi
9042
9043 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9044 if test "$ac_test_CXXFLAGS" = set; then
9045 CXXFLAGS="$ac_save_CXXFLAGS"
9046 elif test $ac_cv_prog_cxx_g = yes; then
9047 if test "$GXX" = yes; then
9048 CXXFLAGS="-g -O2"
9049 else
9050 CXXFLAGS="-g"
9051 fi
9052 else
9053 if test "$GXX" = yes; then
9054 CXXFLAGS="-O2"
9055 else
9056 CXXFLAGS=
9057 fi
9058 fi
9059
9060
9061 CXXFLAGS=`echo "$CXXFLAGS" | sed 's/-g//g'`
9062
9063 ac_ext=c
9064 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9065 ac_cpp='$CPP $CPPFLAGS'
9066 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9067 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9068 cross_compiling=$ac_cv_prog_cc_cross
9069
9070
9071 # Extract the first word of "ranlib", so it can be a program name with args.
9072 set dummy ranlib; ac_word=$2
9073 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9074 echo "configure:9075: checking for $ac_word" >&5
9075 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9076 echo $ac_n "(cached) $ac_c" 1>&6
9077 else
9078 if test -n "$RANLIB"; then
9079 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9080 else
9081 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9082 ac_dummy="$PATH"
9083 for ac_dir in $ac_dummy; do
9084 test -z "$ac_dir" && ac_dir=.
9085 if test -f $ac_dir/$ac_word; then
9086 ac_cv_prog_RANLIB="ranlib"
9087 break
9088 fi
9089 done
9090 IFS="$ac_save_ifs"
9091 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
9092 fi
9093 fi
9094 RANLIB="$ac_cv_prog_RANLIB"
9095 if test -n "$RANLIB"; then
9096 echo "$ac_t""$RANLIB" 1>&6
9097 else
9098 echo "$ac_t""no" 1>&6
9099 fi
9100
9101
9102 # Extract the first word of "ar", so it can be a program name with args.
9103 set dummy ar; ac_word=$2
9104 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9105 echo "configure:9106: checking for $ac_word" >&5
9106 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9107 echo $ac_n "(cached) $ac_c" 1>&6
9108 else
9109 if test -n "$AR"; then
9110 ac_cv_prog_AR="$AR" # Let the user override the test.
9111 else
9112 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9113 ac_dummy="$PATH"
9114 for ac_dir in $ac_dummy; do
9115 test -z "$ac_dir" && ac_dir=.
9116 if test -f $ac_dir/$ac_word; then
9117 ac_cv_prog_AR="ar"
9118 break
9119 fi
9120 done
9121 IFS="$ac_save_ifs"
9122 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
9123 fi
9124 fi
9125 AR="$ac_cv_prog_AR"
9126 if test -n "$AR"; then
9127 echo "$ac_t""$AR" 1>&6
9128 else
9129 echo "$ac_t""no" 1>&6
9130 fi
9131
9132
9133 # Find a good install program. We prefer a C program (faster),
9134 # so one script is as good as another. But avoid the broken or
9135 # incompatible versions:
9136 # SysV /etc/install, /usr/sbin/install
9137 # SunOS /usr/etc/install
9138 # IRIX /sbin/install
9139 # AIX /bin/install
9140 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9141 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9142 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9143 # ./install, which can be erroneously created by make from ./install.sh.
9144 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9145 echo "configure:9146: checking for a BSD compatible install" >&5
9146 if test -z "$INSTALL"; then
9147 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9148 echo $ac_n "(cached) $ac_c" 1>&6
9149 else
9150 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
9151 for ac_dir in $PATH; do
9152 # Account for people who put trailing slashes in PATH elements.
9153 case "$ac_dir/" in
9154 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
9155 *)
9156 # OSF1 and SCO ODT 3.0 have their own names for install.
9157 # Don't use installbsd from OSF since it installs stuff as root
9158 # by default.
9159 for ac_prog in ginstall scoinst install; do
9160 if test -f $ac_dir/$ac_prog; then
9161 if test $ac_prog = install &&
9162 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
9163 # AIX install. It has an incompatible calling convention.
9164 :
9165 else
9166 ac_cv_path_install="$ac_dir/$ac_prog -c"
9167 break 2
9168 fi
9169 fi
9170 done
9171 ;;
9172 esac
9173 done
9174 IFS="$ac_save_IFS"
9175
9176 fi
9177 if test "${ac_cv_path_install+set}" = set; then
9178 INSTALL="$ac_cv_path_install"
9179 else
9180 # As a last resort, use the slow shell script. We don't cache a
9181 # path for INSTALL within a source directory, because that will
9182 # break other packages using the cache if that directory is
9183 # removed, or if the path is relative.
9184 INSTALL="$ac_install_sh"
9185 fi
9186 fi
9187 echo "$ac_t""$INSTALL" 1>&6
9188
9189 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9190 # It thinks the first close brace ends the variable substitution.
9191 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
9192
9193 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
9194
9195 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
9196
9197 case "${host}" in
9198
9199 powerpc-*-darwin* )
9200 INSTALL_PROGRAM="cp -fp"
9201 INSTALL_DATA="cp -fp"
9202 ;;
9203 *)
9204 ;;
9205 esac
9206
9207 # Extract the first word of "strip", so it can be a program name with args.
9208 set dummy strip; ac_word=$2
9209 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9210 echo "configure:9211: checking for $ac_word" >&5
9211 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9212 echo $ac_n "(cached) $ac_c" 1>&6
9213 else
9214 if test -n "$STRIP"; then
9215 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9216 else
9217 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9218 ac_dummy="$PATH"
9219 for ac_dir in $ac_dummy; do
9220 test -z "$ac_dir" && ac_dir=.
9221 if test -f $ac_dir/$ac_word; then
9222 ac_cv_prog_STRIP="strip"
9223 break
9224 fi
9225 done
9226 IFS="$ac_save_ifs"
9227 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
9228 fi
9229 fi
9230 STRIP="$ac_cv_prog_STRIP"
9231 if test -n "$STRIP"; then
9232 echo "$ac_t""$STRIP" 1>&6
9233 else
9234 echo "$ac_t""no" 1>&6
9235 fi
9236
9237
9238 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
9239 echo "configure:9240: checking make for VPATH support" >&5
9240 cat - << EOF > confMake
9241 check : file
9242 cp \$? \$@
9243 cp \$? final_file
9244 EOF
9245
9246 if test ! -d sub ; then
9247 mkdir sub
9248 fi
9249 echo dummy > sub/file
9250 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
9251 RESULT=$?
9252 rm -f sub/file check final_file confMake
9253 rmdir sub
9254 if test "$RESULT" = 0; then
9255 echo "$ac_t""yes" 1>&6
9256 else
9257 echo "$ac_t""no" 1>&6
9258 { echo "configure: error:
9259 You need a make-utility that is able to use the variable
9260 VPATH correctly.
9261 If your version of make does not support VPATH correctly,
9262 please install GNU-make (possibly as gmake), and start
9263 configure with the following command:
9264 export MAKE=gmake; ./configure for sh-type shells
9265 setenv MAKE gmake; ./configure for csh-type shells
9266 Also please do remember to use gmake in this case every time
9267 you are trying to compile.
9268 " 1>&2; exit 1; }
9269 fi
9270
9271 for ac_prog in 'bison -y' byacc
9272 do
9273 # Extract the first word of "$ac_prog", so it can be a program name with args.
9274 set dummy $ac_prog; ac_word=$2
9275 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9276 echo "configure:9277: checking for $ac_word" >&5
9277 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9278 echo $ac_n "(cached) $ac_c" 1>&6
9279 else
9280 if test -n "$YACC"; then
9281 ac_cv_prog_YACC="$YACC" # Let the user override the test.
9282 else
9283 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9284 ac_dummy="$PATH"
9285 for ac_dir in $ac_dummy; do
9286 test -z "$ac_dir" && ac_dir=.
9287 if test -f $ac_dir/$ac_word; then
9288 ac_cv_prog_YACC="$ac_prog"
9289 break
9290 fi
9291 done
9292 IFS="$ac_save_ifs"
9293 fi
9294 fi
9295 YACC="$ac_cv_prog_YACC"
9296 if test -n "$YACC"; then
9297 echo "$ac_t""$YACC" 1>&6
9298 else
9299 echo "$ac_t""no" 1>&6
9300 fi
9301
9302 test -n "$YACC" && break
9303 done
9304 test -n "$YACC" || YACC="yacc"
9305
9306
9307 # Extract the first word of "flex", so it can be a program name with args.
9308 set dummy flex; ac_word=$2
9309 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9310 echo "configure:9311: checking for $ac_word" >&5
9311 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9312 echo $ac_n "(cached) $ac_c" 1>&6
9313 else
9314 if test -n "$LEX"; then
9315 ac_cv_prog_LEX="$LEX" # Let the user override the test.
9316 else
9317 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9318 ac_dummy="$PATH"
9319 for ac_dir in $ac_dummy; do
9320 test -z "$ac_dir" && ac_dir=.
9321 if test -f $ac_dir/$ac_word; then
9322 ac_cv_prog_LEX="flex"
9323 break
9324 fi
9325 done
9326 IFS="$ac_save_ifs"
9327 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"
9328 fi
9329 fi
9330 LEX="$ac_cv_prog_LEX"
9331 if test -n "$LEX"; then
9332 echo "$ac_t""$LEX" 1>&6
9333 else
9334 echo "$ac_t""no" 1>&6
9335 fi
9336
9337 if test -z "$LEXLIB"
9338 then
9339 case "$LEX" in
9340 flex*) ac_lib=fl ;;
9341 *) ac_lib=l ;;
9342 esac
9343 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9344 echo "configure:9345: checking for yywrap in -l$ac_lib" >&5
9345 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9346 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9347 echo $ac_n "(cached) $ac_c" 1>&6
9348 else
9349 ac_save_LIBS="$LIBS"
9350 LIBS="-l$ac_lib $LIBS"
9351 cat > conftest.$ac_ext <<EOF
9352 #line 9353 "configure"
9353 #include "confdefs.h"
9354 /* Override any gcc2 internal prototype to avoid an error. */
9355 /* We use char because int might match the return type of a gcc2
9356 builtin and then its argument prototype would still apply. */
9357 char yywrap();
9358
9359 int main() {
9360 yywrap()
9361 ; return 0; }
9362 EOF
9363 if { (eval echo configure:9364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9364 rm -rf conftest*
9365 eval "ac_cv_lib_$ac_lib_var=yes"
9366 else
9367 echo "configure: failed program was:" >&5
9368 cat conftest.$ac_ext >&5
9369 rm -rf conftest*
9370 eval "ac_cv_lib_$ac_lib_var=no"
9371 fi
9372 rm -f conftest*
9373 LIBS="$ac_save_LIBS"
9374
9375 fi
9376 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9377 echo "$ac_t""yes" 1>&6
9378 LEXLIB="-l$ac_lib"
9379 else
9380 echo "$ac_t""no" 1>&6
9381 fi
9382
9383 fi
9384
9385
9386 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9387 echo "configure:9388: checking whether ln -s works" >&5
9388 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9389 echo $ac_n "(cached) $ac_c" 1>&6
9390 else
9391 rm -f conftestdata
9392 if ln -s X conftestdata 2>/dev/null
9393 then
9394 rm -f conftestdata
9395 ac_cv_prog_LN_S="ln -s"
9396 else
9397 ac_cv_prog_LN_S=ln
9398 fi
9399 fi
9400 LN_S="$ac_cv_prog_LN_S"
9401 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9402 echo "$ac_t""yes" 1>&6
9403 else
9404 echo "$ac_t""no" 1>&6
9405 fi
9406
9407
9408
9409 SEARCH_INCLUDE="\
9410 /usr/local/include \
9411 \
9412 /usr/Motif-1.2/include \
9413 /usr/Motif-2.1/include \
9414 \
9415 /usr/include/Motif1.2 \
9416 /opt/xpm/include/X11 \
9417 /opt/GBxpm/include/ \
9418 /opt/GBxpm/X11/include/ \
9419 \
9420 /usr/Motif1.2/include \
9421 /usr/dt/include \
9422 /usr/openwin/include \
9423 \
9424 /usr/include/Xm \
9425 \
9426 /usr/X11R6/include \
9427 /usr/X11R6.4/include \
9428 /usr/X11R5/include \
9429 /usr/X11R4/include \
9430 \
9431 /usr/include/X11R6 \
9432 /usr/include/X11R5 \
9433 /usr/include/X11R4 \
9434 \
9435 /usr/local/X11R6/include \
9436 /usr/local/X11R5/include \
9437 /usr/local/X11R4/include \
9438 \
9439 /usr/local/include/X11R6 \
9440 /usr/local/include/X11R5 \
9441 /usr/local/include/X11R4 \
9442 \
9443 /usr/X11/include \
9444 /usr/include/X11 \
9445 /usr/local/X11/include \
9446 /usr/local/include/X11 \
9447 \
9448 /usr/X386/include \
9449 /usr/x386/include \
9450 /usr/XFree86/include/X11 \
9451 \
9452 X:/XFree86/include \
9453 X:/XFree86/include/X11 \
9454 \
9455 /usr/include/gtk \
9456 /usr/local/include/gtk \
9457 /usr/include/glib \
9458 /usr/local/include/glib \
9459 \
9460 /usr/include/qt \
9461 /usr/local/include/qt \
9462 \
9463 /usr/include/windows \
9464 /usr/include/wine \
9465 /usr/local/include/wine \
9466 \
9467 /usr/unsupported/include \
9468 /usr/athena/include \
9469 /usr/local/x11r5/include \
9470 /usr/lpp/Xamples/include \
9471 \
9472 /usr/openwin/share/include \
9473 \
9474 /usr/include"
9475
9476 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
9477
9478
9479 cat > confcache <<\EOF
9480 # This file is a shell script that caches the results of configure
9481 # tests run on this system so they can be shared between configure
9482 # scripts and configure runs. It is not useful on other systems.
9483 # If it contains results you don't want to keep, you may remove or edit it.
9484 #
9485 # By default, configure uses ./config.cache as the cache file,
9486 # creating it if it does not exist already. You can give configure
9487 # the --cache-file=FILE option to use a different cache file; that is
9488 # what configure does when it calls configure scripts in
9489 # subdirectories, so they share the cache.
9490 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9491 # config.status only pays attention to the cache file if you give it the
9492 # --recheck option to rerun configure.
9493 #
9494 EOF
9495 # The following way of writing the cache mishandles newlines in values,
9496 # but we know of no workaround that is simple, portable, and efficient.
9497 # So, don't put newlines in cache variables' values.
9498 # Ultrix sh set writes to stderr and can't be redirected directly,
9499 # and sets the high bit in the cache file unless we assign to the vars.
9500 (set) 2>&1 |
9501 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9502 *ac_space=\ *)
9503 # `set' does not quote correctly, so add quotes (double-quote substitution
9504 # turns \\\\ into \\, and sed turns \\ into \).
9505 sed -n \
9506 -e "s/'/'\\\\''/g" \
9507 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9508 ;;
9509 *)
9510 # `set' quotes correctly as required by POSIX, so do not add quotes.
9511 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9512 ;;
9513 esac >> confcache
9514 if cmp -s $cache_file confcache; then
9515 :
9516 else
9517 if test -w $cache_file; then
9518 echo "updating cache $cache_file"
9519 cat confcache > $cache_file
9520 else
9521 echo "not updating unwritable cache $cache_file"
9522 fi
9523 fi
9524 rm -f confcache
9525
9526
9527
9528
9529 REGEX_INCLUDE=
9530 if test "$wxUSE_REGEX" != "no"; then
9531 cat >> confdefs.h <<\EOF
9532 #define wxUSE_REGEX 1
9533 EOF
9534
9535
9536 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
9537 ac_safe=`echo "regex.h" | sed 'y%./+-%__p_%'`
9538 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
9539 echo "configure:9540: checking for regex.h" >&5
9540 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9541 echo $ac_n "(cached) $ac_c" 1>&6
9542 else
9543 cat > conftest.$ac_ext <<EOF
9544 #line 9545 "configure"
9545 #include "confdefs.h"
9546 #include <regex.h>
9547 EOF
9548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9549 { (eval echo configure:9550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9550 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9551 if test -z "$ac_err"; then
9552 rm -rf conftest*
9553 eval "ac_cv_header_$ac_safe=yes"
9554 else
9555 echo "$ac_err" >&5
9556 echo "configure: failed program was:" >&5
9557 cat conftest.$ac_ext >&5
9558 rm -rf conftest*
9559 eval "ac_cv_header_$ac_safe=no"
9560 fi
9561 rm -f conftest*
9562 fi
9563 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9564 echo "$ac_t""yes" 1>&6
9565 for ac_func in regcomp
9566 do
9567 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9568 echo "configure:9569: checking for $ac_func" >&5
9569 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9570 echo $ac_n "(cached) $ac_c" 1>&6
9571 else
9572 cat > conftest.$ac_ext <<EOF
9573 #line 9574 "configure"
9574 #include "confdefs.h"
9575 /* System header to define __stub macros and hopefully few prototypes,
9576 which can conflict with char $ac_func(); below. */
9577 #include <assert.h>
9578 /* Override any gcc2 internal prototype to avoid an error. */
9579 /* We use char because int might match the return type of a gcc2
9580 builtin and then its argument prototype would still apply. */
9581 char $ac_func();
9582
9583 int main() {
9584
9585 /* The GNU C library defines this for functions which it implements
9586 to always fail with ENOSYS. Some functions are actually named
9587 something starting with __ and the normal name is an alias. */
9588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9589 choke me
9590 #else
9591 $ac_func();
9592 #endif
9593
9594 ; return 0; }
9595 EOF
9596 if { (eval echo configure:9597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9597 rm -rf conftest*
9598 eval "ac_cv_func_$ac_func=yes"
9599 else
9600 echo "configure: failed program was:" >&5
9601 cat conftest.$ac_ext >&5
9602 rm -rf conftest*
9603 eval "ac_cv_func_$ac_func=no"
9604 fi
9605 rm -f conftest*
9606 fi
9607
9608 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9609 echo "$ac_t""yes" 1>&6
9610 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9611 cat >> confdefs.h <<EOF
9612 #define $ac_tr_func 1
9613 EOF
9614
9615 else
9616 echo "$ac_t""no" 1>&6
9617 fi
9618 done
9619
9620 else
9621 echo "$ac_t""no" 1>&6
9622 fi
9623
9624
9625 if test "x$ac_cv_func_regcomp" != "xyes"; then
9626 if test "$wxUSE_REGEX" = "sys" ; then
9627 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9628 else
9629 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9630 wxUSE_REGEX=builtin
9631 fi
9632 else
9633 wxUSE_REGEX=sys
9634 fi
9635 fi
9636
9637 if test "$wxUSE_REGEX" = "builtin" ; then
9638 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
9639 fi
9640 fi
9641
9642
9643 ZLIB_INCLUDE=
9644 ZLIB_LINK=
9645 if test "$wxUSE_ZLIB" != "no" ; then
9646 cat >> confdefs.h <<\EOF
9647 #define wxUSE_ZLIB 1
9648 EOF
9649
9650
9651 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9652 ac_safe=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9653 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9654 echo "configure:9655: checking for zlib.h" >&5
9655 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9656 echo $ac_n "(cached) $ac_c" 1>&6
9657 else
9658 cat > conftest.$ac_ext <<EOF
9659 #line 9660 "configure"
9660 #include "confdefs.h"
9661 #include <zlib.h>
9662 EOF
9663 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9664 { (eval echo configure:9665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9665 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9666 if test -z "$ac_err"; then
9667 rm -rf conftest*
9668 eval "ac_cv_header_$ac_safe=yes"
9669 else
9670 echo "$ac_err" >&5
9671 echo "configure: failed program was:" >&5
9672 cat conftest.$ac_ext >&5
9673 rm -rf conftest*
9674 eval "ac_cv_header_$ac_safe=no"
9675 fi
9676 rm -f conftest*
9677 fi
9678 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9679 echo "$ac_t""yes" 1>&6
9680 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9681 echo "configure:9682: checking for deflate in -lz" >&5
9682 ac_lib_var=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9683 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9684 echo $ac_n "(cached) $ac_c" 1>&6
9685 else
9686 ac_save_LIBS="$LIBS"
9687 LIBS="-lz $LIBS"
9688 cat > conftest.$ac_ext <<EOF
9689 #line 9690 "configure"
9690 #include "confdefs.h"
9691 /* Override any gcc2 internal prototype to avoid an error. */
9692 /* We use char because int might match the return type of a gcc2
9693 builtin and then its argument prototype would still apply. */
9694 char deflate();
9695
9696 int main() {
9697 deflate()
9698 ; return 0; }
9699 EOF
9700 if { (eval echo configure:9701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9701 rm -rf conftest*
9702 eval "ac_cv_lib_$ac_lib_var=yes"
9703 else
9704 echo "configure: failed program was:" >&5
9705 cat conftest.$ac_ext >&5
9706 rm -rf conftest*
9707 eval "ac_cv_lib_$ac_lib_var=no"
9708 fi
9709 rm -f conftest*
9710 LIBS="$ac_save_LIBS"
9711
9712 fi
9713 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9714 echo "$ac_t""yes" 1>&6
9715 ZLIB_LINK=" -lz"
9716 else
9717 echo "$ac_t""no" 1>&6
9718 fi
9719
9720 else
9721 echo "$ac_t""no" 1>&6
9722 fi
9723
9724
9725 if test "x$ZLIB_LINK" = "x" ; then
9726 if test "$wxUSE_ZLIB" = "sys" ; then
9727 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9728 else
9729 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9730 wxUSE_ZLIB=builtin
9731 fi
9732 else
9733 wxUSE_ZLIB=sys
9734 fi
9735 fi
9736
9737 if test "$wxUSE_ZLIB" = "builtin" ; then
9738 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
9739 fi
9740 fi
9741
9742
9743 PNG_INCLUDE=
9744 PNG_LINK=
9745 if test "$wxUSE_LIBPNG" != "no" ; then
9746 cat >> confdefs.h <<\EOF
9747 #define wxUSE_LIBPNG 1
9748 EOF
9749
9750
9751 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9752 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9753 wxUSE_LIBPNG=builtin
9754 fi
9755
9756 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9757 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
9758 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9759 echo "configure:9760: checking for png.h" >&5
9760 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9761 echo $ac_n "(cached) $ac_c" 1>&6
9762 else
9763 cat > conftest.$ac_ext <<EOF
9764 #line 9765 "configure"
9765 #include "confdefs.h"
9766 #include <png.h>
9767 EOF
9768 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9769 { (eval echo configure:9770: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9770 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9771 if test -z "$ac_err"; then
9772 rm -rf conftest*
9773 eval "ac_cv_header_$ac_safe=yes"
9774 else
9775 echo "$ac_err" >&5
9776 echo "configure: failed program was:" >&5
9777 cat conftest.$ac_ext >&5
9778 rm -rf conftest*
9779 eval "ac_cv_header_$ac_safe=no"
9780 fi
9781 rm -f conftest*
9782 fi
9783 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9784 echo "$ac_t""yes" 1>&6
9785 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9786 echo "configure:9787: checking for png_check_sig in -lpng" >&5
9787 ac_lib_var=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9788 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9789 echo $ac_n "(cached) $ac_c" 1>&6
9790 else
9791 ac_save_LIBS="$LIBS"
9792 LIBS="-lpng -lz -lm $LIBS"
9793 cat > conftest.$ac_ext <<EOF
9794 #line 9795 "configure"
9795 #include "confdefs.h"
9796 /* Override any gcc2 internal prototype to avoid an error. */
9797 /* We use char because int might match the return type of a gcc2
9798 builtin and then its argument prototype would still apply. */
9799 char png_check_sig();
9800
9801 int main() {
9802 png_check_sig()
9803 ; return 0; }
9804 EOF
9805 if { (eval echo configure:9806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9806 rm -rf conftest*
9807 eval "ac_cv_lib_$ac_lib_var=yes"
9808 else
9809 echo "configure: failed program was:" >&5
9810 cat conftest.$ac_ext >&5
9811 rm -rf conftest*
9812 eval "ac_cv_lib_$ac_lib_var=no"
9813 fi
9814 rm -f conftest*
9815 LIBS="$ac_save_LIBS"
9816
9817 fi
9818 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9819 echo "$ac_t""yes" 1>&6
9820 PNG_LINK=" -lpng"
9821 else
9822 echo "$ac_t""no" 1>&6
9823 fi
9824
9825
9826 else
9827 echo "$ac_t""no" 1>&6
9828 fi
9829
9830
9831 if test "x$PNG_LINK" = "x" ; then
9832 if test "$wxUSE_LIBPNG" = "sys" ; then
9833 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9834 else
9835 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9836 wxUSE_LIBPNG=builtin
9837 fi
9838 else
9839 wxUSE_LIBPNG=yes
9840 fi
9841 fi
9842
9843 if test "$wxUSE_LIBPNG" = "builtin" ; then
9844 PNG_INCLUDE="-I\${top_srcdir}/src/png"
9845 fi
9846
9847 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
9848 fi
9849
9850
9851 JPEG_INCLUDE=
9852 JPEG_LINK=
9853 if test "$wxUSE_LIBJPEG" != "no" ; then
9854 cat >> confdefs.h <<\EOF
9855 #define wxUSE_LIBJPEG 1
9856 EOF
9857
9858
9859 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9860 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9861 echo "configure:9862: checking for jpeglib.h" >&5
9862 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9863 echo $ac_n "(cached) $ac_c" 1>&6
9864 else
9865 cat > conftest.$ac_ext <<EOF
9866 #line 9867 "configure"
9867 #include "confdefs.h"
9868
9869 #undef HAVE_STDLIB_H
9870 #include <stdio.h>
9871 #include <jpeglib.h>
9872
9873 int main() {
9874
9875
9876 ; return 0; }
9877 EOF
9878 if { (eval echo configure:9879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9879 rm -rf conftest*
9880 ac_cv_header_jpeglib_h=yes
9881 else
9882 echo "configure: failed program was:" >&5
9883 cat conftest.$ac_ext >&5
9884 rm -rf conftest*
9885 ac_cv_header_jpeglib_h=no
9886
9887 fi
9888 rm -f conftest*
9889
9890 fi
9891
9892 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
9893
9894 if test "$ac_cv_header_jpeglib_h" = "yes"; then
9895 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
9896 echo "configure:9897: checking for jpeg_read_header in -ljpeg" >&5
9897 ac_lib_var=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
9898 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9899 echo $ac_n "(cached) $ac_c" 1>&6
9900 else
9901 ac_save_LIBS="$LIBS"
9902 LIBS="-ljpeg $LIBS"
9903 cat > conftest.$ac_ext <<EOF
9904 #line 9905 "configure"
9905 #include "confdefs.h"
9906 /* Override any gcc2 internal prototype to avoid an error. */
9907 /* We use char because int might match the return type of a gcc2
9908 builtin and then its argument prototype would still apply. */
9909 char jpeg_read_header();
9910
9911 int main() {
9912 jpeg_read_header()
9913 ; return 0; }
9914 EOF
9915 if { (eval echo configure:9916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9916 rm -rf conftest*
9917 eval "ac_cv_lib_$ac_lib_var=yes"
9918 else
9919 echo "configure: failed program was:" >&5
9920 cat conftest.$ac_ext >&5
9921 rm -rf conftest*
9922 eval "ac_cv_lib_$ac_lib_var=no"
9923 fi
9924 rm -f conftest*
9925 LIBS="$ac_save_LIBS"
9926
9927 fi
9928 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9929 echo "$ac_t""yes" 1>&6
9930 JPEG_LINK=" -ljpeg"
9931 else
9932 echo "$ac_t""no" 1>&6
9933 fi
9934
9935 fi
9936
9937 if test "x$JPEG_LINK" = "x" ; then
9938 if test "$wxUSE_LIBJPEG" = "sys" ; then
9939 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
9940 else
9941 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
9942 wxUSE_LIBJPEG=builtin
9943 fi
9944 else
9945 wxUSE_LIBJPEG=sys
9946 fi
9947 fi
9948
9949 if test "$wxUSE_LIBJPEG" = "builtin" ; then
9950 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
9951 fi
9952 fi
9953
9954
9955 TIFF_INCLUDE=
9956 TIFF_LINK=
9957 if test "$wxUSE_LIBTIFF" != "no" ; then
9958 cat >> confdefs.h <<\EOF
9959 #define wxUSE_LIBTIFF 1
9960 EOF
9961
9962
9963 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
9964 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
9965 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
9966 echo "configure:9967: checking for tiffio.h" >&5
9967 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9968 echo $ac_n "(cached) $ac_c" 1>&6
9969 else
9970 cat > conftest.$ac_ext <<EOF
9971 #line 9972 "configure"
9972 #include "confdefs.h"
9973 #include <tiffio.h>
9974 EOF
9975 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9976 { (eval echo configure:9977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9977 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9978 if test -z "$ac_err"; then
9979 rm -rf conftest*
9980 eval "ac_cv_header_$ac_safe=yes"
9981 else
9982 echo "$ac_err" >&5
9983 echo "configure: failed program was:" >&5
9984 cat conftest.$ac_ext >&5
9985 rm -rf conftest*
9986 eval "ac_cv_header_$ac_safe=no"
9987 fi
9988 rm -f conftest*
9989 fi
9990 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9991 echo "$ac_t""yes" 1>&6
9992 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
9993 echo "configure:9994: checking for TIFFError in -ltiff" >&5
9994 ac_lib_var=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
9995 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9996 echo $ac_n "(cached) $ac_c" 1>&6
9997 else
9998 ac_save_LIBS="$LIBS"
9999 LIBS="-ltiff -lm $LIBS"
10000 cat > conftest.$ac_ext <<EOF
10001 #line 10002 "configure"
10002 #include "confdefs.h"
10003 /* Override any gcc2 internal prototype to avoid an error. */
10004 /* We use char because int might match the return type of a gcc2
10005 builtin and then its argument prototype would still apply. */
10006 char TIFFError();
10007
10008 int main() {
10009 TIFFError()
10010 ; return 0; }
10011 EOF
10012 if { (eval echo configure:10013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10013 rm -rf conftest*
10014 eval "ac_cv_lib_$ac_lib_var=yes"
10015 else
10016 echo "configure: failed program was:" >&5
10017 cat conftest.$ac_ext >&5
10018 rm -rf conftest*
10019 eval "ac_cv_lib_$ac_lib_var=no"
10020 fi
10021 rm -f conftest*
10022 LIBS="$ac_save_LIBS"
10023
10024 fi
10025 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10026 echo "$ac_t""yes" 1>&6
10027 TIFF_LINK=" -ltiff"
10028 else
10029 echo "$ac_t""no" 1>&6
10030 fi
10031
10032
10033 else
10034 echo "$ac_t""no" 1>&6
10035 fi
10036
10037
10038 if test "x$TIFF_LINK" = "x" ; then
10039 if test "$wxUSE_LIBTIFF" = "sys" ; then
10040 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
10041 else
10042 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
10043 wxUSE_LIBTIFF=builtin
10044 fi
10045 else
10046 wxUSE_LIBTIFF=sys
10047 fi
10048 fi
10049
10050 if test "$wxUSE_LIBTIFF" = "builtin" ; then
10051 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
10052 fi
10053 fi
10054
10055
10056 FREETYPE_INCLUDE=
10057 FREETYPE_LINK=
10058 if test "$wxUSE_FREETYPE" != "no" ; then
10059 cat >> confdefs.h <<\EOF
10060 #define wxUSE_FREETYPE 1
10061 EOF
10062
10063
10064 if test "$wxUSE_FREETYPE" = "sys" -o "$wxUSE_FREETYPE" = "yes" ; then
10065 ac_safe=`echo "freetype.h" | sed 'y%./+-%__p_%'`
10066 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
10067 echo "configure:10068: checking for freetype.h" >&5
10068 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10069 echo $ac_n "(cached) $ac_c" 1>&6
10070 else
10071 cat > conftest.$ac_ext <<EOF
10072 #line 10073 "configure"
10073 #include "confdefs.h"
10074 #include <freetype.h>
10075 EOF
10076 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10077 { (eval echo configure:10078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10078 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10079 if test -z "$ac_err"; then
10080 rm -rf conftest*
10081 eval "ac_cv_header_$ac_safe=yes"
10082 else
10083 echo "$ac_err" >&5
10084 echo "configure: failed program was:" >&5
10085 cat conftest.$ac_ext >&5
10086 rm -rf conftest*
10087 eval "ac_cv_header_$ac_safe=no"
10088 fi
10089 rm -f conftest*
10090 fi
10091 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10092 echo "$ac_t""yes" 1>&6
10093 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
10094 echo "configure:10095: checking for FT_Render_Glyph in -lfreetype" >&5
10095 ac_lib_var=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
10096 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10097 echo $ac_n "(cached) $ac_c" 1>&6
10098 else
10099 ac_save_LIBS="$LIBS"
10100 LIBS="-lfreetype -lm $LIBS"
10101 cat > conftest.$ac_ext <<EOF
10102 #line 10103 "configure"
10103 #include "confdefs.h"
10104 /* Override any gcc2 internal prototype to avoid an error. */
10105 /* We use char because int might match the return type of a gcc2
10106 builtin and then its argument prototype would still apply. */
10107 char FT_Render_Glyph();
10108
10109 int main() {
10110 FT_Render_Glyph()
10111 ; return 0; }
10112 EOF
10113 if { (eval echo configure:10114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10114 rm -rf conftest*
10115 eval "ac_cv_lib_$ac_lib_var=yes"
10116 else
10117 echo "configure: failed program was:" >&5
10118 cat conftest.$ac_ext >&5
10119 rm -rf conftest*
10120 eval "ac_cv_lib_$ac_lib_var=no"
10121 fi
10122 rm -f conftest*
10123 LIBS="$ac_save_LIBS"
10124
10125 fi
10126 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10127 echo "$ac_t""yes" 1>&6
10128 FREETYPE_LINK=" -lfreetype"
10129 else
10130 echo "$ac_t""no" 1>&6
10131 fi
10132
10133
10134 else
10135 echo "$ac_t""no" 1>&6
10136 fi
10137
10138
10139 if test "x$FREETYPE_LINK" = "x" ; then
10140 if test "$wxUSE_FREETYPE" = "sys" ; then
10141 { echo "configure: error: system freetype library not found! Use --with-freetype=builtin to use built-in version" 1>&2; exit 1; }
10142 else
10143 echo "configure: warning: system freetype library not found, will use built-in instead" 1>&2
10144 wxUSE_FREETYPE=builtin
10145 fi
10146 else
10147 wxUSE_FREETYPE=sys
10148 fi
10149 fi
10150
10151 if test "$wxUSE_FREETYPE" = "builtin" ; then
10152 FREETYPE_INCLUDE="-I\${top_srcdir}/src/freetype"
10153 fi
10154 fi
10155
10156
10157 AFMINSTALL=
10158
10159 TOOLKIT=
10160 TOOLKIT_INCLUDE=
10161 WIDGET_SET=
10162
10163 if test "$USE_WIN32" = 1 ; then
10164 for ac_hdr in w32api.h
10165 do
10166 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10167 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10168 echo "configure:10169: checking for $ac_hdr" >&5
10169 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10170 echo $ac_n "(cached) $ac_c" 1>&6
10171 else
10172 cat > conftest.$ac_ext <<EOF
10173 #line 10174 "configure"
10174 #include "confdefs.h"
10175 #include <$ac_hdr>
10176 EOF
10177 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10178 { (eval echo configure:10179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10179 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10180 if test -z "$ac_err"; then
10181 rm -rf conftest*
10182 eval "ac_cv_header_$ac_safe=yes"
10183 else
10184 echo "$ac_err" >&5
10185 echo "configure: failed program was:" >&5
10186 cat conftest.$ac_ext >&5
10187 rm -rf conftest*
10188 eval "ac_cv_header_$ac_safe=no"
10189 fi
10190 rm -f conftest*
10191 fi
10192 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10193 echo "$ac_t""yes" 1>&6
10194 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10195 cat >> confdefs.h <<EOF
10196 #define $ac_tr_hdr 1
10197 EOF
10198
10199 else
10200 echo "$ac_t""no" 1>&6
10201 fi
10202 done
10203
10204 ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'`
10205 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10206 echo "configure:10207: checking for windows.h" >&5
10207 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10208 echo $ac_n "(cached) $ac_c" 1>&6
10209 else
10210 cat > conftest.$ac_ext <<EOF
10211 #line 10212 "configure"
10212 #include "confdefs.h"
10213 #include <windows.h>
10214 EOF
10215 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10216 { (eval echo configure:10217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10217 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10218 if test -z "$ac_err"; then
10219 rm -rf conftest*
10220 eval "ac_cv_header_$ac_safe=yes"
10221 else
10222 echo "$ac_err" >&5
10223 echo "configure: failed program was:" >&5
10224 cat conftest.$ac_ext >&5
10225 rm -rf conftest*
10226 eval "ac_cv_header_$ac_safe=no"
10227 fi
10228 rm -f conftest*
10229 fi
10230 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10231 echo "$ac_t""yes" 1>&6
10232 :
10233 else
10234 echo "$ac_t""no" 1>&6
10235
10236 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10237
10238 fi
10239
10240
10241 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
10242 echo "configure:10243: checking if w32api has good enough MSIE support" >&5
10243 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
10244 echo $ac_n "(cached) $ac_c" 1>&6
10245 else
10246
10247 cat > conftest.$ac_ext <<EOF
10248 #line 10249 "configure"
10249 #include "confdefs.h"
10250 #include <w32api.h>
10251 int main() {
10252
10253 #define wxCHECK_W32API_VERSION( major, minor ) \
10254 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
10255 && ( ( __W32API_MAJOR_VERSION > (major) ) \
10256 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
10257
10258 #if !wxCHECK_W32API_VERSION(1,1)
10259 #error You need w32api 1.1 or newer
10260 #endif
10261
10262 ; return 0; }
10263 EOF
10264 if { (eval echo configure:10265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10265 rm -rf conftest*
10266
10267 wx_cv_w32api_win32_ie=yes
10268
10269 else
10270 echo "configure: failed program was:" >&5
10271 cat conftest.$ac_ext >&5
10272 rm -rf conftest*
10273
10274 wx_cv_w32api_win32_ie=no
10275
10276 fi
10277 rm -f conftest*
10278
10279 fi
10280
10281 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
10282 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
10283 CPPFLAGS="$CPPFLAGS -D_WIN32_IE=0x400"
10284 fi
10285
10286 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
10287
10288 case "${host}" in
10289 *-*-cygwin* )
10290 LIBS="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
10291 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
10292 esac
10293
10294 if test "$wxUSE_ODBC" = "yes" ; then
10295 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
10296 fi
10297
10298 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
10299 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
10300 fi
10301
10302 if test "$wxUSE_GUI" = "yes"; then
10303 USE_GUI=1
10304
10305 GUI_TK_LIBRARY=
10306
10307 WXGTK12=
10308 WXGTK127=
10309 WXGTK20=
10310
10311 if test "$wxUSE_MSW" = 1 ; then
10312 TOOLKIT=MSW
10313 GUIDIST=MSW_DIST
10314
10315 case "${host}" in
10316 *-*-mingw32* )
10317 LDFLAGS="$LDFLAGS -Wl,--subsystem,windows -mwindows"
10318 esac
10319 fi
10320
10321 if test "$wxUSE_GTK" = 1; then
10322 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
10323 echo "configure:10324: checking for GTK+ version" >&5
10324
10325 gtk_version_cached=1
10326 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
10327 echo $ac_n "(cached) $ac_c" 1>&6
10328 else
10329
10330 gtk_version_cached=0
10331 echo "$ac_t""" 1>&6
10332
10333 GTK_MODULES=
10334 if test "$wxUSE_THREADS" = "yes"; then
10335 GTK_MODULES=gthread
10336 fi
10337
10338 wx_cv_lib_gtk=
10339 if test "x$wxUSE_GTK2" = "xyes"; then
10340 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10341 if test "${with_gtk_prefix+set}" = set; then
10342 withval="$with_gtk_prefix"
10343 gtk_config_prefix="$withval"
10344 else
10345 gtk_config_prefix=""
10346 fi
10347
10348 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10349 if test "${with_gtk_exec_prefix+set}" = set; then
10350 withval="$with_gtk_exec_prefix"
10351 gtk_config_exec_prefix="$withval"
10352 else
10353 gtk_config_exec_prefix=""
10354 fi
10355
10356 # Check whether --enable-gtktest or --disable-gtktest was given.
10357 if test "${enable_gtktest+set}" = set; then
10358 enableval="$enable_gtktest"
10359 :
10360 else
10361 enable_gtktest=yes
10362 fi
10363
10364
10365 for module in . $GTK_MODULES
10366 do
10367 case "$module" in
10368 gthread)
10369 gtk_config_args="$gtk_config_args gthread"
10370 ;;
10371 esac
10372 done
10373
10374 if test x$gtk_config_exec_prefix != x ; then
10375 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10376 if test x${GTK_CONFIG_2_0+set} != xset ; then
10377 GTK_CONFIG_2_0=$gtk_config_exec_prefix/bin/gtk-config-2.0
10378 fi
10379 fi
10380 if test x$gtk_config_prefix != x ; then
10381 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
10382 if test x${GTK_CONFIG_2_0+set} != xset ; then
10383 GTK_CONFIG_2_0=$gtk_config_prefix/bin/gtk-config-2.0
10384 fi
10385 fi
10386
10387 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
10388 set dummy gtk-config-2.0; ac_word=$2
10389 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10390 echo "configure:10391: checking for $ac_word" >&5
10391 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
10392 echo $ac_n "(cached) $ac_c" 1>&6
10393 else
10394 case "$GTK_CONFIG_2_0" in
10395 /*)
10396 ac_cv_path_GTK_CONFIG_2_0="$GTK_CONFIG_2_0" # Let the user override the test with a path.
10397 ;;
10398 ?:/*)
10399 ac_cv_path_GTK_CONFIG_2_0="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
10400 ;;
10401 *)
10402 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
10403 ac_dummy="$PATH"
10404 for ac_dir in $ac_dummy; do
10405 test -z "$ac_dir" && ac_dir=.
10406 if test -f $ac_dir/$ac_word; then
10407 ac_cv_path_GTK_CONFIG_2_0="$ac_dir/$ac_word"
10408 break
10409 fi
10410 done
10411 IFS="$ac_save_ifs"
10412 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0="no"
10413 ;;
10414 esac
10415 fi
10416 GTK_CONFIG_2_0="$ac_cv_path_GTK_CONFIG_2_0"
10417 if test -n "$GTK_CONFIG_2_0"; then
10418 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
10419 else
10420 echo "$ac_t""no" 1>&6
10421 fi
10422
10423 min_gtk_version=1.3.1
10424 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10425 echo "configure:10426: checking for GTK - version >= $min_gtk_version" >&5
10426 no_gtk=""
10427 if test "$GTK_CONFIG_2_0" = "no" ; then
10428 no_gtk=yes
10429 else
10430 GTK_CFLAGS=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
10431 GTK_LIBS=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
10432 gtk_config_major_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10433 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10434 gtk_config_minor_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10435 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10436 gtk_config_micro_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10437 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10438 if test "x$enable_gtktest" = "xyes" ; then
10439 ac_save_CFLAGS="$CFLAGS"
10440 ac_save_LIBS="$LIBS"
10441 CFLAGS="$CFLAGS $GTK_CFLAGS"
10442 LIBS="$GTK_LIBS $LIBS"
10443 rm -f conf.gtktest
10444 if test "$cross_compiling" = yes; then
10445 echo $ac_n "cross compiling; assumed OK... $ac_c"
10446 else
10447 cat > conftest.$ac_ext <<EOF
10448 #line 10449 "configure"
10449 #include "confdefs.h"
10450
10451 #include <gtk/gtk.h>
10452 #include <stdio.h>
10453 #include <stdlib.h>
10454
10455 int
10456 main ()
10457 {
10458 int major, minor, micro;
10459 char *tmp_version;
10460
10461 system ("touch conf.gtktest");
10462
10463 /* HP/UX 9 (%@#!) writes to sscanf strings */
10464 tmp_version = g_strdup("$min_gtk_version");
10465 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
10466 printf("%s, bad version string\n", "$min_gtk_version");
10467 exit(1);
10468 }
10469
10470 if ((gtk_major_version != $gtk_config_major_version) ||
10471 (gtk_minor_version != $gtk_config_minor_version) ||
10472 (gtk_micro_version != $gtk_config_micro_version))
10473 {
10474 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10475 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10476 gtk_major_version, gtk_minor_version, gtk_micro_version);
10477 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
10478 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10479 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10480 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10481 printf("*** required on your system.\n");
10482 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
10483 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
10484 printf("*** before re-running configure\n");
10485 }
10486 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10487 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10488 (gtk_minor_version != GTK_MINOR_VERSION) ||
10489 (gtk_micro_version != GTK_MICRO_VERSION))
10490 {
10491 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10492 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10493 printf("*** library (version %d.%d.%d)\n",
10494 gtk_major_version, gtk_minor_version, gtk_micro_version);
10495 }
10496 #endif /* defined (GTK_MAJOR_VERSION) ... */
10497 else
10498 {
10499 if ((gtk_major_version > major) ||
10500 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10501 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10502 {
10503 return 0;
10504 }
10505 else
10506 {
10507 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10508 gtk_major_version, gtk_minor_version, gtk_micro_version);
10509 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10510 major, minor, micro);
10511 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10512 printf("***\n");
10513 printf("*** If you have already installed a sufficiently new version, this error\n");
10514 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
10515 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10516 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
10517 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
10518 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10519 printf("*** so that the correct libraries are found at run-time))\n");
10520 }
10521 }
10522 return 1;
10523 }
10524
10525 EOF
10526 if { (eval echo configure:10527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10527 then
10528 :
10529 else
10530 echo "configure: failed program was:" >&5
10531 cat conftest.$ac_ext >&5
10532 rm -fr conftest*
10533 no_gtk=yes
10534 fi
10535 rm -fr conftest*
10536 fi
10537
10538 CFLAGS="$ac_save_CFLAGS"
10539 LIBS="$ac_save_LIBS"
10540 fi
10541 fi
10542 if test "x$no_gtk" = x ; then
10543 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
10544 wx_cv_lib_gtk=2.0
10545 else
10546 echo "$ac_t""no" 1>&6
10547 if test "$GTK_CONFIG_2_0" = "no" ; then
10548 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
10549 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10550 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
10551 echo "*** full path to gtk-config-2.0."
10552 else
10553 if test -f conf.gtktest ; then
10554 :
10555 else
10556 echo "*** Could not run GTK test program, checking why..."
10557 CFLAGS="$CFLAGS $GTK_CFLAGS"
10558 LIBS="$LIBS $GTK_LIBS"
10559 cat > conftest.$ac_ext <<EOF
10560 #line 10561 "configure"
10561 #include "confdefs.h"
10562
10563 #include <gtk/gtk.h>
10564 #include <stdio.h>
10565
10566 int main() {
10567 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10568 ; return 0; }
10569 EOF
10570 if { (eval echo configure:10571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10571 rm -rf conftest*
10572 echo "*** The test program compiled, but did not run. This usually means"
10573 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10574 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10575 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10576 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10577 echo "*** is required on your system"
10578 echo "***"
10579 echo "*** If you have an old version installed, it is best to remove it, although"
10580 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10581 echo "***"
10582 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10583 echo "*** came with the system with the command"
10584 echo "***"
10585 echo "*** rpm --erase --nodeps gtk gtk-devel"
10586 else
10587 echo "configure: failed program was:" >&5
10588 cat conftest.$ac_ext >&5
10589 rm -rf conftest*
10590 echo "*** The test program failed to compile or link. See the file config.log for the"
10591 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10592 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10593 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
10594 fi
10595 rm -f conftest*
10596 CFLAGS="$ac_save_CFLAGS"
10597 LIBS="$ac_save_LIBS"
10598 fi
10599 fi
10600 GTK_CFLAGS=""
10601 GTK_LIBS=""
10602 :
10603 fi
10604
10605
10606 rm -f conf.gtktest
10607
10608 fi
10609
10610 if test -z "$wx_cv_lib_gtk"; then
10611 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10612 if test "${with_gtk_prefix+set}" = set; then
10613 withval="$with_gtk_prefix"
10614 gtk_config_prefix="$withval"
10615 else
10616 gtk_config_prefix=""
10617 fi
10618
10619 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10620 if test "${with_gtk_exec_prefix+set}" = set; then
10621 withval="$with_gtk_exec_prefix"
10622 gtk_config_exec_prefix="$withval"
10623 else
10624 gtk_config_exec_prefix=""
10625 fi
10626
10627 # Check whether --enable-gtktest or --disable-gtktest was given.
10628 if test "${enable_gtktest+set}" = set; then
10629 enableval="$enable_gtktest"
10630 :
10631 else
10632 enable_gtktest=yes
10633 fi
10634
10635
10636 for module in . $GTK_MODULES
10637 do
10638 case "$module" in
10639 gthread)
10640 gtk_config_args="$gtk_config_args gthread"
10641 ;;
10642 esac
10643 done
10644
10645 if test x$gtk_config_exec_prefix != x ; then
10646 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10647 if test x${GTK_CONFIG+set} != xset ; then
10648 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
10649 fi
10650 fi
10651 if test x$gtk_config_prefix != x ; then
10652 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
10653 if test x${GTK_CONFIG+set} != xset ; then
10654 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
10655 fi
10656 fi
10657
10658 # Extract the first word of "gtk-config", so it can be a program name with args.
10659 set dummy gtk-config; ac_word=$2
10660 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10661 echo "configure:10662: checking for $ac_word" >&5
10662 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10663 echo $ac_n "(cached) $ac_c" 1>&6
10664 else
10665 case "$GTK_CONFIG" in
10666 /*)
10667 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
10668 ;;
10669 ?:/*)
10670 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
10671 ;;
10672 *)
10673 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
10674 ac_dummy="$PATH"
10675 for ac_dir in $ac_dummy; do
10676 test -z "$ac_dir" && ac_dir=.
10677 if test -f $ac_dir/$ac_word; then
10678 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
10679 break
10680 fi
10681 done
10682 IFS="$ac_save_ifs"
10683 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
10684 ;;
10685 esac
10686 fi
10687 GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
10688 if test -n "$GTK_CONFIG"; then
10689 echo "$ac_t""$GTK_CONFIG" 1>&6
10690 else
10691 echo "$ac_t""no" 1>&6
10692 fi
10693
10694 min_gtk_version=1.2.7
10695 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10696 echo "configure:10697: checking for GTK - version >= $min_gtk_version" >&5
10697 no_gtk=""
10698 if test "$GTK_CONFIG" = "no" ; then
10699 no_gtk=yes
10700 else
10701 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
10702 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
10703 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
10704 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10705 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
10706 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10707 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
10708 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10709 if test "x$enable_gtktest" = "xyes" ; then
10710 ac_save_CFLAGS="$CFLAGS"
10711 ac_save_LIBS="$LIBS"
10712 CFLAGS="$CFLAGS $GTK_CFLAGS"
10713 LIBS="$GTK_LIBS $LIBS"
10714 rm -f conf.gtktest
10715 if test "$cross_compiling" = yes; then
10716 echo $ac_n "cross compiling; assumed OK... $ac_c"
10717 else
10718 cat > conftest.$ac_ext <<EOF
10719 #line 10720 "configure"
10720 #include "confdefs.h"
10721
10722 #include <gtk/gtk.h>
10723 #include <stdio.h>
10724 #include <stdlib.h>
10725
10726 int
10727 main ()
10728 {
10729 int major, minor, micro;
10730 char *tmp_version;
10731
10732 system ("touch conf.gtktest");
10733
10734 /* HP/UX 9 (%@#!) writes to sscanf strings */
10735 tmp_version = g_strdup("$min_gtk_version");
10736 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
10737 printf("%s, bad version string\n", "$min_gtk_version");
10738 exit(1);
10739 }
10740
10741 if ((gtk_major_version != $gtk_config_major_version) ||
10742 (gtk_minor_version != $gtk_config_minor_version) ||
10743 (gtk_micro_version != $gtk_config_micro_version))
10744 {
10745 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10746 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10747 gtk_major_version, gtk_minor_version, gtk_micro_version);
10748 printf ("*** was found! If gtk-config was correct, then it is best\n");
10749 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10750 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10751 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10752 printf("*** required on your system.\n");
10753 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10754 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10755 printf("*** before re-running configure\n");
10756 }
10757 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10758 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10759 (gtk_minor_version != GTK_MINOR_VERSION) ||
10760 (gtk_micro_version != GTK_MICRO_VERSION))
10761 {
10762 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10763 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10764 printf("*** library (version %d.%d.%d)\n",
10765 gtk_major_version, gtk_minor_version, gtk_micro_version);
10766 }
10767 #endif /* defined (GTK_MAJOR_VERSION) ... */
10768 else
10769 {
10770 if ((gtk_major_version > major) ||
10771 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10772 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10773 {
10774 return 0;
10775 }
10776 else
10777 {
10778 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10779 gtk_major_version, gtk_minor_version, gtk_micro_version);
10780 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10781 major, minor, micro);
10782 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10783 printf("***\n");
10784 printf("*** If you have already installed a sufficiently new version, this error\n");
10785 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10786 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10787 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10788 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10789 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10790 printf("*** so that the correct libraries are found at run-time))\n");
10791 }
10792 }
10793 return 1;
10794 }
10795
10796 EOF
10797 if { (eval echo configure:10798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10798 then
10799 :
10800 else
10801 echo "configure: failed program was:" >&5
10802 cat conftest.$ac_ext >&5
10803 rm -fr conftest*
10804 no_gtk=yes
10805 fi
10806 rm -fr conftest*
10807 fi
10808
10809 CFLAGS="$ac_save_CFLAGS"
10810 LIBS="$ac_save_LIBS"
10811 fi
10812 fi
10813 if test "x$no_gtk" = x ; then
10814 echo "$ac_t""yes" 1>&6
10815 wx_cv_lib_gtk=1.2.7
10816 else
10817 echo "$ac_t""no" 1>&6
10818 if test "$GTK_CONFIG" = "no" ; then
10819 echo "*** The gtk-config script installed by GTK could not be found"
10820 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10821 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10822 echo "*** full path to gtk-config."
10823 else
10824 if test -f conf.gtktest ; then
10825 :
10826 else
10827 echo "*** Could not run GTK test program, checking why..."
10828 CFLAGS="$CFLAGS $GTK_CFLAGS"
10829 LIBS="$LIBS $GTK_LIBS"
10830 cat > conftest.$ac_ext <<EOF
10831 #line 10832 "configure"
10832 #include "confdefs.h"
10833
10834 #include <gtk/gtk.h>
10835 #include <stdio.h>
10836
10837 int main() {
10838 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10839 ; return 0; }
10840 EOF
10841 if { (eval echo configure:10842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10842 rm -rf conftest*
10843 echo "*** The test program compiled, but did not run. This usually means"
10844 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10845 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10846 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10847 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10848 echo "*** is required on your system"
10849 echo "***"
10850 echo "*** If you have an old version installed, it is best to remove it, although"
10851 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10852 echo "***"
10853 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10854 echo "*** came with the system with the command"
10855 echo "***"
10856 echo "*** rpm --erase --nodeps gtk gtk-devel"
10857 else
10858 echo "configure: failed program was:" >&5
10859 cat conftest.$ac_ext >&5
10860 rm -rf conftest*
10861 echo "*** The test program failed to compile or link. See the file config.log for the"
10862 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10863 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10864 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10865 fi
10866 rm -f conftest*
10867 CFLAGS="$ac_save_CFLAGS"
10868 LIBS="$ac_save_LIBS"
10869 fi
10870 fi
10871 GTK_CFLAGS=""
10872 GTK_LIBS=""
10873 :
10874 fi
10875
10876
10877 rm -f conf.gtktest
10878
10879 fi
10880
10881 if test -z "$wx_cv_lib_gtk"; then
10882 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10883 if test "${with_gtk_prefix+set}" = set; then
10884 withval="$with_gtk_prefix"
10885 gtk_config_prefix="$withval"
10886 else
10887 gtk_config_prefix=""
10888 fi
10889
10890 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10891 if test "${with_gtk_exec_prefix+set}" = set; then
10892 withval="$with_gtk_exec_prefix"
10893 gtk_config_exec_prefix="$withval"
10894 else
10895 gtk_config_exec_prefix=""
10896 fi
10897
10898 # Check whether --enable-gtktest or --disable-gtktest was given.
10899 if test "${enable_gtktest+set}" = set; then
10900 enableval="$enable_gtktest"
10901 :
10902 else
10903 enable_gtktest=yes
10904 fi
10905
10906
10907 for module in . $GTK_MODULES
10908 do
10909 case "$module" in
10910 gthread)
10911 gtk_config_args="$gtk_config_args gthread"
10912 ;;
10913 esac
10914 done
10915
10916 if test x$gtk_config_exec_prefix != x ; then
10917 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10918 if test x${GTK_CONFIG+set} != xset ; then
10919 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
10920 fi
10921 fi
10922 if test x$gtk_config_prefix != x ; then
10923 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
10924 if test x${GTK_CONFIG+set} != xset ; then
10925 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
10926 fi
10927 fi
10928
10929 # Extract the first word of "gtk-config", so it can be a program name with args.
10930 set dummy gtk-config; ac_word=$2
10931 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10932 echo "configure:10933: checking for $ac_word" >&5
10933 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10934 echo $ac_n "(cached) $ac_c" 1>&6
10935 else
10936 case "$GTK_CONFIG" in
10937 /*)
10938 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
10939 ;;
10940 ?:/*)
10941 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
10942 ;;
10943 *)
10944 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
10945 ac_dummy="$PATH"
10946 for ac_dir in $ac_dummy; do
10947 test -z "$ac_dir" && ac_dir=.
10948 if test -f $ac_dir/$ac_word; then
10949 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
10950 break
10951 fi
10952 done
10953 IFS="$ac_save_ifs"
10954 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
10955 ;;
10956 esac
10957 fi
10958 GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
10959 if test -n "$GTK_CONFIG"; then
10960 echo "$ac_t""$GTK_CONFIG" 1>&6
10961 else
10962 echo "$ac_t""no" 1>&6
10963 fi
10964
10965 min_gtk_version=1.2.3
10966 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10967 echo "configure:10968: checking for GTK - version >= $min_gtk_version" >&5
10968 no_gtk=""
10969 if test "$GTK_CONFIG" = "no" ; then
10970 no_gtk=yes
10971 else
10972 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
10973 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
10974 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
10975 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10976 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
10977 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10978 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
10979 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10980 if test "x$enable_gtktest" = "xyes" ; then
10981 ac_save_CFLAGS="$CFLAGS"
10982 ac_save_LIBS="$LIBS"
10983 CFLAGS="$CFLAGS $GTK_CFLAGS"
10984 LIBS="$GTK_LIBS $LIBS"
10985 rm -f conf.gtktest
10986 if test "$cross_compiling" = yes; then
10987 echo $ac_n "cross compiling; assumed OK... $ac_c"
10988 else
10989 cat > conftest.$ac_ext <<EOF
10990 #line 10991 "configure"
10991 #include "confdefs.h"
10992
10993 #include <gtk/gtk.h>
10994 #include <stdio.h>
10995 #include <stdlib.h>
10996
10997 int
10998 main ()
10999 {
11000 int major, minor, micro;
11001 char *tmp_version;
11002
11003 system ("touch conf.gtktest");
11004
11005 /* HP/UX 9 (%@#!) writes to sscanf strings */
11006 tmp_version = g_strdup("$min_gtk_version");
11007 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
11008 printf("%s, bad version string\n", "$min_gtk_version");
11009 exit(1);
11010 }
11011
11012 if ((gtk_major_version != $gtk_config_major_version) ||
11013 (gtk_minor_version != $gtk_config_minor_version) ||
11014 (gtk_micro_version != $gtk_config_micro_version))
11015 {
11016 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
11017 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
11018 gtk_major_version, gtk_minor_version, gtk_micro_version);
11019 printf ("*** was found! If gtk-config was correct, then it is best\n");
11020 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
11021 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
11022 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
11023 printf("*** required on your system.\n");
11024 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
11025 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
11026 printf("*** before re-running configure\n");
11027 }
11028 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
11029 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
11030 (gtk_minor_version != GTK_MINOR_VERSION) ||
11031 (gtk_micro_version != GTK_MICRO_VERSION))
11032 {
11033 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
11034 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
11035 printf("*** library (version %d.%d.%d)\n",
11036 gtk_major_version, gtk_minor_version, gtk_micro_version);
11037 }
11038 #endif /* defined (GTK_MAJOR_VERSION) ... */
11039 else
11040 {
11041 if ((gtk_major_version > major) ||
11042 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11043 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11044 {
11045 return 0;
11046 }
11047 else
11048 {
11049 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11050 gtk_major_version, gtk_minor_version, gtk_micro_version);
11051 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11052 major, minor, micro);
11053 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11054 printf("***\n");
11055 printf("*** If you have already installed a sufficiently new version, this error\n");
11056 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
11057 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11058 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
11059 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
11060 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11061 printf("*** so that the correct libraries are found at run-time))\n");
11062 }
11063 }
11064 return 1;
11065 }
11066
11067 EOF
11068 if { (eval echo configure:11069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11069 then
11070 :
11071 else
11072 echo "configure: failed program was:" >&5
11073 cat conftest.$ac_ext >&5
11074 rm -fr conftest*
11075 no_gtk=yes
11076 fi
11077 rm -fr conftest*
11078 fi
11079
11080 CFLAGS="$ac_save_CFLAGS"
11081 LIBS="$ac_save_LIBS"
11082 fi
11083 fi
11084 if test "x$no_gtk" = x ; then
11085 echo "$ac_t""yes" 1>&6
11086 wx_cv_lib_gtk=1.2.3
11087 else
11088 echo "$ac_t""no" 1>&6
11089 if test "$GTK_CONFIG" = "no" ; then
11090 echo "*** The gtk-config script installed by GTK could not be found"
11091 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
11092 echo "*** your path, or set the GTK_CONFIG environment variable to the"
11093 echo "*** full path to gtk-config."
11094 else
11095 if test -f conf.gtktest ; then
11096 :
11097 else
11098 echo "*** Could not run GTK test program, checking why..."
11099 CFLAGS="$CFLAGS $GTK_CFLAGS"
11100 LIBS="$LIBS $GTK_LIBS"
11101 cat > conftest.$ac_ext <<EOF
11102 #line 11103 "configure"
11103 #include "confdefs.h"
11104
11105 #include <gtk/gtk.h>
11106 #include <stdio.h>
11107
11108 int main() {
11109 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
11110 ; return 0; }
11111 EOF
11112 if { (eval echo configure:11113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11113 rm -rf conftest*
11114 echo "*** The test program compiled, but did not run. This usually means"
11115 echo "*** that the run-time linker is not finding GTK or finding the wrong"
11116 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
11117 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11118 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11119 echo "*** is required on your system"
11120 echo "***"
11121 echo "*** If you have an old version installed, it is best to remove it, although"
11122 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11123 echo "***"
11124 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
11125 echo "*** came with the system with the command"
11126 echo "***"
11127 echo "*** rpm --erase --nodeps gtk gtk-devel"
11128 else
11129 echo "configure: failed program was:" >&5
11130 cat conftest.$ac_ext >&5
11131 rm -rf conftest*
11132 echo "*** The test program failed to compile or link. See the file config.log for the"
11133 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
11134 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
11135 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
11136 fi
11137 rm -f conftest*
11138 CFLAGS="$ac_save_CFLAGS"
11139 LIBS="$ac_save_LIBS"
11140 fi
11141 fi
11142 GTK_CFLAGS=""
11143 GTK_LIBS=""
11144 :
11145 fi
11146
11147
11148 rm -f conf.gtktest
11149
11150 fi
11151
11152 if test -z "$wx_cv_lib_gtk"; then
11153 wx_cv_lib_gtk=none
11154 else
11155 wx_cv_cflags_gtk=$GTK_CFLAGS
11156 wx_cv_libs_gtk=$GTK_LIBS
11157 fi
11158
11159
11160 fi
11161
11162
11163 if test "$gtk_version_cached" = 1; then
11164 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
11165 fi
11166
11167 case "$wx_cv_lib_gtk" in
11168 2.0) WXGTK20=1
11169 ;;
11170 1.2.7) WXGTK127=1
11171 WXGTK12=1
11172 ;;
11173 1.2.3) WXGTK12=1
11174 ;;
11175 *) { echo "configure: error:
11176 Please check that gtk-config is in path, the directory
11177 where GTK+ libraries are installed (returned by
11178 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
11179 equivalent variable and GTK+ is version 1.2.3 or above.
11180 " 1>&2; exit 1; }
11181 ;;
11182 esac
11183
11184 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
11185 GUI_TK_LIBRARY="$wx_cv_libs_gtk"
11186
11187 AFMINSTALL=afminstall
11188 TOOLKIT=GTK
11189 GUIDIST=GTK_DIST
11190
11191 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
11192 echo "configure:11193: checking for gdk_im_open in -lgdk" >&5
11193 ac_lib_var=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
11194 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11195 echo $ac_n "(cached) $ac_c" 1>&6
11196 else
11197 ac_save_LIBS="$LIBS"
11198 LIBS="-lgdk $LIBS"
11199 cat > conftest.$ac_ext <<EOF
11200 #line 11201 "configure"
11201 #include "confdefs.h"
11202 /* Override any gcc2 internal prototype to avoid an error. */
11203 /* We use char because int might match the return type of a gcc2
11204 builtin and then its argument prototype would still apply. */
11205 char gdk_im_open();
11206
11207 int main() {
11208 gdk_im_open()
11209 ; return 0; }
11210 EOF
11211 if { (eval echo configure:11212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11212 rm -rf conftest*
11213 eval "ac_cv_lib_$ac_lib_var=yes"
11214 else
11215 echo "configure: failed program was:" >&5
11216 cat conftest.$ac_ext >&5
11217 rm -rf conftest*
11218 eval "ac_cv_lib_$ac_lib_var=no"
11219 fi
11220 rm -f conftest*
11221 LIBS="$ac_save_LIBS"
11222
11223 fi
11224 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11225 echo "$ac_t""yes" 1>&6
11226 cat >> confdefs.h <<\EOF
11227 #define HAVE_XIM 1
11228 EOF
11229
11230 else
11231 echo "$ac_t""no" 1>&6
11232 fi
11233
11234 fi
11235
11236 if test "$wxUSE_MGL" = 1; then
11237 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
11238 echo "configure:11239: checking for SciTech MGL library" >&5
11239 if test "x$MGL_ROOT" = x ; then
11240 echo "$ac_t""not found" 1>&6
11241 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
11242 else
11243 echo "$ac_t""$MGL_ROOT" 1>&6
11244 fi
11245
11246 case "${host}" in
11247 *-*-linux* )
11248 mgl_os=linux/gcc/glibc
11249 ;;
11250 *-pc-msdosdjgpp )
11251 mgl_os=dos32/dj2
11252 ;;
11253 *)
11254 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
11255 esac
11256
11257 mgl_lib_type=""
11258
11259 if test "$wxUSE_DEBUG_FLAG" = yes ; then
11260 if test -f $MGL_ROOT/lib/debug/$mgl_os/libmgl.a -o \
11261 -f $MGL_ROOT/lib/debug/$mgl_os/libmgl.so; then
11262 mgl_lib_type=debug
11263 fi
11264 fi
11265 if test "x$mgl_lib_type" = x ; then
11266 if test -f $MGL_ROOT/lib/release/$mgl_os/libmgl.a -o \
11267 -f $MGL_ROOT/lib/release/$mgl_os/libmgl.so; then
11268 mgl_lib_type=release
11269 else
11270 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
11271 fi
11272 fi
11273
11274 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
11275 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
11276
11277 AFMINSTALL=afminstall
11278 TOOLKIT=MGL
11279 GUIDIST=MGL_DIST
11280 fi
11281
11282 if test "$wxUSE_MICROWIN" = 1; then
11283 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
11284 echo "configure:11285: checking for MicroWindows" >&5
11285 if test "x$MICROWINDOWS" = x ; then
11286 echo "$ac_t""not found" 1>&6
11287 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
11288 else
11289 echo "$ac_t""$MICROWINDOWS" 1>&6
11290 fi
11291
11292 if test -f $MICROWINDOWS/lib/libmwin.a; then
11293 echo "$ac_t""MicroWindows' libraries found." 1>&6
11294 else
11295 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
11296 fi
11297
11298 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
11299 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
11300
11301 AFMINSTALL=afminstall
11302 TOOLKIT=MICROWIN
11303 GUIDIST=MICROWIN_DIST
11304
11305 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__ -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
11306 fi
11307
11308 if test "$wxUSE_WINE" = 1; then
11309 ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'`
11310 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
11311 echo "configure:11312: checking for windows.h" >&5
11312 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11313 echo $ac_n "(cached) $ac_c" 1>&6
11314 else
11315 cat > conftest.$ac_ext <<EOF
11316 #line 11317 "configure"
11317 #include "confdefs.h"
11318 #include <windows.h>
11319 EOF
11320 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11321 { (eval echo configure:11322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11322 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11323 if test -z "$ac_err"; then
11324 rm -rf conftest*
11325 eval "ac_cv_header_$ac_safe=yes"
11326 else
11327 echo "$ac_err" >&5
11328 echo "configure: failed program was:" >&5
11329 cat conftest.$ac_ext >&5
11330 rm -rf conftest*
11331 eval "ac_cv_header_$ac_safe=no"
11332 fi
11333 rm -f conftest*
11334 fi
11335 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11336 echo "$ac_t""yes" 1>&6
11337 :
11338 else
11339 echo "$ac_t""no" 1>&6
11340
11341 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
11342
11343 fi
11344
11345
11346 xpm_link=
11347 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
11348 echo "configure:11349: checking for Xpm library" >&5
11349
11350 ac_find_libraries=
11351 for ac_dir in $SEARCH_LIB;
11352 do
11353 for ac_extension in a so sl dylib; do
11354 if test -f "$ac_dir/libXpm.$ac_extension"; then
11355 ac_find_libraries=$ac_dir
11356 break 2
11357 fi
11358 done
11359 done
11360
11361 if test "$ac_find_libraries" != "" ; then
11362 GUI_TK_LIBRARY="-L$ac_find_libraries"
11363 xpm_link=" -lXpm"
11364 cat >> confdefs.h <<\EOF
11365 #define wxHAVE_LIB_XPM 1
11366 EOF
11367
11368 echo "$ac_t""found at $ac_find_libraries" 1>&6
11369 else
11370 echo "$ac_t""no" 1>&6
11371 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
11372 fi
11373
11374 mesa_link=
11375 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
11376 echo "configure:11377: checking for Mesa library" >&5
11377
11378 ac_find_libraries=
11379 for ac_dir in $SEARCH_LIB;
11380 do
11381 for ac_extension in a so sl dylib; do
11382 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
11383 ac_find_libraries=$ac_dir
11384 break 2
11385 fi
11386 done
11387 done
11388
11389 if test "$ac_find_libraries" != "" ; then
11390 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -L$ac_find_libraries"
11391 mesa_link=" -lMesaGL"
11392 echo "$ac_t""found at $ac_find_libraries" 1>&6
11393 else
11394 { echo "configure: error: no" 1>&2; exit 1; }
11395 fi
11396
11397 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
11398 TOOLKIT=MSW
11399 GUIDIST=MSW_DIST
11400 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXWINE__"
11401 fi
11402
11403 if test "$wxUSE_MOTIF" = 1; then
11404 # If we find X, set shell vars x_includes and x_libraries to the
11405 # paths, otherwise set no_x=yes.
11406 # Uses ac_ vars as temps to allow command line to override cache and checks.
11407 # --without-x overrides everything else, but does not touch the cache.
11408 echo $ac_n "checking for X""... $ac_c" 1>&6
11409 echo "configure:11410: checking for X" >&5
11410
11411 # Check whether --with-x or --without-x was given.
11412 if test "${with_x+set}" = set; then
11413 withval="$with_x"
11414 :
11415 fi
11416
11417 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11418 if test "x$with_x" = xno; then
11419 # The user explicitly disabled X.
11420 have_x=disabled
11421 else
11422 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
11423 # Both variables are already set.
11424 have_x=yes
11425 else
11426 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
11427 echo $ac_n "(cached) $ac_c" 1>&6
11428 else
11429 # One or both of the vars are not set, and there is no cached value.
11430 ac_x_includes=NO ac_x_libraries=NO
11431 rm -fr conftestdir
11432 if mkdir conftestdir; then
11433 cd conftestdir
11434 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
11435 cat > Imakefile <<'EOF'
11436 acfindx:
11437 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
11438 EOF
11439 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
11440 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11441 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
11442 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11443 for ac_extension in a so sl; do
11444 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
11445 test -f $ac_im_libdir/libX11.$ac_extension; then
11446 ac_im_usrlibdir=$ac_im_libdir; break
11447 fi
11448 done
11449 # Screen out bogus values from the imake configuration. They are
11450 # bogus both because they are the default anyway, and because
11451 # using them would break gcc on systems where it needs fixed includes.
11452 case "$ac_im_incroot" in
11453 /usr/include) ;;
11454 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
11455 esac
11456 case "$ac_im_usrlibdir" in
11457 /usr/lib | /lib) ;;
11458 *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
11459 esac
11460 fi
11461 cd ..
11462 rm -fr conftestdir
11463 fi
11464
11465 if test "$ac_x_includes" = NO; then
11466 # Guess where to find include files, by looking for this one X11 .h file.
11467 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
11468
11469 # First, try using that file with no special directory specified.
11470 cat > conftest.$ac_ext <<EOF
11471 #line 11472 "configure"
11472 #include "confdefs.h"
11473 #include <$x_direct_test_include>
11474 EOF
11475 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11476 { (eval echo configure:11477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11477 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11478 if test -z "$ac_err"; then
11479 rm -rf conftest*
11480 # We can compile using X headers with no special include directory.
11481 ac_x_includes=
11482 else
11483 echo "$ac_err" >&5
11484 echo "configure: failed program was:" >&5
11485 cat conftest.$ac_ext >&5
11486 rm -rf conftest*
11487 # Look for the header file in a standard set of common directories.
11488 # Check X11 before X11Rn because it is often a symlink to the current release.
11489 for ac_dir in \
11490 /usr/X11/include \
11491 /usr/X11R6/include \
11492 /usr/X11R5/include \
11493 /usr/X11R4/include \
11494 \
11495 /usr/include/X11 \
11496 /usr/include/X11R6 \
11497 /usr/include/X11R5 \
11498 /usr/include/X11R4 \
11499 \
11500 /usr/local/X11/include \
11501 /usr/local/X11R6/include \
11502 /usr/local/X11R5/include \
11503 /usr/local/X11R4/include \
11504 \
11505 /usr/local/include/X11 \
11506 /usr/local/include/X11R6 \
11507 /usr/local/include/X11R5 \
11508 /usr/local/include/X11R4 \
11509 \
11510 /usr/X386/include \
11511 /usr/x386/include \
11512 /usr/XFree86/include/X11 \
11513 \
11514 /usr/include \
11515 /usr/local/include \
11516 /usr/unsupported/include \
11517 /usr/athena/include \
11518 /usr/local/x11r5/include \
11519 /usr/lpp/Xamples/include \
11520 \
11521 /usr/openwin/include \
11522 /usr/openwin/share/include \
11523 ; \
11524 do
11525 if test -r "$ac_dir/$x_direct_test_include"; then
11526 ac_x_includes=$ac_dir
11527 break
11528 fi
11529 done
11530 fi
11531 rm -f conftest*
11532 fi # $ac_x_includes = NO
11533
11534 if test "$ac_x_libraries" = NO; then
11535 # Check for the libraries.
11536
11537 test -z "$x_direct_test_library" && x_direct_test_library=Xt
11538 test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
11539
11540 # See if we find them without any special options.
11541 # Don't add to $LIBS permanently.
11542 ac_save_LIBS="$LIBS"
11543 LIBS="-l$x_direct_test_library $LIBS"
11544 cat > conftest.$ac_ext <<EOF
11545 #line 11546 "configure"
11546 #include "confdefs.h"
11547
11548 int main() {
11549 ${x_direct_test_function}()
11550 ; return 0; }
11551 EOF
11552 if { (eval echo configure:11553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11553 rm -rf conftest*
11554 LIBS="$ac_save_LIBS"
11555 # We can link X programs with no special library path.
11556 ac_x_libraries=
11557 else
11558 echo "configure: failed program was:" >&5
11559 cat conftest.$ac_ext >&5
11560 rm -rf conftest*
11561 LIBS="$ac_save_LIBS"
11562 # First see if replacing the include by lib works.
11563 # Check X11 before X11Rn because it is often a symlink to the current release.
11564 for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
11565 /usr/X11/lib \
11566 /usr/X11R6/lib \
11567 /usr/X11R5/lib \
11568 /usr/X11R4/lib \
11569 \
11570 /usr/lib/X11 \
11571 /usr/lib/X11R6 \
11572 /usr/lib/X11R5 \
11573 /usr/lib/X11R4 \
11574 \
11575 /usr/local/X11/lib \
11576 /usr/local/X11R6/lib \
11577 /usr/local/X11R5/lib \
11578 /usr/local/X11R4/lib \
11579 \
11580 /usr/local/lib/X11 \
11581 /usr/local/lib/X11R6 \
11582 /usr/local/lib/X11R5 \
11583 /usr/local/lib/X11R4 \
11584 \
11585 /usr/X386/lib \
11586 /usr/x386/lib \
11587 /usr/XFree86/lib/X11 \
11588 \
11589 /usr/lib \
11590 /usr/local/lib \
11591 /usr/unsupported/lib \
11592 /usr/athena/lib \
11593 /usr/local/x11r5/lib \
11594 /usr/lpp/Xamples/lib \
11595 /lib/usr/lib/X11 \
11596 \
11597 /usr/openwin/lib \
11598 /usr/openwin/share/lib \
11599 ; \
11600 do
11601 for ac_extension in a so sl; do
11602 if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
11603 ac_x_libraries=$ac_dir
11604 break 2
11605 fi
11606 done
11607 done
11608 fi
11609 rm -f conftest*
11610 fi # $ac_x_libraries = NO
11611
11612 if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then
11613 # Didn't find X anywhere. Cache the known absence of X.
11614 ac_cv_have_x="have_x=no"
11615 else
11616 # Record where we found X for the cache.
11617 ac_cv_have_x="have_x=yes \
11618 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
11619 fi
11620 fi
11621 fi
11622 eval "$ac_cv_have_x"
11623 fi # $with_x != no
11624
11625 if test "$have_x" != yes; then
11626 echo "$ac_t""$have_x" 1>&6
11627 no_x=yes
11628 else
11629 # If each of the values was on the command line, it overrides each guess.
11630 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11631 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11632 # Update the cache value to reflect the command line values.
11633 ac_cv_have_x="have_x=yes \
11634 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
11635 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
11636 fi
11637
11638 if test "$no_x" = yes; then
11639 # Not all programs may use this symbol, but it does not hurt to define it.
11640 cat >> confdefs.h <<\EOF
11641 #define X_DISPLAY_MISSING 1
11642 EOF
11643
11644 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11645 else
11646 if test -n "$x_includes"; then
11647 X_CFLAGS="$X_CFLAGS -I$x_includes"
11648 fi
11649
11650 # It would also be nice to do this for all -L options, not just this one.
11651 if test -n "$x_libraries"; then
11652 X_LIBS="$X_LIBS -L$x_libraries"
11653 # For Solaris; some versions of Sun CC require a space after -R and
11654 # others require no space. Words are not sufficient . . . .
11655 case "`(uname -sr) 2>/dev/null`" in
11656 "SunOS 5"*)
11657 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
11658 echo "configure:11659: checking whether -R must be followed by a space" >&5
11659 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
11660 cat > conftest.$ac_ext <<EOF
11661 #line 11662 "configure"
11662 #include "confdefs.h"
11663
11664 int main() {
11665
11666 ; return 0; }
11667 EOF
11668 if { (eval echo configure:11669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11669 rm -rf conftest*
11670 ac_R_nospace=yes
11671 else
11672 echo "configure: failed program was:" >&5
11673 cat conftest.$ac_ext >&5
11674 rm -rf conftest*
11675 ac_R_nospace=no
11676 fi
11677 rm -f conftest*
11678 if test $ac_R_nospace = yes; then
11679 echo "$ac_t""no" 1>&6
11680 X_LIBS="$X_LIBS -R$x_libraries"
11681 else
11682 LIBS="$ac_xsave_LIBS -R $x_libraries"
11683 cat > conftest.$ac_ext <<EOF
11684 #line 11685 "configure"
11685 #include "confdefs.h"
11686
11687 int main() {
11688
11689 ; return 0; }
11690 EOF
11691 if { (eval echo configure:11692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11692 rm -rf conftest*
11693 ac_R_space=yes
11694 else
11695 echo "configure: failed program was:" >&5
11696 cat conftest.$ac_ext >&5
11697 rm -rf conftest*
11698 ac_R_space=no
11699 fi
11700 rm -f conftest*
11701 if test $ac_R_space = yes; then
11702 echo "$ac_t""yes" 1>&6
11703 X_LIBS="$X_LIBS -R $x_libraries"
11704 else
11705 echo "$ac_t""neither works" 1>&6
11706 fi
11707 fi
11708 LIBS="$ac_xsave_LIBS"
11709 esac
11710 fi
11711
11712 # Check for system-dependent libraries X programs must link with.
11713 # Do this before checking for the system-independent R6 libraries
11714 # (-lICE), since we may need -lsocket or whatever for X linking.
11715
11716 if test "$ISC" = yes; then
11717 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11718 else
11719 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
11720 # libraries were built with DECnet support. And karl@cs.umb.edu says
11721 # the Alpha needs dnet_stub (dnet does not exist).
11722 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
11723 echo "configure:11724: checking for dnet_ntoa in -ldnet" >&5
11724 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11725 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11726 echo $ac_n "(cached) $ac_c" 1>&6
11727 else
11728 ac_save_LIBS="$LIBS"
11729 LIBS="-ldnet $LIBS"
11730 cat > conftest.$ac_ext <<EOF
11731 #line 11732 "configure"
11732 #include "confdefs.h"
11733 /* Override any gcc2 internal prototype to avoid an error. */
11734 /* We use char because int might match the return type of a gcc2
11735 builtin and then its argument prototype would still apply. */
11736 char dnet_ntoa();
11737
11738 int main() {
11739 dnet_ntoa()
11740 ; return 0; }
11741 EOF
11742 if { (eval echo configure:11743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11743 rm -rf conftest*
11744 eval "ac_cv_lib_$ac_lib_var=yes"
11745 else
11746 echo "configure: failed program was:" >&5
11747 cat conftest.$ac_ext >&5
11748 rm -rf conftest*
11749 eval "ac_cv_lib_$ac_lib_var=no"
11750 fi
11751 rm -f conftest*
11752 LIBS="$ac_save_LIBS"
11753
11754 fi
11755 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11756 echo "$ac_t""yes" 1>&6
11757 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11758 else
11759 echo "$ac_t""no" 1>&6
11760 fi
11761
11762 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11763 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
11764 echo "configure:11765: checking for dnet_ntoa in -ldnet_stub" >&5
11765 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11766 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11767 echo $ac_n "(cached) $ac_c" 1>&6
11768 else
11769 ac_save_LIBS="$LIBS"
11770 LIBS="-ldnet_stub $LIBS"
11771 cat > conftest.$ac_ext <<EOF
11772 #line 11773 "configure"
11773 #include "confdefs.h"
11774 /* Override any gcc2 internal prototype to avoid an error. */
11775 /* We use char because int might match the return type of a gcc2
11776 builtin and then its argument prototype would still apply. */
11777 char dnet_ntoa();
11778
11779 int main() {
11780 dnet_ntoa()
11781 ; return 0; }
11782 EOF
11783 if { (eval echo configure:11784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11784 rm -rf conftest*
11785 eval "ac_cv_lib_$ac_lib_var=yes"
11786 else
11787 echo "configure: failed program was:" >&5
11788 cat conftest.$ac_ext >&5
11789 rm -rf conftest*
11790 eval "ac_cv_lib_$ac_lib_var=no"
11791 fi
11792 rm -f conftest*
11793 LIBS="$ac_save_LIBS"
11794
11795 fi
11796 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11797 echo "$ac_t""yes" 1>&6
11798 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11799 else
11800 echo "$ac_t""no" 1>&6
11801 fi
11802
11803 fi
11804
11805 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11806 # to get the SysV transport functions.
11807 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
11808 # needs -lnsl.
11809 # The nsl library prevents programs from opening the X display
11810 # on Irix 5.2, according to dickey@clark.net.
11811 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
11812 echo "configure:11813: checking for gethostbyname" >&5
11813 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
11814 echo $ac_n "(cached) $ac_c" 1>&6
11815 else
11816 cat > conftest.$ac_ext <<EOF
11817 #line 11818 "configure"
11818 #include "confdefs.h"
11819 /* System header to define __stub macros and hopefully few prototypes,
11820 which can conflict with char gethostbyname(); below. */
11821 #include <assert.h>
11822 /* Override any gcc2 internal prototype to avoid an error. */
11823 /* We use char because int might match the return type of a gcc2
11824 builtin and then its argument prototype would still apply. */
11825 char gethostbyname();
11826
11827 int main() {
11828
11829 /* The GNU C library defines this for functions which it implements
11830 to always fail with ENOSYS. Some functions are actually named
11831 something starting with __ and the normal name is an alias. */
11832 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11833 choke me
11834 #else
11835 gethostbyname();
11836 #endif
11837
11838 ; return 0; }
11839 EOF
11840 if { (eval echo configure:11841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11841 rm -rf conftest*
11842 eval "ac_cv_func_gethostbyname=yes"
11843 else
11844 echo "configure: failed program was:" >&5
11845 cat conftest.$ac_ext >&5
11846 rm -rf conftest*
11847 eval "ac_cv_func_gethostbyname=no"
11848 fi
11849 rm -f conftest*
11850 fi
11851
11852 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
11853 echo "$ac_t""yes" 1>&6
11854 :
11855 else
11856 echo "$ac_t""no" 1>&6
11857 fi
11858
11859 if test $ac_cv_func_gethostbyname = no; then
11860 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
11861 echo "configure:11862: checking for gethostbyname in -lnsl" >&5
11862 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
11863 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11864 echo $ac_n "(cached) $ac_c" 1>&6
11865 else
11866 ac_save_LIBS="$LIBS"
11867 LIBS="-lnsl $LIBS"
11868 cat > conftest.$ac_ext <<EOF
11869 #line 11870 "configure"
11870 #include "confdefs.h"
11871 /* Override any gcc2 internal prototype to avoid an error. */
11872 /* We use char because int might match the return type of a gcc2
11873 builtin and then its argument prototype would still apply. */
11874 char gethostbyname();
11875
11876 int main() {
11877 gethostbyname()
11878 ; return 0; }
11879 EOF
11880 if { (eval echo configure:11881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11881 rm -rf conftest*
11882 eval "ac_cv_lib_$ac_lib_var=yes"
11883 else
11884 echo "configure: failed program was:" >&5
11885 cat conftest.$ac_ext >&5
11886 rm -rf conftest*
11887 eval "ac_cv_lib_$ac_lib_var=no"
11888 fi
11889 rm -f conftest*
11890 LIBS="$ac_save_LIBS"
11891
11892 fi
11893 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11894 echo "$ac_t""yes" 1>&6
11895 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11896 else
11897 echo "$ac_t""no" 1>&6
11898 fi
11899
11900 fi
11901
11902 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11903 # socket/setsockopt and other routines are undefined under SCO ODT
11904 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11905 # on later versions), says simon@lia.di.epfl.ch: it contains
11906 # gethostby* variants that don't use the nameserver (or something).
11907 # -lsocket must be given before -lnsl if both are needed.
11908 # We assume that if connect needs -lnsl, so does gethostbyname.
11909 echo $ac_n "checking for connect""... $ac_c" 1>&6
11910 echo "configure:11911: checking for connect" >&5
11911 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
11912 echo $ac_n "(cached) $ac_c" 1>&6
11913 else
11914 cat > conftest.$ac_ext <<EOF
11915 #line 11916 "configure"
11916 #include "confdefs.h"
11917 /* System header to define __stub macros and hopefully few prototypes,
11918 which can conflict with char connect(); below. */
11919 #include <assert.h>
11920 /* Override any gcc2 internal prototype to avoid an error. */
11921 /* We use char because int might match the return type of a gcc2
11922 builtin and then its argument prototype would still apply. */
11923 char connect();
11924
11925 int main() {
11926
11927 /* The GNU C library defines this for functions which it implements
11928 to always fail with ENOSYS. Some functions are actually named
11929 something starting with __ and the normal name is an alias. */
11930 #if defined (__stub_connect) || defined (__stub___connect)
11931 choke me
11932 #else
11933 connect();
11934 #endif
11935
11936 ; return 0; }
11937 EOF
11938 if { (eval echo configure:11939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11939 rm -rf conftest*
11940 eval "ac_cv_func_connect=yes"
11941 else
11942 echo "configure: failed program was:" >&5
11943 cat conftest.$ac_ext >&5
11944 rm -rf conftest*
11945 eval "ac_cv_func_connect=no"
11946 fi
11947 rm -f conftest*
11948 fi
11949
11950 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
11951 echo "$ac_t""yes" 1>&6
11952 :
11953 else
11954 echo "$ac_t""no" 1>&6
11955 fi
11956
11957 if test $ac_cv_func_connect = no; then
11958 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
11959 echo "configure:11960: checking for connect in -lsocket" >&5
11960 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
11961 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11962 echo $ac_n "(cached) $ac_c" 1>&6
11963 else
11964 ac_save_LIBS="$LIBS"
11965 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11966 cat > conftest.$ac_ext <<EOF
11967 #line 11968 "configure"
11968 #include "confdefs.h"
11969 /* Override any gcc2 internal prototype to avoid an error. */
11970 /* We use char because int might match the return type of a gcc2
11971 builtin and then its argument prototype would still apply. */
11972 char connect();
11973
11974 int main() {
11975 connect()
11976 ; return 0; }
11977 EOF
11978 if { (eval echo configure:11979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11979 rm -rf conftest*
11980 eval "ac_cv_lib_$ac_lib_var=yes"
11981 else
11982 echo "configure: failed program was:" >&5
11983 cat conftest.$ac_ext >&5
11984 rm -rf conftest*
11985 eval "ac_cv_lib_$ac_lib_var=no"
11986 fi
11987 rm -f conftest*
11988 LIBS="$ac_save_LIBS"
11989
11990 fi
11991 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11992 echo "$ac_t""yes" 1>&6
11993 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11994 else
11995 echo "$ac_t""no" 1>&6
11996 fi
11997
11998 fi
11999
12000 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
12001 echo $ac_n "checking for remove""... $ac_c" 1>&6
12002 echo "configure:12003: checking for remove" >&5
12003 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
12004 echo $ac_n "(cached) $ac_c" 1>&6
12005 else
12006 cat > conftest.$ac_ext <<EOF
12007 #line 12008 "configure"
12008 #include "confdefs.h"
12009 /* System header to define __stub macros and hopefully few prototypes,
12010 which can conflict with char remove(); below. */
12011 #include <assert.h>
12012 /* Override any gcc2 internal prototype to avoid an error. */
12013 /* We use char because int might match the return type of a gcc2
12014 builtin and then its argument prototype would still apply. */
12015 char remove();
12016
12017 int main() {
12018
12019 /* The GNU C library defines this for functions which it implements
12020 to always fail with ENOSYS. Some functions are actually named
12021 something starting with __ and the normal name is an alias. */
12022 #if defined (__stub_remove) || defined (__stub___remove)
12023 choke me
12024 #else
12025 remove();
12026 #endif
12027
12028 ; return 0; }
12029 EOF
12030 if { (eval echo configure:12031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12031 rm -rf conftest*
12032 eval "ac_cv_func_remove=yes"
12033 else
12034 echo "configure: failed program was:" >&5
12035 cat conftest.$ac_ext >&5
12036 rm -rf conftest*
12037 eval "ac_cv_func_remove=no"
12038 fi
12039 rm -f conftest*
12040 fi
12041
12042 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
12043 echo "$ac_t""yes" 1>&6
12044 :
12045 else
12046 echo "$ac_t""no" 1>&6
12047 fi
12048
12049 if test $ac_cv_func_remove = no; then
12050 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
12051 echo "configure:12052: checking for remove in -lposix" >&5
12052 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
12053 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12054 echo $ac_n "(cached) $ac_c" 1>&6
12055 else
12056 ac_save_LIBS="$LIBS"
12057 LIBS="-lposix $LIBS"
12058 cat > conftest.$ac_ext <<EOF
12059 #line 12060 "configure"
12060 #include "confdefs.h"
12061 /* Override any gcc2 internal prototype to avoid an error. */
12062 /* We use char because int might match the return type of a gcc2
12063 builtin and then its argument prototype would still apply. */
12064 char remove();
12065
12066 int main() {
12067 remove()
12068 ; return 0; }
12069 EOF
12070 if { (eval echo configure:12071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12071 rm -rf conftest*
12072 eval "ac_cv_lib_$ac_lib_var=yes"
12073 else
12074 echo "configure: failed program was:" >&5
12075 cat conftest.$ac_ext >&5
12076 rm -rf conftest*
12077 eval "ac_cv_lib_$ac_lib_var=no"
12078 fi
12079 rm -f conftest*
12080 LIBS="$ac_save_LIBS"
12081
12082 fi
12083 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12084 echo "$ac_t""yes" 1>&6
12085 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
12086 else
12087 echo "$ac_t""no" 1>&6
12088 fi
12089
12090 fi
12091
12092 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12093 echo $ac_n "checking for shmat""... $ac_c" 1>&6
12094 echo "configure:12095: checking for shmat" >&5
12095 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
12096 echo $ac_n "(cached) $ac_c" 1>&6
12097 else
12098 cat > conftest.$ac_ext <<EOF
12099 #line 12100 "configure"
12100 #include "confdefs.h"
12101 /* System header to define __stub macros and hopefully few prototypes,
12102 which can conflict with char shmat(); below. */
12103 #include <assert.h>
12104 /* Override any gcc2 internal prototype to avoid an error. */
12105 /* We use char because int might match the return type of a gcc2
12106 builtin and then its argument prototype would still apply. */
12107 char shmat();
12108
12109 int main() {
12110
12111 /* The GNU C library defines this for functions which it implements
12112 to always fail with ENOSYS. Some functions are actually named
12113 something starting with __ and the normal name is an alias. */
12114 #if defined (__stub_shmat) || defined (__stub___shmat)
12115 choke me
12116 #else
12117 shmat();
12118 #endif
12119
12120 ; return 0; }
12121 EOF
12122 if { (eval echo configure:12123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12123 rm -rf conftest*
12124 eval "ac_cv_func_shmat=yes"
12125 else
12126 echo "configure: failed program was:" >&5
12127 cat conftest.$ac_ext >&5
12128 rm -rf conftest*
12129 eval "ac_cv_func_shmat=no"
12130 fi
12131 rm -f conftest*
12132 fi
12133
12134 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
12135 echo "$ac_t""yes" 1>&6
12136 :
12137 else
12138 echo "$ac_t""no" 1>&6
12139 fi
12140
12141 if test $ac_cv_func_shmat = no; then
12142 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
12143 echo "configure:12144: checking for shmat in -lipc" >&5
12144 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
12145 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12146 echo $ac_n "(cached) $ac_c" 1>&6
12147 else
12148 ac_save_LIBS="$LIBS"
12149 LIBS="-lipc $LIBS"
12150 cat > conftest.$ac_ext <<EOF
12151 #line 12152 "configure"
12152 #include "confdefs.h"
12153 /* Override any gcc2 internal prototype to avoid an error. */
12154 /* We use char because int might match the return type of a gcc2
12155 builtin and then its argument prototype would still apply. */
12156 char shmat();
12157
12158 int main() {
12159 shmat()
12160 ; return 0; }
12161 EOF
12162 if { (eval echo configure:12163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12163 rm -rf conftest*
12164 eval "ac_cv_lib_$ac_lib_var=yes"
12165 else
12166 echo "configure: failed program was:" >&5
12167 cat conftest.$ac_ext >&5
12168 rm -rf conftest*
12169 eval "ac_cv_lib_$ac_lib_var=no"
12170 fi
12171 rm -f conftest*
12172 LIBS="$ac_save_LIBS"
12173
12174 fi
12175 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12176 echo "$ac_t""yes" 1>&6
12177 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
12178 else
12179 echo "$ac_t""no" 1>&6
12180 fi
12181
12182 fi
12183 fi
12184
12185 # Check for libraries that X11R6 Xt/Xaw programs need.
12186 ac_save_LDFLAGS="$LDFLAGS"
12187 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
12188 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12189 # check for ICE first), but we must link in the order -lSM -lICE or
12190 # we get undefined symbols. So assume we have SM if we have ICE.
12191 # These have to be linked with before -lX11, unlike the other
12192 # libraries we check for below, so use a different variable.
12193 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
12194 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
12195 echo "configure:12196: checking for IceConnectionNumber in -lICE" >&5
12196 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
12197 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12198 echo $ac_n "(cached) $ac_c" 1>&6
12199 else
12200 ac_save_LIBS="$LIBS"
12201 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
12202 cat > conftest.$ac_ext <<EOF
12203 #line 12204 "configure"
12204 #include "confdefs.h"
12205 /* Override any gcc2 internal prototype to avoid an error. */
12206 /* We use char because int might match the return type of a gcc2
12207 builtin and then its argument prototype would still apply. */
12208 char IceConnectionNumber();
12209
12210 int main() {
12211 IceConnectionNumber()
12212 ; return 0; }
12213 EOF
12214 if { (eval echo configure:12215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12215 rm -rf conftest*
12216 eval "ac_cv_lib_$ac_lib_var=yes"
12217 else
12218 echo "configure: failed program was:" >&5
12219 cat conftest.$ac_ext >&5
12220 rm -rf conftest*
12221 eval "ac_cv_lib_$ac_lib_var=no"
12222 fi
12223 rm -f conftest*
12224 LIBS="$ac_save_LIBS"
12225
12226 fi
12227 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12228 echo "$ac_t""yes" 1>&6
12229 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
12230 else
12231 echo "$ac_t""no" 1>&6
12232 fi
12233
12234 LDFLAGS="$ac_save_LDFLAGS"
12235
12236 fi
12237
12238
12239 if test "$no_x" = "yes"; then
12240 { echo "configure: error: X11 not found" 1>&2; exit 1; }
12241 fi
12242
12243 GUI_TK_LIBRARY="$X_LIBS"
12244 TOOLKIT_INCLUDE="$X_CFLAGS"
12245 AFMINSTALL=afminstall
12246 COMPILED_X_PROGRAM=0
12247
12248 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
12249 echo "configure:12250: checking for Motif/Lesstif headers" >&5
12250
12251 ac_find_includes=
12252 for ac_dir in $SEARCH_INCLUDE;
12253 do
12254 if test -f "$ac_dir/Xm/Xm.h"; then
12255 ac_find_includes=$ac_dir
12256 break
12257 fi
12258 done
12259
12260 if test "$ac_find_includes" != "" ; then
12261 echo "$ac_t""found $ac_find_includes" 1>&6
12262 else
12263 cat > conftest.$ac_ext <<EOF
12264 #line 12265 "configure"
12265 #include "confdefs.h"
12266
12267 #include <Xm/Xm.h>
12268
12269 int main() {
12270
12271 int version;
12272 version = xmUseVersion;
12273
12274 ; return 0; }
12275 EOF
12276 if { (eval echo configure:12277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12277 rm -rf conftest*
12278
12279 echo "$ac_t""found in default search path" 1>&6
12280 COMPILED_X_PROGRAM=1
12281
12282 else
12283 echo "configure: failed program was:" >&5
12284 cat conftest.$ac_ext >&5
12285 rm -rf conftest*
12286
12287 echo "$ac_t""no" 1>&6
12288 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
12289
12290
12291 fi
12292 rm -f conftest*
12293 fi
12294
12295 if test "$COMPILED_X_PROGRAM" = 0; then
12296 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
12297 echo "configure:12298: checking for Motif/Lesstif library" >&5
12298
12299 ac_find_libraries=
12300 for ac_dir in $SEARCH_LIB;
12301 do
12302 for ac_extension in a so sl dylib; do
12303 if test -f "$ac_dir/libXm.$ac_extension"; then
12304 ac_find_libraries=$ac_dir
12305 break 2
12306 fi
12307 done
12308 done
12309
12310 if test "$ac_find_libraries" != "" ; then
12311
12312 ac_path_to_include=$ac_find_includes
12313 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
12314 result=$?
12315 if test $result = 0; then
12316 ac_path_to_include=""
12317 else
12318 ac_path_to_include=" -I$ac_find_includes"
12319 fi
12320
12321
12322 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
12323 result=$?
12324 if test $result = 0; then
12325 ac_path_to_link=""
12326 else
12327 ac_path_to_link=" -L$ac_find_libraries"
12328 fi
12329
12330
12331 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
12332 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
12333 echo "$ac_t""found at $ac_find_libraries" 1>&6
12334 else
12335 cat > conftest.$ac_ext <<EOF
12336 #line 12337 "configure"
12337 #include "confdefs.h"
12338
12339 #include <Xm/Xm.h>
12340
12341 int main() {
12342
12343 int version;
12344 version = xmUseVersion;
12345
12346 ; return 0; }
12347 EOF
12348 if { (eval echo configure:12349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12349 rm -rf conftest*
12350
12351 echo "$ac_t""found in default search path" 1>&6
12352 COMPILED_X_PROGRAM=1
12353
12354 else
12355 echo "configure: failed program was:" >&5
12356 cat conftest.$ac_ext >&5
12357 rm -rf conftest*
12358
12359 echo "$ac_t""no" 1>&6
12360 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
12361
12362
12363 fi
12364 rm -f conftest*
12365 fi
12366 fi
12367
12368 xpm_link=
12369 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
12370 echo "configure:12371: checking for Xpm library" >&5
12371
12372 ac_find_libraries=
12373 for ac_dir in $SEARCH_LIB;
12374 do
12375 for ac_extension in a so sl dylib; do
12376 if test -f "$ac_dir/libXpm.$ac_extension"; then
12377 ac_find_libraries=$ac_dir
12378 break 2
12379 fi
12380 done
12381 done
12382
12383 if test "$ac_find_libraries" != "" ; then
12384
12385 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
12386 result=$?
12387 if test $result = 0; then
12388 ac_path_to_link=""
12389 else
12390 ac_path_to_link=" -L$ac_find_libraries"
12391 fi
12392
12393 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
12394 xpm_link=" -lXpm"
12395 cat >> confdefs.h <<\EOF
12396 #define wxHAVE_LIB_XPM 1
12397 EOF
12398
12399 echo "$ac_t""found at $ac_find_libraries" 1>&6
12400 else
12401 cat > conftest.$ac_ext <<EOF
12402 #line 12403 "configure"
12403 #include "confdefs.h"
12404
12405 #include <X11/xpm.h>
12406
12407 int main() {
12408
12409 int version;
12410 version = XpmLibraryVersion();
12411
12412 ; return 0; }
12413 EOF
12414 if { (eval echo configure:12415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12415 rm -rf conftest*
12416
12417 xpm_link=" -lXpm"
12418 cat >> confdefs.h <<\EOF
12419 #define wxHAVE_LIB_XPM 1
12420 EOF
12421
12422 echo "$ac_t""found in default search path" 1>&6
12423 COMPILED_X_PROGRAM=0
12424
12425 else
12426 echo "configure: failed program was:" >&5
12427 cat conftest.$ac_ext >&5
12428 rm -rf conftest*
12429
12430 echo "$ac_t""no" 1>&6
12431 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12432
12433
12434 fi
12435 rm -f conftest*
12436 fi
12437
12438 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
12439 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
12440 TOOLKIT=MOTIF
12441 GUIDIST=MOTIF_DIST
12442 fi
12443
12444 if test "$wxUSE_MAC" = 1; then
12445 if test "$wxUSE_PRECOMP" = "yes"; then
12446 CPPFLAGS="$CPPFLAGS -cpp-precomp"
12447 fi
12448 CPPFLAGS="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
12449 CFLAGS="$CFLAGS -fpascal-strings"
12450 CXXFLAGS="$CXXFLAGS -fpascal-strings"
12451
12452 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
12453 TOOLKIT=MAC
12454 GUIDIST=MACX_DIST
12455 fi
12456
12457 if test "$wxUSE_PM" = 1; then
12458 TOOLKIT=PM
12459 GUIDIST=GTK_DIST
12460 fi
12461
12462 if test "$TOOLKIT" = "PM" ; then
12463 TOOLKIT_DIR="os2"
12464 else
12465 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
12466 fi
12467
12468 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
12469
12470 if test "$wxUSE_UNIVERSAL" = "yes"; then
12471 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
12472 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
12473 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
12474 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
12475 WIDGET_SET=univ
12476 else
12477 ALL_OBJECTS="\$(GUIOBJS)"
12478 fi
12479
12480 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
12481
12482 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
12483 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
12484 fi
12485
12486 if test "$wxUSE_HTML" = "yes"; then
12487 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
12488 fi
12489
12490 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
12491 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
12492 fi
12493 if test "$wxUSE_LIBJPEG" = "builtin" ; then
12494 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
12495 fi
12496 if test "$wxUSE_LIBTIFF" = "builtin" ; then
12497 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
12498 fi
12499 if test "$wxUSE_LIBPNG" = "builtin" ; then
12500 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
12501 fi
12502 if test "$wxUSE_FREETYPE" = "builtin" ; then
12503 ALL_OBJECTS="${ALL_OBJECTS} \$(FREETYPEOBJS)"
12504 fi
12505
12506 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
12507 DISTDIR="wx\$(TOOLKIT)"
12508 else
12509 USE_GUI=0
12510
12511 TOOLKIT_DIR="base"
12512
12513 if test "$USE_WIN32" = 1 ; then
12514 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
12515 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
12516
12517 TOOLKIT="MSW"
12518 else
12519 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
12520 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
12521 fi
12522
12523 PORT_FILES="\${top_srcdir}/src/files.lst"
12524
12525 GUIDIST="BASE_DIST"
12526 DISTDIR="wxBase"
12527 fi
12528
12529 if test "$wxUSE_REGEX" = "builtin" ; then
12530 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
12531 fi
12532 if test "$wxUSE_ZLIB" = "builtin" ; then
12533 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
12534 fi
12535
12536 if test "$wxUSE_OPENGL" = "yes"; then
12537 if test "$wxUSE_MAC" = 1; then
12538 OPENGL_LIBS="-framework OpenGL -framework AGL"
12539 else
12540
12541 ac_safe=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
12542 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
12543 echo "configure:12544: checking for GL/gl.h" >&5
12544 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12545 echo $ac_n "(cached) $ac_c" 1>&6
12546 else
12547 cat > conftest.$ac_ext <<EOF
12548 #line 12549 "configure"
12549 #include "confdefs.h"
12550 #include <GL/gl.h>
12551 EOF
12552 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12553 { (eval echo configure:12554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12554 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12555 if test -z "$ac_err"; then
12556 rm -rf conftest*
12557 eval "ac_cv_header_$ac_safe=yes"
12558 else
12559 echo "$ac_err" >&5
12560 echo "configure: failed program was:" >&5
12561 cat conftest.$ac_ext >&5
12562 rm -rf conftest*
12563 eval "ac_cv_header_$ac_safe=no"
12564 fi
12565 rm -f conftest*
12566 fi
12567 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12568 echo "$ac_t""yes" 1>&6
12569
12570 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
12571 echo "configure:12572: checking for -lGL" >&5
12572
12573 ac_find_libraries=
12574 for ac_dir in $SEARCH_LIB;
12575 do
12576 for ac_extension in a so sl dylib; do
12577 if test -f "$ac_dir/libGL.$ac_extension"; then
12578 ac_find_libraries=$ac_dir
12579 break 2
12580 fi
12581 done
12582 done
12583
12584 if test "$ac_find_libraries" != "" ; then
12585
12586 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
12587 result=$?
12588 if test $result = 0; then
12589 ac_path_to_link=""
12590 else
12591 ac_path_to_link=" -L$ac_find_libraries"
12592 fi
12593
12594 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
12595 OPENGL_LIBS="-lGL -lGLU"
12596 echo "$ac_t""yes" 1>&6
12597 else
12598 echo "$ac_t""no" 1>&6
12599 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
12600 echo "configure:12601: checking for -lMesaGL" >&5
12601
12602 ac_find_libraries=
12603 for ac_dir in $SEARCH_LIB;
12604 do
12605 for ac_extension in a so sl dylib; do
12606 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
12607 ac_find_libraries=$ac_dir
12608 break 2
12609 fi
12610 done
12611 done
12612
12613 if test "$ac_find_libraries" != "" ; then
12614
12615 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
12616 result=$?
12617 if test $result = 0; then
12618 ac_path_to_link=""
12619 else
12620 ac_path_to_link=" -L$ac_find_libraries"
12621 fi
12622
12623 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
12624 OPENGL_LIBS="-lMesaGL -lMesaGLU"
12625 echo "$ac_t""yes" 1>&6
12626 else
12627 echo "$ac_t""no" 1>&6
12628 fi
12629 fi
12630
12631 else
12632 echo "$ac_t""no" 1>&6
12633 fi
12634
12635
12636
12637 # AC_CHECK_HEADER(GL/gl.h,
12638 # [
12639 # AC_CHECK_LIB(GL, glFlush,
12640 # [
12641 # OPENGL_LIBS="-lGL -lGLU"
12642 # ],
12643 # [
12644 # AC_CHECK_LIB(MesaGL, glFlush,
12645 # [
12646 # OPENGL_LIBS="-lMesaGL -lMesaGLU"
12647 # ],
12648 # [],
12649 # [-lm])
12650 # ],
12651 # [-lm])
12652 # ])
12653
12654 if test "x$OPENGL_LIBS" = "x"; then
12655 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
12656 fi
12657 fi
12658
12659 if test "$wxUSE_OPENGL" = "yes"; then
12660 cat >> confdefs.h <<\EOF
12661 #define wxUSE_OPENGL 1
12662 EOF
12663
12664 cat >> confdefs.h <<\EOF
12665 #define wxUSE_GLCANVAS 1
12666 EOF
12667
12668 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
12669 fi
12670 fi
12671
12672 if test -z "$TOOLKIT_VPATH" ; then
12673 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
12674 fi
12675
12676 if test -n "$TOOLKIT" ; then
12677 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
12678 fi
12679
12680 lib_unicode_suffix=
12681 if test "$wxUSE_UNICODE" = "yes"; then
12682 lib_unicode_suffix=u
12683 fi
12684
12685 lib_debug_suffix=
12686 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
12687 lib_debug_suffix=d
12688 fi
12689
12690 TOOLCHAIN_NAME="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
12691 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
12692
12693 if test "$cross_compiling" = "yes"; then
12694 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
12695 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
12696 fi
12697
12698 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
12699 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
12700
12701 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
12702 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
12703
12704 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
12705 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
12706 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
12707 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
12708
12709 WX_RESOURCES_MACOSX="lib${WX_LIBRARY}.rsrc"
12710 WX_RESOURCES_MACOSX_COMPILED="lib${WX_LIBRARY}.r"
12711
12712 case "${host}" in
12713 *-*-cygwin* | *-*-mingw32* )
12714
12715
12716
12717 if test "$cross_compiling" != "yes"; then
12718 WX_LIBRARY="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
12719 WX_LIBRARY_GL="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
12720 WX_LIBRARY_NAME_SHARED="${WX_LIBRARY}.${SO_SUFFIX}"
12721 WX_LIBRARY_NAME_SHARED_GL="${WX_LIBRARY_GL}.${SO_SUFFIX}"
12722 else
12723 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
12724 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
12725 fi
12726
12727 esac
12728
12729 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
12730 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
12731
12732 WXCONFIG_LIBS="-l${WX_LIBRARY}"
12733 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
12734
12735 if test "$wxUSE_OPENGL" = "yes"; then
12736 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
12737 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
12738 fi
12739
12740
12741
12742 if test "$wxUSE_SHARED" = "yes"; then
12743
12744 if test "$wxUSE_OPENGL" = "yes"; then
12745 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
12746 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
12747 else
12748 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
12749 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1}"
12750 fi
12751
12752 if test "$GCC" = "yes"; then
12753 PIC_FLAG="-fPIC"
12754 fi
12755
12756 SHARED_LD="${CXX} -shared -o"
12757
12758 case "${host}" in
12759 *-hp-hpux* )
12760 if test "$GCC" == "yes"; then
12761 SHARED_LD="${SHARED_LD} ${PIC_FLAG}"
12762 else
12763 LDFLAGS="$LDFLAGS -L/usr/lib"
12764
12765 SHARED_LD="${CXX} -b -o"
12766 PIC_FLAG="+Z"
12767 fi
12768
12769 if test "$wxUSE_OPENGL" = "yes"; then
12770 WX_ALL_INSTALLED="preinstall_gl"
12771 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12772 else
12773 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12774 fi
12775 ;;
12776
12777 *-*-linux* )
12778 if test "$GCC" != "yes"; then
12779 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
12780 echo "configure:12781: checking for Intel compiler" >&5
12781 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
12782 echo $ac_n "(cached) $ac_c" 1>&6
12783 else
12784
12785 cat > conftest.$ac_ext <<EOF
12786 #line 12787 "configure"
12787 #include "confdefs.h"
12788
12789 int main() {
12790
12791 #ifndef __INTEL_COMPILER
12792 #error Not icc
12793 #endif
12794
12795 ; return 0; }
12796 EOF
12797 if { (eval echo configure:12798: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12798 rm -rf conftest*
12799 wx_cv_prog_icc=yes
12800 else
12801 echo "configure: failed program was:" >&5
12802 cat conftest.$ac_ext >&5
12803 rm -rf conftest*
12804 wx_cv_prog_icc=no
12805
12806 fi
12807 rm -f conftest*
12808
12809 fi
12810
12811 echo "$ac_t""$wx_cv_prog_icc" 1>&6
12812 if test "$wx_cv_prog_icc" = "yes"; then
12813 PIC_FLAG="-KPIC"
12814 fi
12815 fi
12816
12817 if test "$wxUSE_SONAME" = "yes" ; then
12818 SONAME_FLAGS="-Wl,-soname,${WX_LIBRARY_LINK1}"
12819 SONAME_FLAGS_GL="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
12820 WX_TARGET_LIBRARY_SONAME="-Wl,-soname,\$(TARGETLIB_LINK1)"
12821 fi
12822 ;;
12823
12824 *-*-solaris2* )
12825 if test "$GCC" = yes ; then
12826 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
12827 else
12828 SHARED_LD="${CXX} -G -o"
12829 PIC_FLAG="-KPIC"
12830 SONAME_FLAGS="-h ${WX_LIBRARY_NAME_SHARED}"
12831 SONAME_FLAGS_GL="-h ${WX_LIBRARY_NAME_SHARED_GL}"
12832 fi
12833 ;;
12834
12835 *-*-darwin* )
12836 CFLAGS="$CFLAGS -fno-common -DDYLIB_INIT"
12837 CXXFLAGS="$CXXFLAGS -fno-common -DDYLIB_INIT"
12838 SHARED_LD="$CXX -dynamiclib -init _wxWindowsDylibInit -o"
12839 PIC_FLAG="-dynamic -fPIC"
12840 ;;
12841
12842 *-*-aix* )
12843 SHARED_LD="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
12844 ;;
12845
12846 *-*-cygwin* | *-*-mingw32* )
12847
12848 WX_LIBRARY_IMPORTLIB="${WX_LIBRARY_NAME_SHARED}.a"
12849
12850 SHARED_LD="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
12851 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
12852
12853 PIC_FLAG="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
12854
12855 if test "$wxUSE_OPENGL" = "yes"; then
12856 WX_ALL_INSTALLED="preinstall_gl"
12857 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12858 else
12859 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12860 fi
12861 ;;
12862
12863 *-pc-os2_emx | *-pc-os2-emx )
12864 wxUSE_SHARED=no
12865 ;;
12866
12867 *-*-beos* )
12868 SHARED_LD="${LD} -shared -o"
12869 ;;
12870
12871 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
12872 *-*-sunos4* | \
12873 *-*-irix5* | *-*-irix6* | \
12874 *-*-osf* | \
12875 *-*-dgux5* | \
12876 *-*-sysv5* )
12877 ;;
12878
12879 *)
12880 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
12881 esac
12882
12883 if test "x$WX_TARGET_LIBRARY" = "x"; then
12884 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
12885 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
12886 fi
12887
12888 WX_TARGET_LIBRARY_TYPE="so"
12889 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
12890 fi
12891
12892 if test "$wxUSE_SHARED" = "no"; then
12893
12894 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
12895 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
12896 fi
12897
12898 if test "$wxUSE_MAC" = 1; then
12899 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
12900 fi
12901
12902 if test "$wxUSE_OPENGL" = "yes"; then
12903 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
12904 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
12905 else
12906 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
12907 fi
12908
12909 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
12910 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
12911
12912 WX_TARGET_LIBRARY_TYPE="a"
12913 INSTALL_LIBRARY='$(INSTALL_DATA)'
12914 fi
12915
12916 if test "$wxUSE_MAC" = 1; then
12917 WX_ALL="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
12918 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
12919 # Extract the first word of "Rez", so it can be a program name with args.
12920 set dummy Rez; ac_word=$2
12921 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12922 echo "configure:12923: checking for $ac_word" >&5
12923 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
12924 echo $ac_n "(cached) $ac_c" 1>&6
12925 else
12926 if test -n "$RESCOMP"; then
12927 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
12928 else
12929 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
12930 ac_dummy="$PATH"
12931 for ac_dir in $ac_dummy; do
12932 test -z "$ac_dir" && ac_dir=.
12933 if test -f $ac_dir/$ac_word; then
12934 ac_cv_prog_RESCOMP="Rez"
12935 break
12936 fi
12937 done
12938 IFS="$ac_save_ifs"
12939 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
12940 fi
12941 fi
12942 RESCOMP="$ac_cv_prog_RESCOMP"
12943 if test -n "$RESCOMP"; then
12944 echo "$ac_t""$RESCOMP" 1>&6
12945 else
12946 echo "$ac_t""no" 1>&6
12947 fi
12948
12949 # Extract the first word of "DeRez", so it can be a program name with args.
12950 set dummy DeRez; ac_word=$2
12951 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12952 echo "configure:12953: checking for $ac_word" >&5
12953 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
12954 echo $ac_n "(cached) $ac_c" 1>&6
12955 else
12956 if test -n "$DEREZ"; then
12957 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
12958 else
12959 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
12960 ac_dummy="$PATH"
12961 for ac_dir in $ac_dummy; do
12962 test -z "$ac_dir" && ac_dir=.
12963 if test -f $ac_dir/$ac_word; then
12964 ac_cv_prog_DEREZ="DeRez"
12965 break
12966 fi
12967 done
12968 IFS="$ac_save_ifs"
12969 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
12970 fi
12971 fi
12972 DEREZ="$ac_cv_prog_DEREZ"
12973 if test -n "$DEREZ"; then
12974 echo "$ac_t""$DEREZ" 1>&6
12975 else
12976 echo "$ac_t""no" 1>&6
12977 fi
12978
12979 LIBWXMACRES="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
12980 LIBWXMACRESCOMP="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
12981 LIBWXMACRESWXCONFIG="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
12982 fi
12983
12984
12985 if test "$wxUSE_MAC" != 1; then
12986 for ac_hdr in strings.h
12987 do
12988 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12989 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12990 echo "configure:12991: checking for $ac_hdr" >&5
12991 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12992 echo $ac_n "(cached) $ac_c" 1>&6
12993 else
12994 cat > conftest.$ac_ext <<EOF
12995 #line 12996 "configure"
12996 #include "confdefs.h"
12997 #include <$ac_hdr>
12998 EOF
12999 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13000 { (eval echo configure:13001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13001 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13002 if test -z "$ac_err"; then
13003 rm -rf conftest*
13004 eval "ac_cv_header_$ac_safe=yes"
13005 else
13006 echo "$ac_err" >&5
13007 echo "configure: failed program was:" >&5
13008 cat conftest.$ac_ext >&5
13009 rm -rf conftest*
13010 eval "ac_cv_header_$ac_safe=no"
13011 fi
13012 rm -f conftest*
13013 fi
13014 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13015 echo "$ac_t""yes" 1>&6
13016 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13017 cat >> confdefs.h <<EOF
13018 #define $ac_tr_hdr 1
13019 EOF
13020
13021 else
13022 echo "$ac_t""no" 1>&6
13023 fi
13024 done
13025
13026 fi
13027
13028 for ac_hdr in stdlib.h
13029 do
13030 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13031 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13032 echo "configure:13033: checking for $ac_hdr" >&5
13033 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13034 echo $ac_n "(cached) $ac_c" 1>&6
13035 else
13036 cat > conftest.$ac_ext <<EOF
13037 #line 13038 "configure"
13038 #include "confdefs.h"
13039 #include <$ac_hdr>
13040 EOF
13041 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13042 { (eval echo configure:13043: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13043 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13044 if test -z "$ac_err"; then
13045 rm -rf conftest*
13046 eval "ac_cv_header_$ac_safe=yes"
13047 else
13048 echo "$ac_err" >&5
13049 echo "configure: failed program was:" >&5
13050 cat conftest.$ac_ext >&5
13051 rm -rf conftest*
13052 eval "ac_cv_header_$ac_safe=no"
13053 fi
13054 rm -f conftest*
13055 fi
13056 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13057 echo "$ac_t""yes" 1>&6
13058 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13059 cat >> confdefs.h <<EOF
13060 #define $ac_tr_hdr 1
13061 EOF
13062
13063 else
13064 echo "$ac_t""no" 1>&6
13065 fi
13066 done
13067
13068 for ac_hdr in malloc.h
13069 do
13070 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13071 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13072 echo "configure:13073: checking for $ac_hdr" >&5
13073 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13074 echo $ac_n "(cached) $ac_c" 1>&6
13075 else
13076 cat > conftest.$ac_ext <<EOF
13077 #line 13078 "configure"
13078 #include "confdefs.h"
13079 #include <$ac_hdr>
13080 EOF
13081 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13082 { (eval echo configure:13083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13083 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13084 if test -z "$ac_err"; then
13085 rm -rf conftest*
13086 eval "ac_cv_header_$ac_safe=yes"
13087 else
13088 echo "$ac_err" >&5
13089 echo "configure: failed program was:" >&5
13090 cat conftest.$ac_ext >&5
13091 rm -rf conftest*
13092 eval "ac_cv_header_$ac_safe=no"
13093 fi
13094 rm -f conftest*
13095 fi
13096 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13097 echo "$ac_t""yes" 1>&6
13098 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13099 cat >> confdefs.h <<EOF
13100 #define $ac_tr_hdr 1
13101 EOF
13102
13103 else
13104 echo "$ac_t""no" 1>&6
13105 fi
13106 done
13107
13108 for ac_hdr in unistd.h
13109 do
13110 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13111 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13112 echo "configure:13113: checking for $ac_hdr" >&5
13113 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13114 echo $ac_n "(cached) $ac_c" 1>&6
13115 else
13116 cat > conftest.$ac_ext <<EOF
13117 #line 13118 "configure"
13118 #include "confdefs.h"
13119 #include <$ac_hdr>
13120 EOF
13121 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13122 { (eval echo configure:13123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13123 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13124 if test -z "$ac_err"; then
13125 rm -rf conftest*
13126 eval "ac_cv_header_$ac_safe=yes"
13127 else
13128 echo "$ac_err" >&5
13129 echo "configure: failed program was:" >&5
13130 cat conftest.$ac_ext >&5
13131 rm -rf conftest*
13132 eval "ac_cv_header_$ac_safe=no"
13133 fi
13134 rm -f conftest*
13135 fi
13136 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13137 echo "$ac_t""yes" 1>&6
13138 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13139 cat >> confdefs.h <<EOF
13140 #define $ac_tr_hdr 1
13141 EOF
13142
13143 else
13144 echo "$ac_t""no" 1>&6
13145 fi
13146 done
13147
13148 for ac_hdr in wchar.h
13149 do
13150 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13151 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13152 echo "configure:13153: checking for $ac_hdr" >&5
13153 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13154 echo $ac_n "(cached) $ac_c" 1>&6
13155 else
13156 cat > conftest.$ac_ext <<EOF
13157 #line 13158 "configure"
13158 #include "confdefs.h"
13159 #include <$ac_hdr>
13160 EOF
13161 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13162 { (eval echo configure:13163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13163 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13164 if test -z "$ac_err"; then
13165 rm -rf conftest*
13166 eval "ac_cv_header_$ac_safe=yes"
13167 else
13168 echo "$ac_err" >&5
13169 echo "configure: failed program was:" >&5
13170 cat conftest.$ac_ext >&5
13171 rm -rf conftest*
13172 eval "ac_cv_header_$ac_safe=no"
13173 fi
13174 rm -f conftest*
13175 fi
13176 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13177 echo "$ac_t""yes" 1>&6
13178 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13179 cat >> confdefs.h <<EOF
13180 #define $ac_tr_hdr 1
13181 EOF
13182
13183 else
13184 echo "$ac_t""no" 1>&6
13185 fi
13186 done
13187
13188 for ac_hdr in wcstr.h
13189 do
13190 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13191 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13192 echo "configure:13193: checking for $ac_hdr" >&5
13193 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13194 echo $ac_n "(cached) $ac_c" 1>&6
13195 else
13196 cat > conftest.$ac_ext <<EOF
13197 #line 13198 "configure"
13198 #include "confdefs.h"
13199 #include <$ac_hdr>
13200 EOF
13201 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13202 { (eval echo configure:13203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13203 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13204 if test -z "$ac_err"; then
13205 rm -rf conftest*
13206 eval "ac_cv_header_$ac_safe=yes"
13207 else
13208 echo "$ac_err" >&5
13209 echo "configure: failed program was:" >&5
13210 cat conftest.$ac_ext >&5
13211 rm -rf conftest*
13212 eval "ac_cv_header_$ac_safe=no"
13213 fi
13214 rm -f conftest*
13215 fi
13216 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13217 echo "$ac_t""yes" 1>&6
13218 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13219 cat >> confdefs.h <<EOF
13220 #define $ac_tr_hdr 1
13221 EOF
13222
13223 else
13224 echo "$ac_t""no" 1>&6
13225 fi
13226 done
13227
13228 for ac_hdr in wctype.h
13229 do
13230 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13231 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13232 echo "configure:13233: checking for $ac_hdr" >&5
13233 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13234 echo $ac_n "(cached) $ac_c" 1>&6
13235 else
13236 cat > conftest.$ac_ext <<EOF
13237 #line 13238 "configure"
13238 #include "confdefs.h"
13239 #include <$ac_hdr>
13240 EOF
13241 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13242 { (eval echo configure:13243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13243 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13244 if test -z "$ac_err"; then
13245 rm -rf conftest*
13246 eval "ac_cv_header_$ac_safe=yes"
13247 else
13248 echo "$ac_err" >&5
13249 echo "configure: failed program was:" >&5
13250 cat conftest.$ac_ext >&5
13251 rm -rf conftest*
13252 eval "ac_cv_header_$ac_safe=no"
13253 fi
13254 rm -f conftest*
13255 fi
13256 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13257 echo "$ac_t""yes" 1>&6
13258 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13259 cat >> confdefs.h <<EOF
13260 #define $ac_tr_hdr 1
13261 EOF
13262
13263 else
13264 echo "$ac_t""no" 1>&6
13265 fi
13266 done
13267
13268 for ac_hdr in fnmatch.h
13269 do
13270 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13271 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13272 echo "configure:13273: checking for $ac_hdr" >&5
13273 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13274 echo $ac_n "(cached) $ac_c" 1>&6
13275 else
13276 cat > conftest.$ac_ext <<EOF
13277 #line 13278 "configure"
13278 #include "confdefs.h"
13279 #include <$ac_hdr>
13280 EOF
13281 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13282 { (eval echo configure:13283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13283 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13284 if test -z "$ac_err"; then
13285 rm -rf conftest*
13286 eval "ac_cv_header_$ac_safe=yes"
13287 else
13288 echo "$ac_err" >&5
13289 echo "configure: failed program was:" >&5
13290 cat conftest.$ac_ext >&5
13291 rm -rf conftest*
13292 eval "ac_cv_header_$ac_safe=no"
13293 fi
13294 rm -f conftest*
13295 fi
13296 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13297 echo "$ac_t""yes" 1>&6
13298 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13299 cat >> confdefs.h <<EOF
13300 #define $ac_tr_hdr 1
13301 EOF
13302
13303 else
13304 echo "$ac_t""no" 1>&6
13305 fi
13306 done
13307
13308 for ac_hdr in iconv.h
13309 do
13310 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13311 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13312 echo "configure:13313: checking for $ac_hdr" >&5
13313 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13314 echo $ac_n "(cached) $ac_c" 1>&6
13315 else
13316 cat > conftest.$ac_ext <<EOF
13317 #line 13318 "configure"
13318 #include "confdefs.h"
13319 #include <$ac_hdr>
13320 EOF
13321 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13322 { (eval echo configure:13323: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13323 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13324 if test -z "$ac_err"; then
13325 rm -rf conftest*
13326 eval "ac_cv_header_$ac_safe=yes"
13327 else
13328 echo "$ac_err" >&5
13329 echo "configure: failed program was:" >&5
13330 cat conftest.$ac_ext >&5
13331 rm -rf conftest*
13332 eval "ac_cv_header_$ac_safe=no"
13333 fi
13334 rm -f conftest*
13335 fi
13336 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13337 echo "$ac_t""yes" 1>&6
13338 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13339 cat >> confdefs.h <<EOF
13340 #define $ac_tr_hdr 1
13341 EOF
13342
13343 else
13344 echo "$ac_t""no" 1>&6
13345 fi
13346 done
13347
13348 for ac_hdr in langinfo.h
13349 do
13350 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13351 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13352 echo "configure:13353: checking for $ac_hdr" >&5
13353 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13354 echo $ac_n "(cached) $ac_c" 1>&6
13355 else
13356 cat > conftest.$ac_ext <<EOF
13357 #line 13358 "configure"
13358 #include "confdefs.h"
13359 #include <$ac_hdr>
13360 EOF
13361 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13362 { (eval echo configure:13363: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13363 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13364 if test -z "$ac_err"; then
13365 rm -rf conftest*
13366 eval "ac_cv_header_$ac_safe=yes"
13367 else
13368 echo "$ac_err" >&5
13369 echo "configure: failed program was:" >&5
13370 cat conftest.$ac_ext >&5
13371 rm -rf conftest*
13372 eval "ac_cv_header_$ac_safe=no"
13373 fi
13374 rm -f conftest*
13375 fi
13376 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13377 echo "$ac_t""yes" 1>&6
13378 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13379 cat >> confdefs.h <<EOF
13380 #define $ac_tr_hdr 1
13381 EOF
13382
13383 else
13384 echo "$ac_t""no" 1>&6
13385 fi
13386 done
13387
13388
13389 if test "$wxUSE_GUI" = "yes"; then
13390 if test "$wxUSE_UNIX" = "yes"; then
13391 for ac_hdr in X11/XKBlib.h
13392 do
13393 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13394 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13395 echo "configure:13396: checking for $ac_hdr" >&5
13396 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13397 echo $ac_n "(cached) $ac_c" 1>&6
13398 else
13399 cat > conftest.$ac_ext <<EOF
13400 #line 13401 "configure"
13401 #include "confdefs.h"
13402 #include <$ac_hdr>
13403 EOF
13404 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13405 { (eval echo configure:13406: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13406 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13407 if test -z "$ac_err"; then
13408 rm -rf conftest*
13409 eval "ac_cv_header_$ac_safe=yes"
13410 else
13411 echo "$ac_err" >&5
13412 echo "configure: failed program was:" >&5
13413 cat conftest.$ac_ext >&5
13414 rm -rf conftest*
13415 eval "ac_cv_header_$ac_safe=no"
13416 fi
13417 rm -f conftest*
13418 fi
13419 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13420 echo "$ac_t""yes" 1>&6
13421 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13422 cat >> confdefs.h <<EOF
13423 #define $ac_tr_hdr 1
13424 EOF
13425
13426 else
13427 echo "$ac_t""no" 1>&6
13428 fi
13429 done
13430
13431 fi
13432 fi
13433
13434
13435 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
13436 echo "configure:13437: checking for ANSI C header files" >&5
13437 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
13438 echo $ac_n "(cached) $ac_c" 1>&6
13439 else
13440 cat > conftest.$ac_ext <<EOF
13441 #line 13442 "configure"
13442 #include "confdefs.h"
13443 #include <stdlib.h>
13444 #include <stdarg.h>
13445 #include <string.h>
13446 #include <float.h>
13447 EOF
13448 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13449 { (eval echo configure:13450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13450 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13451 if test -z "$ac_err"; then
13452 rm -rf conftest*
13453 ac_cv_header_stdc=yes
13454 else
13455 echo "$ac_err" >&5
13456 echo "configure: failed program was:" >&5
13457 cat conftest.$ac_ext >&5
13458 rm -rf conftest*
13459 ac_cv_header_stdc=no
13460 fi
13461 rm -f conftest*
13462
13463 if test $ac_cv_header_stdc = yes; then
13464 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13465 cat > conftest.$ac_ext <<EOF
13466 #line 13467 "configure"
13467 #include "confdefs.h"
13468 #include <string.h>
13469 EOF
13470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13471 egrep "memchr" >/dev/null 2>&1; then
13472 :
13473 else
13474 rm -rf conftest*
13475 ac_cv_header_stdc=no
13476 fi
13477 rm -f conftest*
13478
13479 fi
13480
13481 if test $ac_cv_header_stdc = yes; then
13482 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13483 cat > conftest.$ac_ext <<EOF
13484 #line 13485 "configure"
13485 #include "confdefs.h"
13486 #include <stdlib.h>
13487 EOF
13488 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13489 egrep "free" >/dev/null 2>&1; then
13490 :
13491 else
13492 rm -rf conftest*
13493 ac_cv_header_stdc=no
13494 fi
13495 rm -f conftest*
13496
13497 fi
13498
13499 if test $ac_cv_header_stdc = yes; then
13500 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13501 if test "$cross_compiling" = yes; then
13502 :
13503 else
13504 cat > conftest.$ac_ext <<EOF
13505 #line 13506 "configure"
13506 #include "confdefs.h"
13507 #include <ctype.h>
13508 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13509 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13510 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13511 int main () { int i; for (i = 0; i < 256; i++)
13512 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
13513 exit (0); }
13514
13515 EOF
13516 if { (eval echo configure:13517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
13517 then
13518 :
13519 else
13520 echo "configure: failed program was:" >&5
13521 cat conftest.$ac_ext >&5
13522 rm -fr conftest*
13523 ac_cv_header_stdc=no
13524 fi
13525 rm -fr conftest*
13526 fi
13527
13528 fi
13529 fi
13530
13531 echo "$ac_t""$ac_cv_header_stdc" 1>&6
13532 if test $ac_cv_header_stdc = yes; then
13533 cat >> confdefs.h <<\EOF
13534 #define STDC_HEADERS 1
13535 EOF
13536
13537 fi
13538
13539 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
13540 echo "configure:13541: checking for mode_t" >&5
13541 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
13542 echo $ac_n "(cached) $ac_c" 1>&6
13543 else
13544 cat > conftest.$ac_ext <<EOF
13545 #line 13546 "configure"
13546 #include "confdefs.h"
13547 #include <sys/types.h>
13548 #if STDC_HEADERS
13549 #include <stdlib.h>
13550 #include <stddef.h>
13551 #endif
13552 EOF
13553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13554 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
13555 rm -rf conftest*
13556 ac_cv_type_mode_t=yes
13557 else
13558 rm -rf conftest*
13559 ac_cv_type_mode_t=no
13560 fi
13561 rm -f conftest*
13562
13563 fi
13564 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
13565 if test $ac_cv_type_mode_t = no; then
13566 cat >> confdefs.h <<\EOF
13567 #define mode_t int
13568 EOF
13569
13570 fi
13571
13572 echo $ac_n "checking for off_t""... $ac_c" 1>&6
13573 echo "configure:13574: checking for off_t" >&5
13574 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
13575 echo $ac_n "(cached) $ac_c" 1>&6
13576 else
13577 cat > conftest.$ac_ext <<EOF
13578 #line 13579 "configure"
13579 #include "confdefs.h"
13580 #include <sys/types.h>
13581 #if STDC_HEADERS
13582 #include <stdlib.h>
13583 #include <stddef.h>
13584 #endif
13585 EOF
13586 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13587 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
13588 rm -rf conftest*
13589 ac_cv_type_off_t=yes
13590 else
13591 rm -rf conftest*
13592 ac_cv_type_off_t=no
13593 fi
13594 rm -f conftest*
13595
13596 fi
13597 echo "$ac_t""$ac_cv_type_off_t" 1>&6
13598 if test $ac_cv_type_off_t = no; then
13599 cat >> confdefs.h <<\EOF
13600 #define off_t long
13601 EOF
13602
13603 fi
13604
13605 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
13606 echo "configure:13607: checking for pid_t" >&5
13607 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
13608 echo $ac_n "(cached) $ac_c" 1>&6
13609 else
13610 cat > conftest.$ac_ext <<EOF
13611 #line 13612 "configure"
13612 #include "confdefs.h"
13613 #include <sys/types.h>
13614 #if STDC_HEADERS
13615 #include <stdlib.h>
13616 #include <stddef.h>
13617 #endif
13618 EOF
13619 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13620 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
13621 rm -rf conftest*
13622 ac_cv_type_pid_t=yes
13623 else
13624 rm -rf conftest*
13625 ac_cv_type_pid_t=no
13626 fi
13627 rm -f conftest*
13628
13629 fi
13630 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
13631 if test $ac_cv_type_pid_t = no; then
13632 cat >> confdefs.h <<\EOF
13633 #define pid_t int
13634 EOF
13635
13636 fi
13637
13638 echo $ac_n "checking for size_t""... $ac_c" 1>&6
13639 echo "configure:13640: checking for size_t" >&5
13640 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
13641 echo $ac_n "(cached) $ac_c" 1>&6
13642 else
13643 cat > conftest.$ac_ext <<EOF
13644 #line 13645 "configure"
13645 #include "confdefs.h"
13646 #include <sys/types.h>
13647 #if STDC_HEADERS
13648 #include <stdlib.h>
13649 #include <stddef.h>
13650 #endif
13651 EOF
13652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13653 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
13654 rm -rf conftest*
13655 ac_cv_type_size_t=yes
13656 else
13657 rm -rf conftest*
13658 ac_cv_type_size_t=no
13659 fi
13660 rm -f conftest*
13661
13662 fi
13663 echo "$ac_t""$ac_cv_type_size_t" 1>&6
13664 if test $ac_cv_type_size_t = no; then
13665 cat >> confdefs.h <<\EOF
13666 #define size_t unsigned
13667 EOF
13668
13669 fi
13670
13671 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
13672 echo "configure:13673: checking for uid_t in sys/types.h" >&5
13673 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
13674 echo $ac_n "(cached) $ac_c" 1>&6
13675 else
13676 cat > conftest.$ac_ext <<EOF
13677 #line 13678 "configure"
13678 #include "confdefs.h"
13679 #include <sys/types.h>
13680 EOF
13681 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13682 egrep "uid_t" >/dev/null 2>&1; then
13683 rm -rf conftest*
13684 ac_cv_type_uid_t=yes
13685 else
13686 rm -rf conftest*
13687 ac_cv_type_uid_t=no
13688 fi
13689 rm -f conftest*
13690
13691 fi
13692
13693 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
13694 if test $ac_cv_type_uid_t = no; then
13695 cat >> confdefs.h <<\EOF
13696 #define uid_t int
13697 EOF
13698
13699 cat >> confdefs.h <<\EOF
13700 #define gid_t int
13701 EOF
13702
13703 fi
13704
13705
13706 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
13707 echo "configure:13708: checking for wchar_t" >&5
13708 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
13709 echo $ac_n "(cached) $ac_c" 1>&6
13710 else
13711
13712 cat > conftest.$ac_ext <<EOF
13713 #line 13714 "configure"
13714 #include "confdefs.h"
13715
13716 #ifdef HAVE_WCHAR_H
13717 # ifdef __CYGWIN__
13718 # include <stddef.h>
13719 # endif
13720 # include <wchar.h>
13721 #endif
13722 #ifdef HAVE_STDLIB_H
13723 # include <stdlib.h>
13724 #endif
13725
13726 int main() {
13727
13728 wchar_t wc, *ws;
13729 wc = L'a';
13730 ws = L"Hello, world!";
13731
13732 ; return 0; }
13733 EOF
13734 if { (eval echo configure:13735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13735 rm -rf conftest*
13736 wx_cv_type_wchar_t=yes
13737 else
13738 echo "configure: failed program was:" >&5
13739 cat conftest.$ac_ext >&5
13740 rm -rf conftest*
13741 wx_cv_type_wchar_t=no
13742
13743 fi
13744 rm -f conftest*
13745
13746 fi
13747
13748 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
13749
13750 if test "$wx_cv_type_wchar_t" = "yes"; then
13751 cat >> confdefs.h <<\EOF
13752 #define wxUSE_WCHAR_T 1
13753 EOF
13754
13755 fi
13756
13757
13758 ac_ext=C
13759 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13760 ac_cpp='$CXXCPP $CPPFLAGS'
13761 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13762 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13763 cross_compiling=$ac_cv_prog_cxx_cross
13764
13765 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
13766 echo "configure:13767: checking if size_t is unsigned int" >&5
13767 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
13768 echo $ac_n "(cached) $ac_c" 1>&6
13769 else
13770 cat > conftest.$ac_ext <<EOF
13771 #line 13772 "configure"
13772 #include "confdefs.h"
13773 #include <stddef.h>
13774 int main() {
13775
13776 return 0; }
13777
13778 struct Foo { void foo(size_t); void foo(unsigned int); };
13779
13780 int bar() {
13781
13782 ; return 0; }
13783 EOF
13784 if { (eval echo configure:13785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13785 rm -rf conftest*
13786 wx_cv_size_t_is_uint=no
13787 else
13788 echo "configure: failed program was:" >&5
13789 cat conftest.$ac_ext >&5
13790 rm -rf conftest*
13791 wx_cv_size_t_is_uint=yes
13792
13793 fi
13794 rm -f conftest*
13795
13796 fi
13797
13798 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
13799
13800 if test "$wx_cv_size_t_is_uint" = "yes"; then
13801 cat >> confdefs.h <<\EOF
13802 #define wxSIZE_T_IS_UINT 1
13803 EOF
13804
13805 else
13806 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
13807 echo "configure:13808: checking if size_t is unsigned long" >&5
13808 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
13809 echo $ac_n "(cached) $ac_c" 1>&6
13810 else
13811 cat > conftest.$ac_ext <<EOF
13812 #line 13813 "configure"
13813 #include "confdefs.h"
13814 #include <stddef.h>
13815 int main() {
13816
13817 return 0; }
13818
13819 struct Foo { void foo(size_t); void foo(unsigned long); };
13820
13821 int bar() {
13822
13823 ; return 0; }
13824 EOF
13825 if { (eval echo configure:13826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13826 rm -rf conftest*
13827 wx_cv_size_t_is_ulong=no
13828 else
13829 echo "configure: failed program was:" >&5
13830 cat conftest.$ac_ext >&5
13831 rm -rf conftest*
13832 wx_cv_size_t_is_ulong=yes
13833
13834 fi
13835 rm -f conftest*
13836
13837 fi
13838
13839 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
13840
13841 if test "$wx_cv_size_t_is_ulong" = "yes"; then
13842 cat >> confdefs.h <<\EOF
13843 #define wxSIZE_T_IS_ULONG 1
13844 EOF
13845
13846 fi
13847 fi
13848
13849 ac_ext=c
13850 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13851 ac_cpp='$CPP $CPPFLAGS'
13852 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13853 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13854 cross_compiling=$ac_cv_prog_cc_cross
13855
13856
13857
13858 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
13859 echo "configure:13860: checking for pw_gecos in struct passwd" >&5
13860 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
13861 echo $ac_n "(cached) $ac_c" 1>&6
13862 else
13863
13864 cat > conftest.$ac_ext <<EOF
13865 #line 13866 "configure"
13866 #include "confdefs.h"
13867 #include <pwd.h>
13868 int main() {
13869
13870 char *p;
13871 struct passwd *pw;
13872 p = pw->pw_gecos;
13873
13874 ; return 0; }
13875 EOF
13876 if { (eval echo configure:13877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13877 rm -rf conftest*
13878
13879 wx_cv_struct_pw_gecos=yes
13880
13881 else
13882 echo "configure: failed program was:" >&5
13883 cat conftest.$ac_ext >&5
13884 rm -rf conftest*
13885
13886 wx_cv_struct_pw_gecos=no
13887
13888
13889 fi
13890 rm -f conftest*
13891
13892
13893 fi
13894
13895 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
13896
13897 if test "$wx_cv_struct_pw_gecos" = "yes"; then
13898 cat >> confdefs.h <<\EOF
13899 #define HAVE_PW_GECOS 1
13900 EOF
13901
13902 fi
13903
13904
13905 echo $ac_n "checking for working const""... $ac_c" 1>&6
13906 echo "configure:13907: checking for working const" >&5
13907 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
13908 echo $ac_n "(cached) $ac_c" 1>&6
13909 else
13910 cat > conftest.$ac_ext <<EOF
13911 #line 13912 "configure"
13912 #include "confdefs.h"
13913
13914 int main() {
13915
13916 /* Ultrix mips cc rejects this. */
13917 typedef int charset[2]; const charset x;
13918 /* SunOS 4.1.1 cc rejects this. */
13919 char const *const *ccp;
13920 char **p;
13921 /* NEC SVR4.0.2 mips cc rejects this. */
13922 struct point {int x, y;};
13923 static struct point const zero = {0,0};
13924 /* AIX XL C 1.02.0.0 rejects this.
13925 It does not let you subtract one const X* pointer from another in an arm
13926 of an if-expression whose if-part is not a constant expression */
13927 const char *g = "string";
13928 ccp = &g + (g ? g-g : 0);
13929 /* HPUX 7.0 cc rejects these. */
13930 ++ccp;
13931 p = (char**) ccp;
13932 ccp = (char const *const *) p;
13933 { /* SCO 3.2v4 cc rejects this. */
13934 char *t;
13935 char const *s = 0 ? (char *) 0 : (char const *) 0;
13936
13937 *t++ = 0;
13938 }
13939 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13940 int x[] = {25, 17};
13941 const int *foo = &x[0];
13942 ++foo;
13943 }
13944 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13945 typedef const int *iptr;
13946 iptr p = 0;
13947 ++p;
13948 }
13949 { /* AIX XL C 1.02.0.0 rejects this saying
13950 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13951 struct s { int j; const int *ap[3]; };
13952 struct s *b; b->j = 5;
13953 }
13954 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13955 const int foo = 10;
13956 }
13957
13958 ; return 0; }
13959 EOF
13960 if { (eval echo configure:13961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13961 rm -rf conftest*
13962 ac_cv_c_const=yes
13963 else
13964 echo "configure: failed program was:" >&5
13965 cat conftest.$ac_ext >&5
13966 rm -rf conftest*
13967 ac_cv_c_const=no
13968 fi
13969 rm -f conftest*
13970 fi
13971
13972 echo "$ac_t""$ac_cv_c_const" 1>&6
13973 if test $ac_cv_c_const = no; then
13974 cat >> confdefs.h <<\EOF
13975 #define const
13976 EOF
13977
13978 fi
13979
13980 echo $ac_n "checking for inline""... $ac_c" 1>&6
13981 echo "configure:13982: checking for inline" >&5
13982 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
13983 echo $ac_n "(cached) $ac_c" 1>&6
13984 else
13985 ac_cv_c_inline=no
13986 for ac_kw in inline __inline__ __inline; do
13987 cat > conftest.$ac_ext <<EOF
13988 #line 13989 "configure"
13989 #include "confdefs.h"
13990
13991 int main() {
13992 } $ac_kw foo() {
13993 ; return 0; }
13994 EOF
13995 if { (eval echo configure:13996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13996 rm -rf conftest*
13997 ac_cv_c_inline=$ac_kw; break
13998 else
13999 echo "configure: failed program was:" >&5
14000 cat conftest.$ac_ext >&5
14001 fi
14002 rm -f conftest*
14003 done
14004
14005 fi
14006
14007 echo "$ac_t""$ac_cv_c_inline" 1>&6
14008 case "$ac_cv_c_inline" in
14009 inline | yes) ;;
14010 no) cat >> confdefs.h <<\EOF
14011 #define inline
14012 EOF
14013 ;;
14014 *) cat >> confdefs.h <<EOF
14015 #define inline $ac_cv_c_inline
14016 EOF
14017 ;;
14018 esac
14019
14020
14021 echo $ac_n "checking size of char""... $ac_c" 1>&6
14022 echo "configure:14023: checking size of char" >&5
14023 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
14024 echo $ac_n "(cached) $ac_c" 1>&6
14025 else
14026 if test "$cross_compiling" = yes; then
14027 ac_cv_sizeof_char=1
14028 else
14029 cat > conftest.$ac_ext <<EOF
14030 #line 14031 "configure"
14031 #include "confdefs.h"
14032 #include <stdio.h>
14033 main()
14034 {
14035 FILE *f=fopen("conftestval", "w");
14036 if (!f) exit(1);
14037 fprintf(f, "%d\n", sizeof(char));
14038 exit(0);
14039 }
14040 EOF
14041 if { (eval echo configure:14042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14042 then
14043 ac_cv_sizeof_char=`cat conftestval`
14044 else
14045 echo "configure: failed program was:" >&5
14046 cat conftest.$ac_ext >&5
14047 rm -fr conftest*
14048 ac_cv_sizeof_char=0
14049 fi
14050 rm -fr conftest*
14051 fi
14052
14053 fi
14054 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
14055 cat >> confdefs.h <<EOF
14056 #define SIZEOF_CHAR $ac_cv_sizeof_char
14057 EOF
14058
14059
14060 echo $ac_n "checking size of short""... $ac_c" 1>&6
14061 echo "configure:14062: checking size of short" >&5
14062 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
14063 echo $ac_n "(cached) $ac_c" 1>&6
14064 else
14065 if test "$cross_compiling" = yes; then
14066 ac_cv_sizeof_short=2
14067 else
14068 cat > conftest.$ac_ext <<EOF
14069 #line 14070 "configure"
14070 #include "confdefs.h"
14071 #include <stdio.h>
14072 main()
14073 {
14074 FILE *f=fopen("conftestval", "w");
14075 if (!f) exit(1);
14076 fprintf(f, "%d\n", sizeof(short));
14077 exit(0);
14078 }
14079 EOF
14080 if { (eval echo configure:14081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14081 then
14082 ac_cv_sizeof_short=`cat conftestval`
14083 else
14084 echo "configure: failed program was:" >&5
14085 cat conftest.$ac_ext >&5
14086 rm -fr conftest*
14087 ac_cv_sizeof_short=0
14088 fi
14089 rm -fr conftest*
14090 fi
14091
14092 fi
14093 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
14094 cat >> confdefs.h <<EOF
14095 #define SIZEOF_SHORT $ac_cv_sizeof_short
14096 EOF
14097
14098
14099 echo $ac_n "checking size of int *""... $ac_c" 1>&6
14100 echo "configure:14101: checking size of int *" >&5
14101 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
14102 echo $ac_n "(cached) $ac_c" 1>&6
14103 else
14104 if test "$cross_compiling" = yes; then
14105 ac_cv_sizeof_int_p=4
14106 else
14107 cat > conftest.$ac_ext <<EOF
14108 #line 14109 "configure"
14109 #include "confdefs.h"
14110 #include <stdio.h>
14111 main()
14112 {
14113 FILE *f=fopen("conftestval", "w");
14114 if (!f) exit(1);
14115 fprintf(f, "%d\n", sizeof(int *));
14116 exit(0);
14117 }
14118 EOF
14119 if { (eval echo configure:14120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14120 then
14121 ac_cv_sizeof_int_p=`cat conftestval`
14122 else
14123 echo "configure: failed program was:" >&5
14124 cat conftest.$ac_ext >&5
14125 rm -fr conftest*
14126 ac_cv_sizeof_int_p=0
14127 fi
14128 rm -fr conftest*
14129 fi
14130
14131 fi
14132 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
14133 cat >> confdefs.h <<EOF
14134 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
14135 EOF
14136
14137
14138 echo $ac_n "checking size of int""... $ac_c" 1>&6
14139 echo "configure:14140: checking size of int" >&5
14140 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
14141 echo $ac_n "(cached) $ac_c" 1>&6
14142 else
14143 if test "$cross_compiling" = yes; then
14144 ac_cv_sizeof_int=4
14145 else
14146 cat > conftest.$ac_ext <<EOF
14147 #line 14148 "configure"
14148 #include "confdefs.h"
14149 #include <stdio.h>
14150 main()
14151 {
14152 FILE *f=fopen("conftestval", "w");
14153 if (!f) exit(1);
14154 fprintf(f, "%d\n", sizeof(int));
14155 exit(0);
14156 }
14157 EOF
14158 if { (eval echo configure:14159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14159 then
14160 ac_cv_sizeof_int=`cat conftestval`
14161 else
14162 echo "configure: failed program was:" >&5
14163 cat conftest.$ac_ext >&5
14164 rm -fr conftest*
14165 ac_cv_sizeof_int=0
14166 fi
14167 rm -fr conftest*
14168 fi
14169
14170 fi
14171 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
14172 cat >> confdefs.h <<EOF
14173 #define SIZEOF_INT $ac_cv_sizeof_int
14174 EOF
14175
14176
14177 echo $ac_n "checking size of long""... $ac_c" 1>&6
14178 echo "configure:14179: checking size of long" >&5
14179 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
14180 echo $ac_n "(cached) $ac_c" 1>&6
14181 else
14182 if test "$cross_compiling" = yes; then
14183 ac_cv_sizeof_long=4
14184 else
14185 cat > conftest.$ac_ext <<EOF
14186 #line 14187 "configure"
14187 #include "confdefs.h"
14188 #include <stdio.h>
14189 main()
14190 {
14191 FILE *f=fopen("conftestval", "w");
14192 if (!f) exit(1);
14193 fprintf(f, "%d\n", sizeof(long));
14194 exit(0);
14195 }
14196 EOF
14197 if { (eval echo configure:14198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14198 then
14199 ac_cv_sizeof_long=`cat conftestval`
14200 else
14201 echo "configure: failed program was:" >&5
14202 cat conftest.$ac_ext >&5
14203 rm -fr conftest*
14204 ac_cv_sizeof_long=0
14205 fi
14206 rm -fr conftest*
14207 fi
14208
14209 fi
14210 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
14211 cat >> confdefs.h <<EOF
14212 #define SIZEOF_LONG $ac_cv_sizeof_long
14213 EOF
14214
14215
14216 echo $ac_n "checking size of long long""... $ac_c" 1>&6
14217 echo "configure:14218: checking size of long long" >&5
14218 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
14219 echo $ac_n "(cached) $ac_c" 1>&6
14220 else
14221 if test "$cross_compiling" = yes; then
14222 ac_cv_sizeof_long_long=0
14223 else
14224 cat > conftest.$ac_ext <<EOF
14225 #line 14226 "configure"
14226 #include "confdefs.h"
14227 #include <stdio.h>
14228 main()
14229 {
14230 FILE *f=fopen("conftestval", "w");
14231 if (!f) exit(1);
14232 fprintf(f, "%d\n", sizeof(long long));
14233 exit(0);
14234 }
14235 EOF
14236 if { (eval echo configure:14237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14237 then
14238 ac_cv_sizeof_long_long=`cat conftestval`
14239 else
14240 echo "configure: failed program was:" >&5
14241 cat conftest.$ac_ext >&5
14242 rm -fr conftest*
14243 ac_cv_sizeof_long_long=0
14244 fi
14245 rm -fr conftest*
14246 fi
14247
14248 fi
14249 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
14250 cat >> confdefs.h <<EOF
14251 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14252 EOF
14253
14254
14255
14256 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
14257 echo "configure:14258: checking size of wchar_t" >&5
14258 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
14259 echo $ac_n "(cached) $ac_c" 1>&6
14260 else
14261
14262 if test "$cross_compiling" = yes; then
14263 wx_cv_sizeof_wchar_t=4
14264
14265 else
14266 cat > conftest.$ac_ext <<EOF
14267 #line 14268 "configure"
14268 #include "confdefs.h"
14269
14270 #ifdef HAVE_WCHAR_H
14271 # ifdef __CYGWIN__
14272 # include <stddef.h>
14273 # endif
14274 # include <wchar.h>
14275 #endif
14276 #ifdef HAVE_STDLIB_H
14277 # include <stdlib.h>
14278 #endif
14279 #include <stdio.h>
14280 int main()
14281 {
14282 FILE *f=fopen("conftestval", "w");
14283 if (!f) exit(1);
14284 fprintf(f, "%i", sizeof(wchar_t));
14285 exit(0);
14286 }
14287
14288 EOF
14289 if { (eval echo configure:14290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14290 then
14291 wx_cv_sizeof_wchar_t=`cat conftestval`
14292 else
14293 echo "configure: failed program was:" >&5
14294 cat conftest.$ac_ext >&5
14295 rm -fr conftest*
14296 wx_cv_sizeof_wchar_t=0
14297 fi
14298 rm -fr conftest*
14299 fi
14300
14301
14302 fi
14303
14304 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
14305
14306 cat >> confdefs.h <<EOF
14307 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
14308 EOF
14309
14310
14311 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
14312 echo "configure:14313: checking whether byte ordering is bigendian" >&5
14313 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
14314 echo $ac_n "(cached) $ac_c" 1>&6
14315 else
14316 ac_cv_c_bigendian=unknown
14317 # See if sys/param.h defines the BYTE_ORDER macro.
14318 cat > conftest.$ac_ext <<EOF
14319 #line 14320 "configure"
14320 #include "confdefs.h"
14321 #include <sys/types.h>
14322 #include <sys/param.h>
14323 int main() {
14324
14325 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
14326 bogus endian macros
14327 #endif
14328 ; return 0; }
14329 EOF
14330 if { (eval echo configure:14331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14331 rm -rf conftest*
14332 # It does; now see whether it defined to BIG_ENDIAN or not.
14333 cat > conftest.$ac_ext <<EOF
14334 #line 14335 "configure"
14335 #include "confdefs.h"
14336 #include <sys/types.h>
14337 #include <sys/param.h>
14338 int main() {
14339
14340 #if BYTE_ORDER != BIG_ENDIAN
14341 not big endian
14342 #endif
14343 ; return 0; }
14344 EOF
14345 if { (eval echo configure:14346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14346 rm -rf conftest*
14347 ac_cv_c_bigendian=yes
14348 else
14349 echo "configure: failed program was:" >&5
14350 cat conftest.$ac_ext >&5
14351 rm -rf conftest*
14352 ac_cv_c_bigendian=no
14353 fi
14354 rm -f conftest*
14355 else
14356 echo "configure: failed program was:" >&5
14357 cat conftest.$ac_ext >&5
14358 fi
14359 rm -f conftest*
14360 if test $ac_cv_c_bigendian = unknown; then
14361 if test "$cross_compiling" = yes; then
14362 ac_cv_c_bigendian=unknown
14363 else
14364 cat > conftest.$ac_ext <<EOF
14365 #line 14366 "configure"
14366 #include "confdefs.h"
14367 main () {
14368 /* Are we little or big endian? From Harbison&Steele. */
14369 union
14370 {
14371 long l;
14372 char c[sizeof (long)];
14373 } u;
14374 u.l = 1;
14375 exit (u.c[sizeof (long) - 1] == 1);
14376 }
14377 EOF
14378 if { (eval echo configure:14379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14379 then
14380 ac_cv_c_bigendian=no
14381 else
14382 echo "configure: failed program was:" >&5
14383 cat conftest.$ac_ext >&5
14384 rm -fr conftest*
14385 ac_cv_c_bigendian=yes
14386 fi
14387 rm -fr conftest*
14388 fi
14389
14390 fi
14391 fi
14392
14393 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
14394 if test $ac_cv_c_bigendian = unknown; then
14395 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
14396 fi
14397 if test $ac_cv_c_bigendian = yes; then
14398 cat >> confdefs.h <<\EOF
14399 #define WORDS_BIGENDIAN 1
14400 EOF
14401
14402 fi
14403
14404
14405 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
14406 echo "configure:14407: checking how to run the C++ preprocessor" >&5
14407 if test -z "$CXXCPP"; then
14408 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
14409 echo $ac_n "(cached) $ac_c" 1>&6
14410 else
14411 ac_ext=C
14412 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14413 ac_cpp='$CXXCPP $CPPFLAGS'
14414 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14415 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14416 cross_compiling=$ac_cv_prog_cxx_cross
14417 CXXCPP="${CXX-g++} -E"
14418 cat > conftest.$ac_ext <<EOF
14419 #line 14420 "configure"
14420 #include "confdefs.h"
14421 #include <stdlib.h>
14422 EOF
14423 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14424 { (eval echo configure:14425: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14425 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14426 if test -z "$ac_err"; then
14427 :
14428 else
14429 echo "$ac_err" >&5
14430 echo "configure: failed program was:" >&5
14431 cat conftest.$ac_ext >&5
14432 rm -rf conftest*
14433 CXXCPP=/lib/cpp
14434 fi
14435 rm -f conftest*
14436 ac_cv_prog_CXXCPP="$CXXCPP"
14437 ac_ext=C
14438 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14439 ac_cpp='$CXXCPP $CPPFLAGS'
14440 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14441 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14442 cross_compiling=$ac_cv_prog_cxx_cross
14443 fi
14444 fi
14445 CXXCPP="$ac_cv_prog_CXXCPP"
14446 echo "$ac_t""$CXXCPP" 1>&6
14447
14448
14449 if test "$cross_compiling" = "yes"; then
14450 cat >> confdefs.h <<\EOF
14451 #define wxUSE_IOSTREAMH 1
14452 EOF
14453
14454 else
14455
14456 ac_ext=C
14457 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14458 ac_cpp='$CXXCPP $CPPFLAGS'
14459 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14460 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14461 cross_compiling=$ac_cv_prog_cxx_cross
14462
14463
14464 for ac_hdr in iostream
14465 do
14466 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14467 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14468 echo "configure:14469: checking for $ac_hdr" >&5
14469 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14470 echo $ac_n "(cached) $ac_c" 1>&6
14471 else
14472 cat > conftest.$ac_ext <<EOF
14473 #line 14474 "configure"
14474 #include "confdefs.h"
14475 #include <$ac_hdr>
14476 EOF
14477 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14478 { (eval echo configure:14479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14479 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14480 if test -z "$ac_err"; then
14481 rm -rf conftest*
14482 eval "ac_cv_header_$ac_safe=yes"
14483 else
14484 echo "$ac_err" >&5
14485 echo "configure: failed program was:" >&5
14486 cat conftest.$ac_ext >&5
14487 rm -rf conftest*
14488 eval "ac_cv_header_$ac_safe=no"
14489 fi
14490 rm -f conftest*
14491 fi
14492 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14493 echo "$ac_t""yes" 1>&6
14494 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14495 cat >> confdefs.h <<EOF
14496 #define $ac_tr_hdr 1
14497 EOF
14498
14499 else
14500 echo "$ac_t""no" 1>&6
14501 fi
14502 done
14503
14504
14505 if test "$ac_cv_header_iostream" = "yes" ; then
14506 :
14507 else
14508 cat >> confdefs.h <<\EOF
14509 #define wxUSE_IOSTREAMH 1
14510 EOF
14511
14512 fi
14513
14514 ac_ext=c
14515 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14516 ac_cpp='$CPP $CPPFLAGS'
14517 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14518 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14519 cross_compiling=$ac_cv_prog_cc_cross
14520
14521 fi
14522
14523
14524
14525 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
14526 echo "configure:14527: checking if C++ compiler supports bool" >&5
14527 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
14528 echo $ac_n "(cached) $ac_c" 1>&6
14529 else
14530
14531
14532 ac_ext=C
14533 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14534 ac_cpp='$CXXCPP $CPPFLAGS'
14535 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14536 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14537 cross_compiling=$ac_cv_prog_cxx_cross
14538
14539
14540 cat > conftest.$ac_ext <<EOF
14541 #line 14542 "configure"
14542 #include "confdefs.h"
14543
14544
14545 int main() {
14546
14547 bool b = true;
14548
14549 return 0;
14550
14551 ; return 0; }
14552 EOF
14553 if { (eval echo configure:14554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14554 rm -rf conftest*
14555
14556 wx_cv_cpp_bool=yes
14557
14558 else
14559 echo "configure: failed program was:" >&5
14560 cat conftest.$ac_ext >&5
14561 rm -rf conftest*
14562
14563 wx_cv_cpp_bool=no
14564
14565
14566 fi
14567 rm -f conftest*
14568
14569 ac_ext=c
14570 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14571 ac_cpp='$CPP $CPPFLAGS'
14572 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14573 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14574 cross_compiling=$ac_cv_prog_cc_cross
14575
14576
14577 fi
14578
14579 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
14580
14581 if test "$wx_cv_cpp_bool" = "yes"; then
14582 cat >> confdefs.h <<\EOF
14583 #define HAVE_BOOL 1
14584 EOF
14585
14586 fi
14587
14588
14589
14590 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
14591 echo "configure:14592: checking for wcslen in -lc" >&5
14592 ac_lib_var=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
14593 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14594 echo $ac_n "(cached) $ac_c" 1>&6
14595 else
14596 ac_save_LIBS="$LIBS"
14597 LIBS="-lc $LIBS"
14598 cat > conftest.$ac_ext <<EOF
14599 #line 14600 "configure"
14600 #include "confdefs.h"
14601 /* Override any gcc2 internal prototype to avoid an error. */
14602 /* We use char because int might match the return type of a gcc2
14603 builtin and then its argument prototype would still apply. */
14604 char wcslen();
14605
14606 int main() {
14607 wcslen()
14608 ; return 0; }
14609 EOF
14610 if { (eval echo configure:14611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14611 rm -rf conftest*
14612 eval "ac_cv_lib_$ac_lib_var=yes"
14613 else
14614 echo "configure: failed program was:" >&5
14615 cat conftest.$ac_ext >&5
14616 rm -rf conftest*
14617 eval "ac_cv_lib_$ac_lib_var=no"
14618 fi
14619 rm -f conftest*
14620 LIBS="$ac_save_LIBS"
14621
14622 fi
14623 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14624 echo "$ac_t""yes" 1>&6
14625
14626 cat >> confdefs.h <<\EOF
14627 #define HAVE_WCSLEN 1
14628 EOF
14629
14630 WCHAR_LINK=
14631
14632 else
14633 echo "$ac_t""no" 1>&6
14634
14635 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
14636 echo "configure:14637: checking for wcslen in -lw" >&5
14637 ac_lib_var=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
14638 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14639 echo $ac_n "(cached) $ac_c" 1>&6
14640 else
14641 ac_save_LIBS="$LIBS"
14642 LIBS="-lw $LIBS"
14643 cat > conftest.$ac_ext <<EOF
14644 #line 14645 "configure"
14645 #include "confdefs.h"
14646 /* Override any gcc2 internal prototype to avoid an error. */
14647 /* We use char because int might match the return type of a gcc2
14648 builtin and then its argument prototype would still apply. */
14649 char wcslen();
14650
14651 int main() {
14652 wcslen()
14653 ; return 0; }
14654 EOF
14655 if { (eval echo configure:14656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14656 rm -rf conftest*
14657 eval "ac_cv_lib_$ac_lib_var=yes"
14658 else
14659 echo "configure: failed program was:" >&5
14660 cat conftest.$ac_ext >&5
14661 rm -rf conftest*
14662 eval "ac_cv_lib_$ac_lib_var=no"
14663 fi
14664 rm -f conftest*
14665 LIBS="$ac_save_LIBS"
14666
14667 fi
14668 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14669 echo "$ac_t""yes" 1>&6
14670
14671 cat >> confdefs.h <<\EOF
14672 #define HAVE_WCSLEN 1
14673 EOF
14674
14675 WCHAR_LINK=" -lw"
14676
14677 else
14678 echo "$ac_t""no" 1>&6
14679
14680 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
14681 echo "configure:14682: checking for wcslen in -lmsvcrt" >&5
14682 ac_lib_var=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
14683 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14684 echo $ac_n "(cached) $ac_c" 1>&6
14685 else
14686 ac_save_LIBS="$LIBS"
14687 LIBS="-lmsvcrt $LIBS"
14688 cat > conftest.$ac_ext <<EOF
14689 #line 14690 "configure"
14690 #include "confdefs.h"
14691 /* Override any gcc2 internal prototype to avoid an error. */
14692 /* We use char because int might match the return type of a gcc2
14693 builtin and then its argument prototype would still apply. */
14694 char wcslen();
14695
14696 int main() {
14697 wcslen()
14698 ; return 0; }
14699 EOF
14700 if { (eval echo configure:14701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14701 rm -rf conftest*
14702 eval "ac_cv_lib_$ac_lib_var=yes"
14703 else
14704 echo "configure: failed program was:" >&5
14705 cat conftest.$ac_ext >&5
14706 rm -rf conftest*
14707 eval "ac_cv_lib_$ac_lib_var=no"
14708 fi
14709 rm -f conftest*
14710 LIBS="$ac_save_LIBS"
14711
14712 fi
14713 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14714 echo "$ac_t""yes" 1>&6
14715
14716 cat >> confdefs.h <<\EOF
14717 #define HAVE_WCSLEN 1
14718 EOF
14719
14720 WCHAR_LINK=
14721
14722 else
14723 echo "$ac_t""no" 1>&6
14724 fi
14725
14726
14727 fi
14728
14729
14730 fi
14731
14732
14733 for ac_func in wcsrtombs
14734 do
14735 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14736 echo "configure:14737: checking for $ac_func" >&5
14737 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14738 echo $ac_n "(cached) $ac_c" 1>&6
14739 else
14740 cat > conftest.$ac_ext <<EOF
14741 #line 14742 "configure"
14742 #include "confdefs.h"
14743 /* System header to define __stub macros and hopefully few prototypes,
14744 which can conflict with char $ac_func(); below. */
14745 #include <assert.h>
14746 /* Override any gcc2 internal prototype to avoid an error. */
14747 /* We use char because int might match the return type of a gcc2
14748 builtin and then its argument prototype would still apply. */
14749 char $ac_func();
14750
14751 int main() {
14752
14753 /* The GNU C library defines this for functions which it implements
14754 to always fail with ENOSYS. Some functions are actually named
14755 something starting with __ and the normal name is an alias. */
14756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14757 choke me
14758 #else
14759 $ac_func();
14760 #endif
14761
14762 ; return 0; }
14763 EOF
14764 if { (eval echo configure:14765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14765 rm -rf conftest*
14766 eval "ac_cv_func_$ac_func=yes"
14767 else
14768 echo "configure: failed program was:" >&5
14769 cat conftest.$ac_ext >&5
14770 rm -rf conftest*
14771 eval "ac_cv_func_$ac_func=no"
14772 fi
14773 rm -f conftest*
14774 fi
14775
14776 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14777 echo "$ac_t""yes" 1>&6
14778 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14779 cat >> confdefs.h <<EOF
14780 #define $ac_tr_func 1
14781 EOF
14782
14783 else
14784 echo "$ac_t""no" 1>&6
14785 fi
14786 done
14787
14788
14789 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
14790 echo "configure:14791: checking for vprintf" >&5
14791 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
14792 echo $ac_n "(cached) $ac_c" 1>&6
14793 else
14794 cat > conftest.$ac_ext <<EOF
14795 #line 14796 "configure"
14796 #include "confdefs.h"
14797 /* System header to define __stub macros and hopefully few prototypes,
14798 which can conflict with char vprintf(); below. */
14799 #include <assert.h>
14800 /* Override any gcc2 internal prototype to avoid an error. */
14801 /* We use char because int might match the return type of a gcc2
14802 builtin and then its argument prototype would still apply. */
14803 char vprintf();
14804
14805 int main() {
14806
14807 /* The GNU C library defines this for functions which it implements
14808 to always fail with ENOSYS. Some functions are actually named
14809 something starting with __ and the normal name is an alias. */
14810 #if defined (__stub_vprintf) || defined (__stub___vprintf)
14811 choke me
14812 #else
14813 vprintf();
14814 #endif
14815
14816 ; return 0; }
14817 EOF
14818 if { (eval echo configure:14819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14819 rm -rf conftest*
14820 eval "ac_cv_func_vprintf=yes"
14821 else
14822 echo "configure: failed program was:" >&5
14823 cat conftest.$ac_ext >&5
14824 rm -rf conftest*
14825 eval "ac_cv_func_vprintf=no"
14826 fi
14827 rm -f conftest*
14828 fi
14829
14830 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
14831 echo "$ac_t""yes" 1>&6
14832 cat >> confdefs.h <<\EOF
14833 #define HAVE_VPRINTF 1
14834 EOF
14835
14836 else
14837 echo "$ac_t""no" 1>&6
14838 fi
14839
14840 if test "$ac_cv_func_vprintf" != yes; then
14841 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
14842 echo "configure:14843: checking for _doprnt" >&5
14843 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
14844 echo $ac_n "(cached) $ac_c" 1>&6
14845 else
14846 cat > conftest.$ac_ext <<EOF
14847 #line 14848 "configure"
14848 #include "confdefs.h"
14849 /* System header to define __stub macros and hopefully few prototypes,
14850 which can conflict with char _doprnt(); below. */
14851 #include <assert.h>
14852 /* Override any gcc2 internal prototype to avoid an error. */
14853 /* We use char because int might match the return type of a gcc2
14854 builtin and then its argument prototype would still apply. */
14855 char _doprnt();
14856
14857 int main() {
14858
14859 /* The GNU C library defines this for functions which it implements
14860 to always fail with ENOSYS. Some functions are actually named
14861 something starting with __ and the normal name is an alias. */
14862 #if defined (__stub__doprnt) || defined (__stub____doprnt)
14863 choke me
14864 #else
14865 _doprnt();
14866 #endif
14867
14868 ; return 0; }
14869 EOF
14870 if { (eval echo configure:14871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14871 rm -rf conftest*
14872 eval "ac_cv_func__doprnt=yes"
14873 else
14874 echo "configure: failed program was:" >&5
14875 cat conftest.$ac_ext >&5
14876 rm -rf conftest*
14877 eval "ac_cv_func__doprnt=no"
14878 fi
14879 rm -f conftest*
14880 fi
14881
14882 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
14883 echo "$ac_t""yes" 1>&6
14884 cat >> confdefs.h <<\EOF
14885 #define HAVE_DOPRNT 1
14886 EOF
14887
14888 else
14889 echo "$ac_t""no" 1>&6
14890 fi
14891
14892 fi
14893
14894
14895
14896
14897
14898
14899 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
14900 echo "configure:14901: checking for vsnprintf" >&5
14901 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
14902 echo $ac_n "(cached) $ac_c" 1>&6
14903 else
14904
14905 cat > conftest.$ac_ext <<EOF
14906 #line 14907 "configure"
14907 #include "confdefs.h"
14908
14909 #include <stdio.h>
14910 #include <stdarg.h>
14911
14912 int main() {
14913
14914 int wx_test_vsnprintf(const char *, ...);
14915
14916 wx_test_vsnprintf("%s");
14917 return 0;
14918 }
14919
14920 int wx_test_vsnprintf(const char *fmt, ...)
14921 {
14922 char *s;
14923
14924 va_list argp;
14925 va_start(argp, fmt);
14926 vsnprintf(s, 42, fmt, argp);
14927 va_end(argp);
14928
14929 ; return 0; }
14930 EOF
14931 if { (eval echo configure:14932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14932 rm -rf conftest*
14933
14934 wx_cv_func_vsnprintf=yes
14935
14936 else
14937 echo "configure: failed program was:" >&5
14938 cat conftest.$ac_ext >&5
14939 rm -rf conftest*
14940
14941 cat > conftest.$ac_ext <<EOF
14942 #line 14943 "configure"
14943 #include "confdefs.h"
14944
14945 #include <stdio.h>
14946 #include <stdarg.h>
14947
14948 int main() {
14949
14950 int wx_test_vsnprintf(const char *, ...);
14951
14952 wx_test_vsnprintf("%s");
14953 return 0;
14954 }
14955
14956 int wx_test_vsnprintf(const char *fmt, ...)
14957 {
14958 char *s;
14959
14960 va_list argp;
14961 va_start(argp, fmt);
14962 _vsnprintf(s, 42, fmt, argp);
14963 va_end(argp);
14964
14965 ; return 0; }
14966 EOF
14967 if { (eval echo configure:14968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14968 rm -rf conftest*
14969
14970 wx_cv_func_vsnprintf=yes
14971
14972 else
14973 echo "configure: failed program was:" >&5
14974 cat conftest.$ac_ext >&5
14975 rm -rf conftest*
14976
14977 wx_cv_func_vsnprintf=no
14978
14979 fi
14980 rm -f conftest*
14981
14982 fi
14983 rm -f conftest*
14984
14985 fi
14986
14987 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
14988
14989 if test "$wx_cv_func_vsnprintf" = yes; then
14990 cat >> confdefs.h <<\EOF
14991 #define HAVE_VSNPRINTF 1
14992 EOF
14993
14994 else
14995 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
14996 fi
14997
14998 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
14999 echo "configure:15000: checking for vsscanf" >&5
15000 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
15001 echo $ac_n "(cached) $ac_c" 1>&6
15002 else
15003
15004 cat > conftest.$ac_ext <<EOF
15005 #line 15006 "configure"
15006 #include "confdefs.h"
15007
15008 #include <stdio.h>
15009 #include <stdarg.h>
15010
15011 int main() {
15012
15013 int wx_test_vsscanf(const char *, ...);
15014
15015 wx_test_vsscanf("%d");
15016 return 0;
15017 }
15018
15019 int wx_test_vsscanf(const char *fmt, ...)
15020 {
15021 va_list argp;
15022 va_start(argp, fmt);
15023 vsscanf("42", fmt, argp);
15024 va_end(argp);
15025
15026 ; return 0; }
15027 EOF
15028 if { (eval echo configure:15029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15029 rm -rf conftest*
15030
15031 wx_cv_func_vsscanf=yes
15032
15033 else
15034 echo "configure: failed program was:" >&5
15035 cat conftest.$ac_ext >&5
15036 rm -rf conftest*
15037
15038 wx_cv_func_vsscanf=no
15039
15040 fi
15041 rm -f conftest*
15042
15043 fi
15044
15045 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
15046
15047 if test "$wx_cv_func_vsscanf" = yes; then
15048 cat >> confdefs.h <<\EOF
15049 #define HAVE_VSSCANF 1
15050 EOF
15051
15052 fi
15053
15054 if test "$TOOLKIT" != "MSW"; then
15055
15056
15057
15058 ac_ext=C
15059 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15060 ac_cpp='$CXXCPP $CPPFLAGS'
15061 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15062 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15063 cross_compiling=$ac_cv_prog_cxx_cross
15064
15065 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
15066 echo "configure:15067: checking if iconv() takes char**" >&5
15067 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
15068 echo $ac_n "(cached) $ac_c" 1>&6
15069 else
15070
15071 cat > conftest.$ac_ext <<EOF
15072 #line 15073 "configure"
15073 #include "confdefs.h"
15074 #include <iconv.h>
15075 int main() {
15076
15077 char **inbuf, **outbuf;
15078 iconv_t cd;
15079 size_t insz, outsz;
15080 iconv(cd, inbuf, &insz, outbuf, &outsz);
15081
15082 ; return 0; }
15083 EOF
15084 if { (eval echo configure:15085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15085 rm -rf conftest*
15086 wx_cv_iconv_takes_char=yes
15087 else
15088 echo "configure: failed program was:" >&5
15089 cat conftest.$ac_ext >&5
15090 rm -rf conftest*
15091 wx_cv_iconv_takes_char=no
15092 fi
15093 rm -f conftest*
15094
15095 fi
15096
15097 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
15098 ac_ext=c
15099 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15100 ac_cpp='$CPP $CPPFLAGS'
15101 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15102 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15103 cross_compiling=$ac_cv_prog_cc_cross
15104
15105 if test "$wx_cv_iconv_takes_char" = yes ; then
15106 cat >> confdefs.h <<\EOF
15107 #define WX_ICONV_TAKES_CHAR 1
15108 EOF
15109
15110 fi
15111
15112
15113 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
15114 for ac_func in sigaction
15115 do
15116 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15117 echo "configure:15118: checking for $ac_func" >&5
15118 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15119 echo $ac_n "(cached) $ac_c" 1>&6
15120 else
15121 cat > conftest.$ac_ext <<EOF
15122 #line 15123 "configure"
15123 #include "confdefs.h"
15124 /* System header to define __stub macros and hopefully few prototypes,
15125 which can conflict with char $ac_func(); below. */
15126 #include <assert.h>
15127 /* Override any gcc2 internal prototype to avoid an error. */
15128 /* We use char because int might match the return type of a gcc2
15129 builtin and then its argument prototype would still apply. */
15130 char $ac_func();
15131
15132 int main() {
15133
15134 /* The GNU C library defines this for functions which it implements
15135 to always fail with ENOSYS. Some functions are actually named
15136 something starting with __ and the normal name is an alias. */
15137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15138 choke me
15139 #else
15140 $ac_func();
15141 #endif
15142
15143 ; return 0; }
15144 EOF
15145 if { (eval echo configure:15146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15146 rm -rf conftest*
15147 eval "ac_cv_func_$ac_func=yes"
15148 else
15149 echo "configure: failed program was:" >&5
15150 cat conftest.$ac_ext >&5
15151 rm -rf conftest*
15152 eval "ac_cv_func_$ac_func=no"
15153 fi
15154 rm -f conftest*
15155 fi
15156
15157 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15158 echo "$ac_t""yes" 1>&6
15159 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15160 cat >> confdefs.h <<EOF
15161 #define $ac_tr_func 1
15162 EOF
15163
15164 else
15165 echo "$ac_t""no" 1>&6
15166 fi
15167 done
15168
15169
15170 if test "$ac_cv_func_sigaction" = "no"; then
15171 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
15172 wxUSE_ON_FATAL_EXCEPTION=no
15173 fi
15174
15175 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15176
15177 ac_ext=C
15178 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15179 ac_cpp='$CXXCPP $CPPFLAGS'
15180 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15181 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15182 cross_compiling=$ac_cv_prog_cxx_cross
15183
15184
15185 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
15186 echo "configure:15187: checking for sa_handler type" >&5
15187 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
15188 echo $ac_n "(cached) $ac_c" 1>&6
15189 else
15190
15191 cat > conftest.$ac_ext <<EOF
15192 #line 15193 "configure"
15193 #include "confdefs.h"
15194 #include <signal.h>
15195 int main() {
15196
15197 extern void testSigHandler(int);
15198
15199 struct sigaction sa;
15200 sa.sa_handler = testSigHandler;
15201
15202 ; return 0; }
15203 EOF
15204 if { (eval echo configure:15205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15205 rm -rf conftest*
15206
15207 wx_cv_type_sa_handler=int
15208
15209 else
15210 echo "configure: failed program was:" >&5
15211 cat conftest.$ac_ext >&5
15212 rm -rf conftest*
15213
15214 wx_cv_type_sa_handler=void
15215
15216 fi
15217 rm -f conftest*
15218
15219 fi
15220
15221 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
15222
15223 ac_ext=c
15224 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15225 ac_cpp='$CPP $CPPFLAGS'
15226 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15227 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15228 cross_compiling=$ac_cv_prog_cc_cross
15229
15230
15231 cat >> confdefs.h <<EOF
15232 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
15233 EOF
15234
15235 fi
15236 fi
15237
15238 for ac_func in vfork
15239 do
15240 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15241 echo "configure:15242: checking for $ac_func" >&5
15242 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15243 echo $ac_n "(cached) $ac_c" 1>&6
15244 else
15245 cat > conftest.$ac_ext <<EOF
15246 #line 15247 "configure"
15247 #include "confdefs.h"
15248 /* System header to define __stub macros and hopefully few prototypes,
15249 which can conflict with char $ac_func(); below. */
15250 #include <assert.h>
15251 /* Override any gcc2 internal prototype to avoid an error. */
15252 /* We use char because int might match the return type of a gcc2
15253 builtin and then its argument prototype would still apply. */
15254 char $ac_func();
15255
15256 int main() {
15257
15258 /* The GNU C library defines this for functions which it implements
15259 to always fail with ENOSYS. Some functions are actually named
15260 something starting with __ and the normal name is an alias. */
15261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15262 choke me
15263 #else
15264 $ac_func();
15265 #endif
15266
15267 ; return 0; }
15268 EOF
15269 if { (eval echo configure:15270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15270 rm -rf conftest*
15271 eval "ac_cv_func_$ac_func=yes"
15272 else
15273 echo "configure: failed program was:" >&5
15274 cat conftest.$ac_ext >&5
15275 rm -rf conftest*
15276 eval "ac_cv_func_$ac_func=no"
15277 fi
15278 rm -f conftest*
15279 fi
15280
15281 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15282 echo "$ac_t""yes" 1>&6
15283 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15284 cat >> confdefs.h <<EOF
15285 #define $ac_tr_func 1
15286 EOF
15287
15288 else
15289 echo "$ac_t""no" 1>&6
15290 fi
15291 done
15292
15293
15294 for ac_func in mkstemp mktemp
15295 do
15296 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15297 echo "configure:15298: checking for $ac_func" >&5
15298 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15299 echo $ac_n "(cached) $ac_c" 1>&6
15300 else
15301 cat > conftest.$ac_ext <<EOF
15302 #line 15303 "configure"
15303 #include "confdefs.h"
15304 /* System header to define __stub macros and hopefully few prototypes,
15305 which can conflict with char $ac_func(); below. */
15306 #include <assert.h>
15307 /* Override any gcc2 internal prototype to avoid an error. */
15308 /* We use char because int might match the return type of a gcc2
15309 builtin and then its argument prototype would still apply. */
15310 char $ac_func();
15311
15312 int main() {
15313
15314 /* The GNU C library defines this for functions which it implements
15315 to always fail with ENOSYS. Some functions are actually named
15316 something starting with __ and the normal name is an alias. */
15317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15318 choke me
15319 #else
15320 $ac_func();
15321 #endif
15322
15323 ; return 0; }
15324 EOF
15325 if { (eval echo configure:15326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15326 rm -rf conftest*
15327 eval "ac_cv_func_$ac_func=yes"
15328 else
15329 echo "configure: failed program was:" >&5
15330 cat conftest.$ac_ext >&5
15331 rm -rf conftest*
15332 eval "ac_cv_func_$ac_func=no"
15333 fi
15334 rm -f conftest*
15335 fi
15336
15337 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15338 echo "$ac_t""yes" 1>&6
15339 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15340 cat >> confdefs.h <<EOF
15341 #define $ac_tr_func 1
15342 EOF
15343 break
15344 else
15345 echo "$ac_t""no" 1>&6
15346 fi
15347 done
15348
15349
15350 echo $ac_n "checking for statfs""... $ac_c" 1>&6
15351 echo "configure:15352: checking for statfs" >&5
15352 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
15353 echo $ac_n "(cached) $ac_c" 1>&6
15354 else
15355 cat > conftest.$ac_ext <<EOF
15356 #line 15357 "configure"
15357 #include "confdefs.h"
15358
15359 #if defined(__BSD__)
15360 #include <sys/param.h>
15361 #include <sys/mount.h>
15362 #else
15363 #include <sys/vfs.h>
15364 #endif
15365
15366 int main() {
15367
15368 long l;
15369 struct statfs fs;
15370 statfs("/", &fs);
15371 l = fs.f_bsize;
15372 l += fs.f_blocks;
15373 l += fs.f_bavail;
15374
15375 ; return 0; }
15376 EOF
15377 if { (eval echo configure:15378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15378 rm -rf conftest*
15379
15380 wx_cv_func_statfs=yes
15381
15382 else
15383 echo "configure: failed program was:" >&5
15384 cat conftest.$ac_ext >&5
15385 rm -rf conftest*
15386
15387 wx_cv_func_statfs=no
15388
15389
15390 fi
15391 rm -f conftest*
15392
15393 fi
15394
15395 echo "$ac_t""$wx_cv_func_statfs" 1>&6
15396
15397 if test "$wx_cv_func_statfs" = "yes"; then
15398 cat >> confdefs.h <<\EOF
15399 #define HAVE_STATFS 1
15400 EOF
15401
15402 else
15403 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
15404 echo "configure:15405: checking for statvfs" >&5
15405 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
15406 echo $ac_n "(cached) $ac_c" 1>&6
15407 else
15408 cat > conftest.$ac_ext <<EOF
15409 #line 15410 "configure"
15410 #include "confdefs.h"
15411
15412 #include <sys/statvfs.h>
15413
15414 int main() {
15415
15416 long l;
15417 struct statvfs fs;
15418 statvfs("/", &fs);
15419 l = fs.f_bsize;
15420 l += fs.f_blocks;
15421 l += fs.f_bavail;
15422
15423 ; return 0; }
15424 EOF
15425 if { (eval echo configure:15426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15426 rm -rf conftest*
15427
15428 wx_cv_func_statvfs=yes
15429
15430 else
15431 echo "configure: failed program was:" >&5
15432 cat conftest.$ac_ext >&5
15433 rm -rf conftest*
15434
15435 wx_cv_func_statvfs=no
15436
15437
15438 fi
15439 rm -f conftest*
15440
15441 fi
15442
15443 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
15444
15445 if test "$wx_cv_func_statvfs" = "yes"; then
15446 cat >> confdefs.h <<\EOF
15447 #define HAVE_STATVFS 1
15448 EOF
15449
15450 else
15451 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
15452 fi
15453 fi
15454
15455 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15456 for ac_func in fcntl flock
15457 do
15458 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15459 echo "configure:15460: checking for $ac_func" >&5
15460 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15461 echo $ac_n "(cached) $ac_c" 1>&6
15462 else
15463 cat > conftest.$ac_ext <<EOF
15464 #line 15465 "configure"
15465 #include "confdefs.h"
15466 /* System header to define __stub macros and hopefully few prototypes,
15467 which can conflict with char $ac_func(); below. */
15468 #include <assert.h>
15469 /* Override any gcc2 internal prototype to avoid an error. */
15470 /* We use char because int might match the return type of a gcc2
15471 builtin and then its argument prototype would still apply. */
15472 char $ac_func();
15473
15474 int main() {
15475
15476 /* The GNU C library defines this for functions which it implements
15477 to always fail with ENOSYS. Some functions are actually named
15478 something starting with __ and the normal name is an alias. */
15479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15480 choke me
15481 #else
15482 $ac_func();
15483 #endif
15484
15485 ; return 0; }
15486 EOF
15487 if { (eval echo configure:15488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15488 rm -rf conftest*
15489 eval "ac_cv_func_$ac_func=yes"
15490 else
15491 echo "configure: failed program was:" >&5
15492 cat conftest.$ac_ext >&5
15493 rm -rf conftest*
15494 eval "ac_cv_func_$ac_func=no"
15495 fi
15496 rm -f conftest*
15497 fi
15498
15499 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15500 echo "$ac_t""yes" 1>&6
15501 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15502 cat >> confdefs.h <<EOF
15503 #define $ac_tr_func 1
15504 EOF
15505 break
15506 else
15507 echo "$ac_t""no" 1>&6
15508 fi
15509 done
15510
15511
15512 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
15513 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
15514 wxUSE_SNGLINST_CHECKER=no
15515 fi
15516 fi
15517
15518 for ac_func in timegm
15519 do
15520 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15521 echo "configure:15522: checking for $ac_func" >&5
15522 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15523 echo $ac_n "(cached) $ac_c" 1>&6
15524 else
15525 cat > conftest.$ac_ext <<EOF
15526 #line 15527 "configure"
15527 #include "confdefs.h"
15528 /* System header to define __stub macros and hopefully few prototypes,
15529 which can conflict with char $ac_func(); below. */
15530 #include <assert.h>
15531 /* Override any gcc2 internal prototype to avoid an error. */
15532 /* We use char because int might match the return type of a gcc2
15533 builtin and then its argument prototype would still apply. */
15534 char $ac_func();
15535
15536 int main() {
15537
15538 /* The GNU C library defines this for functions which it implements
15539 to always fail with ENOSYS. Some functions are actually named
15540 something starting with __ and the normal name is an alias. */
15541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15542 choke me
15543 #else
15544 $ac_func();
15545 #endif
15546
15547 ; return 0; }
15548 EOF
15549 if { (eval echo configure:15550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15550 rm -rf conftest*
15551 eval "ac_cv_func_$ac_func=yes"
15552 else
15553 echo "configure: failed program was:" >&5
15554 cat conftest.$ac_ext >&5
15555 rm -rf conftest*
15556 eval "ac_cv_func_$ac_func=no"
15557 fi
15558 rm -f conftest*
15559 fi
15560
15561 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15562 echo "$ac_t""yes" 1>&6
15563 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15564 cat >> confdefs.h <<EOF
15565 #define $ac_tr_func 1
15566 EOF
15567
15568 else
15569 echo "$ac_t""no" 1>&6
15570 fi
15571 done
15572
15573
15574 for ac_func in putenv setenv
15575 do
15576 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15577 echo "configure:15578: checking for $ac_func" >&5
15578 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15579 echo $ac_n "(cached) $ac_c" 1>&6
15580 else
15581 cat > conftest.$ac_ext <<EOF
15582 #line 15583 "configure"
15583 #include "confdefs.h"
15584 /* System header to define __stub macros and hopefully few prototypes,
15585 which can conflict with char $ac_func(); below. */
15586 #include <assert.h>
15587 /* Override any gcc2 internal prototype to avoid an error. */
15588 /* We use char because int might match the return type of a gcc2
15589 builtin and then its argument prototype would still apply. */
15590 char $ac_func();
15591
15592 int main() {
15593
15594 /* The GNU C library defines this for functions which it implements
15595 to always fail with ENOSYS. Some functions are actually named
15596 something starting with __ and the normal name is an alias. */
15597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15598 choke me
15599 #else
15600 $ac_func();
15601 #endif
15602
15603 ; return 0; }
15604 EOF
15605 if { (eval echo configure:15606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15606 rm -rf conftest*
15607 eval "ac_cv_func_$ac_func=yes"
15608 else
15609 echo "configure: failed program was:" >&5
15610 cat conftest.$ac_ext >&5
15611 rm -rf conftest*
15612 eval "ac_cv_func_$ac_func=no"
15613 fi
15614 rm -f conftest*
15615 fi
15616
15617 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15618 echo "$ac_t""yes" 1>&6
15619 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15620 cat >> confdefs.h <<EOF
15621 #define $ac_tr_func 1
15622 EOF
15623 break
15624 else
15625 echo "$ac_t""no" 1>&6
15626 fi
15627 done
15628
15629
15630 HAVE_SOME_SLEEP_FUNC=0
15631 if test "$USE_BEOS" = 1; then
15632 cat >> confdefs.h <<\EOF
15633 #define HAVE_SLEEP 1
15634 EOF
15635
15636 HAVE_SOME_SLEEP_FUNC=1
15637 fi
15638
15639 if test "$USE_DARWIN" = 1; then
15640 cat >> confdefs.h <<\EOF
15641 #define HAVE_USLEEP 1
15642 EOF
15643
15644 HAVE_SOME_SLEEP_FUNC=1
15645 fi
15646
15647 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
15648 POSIX4_LINK=
15649 for ac_func in nanosleep
15650 do
15651 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15652 echo "configure:15653: checking for $ac_func" >&5
15653 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15654 echo $ac_n "(cached) $ac_c" 1>&6
15655 else
15656 cat > conftest.$ac_ext <<EOF
15657 #line 15658 "configure"
15658 #include "confdefs.h"
15659 /* System header to define __stub macros and hopefully few prototypes,
15660 which can conflict with char $ac_func(); below. */
15661 #include <assert.h>
15662 /* Override any gcc2 internal prototype to avoid an error. */
15663 /* We use char because int might match the return type of a gcc2
15664 builtin and then its argument prototype would still apply. */
15665 char $ac_func();
15666
15667 int main() {
15668
15669 /* The GNU C library defines this for functions which it implements
15670 to always fail with ENOSYS. Some functions are actually named
15671 something starting with __ and the normal name is an alias. */
15672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15673 choke me
15674 #else
15675 $ac_func();
15676 #endif
15677
15678 ; return 0; }
15679 EOF
15680 if { (eval echo configure:15681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15681 rm -rf conftest*
15682 eval "ac_cv_func_$ac_func=yes"
15683 else
15684 echo "configure: failed program was:" >&5
15685 cat conftest.$ac_ext >&5
15686 rm -rf conftest*
15687 eval "ac_cv_func_$ac_func=no"
15688 fi
15689 rm -f conftest*
15690 fi
15691
15692 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15693 echo "$ac_t""yes" 1>&6
15694 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15695 cat >> confdefs.h <<EOF
15696 #define $ac_tr_func 1
15697 EOF
15698 cat >> confdefs.h <<\EOF
15699 #define HAVE_NANOSLEEP 1
15700 EOF
15701
15702 else
15703 echo "$ac_t""no" 1>&6
15704 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
15705 echo "configure:15706: checking for nanosleep in -lposix4" >&5
15706 ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
15707 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15708 echo $ac_n "(cached) $ac_c" 1>&6
15709 else
15710 ac_save_LIBS="$LIBS"
15711 LIBS="-lposix4 $LIBS"
15712 cat > conftest.$ac_ext <<EOF
15713 #line 15714 "configure"
15714 #include "confdefs.h"
15715 /* Override any gcc2 internal prototype to avoid an error. */
15716 /* We use char because int might match the return type of a gcc2
15717 builtin and then its argument prototype would still apply. */
15718 char nanosleep();
15719
15720 int main() {
15721 nanosleep()
15722 ; return 0; }
15723 EOF
15724 if { (eval echo configure:15725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15725 rm -rf conftest*
15726 eval "ac_cv_lib_$ac_lib_var=yes"
15727 else
15728 echo "configure: failed program was:" >&5
15729 cat conftest.$ac_ext >&5
15730 rm -rf conftest*
15731 eval "ac_cv_lib_$ac_lib_var=no"
15732 fi
15733 rm -f conftest*
15734 LIBS="$ac_save_LIBS"
15735
15736 fi
15737 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15738 echo "$ac_t""yes" 1>&6
15739
15740 cat >> confdefs.h <<\EOF
15741 #define HAVE_NANOSLEEP 1
15742 EOF
15743
15744 POSIX4_LINK=" -lposix4"
15745
15746 else
15747 echo "$ac_t""no" 1>&6
15748
15749 for ac_func in usleep
15750 do
15751 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15752 echo "configure:15753: checking for $ac_func" >&5
15753 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15754 echo $ac_n "(cached) $ac_c" 1>&6
15755 else
15756 cat > conftest.$ac_ext <<EOF
15757 #line 15758 "configure"
15758 #include "confdefs.h"
15759 /* System header to define __stub macros and hopefully few prototypes,
15760 which can conflict with char $ac_func(); below. */
15761 #include <assert.h>
15762 /* Override any gcc2 internal prototype to avoid an error. */
15763 /* We use char because int might match the return type of a gcc2
15764 builtin and then its argument prototype would still apply. */
15765 char $ac_func();
15766
15767 int main() {
15768
15769 /* The GNU C library defines this for functions which it implements
15770 to always fail with ENOSYS. Some functions are actually named
15771 something starting with __ and the normal name is an alias. */
15772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15773 choke me
15774 #else
15775 $ac_func();
15776 #endif
15777
15778 ; return 0; }
15779 EOF
15780 if { (eval echo configure:15781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15781 rm -rf conftest*
15782 eval "ac_cv_func_$ac_func=yes"
15783 else
15784 echo "configure: failed program was:" >&5
15785 cat conftest.$ac_ext >&5
15786 rm -rf conftest*
15787 eval "ac_cv_func_$ac_func=no"
15788 fi
15789 rm -f conftest*
15790 fi
15791
15792 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15793 echo "$ac_t""yes" 1>&6
15794 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15795 cat >> confdefs.h <<EOF
15796 #define $ac_tr_func 1
15797 EOF
15798 cat >> confdefs.h <<\EOF
15799 #define HAVE_USLEEP 1
15800 EOF
15801
15802 else
15803 echo "$ac_t""no" 1>&6
15804 echo "configure: warning: wxSleep() function will not work" 1>&2
15805
15806 fi
15807 done
15808
15809
15810
15811 fi
15812
15813
15814
15815 fi
15816 done
15817
15818 fi
15819
15820 for ac_func in uname gethostname
15821 do
15822 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15823 echo "configure:15824: checking for $ac_func" >&5
15824 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15825 echo $ac_n "(cached) $ac_c" 1>&6
15826 else
15827 cat > conftest.$ac_ext <<EOF
15828 #line 15829 "configure"
15829 #include "confdefs.h"
15830 /* System header to define __stub macros and hopefully few prototypes,
15831 which can conflict with char $ac_func(); below. */
15832 #include <assert.h>
15833 /* Override any gcc2 internal prototype to avoid an error. */
15834 /* We use char because int might match the return type of a gcc2
15835 builtin and then its argument prototype would still apply. */
15836 char $ac_func();
15837
15838 int main() {
15839
15840 /* The GNU C library defines this for functions which it implements
15841 to always fail with ENOSYS. Some functions are actually named
15842 something starting with __ and the normal name is an alias. */
15843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15844 choke me
15845 #else
15846 $ac_func();
15847 #endif
15848
15849 ; return 0; }
15850 EOF
15851 if { (eval echo configure:15852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15852 rm -rf conftest*
15853 eval "ac_cv_func_$ac_func=yes"
15854 else
15855 echo "configure: failed program was:" >&5
15856 cat conftest.$ac_ext >&5
15857 rm -rf conftest*
15858 eval "ac_cv_func_$ac_func=no"
15859 fi
15860 rm -f conftest*
15861 fi
15862
15863 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15864 echo "$ac_t""yes" 1>&6
15865 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15866 cat >> confdefs.h <<EOF
15867 #define $ac_tr_func 1
15868 EOF
15869 break
15870 else
15871 echo "$ac_t""no" 1>&6
15872 fi
15873 done
15874
15875
15876
15877 ac_ext=C
15878 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15879 ac_cpp='$CXXCPP $CPPFLAGS'
15880 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15881 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15882 cross_compiling=$ac_cv_prog_cxx_cross
15883
15884
15885 for ac_func in strtok_r
15886 do
15887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15888 echo "configure:15889: checking for $ac_func" >&5
15889 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15890 echo $ac_n "(cached) $ac_c" 1>&6
15891 else
15892 cat > conftest.$ac_ext <<EOF
15893 #line 15894 "configure"
15894 #include "confdefs.h"
15895 /* System header to define __stub macros and hopefully few prototypes,
15896 which can conflict with char $ac_func(); below. */
15897 #include <assert.h>
15898 /* Override any gcc2 internal prototype to avoid an error. */
15899 #ifdef __cplusplus
15900 extern "C"
15901 #endif
15902 /* We use char because int might match the return type of a gcc2
15903 builtin and then its argument prototype would still apply. */
15904 char $ac_func();
15905
15906 int main() {
15907
15908 /* The GNU C library defines this for functions which it implements
15909 to always fail with ENOSYS. Some functions are actually named
15910 something starting with __ and the normal name is an alias. */
15911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15912 choke me
15913 #else
15914 $ac_func();
15915 #endif
15916
15917 ; return 0; }
15918 EOF
15919 if { (eval echo configure:15920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15920 rm -rf conftest*
15921 eval "ac_cv_func_$ac_func=yes"
15922 else
15923 echo "configure: failed program was:" >&5
15924 cat conftest.$ac_ext >&5
15925 rm -rf conftest*
15926 eval "ac_cv_func_$ac_func=no"
15927 fi
15928 rm -f conftest*
15929 fi
15930
15931 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15932 echo "$ac_t""yes" 1>&6
15933 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15934 cat >> confdefs.h <<EOF
15935 #define $ac_tr_func 1
15936 EOF
15937
15938 else
15939 echo "$ac_t""no" 1>&6
15940 fi
15941 done
15942
15943
15944 ac_ext=c
15945 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15946 ac_cpp='$CPP $CPPFLAGS'
15947 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15948 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15949 cross_compiling=$ac_cv_prog_cc_cross
15950
15951
15952 INET_LINK=
15953 for ac_func in inet_addr
15954 do
15955 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15956 echo "configure:15957: checking for $ac_func" >&5
15957 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15958 echo $ac_n "(cached) $ac_c" 1>&6
15959 else
15960 cat > conftest.$ac_ext <<EOF
15961 #line 15962 "configure"
15962 #include "confdefs.h"
15963 /* System header to define __stub macros and hopefully few prototypes,
15964 which can conflict with char $ac_func(); below. */
15965 #include <assert.h>
15966 /* Override any gcc2 internal prototype to avoid an error. */
15967 /* We use char because int might match the return type of a gcc2
15968 builtin and then its argument prototype would still apply. */
15969 char $ac_func();
15970
15971 int main() {
15972
15973 /* The GNU C library defines this for functions which it implements
15974 to always fail with ENOSYS. Some functions are actually named
15975 something starting with __ and the normal name is an alias. */
15976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15977 choke me
15978 #else
15979 $ac_func();
15980 #endif
15981
15982 ; return 0; }
15983 EOF
15984 if { (eval echo configure:15985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15985 rm -rf conftest*
15986 eval "ac_cv_func_$ac_func=yes"
15987 else
15988 echo "configure: failed program was:" >&5
15989 cat conftest.$ac_ext >&5
15990 rm -rf conftest*
15991 eval "ac_cv_func_$ac_func=no"
15992 fi
15993 rm -f conftest*
15994 fi
15995
15996 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15997 echo "$ac_t""yes" 1>&6
15998 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15999 cat >> confdefs.h <<EOF
16000 #define $ac_tr_func 1
16001 EOF
16002 cat >> confdefs.h <<\EOF
16003 #define HAVE_INET_ADDR 1
16004 EOF
16005
16006 else
16007 echo "$ac_t""no" 1>&6
16008 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
16009 echo "configure:16010: checking for inet_addr in -lnsl" >&5
16010 ac_lib_var=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
16011 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16012 echo $ac_n "(cached) $ac_c" 1>&6
16013 else
16014 ac_save_LIBS="$LIBS"
16015 LIBS="-lnsl $LIBS"
16016 cat > conftest.$ac_ext <<EOF
16017 #line 16018 "configure"
16018 #include "confdefs.h"
16019 /* Override any gcc2 internal prototype to avoid an error. */
16020 /* We use char because int might match the return type of a gcc2
16021 builtin and then its argument prototype would still apply. */
16022 char inet_addr();
16023
16024 int main() {
16025 inet_addr()
16026 ; return 0; }
16027 EOF
16028 if { (eval echo configure:16029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16029 rm -rf conftest*
16030 eval "ac_cv_lib_$ac_lib_var=yes"
16031 else
16032 echo "configure: failed program was:" >&5
16033 cat conftest.$ac_ext >&5
16034 rm -rf conftest*
16035 eval "ac_cv_lib_$ac_lib_var=no"
16036 fi
16037 rm -f conftest*
16038 LIBS="$ac_save_LIBS"
16039
16040 fi
16041 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16042 echo "$ac_t""yes" 1>&6
16043 INET_LINK="nsl"
16044 else
16045 echo "$ac_t""no" 1>&6
16046 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
16047 echo "configure:16048: checking for inet_addr in -lresolv" >&5
16048 ac_lib_var=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
16049 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16050 echo $ac_n "(cached) $ac_c" 1>&6
16051 else
16052 ac_save_LIBS="$LIBS"
16053 LIBS="-lresolv $LIBS"
16054 cat > conftest.$ac_ext <<EOF
16055 #line 16056 "configure"
16056 #include "confdefs.h"
16057 /* Override any gcc2 internal prototype to avoid an error. */
16058 /* We use char because int might match the return type of a gcc2
16059 builtin and then its argument prototype would still apply. */
16060 char inet_addr();
16061
16062 int main() {
16063 inet_addr()
16064 ; return 0; }
16065 EOF
16066 if { (eval echo configure:16067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16067 rm -rf conftest*
16068 eval "ac_cv_lib_$ac_lib_var=yes"
16069 else
16070 echo "configure: failed program was:" >&5
16071 cat conftest.$ac_ext >&5
16072 rm -rf conftest*
16073 eval "ac_cv_lib_$ac_lib_var=no"
16074 fi
16075 rm -f conftest*
16076 LIBS="$ac_save_LIBS"
16077
16078 fi
16079 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16080 echo "$ac_t""yes" 1>&6
16081 INET_LINK="resolv"
16082
16083 else
16084 echo "$ac_t""no" 1>&6
16085 fi
16086
16087
16088 fi
16089
16090
16091
16092 fi
16093 done
16094
16095
16096 for ac_func in inet_aton
16097 do
16098 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16099 echo "configure:16100: checking for $ac_func" >&5
16100 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16101 echo $ac_n "(cached) $ac_c" 1>&6
16102 else
16103 cat > conftest.$ac_ext <<EOF
16104 #line 16105 "configure"
16105 #include "confdefs.h"
16106 /* System header to define __stub macros and hopefully few prototypes,
16107 which can conflict with char $ac_func(); below. */
16108 #include <assert.h>
16109 /* Override any gcc2 internal prototype to avoid an error. */
16110 /* We use char because int might match the return type of a gcc2
16111 builtin and then its argument prototype would still apply. */
16112 char $ac_func();
16113
16114 int main() {
16115
16116 /* The GNU C library defines this for functions which it implements
16117 to always fail with ENOSYS. Some functions are actually named
16118 something starting with __ and the normal name is an alias. */
16119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16120 choke me
16121 #else
16122 $ac_func();
16123 #endif
16124
16125 ; return 0; }
16126 EOF
16127 if { (eval echo configure:16128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16128 rm -rf conftest*
16129 eval "ac_cv_func_$ac_func=yes"
16130 else
16131 echo "configure: failed program was:" >&5
16132 cat conftest.$ac_ext >&5
16133 rm -rf conftest*
16134 eval "ac_cv_func_$ac_func=no"
16135 fi
16136 rm -f conftest*
16137 fi
16138
16139 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16140 echo "$ac_t""yes" 1>&6
16141 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16142 cat >> confdefs.h <<EOF
16143 #define $ac_tr_func 1
16144 EOF
16145 cat >> confdefs.h <<\EOF
16146 #define HAVE_INET_ATON 1
16147 EOF
16148
16149 else
16150 echo "$ac_t""no" 1>&6
16151 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
16152 echo "configure:16153: checking for inet_aton in -l$INET_LINK" >&5
16153 ac_lib_var=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
16154 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16155 echo $ac_n "(cached) $ac_c" 1>&6
16156 else
16157 ac_save_LIBS="$LIBS"
16158 LIBS="-l$INET_LINK $LIBS"
16159 cat > conftest.$ac_ext <<EOF
16160 #line 16161 "configure"
16161 #include "confdefs.h"
16162 /* Override any gcc2 internal prototype to avoid an error. */
16163 /* We use char because int might match the return type of a gcc2
16164 builtin and then its argument prototype would still apply. */
16165 char inet_aton();
16166
16167 int main() {
16168 inet_aton()
16169 ; return 0; }
16170 EOF
16171 if { (eval echo configure:16172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16172 rm -rf conftest*
16173 eval "ac_cv_lib_$ac_lib_var=yes"
16174 else
16175 echo "configure: failed program was:" >&5
16176 cat conftest.$ac_ext >&5
16177 rm -rf conftest*
16178 eval "ac_cv_lib_$ac_lib_var=no"
16179 fi
16180 rm -f conftest*
16181 LIBS="$ac_save_LIBS"
16182
16183 fi
16184 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16185 echo "$ac_t""yes" 1>&6
16186 cat >> confdefs.h <<\EOF
16187 #define HAVE_INET_ATON 1
16188 EOF
16189
16190 else
16191 echo "$ac_t""no" 1>&6
16192 fi
16193
16194
16195 fi
16196 done
16197
16198
16199 if test "x$INET_LINK" != "x"; then
16200 cat >> confdefs.h <<\EOF
16201 #define HAVE_INET_ADDR 1
16202 EOF
16203
16204 INET_LINK=" -l$INET_LINK"
16205 fi
16206
16207 fi
16208
16209
16210 cat > confcache <<\EOF
16211 # This file is a shell script that caches the results of configure
16212 # tests run on this system so they can be shared between configure
16213 # scripts and configure runs. It is not useful on other systems.
16214 # If it contains results you don't want to keep, you may remove or edit it.
16215 #
16216 # By default, configure uses ./config.cache as the cache file,
16217 # creating it if it does not exist already. You can give configure
16218 # the --cache-file=FILE option to use a different cache file; that is
16219 # what configure does when it calls configure scripts in
16220 # subdirectories, so they share the cache.
16221 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16222 # config.status only pays attention to the cache file if you give it the
16223 # --recheck option to rerun configure.
16224 #
16225 EOF
16226 # The following way of writing the cache mishandles newlines in values,
16227 # but we know of no workaround that is simple, portable, and efficient.
16228 # So, don't put newlines in cache variables' values.
16229 # Ultrix sh set writes to stderr and can't be redirected directly,
16230 # and sets the high bit in the cache file unless we assign to the vars.
16231 (set) 2>&1 |
16232 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16233 *ac_space=\ *)
16234 # `set' does not quote correctly, so add quotes (double-quote substitution
16235 # turns \\\\ into \\, and sed turns \\ into \).
16236 sed -n \
16237 -e "s/'/'\\\\''/g" \
16238 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16239 ;;
16240 *)
16241 # `set' quotes correctly as required by POSIX, so do not add quotes.
16242 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16243 ;;
16244 esac >> confcache
16245 if cmp -s $cache_file confcache; then
16246 :
16247 else
16248 if test -w $cache_file; then
16249 echo "updating cache $cache_file"
16250 cat confcache > $cache_file
16251 else
16252 echo "not updating unwritable cache $cache_file"
16253 fi
16254 fi
16255 rm -f confcache
16256
16257
16258
16259 if test "$TOOLKIT" != "MSW"; then
16260
16261
16262 THREADS_LINK=
16263 THREADS_OBJ=
16264 CODE_GEN_FLAGS=
16265 CODE_GEN_FLAGS_CXX=
16266
16267 if test "$wxUSE_THREADS" = "yes" ; then
16268 if test "$wxUSE_WINE" = 1 ; then
16269 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
16270 wxUSE_THREADS="no"
16271 elif test "$USE_BEOS" = 1; then
16272 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
16273 wxUSE_THREADS="no"
16274 fi
16275 fi
16276
16277 if test "$wxUSE_THREADS" = "yes" ; then
16278
16279 if test "$USE_AIX" = 1; then
16280 THREADS_LIB=pthreads
16281 else
16282 THREADS_LIB=pthread
16283 fi
16284
16285 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
16286 echo "configure:16287: checking for pthread_create in -l$THREADS_LIB" >&5
16287 ac_lib_var=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
16288 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16289 echo $ac_n "(cached) $ac_c" 1>&6
16290 else
16291 ac_save_LIBS="$LIBS"
16292 LIBS="-l$THREADS_LIB $LIBS"
16293 cat > conftest.$ac_ext <<EOF
16294 #line 16295 "configure"
16295 #include "confdefs.h"
16296 /* Override any gcc2 internal prototype to avoid an error. */
16297 /* We use char because int might match the return type of a gcc2
16298 builtin and then its argument prototype would still apply. */
16299 char pthread_create();
16300
16301 int main() {
16302 pthread_create()
16303 ; return 0; }
16304 EOF
16305 if { (eval echo configure:16306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16306 rm -rf conftest*
16307 eval "ac_cv_lib_$ac_lib_var=yes"
16308 else
16309 echo "configure: failed program was:" >&5
16310 cat conftest.$ac_ext >&5
16311 rm -rf conftest*
16312 eval "ac_cv_lib_$ac_lib_var=no"
16313 fi
16314 rm -f conftest*
16315 LIBS="$ac_save_LIBS"
16316
16317 fi
16318 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16319 echo "$ac_t""yes" 1>&6
16320
16321 THREADS_OBJ="threadpsx.lo"
16322 THREADS_LINK=$THREADS_LIB
16323
16324 else
16325 echo "$ac_t""no" 1>&6
16326
16327 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
16328 echo "configure:16329: checking for pthread_create in -lc_r" >&5
16329 ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
16330 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16331 echo $ac_n "(cached) $ac_c" 1>&6
16332 else
16333 ac_save_LIBS="$LIBS"
16334 LIBS="-lc_r $LIBS"
16335 cat > conftest.$ac_ext <<EOF
16336 #line 16337 "configure"
16337 #include "confdefs.h"
16338 /* Override any gcc2 internal prototype to avoid an error. */
16339 /* We use char because int might match the return type of a gcc2
16340 builtin and then its argument prototype would still apply. */
16341 char pthread_create();
16342
16343 int main() {
16344 pthread_create()
16345 ; return 0; }
16346 EOF
16347 if { (eval echo configure:16348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16348 rm -rf conftest*
16349 eval "ac_cv_lib_$ac_lib_var=yes"
16350 else
16351 echo "configure: failed program was:" >&5
16352 cat conftest.$ac_ext >&5
16353 rm -rf conftest*
16354 eval "ac_cv_lib_$ac_lib_var=no"
16355 fi
16356 rm -f conftest*
16357 LIBS="$ac_save_LIBS"
16358
16359 fi
16360 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16361 echo "$ac_t""yes" 1>&6
16362
16363 THREADS_OBJ="threadpsx.lo"
16364 THREADS_LINK="c_r"
16365
16366 else
16367 echo "$ac_t""no" 1>&6
16368
16369 ac_safe=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
16370 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
16371 echo "configure:16372: checking for sys/prctl.h" >&5
16372 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16373 echo $ac_n "(cached) $ac_c" 1>&6
16374 else
16375 cat > conftest.$ac_ext <<EOF
16376 #line 16377 "configure"
16377 #include "confdefs.h"
16378 #include <sys/prctl.h>
16379 EOF
16380 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16381 { (eval echo configure:16382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16382 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16383 if test -z "$ac_err"; then
16384 rm -rf conftest*
16385 eval "ac_cv_header_$ac_safe=yes"
16386 else
16387 echo "$ac_err" >&5
16388 echo "configure: failed program was:" >&5
16389 cat conftest.$ac_ext >&5
16390 rm -rf conftest*
16391 eval "ac_cv_header_$ac_safe=no"
16392 fi
16393 rm -f conftest*
16394 fi
16395 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16396 echo "$ac_t""yes" 1>&6
16397
16398 THREADS_OBJ="threadsgi.lo"
16399
16400 else
16401 echo "$ac_t""no" 1>&6
16402 fi
16403
16404
16405 fi
16406
16407
16408 fi
16409
16410
16411 if test -z "$THREADS_OBJ" ; then
16412 wxUSE_THREADS=no
16413 echo "configure: warning: No thread support on this system... disabled" 1>&2
16414 fi
16415 fi
16416
16417 if test "$wxUSE_THREADS" = "yes" ; then
16418 for ac_func in thr_setconcurrency
16419 do
16420 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16421 echo "configure:16422: checking for $ac_func" >&5
16422 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16423 echo $ac_n "(cached) $ac_c" 1>&6
16424 else
16425 cat > conftest.$ac_ext <<EOF
16426 #line 16427 "configure"
16427 #include "confdefs.h"
16428 /* System header to define __stub macros and hopefully few prototypes,
16429 which can conflict with char $ac_func(); below. */
16430 #include <assert.h>
16431 /* Override any gcc2 internal prototype to avoid an error. */
16432 /* We use char because int might match the return type of a gcc2
16433 builtin and then its argument prototype would still apply. */
16434 char $ac_func();
16435
16436 int main() {
16437
16438 /* The GNU C library defines this for functions which it implements
16439 to always fail with ENOSYS. Some functions are actually named
16440 something starting with __ and the normal name is an alias. */
16441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16442 choke me
16443 #else
16444 $ac_func();
16445 #endif
16446
16447 ; return 0; }
16448 EOF
16449 if { (eval echo configure:16450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16450 rm -rf conftest*
16451 eval "ac_cv_func_$ac_func=yes"
16452 else
16453 echo "configure: failed program was:" >&5
16454 cat conftest.$ac_ext >&5
16455 rm -rf conftest*
16456 eval "ac_cv_func_$ac_func=no"
16457 fi
16458 rm -f conftest*
16459 fi
16460
16461 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16462 echo "$ac_t""yes" 1>&6
16463 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16464 cat >> confdefs.h <<EOF
16465 #define $ac_tr_func 1
16466 EOF
16467
16468 else
16469 echo "$ac_t""no" 1>&6
16470 fi
16471 done
16472
16473
16474
16475 for ac_hdr in sched.h
16476 do
16477 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16478 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16479 echo "configure:16480: checking for $ac_hdr" >&5
16480 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16481 echo $ac_n "(cached) $ac_c" 1>&6
16482 else
16483 cat > conftest.$ac_ext <<EOF
16484 #line 16485 "configure"
16485 #include "confdefs.h"
16486 #include <$ac_hdr>
16487 EOF
16488 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16489 { (eval echo configure:16490: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16490 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16491 if test -z "$ac_err"; then
16492 rm -rf conftest*
16493 eval "ac_cv_header_$ac_safe=yes"
16494 else
16495 echo "$ac_err" >&5
16496 echo "configure: failed program was:" >&5
16497 cat conftest.$ac_ext >&5
16498 rm -rf conftest*
16499 eval "ac_cv_header_$ac_safe=no"
16500 fi
16501 rm -f conftest*
16502 fi
16503 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16504 echo "$ac_t""yes" 1>&6
16505 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16506 cat >> confdefs.h <<EOF
16507 #define $ac_tr_hdr 1
16508 EOF
16509
16510 else
16511 echo "$ac_t""no" 1>&6
16512 fi
16513 done
16514
16515
16516 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
16517 echo "configure:16518: checking for sched_yield in -l$THREADS_LINK" >&5
16518 ac_lib_var=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
16519 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16520 echo $ac_n "(cached) $ac_c" 1>&6
16521 else
16522 ac_save_LIBS="$LIBS"
16523 LIBS="-l$THREADS_LINK $LIBS"
16524 cat > conftest.$ac_ext <<EOF
16525 #line 16526 "configure"
16526 #include "confdefs.h"
16527 /* Override any gcc2 internal prototype to avoid an error. */
16528 /* We use char because int might match the return type of a gcc2
16529 builtin and then its argument prototype would still apply. */
16530 char sched_yield();
16531
16532 int main() {
16533 sched_yield()
16534 ; return 0; }
16535 EOF
16536 if { (eval echo configure:16537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16537 rm -rf conftest*
16538 eval "ac_cv_lib_$ac_lib_var=yes"
16539 else
16540 echo "configure: failed program was:" >&5
16541 cat conftest.$ac_ext >&5
16542 rm -rf conftest*
16543 eval "ac_cv_lib_$ac_lib_var=no"
16544 fi
16545 rm -f conftest*
16546 LIBS="$ac_save_LIBS"
16547
16548 fi
16549 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16550 echo "$ac_t""yes" 1>&6
16551 cat >> confdefs.h <<\EOF
16552 #define HAVE_SCHED_YIELD 1
16553 EOF
16554
16555 else
16556 echo "$ac_t""no" 1>&6
16557 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
16558 echo "configure:16559: checking for sched_yield in -lposix4" >&5
16559 ac_lib_var=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
16560 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16561 echo $ac_n "(cached) $ac_c" 1>&6
16562 else
16563 ac_save_LIBS="$LIBS"
16564 LIBS="-lposix4 $LIBS"
16565 cat > conftest.$ac_ext <<EOF
16566 #line 16567 "configure"
16567 #include "confdefs.h"
16568 /* Override any gcc2 internal prototype to avoid an error. */
16569 /* We use char because int might match the return type of a gcc2
16570 builtin and then its argument prototype would still apply. */
16571 char sched_yield();
16572
16573 int main() {
16574 sched_yield()
16575 ; return 0; }
16576 EOF
16577 if { (eval echo configure:16578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16578 rm -rf conftest*
16579 eval "ac_cv_lib_$ac_lib_var=yes"
16580 else
16581 echo "configure: failed program was:" >&5
16582 cat conftest.$ac_ext >&5
16583 rm -rf conftest*
16584 eval "ac_cv_lib_$ac_lib_var=no"
16585 fi
16586 rm -f conftest*
16587 LIBS="$ac_save_LIBS"
16588
16589 fi
16590 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16591 echo "$ac_t""yes" 1>&6
16592 cat >> confdefs.h <<\EOF
16593 #define HAVE_SCHED_YIELD 1
16594 EOF
16595 POSIX4_LINK=" -lposix4"
16596 else
16597 echo "$ac_t""no" 1>&6
16598 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
16599
16600 fi
16601
16602
16603 fi
16604
16605
16606 HAVE_PRIOR_FUNCS=0
16607 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
16608 echo "configure:16609: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
16609 ac_lib_var=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
16610 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16611 echo $ac_n "(cached) $ac_c" 1>&6
16612 else
16613 ac_save_LIBS="$LIBS"
16614 LIBS="-l$THREADS_LINK $LIBS"
16615 cat > conftest.$ac_ext <<EOF
16616 #line 16617 "configure"
16617 #include "confdefs.h"
16618 /* Override any gcc2 internal prototype to avoid an error. */
16619 /* We use char because int might match the return type of a gcc2
16620 builtin and then its argument prototype would still apply. */
16621 char pthread_attr_getschedpolicy();
16622
16623 int main() {
16624 pthread_attr_getschedpolicy()
16625 ; return 0; }
16626 EOF
16627 if { (eval echo configure:16628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16628 rm -rf conftest*
16629 eval "ac_cv_lib_$ac_lib_var=yes"
16630 else
16631 echo "configure: failed program was:" >&5
16632 cat conftest.$ac_ext >&5
16633 rm -rf conftest*
16634 eval "ac_cv_lib_$ac_lib_var=no"
16635 fi
16636 rm -f conftest*
16637 LIBS="$ac_save_LIBS"
16638
16639 fi
16640 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16641 echo "$ac_t""yes" 1>&6
16642 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
16643 echo "configure:16644: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
16644 ac_lib_var=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
16645 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16646 echo $ac_n "(cached) $ac_c" 1>&6
16647 else
16648 ac_save_LIBS="$LIBS"
16649 LIBS="-l$THREADS_LINK $LIBS"
16650 cat > conftest.$ac_ext <<EOF
16651 #line 16652 "configure"
16652 #include "confdefs.h"
16653 /* Override any gcc2 internal prototype to avoid an error. */
16654 /* We use char because int might match the return type of a gcc2
16655 builtin and then its argument prototype would still apply. */
16656 char pthread_attr_setschedparam();
16657
16658 int main() {
16659 pthread_attr_setschedparam()
16660 ; return 0; }
16661 EOF
16662 if { (eval echo configure:16663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16663 rm -rf conftest*
16664 eval "ac_cv_lib_$ac_lib_var=yes"
16665 else
16666 echo "configure: failed program was:" >&5
16667 cat conftest.$ac_ext >&5
16668 rm -rf conftest*
16669 eval "ac_cv_lib_$ac_lib_var=no"
16670 fi
16671 rm -f conftest*
16672 LIBS="$ac_save_LIBS"
16673
16674 fi
16675 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16676 echo "$ac_t""yes" 1>&6
16677 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
16678 echo "configure:16679: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
16679 ac_lib_var=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
16680 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16681 echo $ac_n "(cached) $ac_c" 1>&6
16682 else
16683 ac_save_LIBS="$LIBS"
16684 LIBS="-l$THREADS_LINK $LIBS"
16685 cat > conftest.$ac_ext <<EOF
16686 #line 16687 "configure"
16687 #include "confdefs.h"
16688 /* Override any gcc2 internal prototype to avoid an error. */
16689 /* We use char because int might match the return type of a gcc2
16690 builtin and then its argument prototype would still apply. */
16691 char sched_get_priority_max();
16692
16693 int main() {
16694 sched_get_priority_max()
16695 ; return 0; }
16696 EOF
16697 if { (eval echo configure:16698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16698 rm -rf conftest*
16699 eval "ac_cv_lib_$ac_lib_var=yes"
16700 else
16701 echo "configure: failed program was:" >&5
16702 cat conftest.$ac_ext >&5
16703 rm -rf conftest*
16704 eval "ac_cv_lib_$ac_lib_var=no"
16705 fi
16706 rm -f conftest*
16707 LIBS="$ac_save_LIBS"
16708
16709 fi
16710 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16711 echo "$ac_t""yes" 1>&6
16712 HAVE_PRIOR_FUNCS=1
16713 else
16714 echo "$ac_t""no" 1>&6
16715 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
16716 echo "configure:16717: checking for sched_get_priority_max in -lposix4" >&5
16717 ac_lib_var=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
16718 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16719 echo $ac_n "(cached) $ac_c" 1>&6
16720 else
16721 ac_save_LIBS="$LIBS"
16722 LIBS="-lposix4 $LIBS"
16723 cat > conftest.$ac_ext <<EOF
16724 #line 16725 "configure"
16725 #include "confdefs.h"
16726 /* Override any gcc2 internal prototype to avoid an error. */
16727 /* We use char because int might match the return type of a gcc2
16728 builtin and then its argument prototype would still apply. */
16729 char sched_get_priority_max();
16730
16731 int main() {
16732 sched_get_priority_max()
16733 ; return 0; }
16734 EOF
16735 if { (eval echo configure:16736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16736 rm -rf conftest*
16737 eval "ac_cv_lib_$ac_lib_var=yes"
16738 else
16739 echo "configure: failed program was:" >&5
16740 cat conftest.$ac_ext >&5
16741 rm -rf conftest*
16742 eval "ac_cv_lib_$ac_lib_var=no"
16743 fi
16744 rm -f conftest*
16745 LIBS="$ac_save_LIBS"
16746
16747 fi
16748 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16749 echo "$ac_t""yes" 1>&6
16750
16751 HAVE_PRIOR_FUNCS=1
16752 POSIX4_LINK=" -lposix4"
16753
16754 else
16755 echo "$ac_t""no" 1>&6
16756 fi
16757
16758
16759 fi
16760
16761
16762 else
16763 echo "$ac_t""no" 1>&6
16764 fi
16765
16766
16767 else
16768 echo "$ac_t""no" 1>&6
16769 fi
16770
16771
16772 if test "$HAVE_PRIOR_FUNCS" = 1; then
16773 cat >> confdefs.h <<\EOF
16774 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
16775 EOF
16776
16777 else
16778 echo "configure: warning: Setting thread priority will not work" 1>&2
16779 fi
16780
16781 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
16782 echo "configure:16783: checking for pthread_cancel in -l$THREADS_LINK" >&5
16783 ac_lib_var=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
16784 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16785 echo $ac_n "(cached) $ac_c" 1>&6
16786 else
16787 ac_save_LIBS="$LIBS"
16788 LIBS="-l$THREADS_LINK $LIBS"
16789 cat > conftest.$ac_ext <<EOF
16790 #line 16791 "configure"
16791 #include "confdefs.h"
16792 /* Override any gcc2 internal prototype to avoid an error. */
16793 /* We use char because int might match the return type of a gcc2
16794 builtin and then its argument prototype would still apply. */
16795 char pthread_cancel();
16796
16797 int main() {
16798 pthread_cancel()
16799 ; return 0; }
16800 EOF
16801 if { (eval echo configure:16802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16802 rm -rf conftest*
16803 eval "ac_cv_lib_$ac_lib_var=yes"
16804 else
16805 echo "configure: failed program was:" >&5
16806 cat conftest.$ac_ext >&5
16807 rm -rf conftest*
16808 eval "ac_cv_lib_$ac_lib_var=no"
16809 fi
16810 rm -f conftest*
16811 LIBS="$ac_save_LIBS"
16812
16813 fi
16814 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16815 echo "$ac_t""yes" 1>&6
16816 cat >> confdefs.h <<\EOF
16817 #define HAVE_PTHREAD_CANCEL 1
16818 EOF
16819
16820 else
16821 echo "$ac_t""no" 1>&6
16822 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
16823 fi
16824
16825
16826 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
16827 echo "configure:16828: checking for pthread_cleanup_push/pop" >&5
16828 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
16829 echo $ac_n "(cached) $ac_c" 1>&6
16830 else
16831
16832 cat > conftest.$ac_ext <<EOF
16833 #line 16834 "configure"
16834 #include "confdefs.h"
16835 #include <pthread.h>
16836 int main() {
16837
16838 pthread_cleanup_push(NULL, NULL);
16839 pthread_cleanup_pop(0);
16840
16841 ; return 0; }
16842 EOF
16843 if { (eval echo configure:16844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16844 rm -rf conftest*
16845
16846 wx_cv_func_pthread_cleanup_push=yes
16847
16848 else
16849 echo "configure: failed program was:" >&5
16850 cat conftest.$ac_ext >&5
16851 rm -rf conftest*
16852
16853 wx_cv_func_pthread_cleanup_push=no
16854
16855 fi
16856 rm -f conftest*
16857
16858 fi
16859
16860 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
16861
16862 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
16863 cat >> confdefs.h <<\EOF
16864 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
16865 EOF
16866
16867 fi
16868
16869
16870 if test "x$wx_lib_glibc21" = "xyes"; then
16871 CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
16872 fi
16873
16874 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
16875 echo "configure:16876: checking for pthread_mutexattr_t" >&5
16876 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
16877 echo $ac_n "(cached) $ac_c" 1>&6
16878 else
16879
16880 cat > conftest.$ac_ext <<EOF
16881 #line 16882 "configure"
16882 #include "confdefs.h"
16883 #include <pthread.h>
16884 int main() {
16885
16886 pthread_mutexattr_t attr;
16887 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
16888
16889 ; return 0; }
16890 EOF
16891 if { (eval echo configure:16892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16892 rm -rf conftest*
16893
16894 wx_cv_type_pthread_mutexattr_t=yes
16895
16896 else
16897 echo "configure: failed program was:" >&5
16898 cat conftest.$ac_ext >&5
16899 rm -rf conftest*
16900
16901 wx_cv_type_pthread_mutexattr_t=no
16902
16903
16904 fi
16905 rm -f conftest*
16906
16907 fi
16908
16909 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
16910
16911 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
16912 cat >> confdefs.h <<\EOF
16913 #define HAVE_PTHREAD_MUTEXATTR_T 1
16914 EOF
16915
16916 else
16917 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
16918 echo "configure:16919: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
16919 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
16920 echo $ac_n "(cached) $ac_c" 1>&6
16921 else
16922
16923 cat > conftest.$ac_ext <<EOF
16924 #line 16925 "configure"
16925 #include "confdefs.h"
16926 #include <pthread.h>
16927 int main() {
16928
16929 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
16930
16931 ; return 0; }
16932 EOF
16933 if { (eval echo configure:16934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16934 rm -rf conftest*
16935
16936 wx_cv_type_pthread_rec_mutex_init=yes
16937
16938 else
16939 echo "configure: failed program was:" >&5
16940 cat conftest.$ac_ext >&5
16941 rm -rf conftest*
16942
16943 wx_cv_type_pthread_rec_mutex_init=no
16944
16945
16946 fi
16947 rm -f conftest*
16948
16949 fi
16950
16951 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
16952 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
16953 cat >> confdefs.h <<\EOF
16954 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
16955 EOF
16956
16957 else
16958 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
16959 fi
16960 fi
16961
16962 THREADS_LINK=" -l$THREADS_LINK"
16963
16964 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
16965 CPPFLAGS="$CFLAGS -mt"
16966 CXXFLAGS="$CXXFLAGS -mt"
16967 LDFLAGS="$LDFLAGS -mt"
16968 fi
16969 fi
16970
16971 fi
16972
16973 if test "$wxUSE_THREADS" = "yes"; then
16974 cat >> confdefs.h <<\EOF
16975 #define wxUSE_THREADS 1
16976 EOF
16977
16978
16979 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS $CPP_MT_FLAG"
16980
16981 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
16982 else
16983 if test "$ac_cv_func_strtok_r" = "yes"; then
16984 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
16985 echo "configure:16986: checking if -D_REENTRANT is needed" >&5
16986 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
16987 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
16988 echo "$ac_t""yes" 1>&6
16989 else
16990 echo "$ac_t""no" 1>&6
16991 fi
16992 fi
16993 fi
16994
16995 if test "$WXGTK20" = 1 ; then
16996 cat >> confdefs.h <<EOF
16997 #define __WXGTK20__ $WXGTK20
16998 EOF
16999
17000 WXGTK12=1
17001 fi
17002
17003 if test "$WXGTK12" = 1 ; then
17004 cat >> confdefs.h <<EOF
17005 #define __WXGTK12__ $WXGTK12
17006 EOF
17007
17008 fi
17009
17010 if test "$WXGTK127" = 1 ; then
17011 cat >> confdefs.h <<EOF
17012 #define __WXGTK127__ $WXGTK127
17013 EOF
17014
17015 fi
17016
17017 WXDEBUG=
17018
17019 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
17020 WXDEBUG="-g"
17021 wxUSE_OPTIMISE=no
17022 fi
17023
17024 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
17025 wxUSE_DEBUG_INFO=yes
17026 WXDEBUG="-ggdb"
17027 fi
17028
17029 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
17030 cat >> confdefs.h <<\EOF
17031 #define WXDEBUG 1
17032 EOF
17033
17034 WXDEBUG_DEFINE="-D__WXDEBUG__"
17035 else
17036 if test "$wxUSE_GTK" = 1 ; then
17037 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
17038 fi
17039 fi
17040
17041 if test "$wxUSE_MEM_TRACING" = "yes" ; then
17042 cat >> confdefs.h <<\EOF
17043 #define wxUSE_MEMORY_TRACING 1
17044 EOF
17045
17046 cat >> confdefs.h <<\EOF
17047 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
17048 EOF
17049
17050 cat >> confdefs.h <<\EOF
17051 #define wxUSE_DEBUG_NEW_ALWAYS 1
17052 EOF
17053
17054 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
17055 fi
17056
17057 if test "$wxUSE_DMALLOC" = "yes" ; then
17058 DMALLOC_LIBS="-ldmalloc"
17059 fi
17060
17061 PROFILE=
17062 if test "$wxUSE_PROFILE" = "yes" ; then
17063 PROFILE=" -pg"
17064 fi
17065
17066 if test "$GCC" = "yes" ; then
17067 if test "$wxUSE_NO_RTTI" = "yes" ; then
17068 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
17069 fi
17070 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
17071 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
17072 fi
17073 if test "$wxUSE_PERMISSIVE" = "yes" ; then
17074 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
17075 fi
17076 if test "$USE_WIN32" = 1 ; then
17077 # I'm not even really sure what this was ever added to solve,
17078 # but someone added it for mingw native builds, so I guess
17079 # they had a reason, right??
17080 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fno-pcc-struct-return"
17081 fi
17082 fi
17083
17084
17085 CXXFLAGS=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
17086 CFLAGS=`echo "${CFLAGS}" | sed "s/\-O.//g" `
17087 if test "$wxUSE_OPTIMISE" = "no" ; then
17088 OPTIMISE=
17089 else
17090 if test "$GCC" = yes ; then
17091 OPTIMISE="-O2"
17092 case "${host}" in
17093 i586-*-*|i686-*-* )
17094 OPTIMISE="${OPTIMISE} "
17095 ;;
17096 esac
17097 else
17098 OPTIMISE="-O"
17099 fi
17100 fi
17101
17102 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
17103 cat >> confdefs.h <<\EOF
17104 #define WXWIN_COMPATIBILITY_2 1
17105 EOF
17106
17107
17108 WXWIN_COMPATIBILITY_2_2="yes"
17109 fi
17110
17111 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
17112 cat >> confdefs.h <<\EOF
17113 #define WXWIN_COMPATIBILITY_2_2 1
17114 EOF
17115
17116 fi
17117
17118
17119 if test "$wxUSE_GUI" = "yes"; then
17120 cat >> confdefs.h <<\EOF
17121 #define wxUSE_GUI 1
17122 EOF
17123
17124
17125 else
17126 cat >> confdefs.h <<\EOF
17127 #define wxUSE_NOGUI 1
17128 EOF
17129
17130 fi
17131
17132
17133 if test "$wxUSE_UNIX" = "yes"; then
17134 cat >> confdefs.h <<\EOF
17135 #define wxUSE_UNIX 1
17136 EOF
17137
17138 fi
17139
17140
17141 if test "$wxUSE_APPLE_IEEE" = "yes"; then
17142 cat >> confdefs.h <<\EOF
17143 #define wxUSE_APPLE_IEEE 1
17144 EOF
17145
17146 fi
17147
17148 if test "$wxUSE_TIMER" = "yes"; then
17149 cat >> confdefs.h <<\EOF
17150 #define wxUSE_TIMER 1
17151 EOF
17152
17153 fi
17154
17155 if test "$wxUSE_WAVE" = "yes"; then
17156 cat >> confdefs.h <<\EOF
17157 #define wxUSE_WAVE 1
17158 EOF
17159
17160 fi
17161
17162 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
17163 cat >> confdefs.h <<\EOF
17164 #define wxUSE_CMDLINE_PARSER 1
17165 EOF
17166
17167 fi
17168
17169 if test "$wxUSE_STOPWATCH" = "yes"; then
17170 cat >> confdefs.h <<\EOF
17171 #define wxUSE_STOPWATCH 1
17172 EOF
17173
17174 fi
17175
17176 if test "$wxUSE_DATETIME" = "yes"; then
17177 cat >> confdefs.h <<\EOF
17178 #define wxUSE_DATETIME 1
17179 EOF
17180
17181 fi
17182
17183 if test "$wxUSE_TIMEDATE" = "yes"; then
17184 cat >> confdefs.h <<\EOF
17185 #define wxUSE_TIMEDATE 1
17186 EOF
17187
17188 fi
17189
17190 if test "$wxUSE_FILE" = "yes"; then
17191 cat >> confdefs.h <<\EOF
17192 #define wxUSE_FILE 1
17193 EOF
17194
17195 fi
17196
17197 if test "$wxUSE_FFILE" = "yes"; then
17198 cat >> confdefs.h <<\EOF
17199 #define wxUSE_FFILE 1
17200 EOF
17201
17202 fi
17203
17204 if test "$wxUSE_FILESYSTEM" = "yes"; then
17205 cat >> confdefs.h <<\EOF
17206 #define wxUSE_FILESYSTEM 1
17207 EOF
17208
17209 fi
17210
17211 if test "$wxUSE_FS_INET" = "yes"; then
17212 cat >> confdefs.h <<\EOF
17213 #define wxUSE_FS_INET 1
17214 EOF
17215
17216 fi
17217
17218 if test "$wxUSE_FS_ZIP" = "yes"; then
17219 cat >> confdefs.h <<\EOF
17220 #define wxUSE_FS_ZIP 1
17221 EOF
17222
17223 fi
17224
17225 if test "$wxUSE_ZIPSTREAM" = "yes"; then
17226 cat >> confdefs.h <<\EOF
17227 #define wxUSE_ZIPSTREAM 1
17228 EOF
17229
17230 fi
17231
17232 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
17233 cat >> confdefs.h <<\EOF
17234 #define wxUSE_ON_FATAL_EXCEPTION 1
17235 EOF
17236
17237 fi
17238
17239 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
17240 cat >> confdefs.h <<\EOF
17241 #define wxUSE_SNGLINST_CHECKER 1
17242 EOF
17243
17244 fi
17245
17246 if test "$wxUSE_BUSYINFO" = "yes"; then
17247 cat >> confdefs.h <<\EOF
17248 #define wxUSE_BUSYINFO 1
17249 EOF
17250
17251 fi
17252
17253 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
17254 cat >> confdefs.h <<\EOF
17255 #define wxUSE_STD_IOSTREAM 1
17256 EOF
17257
17258 fi
17259
17260 if test "$wxUSE_TEXTBUFFER" = "yes"; then
17261 cat >> confdefs.h <<\EOF
17262 #define wxUSE_TEXTBUFFER 1
17263 EOF
17264
17265 fi
17266
17267 if test "$wxUSE_TEXTFILE" = "yes"; then
17268 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
17269 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
17270 else
17271 cat >> confdefs.h <<\EOF
17272 #define wxUSE_TEXTFILE 1
17273 EOF
17274
17275 fi
17276 fi
17277
17278 if test "$wxUSE_CONFIG" = "yes" ; then
17279 if test "$wxUSE_TEXTFILE" != "yes"; then
17280 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
17281 else
17282 cat >> confdefs.h <<\EOF
17283 #define wxUSE_CONFIG 1
17284 EOF
17285
17286 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
17287 fi
17288 fi
17289
17290 if test "$wxUSE_INTL" = "yes" ; then
17291 if test "$wxUSE_FILE" != "yes"; then
17292 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
17293 else
17294 cat >> confdefs.h <<\EOF
17295 #define wxUSE_INTL 1
17296 EOF
17297
17298 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
17299 GUIDIST="$GUIDIST INTL_DIST"
17300 fi
17301 fi
17302
17303 if test "$wxUSE_LOG" = "yes"; then
17304 cat >> confdefs.h <<\EOF
17305 #define wxUSE_LOG 1
17306 EOF
17307
17308
17309 if test "$wxUSE_LOGGUI" = "yes"; then
17310 cat >> confdefs.h <<\EOF
17311 #define wxUSE_LOGGUI 1
17312 EOF
17313
17314 fi
17315
17316 if test "$wxUSE_LOGWINDOW" = "yes"; then
17317 cat >> confdefs.h <<\EOF
17318 #define wxUSE_LOGWINDOW 1
17319 EOF
17320
17321 fi
17322
17323 if test "$wxUSE_LOGDIALOG" = "yes"; then
17324 cat >> confdefs.h <<\EOF
17325 #define wxUSE_LOG_DIALOG 1
17326 EOF
17327
17328 fi
17329 fi
17330
17331 if test "$wxUSE_LONGLONG" = "yes"; then
17332 cat >> confdefs.h <<\EOF
17333 #define wxUSE_LONGLONG 1
17334 EOF
17335
17336 fi
17337
17338 if test "$wxUSE_GEOMETRY" = "yes"; then
17339 cat >> confdefs.h <<\EOF
17340 #define wxUSE_GEOMETRY 1
17341 EOF
17342
17343 fi
17344
17345 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
17346 cat >> confdefs.h <<\EOF
17347 #define wxUSE_DIALUP_MANAGER 1
17348 EOF
17349
17350 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
17351 fi
17352
17353 if test "$wxUSE_STREAMS" = "yes" ; then
17354 cat >> confdefs.h <<\EOF
17355 #define wxUSE_STREAMS 1
17356 EOF
17357
17358 fi
17359
17360
17361 if test "$wxUSE_DATETIME" = "yes"; then
17362 for ac_func in strptime
17363 do
17364 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17365 echo "configure:17366: checking for $ac_func" >&5
17366 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17367 echo $ac_n "(cached) $ac_c" 1>&6
17368 else
17369 cat > conftest.$ac_ext <<EOF
17370 #line 17371 "configure"
17371 #include "confdefs.h"
17372 /* System header to define __stub macros and hopefully few prototypes,
17373 which can conflict with char $ac_func(); below. */
17374 #include <assert.h>
17375 /* Override any gcc2 internal prototype to avoid an error. */
17376 /* We use char because int might match the return type of a gcc2
17377 builtin and then its argument prototype would still apply. */
17378 char $ac_func();
17379
17380 int main() {
17381
17382 /* The GNU C library defines this for functions which it implements
17383 to always fail with ENOSYS. Some functions are actually named
17384 something starting with __ and the normal name is an alias. */
17385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17386 choke me
17387 #else
17388 $ac_func();
17389 #endif
17390
17391 ; return 0; }
17392 EOF
17393 if { (eval echo configure:17394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17394 rm -rf conftest*
17395 eval "ac_cv_func_$ac_func=yes"
17396 else
17397 echo "configure: failed program was:" >&5
17398 cat conftest.$ac_ext >&5
17399 rm -rf conftest*
17400 eval "ac_cv_func_$ac_func=no"
17401 fi
17402 rm -f conftest*
17403 fi
17404
17405 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17406 echo "$ac_t""yes" 1>&6
17407 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17408 cat >> confdefs.h <<EOF
17409 #define $ac_tr_func 1
17410 EOF
17411
17412 else
17413 echo "$ac_t""no" 1>&6
17414 fi
17415 done
17416
17417
17418 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
17419 echo "configure:17420: checking for timezone variable in <time.h>" >&5
17420 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
17421 echo $ac_n "(cached) $ac_c" 1>&6
17422 else
17423
17424 cat > conftest.$ac_ext <<EOF
17425 #line 17426 "configure"
17426 #include "confdefs.h"
17427
17428 #include <time.h>
17429
17430 int main() {
17431
17432 int tz;
17433 tz = timezone;
17434
17435 ; return 0; }
17436 EOF
17437 if { (eval echo configure:17438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17438 rm -rf conftest*
17439
17440 wx_cv_var_timezone=timezone
17441
17442 else
17443 echo "configure: failed program was:" >&5
17444 cat conftest.$ac_ext >&5
17445 rm -rf conftest*
17446
17447 cat > conftest.$ac_ext <<EOF
17448 #line 17449 "configure"
17449 #include "confdefs.h"
17450
17451 #include <time.h>
17452
17453 int main() {
17454
17455 int tz;
17456 tz = _timezone;
17457
17458 ; return 0; }
17459 EOF
17460 if { (eval echo configure:17461: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17461 rm -rf conftest*
17462
17463 wx_cv_var_timezone=_timezone
17464
17465 else
17466 echo "configure: failed program was:" >&5
17467 cat conftest.$ac_ext >&5
17468 rm -rf conftest*
17469
17470 cat > conftest.$ac_ext <<EOF
17471 #line 17472 "configure"
17472 #include "confdefs.h"
17473
17474 #include <time.h>
17475
17476 int main() {
17477
17478 int tz;
17479 tz = __timezone;
17480
17481 ; return 0; }
17482 EOF
17483 if { (eval echo configure:17484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17484 rm -rf conftest*
17485
17486 wx_cv_var_timezone=__timezone
17487
17488 else
17489 echo "configure: failed program was:" >&5
17490 cat conftest.$ac_ext >&5
17491 rm -rf conftest*
17492
17493 if test "$USE_DOS" = 0 ; then
17494 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
17495 fi
17496
17497
17498 fi
17499 rm -f conftest*
17500
17501
17502 fi
17503 rm -f conftest*
17504
17505
17506 fi
17507 rm -f conftest*
17508
17509
17510 fi
17511
17512 echo "$ac_t""$wx_cv_var_timezone" 1>&6
17513
17514 if test "x$wx_cv_var_timezone" != x ; then
17515 cat >> confdefs.h <<EOF
17516 #define WX_TIMEZONE $wx_cv_var_timezone
17517 EOF
17518
17519 fi
17520
17521 for ac_func in localtime
17522 do
17523 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17524 echo "configure:17525: checking for $ac_func" >&5
17525 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17526 echo $ac_n "(cached) $ac_c" 1>&6
17527 else
17528 cat > conftest.$ac_ext <<EOF
17529 #line 17530 "configure"
17530 #include "confdefs.h"
17531 /* System header to define __stub macros and hopefully few prototypes,
17532 which can conflict with char $ac_func(); below. */
17533 #include <assert.h>
17534 /* Override any gcc2 internal prototype to avoid an error. */
17535 /* We use char because int might match the return type of a gcc2
17536 builtin and then its argument prototype would still apply. */
17537 char $ac_func();
17538
17539 int main() {
17540
17541 /* The GNU C library defines this for functions which it implements
17542 to always fail with ENOSYS. Some functions are actually named
17543 something starting with __ and the normal name is an alias. */
17544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17545 choke me
17546 #else
17547 $ac_func();
17548 #endif
17549
17550 ; return 0; }
17551 EOF
17552 if { (eval echo configure:17553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17553 rm -rf conftest*
17554 eval "ac_cv_func_$ac_func=yes"
17555 else
17556 echo "configure: failed program was:" >&5
17557 cat conftest.$ac_ext >&5
17558 rm -rf conftest*
17559 eval "ac_cv_func_$ac_func=no"
17560 fi
17561 rm -f conftest*
17562 fi
17563
17564 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17565 echo "$ac_t""yes" 1>&6
17566 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17567 cat >> confdefs.h <<EOF
17568 #define $ac_tr_func 1
17569 EOF
17570
17571 else
17572 echo "$ac_t""no" 1>&6
17573 fi
17574 done
17575
17576
17577 if test "$ac_cv_func_localtime" = "yes"; then
17578 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
17579 echo "configure:17580: checking for tm_gmtoff in struct tm" >&5
17580 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
17581 echo $ac_n "(cached) $ac_c" 1>&6
17582 else
17583
17584 cat > conftest.$ac_ext <<EOF
17585 #line 17586 "configure"
17586 #include "confdefs.h"
17587
17588 #include <time.h>
17589
17590 int main() {
17591
17592 struct tm tm;
17593 tm.tm_gmtoff++;
17594
17595 ; return 0; }
17596 EOF
17597 if { (eval echo configure:17598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17598 rm -rf conftest*
17599
17600 wx_cv_struct_tm_has_gmtoff=yes
17601
17602 else
17603 echo "configure: failed program was:" >&5
17604 cat conftest.$ac_ext >&5
17605 rm -rf conftest*
17606 wx_cv_struct_tm_has_gmtoff=no
17607
17608 fi
17609 rm -f conftest*
17610
17611 fi
17612
17613 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
17614 fi
17615
17616 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
17617 cat >> confdefs.h <<\EOF
17618 #define WX_GMTOFF_IN_TM 1
17619 EOF
17620
17621 fi
17622
17623 for ac_func in gettimeofday ftime
17624 do
17625 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17626 echo "configure:17627: checking for $ac_func" >&5
17627 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17628 echo $ac_n "(cached) $ac_c" 1>&6
17629 else
17630 cat > conftest.$ac_ext <<EOF
17631 #line 17632 "configure"
17632 #include "confdefs.h"
17633 /* System header to define __stub macros and hopefully few prototypes,
17634 which can conflict with char $ac_func(); below. */
17635 #include <assert.h>
17636 /* Override any gcc2 internal prototype to avoid an error. */
17637 /* We use char because int might match the return type of a gcc2
17638 builtin and then its argument prototype would still apply. */
17639 char $ac_func();
17640
17641 int main() {
17642
17643 /* The GNU C library defines this for functions which it implements
17644 to always fail with ENOSYS. Some functions are actually named
17645 something starting with __ and the normal name is an alias. */
17646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17647 choke me
17648 #else
17649 $ac_func();
17650 #endif
17651
17652 ; return 0; }
17653 EOF
17654 if { (eval echo configure:17655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17655 rm -rf conftest*
17656 eval "ac_cv_func_$ac_func=yes"
17657 else
17658 echo "configure: failed program was:" >&5
17659 cat conftest.$ac_ext >&5
17660 rm -rf conftest*
17661 eval "ac_cv_func_$ac_func=no"
17662 fi
17663 rm -f conftest*
17664 fi
17665
17666 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17667 echo "$ac_t""yes" 1>&6
17668 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17669 cat >> confdefs.h <<EOF
17670 #define $ac_tr_func 1
17671 EOF
17672 break
17673 else
17674 echo "$ac_t""no" 1>&6
17675 fi
17676 done
17677
17678
17679 if test "$ac_cv_func_gettimeofday" = "yes"; then
17680 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
17681 echo "configure:17682: checking whether gettimeofday takes two arguments" >&5
17682 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
17683 echo $ac_n "(cached) $ac_c" 1>&6
17684 else
17685
17686
17687 ac_ext=C
17688 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17689 ac_cpp='$CXXCPP $CPPFLAGS'
17690 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17691 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17692 cross_compiling=$ac_cv_prog_cxx_cross
17693
17694
17695 cat > conftest.$ac_ext <<EOF
17696 #line 17697 "configure"
17697 #include "confdefs.h"
17698
17699 #include <sys/time.h>
17700 #include <unistd.h>
17701
17702 int main() {
17703
17704 struct timeval tv;
17705 gettimeofday(&tv, NULL);
17706
17707 ; return 0; }
17708 EOF
17709 if { (eval echo configure:17710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17710 rm -rf conftest*
17711 wx_cv_func_gettimeofday_has_2_args=yes
17712 else
17713 echo "configure: failed program was:" >&5
17714 cat conftest.$ac_ext >&5
17715 rm -rf conftest*
17716 cat > conftest.$ac_ext <<EOF
17717 #line 17718 "configure"
17718 #include "confdefs.h"
17719
17720 #include <sys/time.h>
17721 #include <unistd.h>
17722
17723 int main() {
17724
17725 struct timeval tv;
17726 gettimeofday(&tv);
17727
17728 ; return 0; }
17729 EOF
17730 if { (eval echo configure:17731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17731 rm -rf conftest*
17732 wx_cv_func_gettimeofday_has_2_args=no
17733 else
17734 echo "configure: failed program was:" >&5
17735 cat conftest.$ac_ext >&5
17736 rm -rf conftest*
17737
17738 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
17739 wx_cv_func_gettimeofday_has_2_args=unknown
17740
17741
17742 fi
17743 rm -f conftest*
17744
17745 fi
17746 rm -f conftest*
17747 ac_ext=c
17748 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17749 ac_cpp='$CPP $CPPFLAGS'
17750 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17751 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17752 cross_compiling=$ac_cv_prog_cc_cross
17753
17754
17755 fi
17756
17757 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
17758
17759 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
17760 cat >> confdefs.h <<\EOF
17761 #define WX_GETTIMEOFDAY_NO_TZ 1
17762 EOF
17763
17764 fi
17765 fi
17766
17767 cat >> confdefs.h <<\EOF
17768 #define wxUSE_TIMEDATE 1
17769 EOF
17770
17771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
17772 fi
17773
17774
17775 if test "$TOOLKIT" != "MSW"; then
17776
17777 if test "$wxUSE_SOCKETS" = "yes"; then
17778 echo $ac_n "checking for socket""... $ac_c" 1>&6
17779 echo "configure:17780: checking for socket" >&5
17780 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
17781 echo $ac_n "(cached) $ac_c" 1>&6
17782 else
17783 cat > conftest.$ac_ext <<EOF
17784 #line 17785 "configure"
17785 #include "confdefs.h"
17786 /* System header to define __stub macros and hopefully few prototypes,
17787 which can conflict with char socket(); below. */
17788 #include <assert.h>
17789 /* Override any gcc2 internal prototype to avoid an error. */
17790 /* We use char because int might match the return type of a gcc2
17791 builtin and then its argument prototype would still apply. */
17792 char socket();
17793
17794 int main() {
17795
17796 /* The GNU C library defines this for functions which it implements
17797 to always fail with ENOSYS. Some functions are actually named
17798 something starting with __ and the normal name is an alias. */
17799 #if defined (__stub_socket) || defined (__stub___socket)
17800 choke me
17801 #else
17802 socket();
17803 #endif
17804
17805 ; return 0; }
17806 EOF
17807 if { (eval echo configure:17808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17808 rm -rf conftest*
17809 eval "ac_cv_func_socket=yes"
17810 else
17811 echo "configure: failed program was:" >&5
17812 cat conftest.$ac_ext >&5
17813 rm -rf conftest*
17814 eval "ac_cv_func_socket=no"
17815 fi
17816 rm -f conftest*
17817 fi
17818
17819 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
17820 echo "$ac_t""yes" 1>&6
17821 :
17822 else
17823 echo "$ac_t""no" 1>&6
17824 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
17825 echo "configure:17826: checking for socket in -lsocket" >&5
17826 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
17827 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17828 echo $ac_n "(cached) $ac_c" 1>&6
17829 else
17830 ac_save_LIBS="$LIBS"
17831 LIBS="-lsocket $LIBS"
17832 cat > conftest.$ac_ext <<EOF
17833 #line 17834 "configure"
17834 #include "confdefs.h"
17835 /* Override any gcc2 internal prototype to avoid an error. */
17836 /* We use char because int might match the return type of a gcc2
17837 builtin and then its argument prototype would still apply. */
17838 char socket();
17839
17840 int main() {
17841 socket()
17842 ; return 0; }
17843 EOF
17844 if { (eval echo configure:17845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17845 rm -rf conftest*
17846 eval "ac_cv_lib_$ac_lib_var=yes"
17847 else
17848 echo "configure: failed program was:" >&5
17849 cat conftest.$ac_ext >&5
17850 rm -rf conftest*
17851 eval "ac_cv_lib_$ac_lib_var=no"
17852 fi
17853 rm -f conftest*
17854 LIBS="$ac_save_LIBS"
17855
17856 fi
17857 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17858 echo "$ac_t""yes" 1>&6
17859 INET_LINK="$INET_LINK -lsocket"
17860 else
17861 echo "$ac_t""no" 1>&6
17862
17863 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
17864 wxUSE_SOCKETS=no
17865
17866
17867 fi
17868
17869
17870 fi
17871
17872 fi
17873
17874
17875 if test "$wxUSE_SOCKETS" = "yes" ; then
17876 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
17877 echo "configure:17878: checking what is the type of the third argument of getsockname" >&5
17878 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
17879 echo $ac_n "(cached) $ac_c" 1>&6
17880 else
17881
17882
17883 ac_ext=C
17884 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17885 ac_cpp='$CXXCPP $CPPFLAGS'
17886 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17887 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17888 cross_compiling=$ac_cv_prog_cxx_cross
17889
17890
17891 cat > conftest.$ac_ext <<EOF
17892 #line 17893 "configure"
17893 #include "confdefs.h"
17894
17895 #include <sys/types.h>
17896 #include <sys/socket.h>
17897
17898 int main() {
17899
17900 socklen_t len;
17901 getsockname(0, 0, &len);
17902
17903 ; return 0; }
17904 EOF
17905 if { (eval echo configure:17906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17906 rm -rf conftest*
17907 wx_cv_type_getsockname3=socklen_t
17908 else
17909 echo "configure: failed program was:" >&5
17910 cat conftest.$ac_ext >&5
17911 rm -rf conftest*
17912 cat > conftest.$ac_ext <<EOF
17913 #line 17914 "configure"
17914 #include "confdefs.h"
17915
17916 #include <sys/types.h>
17917 #include <sys/socket.h>
17918
17919 int main() {
17920
17921 size_t len;
17922 getsockname(0, 0, &len);
17923
17924 ; return 0; }
17925 EOF
17926 if { (eval echo configure:17927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17927 rm -rf conftest*
17928 wx_cv_type_getsockname3=size_t
17929 else
17930 echo "configure: failed program was:" >&5
17931 cat conftest.$ac_ext >&5
17932 rm -rf conftest*
17933 cat > conftest.$ac_ext <<EOF
17934 #line 17935 "configure"
17935 #include "confdefs.h"
17936
17937 #include <sys/types.h>
17938 #include <sys/socket.h>
17939
17940 int main() {
17941
17942 int len;
17943 getsockname(0, 0, &len);
17944
17945 ; return 0; }
17946 EOF
17947 if { (eval echo configure:17948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17948 rm -rf conftest*
17949 wx_cv_type_getsockname3=int
17950 else
17951 echo "configure: failed program was:" >&5
17952 cat conftest.$ac_ext >&5
17953 rm -rf conftest*
17954 wx_cv_type_getsockname3=unknown
17955
17956 fi
17957 rm -f conftest*
17958
17959 fi
17960 rm -f conftest*
17961
17962 fi
17963 rm -f conftest*
17964
17965 ac_ext=c
17966 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17967 ac_cpp='$CPP $CPPFLAGS'
17968 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17969 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17970 cross_compiling=$ac_cv_prog_cc_cross
17971
17972
17973 fi
17974
17975 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
17976
17977 if test "$wx_cv_type_getsockname3" = "unknown"; then
17978 wxUSE_SOCKETS=no
17979 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
17980 else
17981 cat >> confdefs.h <<EOF
17982 #define SOCKLEN_T $wx_cv_type_getsockname3
17983 EOF
17984
17985 fi
17986 fi
17987 fi
17988
17989 if test "$wxUSE_SOCKETS" = "yes" ; then
17990 cat >> confdefs.h <<\EOF
17991 #define wxUSE_SOCKETS 1
17992 EOF
17993
17994 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
17995 fi
17996
17997
17998 if test "$wxUSE_GUI" = "yes"; then
17999
18000 if test "$TOOLKIT" = "MAC"; then
18001 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
18002 wxUSE_JOYSTICK=no
18003 fi
18004 if test "$TOOLKIT" = "MOTIF"; then
18005 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
18006 wxUSE_JOYSTICK=no
18007 fi
18008
18009 if test "$TOOLKIT" != "MSW"; then
18010 if test "$wxUSE_JOYSTICK" = "yes"; then
18011 for ac_hdr in linux/joystick.h
18012 do
18013 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18014 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18015 echo "configure:18016: checking for $ac_hdr" >&5
18016 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18017 echo $ac_n "(cached) $ac_c" 1>&6
18018 else
18019 cat > conftest.$ac_ext <<EOF
18020 #line 18021 "configure"
18021 #include "confdefs.h"
18022 #include <$ac_hdr>
18023 EOF
18024 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18025 { (eval echo configure:18026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18026 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18027 if test -z "$ac_err"; then
18028 rm -rf conftest*
18029 eval "ac_cv_header_$ac_safe=yes"
18030 else
18031 echo "$ac_err" >&5
18032 echo "configure: failed program was:" >&5
18033 cat conftest.$ac_ext >&5
18034 rm -rf conftest*
18035 eval "ac_cv_header_$ac_safe=no"
18036 fi
18037 rm -f conftest*
18038 fi
18039 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18040 echo "$ac_t""yes" 1>&6
18041 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18042 cat >> confdefs.h <<EOF
18043 #define $ac_tr_hdr 1
18044 EOF
18045
18046 else
18047 echo "$ac_t""no" 1>&6
18048 fi
18049 done
18050
18051 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
18052 wxUSE_JOYSTICK=no
18053 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
18054 fi
18055 fi
18056 fi
18057
18058 if test "$wxUSE_JOYSTICK" = "yes"; then
18059 cat >> confdefs.h <<\EOF
18060 #define wxUSE_JOYSTICK 1
18061 EOF
18062
18063 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
18064 fi
18065 fi
18066
18067
18068 if test "$TOOLKIT" != "MSW"; then
18069
18070 HAVE_DL_FUNCS=0
18071 HAVE_SHL_FUNCS=0
18072 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
18073 if test "$USE_DARWIN" = 1; then
18074 HAVE_DL_FUNCS=1
18075 else
18076 for ac_func in dlopen
18077 do
18078 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18079 echo "configure:18080: checking for $ac_func" >&5
18080 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18081 echo $ac_n "(cached) $ac_c" 1>&6
18082 else
18083 cat > conftest.$ac_ext <<EOF
18084 #line 18085 "configure"
18085 #include "confdefs.h"
18086 /* System header to define __stub macros and hopefully few prototypes,
18087 which can conflict with char $ac_func(); below. */
18088 #include <assert.h>
18089 /* Override any gcc2 internal prototype to avoid an error. */
18090 /* We use char because int might match the return type of a gcc2
18091 builtin and then its argument prototype would still apply. */
18092 char $ac_func();
18093
18094 int main() {
18095
18096 /* The GNU C library defines this for functions which it implements
18097 to always fail with ENOSYS. Some functions are actually named
18098 something starting with __ and the normal name is an alias. */
18099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18100 choke me
18101 #else
18102 $ac_func();
18103 #endif
18104
18105 ; return 0; }
18106 EOF
18107 if { (eval echo configure:18108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18108 rm -rf conftest*
18109 eval "ac_cv_func_$ac_func=yes"
18110 else
18111 echo "configure: failed program was:" >&5
18112 cat conftest.$ac_ext >&5
18113 rm -rf conftest*
18114 eval "ac_cv_func_$ac_func=no"
18115 fi
18116 rm -f conftest*
18117 fi
18118
18119 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18120 echo "$ac_t""yes" 1>&6
18121 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18122 cat >> confdefs.h <<EOF
18123 #define $ac_tr_func 1
18124 EOF
18125
18126 cat >> confdefs.h <<\EOF
18127 #define HAVE_DLOPEN 1
18128 EOF
18129
18130 HAVE_DL_FUNCS=1
18131
18132 else
18133 echo "$ac_t""no" 1>&6
18134 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
18135 echo "configure:18136: checking for dlopen in -ldl" >&5
18136 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
18137 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18138 echo $ac_n "(cached) $ac_c" 1>&6
18139 else
18140 ac_save_LIBS="$LIBS"
18141 LIBS="-ldl $LIBS"
18142 cat > conftest.$ac_ext <<EOF
18143 #line 18144 "configure"
18144 #include "confdefs.h"
18145 /* Override any gcc2 internal prototype to avoid an error. */
18146 /* We use char because int might match the return type of a gcc2
18147 builtin and then its argument prototype would still apply. */
18148 char dlopen();
18149
18150 int main() {
18151 dlopen()
18152 ; return 0; }
18153 EOF
18154 if { (eval echo configure:18155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18155 rm -rf conftest*
18156 eval "ac_cv_lib_$ac_lib_var=yes"
18157 else
18158 echo "configure: failed program was:" >&5
18159 cat conftest.$ac_ext >&5
18160 rm -rf conftest*
18161 eval "ac_cv_lib_$ac_lib_var=no"
18162 fi
18163 rm -f conftest*
18164 LIBS="$ac_save_LIBS"
18165
18166 fi
18167 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18168 echo "$ac_t""yes" 1>&6
18169
18170 cat >> confdefs.h <<\EOF
18171 #define HAVE_DLOPEN 1
18172 EOF
18173
18174 HAVE_DL_FUNCS=1
18175 DL_LINK=" -ldl$DL_LINK"
18176
18177 else
18178 echo "$ac_t""no" 1>&6
18179
18180 for ac_func in shl_load
18181 do
18182 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18183 echo "configure:18184: checking for $ac_func" >&5
18184 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18185 echo $ac_n "(cached) $ac_c" 1>&6
18186 else
18187 cat > conftest.$ac_ext <<EOF
18188 #line 18189 "configure"
18189 #include "confdefs.h"
18190 /* System header to define __stub macros and hopefully few prototypes,
18191 which can conflict with char $ac_func(); below. */
18192 #include <assert.h>
18193 /* Override any gcc2 internal prototype to avoid an error. */
18194 /* We use char because int might match the return type of a gcc2
18195 builtin and then its argument prototype would still apply. */
18196 char $ac_func();
18197
18198 int main() {
18199
18200 /* The GNU C library defines this for functions which it implements
18201 to always fail with ENOSYS. Some functions are actually named
18202 something starting with __ and the normal name is an alias. */
18203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18204 choke me
18205 #else
18206 $ac_func();
18207 #endif
18208
18209 ; return 0; }
18210 EOF
18211 if { (eval echo configure:18212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18212 rm -rf conftest*
18213 eval "ac_cv_func_$ac_func=yes"
18214 else
18215 echo "configure: failed program was:" >&5
18216 cat conftest.$ac_ext >&5
18217 rm -rf conftest*
18218 eval "ac_cv_func_$ac_func=no"
18219 fi
18220 rm -f conftest*
18221 fi
18222
18223 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18224 echo "$ac_t""yes" 1>&6
18225 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18226 cat >> confdefs.h <<EOF
18227 #define $ac_tr_func 1
18228 EOF
18229
18230 cat >> confdefs.h <<\EOF
18231 #define HAVE_SHL_LOAD 1
18232 EOF
18233
18234 HAVE_SHL_FUNCS=1
18235
18236 else
18237 echo "$ac_t""no" 1>&6
18238 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
18239 echo "configure:18240: checking for dld in -lshl_load" >&5
18240 ac_lib_var=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
18241 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18242 echo $ac_n "(cached) $ac_c" 1>&6
18243 else
18244 ac_save_LIBS="$LIBS"
18245 LIBS="-lshl_load $LIBS"
18246 cat > conftest.$ac_ext <<EOF
18247 #line 18248 "configure"
18248 #include "confdefs.h"
18249 /* Override any gcc2 internal prototype to avoid an error. */
18250 /* We use char because int might match the return type of a gcc2
18251 builtin and then its argument prototype would still apply. */
18252 char dld();
18253
18254 int main() {
18255 dld()
18256 ; return 0; }
18257 EOF
18258 if { (eval echo configure:18259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18259 rm -rf conftest*
18260 eval "ac_cv_lib_$ac_lib_var=yes"
18261 else
18262 echo "configure: failed program was:" >&5
18263 cat conftest.$ac_ext >&5
18264 rm -rf conftest*
18265 eval "ac_cv_lib_$ac_lib_var=no"
18266 fi
18267 rm -f conftest*
18268 LIBS="$ac_save_LIBS"
18269
18270 fi
18271 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18272 echo "$ac_t""yes" 1>&6
18273
18274 HAVE_SHL_FUNCS=1
18275 DL_LINK=" -ldld$DL_LINK"
18276
18277 else
18278 echo "$ac_t""no" 1>&6
18279 fi
18280
18281
18282 fi
18283 done
18284
18285
18286 fi
18287
18288
18289 fi
18290 done
18291
18292
18293 if test "$HAVE_DL_FUNCS" = 1; then
18294 for ac_func in dlerror
18295 do
18296 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18297 echo "configure:18298: checking for $ac_func" >&5
18298 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18299 echo $ac_n "(cached) $ac_c" 1>&6
18300 else
18301 cat > conftest.$ac_ext <<EOF
18302 #line 18303 "configure"
18303 #include "confdefs.h"
18304 /* System header to define __stub macros and hopefully few prototypes,
18305 which can conflict with char $ac_func(); below. */
18306 #include <assert.h>
18307 /* Override any gcc2 internal prototype to avoid an error. */
18308 /* We use char because int might match the return type of a gcc2
18309 builtin and then its argument prototype would still apply. */
18310 char $ac_func();
18311
18312 int main() {
18313
18314 /* The GNU C library defines this for functions which it implements
18315 to always fail with ENOSYS. Some functions are actually named
18316 something starting with __ and the normal name is an alias. */
18317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18318 choke me
18319 #else
18320 $ac_func();
18321 #endif
18322
18323 ; return 0; }
18324 EOF
18325 if { (eval echo configure:18326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18326 rm -rf conftest*
18327 eval "ac_cv_func_$ac_func=yes"
18328 else
18329 echo "configure: failed program was:" >&5
18330 cat conftest.$ac_ext >&5
18331 rm -rf conftest*
18332 eval "ac_cv_func_$ac_func=no"
18333 fi
18334 rm -f conftest*
18335 fi
18336
18337 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18338 echo "$ac_t""yes" 1>&6
18339 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18340 cat >> confdefs.h <<EOF
18341 #define $ac_tr_func 1
18342 EOF
18343 cat >> confdefs.h <<\EOF
18344 #define HAVE_DLERROR 1
18345 EOF
18346
18347 else
18348 echo "$ac_t""no" 1>&6
18349 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
18350 echo "configure:18351: checking for dlerror in -ldl" >&5
18351 ac_lib_var=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
18352 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18353 echo $ac_n "(cached) $ac_c" 1>&6
18354 else
18355 ac_save_LIBS="$LIBS"
18356 LIBS="-ldl $LIBS"
18357 cat > conftest.$ac_ext <<EOF
18358 #line 18359 "configure"
18359 #include "confdefs.h"
18360 /* Override any gcc2 internal prototype to avoid an error. */
18361 /* We use char because int might match the return type of a gcc2
18362 builtin and then its argument prototype would still apply. */
18363 char dlerror();
18364
18365 int main() {
18366 dlerror()
18367 ; return 0; }
18368 EOF
18369 if { (eval echo configure:18370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18370 rm -rf conftest*
18371 eval "ac_cv_lib_$ac_lib_var=yes"
18372 else
18373 echo "configure: failed program was:" >&5
18374 cat conftest.$ac_ext >&5
18375 rm -rf conftest*
18376 eval "ac_cv_lib_$ac_lib_var=no"
18377 fi
18378 rm -f conftest*
18379 LIBS="$ac_save_LIBS"
18380
18381 fi
18382 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18383 echo "$ac_t""yes" 1>&6
18384 cat >> confdefs.h <<\EOF
18385 #define HAVE_DLERROR 1
18386 EOF
18387
18388 else
18389 echo "$ac_t""no" 1>&6
18390 fi
18391
18392 fi
18393 done
18394
18395 fi
18396 fi
18397
18398 if test "$HAVE_DL_FUNCS" = 0; then
18399 if test "$HAVE_SHL_FUNCS" = 0; then
18400 if test "$USE_UNIX" = 1; then
18401 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
18402 wxUSE_DYNAMIC_LOADER=no
18403 wxUSE_DYNLIB_CLASS=no
18404 else
18405 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
18406 fi
18407 fi
18408 fi
18409 fi
18410 fi
18411
18412 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
18413 cat >> confdefs.h <<\EOF
18414 #define wxUSE_DYNAMIC_LOADER 1
18415 EOF
18416
18417 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
18418 cat >> confdefs.h <<\EOF
18419 #define wxUSE_DYNLIB_CLASS 1
18420 EOF
18421
18422 fi
18423
18424
18425 if test "$wxUSE_FONTMAP" = "yes" ; then
18426 cat >> confdefs.h <<\EOF
18427 #define wxUSE_FONTMAP 1
18428 EOF
18429
18430 fi
18431
18432 if test "$wxUSE_UNICODE" = "yes" ; then
18433 cat >> confdefs.h <<\EOF
18434 #define wxUSE_UNICODE 1
18435 EOF
18436
18437
18438 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
18439 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
18440 echo "configure:18441: checking for main in -lunicows" >&5
18441 ac_lib_var=`echo unicows'_'main | sed 'y%./+-%__p_%'`
18442 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18443 echo $ac_n "(cached) $ac_c" 1>&6
18444 else
18445 ac_save_LIBS="$LIBS"
18446 LIBS="-lunicows $LIBS"
18447 cat > conftest.$ac_ext <<EOF
18448 #line 18449 "configure"
18449 #include "confdefs.h"
18450
18451 int main() {
18452 main()
18453 ; return 0; }
18454 EOF
18455 if { (eval echo configure:18456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18456 rm -rf conftest*
18457 eval "ac_cv_lib_$ac_lib_var=yes"
18458 else
18459 echo "configure: failed program was:" >&5
18460 cat conftest.$ac_ext >&5
18461 rm -rf conftest*
18462 eval "ac_cv_lib_$ac_lib_var=no"
18463 fi
18464 rm -f conftest*
18465 LIBS="$ac_save_LIBS"
18466
18467 fi
18468 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18469 echo "$ac_t""yes" 1>&6
18470
18471 cat >> confdefs.h <<\EOF
18472 #define wxUSE_UNICODE_MSLU 1
18473 EOF
18474
18475
18476 else
18477 echo "$ac_t""no" 1>&6
18478
18479 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
18480 Applications will only run on Windows NT/2000/XP!" 1>&2
18481 wxUSE_UNICODE_MSLU=no
18482
18483 fi
18484
18485 fi
18486 fi
18487
18488 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
18489 cat >> confdefs.h <<\EOF
18490 #define wxUSE_EXPERIMENTAL_PRINTF 1
18491 EOF
18492
18493 fi
18494
18495
18496
18497 IODBC_C_SRC=""
18498 if test "$wxUSE_ODBC" = "yes" ; then
18499 cat >> confdefs.h <<\EOF
18500 #define wxUSE_ODBC 1
18501 EOF
18502
18503 WXODBCFLAG="-D_IODBC_"
18504 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
18505 fi
18506
18507
18508 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
18509 cat >> confdefs.h <<\EOF
18510 #define wxUSE_POSTSCRIPT 1
18511 EOF
18512
18513 fi
18514
18515 cat >> confdefs.h <<\EOF
18516 #define wxUSE_AFM_FOR_POSTSCRIPT 1
18517 EOF
18518
18519
18520 cat >> confdefs.h <<\EOF
18521 #define wxUSE_NORMALIZED_PS_FONTS 1
18522 EOF
18523
18524
18525
18526 if test "$wxUSE_CONSTRAINTS" = "yes"; then
18527 cat >> confdefs.h <<\EOF
18528 #define wxUSE_CONSTRAINTS 1
18529 EOF
18530
18531 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
18532 fi
18533
18534 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18535 if test "$wxUSE_UNIVERSAL" = "yes"; then
18536 echo "configure: warning: MDI not yet supported for wxUNIVERSAL... disabled" 1>&2
18537 wxUSE_MDI_ARCHITECTURE=no
18538 fi
18539
18540 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18541 cat >> confdefs.h <<\EOF
18542 #define wxUSE_MDI_ARCHITECTURE 1
18543 EOF
18544
18545 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
18546 fi
18547 fi
18548
18549 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
18550 cat >> confdefs.h <<\EOF
18551 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
18552 EOF
18553
18554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
18555 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18556 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
18557 fi
18558 fi
18559
18560 if test "$wxUSE_HELP" = "yes"; then
18561 cat >> confdefs.h <<\EOF
18562 #define wxUSE_HELP 1
18563 EOF
18564
18565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
18566
18567 if test "$wxUSE_MSW" = 1; then
18568 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
18569 ac_safe=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
18570 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
18571 echo "configure:18572: checking for htmlhelp.h" >&5
18572 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18573 echo $ac_n "(cached) $ac_c" 1>&6
18574 else
18575 cat > conftest.$ac_ext <<EOF
18576 #line 18577 "configure"
18577 #include "confdefs.h"
18578 #include <htmlhelp.h>
18579 EOF
18580 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18581 { (eval echo configure:18582: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18582 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18583 if test -z "$ac_err"; then
18584 rm -rf conftest*
18585 eval "ac_cv_header_$ac_safe=yes"
18586 else
18587 echo "$ac_err" >&5
18588 echo "configure: failed program was:" >&5
18589 cat conftest.$ac_ext >&5
18590 rm -rf conftest*
18591 eval "ac_cv_header_$ac_safe=no"
18592 fi
18593 rm -f conftest*
18594 fi
18595 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18596 echo "$ac_t""yes" 1>&6
18597
18598 cat >> confdefs.h <<\EOF
18599 #define wxUSE_MS_HTML_HELP 1
18600 EOF
18601
18602
18603 else
18604 echo "$ac_t""no" 1>&6
18605
18606 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
18607 wxUSE_MS_HTML_HELP=no
18608
18609 fi
18610
18611 fi
18612 fi
18613
18614 if test "$wxUSE_WXHTML_HELP" = "yes"; then
18615 if test "$wxUSE_HTML" = "yes"; then
18616 cat >> confdefs.h <<\EOF
18617 #define wxUSE_WXHTML_HELP 1
18618 EOF
18619
18620 else
18621 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
18622 wxUSE_WXHTML_HELP=no
18623 fi
18624 fi
18625 fi
18626
18627 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
18628 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18629 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
18630 else
18631 cat >> confdefs.h <<\EOF
18632 #define wxUSE_PRINTING_ARCHITECTURE 1
18633 EOF
18634
18635 fi
18636 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
18637 fi
18638
18639 if test "$wxUSE_PROLOGIO" = "yes" ; then
18640 cat >> confdefs.h <<\EOF
18641 #define wxUSE_PROLOGIO 1
18642 EOF
18643
18644 fi
18645
18646 if test "$wxUSE_RESOURCES" = "yes" ; then
18647 cat >> confdefs.h <<\EOF
18648 #define wxUSE_RESOURCES 1
18649 EOF
18650
18651 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS resource"
18652 fi
18653
18654 if test "$wxUSE_X_RESOURCES" = "yes"; then
18655 cat >> confdefs.h <<\EOF
18656 #define wxUSE_X_RESOURCES 1
18657 EOF
18658
18659 fi
18660
18661
18662 if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
18663 -o "$wxUSE_CLIPBOARD" = "yes" \
18664 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
18665 for ac_hdr in ole2.h
18666 do
18667 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18668 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18669 echo "configure:18670: checking for $ac_hdr" >&5
18670 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18671 echo $ac_n "(cached) $ac_c" 1>&6
18672 else
18673 cat > conftest.$ac_ext <<EOF
18674 #line 18675 "configure"
18675 #include "confdefs.h"
18676 #include <$ac_hdr>
18677 EOF
18678 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18679 { (eval echo configure:18680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18680 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18681 if test -z "$ac_err"; then
18682 rm -rf conftest*
18683 eval "ac_cv_header_$ac_safe=yes"
18684 else
18685 echo "$ac_err" >&5
18686 echo "configure: failed program was:" >&5
18687 cat conftest.$ac_ext >&5
18688 rm -rf conftest*
18689 eval "ac_cv_header_$ac_safe=no"
18690 fi
18691 rm -f conftest*
18692 fi
18693 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18694 echo "$ac_t""yes" 1>&6
18695 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18696 cat >> confdefs.h <<EOF
18697 #define $ac_tr_hdr 1
18698 EOF
18699
18700 else
18701 echo "$ac_t""no" 1>&6
18702 fi
18703 done
18704
18705
18706 if test "$ac_cv_header_ole2_h" = "yes" ; then
18707 if test "$GCC" = yes ; then
18708 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
18709 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
18710 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
18711 cat >> confdefs.h <<\EOF
18712 #define wxUSE_OLE 1
18713 EOF
18714
18715
18716 fi
18717
18718 cat >> confdefs.h <<\EOF
18719 #define wxUSE_DATAOBJ 1
18720 EOF
18721
18722 else
18723 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
18724
18725 wxUSE_CLIPBOARD=no
18726 wxUSE_DRAG_AND_DROP=no
18727 wxUSE_DATAOBJ=no
18728 fi
18729
18730 if test "$wxUSE_METAFILE" = "yes"; then
18731 cat >> confdefs.h <<\EOF
18732 #define wxUSE_METAFILE 1
18733 EOF
18734
18735
18736 cat >> confdefs.h <<\EOF
18737 #define wxUSE_ENH_METAFILE 1
18738 EOF
18739
18740 fi
18741 fi
18742
18743 if test "$wxUSE_IPC" = "yes"; then
18744 if test "$wxUSE_SOCKETS" != "yes"; then
18745 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
18746 fi
18747
18748 cat >> confdefs.h <<\EOF
18749 #define wxUSE_IPC 1
18750 EOF
18751
18752 fi
18753
18754 if test "$wxUSE_CLIPBOARD" = "yes"; then
18755 cat >> confdefs.h <<\EOF
18756 #define wxUSE_CLIPBOARD 1
18757 EOF
18758
18759
18760 cat >> confdefs.h <<\EOF
18761 #define wxUSE_DATAOBJ 1
18762 EOF
18763
18764 fi
18765
18766 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
18767 if test "$wxUSE_GTK" = 1; then
18768 if test "$WXGTK12" != 1; then
18769 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
18770 wxUSE_DRAG_AND_DROP=no
18771 fi
18772 fi
18773
18774 if test "$wxUSE_MOTIF" = 1; then
18775 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
18776 wxUSE_DRAG_AND_DROP=no
18777 fi
18778
18779 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
18780 cat >> confdefs.h <<\EOF
18781 #define wxUSE_DRAG_AND_DROP 1
18782 EOF
18783
18784 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
18785 fi
18786
18787 fi
18788
18789 if test "$wxUSE_SPLINES" = "yes" ; then
18790 cat >> confdefs.h <<\EOF
18791 #define wxUSE_SPLINES 1
18792 EOF
18793
18794 fi
18795
18796
18797 USES_CONTROLS=0
18798 if test "$wxUSE_CONTROLS" = "yes"; then
18799 USES_CONTROLS=1
18800 fi
18801
18802 if test "$wxUSE_ACCEL" = "yes"; then
18803 cat >> confdefs.h <<\EOF
18804 #define wxUSE_ACCEL 1
18805 EOF
18806
18807 USES_CONTROLS=1
18808 fi
18809
18810 if test "$wxUSE_BUTTON" = "yes"; then
18811 cat >> confdefs.h <<\EOF
18812 #define wxUSE_BUTTON 1
18813 EOF
18814
18815 USES_CONTROLS=1
18816 fi
18817
18818 if test "$wxUSE_BMPBUTTON" = "yes"; then
18819 cat >> confdefs.h <<\EOF
18820 #define wxUSE_BMPBUTTON 1
18821 EOF
18822
18823 USES_CONTROLS=1
18824 fi
18825
18826 if test "$wxUSE_CALCTRL" = "yes"; then
18827 cat >> confdefs.h <<\EOF
18828 #define wxUSE_CALENDARCTRL 1
18829 EOF
18830
18831 USES_CONTROLS=1
18832 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
18833 fi
18834
18835 if test "$wxUSE_CARET" = "yes"; then
18836 cat >> confdefs.h <<\EOF
18837 #define wxUSE_CARET 1
18838 EOF
18839
18840 USES_CONTROLS=1
18841 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
18842 fi
18843
18844 if test "$wxUSE_COMBOBOX" = "yes"; then
18845 cat >> confdefs.h <<\EOF
18846 #define wxUSE_COMBOBOX 1
18847 EOF
18848
18849 USES_CONTROLS=1
18850 fi
18851
18852 if test "$wxUSE_CHOICE" = "yes"; then
18853 cat >> confdefs.h <<\EOF
18854 #define wxUSE_CHOICE 1
18855 EOF
18856
18857 USES_CONTROLS=1
18858 fi
18859
18860 if test "$wxUSE_CHECKBOX" = "yes"; then
18861 cat >> confdefs.h <<\EOF
18862 #define wxUSE_CHECKBOX 1
18863 EOF
18864
18865 USES_CONTROLS=1
18866 fi
18867
18868 if test "$wxUSE_CHECKLST" = "yes"; then
18869 cat >> confdefs.h <<\EOF
18870 #define wxUSE_CHECKLISTBOX 1
18871 EOF
18872
18873 USES_CONTROLS=1
18874 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
18875 fi
18876
18877 if test "$wxUSE_GAUGE" = "yes"; then
18878 cat >> confdefs.h <<\EOF
18879 #define wxUSE_GAUGE 1
18880 EOF
18881
18882 USES_CONTROLS=1
18883 fi
18884
18885 if test "$wxUSE_NEW_GRID" = "yes"; then
18886 wxUSE_GRID="yes"
18887 cat >> confdefs.h <<\EOF
18888 #define wxUSE_NEW_GRID 1
18889 EOF
18890
18891 USES_CONTROLS=1
18892 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS newgrid"
18893 fi
18894
18895 if test "$wxUSE_GRID" = "yes"; then
18896 cat >> confdefs.h <<\EOF
18897 #define wxUSE_GRID 1
18898 EOF
18899
18900 USES_CONTROLS=1
18901 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
18902 fi
18903
18904 if test "$wxUSE_IMAGLIST" = "yes"; then
18905 cat >> confdefs.h <<\EOF
18906 #define wxUSE_IMAGLIST 1
18907 EOF
18908
18909 fi
18910
18911 if test "$wxUSE_LISTBOX" = "yes"; then
18912 cat >> confdefs.h <<\EOF
18913 #define wxUSE_LISTBOX 1
18914 EOF
18915
18916 USES_CONTROLS=1
18917 fi
18918
18919 if test "$wxUSE_LISTCTRL" = "yes"; then
18920 if test "$wxUSE_IMAGLIST" = "yes"; then
18921 cat >> confdefs.h <<\EOF
18922 #define wxUSE_LISTCTRL 1
18923 EOF
18924
18925 USES_CONTROLS=1
18926 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
18927 else
18928 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
18929 fi
18930 fi
18931
18932 if test "$wxUSE_NOTEBOOK" = "yes"; then
18933 cat >> confdefs.h <<\EOF
18934 #define wxUSE_NOTEBOOK 1
18935 EOF
18936
18937 USES_CONTROLS=1
18938 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
18939 fi
18940
18941 if test "$wxUSE_PROPSHEET" = "yes"; then
18942 cat >> confdefs.h <<\EOF
18943 #define wxUSE_PROPSHEET 1
18944 EOF
18945
18946 USES_CONTROLS=1
18947 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS proplist"
18948 fi
18949
18950 if test "$wxUSE_RADIOBOX" = "yes"; then
18951 cat >> confdefs.h <<\EOF
18952 #define wxUSE_RADIOBOX 1
18953 EOF
18954
18955 USES_CONTROLS=1
18956 fi
18957
18958 if test "$wxUSE_RADIOBTN" = "yes"; then
18959 cat >> confdefs.h <<\EOF
18960 #define wxUSE_RADIOBTN 1
18961 EOF
18962
18963 USES_CONTROLS=1
18964 fi
18965
18966 if test "$wxUSE_SASH" = "yes"; then
18967 cat >> confdefs.h <<\EOF
18968 #define wxUSE_SASH 1
18969 EOF
18970
18971 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
18972 fi
18973
18974 if test "$wxUSE_SCROLLBAR" = "yes"; then
18975 cat >> confdefs.h <<\EOF
18976 #define wxUSE_SCROLLBAR 1
18977 EOF
18978
18979 USES_CONTROLS=1
18980 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
18981 fi
18982
18983 if test "$wxUSE_SLIDER" = "yes"; then
18984 cat >> confdefs.h <<\EOF
18985 #define wxUSE_SLIDER 1
18986 EOF
18987
18988 USES_CONTROLS=1
18989 fi
18990
18991 if test "$wxUSE_SPINBTN" = "yes"; then
18992 cat >> confdefs.h <<\EOF
18993 #define wxUSE_SPINBTN 1
18994 EOF
18995
18996 USES_CONTROLS=1
18997 fi
18998
18999 if test "$wxUSE_SPINCTRL" = "yes"; then
19000 cat >> confdefs.h <<\EOF
19001 #define wxUSE_SPINCTRL 1
19002 EOF
19003
19004 USES_CONTROLS=1
19005 fi
19006
19007 if test "$wxUSE_SPLITTER" = "yes"; then
19008 cat >> confdefs.h <<\EOF
19009 #define wxUSE_SPLITTER 1
19010 EOF
19011
19012 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
19013 fi
19014
19015 if test "$wxUSE_STATBMP" = "yes"; then
19016 cat >> confdefs.h <<\EOF
19017 #define wxUSE_STATBMP 1
19018 EOF
19019
19020 USES_CONTROLS=1
19021 fi
19022
19023 if test "$wxUSE_STATBOX" = "yes"; then
19024 cat >> confdefs.h <<\EOF
19025 #define wxUSE_STATBOX 1
19026 EOF
19027
19028 USES_CONTROLS=1
19029 fi
19030
19031 if test "$wxUSE_STATTEXT" = "yes"; then
19032 cat >> confdefs.h <<\EOF
19033 #define wxUSE_STATTEXT 1
19034 EOF
19035
19036 USES_CONTROLS=1
19037 fi
19038
19039 if test "$wxUSE_STATLINE" = "yes"; then
19040 if test "$wxUSE_WINE" = 1 ; then
19041 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
19042 else
19043 cat >> confdefs.h <<\EOF
19044 #define wxUSE_STATLINE 1
19045 EOF
19046
19047 USES_CONTROLS=1
19048 fi
19049 fi
19050
19051 if test "$wxUSE_STATUSBAR" = "yes"; then
19052 cat >> confdefs.h <<\EOF
19053 #define wxUSE_STATUSBAR 1
19054 EOF
19055
19056 USES_CONTROLS=1
19057
19058 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
19059 fi
19060
19061 if test "$wxUSE_TABDIALOG" = "yes"; then
19062 cat >> confdefs.h <<\EOF
19063 #define wxUSE_TAB_DIALOG 1
19064 EOF
19065
19066 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
19067 fi
19068
19069 if test "$wxUSE_TEXTCTRL" = "yes"; then
19070 cat >> confdefs.h <<\EOF
19071 #define wxUSE_TEXTCTRL 1
19072 EOF
19073
19074 USES_CONTROLS=1
19075 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
19076 fi
19077
19078 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19079 if test "$wxUSE_MAC" = 1; then
19080 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
19081 wxUSE_TOGGLEBTN=no
19082 fi
19083 if test "$wxUSE_UNIVERSAL" = "yes"; then
19084 echo "configure: warning: Toggle button not yet supported under wxUNIVERSAL... disabled" 1>&2
19085 wxUSE_TOGGLEBTN=no
19086 fi
19087
19088 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19089 cat >> confdefs.h <<\EOF
19090 #define wxUSE_TOGGLEBTN 1
19091 EOF
19092
19093 USES_CONTROLS=1
19094 fi
19095 fi
19096
19097 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
19098 cat >> confdefs.h <<\EOF
19099 #define wxUSE_TOOLBAR_SIMPLE 1
19100 EOF
19101
19102 wxUSE_TOOLBAR="yes"
19103 USES_CONTROLS=1
19104 fi
19105
19106 if test "$wxUSE_TOOLBAR" = "yes"; then
19107 cat >> confdefs.h <<\EOF
19108 #define wxUSE_TOOLBAR 1
19109 EOF
19110
19111 USES_CONTROLS=1
19112
19113 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
19114 wxUSE_TOOLBAR_NATIVE="yes"
19115 fi
19116
19117 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
19118 cat >> confdefs.h <<\EOF
19119 #define wxUSE_TOOLBAR_NATIVE 1
19120 EOF
19121
19122 USES_CONTROLS=1
19123 fi
19124
19125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
19126 fi
19127
19128 if test "$wxUSE_TOOLTIPS" = "yes"; then
19129 if test "$wxUSE_MOTIF" = 1; then
19130 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
19131 else
19132 if test "$wxUSE_WINE" = 1; then
19133 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
19134 else
19135 if test "$wxUSE_UNIVERSAL" = "yes"; then
19136 echo "configure: warning: wxTooltip not supported yet in wxUNIVERSAL... disabled" 1>&2
19137 else
19138 cat >> confdefs.h <<\EOF
19139 #define wxUSE_TOOLTIPS 1
19140 EOF
19141
19142 fi
19143 fi
19144 fi
19145 fi
19146
19147 if test "$wxUSE_TREECTRL" = "yes"; then
19148 if test "$wxUSE_IMAGLIST" = "yes"; then
19149 cat >> confdefs.h <<\EOF
19150 #define wxUSE_TREECTRL 1
19151 EOF
19152
19153 USES_CONTROLS=1
19154 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
19155 else
19156 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
19157 fi
19158 fi
19159
19160 if test "$wxUSE_POPUPWIN" = "yes"; then
19161 if test "$wxUSE_MAC" = 1; then
19162 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
19163 else
19164 if test "$wxUSE_MOTIF" = 1; then
19165 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
19166 else
19167 cat >> confdefs.h <<\EOF
19168 #define wxUSE_POPUPWIN 1
19169 EOF
19170
19171
19172 USES_CONTROLS=1
19173 fi
19174 fi
19175 fi
19176
19177 if test "$wxUSE_TIPWINDOW" = "yes"; then
19178 cat >> confdefs.h <<\EOF
19179 #define wxUSE_TIPWINDOW 1
19180 EOF
19181
19182 fi
19183
19184 if test "$USES_CONTROLS" = 1; then
19185 cat >> confdefs.h <<\EOF
19186 #define wxUSE_CONTROLS 1
19187 EOF
19188
19189 fi
19190
19191
19192 if test "$wxUSE_TREELAYOUT" = "yes"; then
19193 cat >> confdefs.h <<\EOF
19194 #define wxUSE_TREELAYOUT 1
19195 EOF
19196
19197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelay"
19198 fi
19199
19200 if test "$wxUSE_DRAGIMAGE" = "yes"; then
19201 cat >> confdefs.h <<\EOF
19202 #define wxUSE_DRAGIMAGE 1
19203 EOF
19204
19205 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
19206 fi
19207
19208 if test "$wxUSE_MENUS" = "yes"; then
19209 cat >> confdefs.h <<\EOF
19210 #define wxUSE_MENUS 1
19211 EOF
19212
19213 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
19214 fi
19215
19216 if test "$wxUSE_METAFILE" = "yes"; then
19217 cat >> confdefs.h <<\EOF
19218 #define wxUSE_METAFILE 1
19219 EOF
19220
19221 fi
19222
19223 if test "$wxUSE_MIMETYPE" = "yes"; then
19224 cat >> confdefs.h <<\EOF
19225 #define wxUSE_MIMETYPE 1
19226 EOF
19227
19228 fi
19229
19230 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
19231 cat >> confdefs.h <<\EOF
19232 #define wxUSE_SYSTEM_OPTIONS 1
19233 EOF
19234
19235 fi
19236
19237 if test "$wxUSE_PROTOCOL" = "yes"; then
19238 if test "$wxUSE_SOCKETS" != "yes"; then
19239 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
19240 wxUSE_PROTOCOL=no
19241 fi
19242
19243 if test "$wxUSE_PROTOCOL" = "yes"; then
19244 cat >> confdefs.h <<\EOF
19245 #define wxUSE_PROTOCOL 1
19246 EOF
19247
19248
19249 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
19250 cat >> confdefs.h <<\EOF
19251 #define wxUSE_PROTOCOL_HTTP 1
19252 EOF
19253
19254 fi
19255 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
19256 cat >> confdefs.h <<\EOF
19257 #define wxUSE_PROTOCOL_FTP 1
19258 EOF
19259
19260 fi
19261 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
19262 cat >> confdefs.h <<\EOF
19263 #define wxUSE_PROTOCOL_FILE 1
19264 EOF
19265
19266 fi
19267 fi
19268 fi
19269
19270 if test "$wxUSE_URL" = "yes"; then
19271 if test "$wxUSE_PROTOCOL" != "yes"; then
19272 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
19273 wxUSE_URL=no
19274 fi
19275 if test "$wxUSE_URL" = "yes"; then
19276 cat >> confdefs.h <<\EOF
19277 #define wxUSE_URL 1
19278 EOF
19279
19280 fi
19281 fi
19282
19283 if test "$wxUSE_MINIFRAME" = "yes"; then
19284 cat >> confdefs.h <<\EOF
19285 #define wxUSE_MINIFRAME 1
19286 EOF
19287
19288 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
19289 fi
19290
19291 if test "$wxUSE_HTML" = "yes"; then
19292 cat >> confdefs.h <<\EOF
19293 #define wxUSE_HTML 1
19294 EOF
19295
19296 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html"
19297 fi
19298
19299 if test "$wxUSE_VALIDATORS" = "yes"; then
19300 cat >> confdefs.h <<\EOF
19301 #define wxUSE_VALIDATORS 1
19302 EOF
19303
19304 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
19305 fi
19306
19307 if test "$wxUSE_PALETTE" = "yes" ; then
19308 cat >> confdefs.h <<\EOF
19309 #define wxUSE_PALETTE 1
19310 EOF
19311
19312 fi
19313
19314 if test "$wxUSE_IMAGE" = "yes" ; then
19315 cat >> confdefs.h <<\EOF
19316 #define wxUSE_IMAGE 1
19317 EOF
19318
19319 fi
19320
19321 if test "$wxUSE_GIF" = "yes" ; then
19322 cat >> confdefs.h <<\EOF
19323 #define wxUSE_GIF 1
19324 EOF
19325
19326 fi
19327
19328 if test "$wxUSE_PCX" = "yes" ; then
19329 cat >> confdefs.h <<\EOF
19330 #define wxUSE_PCX 1
19331 EOF
19332
19333 fi
19334
19335 if test "$wxUSE_PNM" = "yes" ; then
19336 cat >> confdefs.h <<\EOF
19337 #define wxUSE_PNM 1
19338 EOF
19339
19340 fi
19341
19342 if test "$wxUSE_XPM" = "yes" ; then
19343 cat >> confdefs.h <<\EOF
19344 #define wxUSE_XPM 1
19345 EOF
19346
19347 fi
19348
19349 if test "$wxUSE_ICO_CUR" = "yes" ; then
19350 cat >> confdefs.h <<\EOF
19351 #define wxUSE_ICO_CUR 1
19352 EOF
19353
19354 fi
19355
19356 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
19357 LIBS=" -lunicows $LIBS"
19358 fi
19359
19360
19361 if test "$wxUSE_CHOICEDLG" = "yes"; then
19362 cat >> confdefs.h <<\EOF
19363 #define wxUSE_CHOICEDLG 1
19364 EOF
19365
19366 fi
19367
19368 if test "$wxUSE_COLOURDLG" = "yes"; then
19369 cat >> confdefs.h <<\EOF
19370 #define wxUSE_COLOURDLG 1
19371 EOF
19372
19373 fi
19374
19375 if test "$wxUSE_FILEDLG" = "yes"; then
19376 cat >> confdefs.h <<\EOF
19377 #define wxUSE_FILEDLG 1
19378 EOF
19379
19380 fi
19381
19382 if test "$wxUSE_FINDREPLDLG" = "yes"; then
19383 cat >> confdefs.h <<\EOF
19384 #define wxUSE_FINDREPLDLG 1
19385 EOF
19386
19387 fi
19388
19389 if test "$wxUSE_FONTDLG" = "yes"; then
19390 cat >> confdefs.h <<\EOF
19391 #define wxUSE_FONTDLG 1
19392 EOF
19393
19394 fi
19395
19396 if test "$wxUSE_DIRDLG" = "yes"; then
19397 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19398 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
19399 else
19400 if test "$wxUSE_TREECTRL" != "yes"; then
19401 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
19402 else
19403 cat >> confdefs.h <<\EOF
19404 #define wxUSE_DIRDLG 1
19405 EOF
19406
19407 fi
19408 fi
19409 fi
19410
19411 if test "$wxUSE_MSGDLG" = "yes"; then
19412 cat >> confdefs.h <<\EOF
19413 #define wxUSE_MSGDLG 1
19414 EOF
19415
19416 fi
19417
19418 if test "$wxUSE_NUMBERDLG" = "yes"; then
19419 cat >> confdefs.h <<\EOF
19420 #define wxUSE_NUMBERDLG 1
19421 EOF
19422
19423 fi
19424
19425 if test "$wxUSE_PROGRESSDLG" = "yes"; then
19426 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19427 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
19428 else
19429 cat >> confdefs.h <<\EOF
19430 #define wxUSE_PROGRESSDLG 1
19431 EOF
19432
19433 fi
19434 fi
19435
19436 if test "$wxUSE_SPLASH" = "yes"; then
19437 cat >> confdefs.h <<\EOF
19438 #define wxUSE_SPLASH 1
19439 EOF
19440
19441 fi
19442
19443 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
19444 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19445 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
19446 else
19447 cat >> confdefs.h <<\EOF
19448 #define wxUSE_STARTUP_TIPS 1
19449 EOF
19450
19451 fi
19452 fi
19453
19454 if test "$wxUSE_TEXTDLG" = "yes"; then
19455 cat >> confdefs.h <<\EOF
19456 #define wxUSE_TEXTDLG 1
19457 EOF
19458
19459 fi
19460
19461 if test "$wxUSE_WIZARDDLG" = "yes"; then
19462 cat >> confdefs.h <<\EOF
19463 #define wxUSE_WIZARDDLG 1
19464 EOF
19465
19466 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
19467 fi
19468
19469
19470 if test "$cross_compiling" = "yes"; then
19471 OSINFO="\"$host\""
19472 else
19473 OSINFO=`uname -s -r -m`
19474 OSINFO="\"$OSINFO\""
19475 fi
19476
19477 cat >> confdefs.h <<EOF
19478 #define WXWIN_OS_DESCRIPTION $OSINFO
19479 EOF
19480
19481
19482
19483 if test "x$prefix" != "xNONE"; then
19484 wxPREFIX=$prefix
19485 else
19486 wxPREFIX=$ac_default_prefix
19487 fi
19488
19489 cat >> confdefs.h <<EOF
19490 #define wxINSTALL_PREFIX "$wxPREFIX"
19491 EOF
19492
19493
19494
19495
19496
19497 if test "$wxUSE_MAC" = 1 ; then
19498 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
19499 fi
19500
19501
19502 LIBS="$ZLIB_LINK$POSIX4_LINK$INET_LINK$WCHAR_LINK$THREADS_LINK$DL_LINK -lm$LIBS"
19503
19504 if test "$wxUSE_GUI" = "yes"; then
19505
19506 LIBS=" $GUI_TK_LIBRARY$PNG_LINK$JPEG_LINK$TIFF_LINK$FREETYPE_LINK$LIBS"
19507
19508
19509 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS controls dialogs \
19510 drawing dynamic erase event exec font image \
19511 minimal richedit rotate widgets"
19512
19513 CPPFLAGS="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
19514 else
19515 SAMPLES_SUBDIRS="console"
19516 fi
19517
19518
19519 INCLUDES="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
19520 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
19521 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
19522
19523 if test "$wxUSE_GTK" = 1; then
19524 WXCONFIG_INCLUDE=
19525 else
19526 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
19527 fi
19528
19529 if test "$GXX" = yes ; then
19530 CXXWARNINGS="-Wall"
19531
19532 if test "$wxUSE_NO_DEPS" = "no" ; then
19533 CFLAGS="-MMD $CFLAGS"
19534 CXXFLAGS="-MMD $CXXFLAGS"
19535 fi
19536 fi
19537
19538 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
19539
19540 CFLAGS=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
19541 CXXFLAGS=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
19542
19543 LDFLAGS="$LDFLAGS$PROFILE"
19544
19545 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
19632 echo "configure:19633: checking whether ${MAKE-make} sets \${MAKE}" >&5
19633 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
19634 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
19635 echo $ac_n "(cached) $ac_c" 1>&6
19636 else
19637 cat > conftestmake <<\EOF
19638 all:
19639 @echo 'ac_maketemp="${MAKE}"'
19640 EOF
19641 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19642 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
19643 if test -n "$ac_maketemp"; then
19644 eval ac_cv_prog_make_${ac_make}_set=yes
19645 else
19646 eval ac_cv_prog_make_${ac_make}_set=no
19647 fi
19648 rm -f conftestmake
19649 fi
19650 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
19651 echo "$ac_t""yes" 1>&6
19652 SET_MAKE=
19653 else
19654 echo "$ac_t""no" 1>&6
19655 SET_MAKE="MAKE=${MAKE-make}"
19656 fi
19657
19658
19659 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
19660 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
19661 fi
19662
19663
19664
19665 if test "$wxUSE_GUI" = "yes"; then
19666 wx_cv_path_samplesubdirs=$SAMPLES_SUBDIRS
19667 wx_cv_path_ifs=$PATH_IFS
19668 wx_cv_program_ext=$PROGRAM_EXT
19669 wx_cv_target_library=$WX_TARGET_LIBRARY
19670 wx_cv_target_library_gl=$WX_TARGET_LIBRARY_GL
19671 wx_cv_target_libtype=$WX_TARGET_LIBRARY_TYPE
19672 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
19673 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
19674 subdirs="demos samples utils contrib"
19675
19676 fi
19677
19678 trap '' 1 2 15
19679 cat > confcache <<\EOF
19680 # This file is a shell script that caches the results of configure
19681 # tests run on this system so they can be shared between configure
19682 # scripts and configure runs. It is not useful on other systems.
19683 # If it contains results you don't want to keep, you may remove or edit it.
19684 #
19685 # By default, configure uses ./config.cache as the cache file,
19686 # creating it if it does not exist already. You can give configure
19687 # the --cache-file=FILE option to use a different cache file; that is
19688 # what configure does when it calls configure scripts in
19689 # subdirectories, so they share the cache.
19690 # Giving --cache-file=/dev/null disables caching, for debugging configure.
19691 # config.status only pays attention to the cache file if you give it the
19692 # --recheck option to rerun configure.
19693 #
19694 EOF
19695 # The following way of writing the cache mishandles newlines in values,
19696 # but we know of no workaround that is simple, portable, and efficient.
19697 # So, don't put newlines in cache variables' values.
19698 # Ultrix sh set writes to stderr and can't be redirected directly,
19699 # and sets the high bit in the cache file unless we assign to the vars.
19700 (set) 2>&1 |
19701 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19702 *ac_space=\ *)
19703 # `set' does not quote correctly, so add quotes (double-quote substitution
19704 # turns \\\\ into \\, and sed turns \\ into \).
19705 sed -n \
19706 -e "s/'/'\\\\''/g" \
19707 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
19708 ;;
19709 *)
19710 # `set' quotes correctly as required by POSIX, so do not add quotes.
19711 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
19712 ;;
19713 esac >> confcache
19714 if cmp -s $cache_file confcache; then
19715 :
19716 else
19717 if test -w $cache_file; then
19718 echo "updating cache $cache_file"
19719 cat confcache > $cache_file
19720 else
19721 echo "not updating unwritable cache $cache_file"
19722 fi
19723 fi
19724 rm -f confcache
19725
19726 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
19727
19728 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19729 # Let make expand exec_prefix.
19730 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19731
19732 # Any assignment to VPATH causes Sun make to only execute
19733 # the first set of double-colon rules, so remove it if not needed.
19734 # If there is a colon in the path, we need to keep it.
19735 if test "x$srcdir" = x.; then
19736 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
19737 fi
19738
19739 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
19740
19741 DEFS=-DHAVE_CONFIG_H
19742
19743 # Without the "./", some shells look in PATH for config.status.
19744 : ${CONFIG_STATUS=./config.status}
19745
19746 echo creating $CONFIG_STATUS
19747 rm -f $CONFIG_STATUS
19748 cat > $CONFIG_STATUS <<EOF
19749 #! /bin/sh
19750 # Generated automatically by configure.
19751 # Run this file to recreate the current configuration.
19752 # This directory was configured as follows,
19753 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19754 #
19755 # $0 $ac_configure_args
19756 #
19757 # Compiler output produced by configure, useful for debugging
19758 # configure, is in ./config.log if it exists.
19759
19760 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
19761 for ac_option
19762 do
19763 case "\$ac_option" in
19764 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19765 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
19766 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
19767 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
19768 echo "$CONFIG_STATUS generated by autoconf version 2.13"
19769 exit 0 ;;
19770 -help | --help | --hel | --he | --h)
19771 echo "\$ac_cs_usage"; exit 0 ;;
19772 *) echo "\$ac_cs_usage"; exit 1 ;;
19773 esac
19774 done
19775
19776 ac_given_srcdir=$srcdir
19777 ac_given_INSTALL="$INSTALL"
19778
19779 trap 'rm -fr `echo "
19780 wx-config
19781 src/make.env
19782 src/makeprog.env
19783 src/makelib.env
19784 Makefile
19785 locale/Makefile
19786 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
19787 EOF
19788 cat >> $CONFIG_STATUS <<EOF
19789
19790 # Protect against being on the right side of a sed subst in config.status.
19791 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
19792 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
19793 $ac_vpsub
19794 $extrasub
19795 s%@SHELL@%$SHELL%g
19796 s%@CFLAGS@%$CFLAGS%g
19797 s%@CPPFLAGS@%$CPPFLAGS%g
19798 s%@CXXFLAGS@%$CXXFLAGS%g
19799 s%@FFLAGS@%$FFLAGS%g
19800 s%@DEFS@%$DEFS%g
19801 s%@LDFLAGS@%$LDFLAGS%g
19802 s%@LIBS@%$LIBS%g
19803 s%@exec_prefix@%$exec_prefix%g
19804 s%@prefix@%$prefix%g
19805 s%@program_transform_name@%$program_transform_name%g
19806 s%@bindir@%$bindir%g
19807 s%@sbindir@%$sbindir%g
19808 s%@libexecdir@%$libexecdir%g
19809 s%@datadir@%$datadir%g
19810 s%@sysconfdir@%$sysconfdir%g
19811 s%@sharedstatedir@%$sharedstatedir%g
19812 s%@localstatedir@%$localstatedir%g
19813 s%@libdir@%$libdir%g
19814 s%@includedir@%$includedir%g
19815 s%@oldincludedir@%$oldincludedir%g
19816 s%@infodir@%$infodir%g
19817 s%@mandir@%$mandir%g
19818 s%@host@%$host%g
19819 s%@host_alias@%$host_alias%g
19820 s%@host_cpu@%$host_cpu%g
19821 s%@host_vendor@%$host_vendor%g
19822 s%@host_os@%$host_os%g
19823 s%@target@%$target%g
19824 s%@target_alias@%$target_alias%g
19825 s%@target_cpu@%$target_cpu%g
19826 s%@target_vendor@%$target_vendor%g
19827 s%@target_os@%$target_os%g
19828 s%@build@%$build%g
19829 s%@build_alias@%$build_alias%g
19830 s%@build_cpu@%$build_cpu%g
19831 s%@build_vendor@%$build_vendor%g
19832 s%@build_os@%$build_os%g
19833 s%@CC@%$CC%g
19834 s%@CPP@%$CPP%g
19835 s%@CXX@%$CXX%g
19836 s%@RANLIB@%$RANLIB%g
19837 s%@AR@%$AR%g
19838 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
19839 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
19840 s%@INSTALL_DATA@%$INSTALL_DATA%g
19841 s%@STRIP@%$STRIP%g
19842 s%@YACC@%$YACC%g
19843 s%@LEX@%$LEX%g
19844 s%@LEXLIB@%$LEXLIB%g
19845 s%@LN_S@%$LN_S%g
19846 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
19847 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
19848 s%@GTK_LIBS@%$GTK_LIBS%g
19849 s%@GTK_CONFIG@%$GTK_CONFIG%g
19850 s%@X_CFLAGS@%$X_CFLAGS%g
19851 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
19852 s%@X_LIBS@%$X_LIBS%g
19853 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
19854 s%@RESCOMP@%$RESCOMP%g
19855 s%@DEREZ@%$DEREZ%g
19856 s%@CXXCPP@%$CXXCPP%g
19857 s%@LEX_STEM@%$LEX_STEM%g
19858 s%@PATH_IFS@%$PATH_IFS%g
19859 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
19860 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
19861 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
19862 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
19863 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
19864 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
19865 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
19866 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
19867 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
19868 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
19869 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
19870 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
19871 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
19872 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
19873 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
19874 s%@WX_ALL@%$WX_ALL%g
19875 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
19876 s%@SHARED_LD@%$SHARED_LD%g
19877 s%@PIC_FLAG@%$PIC_FLAG%g
19878 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
19879 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
19880 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
19881 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
19882 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
19883 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
19884 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
19885 s%@USE_GUI@%$USE_GUI%g
19886 s%@AFMINSTALL@%$AFMINSTALL%g
19887 s%@TOOLKIT@%$TOOLKIT%g
19888 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
19889 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
19890 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
19891 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
19892 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
19893 s%@cross_compiling@%$cross_compiling%g
19894 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
19895 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
19896 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
19897 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
19898 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
19899 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
19900 s%@GUIDIST@%$GUIDIST%g
19901 s%@PORT_FILES@%$PORT_FILES%g
19902 s%@DISTDIR@%$DISTDIR%g
19903 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
19904 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
19905 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
19906 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
19907 s%@EXTRADEFS@%$EXTRADEFS%g
19908 s%@RESFLAGS@%$RESFLAGS%g
19909 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
19910 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
19911 s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
19912 s%@LIBWXMACRES@%$LIBWXMACRES%g
19913 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
19914 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
19915 s%@DLLTOOL@%$DLLTOOL%g
19916 s%@AS@%$AS%g
19917 s%@NM@%$NM%g
19918 s%@LD@%$LD%g
19919 s%@MAKEINFO@%$MAKEINFO%g
19920 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
19921 s%@SET_MAKE@%$SET_MAKE%g
19922 s%@subdirs@%$subdirs%g
19923
19924 CEOF
19925 EOF
19926
19927 cat >> $CONFIG_STATUS <<\EOF
19928
19929 # Split the substitutions into bite-sized pieces for seds with
19930 # small command number limits, like on Digital OSF/1 and HP-UX.
19931 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
19932 ac_file=1 # Number of current file.
19933 ac_beg=1 # First line for current file.
19934 ac_end=$ac_max_sed_cmds # Line after last line for current file.
19935 ac_more_lines=:
19936 ac_sed_cmds=""
19937 while $ac_more_lines; do
19938 if test $ac_beg -gt 1; then
19939 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
19940 else
19941 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
19942 fi
19943 if test ! -s conftest.s$ac_file; then
19944 ac_more_lines=false
19945 rm -f conftest.s$ac_file
19946 else
19947 if test -z "$ac_sed_cmds"; then
19948 ac_sed_cmds="sed -f conftest.s$ac_file"
19949 else
19950 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
19951 fi
19952 ac_file=`expr $ac_file + 1`
19953 ac_beg=$ac_end
19954 ac_end=`expr $ac_end + $ac_max_sed_cmds`
19955 fi
19956 done
19957 if test -z "$ac_sed_cmds"; then
19958 ac_sed_cmds=cat
19959 fi
19960 EOF
19961
19962 cat >> $CONFIG_STATUS <<EOF
19963
19964 CONFIG_FILES=\${CONFIG_FILES-"wx-config
19965 src/make.env
19966 src/makeprog.env
19967 src/makelib.env
19968 Makefile
19969 locale/Makefile
19970 "}
19971 EOF
19972 cat >> $CONFIG_STATUS <<\EOF
19973 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
19974 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19975 case "$ac_file" in
19976 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
19977 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19978 *) ac_file_in="${ac_file}.in" ;;
19979 esac
19980
19981 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
19982
19983 # Remove last slash and all that follows it. Not all systems have dirname.
19984 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19985 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19986 # The file is in a subdirectory.
19987 test ! -d "$ac_dir" && mkdir "$ac_dir"
19988 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
19989 # A "../" for each directory in $ac_dir_suffix.
19990 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
19991 else
19992 ac_dir_suffix= ac_dots=
19993 fi
19994
19995 case "$ac_given_srcdir" in
19996 .) srcdir=.
19997 if test -z "$ac_dots"; then top_srcdir=.
19998 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
19999 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
20000 *) # Relative path.
20001 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
20002 top_srcdir="$ac_dots$ac_given_srcdir" ;;
20003 esac
20004
20005 case "$ac_given_INSTALL" in
20006 [/$]*) INSTALL="$ac_given_INSTALL" ;;
20007 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
20008 esac
20009
20010 echo creating "$ac_file"
20011 rm -f "$ac_file"
20012 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
20013 case "$ac_file" in
20014 *Makefile*) ac_comsub="1i\\
20015 # $configure_input" ;;
20016 *) ac_comsub= ;;
20017 esac
20018
20019 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20020 sed -e "$ac_comsub
20021 s%@configure_input@%$configure_input%g
20022 s%@srcdir@%$srcdir%g
20023 s%@top_srcdir@%$top_srcdir%g
20024 s%@INSTALL@%$INSTALL%g
20025 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
20026 fi; done
20027 rm -f conftest.s*
20028
20029 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
20030 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20031 #
20032 # ac_d sets the value in "#define NAME VALUE" lines.
20033 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20034 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
20035 ac_dC='\3'
20036 ac_dD='%g'
20037 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
20038 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20039 ac_uB='\([ ]\)%\1#\2define\3'
20040 ac_uC=' '
20041 ac_uD='\4%g'
20042 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20043 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20044 ac_eB='$%\1#\2define\3'
20045 ac_eC=' '
20046 ac_eD='%g'
20047
20048 if test "${CONFIG_HEADERS+set}" != set; then
20049 EOF
20050 cat >> $CONFIG_STATUS <<EOF
20051 CONFIG_HEADERS="setup.h:setup.h.in"
20052 EOF
20053 cat >> $CONFIG_STATUS <<\EOF
20054 fi
20055 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
20056 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20057 case "$ac_file" in
20058 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
20059 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
20060 *) ac_file_in="${ac_file}.in" ;;
20061 esac
20062
20063 echo creating $ac_file
20064
20065 rm -f conftest.frag conftest.in conftest.out
20066 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20067 cat $ac_file_inputs > conftest.in
20068
20069 EOF
20070
20071 # Transform confdefs.h into a sed script conftest.vals that substitutes
20072 # the proper values into config.h.in to produce config.h. And first:
20073 # Protect against being on the right side of a sed subst in config.status.
20074 # Protect against being in an unquoted here document in config.status.
20075 rm -f conftest.vals
20076 cat > conftest.hdr <<\EOF
20077 s/[\\&%]/\\&/g
20078 s%[\\$`]%\\&%g
20079 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
20080 s%ac_d%ac_u%gp
20081 s%ac_u%ac_e%gp
20082 EOF
20083 sed -n -f conftest.hdr confdefs.h > conftest.vals
20084 rm -f conftest.hdr
20085
20086 # This sed command replaces #undef with comments. This is necessary, for
20087 # example, in the case of _POSIX_SOURCE, which is predefined and required
20088 # on some systems where configure will not decide to define it.
20089 cat >> conftest.vals <<\EOF
20090 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
20091 EOF
20092
20093 # Break up conftest.vals because some shells have a limit on
20094 # the size of here documents, and old seds have small limits too.
20095
20096 rm -f conftest.tail
20097 while :
20098 do
20099 ac_lines=`grep -c . conftest.vals`
20100 # grep -c gives empty output for an empty file on some AIX systems.
20101 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
20102 # Write a limited-size here document to conftest.frag.
20103 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
20104 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
20105 echo 'CEOF
20106 sed -f conftest.frag conftest.in > conftest.out
20107 rm -f conftest.in
20108 mv conftest.out conftest.in
20109 ' >> $CONFIG_STATUS
20110 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
20111 rm -f conftest.vals
20112 mv conftest.tail conftest.vals
20113 done
20114 rm -f conftest.vals
20115
20116 cat >> $CONFIG_STATUS <<\EOF
20117 rm -f conftest.frag conftest.h
20118 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
20119 cat conftest.in >> conftest.h
20120 rm -f conftest.in
20121 if cmp -s $ac_file conftest.h 2>/dev/null; then
20122 echo "$ac_file is unchanged"
20123 rm -f conftest.h
20124 else
20125 # Remove last slash and all that follows it. Not all systems have dirname.
20126 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20127 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
20128 # The file is in a subdirectory.
20129 test ! -d "$ac_dir" && mkdir "$ac_dir"
20130 fi
20131 rm -f $ac_file
20132 mv conftest.h $ac_file
20133 fi
20134 fi; done
20135
20136 EOF
20137 cat >> $CONFIG_STATUS <<EOF
20138
20139 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
20140 LN_S="${LN_S}"
20141
20142
20143 EOF
20144 cat >> $CONFIG_STATUS <<\EOF
20145
20146 if test ! -h wx-config; then
20147 chmod +x wx-config
20148 mv wx-config wx${TOOLCHAIN_NAME}-config
20149 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
20150 fi
20151
20152 if test ! -d lib; then
20153 mkdir lib
20154 fi
20155 if test ! -d lib/wx; then
20156 mkdir lib/wx
20157 fi
20158 if test ! -d lib/wx/include; then
20159 mkdir lib/wx/include
20160 fi
20161 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
20162 mkdir lib/wx/include/${TOOLCHAIN_NAME}
20163 fi
20164 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
20165 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
20166 fi
20167 if test -f setup.h; then
20168 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
20169 fi
20170
20171 exit 0
20172 EOF
20173 chmod +x $CONFIG_STATUS
20174 rm -fr confdefs* $ac_clean_files
20175 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
20176
20177 if test "$no_recursion" != yes; then
20178
20179 # Remove --cache-file and --srcdir arguments so they do not pile up.
20180 ac_sub_configure_args=
20181 ac_prev=
20182 for ac_arg in $ac_configure_args; do
20183 if test -n "$ac_prev"; then
20184 ac_prev=
20185 continue
20186 fi
20187 case "$ac_arg" in
20188 -cache-file | --cache-file | --cache-fil | --cache-fi \
20189 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
20190 ac_prev=cache_file ;;
20191 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
20192 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
20193 ;;
20194 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
20195 ac_prev=srcdir ;;
20196 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
20197 ;;
20198 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
20199 esac
20200 done
20201
20202 for ac_config_dir in demos samples utils contrib; do
20203
20204 # Do not complain, so a configure script can configure whichever
20205 # parts of a large source tree are present.
20206 if test ! -d $srcdir/$ac_config_dir; then
20207 continue
20208 fi
20209
20210 echo configuring in $ac_config_dir
20211
20212 case "$srcdir" in
20213 .) ;;
20214 *)
20215 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
20216 else
20217 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
20218 fi
20219 ;;
20220 esac
20221
20222 ac_popdir=`pwd`
20223 cd $ac_config_dir
20224
20225 # A "../" for each directory in /$ac_config_dir.
20226 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
20227
20228 case "$srcdir" in
20229 .) # No --srcdir option. We are building in place.
20230 ac_sub_srcdir=$srcdir ;;
20231 /*) # Absolute path.
20232 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
20233 *) # Relative path.
20234 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
20235 esac
20236
20237 # Check for guested configure; otherwise get Cygnus style configure.
20238 if test -f $ac_sub_srcdir/configure; then
20239 ac_sub_configure=$ac_sub_srcdir/configure
20240 elif test -f $ac_sub_srcdir/configure.in; then
20241 ac_sub_configure=$ac_configure
20242 else
20243 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
20244 ac_sub_configure=
20245 fi
20246
20247 # The recursion is here.
20248 if test -n "$ac_sub_configure"; then
20249
20250 # Make the cache file name correct relative to the subdirectory.
20251 case "$cache_file" in
20252 /*) ac_sub_cache_file=$cache_file ;;
20253 *) # Relative path.
20254 ac_sub_cache_file="$ac_dots$cache_file" ;;
20255 esac
20256 case "$ac_given_INSTALL" in
20257 [/$]*) INSTALL="$ac_given_INSTALL" ;;
20258 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
20259 esac
20260
20261 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
20262 # The eval makes quoting arguments work.
20263 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
20264 then :
20265 else
20266 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
20267 fi
20268 fi
20269
20270 cd $ac_popdir
20271 done
20272 fi
20273
20274