]> git.saurik.com Git - wxWidgets.git/blob - configure
fix for GL library soname under Solaris
[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 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
399 ac_help="$ac_help
400 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
401 ac_help="$ac_help
402 --disable-gtktest Do not try to compile and run a test GTK program"
403 ac_help="$ac_help
404 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
405 ac_help="$ac_help
406 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
407 ac_help="$ac_help
408 --disable-gtktest Do not try to compile and run a test GTK program"
409 ac_help="$ac_help
410 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
411 ac_help="$ac_help
412 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
413 ac_help="$ac_help
414 --disable-gtktest Do not try to compile and run a test GTK program"
415 ac_help="$ac_help
416 --with-x use the X Window System"
417
418 # Initialize some variables set by options.
419 # The variables have the same names as the options, with
420 # dashes changed to underlines.
421 build=NONE
422 cache_file=./config.cache
423 exec_prefix=NONE
424 host=NONE
425 no_create=
426 nonopt=NONE
427 no_recursion=
428 prefix=NONE
429 program_prefix=NONE
430 program_suffix=NONE
431 program_transform_name=s,x,x,
432 silent=
433 site=
434 srcdir=
435 target=NONE
436 verbose=
437 x_includes=NONE
438 x_libraries=NONE
439 bindir='${exec_prefix}/bin'
440 sbindir='${exec_prefix}/sbin'
441 libexecdir='${exec_prefix}/libexec'
442 datadir='${prefix}/share'
443 sysconfdir='${prefix}/etc'
444 sharedstatedir='${prefix}/com'
445 localstatedir='${prefix}/var'
446 libdir='${exec_prefix}/lib'
447 includedir='${prefix}/include'
448 oldincludedir='/usr/include'
449 infodir='${prefix}/info'
450 mandir='${prefix}/man'
451
452 # Initialize some other variables.
453 subdirs=
454 MFLAGS= MAKEFLAGS=
455 SHELL=${CONFIG_SHELL-/bin/sh}
456 # Maximum number of lines to put in a shell here document.
457 ac_max_here_lines=12
458
459 ac_prev=
460 for ac_option
461 do
462
463 # If the previous option needs an argument, assign it.
464 if test -n "$ac_prev"; then
465 eval "$ac_prev=\$ac_option"
466 ac_prev=
467 continue
468 fi
469
470 case "$ac_option" in
471 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
472 *) ac_optarg= ;;
473 esac
474
475 # Accept the important Cygnus configure options, so we can diagnose typos.
476
477 case "$ac_option" in
478
479 -bindir | --bindir | --bindi | --bind | --bin | --bi)
480 ac_prev=bindir ;;
481 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
482 bindir="$ac_optarg" ;;
483
484 -build | --build | --buil | --bui | --bu)
485 ac_prev=build ;;
486 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
487 build="$ac_optarg" ;;
488
489 -cache-file | --cache-file | --cache-fil | --cache-fi \
490 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
491 ac_prev=cache_file ;;
492 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
493 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
494 cache_file="$ac_optarg" ;;
495
496 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
497 ac_prev=datadir ;;
498 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
499 | --da=*)
500 datadir="$ac_optarg" ;;
501
502 -disable-* | --disable-*)
503 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
504 # Reject names that are not valid shell variable names.
505 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
506 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
507 fi
508 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
509 eval "enable_${ac_feature}=no" ;;
510
511 -enable-* | --enable-*)
512 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
513 # Reject names that are not valid shell variable names.
514 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
515 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
516 fi
517 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
518 case "$ac_option" in
519 *=*) ;;
520 *) ac_optarg=yes ;;
521 esac
522 eval "enable_${ac_feature}='$ac_optarg'" ;;
523
524 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
525 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
526 | --exec | --exe | --ex)
527 ac_prev=exec_prefix ;;
528 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
529 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
530 | --exec=* | --exe=* | --ex=*)
531 exec_prefix="$ac_optarg" ;;
532
533 -gas | --gas | --ga | --g)
534 # Obsolete; use --with-gas.
535 with_gas=yes ;;
536
537 -help | --help | --hel | --he)
538 # Omit some internal or obsolete options to make the list less imposing.
539 # This message is too long to be a string in the A/UX 3.1 sh.
540 cat << EOF
541 Usage: configure [options] [host]
542 Options: [defaults in brackets after descriptions]
543 Configuration:
544 --cache-file=FILE cache test results in FILE
545 --help print this message
546 --no-create do not create output files
547 --quiet, --silent do not print \`checking...' messages
548 --version print the version of autoconf that created configure
549 Directory and file names:
550 --prefix=PREFIX install architecture-independent files in PREFIX
551 [$ac_default_prefix]
552 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
553 [same as prefix]
554 --bindir=DIR user executables in DIR [EPREFIX/bin]
555 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
556 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
557 --datadir=DIR read-only architecture-independent data in DIR
558 [PREFIX/share]
559 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
560 --sharedstatedir=DIR modifiable architecture-independent data in DIR
561 [PREFIX/com]
562 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
563 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
564 --includedir=DIR C header files in DIR [PREFIX/include]
565 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
566 --infodir=DIR info documentation in DIR [PREFIX/info]
567 --mandir=DIR man documentation in DIR [PREFIX/man]
568 --srcdir=DIR find the sources in DIR [configure dir or ..]
569 --program-prefix=PREFIX prepend PREFIX to installed program names
570 --program-suffix=SUFFIX append SUFFIX to installed program names
571 --program-transform-name=PROGRAM
572 run sed PROGRAM on installed program names
573 EOF
574 cat << EOF
575 Host type:
576 --build=BUILD configure for building on BUILD [BUILD=HOST]
577 --host=HOST configure for HOST [guessed]
578 --target=TARGET configure for TARGET [TARGET=HOST]
579 Features and packages:
580 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
581 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
582 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
583 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
584 --x-includes=DIR X include files are in DIR
585 --x-libraries=DIR X library files are in DIR
586 EOF
587 if test -n "$ac_help"; then
588 echo "--enable and --with options recognized:$ac_help"
589 fi
590 exit 0 ;;
591
592 -host | --host | --hos | --ho)
593 ac_prev=host ;;
594 -host=* | --host=* | --hos=* | --ho=*)
595 host="$ac_optarg" ;;
596
597 -includedir | --includedir | --includedi | --included | --include \
598 | --includ | --inclu | --incl | --inc)
599 ac_prev=includedir ;;
600 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
601 | --includ=* | --inclu=* | --incl=* | --inc=*)
602 includedir="$ac_optarg" ;;
603
604 -infodir | --infodir | --infodi | --infod | --info | --inf)
605 ac_prev=infodir ;;
606 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
607 infodir="$ac_optarg" ;;
608
609 -libdir | --libdir | --libdi | --libd)
610 ac_prev=libdir ;;
611 -libdir=* | --libdir=* | --libdi=* | --libd=*)
612 libdir="$ac_optarg" ;;
613
614 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
615 | --libexe | --libex | --libe)
616 ac_prev=libexecdir ;;
617 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
618 | --libexe=* | --libex=* | --libe=*)
619 libexecdir="$ac_optarg" ;;
620
621 -localstatedir | --localstatedir | --localstatedi | --localstated \
622 | --localstate | --localstat | --localsta | --localst \
623 | --locals | --local | --loca | --loc | --lo)
624 ac_prev=localstatedir ;;
625 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
627 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
628 localstatedir="$ac_optarg" ;;
629
630 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
631 ac_prev=mandir ;;
632 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
633 mandir="$ac_optarg" ;;
634
635 -nfp | --nfp | --nf)
636 # Obsolete; use --without-fp.
637 with_fp=no ;;
638
639 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
640 | --no-cr | --no-c)
641 no_create=yes ;;
642
643 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
644 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
645 no_recursion=yes ;;
646
647 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
648 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
649 | --oldin | --oldi | --old | --ol | --o)
650 ac_prev=oldincludedir ;;
651 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
652 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
653 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
654 oldincludedir="$ac_optarg" ;;
655
656 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
657 ac_prev=prefix ;;
658 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
659 prefix="$ac_optarg" ;;
660
661 -program-prefix | --program-prefix | --program-prefi | --program-pref \
662 | --program-pre | --program-pr | --program-p)
663 ac_prev=program_prefix ;;
664 -program-prefix=* | --program-prefix=* | --program-prefi=* \
665 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
666 program_prefix="$ac_optarg" ;;
667
668 -program-suffix | --program-suffix | --program-suffi | --program-suff \
669 | --program-suf | --program-su | --program-s)
670 ac_prev=program_suffix ;;
671 -program-suffix=* | --program-suffix=* | --program-suffi=* \
672 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
673 program_suffix="$ac_optarg" ;;
674
675 -program-transform-name | --program-transform-name \
676 | --program-transform-nam | --program-transform-na \
677 | --program-transform-n | --program-transform- \
678 | --program-transform | --program-transfor \
679 | --program-transfo | --program-transf \
680 | --program-trans | --program-tran \
681 | --progr-tra | --program-tr | --program-t)
682 ac_prev=program_transform_name ;;
683 -program-transform-name=* | --program-transform-name=* \
684 | --program-transform-nam=* | --program-transform-na=* \
685 | --program-transform-n=* | --program-transform-=* \
686 | --program-transform=* | --program-transfor=* \
687 | --program-transfo=* | --program-transf=* \
688 | --program-trans=* | --program-tran=* \
689 | --progr-tra=* | --program-tr=* | --program-t=*)
690 program_transform_name="$ac_optarg" ;;
691
692 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
693 | -silent | --silent | --silen | --sile | --sil)
694 silent=yes ;;
695
696 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
697 ac_prev=sbindir ;;
698 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
699 | --sbi=* | --sb=*)
700 sbindir="$ac_optarg" ;;
701
702 -sharedstatedir | --sharedstatedir | --sharedstatedi \
703 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
704 | --sharedst | --shareds | --shared | --share | --shar \
705 | --sha | --sh)
706 ac_prev=sharedstatedir ;;
707 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
708 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
709 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
710 | --sha=* | --sh=*)
711 sharedstatedir="$ac_optarg" ;;
712
713 -site | --site | --sit)
714 ac_prev=site ;;
715 -site=* | --site=* | --sit=*)
716 site="$ac_optarg" ;;
717
718 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
719 ac_prev=srcdir ;;
720 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
721 srcdir="$ac_optarg" ;;
722
723 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
724 | --syscon | --sysco | --sysc | --sys | --sy)
725 ac_prev=sysconfdir ;;
726 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
727 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
728 sysconfdir="$ac_optarg" ;;
729
730 -target | --target | --targe | --targ | --tar | --ta | --t)
731 ac_prev=target ;;
732 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
733 target="$ac_optarg" ;;
734
735 -v | -verbose | --verbose | --verbos | --verbo | --verb)
736 verbose=yes ;;
737
738 -version | --version | --versio | --versi | --vers)
739 echo "configure generated by autoconf version 2.13"
740 exit 0 ;;
741
742 -with-* | --with-*)
743 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
744 # Reject names that are not valid shell variable names.
745 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
746 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
747 fi
748 ac_package=`echo $ac_package| sed 's/-/_/g'`
749 case "$ac_option" in
750 *=*) ;;
751 *) ac_optarg=yes ;;
752 esac
753 eval "with_${ac_package}='$ac_optarg'" ;;
754
755 -without-* | --without-*)
756 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
757 # Reject names that are not valid shell variable names.
758 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
759 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
760 fi
761 ac_package=`echo $ac_package| sed 's/-/_/g'`
762 eval "with_${ac_package}=no" ;;
763
764 --x)
765 # Obsolete; use --with-x.
766 with_x=yes ;;
767
768 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
769 | --x-incl | --x-inc | --x-in | --x-i)
770 ac_prev=x_includes ;;
771 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
772 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
773 x_includes="$ac_optarg" ;;
774
775 -x-libraries | --x-libraries | --x-librarie | --x-librari \
776 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
777 ac_prev=x_libraries ;;
778 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
779 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
780 x_libraries="$ac_optarg" ;;
781
782 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
783 ;;
784
785 *)
786 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
787 echo "configure: warning: $ac_option: invalid host type" 1>&2
788 fi
789 if test "x$nonopt" != xNONE; then
790 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
791 fi
792 nonopt="$ac_option"
793 ;;
794
795 esac
796 done
797
798 if test -n "$ac_prev"; then
799 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
800 fi
801
802 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
803
804 # File descriptor usage:
805 # 0 standard input
806 # 1 file creation
807 # 2 errors and warnings
808 # 3 some systems may open it to /dev/tty
809 # 4 used on the Kubota Titan
810 # 6 checking for... messages and results
811 # 5 compiler messages saved in config.log
812 if test "$silent" = yes; then
813 exec 6>/dev/null
814 else
815 exec 6>&1
816 fi
817 exec 5>./config.log
818
819 echo "\
820 This file contains any messages produced by compilers while
821 running configure, to aid debugging if configure makes a mistake.
822 " 1>&5
823
824 # Strip out --no-create and --no-recursion so they do not pile up.
825 # Also quote any args containing shell metacharacters.
826 ac_configure_args=
827 for ac_arg
828 do
829 case "$ac_arg" in
830 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
831 | --no-cr | --no-c) ;;
832 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
833 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
834 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
835 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
836 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
837 esac
838 done
839
840 # NLS nuisances.
841 # Only set these to C if already set. These must not be set unconditionally
842 # because not all systems understand e.g. LANG=C (notably SCO).
843 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
844 # Non-C LC_CTYPE values break the ctype check.
845 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
846 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
847 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
848 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
849
850 # confdefs.h avoids OS command line length limits that DEFS can exceed.
851 rm -rf conftest* confdefs.h
852 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
853 echo > confdefs.h
854
855 # A filename unique to this package, relative to the directory that
856 # configure is in, which we can look for to find out if srcdir is correct.
857 ac_unique_file=wx-config.in
858
859 # Find the source files, if location was not specified.
860 if test -z "$srcdir"; then
861 ac_srcdir_defaulted=yes
862 # Try the directory containing this script, then its parent.
863 ac_prog=$0
864 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
865 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
866 srcdir=$ac_confdir
867 if test ! -r $srcdir/$ac_unique_file; then
868 srcdir=..
869 fi
870 else
871 ac_srcdir_defaulted=no
872 fi
873 if test ! -r $srcdir/$ac_unique_file; then
874 if test "$ac_srcdir_defaulted" = yes; then
875 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
876 else
877 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
878 fi
879 fi
880 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
881
882 # Prefer explicitly selected file to automatically selected ones.
883 if test -z "$CONFIG_SITE"; then
884 if test "x$prefix" != xNONE; then
885 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
886 else
887 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
888 fi
889 fi
890 for ac_site_file in $CONFIG_SITE; do
891 if test -r "$ac_site_file"; then
892 echo "loading site script $ac_site_file"
893 . "$ac_site_file"
894 fi
895 done
896
897 if test -r "$cache_file"; then
898 echo "loading cache $cache_file"
899 . $cache_file
900 else
901 echo "creating cache $cache_file"
902 > $cache_file
903 fi
904
905 ac_ext=c
906 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
907 ac_cpp='$CPP $CPPFLAGS'
908 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
909 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
910 cross_compiling=$ac_cv_prog_cc_cross
911
912 ac_exeext=
913 ac_objext=o
914 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
915 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
916 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
917 ac_n= ac_c='
918 ' ac_t=' '
919 else
920 ac_n=-n ac_c= ac_t=
921 fi
922 else
923 ac_n= ac_c='\c' ac_t=
924 fi
925
926
927
928 ac_aux_dir=
929 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
930 if test -f $ac_dir/install-sh; then
931 ac_aux_dir=$ac_dir
932 ac_install_sh="$ac_aux_dir/install-sh -c"
933 break
934 elif test -f $ac_dir/install.sh; then
935 ac_aux_dir=$ac_dir
936 ac_install_sh="$ac_aux_dir/install.sh -c"
937 break
938 fi
939 done
940 if test -z "$ac_aux_dir"; then
941 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
942 fi
943 ac_config_guess=$ac_aux_dir/config.guess
944 ac_config_sub=$ac_aux_dir/config.sub
945 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
946
947
948 # Do some error checking and defaulting for the host and target type.
949 # The inputs are:
950 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
951 #
952 # The rules are:
953 # 1. You are not allowed to specify --host, --target, and nonopt at the
954 # same time.
955 # 2. Host defaults to nonopt.
956 # 3. If nonopt is not specified, then host defaults to the current host,
957 # as determined by config.guess.
958 # 4. Target and build default to nonopt.
959 # 5. If nonopt is not specified, then target and build default to host.
960
961 # The aliases save the names the user supplied, while $host etc.
962 # will get canonicalized.
963 case $host---$target---$nonopt in
964 NONE---*---* | *---NONE---* | *---*---NONE) ;;
965 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
966 esac
967
968
969 # Make sure we can run config.sub.
970 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
971 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
972 fi
973
974 echo $ac_n "checking host system type""... $ac_c" 1>&6
975 echo "configure:976: checking host system type" >&5
976
977 host_alias=$host
978 case "$host_alias" in
979 NONE)
980 case $nonopt in
981 NONE)
982 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
983 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
984 fi ;;
985 *) host_alias=$nonopt ;;
986 esac ;;
987 esac
988
989 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
990 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
991 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
992 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
993 echo "$ac_t""$host" 1>&6
994
995 echo $ac_n "checking target system type""... $ac_c" 1>&6
996 echo "configure:997: checking target system type" >&5
997
998 target_alias=$target
999 case "$target_alias" in
1000 NONE)
1001 case $nonopt in
1002 NONE) target_alias=$host_alias ;;
1003 *) target_alias=$nonopt ;;
1004 esac ;;
1005 esac
1006
1007 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1008 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1009 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1010 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1011 echo "$ac_t""$target" 1>&6
1012
1013 echo $ac_n "checking build system type""... $ac_c" 1>&6
1014 echo "configure:1015: checking build system type" >&5
1015
1016 build_alias=$build
1017 case "$build_alias" in
1018 NONE)
1019 case $nonopt in
1020 NONE) build_alias=$host_alias ;;
1021 *) build_alias=$nonopt ;;
1022 esac ;;
1023 esac
1024
1025 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1026 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1027 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1028 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1029 echo "$ac_t""$build" 1>&6
1030
1031 test "$host_alias" != "$target_alias" &&
1032 test "$program_prefix$program_suffix$program_transform_name" = \
1033 NONENONEs,x,x, &&
1034 program_prefix=${target_alias}-
1035
1036
1037
1038 WX_MAJOR_VERSION_NUMBER=2
1039 WX_MINOR_VERSION_NUMBER=3
1040 WX_RELEASE_NUMBER=3
1041
1042 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1043 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1044
1045 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1046
1047 WX_CURRENT=2
1048 WX_REVISION=0
1049 WX_AGE=0
1050
1051
1052
1053 USE_UNIX=1
1054 USE_WIN32=0
1055 USE_DOS=0
1056 USE_BEOS=0
1057 USE_MAC=0
1058
1059 USE_LINUX=
1060 USE_SGI=
1061 USE_HPUX=
1062 USE_SYSV=
1063 USE_SVR4=
1064 USE_AIX=
1065 USE_SUN=
1066 USE_SOLARIS=
1067 USE_SUNOS=
1068 USE_ALPHA=
1069 USE_OSF=
1070 USE_BSD=
1071 USE_DARWIN=
1072 USE_FREEBSD=
1073 USE_OPENBSD=
1074 USE_NETBSD=
1075 USE_VMS=
1076 USE_ULTRIX=
1077 USE_DATA_GENERAL=
1078
1079 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1080
1081 CPP_MT_FLAG=-D_REENTRANT
1082
1083 ALL_TOOLKITS="GTK MAC MGL MICROWIN MOTIF MSW PM WINE"
1084
1085 DEFAULT_wxUSE_GTK=0
1086 DEFAULT_wxUSE_MAC=0
1087 DEFAULT_wxUSE_MGL=0
1088 DEFAULT_wxUSE_MICROWIN=0
1089 DEFAULT_wxUSE_MOTIF=0
1090 DEFAULT_wxUSE_MSW=0
1091 DEFAULT_wxUSE_PM=0
1092 DEFAULT_wxUSE_WINE=0
1093
1094 DEFAULT_DEFAULT_wxUSE_GTK=0
1095 DEFAULT_DEFAULT_wxUSE_MAC=0
1096 DEFAULT_DEFAULT_wxUSE_MGL=0
1097 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1098 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1099 DEFAULT_DEFAULT_wxUSE_MSW=0
1100 DEFAULT_DEFAULT_wxUSE_PM=0
1101 DEFAULT_DEFAULT_wxUSE_WINE=0
1102
1103 PROGRAM_EXT=
1104 SO_SUFFIX=so
1105
1106 case "${host}" in
1107 *-hp-hpux* )
1108 USE_HPUX=1
1109 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1110 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1111 SO_SUFFIX=sl
1112 cat >> confdefs.h <<\EOF
1113 #define __HPUX__ 1
1114 EOF
1115
1116 ;;
1117 *-*-linux* )
1118 USE_LINUX=1
1119 cat >> confdefs.h <<\EOF
1120 #define __LINUX__ 1
1121 EOF
1122
1123 TMP=`uname -m`
1124 if test "x$TMP" = "xalpha"; then
1125 USE_ALPHA=1
1126 cat >> confdefs.h <<\EOF
1127 #define __ALPHA__ 1
1128 EOF
1129
1130 fi
1131 DEFAULT_DEFAULT_wxUSE_GTK=1
1132 ;;
1133 *-*-irix5* | *-*-irix6* )
1134 USE_SGI=1
1135 USE_SVR4=1
1136 cat >> confdefs.h <<\EOF
1137 #define __SGI__ 1
1138 EOF
1139
1140 cat >> confdefs.h <<\EOF
1141 #define __SVR4__ 1
1142 EOF
1143
1144 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1145 ;;
1146 *-*-solaris2* )
1147 USE_SUN=1
1148 USE_SOLARIS=1
1149 USE_SVR4=1
1150 cat >> confdefs.h <<\EOF
1151 #define __SUN__ 1
1152 EOF
1153
1154 cat >> confdefs.h <<\EOF
1155 #define __SOLARIS__ 1
1156 EOF
1157
1158 cat >> confdefs.h <<\EOF
1159 #define __SVR4__ 1
1160 EOF
1161
1162 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1163 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1164 ;;
1165 *-*-sunos4* )
1166 USE_SUN=1
1167 USE_SUNOS=1
1168 USE_BSD=1
1169 cat >> confdefs.h <<\EOF
1170 #define __SUN__ 1
1171 EOF
1172
1173 cat >> confdefs.h <<\EOF
1174 #define __SUNOS__ 1
1175 EOF
1176
1177 cat >> confdefs.h <<\EOF
1178 #define __BSD__ 1
1179 EOF
1180
1181 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1182 ;;
1183 *-*-freebsd*)
1184 USE_BSD=1
1185 USE_FREEBSD=1
1186 CPP_MT_FLAG=-D_THREAD_SAFE
1187 cat >> confdefs.h <<\EOF
1188 #define __FREEBSD__ 1
1189 EOF
1190
1191 cat >> confdefs.h <<\EOF
1192 #define __BSD__ 1
1193 EOF
1194
1195 DEFAULT_DEFAULT_wxUSE_GTK=1
1196 ;;
1197 *-*-openbsd*)
1198 USE_BSD=1
1199 USE_OPENBSD=1
1200 cat >> confdefs.h <<\EOF
1201 #define __FREEBSD__ 1
1202 EOF
1203
1204 cat >> confdefs.h <<\EOF
1205 #define __OPENBSD__ 1
1206 EOF
1207
1208 DEFAULT_DEFAULT_wxUSE_GTK=1
1209 ;;
1210 *-*-netbsd*)
1211 USE_BSD=1
1212 USE_NETBSD=1
1213 cat >> confdefs.h <<\EOF
1214 #define __FREEBSD__ 1
1215 EOF
1216
1217 cat >> confdefs.h <<\EOF
1218 #define __NETBSD__ 1
1219 EOF
1220
1221 DEFAULT_DEFAULT_wxUSE_GTK=1
1222 ;;
1223 *-*-osf* )
1224 USE_ALPHA=1
1225 USE_OSF=1
1226 cat >> confdefs.h <<\EOF
1227 #define __ALPHA__ 1
1228 EOF
1229
1230 cat >> confdefs.h <<\EOF
1231 #define __OSF__ 1
1232 EOF
1233
1234 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1235 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1236 ;;
1237 *-*-dgux5* )
1238 USE_ALPHA=1
1239 USE_SVR4=1
1240 cat >> confdefs.h <<\EOF
1241 #define __ALPHA__ 1
1242 EOF
1243
1244 cat >> confdefs.h <<\EOF
1245 #define __SVR4__ 1
1246 EOF
1247
1248 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1249 ;;
1250 *-*-sysv5* )
1251 USE_SYSV=1
1252 USE_SVR4=1
1253 cat >> confdefs.h <<\EOF
1254 #define __SYSV__ 1
1255 EOF
1256
1257 cat >> confdefs.h <<\EOF
1258 #define __SVR4__ 1
1259 EOF
1260
1261 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1262 ;;
1263 *-*-aix* )
1264 USE_AIX=1
1265 USE_SYSV=1
1266 USE_SVR4=1
1267 cat >> confdefs.h <<\EOF
1268 #define __AIX__ 1
1269 EOF
1270
1271 cat >> confdefs.h <<\EOF
1272 #define __SYSV__ 1
1273 EOF
1274
1275 cat >> confdefs.h <<\EOF
1276 #define __SVR4__ 1
1277 EOF
1278
1279 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1280 ;;
1281
1282 *-*-cygwin* | *-*-mingw32* )
1283 USE_UNIX=0
1284 USE_WIN32=1
1285 SO_SUFFIX=dll
1286 cat >> confdefs.h <<\EOF
1287 #define __WIN32__ 1
1288 EOF
1289
1290 cat >> confdefs.h <<\EOF
1291 #define __WIN95__ 1
1292 EOF
1293
1294 cat >> confdefs.h <<\EOF
1295 #define __WINDOWS__ 1
1296 EOF
1297
1298 cat >> confdefs.h <<\EOF
1299 #define __GNUWIN32__ 1
1300 EOF
1301
1302 cat >> confdefs.h <<\EOF
1303 #define STRICT 1
1304 EOF
1305
1306 cat >> confdefs.h <<\EOF
1307 #define WINVER 0x0400
1308 EOF
1309
1310 PROGRAM_EXT=".exe"
1311 RESCOMP=windres
1312 DEFAULT_DEFAULT_wxUSE_MSW=1
1313 ;;
1314
1315 *-pc-msdosdjgpp )
1316 USE_UNIX=0
1317 USE_DOS=1
1318 cat >> confdefs.h <<\EOF
1319 #define __DOS__ 1
1320 EOF
1321
1322 PROGRAM_EXT=".exe"
1323 DEFAULT_DEFAULT_wxUSE_MGL=1
1324 DEFAULT_DEFAULT_wxUSE_SHARED=0
1325 ;;
1326
1327 *-pc-os2_emx | *-pc-os2-emx )
1328 cat >> confdefs.h <<\EOF
1329 #define __EMX__ 1
1330 EOF
1331
1332 PROGRAM_EXT=".exe"
1333 DEFAULT_DEFAULT_wxUSE_PM=1
1334 ;;
1335
1336 powerpc-*-darwin* )
1337 USE_BSD=1
1338 USE_DARWIN=1
1339 CPP_MT_FLAG=
1340 SO_SUFFIX=dylib
1341 cat >> confdefs.h <<\EOF
1342 #define __BSD__ 1
1343 EOF
1344
1345 cat >> confdefs.h <<\EOF
1346 #define __DARWIN__ 1
1347 EOF
1348
1349 cat >> confdefs.h <<\EOF
1350 #define __POWERPC__ 1
1351 EOF
1352
1353 DEFAULT_DEFAULT_wxUSE_MAC=1
1354 ;;
1355
1356 *-*-beos* )
1357 USE_BEOS=1
1358 cat >> confdefs.h <<\EOF
1359 #define __BEOS__ 1
1360 EOF
1361
1362 ;;
1363
1364 *)
1365 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1366 esac
1367
1368 if test "$USE_UNIX" = 1 ; then
1369 wxUSE_UNIX=yes
1370 cat >> confdefs.h <<\EOF
1371 #define __UNIX__ 1
1372 EOF
1373
1374 fi
1375
1376 if test "$USE_LINUX" = 1; then
1377 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1378 echo "configure:1379: checking for glibc 2.1 or later" >&5
1379 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1380 echo $ac_n "(cached) $ac_c" 1>&6
1381 else
1382
1383 cat > conftest.$ac_ext <<EOF
1384 #line 1385 "configure"
1385 #include "confdefs.h"
1386 #include <features.h>
1387 int main() {
1388
1389 #if !__GLIBC_PREREQ(2, 1)
1390 #error not glibc2.1
1391 #endif
1392
1393 ; return 0; }
1394 EOF
1395 if { (eval echo configure:1396: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1396 rm -rf conftest*
1397
1398 wx_lib_glibc21=yes
1399
1400 else
1401 echo "configure: failed program was:" >&5
1402 cat conftest.$ac_ext >&5
1403 rm -rf conftest*
1404
1405 wx_lib_glibc21=no
1406
1407
1408 fi
1409 rm -f conftest*
1410
1411 fi
1412
1413 echo "$ac_t""$wx_lib_glibc21" 1>&6
1414 if test "$wx_lib_glibc21" = "yes"; then
1415 cat >> confdefs.h <<\EOF
1416 #define wxHAVE_GLIBC2 1
1417 EOF
1418
1419 fi
1420 fi
1421
1422
1423
1424
1425 wx_arg_cache_file="configarg.cache"
1426 echo "loading argument cache $wx_arg_cache_file"
1427 rm -f ${wx_arg_cache_file}.tmp
1428 touch ${wx_arg_cache_file}.tmp
1429 touch ${wx_arg_cache_file}
1430
1431
1432 DEBUG_CONFIGURE=0
1433 if test $DEBUG_CONFIGURE = 1; then
1434 DEFAULT_wxUSE_UNIVERSAL=no
1435
1436 DEFAULT_wxUSE_THREADS=yes
1437
1438 DEFAULT_wxUSE_SHARED=yes
1439 DEFAULT_wxUSE_SONAME=no
1440 DEFAULT_wxUSE_OPTIMISE=no
1441 DEFAULT_wxUSE_PROFILE=no
1442 DEFAULT_wxUSE_NO_DEPS=no
1443 DEFAULT_wxUSE_NO_RTTI=yes
1444 DEFAULT_wxUSE_NO_EXCEPTIONS=yes
1445 DEFAULT_wxUSE_PERMISSIVE=no
1446 DEFAULT_wxUSE_DEBUG_FLAG=yes
1447 DEFAULT_wxUSE_DEBUG_INFO=yes
1448 DEFAULT_wxUSE_DEBUG_GDB=yes
1449 DEFAULT_wxUSE_MEM_TRACING=no
1450 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1451 DEFAULT_wxUSE_DMALLOC=no
1452 DEFAULT_wxUSE_PRECOMP=no
1453 DEFAULT_wxUSE_APPLE_IEEE=no
1454
1455 DEFAULT_wxUSE_LOG=yes
1456 DEFAULT_wxUSE_LOGWINDOW=no
1457 DEFAULT_wxUSE_LOGGUI=no
1458 DEFAULT_wxUSE_LOGDIALOG=no
1459
1460 DEFAULT_wxUSE_GUI=yes
1461 DEFAULT_wxUSE_CONTROLS=no
1462
1463 DEFAULT_wxUSE_REGEX=no
1464 DEFAULT_wxUSE_ZLIB=no
1465 DEFAULT_wxUSE_LIBPNG=no
1466 DEFAULT_wxUSE_LIBJPEG=no
1467 DEFAULT_wxUSE_LIBTIFF=no
1468 DEFAULT_wxUSE_ODBC=no
1469 DEFAULT_wxUSE_FREETYPE=no
1470 DEFAULT_wxUSE_OPENGL=no
1471
1472 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1473 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1474 DEFAULT_wxUSE_STD_IOSTREAM=no
1475 DEFAULT_wxUSE_CMDLINE_PARSER=no
1476 DEFAULT_wxUSE_DATETIME=no
1477 DEFAULT_wxUSE_TIMEDATE=no
1478 DEFAULT_wxUSE_TIMER=no
1479 DEFAULT_wxUSE_STOPWATCH=no
1480 DEFAULT_wxUSE_FILE=no
1481 DEFAULT_wxUSE_FFILE=no
1482 DEFAULT_wxUSE_TEXTBUFFER=no
1483 DEFAULT_wxUSE_TEXTFILE=no
1484 DEFAULT_wxUSE_WAVE=no
1485 DEFAULT_wxUSE_INTL=no
1486 DEFAULT_wxUSE_CONFIG=no
1487 DEFAULT_wxUSE_FONTMAP=no
1488 DEFAULT_wxUSE_STREAMS=no
1489 DEFAULT_wxUSE_SOCKETS=no
1490 DEFAULT_wxUSE_DIALUP_MANAGER=no
1491 DEFAULT_wxUSE_JOYSTICK=no
1492 DEFAULT_wxUSE_DYNLIB_CLASS=no
1493 DEFAULT_wxUSE_DYNAMIC_LOADER=no
1494 DEFAULT_wxUSE_LONGLONG=no
1495 DEFAULT_wxUSE_GEOMETRY=no
1496
1497 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
1498 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
1499 DEFAULT_wxUSE_POSTSCRIPT=no
1500
1501 DEFAULT_wxUSE_X_RESOURCES=no
1502 DEFAULT_wxUSE_CLIPBOARD=no
1503 DEFAULT_wxUSE_TOOLTIPS=no
1504 DEFAULT_wxUSE_DRAG_AND_DROP=no
1505 DEFAULT_wxUSE_DRAGIMAGE=no
1506 DEFAULT_wxUSE_SPLINES=no
1507
1508 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
1509 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
1510 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
1511
1512 DEFAULT_wxUSE_PROLOGIO=no
1513 DEFAULT_wxUSE_RESOURCES=no
1514 DEFAULT_wxUSE_CONSTRAINTS=no
1515 DEFAULT_wxUSE_IPC=no
1516 DEFAULT_wxUSE_HELP=no
1517 DEFAULT_wxUSE_MS_HTML_HELP=no
1518 DEFAULT_wxUSE_WXHTML_HELP=no
1519 DEFAULT_wxUSE_TREELAYOUT=no
1520 DEFAULT_wxUSE_METAFILE=no
1521 DEFAULT_wxUSE_MIMETYPE=no
1522 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
1523 DEFAULT_wxUSE_PROTOCOL=no
1524 DEFAULT_wxUSE_PROTOCOL_HTTP=no
1525 DEFAULT_wxUSE_PROTOCOL_FTP=no
1526 DEFAULT_wxUSE_PROTOCOL_FILE=no
1527 DEFAULT_wxUSE_URL=no
1528
1529 DEFAULT_wxUSE_COMMONDLGS=no
1530 DEFAULT_wxUSE_CHOICEDLG=no
1531 DEFAULT_wxUSE_COLOURDLG=no
1532 DEFAULT_wxUSE_DIRDLG=no
1533 DEFAULT_wxUSE_FILEDLG=no
1534 DEFAULT_wxUSE_FINDREPLDLG=no
1535 DEFAULT_wxUSE_FONTDLG=no
1536 DEFAULT_wxUSE_MSGDLG=no
1537 DEFAULT_wxUSE_NUMBERDLG=no
1538 DEFAULT_wxUSE_TEXTDLG=no
1539 DEFAULT_wxUSE_SPLASH=no
1540 DEFAULT_wxUSE_STARTUP_TIPS=no
1541 DEFAULT_wxUSE_PROGRESSDLG=no
1542 DEFAULT_wxUSE_WIZARDDLG=no
1543
1544 DEFAULT_wxUSE_MENUS=no
1545 DEFAULT_wxUSE_MINIFRAME=no
1546 DEFAULT_wxUSE_HTML=no
1547 DEFAULT_wxUSE_FILESYSTEM=no
1548 DEFAULT_wxUSE_FS_INET=no
1549 DEFAULT_wxUSE_FS_ZIP=no
1550 DEFAULT_wxUSE_BUSYINFO=no
1551 DEFAULT_wxUSE_ZIPSTREAM=no
1552 DEFAULT_wxUSE_VALIDATORS=no
1553
1554 DEFAULT_wxUSE_ACCEL=no
1555 DEFAULT_wxUSE_BUTTON=no
1556 DEFAULT_wxUSE_BMPBUTTON=no
1557 DEFAULT_wxUSE_CALCTRL=no
1558 DEFAULT_wxUSE_CARET=no
1559 DEFAULT_wxUSE_CHECKBOX=no
1560 DEFAULT_wxUSE_CHECKLST=no
1561 DEFAULT_wxUSE_CHOICE=no
1562 DEFAULT_wxUSE_COMBOBOX=no
1563 DEFAULT_wxUSE_GAUGE=no
1564 DEFAULT_wxUSE_GRID=no
1565 DEFAULT_wxUSE_NEW_GRID=no
1566 DEFAULT_wxUSE_IMAGLIST=no
1567 DEFAULT_wxUSE_LISTBOX=no
1568 DEFAULT_wxUSE_LISTCTRL=no
1569 DEFAULT_wxUSE_NOTEBOOK=no
1570 DEFAULT_wxUSE_PROPSHEET=no
1571 DEFAULT_wxUSE_RADIOBOX=no
1572 DEFAULT_wxUSE_RADIOBTN=no
1573 DEFAULT_wxUSE_SASH=no
1574 DEFAULT_wxUSE_SCROLLBAR=no
1575 DEFAULT_wxUSE_SLIDER=no
1576 DEFAULT_wxUSE_SPINBTN=no
1577 DEFAULT_wxUSE_SPINCTRL=no
1578 DEFAULT_wxUSE_SPLITTER=no
1579 DEFAULT_wxUSE_STATBMP=no
1580 DEFAULT_wxUSE_STATBOX=no
1581 DEFAULT_wxUSE_STATLINE=no
1582 DEFAULT_wxUSE_STATTEXT=no
1583 DEFAULT_wxUSE_STATUSBAR=yes
1584 DEFAULT_wxUSE_TABDIALOG=no
1585 DEFAULT_wxUSE_TEXTCTRL=no
1586 DEFAULT_wxUSE_TOGGLEBTN=no
1587 DEFAULT_wxUSE_TOOLBAR=no
1588 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
1589 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
1590 DEFAULT_wxUSE_TREECTRL=no
1591 DEFAULT_wxUSE_POPUPWIN=no
1592 DEFAULT_wxUSE_TIPWINDOW=no
1593
1594 DEFAULT_wxUSE_UNICODE=no
1595 DEFAULT_wxUSE_UNICODE_MSLU=no
1596 DEFAULT_wxUSE_WCSRTOMBS=no
1597
1598 DEFAULT_wxUSE_PALETTE=no
1599 DEFAULT_wxUSE_IMAGE=no
1600 DEFAULT_wxUSE_GIF=no
1601 DEFAULT_wxUSE_PCX=no
1602 DEFAULT_wxUSE_PNM=no
1603 DEFAULT_wxUSE_XPM=no
1604 else
1605 DEFAULT_wxUSE_UNIVERSAL=no
1606
1607 DEFAULT_wxUSE_THREADS=yes
1608
1609 DEFAULT_wxUSE_SHARED=yes
1610 DEFAULT_wxUSE_SONAME=no
1611 DEFAULT_wxUSE_OPTIMISE=yes
1612 DEFAULT_wxUSE_PROFILE=no
1613 DEFAULT_wxUSE_NO_DEPS=no
1614 DEFAULT_wxUSE_NO_RTTI=yes
1615 DEFAULT_wxUSE_NO_EXCEPTIONS=yes
1616 DEFAULT_wxUSE_PERMISSIVE=no
1617 DEFAULT_wxUSE_DEBUG_FLAG=no
1618 DEFAULT_wxUSE_DEBUG_INFO=no
1619 DEFAULT_wxUSE_DEBUG_GDB=no
1620 DEFAULT_wxUSE_MEM_TRACING=no
1621 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1622 DEFAULT_wxUSE_DMALLOC=no
1623 DEFAULT_wxUSE_PRECOMP=no
1624 DEFAULT_wxUSE_APPLE_IEEE=yes
1625
1626 DEFAULT_wxUSE_LOG=yes
1627 DEFAULT_wxUSE_LOGWINDOW=yes
1628 DEFAULT_wxUSE_LOGGUI=yes
1629 DEFAULT_wxUSE_LOGDIALOG=yes
1630
1631 DEFAULT_wxUSE_GUI=yes
1632
1633 DEFAULT_wxUSE_REGEX=yes
1634 DEFAULT_wxUSE_ZLIB=yes
1635 DEFAULT_wxUSE_LIBPNG=yes
1636 DEFAULT_wxUSE_LIBJPEG=yes
1637 DEFAULT_wxUSE_LIBTIFF=yes
1638 DEFAULT_wxUSE_ODBC=no
1639 DEFAULT_wxUSE_FREETYPE=no
1640 DEFAULT_wxUSE_OPENGL=no
1641
1642 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
1643 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
1644 DEFAULT_wxUSE_STD_IOSTREAM=no
1645 DEFAULT_wxUSE_CMDLINE_PARSER=yes
1646 DEFAULT_wxUSE_DATETIME=yes
1647 DEFAULT_wxUSE_TIMEDATE=no
1648 DEFAULT_wxUSE_TIMER=yes
1649 DEFAULT_wxUSE_STOPWATCH=yes
1650 DEFAULT_wxUSE_FILE=yes
1651 DEFAULT_wxUSE_FFILE=yes
1652 DEFAULT_wxUSE_TEXTBUFFER=yes
1653 DEFAULT_wxUSE_TEXTFILE=yes
1654 DEFAULT_wxUSE_WAVE=no
1655 DEFAULT_wxUSE_INTL=yes
1656 DEFAULT_wxUSE_CONFIG=yes
1657 DEFAULT_wxUSE_FONTMAP=yes
1658 DEFAULT_wxUSE_STREAMS=yes
1659 DEFAULT_wxUSE_SOCKETS=yes
1660 DEFAULT_wxUSE_DIALUP_MANAGER=yes
1661 DEFAULT_wxUSE_JOYSTICK=yes
1662 DEFAULT_wxUSE_DYNLIB_CLASS=yes
1663 DEFAULT_wxUSE_DYNAMIC_LOADER=no
1664 DEFAULT_wxUSE_LONGLONG=yes
1665 DEFAULT_wxUSE_GEOMETRY=yes
1666
1667 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
1668 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
1669 DEFAULT_wxUSE_POSTSCRIPT=yes
1670
1671 DEFAULT_wxUSE_X_RESOURCES=no
1672 DEFAULT_wxUSE_CLIPBOARD=yes
1673 DEFAULT_wxUSE_TOOLTIPS=yes
1674 DEFAULT_wxUSE_DRAG_AND_DROP=yes
1675 DEFAULT_wxUSE_DRAGIMAGE=yes
1676 DEFAULT_wxUSE_SPLINES=yes
1677
1678 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
1679 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
1680 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
1681
1682 DEFAULT_wxUSE_PROLOGIO=yes
1683 DEFAULT_wxUSE_RESOURCES=yes
1684 DEFAULT_wxUSE_CONSTRAINTS=yes
1685 DEFAULT_wxUSE_IPC=yes
1686 DEFAULT_wxUSE_HELP=yes
1687 DEFAULT_wxUSE_MS_HTML_HELP=yes
1688 DEFAULT_wxUSE_WXHTML_HELP=yes
1689 DEFAULT_wxUSE_TREELAYOUT=yes
1690 DEFAULT_wxUSE_METAFILE=yes
1691 DEFAULT_wxUSE_MIMETYPE=yes
1692 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
1693 DEFAULT_wxUSE_PROTOCOL=yes
1694 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
1695 DEFAULT_wxUSE_PROTOCOL_FTP=yes
1696 DEFAULT_wxUSE_PROTOCOL_FILE=yes
1697 DEFAULT_wxUSE_URL=yes
1698
1699 DEFAULT_wxUSE_COMMONDLGS=yes
1700 DEFAULT_wxUSE_CHOICEDLG=yes
1701 DEFAULT_wxUSE_COLOURDLG=yes
1702 DEFAULT_wxUSE_DIRDLG=yes
1703 DEFAULT_wxUSE_FILEDLG=yes
1704 DEFAULT_wxUSE_FINDREPLDLG=yes
1705 DEFAULT_wxUSE_FONTDLG=yes
1706 DEFAULT_wxUSE_MSGDLG=yes
1707 DEFAULT_wxUSE_NUMBERDLG=yes
1708 DEFAULT_wxUSE_TEXTDLG=yes
1709 DEFAULT_wxUSE_SPLASH=yes
1710 DEFAULT_wxUSE_STARTUP_TIPS=yes
1711 DEFAULT_wxUSE_PROGRESSDLG=yes
1712 DEFAULT_wxUSE_WIZARDDLG=yes
1713
1714 DEFAULT_wxUSE_MENUS=yes
1715 DEFAULT_wxUSE_MINIFRAME=yes
1716 DEFAULT_wxUSE_HTML=yes
1717 DEFAULT_wxUSE_FILESYSTEM=yes
1718 DEFAULT_wxUSE_FS_INET=yes
1719 DEFAULT_wxUSE_FS_ZIP=yes
1720 DEFAULT_wxUSE_BUSYINFO=yes
1721 DEFAULT_wxUSE_ZIPSTREAM=yes
1722 DEFAULT_wxUSE_VALIDATORS=yes
1723
1724 DEFAULT_wxUSE_ACCEL=yes
1725 DEFAULT_wxUSE_BUTTON=yes
1726 DEFAULT_wxUSE_BMPBUTTON=yes
1727 DEFAULT_wxUSE_CALCTRL=yes
1728 DEFAULT_wxUSE_CARET=yes
1729 DEFAULT_wxUSE_CHECKBOX=yes
1730 DEFAULT_wxUSE_CHECKLST=yes
1731 DEFAULT_wxUSE_CHOICE=yes
1732 DEFAULT_wxUSE_COMBOBOX=yes
1733 DEFAULT_wxUSE_GAUGE=yes
1734 DEFAULT_wxUSE_GRID=yes
1735 DEFAULT_wxUSE_NEW_GRID=yes
1736 DEFAULT_wxUSE_IMAGLIST=yes
1737 DEFAULT_wxUSE_LISTBOX=yes
1738 DEFAULT_wxUSE_LISTCTRL=yes
1739 DEFAULT_wxUSE_NOTEBOOK=yes
1740 DEFAULT_wxUSE_PROPSHEET=yes
1741 DEFAULT_wxUSE_RADIOBOX=yes
1742 DEFAULT_wxUSE_RADIOBTN=yes
1743 DEFAULT_wxUSE_SASH=yes
1744 DEFAULT_wxUSE_SCROLLBAR=yes
1745 DEFAULT_wxUSE_SLIDER=yes
1746 DEFAULT_wxUSE_SPINBTN=yes
1747 DEFAULT_wxUSE_SPINCTRL=yes
1748 DEFAULT_wxUSE_SPLITTER=yes
1749 DEFAULT_wxUSE_STATBMP=yes
1750 DEFAULT_wxUSE_STATBOX=yes
1751 DEFAULT_wxUSE_STATLINE=yes
1752 DEFAULT_wxUSE_STATTEXT=yes
1753 DEFAULT_wxUSE_STATUSBAR=yes
1754 DEFAULT_wxUSE_TABDIALOG=no
1755 DEFAULT_wxUSE_TEXTCTRL=yes
1756 DEFAULT_wxUSE_TOGGLEBTN=yes
1757 DEFAULT_wxUSE_TOOLBAR=yes
1758 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
1759 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
1760 DEFAULT_wxUSE_TREECTRL=yes
1761 DEFAULT_wxUSE_POPUPWIN=yes
1762 DEFAULT_wxUSE_TIPWINDOW=yes
1763
1764 DEFAULT_wxUSE_UNICODE=no
1765 DEFAULT_wxUSE_UNICODE_MSLU=yes
1766 DEFAULT_wxUSE_WCSRTOMBS=no
1767
1768 DEFAULT_wxUSE_PALETTE=yes
1769 DEFAULT_wxUSE_IMAGE=yes
1770 DEFAULT_wxUSE_GIF=yes
1771 DEFAULT_wxUSE_PCX=yes
1772 DEFAULT_wxUSE_PNM=yes
1773 DEFAULT_wxUSE_XPM=yes
1774 fi
1775
1776
1777
1778 for toolkit in `echo $ALL_TOOLKITS`; do
1779 LINE=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1780 if test "x$LINE" != x ; then
1781 has_toolkit_in_cache=1
1782 eval "DEFAULT_$LINE"
1783 eval "CACHE_$toolkit=1"
1784 fi
1785 done
1786
1787
1788
1789 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1790 echo "configure:1791: checking for --enable-gui" >&5
1791 no_cache=0
1792 # Check whether --enable-gui or --disable-gui was given.
1793 if test "${enable_gui+set}" = set; then
1794 enableval="$enable_gui"
1795
1796 if test "$enableval" = yes; then
1797 ac_cv_use_gui='wxUSE_GUI=yes'
1798 else
1799 ac_cv_use_gui='wxUSE_GUI=no'
1800 fi
1801
1802 else
1803
1804 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1805 if test "x$LINE" != x ; then
1806 eval "DEFAULT_$LINE"
1807 else
1808 no_cache=1
1809 fi
1810
1811 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1812
1813 fi
1814
1815
1816 eval "$ac_cv_use_gui"
1817 if test "$no_cache" != 1; then
1818 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1819 fi
1820
1821 if test "$wxUSE_GUI" = yes; then
1822 echo "$ac_t""yes" 1>&6
1823 else
1824 echo "$ac_t""no" 1>&6
1825 fi
1826
1827
1828 if test "$wxUSE_GUI" = "yes"; then
1829
1830
1831 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1832 echo "configure:1833: checking for --enable-universal" >&5
1833 no_cache=0
1834 # Check whether --enable-universal or --disable-universal was given.
1835 if test "${enable_universal+set}" = set; then
1836 enableval="$enable_universal"
1837
1838 if test "$enableval" = yes; then
1839 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
1840 else
1841 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
1842 fi
1843
1844 else
1845
1846 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1847 if test "x$LINE" != x ; then
1848 eval "DEFAULT_$LINE"
1849 else
1850 no_cache=1
1851 fi
1852
1853 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1854
1855 fi
1856
1857
1858 eval "$ac_cv_use_universal"
1859 if test "$no_cache" != 1; then
1860 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1861 fi
1862
1863 if test "$wxUSE_UNIVERSAL" = yes; then
1864 echo "$ac_t""yes" 1>&6
1865 else
1866 echo "$ac_t""no" 1>&6
1867 fi
1868
1869 # Check whether --with-gtk or --without-gtk was given.
1870 if test "${with_gtk+set}" = set; then
1871 withval="$with_gtk"
1872 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
1873 fi
1874
1875 # Check whether --with-motif or --without-motif was given.
1876 if test "${with_motif+set}" = set; then
1877 withval="$with_motif"
1878 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
1879 fi
1880
1881 # Check whether --with-mac or --without-mac was given.
1882 if test "${with_mac+set}" = set; then
1883 withval="$with_mac"
1884 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
1885 fi
1886
1887 # Check whether --with-wine or --without-wine was given.
1888 if test "${with_wine+set}" = set; then
1889 withval="$with_wine"
1890 wxUSE_WINE="$withval" CACHE_WINE=1 TOOLKIT_GIVEN=1
1891 fi
1892
1893 # Check whether --with-msw or --without-msw was given.
1894 if test "${with_msw+set}" = set; then
1895 withval="$with_msw"
1896 wxUSE_MSW="$withval" CACHE_MSW TOOLKIT_GIVEN=1
1897 fi
1898
1899 # Check whether --with-pm or --without-pm was given.
1900 if test "${with_pm+set}" = set; then
1901 withval="$with_pm"
1902 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
1903 fi
1904
1905 # Check whether --with-mgl or --without-mgl was given.
1906 if test "${with_mgl+set}" = set; then
1907 withval="$with_mgl"
1908 wxUSE_MGL="$withval" CACHE_MGL=1 TOOLKIT_GIVEN=1
1909 fi
1910
1911 # Check whether --with-microwin or --without-microwin was given.
1912 if test "${with_microwin+set}" = set; then
1913 withval="$with_microwin"
1914 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
1915 fi
1916
1917
1918 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1919 if test "${enable_gtk2+set}" = set; then
1920 enableval="$enable_gtk2"
1921 wxUSE_GTK2=1
1922 else
1923 wxUSE_GTK2=0
1924 fi
1925
1926
1927
1928 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1929 echo "configure:1930: checking for --with-libpng" >&5
1930 no_cache=0
1931 # Check whether --with-libpng or --without-libpng was given.
1932 if test "${with_libpng+set}" = set; then
1933 withval="$with_libpng"
1934
1935 if test "$withval" = yes; then
1936 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
1937 elif test "$withval" = no; then
1938 ac_cv_use_libpng='wxUSE_LIBPNG=no'
1939 elif test "$withval" = sys; then
1940 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
1941 elif test "$withval" = builtin; then
1942 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
1943 else
1944 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1945 fi
1946
1947 else
1948
1949 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1950 if test "x$LINE" != x ; then
1951 eval "DEFAULT_$LINE"
1952 else
1953 no_cache=1
1954 fi
1955
1956 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1957
1958 fi
1959
1960
1961 eval "$ac_cv_use_libpng"
1962 if test "$no_cache" != 1; then
1963 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1964 fi
1965
1966 if test "$wxUSE_LIBPNG" = yes; then
1967 echo "$ac_t""yes" 1>&6
1968 elif test "$wxUSE_LIBPNG" = no; then
1969 echo "$ac_t""no" 1>&6
1970 elif test "$wxUSE_LIBPNG" = sys; then
1971 echo "$ac_t""system version" 1>&6
1972 elif test "$wxUSE_LIBPNG" = builtin; then
1973 echo "$ac_t""builtin version" 1>&6
1974 else
1975 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1976 fi
1977
1978
1979 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1980 echo "configure:1981: checking for --with-libjpeg" >&5
1981 no_cache=0
1982 # Check whether --with-libjpeg or --without-libjpeg was given.
1983 if test "${with_libjpeg+set}" = set; then
1984 withval="$with_libjpeg"
1985
1986 if test "$withval" = yes; then
1987 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
1988 elif test "$withval" = no; then
1989 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
1990 elif test "$withval" = sys; then
1991 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
1992 elif test "$withval" = builtin; then
1993 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
1994 else
1995 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1996 fi
1997
1998 else
1999
2000 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2001 if test "x$LINE" != x ; then
2002 eval "DEFAULT_$LINE"
2003 else
2004 no_cache=1
2005 fi
2006
2007 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2008
2009 fi
2010
2011
2012 eval "$ac_cv_use_libjpeg"
2013 if test "$no_cache" != 1; then
2014 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2015 fi
2016
2017 if test "$wxUSE_LIBJPEG" = yes; then
2018 echo "$ac_t""yes" 1>&6
2019 elif test "$wxUSE_LIBJPEG" = no; then
2020 echo "$ac_t""no" 1>&6
2021 elif test "$wxUSE_LIBJPEG" = sys; then
2022 echo "$ac_t""system version" 1>&6
2023 elif test "$wxUSE_LIBJPEG" = builtin; then
2024 echo "$ac_t""builtin version" 1>&6
2025 else
2026 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2027 fi
2028
2029
2030 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2031 echo "configure:2032: checking for --with-libtiff" >&5
2032 no_cache=0
2033 # Check whether --with-libtiff or --without-libtiff was given.
2034 if test "${with_libtiff+set}" = set; then
2035 withval="$with_libtiff"
2036
2037 if test "$withval" = yes; then
2038 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2039 elif test "$withval" = no; then
2040 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2041 elif test "$withval" = sys; then
2042 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2043 elif test "$withval" = builtin; then
2044 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2045 else
2046 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2047 fi
2048
2049 else
2050
2051 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2052 if test "x$LINE" != x ; then
2053 eval "DEFAULT_$LINE"
2054 else
2055 no_cache=1
2056 fi
2057
2058 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2059
2060 fi
2061
2062
2063 eval "$ac_cv_use_libtiff"
2064 if test "$no_cache" != 1; then
2065 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2066 fi
2067
2068 if test "$wxUSE_LIBTIFF" = yes; then
2069 echo "$ac_t""yes" 1>&6
2070 elif test "$wxUSE_LIBTIFF" = no; then
2071 echo "$ac_t""no" 1>&6
2072 elif test "$wxUSE_LIBTIFF" = sys; then
2073 echo "$ac_t""system version" 1>&6
2074 elif test "$wxUSE_LIBTIFF" = builtin; then
2075 echo "$ac_t""builtin version" 1>&6
2076 else
2077 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2078 fi
2079
2080
2081 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
2082 echo "configure:2083: checking for --with-freetype" >&5
2083 no_cache=0
2084 # Check whether --with-freetype or --without-freetype was given.
2085 if test "${with_freetype+set}" = set; then
2086 withval="$with_freetype"
2087
2088 if test "$withval" = yes; then
2089 ac_cv_use_freetype='wxUSE_FREETYPE=yes'
2090 elif test "$withval" = no; then
2091 ac_cv_use_freetype='wxUSE_FREETYPE=no'
2092 elif test "$withval" = sys; then
2093 ac_cv_use_freetype='wxUSE_FREETYPE=sys'
2094 elif test "$withval" = builtin; then
2095 ac_cv_use_freetype='wxUSE_FREETYPE=builtin'
2096 else
2097 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2098 fi
2099
2100 else
2101
2102 LINE=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2103 if test "x$LINE" != x ; then
2104 eval "DEFAULT_$LINE"
2105 else
2106 no_cache=1
2107 fi
2108
2109 ac_cv_use_freetype='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2110
2111 fi
2112
2113
2114 eval "$ac_cv_use_freetype"
2115 if test "$no_cache" != 1; then
2116 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2117 fi
2118
2119 if test "$wxUSE_FREETYPE" = yes; then
2120 echo "$ac_t""yes" 1>&6
2121 elif test "$wxUSE_FREETYPE" = no; then
2122 echo "$ac_t""no" 1>&6
2123 elif test "$wxUSE_FREETYPE" = sys; then
2124 echo "$ac_t""system version" 1>&6
2125 elif test "$wxUSE_FREETYPE" = builtin; then
2126 echo "$ac_t""builtin version" 1>&6
2127 else
2128 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2129 fi
2130
2131
2132 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2133 echo "configure:2134: checking for --with-opengl" >&5
2134 no_cache=0
2135 # Check whether --with-opengl or --without-opengl was given.
2136 if test "${with_opengl+set}" = set; then
2137 withval="$with_opengl"
2138
2139 if test "$withval" = yes; then
2140 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2141 else
2142 ac_cv_use_opengl='wxUSE_OPENGL=no'
2143 fi
2144
2145 else
2146
2147 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2148 if test "x$LINE" != x ; then
2149 eval "DEFAULT_$LINE"
2150 else
2151 no_cache=1
2152 fi
2153
2154 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2155
2156 fi
2157
2158
2159 eval "$ac_cv_use_opengl"
2160 if test "$no_cache" != 1; then
2161 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2162 fi
2163
2164 if test "$wxUSE_OPENGL" = yes; then
2165 echo "$ac_t""yes" 1>&6
2166 else
2167 echo "$ac_t""no" 1>&6
2168 fi
2169
2170
2171 fi
2172
2173
2174 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2175 echo "configure:2176: checking for --with-dmalloc" >&5
2176 no_cache=0
2177 # Check whether --with-dmalloc or --without-dmalloc was given.
2178 if test "${with_dmalloc+set}" = set; then
2179 withval="$with_dmalloc"
2180
2181 if test "$withval" = yes; then
2182 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2183 else
2184 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2185 fi
2186
2187 else
2188
2189 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2190 if test "x$LINE" != x ; then
2191 eval "DEFAULT_$LINE"
2192 else
2193 no_cache=1
2194 fi
2195
2196 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2197
2198 fi
2199
2200
2201 eval "$ac_cv_use_dmalloc"
2202 if test "$no_cache" != 1; then
2203 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2204 fi
2205
2206 if test "$wxUSE_DMALLOC" = yes; then
2207 echo "$ac_t""yes" 1>&6
2208 else
2209 echo "$ac_t""no" 1>&6
2210 fi
2211
2212
2213 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2214 echo "configure:2215: checking for --with-regex" >&5
2215 no_cache=0
2216 # Check whether --with-regex or --without-regex was given.
2217 if test "${with_regex+set}" = set; then
2218 withval="$with_regex"
2219
2220 if test "$withval" = yes; then
2221 ac_cv_use_regex='wxUSE_REGEX=yes'
2222 elif test "$withval" = no; then
2223 ac_cv_use_regex='wxUSE_REGEX=no'
2224 elif test "$withval" = sys; then
2225 ac_cv_use_regex='wxUSE_REGEX=sys'
2226 elif test "$withval" = builtin; then
2227 ac_cv_use_regex='wxUSE_REGEX=builtin'
2228 else
2229 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2230 fi
2231
2232 else
2233
2234 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2235 if test "x$LINE" != x ; then
2236 eval "DEFAULT_$LINE"
2237 else
2238 no_cache=1
2239 fi
2240
2241 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2242
2243 fi
2244
2245
2246 eval "$ac_cv_use_regex"
2247 if test "$no_cache" != 1; then
2248 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2249 fi
2250
2251 if test "$wxUSE_REGEX" = yes; then
2252 echo "$ac_t""yes" 1>&6
2253 elif test "$wxUSE_REGEX" = no; then
2254 echo "$ac_t""no" 1>&6
2255 elif test "$wxUSE_REGEX" = sys; then
2256 echo "$ac_t""system version" 1>&6
2257 elif test "$wxUSE_REGEX" = builtin; then
2258 echo "$ac_t""builtin version" 1>&6
2259 else
2260 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2261 fi
2262
2263
2264 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2265 echo "configure:2266: checking for --with-zlib" >&5
2266 no_cache=0
2267 # Check whether --with-zlib or --without-zlib was given.
2268 if test "${with_zlib+set}" = set; then
2269 withval="$with_zlib"
2270
2271 if test "$withval" = yes; then
2272 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2273 elif test "$withval" = no; then
2274 ac_cv_use_zlib='wxUSE_ZLIB=no'
2275 elif test "$withval" = sys; then
2276 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2277 elif test "$withval" = builtin; then
2278 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2279 else
2280 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2281 fi
2282
2283 else
2284
2285 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2286 if test "x$LINE" != x ; then
2287 eval "DEFAULT_$LINE"
2288 else
2289 no_cache=1
2290 fi
2291
2292 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2293
2294 fi
2295
2296
2297 eval "$ac_cv_use_zlib"
2298 if test "$no_cache" != 1; then
2299 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2300 fi
2301
2302 if test "$wxUSE_ZLIB" = yes; then
2303 echo "$ac_t""yes" 1>&6
2304 elif test "$wxUSE_ZLIB" = no; then
2305 echo "$ac_t""no" 1>&6
2306 elif test "$wxUSE_ZLIB" = sys; then
2307 echo "$ac_t""system version" 1>&6
2308 elif test "$wxUSE_ZLIB" = builtin; then
2309 echo "$ac_t""builtin version" 1>&6
2310 else
2311 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2312 fi
2313
2314
2315 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2316 echo "configure:2317: checking for --with-odbc" >&5
2317 no_cache=0
2318 # Check whether --with-odbc or --without-odbc was given.
2319 if test "${with_odbc+set}" = set; then
2320 withval="$with_odbc"
2321
2322 if test "$withval" = yes; then
2323 ac_cv_use_odbc='wxUSE_ODBC=yes'
2324 else
2325 ac_cv_use_odbc='wxUSE_ODBC=no'
2326 fi
2327
2328 else
2329
2330 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2331 if test "x$LINE" != x ; then
2332 eval "DEFAULT_$LINE"
2333 else
2334 no_cache=1
2335 fi
2336
2337 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2338
2339 fi
2340
2341
2342 eval "$ac_cv_use_odbc"
2343 if test "$no_cache" != 1; then
2344 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2345 fi
2346
2347 if test "$wxUSE_ODBC" = yes; then
2348 echo "$ac_t""yes" 1>&6
2349 else
2350 echo "$ac_t""no" 1>&6
2351 fi
2352
2353
2354
2355
2356 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2357 echo "configure:2358: checking for --enable-shared" >&5
2358 no_cache=0
2359 # Check whether --enable-shared or --disable-shared was given.
2360 if test "${enable_shared+set}" = set; then
2361 enableval="$enable_shared"
2362
2363 if test "$enableval" = yes; then
2364 ac_cv_use_shared='wxUSE_SHARED=yes'
2365 else
2366 ac_cv_use_shared='wxUSE_SHARED=no'
2367 fi
2368
2369 else
2370
2371 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2372 if test "x$LINE" != x ; then
2373 eval "DEFAULT_$LINE"
2374 else
2375 no_cache=1
2376 fi
2377
2378 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2379
2380 fi
2381
2382
2383 eval "$ac_cv_use_shared"
2384 if test "$no_cache" != 1; then
2385 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2386 fi
2387
2388 if test "$wxUSE_SHARED" = yes; then
2389 echo "$ac_t""yes" 1>&6
2390 else
2391 echo "$ac_t""no" 1>&6
2392 fi
2393
2394
2395 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2396 echo "configure:2397: checking for --enable-soname" >&5
2397 no_cache=0
2398 # Check whether --enable-soname or --disable-soname was given.
2399 if test "${enable_soname+set}" = set; then
2400 enableval="$enable_soname"
2401
2402 if test "$enableval" = yes; then
2403 ac_cv_use_soname='wxUSE_SONAME=yes'
2404 else
2405 ac_cv_use_soname='wxUSE_SONAME=no'
2406 fi
2407
2408 else
2409
2410 LINE=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2411 if test "x$LINE" != x ; then
2412 eval "DEFAULT_$LINE"
2413 else
2414 no_cache=1
2415 fi
2416
2417 ac_cv_use_soname='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2418
2419 fi
2420
2421
2422 eval "$ac_cv_use_soname"
2423 if test "$no_cache" != 1; then
2424 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2425 fi
2426
2427 if test "$wxUSE_SONAME" = yes; then
2428 echo "$ac_t""yes" 1>&6
2429 else
2430 echo "$ac_t""no" 1>&6
2431 fi
2432
2433
2434 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2435 echo "configure:2436: checking for --enable-optimise" >&5
2436 no_cache=0
2437 # Check whether --enable-optimise or --disable-optimise was given.
2438 if test "${enable_optimise+set}" = set; then
2439 enableval="$enable_optimise"
2440
2441 if test "$enableval" = yes; then
2442 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
2443 else
2444 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
2445 fi
2446
2447 else
2448
2449 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2450 if test "x$LINE" != x ; then
2451 eval "DEFAULT_$LINE"
2452 else
2453 no_cache=1
2454 fi
2455
2456 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2457
2458 fi
2459
2460
2461 eval "$ac_cv_use_optimise"
2462 if test "$no_cache" != 1; then
2463 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2464 fi
2465
2466 if test "$wxUSE_OPTIMISE" = yes; then
2467 echo "$ac_t""yes" 1>&6
2468 else
2469 echo "$ac_t""no" 1>&6
2470 fi
2471
2472
2473 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2474 echo "configure:2475: checking for --enable-debug" >&5
2475 no_cache=0
2476 # Check whether --enable-debug or --disable-debug was given.
2477 if test "${enable_debug+set}" = set; then
2478 enableval="$enable_debug"
2479
2480 if test "$enableval" = yes; then
2481 ac_cv_use_debug='wxUSE_DEBUG=yes'
2482 else
2483 ac_cv_use_debug='wxUSE_DEBUG=no'
2484 fi
2485
2486 else
2487
2488 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2489 if test "x$LINE" != x ; then
2490 eval "DEFAULT_$LINE"
2491 else
2492 no_cache=1
2493 fi
2494
2495 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2496
2497 fi
2498
2499
2500 eval "$ac_cv_use_debug"
2501 if test "$no_cache" != 1; then
2502 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2503 fi
2504
2505 if test "$wxUSE_DEBUG" = yes; then
2506 echo "$ac_t""yes" 1>&6
2507 else
2508 echo "$ac_t""no" 1>&6
2509 fi
2510
2511
2512
2513 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2514 echo "configure:2515: checking for --enable-precomp" >&5
2515 no_cache=0
2516 # Check whether --enable-precomp or --disable-precomp was given.
2517 if test "${enable_precomp+set}" = set; then
2518 enableval="$enable_precomp"
2519
2520 if test "$enableval" = yes; then
2521 ac_cv_use_precomp='wxUSE_PRECOMP=yes'
2522 else
2523 ac_cv_use_precomp='wxUSE_PRECOMP=no'
2524 fi
2525
2526 else
2527
2528 LINE=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2529 if test "x$LINE" != x ; then
2530 eval "DEFAULT_$LINE"
2531 else
2532 no_cache=1
2533 fi
2534
2535 ac_cv_use_precomp='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2536
2537 fi
2538
2539
2540 eval "$ac_cv_use_precomp"
2541 if test "$no_cache" != 1; then
2542 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2543 fi
2544
2545 if test "$wxUSE_PRECOMP" = yes; then
2546 echo "$ac_t""yes" 1>&6
2547 else
2548 echo "$ac_t""no" 1>&6
2549 fi
2550
2551
2552 if test "$wxUSE_DEBUG" = "yes"; then
2553 DEFAULT_wxUSE_DEBUG_FLAG=yes
2554 DEFAULT_wxUSE_DEBUG_INFO=yes
2555 elif test "$wxUSE_DEBUG" = "no"; then
2556 DEFAULT_wxUSE_DEBUG_FLAG=no
2557 DEFAULT_wxUSE_DEBUG_INFO=no
2558 fi
2559
2560
2561 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2562 echo "configure:2563: checking for --enable-debug_flag" >&5
2563 no_cache=0
2564 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2565 if test "${enable_debug_flag+set}" = set; then
2566 enableval="$enable_debug_flag"
2567
2568 if test "$enableval" = yes; then
2569 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
2570 else
2571 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
2572 fi
2573
2574 else
2575
2576 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2577 if test "x$LINE" != x ; then
2578 eval "DEFAULT_$LINE"
2579 else
2580 no_cache=1
2581 fi
2582
2583 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2584
2585 fi
2586
2587
2588 eval "$ac_cv_use_debug_flag"
2589 if test "$no_cache" != 1; then
2590 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2591 fi
2592
2593 if test "$wxUSE_DEBUG_FLAG" = yes; then
2594 echo "$ac_t""yes" 1>&6
2595 else
2596 echo "$ac_t""no" 1>&6
2597 fi
2598
2599
2600 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2601 echo "configure:2602: checking for --enable-debug_info" >&5
2602 no_cache=0
2603 # Check whether --enable-debug_info or --disable-debug_info was given.
2604 if test "${enable_debug_info+set}" = set; then
2605 enableval="$enable_debug_info"
2606
2607 if test "$enableval" = yes; then
2608 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
2609 else
2610 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
2611 fi
2612
2613 else
2614
2615 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2616 if test "x$LINE" != x ; then
2617 eval "DEFAULT_$LINE"
2618 else
2619 no_cache=1
2620 fi
2621
2622 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2623
2624 fi
2625
2626
2627 eval "$ac_cv_use_debug_info"
2628 if test "$no_cache" != 1; then
2629 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2630 fi
2631
2632 if test "$wxUSE_DEBUG_INFO" = yes; then
2633 echo "$ac_t""yes" 1>&6
2634 else
2635 echo "$ac_t""no" 1>&6
2636 fi
2637
2638
2639 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2640 echo "configure:2641: checking for --enable-debug_gdb" >&5
2641 no_cache=0
2642 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2643 if test "${enable_debug_gdb+set}" = set; then
2644 enableval="$enable_debug_gdb"
2645
2646 if test "$enableval" = yes; then
2647 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
2648 else
2649 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
2650 fi
2651
2652 else
2653
2654 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2655 if test "x$LINE" != x ; then
2656 eval "DEFAULT_$LINE"
2657 else
2658 no_cache=1
2659 fi
2660
2661 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2662
2663 fi
2664
2665
2666 eval "$ac_cv_use_debug_gdb"
2667 if test "$no_cache" != 1; then
2668 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2669 fi
2670
2671 if test "$wxUSE_DEBUG_GDB" = yes; then
2672 echo "$ac_t""yes" 1>&6
2673 else
2674 echo "$ac_t""no" 1>&6
2675 fi
2676
2677
2678 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2679 echo "configure:2680: checking for --enable-debug_cntxt" >&5
2680 no_cache=0
2681 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2682 if test "${enable_debug_cntxt+set}" = set; then
2683 enableval="$enable_debug_cntxt"
2684
2685 if test "$enableval" = yes; then
2686 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
2687 else
2688 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
2689 fi
2690
2691 else
2692
2693 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2694 if test "x$LINE" != x ; then
2695 eval "DEFAULT_$LINE"
2696 else
2697 no_cache=1
2698 fi
2699
2700 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2701
2702 fi
2703
2704
2705 eval "$ac_cv_use_debug_cntxt"
2706 if test "$no_cache" != 1; then
2707 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2708 fi
2709
2710 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2711 echo "$ac_t""yes" 1>&6
2712 else
2713 echo "$ac_t""no" 1>&6
2714 fi
2715
2716
2717 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2718 echo "configure:2719: checking for --enable-mem_tracing" >&5
2719 no_cache=0
2720 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2721 if test "${enable_mem_tracing+set}" = set; then
2722 enableval="$enable_mem_tracing"
2723
2724 if test "$enableval" = yes; then
2725 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
2726 else
2727 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
2728 fi
2729
2730 else
2731
2732 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2733 if test "x$LINE" != x ; then
2734 eval "DEFAULT_$LINE"
2735 else
2736 no_cache=1
2737 fi
2738
2739 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2740
2741 fi
2742
2743
2744 eval "$ac_cv_use_mem_tracing"
2745 if test "$no_cache" != 1; then
2746 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2747 fi
2748
2749 if test "$wxUSE_MEM_TRACING" = yes; then
2750 echo "$ac_t""yes" 1>&6
2751 else
2752 echo "$ac_t""no" 1>&6
2753 fi
2754
2755
2756 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2757 echo "configure:2758: checking for --enable-profile" >&5
2758 no_cache=0
2759 # Check whether --enable-profile or --disable-profile was given.
2760 if test "${enable_profile+set}" = set; then
2761 enableval="$enable_profile"
2762
2763 if test "$enableval" = yes; then
2764 ac_cv_use_profile='wxUSE_PROFILE=yes'
2765 else
2766 ac_cv_use_profile='wxUSE_PROFILE=no'
2767 fi
2768
2769 else
2770
2771 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2772 if test "x$LINE" != x ; then
2773 eval "DEFAULT_$LINE"
2774 else
2775 no_cache=1
2776 fi
2777
2778 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2779
2780 fi
2781
2782
2783 eval "$ac_cv_use_profile"
2784 if test "$no_cache" != 1; then
2785 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2786 fi
2787
2788 if test "$wxUSE_PROFILE" = yes; then
2789 echo "$ac_t""yes" 1>&6
2790 else
2791 echo "$ac_t""no" 1>&6
2792 fi
2793
2794
2795 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2796 echo "configure:2797: checking for --enable-no_rtti" >&5
2797 no_cache=0
2798 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2799 if test "${enable_no_rtti+set}" = set; then
2800 enableval="$enable_no_rtti"
2801
2802 if test "$enableval" = yes; then
2803 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
2804 else
2805 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
2806 fi
2807
2808 else
2809
2810 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2811 if test "x$LINE" != x ; then
2812 eval "DEFAULT_$LINE"
2813 else
2814 no_cache=1
2815 fi
2816
2817 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2818
2819 fi
2820
2821
2822 eval "$ac_cv_use_no_rtti"
2823 if test "$no_cache" != 1; then
2824 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2825 fi
2826
2827 if test "$wxUSE_NO_RTTI" = yes; then
2828 echo "$ac_t""yes" 1>&6
2829 else
2830 echo "$ac_t""no" 1>&6
2831 fi
2832
2833
2834 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2835 echo "configure:2836: checking for --enable-no_exceptions" >&5
2836 no_cache=0
2837 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2838 if test "${enable_no_exceptions+set}" = set; then
2839 enableval="$enable_no_exceptions"
2840
2841 if test "$enableval" = yes; then
2842 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
2843 else
2844 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
2845 fi
2846
2847 else
2848
2849 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2850 if test "x$LINE" != x ; then
2851 eval "DEFAULT_$LINE"
2852 else
2853 no_cache=1
2854 fi
2855
2856 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2857
2858 fi
2859
2860
2861 eval "$ac_cv_use_no_exceptions"
2862 if test "$no_cache" != 1; then
2863 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2864 fi
2865
2866 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2867 echo "$ac_t""yes" 1>&6
2868 else
2869 echo "$ac_t""no" 1>&6
2870 fi
2871
2872
2873 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2874 echo "configure:2875: checking for --enable-permissive" >&5
2875 no_cache=0
2876 # Check whether --enable-permissive or --disable-permissive was given.
2877 if test "${enable_permissive+set}" = set; then
2878 enableval="$enable_permissive"
2879
2880 if test "$enableval" = yes; then
2881 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
2882 else
2883 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
2884 fi
2885
2886 else
2887
2888 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2889 if test "x$LINE" != x ; then
2890 eval "DEFAULT_$LINE"
2891 else
2892 no_cache=1
2893 fi
2894
2895 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2896
2897 fi
2898
2899
2900 eval "$ac_cv_use_permissive"
2901 if test "$no_cache" != 1; then
2902 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2903 fi
2904
2905 if test "$wxUSE_PERMISSIVE" = yes; then
2906 echo "$ac_t""yes" 1>&6
2907 else
2908 echo "$ac_t""no" 1>&6
2909 fi
2910
2911
2912 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2913 echo "configure:2914: checking for --enable-no_deps" >&5
2914 no_cache=0
2915 # Check whether --enable-no_deps or --disable-no_deps was given.
2916 if test "${enable_no_deps+set}" = set; then
2917 enableval="$enable_no_deps"
2918
2919 if test "$enableval" = yes; then
2920 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
2921 else
2922 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
2923 fi
2924
2925 else
2926
2927 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2928 if test "x$LINE" != x ; then
2929 eval "DEFAULT_$LINE"
2930 else
2931 no_cache=1
2932 fi
2933
2934 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2935
2936 fi
2937
2938
2939 eval "$ac_cv_use_no_deps"
2940 if test "$no_cache" != 1; then
2941 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2942 fi
2943
2944 if test "$wxUSE_NO_DEPS" = yes; then
2945 echo "$ac_t""yes" 1>&6
2946 else
2947 echo "$ac_t""no" 1>&6
2948 fi
2949
2950
2951
2952 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2953 echo "configure:2954: checking for --enable-compat20" >&5
2954 no_cache=0
2955 # Check whether --enable-compat20 or --disable-compat20 was given.
2956 if test "${enable_compat20+set}" = set; then
2957 enableval="$enable_compat20"
2958
2959 if test "$enableval" = yes; then
2960 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
2961 else
2962 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
2963 fi
2964
2965 else
2966
2967 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2968 if test "x$LINE" != x ; then
2969 eval "DEFAULT_$LINE"
2970 else
2971 no_cache=1
2972 fi
2973
2974 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2975
2976 fi
2977
2978
2979 eval "$ac_cv_use_compat20"
2980 if test "$no_cache" != 1; then
2981 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2982 fi
2983
2984 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2985 echo "$ac_t""yes" 1>&6
2986 else
2987 echo "$ac_t""no" 1>&6
2988 fi
2989
2990
2991 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2992 echo "configure:2993: checking for --enable-compat22" >&5
2993 no_cache=0
2994 # Check whether --enable-compat22 or --disable-compat22 was given.
2995 if test "${enable_compat22+set}" = set; then
2996 enableval="$enable_compat22"
2997
2998 if test "$enableval" = yes; then
2999 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3000 else
3001 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3002 fi
3003
3004 else
3005
3006 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3007 if test "x$LINE" != x ; then
3008 eval "DEFAULT_$LINE"
3009 else
3010 no_cache=1
3011 fi
3012
3013 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3014
3015 fi
3016
3017
3018 eval "$ac_cv_use_compat22"
3019 if test "$no_cache" != 1; then
3020 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3021 fi
3022
3023 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3024 echo "$ac_t""yes" 1>&6
3025 else
3026 echo "$ac_t""no" 1>&6
3027 fi
3028
3029
3030
3031
3032 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3033 echo "configure:3034: checking for --enable-intl" >&5
3034 no_cache=0
3035 # Check whether --enable-intl or --disable-intl was given.
3036 if test "${enable_intl+set}" = set; then
3037 enableval="$enable_intl"
3038
3039 if test "$enableval" = yes; then
3040 ac_cv_use_intl='wxUSE_INTL=yes'
3041 else
3042 ac_cv_use_intl='wxUSE_INTL=no'
3043 fi
3044
3045 else
3046
3047 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3048 if test "x$LINE" != x ; then
3049 eval "DEFAULT_$LINE"
3050 else
3051 no_cache=1
3052 fi
3053
3054 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3055
3056 fi
3057
3058
3059 eval "$ac_cv_use_intl"
3060 if test "$no_cache" != 1; then
3061 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3062 fi
3063
3064 if test "$wxUSE_INTL" = yes; then
3065 echo "$ac_t""yes" 1>&6
3066 else
3067 echo "$ac_t""no" 1>&6
3068 fi
3069
3070
3071 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3072 echo "configure:3073: checking for --enable-config" >&5
3073 no_cache=0
3074 # Check whether --enable-config or --disable-config was given.
3075 if test "${enable_config+set}" = set; then
3076 enableval="$enable_config"
3077
3078 if test "$enableval" = yes; then
3079 ac_cv_use_config='wxUSE_CONFIG=yes'
3080 else
3081 ac_cv_use_config='wxUSE_CONFIG=no'
3082 fi
3083
3084 else
3085
3086 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3087 if test "x$LINE" != x ; then
3088 eval "DEFAULT_$LINE"
3089 else
3090 no_cache=1
3091 fi
3092
3093 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3094
3095 fi
3096
3097
3098 eval "$ac_cv_use_config"
3099 if test "$no_cache" != 1; then
3100 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3101 fi
3102
3103 if test "$wxUSE_CONFIG" = yes; then
3104 echo "$ac_t""yes" 1>&6
3105 else
3106 echo "$ac_t""no" 1>&6
3107 fi
3108
3109
3110
3111 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3112 echo "configure:3113: checking for --enable-protocols" >&5
3113 no_cache=0
3114 # Check whether --enable-protocols or --disable-protocols was given.
3115 if test "${enable_protocols+set}" = set; then
3116 enableval="$enable_protocols"
3117
3118 if test "$enableval" = yes; then
3119 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3120 else
3121 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3122 fi
3123
3124 else
3125
3126 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3127 if test "x$LINE" != x ; then
3128 eval "DEFAULT_$LINE"
3129 else
3130 no_cache=1
3131 fi
3132
3133 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3134
3135 fi
3136
3137
3138 eval "$ac_cv_use_protocols"
3139 if test "$no_cache" != 1; then
3140 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3141 fi
3142
3143 if test "$wxUSE_PROTOCOL" = yes; then
3144 echo "$ac_t""yes" 1>&6
3145 else
3146 echo "$ac_t""no" 1>&6
3147 fi
3148
3149
3150 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3151 echo "configure:3152: checking for --enable-ftp" >&5
3152 no_cache=0
3153 # Check whether --enable-ftp or --disable-ftp was given.
3154 if test "${enable_ftp+set}" = set; then
3155 enableval="$enable_ftp"
3156
3157 if test "$enableval" = yes; then
3158 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3159 else
3160 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3161 fi
3162
3163 else
3164
3165 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3166 if test "x$LINE" != x ; then
3167 eval "DEFAULT_$LINE"
3168 else
3169 no_cache=1
3170 fi
3171
3172 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3173
3174 fi
3175
3176
3177 eval "$ac_cv_use_ftp"
3178 if test "$no_cache" != 1; then
3179 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3180 fi
3181
3182 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3183 echo "$ac_t""yes" 1>&6
3184 else
3185 echo "$ac_t""no" 1>&6
3186 fi
3187
3188
3189 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3190 echo "configure:3191: checking for --enable-http" >&5
3191 no_cache=0
3192 # Check whether --enable-http or --disable-http was given.
3193 if test "${enable_http+set}" = set; then
3194 enableval="$enable_http"
3195
3196 if test "$enableval" = yes; then
3197 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3198 else
3199 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3200 fi
3201
3202 else
3203
3204 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3205 if test "x$LINE" != x ; then
3206 eval "DEFAULT_$LINE"
3207 else
3208 no_cache=1
3209 fi
3210
3211 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3212
3213 fi
3214
3215
3216 eval "$ac_cv_use_http"
3217 if test "$no_cache" != 1; then
3218 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3219 fi
3220
3221 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3222 echo "$ac_t""yes" 1>&6
3223 else
3224 echo "$ac_t""no" 1>&6
3225 fi
3226
3227
3228 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3229 echo "configure:3230: checking for --enable-fileproto" >&5
3230 no_cache=0
3231 # Check whether --enable-fileproto or --disable-fileproto was given.
3232 if test "${enable_fileproto+set}" = set; then
3233 enableval="$enable_fileproto"
3234
3235 if test "$enableval" = yes; then
3236 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
3237 else
3238 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
3239 fi
3240
3241 else
3242
3243 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3244 if test "x$LINE" != x ; then
3245 eval "DEFAULT_$LINE"
3246 else
3247 no_cache=1
3248 fi
3249
3250 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3251
3252 fi
3253
3254
3255 eval "$ac_cv_use_fileproto"
3256 if test "$no_cache" != 1; then
3257 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3258 fi
3259
3260 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3261 echo "$ac_t""yes" 1>&6
3262 else
3263 echo "$ac_t""no" 1>&6
3264 fi
3265
3266
3267 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3268 echo "configure:3269: checking for --enable-sockets" >&5
3269 no_cache=0
3270 # Check whether --enable-sockets or --disable-sockets was given.
3271 if test "${enable_sockets+set}" = set; then
3272 enableval="$enable_sockets"
3273
3274 if test "$enableval" = yes; then
3275 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
3276 else
3277 ac_cv_use_sockets='wxUSE_SOCKETS=no'
3278 fi
3279
3280 else
3281
3282 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3283 if test "x$LINE" != x ; then
3284 eval "DEFAULT_$LINE"
3285 else
3286 no_cache=1
3287 fi
3288
3289 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3290
3291 fi
3292
3293
3294 eval "$ac_cv_use_sockets"
3295 if test "$no_cache" != 1; then
3296 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3297 fi
3298
3299 if test "$wxUSE_SOCKETS" = yes; then
3300 echo "$ac_t""yes" 1>&6
3301 else
3302 echo "$ac_t""no" 1>&6
3303 fi
3304
3305
3306
3307 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3308 echo "configure:3309: checking for --enable-ipc" >&5
3309 no_cache=0
3310 # Check whether --enable-ipc or --disable-ipc was given.
3311 if test "${enable_ipc+set}" = set; then
3312 enableval="$enable_ipc"
3313
3314 if test "$enableval" = yes; then
3315 ac_cv_use_ipc='wxUSE_IPC=yes'
3316 else
3317 ac_cv_use_ipc='wxUSE_IPC=no'
3318 fi
3319
3320 else
3321
3322 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3323 if test "x$LINE" != x ; then
3324 eval "DEFAULT_$LINE"
3325 else
3326 no_cache=1
3327 fi
3328
3329 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3330
3331 fi
3332
3333
3334 eval "$ac_cv_use_ipc"
3335 if test "$no_cache" != 1; then
3336 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3337 fi
3338
3339 if test "$wxUSE_IPC" = yes; then
3340 echo "$ac_t""yes" 1>&6
3341 else
3342 echo "$ac_t""no" 1>&6
3343 fi
3344
3345
3346
3347 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3348 echo "configure:3349: checking for --enable-cmdline" >&5
3349 no_cache=0
3350 # Check whether --enable-cmdline or --disable-cmdline was given.
3351 if test "${enable_cmdline+set}" = set; then
3352 enableval="$enable_cmdline"
3353
3354 if test "$enableval" = yes; then
3355 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
3356 else
3357 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
3358 fi
3359
3360 else
3361
3362 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3363 if test "x$LINE" != x ; then
3364 eval "DEFAULT_$LINE"
3365 else
3366 no_cache=1
3367 fi
3368
3369 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3370
3371 fi
3372
3373
3374 eval "$ac_cv_use_cmdline"
3375 if test "$no_cache" != 1; then
3376 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3377 fi
3378
3379 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3380 echo "$ac_t""yes" 1>&6
3381 else
3382 echo "$ac_t""no" 1>&6
3383 fi
3384
3385
3386 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3387 echo "configure:3388: checking for --enable-datetime" >&5
3388 no_cache=0
3389 # Check whether --enable-datetime or --disable-datetime was given.
3390 if test "${enable_datetime+set}" = set; then
3391 enableval="$enable_datetime"
3392
3393 if test "$enableval" = yes; then
3394 ac_cv_use_datetime='wxUSE_DATETIME=yes'
3395 else
3396 ac_cv_use_datetime='wxUSE_DATETIME=no'
3397 fi
3398
3399 else
3400
3401 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3402 if test "x$LINE" != x ; then
3403 eval "DEFAULT_$LINE"
3404 else
3405 no_cache=1
3406 fi
3407
3408 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3409
3410 fi
3411
3412
3413 eval "$ac_cv_use_datetime"
3414 if test "$no_cache" != 1; then
3415 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3416 fi
3417
3418 if test "$wxUSE_DATETIME" = yes; then
3419 echo "$ac_t""yes" 1>&6
3420 else
3421 echo "$ac_t""no" 1>&6
3422 fi
3423
3424
3425 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3426 echo "configure:3427: checking for --enable-timedate" >&5
3427 no_cache=0
3428 # Check whether --enable-timedate or --disable-timedate was given.
3429 if test "${enable_timedate+set}" = set; then
3430 enableval="$enable_timedate"
3431
3432 if test "$enableval" = yes; then
3433 ac_cv_use_timedate='wxUSE_TIMEDATE=yes'
3434 else
3435 ac_cv_use_timedate='wxUSE_TIMEDATE=no'
3436 fi
3437
3438 else
3439
3440 LINE=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3441 if test "x$LINE" != x ; then
3442 eval "DEFAULT_$LINE"
3443 else
3444 no_cache=1
3445 fi
3446
3447 ac_cv_use_timedate='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3448
3449 fi
3450
3451
3452 eval "$ac_cv_use_timedate"
3453 if test "$no_cache" != 1; then
3454 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3455 fi
3456
3457 if test "$wxUSE_TIMEDATE" = yes; then
3458 echo "$ac_t""yes" 1>&6
3459 else
3460 echo "$ac_t""no" 1>&6
3461 fi
3462
3463
3464 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3465 echo "configure:3466: checking for --enable-stopwatch" >&5
3466 no_cache=0
3467 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3468 if test "${enable_stopwatch+set}" = set; then
3469 enableval="$enable_stopwatch"
3470
3471 if test "$enableval" = yes; then
3472 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
3473 else
3474 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
3475 fi
3476
3477 else
3478
3479 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3480 if test "x$LINE" != x ; then
3481 eval "DEFAULT_$LINE"
3482 else
3483 no_cache=1
3484 fi
3485
3486 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3487
3488 fi
3489
3490
3491 eval "$ac_cv_use_stopwatch"
3492 if test "$no_cache" != 1; then
3493 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3494 fi
3495
3496 if test "$wxUSE_STOPWATCH" = yes; then
3497 echo "$ac_t""yes" 1>&6
3498 else
3499 echo "$ac_t""no" 1>&6
3500 fi
3501
3502
3503 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3504 echo "configure:3505: checking for --enable-dialupman" >&5
3505 no_cache=0
3506 # Check whether --enable-dialupman or --disable-dialupman was given.
3507 if test "${enable_dialupman+set}" = set; then
3508 enableval="$enable_dialupman"
3509
3510 if test "$enableval" = yes; then
3511 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
3512 else
3513 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
3514 fi
3515
3516 else
3517
3518 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3519 if test "x$LINE" != x ; then
3520 eval "DEFAULT_$LINE"
3521 else
3522 no_cache=1
3523 fi
3524
3525 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3526
3527 fi
3528
3529
3530 eval "$ac_cv_use_dialupman"
3531 if test "$no_cache" != 1; then
3532 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3533 fi
3534
3535 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3536 echo "$ac_t""yes" 1>&6
3537 else
3538 echo "$ac_t""no" 1>&6
3539 fi
3540
3541
3542 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3543 echo "configure:3544: checking for --enable-apple_ieee" >&5
3544 no_cache=0
3545 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3546 if test "${enable_apple_ieee+set}" = set; then
3547 enableval="$enable_apple_ieee"
3548
3549 if test "$enableval" = yes; then
3550 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
3551 else
3552 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
3553 fi
3554
3555 else
3556
3557 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3558 if test "x$LINE" != x ; then
3559 eval "DEFAULT_$LINE"
3560 else
3561 no_cache=1
3562 fi
3563
3564 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3565
3566 fi
3567
3568
3569 eval "$ac_cv_use_apple_ieee"
3570 if test "$no_cache" != 1; then
3571 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3572 fi
3573
3574 if test "$wxUSE_APPLE_IEEE" = yes; then
3575 echo "$ac_t""yes" 1>&6
3576 else
3577 echo "$ac_t""no" 1>&6
3578 fi
3579
3580
3581 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3582 echo "configure:3583: checking for --enable-timer" >&5
3583 no_cache=0
3584 # Check whether --enable-timer or --disable-timer was given.
3585 if test "${enable_timer+set}" = set; then
3586 enableval="$enable_timer"
3587
3588 if test "$enableval" = yes; then
3589 ac_cv_use_timer='wxUSE_TIMER=yes'
3590 else
3591 ac_cv_use_timer='wxUSE_TIMER=no'
3592 fi
3593
3594 else
3595
3596 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3597 if test "x$LINE" != x ; then
3598 eval "DEFAULT_$LINE"
3599 else
3600 no_cache=1
3601 fi
3602
3603 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3604
3605 fi
3606
3607
3608 eval "$ac_cv_use_timer"
3609 if test "$no_cache" != 1; then
3610 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3611 fi
3612
3613 if test "$wxUSE_TIMER" = yes; then
3614 echo "$ac_t""yes" 1>&6
3615 else
3616 echo "$ac_t""no" 1>&6
3617 fi
3618
3619
3620 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3621 echo "configure:3622: checking for --enable-wave" >&5
3622 no_cache=0
3623 # Check whether --enable-wave or --disable-wave was given.
3624 if test "${enable_wave+set}" = set; then
3625 enableval="$enable_wave"
3626
3627 if test "$enableval" = yes; then
3628 ac_cv_use_wave='wxUSE_WAVE=yes'
3629 else
3630 ac_cv_use_wave='wxUSE_WAVE=no'
3631 fi
3632
3633 else
3634
3635 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3636 if test "x$LINE" != x ; then
3637 eval "DEFAULT_$LINE"
3638 else
3639 no_cache=1
3640 fi
3641
3642 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3643
3644 fi
3645
3646
3647 eval "$ac_cv_use_wave"
3648 if test "$no_cache" != 1; then
3649 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3650 fi
3651
3652 if test "$wxUSE_WAVE" = yes; then
3653 echo "$ac_t""yes" 1>&6
3654 else
3655 echo "$ac_t""no" 1>&6
3656 fi
3657
3658
3659 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3660 echo "configure:3661: checking for --enable-fraction" >&5
3661 no_cache=0
3662 # Check whether --enable-fraction or --disable-fraction was given.
3663 if test "${enable_fraction+set}" = set; then
3664 enableval="$enable_fraction"
3665
3666 if test "$enableval" = yes; then
3667 ac_cv_use_fraction='wxUSE_FRACTION=yes'
3668 else
3669 ac_cv_use_fraction='wxUSE_FRACTION=no'
3670 fi
3671
3672 else
3673
3674 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3675 if test "x$LINE" != x ; then
3676 eval "DEFAULT_$LINE"
3677 else
3678 no_cache=1
3679 fi
3680
3681 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3682
3683 fi
3684
3685
3686 eval "$ac_cv_use_fraction"
3687 if test "$no_cache" != 1; then
3688 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3689 fi
3690
3691 if test "$wxUSE_FRACTION" = yes; then
3692 echo "$ac_t""yes" 1>&6
3693 else
3694 echo "$ac_t""no" 1>&6
3695 fi
3696
3697
3698 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3699 echo "configure:3700: checking for --enable-dynlib" >&5
3700 no_cache=0
3701 # Check whether --enable-dynlib or --disable-dynlib was given.
3702 if test "${enable_dynlib+set}" = set; then
3703 enableval="$enable_dynlib"
3704
3705 if test "$enableval" = yes; then
3706 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
3707 else
3708 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
3709 fi
3710
3711 else
3712
3713 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3714 if test "x$LINE" != x ; then
3715 eval "DEFAULT_$LINE"
3716 else
3717 no_cache=1
3718 fi
3719
3720 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3721
3722 fi
3723
3724
3725 eval "$ac_cv_use_dynlib"
3726 if test "$no_cache" != 1; then
3727 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3728 fi
3729
3730 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3731 echo "$ac_t""yes" 1>&6
3732 else
3733 echo "$ac_t""no" 1>&6
3734 fi
3735
3736
3737 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3738 echo "configure:3739: checking for --enable-dynamicloader" >&5
3739 no_cache=0
3740 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3741 if test "${enable_dynamicloader+set}" = set; then
3742 enableval="$enable_dynamicloader"
3743
3744 if test "$enableval" = yes; then
3745 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
3746 else
3747 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
3748 fi
3749
3750 else
3751
3752 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3753 if test "x$LINE" != x ; then
3754 eval "DEFAULT_$LINE"
3755 else
3756 no_cache=1
3757 fi
3758
3759 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3760
3761 fi
3762
3763
3764 eval "$ac_cv_use_dynamicloader"
3765 if test "$no_cache" != 1; then
3766 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3767 fi
3768
3769 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3770 echo "$ac_t""yes" 1>&6
3771 else
3772 echo "$ac_t""no" 1>&6
3773 fi
3774
3775
3776 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3777 echo "configure:3778: checking for --enable-longlong" >&5
3778 no_cache=0
3779 # Check whether --enable-longlong or --disable-longlong was given.
3780 if test "${enable_longlong+set}" = set; then
3781 enableval="$enable_longlong"
3782
3783 if test "$enableval" = yes; then
3784 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
3785 else
3786 ac_cv_use_longlong='wxUSE_LONGLONG=no'
3787 fi
3788
3789 else
3790
3791 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3792 if test "x$LINE" != x ; then
3793 eval "DEFAULT_$LINE"
3794 else
3795 no_cache=1
3796 fi
3797
3798 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3799
3800 fi
3801
3802
3803 eval "$ac_cv_use_longlong"
3804 if test "$no_cache" != 1; then
3805 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3806 fi
3807
3808 if test "$wxUSE_LONGLONG" = yes; then
3809 echo "$ac_t""yes" 1>&6
3810 else
3811 echo "$ac_t""no" 1>&6
3812 fi
3813
3814
3815 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3816 echo "configure:3817: checking for --enable-geometry" >&5
3817 no_cache=0
3818 # Check whether --enable-geometry or --disable-geometry was given.
3819 if test "${enable_geometry+set}" = set; then
3820 enableval="$enable_geometry"
3821
3822 if test "$enableval" = yes; then
3823 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
3824 else
3825 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
3826 fi
3827
3828 else
3829
3830 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3831 if test "x$LINE" != x ; then
3832 eval "DEFAULT_$LINE"
3833 else
3834 no_cache=1
3835 fi
3836
3837 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3838
3839 fi
3840
3841
3842 eval "$ac_cv_use_geometry"
3843 if test "$no_cache" != 1; then
3844 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3845 fi
3846
3847 if test "$wxUSE_GEOMETRY" = yes; then
3848 echo "$ac_t""yes" 1>&6
3849 else
3850 echo "$ac_t""no" 1>&6
3851 fi
3852
3853
3854 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3855 echo "configure:3856: checking for --enable-log" >&5
3856 no_cache=0
3857 # Check whether --enable-log or --disable-log was given.
3858 if test "${enable_log+set}" = set; then
3859 enableval="$enable_log"
3860
3861 if test "$enableval" = yes; then
3862 ac_cv_use_log='wxUSE_LOG=yes'
3863 else
3864 ac_cv_use_log='wxUSE_LOG=no'
3865 fi
3866
3867 else
3868
3869 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3870 if test "x$LINE" != x ; then
3871 eval "DEFAULT_$LINE"
3872 else
3873 no_cache=1
3874 fi
3875
3876 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3877
3878 fi
3879
3880
3881 eval "$ac_cv_use_log"
3882 if test "$no_cache" != 1; then
3883 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3884 fi
3885
3886 if test "$wxUSE_LOG" = yes; then
3887 echo "$ac_t""yes" 1>&6
3888 else
3889 echo "$ac_t""no" 1>&6
3890 fi
3891
3892
3893 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3894 echo "configure:3895: checking for --enable-streams" >&5
3895 no_cache=0
3896 # Check whether --enable-streams or --disable-streams was given.
3897 if test "${enable_streams+set}" = set; then
3898 enableval="$enable_streams"
3899
3900 if test "$enableval" = yes; then
3901 ac_cv_use_streams='wxUSE_STREAMS=yes'
3902 else
3903 ac_cv_use_streams='wxUSE_STREAMS=no'
3904 fi
3905
3906 else
3907
3908 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3909 if test "x$LINE" != x ; then
3910 eval "DEFAULT_$LINE"
3911 else
3912 no_cache=1
3913 fi
3914
3915 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3916
3917 fi
3918
3919
3920 eval "$ac_cv_use_streams"
3921 if test "$no_cache" != 1; then
3922 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3923 fi
3924
3925 if test "$wxUSE_STREAMS" = yes; then
3926 echo "$ac_t""yes" 1>&6
3927 else
3928 echo "$ac_t""no" 1>&6
3929 fi
3930
3931
3932 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3933 echo "configure:3934: checking for --enable-file" >&5
3934 no_cache=0
3935 # Check whether --enable-file or --disable-file was given.
3936 if test "${enable_file+set}" = set; then
3937 enableval="$enable_file"
3938
3939 if test "$enableval" = yes; then
3940 ac_cv_use_file='wxUSE_FILE=yes'
3941 else
3942 ac_cv_use_file='wxUSE_FILE=no'
3943 fi
3944
3945 else
3946
3947 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3948 if test "x$LINE" != x ; then
3949 eval "DEFAULT_$LINE"
3950 else
3951 no_cache=1
3952 fi
3953
3954 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3955
3956 fi
3957
3958
3959 eval "$ac_cv_use_file"
3960 if test "$no_cache" != 1; then
3961 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3962 fi
3963
3964 if test "$wxUSE_FILE" = yes; then
3965 echo "$ac_t""yes" 1>&6
3966 else
3967 echo "$ac_t""no" 1>&6
3968 fi
3969
3970
3971 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3972 echo "configure:3973: checking for --enable-ffile" >&5
3973 no_cache=0
3974 # Check whether --enable-ffile or --disable-ffile was given.
3975 if test "${enable_ffile+set}" = set; then
3976 enableval="$enable_ffile"
3977
3978 if test "$enableval" = yes; then
3979 ac_cv_use_ffile='wxUSE_FFILE=yes'
3980 else
3981 ac_cv_use_ffile='wxUSE_FFILE=no'
3982 fi
3983
3984 else
3985
3986 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3987 if test "x$LINE" != x ; then
3988 eval "DEFAULT_$LINE"
3989 else
3990 no_cache=1
3991 fi
3992
3993 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3994
3995 fi
3996
3997
3998 eval "$ac_cv_use_ffile"
3999 if test "$no_cache" != 1; then
4000 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4001 fi
4002
4003 if test "$wxUSE_FFILE" = yes; then
4004 echo "$ac_t""yes" 1>&6
4005 else
4006 echo "$ac_t""no" 1>&6
4007 fi
4008
4009
4010 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
4011 echo "configure:4012: checking for --enable-textbuf" >&5
4012 no_cache=0
4013 # Check whether --enable-textbuf or --disable-textbuf was given.
4014 if test "${enable_textbuf+set}" = set; then
4015 enableval="$enable_textbuf"
4016
4017 if test "$enableval" = yes; then
4018 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4019 else
4020 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4021 fi
4022
4023 else
4024
4025 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4026 if test "x$LINE" != x ; then
4027 eval "DEFAULT_$LINE"
4028 else
4029 no_cache=1
4030 fi
4031
4032 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4033
4034 fi
4035
4036
4037 eval "$ac_cv_use_textbuf"
4038 if test "$no_cache" != 1; then
4039 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4040 fi
4041
4042 if test "$wxUSE_TEXTBUFFER" = yes; then
4043 echo "$ac_t""yes" 1>&6
4044 else
4045 echo "$ac_t""no" 1>&6
4046 fi
4047
4048
4049 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4050 echo "configure:4051: checking for --enable-textfile" >&5
4051 no_cache=0
4052 # Check whether --enable-textfile or --disable-textfile was given.
4053 if test "${enable_textfile+set}" = set; then
4054 enableval="$enable_textfile"
4055
4056 if test "$enableval" = yes; then
4057 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4058 else
4059 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4060 fi
4061
4062 else
4063
4064 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4065 if test "x$LINE" != x ; then
4066 eval "DEFAULT_$LINE"
4067 else
4068 no_cache=1
4069 fi
4070
4071 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4072
4073 fi
4074
4075
4076 eval "$ac_cv_use_textfile"
4077 if test "$no_cache" != 1; then
4078 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4079 fi
4080
4081 if test "$wxUSE_TEXTFILE" = yes; then
4082 echo "$ac_t""yes" 1>&6
4083 else
4084 echo "$ac_t""no" 1>&6
4085 fi
4086
4087
4088 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4089 echo "configure:4090: checking for --enable-fontmap" >&5
4090 no_cache=0
4091 # Check whether --enable-fontmap or --disable-fontmap was given.
4092 if test "${enable_fontmap+set}" = set; then
4093 enableval="$enable_fontmap"
4094
4095 if test "$enableval" = yes; then
4096 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4097 else
4098 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4099 fi
4100
4101 else
4102
4103 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4104 if test "x$LINE" != x ; then
4105 eval "DEFAULT_$LINE"
4106 else
4107 no_cache=1
4108 fi
4109
4110 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4111
4112 fi
4113
4114
4115 eval "$ac_cv_use_fontmap"
4116 if test "$no_cache" != 1; then
4117 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4118 fi
4119
4120 if test "$wxUSE_FONTMAP" = yes; then
4121 echo "$ac_t""yes" 1>&6
4122 else
4123 echo "$ac_t""no" 1>&6
4124 fi
4125
4126
4127 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4128 echo "configure:4129: checking for --enable-unicode" >&5
4129 no_cache=0
4130 # Check whether --enable-unicode or --disable-unicode was given.
4131 if test "${enable_unicode+set}" = set; then
4132 enableval="$enable_unicode"
4133
4134 if test "$enableval" = yes; then
4135 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4136 else
4137 ac_cv_use_unicode='wxUSE_UNICODE=no'
4138 fi
4139
4140 else
4141
4142 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4143 if test "x$LINE" != x ; then
4144 eval "DEFAULT_$LINE"
4145 else
4146 no_cache=1
4147 fi
4148
4149 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4150
4151 fi
4152
4153
4154 eval "$ac_cv_use_unicode"
4155 if test "$no_cache" != 1; then
4156 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4157 fi
4158
4159 if test "$wxUSE_UNICODE" = yes; then
4160 echo "$ac_t""yes" 1>&6
4161 else
4162 echo "$ac_t""no" 1>&6
4163 fi
4164
4165
4166 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4167 echo "configure:4168: checking for --enable-mslu" >&5
4168 no_cache=0
4169 # Check whether --enable-mslu or --disable-mslu was given.
4170 if test "${enable_mslu+set}" = set; then
4171 enableval="$enable_mslu"
4172
4173 if test "$enableval" = yes; then
4174 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4175 else
4176 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4177 fi
4178
4179 else
4180
4181 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4182 if test "x$LINE" != x ; then
4183 eval "DEFAULT_$LINE"
4184 else
4185 no_cache=1
4186 fi
4187
4188 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4189
4190 fi
4191
4192
4193 eval "$ac_cv_use_mslu"
4194 if test "$no_cache" != 1; then
4195 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4196 fi
4197
4198 if test "$wxUSE_UNICODE_MSLU" = yes; then
4199 echo "$ac_t""yes" 1>&6
4200 else
4201 echo "$ac_t""no" 1>&6
4202 fi
4203
4204
4205 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4206 echo "configure:4207: checking for --enable-wxprintfv" >&5
4207 no_cache=0
4208 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4209 if test "${enable_wxprintfv+set}" = set; then
4210 enableval="$enable_wxprintfv"
4211
4212 if test "$enableval" = yes; then
4213 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
4214 else
4215 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
4216 fi
4217
4218 else
4219
4220 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4221 if test "x$LINE" != x ; then
4222 eval "DEFAULT_$LINE"
4223 else
4224 no_cache=1
4225 fi
4226
4227 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4228
4229 fi
4230
4231
4232 eval "$ac_cv_use_wxprintfv"
4233 if test "$no_cache" != 1; then
4234 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4235 fi
4236
4237 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4238 echo "$ac_t""yes" 1>&6
4239 else
4240 echo "$ac_t""no" 1>&6
4241 fi
4242
4243
4244 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4245 echo "configure:4246: checking for --enable-std_iostreams" >&5
4246 no_cache=0
4247 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4248 if test "${enable_std_iostreams+set}" = set; then
4249 enableval="$enable_std_iostreams"
4250
4251 if test "$enableval" = yes; then
4252 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4253 else
4254 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4255 fi
4256
4257 else
4258
4259 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4260 if test "x$LINE" != x ; then
4261 eval "DEFAULT_$LINE"
4262 else
4263 no_cache=1
4264 fi
4265
4266 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4267
4268 fi
4269
4270
4271 eval "$ac_cv_use_std_iostreams"
4272 if test "$no_cache" != 1; then
4273 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4274 fi
4275
4276 if test "$wxUSE_STD_IOSTREAM" = yes; then
4277 echo "$ac_t""yes" 1>&6
4278 else
4279 echo "$ac_t""no" 1>&6
4280 fi
4281
4282
4283 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4284 echo "configure:4285: checking for --enable-filesystem" >&5
4285 no_cache=0
4286 # Check whether --enable-filesystem or --disable-filesystem was given.
4287 if test "${enable_filesystem+set}" = set; then
4288 enableval="$enable_filesystem"
4289
4290 if test "$enableval" = yes; then
4291 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4292 else
4293 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4294 fi
4295
4296 else
4297
4298 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4299 if test "x$LINE" != x ; then
4300 eval "DEFAULT_$LINE"
4301 else
4302 no_cache=1
4303 fi
4304
4305 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4306
4307 fi
4308
4309
4310 eval "$ac_cv_use_filesystem"
4311 if test "$no_cache" != 1; then
4312 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4313 fi
4314
4315 if test "$wxUSE_FILESYSTEM" = yes; then
4316 echo "$ac_t""yes" 1>&6
4317 else
4318 echo "$ac_t""no" 1>&6
4319 fi
4320
4321
4322 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4323 echo "configure:4324: checking for --enable-fs_inet" >&5
4324 no_cache=0
4325 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4326 if test "${enable_fs_inet+set}" = set; then
4327 enableval="$enable_fs_inet"
4328
4329 if test "$enableval" = yes; then
4330 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4331 else
4332 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4333 fi
4334
4335 else
4336
4337 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4338 if test "x$LINE" != x ; then
4339 eval "DEFAULT_$LINE"
4340 else
4341 no_cache=1
4342 fi
4343
4344 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4345
4346 fi
4347
4348
4349 eval "$ac_cv_use_fs_inet"
4350 if test "$no_cache" != 1; then
4351 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4352 fi
4353
4354 if test "$wxUSE_FS_INET" = yes; then
4355 echo "$ac_t""yes" 1>&6
4356 else
4357 echo "$ac_t""no" 1>&6
4358 fi
4359
4360
4361 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4362 echo "configure:4363: checking for --enable-fs_zip" >&5
4363 no_cache=0
4364 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4365 if test "${enable_fs_zip+set}" = set; then
4366 enableval="$enable_fs_zip"
4367
4368 if test "$enableval" = yes; then
4369 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4370 else
4371 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4372 fi
4373
4374 else
4375
4376 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4377 if test "x$LINE" != x ; then
4378 eval "DEFAULT_$LINE"
4379 else
4380 no_cache=1
4381 fi
4382
4383 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4384
4385 fi
4386
4387
4388 eval "$ac_cv_use_fs_zip"
4389 if test "$no_cache" != 1; then
4390 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4391 fi
4392
4393 if test "$wxUSE_FS_ZIP" = yes; then
4394 echo "$ac_t""yes" 1>&6
4395 else
4396 echo "$ac_t""no" 1>&6
4397 fi
4398
4399
4400 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4401 echo "configure:4402: checking for --enable-zipstream" >&5
4402 no_cache=0
4403 # Check whether --enable-zipstream or --disable-zipstream was given.
4404 if test "${enable_zipstream+set}" = set; then
4405 enableval="$enable_zipstream"
4406
4407 if test "$enableval" = yes; then
4408 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
4409 else
4410 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
4411 fi
4412
4413 else
4414
4415 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4416 if test "x$LINE" != x ; then
4417 eval "DEFAULT_$LINE"
4418 else
4419 no_cache=1
4420 fi
4421
4422 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4423
4424 fi
4425
4426
4427 eval "$ac_cv_use_zipstream"
4428 if test "$no_cache" != 1; then
4429 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4430 fi
4431
4432 if test "$wxUSE_ZIPSTREAM" = yes; then
4433 echo "$ac_t""yes" 1>&6
4434 else
4435 echo "$ac_t""no" 1>&6
4436 fi
4437
4438
4439
4440 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4441 echo "configure:4442: checking for --enable-catch_segvs" >&5
4442 no_cache=0
4443 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4444 if test "${enable_catch_segvs+set}" = set; then
4445 enableval="$enable_catch_segvs"
4446
4447 if test "$enableval" = yes; then
4448 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4449 else
4450 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4451 fi
4452
4453 else
4454
4455 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4456 if test "x$LINE" != x ; then
4457 eval "DEFAULT_$LINE"
4458 else
4459 no_cache=1
4460 fi
4461
4462 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4463
4464 fi
4465
4466
4467 eval "$ac_cv_use_catch_segvs"
4468 if test "$no_cache" != 1; then
4469 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4470 fi
4471
4472 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4473 echo "$ac_t""yes" 1>&6
4474 else
4475 echo "$ac_t""no" 1>&6
4476 fi
4477
4478
4479 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4480 echo "configure:4481: checking for --enable-snglinst" >&5
4481 no_cache=0
4482 # Check whether --enable-snglinst or --disable-snglinst was given.
4483 if test "${enable_snglinst+set}" = set; then
4484 enableval="$enable_snglinst"
4485
4486 if test "$enableval" = yes; then
4487 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
4488 else
4489 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
4490 fi
4491
4492 else
4493
4494 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4495 if test "x$LINE" != x ; then
4496 eval "DEFAULT_$LINE"
4497 else
4498 no_cache=1
4499 fi
4500
4501 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4502
4503 fi
4504
4505
4506 eval "$ac_cv_use_snglinst"
4507 if test "$no_cache" != 1; then
4508 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4509 fi
4510
4511 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4512 echo "$ac_t""yes" 1>&6
4513 else
4514 echo "$ac_t""no" 1>&6
4515 fi
4516
4517
4518
4519 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4520 echo "configure:4521: checking for --enable-mimetype" >&5
4521 no_cache=0
4522 # Check whether --enable-mimetype or --disable-mimetype was given.
4523 if test "${enable_mimetype+set}" = set; then
4524 enableval="$enable_mimetype"
4525
4526 if test "$enableval" = yes; then
4527 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
4528 else
4529 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
4530 fi
4531
4532 else
4533
4534 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4535 if test "x$LINE" != x ; then
4536 eval "DEFAULT_$LINE"
4537 else
4538 no_cache=1
4539 fi
4540
4541 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4542
4543 fi
4544
4545
4546 eval "$ac_cv_use_mimetype"
4547 if test "$no_cache" != 1; then
4548 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4549 fi
4550
4551 if test "$wxUSE_MIMETYPE" = yes; then
4552 echo "$ac_t""yes" 1>&6
4553 else
4554 echo "$ac_t""no" 1>&6
4555 fi
4556
4557
4558 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4559 echo "configure:4560: checking for --enable-system_options" >&5
4560 no_cache=0
4561 # Check whether --enable-system_options or --disable-system_options was given.
4562 if test "${enable_system_options+set}" = set; then
4563 enableval="$enable_system_options"
4564
4565 if test "$enableval" = yes; then
4566 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
4567 else
4568 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
4569 fi
4570
4571 else
4572
4573 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4574 if test "x$LINE" != x ; then
4575 eval "DEFAULT_$LINE"
4576 else
4577 no_cache=1
4578 fi
4579
4580 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4581
4582 fi
4583
4584
4585 eval "$ac_cv_use_system_options"
4586 if test "$no_cache" != 1; then
4587 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4588 fi
4589
4590 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4591 echo "$ac_t""yes" 1>&6
4592 else
4593 echo "$ac_t""no" 1>&6
4594 fi
4595
4596
4597
4598 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4599 echo "configure:4600: checking for --enable-url" >&5
4600 no_cache=0
4601 # Check whether --enable-url or --disable-url was given.
4602 if test "${enable_url+set}" = set; then
4603 enableval="$enable_url"
4604
4605 if test "$enableval" = yes; then
4606 ac_cv_use_url='wxUSE_URL=yes'
4607 else
4608 ac_cv_use_url='wxUSE_URL=no'
4609 fi
4610
4611 else
4612
4613 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4614 if test "x$LINE" != x ; then
4615 eval "DEFAULT_$LINE"
4616 else
4617 no_cache=1
4618 fi
4619
4620 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
4621
4622 fi
4623
4624
4625 eval "$ac_cv_use_url"
4626 if test "$no_cache" != 1; then
4627 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4628 fi
4629
4630 if test "$wxUSE_URL" = yes; then
4631 echo "$ac_t""yes" 1>&6
4632 else
4633 echo "$ac_t""no" 1>&6
4634 fi
4635
4636
4637 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4638 echo "configure:4639: checking for --enable-protocol" >&5
4639 no_cache=0
4640 # Check whether --enable-protocol or --disable-protocol was given.
4641 if test "${enable_protocol+set}" = set; then
4642 enableval="$enable_protocol"
4643
4644 if test "$enableval" = yes; then
4645 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
4646 else
4647 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
4648 fi
4649
4650 else
4651
4652 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4653 if test "x$LINE" != x ; then
4654 eval "DEFAULT_$LINE"
4655 else
4656 no_cache=1
4657 fi
4658
4659 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4660
4661 fi
4662
4663
4664 eval "$ac_cv_use_protocol"
4665 if test "$no_cache" != 1; then
4666 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4667 fi
4668
4669 if test "$wxUSE_PROTOCOL" = yes; then
4670 echo "$ac_t""yes" 1>&6
4671 else
4672 echo "$ac_t""no" 1>&6
4673 fi
4674
4675
4676 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4677 echo "configure:4678: checking for --enable-protocol_http" >&5
4678 no_cache=0
4679 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4680 if test "${enable_protocol_http+set}" = set; then
4681 enableval="$enable_protocol_http"
4682
4683 if test "$enableval" = yes; then
4684 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
4685 else
4686 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
4687 fi
4688
4689 else
4690
4691 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4692 if test "x$LINE" != x ; then
4693 eval "DEFAULT_$LINE"
4694 else
4695 no_cache=1
4696 fi
4697
4698 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4699
4700 fi
4701
4702
4703 eval "$ac_cv_use_protocol_http"
4704 if test "$no_cache" != 1; then
4705 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4706 fi
4707
4708 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4709 echo "$ac_t""yes" 1>&6
4710 else
4711 echo "$ac_t""no" 1>&6
4712 fi
4713
4714
4715 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4716 echo "configure:4717: checking for --enable-protocol_ftp" >&5
4717 no_cache=0
4718 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4719 if test "${enable_protocol_ftp+set}" = set; then
4720 enableval="$enable_protocol_ftp"
4721
4722 if test "$enableval" = yes; then
4723 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
4724 else
4725 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
4726 fi
4727
4728 else
4729
4730 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4731 if test "x$LINE" != x ; then
4732 eval "DEFAULT_$LINE"
4733 else
4734 no_cache=1
4735 fi
4736
4737 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4738
4739 fi
4740
4741
4742 eval "$ac_cv_use_protocol_ftp"
4743 if test "$no_cache" != 1; then
4744 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4745 fi
4746
4747 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4748 echo "$ac_t""yes" 1>&6
4749 else
4750 echo "$ac_t""no" 1>&6
4751 fi
4752
4753
4754 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4755 echo "configure:4756: checking for --enable-protocol_file" >&5
4756 no_cache=0
4757 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4758 if test "${enable_protocol_file+set}" = set; then
4759 enableval="$enable_protocol_file"
4760
4761 if test "$enableval" = yes; then
4762 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
4763 else
4764 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
4765 fi
4766
4767 else
4768
4769 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4770 if test "x$LINE" != x ; then
4771 eval "DEFAULT_$LINE"
4772 else
4773 no_cache=1
4774 fi
4775
4776 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4777
4778 fi
4779
4780
4781 eval "$ac_cv_use_protocol_file"
4782 if test "$no_cache" != 1; then
4783 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4784 fi
4785
4786 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4787 echo "$ac_t""yes" 1>&6
4788 else
4789 echo "$ac_t""no" 1>&6
4790 fi
4791
4792
4793
4794
4795
4796 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4797 echo "configure:4798: checking for --enable-threads" >&5
4798 no_cache=0
4799 # Check whether --enable-threads or --disable-threads was given.
4800 if test "${enable_threads+set}" = set; then
4801 enableval="$enable_threads"
4802
4803 if test "$enableval" = yes; then
4804 ac_cv_use_threads='wxUSE_THREADS=yes'
4805 else
4806 ac_cv_use_threads='wxUSE_THREADS=no'
4807 fi
4808
4809 else
4810
4811 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4812 if test "x$LINE" != x ; then
4813 eval "DEFAULT_$LINE"
4814 else
4815 no_cache=1
4816 fi
4817
4818 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4819
4820 fi
4821
4822
4823 eval "$ac_cv_use_threads"
4824 if test "$no_cache" != 1; then
4825 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4826 fi
4827
4828 if test "$wxUSE_THREADS" = yes; then
4829 echo "$ac_t""yes" 1>&6
4830 else
4831 echo "$ac_t""no" 1>&6
4832 fi
4833
4834
4835 if test "$wxUSE_GUI" = "yes"; then
4836
4837
4838
4839 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4840 echo "configure:4841: checking for --enable-docview" >&5
4841 no_cache=0
4842 # Check whether --enable-docview or --disable-docview was given.
4843 if test "${enable_docview+set}" = set; then
4844 enableval="$enable_docview"
4845
4846 if test "$enableval" = yes; then
4847 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4848 else
4849 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4850 fi
4851
4852 else
4853
4854 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4855 if test "x$LINE" != x ; then
4856 eval "DEFAULT_$LINE"
4857 else
4858 no_cache=1
4859 fi
4860
4861 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4862
4863 fi
4864
4865
4866 eval "$ac_cv_use_docview"
4867 if test "$no_cache" != 1; then
4868 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4869 fi
4870
4871 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4872 echo "$ac_t""yes" 1>&6
4873 else
4874 echo "$ac_t""no" 1>&6
4875 fi
4876
4877
4878 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4879 echo "configure:4880: checking for --enable-help" >&5
4880 no_cache=0
4881 # Check whether --enable-help or --disable-help was given.
4882 if test "${enable_help+set}" = set; then
4883 enableval="$enable_help"
4884
4885 if test "$enableval" = yes; then
4886 ac_cv_use_help='wxUSE_HELP=yes'
4887 else
4888 ac_cv_use_help='wxUSE_HELP=no'
4889 fi
4890
4891 else
4892
4893 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4894 if test "x$LINE" != x ; then
4895 eval "DEFAULT_$LINE"
4896 else
4897 no_cache=1
4898 fi
4899
4900 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4901
4902 fi
4903
4904
4905 eval "$ac_cv_use_help"
4906 if test "$no_cache" != 1; then
4907 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4908 fi
4909
4910 if test "$wxUSE_HELP" = yes; then
4911 echo "$ac_t""yes" 1>&6
4912 else
4913 echo "$ac_t""no" 1>&6
4914 fi
4915
4916
4917 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4918 echo "configure:4919: checking for --enable-mshtmlhelp" >&5
4919 no_cache=0
4920 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4921 if test "${enable_mshtmlhelp+set}" = set; then
4922 enableval="$enable_mshtmlhelp"
4923
4924 if test "$enableval" = yes; then
4925 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
4926 else
4927 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
4928 fi
4929
4930 else
4931
4932 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4933 if test "x$LINE" != x ; then
4934 eval "DEFAULT_$LINE"
4935 else
4936 no_cache=1
4937 fi
4938
4939 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4940
4941 fi
4942
4943
4944 eval "$ac_cv_use_mshtmlhelp"
4945 if test "$no_cache" != 1; then
4946 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4947 fi
4948
4949 if test "$wxUSE_MS_HTML_HELP" = yes; then
4950 echo "$ac_t""yes" 1>&6
4951 else
4952 echo "$ac_t""no" 1>&6
4953 fi
4954
4955
4956 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4957 echo "configure:4958: checking for --enable-html" >&5
4958 no_cache=0
4959 # Check whether --enable-html or --disable-html was given.
4960 if test "${enable_html+set}" = set; then
4961 enableval="$enable_html"
4962
4963 if test "$enableval" = yes; then
4964 ac_cv_use_html='wxUSE_HTML=yes'
4965 else
4966 ac_cv_use_html='wxUSE_HTML=no'
4967 fi
4968
4969 else
4970
4971 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4972 if test "x$LINE" != x ; then
4973 eval "DEFAULT_$LINE"
4974 else
4975 no_cache=1
4976 fi
4977
4978 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4979
4980 fi
4981
4982
4983 eval "$ac_cv_use_html"
4984 if test "$no_cache" != 1; then
4985 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4986 fi
4987
4988 if test "$wxUSE_HTML" = yes; then
4989 echo "$ac_t""yes" 1>&6
4990 else
4991 echo "$ac_t""no" 1>&6
4992 fi
4993
4994
4995 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4996 echo "configure:4997: checking for --enable-htmlhelp" >&5
4997 no_cache=0
4998 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4999 if test "${enable_htmlhelp+set}" = set; then
5000 enableval="$enable_htmlhelp"
5001
5002 if test "$enableval" = yes; then
5003 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5004 else
5005 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5006 fi
5007
5008 else
5009
5010 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5011 if test "x$LINE" != x ; then
5012 eval "DEFAULT_$LINE"
5013 else
5014 no_cache=1
5015 fi
5016
5017 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5018
5019 fi
5020
5021
5022 eval "$ac_cv_use_htmlhelp"
5023 if test "$no_cache" != 1; then
5024 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5025 fi
5026
5027 if test "$wxUSE_WXHTML_HELP" = yes; then
5028 echo "$ac_t""yes" 1>&6
5029 else
5030 echo "$ac_t""no" 1>&6
5031 fi
5032
5033
5034 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
5035 echo "configure:5036: checking for --enable-constraints" >&5
5036 no_cache=0
5037 # Check whether --enable-constraints or --disable-constraints was given.
5038 if test "${enable_constraints+set}" = set; then
5039 enableval="$enable_constraints"
5040
5041 if test "$enableval" = yes; then
5042 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5043 else
5044 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5045 fi
5046
5047 else
5048
5049 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5050 if test "x$LINE" != x ; then
5051 eval "DEFAULT_$LINE"
5052 else
5053 no_cache=1
5054 fi
5055
5056 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5057
5058 fi
5059
5060
5061 eval "$ac_cv_use_constraints"
5062 if test "$no_cache" != 1; then
5063 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5064 fi
5065
5066 if test "$wxUSE_CONSTRAINTS" = yes; then
5067 echo "$ac_t""yes" 1>&6
5068 else
5069 echo "$ac_t""no" 1>&6
5070 fi
5071
5072
5073 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5074 echo "configure:5075: checking for --enable-printarch" >&5
5075 no_cache=0
5076 # Check whether --enable-printarch or --disable-printarch was given.
5077 if test "${enable_printarch+set}" = set; then
5078 enableval="$enable_printarch"
5079
5080 if test "$enableval" = yes; then
5081 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5082 else
5083 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5084 fi
5085
5086 else
5087
5088 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5089 if test "x$LINE" != x ; then
5090 eval "DEFAULT_$LINE"
5091 else
5092 no_cache=1
5093 fi
5094
5095 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5096
5097 fi
5098
5099
5100 eval "$ac_cv_use_printarch"
5101 if test "$no_cache" != 1; then
5102 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5103 fi
5104
5105 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5106 echo "$ac_t""yes" 1>&6
5107 else
5108 echo "$ac_t""no" 1>&6
5109 fi
5110
5111
5112 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5113 echo "configure:5114: checking for --enable-mdi" >&5
5114 no_cache=0
5115 # Check whether --enable-mdi or --disable-mdi was given.
5116 if test "${enable_mdi+set}" = set; then
5117 enableval="$enable_mdi"
5118
5119 if test "$enableval" = yes; then
5120 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
5121 else
5122 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
5123 fi
5124
5125 else
5126
5127 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5128 if test "x$LINE" != x ; then
5129 eval "DEFAULT_$LINE"
5130 else
5131 no_cache=1
5132 fi
5133
5134 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5135
5136 fi
5137
5138
5139 eval "$ac_cv_use_mdi"
5140 if test "$no_cache" != 1; then
5141 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5142 fi
5143
5144 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5145 echo "$ac_t""yes" 1>&6
5146 else
5147 echo "$ac_t""no" 1>&6
5148 fi
5149
5150
5151 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5152 echo "configure:5153: checking for --enable-loggui" >&5
5153 no_cache=0
5154 # Check whether --enable-loggui or --disable-loggui was given.
5155 if test "${enable_loggui+set}" = set; then
5156 enableval="$enable_loggui"
5157
5158 if test "$enableval" = yes; then
5159 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
5160 else
5161 ac_cv_use_loggui='wxUSE_LOGGUI=no'
5162 fi
5163
5164 else
5165
5166 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5167 if test "x$LINE" != x ; then
5168 eval "DEFAULT_$LINE"
5169 else
5170 no_cache=1
5171 fi
5172
5173 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5174
5175 fi
5176
5177
5178 eval "$ac_cv_use_loggui"
5179 if test "$no_cache" != 1; then
5180 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5181 fi
5182
5183 if test "$wxUSE_LOGGUI" = yes; then
5184 echo "$ac_t""yes" 1>&6
5185 else
5186 echo "$ac_t""no" 1>&6
5187 fi
5188
5189
5190 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5191 echo "configure:5192: checking for --enable-logwin" >&5
5192 no_cache=0
5193 # Check whether --enable-logwin or --disable-logwin was given.
5194 if test "${enable_logwin+set}" = set; then
5195 enableval="$enable_logwin"
5196
5197 if test "$enableval" = yes; then
5198 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
5199 else
5200 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
5201 fi
5202
5203 else
5204
5205 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5206 if test "x$LINE" != x ; then
5207 eval "DEFAULT_$LINE"
5208 else
5209 no_cache=1
5210 fi
5211
5212 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5213
5214 fi
5215
5216
5217 eval "$ac_cv_use_logwin"
5218 if test "$no_cache" != 1; then
5219 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5220 fi
5221
5222 if test "$wxUSE_LOGWINDOW" = yes; then
5223 echo "$ac_t""yes" 1>&6
5224 else
5225 echo "$ac_t""no" 1>&6
5226 fi
5227
5228
5229 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5230 echo "configure:5231: checking for --enable-logdialog" >&5
5231 no_cache=0
5232 # Check whether --enable-logdialog or --disable-logdialog was given.
5233 if test "${enable_logdialog+set}" = set; then
5234 enableval="$enable_logdialog"
5235
5236 if test "$enableval" = yes; then
5237 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
5238 else
5239 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
5240 fi
5241
5242 else
5243
5244 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5245 if test "x$LINE" != x ; then
5246 eval "DEFAULT_$LINE"
5247 else
5248 no_cache=1
5249 fi
5250
5251 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5252
5253 fi
5254
5255
5256 eval "$ac_cv_use_logdialog"
5257 if test "$no_cache" != 1; then
5258 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5259 fi
5260
5261 if test "$wxUSE_LOGDIALOG" = yes; then
5262 echo "$ac_t""yes" 1>&6
5263 else
5264 echo "$ac_t""no" 1>&6
5265 fi
5266
5267
5268
5269 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5270 echo "configure:5271: checking for --enable-postscript" >&5
5271 no_cache=0
5272 # Check whether --enable-postscript or --disable-postscript was given.
5273 if test "${enable_postscript+set}" = set; then
5274 enableval="$enable_postscript"
5275
5276 if test "$enableval" = yes; then
5277 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
5278 else
5279 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
5280 fi
5281
5282 else
5283
5284 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5285 if test "x$LINE" != x ; then
5286 eval "DEFAULT_$LINE"
5287 else
5288 no_cache=1
5289 fi
5290
5291 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5292
5293 fi
5294
5295
5296 eval "$ac_cv_use_postscript"
5297 if test "$no_cache" != 1; then
5298 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5299 fi
5300
5301 if test "$wxUSE_POSTSCRIPT" = yes; then
5302 echo "$ac_t""yes" 1>&6
5303 else
5304 echo "$ac_t""no" 1>&6
5305 fi
5306
5307
5308
5309
5310
5311 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5312 echo "configure:5313: checking for --enable-prologio" >&5
5313 no_cache=0
5314 # Check whether --enable-prologio or --disable-prologio was given.
5315 if test "${enable_prologio+set}" = set; then
5316 enableval="$enable_prologio"
5317
5318 if test "$enableval" = yes; then
5319 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
5320 else
5321 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
5322 fi
5323
5324 else
5325
5326 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5327 if test "x$LINE" != x ; then
5328 eval "DEFAULT_$LINE"
5329 else
5330 no_cache=1
5331 fi
5332
5333 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5334
5335 fi
5336
5337
5338 eval "$ac_cv_use_prologio"
5339 if test "$no_cache" != 1; then
5340 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5341 fi
5342
5343 if test "$wxUSE_PROLOGIO" = yes; then
5344 echo "$ac_t""yes" 1>&6
5345 else
5346 echo "$ac_t""no" 1>&6
5347 fi
5348
5349
5350 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5351 echo "configure:5352: checking for --enable-resources" >&5
5352 no_cache=0
5353 # Check whether --enable-resources or --disable-resources was given.
5354 if test "${enable_resources+set}" = set; then
5355 enableval="$enable_resources"
5356
5357 if test "$enableval" = yes; then
5358 ac_cv_use_resources='wxUSE_RESOURCES=yes'
5359 else
5360 ac_cv_use_resources='wxUSE_RESOURCES=no'
5361 fi
5362
5363 else
5364
5365 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5366 if test "x$LINE" != x ; then
5367 eval "DEFAULT_$LINE"
5368 else
5369 no_cache=1
5370 fi
5371
5372 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5373
5374 fi
5375
5376
5377 eval "$ac_cv_use_resources"
5378 if test "$no_cache" != 1; then
5379 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5380 fi
5381
5382 if test "$wxUSE_RESOURCES" = yes; then
5383 echo "$ac_t""yes" 1>&6
5384 else
5385 echo "$ac_t""no" 1>&6
5386 fi
5387
5388
5389
5390 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5391 echo "configure:5392: checking for --enable-xresources" >&5
5392 no_cache=0
5393 # Check whether --enable-xresources or --disable-xresources was given.
5394 if test "${enable_xresources+set}" = set; then
5395 enableval="$enable_xresources"
5396
5397 if test "$enableval" = yes; then
5398 ac_cv_use_xresources='wxUSE_X_RESOURCES=yes'
5399 else
5400 ac_cv_use_xresources='wxUSE_X_RESOURCES=no'
5401 fi
5402
5403 else
5404
5405 LINE=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5406 if test "x$LINE" != x ; then
5407 eval "DEFAULT_$LINE"
5408 else
5409 no_cache=1
5410 fi
5411
5412 ac_cv_use_xresources='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5413
5414 fi
5415
5416
5417 eval "$ac_cv_use_xresources"
5418 if test "$no_cache" != 1; then
5419 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5420 fi
5421
5422 if test "$wxUSE_X_RESOURCES" = yes; then
5423 echo "$ac_t""yes" 1>&6
5424 else
5425 echo "$ac_t""no" 1>&6
5426 fi
5427
5428
5429
5430
5431 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5432 echo "configure:5433: checking for --enable-clipboard" >&5
5433 no_cache=0
5434 # Check whether --enable-clipboard or --disable-clipboard was given.
5435 if test "${enable_clipboard+set}" = set; then
5436 enableval="$enable_clipboard"
5437
5438 if test "$enableval" = yes; then
5439 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
5440 else
5441 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
5442 fi
5443
5444 else
5445
5446 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5447 if test "x$LINE" != x ; then
5448 eval "DEFAULT_$LINE"
5449 else
5450 no_cache=1
5451 fi
5452
5453 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5454
5455 fi
5456
5457
5458 eval "$ac_cv_use_clipboard"
5459 if test "$no_cache" != 1; then
5460 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5461 fi
5462
5463 if test "$wxUSE_CLIPBOARD" = yes; then
5464 echo "$ac_t""yes" 1>&6
5465 else
5466 echo "$ac_t""no" 1>&6
5467 fi
5468
5469
5470 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5471 echo "configure:5472: checking for --enable-dnd" >&5
5472 no_cache=0
5473 # Check whether --enable-dnd or --disable-dnd was given.
5474 if test "${enable_dnd+set}" = set; then
5475 enableval="$enable_dnd"
5476
5477 if test "$enableval" = yes; then
5478 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
5479 else
5480 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
5481 fi
5482
5483 else
5484
5485 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5486 if test "x$LINE" != x ; then
5487 eval "DEFAULT_$LINE"
5488 else
5489 no_cache=1
5490 fi
5491
5492 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5493
5494 fi
5495
5496
5497 eval "$ac_cv_use_dnd"
5498 if test "$no_cache" != 1; then
5499 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5500 fi
5501
5502 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5503 echo "$ac_t""yes" 1>&6
5504 else
5505 echo "$ac_t""no" 1>&6
5506 fi
5507
5508
5509 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5510 echo "configure:5511: checking for --enable-metafile" >&5
5511 no_cache=0
5512 # Check whether --enable-metafile or --disable-metafile was given.
5513 if test "${enable_metafile+set}" = set; then
5514 enableval="$enable_metafile"
5515
5516 if test "$enableval" = yes; then
5517 ac_cv_use_metafile='wxUSE_METAFILE=yes'
5518 else
5519 ac_cv_use_metafile='wxUSE_METAFILE=no'
5520 fi
5521
5522 else
5523
5524 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5525 if test "x$LINE" != x ; then
5526 eval "DEFAULT_$LINE"
5527 else
5528 no_cache=1
5529 fi
5530
5531 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5532
5533 fi
5534
5535
5536 eval "$ac_cv_use_metafile"
5537 if test "$no_cache" != 1; then
5538 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5539 fi
5540
5541 if test "$wxUSE_METAFILE" = yes; then
5542 echo "$ac_t""yes" 1>&6
5543 else
5544 echo "$ac_t""no" 1>&6
5545 fi
5546
5547
5548
5549 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5550 echo "configure:5551: checking for --enable-treelayout" >&5
5551 no_cache=0
5552 # Check whether --enable-treelayout or --disable-treelayout was given.
5553 if test "${enable_treelayout+set}" = set; then
5554 enableval="$enable_treelayout"
5555
5556 if test "$enableval" = yes; then
5557 ac_cv_use_treelayout='wxUSE_TREELAYOUT=yes'
5558 else
5559 ac_cv_use_treelayout='wxUSE_TREELAYOUT=no'
5560 fi
5561
5562 else
5563
5564 LINE=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5565 if test "x$LINE" != x ; then
5566 eval "DEFAULT_$LINE"
5567 else
5568 no_cache=1
5569 fi
5570
5571 ac_cv_use_treelayout='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5572
5573 fi
5574
5575
5576 eval "$ac_cv_use_treelayout"
5577 if test "$no_cache" != 1; then
5578 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5579 fi
5580
5581 if test "$wxUSE_TREELAYOUT" = yes; then
5582 echo "$ac_t""yes" 1>&6
5583 else
5584 echo "$ac_t""no" 1>&6
5585 fi
5586
5587
5588
5589
5590 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5591 echo "configure:5592: checking for --enable-controls" >&5
5592 no_cache=0
5593 # Check whether --enable-controls or --disable-controls was given.
5594 if test "${enable_controls+set}" = set; then
5595 enableval="$enable_controls"
5596
5597 if test "$enableval" = yes; then
5598 ac_cv_use_controls='wxUSE_CONTROLS=yes'
5599 else
5600 ac_cv_use_controls='wxUSE_CONTROLS=no'
5601 fi
5602
5603 else
5604
5605 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5606 if test "x$LINE" != x ; then
5607 eval "DEFAULT_$LINE"
5608 else
5609 no_cache=1
5610 fi
5611
5612 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5613
5614 fi
5615
5616
5617 eval "$ac_cv_use_controls"
5618 if test "$no_cache" != 1; then
5619 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5620 fi
5621
5622 if test "$wxUSE_CONTROLS" = yes; then
5623 echo "$ac_t""yes" 1>&6
5624 else
5625 echo "$ac_t""no" 1>&6
5626 fi
5627
5628
5629 if test "$wxUSE_CONTROLS" = "yes"; then
5630 DEFAULT_wxUSE_ACCEL=yes
5631 DEFAULT_wxUSE_BMPBUTTON=yes
5632 DEFAULT_wxUSE_BUTTON=yes
5633 DEFAULT_wxUSE_CALCTRL=no
5634 DEFAULT_wxUSE_CARET=yes
5635 DEFAULT_wxUSE_COMBOBOX=yes
5636 DEFAULT_wxUSE_CHECKBOX=yes
5637 DEFAULT_wxUSE_CHECKLISTBOX=yes
5638 DEFAULT_wxUSE_CHOICE=yes
5639 DEFAULT_wxUSE_GAUGE=yes
5640 DEFAULT_wxUSE_GRID=yes
5641 DEFAULT_wxUSE_NEW_GRID=yes
5642 DEFAULT_wxUSE_IMAGLIST=yes
5643 DEFAULT_wxUSE_LISTBOX=yes
5644 DEFAULT_wxUSE_LISTCTRL=yes
5645 DEFAULT_wxUSE_NOTEBOOK=yes
5646 DEFAULT_wxUSE_PROPSHEET=yes
5647 DEFAULT_wxUSE_RADIOBOX=yes
5648 DEFAULT_wxUSE_RADIOBTN=yes
5649 DEFAULT_wxUSE_SASH=yes
5650 DEFAULT_wxUSE_SCROLLBAR=yes
5651 DEFAULT_wxUSE_SLIDER=yes
5652 DEFAULT_wxUSE_SPINBTN=yes
5653 DEFAULT_wxUSE_SPINCTRL=yes
5654 DEFAULT_wxUSE_SPLITTER=yes
5655 DEFAULT_wxUSE_STATBMP=yes
5656 DEFAULT_wxUSE_STATBOX=yes
5657 DEFAULT_wxUSE_STATLINE=yes
5658 DEFAULT_wxUSE_STATUSBAR=yes
5659 DEFAULT_wxUSE_TAB_DIALOG=yes
5660 DEFAULT_wxUSE_TOGGLEBTN=yes
5661 DEFAULT_wxUSE_TOOLBAR=yes
5662 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
5663 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
5664 DEFAULT_wxUSE_TOOLTIPS=yes
5665 DEFAULT_wxUSE_TREECTRL=yes
5666 DEFAULT_wxUSE_POPUPWIN=yes
5667 DEFAULT_wxUSE_TIPWINDOW=yes
5668 elif test "$wxUSE_CONTROLS" = "no"; then
5669 DEFAULT_wxUSE_ACCEL=no
5670 DEFAULT_wxUSE_BMPBUTTON=no
5671 DEFAULT_wxUSE_BUTTON=no
5672 DEFAULT_wxUSE_CALCTRL=no
5673 DEFAULT_wxUSE_CARET=no
5674 DEFAULT_wxUSE_COMBOBOX=no
5675 DEFAULT_wxUSE_CHECKBOX=no
5676 DEFAULT_wxUSE_CHECKLISTBOX=no
5677 DEFAULT_wxUSE_CHOICE=no
5678 DEFAULT_wxUSE_GAUGE=no
5679 DEFAULT_wxUSE_GRID=no
5680 DEFAULT_wxUSE_NEW_GRID=no
5681 DEFAULT_wxUSE_IMAGLIST=no
5682 DEFAULT_wxUSE_LISTBOX=no
5683 DEFAULT_wxUSE_LISTCTRL=no
5684 DEFAULT_wxUSE_NOTEBOOK=no
5685 DEFAULT_wxUSE_PROPSHEET=no
5686 DEFAULT_wxUSE_RADIOBOX=no
5687 DEFAULT_wxUSE_RADIOBTN=no
5688 DEFAULT_wxUSE_SASH=no
5689 DEFAULT_wxUSE_SCROLLBAR=no
5690 DEFAULT_wxUSE_SLIDER=no
5691 DEFAULT_wxUSE_SPINBTN=no
5692 DEFAULT_wxUSE_SPINCTRL=no
5693 DEFAULT_wxUSE_SPLITTER=no
5694 DEFAULT_wxUSE_STATBMP=no
5695 DEFAULT_wxUSE_STATBOX=no
5696 DEFAULT_wxUSE_STATLINE=no
5697 DEFAULT_wxUSE_STATUSBAR=no
5698 DEFAULT_wxUSE_TAB_DIALOG=no
5699 DEFAULT_wxUSE_TOGGLEBTN=no
5700 DEFAULT_wxUSE_TOOLBAR=no
5701 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
5702 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
5703 DEFAULT_wxUSE_TOOLTIPS=no
5704 DEFAULT_wxUSE_TREECTRL=no
5705 DEFAULT_wxUSE_POPUPWIN=no
5706 DEFAULT_wxUSE_TIPWINDOW=no
5707 fi
5708
5709
5710 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5711 echo "configure:5712: checking for --enable-accel" >&5
5712 no_cache=0
5713 # Check whether --enable-accel or --disable-accel was given.
5714 if test "${enable_accel+set}" = set; then
5715 enableval="$enable_accel"
5716
5717 if test "$enableval" = yes; then
5718 ac_cv_use_accel='wxUSE_ACCEL=yes'
5719 else
5720 ac_cv_use_accel='wxUSE_ACCEL=no'
5721 fi
5722
5723 else
5724
5725 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5726 if test "x$LINE" != x ; then
5727 eval "DEFAULT_$LINE"
5728 else
5729 no_cache=1
5730 fi
5731
5732 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5733
5734 fi
5735
5736
5737 eval "$ac_cv_use_accel"
5738 if test "$no_cache" != 1; then
5739 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5740 fi
5741
5742 if test "$wxUSE_ACCEL" = yes; then
5743 echo "$ac_t""yes" 1>&6
5744 else
5745 echo "$ac_t""no" 1>&6
5746 fi
5747
5748
5749 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5750 echo "configure:5751: checking for --enable-button" >&5
5751 no_cache=0
5752 # Check whether --enable-button or --disable-button was given.
5753 if test "${enable_button+set}" = set; then
5754 enableval="$enable_button"
5755
5756 if test "$enableval" = yes; then
5757 ac_cv_use_button='wxUSE_BUTTON=yes'
5758 else
5759 ac_cv_use_button='wxUSE_BUTTON=no'
5760 fi
5761
5762 else
5763
5764 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5765 if test "x$LINE" != x ; then
5766 eval "DEFAULT_$LINE"
5767 else
5768 no_cache=1
5769 fi
5770
5771 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5772
5773 fi
5774
5775
5776 eval "$ac_cv_use_button"
5777 if test "$no_cache" != 1; then
5778 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5779 fi
5780
5781 if test "$wxUSE_BUTTON" = yes; then
5782 echo "$ac_t""yes" 1>&6
5783 else
5784 echo "$ac_t""no" 1>&6
5785 fi
5786
5787
5788 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5789 echo "configure:5790: checking for --enable-bmpbutton" >&5
5790 no_cache=0
5791 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5792 if test "${enable_bmpbutton+set}" = set; then
5793 enableval="$enable_bmpbutton"
5794
5795 if test "$enableval" = yes; then
5796 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
5797 else
5798 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
5799 fi
5800
5801 else
5802
5803 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5804 if test "x$LINE" != x ; then
5805 eval "DEFAULT_$LINE"
5806 else
5807 no_cache=1
5808 fi
5809
5810 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5811
5812 fi
5813
5814
5815 eval "$ac_cv_use_bmpbutton"
5816 if test "$no_cache" != 1; then
5817 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5818 fi
5819
5820 if test "$wxUSE_BMPBUTTON" = yes; then
5821 echo "$ac_t""yes" 1>&6
5822 else
5823 echo "$ac_t""no" 1>&6
5824 fi
5825
5826
5827 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5828 echo "configure:5829: checking for --enable-calendar" >&5
5829 no_cache=0
5830 # Check whether --enable-calendar or --disable-calendar was given.
5831 if test "${enable_calendar+set}" = set; then
5832 enableval="$enable_calendar"
5833
5834 if test "$enableval" = yes; then
5835 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
5836 else
5837 ac_cv_use_calendar='wxUSE_CALCTRL=no'
5838 fi
5839
5840 else
5841
5842 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5843 if test "x$LINE" != x ; then
5844 eval "DEFAULT_$LINE"
5845 else
5846 no_cache=1
5847 fi
5848
5849 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5850
5851 fi
5852
5853
5854 eval "$ac_cv_use_calendar"
5855 if test "$no_cache" != 1; then
5856 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5857 fi
5858
5859 if test "$wxUSE_CALCTRL" = yes; then
5860 echo "$ac_t""yes" 1>&6
5861 else
5862 echo "$ac_t""no" 1>&6
5863 fi
5864
5865
5866 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5867 echo "configure:5868: checking for --enable-caret" >&5
5868 no_cache=0
5869 # Check whether --enable-caret or --disable-caret was given.
5870 if test "${enable_caret+set}" = set; then
5871 enableval="$enable_caret"
5872
5873 if test "$enableval" = yes; then
5874 ac_cv_use_caret='wxUSE_CARET=yes'
5875 else
5876 ac_cv_use_caret='wxUSE_CARET=no'
5877 fi
5878
5879 else
5880
5881 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5882 if test "x$LINE" != x ; then
5883 eval "DEFAULT_$LINE"
5884 else
5885 no_cache=1
5886 fi
5887
5888 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5889
5890 fi
5891
5892
5893 eval "$ac_cv_use_caret"
5894 if test "$no_cache" != 1; then
5895 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5896 fi
5897
5898 if test "$wxUSE_CARET" = yes; then
5899 echo "$ac_t""yes" 1>&6
5900 else
5901 echo "$ac_t""no" 1>&6
5902 fi
5903
5904
5905 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5906 echo "configure:5907: checking for --enable-checkbox" >&5
5907 no_cache=0
5908 # Check whether --enable-checkbox or --disable-checkbox was given.
5909 if test "${enable_checkbox+set}" = set; then
5910 enableval="$enable_checkbox"
5911
5912 if test "$enableval" = yes; then
5913 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
5914 else
5915 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
5916 fi
5917
5918 else
5919
5920 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5921 if test "x$LINE" != x ; then
5922 eval "DEFAULT_$LINE"
5923 else
5924 no_cache=1
5925 fi
5926
5927 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5928
5929 fi
5930
5931
5932 eval "$ac_cv_use_checkbox"
5933 if test "$no_cache" != 1; then
5934 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5935 fi
5936
5937 if test "$wxUSE_CHECKBOX" = yes; then
5938 echo "$ac_t""yes" 1>&6
5939 else
5940 echo "$ac_t""no" 1>&6
5941 fi
5942
5943
5944 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5945 echo "configure:5946: checking for --enable-checklst" >&5
5946 no_cache=0
5947 # Check whether --enable-checklst or --disable-checklst was given.
5948 if test "${enable_checklst+set}" = set; then
5949 enableval="$enable_checklst"
5950
5951 if test "$enableval" = yes; then
5952 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
5953 else
5954 ac_cv_use_checklst='wxUSE_CHECKLST=no'
5955 fi
5956
5957 else
5958
5959 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5960 if test "x$LINE" != x ; then
5961 eval "DEFAULT_$LINE"
5962 else
5963 no_cache=1
5964 fi
5965
5966 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5967
5968 fi
5969
5970
5971 eval "$ac_cv_use_checklst"
5972 if test "$no_cache" != 1; then
5973 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5974 fi
5975
5976 if test "$wxUSE_CHECKLST" = yes; then
5977 echo "$ac_t""yes" 1>&6
5978 else
5979 echo "$ac_t""no" 1>&6
5980 fi
5981
5982
5983 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5984 echo "configure:5985: checking for --enable-choice" >&5
5985 no_cache=0
5986 # Check whether --enable-choice or --disable-choice was given.
5987 if test "${enable_choice+set}" = set; then
5988 enableval="$enable_choice"
5989
5990 if test "$enableval" = yes; then
5991 ac_cv_use_choice='wxUSE_CHOICE=yes'
5992 else
5993 ac_cv_use_choice='wxUSE_CHOICE=no'
5994 fi
5995
5996 else
5997
5998 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5999 if test "x$LINE" != x ; then
6000 eval "DEFAULT_$LINE"
6001 else
6002 no_cache=1
6003 fi
6004
6005 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6006
6007 fi
6008
6009
6010 eval "$ac_cv_use_choice"
6011 if test "$no_cache" != 1; then
6012 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6013 fi
6014
6015 if test "$wxUSE_CHOICE" = yes; then
6016 echo "$ac_t""yes" 1>&6
6017 else
6018 echo "$ac_t""no" 1>&6
6019 fi
6020
6021
6022 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
6023 echo "configure:6024: checking for --enable-combobox" >&5
6024 no_cache=0
6025 # Check whether --enable-combobox or --disable-combobox was given.
6026 if test "${enable_combobox+set}" = set; then
6027 enableval="$enable_combobox"
6028
6029 if test "$enableval" = yes; then
6030 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6031 else
6032 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6033 fi
6034
6035 else
6036
6037 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6038 if test "x$LINE" != x ; then
6039 eval "DEFAULT_$LINE"
6040 else
6041 no_cache=1
6042 fi
6043
6044 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6045
6046 fi
6047
6048
6049 eval "$ac_cv_use_combobox"
6050 if test "$no_cache" != 1; then
6051 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6052 fi
6053
6054 if test "$wxUSE_COMBOBOX" = yes; then
6055 echo "$ac_t""yes" 1>&6
6056 else
6057 echo "$ac_t""no" 1>&6
6058 fi
6059
6060
6061 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6062 echo "configure:6063: checking for --enable-gauge" >&5
6063 no_cache=0
6064 # Check whether --enable-gauge or --disable-gauge was given.
6065 if test "${enable_gauge+set}" = set; then
6066 enableval="$enable_gauge"
6067
6068 if test "$enableval" = yes; then
6069 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6070 else
6071 ac_cv_use_gauge='wxUSE_GAUGE=no'
6072 fi
6073
6074 else
6075
6076 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6077 if test "x$LINE" != x ; then
6078 eval "DEFAULT_$LINE"
6079 else
6080 no_cache=1
6081 fi
6082
6083 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6084
6085 fi
6086
6087
6088 eval "$ac_cv_use_gauge"
6089 if test "$no_cache" != 1; then
6090 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6091 fi
6092
6093 if test "$wxUSE_GAUGE" = yes; then
6094 echo "$ac_t""yes" 1>&6
6095 else
6096 echo "$ac_t""no" 1>&6
6097 fi
6098
6099
6100 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6101 echo "configure:6102: checking for --enable-grid" >&5
6102 no_cache=0
6103 # Check whether --enable-grid or --disable-grid was given.
6104 if test "${enable_grid+set}" = set; then
6105 enableval="$enable_grid"
6106
6107 if test "$enableval" = yes; then
6108 ac_cv_use_grid='wxUSE_GRID=yes'
6109 else
6110 ac_cv_use_grid='wxUSE_GRID=no'
6111 fi
6112
6113 else
6114
6115 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6116 if test "x$LINE" != x ; then
6117 eval "DEFAULT_$LINE"
6118 else
6119 no_cache=1
6120 fi
6121
6122 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6123
6124 fi
6125
6126
6127 eval "$ac_cv_use_grid"
6128 if test "$no_cache" != 1; then
6129 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6130 fi
6131
6132 if test "$wxUSE_GRID" = yes; then
6133 echo "$ac_t""yes" 1>&6
6134 else
6135 echo "$ac_t""no" 1>&6
6136 fi
6137
6138
6139 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6140 echo "configure:6141: checking for --enable-newgrid" >&5
6141 no_cache=0
6142 # Check whether --enable-newgrid or --disable-newgrid was given.
6143 if test "${enable_newgrid+set}" = set; then
6144 enableval="$enable_newgrid"
6145
6146 if test "$enableval" = yes; then
6147 ac_cv_use_newgrid='wxUSE_NEW_GRID=yes'
6148 else
6149 ac_cv_use_newgrid='wxUSE_NEW_GRID=no'
6150 fi
6151
6152 else
6153
6154 LINE=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6155 if test "x$LINE" != x ; then
6156 eval "DEFAULT_$LINE"
6157 else
6158 no_cache=1
6159 fi
6160
6161 ac_cv_use_newgrid='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6162
6163 fi
6164
6165
6166 eval "$ac_cv_use_newgrid"
6167 if test "$no_cache" != 1; then
6168 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6169 fi
6170
6171 if test "$wxUSE_NEW_GRID" = yes; then
6172 echo "$ac_t""yes" 1>&6
6173 else
6174 echo "$ac_t""no" 1>&6
6175 fi
6176
6177
6178 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6179 echo "configure:6180: checking for --enable-imaglist" >&5
6180 no_cache=0
6181 # Check whether --enable-imaglist or --disable-imaglist was given.
6182 if test "${enable_imaglist+set}" = set; then
6183 enableval="$enable_imaglist"
6184
6185 if test "$enableval" = yes; then
6186 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
6187 else
6188 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
6189 fi
6190
6191 else
6192
6193 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6194 if test "x$LINE" != x ; then
6195 eval "DEFAULT_$LINE"
6196 else
6197 no_cache=1
6198 fi
6199
6200 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6201
6202 fi
6203
6204
6205 eval "$ac_cv_use_imaglist"
6206 if test "$no_cache" != 1; then
6207 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6208 fi
6209
6210 if test "$wxUSE_IMAGLIST" = yes; then
6211 echo "$ac_t""yes" 1>&6
6212 else
6213 echo "$ac_t""no" 1>&6
6214 fi
6215
6216
6217 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6218 echo "configure:6219: checking for --enable-listbox" >&5
6219 no_cache=0
6220 # Check whether --enable-listbox or --disable-listbox was given.
6221 if test "${enable_listbox+set}" = set; then
6222 enableval="$enable_listbox"
6223
6224 if test "$enableval" = yes; then
6225 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
6226 else
6227 ac_cv_use_listbox='wxUSE_LISTBOX=no'
6228 fi
6229
6230 else
6231
6232 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6233 if test "x$LINE" != x ; then
6234 eval "DEFAULT_$LINE"
6235 else
6236 no_cache=1
6237 fi
6238
6239 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6240
6241 fi
6242
6243
6244 eval "$ac_cv_use_listbox"
6245 if test "$no_cache" != 1; then
6246 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6247 fi
6248
6249 if test "$wxUSE_LISTBOX" = yes; then
6250 echo "$ac_t""yes" 1>&6
6251 else
6252 echo "$ac_t""no" 1>&6
6253 fi
6254
6255
6256 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6257 echo "configure:6258: checking for --enable-listctrl" >&5
6258 no_cache=0
6259 # Check whether --enable-listctrl or --disable-listctrl was given.
6260 if test "${enable_listctrl+set}" = set; then
6261 enableval="$enable_listctrl"
6262
6263 if test "$enableval" = yes; then
6264 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
6265 else
6266 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
6267 fi
6268
6269 else
6270
6271 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6272 if test "x$LINE" != x ; then
6273 eval "DEFAULT_$LINE"
6274 else
6275 no_cache=1
6276 fi
6277
6278 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6279
6280 fi
6281
6282
6283 eval "$ac_cv_use_listctrl"
6284 if test "$no_cache" != 1; then
6285 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6286 fi
6287
6288 if test "$wxUSE_LISTCTRL" = yes; then
6289 echo "$ac_t""yes" 1>&6
6290 else
6291 echo "$ac_t""no" 1>&6
6292 fi
6293
6294
6295 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6296 echo "configure:6297: checking for --enable-notebook" >&5
6297 no_cache=0
6298 # Check whether --enable-notebook or --disable-notebook was given.
6299 if test "${enable_notebook+set}" = set; then
6300 enableval="$enable_notebook"
6301
6302 if test "$enableval" = yes; then
6303 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
6304 else
6305 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
6306 fi
6307
6308 else
6309
6310 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6311 if test "x$LINE" != x ; then
6312 eval "DEFAULT_$LINE"
6313 else
6314 no_cache=1
6315 fi
6316
6317 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6318
6319 fi
6320
6321
6322 eval "$ac_cv_use_notebook"
6323 if test "$no_cache" != 1; then
6324 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6325 fi
6326
6327 if test "$wxUSE_NOTEBOOK" = yes; then
6328 echo "$ac_t""yes" 1>&6
6329 else
6330 echo "$ac_t""no" 1>&6
6331 fi
6332
6333
6334 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6335 echo "configure:6336: checking for --enable-propsheet" >&5
6336 no_cache=0
6337 # Check whether --enable-propsheet or --disable-propsheet was given.
6338 if test "${enable_propsheet+set}" = set; then
6339 enableval="$enable_propsheet"
6340
6341 if test "$enableval" = yes; then
6342 ac_cv_use_propsheet='wxUSE_PROPSHEET=yes'
6343 else
6344 ac_cv_use_propsheet='wxUSE_PROPSHEET=no'
6345 fi
6346
6347 else
6348
6349 LINE=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6350 if test "x$LINE" != x ; then
6351 eval "DEFAULT_$LINE"
6352 else
6353 no_cache=1
6354 fi
6355
6356 ac_cv_use_propsheet='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6357
6358 fi
6359
6360
6361 eval "$ac_cv_use_propsheet"
6362 if test "$no_cache" != 1; then
6363 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6364 fi
6365
6366 if test "$wxUSE_PROPSHEET" = yes; then
6367 echo "$ac_t""yes" 1>&6
6368 else
6369 echo "$ac_t""no" 1>&6
6370 fi
6371
6372
6373 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6374 echo "configure:6375: checking for --enable-radiobox" >&5
6375 no_cache=0
6376 # Check whether --enable-radiobox or --disable-radiobox was given.
6377 if test "${enable_radiobox+set}" = set; then
6378 enableval="$enable_radiobox"
6379
6380 if test "$enableval" = yes; then
6381 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
6382 else
6383 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
6384 fi
6385
6386 else
6387
6388 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6389 if test "x$LINE" != x ; then
6390 eval "DEFAULT_$LINE"
6391 else
6392 no_cache=1
6393 fi
6394
6395 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6396
6397 fi
6398
6399
6400 eval "$ac_cv_use_radiobox"
6401 if test "$no_cache" != 1; then
6402 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6403 fi
6404
6405 if test "$wxUSE_RADIOBOX" = yes; then
6406 echo "$ac_t""yes" 1>&6
6407 else
6408 echo "$ac_t""no" 1>&6
6409 fi
6410
6411
6412 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6413 echo "configure:6414: checking for --enable-radiobtn" >&5
6414 no_cache=0
6415 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6416 if test "${enable_radiobtn+set}" = set; then
6417 enableval="$enable_radiobtn"
6418
6419 if test "$enableval" = yes; then
6420 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
6421 else
6422 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
6423 fi
6424
6425 else
6426
6427 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6428 if test "x$LINE" != x ; then
6429 eval "DEFAULT_$LINE"
6430 else
6431 no_cache=1
6432 fi
6433
6434 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6435
6436 fi
6437
6438
6439 eval "$ac_cv_use_radiobtn"
6440 if test "$no_cache" != 1; then
6441 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6442 fi
6443
6444 if test "$wxUSE_RADIOBTN" = yes; then
6445 echo "$ac_t""yes" 1>&6
6446 else
6447 echo "$ac_t""no" 1>&6
6448 fi
6449
6450
6451 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6452 echo "configure:6453: checking for --enable-sash" >&5
6453 no_cache=0
6454 # Check whether --enable-sash or --disable-sash was given.
6455 if test "${enable_sash+set}" = set; then
6456 enableval="$enable_sash"
6457
6458 if test "$enableval" = yes; then
6459 ac_cv_use_sash='wxUSE_SASH=yes'
6460 else
6461 ac_cv_use_sash='wxUSE_SASH=no'
6462 fi
6463
6464 else
6465
6466 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6467 if test "x$LINE" != x ; then
6468 eval "DEFAULT_$LINE"
6469 else
6470 no_cache=1
6471 fi
6472
6473 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6474
6475 fi
6476
6477
6478 eval "$ac_cv_use_sash"
6479 if test "$no_cache" != 1; then
6480 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6481 fi
6482
6483 if test "$wxUSE_SASH" = yes; then
6484 echo "$ac_t""yes" 1>&6
6485 else
6486 echo "$ac_t""no" 1>&6
6487 fi
6488
6489
6490 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6491 echo "configure:6492: checking for --enable-scrollbar" >&5
6492 no_cache=0
6493 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6494 if test "${enable_scrollbar+set}" = set; then
6495 enableval="$enable_scrollbar"
6496
6497 if test "$enableval" = yes; then
6498 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
6499 else
6500 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
6501 fi
6502
6503 else
6504
6505 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6506 if test "x$LINE" != x ; then
6507 eval "DEFAULT_$LINE"
6508 else
6509 no_cache=1
6510 fi
6511
6512 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6513
6514 fi
6515
6516
6517 eval "$ac_cv_use_scrollbar"
6518 if test "$no_cache" != 1; then
6519 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6520 fi
6521
6522 if test "$wxUSE_SCROLLBAR" = yes; then
6523 echo "$ac_t""yes" 1>&6
6524 else
6525 echo "$ac_t""no" 1>&6
6526 fi
6527
6528
6529 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6530 echo "configure:6531: checking for --enable-slider" >&5
6531 no_cache=0
6532 # Check whether --enable-slider or --disable-slider was given.
6533 if test "${enable_slider+set}" = set; then
6534 enableval="$enable_slider"
6535
6536 if test "$enableval" = yes; then
6537 ac_cv_use_slider='wxUSE_SLIDER=yes'
6538 else
6539 ac_cv_use_slider='wxUSE_SLIDER=no'
6540 fi
6541
6542 else
6543
6544 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6545 if test "x$LINE" != x ; then
6546 eval "DEFAULT_$LINE"
6547 else
6548 no_cache=1
6549 fi
6550
6551 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6552
6553 fi
6554
6555
6556 eval "$ac_cv_use_slider"
6557 if test "$no_cache" != 1; then
6558 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6559 fi
6560
6561 if test "$wxUSE_SLIDER" = yes; then
6562 echo "$ac_t""yes" 1>&6
6563 else
6564 echo "$ac_t""no" 1>&6
6565 fi
6566
6567
6568 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6569 echo "configure:6570: checking for --enable-spinbtn" >&5
6570 no_cache=0
6571 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6572 if test "${enable_spinbtn+set}" = set; then
6573 enableval="$enable_spinbtn"
6574
6575 if test "$enableval" = yes; then
6576 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
6577 else
6578 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
6579 fi
6580
6581 else
6582
6583 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6584 if test "x$LINE" != x ; then
6585 eval "DEFAULT_$LINE"
6586 else
6587 no_cache=1
6588 fi
6589
6590 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6591
6592 fi
6593
6594
6595 eval "$ac_cv_use_spinbtn"
6596 if test "$no_cache" != 1; then
6597 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6598 fi
6599
6600 if test "$wxUSE_SPINBTN" = yes; then
6601 echo "$ac_t""yes" 1>&6
6602 else
6603 echo "$ac_t""no" 1>&6
6604 fi
6605
6606
6607 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6608 echo "configure:6609: checking for --enable-spinctrl" >&5
6609 no_cache=0
6610 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6611 if test "${enable_spinctrl+set}" = set; then
6612 enableval="$enable_spinctrl"
6613
6614 if test "$enableval" = yes; then
6615 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
6616 else
6617 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
6618 fi
6619
6620 else
6621
6622 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6623 if test "x$LINE" != x ; then
6624 eval "DEFAULT_$LINE"
6625 else
6626 no_cache=1
6627 fi
6628
6629 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6630
6631 fi
6632
6633
6634 eval "$ac_cv_use_spinctrl"
6635 if test "$no_cache" != 1; then
6636 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6637 fi
6638
6639 if test "$wxUSE_SPINCTRL" = yes; then
6640 echo "$ac_t""yes" 1>&6
6641 else
6642 echo "$ac_t""no" 1>&6
6643 fi
6644
6645
6646 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6647 echo "configure:6648: checking for --enable-splitter" >&5
6648 no_cache=0
6649 # Check whether --enable-splitter or --disable-splitter was given.
6650 if test "${enable_splitter+set}" = set; then
6651 enableval="$enable_splitter"
6652
6653 if test "$enableval" = yes; then
6654 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
6655 else
6656 ac_cv_use_splitter='wxUSE_SPLITTER=no'
6657 fi
6658
6659 else
6660
6661 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6662 if test "x$LINE" != x ; then
6663 eval "DEFAULT_$LINE"
6664 else
6665 no_cache=1
6666 fi
6667
6668 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6669
6670 fi
6671
6672
6673 eval "$ac_cv_use_splitter"
6674 if test "$no_cache" != 1; then
6675 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6676 fi
6677
6678 if test "$wxUSE_SPLITTER" = yes; then
6679 echo "$ac_t""yes" 1>&6
6680 else
6681 echo "$ac_t""no" 1>&6
6682 fi
6683
6684
6685 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6686 echo "configure:6687: checking for --enable-statbmp" >&5
6687 no_cache=0
6688 # Check whether --enable-statbmp or --disable-statbmp was given.
6689 if test "${enable_statbmp+set}" = set; then
6690 enableval="$enable_statbmp"
6691
6692 if test "$enableval" = yes; then
6693 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
6694 else
6695 ac_cv_use_statbmp='wxUSE_STATBMP=no'
6696 fi
6697
6698 else
6699
6700 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6701 if test "x$LINE" != x ; then
6702 eval "DEFAULT_$LINE"
6703 else
6704 no_cache=1
6705 fi
6706
6707 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6708
6709 fi
6710
6711
6712 eval "$ac_cv_use_statbmp"
6713 if test "$no_cache" != 1; then
6714 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6715 fi
6716
6717 if test "$wxUSE_STATBMP" = yes; then
6718 echo "$ac_t""yes" 1>&6
6719 else
6720 echo "$ac_t""no" 1>&6
6721 fi
6722
6723
6724 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6725 echo "configure:6726: checking for --enable-statbox" >&5
6726 no_cache=0
6727 # Check whether --enable-statbox or --disable-statbox was given.
6728 if test "${enable_statbox+set}" = set; then
6729 enableval="$enable_statbox"
6730
6731 if test "$enableval" = yes; then
6732 ac_cv_use_statbox='wxUSE_STATBOX=yes'
6733 else
6734 ac_cv_use_statbox='wxUSE_STATBOX=no'
6735 fi
6736
6737 else
6738
6739 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6740 if test "x$LINE" != x ; then
6741 eval "DEFAULT_$LINE"
6742 else
6743 no_cache=1
6744 fi
6745
6746 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6747
6748 fi
6749
6750
6751 eval "$ac_cv_use_statbox"
6752 if test "$no_cache" != 1; then
6753 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6754 fi
6755
6756 if test "$wxUSE_STATBOX" = yes; then
6757 echo "$ac_t""yes" 1>&6
6758 else
6759 echo "$ac_t""no" 1>&6
6760 fi
6761
6762
6763 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6764 echo "configure:6765: checking for --enable-statline" >&5
6765 no_cache=0
6766 # Check whether --enable-statline or --disable-statline was given.
6767 if test "${enable_statline+set}" = set; then
6768 enableval="$enable_statline"
6769
6770 if test "$enableval" = yes; then
6771 ac_cv_use_statline='wxUSE_STATLINE=yes'
6772 else
6773 ac_cv_use_statline='wxUSE_STATLINE=no'
6774 fi
6775
6776 else
6777
6778 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6779 if test "x$LINE" != x ; then
6780 eval "DEFAULT_$LINE"
6781 else
6782 no_cache=1
6783 fi
6784
6785 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6786
6787 fi
6788
6789
6790 eval "$ac_cv_use_statline"
6791 if test "$no_cache" != 1; then
6792 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6793 fi
6794
6795 if test "$wxUSE_STATLINE" = yes; then
6796 echo "$ac_t""yes" 1>&6
6797 else
6798 echo "$ac_t""no" 1>&6
6799 fi
6800
6801
6802 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6803 echo "configure:6804: checking for --enable-stattext" >&5
6804 no_cache=0
6805 # Check whether --enable-stattext or --disable-stattext was given.
6806 if test "${enable_stattext+set}" = set; then
6807 enableval="$enable_stattext"
6808
6809 if test "$enableval" = yes; then
6810 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
6811 else
6812 ac_cv_use_stattext='wxUSE_STATTEXT=no'
6813 fi
6814
6815 else
6816
6817 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6818 if test "x$LINE" != x ; then
6819 eval "DEFAULT_$LINE"
6820 else
6821 no_cache=1
6822 fi
6823
6824 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6825
6826 fi
6827
6828
6829 eval "$ac_cv_use_stattext"
6830 if test "$no_cache" != 1; then
6831 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6832 fi
6833
6834 if test "$wxUSE_STATTEXT" = yes; then
6835 echo "$ac_t""yes" 1>&6
6836 else
6837 echo "$ac_t""no" 1>&6
6838 fi
6839
6840
6841 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6842 echo "configure:6843: checking for --enable-statusbar" >&5
6843 no_cache=0
6844 # Check whether --enable-statusbar or --disable-statusbar was given.
6845 if test "${enable_statusbar+set}" = set; then
6846 enableval="$enable_statusbar"
6847
6848 if test "$enableval" = yes; then
6849 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
6850 else
6851 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
6852 fi
6853
6854 else
6855
6856 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6857 if test "x$LINE" != x ; then
6858 eval "DEFAULT_$LINE"
6859 else
6860 no_cache=1
6861 fi
6862
6863 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6864
6865 fi
6866
6867
6868 eval "$ac_cv_use_statusbar"
6869 if test "$no_cache" != 1; then
6870 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6871 fi
6872
6873 if test "$wxUSE_STATUSBAR" = yes; then
6874 echo "$ac_t""yes" 1>&6
6875 else
6876 echo "$ac_t""no" 1>&6
6877 fi
6878
6879
6880 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6881 echo "configure:6882: checking for --enable-tabdialog" >&5
6882 no_cache=0
6883 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6884 if test "${enable_tabdialog+set}" = set; then
6885 enableval="$enable_tabdialog"
6886
6887 if test "$enableval" = yes; then
6888 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
6889 else
6890 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
6891 fi
6892
6893 else
6894
6895 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6896 if test "x$LINE" != x ; then
6897 eval "DEFAULT_$LINE"
6898 else
6899 no_cache=1
6900 fi
6901
6902 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6903
6904 fi
6905
6906
6907 eval "$ac_cv_use_tabdialog"
6908 if test "$no_cache" != 1; then
6909 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6910 fi
6911
6912 if test "$wxUSE_TABDIALOG" = yes; then
6913 echo "$ac_t""yes" 1>&6
6914 else
6915 echo "$ac_t""no" 1>&6
6916 fi
6917
6918
6919 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6920 echo "configure:6921: checking for --enable-textctrl" >&5
6921 no_cache=0
6922 # Check whether --enable-textctrl or --disable-textctrl was given.
6923 if test "${enable_textctrl+set}" = set; then
6924 enableval="$enable_textctrl"
6925
6926 if test "$enableval" = yes; then
6927 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
6928 else
6929 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
6930 fi
6931
6932 else
6933
6934 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6935 if test "x$LINE" != x ; then
6936 eval "DEFAULT_$LINE"
6937 else
6938 no_cache=1
6939 fi
6940
6941 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6942
6943 fi
6944
6945
6946 eval "$ac_cv_use_textctrl"
6947 if test "$no_cache" != 1; then
6948 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6949 fi
6950
6951 if test "$wxUSE_TEXTCTRL" = yes; then
6952 echo "$ac_t""yes" 1>&6
6953 else
6954 echo "$ac_t""no" 1>&6
6955 fi
6956
6957
6958 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6959 echo "configure:6960: checking for --enable-togglebtn" >&5
6960 no_cache=0
6961 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6962 if test "${enable_togglebtn+set}" = set; then
6963 enableval="$enable_togglebtn"
6964
6965 if test "$enableval" = yes; then
6966 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
6967 else
6968 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
6969 fi
6970
6971 else
6972
6973 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6974 if test "x$LINE" != x ; then
6975 eval "DEFAULT_$LINE"
6976 else
6977 no_cache=1
6978 fi
6979
6980 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6981
6982 fi
6983
6984
6985 eval "$ac_cv_use_togglebtn"
6986 if test "$no_cache" != 1; then
6987 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6988 fi
6989
6990 if test "$wxUSE_TOGGLEBTN" = yes; then
6991 echo "$ac_t""yes" 1>&6
6992 else
6993 echo "$ac_t""no" 1>&6
6994 fi
6995
6996
6997 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6998 echo "configure:6999: checking for --enable-toolbar" >&5
6999 no_cache=0
7000 # Check whether --enable-toolbar or --disable-toolbar was given.
7001 if test "${enable_toolbar+set}" = set; then
7002 enableval="$enable_toolbar"
7003
7004 if test "$enableval" = yes; then
7005 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7006 else
7007 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7008 fi
7009
7010 else
7011
7012 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7013 if test "x$LINE" != x ; then
7014 eval "DEFAULT_$LINE"
7015 else
7016 no_cache=1
7017 fi
7018
7019 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7020
7021 fi
7022
7023
7024 eval "$ac_cv_use_toolbar"
7025 if test "$no_cache" != 1; then
7026 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7027 fi
7028
7029 if test "$wxUSE_TOOLBAR" = yes; then
7030 echo "$ac_t""yes" 1>&6
7031 else
7032 echo "$ac_t""no" 1>&6
7033 fi
7034
7035
7036 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
7037 echo "configure:7038: checking for --enable-tbarnative" >&5
7038 no_cache=0
7039 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7040 if test "${enable_tbarnative+set}" = set; then
7041 enableval="$enable_tbarnative"
7042
7043 if test "$enableval" = yes; then
7044 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7045 else
7046 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7047 fi
7048
7049 else
7050
7051 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7052 if test "x$LINE" != x ; then
7053 eval "DEFAULT_$LINE"
7054 else
7055 no_cache=1
7056 fi
7057
7058 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7059
7060 fi
7061
7062
7063 eval "$ac_cv_use_tbarnative"
7064 if test "$no_cache" != 1; then
7065 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7066 fi
7067
7068 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7069 echo "$ac_t""yes" 1>&6
7070 else
7071 echo "$ac_t""no" 1>&6
7072 fi
7073
7074
7075 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7076 echo "configure:7077: checking for --enable-tbarsmpl" >&5
7077 no_cache=0
7078 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7079 if test "${enable_tbarsmpl+set}" = set; then
7080 enableval="$enable_tbarsmpl"
7081
7082 if test "$enableval" = yes; then
7083 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7084 else
7085 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7086 fi
7087
7088 else
7089
7090 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7091 if test "x$LINE" != x ; then
7092 eval "DEFAULT_$LINE"
7093 else
7094 no_cache=1
7095 fi
7096
7097 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7098
7099 fi
7100
7101
7102 eval "$ac_cv_use_tbarsmpl"
7103 if test "$no_cache" != 1; then
7104 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7105 fi
7106
7107 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7108 echo "$ac_t""yes" 1>&6
7109 else
7110 echo "$ac_t""no" 1>&6
7111 fi
7112
7113
7114 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7115 echo "configure:7116: checking for --enable-treectrl" >&5
7116 no_cache=0
7117 # Check whether --enable-treectrl or --disable-treectrl was given.
7118 if test "${enable_treectrl+set}" = set; then
7119 enableval="$enable_treectrl"
7120
7121 if test "$enableval" = yes; then
7122 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
7123 else
7124 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
7125 fi
7126
7127 else
7128
7129 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7130 if test "x$LINE" != x ; then
7131 eval "DEFAULT_$LINE"
7132 else
7133 no_cache=1
7134 fi
7135
7136 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7137
7138 fi
7139
7140
7141 eval "$ac_cv_use_treectrl"
7142 if test "$no_cache" != 1; then
7143 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7144 fi
7145
7146 if test "$wxUSE_TREECTRL" = yes; then
7147 echo "$ac_t""yes" 1>&6
7148 else
7149 echo "$ac_t""no" 1>&6
7150 fi
7151
7152
7153 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7154 echo "configure:7155: checking for --enable-tipwindow" >&5
7155 no_cache=0
7156 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7157 if test "${enable_tipwindow+set}" = set; then
7158 enableval="$enable_tipwindow"
7159
7160 if test "$enableval" = yes; then
7161 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
7162 else
7163 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
7164 fi
7165
7166 else
7167
7168 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7169 if test "x$LINE" != x ; then
7170 eval "DEFAULT_$LINE"
7171 else
7172 no_cache=1
7173 fi
7174
7175 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7176
7177 fi
7178
7179
7180 eval "$ac_cv_use_tipwindow"
7181 if test "$no_cache" != 1; then
7182 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7183 fi
7184
7185 if test "$wxUSE_TIPWINDOW" = yes; then
7186 echo "$ac_t""yes" 1>&6
7187 else
7188 echo "$ac_t""no" 1>&6
7189 fi
7190
7191
7192 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7193 echo "configure:7194: checking for --enable-popupwin" >&5
7194 no_cache=0
7195 # Check whether --enable-popupwin or --disable-popupwin was given.
7196 if test "${enable_popupwin+set}" = set; then
7197 enableval="$enable_popupwin"
7198
7199 if test "$enableval" = yes; then
7200 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
7201 else
7202 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
7203 fi
7204
7205 else
7206
7207 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7208 if test "x$LINE" != x ; then
7209 eval "DEFAULT_$LINE"
7210 else
7211 no_cache=1
7212 fi
7213
7214 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7215
7216 fi
7217
7218
7219 eval "$ac_cv_use_popupwin"
7220 if test "$no_cache" != 1; then
7221 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7222 fi
7223
7224 if test "$wxUSE_POPUPWIN" = yes; then
7225 echo "$ac_t""yes" 1>&6
7226 else
7227 echo "$ac_t""no" 1>&6
7228 fi
7229
7230
7231
7232
7233 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7234 echo "configure:7235: checking for --enable-commondlg" >&5
7235 no_cache=0
7236 # Check whether --enable-commondlg or --disable-commondlg was given.
7237 if test "${enable_commondlg+set}" = set; then
7238 enableval="$enable_commondlg"
7239
7240 if test "$enableval" = yes; then
7241 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
7242 else
7243 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
7244 fi
7245
7246 else
7247
7248 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7249 if test "x$LINE" != x ; then
7250 eval "DEFAULT_$LINE"
7251 else
7252 no_cache=1
7253 fi
7254
7255 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7256
7257 fi
7258
7259
7260 eval "$ac_cv_use_commondlg"
7261 if test "$no_cache" != 1; then
7262 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7263 fi
7264
7265 if test "$wxUSE_COMMONDLGS" = yes; then
7266 echo "$ac_t""yes" 1>&6
7267 else
7268 echo "$ac_t""no" 1>&6
7269 fi
7270
7271
7272 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7273 echo "configure:7274: checking for --enable-choicedlg" >&5
7274 no_cache=0
7275 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7276 if test "${enable_choicedlg+set}" = set; then
7277 enableval="$enable_choicedlg"
7278
7279 if test "$enableval" = yes; then
7280 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
7281 else
7282 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
7283 fi
7284
7285 else
7286
7287 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7288 if test "x$LINE" != x ; then
7289 eval "DEFAULT_$LINE"
7290 else
7291 no_cache=1
7292 fi
7293
7294 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7295
7296 fi
7297
7298
7299 eval "$ac_cv_use_choicedlg"
7300 if test "$no_cache" != 1; then
7301 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7302 fi
7303
7304 if test "$wxUSE_CHOICEDLG" = yes; then
7305 echo "$ac_t""yes" 1>&6
7306 else
7307 echo "$ac_t""no" 1>&6
7308 fi
7309
7310
7311 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7312 echo "configure:7313: checking for --enable-coldlg" >&5
7313 no_cache=0
7314 # Check whether --enable-coldlg or --disable-coldlg was given.
7315 if test "${enable_coldlg+set}" = set; then
7316 enableval="$enable_coldlg"
7317
7318 if test "$enableval" = yes; then
7319 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
7320 else
7321 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
7322 fi
7323
7324 else
7325
7326 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7327 if test "x$LINE" != x ; then
7328 eval "DEFAULT_$LINE"
7329 else
7330 no_cache=1
7331 fi
7332
7333 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7334
7335 fi
7336
7337
7338 eval "$ac_cv_use_coldlg"
7339 if test "$no_cache" != 1; then
7340 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7341 fi
7342
7343 if test "$wxUSE_COLOURDLG" = yes; then
7344 echo "$ac_t""yes" 1>&6
7345 else
7346 echo "$ac_t""no" 1>&6
7347 fi
7348
7349
7350 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7351 echo "configure:7352: checking for --enable-filedlg" >&5
7352 no_cache=0
7353 # Check whether --enable-filedlg or --disable-filedlg was given.
7354 if test "${enable_filedlg+set}" = set; then
7355 enableval="$enable_filedlg"
7356
7357 if test "$enableval" = yes; then
7358 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
7359 else
7360 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
7361 fi
7362
7363 else
7364
7365 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7366 if test "x$LINE" != x ; then
7367 eval "DEFAULT_$LINE"
7368 else
7369 no_cache=1
7370 fi
7371
7372 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7373
7374 fi
7375
7376
7377 eval "$ac_cv_use_filedlg"
7378 if test "$no_cache" != 1; then
7379 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7380 fi
7381
7382 if test "$wxUSE_FILEDLG" = yes; then
7383 echo "$ac_t""yes" 1>&6
7384 else
7385 echo "$ac_t""no" 1>&6
7386 fi
7387
7388
7389 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7390 echo "configure:7391: checking for --enable-finddlg" >&5
7391 no_cache=0
7392 # Check whether --enable-finddlg or --disable-finddlg was given.
7393 if test "${enable_finddlg+set}" = set; then
7394 enableval="$enable_finddlg"
7395
7396 if test "$enableval" = yes; then
7397 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
7398 else
7399 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
7400 fi
7401
7402 else
7403
7404 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7405 if test "x$LINE" != x ; then
7406 eval "DEFAULT_$LINE"
7407 else
7408 no_cache=1
7409 fi
7410
7411 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7412
7413 fi
7414
7415
7416 eval "$ac_cv_use_finddlg"
7417 if test "$no_cache" != 1; then
7418 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7419 fi
7420
7421 if test "$wxUSE_FINDREPLDLG" = yes; then
7422 echo "$ac_t""yes" 1>&6
7423 else
7424 echo "$ac_t""no" 1>&6
7425 fi
7426
7427
7428 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7429 echo "configure:7430: checking for --enable-fontdlg" >&5
7430 no_cache=0
7431 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7432 if test "${enable_fontdlg+set}" = set; then
7433 enableval="$enable_fontdlg"
7434
7435 if test "$enableval" = yes; then
7436 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
7437 else
7438 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
7439 fi
7440
7441 else
7442
7443 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7444 if test "x$LINE" != x ; then
7445 eval "DEFAULT_$LINE"
7446 else
7447 no_cache=1
7448 fi
7449
7450 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7451
7452 fi
7453
7454
7455 eval "$ac_cv_use_fontdlg"
7456 if test "$no_cache" != 1; then
7457 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7458 fi
7459
7460 if test "$wxUSE_FONTDLG" = yes; then
7461 echo "$ac_t""yes" 1>&6
7462 else
7463 echo "$ac_t""no" 1>&6
7464 fi
7465
7466
7467 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7468 echo "configure:7469: checking for --enable-dirdlg" >&5
7469 no_cache=0
7470 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7471 if test "${enable_dirdlg+set}" = set; then
7472 enableval="$enable_dirdlg"
7473
7474 if test "$enableval" = yes; then
7475 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
7476 else
7477 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
7478 fi
7479
7480 else
7481
7482 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7483 if test "x$LINE" != x ; then
7484 eval "DEFAULT_$LINE"
7485 else
7486 no_cache=1
7487 fi
7488
7489 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7490
7491 fi
7492
7493
7494 eval "$ac_cv_use_dirdlg"
7495 if test "$no_cache" != 1; then
7496 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7497 fi
7498
7499 if test "$wxUSE_DIRDLG" = yes; then
7500 echo "$ac_t""yes" 1>&6
7501 else
7502 echo "$ac_t""no" 1>&6
7503 fi
7504
7505
7506 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7507 echo "configure:7508: checking for --enable-msgdlg" >&5
7508 no_cache=0
7509 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7510 if test "${enable_msgdlg+set}" = set; then
7511 enableval="$enable_msgdlg"
7512
7513 if test "$enableval" = yes; then
7514 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
7515 else
7516 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
7517 fi
7518
7519 else
7520
7521 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7522 if test "x$LINE" != x ; then
7523 eval "DEFAULT_$LINE"
7524 else
7525 no_cache=1
7526 fi
7527
7528 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7529
7530 fi
7531
7532
7533 eval "$ac_cv_use_msgdlg"
7534 if test "$no_cache" != 1; then
7535 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7536 fi
7537
7538 if test "$wxUSE_MSGDLG" = yes; then
7539 echo "$ac_t""yes" 1>&6
7540 else
7541 echo "$ac_t""no" 1>&6
7542 fi
7543
7544
7545 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7546 echo "configure:7547: checking for --enable-numberdlg" >&5
7547 no_cache=0
7548 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7549 if test "${enable_numberdlg+set}" = set; then
7550 enableval="$enable_numberdlg"
7551
7552 if test "$enableval" = yes; then
7553 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
7554 else
7555 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
7556 fi
7557
7558 else
7559
7560 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7561 if test "x$LINE" != x ; then
7562 eval "DEFAULT_$LINE"
7563 else
7564 no_cache=1
7565 fi
7566
7567 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7568
7569 fi
7570
7571
7572 eval "$ac_cv_use_numberdlg"
7573 if test "$no_cache" != 1; then
7574 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7575 fi
7576
7577 if test "$wxUSE_NUMBERDLG" = yes; then
7578 echo "$ac_t""yes" 1>&6
7579 else
7580 echo "$ac_t""no" 1>&6
7581 fi
7582
7583
7584 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7585 echo "configure:7586: checking for --enable-splash" >&5
7586 no_cache=0
7587 # Check whether --enable-splash or --disable-splash was given.
7588 if test "${enable_splash+set}" = set; then
7589 enableval="$enable_splash"
7590
7591 if test "$enableval" = yes; then
7592 ac_cv_use_splash='wxUSE_SPLASH=yes'
7593 else
7594 ac_cv_use_splash='wxUSE_SPLASH=no'
7595 fi
7596
7597 else
7598
7599 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7600 if test "x$LINE" != x ; then
7601 eval "DEFAULT_$LINE"
7602 else
7603 no_cache=1
7604 fi
7605
7606 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7607
7608 fi
7609
7610
7611 eval "$ac_cv_use_splash"
7612 if test "$no_cache" != 1; then
7613 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7614 fi
7615
7616 if test "$wxUSE_SPLASH" = yes; then
7617 echo "$ac_t""yes" 1>&6
7618 else
7619 echo "$ac_t""no" 1>&6
7620 fi
7621
7622
7623 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7624 echo "configure:7625: checking for --enable-textdlg" >&5
7625 no_cache=0
7626 # Check whether --enable-textdlg or --disable-textdlg was given.
7627 if test "${enable_textdlg+set}" = set; then
7628 enableval="$enable_textdlg"
7629
7630 if test "$enableval" = yes; then
7631 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
7632 else
7633 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
7634 fi
7635
7636 else
7637
7638 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7639 if test "x$LINE" != x ; then
7640 eval "DEFAULT_$LINE"
7641 else
7642 no_cache=1
7643 fi
7644
7645 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7646
7647 fi
7648
7649
7650 eval "$ac_cv_use_textdlg"
7651 if test "$no_cache" != 1; then
7652 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7653 fi
7654
7655 if test "$wxUSE_TEXTDLG" = yes; then
7656 echo "$ac_t""yes" 1>&6
7657 else
7658 echo "$ac_t""no" 1>&6
7659 fi
7660
7661
7662 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7663 echo "configure:7664: checking for --enable-tipdlg" >&5
7664 no_cache=0
7665 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7666 if test "${enable_tipdlg+set}" = set; then
7667 enableval="$enable_tipdlg"
7668
7669 if test "$enableval" = yes; then
7670 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
7671 else
7672 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
7673 fi
7674
7675 else
7676
7677 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7678 if test "x$LINE" != x ; then
7679 eval "DEFAULT_$LINE"
7680 else
7681 no_cache=1
7682 fi
7683
7684 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7685
7686 fi
7687
7688
7689 eval "$ac_cv_use_tipdlg"
7690 if test "$no_cache" != 1; then
7691 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7692 fi
7693
7694 if test "$wxUSE_STARTUP_TIPS" = yes; then
7695 echo "$ac_t""yes" 1>&6
7696 else
7697 echo "$ac_t""no" 1>&6
7698 fi
7699
7700
7701 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7702 echo "configure:7703: checking for --enable-progressdlg" >&5
7703 no_cache=0
7704 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7705 if test "${enable_progressdlg+set}" = set; then
7706 enableval="$enable_progressdlg"
7707
7708 if test "$enableval" = yes; then
7709 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
7710 else
7711 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
7712 fi
7713
7714 else
7715
7716 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7717 if test "x$LINE" != x ; then
7718 eval "DEFAULT_$LINE"
7719 else
7720 no_cache=1
7721 fi
7722
7723 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7724
7725 fi
7726
7727
7728 eval "$ac_cv_use_progressdlg"
7729 if test "$no_cache" != 1; then
7730 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7731 fi
7732
7733 if test "$wxUSE_PROGRESSDLG" = yes; then
7734 echo "$ac_t""yes" 1>&6
7735 else
7736 echo "$ac_t""no" 1>&6
7737 fi
7738
7739
7740 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7741 echo "configure:7742: checking for --enable-wizarddlg" >&5
7742 no_cache=0
7743 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7744 if test "${enable_wizarddlg+set}" = set; then
7745 enableval="$enable_wizarddlg"
7746
7747 if test "$enableval" = yes; then
7748 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
7749 else
7750 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
7751 fi
7752
7753 else
7754
7755 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7756 if test "x$LINE" != x ; then
7757 eval "DEFAULT_$LINE"
7758 else
7759 no_cache=1
7760 fi
7761
7762 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7763
7764 fi
7765
7766
7767 eval "$ac_cv_use_wizarddlg"
7768 if test "$no_cache" != 1; then
7769 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7770 fi
7771
7772 if test "$wxUSE_WIZARDDLG" = yes; then
7773 echo "$ac_t""yes" 1>&6
7774 else
7775 echo "$ac_t""no" 1>&6
7776 fi
7777
7778
7779
7780
7781 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7782 echo "configure:7783: checking for --enable-menus" >&5
7783 no_cache=0
7784 # Check whether --enable-menus or --disable-menus was given.
7785 if test "${enable_menus+set}" = set; then
7786 enableval="$enable_menus"
7787
7788 if test "$enableval" = yes; then
7789 ac_cv_use_menus='wxUSE_MENUS=yes'
7790 else
7791 ac_cv_use_menus='wxUSE_MENUS=no'
7792 fi
7793
7794 else
7795
7796 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7797 if test "x$LINE" != x ; then
7798 eval "DEFAULT_$LINE"
7799 else
7800 no_cache=1
7801 fi
7802
7803 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7804
7805 fi
7806
7807
7808 eval "$ac_cv_use_menus"
7809 if test "$no_cache" != 1; then
7810 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7811 fi
7812
7813 if test "$wxUSE_MENUS" = yes; then
7814 echo "$ac_t""yes" 1>&6
7815 else
7816 echo "$ac_t""no" 1>&6
7817 fi
7818
7819
7820 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7821 echo "configure:7822: checking for --enable-miniframe" >&5
7822 no_cache=0
7823 # Check whether --enable-miniframe or --disable-miniframe was given.
7824 if test "${enable_miniframe+set}" = set; then
7825 enableval="$enable_miniframe"
7826
7827 if test "$enableval" = yes; then
7828 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
7829 else
7830 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
7831 fi
7832
7833 else
7834
7835 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7836 if test "x$LINE" != x ; then
7837 eval "DEFAULT_$LINE"
7838 else
7839 no_cache=1
7840 fi
7841
7842 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7843
7844 fi
7845
7846
7847 eval "$ac_cv_use_miniframe"
7848 if test "$no_cache" != 1; then
7849 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7850 fi
7851
7852 if test "$wxUSE_MINIFRAME" = yes; then
7853 echo "$ac_t""yes" 1>&6
7854 else
7855 echo "$ac_t""no" 1>&6
7856 fi
7857
7858
7859 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7860 echo "configure:7861: checking for --enable-tooltips" >&5
7861 no_cache=0
7862 # Check whether --enable-tooltips or --disable-tooltips was given.
7863 if test "${enable_tooltips+set}" = set; then
7864 enableval="$enable_tooltips"
7865
7866 if test "$enableval" = yes; then
7867 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
7868 else
7869 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
7870 fi
7871
7872 else
7873
7874 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7875 if test "x$LINE" != x ; then
7876 eval "DEFAULT_$LINE"
7877 else
7878 no_cache=1
7879 fi
7880
7881 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7882
7883 fi
7884
7885
7886 eval "$ac_cv_use_tooltips"
7887 if test "$no_cache" != 1; then
7888 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7889 fi
7890
7891 if test "$wxUSE_TOOLTIPS" = yes; then
7892 echo "$ac_t""yes" 1>&6
7893 else
7894 echo "$ac_t""no" 1>&6
7895 fi
7896
7897
7898 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7899 echo "configure:7900: checking for --enable-splines" >&5
7900 no_cache=0
7901 # Check whether --enable-splines or --disable-splines was given.
7902 if test "${enable_splines+set}" = set; then
7903 enableval="$enable_splines"
7904
7905 if test "$enableval" = yes; then
7906 ac_cv_use_splines='wxUSE_SPLINES=yes'
7907 else
7908 ac_cv_use_splines='wxUSE_SPLINES=no'
7909 fi
7910
7911 else
7912
7913 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7914 if test "x$LINE" != x ; then
7915 eval "DEFAULT_$LINE"
7916 else
7917 no_cache=1
7918 fi
7919
7920 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7921
7922 fi
7923
7924
7925 eval "$ac_cv_use_splines"
7926 if test "$no_cache" != 1; then
7927 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7928 fi
7929
7930 if test "$wxUSE_SPLINES" = yes; then
7931 echo "$ac_t""yes" 1>&6
7932 else
7933 echo "$ac_t""no" 1>&6
7934 fi
7935
7936
7937 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7938 echo "configure:7939: checking for --enable-validators" >&5
7939 no_cache=0
7940 # Check whether --enable-validators or --disable-validators was given.
7941 if test "${enable_validators+set}" = set; then
7942 enableval="$enable_validators"
7943
7944 if test "$enableval" = yes; then
7945 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
7946 else
7947 ac_cv_use_validators='wxUSE_VALIDATORS=no'
7948 fi
7949
7950 else
7951
7952 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7953 if test "x$LINE" != x ; then
7954 eval "DEFAULT_$LINE"
7955 else
7956 no_cache=1
7957 fi
7958
7959 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7960
7961 fi
7962
7963
7964 eval "$ac_cv_use_validators"
7965 if test "$no_cache" != 1; then
7966 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7967 fi
7968
7969 if test "$wxUSE_VALIDATORS" = yes; then
7970 echo "$ac_t""yes" 1>&6
7971 else
7972 echo "$ac_t""no" 1>&6
7973 fi
7974
7975
7976 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7977 echo "configure:7978: checking for --enable-busyinfo" >&5
7978 no_cache=0
7979 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7980 if test "${enable_busyinfo+set}" = set; then
7981 enableval="$enable_busyinfo"
7982
7983 if test "$enableval" = yes; then
7984 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
7985 else
7986 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
7987 fi
7988
7989 else
7990
7991 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7992 if test "x$LINE" != x ; then
7993 eval "DEFAULT_$LINE"
7994 else
7995 no_cache=1
7996 fi
7997
7998 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7999
8000 fi
8001
8002
8003 eval "$ac_cv_use_busyinfo"
8004 if test "$no_cache" != 1; then
8005 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8006 fi
8007
8008 if test "$wxUSE_BUSYINFO" = yes; then
8009 echo "$ac_t""yes" 1>&6
8010 else
8011 echo "$ac_t""no" 1>&6
8012 fi
8013
8014
8015 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
8016 echo "configure:8017: checking for --enable-joystick" >&5
8017 no_cache=0
8018 # Check whether --enable-joystick or --disable-joystick was given.
8019 if test "${enable_joystick+set}" = set; then
8020 enableval="$enable_joystick"
8021
8022 if test "$enableval" = yes; then
8023 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8024 else
8025 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8026 fi
8027
8028 else
8029
8030 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8031 if test "x$LINE" != x ; then
8032 eval "DEFAULT_$LINE"
8033 else
8034 no_cache=1
8035 fi
8036
8037 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8038
8039 fi
8040
8041
8042 eval "$ac_cv_use_joystick"
8043 if test "$no_cache" != 1; then
8044 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8045 fi
8046
8047 if test "$wxUSE_JOYSTICK" = yes; then
8048 echo "$ac_t""yes" 1>&6
8049 else
8050 echo "$ac_t""no" 1>&6
8051 fi
8052
8053
8054 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8055 echo "configure:8056: checking for --enable-metafile" >&5
8056 no_cache=0
8057 # Check whether --enable-metafile or --disable-metafile was given.
8058 if test "${enable_metafile+set}" = set; then
8059 enableval="$enable_metafile"
8060
8061 if test "$enableval" = yes; then
8062 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8063 else
8064 ac_cv_use_metafile='wxUSE_METAFILE=no'
8065 fi
8066
8067 else
8068
8069 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8070 if test "x$LINE" != x ; then
8071 eval "DEFAULT_$LINE"
8072 else
8073 no_cache=1
8074 fi
8075
8076 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8077
8078 fi
8079
8080
8081 eval "$ac_cv_use_metafile"
8082 if test "$no_cache" != 1; then
8083 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8084 fi
8085
8086 if test "$wxUSE_METAFILE" = yes; then
8087 echo "$ac_t""yes" 1>&6
8088 else
8089 echo "$ac_t""no" 1>&6
8090 fi
8091
8092
8093 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8094 echo "configure:8095: checking for --enable-dragimage" >&5
8095 no_cache=0
8096 # Check whether --enable-dragimage or --disable-dragimage was given.
8097 if test "${enable_dragimage+set}" = set; then
8098 enableval="$enable_dragimage"
8099
8100 if test "$enableval" = yes; then
8101 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
8102 else
8103 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
8104 fi
8105
8106 else
8107
8108 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8109 if test "x$LINE" != x ; then
8110 eval "DEFAULT_$LINE"
8111 else
8112 no_cache=1
8113 fi
8114
8115 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8116
8117 fi
8118
8119
8120 eval "$ac_cv_use_dragimage"
8121 if test "$no_cache" != 1; then
8122 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8123 fi
8124
8125 if test "$wxUSE_DRAGIMAGE" = yes; then
8126 echo "$ac_t""yes" 1>&6
8127 else
8128 echo "$ac_t""no" 1>&6
8129 fi
8130
8131
8132
8133
8134 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8135 echo "configure:8136: checking for --enable-palette" >&5
8136 no_cache=0
8137 # Check whether --enable-palette or --disable-palette was given.
8138 if test "${enable_palette+set}" = set; then
8139 enableval="$enable_palette"
8140
8141 if test "$enableval" = yes; then
8142 ac_cv_use_palette='wxUSE_PALETTE=yes'
8143 else
8144 ac_cv_use_palette='wxUSE_PALETTE=no'
8145 fi
8146
8147 else
8148
8149 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8150 if test "x$LINE" != x ; then
8151 eval "DEFAULT_$LINE"
8152 else
8153 no_cache=1
8154 fi
8155
8156 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8157
8158 fi
8159
8160
8161 eval "$ac_cv_use_palette"
8162 if test "$no_cache" != 1; then
8163 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8164 fi
8165
8166 if test "$wxUSE_PALETTE" = yes; then
8167 echo "$ac_t""yes" 1>&6
8168 else
8169 echo "$ac_t""no" 1>&6
8170 fi
8171
8172
8173 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8174 echo "configure:8175: checking for --enable-image" >&5
8175 no_cache=0
8176 # Check whether --enable-image or --disable-image was given.
8177 if test "${enable_image+set}" = set; then
8178 enableval="$enable_image"
8179
8180 if test "$enableval" = yes; then
8181 ac_cv_use_image='wxUSE_IMAGE=yes'
8182 else
8183 ac_cv_use_image='wxUSE_IMAGE=no'
8184 fi
8185
8186 else
8187
8188 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8189 if test "x$LINE" != x ; then
8190 eval "DEFAULT_$LINE"
8191 else
8192 no_cache=1
8193 fi
8194
8195 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8196
8197 fi
8198
8199
8200 eval "$ac_cv_use_image"
8201 if test "$no_cache" != 1; then
8202 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8203 fi
8204
8205 if test "$wxUSE_IMAGE" = yes; then
8206 echo "$ac_t""yes" 1>&6
8207 else
8208 echo "$ac_t""no" 1>&6
8209 fi
8210
8211
8212 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8213 echo "configure:8214: checking for --enable-gif" >&5
8214 no_cache=0
8215 # Check whether --enable-gif or --disable-gif was given.
8216 if test "${enable_gif+set}" = set; then
8217 enableval="$enable_gif"
8218
8219 if test "$enableval" = yes; then
8220 ac_cv_use_gif='wxUSE_GIF=yes'
8221 else
8222 ac_cv_use_gif='wxUSE_GIF=no'
8223 fi
8224
8225 else
8226
8227 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8228 if test "x$LINE" != x ; then
8229 eval "DEFAULT_$LINE"
8230 else
8231 no_cache=1
8232 fi
8233
8234 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8235
8236 fi
8237
8238
8239 eval "$ac_cv_use_gif"
8240 if test "$no_cache" != 1; then
8241 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8242 fi
8243
8244 if test "$wxUSE_GIF" = yes; then
8245 echo "$ac_t""yes" 1>&6
8246 else
8247 echo "$ac_t""no" 1>&6
8248 fi
8249
8250
8251 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8252 echo "configure:8253: checking for --enable-pcx" >&5
8253 no_cache=0
8254 # Check whether --enable-pcx or --disable-pcx was given.
8255 if test "${enable_pcx+set}" = set; then
8256 enableval="$enable_pcx"
8257
8258 if test "$enableval" = yes; then
8259 ac_cv_use_pcx='wxUSE_PCX=yes'
8260 else
8261 ac_cv_use_pcx='wxUSE_PCX=no'
8262 fi
8263
8264 else
8265
8266 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8267 if test "x$LINE" != x ; then
8268 eval "DEFAULT_$LINE"
8269 else
8270 no_cache=1
8271 fi
8272
8273 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8274
8275 fi
8276
8277
8278 eval "$ac_cv_use_pcx"
8279 if test "$no_cache" != 1; then
8280 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8281 fi
8282
8283 if test "$wxUSE_PCX" = yes; then
8284 echo "$ac_t""yes" 1>&6
8285 else
8286 echo "$ac_t""no" 1>&6
8287 fi
8288
8289
8290 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8291 echo "configure:8292: checking for --enable-pnm" >&5
8292 no_cache=0
8293 # Check whether --enable-pnm or --disable-pnm was given.
8294 if test "${enable_pnm+set}" = set; then
8295 enableval="$enable_pnm"
8296
8297 if test "$enableval" = yes; then
8298 ac_cv_use_pnm='wxUSE_PNM=yes'
8299 else
8300 ac_cv_use_pnm='wxUSE_PNM=no'
8301 fi
8302
8303 else
8304
8305 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8306 if test "x$LINE" != x ; then
8307 eval "DEFAULT_$LINE"
8308 else
8309 no_cache=1
8310 fi
8311
8312 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8313
8314 fi
8315
8316
8317 eval "$ac_cv_use_pnm"
8318 if test "$no_cache" != 1; then
8319 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8320 fi
8321
8322 if test "$wxUSE_PNM" = yes; then
8323 echo "$ac_t""yes" 1>&6
8324 else
8325 echo "$ac_t""no" 1>&6
8326 fi
8327
8328
8329 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8330 echo "configure:8331: checking for --enable-xpm" >&5
8331 no_cache=0
8332 # Check whether --enable-xpm or --disable-xpm was given.
8333 if test "${enable_xpm+set}" = set; then
8334 enableval="$enable_xpm"
8335
8336 if test "$enableval" = yes; then
8337 ac_cv_use_xpm='wxUSE_XPM=yes'
8338 else
8339 ac_cv_use_xpm='wxUSE_XPM=no'
8340 fi
8341
8342 else
8343
8344 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8345 if test "x$LINE" != x ; then
8346 eval "DEFAULT_$LINE"
8347 else
8348 no_cache=1
8349 fi
8350
8351 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8352
8353 fi
8354
8355
8356 eval "$ac_cv_use_xpm"
8357 if test "$no_cache" != 1; then
8358 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8359 fi
8360
8361 if test "$wxUSE_XPM" = yes; then
8362 echo "$ac_t""yes" 1>&6
8363 else
8364 echo "$ac_t""no" 1>&6
8365 fi
8366
8367
8368 fi
8369
8370
8371 echo "saving argument cache $wx_arg_cache_file"
8372 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
8373
8374
8375
8376 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8377 echo "configure:8378: checking for toolkit" >&5
8378
8379 if test "$wxUSE_GUI" = "yes"; then
8380
8381 if test "$USE_BEOS" = 1; then
8382 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8383 fi
8384
8385 if test "$TOOLKIT_GIVEN" = 1; then
8386 for toolkit in `echo $ALL_TOOLKITS`; do
8387 var=wxUSE_$toolkit
8388 eval "value=\$${var}"
8389 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
8390 done
8391 else
8392 for toolkit in `echo $ALL_TOOLKITS`; do
8393 if test "$has_toolkit_in_cache" != 1; then
8394 var=DEFAULT_DEFAULT_wxUSE_$toolkit
8395 else
8396 var=DEFAULT_wxUSE_$toolkit
8397 fi
8398 eval "wxUSE_$toolkit=\$${var}"
8399 done
8400 fi
8401
8402 NUM_TOOLKITS=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8403 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0}`
8404
8405 case "${host}" in
8406 *-pc-os2_emx | *-pc-os2-emx )
8407 # PATH_IFS is autodetected by OS/2's configure (usually ';')
8408 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8409 LEX_STEM="lexyy"
8410 ;;
8411 *)
8412 PATH_IFS=':'
8413 LEX_STEM="lex.yy"
8414 ;;
8415 esac
8416
8417 case "$NUM_TOOLKITS" in
8418 1)
8419 ;;
8420 0)
8421 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8422 ;;
8423 *)
8424 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8425 esac
8426
8427 for toolkit in `echo $ALL_TOOLKITS`; do
8428 var=wxUSE_$toolkit
8429 eval "value=\$${var}"
8430 if test "x$value" != x; then
8431 cache_var=CACHE_$toolkit
8432 eval "cache=\$${cache_var}"
8433 if test "$cache" = 1; then
8434 echo "$var=$value" >> ${wx_arg_cache_file}
8435 fi
8436 if test "$value" = 1; then
8437 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
8438 echo "$ac_t""$toolkit_echo" 1>&6
8439 fi
8440 fi
8441 done
8442 else
8443 PATH_IFS=':'
8444 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8445 fi
8446
8447
8448 cat > confcache <<\EOF
8449 # This file is a shell script that caches the results of configure
8450 # tests run on this system so they can be shared between configure
8451 # scripts and configure runs. It is not useful on other systems.
8452 # If it contains results you don't want to keep, you may remove or edit it.
8453 #
8454 # By default, configure uses ./config.cache as the cache file,
8455 # creating it if it does not exist already. You can give configure
8456 # the --cache-file=FILE option to use a different cache file; that is
8457 # what configure does when it calls configure scripts in
8458 # subdirectories, so they share the cache.
8459 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8460 # config.status only pays attention to the cache file if you give it the
8461 # --recheck option to rerun configure.
8462 #
8463 EOF
8464 # The following way of writing the cache mishandles newlines in values,
8465 # but we know of no workaround that is simple, portable, and efficient.
8466 # So, don't put newlines in cache variables' values.
8467 # Ultrix sh set writes to stderr and can't be redirected directly,
8468 # and sets the high bit in the cache file unless we assign to the vars.
8469 (set) 2>&1 |
8470 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8471 *ac_space=\ *)
8472 # `set' does not quote correctly, so add quotes (double-quote substitution
8473 # turns \\\\ into \\, and sed turns \\ into \).
8474 sed -n \
8475 -e "s/'/'\\\\''/g" \
8476 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8477 ;;
8478 *)
8479 # `set' quotes correctly as required by POSIX, so do not add quotes.
8480 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8481 ;;
8482 esac >> confcache
8483 if cmp -s $cache_file confcache; then
8484 :
8485 else
8486 if test -w $cache_file; then
8487 echo "updating cache $cache_file"
8488 cat confcache > $cache_file
8489 else
8490 echo "not updating unwritable cache $cache_file"
8491 fi
8492 fi
8493 rm -f confcache
8494
8495
8496 if test "$build" != "$host" ; then
8497 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 ; then
8498 CC=$host_alias-gcc
8499 CXX=$host_alias-c++
8500 AR=$host_alias-ar
8501 RANLIB=$host_alias-ranlib
8502 DLLTOOL=$host_alias-dlltool
8503 RESCOMP=$host_alias-windres
8504 LD=$host_alias-ld
8505 NM=$host_alias-nm
8506 STRIP=$host_alias-strip
8507 else
8508 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8509 fi
8510 fi
8511
8512 # Extract the first word of "gcc", so it can be a program name with args.
8513 set dummy gcc; ac_word=$2
8514 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8515 echo "configure:8516: checking for $ac_word" >&5
8516 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8517 echo $ac_n "(cached) $ac_c" 1>&6
8518 else
8519 if test -n "$CC"; then
8520 ac_cv_prog_CC="$CC" # Let the user override the test.
8521 else
8522 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8523 ac_dummy="$PATH"
8524 for ac_dir in $ac_dummy; do
8525 test -z "$ac_dir" && ac_dir=.
8526 if test -f $ac_dir/$ac_word; then
8527 ac_cv_prog_CC="gcc"
8528 break
8529 fi
8530 done
8531 IFS="$ac_save_ifs"
8532 fi
8533 fi
8534 CC="$ac_cv_prog_CC"
8535 if test -n "$CC"; then
8536 echo "$ac_t""$CC" 1>&6
8537 else
8538 echo "$ac_t""no" 1>&6
8539 fi
8540
8541 if test -z "$CC"; then
8542 # Extract the first word of "cc", so it can be a program name with args.
8543 set dummy cc; ac_word=$2
8544 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8545 echo "configure:8546: checking for $ac_word" >&5
8546 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8547 echo $ac_n "(cached) $ac_c" 1>&6
8548 else
8549 if test -n "$CC"; then
8550 ac_cv_prog_CC="$CC" # Let the user override the test.
8551 else
8552 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8553 ac_prog_rejected=no
8554 ac_dummy="$PATH"
8555 for ac_dir in $ac_dummy; do
8556 test -z "$ac_dir" && ac_dir=.
8557 if test -f $ac_dir/$ac_word; then
8558 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8559 ac_prog_rejected=yes
8560 continue
8561 fi
8562 ac_cv_prog_CC="cc"
8563 break
8564 fi
8565 done
8566 IFS="$ac_save_ifs"
8567 if test $ac_prog_rejected = yes; then
8568 # We found a bogon in the path, so make sure we never use it.
8569 set dummy $ac_cv_prog_CC
8570 shift
8571 if test $# -gt 0; then
8572 # We chose a different compiler from the bogus one.
8573 # However, it has the same basename, so the bogon will be chosen
8574 # first if we set CC to just the basename; use the full file name.
8575 shift
8576 set dummy "$ac_dir/$ac_word" "$@"
8577 shift
8578 ac_cv_prog_CC="$@"
8579 fi
8580 fi
8581 fi
8582 fi
8583 CC="$ac_cv_prog_CC"
8584 if test -n "$CC"; then
8585 echo "$ac_t""$CC" 1>&6
8586 else
8587 echo "$ac_t""no" 1>&6
8588 fi
8589
8590 if test -z "$CC"; then
8591 case "`uname -s`" in
8592 *win32* | *WIN32*)
8593 # Extract the first word of "cl", so it can be a program name with args.
8594 set dummy cl; ac_word=$2
8595 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8596 echo "configure:8597: checking for $ac_word" >&5
8597 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8598 echo $ac_n "(cached) $ac_c" 1>&6
8599 else
8600 if test -n "$CC"; then
8601 ac_cv_prog_CC="$CC" # Let the user override the test.
8602 else
8603 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8604 ac_dummy="$PATH"
8605 for ac_dir in $ac_dummy; do
8606 test -z "$ac_dir" && ac_dir=.
8607 if test -f $ac_dir/$ac_word; then
8608 ac_cv_prog_CC="cl"
8609 break
8610 fi
8611 done
8612 IFS="$ac_save_ifs"
8613 fi
8614 fi
8615 CC="$ac_cv_prog_CC"
8616 if test -n "$CC"; then
8617 echo "$ac_t""$CC" 1>&6
8618 else
8619 echo "$ac_t""no" 1>&6
8620 fi
8621 ;;
8622 esac
8623 fi
8624 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8625 fi
8626
8627 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8628 echo "configure:8629: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8629
8630 ac_ext=c
8631 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8632 ac_cpp='$CPP $CPPFLAGS'
8633 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8634 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8635 cross_compiling=$ac_cv_prog_cc_cross
8636
8637 cat > conftest.$ac_ext << EOF
8638
8639 #line 8640 "configure"
8640 #include "confdefs.h"
8641
8642 main(){return(0);}
8643 EOF
8644 if { (eval echo configure:8645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8645 ac_cv_prog_cc_works=yes
8646 # If we can't run a trivial program, we are probably using a cross compiler.
8647 if (./conftest; exit) 2>/dev/null; then
8648 ac_cv_prog_cc_cross=no
8649 else
8650 ac_cv_prog_cc_cross=yes
8651 fi
8652 else
8653 echo "configure: failed program was:" >&5
8654 cat conftest.$ac_ext >&5
8655 ac_cv_prog_cc_works=no
8656 fi
8657 rm -fr conftest*
8658 ac_ext=c
8659 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8660 ac_cpp='$CPP $CPPFLAGS'
8661 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8662 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8663 cross_compiling=$ac_cv_prog_cc_cross
8664
8665 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8666 if test $ac_cv_prog_cc_works = no; then
8667 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8668 fi
8669 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8670 echo "configure:8671: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8671 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8672 cross_compiling=$ac_cv_prog_cc_cross
8673
8674 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8675 echo "configure:8676: checking whether we are using GNU C" >&5
8676 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8677 echo $ac_n "(cached) $ac_c" 1>&6
8678 else
8679 cat > conftest.c <<EOF
8680 #ifdef __GNUC__
8681 yes;
8682 #endif
8683 EOF
8684 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:8685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
8685 ac_cv_prog_gcc=yes
8686 else
8687 ac_cv_prog_gcc=no
8688 fi
8689 fi
8690
8691 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8692
8693 if test $ac_cv_prog_gcc = yes; then
8694 GCC=yes
8695 else
8696 GCC=
8697 fi
8698
8699 ac_test_CFLAGS="${CFLAGS+set}"
8700 ac_save_CFLAGS="$CFLAGS"
8701 CFLAGS=
8702 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8703 echo "configure:8704: checking whether ${CC-cc} accepts -g" >&5
8704 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8705 echo $ac_n "(cached) $ac_c" 1>&6
8706 else
8707 echo 'void f(){}' > conftest.c
8708 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8709 ac_cv_prog_cc_g=yes
8710 else
8711 ac_cv_prog_cc_g=no
8712 fi
8713 rm -f conftest*
8714
8715 fi
8716
8717 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8718 if test "$ac_test_CFLAGS" = set; then
8719 CFLAGS="$ac_save_CFLAGS"
8720 elif test $ac_cv_prog_cc_g = yes; then
8721 if test "$GCC" = yes; then
8722 CFLAGS="-g -O2"
8723 else
8724 CFLAGS="-g"
8725 fi
8726 else
8727 if test "$GCC" = yes; then
8728 CFLAGS="-O2"
8729 else
8730 CFLAGS=
8731 fi
8732 fi
8733
8734
8735 CFLAGS=`echo "$CFLAGS" | sed 's/-g//g'`
8736
8737 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8738 echo "configure:8739: checking how to run the C preprocessor" >&5
8739 # On Suns, sometimes $CPP names a directory.
8740 if test -n "$CPP" && test -d "$CPP"; then
8741 CPP=
8742 fi
8743 if test -z "$CPP"; then
8744 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8745 echo $ac_n "(cached) $ac_c" 1>&6
8746 else
8747 # This must be in double quotes, not single quotes, because CPP may get
8748 # substituted into the Makefile and "${CC-cc}" will confuse make.
8749 CPP="${CC-cc} -E"
8750 # On the NeXT, cc -E runs the code through the compiler's parser,
8751 # not just through cpp.
8752 cat > conftest.$ac_ext <<EOF
8753 #line 8754 "configure"
8754 #include "confdefs.h"
8755 #include <assert.h>
8756 Syntax Error
8757 EOF
8758 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8759 { (eval echo configure:8760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8760 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8761 if test -z "$ac_err"; then
8762 :
8763 else
8764 echo "$ac_err" >&5
8765 echo "configure: failed program was:" >&5
8766 cat conftest.$ac_ext >&5
8767 rm -rf conftest*
8768 CPP="${CC-cc} -E -traditional-cpp"
8769 cat > conftest.$ac_ext <<EOF
8770 #line 8771 "configure"
8771 #include "confdefs.h"
8772 #include <assert.h>
8773 Syntax Error
8774 EOF
8775 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8776 { (eval echo configure:8777: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8777 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8778 if test -z "$ac_err"; then
8779 :
8780 else
8781 echo "$ac_err" >&5
8782 echo "configure: failed program was:" >&5
8783 cat conftest.$ac_ext >&5
8784 rm -rf conftest*
8785 CPP="${CC-cc} -nologo -E"
8786 cat > conftest.$ac_ext <<EOF
8787 #line 8788 "configure"
8788 #include "confdefs.h"
8789 #include <assert.h>
8790 Syntax Error
8791 EOF
8792 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8793 { (eval echo configure:8794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8794 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8795 if test -z "$ac_err"; then
8796 :
8797 else
8798 echo "$ac_err" >&5
8799 echo "configure: failed program was:" >&5
8800 cat conftest.$ac_ext >&5
8801 rm -rf conftest*
8802 CPP=/lib/cpp
8803 fi
8804 rm -f conftest*
8805 fi
8806 rm -f conftest*
8807 fi
8808 rm -f conftest*
8809 ac_cv_prog_CPP="$CPP"
8810 fi
8811 CPP="$ac_cv_prog_CPP"
8812 else
8813 ac_cv_prog_CPP="$CPP"
8814 fi
8815 echo "$ac_t""$CPP" 1>&6
8816
8817 if test $ac_cv_prog_gcc = yes; then
8818 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8819 echo "configure:8820: checking whether ${CC-cc} needs -traditional" >&5
8820 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8821 echo $ac_n "(cached) $ac_c" 1>&6
8822 else
8823 ac_pattern="Autoconf.*'x'"
8824 cat > conftest.$ac_ext <<EOF
8825 #line 8826 "configure"
8826 #include "confdefs.h"
8827 #include <sgtty.h>
8828 Autoconf TIOCGETP
8829 EOF
8830 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8831 egrep "$ac_pattern" >/dev/null 2>&1; then
8832 rm -rf conftest*
8833 ac_cv_prog_gcc_traditional=yes
8834 else
8835 rm -rf conftest*
8836 ac_cv_prog_gcc_traditional=no
8837 fi
8838 rm -f conftest*
8839
8840
8841 if test $ac_cv_prog_gcc_traditional = no; then
8842 cat > conftest.$ac_ext <<EOF
8843 #line 8844 "configure"
8844 #include "confdefs.h"
8845 #include <termio.h>
8846 Autoconf TCGETA
8847 EOF
8848 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8849 egrep "$ac_pattern" >/dev/null 2>&1; then
8850 rm -rf conftest*
8851 ac_cv_prog_gcc_traditional=yes
8852 fi
8853 rm -f conftest*
8854
8855 fi
8856 fi
8857
8858 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8859 if test $ac_cv_prog_gcc_traditional = yes; then
8860 CC="$CC -traditional"
8861 fi
8862 fi
8863
8864
8865
8866 ac_ext=C
8867 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8868 ac_cpp='$CXXCPP $CPPFLAGS'
8869 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8870 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8871 cross_compiling=$ac_cv_prog_cxx_cross
8872
8873
8874 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
8875 do
8876 # Extract the first word of "$ac_prog", so it can be a program name with args.
8877 set dummy $ac_prog; ac_word=$2
8878 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8879 echo "configure:8880: checking for $ac_word" >&5
8880 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8881 echo $ac_n "(cached) $ac_c" 1>&6
8882 else
8883 if test -n "$CXX"; then
8884 ac_cv_prog_CXX="$CXX" # Let the user override the test.
8885 else
8886 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8887 ac_dummy="$PATH"
8888 for ac_dir in $ac_dummy; do
8889 test -z "$ac_dir" && ac_dir=.
8890 if test -f $ac_dir/$ac_word; then
8891 ac_cv_prog_CXX="$ac_prog"
8892 break
8893 fi
8894 done
8895 IFS="$ac_save_ifs"
8896 fi
8897 fi
8898 CXX="$ac_cv_prog_CXX"
8899 if test -n "$CXX"; then
8900 echo "$ac_t""$CXX" 1>&6
8901 else
8902 echo "$ac_t""no" 1>&6
8903 fi
8904
8905 test -n "$CXX" && break
8906 done
8907 test -n "$CXX" || CXX="gcc"
8908
8909
8910 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8911 echo "configure:8912: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8912
8913 ac_ext=C
8914 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8915 ac_cpp='$CXXCPP $CPPFLAGS'
8916 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8917 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8918 cross_compiling=$ac_cv_prog_cxx_cross
8919
8920 cat > conftest.$ac_ext << EOF
8921
8922 #line 8923 "configure"
8923 #include "confdefs.h"
8924
8925 int main(){return(0);}
8926 EOF
8927 if { (eval echo configure:8928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8928 ac_cv_prog_cxx_works=yes
8929 # If we can't run a trivial program, we are probably using a cross compiler.
8930 if (./conftest; exit) 2>/dev/null; then
8931 ac_cv_prog_cxx_cross=no
8932 else
8933 ac_cv_prog_cxx_cross=yes
8934 fi
8935 else
8936 echo "configure: failed program was:" >&5
8937 cat conftest.$ac_ext >&5
8938 ac_cv_prog_cxx_works=no
8939 fi
8940 rm -fr conftest*
8941 ac_ext=C
8942 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8943 ac_cpp='$CXXCPP $CPPFLAGS'
8944 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8945 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8946 cross_compiling=$ac_cv_prog_cxx_cross
8947
8948 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8949 if test $ac_cv_prog_cxx_works = no; then
8950 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8951 fi
8952 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8953 echo "configure:8954: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8954 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8955 cross_compiling=$ac_cv_prog_cxx_cross
8956
8957 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8958 echo "configure:8959: checking whether we are using GNU C++" >&5
8959 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8960 echo $ac_n "(cached) $ac_c" 1>&6
8961 else
8962 cat > conftest.C <<EOF
8963 #ifdef __GNUC__
8964 yes;
8965 #endif
8966 EOF
8967 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:8968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
8968 ac_cv_prog_gxx=yes
8969 else
8970 ac_cv_prog_gxx=no
8971 fi
8972 fi
8973
8974 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8975
8976 if test $ac_cv_prog_gxx = yes; then
8977 GXX=yes
8978 else
8979 GXX=
8980 fi
8981
8982 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8983 ac_save_CXXFLAGS="$CXXFLAGS"
8984 CXXFLAGS=
8985 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8986 echo "configure:8987: checking whether ${CXX-g++} accepts -g" >&5
8987 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8988 echo $ac_n "(cached) $ac_c" 1>&6
8989 else
8990 echo 'void f(){}' > conftest.cc
8991 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8992 ac_cv_prog_cxx_g=yes
8993 else
8994 ac_cv_prog_cxx_g=no
8995 fi
8996 rm -f conftest*
8997
8998 fi
8999
9000 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9001 if test "$ac_test_CXXFLAGS" = set; then
9002 CXXFLAGS="$ac_save_CXXFLAGS"
9003 elif test $ac_cv_prog_cxx_g = yes; then
9004 if test "$GXX" = yes; then
9005 CXXFLAGS="-g -O2"
9006 else
9007 CXXFLAGS="-g"
9008 fi
9009 else
9010 if test "$GXX" = yes; then
9011 CXXFLAGS="-O2"
9012 else
9013 CXXFLAGS=
9014 fi
9015 fi
9016
9017
9018 CXXFLAGS=`echo "$CXXFLAGS" | sed 's/-g//g'`
9019
9020 ac_ext=c
9021 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9022 ac_cpp='$CPP $CPPFLAGS'
9023 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9024 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9025 cross_compiling=$ac_cv_prog_cc_cross
9026
9027
9028 # Extract the first word of "ranlib", so it can be a program name with args.
9029 set dummy ranlib; ac_word=$2
9030 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9031 echo "configure:9032: checking for $ac_word" >&5
9032 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9033 echo $ac_n "(cached) $ac_c" 1>&6
9034 else
9035 if test -n "$RANLIB"; then
9036 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9037 else
9038 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9039 ac_dummy="$PATH"
9040 for ac_dir in $ac_dummy; do
9041 test -z "$ac_dir" && ac_dir=.
9042 if test -f $ac_dir/$ac_word; then
9043 ac_cv_prog_RANLIB="ranlib"
9044 break
9045 fi
9046 done
9047 IFS="$ac_save_ifs"
9048 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
9049 fi
9050 fi
9051 RANLIB="$ac_cv_prog_RANLIB"
9052 if test -n "$RANLIB"; then
9053 echo "$ac_t""$RANLIB" 1>&6
9054 else
9055 echo "$ac_t""no" 1>&6
9056 fi
9057
9058
9059 # Extract the first word of "ar", so it can be a program name with args.
9060 set dummy ar; ac_word=$2
9061 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9062 echo "configure:9063: checking for $ac_word" >&5
9063 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9064 echo $ac_n "(cached) $ac_c" 1>&6
9065 else
9066 if test -n "$AR"; then
9067 ac_cv_prog_AR="$AR" # Let the user override the test.
9068 else
9069 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9070 ac_dummy="$PATH"
9071 for ac_dir in $ac_dummy; do
9072 test -z "$ac_dir" && ac_dir=.
9073 if test -f $ac_dir/$ac_word; then
9074 ac_cv_prog_AR="ar"
9075 break
9076 fi
9077 done
9078 IFS="$ac_save_ifs"
9079 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
9080 fi
9081 fi
9082 AR="$ac_cv_prog_AR"
9083 if test -n "$AR"; then
9084 echo "$ac_t""$AR" 1>&6
9085 else
9086 echo "$ac_t""no" 1>&6
9087 fi
9088
9089
9090 # Find a good install program. We prefer a C program (faster),
9091 # so one script is as good as another. But avoid the broken or
9092 # incompatible versions:
9093 # SysV /etc/install, /usr/sbin/install
9094 # SunOS /usr/etc/install
9095 # IRIX /sbin/install
9096 # AIX /bin/install
9097 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9098 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9099 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9100 # ./install, which can be erroneously created by make from ./install.sh.
9101 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9102 echo "configure:9103: checking for a BSD compatible install" >&5
9103 if test -z "$INSTALL"; then
9104 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9105 echo $ac_n "(cached) $ac_c" 1>&6
9106 else
9107 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
9108 for ac_dir in $PATH; do
9109 # Account for people who put trailing slashes in PATH elements.
9110 case "$ac_dir/" in
9111 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
9112 *)
9113 # OSF1 and SCO ODT 3.0 have their own names for install.
9114 # Don't use installbsd from OSF since it installs stuff as root
9115 # by default.
9116 for ac_prog in ginstall scoinst install; do
9117 if test -f $ac_dir/$ac_prog; then
9118 if test $ac_prog = install &&
9119 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
9120 # AIX install. It has an incompatible calling convention.
9121 :
9122 else
9123 ac_cv_path_install="$ac_dir/$ac_prog -c"
9124 break 2
9125 fi
9126 fi
9127 done
9128 ;;
9129 esac
9130 done
9131 IFS="$ac_save_IFS"
9132
9133 fi
9134 if test "${ac_cv_path_install+set}" = set; then
9135 INSTALL="$ac_cv_path_install"
9136 else
9137 # As a last resort, use the slow shell script. We don't cache a
9138 # path for INSTALL within a source directory, because that will
9139 # break other packages using the cache if that directory is
9140 # removed, or if the path is relative.
9141 INSTALL="$ac_install_sh"
9142 fi
9143 fi
9144 echo "$ac_t""$INSTALL" 1>&6
9145
9146 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9147 # It thinks the first close brace ends the variable substitution.
9148 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
9149
9150 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
9151
9152 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
9153
9154 case "${host}" in
9155
9156 powerpc-*-darwin* )
9157 INSTALL_PROGRAM="cp -fp"
9158 INSTALL_DATA="cp -fp"
9159 ;;
9160 *)
9161 ;;
9162 esac
9163
9164 # Extract the first word of "strip", so it can be a program name with args.
9165 set dummy strip; ac_word=$2
9166 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9167 echo "configure:9168: checking for $ac_word" >&5
9168 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9169 echo $ac_n "(cached) $ac_c" 1>&6
9170 else
9171 if test -n "$STRIP"; then
9172 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9173 else
9174 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9175 ac_dummy="$PATH"
9176 for ac_dir in $ac_dummy; do
9177 test -z "$ac_dir" && ac_dir=.
9178 if test -f $ac_dir/$ac_word; then
9179 ac_cv_prog_STRIP="strip"
9180 break
9181 fi
9182 done
9183 IFS="$ac_save_ifs"
9184 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
9185 fi
9186 fi
9187 STRIP="$ac_cv_prog_STRIP"
9188 if test -n "$STRIP"; then
9189 echo "$ac_t""$STRIP" 1>&6
9190 else
9191 echo "$ac_t""no" 1>&6
9192 fi
9193
9194
9195 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
9196 echo "configure:9197: checking make for VPATH support" >&5
9197 cat - << EOF > confMake
9198 check : file
9199 cp \$? \$@
9200 cp \$? final_file
9201 EOF
9202
9203 if test ! -d sub ; then
9204 mkdir sub
9205 fi
9206 echo dummy > sub/file
9207 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
9208 RESULT=$?
9209 rm -f sub/file check final_file confMake
9210 rmdir sub
9211 if test "$RESULT" = 0; then
9212 echo "$ac_t""yes" 1>&6
9213 else
9214 echo "$ac_t""no" 1>&6
9215 { echo "configure: error:
9216 You need a make-utility that is able to use the variable
9217 VPATH correctly.
9218 If your version of make does not support VPATH correctly,
9219 please install GNU-make (possibly as gmake), and start
9220 configure with the following command:
9221 export MAKE=gmake; ./configure for sh-type shells
9222 setenv MAKE gmake; ./configure for csh-type shells
9223 Also please do remember to use gmake in this case every time
9224 you are trying to compile.
9225 " 1>&2; exit 1; }
9226 fi
9227
9228 for ac_prog in 'bison -y' byacc
9229 do
9230 # Extract the first word of "$ac_prog", so it can be a program name with args.
9231 set dummy $ac_prog; ac_word=$2
9232 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9233 echo "configure:9234: checking for $ac_word" >&5
9234 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9235 echo $ac_n "(cached) $ac_c" 1>&6
9236 else
9237 if test -n "$YACC"; then
9238 ac_cv_prog_YACC="$YACC" # Let the user override the test.
9239 else
9240 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9241 ac_dummy="$PATH"
9242 for ac_dir in $ac_dummy; do
9243 test -z "$ac_dir" && ac_dir=.
9244 if test -f $ac_dir/$ac_word; then
9245 ac_cv_prog_YACC="$ac_prog"
9246 break
9247 fi
9248 done
9249 IFS="$ac_save_ifs"
9250 fi
9251 fi
9252 YACC="$ac_cv_prog_YACC"
9253 if test -n "$YACC"; then
9254 echo "$ac_t""$YACC" 1>&6
9255 else
9256 echo "$ac_t""no" 1>&6
9257 fi
9258
9259 test -n "$YACC" && break
9260 done
9261 test -n "$YACC" || YACC="yacc"
9262
9263
9264 # Extract the first word of "flex", so it can be a program name with args.
9265 set dummy flex; ac_word=$2
9266 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9267 echo "configure:9268: checking for $ac_word" >&5
9268 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9269 echo $ac_n "(cached) $ac_c" 1>&6
9270 else
9271 if test -n "$LEX"; then
9272 ac_cv_prog_LEX="$LEX" # Let the user override the test.
9273 else
9274 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9275 ac_dummy="$PATH"
9276 for ac_dir in $ac_dummy; do
9277 test -z "$ac_dir" && ac_dir=.
9278 if test -f $ac_dir/$ac_word; then
9279 ac_cv_prog_LEX="flex"
9280 break
9281 fi
9282 done
9283 IFS="$ac_save_ifs"
9284 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"
9285 fi
9286 fi
9287 LEX="$ac_cv_prog_LEX"
9288 if test -n "$LEX"; then
9289 echo "$ac_t""$LEX" 1>&6
9290 else
9291 echo "$ac_t""no" 1>&6
9292 fi
9293
9294 if test -z "$LEXLIB"
9295 then
9296 case "$LEX" in
9297 flex*) ac_lib=fl ;;
9298 *) ac_lib=l ;;
9299 esac
9300 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9301 echo "configure:9302: checking for yywrap in -l$ac_lib" >&5
9302 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9303 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9304 echo $ac_n "(cached) $ac_c" 1>&6
9305 else
9306 ac_save_LIBS="$LIBS"
9307 LIBS="-l$ac_lib $LIBS"
9308 cat > conftest.$ac_ext <<EOF
9309 #line 9310 "configure"
9310 #include "confdefs.h"
9311 /* Override any gcc2 internal prototype to avoid an error. */
9312 /* We use char because int might match the return type of a gcc2
9313 builtin and then its argument prototype would still apply. */
9314 char yywrap();
9315
9316 int main() {
9317 yywrap()
9318 ; return 0; }
9319 EOF
9320 if { (eval echo configure:9321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9321 rm -rf conftest*
9322 eval "ac_cv_lib_$ac_lib_var=yes"
9323 else
9324 echo "configure: failed program was:" >&5
9325 cat conftest.$ac_ext >&5
9326 rm -rf conftest*
9327 eval "ac_cv_lib_$ac_lib_var=no"
9328 fi
9329 rm -f conftest*
9330 LIBS="$ac_save_LIBS"
9331
9332 fi
9333 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9334 echo "$ac_t""yes" 1>&6
9335 LEXLIB="-l$ac_lib"
9336 else
9337 echo "$ac_t""no" 1>&6
9338 fi
9339
9340 fi
9341
9342
9343 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9344 echo "configure:9345: checking whether ln -s works" >&5
9345 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9346 echo $ac_n "(cached) $ac_c" 1>&6
9347 else
9348 rm -f conftestdata
9349 if ln -s X conftestdata 2>/dev/null
9350 then
9351 rm -f conftestdata
9352 ac_cv_prog_LN_S="ln -s"
9353 else
9354 ac_cv_prog_LN_S=ln
9355 fi
9356 fi
9357 LN_S="$ac_cv_prog_LN_S"
9358 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9359 echo "$ac_t""yes" 1>&6
9360 else
9361 echo "$ac_t""no" 1>&6
9362 fi
9363
9364
9365
9366 SEARCH_INCLUDE="\
9367 /usr/local/include \
9368 \
9369 /usr/Motif-1.2/include \
9370 /usr/Motif-2.1/include \
9371 \
9372 /usr/include/Motif1.2 \
9373 /opt/xpm/include/X11 \
9374 /opt/GBxpm/include/ \
9375 /opt/GBxpm/X11/include/ \
9376 \
9377 /usr/Motif1.2/include \
9378 /usr/dt/include \
9379 /usr/openwin/include \
9380 \
9381 /usr/include/Xm \
9382 \
9383 /usr/X11R6/include \
9384 /usr/X11R6.4/include \
9385 /usr/X11R5/include \
9386 /usr/X11R4/include \
9387 \
9388 /usr/include/X11R6 \
9389 /usr/include/X11R5 \
9390 /usr/include/X11R4 \
9391 \
9392 /usr/local/X11R6/include \
9393 /usr/local/X11R5/include \
9394 /usr/local/X11R4/include \
9395 \
9396 /usr/local/include/X11R6 \
9397 /usr/local/include/X11R5 \
9398 /usr/local/include/X11R4 \
9399 \
9400 /usr/X11/include \
9401 /usr/include/X11 \
9402 /usr/local/X11/include \
9403 /usr/local/include/X11 \
9404 \
9405 /usr/X386/include \
9406 /usr/x386/include \
9407 /usr/XFree86/include/X11 \
9408 \
9409 X:/XFree86/include \
9410 X:/XFree86/include/X11 \
9411 \
9412 /usr/include/gtk \
9413 /usr/local/include/gtk \
9414 /usr/include/glib \
9415 /usr/local/include/glib \
9416 \
9417 /usr/include/qt \
9418 /usr/local/include/qt \
9419 \
9420 /usr/include/windows \
9421 /usr/include/wine \
9422 /usr/local/include/wine \
9423 \
9424 /usr/unsupported/include \
9425 /usr/athena/include \
9426 /usr/local/x11r5/include \
9427 /usr/lpp/Xamples/include \
9428 \
9429 /usr/openwin/share/include \
9430 \
9431 /usr/include"
9432
9433 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
9434
9435
9436 cat > confcache <<\EOF
9437 # This file is a shell script that caches the results of configure
9438 # tests run on this system so they can be shared between configure
9439 # scripts and configure runs. It is not useful on other systems.
9440 # If it contains results you don't want to keep, you may remove or edit it.
9441 #
9442 # By default, configure uses ./config.cache as the cache file,
9443 # creating it if it does not exist already. You can give configure
9444 # the --cache-file=FILE option to use a different cache file; that is
9445 # what configure does when it calls configure scripts in
9446 # subdirectories, so they share the cache.
9447 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9448 # config.status only pays attention to the cache file if you give it the
9449 # --recheck option to rerun configure.
9450 #
9451 EOF
9452 # The following way of writing the cache mishandles newlines in values,
9453 # but we know of no workaround that is simple, portable, and efficient.
9454 # So, don't put newlines in cache variables' values.
9455 # Ultrix sh set writes to stderr and can't be redirected directly,
9456 # and sets the high bit in the cache file unless we assign to the vars.
9457 (set) 2>&1 |
9458 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9459 *ac_space=\ *)
9460 # `set' does not quote correctly, so add quotes (double-quote substitution
9461 # turns \\\\ into \\, and sed turns \\ into \).
9462 sed -n \
9463 -e "s/'/'\\\\''/g" \
9464 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9465 ;;
9466 *)
9467 # `set' quotes correctly as required by POSIX, so do not add quotes.
9468 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9469 ;;
9470 esac >> confcache
9471 if cmp -s $cache_file confcache; then
9472 :
9473 else
9474 if test -w $cache_file; then
9475 echo "updating cache $cache_file"
9476 cat confcache > $cache_file
9477 else
9478 echo "not updating unwritable cache $cache_file"
9479 fi
9480 fi
9481 rm -f confcache
9482
9483
9484
9485
9486 REGEX_INCLUDE=
9487 if test "$wxUSE_REGEX" != "no"; then
9488 cat >> confdefs.h <<\EOF
9489 #define wxUSE_REGEX 1
9490 EOF
9491
9492
9493 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
9494 ac_safe=`echo "regex.h" | sed 'y%./+-%__p_%'`
9495 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
9496 echo "configure:9497: checking for regex.h" >&5
9497 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9498 echo $ac_n "(cached) $ac_c" 1>&6
9499 else
9500 cat > conftest.$ac_ext <<EOF
9501 #line 9502 "configure"
9502 #include "confdefs.h"
9503 #include <regex.h>
9504 EOF
9505 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9506 { (eval echo configure:9507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9507 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9508 if test -z "$ac_err"; then
9509 rm -rf conftest*
9510 eval "ac_cv_header_$ac_safe=yes"
9511 else
9512 echo "$ac_err" >&5
9513 echo "configure: failed program was:" >&5
9514 cat conftest.$ac_ext >&5
9515 rm -rf conftest*
9516 eval "ac_cv_header_$ac_safe=no"
9517 fi
9518 rm -f conftest*
9519 fi
9520 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9521 echo "$ac_t""yes" 1>&6
9522 for ac_func in regcomp
9523 do
9524 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9525 echo "configure:9526: checking for $ac_func" >&5
9526 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9527 echo $ac_n "(cached) $ac_c" 1>&6
9528 else
9529 cat > conftest.$ac_ext <<EOF
9530 #line 9531 "configure"
9531 #include "confdefs.h"
9532 /* System header to define __stub macros and hopefully few prototypes,
9533 which can conflict with char $ac_func(); below. */
9534 #include <assert.h>
9535 /* Override any gcc2 internal prototype to avoid an error. */
9536 /* We use char because int might match the return type of a gcc2
9537 builtin and then its argument prototype would still apply. */
9538 char $ac_func();
9539
9540 int main() {
9541
9542 /* The GNU C library defines this for functions which it implements
9543 to always fail with ENOSYS. Some functions are actually named
9544 something starting with __ and the normal name is an alias. */
9545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9546 choke me
9547 #else
9548 $ac_func();
9549 #endif
9550
9551 ; return 0; }
9552 EOF
9553 if { (eval echo configure:9554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9554 rm -rf conftest*
9555 eval "ac_cv_func_$ac_func=yes"
9556 else
9557 echo "configure: failed program was:" >&5
9558 cat conftest.$ac_ext >&5
9559 rm -rf conftest*
9560 eval "ac_cv_func_$ac_func=no"
9561 fi
9562 rm -f conftest*
9563 fi
9564
9565 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9566 echo "$ac_t""yes" 1>&6
9567 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9568 cat >> confdefs.h <<EOF
9569 #define $ac_tr_func 1
9570 EOF
9571
9572 else
9573 echo "$ac_t""no" 1>&6
9574 fi
9575 done
9576
9577 else
9578 echo "$ac_t""no" 1>&6
9579 fi
9580
9581
9582 if test "x$ac_cv_func_regcomp" != "xyes"; then
9583 if test "$wxUSE_REGEX" = "sys" ; then
9584 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9585 else
9586 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9587 wxUSE_REGEX=builtin
9588 fi
9589 else
9590 wxUSE_REGEX=sys
9591 fi
9592 fi
9593
9594 if test "$wxUSE_REGEX" = "builtin" ; then
9595 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
9596 fi
9597 fi
9598
9599
9600 ZLIB_INCLUDE=
9601 ZLIB_LINK=
9602 if test "$wxUSE_ZLIB" != "no" ; then
9603 cat >> confdefs.h <<\EOF
9604 #define wxUSE_ZLIB 1
9605 EOF
9606
9607
9608 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9609 ac_safe=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9610 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9611 echo "configure:9612: checking for zlib.h" >&5
9612 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9613 echo $ac_n "(cached) $ac_c" 1>&6
9614 else
9615 cat > conftest.$ac_ext <<EOF
9616 #line 9617 "configure"
9617 #include "confdefs.h"
9618 #include <zlib.h>
9619 EOF
9620 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9621 { (eval echo configure:9622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9622 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9623 if test -z "$ac_err"; then
9624 rm -rf conftest*
9625 eval "ac_cv_header_$ac_safe=yes"
9626 else
9627 echo "$ac_err" >&5
9628 echo "configure: failed program was:" >&5
9629 cat conftest.$ac_ext >&5
9630 rm -rf conftest*
9631 eval "ac_cv_header_$ac_safe=no"
9632 fi
9633 rm -f conftest*
9634 fi
9635 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9636 echo "$ac_t""yes" 1>&6
9637 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9638 echo "configure:9639: checking for deflate in -lz" >&5
9639 ac_lib_var=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9640 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9641 echo $ac_n "(cached) $ac_c" 1>&6
9642 else
9643 ac_save_LIBS="$LIBS"
9644 LIBS="-lz $LIBS"
9645 cat > conftest.$ac_ext <<EOF
9646 #line 9647 "configure"
9647 #include "confdefs.h"
9648 /* Override any gcc2 internal prototype to avoid an error. */
9649 /* We use char because int might match the return type of a gcc2
9650 builtin and then its argument prototype would still apply. */
9651 char deflate();
9652
9653 int main() {
9654 deflate()
9655 ; return 0; }
9656 EOF
9657 if { (eval echo configure:9658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9658 rm -rf conftest*
9659 eval "ac_cv_lib_$ac_lib_var=yes"
9660 else
9661 echo "configure: failed program was:" >&5
9662 cat conftest.$ac_ext >&5
9663 rm -rf conftest*
9664 eval "ac_cv_lib_$ac_lib_var=no"
9665 fi
9666 rm -f conftest*
9667 LIBS="$ac_save_LIBS"
9668
9669 fi
9670 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9671 echo "$ac_t""yes" 1>&6
9672 ZLIB_LINK=" -lz"
9673 else
9674 echo "$ac_t""no" 1>&6
9675 fi
9676
9677 else
9678 echo "$ac_t""no" 1>&6
9679 fi
9680
9681
9682 if test "x$ZLIB_LINK" = "x" ; then
9683 if test "$wxUSE_ZLIB" = "sys" ; then
9684 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9685 else
9686 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9687 wxUSE_ZLIB=builtin
9688 fi
9689 else
9690 wxUSE_ZLIB=sys
9691 fi
9692 fi
9693
9694 if test "$wxUSE_ZLIB" = "builtin" ; then
9695 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
9696 fi
9697 fi
9698
9699
9700 PNG_INCLUDE=
9701 PNG_LINK=
9702 if test "$wxUSE_LIBPNG" != "no" ; then
9703 cat >> confdefs.h <<\EOF
9704 #define wxUSE_LIBPNG 1
9705 EOF
9706
9707
9708 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9709 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9710 wxUSE_LIBPNG=builtin
9711 fi
9712
9713 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9714 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
9715 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9716 echo "configure:9717: checking for png.h" >&5
9717 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9718 echo $ac_n "(cached) $ac_c" 1>&6
9719 else
9720 cat > conftest.$ac_ext <<EOF
9721 #line 9722 "configure"
9722 #include "confdefs.h"
9723 #include <png.h>
9724 EOF
9725 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9726 { (eval echo configure:9727: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9727 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9728 if test -z "$ac_err"; then
9729 rm -rf conftest*
9730 eval "ac_cv_header_$ac_safe=yes"
9731 else
9732 echo "$ac_err" >&5
9733 echo "configure: failed program was:" >&5
9734 cat conftest.$ac_ext >&5
9735 rm -rf conftest*
9736 eval "ac_cv_header_$ac_safe=no"
9737 fi
9738 rm -f conftest*
9739 fi
9740 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9741 echo "$ac_t""yes" 1>&6
9742 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9743 echo "configure:9744: checking for png_check_sig in -lpng" >&5
9744 ac_lib_var=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9745 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9746 echo $ac_n "(cached) $ac_c" 1>&6
9747 else
9748 ac_save_LIBS="$LIBS"
9749 LIBS="-lpng -lz -lm $LIBS"
9750 cat > conftest.$ac_ext <<EOF
9751 #line 9752 "configure"
9752 #include "confdefs.h"
9753 /* Override any gcc2 internal prototype to avoid an error. */
9754 /* We use char because int might match the return type of a gcc2
9755 builtin and then its argument prototype would still apply. */
9756 char png_check_sig();
9757
9758 int main() {
9759 png_check_sig()
9760 ; return 0; }
9761 EOF
9762 if { (eval echo configure:9763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9763 rm -rf conftest*
9764 eval "ac_cv_lib_$ac_lib_var=yes"
9765 else
9766 echo "configure: failed program was:" >&5
9767 cat conftest.$ac_ext >&5
9768 rm -rf conftest*
9769 eval "ac_cv_lib_$ac_lib_var=no"
9770 fi
9771 rm -f conftest*
9772 LIBS="$ac_save_LIBS"
9773
9774 fi
9775 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9776 echo "$ac_t""yes" 1>&6
9777 PNG_LINK=" -lpng"
9778 else
9779 echo "$ac_t""no" 1>&6
9780 fi
9781
9782
9783 else
9784 echo "$ac_t""no" 1>&6
9785 fi
9786
9787
9788 if test "x$PNG_LINK" = "x" ; then
9789 if test "$wxUSE_LIBPNG" = "sys" ; then
9790 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9791 else
9792 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9793 wxUSE_LIBPNG=builtin
9794 fi
9795 else
9796 wxUSE_LIBPNG=yes
9797 fi
9798 fi
9799
9800 if test "$wxUSE_LIBPNG" = "builtin" ; then
9801 PNG_INCLUDE="-I\${top_srcdir}/src/png"
9802 fi
9803
9804 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
9805 fi
9806
9807
9808 JPEG_INCLUDE=
9809 JPEG_LINK=
9810 if test "$wxUSE_LIBJPEG" != "no" ; then
9811 cat >> confdefs.h <<\EOF
9812 #define wxUSE_LIBJPEG 1
9813 EOF
9814
9815
9816 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9817 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9818 echo "configure:9819: checking for jpeglib.h" >&5
9819 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9820 echo $ac_n "(cached) $ac_c" 1>&6
9821 else
9822 cat > conftest.$ac_ext <<EOF
9823 #line 9824 "configure"
9824 #include "confdefs.h"
9825
9826 #undef HAVE_STDLIB_H
9827 #include <stdio.h>
9828 #include <jpeglib.h>
9829
9830 int main() {
9831
9832
9833 ; return 0; }
9834 EOF
9835 if { (eval echo configure:9836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9836 rm -rf conftest*
9837 ac_cv_header_jpeglib_h=yes
9838 else
9839 echo "configure: failed program was:" >&5
9840 cat conftest.$ac_ext >&5
9841 rm -rf conftest*
9842 ac_cv_header_jpeglib_h=no
9843
9844 fi
9845 rm -f conftest*
9846
9847 fi
9848
9849 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
9850
9851 if test "$ac_cv_header_jpeglib_h" = "yes"; then
9852 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
9853 echo "configure:9854: checking for jpeg_read_header in -ljpeg" >&5
9854 ac_lib_var=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
9855 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9856 echo $ac_n "(cached) $ac_c" 1>&6
9857 else
9858 ac_save_LIBS="$LIBS"
9859 LIBS="-ljpeg $LIBS"
9860 cat > conftest.$ac_ext <<EOF
9861 #line 9862 "configure"
9862 #include "confdefs.h"
9863 /* Override any gcc2 internal prototype to avoid an error. */
9864 /* We use char because int might match the return type of a gcc2
9865 builtin and then its argument prototype would still apply. */
9866 char jpeg_read_header();
9867
9868 int main() {
9869 jpeg_read_header()
9870 ; return 0; }
9871 EOF
9872 if { (eval echo configure:9873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9873 rm -rf conftest*
9874 eval "ac_cv_lib_$ac_lib_var=yes"
9875 else
9876 echo "configure: failed program was:" >&5
9877 cat conftest.$ac_ext >&5
9878 rm -rf conftest*
9879 eval "ac_cv_lib_$ac_lib_var=no"
9880 fi
9881 rm -f conftest*
9882 LIBS="$ac_save_LIBS"
9883
9884 fi
9885 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9886 echo "$ac_t""yes" 1>&6
9887 JPEG_LINK=" -ljpeg"
9888 else
9889 echo "$ac_t""no" 1>&6
9890 fi
9891
9892 fi
9893
9894 if test "x$JPEG_LINK" = "x" ; then
9895 if test "$wxUSE_LIBJPEG" = "sys" ; then
9896 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
9897 else
9898 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
9899 wxUSE_LIBJPEG=builtin
9900 fi
9901 else
9902 wxUSE_LIBJPEG=sys
9903 fi
9904 fi
9905
9906 if test "$wxUSE_LIBJPEG" = "builtin" ; then
9907 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
9908 fi
9909 fi
9910
9911
9912 TIFF_INCLUDE=
9913 TIFF_LINK=
9914 if test "$wxUSE_LIBTIFF" != "no" ; then
9915 cat >> confdefs.h <<\EOF
9916 #define wxUSE_LIBTIFF 1
9917 EOF
9918
9919
9920 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
9921 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
9922 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
9923 echo "configure:9924: checking for tiffio.h" >&5
9924 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9925 echo $ac_n "(cached) $ac_c" 1>&6
9926 else
9927 cat > conftest.$ac_ext <<EOF
9928 #line 9929 "configure"
9929 #include "confdefs.h"
9930 #include <tiffio.h>
9931 EOF
9932 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9933 { (eval echo configure:9934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9934 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9935 if test -z "$ac_err"; then
9936 rm -rf conftest*
9937 eval "ac_cv_header_$ac_safe=yes"
9938 else
9939 echo "$ac_err" >&5
9940 echo "configure: failed program was:" >&5
9941 cat conftest.$ac_ext >&5
9942 rm -rf conftest*
9943 eval "ac_cv_header_$ac_safe=no"
9944 fi
9945 rm -f conftest*
9946 fi
9947 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9948 echo "$ac_t""yes" 1>&6
9949 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
9950 echo "configure:9951: checking for TIFFError in -ltiff" >&5
9951 ac_lib_var=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
9952 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9953 echo $ac_n "(cached) $ac_c" 1>&6
9954 else
9955 ac_save_LIBS="$LIBS"
9956 LIBS="-ltiff -lm $LIBS"
9957 cat > conftest.$ac_ext <<EOF
9958 #line 9959 "configure"
9959 #include "confdefs.h"
9960 /* Override any gcc2 internal prototype to avoid an error. */
9961 /* We use char because int might match the return type of a gcc2
9962 builtin and then its argument prototype would still apply. */
9963 char TIFFError();
9964
9965 int main() {
9966 TIFFError()
9967 ; return 0; }
9968 EOF
9969 if { (eval echo configure:9970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9970 rm -rf conftest*
9971 eval "ac_cv_lib_$ac_lib_var=yes"
9972 else
9973 echo "configure: failed program was:" >&5
9974 cat conftest.$ac_ext >&5
9975 rm -rf conftest*
9976 eval "ac_cv_lib_$ac_lib_var=no"
9977 fi
9978 rm -f conftest*
9979 LIBS="$ac_save_LIBS"
9980
9981 fi
9982 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9983 echo "$ac_t""yes" 1>&6
9984 TIFF_LINK=" -ltiff"
9985 else
9986 echo "$ac_t""no" 1>&6
9987 fi
9988
9989
9990 else
9991 echo "$ac_t""no" 1>&6
9992 fi
9993
9994
9995 if test "x$TIFF_LINK" = "x" ; then
9996 if test "$wxUSE_LIBTIFF" = "sys" ; then
9997 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
9998 else
9999 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
10000 wxUSE_LIBTIFF=builtin
10001 fi
10002 else
10003 wxUSE_LIBTIFF=sys
10004 fi
10005 fi
10006
10007 if test "$wxUSE_LIBTIFF" = "builtin" ; then
10008 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
10009 fi
10010 fi
10011
10012
10013 FREETYPE_INCLUDE=
10014 FREETYPE_LINK=
10015 if test "$wxUSE_FREETYPE" != "no" ; then
10016 cat >> confdefs.h <<\EOF
10017 #define wxUSE_FREETYPE 1
10018 EOF
10019
10020
10021 if test "$wxUSE_FREETYPE" = "sys" -o "$wxUSE_FREETYPE" = "yes" ; then
10022 ac_safe=`echo "freetype.h" | sed 'y%./+-%__p_%'`
10023 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
10024 echo "configure:10025: checking for freetype.h" >&5
10025 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10026 echo $ac_n "(cached) $ac_c" 1>&6
10027 else
10028 cat > conftest.$ac_ext <<EOF
10029 #line 10030 "configure"
10030 #include "confdefs.h"
10031 #include <freetype.h>
10032 EOF
10033 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10034 { (eval echo configure:10035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10035 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10036 if test -z "$ac_err"; then
10037 rm -rf conftest*
10038 eval "ac_cv_header_$ac_safe=yes"
10039 else
10040 echo "$ac_err" >&5
10041 echo "configure: failed program was:" >&5
10042 cat conftest.$ac_ext >&5
10043 rm -rf conftest*
10044 eval "ac_cv_header_$ac_safe=no"
10045 fi
10046 rm -f conftest*
10047 fi
10048 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10049 echo "$ac_t""yes" 1>&6
10050 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
10051 echo "configure:10052: checking for FT_Render_Glyph in -lfreetype" >&5
10052 ac_lib_var=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
10053 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10054 echo $ac_n "(cached) $ac_c" 1>&6
10055 else
10056 ac_save_LIBS="$LIBS"
10057 LIBS="-lfreetype -lm $LIBS"
10058 cat > conftest.$ac_ext <<EOF
10059 #line 10060 "configure"
10060 #include "confdefs.h"
10061 /* Override any gcc2 internal prototype to avoid an error. */
10062 /* We use char because int might match the return type of a gcc2
10063 builtin and then its argument prototype would still apply. */
10064 char FT_Render_Glyph();
10065
10066 int main() {
10067 FT_Render_Glyph()
10068 ; return 0; }
10069 EOF
10070 if { (eval echo configure:10071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10071 rm -rf conftest*
10072 eval "ac_cv_lib_$ac_lib_var=yes"
10073 else
10074 echo "configure: failed program was:" >&5
10075 cat conftest.$ac_ext >&5
10076 rm -rf conftest*
10077 eval "ac_cv_lib_$ac_lib_var=no"
10078 fi
10079 rm -f conftest*
10080 LIBS="$ac_save_LIBS"
10081
10082 fi
10083 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10084 echo "$ac_t""yes" 1>&6
10085 FREETYPE_LINK=" -lfreetype"
10086 else
10087 echo "$ac_t""no" 1>&6
10088 fi
10089
10090
10091 else
10092 echo "$ac_t""no" 1>&6
10093 fi
10094
10095
10096 if test "x$FREETYPE_LINK" = "x" ; then
10097 if test "$wxUSE_FREETYPE" = "sys" ; then
10098 { echo "configure: error: system freetype library not found! Use --with-freetype=builtin to use built-in version" 1>&2; exit 1; }
10099 else
10100 echo "configure: warning: system freetype library not found, will use built-in instead" 1>&2
10101 wxUSE_FREETYPE=builtin
10102 fi
10103 else
10104 wxUSE_FREETYPE=sys
10105 fi
10106 fi
10107
10108 if test "$wxUSE_FREETYPE" = "builtin" ; then
10109 FREETYPE_INCLUDE="-I\${top_srcdir}/src/freetype"
10110 fi
10111 fi
10112
10113
10114 AFMINSTALL=
10115
10116 TOOLKIT=
10117 TOOLKIT_INCLUDE=
10118 WIDGET_SET=
10119
10120 if test "$USE_WIN32" = 1 ; then
10121 for ac_hdr in w32api.h
10122 do
10123 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10124 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10125 echo "configure:10126: checking for $ac_hdr" >&5
10126 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10127 echo $ac_n "(cached) $ac_c" 1>&6
10128 else
10129 cat > conftest.$ac_ext <<EOF
10130 #line 10131 "configure"
10131 #include "confdefs.h"
10132 #include <$ac_hdr>
10133 EOF
10134 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10135 { (eval echo configure:10136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10136 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10137 if test -z "$ac_err"; then
10138 rm -rf conftest*
10139 eval "ac_cv_header_$ac_safe=yes"
10140 else
10141 echo "$ac_err" >&5
10142 echo "configure: failed program was:" >&5
10143 cat conftest.$ac_ext >&5
10144 rm -rf conftest*
10145 eval "ac_cv_header_$ac_safe=no"
10146 fi
10147 rm -f conftest*
10148 fi
10149 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10150 echo "$ac_t""yes" 1>&6
10151 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10152 cat >> confdefs.h <<EOF
10153 #define $ac_tr_hdr 1
10154 EOF
10155
10156 else
10157 echo "$ac_t""no" 1>&6
10158 fi
10159 done
10160
10161 ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'`
10162 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10163 echo "configure:10164: checking for windows.h" >&5
10164 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10165 echo $ac_n "(cached) $ac_c" 1>&6
10166 else
10167 cat > conftest.$ac_ext <<EOF
10168 #line 10169 "configure"
10169 #include "confdefs.h"
10170 #include <windows.h>
10171 EOF
10172 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10173 { (eval echo configure:10174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10174 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10175 if test -z "$ac_err"; then
10176 rm -rf conftest*
10177 eval "ac_cv_header_$ac_safe=yes"
10178 else
10179 echo "$ac_err" >&5
10180 echo "configure: failed program was:" >&5
10181 cat conftest.$ac_ext >&5
10182 rm -rf conftest*
10183 eval "ac_cv_header_$ac_safe=no"
10184 fi
10185 rm -f conftest*
10186 fi
10187 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10188 echo "$ac_t""yes" 1>&6
10189 :
10190 else
10191 echo "$ac_t""no" 1>&6
10192
10193 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10194
10195 fi
10196
10197
10198 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
10199 echo "configure:10200: checking if w32api has good enough MSIE support" >&5
10200 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
10201 echo $ac_n "(cached) $ac_c" 1>&6
10202 else
10203
10204 cat > conftest.$ac_ext <<EOF
10205 #line 10206 "configure"
10206 #include "confdefs.h"
10207 #include <w32api.h>
10208 int main() {
10209
10210 #define wxCHECK_W32API_VERSION( major, minor ) \
10211 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
10212 && ( ( __W32API_MAJOR_VERSION > (major) ) \
10213 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
10214
10215 #if !wxCHECK_W32API_VERSION(1,1)
10216 #error You need w32api 1.1 or newer
10217 #endif
10218
10219 ; return 0; }
10220 EOF
10221 if { (eval echo configure:10222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10222 rm -rf conftest*
10223
10224 wx_cv_w32api_win32_ie=yes
10225
10226 else
10227 echo "configure: failed program was:" >&5
10228 cat conftest.$ac_ext >&5
10229 rm -rf conftest*
10230
10231 wx_cv_w32api_win32_ie=no
10232
10233 fi
10234 rm -f conftest*
10235
10236 fi
10237
10238 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
10239 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
10240 CPPFLAGS="$CPPFLAGS -D_WIN32_IE=0x400"
10241 fi
10242
10243 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
10244
10245 case "${host}" in
10246 *-*-cygwin* )
10247 LIBS="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
10248 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
10249 esac
10250
10251 if test "$wxUSE_ODBC" = "yes" ; then
10252 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
10253 fi
10254
10255 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
10256 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
10257 fi
10258
10259 if test "$wxUSE_GUI" = "yes"; then
10260 USE_GUI=1
10261
10262 GUI_TK_LIBRARY=
10263
10264 WXGTK12=
10265 WXGTK127=
10266 WXGTK20=
10267
10268 if test "$wxUSE_MSW" = 1 ; then
10269 TOOLKIT=MSW
10270 GUIDIST=MSW_DIST
10271
10272 case "${host}" in
10273 *-*-mingw32* )
10274 LDFLAGS="$LDFLAGS -Wl,--subsystem,windows -mwindows"
10275 esac
10276 fi
10277
10278 if test "$wxUSE_GTK" = 1; then
10279 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
10280 echo "configure:10281: checking for GTK+ version" >&5
10281
10282 gtk_version_cached=1
10283 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
10284 echo $ac_n "(cached) $ac_c" 1>&6
10285 else
10286
10287 gtk_version_cached=0
10288 echo "$ac_t""" 1>&6
10289
10290 GTK_MODULES=
10291 if test "$wxUSE_THREADS" = "yes"; then
10292 GTK_MODULES=gthread
10293 fi
10294
10295 wx_cv_lib_gtk=
10296 if test "x$wxUSE_GTK2" = "xyes"; then
10297 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10298 if test "${with_gtk_prefix+set}" = set; then
10299 withval="$with_gtk_prefix"
10300 gtk_config_prefix="$withval"
10301 else
10302 gtk_config_prefix=""
10303 fi
10304
10305 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10306 if test "${with_gtk_exec_prefix+set}" = set; then
10307 withval="$with_gtk_exec_prefix"
10308 gtk_config_exec_prefix="$withval"
10309 else
10310 gtk_config_exec_prefix=""
10311 fi
10312
10313 # Check whether --enable-gtktest or --disable-gtktest was given.
10314 if test "${enable_gtktest+set}" = set; then
10315 enableval="$enable_gtktest"
10316 :
10317 else
10318 enable_gtktest=yes
10319 fi
10320
10321
10322 for module in . $GTK_MODULES
10323 do
10324 case "$module" in
10325 gthread)
10326 gtk_config_args="$gtk_config_args gthread"
10327 ;;
10328 esac
10329 done
10330
10331 if test x$gtk_config_exec_prefix != x ; then
10332 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10333 if test x${GTK_CONFIG_2_0+set} != xset ; then
10334 GTK_CONFIG_2_0=$gtk_config_exec_prefix/bin/gtk-config-2.0
10335 fi
10336 fi
10337 if test x$gtk_config_prefix != x ; then
10338 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
10339 if test x${GTK_CONFIG_2_0+set} != xset ; then
10340 GTK_CONFIG_2_0=$gtk_config_prefix/bin/gtk-config-2.0
10341 fi
10342 fi
10343
10344 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
10345 set dummy gtk-config-2.0; ac_word=$2
10346 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10347 echo "configure:10348: checking for $ac_word" >&5
10348 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
10349 echo $ac_n "(cached) $ac_c" 1>&6
10350 else
10351 case "$GTK_CONFIG_2_0" in
10352 /*)
10353 ac_cv_path_GTK_CONFIG_2_0="$GTK_CONFIG_2_0" # Let the user override the test with a path.
10354 ;;
10355 ?:/*)
10356 ac_cv_path_GTK_CONFIG_2_0="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
10357 ;;
10358 *)
10359 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
10360 ac_dummy="$PATH"
10361 for ac_dir in $ac_dummy; do
10362 test -z "$ac_dir" && ac_dir=.
10363 if test -f $ac_dir/$ac_word; then
10364 ac_cv_path_GTK_CONFIG_2_0="$ac_dir/$ac_word"
10365 break
10366 fi
10367 done
10368 IFS="$ac_save_ifs"
10369 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0="no"
10370 ;;
10371 esac
10372 fi
10373 GTK_CONFIG_2_0="$ac_cv_path_GTK_CONFIG_2_0"
10374 if test -n "$GTK_CONFIG_2_0"; then
10375 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
10376 else
10377 echo "$ac_t""no" 1>&6
10378 fi
10379
10380 min_gtk_version=1.3.1
10381 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10382 echo "configure:10383: checking for GTK - version >= $min_gtk_version" >&5
10383 no_gtk=""
10384 if test "$GTK_CONFIG_2_0" = "no" ; then
10385 no_gtk=yes
10386 else
10387 GTK_CFLAGS=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
10388 GTK_LIBS=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
10389 gtk_config_major_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10390 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10391 gtk_config_minor_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10392 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10393 gtk_config_micro_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10394 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10395 if test "x$enable_gtktest" = "xyes" ; then
10396 ac_save_CFLAGS="$CFLAGS"
10397 ac_save_LIBS="$LIBS"
10398 CFLAGS="$CFLAGS $GTK_CFLAGS"
10399 LIBS="$GTK_LIBS $LIBS"
10400 rm -f conf.gtktest
10401 if test "$cross_compiling" = yes; then
10402 echo $ac_n "cross compiling; assumed OK... $ac_c"
10403 else
10404 cat > conftest.$ac_ext <<EOF
10405 #line 10406 "configure"
10406 #include "confdefs.h"
10407
10408 #include <gtk/gtk.h>
10409 #include <stdio.h>
10410 #include <stdlib.h>
10411
10412 int
10413 main ()
10414 {
10415 int major, minor, micro;
10416 char *tmp_version;
10417
10418 system ("touch conf.gtktest");
10419
10420 /* HP/UX 9 (%@#!) writes to sscanf strings */
10421 tmp_version = g_strdup("$min_gtk_version");
10422 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
10423 printf("%s, bad version string\n", "$min_gtk_version");
10424 exit(1);
10425 }
10426
10427 if ((gtk_major_version != $gtk_config_major_version) ||
10428 (gtk_minor_version != $gtk_config_minor_version) ||
10429 (gtk_micro_version != $gtk_config_micro_version))
10430 {
10431 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10432 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10433 gtk_major_version, gtk_minor_version, gtk_micro_version);
10434 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
10435 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10436 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10437 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10438 printf("*** required on your system.\n");
10439 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
10440 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
10441 printf("*** before re-running configure\n");
10442 }
10443 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10444 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10445 (gtk_minor_version != GTK_MINOR_VERSION) ||
10446 (gtk_micro_version != GTK_MICRO_VERSION))
10447 {
10448 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10449 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10450 printf("*** library (version %d.%d.%d)\n",
10451 gtk_major_version, gtk_minor_version, gtk_micro_version);
10452 }
10453 #endif /* defined (GTK_MAJOR_VERSION) ... */
10454 else
10455 {
10456 if ((gtk_major_version > major) ||
10457 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10458 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10459 {
10460 return 0;
10461 }
10462 else
10463 {
10464 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10465 gtk_major_version, gtk_minor_version, gtk_micro_version);
10466 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10467 major, minor, micro);
10468 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10469 printf("***\n");
10470 printf("*** If you have already installed a sufficiently new version, this error\n");
10471 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
10472 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10473 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
10474 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
10475 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10476 printf("*** so that the correct libraries are found at run-time))\n");
10477 }
10478 }
10479 return 1;
10480 }
10481
10482 EOF
10483 if { (eval echo configure:10484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10484 then
10485 :
10486 else
10487 echo "configure: failed program was:" >&5
10488 cat conftest.$ac_ext >&5
10489 rm -fr conftest*
10490 no_gtk=yes
10491 fi
10492 rm -fr conftest*
10493 fi
10494
10495 CFLAGS="$ac_save_CFLAGS"
10496 LIBS="$ac_save_LIBS"
10497 fi
10498 fi
10499 if test "x$no_gtk" = x ; then
10500 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
10501 wx_cv_lib_gtk=2.0
10502 else
10503 echo "$ac_t""no" 1>&6
10504 if test "$GTK_CONFIG_2_0" = "no" ; then
10505 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
10506 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10507 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
10508 echo "*** full path to gtk-config-2.0."
10509 else
10510 if test -f conf.gtktest ; then
10511 :
10512 else
10513 echo "*** Could not run GTK test program, checking why..."
10514 CFLAGS="$CFLAGS $GTK_CFLAGS"
10515 LIBS="$LIBS $GTK_LIBS"
10516 cat > conftest.$ac_ext <<EOF
10517 #line 10518 "configure"
10518 #include "confdefs.h"
10519
10520 #include <gtk/gtk.h>
10521 #include <stdio.h>
10522
10523 int main() {
10524 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10525 ; return 0; }
10526 EOF
10527 if { (eval echo configure:10528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10528 rm -rf conftest*
10529 echo "*** The test program compiled, but did not run. This usually means"
10530 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10531 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10532 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10533 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10534 echo "*** is required on your system"
10535 echo "***"
10536 echo "*** If you have an old version installed, it is best to remove it, although"
10537 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10538 echo "***"
10539 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10540 echo "*** came with the system with the command"
10541 echo "***"
10542 echo "*** rpm --erase --nodeps gtk gtk-devel"
10543 else
10544 echo "configure: failed program was:" >&5
10545 cat conftest.$ac_ext >&5
10546 rm -rf conftest*
10547 echo "*** The test program failed to compile or link. See the file config.log for the"
10548 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10549 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10550 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
10551 fi
10552 rm -f conftest*
10553 CFLAGS="$ac_save_CFLAGS"
10554 LIBS="$ac_save_LIBS"
10555 fi
10556 fi
10557 GTK_CFLAGS=""
10558 GTK_LIBS=""
10559 :
10560 fi
10561
10562
10563 rm -f conf.gtktest
10564
10565 fi
10566
10567 if test -z "$wx_cv_lib_gtk"; then
10568 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10569 if test "${with_gtk_prefix+set}" = set; then
10570 withval="$with_gtk_prefix"
10571 gtk_config_prefix="$withval"
10572 else
10573 gtk_config_prefix=""
10574 fi
10575
10576 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10577 if test "${with_gtk_exec_prefix+set}" = set; then
10578 withval="$with_gtk_exec_prefix"
10579 gtk_config_exec_prefix="$withval"
10580 else
10581 gtk_config_exec_prefix=""
10582 fi
10583
10584 # Check whether --enable-gtktest or --disable-gtktest was given.
10585 if test "${enable_gtktest+set}" = set; then
10586 enableval="$enable_gtktest"
10587 :
10588 else
10589 enable_gtktest=yes
10590 fi
10591
10592
10593 for module in . $GTK_MODULES
10594 do
10595 case "$module" in
10596 gthread)
10597 gtk_config_args="$gtk_config_args gthread"
10598 ;;
10599 esac
10600 done
10601
10602 if test x$gtk_config_exec_prefix != x ; then
10603 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10604 if test x${GTK_CONFIG+set} != xset ; then
10605 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
10606 fi
10607 fi
10608 if test x$gtk_config_prefix != x ; then
10609 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
10610 if test x${GTK_CONFIG+set} != xset ; then
10611 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
10612 fi
10613 fi
10614
10615 # Extract the first word of "gtk-config", so it can be a program name with args.
10616 set dummy gtk-config; ac_word=$2
10617 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10618 echo "configure:10619: checking for $ac_word" >&5
10619 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10620 echo $ac_n "(cached) $ac_c" 1>&6
10621 else
10622 case "$GTK_CONFIG" in
10623 /*)
10624 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
10625 ;;
10626 ?:/*)
10627 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
10628 ;;
10629 *)
10630 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
10631 ac_dummy="$PATH"
10632 for ac_dir in $ac_dummy; do
10633 test -z "$ac_dir" && ac_dir=.
10634 if test -f $ac_dir/$ac_word; then
10635 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
10636 break
10637 fi
10638 done
10639 IFS="$ac_save_ifs"
10640 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
10641 ;;
10642 esac
10643 fi
10644 GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
10645 if test -n "$GTK_CONFIG"; then
10646 echo "$ac_t""$GTK_CONFIG" 1>&6
10647 else
10648 echo "$ac_t""no" 1>&6
10649 fi
10650
10651 min_gtk_version=1.2.7
10652 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10653 echo "configure:10654: checking for GTK - version >= $min_gtk_version" >&5
10654 no_gtk=""
10655 if test "$GTK_CONFIG" = "no" ; then
10656 no_gtk=yes
10657 else
10658 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
10659 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
10660 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
10661 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10662 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
10663 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10664 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
10665 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10666 if test "x$enable_gtktest" = "xyes" ; then
10667 ac_save_CFLAGS="$CFLAGS"
10668 ac_save_LIBS="$LIBS"
10669 CFLAGS="$CFLAGS $GTK_CFLAGS"
10670 LIBS="$GTK_LIBS $LIBS"
10671 rm -f conf.gtktest
10672 if test "$cross_compiling" = yes; then
10673 echo $ac_n "cross compiling; assumed OK... $ac_c"
10674 else
10675 cat > conftest.$ac_ext <<EOF
10676 #line 10677 "configure"
10677 #include "confdefs.h"
10678
10679 #include <gtk/gtk.h>
10680 #include <stdio.h>
10681 #include <stdlib.h>
10682
10683 int
10684 main ()
10685 {
10686 int major, minor, micro;
10687 char *tmp_version;
10688
10689 system ("touch conf.gtktest");
10690
10691 /* HP/UX 9 (%@#!) writes to sscanf strings */
10692 tmp_version = g_strdup("$min_gtk_version");
10693 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
10694 printf("%s, bad version string\n", "$min_gtk_version");
10695 exit(1);
10696 }
10697
10698 if ((gtk_major_version != $gtk_config_major_version) ||
10699 (gtk_minor_version != $gtk_config_minor_version) ||
10700 (gtk_micro_version != $gtk_config_micro_version))
10701 {
10702 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10703 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10704 gtk_major_version, gtk_minor_version, gtk_micro_version);
10705 printf ("*** was found! If gtk-config was correct, then it is best\n");
10706 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10707 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10708 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10709 printf("*** required on your system.\n");
10710 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10711 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10712 printf("*** before re-running configure\n");
10713 }
10714 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10715 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10716 (gtk_minor_version != GTK_MINOR_VERSION) ||
10717 (gtk_micro_version != GTK_MICRO_VERSION))
10718 {
10719 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10720 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10721 printf("*** library (version %d.%d.%d)\n",
10722 gtk_major_version, gtk_minor_version, gtk_micro_version);
10723 }
10724 #endif /* defined (GTK_MAJOR_VERSION) ... */
10725 else
10726 {
10727 if ((gtk_major_version > major) ||
10728 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10729 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10730 {
10731 return 0;
10732 }
10733 else
10734 {
10735 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10736 gtk_major_version, gtk_minor_version, gtk_micro_version);
10737 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10738 major, minor, micro);
10739 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10740 printf("***\n");
10741 printf("*** If you have already installed a sufficiently new version, this error\n");
10742 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10743 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10744 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10745 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10746 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10747 printf("*** so that the correct libraries are found at run-time))\n");
10748 }
10749 }
10750 return 1;
10751 }
10752
10753 EOF
10754 if { (eval echo configure:10755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10755 then
10756 :
10757 else
10758 echo "configure: failed program was:" >&5
10759 cat conftest.$ac_ext >&5
10760 rm -fr conftest*
10761 no_gtk=yes
10762 fi
10763 rm -fr conftest*
10764 fi
10765
10766 CFLAGS="$ac_save_CFLAGS"
10767 LIBS="$ac_save_LIBS"
10768 fi
10769 fi
10770 if test "x$no_gtk" = x ; then
10771 echo "$ac_t""yes" 1>&6
10772 wx_cv_lib_gtk=1.2.7
10773 else
10774 echo "$ac_t""no" 1>&6
10775 if test "$GTK_CONFIG" = "no" ; then
10776 echo "*** The gtk-config script installed by GTK could not be found"
10777 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10778 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10779 echo "*** full path to gtk-config."
10780 else
10781 if test -f conf.gtktest ; then
10782 :
10783 else
10784 echo "*** Could not run GTK test program, checking why..."
10785 CFLAGS="$CFLAGS $GTK_CFLAGS"
10786 LIBS="$LIBS $GTK_LIBS"
10787 cat > conftest.$ac_ext <<EOF
10788 #line 10789 "configure"
10789 #include "confdefs.h"
10790
10791 #include <gtk/gtk.h>
10792 #include <stdio.h>
10793
10794 int main() {
10795 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10796 ; return 0; }
10797 EOF
10798 if { (eval echo configure:10799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10799 rm -rf conftest*
10800 echo "*** The test program compiled, but did not run. This usually means"
10801 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10802 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10803 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10804 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10805 echo "*** is required on your system"
10806 echo "***"
10807 echo "*** If you have an old version installed, it is best to remove it, although"
10808 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10809 echo "***"
10810 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10811 echo "*** came with the system with the command"
10812 echo "***"
10813 echo "*** rpm --erase --nodeps gtk gtk-devel"
10814 else
10815 echo "configure: failed program was:" >&5
10816 cat conftest.$ac_ext >&5
10817 rm -rf conftest*
10818 echo "*** The test program failed to compile or link. See the file config.log for the"
10819 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10820 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10821 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10822 fi
10823 rm -f conftest*
10824 CFLAGS="$ac_save_CFLAGS"
10825 LIBS="$ac_save_LIBS"
10826 fi
10827 fi
10828 GTK_CFLAGS=""
10829 GTK_LIBS=""
10830 :
10831 fi
10832
10833
10834 rm -f conf.gtktest
10835
10836 fi
10837
10838 if test -z "$wx_cv_lib_gtk"; then
10839 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10840 if test "${with_gtk_prefix+set}" = set; then
10841 withval="$with_gtk_prefix"
10842 gtk_config_prefix="$withval"
10843 else
10844 gtk_config_prefix=""
10845 fi
10846
10847 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10848 if test "${with_gtk_exec_prefix+set}" = set; then
10849 withval="$with_gtk_exec_prefix"
10850 gtk_config_exec_prefix="$withval"
10851 else
10852 gtk_config_exec_prefix=""
10853 fi
10854
10855 # Check whether --enable-gtktest or --disable-gtktest was given.
10856 if test "${enable_gtktest+set}" = set; then
10857 enableval="$enable_gtktest"
10858 :
10859 else
10860 enable_gtktest=yes
10861 fi
10862
10863
10864 for module in . $GTK_MODULES
10865 do
10866 case "$module" in
10867 gthread)
10868 gtk_config_args="$gtk_config_args gthread"
10869 ;;
10870 esac
10871 done
10872
10873 if test x$gtk_config_exec_prefix != x ; then
10874 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10875 if test x${GTK_CONFIG+set} != xset ; then
10876 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
10877 fi
10878 fi
10879 if test x$gtk_config_prefix != x ; then
10880 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
10881 if test x${GTK_CONFIG+set} != xset ; then
10882 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
10883 fi
10884 fi
10885
10886 # Extract the first word of "gtk-config", so it can be a program name with args.
10887 set dummy gtk-config; ac_word=$2
10888 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10889 echo "configure:10890: checking for $ac_word" >&5
10890 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10891 echo $ac_n "(cached) $ac_c" 1>&6
10892 else
10893 case "$GTK_CONFIG" in
10894 /*)
10895 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
10896 ;;
10897 ?:/*)
10898 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
10899 ;;
10900 *)
10901 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
10902 ac_dummy="$PATH"
10903 for ac_dir in $ac_dummy; do
10904 test -z "$ac_dir" && ac_dir=.
10905 if test -f $ac_dir/$ac_word; then
10906 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
10907 break
10908 fi
10909 done
10910 IFS="$ac_save_ifs"
10911 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
10912 ;;
10913 esac
10914 fi
10915 GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
10916 if test -n "$GTK_CONFIG"; then
10917 echo "$ac_t""$GTK_CONFIG" 1>&6
10918 else
10919 echo "$ac_t""no" 1>&6
10920 fi
10921
10922 min_gtk_version=1.2.3
10923 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10924 echo "configure:10925: checking for GTK - version >= $min_gtk_version" >&5
10925 no_gtk=""
10926 if test "$GTK_CONFIG" = "no" ; then
10927 no_gtk=yes
10928 else
10929 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
10930 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
10931 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
10932 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10933 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
10934 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10935 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
10936 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10937 if test "x$enable_gtktest" = "xyes" ; then
10938 ac_save_CFLAGS="$CFLAGS"
10939 ac_save_LIBS="$LIBS"
10940 CFLAGS="$CFLAGS $GTK_CFLAGS"
10941 LIBS="$GTK_LIBS $LIBS"
10942 rm -f conf.gtktest
10943 if test "$cross_compiling" = yes; then
10944 echo $ac_n "cross compiling; assumed OK... $ac_c"
10945 else
10946 cat > conftest.$ac_ext <<EOF
10947 #line 10948 "configure"
10948 #include "confdefs.h"
10949
10950 #include <gtk/gtk.h>
10951 #include <stdio.h>
10952 #include <stdlib.h>
10953
10954 int
10955 main ()
10956 {
10957 int major, minor, micro;
10958 char *tmp_version;
10959
10960 system ("touch conf.gtktest");
10961
10962 /* HP/UX 9 (%@#!) writes to sscanf strings */
10963 tmp_version = g_strdup("$min_gtk_version");
10964 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
10965 printf("%s, bad version string\n", "$min_gtk_version");
10966 exit(1);
10967 }
10968
10969 if ((gtk_major_version != $gtk_config_major_version) ||
10970 (gtk_minor_version != $gtk_config_minor_version) ||
10971 (gtk_micro_version != $gtk_config_micro_version))
10972 {
10973 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10974 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10975 gtk_major_version, gtk_minor_version, gtk_micro_version);
10976 printf ("*** was found! If gtk-config was correct, then it is best\n");
10977 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10978 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10979 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10980 printf("*** required on your system.\n");
10981 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10982 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10983 printf("*** before re-running configure\n");
10984 }
10985 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10986 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10987 (gtk_minor_version != GTK_MINOR_VERSION) ||
10988 (gtk_micro_version != GTK_MICRO_VERSION))
10989 {
10990 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10991 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10992 printf("*** library (version %d.%d.%d)\n",
10993 gtk_major_version, gtk_minor_version, gtk_micro_version);
10994 }
10995 #endif /* defined (GTK_MAJOR_VERSION) ... */
10996 else
10997 {
10998 if ((gtk_major_version > major) ||
10999 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11000 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11001 {
11002 return 0;
11003 }
11004 else
11005 {
11006 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11007 gtk_major_version, gtk_minor_version, gtk_micro_version);
11008 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11009 major, minor, micro);
11010 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11011 printf("***\n");
11012 printf("*** If you have already installed a sufficiently new version, this error\n");
11013 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
11014 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11015 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
11016 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
11017 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11018 printf("*** so that the correct libraries are found at run-time))\n");
11019 }
11020 }
11021 return 1;
11022 }
11023
11024 EOF
11025 if { (eval echo configure:11026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11026 then
11027 :
11028 else
11029 echo "configure: failed program was:" >&5
11030 cat conftest.$ac_ext >&5
11031 rm -fr conftest*
11032 no_gtk=yes
11033 fi
11034 rm -fr conftest*
11035 fi
11036
11037 CFLAGS="$ac_save_CFLAGS"
11038 LIBS="$ac_save_LIBS"
11039 fi
11040 fi
11041 if test "x$no_gtk" = x ; then
11042 echo "$ac_t""yes" 1>&6
11043 wx_cv_lib_gtk=1.2.3
11044 else
11045 echo "$ac_t""no" 1>&6
11046 if test "$GTK_CONFIG" = "no" ; then
11047 echo "*** The gtk-config script installed by GTK could not be found"
11048 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
11049 echo "*** your path, or set the GTK_CONFIG environment variable to the"
11050 echo "*** full path to gtk-config."
11051 else
11052 if test -f conf.gtktest ; then
11053 :
11054 else
11055 echo "*** Could not run GTK test program, checking why..."
11056 CFLAGS="$CFLAGS $GTK_CFLAGS"
11057 LIBS="$LIBS $GTK_LIBS"
11058 cat > conftest.$ac_ext <<EOF
11059 #line 11060 "configure"
11060 #include "confdefs.h"
11061
11062 #include <gtk/gtk.h>
11063 #include <stdio.h>
11064
11065 int main() {
11066 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
11067 ; return 0; }
11068 EOF
11069 if { (eval echo configure:11070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11070 rm -rf conftest*
11071 echo "*** The test program compiled, but did not run. This usually means"
11072 echo "*** that the run-time linker is not finding GTK or finding the wrong"
11073 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
11074 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11075 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11076 echo "*** is required on your system"
11077 echo "***"
11078 echo "*** If you have an old version installed, it is best to remove it, although"
11079 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11080 echo "***"
11081 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
11082 echo "*** came with the system with the command"
11083 echo "***"
11084 echo "*** rpm --erase --nodeps gtk gtk-devel"
11085 else
11086 echo "configure: failed program was:" >&5
11087 cat conftest.$ac_ext >&5
11088 rm -rf conftest*
11089 echo "*** The test program failed to compile or link. See the file config.log for the"
11090 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
11091 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
11092 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
11093 fi
11094 rm -f conftest*
11095 CFLAGS="$ac_save_CFLAGS"
11096 LIBS="$ac_save_LIBS"
11097 fi
11098 fi
11099 GTK_CFLAGS=""
11100 GTK_LIBS=""
11101 :
11102 fi
11103
11104
11105 rm -f conf.gtktest
11106
11107 fi
11108
11109 if test -z "$wx_cv_lib_gtk"; then
11110 wx_cv_lib_gtk=none
11111 else
11112 wx_cv_cflags_gtk=$GTK_CFLAGS
11113 wx_cv_libs_gtk=$GTK_LIBS
11114 fi
11115
11116
11117 fi
11118
11119
11120 if test "$gtk_version_cached" = 1; then
11121 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
11122 fi
11123
11124 case "$wx_cv_lib_gtk" in
11125 2.0) WXGTK20=1
11126 ;;
11127 1.2.7) WXGTK127=1
11128 WXGTK12=1
11129 ;;
11130 1.2.3) WXGTK12=1
11131 ;;
11132 *) { echo "configure: error:
11133 Please check that gtk-config is in path, the directory
11134 where GTK+ libraries are installed (returned by
11135 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
11136 equivalent variable and GTK+ is version 1.2.3 or above.
11137 " 1>&2; exit 1; }
11138 ;;
11139 esac
11140
11141 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
11142 GUI_TK_LIBRARY="$wx_cv_libs_gtk"
11143
11144 AFMINSTALL=afminstall
11145 TOOLKIT=GTK
11146 GUIDIST=GTK_DIST
11147
11148 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
11149 echo "configure:11150: checking for gdk_im_open in -lgdk" >&5
11150 ac_lib_var=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
11151 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11152 echo $ac_n "(cached) $ac_c" 1>&6
11153 else
11154 ac_save_LIBS="$LIBS"
11155 LIBS="-lgdk $LIBS"
11156 cat > conftest.$ac_ext <<EOF
11157 #line 11158 "configure"
11158 #include "confdefs.h"
11159 /* Override any gcc2 internal prototype to avoid an error. */
11160 /* We use char because int might match the return type of a gcc2
11161 builtin and then its argument prototype would still apply. */
11162 char gdk_im_open();
11163
11164 int main() {
11165 gdk_im_open()
11166 ; return 0; }
11167 EOF
11168 if { (eval echo configure:11169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11169 rm -rf conftest*
11170 eval "ac_cv_lib_$ac_lib_var=yes"
11171 else
11172 echo "configure: failed program was:" >&5
11173 cat conftest.$ac_ext >&5
11174 rm -rf conftest*
11175 eval "ac_cv_lib_$ac_lib_var=no"
11176 fi
11177 rm -f conftest*
11178 LIBS="$ac_save_LIBS"
11179
11180 fi
11181 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11182 echo "$ac_t""yes" 1>&6
11183 cat >> confdefs.h <<\EOF
11184 #define HAVE_XIM 1
11185 EOF
11186
11187 else
11188 echo "$ac_t""no" 1>&6
11189 fi
11190
11191 fi
11192
11193 if test "$wxUSE_MGL" = 1; then
11194 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
11195 echo "configure:11196: checking for SciTech MGL library" >&5
11196 if test "x$MGL_ROOT" = x ; then
11197 echo "$ac_t""not found" 1>&6
11198 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
11199 else
11200 echo "$ac_t""$MGL_ROOT" 1>&6
11201 fi
11202
11203 case "${host}" in
11204 *-*-linux* )
11205 mgl_os=linux/gcc/glibc
11206 ;;
11207 *-pc-msdosdjgpp )
11208 mgl_os=dos32/dj2
11209 ;;
11210 *)
11211 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
11212 esac
11213
11214 mgl_lib_type=""
11215
11216 if test "$wxUSE_DEBUG_FLAG" = yes ; then
11217 if test -f $MGL_ROOT/lib/debug/$mgl_os/libmgl.a -o \
11218 -f $MGL_ROOT/lib/debug/$mgl_os/libmgl.so; then
11219 mgl_lib_type=debug
11220 fi
11221 fi
11222 if test "x$mgl_lib_type" = x ; then
11223 if test -f $MGL_ROOT/lib/release/$mgl_os/libmgl.a -o \
11224 -f $MGL_ROOT/lib/release/$mgl_os/libmgl.so; then
11225 mgl_lib_type=release
11226 else
11227 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
11228 fi
11229 fi
11230
11231 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
11232 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
11233
11234 AFMINSTALL=afminstall
11235 TOOLKIT=MGL
11236 GUIDIST=MGL_DIST
11237 fi
11238
11239 if test "$wxUSE_MICROWIN" = 1; then
11240 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
11241 echo "configure:11242: checking for MicroWindows" >&5
11242 if test "x$MICROWINDOWS" = x ; then
11243 echo "$ac_t""not found" 1>&6
11244 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
11245 else
11246 echo "$ac_t""$MICROWINDOWS" 1>&6
11247 fi
11248
11249 if test -f $MICROWINDOWS/lib/libmwin.a; then
11250 echo "$ac_t""MicroWindows' libraries found." 1>&6
11251 else
11252 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
11253 fi
11254
11255 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
11256 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
11257
11258 AFMINSTALL=afminstall
11259 TOOLKIT=MICROWIN
11260 GUIDIST=MICROWIN_DIST
11261
11262 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__ -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
11263 fi
11264
11265 if test "$wxUSE_WINE" = 1; then
11266 ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'`
11267 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
11268 echo "configure:11269: checking for windows.h" >&5
11269 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11270 echo $ac_n "(cached) $ac_c" 1>&6
11271 else
11272 cat > conftest.$ac_ext <<EOF
11273 #line 11274 "configure"
11274 #include "confdefs.h"
11275 #include <windows.h>
11276 EOF
11277 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11278 { (eval echo configure:11279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11279 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11280 if test -z "$ac_err"; then
11281 rm -rf conftest*
11282 eval "ac_cv_header_$ac_safe=yes"
11283 else
11284 echo "$ac_err" >&5
11285 echo "configure: failed program was:" >&5
11286 cat conftest.$ac_ext >&5
11287 rm -rf conftest*
11288 eval "ac_cv_header_$ac_safe=no"
11289 fi
11290 rm -f conftest*
11291 fi
11292 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11293 echo "$ac_t""yes" 1>&6
11294 :
11295 else
11296 echo "$ac_t""no" 1>&6
11297
11298 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
11299
11300 fi
11301
11302
11303 xpm_link=
11304 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
11305 echo "configure:11306: checking for Xpm library" >&5
11306
11307 ac_find_libraries=
11308 for ac_dir in $SEARCH_LIB;
11309 do
11310 for ac_extension in a so sl dylib; do
11311 if test -f "$ac_dir/libXpm.$ac_extension"; then
11312 ac_find_libraries=$ac_dir
11313 break 2
11314 fi
11315 done
11316 done
11317
11318 if test "$ac_find_libraries" != "" ; then
11319 GUI_TK_LIBRARY="-L$ac_find_libraries"
11320 xpm_link=" -lXpm"
11321 cat >> confdefs.h <<\EOF
11322 #define wxHAVE_LIB_XPM 1
11323 EOF
11324
11325 echo "$ac_t""found at $ac_find_libraries" 1>&6
11326 else
11327 echo "$ac_t""no" 1>&6
11328 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
11329 fi
11330
11331 mesa_link=
11332 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
11333 echo "configure:11334: checking for Mesa library" >&5
11334
11335 ac_find_libraries=
11336 for ac_dir in $SEARCH_LIB;
11337 do
11338 for ac_extension in a so sl dylib; do
11339 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
11340 ac_find_libraries=$ac_dir
11341 break 2
11342 fi
11343 done
11344 done
11345
11346 if test "$ac_find_libraries" != "" ; then
11347 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -L$ac_find_libraries"
11348 mesa_link=" -lMesaGL"
11349 echo "$ac_t""found at $ac_find_libraries" 1>&6
11350 else
11351 { echo "configure: error: no" 1>&2; exit 1; }
11352 fi
11353
11354 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
11355 TOOLKIT=MSW
11356 GUIDIST=MSW_DIST
11357 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXWINE__"
11358 fi
11359
11360 if test "$wxUSE_MOTIF" = 1; then
11361 # If we find X, set shell vars x_includes and x_libraries to the
11362 # paths, otherwise set no_x=yes.
11363 # Uses ac_ vars as temps to allow command line to override cache and checks.
11364 # --without-x overrides everything else, but does not touch the cache.
11365 echo $ac_n "checking for X""... $ac_c" 1>&6
11366 echo "configure:11367: checking for X" >&5
11367
11368 # Check whether --with-x or --without-x was given.
11369 if test "${with_x+set}" = set; then
11370 withval="$with_x"
11371 :
11372 fi
11373
11374 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11375 if test "x$with_x" = xno; then
11376 # The user explicitly disabled X.
11377 have_x=disabled
11378 else
11379 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
11380 # Both variables are already set.
11381 have_x=yes
11382 else
11383 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
11384 echo $ac_n "(cached) $ac_c" 1>&6
11385 else
11386 # One or both of the vars are not set, and there is no cached value.
11387 ac_x_includes=NO ac_x_libraries=NO
11388 rm -fr conftestdir
11389 if mkdir conftestdir; then
11390 cd conftestdir
11391 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
11392 cat > Imakefile <<'EOF'
11393 acfindx:
11394 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
11395 EOF
11396 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
11397 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11398 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
11399 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11400 for ac_extension in a so sl; do
11401 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
11402 test -f $ac_im_libdir/libX11.$ac_extension; then
11403 ac_im_usrlibdir=$ac_im_libdir; break
11404 fi
11405 done
11406 # Screen out bogus values from the imake configuration. They are
11407 # bogus both because they are the default anyway, and because
11408 # using them would break gcc on systems where it needs fixed includes.
11409 case "$ac_im_incroot" in
11410 /usr/include) ;;
11411 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
11412 esac
11413 case "$ac_im_usrlibdir" in
11414 /usr/lib | /lib) ;;
11415 *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
11416 esac
11417 fi
11418 cd ..
11419 rm -fr conftestdir
11420 fi
11421
11422 if test "$ac_x_includes" = NO; then
11423 # Guess where to find include files, by looking for this one X11 .h file.
11424 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
11425
11426 # First, try using that file with no special directory specified.
11427 cat > conftest.$ac_ext <<EOF
11428 #line 11429 "configure"
11429 #include "confdefs.h"
11430 #include <$x_direct_test_include>
11431 EOF
11432 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11433 { (eval echo configure:11434: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11434 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11435 if test -z "$ac_err"; then
11436 rm -rf conftest*
11437 # We can compile using X headers with no special include directory.
11438 ac_x_includes=
11439 else
11440 echo "$ac_err" >&5
11441 echo "configure: failed program was:" >&5
11442 cat conftest.$ac_ext >&5
11443 rm -rf conftest*
11444 # Look for the header file in a standard set of common directories.
11445 # Check X11 before X11Rn because it is often a symlink to the current release.
11446 for ac_dir in \
11447 /usr/X11/include \
11448 /usr/X11R6/include \
11449 /usr/X11R5/include \
11450 /usr/X11R4/include \
11451 \
11452 /usr/include/X11 \
11453 /usr/include/X11R6 \
11454 /usr/include/X11R5 \
11455 /usr/include/X11R4 \
11456 \
11457 /usr/local/X11/include \
11458 /usr/local/X11R6/include \
11459 /usr/local/X11R5/include \
11460 /usr/local/X11R4/include \
11461 \
11462 /usr/local/include/X11 \
11463 /usr/local/include/X11R6 \
11464 /usr/local/include/X11R5 \
11465 /usr/local/include/X11R4 \
11466 \
11467 /usr/X386/include \
11468 /usr/x386/include \
11469 /usr/XFree86/include/X11 \
11470 \
11471 /usr/include \
11472 /usr/local/include \
11473 /usr/unsupported/include \
11474 /usr/athena/include \
11475 /usr/local/x11r5/include \
11476 /usr/lpp/Xamples/include \
11477 \
11478 /usr/openwin/include \
11479 /usr/openwin/share/include \
11480 ; \
11481 do
11482 if test -r "$ac_dir/$x_direct_test_include"; then
11483 ac_x_includes=$ac_dir
11484 break
11485 fi
11486 done
11487 fi
11488 rm -f conftest*
11489 fi # $ac_x_includes = NO
11490
11491 if test "$ac_x_libraries" = NO; then
11492 # Check for the libraries.
11493
11494 test -z "$x_direct_test_library" && x_direct_test_library=Xt
11495 test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
11496
11497 # See if we find them without any special options.
11498 # Don't add to $LIBS permanently.
11499 ac_save_LIBS="$LIBS"
11500 LIBS="-l$x_direct_test_library $LIBS"
11501 cat > conftest.$ac_ext <<EOF
11502 #line 11503 "configure"
11503 #include "confdefs.h"
11504
11505 int main() {
11506 ${x_direct_test_function}()
11507 ; return 0; }
11508 EOF
11509 if { (eval echo configure:11510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11510 rm -rf conftest*
11511 LIBS="$ac_save_LIBS"
11512 # We can link X programs with no special library path.
11513 ac_x_libraries=
11514 else
11515 echo "configure: failed program was:" >&5
11516 cat conftest.$ac_ext >&5
11517 rm -rf conftest*
11518 LIBS="$ac_save_LIBS"
11519 # First see if replacing the include by lib works.
11520 # Check X11 before X11Rn because it is often a symlink to the current release.
11521 for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
11522 /usr/X11/lib \
11523 /usr/X11R6/lib \
11524 /usr/X11R5/lib \
11525 /usr/X11R4/lib \
11526 \
11527 /usr/lib/X11 \
11528 /usr/lib/X11R6 \
11529 /usr/lib/X11R5 \
11530 /usr/lib/X11R4 \
11531 \
11532 /usr/local/X11/lib \
11533 /usr/local/X11R6/lib \
11534 /usr/local/X11R5/lib \
11535 /usr/local/X11R4/lib \
11536 \
11537 /usr/local/lib/X11 \
11538 /usr/local/lib/X11R6 \
11539 /usr/local/lib/X11R5 \
11540 /usr/local/lib/X11R4 \
11541 \
11542 /usr/X386/lib \
11543 /usr/x386/lib \
11544 /usr/XFree86/lib/X11 \
11545 \
11546 /usr/lib \
11547 /usr/local/lib \
11548 /usr/unsupported/lib \
11549 /usr/athena/lib \
11550 /usr/local/x11r5/lib \
11551 /usr/lpp/Xamples/lib \
11552 /lib/usr/lib/X11 \
11553 \
11554 /usr/openwin/lib \
11555 /usr/openwin/share/lib \
11556 ; \
11557 do
11558 for ac_extension in a so sl; do
11559 if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
11560 ac_x_libraries=$ac_dir
11561 break 2
11562 fi
11563 done
11564 done
11565 fi
11566 rm -f conftest*
11567 fi # $ac_x_libraries = NO
11568
11569 if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then
11570 # Didn't find X anywhere. Cache the known absence of X.
11571 ac_cv_have_x="have_x=no"
11572 else
11573 # Record where we found X for the cache.
11574 ac_cv_have_x="have_x=yes \
11575 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
11576 fi
11577 fi
11578 fi
11579 eval "$ac_cv_have_x"
11580 fi # $with_x != no
11581
11582 if test "$have_x" != yes; then
11583 echo "$ac_t""$have_x" 1>&6
11584 no_x=yes
11585 else
11586 # If each of the values was on the command line, it overrides each guess.
11587 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11588 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11589 # Update the cache value to reflect the command line values.
11590 ac_cv_have_x="have_x=yes \
11591 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
11592 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
11593 fi
11594
11595 if test "$no_x" = yes; then
11596 # Not all programs may use this symbol, but it does not hurt to define it.
11597 cat >> confdefs.h <<\EOF
11598 #define X_DISPLAY_MISSING 1
11599 EOF
11600
11601 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11602 else
11603 if test -n "$x_includes"; then
11604 X_CFLAGS="$X_CFLAGS -I$x_includes"
11605 fi
11606
11607 # It would also be nice to do this for all -L options, not just this one.
11608 if test -n "$x_libraries"; then
11609 X_LIBS="$X_LIBS -L$x_libraries"
11610 # For Solaris; some versions of Sun CC require a space after -R and
11611 # others require no space. Words are not sufficient . . . .
11612 case "`(uname -sr) 2>/dev/null`" in
11613 "SunOS 5"*)
11614 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
11615 echo "configure:11616: checking whether -R must be followed by a space" >&5
11616 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
11617 cat > conftest.$ac_ext <<EOF
11618 #line 11619 "configure"
11619 #include "confdefs.h"
11620
11621 int main() {
11622
11623 ; return 0; }
11624 EOF
11625 if { (eval echo configure:11626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11626 rm -rf conftest*
11627 ac_R_nospace=yes
11628 else
11629 echo "configure: failed program was:" >&5
11630 cat conftest.$ac_ext >&5
11631 rm -rf conftest*
11632 ac_R_nospace=no
11633 fi
11634 rm -f conftest*
11635 if test $ac_R_nospace = yes; then
11636 echo "$ac_t""no" 1>&6
11637 X_LIBS="$X_LIBS -R$x_libraries"
11638 else
11639 LIBS="$ac_xsave_LIBS -R $x_libraries"
11640 cat > conftest.$ac_ext <<EOF
11641 #line 11642 "configure"
11642 #include "confdefs.h"
11643
11644 int main() {
11645
11646 ; return 0; }
11647 EOF
11648 if { (eval echo configure:11649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11649 rm -rf conftest*
11650 ac_R_space=yes
11651 else
11652 echo "configure: failed program was:" >&5
11653 cat conftest.$ac_ext >&5
11654 rm -rf conftest*
11655 ac_R_space=no
11656 fi
11657 rm -f conftest*
11658 if test $ac_R_space = yes; then
11659 echo "$ac_t""yes" 1>&6
11660 X_LIBS="$X_LIBS -R $x_libraries"
11661 else
11662 echo "$ac_t""neither works" 1>&6
11663 fi
11664 fi
11665 LIBS="$ac_xsave_LIBS"
11666 esac
11667 fi
11668
11669 # Check for system-dependent libraries X programs must link with.
11670 # Do this before checking for the system-independent R6 libraries
11671 # (-lICE), since we may need -lsocket or whatever for X linking.
11672
11673 if test "$ISC" = yes; then
11674 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11675 else
11676 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
11677 # libraries were built with DECnet support. And karl@cs.umb.edu says
11678 # the Alpha needs dnet_stub (dnet does not exist).
11679 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
11680 echo "configure:11681: checking for dnet_ntoa in -ldnet" >&5
11681 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11682 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11683 echo $ac_n "(cached) $ac_c" 1>&6
11684 else
11685 ac_save_LIBS="$LIBS"
11686 LIBS="-ldnet $LIBS"
11687 cat > conftest.$ac_ext <<EOF
11688 #line 11689 "configure"
11689 #include "confdefs.h"
11690 /* Override any gcc2 internal prototype to avoid an error. */
11691 /* We use char because int might match the return type of a gcc2
11692 builtin and then its argument prototype would still apply. */
11693 char dnet_ntoa();
11694
11695 int main() {
11696 dnet_ntoa()
11697 ; return 0; }
11698 EOF
11699 if { (eval echo configure:11700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11700 rm -rf conftest*
11701 eval "ac_cv_lib_$ac_lib_var=yes"
11702 else
11703 echo "configure: failed program was:" >&5
11704 cat conftest.$ac_ext >&5
11705 rm -rf conftest*
11706 eval "ac_cv_lib_$ac_lib_var=no"
11707 fi
11708 rm -f conftest*
11709 LIBS="$ac_save_LIBS"
11710
11711 fi
11712 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11713 echo "$ac_t""yes" 1>&6
11714 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11715 else
11716 echo "$ac_t""no" 1>&6
11717 fi
11718
11719 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11720 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
11721 echo "configure:11722: checking for dnet_ntoa in -ldnet_stub" >&5
11722 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11723 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11724 echo $ac_n "(cached) $ac_c" 1>&6
11725 else
11726 ac_save_LIBS="$LIBS"
11727 LIBS="-ldnet_stub $LIBS"
11728 cat > conftest.$ac_ext <<EOF
11729 #line 11730 "configure"
11730 #include "confdefs.h"
11731 /* Override any gcc2 internal prototype to avoid an error. */
11732 /* We use char because int might match the return type of a gcc2
11733 builtin and then its argument prototype would still apply. */
11734 char dnet_ntoa();
11735
11736 int main() {
11737 dnet_ntoa()
11738 ; return 0; }
11739 EOF
11740 if { (eval echo configure:11741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11741 rm -rf conftest*
11742 eval "ac_cv_lib_$ac_lib_var=yes"
11743 else
11744 echo "configure: failed program was:" >&5
11745 cat conftest.$ac_ext >&5
11746 rm -rf conftest*
11747 eval "ac_cv_lib_$ac_lib_var=no"
11748 fi
11749 rm -f conftest*
11750 LIBS="$ac_save_LIBS"
11751
11752 fi
11753 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11754 echo "$ac_t""yes" 1>&6
11755 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11756 else
11757 echo "$ac_t""no" 1>&6
11758 fi
11759
11760 fi
11761
11762 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11763 # to get the SysV transport functions.
11764 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
11765 # needs -lnsl.
11766 # The nsl library prevents programs from opening the X display
11767 # on Irix 5.2, according to dickey@clark.net.
11768 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
11769 echo "configure:11770: checking for gethostbyname" >&5
11770 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
11771 echo $ac_n "(cached) $ac_c" 1>&6
11772 else
11773 cat > conftest.$ac_ext <<EOF
11774 #line 11775 "configure"
11775 #include "confdefs.h"
11776 /* System header to define __stub macros and hopefully few prototypes,
11777 which can conflict with char gethostbyname(); below. */
11778 #include <assert.h>
11779 /* Override any gcc2 internal prototype to avoid an error. */
11780 /* We use char because int might match the return type of a gcc2
11781 builtin and then its argument prototype would still apply. */
11782 char gethostbyname();
11783
11784 int main() {
11785
11786 /* The GNU C library defines this for functions which it implements
11787 to always fail with ENOSYS. Some functions are actually named
11788 something starting with __ and the normal name is an alias. */
11789 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11790 choke me
11791 #else
11792 gethostbyname();
11793 #endif
11794
11795 ; return 0; }
11796 EOF
11797 if { (eval echo configure:11798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11798 rm -rf conftest*
11799 eval "ac_cv_func_gethostbyname=yes"
11800 else
11801 echo "configure: failed program was:" >&5
11802 cat conftest.$ac_ext >&5
11803 rm -rf conftest*
11804 eval "ac_cv_func_gethostbyname=no"
11805 fi
11806 rm -f conftest*
11807 fi
11808
11809 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
11810 echo "$ac_t""yes" 1>&6
11811 :
11812 else
11813 echo "$ac_t""no" 1>&6
11814 fi
11815
11816 if test $ac_cv_func_gethostbyname = no; then
11817 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
11818 echo "configure:11819: checking for gethostbyname in -lnsl" >&5
11819 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
11820 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11821 echo $ac_n "(cached) $ac_c" 1>&6
11822 else
11823 ac_save_LIBS="$LIBS"
11824 LIBS="-lnsl $LIBS"
11825 cat > conftest.$ac_ext <<EOF
11826 #line 11827 "configure"
11827 #include "confdefs.h"
11828 /* Override any gcc2 internal prototype to avoid an error. */
11829 /* We use char because int might match the return type of a gcc2
11830 builtin and then its argument prototype would still apply. */
11831 char gethostbyname();
11832
11833 int main() {
11834 gethostbyname()
11835 ; return 0; }
11836 EOF
11837 if { (eval echo configure:11838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11838 rm -rf conftest*
11839 eval "ac_cv_lib_$ac_lib_var=yes"
11840 else
11841 echo "configure: failed program was:" >&5
11842 cat conftest.$ac_ext >&5
11843 rm -rf conftest*
11844 eval "ac_cv_lib_$ac_lib_var=no"
11845 fi
11846 rm -f conftest*
11847 LIBS="$ac_save_LIBS"
11848
11849 fi
11850 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11851 echo "$ac_t""yes" 1>&6
11852 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11853 else
11854 echo "$ac_t""no" 1>&6
11855 fi
11856
11857 fi
11858
11859 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11860 # socket/setsockopt and other routines are undefined under SCO ODT
11861 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11862 # on later versions), says simon@lia.di.epfl.ch: it contains
11863 # gethostby* variants that don't use the nameserver (or something).
11864 # -lsocket must be given before -lnsl if both are needed.
11865 # We assume that if connect needs -lnsl, so does gethostbyname.
11866 echo $ac_n "checking for connect""... $ac_c" 1>&6
11867 echo "configure:11868: checking for connect" >&5
11868 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
11869 echo $ac_n "(cached) $ac_c" 1>&6
11870 else
11871 cat > conftest.$ac_ext <<EOF
11872 #line 11873 "configure"
11873 #include "confdefs.h"
11874 /* System header to define __stub macros and hopefully few prototypes,
11875 which can conflict with char connect(); below. */
11876 #include <assert.h>
11877 /* Override any gcc2 internal prototype to avoid an error. */
11878 /* We use char because int might match the return type of a gcc2
11879 builtin and then its argument prototype would still apply. */
11880 char connect();
11881
11882 int main() {
11883
11884 /* The GNU C library defines this for functions which it implements
11885 to always fail with ENOSYS. Some functions are actually named
11886 something starting with __ and the normal name is an alias. */
11887 #if defined (__stub_connect) || defined (__stub___connect)
11888 choke me
11889 #else
11890 connect();
11891 #endif
11892
11893 ; return 0; }
11894 EOF
11895 if { (eval echo configure:11896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11896 rm -rf conftest*
11897 eval "ac_cv_func_connect=yes"
11898 else
11899 echo "configure: failed program was:" >&5
11900 cat conftest.$ac_ext >&5
11901 rm -rf conftest*
11902 eval "ac_cv_func_connect=no"
11903 fi
11904 rm -f conftest*
11905 fi
11906
11907 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
11908 echo "$ac_t""yes" 1>&6
11909 :
11910 else
11911 echo "$ac_t""no" 1>&6
11912 fi
11913
11914 if test $ac_cv_func_connect = no; then
11915 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
11916 echo "configure:11917: checking for connect in -lsocket" >&5
11917 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
11918 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11919 echo $ac_n "(cached) $ac_c" 1>&6
11920 else
11921 ac_save_LIBS="$LIBS"
11922 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11923 cat > conftest.$ac_ext <<EOF
11924 #line 11925 "configure"
11925 #include "confdefs.h"
11926 /* Override any gcc2 internal prototype to avoid an error. */
11927 /* We use char because int might match the return type of a gcc2
11928 builtin and then its argument prototype would still apply. */
11929 char connect();
11930
11931 int main() {
11932 connect()
11933 ; return 0; }
11934 EOF
11935 if { (eval echo configure:11936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11936 rm -rf conftest*
11937 eval "ac_cv_lib_$ac_lib_var=yes"
11938 else
11939 echo "configure: failed program was:" >&5
11940 cat conftest.$ac_ext >&5
11941 rm -rf conftest*
11942 eval "ac_cv_lib_$ac_lib_var=no"
11943 fi
11944 rm -f conftest*
11945 LIBS="$ac_save_LIBS"
11946
11947 fi
11948 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11949 echo "$ac_t""yes" 1>&6
11950 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11951 else
11952 echo "$ac_t""no" 1>&6
11953 fi
11954
11955 fi
11956
11957 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
11958 echo $ac_n "checking for remove""... $ac_c" 1>&6
11959 echo "configure:11960: checking for remove" >&5
11960 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
11961 echo $ac_n "(cached) $ac_c" 1>&6
11962 else
11963 cat > conftest.$ac_ext <<EOF
11964 #line 11965 "configure"
11965 #include "confdefs.h"
11966 /* System header to define __stub macros and hopefully few prototypes,
11967 which can conflict with char remove(); below. */
11968 #include <assert.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 remove();
11973
11974 int main() {
11975
11976 /* The GNU C library defines this for functions which it implements
11977 to always fail with ENOSYS. Some functions are actually named
11978 something starting with __ and the normal name is an alias. */
11979 #if defined (__stub_remove) || defined (__stub___remove)
11980 choke me
11981 #else
11982 remove();
11983 #endif
11984
11985 ; return 0; }
11986 EOF
11987 if { (eval echo configure:11988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11988 rm -rf conftest*
11989 eval "ac_cv_func_remove=yes"
11990 else
11991 echo "configure: failed program was:" >&5
11992 cat conftest.$ac_ext >&5
11993 rm -rf conftest*
11994 eval "ac_cv_func_remove=no"
11995 fi
11996 rm -f conftest*
11997 fi
11998
11999 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
12000 echo "$ac_t""yes" 1>&6
12001 :
12002 else
12003 echo "$ac_t""no" 1>&6
12004 fi
12005
12006 if test $ac_cv_func_remove = no; then
12007 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
12008 echo "configure:12009: checking for remove in -lposix" >&5
12009 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
12010 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12011 echo $ac_n "(cached) $ac_c" 1>&6
12012 else
12013 ac_save_LIBS="$LIBS"
12014 LIBS="-lposix $LIBS"
12015 cat > conftest.$ac_ext <<EOF
12016 #line 12017 "configure"
12017 #include "confdefs.h"
12018 /* Override any gcc2 internal prototype to avoid an error. */
12019 /* We use char because int might match the return type of a gcc2
12020 builtin and then its argument prototype would still apply. */
12021 char remove();
12022
12023 int main() {
12024 remove()
12025 ; return 0; }
12026 EOF
12027 if { (eval echo configure:12028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12028 rm -rf conftest*
12029 eval "ac_cv_lib_$ac_lib_var=yes"
12030 else
12031 echo "configure: failed program was:" >&5
12032 cat conftest.$ac_ext >&5
12033 rm -rf conftest*
12034 eval "ac_cv_lib_$ac_lib_var=no"
12035 fi
12036 rm -f conftest*
12037 LIBS="$ac_save_LIBS"
12038
12039 fi
12040 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12041 echo "$ac_t""yes" 1>&6
12042 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
12043 else
12044 echo "$ac_t""no" 1>&6
12045 fi
12046
12047 fi
12048
12049 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12050 echo $ac_n "checking for shmat""... $ac_c" 1>&6
12051 echo "configure:12052: checking for shmat" >&5
12052 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
12053 echo $ac_n "(cached) $ac_c" 1>&6
12054 else
12055 cat > conftest.$ac_ext <<EOF
12056 #line 12057 "configure"
12057 #include "confdefs.h"
12058 /* System header to define __stub macros and hopefully few prototypes,
12059 which can conflict with char shmat(); below. */
12060 #include <assert.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 shmat();
12065
12066 int main() {
12067
12068 /* The GNU C library defines this for functions which it implements
12069 to always fail with ENOSYS. Some functions are actually named
12070 something starting with __ and the normal name is an alias. */
12071 #if defined (__stub_shmat) || defined (__stub___shmat)
12072 choke me
12073 #else
12074 shmat();
12075 #endif
12076
12077 ; return 0; }
12078 EOF
12079 if { (eval echo configure:12080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12080 rm -rf conftest*
12081 eval "ac_cv_func_shmat=yes"
12082 else
12083 echo "configure: failed program was:" >&5
12084 cat conftest.$ac_ext >&5
12085 rm -rf conftest*
12086 eval "ac_cv_func_shmat=no"
12087 fi
12088 rm -f conftest*
12089 fi
12090
12091 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
12092 echo "$ac_t""yes" 1>&6
12093 :
12094 else
12095 echo "$ac_t""no" 1>&6
12096 fi
12097
12098 if test $ac_cv_func_shmat = no; then
12099 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
12100 echo "configure:12101: checking for shmat in -lipc" >&5
12101 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
12102 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12103 echo $ac_n "(cached) $ac_c" 1>&6
12104 else
12105 ac_save_LIBS="$LIBS"
12106 LIBS="-lipc $LIBS"
12107 cat > conftest.$ac_ext <<EOF
12108 #line 12109 "configure"
12109 #include "confdefs.h"
12110 /* Override any gcc2 internal prototype to avoid an error. */
12111 /* We use char because int might match the return type of a gcc2
12112 builtin and then its argument prototype would still apply. */
12113 char shmat();
12114
12115 int main() {
12116 shmat()
12117 ; return 0; }
12118 EOF
12119 if { (eval echo configure:12120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12120 rm -rf conftest*
12121 eval "ac_cv_lib_$ac_lib_var=yes"
12122 else
12123 echo "configure: failed program was:" >&5
12124 cat conftest.$ac_ext >&5
12125 rm -rf conftest*
12126 eval "ac_cv_lib_$ac_lib_var=no"
12127 fi
12128 rm -f conftest*
12129 LIBS="$ac_save_LIBS"
12130
12131 fi
12132 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12133 echo "$ac_t""yes" 1>&6
12134 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
12135 else
12136 echo "$ac_t""no" 1>&6
12137 fi
12138
12139 fi
12140 fi
12141
12142 # Check for libraries that X11R6 Xt/Xaw programs need.
12143 ac_save_LDFLAGS="$LDFLAGS"
12144 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
12145 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12146 # check for ICE first), but we must link in the order -lSM -lICE or
12147 # we get undefined symbols. So assume we have SM if we have ICE.
12148 # These have to be linked with before -lX11, unlike the other
12149 # libraries we check for below, so use a different variable.
12150 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
12151 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
12152 echo "configure:12153: checking for IceConnectionNumber in -lICE" >&5
12153 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
12154 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12155 echo $ac_n "(cached) $ac_c" 1>&6
12156 else
12157 ac_save_LIBS="$LIBS"
12158 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
12159 cat > conftest.$ac_ext <<EOF
12160 #line 12161 "configure"
12161 #include "confdefs.h"
12162 /* Override any gcc2 internal prototype to avoid an error. */
12163 /* We use char because int might match the return type of a gcc2
12164 builtin and then its argument prototype would still apply. */
12165 char IceConnectionNumber();
12166
12167 int main() {
12168 IceConnectionNumber()
12169 ; return 0; }
12170 EOF
12171 if { (eval echo configure:12172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12172 rm -rf conftest*
12173 eval "ac_cv_lib_$ac_lib_var=yes"
12174 else
12175 echo "configure: failed program was:" >&5
12176 cat conftest.$ac_ext >&5
12177 rm -rf conftest*
12178 eval "ac_cv_lib_$ac_lib_var=no"
12179 fi
12180 rm -f conftest*
12181 LIBS="$ac_save_LIBS"
12182
12183 fi
12184 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12185 echo "$ac_t""yes" 1>&6
12186 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
12187 else
12188 echo "$ac_t""no" 1>&6
12189 fi
12190
12191 LDFLAGS="$ac_save_LDFLAGS"
12192
12193 fi
12194
12195
12196 if test "$no_x" = "yes"; then
12197 { echo "configure: error: X11 not found" 1>&2; exit 1; }
12198 fi
12199
12200 GUI_TK_LIBRARY="$X_LIBS"
12201 TOOLKIT_INCLUDE="$X_CFLAGS"
12202 AFMINSTALL=afminstall
12203 COMPILED_X_PROGRAM=0
12204
12205 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
12206 echo "configure:12207: checking for Motif/Lesstif headers" >&5
12207
12208 ac_find_includes=
12209 for ac_dir in $SEARCH_INCLUDE;
12210 do
12211 if test -f "$ac_dir/Xm/Xm.h"; then
12212 ac_find_includes=$ac_dir
12213 break
12214 fi
12215 done
12216
12217 if test "$ac_find_includes" != "" ; then
12218 echo "$ac_t""found $ac_find_includes" 1>&6
12219 else
12220 cat > conftest.$ac_ext <<EOF
12221 #line 12222 "configure"
12222 #include "confdefs.h"
12223
12224 #include <Xm/Xm.h>
12225
12226 int main() {
12227
12228 int version;
12229 version = xmUseVersion;
12230
12231 ; return 0; }
12232 EOF
12233 if { (eval echo configure:12234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12234 rm -rf conftest*
12235
12236 echo "$ac_t""found in default search path" 1>&6
12237 COMPILED_X_PROGRAM=1
12238
12239 else
12240 echo "configure: failed program was:" >&5
12241 cat conftest.$ac_ext >&5
12242 rm -rf conftest*
12243
12244 echo "$ac_t""no" 1>&6
12245 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
12246
12247
12248 fi
12249 rm -f conftest*
12250 fi
12251
12252 if test "$COMPILED_X_PROGRAM" = 0; then
12253 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
12254 echo "configure:12255: checking for Motif/Lesstif library" >&5
12255
12256 ac_find_libraries=
12257 for ac_dir in $SEARCH_LIB;
12258 do
12259 for ac_extension in a so sl dylib; do
12260 if test -f "$ac_dir/libXm.$ac_extension"; then
12261 ac_find_libraries=$ac_dir
12262 break 2
12263 fi
12264 done
12265 done
12266
12267 if test "$ac_find_libraries" != "" ; then
12268
12269 ac_path_to_include=$ac_find_includes
12270 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
12271 result=$?
12272 if test $result = 0; then
12273 ac_path_to_include=""
12274 else
12275 ac_path_to_include=" -I$ac_find_includes"
12276 fi
12277
12278
12279 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
12280 result=$?
12281 if test $result = 0; then
12282 ac_path_to_link=""
12283 else
12284 ac_path_to_link=" -L$ac_find_libraries"
12285 fi
12286
12287
12288 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
12289 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
12290 echo "$ac_t""found at $ac_find_libraries" 1>&6
12291 else
12292 cat > conftest.$ac_ext <<EOF
12293 #line 12294 "configure"
12294 #include "confdefs.h"
12295
12296 #include <Xm/Xm.h>
12297
12298 int main() {
12299
12300 int version;
12301 version = xmUseVersion;
12302
12303 ; return 0; }
12304 EOF
12305 if { (eval echo configure:12306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12306 rm -rf conftest*
12307
12308 echo "$ac_t""found in default search path" 1>&6
12309 COMPILED_X_PROGRAM=1
12310
12311 else
12312 echo "configure: failed program was:" >&5
12313 cat conftest.$ac_ext >&5
12314 rm -rf conftest*
12315
12316 echo "$ac_t""no" 1>&6
12317 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
12318
12319
12320 fi
12321 rm -f conftest*
12322 fi
12323 fi
12324
12325 xpm_link=
12326 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
12327 echo "configure:12328: checking for Xpm library" >&5
12328
12329 ac_find_libraries=
12330 for ac_dir in $SEARCH_LIB;
12331 do
12332 for ac_extension in a so sl dylib; do
12333 if test -f "$ac_dir/libXpm.$ac_extension"; then
12334 ac_find_libraries=$ac_dir
12335 break 2
12336 fi
12337 done
12338 done
12339
12340 if test "$ac_find_libraries" != "" ; then
12341
12342 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
12343 result=$?
12344 if test $result = 0; then
12345 ac_path_to_link=""
12346 else
12347 ac_path_to_link=" -L$ac_find_libraries"
12348 fi
12349
12350 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
12351 xpm_link=" -lXpm"
12352 cat >> confdefs.h <<\EOF
12353 #define wxHAVE_LIB_XPM 1
12354 EOF
12355
12356 echo "$ac_t""found at $ac_find_libraries" 1>&6
12357 else
12358 cat > conftest.$ac_ext <<EOF
12359 #line 12360 "configure"
12360 #include "confdefs.h"
12361
12362 #include <X11/xpm.h>
12363
12364 int main() {
12365
12366 int version;
12367 version = XpmLibraryVersion();
12368
12369 ; return 0; }
12370 EOF
12371 if { (eval echo configure:12372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12372 rm -rf conftest*
12373
12374 xpm_link=" -lXpm"
12375 cat >> confdefs.h <<\EOF
12376 #define wxHAVE_LIB_XPM 1
12377 EOF
12378
12379 echo "$ac_t""found in default search path" 1>&6
12380 COMPILED_X_PROGRAM=0
12381
12382 else
12383 echo "configure: failed program was:" >&5
12384 cat conftest.$ac_ext >&5
12385 rm -rf conftest*
12386
12387 echo "$ac_t""no" 1>&6
12388 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12389
12390
12391 fi
12392 rm -f conftest*
12393 fi
12394
12395 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
12396 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
12397 TOOLKIT=MOTIF
12398 GUIDIST=MOTIF_DIST
12399 fi
12400
12401 if test "$wxUSE_MAC" = 1; then
12402 if test "$wxUSE_PRECOMP" = "yes"; then
12403 CPPFLAGS="$CPPFLAGS -cpp-precomp"
12404 fi
12405 CPPFLAGS="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
12406 CFLAGS="$CFLAGS -fpascal-strings"
12407 CXXFLAGS="$CXXFLAGS -fpascal-strings"
12408
12409 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
12410 TOOLKIT=MAC
12411 GUIDIST=MACX_DIST
12412 fi
12413
12414 if test "$wxUSE_PM" = 1; then
12415 TOOLKIT=PM
12416 GUIDIST=GTK_DIST
12417 fi
12418
12419 if test "$TOOLKIT" = "PM" ; then
12420 TOOLKIT_DIR="os2"
12421 else
12422 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
12423 fi
12424
12425 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
12426
12427 if test "$wxUSE_UNIVERSAL" = "yes"; then
12428 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
12429 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
12430 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
12431 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
12432 WIDGET_SET=univ
12433 else
12434 ALL_OBJECTS="\$(GUIOBJS)"
12435 fi
12436
12437 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
12438
12439 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
12440 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
12441 fi
12442
12443 if test "$wxUSE_HTML" = "yes"; then
12444 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
12445 fi
12446
12447 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
12448 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
12449 fi
12450 if test "$wxUSE_LIBJPEG" = "builtin" ; then
12451 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
12452 fi
12453 if test "$wxUSE_LIBTIFF" = "builtin" ; then
12454 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
12455 fi
12456 if test "$wxUSE_LIBPNG" = "builtin" ; then
12457 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
12458 fi
12459 if test "$wxUSE_FREETYPE" = "builtin" ; then
12460 ALL_OBJECTS="${ALL_OBJECTS} \$(FREETYPEOBJS)"
12461 fi
12462
12463 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
12464 DISTDIR="wx\$(TOOLKIT)"
12465 else
12466 USE_GUI=0
12467
12468 TOOLKIT_DIR="base"
12469
12470 if test "$USE_WIN32" = 1 ; then
12471 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
12472 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
12473
12474 TOOLKIT="MSW"
12475 else
12476 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
12477 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
12478 fi
12479
12480 PORT_FILES="\${top_srcdir}/src/files.lst"
12481
12482 GUIDIST="BASE_DIST"
12483 DISTDIR="wxBase"
12484 fi
12485
12486 if test "$wxUSE_REGEX" = "builtin" ; then
12487 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
12488 fi
12489 if test "$wxUSE_ZLIB" = "builtin" ; then
12490 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
12491 fi
12492
12493 if test "$wxUSE_OPENGL" = "yes"; then
12494 if test "$wxUSE_MAC" = 1; then
12495 OPENGL_LIBS="-framework OpenGL -framework AGL"
12496 else
12497
12498 ac_safe=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
12499 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
12500 echo "configure:12501: checking for GL/gl.h" >&5
12501 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12502 echo $ac_n "(cached) $ac_c" 1>&6
12503 else
12504 cat > conftest.$ac_ext <<EOF
12505 #line 12506 "configure"
12506 #include "confdefs.h"
12507 #include <GL/gl.h>
12508 EOF
12509 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12510 { (eval echo configure:12511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12511 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12512 if test -z "$ac_err"; then
12513 rm -rf conftest*
12514 eval "ac_cv_header_$ac_safe=yes"
12515 else
12516 echo "$ac_err" >&5
12517 echo "configure: failed program was:" >&5
12518 cat conftest.$ac_ext >&5
12519 rm -rf conftest*
12520 eval "ac_cv_header_$ac_safe=no"
12521 fi
12522 rm -f conftest*
12523 fi
12524 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12525 echo "$ac_t""yes" 1>&6
12526
12527 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
12528 echo "configure:12529: checking for -lGL" >&5
12529
12530 ac_find_libraries=
12531 for ac_dir in $SEARCH_LIB;
12532 do
12533 for ac_extension in a so sl dylib; do
12534 if test -f "$ac_dir/libGL.$ac_extension"; then
12535 ac_find_libraries=$ac_dir
12536 break 2
12537 fi
12538 done
12539 done
12540
12541 if test "$ac_find_libraries" != "" ; then
12542
12543 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
12544 result=$?
12545 if test $result = 0; then
12546 ac_path_to_link=""
12547 else
12548 ac_path_to_link=" -L$ac_find_libraries"
12549 fi
12550
12551 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
12552 OPENGL_LIBS="-lGL -lGLU"
12553 echo "$ac_t""yes" 1>&6
12554 else
12555 echo "$ac_t""no" 1>&6
12556 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
12557 echo "configure:12558: checking for -lMesaGL" >&5
12558
12559 ac_find_libraries=
12560 for ac_dir in $SEARCH_LIB;
12561 do
12562 for ac_extension in a so sl dylib; do
12563 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
12564 ac_find_libraries=$ac_dir
12565 break 2
12566 fi
12567 done
12568 done
12569
12570 if test "$ac_find_libraries" != "" ; then
12571
12572 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
12573 result=$?
12574 if test $result = 0; then
12575 ac_path_to_link=""
12576 else
12577 ac_path_to_link=" -L$ac_find_libraries"
12578 fi
12579
12580 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
12581 OPENGL_LIBS="-lMesaGL -lMesaGLU"
12582 echo "$ac_t""yes" 1>&6
12583 else
12584 echo "$ac_t""no" 1>&6
12585 fi
12586 fi
12587
12588 else
12589 echo "$ac_t""no" 1>&6
12590 fi
12591
12592
12593
12594 # AC_CHECK_HEADER(GL/gl.h,
12595 # [
12596 # AC_CHECK_LIB(GL, glFlush,
12597 # [
12598 # OPENGL_LIBS="-lGL -lGLU"
12599 # ],
12600 # [
12601 # AC_CHECK_LIB(MesaGL, glFlush,
12602 # [
12603 # OPENGL_LIBS="-lMesaGL -lMesaGLU"
12604 # ],
12605 # [],
12606 # [-lm])
12607 # ],
12608 # [-lm])
12609 # ])
12610
12611 if test "x$OPENGL_LIBS" = "x"; then
12612 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
12613 fi
12614 fi
12615
12616 if test "$wxUSE_OPENGL" = "yes"; then
12617 cat >> confdefs.h <<\EOF
12618 #define wxUSE_OPENGL 1
12619 EOF
12620
12621 cat >> confdefs.h <<\EOF
12622 #define wxUSE_GLCANVAS 1
12623 EOF
12624
12625 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
12626 fi
12627 fi
12628
12629 if test -z "$TOOLKIT_VPATH" ; then
12630 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
12631 fi
12632
12633 if test -n "$TOOLKIT" ; then
12634 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
12635 fi
12636
12637 lib_unicode_suffix=
12638 if test "$wxUSE_UNICODE" = "yes"; then
12639 lib_unicode_suffix=u
12640 fi
12641
12642 lib_debug_suffix=
12643 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
12644 lib_debug_suffix=d
12645 fi
12646
12647 TOOLCHAIN_NAME="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
12648 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
12649
12650 if test "$cross_compiling" = "yes"; then
12651 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
12652 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
12653 fi
12654
12655 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
12656 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
12657
12658 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
12659 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
12660
12661 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
12662 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
12663 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
12664 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
12665
12666 WX_RESOURCES_MACOSX="lib${WX_LIBRARY}.rsrc"
12667 WX_RESOURCES_MACOSX_COMPILED="lib${WX_LIBRARY}.r"
12668
12669 case "${host}" in
12670 *-*-cygwin* | *-*-mingw32* )
12671
12672
12673
12674 if test "$cross_compiling" != "yes"; then
12675 WX_LIBRARY="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
12676 WX_LIBRARY_GL="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
12677 WX_LIBRARY_NAME_SHARED="${WX_LIBRARY}.${SO_SUFFIX}"
12678 WX_LIBRARY_NAME_SHARED_GL="${WX_LIBRARY_GL}.${SO_SUFFIX}"
12679 else
12680 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
12681 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
12682 fi
12683
12684 esac
12685
12686 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
12687 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
12688
12689 WXCONFIG_LIBS="-l${WX_LIBRARY}"
12690 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
12691
12692 if test "$wxUSE_OPENGL" = "yes"; then
12693 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
12694 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
12695 fi
12696
12697
12698
12699 if test "$wxUSE_SHARED" = "yes"; then
12700
12701 if test "$wxUSE_OPENGL" = "yes"; then
12702 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
12703 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
12704 else
12705 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
12706 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1}"
12707 fi
12708
12709 if test "$GCC" = "yes"; then
12710 PIC_FLAG="-fPIC"
12711 fi
12712
12713 SHARED_LD="${CXX} -shared -o"
12714
12715 case "${host}" in
12716 *-hp-hpux* )
12717 if test "$GCC" != "yes"; then
12718 LDFLAGS="$LDFLAGS -L/usr/lib"
12719
12720 SHARED_LD="${CXX} -b -o"
12721 PIC_FLAG="+Z"
12722 fi
12723
12724 if test "$wxUSE_OPENGL" = "yes"; then
12725 WX_ALL_INSTALLED="preinstall_gl"
12726 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12727 else
12728 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12729 fi
12730 ;;
12731
12732 *-*-linux* )
12733 if test "$GCC" != "yes"; then
12734 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
12735 echo "configure:12736: checking for Intel compiler" >&5
12736 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
12737 echo $ac_n "(cached) $ac_c" 1>&6
12738 else
12739
12740 cat > conftest.$ac_ext <<EOF
12741 #line 12742 "configure"
12742 #include "confdefs.h"
12743
12744 int main() {
12745
12746 #ifndef __INTEL_COMPILER
12747 #error Not icc
12748 #endif
12749
12750 ; return 0; }
12751 EOF
12752 if { (eval echo configure:12753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12753 rm -rf conftest*
12754 wx_cv_prog_icc=yes
12755 else
12756 echo "configure: failed program was:" >&5
12757 cat conftest.$ac_ext >&5
12758 rm -rf conftest*
12759 wx_cv_prog_icc=no
12760
12761 fi
12762 rm -f conftest*
12763
12764 fi
12765
12766 echo "$ac_t""$wx_cv_prog_icc" 1>&6
12767 if test "$wx_cv_prog_icc" = "yes"; then
12768 PIC_FLAG="-KPIC"
12769 fi
12770 fi
12771
12772 if test "$wxUSE_SONAME" = "yes" ; then
12773 SONAME_FLAGS="-Wl,-soname,${WX_LIBRARY_LINK1}"
12774 SONAME_FLAGS_GL="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
12775 WX_TARGET_LIBRARY_SONAME="-Wl,-soname,\$(TARGETLIB_LINK1)"
12776 fi
12777 ;;
12778
12779 *-*-solaris2* )
12780 if test "$GCC" = yes ; then
12781 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
12782 else
12783 SHARED_LD="${CXX} -G -o"
12784 PIC_FLAG="-KPIC"
12785 SONAME_FLAGS="-h ${WX_LIBRARY_NAME_SHARED}"
12786 SONAME_FLAGS_GL="-h ${WX_LIBRARY_NAME_SHARED_GL}"
12787 fi
12788 ;;
12789
12790 *-*-darwin* )
12791 CFLAGS="$CFLAGS -fno-common -DDYLIB_INIT"
12792 CXXFLAGS="$CXXFLAGS -fno-common -DDYLIB_INIT"
12793 SHARED_LD="$CXX -dynamiclib -init _wxWindowsDylibInit -o"
12794 PIC_FLAG="-dynamic -fPIC"
12795 ;;
12796
12797 *-*-aix* )
12798 SHARED_LD="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
12799 ;;
12800
12801 *-*-cygwin* | *-*-mingw32* )
12802
12803 WX_LIBRARY_IMPORTLIB="${WX_LIBRARY_NAME_SHARED}.a"
12804
12805 SHARED_LD="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
12806 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
12807
12808 PIC_FLAG="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
12809
12810 if test "$wxUSE_OPENGL" = "yes"; then
12811 WX_ALL_INSTALLED="preinstall_gl"
12812 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12813 else
12814 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12815 fi
12816 ;;
12817
12818 *-pc-os2_emx | *-pc-os2-emx )
12819 wxUSE_SHARED=no
12820 ;;
12821
12822 *-*-beos* )
12823 SHARED_LD="${LD} -shared -o"
12824 ;;
12825
12826 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
12827 *-*-sunos4* | \
12828 *-*-irix5* | *-*-irix6* | \
12829 *-*-osf* | \
12830 *-*-dgux5* | \
12831 *-*-sysv5* )
12832 ;;
12833
12834 *)
12835 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
12836 esac
12837
12838 if test "x$WX_TARGET_LIBRARY" = "x"; then
12839 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
12840 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
12841 fi
12842
12843 WX_TARGET_LIBRARY_TYPE="so"
12844 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
12845 fi
12846
12847 if test "$wxUSE_SHARED" = "no"; then
12848
12849 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
12850 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
12851 fi
12852
12853 if test "$wxUSE_MAC" = 1; then
12854 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
12855 fi
12856
12857 if test "$wxUSE_OPENGL" = "yes"; then
12858 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
12859 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
12860 else
12861 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
12862 fi
12863
12864 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
12865 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
12866
12867 WX_TARGET_LIBRARY_TYPE="a"
12868 INSTALL_LIBRARY='$(INSTALL_DATA)'
12869 fi
12870
12871 if test "$wxUSE_MAC" = 1; then
12872 WX_ALL="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
12873 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
12874 # Extract the first word of "Rez", so it can be a program name with args.
12875 set dummy Rez; ac_word=$2
12876 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12877 echo "configure:12878: checking for $ac_word" >&5
12878 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
12879 echo $ac_n "(cached) $ac_c" 1>&6
12880 else
12881 if test -n "$RESCOMP"; then
12882 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
12883 else
12884 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
12885 ac_dummy="$PATH"
12886 for ac_dir in $ac_dummy; do
12887 test -z "$ac_dir" && ac_dir=.
12888 if test -f $ac_dir/$ac_word; then
12889 ac_cv_prog_RESCOMP="Rez"
12890 break
12891 fi
12892 done
12893 IFS="$ac_save_ifs"
12894 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
12895 fi
12896 fi
12897 RESCOMP="$ac_cv_prog_RESCOMP"
12898 if test -n "$RESCOMP"; then
12899 echo "$ac_t""$RESCOMP" 1>&6
12900 else
12901 echo "$ac_t""no" 1>&6
12902 fi
12903
12904 # Extract the first word of "DeRez", so it can be a program name with args.
12905 set dummy DeRez; ac_word=$2
12906 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12907 echo "configure:12908: checking for $ac_word" >&5
12908 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
12909 echo $ac_n "(cached) $ac_c" 1>&6
12910 else
12911 if test -n "$DEREZ"; then
12912 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
12913 else
12914 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
12915 ac_dummy="$PATH"
12916 for ac_dir in $ac_dummy; do
12917 test -z "$ac_dir" && ac_dir=.
12918 if test -f $ac_dir/$ac_word; then
12919 ac_cv_prog_DEREZ="DeRez"
12920 break
12921 fi
12922 done
12923 IFS="$ac_save_ifs"
12924 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
12925 fi
12926 fi
12927 DEREZ="$ac_cv_prog_DEREZ"
12928 if test -n "$DEREZ"; then
12929 echo "$ac_t""$DEREZ" 1>&6
12930 else
12931 echo "$ac_t""no" 1>&6
12932 fi
12933
12934 LIBWXMACRES="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
12935 LIBWXMACRESCOMP="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
12936 LIBWXMACRESWXCONFIG="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
12937 fi
12938
12939
12940 if test "$wxUSE_MAC" != 1; then
12941 for ac_hdr in strings.h
12942 do
12943 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12944 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12945 echo "configure:12946: checking for $ac_hdr" >&5
12946 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12947 echo $ac_n "(cached) $ac_c" 1>&6
12948 else
12949 cat > conftest.$ac_ext <<EOF
12950 #line 12951 "configure"
12951 #include "confdefs.h"
12952 #include <$ac_hdr>
12953 EOF
12954 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12955 { (eval echo configure:12956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12956 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12957 if test -z "$ac_err"; then
12958 rm -rf conftest*
12959 eval "ac_cv_header_$ac_safe=yes"
12960 else
12961 echo "$ac_err" >&5
12962 echo "configure: failed program was:" >&5
12963 cat conftest.$ac_ext >&5
12964 rm -rf conftest*
12965 eval "ac_cv_header_$ac_safe=no"
12966 fi
12967 rm -f conftest*
12968 fi
12969 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12970 echo "$ac_t""yes" 1>&6
12971 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12972 cat >> confdefs.h <<EOF
12973 #define $ac_tr_hdr 1
12974 EOF
12975
12976 else
12977 echo "$ac_t""no" 1>&6
12978 fi
12979 done
12980
12981 fi
12982
12983 for ac_hdr in stdlib.h
12984 do
12985 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12986 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12987 echo "configure:12988: checking for $ac_hdr" >&5
12988 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12989 echo $ac_n "(cached) $ac_c" 1>&6
12990 else
12991 cat > conftest.$ac_ext <<EOF
12992 #line 12993 "configure"
12993 #include "confdefs.h"
12994 #include <$ac_hdr>
12995 EOF
12996 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12997 { (eval echo configure:12998: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12998 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12999 if test -z "$ac_err"; then
13000 rm -rf conftest*
13001 eval "ac_cv_header_$ac_safe=yes"
13002 else
13003 echo "$ac_err" >&5
13004 echo "configure: failed program was:" >&5
13005 cat conftest.$ac_ext >&5
13006 rm -rf conftest*
13007 eval "ac_cv_header_$ac_safe=no"
13008 fi
13009 rm -f conftest*
13010 fi
13011 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13012 echo "$ac_t""yes" 1>&6
13013 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13014 cat >> confdefs.h <<EOF
13015 #define $ac_tr_hdr 1
13016 EOF
13017
13018 else
13019 echo "$ac_t""no" 1>&6
13020 fi
13021 done
13022
13023 for ac_hdr in malloc.h
13024 do
13025 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13026 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13027 echo "configure:13028: checking for $ac_hdr" >&5
13028 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13029 echo $ac_n "(cached) $ac_c" 1>&6
13030 else
13031 cat > conftest.$ac_ext <<EOF
13032 #line 13033 "configure"
13033 #include "confdefs.h"
13034 #include <$ac_hdr>
13035 EOF
13036 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13037 { (eval echo configure:13038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13038 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13039 if test -z "$ac_err"; then
13040 rm -rf conftest*
13041 eval "ac_cv_header_$ac_safe=yes"
13042 else
13043 echo "$ac_err" >&5
13044 echo "configure: failed program was:" >&5
13045 cat conftest.$ac_ext >&5
13046 rm -rf conftest*
13047 eval "ac_cv_header_$ac_safe=no"
13048 fi
13049 rm -f conftest*
13050 fi
13051 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13052 echo "$ac_t""yes" 1>&6
13053 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13054 cat >> confdefs.h <<EOF
13055 #define $ac_tr_hdr 1
13056 EOF
13057
13058 else
13059 echo "$ac_t""no" 1>&6
13060 fi
13061 done
13062
13063 for ac_hdr in unistd.h
13064 do
13065 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13066 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13067 echo "configure:13068: checking for $ac_hdr" >&5
13068 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13069 echo $ac_n "(cached) $ac_c" 1>&6
13070 else
13071 cat > conftest.$ac_ext <<EOF
13072 #line 13073 "configure"
13073 #include "confdefs.h"
13074 #include <$ac_hdr>
13075 EOF
13076 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13077 { (eval echo configure:13078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13078 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13079 if test -z "$ac_err"; then
13080 rm -rf conftest*
13081 eval "ac_cv_header_$ac_safe=yes"
13082 else
13083 echo "$ac_err" >&5
13084 echo "configure: failed program was:" >&5
13085 cat conftest.$ac_ext >&5
13086 rm -rf conftest*
13087 eval "ac_cv_header_$ac_safe=no"
13088 fi
13089 rm -f conftest*
13090 fi
13091 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13092 echo "$ac_t""yes" 1>&6
13093 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13094 cat >> confdefs.h <<EOF
13095 #define $ac_tr_hdr 1
13096 EOF
13097
13098 else
13099 echo "$ac_t""no" 1>&6
13100 fi
13101 done
13102
13103 for ac_hdr in wchar.h
13104 do
13105 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13106 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13107 echo "configure:13108: checking for $ac_hdr" >&5
13108 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13109 echo $ac_n "(cached) $ac_c" 1>&6
13110 else
13111 cat > conftest.$ac_ext <<EOF
13112 #line 13113 "configure"
13113 #include "confdefs.h"
13114 #include <$ac_hdr>
13115 EOF
13116 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13117 { (eval echo configure:13118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13118 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13119 if test -z "$ac_err"; then
13120 rm -rf conftest*
13121 eval "ac_cv_header_$ac_safe=yes"
13122 else
13123 echo "$ac_err" >&5
13124 echo "configure: failed program was:" >&5
13125 cat conftest.$ac_ext >&5
13126 rm -rf conftest*
13127 eval "ac_cv_header_$ac_safe=no"
13128 fi
13129 rm -f conftest*
13130 fi
13131 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13132 echo "$ac_t""yes" 1>&6
13133 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13134 cat >> confdefs.h <<EOF
13135 #define $ac_tr_hdr 1
13136 EOF
13137
13138 else
13139 echo "$ac_t""no" 1>&6
13140 fi
13141 done
13142
13143 for ac_hdr in wcstr.h
13144 do
13145 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13146 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13147 echo "configure:13148: checking for $ac_hdr" >&5
13148 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13149 echo $ac_n "(cached) $ac_c" 1>&6
13150 else
13151 cat > conftest.$ac_ext <<EOF
13152 #line 13153 "configure"
13153 #include "confdefs.h"
13154 #include <$ac_hdr>
13155 EOF
13156 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13157 { (eval echo configure:13158: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13158 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13159 if test -z "$ac_err"; then
13160 rm -rf conftest*
13161 eval "ac_cv_header_$ac_safe=yes"
13162 else
13163 echo "$ac_err" >&5
13164 echo "configure: failed program was:" >&5
13165 cat conftest.$ac_ext >&5
13166 rm -rf conftest*
13167 eval "ac_cv_header_$ac_safe=no"
13168 fi
13169 rm -f conftest*
13170 fi
13171 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13172 echo "$ac_t""yes" 1>&6
13173 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13174 cat >> confdefs.h <<EOF
13175 #define $ac_tr_hdr 1
13176 EOF
13177
13178 else
13179 echo "$ac_t""no" 1>&6
13180 fi
13181 done
13182
13183 for ac_hdr in wctype.h
13184 do
13185 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13186 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13187 echo "configure:13188: checking for $ac_hdr" >&5
13188 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13189 echo $ac_n "(cached) $ac_c" 1>&6
13190 else
13191 cat > conftest.$ac_ext <<EOF
13192 #line 13193 "configure"
13193 #include "confdefs.h"
13194 #include <$ac_hdr>
13195 EOF
13196 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13197 { (eval echo configure:13198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13198 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13199 if test -z "$ac_err"; then
13200 rm -rf conftest*
13201 eval "ac_cv_header_$ac_safe=yes"
13202 else
13203 echo "$ac_err" >&5
13204 echo "configure: failed program was:" >&5
13205 cat conftest.$ac_ext >&5
13206 rm -rf conftest*
13207 eval "ac_cv_header_$ac_safe=no"
13208 fi
13209 rm -f conftest*
13210 fi
13211 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13212 echo "$ac_t""yes" 1>&6
13213 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13214 cat >> confdefs.h <<EOF
13215 #define $ac_tr_hdr 1
13216 EOF
13217
13218 else
13219 echo "$ac_t""no" 1>&6
13220 fi
13221 done
13222
13223 for ac_hdr in fnmatch.h
13224 do
13225 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13226 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13227 echo "configure:13228: checking for $ac_hdr" >&5
13228 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13229 echo $ac_n "(cached) $ac_c" 1>&6
13230 else
13231 cat > conftest.$ac_ext <<EOF
13232 #line 13233 "configure"
13233 #include "confdefs.h"
13234 #include <$ac_hdr>
13235 EOF
13236 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13237 { (eval echo configure:13238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13238 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13239 if test -z "$ac_err"; then
13240 rm -rf conftest*
13241 eval "ac_cv_header_$ac_safe=yes"
13242 else
13243 echo "$ac_err" >&5
13244 echo "configure: failed program was:" >&5
13245 cat conftest.$ac_ext >&5
13246 rm -rf conftest*
13247 eval "ac_cv_header_$ac_safe=no"
13248 fi
13249 rm -f conftest*
13250 fi
13251 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13252 echo "$ac_t""yes" 1>&6
13253 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13254 cat >> confdefs.h <<EOF
13255 #define $ac_tr_hdr 1
13256 EOF
13257
13258 else
13259 echo "$ac_t""no" 1>&6
13260 fi
13261 done
13262
13263 for ac_hdr in iconv.h
13264 do
13265 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13266 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13267 echo "configure:13268: checking for $ac_hdr" >&5
13268 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13269 echo $ac_n "(cached) $ac_c" 1>&6
13270 else
13271 cat > conftest.$ac_ext <<EOF
13272 #line 13273 "configure"
13273 #include "confdefs.h"
13274 #include <$ac_hdr>
13275 EOF
13276 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13277 { (eval echo configure:13278: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13278 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13279 if test -z "$ac_err"; then
13280 rm -rf conftest*
13281 eval "ac_cv_header_$ac_safe=yes"
13282 else
13283 echo "$ac_err" >&5
13284 echo "configure: failed program was:" >&5
13285 cat conftest.$ac_ext >&5
13286 rm -rf conftest*
13287 eval "ac_cv_header_$ac_safe=no"
13288 fi
13289 rm -f conftest*
13290 fi
13291 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13292 echo "$ac_t""yes" 1>&6
13293 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13294 cat >> confdefs.h <<EOF
13295 #define $ac_tr_hdr 1
13296 EOF
13297
13298 else
13299 echo "$ac_t""no" 1>&6
13300 fi
13301 done
13302
13303 for ac_hdr in langinfo.h
13304 do
13305 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13306 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13307 echo "configure:13308: checking for $ac_hdr" >&5
13308 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13309 echo $ac_n "(cached) $ac_c" 1>&6
13310 else
13311 cat > conftest.$ac_ext <<EOF
13312 #line 13313 "configure"
13313 #include "confdefs.h"
13314 #include <$ac_hdr>
13315 EOF
13316 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13317 { (eval echo configure:13318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13318 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13319 if test -z "$ac_err"; then
13320 rm -rf conftest*
13321 eval "ac_cv_header_$ac_safe=yes"
13322 else
13323 echo "$ac_err" >&5
13324 echo "configure: failed program was:" >&5
13325 cat conftest.$ac_ext >&5
13326 rm -rf conftest*
13327 eval "ac_cv_header_$ac_safe=no"
13328 fi
13329 rm -f conftest*
13330 fi
13331 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13332 echo "$ac_t""yes" 1>&6
13333 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13334 cat >> confdefs.h <<EOF
13335 #define $ac_tr_hdr 1
13336 EOF
13337
13338 else
13339 echo "$ac_t""no" 1>&6
13340 fi
13341 done
13342
13343
13344 if test "$wxUSE_GUI" = "yes"; then
13345 if test "$wxUSE_UNIX" = "yes"; then
13346 for ac_hdr in X11/XKBlib.h
13347 do
13348 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13349 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13350 echo "configure:13351: checking for $ac_hdr" >&5
13351 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13352 echo $ac_n "(cached) $ac_c" 1>&6
13353 else
13354 cat > conftest.$ac_ext <<EOF
13355 #line 13356 "configure"
13356 #include "confdefs.h"
13357 #include <$ac_hdr>
13358 EOF
13359 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13360 { (eval echo configure:13361: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13361 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13362 if test -z "$ac_err"; then
13363 rm -rf conftest*
13364 eval "ac_cv_header_$ac_safe=yes"
13365 else
13366 echo "$ac_err" >&5
13367 echo "configure: failed program was:" >&5
13368 cat conftest.$ac_ext >&5
13369 rm -rf conftest*
13370 eval "ac_cv_header_$ac_safe=no"
13371 fi
13372 rm -f conftest*
13373 fi
13374 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13375 echo "$ac_t""yes" 1>&6
13376 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13377 cat >> confdefs.h <<EOF
13378 #define $ac_tr_hdr 1
13379 EOF
13380
13381 else
13382 echo "$ac_t""no" 1>&6
13383 fi
13384 done
13385
13386 fi
13387 fi
13388
13389
13390 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
13391 echo "configure:13392: checking for ANSI C header files" >&5
13392 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
13393 echo $ac_n "(cached) $ac_c" 1>&6
13394 else
13395 cat > conftest.$ac_ext <<EOF
13396 #line 13397 "configure"
13397 #include "confdefs.h"
13398 #include <stdlib.h>
13399 #include <stdarg.h>
13400 #include <string.h>
13401 #include <float.h>
13402 EOF
13403 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13404 { (eval echo configure:13405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13405 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13406 if test -z "$ac_err"; then
13407 rm -rf conftest*
13408 ac_cv_header_stdc=yes
13409 else
13410 echo "$ac_err" >&5
13411 echo "configure: failed program was:" >&5
13412 cat conftest.$ac_ext >&5
13413 rm -rf conftest*
13414 ac_cv_header_stdc=no
13415 fi
13416 rm -f conftest*
13417
13418 if test $ac_cv_header_stdc = yes; then
13419 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13420 cat > conftest.$ac_ext <<EOF
13421 #line 13422 "configure"
13422 #include "confdefs.h"
13423 #include <string.h>
13424 EOF
13425 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13426 egrep "memchr" >/dev/null 2>&1; then
13427 :
13428 else
13429 rm -rf conftest*
13430 ac_cv_header_stdc=no
13431 fi
13432 rm -f conftest*
13433
13434 fi
13435
13436 if test $ac_cv_header_stdc = yes; then
13437 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13438 cat > conftest.$ac_ext <<EOF
13439 #line 13440 "configure"
13440 #include "confdefs.h"
13441 #include <stdlib.h>
13442 EOF
13443 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13444 egrep "free" >/dev/null 2>&1; then
13445 :
13446 else
13447 rm -rf conftest*
13448 ac_cv_header_stdc=no
13449 fi
13450 rm -f conftest*
13451
13452 fi
13453
13454 if test $ac_cv_header_stdc = yes; then
13455 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13456 if test "$cross_compiling" = yes; then
13457 :
13458 else
13459 cat > conftest.$ac_ext <<EOF
13460 #line 13461 "configure"
13461 #include "confdefs.h"
13462 #include <ctype.h>
13463 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13464 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13465 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13466 int main () { int i; for (i = 0; i < 256; i++)
13467 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
13468 exit (0); }
13469
13470 EOF
13471 if { (eval echo configure:13472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
13472 then
13473 :
13474 else
13475 echo "configure: failed program was:" >&5
13476 cat conftest.$ac_ext >&5
13477 rm -fr conftest*
13478 ac_cv_header_stdc=no
13479 fi
13480 rm -fr conftest*
13481 fi
13482
13483 fi
13484 fi
13485
13486 echo "$ac_t""$ac_cv_header_stdc" 1>&6
13487 if test $ac_cv_header_stdc = yes; then
13488 cat >> confdefs.h <<\EOF
13489 #define STDC_HEADERS 1
13490 EOF
13491
13492 fi
13493
13494 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
13495 echo "configure:13496: checking for mode_t" >&5
13496 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
13497 echo $ac_n "(cached) $ac_c" 1>&6
13498 else
13499 cat > conftest.$ac_ext <<EOF
13500 #line 13501 "configure"
13501 #include "confdefs.h"
13502 #include <sys/types.h>
13503 #if STDC_HEADERS
13504 #include <stdlib.h>
13505 #include <stddef.h>
13506 #endif
13507 EOF
13508 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13509 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
13510 rm -rf conftest*
13511 ac_cv_type_mode_t=yes
13512 else
13513 rm -rf conftest*
13514 ac_cv_type_mode_t=no
13515 fi
13516 rm -f conftest*
13517
13518 fi
13519 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
13520 if test $ac_cv_type_mode_t = no; then
13521 cat >> confdefs.h <<\EOF
13522 #define mode_t int
13523 EOF
13524
13525 fi
13526
13527 echo $ac_n "checking for off_t""... $ac_c" 1>&6
13528 echo "configure:13529: checking for off_t" >&5
13529 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
13530 echo $ac_n "(cached) $ac_c" 1>&6
13531 else
13532 cat > conftest.$ac_ext <<EOF
13533 #line 13534 "configure"
13534 #include "confdefs.h"
13535 #include <sys/types.h>
13536 #if STDC_HEADERS
13537 #include <stdlib.h>
13538 #include <stddef.h>
13539 #endif
13540 EOF
13541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13542 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
13543 rm -rf conftest*
13544 ac_cv_type_off_t=yes
13545 else
13546 rm -rf conftest*
13547 ac_cv_type_off_t=no
13548 fi
13549 rm -f conftest*
13550
13551 fi
13552 echo "$ac_t""$ac_cv_type_off_t" 1>&6
13553 if test $ac_cv_type_off_t = no; then
13554 cat >> confdefs.h <<\EOF
13555 #define off_t long
13556 EOF
13557
13558 fi
13559
13560 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
13561 echo "configure:13562: checking for pid_t" >&5
13562 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
13563 echo $ac_n "(cached) $ac_c" 1>&6
13564 else
13565 cat > conftest.$ac_ext <<EOF
13566 #line 13567 "configure"
13567 #include "confdefs.h"
13568 #include <sys/types.h>
13569 #if STDC_HEADERS
13570 #include <stdlib.h>
13571 #include <stddef.h>
13572 #endif
13573 EOF
13574 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13575 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
13576 rm -rf conftest*
13577 ac_cv_type_pid_t=yes
13578 else
13579 rm -rf conftest*
13580 ac_cv_type_pid_t=no
13581 fi
13582 rm -f conftest*
13583
13584 fi
13585 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
13586 if test $ac_cv_type_pid_t = no; then
13587 cat >> confdefs.h <<\EOF
13588 #define pid_t int
13589 EOF
13590
13591 fi
13592
13593 echo $ac_n "checking for size_t""... $ac_c" 1>&6
13594 echo "configure:13595: checking for size_t" >&5
13595 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
13596 echo $ac_n "(cached) $ac_c" 1>&6
13597 else
13598 cat > conftest.$ac_ext <<EOF
13599 #line 13600 "configure"
13600 #include "confdefs.h"
13601 #include <sys/types.h>
13602 #if STDC_HEADERS
13603 #include <stdlib.h>
13604 #include <stddef.h>
13605 #endif
13606 EOF
13607 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13608 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
13609 rm -rf conftest*
13610 ac_cv_type_size_t=yes
13611 else
13612 rm -rf conftest*
13613 ac_cv_type_size_t=no
13614 fi
13615 rm -f conftest*
13616
13617 fi
13618 echo "$ac_t""$ac_cv_type_size_t" 1>&6
13619 if test $ac_cv_type_size_t = no; then
13620 cat >> confdefs.h <<\EOF
13621 #define size_t unsigned
13622 EOF
13623
13624 fi
13625
13626 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
13627 echo "configure:13628: checking for uid_t in sys/types.h" >&5
13628 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
13629 echo $ac_n "(cached) $ac_c" 1>&6
13630 else
13631 cat > conftest.$ac_ext <<EOF
13632 #line 13633 "configure"
13633 #include "confdefs.h"
13634 #include <sys/types.h>
13635 EOF
13636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13637 egrep "uid_t" >/dev/null 2>&1; then
13638 rm -rf conftest*
13639 ac_cv_type_uid_t=yes
13640 else
13641 rm -rf conftest*
13642 ac_cv_type_uid_t=no
13643 fi
13644 rm -f conftest*
13645
13646 fi
13647
13648 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
13649 if test $ac_cv_type_uid_t = no; then
13650 cat >> confdefs.h <<\EOF
13651 #define uid_t int
13652 EOF
13653
13654 cat >> confdefs.h <<\EOF
13655 #define gid_t int
13656 EOF
13657
13658 fi
13659
13660
13661 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
13662 echo "configure:13663: checking for wchar_t" >&5
13663 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
13664 echo $ac_n "(cached) $ac_c" 1>&6
13665 else
13666
13667 cat > conftest.$ac_ext <<EOF
13668 #line 13669 "configure"
13669 #include "confdefs.h"
13670
13671 #ifdef HAVE_WCHAR_H
13672 # ifdef __CYGWIN__
13673 # include <stddef.h>
13674 # endif
13675 # include <wchar.h>
13676 #endif
13677 #ifdef HAVE_STDLIB_H
13678 # include <stdlib.h>
13679 #endif
13680
13681 int main() {
13682
13683 wchar_t wc, *ws;
13684 wc = L'a';
13685 ws = L"Hello, world!";
13686
13687 ; return 0; }
13688 EOF
13689 if { (eval echo configure:13690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13690 rm -rf conftest*
13691 wx_cv_type_wchar_t=yes
13692 else
13693 echo "configure: failed program was:" >&5
13694 cat conftest.$ac_ext >&5
13695 rm -rf conftest*
13696 wx_cv_type_wchar_t=no
13697
13698 fi
13699 rm -f conftest*
13700
13701 fi
13702
13703 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
13704
13705 if test "$wx_cv_type_wchar_t" = "yes"; then
13706 cat >> confdefs.h <<\EOF
13707 #define wxUSE_WCHAR_T 1
13708 EOF
13709
13710 fi
13711
13712
13713 ac_ext=C
13714 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13715 ac_cpp='$CXXCPP $CPPFLAGS'
13716 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13717 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13718 cross_compiling=$ac_cv_prog_cxx_cross
13719
13720 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
13721 echo "configure:13722: checking if size_t is unsigned int" >&5
13722 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
13723 echo $ac_n "(cached) $ac_c" 1>&6
13724 else
13725 cat > conftest.$ac_ext <<EOF
13726 #line 13727 "configure"
13727 #include "confdefs.h"
13728 #include <stddef.h>
13729 int main() {
13730
13731 return 0; }
13732
13733 struct Foo { void foo(size_t); void foo(unsigned int); };
13734
13735 int bar() {
13736
13737 ; return 0; }
13738 EOF
13739 if { (eval echo configure:13740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13740 rm -rf conftest*
13741 wx_cv_size_t_is_uint=no
13742 else
13743 echo "configure: failed program was:" >&5
13744 cat conftest.$ac_ext >&5
13745 rm -rf conftest*
13746 wx_cv_size_t_is_uint=yes
13747
13748 fi
13749 rm -f conftest*
13750
13751 fi
13752
13753 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
13754
13755 if test "$wx_cv_size_t_is_uint" = "yes"; then
13756 cat >> confdefs.h <<\EOF
13757 #define wxSIZE_T_IS_UINT 1
13758 EOF
13759
13760 else
13761 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
13762 echo "configure:13763: checking if size_t is unsigned long" >&5
13763 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
13764 echo $ac_n "(cached) $ac_c" 1>&6
13765 else
13766 cat > conftest.$ac_ext <<EOF
13767 #line 13768 "configure"
13768 #include "confdefs.h"
13769 #include <stddef.h>
13770 int main() {
13771
13772 return 0; }
13773
13774 struct Foo { void foo(size_t); void foo(unsigned long); };
13775
13776 int bar() {
13777
13778 ; return 0; }
13779 EOF
13780 if { (eval echo configure:13781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13781 rm -rf conftest*
13782 wx_cv_size_t_is_ulong=no
13783 else
13784 echo "configure: failed program was:" >&5
13785 cat conftest.$ac_ext >&5
13786 rm -rf conftest*
13787 wx_cv_size_t_is_ulong=yes
13788
13789 fi
13790 rm -f conftest*
13791
13792 fi
13793
13794 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
13795
13796 if test "$wx_cv_size_t_is_ulong" = "yes"; then
13797 cat >> confdefs.h <<\EOF
13798 #define wxSIZE_T_IS_ULONG 1
13799 EOF
13800
13801 fi
13802 fi
13803
13804 ac_ext=c
13805 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13806 ac_cpp='$CPP $CPPFLAGS'
13807 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13808 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13809 cross_compiling=$ac_cv_prog_cc_cross
13810
13811
13812
13813 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
13814 echo "configure:13815: checking for pw_gecos in struct passwd" >&5
13815 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
13816 echo $ac_n "(cached) $ac_c" 1>&6
13817 else
13818
13819 cat > conftest.$ac_ext <<EOF
13820 #line 13821 "configure"
13821 #include "confdefs.h"
13822 #include <pwd.h>
13823 int main() {
13824
13825 char *p;
13826 struct passwd *pw;
13827 p = pw->pw_gecos;
13828
13829 ; return 0; }
13830 EOF
13831 if { (eval echo configure:13832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13832 rm -rf conftest*
13833
13834 wx_cv_struct_pw_gecos=yes
13835
13836 else
13837 echo "configure: failed program was:" >&5
13838 cat conftest.$ac_ext >&5
13839 rm -rf conftest*
13840
13841 wx_cv_struct_pw_gecos=no
13842
13843
13844 fi
13845 rm -f conftest*
13846
13847
13848 fi
13849
13850 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
13851
13852 if test "$wx_cv_struct_pw_gecos" = "yes"; then
13853 cat >> confdefs.h <<\EOF
13854 #define HAVE_PW_GECOS 1
13855 EOF
13856
13857 fi
13858
13859
13860 echo $ac_n "checking for working const""... $ac_c" 1>&6
13861 echo "configure:13862: checking for working const" >&5
13862 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
13863 echo $ac_n "(cached) $ac_c" 1>&6
13864 else
13865 cat > conftest.$ac_ext <<EOF
13866 #line 13867 "configure"
13867 #include "confdefs.h"
13868
13869 int main() {
13870
13871 /* Ultrix mips cc rejects this. */
13872 typedef int charset[2]; const charset x;
13873 /* SunOS 4.1.1 cc rejects this. */
13874 char const *const *ccp;
13875 char **p;
13876 /* NEC SVR4.0.2 mips cc rejects this. */
13877 struct point {int x, y;};
13878 static struct point const zero = {0,0};
13879 /* AIX XL C 1.02.0.0 rejects this.
13880 It does not let you subtract one const X* pointer from another in an arm
13881 of an if-expression whose if-part is not a constant expression */
13882 const char *g = "string";
13883 ccp = &g + (g ? g-g : 0);
13884 /* HPUX 7.0 cc rejects these. */
13885 ++ccp;
13886 p = (char**) ccp;
13887 ccp = (char const *const *) p;
13888 { /* SCO 3.2v4 cc rejects this. */
13889 char *t;
13890 char const *s = 0 ? (char *) 0 : (char const *) 0;
13891
13892 *t++ = 0;
13893 }
13894 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13895 int x[] = {25, 17};
13896 const int *foo = &x[0];
13897 ++foo;
13898 }
13899 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13900 typedef const int *iptr;
13901 iptr p = 0;
13902 ++p;
13903 }
13904 { /* AIX XL C 1.02.0.0 rejects this saying
13905 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13906 struct s { int j; const int *ap[3]; };
13907 struct s *b; b->j = 5;
13908 }
13909 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13910 const int foo = 10;
13911 }
13912
13913 ; return 0; }
13914 EOF
13915 if { (eval echo configure:13916: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13916 rm -rf conftest*
13917 ac_cv_c_const=yes
13918 else
13919 echo "configure: failed program was:" >&5
13920 cat conftest.$ac_ext >&5
13921 rm -rf conftest*
13922 ac_cv_c_const=no
13923 fi
13924 rm -f conftest*
13925 fi
13926
13927 echo "$ac_t""$ac_cv_c_const" 1>&6
13928 if test $ac_cv_c_const = no; then
13929 cat >> confdefs.h <<\EOF
13930 #define const
13931 EOF
13932
13933 fi
13934
13935 echo $ac_n "checking for inline""... $ac_c" 1>&6
13936 echo "configure:13937: checking for inline" >&5
13937 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
13938 echo $ac_n "(cached) $ac_c" 1>&6
13939 else
13940 ac_cv_c_inline=no
13941 for ac_kw in inline __inline__ __inline; do
13942 cat > conftest.$ac_ext <<EOF
13943 #line 13944 "configure"
13944 #include "confdefs.h"
13945
13946 int main() {
13947 } $ac_kw foo() {
13948 ; return 0; }
13949 EOF
13950 if { (eval echo configure:13951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13951 rm -rf conftest*
13952 ac_cv_c_inline=$ac_kw; break
13953 else
13954 echo "configure: failed program was:" >&5
13955 cat conftest.$ac_ext >&5
13956 fi
13957 rm -f conftest*
13958 done
13959
13960 fi
13961
13962 echo "$ac_t""$ac_cv_c_inline" 1>&6
13963 case "$ac_cv_c_inline" in
13964 inline | yes) ;;
13965 no) cat >> confdefs.h <<\EOF
13966 #define inline
13967 EOF
13968 ;;
13969 *) cat >> confdefs.h <<EOF
13970 #define inline $ac_cv_c_inline
13971 EOF
13972 ;;
13973 esac
13974
13975
13976 echo $ac_n "checking size of char""... $ac_c" 1>&6
13977 echo "configure:13978: checking size of char" >&5
13978 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
13979 echo $ac_n "(cached) $ac_c" 1>&6
13980 else
13981 if test "$cross_compiling" = yes; then
13982 ac_cv_sizeof_char=1
13983 else
13984 cat > conftest.$ac_ext <<EOF
13985 #line 13986 "configure"
13986 #include "confdefs.h"
13987 #include <stdio.h>
13988 main()
13989 {
13990 FILE *f=fopen("conftestval", "w");
13991 if (!f) exit(1);
13992 fprintf(f, "%d\n", sizeof(char));
13993 exit(0);
13994 }
13995 EOF
13996 if { (eval echo configure:13997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
13997 then
13998 ac_cv_sizeof_char=`cat conftestval`
13999 else
14000 echo "configure: failed program was:" >&5
14001 cat conftest.$ac_ext >&5
14002 rm -fr conftest*
14003 ac_cv_sizeof_char=0
14004 fi
14005 rm -fr conftest*
14006 fi
14007
14008 fi
14009 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
14010 cat >> confdefs.h <<EOF
14011 #define SIZEOF_CHAR $ac_cv_sizeof_char
14012 EOF
14013
14014
14015 echo $ac_n "checking size of short""... $ac_c" 1>&6
14016 echo "configure:14017: checking size of short" >&5
14017 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
14018 echo $ac_n "(cached) $ac_c" 1>&6
14019 else
14020 if test "$cross_compiling" = yes; then
14021 ac_cv_sizeof_short=2
14022 else
14023 cat > conftest.$ac_ext <<EOF
14024 #line 14025 "configure"
14025 #include "confdefs.h"
14026 #include <stdio.h>
14027 main()
14028 {
14029 FILE *f=fopen("conftestval", "w");
14030 if (!f) exit(1);
14031 fprintf(f, "%d\n", sizeof(short));
14032 exit(0);
14033 }
14034 EOF
14035 if { (eval echo configure:14036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14036 then
14037 ac_cv_sizeof_short=`cat conftestval`
14038 else
14039 echo "configure: failed program was:" >&5
14040 cat conftest.$ac_ext >&5
14041 rm -fr conftest*
14042 ac_cv_sizeof_short=0
14043 fi
14044 rm -fr conftest*
14045 fi
14046
14047 fi
14048 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
14049 cat >> confdefs.h <<EOF
14050 #define SIZEOF_SHORT $ac_cv_sizeof_short
14051 EOF
14052
14053
14054 echo $ac_n "checking size of int *""... $ac_c" 1>&6
14055 echo "configure:14056: checking size of int *" >&5
14056 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
14057 echo $ac_n "(cached) $ac_c" 1>&6
14058 else
14059 if test "$cross_compiling" = yes; then
14060 ac_cv_sizeof_int_p=4
14061 else
14062 cat > conftest.$ac_ext <<EOF
14063 #line 14064 "configure"
14064 #include "confdefs.h"
14065 #include <stdio.h>
14066 main()
14067 {
14068 FILE *f=fopen("conftestval", "w");
14069 if (!f) exit(1);
14070 fprintf(f, "%d\n", sizeof(int *));
14071 exit(0);
14072 }
14073 EOF
14074 if { (eval echo configure:14075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14075 then
14076 ac_cv_sizeof_int_p=`cat conftestval`
14077 else
14078 echo "configure: failed program was:" >&5
14079 cat conftest.$ac_ext >&5
14080 rm -fr conftest*
14081 ac_cv_sizeof_int_p=0
14082 fi
14083 rm -fr conftest*
14084 fi
14085
14086 fi
14087 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
14088 cat >> confdefs.h <<EOF
14089 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
14090 EOF
14091
14092
14093 echo $ac_n "checking size of int""... $ac_c" 1>&6
14094 echo "configure:14095: checking size of int" >&5
14095 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
14096 echo $ac_n "(cached) $ac_c" 1>&6
14097 else
14098 if test "$cross_compiling" = yes; then
14099 ac_cv_sizeof_int=4
14100 else
14101 cat > conftest.$ac_ext <<EOF
14102 #line 14103 "configure"
14103 #include "confdefs.h"
14104 #include <stdio.h>
14105 main()
14106 {
14107 FILE *f=fopen("conftestval", "w");
14108 if (!f) exit(1);
14109 fprintf(f, "%d\n", sizeof(int));
14110 exit(0);
14111 }
14112 EOF
14113 if { (eval echo configure:14114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14114 then
14115 ac_cv_sizeof_int=`cat conftestval`
14116 else
14117 echo "configure: failed program was:" >&5
14118 cat conftest.$ac_ext >&5
14119 rm -fr conftest*
14120 ac_cv_sizeof_int=0
14121 fi
14122 rm -fr conftest*
14123 fi
14124
14125 fi
14126 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
14127 cat >> confdefs.h <<EOF
14128 #define SIZEOF_INT $ac_cv_sizeof_int
14129 EOF
14130
14131
14132 echo $ac_n "checking size of long""... $ac_c" 1>&6
14133 echo "configure:14134: checking size of long" >&5
14134 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
14135 echo $ac_n "(cached) $ac_c" 1>&6
14136 else
14137 if test "$cross_compiling" = yes; then
14138 ac_cv_sizeof_long=4
14139 else
14140 cat > conftest.$ac_ext <<EOF
14141 #line 14142 "configure"
14142 #include "confdefs.h"
14143 #include <stdio.h>
14144 main()
14145 {
14146 FILE *f=fopen("conftestval", "w");
14147 if (!f) exit(1);
14148 fprintf(f, "%d\n", sizeof(long));
14149 exit(0);
14150 }
14151 EOF
14152 if { (eval echo configure:14153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14153 then
14154 ac_cv_sizeof_long=`cat conftestval`
14155 else
14156 echo "configure: failed program was:" >&5
14157 cat conftest.$ac_ext >&5
14158 rm -fr conftest*
14159 ac_cv_sizeof_long=0
14160 fi
14161 rm -fr conftest*
14162 fi
14163
14164 fi
14165 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
14166 cat >> confdefs.h <<EOF
14167 #define SIZEOF_LONG $ac_cv_sizeof_long
14168 EOF
14169
14170
14171 echo $ac_n "checking size of long long""... $ac_c" 1>&6
14172 echo "configure:14173: checking size of long long" >&5
14173 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
14174 echo $ac_n "(cached) $ac_c" 1>&6
14175 else
14176 if test "$cross_compiling" = yes; then
14177 ac_cv_sizeof_long_long=0
14178 else
14179 cat > conftest.$ac_ext <<EOF
14180 #line 14181 "configure"
14181 #include "confdefs.h"
14182 #include <stdio.h>
14183 main()
14184 {
14185 FILE *f=fopen("conftestval", "w");
14186 if (!f) exit(1);
14187 fprintf(f, "%d\n", sizeof(long long));
14188 exit(0);
14189 }
14190 EOF
14191 if { (eval echo configure:14192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14192 then
14193 ac_cv_sizeof_long_long=`cat conftestval`
14194 else
14195 echo "configure: failed program was:" >&5
14196 cat conftest.$ac_ext >&5
14197 rm -fr conftest*
14198 ac_cv_sizeof_long_long=0
14199 fi
14200 rm -fr conftest*
14201 fi
14202
14203 fi
14204 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
14205 cat >> confdefs.h <<EOF
14206 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14207 EOF
14208
14209
14210
14211 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
14212 echo "configure:14213: checking size of wchar_t" >&5
14213 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
14214 echo $ac_n "(cached) $ac_c" 1>&6
14215 else
14216
14217 if test "$cross_compiling" = yes; then
14218 wx_cv_sizeof_wchar_t=4
14219
14220 else
14221 cat > conftest.$ac_ext <<EOF
14222 #line 14223 "configure"
14223 #include "confdefs.h"
14224
14225 #ifdef HAVE_WCHAR_H
14226 # ifdef __CYGWIN__
14227 # include <stddef.h>
14228 # endif
14229 # include <wchar.h>
14230 #endif
14231 #ifdef HAVE_STDLIB_H
14232 # include <stdlib.h>
14233 #endif
14234 #include <stdio.h>
14235 int main()
14236 {
14237 FILE *f=fopen("conftestval", "w");
14238 if (!f) exit(1);
14239 fprintf(f, "%i", sizeof(wchar_t));
14240 exit(0);
14241 }
14242
14243 EOF
14244 if { (eval echo configure:14245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14245 then
14246 wx_cv_sizeof_wchar_t=`cat conftestval`
14247 else
14248 echo "configure: failed program was:" >&5
14249 cat conftest.$ac_ext >&5
14250 rm -fr conftest*
14251 wx_cv_sizeof_wchar_t=0
14252 fi
14253 rm -fr conftest*
14254 fi
14255
14256
14257 fi
14258
14259 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
14260
14261 cat >> confdefs.h <<EOF
14262 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
14263 EOF
14264
14265
14266 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
14267 echo "configure:14268: checking whether byte ordering is bigendian" >&5
14268 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
14269 echo $ac_n "(cached) $ac_c" 1>&6
14270 else
14271 ac_cv_c_bigendian=unknown
14272 # See if sys/param.h defines the BYTE_ORDER macro.
14273 cat > conftest.$ac_ext <<EOF
14274 #line 14275 "configure"
14275 #include "confdefs.h"
14276 #include <sys/types.h>
14277 #include <sys/param.h>
14278 int main() {
14279
14280 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
14281 bogus endian macros
14282 #endif
14283 ; return 0; }
14284 EOF
14285 if { (eval echo configure:14286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14286 rm -rf conftest*
14287 # It does; now see whether it defined to BIG_ENDIAN or not.
14288 cat > conftest.$ac_ext <<EOF
14289 #line 14290 "configure"
14290 #include "confdefs.h"
14291 #include <sys/types.h>
14292 #include <sys/param.h>
14293 int main() {
14294
14295 #if BYTE_ORDER != BIG_ENDIAN
14296 not big endian
14297 #endif
14298 ; return 0; }
14299 EOF
14300 if { (eval echo configure:14301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14301 rm -rf conftest*
14302 ac_cv_c_bigendian=yes
14303 else
14304 echo "configure: failed program was:" >&5
14305 cat conftest.$ac_ext >&5
14306 rm -rf conftest*
14307 ac_cv_c_bigendian=no
14308 fi
14309 rm -f conftest*
14310 else
14311 echo "configure: failed program was:" >&5
14312 cat conftest.$ac_ext >&5
14313 fi
14314 rm -f conftest*
14315 if test $ac_cv_c_bigendian = unknown; then
14316 if test "$cross_compiling" = yes; then
14317 ac_cv_c_bigendian=unknown
14318 else
14319 cat > conftest.$ac_ext <<EOF
14320 #line 14321 "configure"
14321 #include "confdefs.h"
14322 main () {
14323 /* Are we little or big endian? From Harbison&Steele. */
14324 union
14325 {
14326 long l;
14327 char c[sizeof (long)];
14328 } u;
14329 u.l = 1;
14330 exit (u.c[sizeof (long) - 1] == 1);
14331 }
14332 EOF
14333 if { (eval echo configure:14334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14334 then
14335 ac_cv_c_bigendian=no
14336 else
14337 echo "configure: failed program was:" >&5
14338 cat conftest.$ac_ext >&5
14339 rm -fr conftest*
14340 ac_cv_c_bigendian=yes
14341 fi
14342 rm -fr conftest*
14343 fi
14344
14345 fi
14346 fi
14347
14348 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
14349 if test $ac_cv_c_bigendian = unknown; then
14350 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
14351 fi
14352 if test $ac_cv_c_bigendian = yes; then
14353 cat >> confdefs.h <<\EOF
14354 #define WORDS_BIGENDIAN 1
14355 EOF
14356
14357 fi
14358
14359
14360 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
14361 echo "configure:14362: checking how to run the C++ preprocessor" >&5
14362 if test -z "$CXXCPP"; then
14363 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
14364 echo $ac_n "(cached) $ac_c" 1>&6
14365 else
14366 ac_ext=C
14367 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14368 ac_cpp='$CXXCPP $CPPFLAGS'
14369 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14370 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14371 cross_compiling=$ac_cv_prog_cxx_cross
14372 CXXCPP="${CXX-g++} -E"
14373 cat > conftest.$ac_ext <<EOF
14374 #line 14375 "configure"
14375 #include "confdefs.h"
14376 #include <stdlib.h>
14377 EOF
14378 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14379 { (eval echo configure:14380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14380 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14381 if test -z "$ac_err"; then
14382 :
14383 else
14384 echo "$ac_err" >&5
14385 echo "configure: failed program was:" >&5
14386 cat conftest.$ac_ext >&5
14387 rm -rf conftest*
14388 CXXCPP=/lib/cpp
14389 fi
14390 rm -f conftest*
14391 ac_cv_prog_CXXCPP="$CXXCPP"
14392 ac_ext=C
14393 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14394 ac_cpp='$CXXCPP $CPPFLAGS'
14395 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14396 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14397 cross_compiling=$ac_cv_prog_cxx_cross
14398 fi
14399 fi
14400 CXXCPP="$ac_cv_prog_CXXCPP"
14401 echo "$ac_t""$CXXCPP" 1>&6
14402
14403
14404 if test "$cross_compiling" = "yes"; then
14405 cat >> confdefs.h <<\EOF
14406 #define wxUSE_IOSTREAMH 1
14407 EOF
14408
14409 else
14410
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
14418
14419 for ac_hdr in iostream
14420 do
14421 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14422 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14423 echo "configure:14424: checking for $ac_hdr" >&5
14424 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14425 echo $ac_n "(cached) $ac_c" 1>&6
14426 else
14427 cat > conftest.$ac_ext <<EOF
14428 #line 14429 "configure"
14429 #include "confdefs.h"
14430 #include <$ac_hdr>
14431 EOF
14432 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14433 { (eval echo configure:14434: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14434 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14435 if test -z "$ac_err"; then
14436 rm -rf conftest*
14437 eval "ac_cv_header_$ac_safe=yes"
14438 else
14439 echo "$ac_err" >&5
14440 echo "configure: failed program was:" >&5
14441 cat conftest.$ac_ext >&5
14442 rm -rf conftest*
14443 eval "ac_cv_header_$ac_safe=no"
14444 fi
14445 rm -f conftest*
14446 fi
14447 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14448 echo "$ac_t""yes" 1>&6
14449 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14450 cat >> confdefs.h <<EOF
14451 #define $ac_tr_hdr 1
14452 EOF
14453
14454 else
14455 echo "$ac_t""no" 1>&6
14456 fi
14457 done
14458
14459
14460 if test "$ac_cv_header_iostream" = "yes" ; then
14461 :
14462 else
14463 cat >> confdefs.h <<\EOF
14464 #define wxUSE_IOSTREAMH 1
14465 EOF
14466
14467 fi
14468
14469 ac_ext=c
14470 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14471 ac_cpp='$CPP $CPPFLAGS'
14472 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14473 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14474 cross_compiling=$ac_cv_prog_cc_cross
14475
14476 fi
14477
14478
14479
14480 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
14481 echo "configure:14482: checking if C++ compiler supports bool" >&5
14482 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
14483 echo $ac_n "(cached) $ac_c" 1>&6
14484 else
14485
14486
14487 ac_ext=C
14488 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14489 ac_cpp='$CXXCPP $CPPFLAGS'
14490 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14491 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14492 cross_compiling=$ac_cv_prog_cxx_cross
14493
14494
14495 cat > conftest.$ac_ext <<EOF
14496 #line 14497 "configure"
14497 #include "confdefs.h"
14498
14499
14500 int main() {
14501
14502 bool b = true;
14503
14504 return 0;
14505
14506 ; return 0; }
14507 EOF
14508 if { (eval echo configure:14509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14509 rm -rf conftest*
14510
14511 wx_cv_cpp_bool=yes
14512
14513 else
14514 echo "configure: failed program was:" >&5
14515 cat conftest.$ac_ext >&5
14516 rm -rf conftest*
14517
14518 wx_cv_cpp_bool=no
14519
14520
14521 fi
14522 rm -f conftest*
14523
14524 ac_ext=c
14525 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14526 ac_cpp='$CPP $CPPFLAGS'
14527 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14528 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14529 cross_compiling=$ac_cv_prog_cc_cross
14530
14531
14532 fi
14533
14534 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
14535
14536 if test "$wx_cv_cpp_bool" = "yes"; then
14537 cat >> confdefs.h <<\EOF
14538 #define HAVE_BOOL 1
14539 EOF
14540
14541 fi
14542
14543
14544
14545 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
14546 echo "configure:14547: checking for wcslen in -lc" >&5
14547 ac_lib_var=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
14548 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14549 echo $ac_n "(cached) $ac_c" 1>&6
14550 else
14551 ac_save_LIBS="$LIBS"
14552 LIBS="-lc $LIBS"
14553 cat > conftest.$ac_ext <<EOF
14554 #line 14555 "configure"
14555 #include "confdefs.h"
14556 /* Override any gcc2 internal prototype to avoid an error. */
14557 /* We use char because int might match the return type of a gcc2
14558 builtin and then its argument prototype would still apply. */
14559 char wcslen();
14560
14561 int main() {
14562 wcslen()
14563 ; return 0; }
14564 EOF
14565 if { (eval echo configure:14566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14566 rm -rf conftest*
14567 eval "ac_cv_lib_$ac_lib_var=yes"
14568 else
14569 echo "configure: failed program was:" >&5
14570 cat conftest.$ac_ext >&5
14571 rm -rf conftest*
14572 eval "ac_cv_lib_$ac_lib_var=no"
14573 fi
14574 rm -f conftest*
14575 LIBS="$ac_save_LIBS"
14576
14577 fi
14578 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14579 echo "$ac_t""yes" 1>&6
14580
14581 cat >> confdefs.h <<\EOF
14582 #define HAVE_WCSLEN 1
14583 EOF
14584
14585 WCHAR_LINK=
14586
14587 else
14588 echo "$ac_t""no" 1>&6
14589
14590 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
14591 echo "configure:14592: checking for wcslen in -lw" >&5
14592 ac_lib_var=`echo w'_'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="-lw $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=" -lw"
14631
14632 else
14633 echo "$ac_t""no" 1>&6
14634
14635 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
14636 echo "configure:14637: checking for wcslen in -lmsvcrt" >&5
14637 ac_lib_var=`echo msvcrt'_'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="-lmsvcrt $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=
14676
14677 else
14678 echo "$ac_t""no" 1>&6
14679 fi
14680
14681
14682 fi
14683
14684
14685 fi
14686
14687
14688 for ac_func in wcsrtombs
14689 do
14690 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14691 echo "configure:14692: checking for $ac_func" >&5
14692 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14693 echo $ac_n "(cached) $ac_c" 1>&6
14694 else
14695 cat > conftest.$ac_ext <<EOF
14696 #line 14697 "configure"
14697 #include "confdefs.h"
14698 /* System header to define __stub macros and hopefully few prototypes,
14699 which can conflict with char $ac_func(); below. */
14700 #include <assert.h>
14701 /* Override any gcc2 internal prototype to avoid an error. */
14702 /* We use char because int might match the return type of a gcc2
14703 builtin and then its argument prototype would still apply. */
14704 char $ac_func();
14705
14706 int main() {
14707
14708 /* The GNU C library defines this for functions which it implements
14709 to always fail with ENOSYS. Some functions are actually named
14710 something starting with __ and the normal name is an alias. */
14711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14712 choke me
14713 #else
14714 $ac_func();
14715 #endif
14716
14717 ; return 0; }
14718 EOF
14719 if { (eval echo configure:14720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14720 rm -rf conftest*
14721 eval "ac_cv_func_$ac_func=yes"
14722 else
14723 echo "configure: failed program was:" >&5
14724 cat conftest.$ac_ext >&5
14725 rm -rf conftest*
14726 eval "ac_cv_func_$ac_func=no"
14727 fi
14728 rm -f conftest*
14729 fi
14730
14731 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14732 echo "$ac_t""yes" 1>&6
14733 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14734 cat >> confdefs.h <<EOF
14735 #define $ac_tr_func 1
14736 EOF
14737
14738 else
14739 echo "$ac_t""no" 1>&6
14740 fi
14741 done
14742
14743
14744 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
14745 echo "configure:14746: checking for vprintf" >&5
14746 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
14747 echo $ac_n "(cached) $ac_c" 1>&6
14748 else
14749 cat > conftest.$ac_ext <<EOF
14750 #line 14751 "configure"
14751 #include "confdefs.h"
14752 /* System header to define __stub macros and hopefully few prototypes,
14753 which can conflict with char vprintf(); below. */
14754 #include <assert.h>
14755 /* Override any gcc2 internal prototype to avoid an error. */
14756 /* We use char because int might match the return type of a gcc2
14757 builtin and then its argument prototype would still apply. */
14758 char vprintf();
14759
14760 int main() {
14761
14762 /* The GNU C library defines this for functions which it implements
14763 to always fail with ENOSYS. Some functions are actually named
14764 something starting with __ and the normal name is an alias. */
14765 #if defined (__stub_vprintf) || defined (__stub___vprintf)
14766 choke me
14767 #else
14768 vprintf();
14769 #endif
14770
14771 ; return 0; }
14772 EOF
14773 if { (eval echo configure:14774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14774 rm -rf conftest*
14775 eval "ac_cv_func_vprintf=yes"
14776 else
14777 echo "configure: failed program was:" >&5
14778 cat conftest.$ac_ext >&5
14779 rm -rf conftest*
14780 eval "ac_cv_func_vprintf=no"
14781 fi
14782 rm -f conftest*
14783 fi
14784
14785 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
14786 echo "$ac_t""yes" 1>&6
14787 cat >> confdefs.h <<\EOF
14788 #define HAVE_VPRINTF 1
14789 EOF
14790
14791 else
14792 echo "$ac_t""no" 1>&6
14793 fi
14794
14795 if test "$ac_cv_func_vprintf" != yes; then
14796 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
14797 echo "configure:14798: checking for _doprnt" >&5
14798 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
14799 echo $ac_n "(cached) $ac_c" 1>&6
14800 else
14801 cat > conftest.$ac_ext <<EOF
14802 #line 14803 "configure"
14803 #include "confdefs.h"
14804 /* System header to define __stub macros and hopefully few prototypes,
14805 which can conflict with char _doprnt(); below. */
14806 #include <assert.h>
14807 /* Override any gcc2 internal prototype to avoid an error. */
14808 /* We use char because int might match the return type of a gcc2
14809 builtin and then its argument prototype would still apply. */
14810 char _doprnt();
14811
14812 int main() {
14813
14814 /* The GNU C library defines this for functions which it implements
14815 to always fail with ENOSYS. Some functions are actually named
14816 something starting with __ and the normal name is an alias. */
14817 #if defined (__stub__doprnt) || defined (__stub____doprnt)
14818 choke me
14819 #else
14820 _doprnt();
14821 #endif
14822
14823 ; return 0; }
14824 EOF
14825 if { (eval echo configure:14826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14826 rm -rf conftest*
14827 eval "ac_cv_func__doprnt=yes"
14828 else
14829 echo "configure: failed program was:" >&5
14830 cat conftest.$ac_ext >&5
14831 rm -rf conftest*
14832 eval "ac_cv_func__doprnt=no"
14833 fi
14834 rm -f conftest*
14835 fi
14836
14837 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
14838 echo "$ac_t""yes" 1>&6
14839 cat >> confdefs.h <<\EOF
14840 #define HAVE_DOPRNT 1
14841 EOF
14842
14843 else
14844 echo "$ac_t""no" 1>&6
14845 fi
14846
14847 fi
14848
14849
14850
14851
14852
14853
14854 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
14855 echo "configure:14856: checking for vsnprintf" >&5
14856 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
14857 echo $ac_n "(cached) $ac_c" 1>&6
14858 else
14859
14860 cat > conftest.$ac_ext <<EOF
14861 #line 14862 "configure"
14862 #include "confdefs.h"
14863
14864 #include <stdio.h>
14865 #include <stdarg.h>
14866
14867 int main() {
14868
14869 int wx_test_vsnprintf(const char *, ...);
14870
14871 wx_test_vsnprintf("%s");
14872 return 0;
14873 }
14874
14875 int wx_test_vsnprintf(const char *fmt, ...)
14876 {
14877 char *s;
14878
14879 va_list argp;
14880 va_start(argp, fmt);
14881 vsnprintf(s, 42, fmt, argp);
14882 va_end(argp);
14883
14884 ; return 0; }
14885 EOF
14886 if { (eval echo configure:14887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14887 rm -rf conftest*
14888
14889 wx_cv_func_vsnprintf=yes
14890
14891 else
14892 echo "configure: failed program was:" >&5
14893 cat conftest.$ac_ext >&5
14894 rm -rf conftest*
14895
14896 cat > conftest.$ac_ext <<EOF
14897 #line 14898 "configure"
14898 #include "confdefs.h"
14899
14900 #include <stdio.h>
14901 #include <stdarg.h>
14902
14903 int main() {
14904
14905 int wx_test_vsnprintf(const char *, ...);
14906
14907 wx_test_vsnprintf("%s");
14908 return 0;
14909 }
14910
14911 int wx_test_vsnprintf(const char *fmt, ...)
14912 {
14913 char *s;
14914
14915 va_list argp;
14916 va_start(argp, fmt);
14917 _vsnprintf(s, 42, fmt, argp);
14918 va_end(argp);
14919
14920 ; return 0; }
14921 EOF
14922 if { (eval echo configure:14923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14923 rm -rf conftest*
14924
14925 wx_cv_func_vsnprintf=yes
14926
14927 else
14928 echo "configure: failed program was:" >&5
14929 cat conftest.$ac_ext >&5
14930 rm -rf conftest*
14931
14932 wx_cv_func_vsnprintf=no
14933
14934 fi
14935 rm -f conftest*
14936
14937 fi
14938 rm -f conftest*
14939
14940 fi
14941
14942 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
14943
14944 if test "$wx_cv_func_vsnprintf" = yes; then
14945 cat >> confdefs.h <<\EOF
14946 #define HAVE_VSNPRINTF 1
14947 EOF
14948
14949 else
14950 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
14951 fi
14952
14953 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
14954 echo "configure:14955: checking for vsscanf" >&5
14955 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
14956 echo $ac_n "(cached) $ac_c" 1>&6
14957 else
14958
14959 cat > conftest.$ac_ext <<EOF
14960 #line 14961 "configure"
14961 #include "confdefs.h"
14962
14963 #include <stdio.h>
14964 #include <stdarg.h>
14965
14966 int main() {
14967
14968 int wx_test_vsscanf(const char *, ...);
14969
14970 wx_test_vsscanf("%d");
14971 return 0;
14972 }
14973
14974 int wx_test_vsscanf(const char *fmt, ...)
14975 {
14976 va_list argp;
14977 va_start(argp, fmt);
14978 vsscanf("42", fmt, argp);
14979 va_end(argp);
14980
14981 ; return 0; }
14982 EOF
14983 if { (eval echo configure:14984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14984 rm -rf conftest*
14985
14986 wx_cv_func_vsscanf=yes
14987
14988 else
14989 echo "configure: failed program was:" >&5
14990 cat conftest.$ac_ext >&5
14991 rm -rf conftest*
14992
14993 wx_cv_func_vsscanf=no
14994
14995 fi
14996 rm -f conftest*
14997
14998 fi
14999
15000 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
15001
15002 if test "$wx_cv_func_vsscanf" = yes; then
15003 cat >> confdefs.h <<\EOF
15004 #define HAVE_VSSCANF 1
15005 EOF
15006
15007 fi
15008
15009 if test "$TOOLKIT" != "MSW"; then
15010
15011
15012
15013 ac_ext=C
15014 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15015 ac_cpp='$CXXCPP $CPPFLAGS'
15016 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15017 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15018 cross_compiling=$ac_cv_prog_cxx_cross
15019
15020 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
15021 echo "configure:15022: checking if iconv() takes char**" >&5
15022 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
15023 echo $ac_n "(cached) $ac_c" 1>&6
15024 else
15025
15026 cat > conftest.$ac_ext <<EOF
15027 #line 15028 "configure"
15028 #include "confdefs.h"
15029 #include <iconv.h>
15030 int main() {
15031
15032 char **inbuf, **outbuf;
15033 iconv_t cd;
15034 size_t insz, outsz;
15035 iconv(cd, inbuf, &insz, outbuf, &outsz);
15036
15037 ; return 0; }
15038 EOF
15039 if { (eval echo configure:15040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15040 rm -rf conftest*
15041 wx_cv_iconv_takes_char=yes
15042 else
15043 echo "configure: failed program was:" >&5
15044 cat conftest.$ac_ext >&5
15045 rm -rf conftest*
15046 wx_cv_iconv_takes_char=no
15047 fi
15048 rm -f conftest*
15049
15050 fi
15051
15052 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
15053 ac_ext=c
15054 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15055 ac_cpp='$CPP $CPPFLAGS'
15056 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15057 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15058 cross_compiling=$ac_cv_prog_cc_cross
15059
15060 if test "$wx_cv_iconv_takes_char" = yes ; then
15061 cat >> confdefs.h <<\EOF
15062 #define WX_ICONV_TAKES_CHAR 1
15063 EOF
15064
15065 fi
15066
15067
15068 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
15069 for ac_func in sigaction
15070 do
15071 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15072 echo "configure:15073: checking for $ac_func" >&5
15073 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15074 echo $ac_n "(cached) $ac_c" 1>&6
15075 else
15076 cat > conftest.$ac_ext <<EOF
15077 #line 15078 "configure"
15078 #include "confdefs.h"
15079 /* System header to define __stub macros and hopefully few prototypes,
15080 which can conflict with char $ac_func(); below. */
15081 #include <assert.h>
15082 /* Override any gcc2 internal prototype to avoid an error. */
15083 /* We use char because int might match the return type of a gcc2
15084 builtin and then its argument prototype would still apply. */
15085 char $ac_func();
15086
15087 int main() {
15088
15089 /* The GNU C library defines this for functions which it implements
15090 to always fail with ENOSYS. Some functions are actually named
15091 something starting with __ and the normal name is an alias. */
15092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15093 choke me
15094 #else
15095 $ac_func();
15096 #endif
15097
15098 ; return 0; }
15099 EOF
15100 if { (eval echo configure:15101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15101 rm -rf conftest*
15102 eval "ac_cv_func_$ac_func=yes"
15103 else
15104 echo "configure: failed program was:" >&5
15105 cat conftest.$ac_ext >&5
15106 rm -rf conftest*
15107 eval "ac_cv_func_$ac_func=no"
15108 fi
15109 rm -f conftest*
15110 fi
15111
15112 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15113 echo "$ac_t""yes" 1>&6
15114 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15115 cat >> confdefs.h <<EOF
15116 #define $ac_tr_func 1
15117 EOF
15118
15119 else
15120 echo "$ac_t""no" 1>&6
15121 fi
15122 done
15123
15124
15125 if test "$ac_cv_func_sigaction" = "no"; then
15126 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
15127 wxUSE_ON_FATAL_EXCEPTION=no
15128 fi
15129
15130 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15131
15132 ac_ext=C
15133 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15134 ac_cpp='$CXXCPP $CPPFLAGS'
15135 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15136 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15137 cross_compiling=$ac_cv_prog_cxx_cross
15138
15139
15140 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
15141 echo "configure:15142: checking for sa_handler type" >&5
15142 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
15143 echo $ac_n "(cached) $ac_c" 1>&6
15144 else
15145
15146 cat > conftest.$ac_ext <<EOF
15147 #line 15148 "configure"
15148 #include "confdefs.h"
15149 #include <signal.h>
15150 int main() {
15151
15152 extern void testSigHandler(int);
15153
15154 struct sigaction sa;
15155 sa.sa_handler = testSigHandler;
15156
15157 ; return 0; }
15158 EOF
15159 if { (eval echo configure:15160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15160 rm -rf conftest*
15161
15162 wx_cv_type_sa_handler=int
15163
15164 else
15165 echo "configure: failed program was:" >&5
15166 cat conftest.$ac_ext >&5
15167 rm -rf conftest*
15168
15169 wx_cv_type_sa_handler=void
15170
15171 fi
15172 rm -f conftest*
15173
15174 fi
15175
15176 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
15177
15178 ac_ext=c
15179 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15180 ac_cpp='$CPP $CPPFLAGS'
15181 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15182 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15183 cross_compiling=$ac_cv_prog_cc_cross
15184
15185
15186 cat >> confdefs.h <<EOF
15187 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
15188 EOF
15189
15190 fi
15191 fi
15192
15193 for ac_func in vfork
15194 do
15195 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15196 echo "configure:15197: checking for $ac_func" >&5
15197 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15198 echo $ac_n "(cached) $ac_c" 1>&6
15199 else
15200 cat > conftest.$ac_ext <<EOF
15201 #line 15202 "configure"
15202 #include "confdefs.h"
15203 /* System header to define __stub macros and hopefully few prototypes,
15204 which can conflict with char $ac_func(); below. */
15205 #include <assert.h>
15206 /* Override any gcc2 internal prototype to avoid an error. */
15207 /* We use char because int might match the return type of a gcc2
15208 builtin and then its argument prototype would still apply. */
15209 char $ac_func();
15210
15211 int main() {
15212
15213 /* The GNU C library defines this for functions which it implements
15214 to always fail with ENOSYS. Some functions are actually named
15215 something starting with __ and the normal name is an alias. */
15216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15217 choke me
15218 #else
15219 $ac_func();
15220 #endif
15221
15222 ; return 0; }
15223 EOF
15224 if { (eval echo configure:15225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15225 rm -rf conftest*
15226 eval "ac_cv_func_$ac_func=yes"
15227 else
15228 echo "configure: failed program was:" >&5
15229 cat conftest.$ac_ext >&5
15230 rm -rf conftest*
15231 eval "ac_cv_func_$ac_func=no"
15232 fi
15233 rm -f conftest*
15234 fi
15235
15236 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15237 echo "$ac_t""yes" 1>&6
15238 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15239 cat >> confdefs.h <<EOF
15240 #define $ac_tr_func 1
15241 EOF
15242
15243 else
15244 echo "$ac_t""no" 1>&6
15245 fi
15246 done
15247
15248
15249 for ac_func in mkstemp mktemp
15250 do
15251 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15252 echo "configure:15253: checking for $ac_func" >&5
15253 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15254 echo $ac_n "(cached) $ac_c" 1>&6
15255 else
15256 cat > conftest.$ac_ext <<EOF
15257 #line 15258 "configure"
15258 #include "confdefs.h"
15259 /* System header to define __stub macros and hopefully few prototypes,
15260 which can conflict with char $ac_func(); below. */
15261 #include <assert.h>
15262 /* Override any gcc2 internal prototype to avoid an error. */
15263 /* We use char because int might match the return type of a gcc2
15264 builtin and then its argument prototype would still apply. */
15265 char $ac_func();
15266
15267 int main() {
15268
15269 /* The GNU C library defines this for functions which it implements
15270 to always fail with ENOSYS. Some functions are actually named
15271 something starting with __ and the normal name is an alias. */
15272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15273 choke me
15274 #else
15275 $ac_func();
15276 #endif
15277
15278 ; return 0; }
15279 EOF
15280 if { (eval echo configure:15281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15281 rm -rf conftest*
15282 eval "ac_cv_func_$ac_func=yes"
15283 else
15284 echo "configure: failed program was:" >&5
15285 cat conftest.$ac_ext >&5
15286 rm -rf conftest*
15287 eval "ac_cv_func_$ac_func=no"
15288 fi
15289 rm -f conftest*
15290 fi
15291
15292 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15293 echo "$ac_t""yes" 1>&6
15294 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15295 cat >> confdefs.h <<EOF
15296 #define $ac_tr_func 1
15297 EOF
15298 break
15299 else
15300 echo "$ac_t""no" 1>&6
15301 fi
15302 done
15303
15304
15305 echo $ac_n "checking for statfs""... $ac_c" 1>&6
15306 echo "configure:15307: checking for statfs" >&5
15307 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
15308 echo $ac_n "(cached) $ac_c" 1>&6
15309 else
15310 cat > conftest.$ac_ext <<EOF
15311 #line 15312 "configure"
15312 #include "confdefs.h"
15313
15314 #if defined(__BSD__)
15315 #include <sys/param.h>
15316 #include <sys/mount.h>
15317 #else
15318 #include <sys/vfs.h>
15319 #endif
15320
15321 int main() {
15322
15323 long l;
15324 struct statfs fs;
15325 statfs("/", &fs);
15326 l = fs.f_bsize;
15327 l += fs.f_blocks;
15328 l += fs.f_bavail;
15329
15330 ; return 0; }
15331 EOF
15332 if { (eval echo configure:15333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15333 rm -rf conftest*
15334
15335 wx_cv_func_statfs=yes
15336
15337 else
15338 echo "configure: failed program was:" >&5
15339 cat conftest.$ac_ext >&5
15340 rm -rf conftest*
15341
15342 wx_cv_func_statfs=no
15343
15344
15345 fi
15346 rm -f conftest*
15347
15348 fi
15349
15350 echo "$ac_t""$wx_cv_func_statfs" 1>&6
15351
15352 if test "$wx_cv_func_statfs" = "yes"; then
15353 cat >> confdefs.h <<\EOF
15354 #define HAVE_STATFS 1
15355 EOF
15356
15357 else
15358 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
15359 echo "configure:15360: checking for statvfs" >&5
15360 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
15361 echo $ac_n "(cached) $ac_c" 1>&6
15362 else
15363 cat > conftest.$ac_ext <<EOF
15364 #line 15365 "configure"
15365 #include "confdefs.h"
15366
15367 #include <sys/statvfs.h>
15368
15369 int main() {
15370
15371 long l;
15372 struct statvfs fs;
15373 statvfs("/", &fs);
15374 l = fs.f_bsize;
15375 l += fs.f_blocks;
15376 l += fs.f_bavail;
15377
15378 ; return 0; }
15379 EOF
15380 if { (eval echo configure:15381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15381 rm -rf conftest*
15382
15383 wx_cv_func_statvfs=yes
15384
15385 else
15386 echo "configure: failed program was:" >&5
15387 cat conftest.$ac_ext >&5
15388 rm -rf conftest*
15389
15390 wx_cv_func_statvfs=no
15391
15392
15393 fi
15394 rm -f conftest*
15395
15396 fi
15397
15398 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
15399
15400 if test "$wx_cv_func_statvfs" = "yes"; then
15401 cat >> confdefs.h <<\EOF
15402 #define HAVE_STATVFS 1
15403 EOF
15404
15405 else
15406 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
15407 fi
15408 fi
15409
15410 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15411 for ac_func in fcntl flock
15412 do
15413 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15414 echo "configure:15415: checking for $ac_func" >&5
15415 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15416 echo $ac_n "(cached) $ac_c" 1>&6
15417 else
15418 cat > conftest.$ac_ext <<EOF
15419 #line 15420 "configure"
15420 #include "confdefs.h"
15421 /* System header to define __stub macros and hopefully few prototypes,
15422 which can conflict with char $ac_func(); below. */
15423 #include <assert.h>
15424 /* Override any gcc2 internal prototype to avoid an error. */
15425 /* We use char because int might match the return type of a gcc2
15426 builtin and then its argument prototype would still apply. */
15427 char $ac_func();
15428
15429 int main() {
15430
15431 /* The GNU C library defines this for functions which it implements
15432 to always fail with ENOSYS. Some functions are actually named
15433 something starting with __ and the normal name is an alias. */
15434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15435 choke me
15436 #else
15437 $ac_func();
15438 #endif
15439
15440 ; return 0; }
15441 EOF
15442 if { (eval echo configure:15443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15443 rm -rf conftest*
15444 eval "ac_cv_func_$ac_func=yes"
15445 else
15446 echo "configure: failed program was:" >&5
15447 cat conftest.$ac_ext >&5
15448 rm -rf conftest*
15449 eval "ac_cv_func_$ac_func=no"
15450 fi
15451 rm -f conftest*
15452 fi
15453
15454 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15455 echo "$ac_t""yes" 1>&6
15456 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15457 cat >> confdefs.h <<EOF
15458 #define $ac_tr_func 1
15459 EOF
15460 break
15461 else
15462 echo "$ac_t""no" 1>&6
15463 fi
15464 done
15465
15466
15467 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
15468 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
15469 wxUSE_SNGLINST_CHECKER=no
15470 fi
15471 fi
15472
15473 for ac_func in timegm
15474 do
15475 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15476 echo "configure:15477: checking for $ac_func" >&5
15477 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15478 echo $ac_n "(cached) $ac_c" 1>&6
15479 else
15480 cat > conftest.$ac_ext <<EOF
15481 #line 15482 "configure"
15482 #include "confdefs.h"
15483 /* System header to define __stub macros and hopefully few prototypes,
15484 which can conflict with char $ac_func(); below. */
15485 #include <assert.h>
15486 /* Override any gcc2 internal prototype to avoid an error. */
15487 /* We use char because int might match the return type of a gcc2
15488 builtin and then its argument prototype would still apply. */
15489 char $ac_func();
15490
15491 int main() {
15492
15493 /* The GNU C library defines this for functions which it implements
15494 to always fail with ENOSYS. Some functions are actually named
15495 something starting with __ and the normal name is an alias. */
15496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15497 choke me
15498 #else
15499 $ac_func();
15500 #endif
15501
15502 ; return 0; }
15503 EOF
15504 if { (eval echo configure:15505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15505 rm -rf conftest*
15506 eval "ac_cv_func_$ac_func=yes"
15507 else
15508 echo "configure: failed program was:" >&5
15509 cat conftest.$ac_ext >&5
15510 rm -rf conftest*
15511 eval "ac_cv_func_$ac_func=no"
15512 fi
15513 rm -f conftest*
15514 fi
15515
15516 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15517 echo "$ac_t""yes" 1>&6
15518 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15519 cat >> confdefs.h <<EOF
15520 #define $ac_tr_func 1
15521 EOF
15522
15523 else
15524 echo "$ac_t""no" 1>&6
15525 fi
15526 done
15527
15528
15529 for ac_func in putenv setenv
15530 do
15531 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15532 echo "configure:15533: checking for $ac_func" >&5
15533 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15534 echo $ac_n "(cached) $ac_c" 1>&6
15535 else
15536 cat > conftest.$ac_ext <<EOF
15537 #line 15538 "configure"
15538 #include "confdefs.h"
15539 /* System header to define __stub macros and hopefully few prototypes,
15540 which can conflict with char $ac_func(); below. */
15541 #include <assert.h>
15542 /* Override any gcc2 internal prototype to avoid an error. */
15543 /* We use char because int might match the return type of a gcc2
15544 builtin and then its argument prototype would still apply. */
15545 char $ac_func();
15546
15547 int main() {
15548
15549 /* The GNU C library defines this for functions which it implements
15550 to always fail with ENOSYS. Some functions are actually named
15551 something starting with __ and the normal name is an alias. */
15552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15553 choke me
15554 #else
15555 $ac_func();
15556 #endif
15557
15558 ; return 0; }
15559 EOF
15560 if { (eval echo configure:15561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15561 rm -rf conftest*
15562 eval "ac_cv_func_$ac_func=yes"
15563 else
15564 echo "configure: failed program was:" >&5
15565 cat conftest.$ac_ext >&5
15566 rm -rf conftest*
15567 eval "ac_cv_func_$ac_func=no"
15568 fi
15569 rm -f conftest*
15570 fi
15571
15572 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15573 echo "$ac_t""yes" 1>&6
15574 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15575 cat >> confdefs.h <<EOF
15576 #define $ac_tr_func 1
15577 EOF
15578 break
15579 else
15580 echo "$ac_t""no" 1>&6
15581 fi
15582 done
15583
15584
15585 HAVE_SOME_SLEEP_FUNC=0
15586 if test "$USE_BEOS" = 1; then
15587 cat >> confdefs.h <<\EOF
15588 #define HAVE_SLEEP 1
15589 EOF
15590
15591 HAVE_SOME_SLEEP_FUNC=1
15592 fi
15593
15594 if test "$USE_DARWIN" = 1; then
15595 cat >> confdefs.h <<\EOF
15596 #define HAVE_USLEEP 1
15597 EOF
15598
15599 HAVE_SOME_SLEEP_FUNC=1
15600 fi
15601
15602 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
15603 POSIX4_LINK=
15604 for ac_func in nanosleep
15605 do
15606 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15607 echo "configure:15608: checking for $ac_func" >&5
15608 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15609 echo $ac_n "(cached) $ac_c" 1>&6
15610 else
15611 cat > conftest.$ac_ext <<EOF
15612 #line 15613 "configure"
15613 #include "confdefs.h"
15614 /* System header to define __stub macros and hopefully few prototypes,
15615 which can conflict with char $ac_func(); below. */
15616 #include <assert.h>
15617 /* Override any gcc2 internal prototype to avoid an error. */
15618 /* We use char because int might match the return type of a gcc2
15619 builtin and then its argument prototype would still apply. */
15620 char $ac_func();
15621
15622 int main() {
15623
15624 /* The GNU C library defines this for functions which it implements
15625 to always fail with ENOSYS. Some functions are actually named
15626 something starting with __ and the normal name is an alias. */
15627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15628 choke me
15629 #else
15630 $ac_func();
15631 #endif
15632
15633 ; return 0; }
15634 EOF
15635 if { (eval echo configure:15636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15636 rm -rf conftest*
15637 eval "ac_cv_func_$ac_func=yes"
15638 else
15639 echo "configure: failed program was:" >&5
15640 cat conftest.$ac_ext >&5
15641 rm -rf conftest*
15642 eval "ac_cv_func_$ac_func=no"
15643 fi
15644 rm -f conftest*
15645 fi
15646
15647 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15648 echo "$ac_t""yes" 1>&6
15649 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15650 cat >> confdefs.h <<EOF
15651 #define $ac_tr_func 1
15652 EOF
15653 cat >> confdefs.h <<\EOF
15654 #define HAVE_NANOSLEEP 1
15655 EOF
15656
15657 else
15658 echo "$ac_t""no" 1>&6
15659 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
15660 echo "configure:15661: checking for nanosleep in -lposix4" >&5
15661 ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
15662 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15663 echo $ac_n "(cached) $ac_c" 1>&6
15664 else
15665 ac_save_LIBS="$LIBS"
15666 LIBS="-lposix4 $LIBS"
15667 cat > conftest.$ac_ext <<EOF
15668 #line 15669 "configure"
15669 #include "confdefs.h"
15670 /* Override any gcc2 internal prototype to avoid an error. */
15671 /* We use char because int might match the return type of a gcc2
15672 builtin and then its argument prototype would still apply. */
15673 char nanosleep();
15674
15675 int main() {
15676 nanosleep()
15677 ; return 0; }
15678 EOF
15679 if { (eval echo configure:15680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15680 rm -rf conftest*
15681 eval "ac_cv_lib_$ac_lib_var=yes"
15682 else
15683 echo "configure: failed program was:" >&5
15684 cat conftest.$ac_ext >&5
15685 rm -rf conftest*
15686 eval "ac_cv_lib_$ac_lib_var=no"
15687 fi
15688 rm -f conftest*
15689 LIBS="$ac_save_LIBS"
15690
15691 fi
15692 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15693 echo "$ac_t""yes" 1>&6
15694
15695 cat >> confdefs.h <<\EOF
15696 #define HAVE_NANOSLEEP 1
15697 EOF
15698
15699 POSIX4_LINK=" -lposix4"
15700
15701 else
15702 echo "$ac_t""no" 1>&6
15703
15704 for ac_func in usleep
15705 do
15706 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15707 echo "configure:15708: checking for $ac_func" >&5
15708 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15709 echo $ac_n "(cached) $ac_c" 1>&6
15710 else
15711 cat > conftest.$ac_ext <<EOF
15712 #line 15713 "configure"
15713 #include "confdefs.h"
15714 /* System header to define __stub macros and hopefully few prototypes,
15715 which can conflict with char $ac_func(); below. */
15716 #include <assert.h>
15717 /* Override any gcc2 internal prototype to avoid an error. */
15718 /* We use char because int might match the return type of a gcc2
15719 builtin and then its argument prototype would still apply. */
15720 char $ac_func();
15721
15722 int main() {
15723
15724 /* The GNU C library defines this for functions which it implements
15725 to always fail with ENOSYS. Some functions are actually named
15726 something starting with __ and the normal name is an alias. */
15727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15728 choke me
15729 #else
15730 $ac_func();
15731 #endif
15732
15733 ; return 0; }
15734 EOF
15735 if { (eval echo configure:15736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15736 rm -rf conftest*
15737 eval "ac_cv_func_$ac_func=yes"
15738 else
15739 echo "configure: failed program was:" >&5
15740 cat conftest.$ac_ext >&5
15741 rm -rf conftest*
15742 eval "ac_cv_func_$ac_func=no"
15743 fi
15744 rm -f conftest*
15745 fi
15746
15747 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15748 echo "$ac_t""yes" 1>&6
15749 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15750 cat >> confdefs.h <<EOF
15751 #define $ac_tr_func 1
15752 EOF
15753 cat >> confdefs.h <<\EOF
15754 #define HAVE_USLEEP 1
15755 EOF
15756
15757 else
15758 echo "$ac_t""no" 1>&6
15759 echo "configure: warning: wxSleep() function will not work" 1>&2
15760
15761 fi
15762 done
15763
15764
15765
15766 fi
15767
15768
15769
15770 fi
15771 done
15772
15773 fi
15774
15775 for ac_func in uname gethostname
15776 do
15777 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15778 echo "configure:15779: checking for $ac_func" >&5
15779 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15780 echo $ac_n "(cached) $ac_c" 1>&6
15781 else
15782 cat > conftest.$ac_ext <<EOF
15783 #line 15784 "configure"
15784 #include "confdefs.h"
15785 /* System header to define __stub macros and hopefully few prototypes,
15786 which can conflict with char $ac_func(); below. */
15787 #include <assert.h>
15788 /* Override any gcc2 internal prototype to avoid an error. */
15789 /* We use char because int might match the return type of a gcc2
15790 builtin and then its argument prototype would still apply. */
15791 char $ac_func();
15792
15793 int main() {
15794
15795 /* The GNU C library defines this for functions which it implements
15796 to always fail with ENOSYS. Some functions are actually named
15797 something starting with __ and the normal name is an alias. */
15798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15799 choke me
15800 #else
15801 $ac_func();
15802 #endif
15803
15804 ; return 0; }
15805 EOF
15806 if { (eval echo configure:15807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15807 rm -rf conftest*
15808 eval "ac_cv_func_$ac_func=yes"
15809 else
15810 echo "configure: failed program was:" >&5
15811 cat conftest.$ac_ext >&5
15812 rm -rf conftest*
15813 eval "ac_cv_func_$ac_func=no"
15814 fi
15815 rm -f conftest*
15816 fi
15817
15818 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15819 echo "$ac_t""yes" 1>&6
15820 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15821 cat >> confdefs.h <<EOF
15822 #define $ac_tr_func 1
15823 EOF
15824 break
15825 else
15826 echo "$ac_t""no" 1>&6
15827 fi
15828 done
15829
15830
15831
15832 ac_ext=C
15833 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15834 ac_cpp='$CXXCPP $CPPFLAGS'
15835 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15836 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15837 cross_compiling=$ac_cv_prog_cxx_cross
15838
15839
15840 for ac_func in strtok_r
15841 do
15842 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15843 echo "configure:15844: checking for $ac_func" >&5
15844 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15845 echo $ac_n "(cached) $ac_c" 1>&6
15846 else
15847 cat > conftest.$ac_ext <<EOF
15848 #line 15849 "configure"
15849 #include "confdefs.h"
15850 /* System header to define __stub macros and hopefully few prototypes,
15851 which can conflict with char $ac_func(); below. */
15852 #include <assert.h>
15853 /* Override any gcc2 internal prototype to avoid an error. */
15854 #ifdef __cplusplus
15855 extern "C"
15856 #endif
15857 /* We use char because int might match the return type of a gcc2
15858 builtin and then its argument prototype would still apply. */
15859 char $ac_func();
15860
15861 int main() {
15862
15863 /* The GNU C library defines this for functions which it implements
15864 to always fail with ENOSYS. Some functions are actually named
15865 something starting with __ and the normal name is an alias. */
15866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15867 choke me
15868 #else
15869 $ac_func();
15870 #endif
15871
15872 ; return 0; }
15873 EOF
15874 if { (eval echo configure:15875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15875 rm -rf conftest*
15876 eval "ac_cv_func_$ac_func=yes"
15877 else
15878 echo "configure: failed program was:" >&5
15879 cat conftest.$ac_ext >&5
15880 rm -rf conftest*
15881 eval "ac_cv_func_$ac_func=no"
15882 fi
15883 rm -f conftest*
15884 fi
15885
15886 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15887 echo "$ac_t""yes" 1>&6
15888 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15889 cat >> confdefs.h <<EOF
15890 #define $ac_tr_func 1
15891 EOF
15892
15893 else
15894 echo "$ac_t""no" 1>&6
15895 fi
15896 done
15897
15898
15899 ac_ext=c
15900 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15901 ac_cpp='$CPP $CPPFLAGS'
15902 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15903 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15904 cross_compiling=$ac_cv_prog_cc_cross
15905
15906
15907 INET_LINK=
15908 for ac_func in inet_addr
15909 do
15910 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15911 echo "configure:15912: checking for $ac_func" >&5
15912 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15913 echo $ac_n "(cached) $ac_c" 1>&6
15914 else
15915 cat > conftest.$ac_ext <<EOF
15916 #line 15917 "configure"
15917 #include "confdefs.h"
15918 /* System header to define __stub macros and hopefully few prototypes,
15919 which can conflict with char $ac_func(); below. */
15920 #include <assert.h>
15921 /* Override any gcc2 internal prototype to avoid an error. */
15922 /* We use char because int might match the return type of a gcc2
15923 builtin and then its argument prototype would still apply. */
15924 char $ac_func();
15925
15926 int main() {
15927
15928 /* The GNU C library defines this for functions which it implements
15929 to always fail with ENOSYS. Some functions are actually named
15930 something starting with __ and the normal name is an alias. */
15931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15932 choke me
15933 #else
15934 $ac_func();
15935 #endif
15936
15937 ; return 0; }
15938 EOF
15939 if { (eval echo configure:15940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15940 rm -rf conftest*
15941 eval "ac_cv_func_$ac_func=yes"
15942 else
15943 echo "configure: failed program was:" >&5
15944 cat conftest.$ac_ext >&5
15945 rm -rf conftest*
15946 eval "ac_cv_func_$ac_func=no"
15947 fi
15948 rm -f conftest*
15949 fi
15950
15951 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15952 echo "$ac_t""yes" 1>&6
15953 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15954 cat >> confdefs.h <<EOF
15955 #define $ac_tr_func 1
15956 EOF
15957 cat >> confdefs.h <<\EOF
15958 #define HAVE_INET_ADDR 1
15959 EOF
15960
15961 else
15962 echo "$ac_t""no" 1>&6
15963 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
15964 echo "configure:15965: checking for inet_addr in -lnsl" >&5
15965 ac_lib_var=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
15966 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15967 echo $ac_n "(cached) $ac_c" 1>&6
15968 else
15969 ac_save_LIBS="$LIBS"
15970 LIBS="-lnsl $LIBS"
15971 cat > conftest.$ac_ext <<EOF
15972 #line 15973 "configure"
15973 #include "confdefs.h"
15974 /* Override any gcc2 internal prototype to avoid an error. */
15975 /* We use char because int might match the return type of a gcc2
15976 builtin and then its argument prototype would still apply. */
15977 char inet_addr();
15978
15979 int main() {
15980 inet_addr()
15981 ; return 0; }
15982 EOF
15983 if { (eval echo configure:15984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15984 rm -rf conftest*
15985 eval "ac_cv_lib_$ac_lib_var=yes"
15986 else
15987 echo "configure: failed program was:" >&5
15988 cat conftest.$ac_ext >&5
15989 rm -rf conftest*
15990 eval "ac_cv_lib_$ac_lib_var=no"
15991 fi
15992 rm -f conftest*
15993 LIBS="$ac_save_LIBS"
15994
15995 fi
15996 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15997 echo "$ac_t""yes" 1>&6
15998 INET_LINK="nsl"
15999 else
16000 echo "$ac_t""no" 1>&6
16001 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
16002 echo "configure:16003: checking for inet_addr in -lresolv" >&5
16003 ac_lib_var=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
16004 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16005 echo $ac_n "(cached) $ac_c" 1>&6
16006 else
16007 ac_save_LIBS="$LIBS"
16008 LIBS="-lresolv $LIBS"
16009 cat > conftest.$ac_ext <<EOF
16010 #line 16011 "configure"
16011 #include "confdefs.h"
16012 /* Override any gcc2 internal prototype to avoid an error. */
16013 /* We use char because int might match the return type of a gcc2
16014 builtin and then its argument prototype would still apply. */
16015 char inet_addr();
16016
16017 int main() {
16018 inet_addr()
16019 ; return 0; }
16020 EOF
16021 if { (eval echo configure:16022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16022 rm -rf conftest*
16023 eval "ac_cv_lib_$ac_lib_var=yes"
16024 else
16025 echo "configure: failed program was:" >&5
16026 cat conftest.$ac_ext >&5
16027 rm -rf conftest*
16028 eval "ac_cv_lib_$ac_lib_var=no"
16029 fi
16030 rm -f conftest*
16031 LIBS="$ac_save_LIBS"
16032
16033 fi
16034 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16035 echo "$ac_t""yes" 1>&6
16036 INET_LINK="resolv"
16037
16038 else
16039 echo "$ac_t""no" 1>&6
16040 fi
16041
16042
16043 fi
16044
16045
16046
16047 fi
16048 done
16049
16050
16051 for ac_func in inet_aton
16052 do
16053 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16054 echo "configure:16055: checking for $ac_func" >&5
16055 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16056 echo $ac_n "(cached) $ac_c" 1>&6
16057 else
16058 cat > conftest.$ac_ext <<EOF
16059 #line 16060 "configure"
16060 #include "confdefs.h"
16061 /* System header to define __stub macros and hopefully few prototypes,
16062 which can conflict with char $ac_func(); below. */
16063 #include <assert.h>
16064 /* Override any gcc2 internal prototype to avoid an error. */
16065 /* We use char because int might match the return type of a gcc2
16066 builtin and then its argument prototype would still apply. */
16067 char $ac_func();
16068
16069 int main() {
16070
16071 /* The GNU C library defines this for functions which it implements
16072 to always fail with ENOSYS. Some functions are actually named
16073 something starting with __ and the normal name is an alias. */
16074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16075 choke me
16076 #else
16077 $ac_func();
16078 #endif
16079
16080 ; return 0; }
16081 EOF
16082 if { (eval echo configure:16083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16083 rm -rf conftest*
16084 eval "ac_cv_func_$ac_func=yes"
16085 else
16086 echo "configure: failed program was:" >&5
16087 cat conftest.$ac_ext >&5
16088 rm -rf conftest*
16089 eval "ac_cv_func_$ac_func=no"
16090 fi
16091 rm -f conftest*
16092 fi
16093
16094 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16095 echo "$ac_t""yes" 1>&6
16096 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16097 cat >> confdefs.h <<EOF
16098 #define $ac_tr_func 1
16099 EOF
16100 cat >> confdefs.h <<\EOF
16101 #define HAVE_INET_ATON 1
16102 EOF
16103
16104 else
16105 echo "$ac_t""no" 1>&6
16106 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
16107 echo "configure:16108: checking for inet_aton in -l$INET_LINK" >&5
16108 ac_lib_var=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
16109 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16110 echo $ac_n "(cached) $ac_c" 1>&6
16111 else
16112 ac_save_LIBS="$LIBS"
16113 LIBS="-l$INET_LINK $LIBS"
16114 cat > conftest.$ac_ext <<EOF
16115 #line 16116 "configure"
16116 #include "confdefs.h"
16117 /* Override any gcc2 internal prototype to avoid an error. */
16118 /* We use char because int might match the return type of a gcc2
16119 builtin and then its argument prototype would still apply. */
16120 char inet_aton();
16121
16122 int main() {
16123 inet_aton()
16124 ; return 0; }
16125 EOF
16126 if { (eval echo configure:16127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16127 rm -rf conftest*
16128 eval "ac_cv_lib_$ac_lib_var=yes"
16129 else
16130 echo "configure: failed program was:" >&5
16131 cat conftest.$ac_ext >&5
16132 rm -rf conftest*
16133 eval "ac_cv_lib_$ac_lib_var=no"
16134 fi
16135 rm -f conftest*
16136 LIBS="$ac_save_LIBS"
16137
16138 fi
16139 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16140 echo "$ac_t""yes" 1>&6
16141 cat >> confdefs.h <<\EOF
16142 #define HAVE_INET_ATON 1
16143 EOF
16144
16145 else
16146 echo "$ac_t""no" 1>&6
16147 fi
16148
16149
16150 fi
16151 done
16152
16153
16154 if test "x$INET_LINK" != "x"; then
16155 cat >> confdefs.h <<\EOF
16156 #define HAVE_INET_ADDR 1
16157 EOF
16158
16159 INET_LINK=" -l$INET_LINK"
16160 fi
16161
16162 fi
16163
16164
16165 cat > confcache <<\EOF
16166 # This file is a shell script that caches the results of configure
16167 # tests run on this system so they can be shared between configure
16168 # scripts and configure runs. It is not useful on other systems.
16169 # If it contains results you don't want to keep, you may remove or edit it.
16170 #
16171 # By default, configure uses ./config.cache as the cache file,
16172 # creating it if it does not exist already. You can give configure
16173 # the --cache-file=FILE option to use a different cache file; that is
16174 # what configure does when it calls configure scripts in
16175 # subdirectories, so they share the cache.
16176 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16177 # config.status only pays attention to the cache file if you give it the
16178 # --recheck option to rerun configure.
16179 #
16180 EOF
16181 # The following way of writing the cache mishandles newlines in values,
16182 # but we know of no workaround that is simple, portable, and efficient.
16183 # So, don't put newlines in cache variables' values.
16184 # Ultrix sh set writes to stderr and can't be redirected directly,
16185 # and sets the high bit in the cache file unless we assign to the vars.
16186 (set) 2>&1 |
16187 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16188 *ac_space=\ *)
16189 # `set' does not quote correctly, so add quotes (double-quote substitution
16190 # turns \\\\ into \\, and sed turns \\ into \).
16191 sed -n \
16192 -e "s/'/'\\\\''/g" \
16193 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16194 ;;
16195 *)
16196 # `set' quotes correctly as required by POSIX, so do not add quotes.
16197 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16198 ;;
16199 esac >> confcache
16200 if cmp -s $cache_file confcache; then
16201 :
16202 else
16203 if test -w $cache_file; then
16204 echo "updating cache $cache_file"
16205 cat confcache > $cache_file
16206 else
16207 echo "not updating unwritable cache $cache_file"
16208 fi
16209 fi
16210 rm -f confcache
16211
16212
16213
16214 if test "$TOOLKIT" != "MSW"; then
16215
16216
16217 THREADS_LINK=
16218 THREADS_OBJ=
16219 CODE_GEN_FLAGS=
16220 CODE_GEN_FLAGS_CXX=
16221
16222 if test "$wxUSE_THREADS" = "yes" ; then
16223 if test "$wxUSE_WINE" = 1 ; then
16224 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
16225 wxUSE_THREADS="no"
16226 elif test "$USE_BEOS" = 1; then
16227 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
16228 wxUSE_THREADS="no"
16229 fi
16230 fi
16231
16232 if test "$wxUSE_THREADS" = "yes" ; then
16233
16234 if test "$USE_AIX" = 1; then
16235 THREADS_LIB=pthreads
16236 else
16237 THREADS_LIB=pthread
16238 fi
16239
16240 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
16241 echo "configure:16242: checking for pthread_create in -l$THREADS_LIB" >&5
16242 ac_lib_var=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
16243 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16244 echo $ac_n "(cached) $ac_c" 1>&6
16245 else
16246 ac_save_LIBS="$LIBS"
16247 LIBS="-l$THREADS_LIB $LIBS"
16248 cat > conftest.$ac_ext <<EOF
16249 #line 16250 "configure"
16250 #include "confdefs.h"
16251 /* Override any gcc2 internal prototype to avoid an error. */
16252 /* We use char because int might match the return type of a gcc2
16253 builtin and then its argument prototype would still apply. */
16254 char pthread_create();
16255
16256 int main() {
16257 pthread_create()
16258 ; return 0; }
16259 EOF
16260 if { (eval echo configure:16261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16261 rm -rf conftest*
16262 eval "ac_cv_lib_$ac_lib_var=yes"
16263 else
16264 echo "configure: failed program was:" >&5
16265 cat conftest.$ac_ext >&5
16266 rm -rf conftest*
16267 eval "ac_cv_lib_$ac_lib_var=no"
16268 fi
16269 rm -f conftest*
16270 LIBS="$ac_save_LIBS"
16271
16272 fi
16273 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16274 echo "$ac_t""yes" 1>&6
16275
16276 THREADS_OBJ="threadpsx.lo"
16277 THREADS_LINK=$THREADS_LIB
16278
16279 else
16280 echo "$ac_t""no" 1>&6
16281
16282 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
16283 echo "configure:16284: checking for pthread_create in -lc_r" >&5
16284 ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
16285 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16286 echo $ac_n "(cached) $ac_c" 1>&6
16287 else
16288 ac_save_LIBS="$LIBS"
16289 LIBS="-lc_r $LIBS"
16290 cat > conftest.$ac_ext <<EOF
16291 #line 16292 "configure"
16292 #include "confdefs.h"
16293 /* Override any gcc2 internal prototype to avoid an error. */
16294 /* We use char because int might match the return type of a gcc2
16295 builtin and then its argument prototype would still apply. */
16296 char pthread_create();
16297
16298 int main() {
16299 pthread_create()
16300 ; return 0; }
16301 EOF
16302 if { (eval echo configure:16303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16303 rm -rf conftest*
16304 eval "ac_cv_lib_$ac_lib_var=yes"
16305 else
16306 echo "configure: failed program was:" >&5
16307 cat conftest.$ac_ext >&5
16308 rm -rf conftest*
16309 eval "ac_cv_lib_$ac_lib_var=no"
16310 fi
16311 rm -f conftest*
16312 LIBS="$ac_save_LIBS"
16313
16314 fi
16315 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16316 echo "$ac_t""yes" 1>&6
16317
16318 THREADS_OBJ="threadpsx.lo"
16319 THREADS_LINK="c_r"
16320
16321 else
16322 echo "$ac_t""no" 1>&6
16323
16324 ac_safe=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
16325 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
16326 echo "configure:16327: checking for sys/prctl.h" >&5
16327 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16328 echo $ac_n "(cached) $ac_c" 1>&6
16329 else
16330 cat > conftest.$ac_ext <<EOF
16331 #line 16332 "configure"
16332 #include "confdefs.h"
16333 #include <sys/prctl.h>
16334 EOF
16335 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16336 { (eval echo configure:16337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16337 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16338 if test -z "$ac_err"; then
16339 rm -rf conftest*
16340 eval "ac_cv_header_$ac_safe=yes"
16341 else
16342 echo "$ac_err" >&5
16343 echo "configure: failed program was:" >&5
16344 cat conftest.$ac_ext >&5
16345 rm -rf conftest*
16346 eval "ac_cv_header_$ac_safe=no"
16347 fi
16348 rm -f conftest*
16349 fi
16350 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16351 echo "$ac_t""yes" 1>&6
16352
16353 THREADS_OBJ="threadsgi.lo"
16354
16355 else
16356 echo "$ac_t""no" 1>&6
16357 fi
16358
16359
16360 fi
16361
16362
16363 fi
16364
16365
16366 if test -z "$THREADS_OBJ" ; then
16367 wxUSE_THREADS=no
16368 echo "configure: warning: No thread support on this system... disabled" 1>&2
16369 fi
16370 fi
16371
16372 if test "$wxUSE_THREADS" = "yes" ; then
16373 for ac_func in thr_setconcurrency
16374 do
16375 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16376 echo "configure:16377: checking for $ac_func" >&5
16377 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16378 echo $ac_n "(cached) $ac_c" 1>&6
16379 else
16380 cat > conftest.$ac_ext <<EOF
16381 #line 16382 "configure"
16382 #include "confdefs.h"
16383 /* System header to define __stub macros and hopefully few prototypes,
16384 which can conflict with char $ac_func(); below. */
16385 #include <assert.h>
16386 /* Override any gcc2 internal prototype to avoid an error. */
16387 /* We use char because int might match the return type of a gcc2
16388 builtin and then its argument prototype would still apply. */
16389 char $ac_func();
16390
16391 int main() {
16392
16393 /* The GNU C library defines this for functions which it implements
16394 to always fail with ENOSYS. Some functions are actually named
16395 something starting with __ and the normal name is an alias. */
16396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16397 choke me
16398 #else
16399 $ac_func();
16400 #endif
16401
16402 ; return 0; }
16403 EOF
16404 if { (eval echo configure:16405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16405 rm -rf conftest*
16406 eval "ac_cv_func_$ac_func=yes"
16407 else
16408 echo "configure: failed program was:" >&5
16409 cat conftest.$ac_ext >&5
16410 rm -rf conftest*
16411 eval "ac_cv_func_$ac_func=no"
16412 fi
16413 rm -f conftest*
16414 fi
16415
16416 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16417 echo "$ac_t""yes" 1>&6
16418 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16419 cat >> confdefs.h <<EOF
16420 #define $ac_tr_func 1
16421 EOF
16422
16423 else
16424 echo "$ac_t""no" 1>&6
16425 fi
16426 done
16427
16428
16429
16430 for ac_hdr in sched.h
16431 do
16432 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16433 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16434 echo "configure:16435: checking for $ac_hdr" >&5
16435 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16436 echo $ac_n "(cached) $ac_c" 1>&6
16437 else
16438 cat > conftest.$ac_ext <<EOF
16439 #line 16440 "configure"
16440 #include "confdefs.h"
16441 #include <$ac_hdr>
16442 EOF
16443 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16444 { (eval echo configure:16445: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16445 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16446 if test -z "$ac_err"; then
16447 rm -rf conftest*
16448 eval "ac_cv_header_$ac_safe=yes"
16449 else
16450 echo "$ac_err" >&5
16451 echo "configure: failed program was:" >&5
16452 cat conftest.$ac_ext >&5
16453 rm -rf conftest*
16454 eval "ac_cv_header_$ac_safe=no"
16455 fi
16456 rm -f conftest*
16457 fi
16458 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16459 echo "$ac_t""yes" 1>&6
16460 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16461 cat >> confdefs.h <<EOF
16462 #define $ac_tr_hdr 1
16463 EOF
16464
16465 else
16466 echo "$ac_t""no" 1>&6
16467 fi
16468 done
16469
16470
16471 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
16472 echo "configure:16473: checking for sched_yield in -l$THREADS_LINK" >&5
16473 ac_lib_var=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
16474 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16475 echo $ac_n "(cached) $ac_c" 1>&6
16476 else
16477 ac_save_LIBS="$LIBS"
16478 LIBS="-l$THREADS_LINK $LIBS"
16479 cat > conftest.$ac_ext <<EOF
16480 #line 16481 "configure"
16481 #include "confdefs.h"
16482 /* Override any gcc2 internal prototype to avoid an error. */
16483 /* We use char because int might match the return type of a gcc2
16484 builtin and then its argument prototype would still apply. */
16485 char sched_yield();
16486
16487 int main() {
16488 sched_yield()
16489 ; return 0; }
16490 EOF
16491 if { (eval echo configure:16492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16492 rm -rf conftest*
16493 eval "ac_cv_lib_$ac_lib_var=yes"
16494 else
16495 echo "configure: failed program was:" >&5
16496 cat conftest.$ac_ext >&5
16497 rm -rf conftest*
16498 eval "ac_cv_lib_$ac_lib_var=no"
16499 fi
16500 rm -f conftest*
16501 LIBS="$ac_save_LIBS"
16502
16503 fi
16504 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16505 echo "$ac_t""yes" 1>&6
16506 cat >> confdefs.h <<\EOF
16507 #define HAVE_SCHED_YIELD 1
16508 EOF
16509
16510 else
16511 echo "$ac_t""no" 1>&6
16512 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
16513 echo "configure:16514: checking for sched_yield in -lposix4" >&5
16514 ac_lib_var=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
16515 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16516 echo $ac_n "(cached) $ac_c" 1>&6
16517 else
16518 ac_save_LIBS="$LIBS"
16519 LIBS="-lposix4 $LIBS"
16520 cat > conftest.$ac_ext <<EOF
16521 #line 16522 "configure"
16522 #include "confdefs.h"
16523 /* Override any gcc2 internal prototype to avoid an error. */
16524 /* We use char because int might match the return type of a gcc2
16525 builtin and then its argument prototype would still apply. */
16526 char sched_yield();
16527
16528 int main() {
16529 sched_yield()
16530 ; return 0; }
16531 EOF
16532 if { (eval echo configure:16533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16533 rm -rf conftest*
16534 eval "ac_cv_lib_$ac_lib_var=yes"
16535 else
16536 echo "configure: failed program was:" >&5
16537 cat conftest.$ac_ext >&5
16538 rm -rf conftest*
16539 eval "ac_cv_lib_$ac_lib_var=no"
16540 fi
16541 rm -f conftest*
16542 LIBS="$ac_save_LIBS"
16543
16544 fi
16545 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16546 echo "$ac_t""yes" 1>&6
16547 cat >> confdefs.h <<\EOF
16548 #define HAVE_SCHED_YIELD 1
16549 EOF
16550 POSIX4_LINK=" -lposix4"
16551 else
16552 echo "$ac_t""no" 1>&6
16553 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
16554
16555 fi
16556
16557
16558 fi
16559
16560
16561 HAVE_PRIOR_FUNCS=0
16562 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
16563 echo "configure:16564: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
16564 ac_lib_var=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
16565 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16566 echo $ac_n "(cached) $ac_c" 1>&6
16567 else
16568 ac_save_LIBS="$LIBS"
16569 LIBS="-l$THREADS_LINK $LIBS"
16570 cat > conftest.$ac_ext <<EOF
16571 #line 16572 "configure"
16572 #include "confdefs.h"
16573 /* Override any gcc2 internal prototype to avoid an error. */
16574 /* We use char because int might match the return type of a gcc2
16575 builtin and then its argument prototype would still apply. */
16576 char pthread_attr_getschedpolicy();
16577
16578 int main() {
16579 pthread_attr_getschedpolicy()
16580 ; return 0; }
16581 EOF
16582 if { (eval echo configure:16583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16583 rm -rf conftest*
16584 eval "ac_cv_lib_$ac_lib_var=yes"
16585 else
16586 echo "configure: failed program was:" >&5
16587 cat conftest.$ac_ext >&5
16588 rm -rf conftest*
16589 eval "ac_cv_lib_$ac_lib_var=no"
16590 fi
16591 rm -f conftest*
16592 LIBS="$ac_save_LIBS"
16593
16594 fi
16595 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16596 echo "$ac_t""yes" 1>&6
16597 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
16598 echo "configure:16599: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
16599 ac_lib_var=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
16600 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16601 echo $ac_n "(cached) $ac_c" 1>&6
16602 else
16603 ac_save_LIBS="$LIBS"
16604 LIBS="-l$THREADS_LINK $LIBS"
16605 cat > conftest.$ac_ext <<EOF
16606 #line 16607 "configure"
16607 #include "confdefs.h"
16608 /* Override any gcc2 internal prototype to avoid an error. */
16609 /* We use char because int might match the return type of a gcc2
16610 builtin and then its argument prototype would still apply. */
16611 char pthread_attr_setschedparam();
16612
16613 int main() {
16614 pthread_attr_setschedparam()
16615 ; return 0; }
16616 EOF
16617 if { (eval echo configure:16618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16618 rm -rf conftest*
16619 eval "ac_cv_lib_$ac_lib_var=yes"
16620 else
16621 echo "configure: failed program was:" >&5
16622 cat conftest.$ac_ext >&5
16623 rm -rf conftest*
16624 eval "ac_cv_lib_$ac_lib_var=no"
16625 fi
16626 rm -f conftest*
16627 LIBS="$ac_save_LIBS"
16628
16629 fi
16630 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16631 echo "$ac_t""yes" 1>&6
16632 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
16633 echo "configure:16634: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
16634 ac_lib_var=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
16635 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16636 echo $ac_n "(cached) $ac_c" 1>&6
16637 else
16638 ac_save_LIBS="$LIBS"
16639 LIBS="-l$THREADS_LINK $LIBS"
16640 cat > conftest.$ac_ext <<EOF
16641 #line 16642 "configure"
16642 #include "confdefs.h"
16643 /* Override any gcc2 internal prototype to avoid an error. */
16644 /* We use char because int might match the return type of a gcc2
16645 builtin and then its argument prototype would still apply. */
16646 char sched_get_priority_max();
16647
16648 int main() {
16649 sched_get_priority_max()
16650 ; return 0; }
16651 EOF
16652 if { (eval echo configure:16653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16653 rm -rf conftest*
16654 eval "ac_cv_lib_$ac_lib_var=yes"
16655 else
16656 echo "configure: failed program was:" >&5
16657 cat conftest.$ac_ext >&5
16658 rm -rf conftest*
16659 eval "ac_cv_lib_$ac_lib_var=no"
16660 fi
16661 rm -f conftest*
16662 LIBS="$ac_save_LIBS"
16663
16664 fi
16665 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16666 echo "$ac_t""yes" 1>&6
16667 HAVE_PRIOR_FUNCS=1
16668 else
16669 echo "$ac_t""no" 1>&6
16670 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
16671 echo "configure:16672: checking for sched_get_priority_max in -lposix4" >&5
16672 ac_lib_var=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
16673 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16674 echo $ac_n "(cached) $ac_c" 1>&6
16675 else
16676 ac_save_LIBS="$LIBS"
16677 LIBS="-lposix4 $LIBS"
16678 cat > conftest.$ac_ext <<EOF
16679 #line 16680 "configure"
16680 #include "confdefs.h"
16681 /* Override any gcc2 internal prototype to avoid an error. */
16682 /* We use char because int might match the return type of a gcc2
16683 builtin and then its argument prototype would still apply. */
16684 char sched_get_priority_max();
16685
16686 int main() {
16687 sched_get_priority_max()
16688 ; return 0; }
16689 EOF
16690 if { (eval echo configure:16691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16691 rm -rf conftest*
16692 eval "ac_cv_lib_$ac_lib_var=yes"
16693 else
16694 echo "configure: failed program was:" >&5
16695 cat conftest.$ac_ext >&5
16696 rm -rf conftest*
16697 eval "ac_cv_lib_$ac_lib_var=no"
16698 fi
16699 rm -f conftest*
16700 LIBS="$ac_save_LIBS"
16701
16702 fi
16703 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16704 echo "$ac_t""yes" 1>&6
16705
16706 HAVE_PRIOR_FUNCS=1
16707 POSIX4_LINK=" -lposix4"
16708
16709 else
16710 echo "$ac_t""no" 1>&6
16711 fi
16712
16713
16714 fi
16715
16716
16717 else
16718 echo "$ac_t""no" 1>&6
16719 fi
16720
16721
16722 else
16723 echo "$ac_t""no" 1>&6
16724 fi
16725
16726
16727 if test "$HAVE_PRIOR_FUNCS" = 1; then
16728 cat >> confdefs.h <<\EOF
16729 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
16730 EOF
16731
16732 else
16733 echo "configure: warning: Setting thread priority will not work" 1>&2
16734 fi
16735
16736 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
16737 echo "configure:16738: checking for pthread_cancel in -l$THREADS_LINK" >&5
16738 ac_lib_var=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
16739 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16740 echo $ac_n "(cached) $ac_c" 1>&6
16741 else
16742 ac_save_LIBS="$LIBS"
16743 LIBS="-l$THREADS_LINK $LIBS"
16744 cat > conftest.$ac_ext <<EOF
16745 #line 16746 "configure"
16746 #include "confdefs.h"
16747 /* Override any gcc2 internal prototype to avoid an error. */
16748 /* We use char because int might match the return type of a gcc2
16749 builtin and then its argument prototype would still apply. */
16750 char pthread_cancel();
16751
16752 int main() {
16753 pthread_cancel()
16754 ; return 0; }
16755 EOF
16756 if { (eval echo configure:16757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16757 rm -rf conftest*
16758 eval "ac_cv_lib_$ac_lib_var=yes"
16759 else
16760 echo "configure: failed program was:" >&5
16761 cat conftest.$ac_ext >&5
16762 rm -rf conftest*
16763 eval "ac_cv_lib_$ac_lib_var=no"
16764 fi
16765 rm -f conftest*
16766 LIBS="$ac_save_LIBS"
16767
16768 fi
16769 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16770 echo "$ac_t""yes" 1>&6
16771 cat >> confdefs.h <<\EOF
16772 #define HAVE_PTHREAD_CANCEL 1
16773 EOF
16774
16775 else
16776 echo "$ac_t""no" 1>&6
16777 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
16778 fi
16779
16780
16781 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
16782 echo "configure:16783: checking for pthread_cleanup_push/pop" >&5
16783 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
16784 echo $ac_n "(cached) $ac_c" 1>&6
16785 else
16786
16787 cat > conftest.$ac_ext <<EOF
16788 #line 16789 "configure"
16789 #include "confdefs.h"
16790 #include <pthread.h>
16791 int main() {
16792
16793 pthread_cleanup_push(NULL, NULL);
16794 pthread_cleanup_pop(0);
16795
16796 ; return 0; }
16797 EOF
16798 if { (eval echo configure:16799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16799 rm -rf conftest*
16800
16801 wx_cv_func_pthread_cleanup_push=yes
16802
16803 else
16804 echo "configure: failed program was:" >&5
16805 cat conftest.$ac_ext >&5
16806 rm -rf conftest*
16807
16808 wx_cv_func_pthread_cleanup_push=no
16809
16810 fi
16811 rm -f conftest*
16812
16813 fi
16814
16815 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
16816
16817 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
16818 cat >> confdefs.h <<\EOF
16819 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
16820 EOF
16821
16822 fi
16823
16824
16825 if test "x$wx_lib_glibc21" = "xyes"; then
16826 CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
16827 fi
16828
16829 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
16830 echo "configure:16831: checking for pthread_mutexattr_t" >&5
16831 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
16832 echo $ac_n "(cached) $ac_c" 1>&6
16833 else
16834
16835 cat > conftest.$ac_ext <<EOF
16836 #line 16837 "configure"
16837 #include "confdefs.h"
16838 #include <pthread.h>
16839 int main() {
16840
16841 pthread_mutexattr_t attr;
16842 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
16843
16844 ; return 0; }
16845 EOF
16846 if { (eval echo configure:16847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16847 rm -rf conftest*
16848
16849 wx_cv_type_pthread_mutexattr_t=yes
16850
16851 else
16852 echo "configure: failed program was:" >&5
16853 cat conftest.$ac_ext >&5
16854 rm -rf conftest*
16855
16856 wx_cv_type_pthread_mutexattr_t=no
16857
16858
16859 fi
16860 rm -f conftest*
16861
16862 fi
16863
16864 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
16865
16866 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
16867 cat >> confdefs.h <<\EOF
16868 #define HAVE_PTHREAD_MUTEXATTR_T 1
16869 EOF
16870
16871 else
16872 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
16873 echo "configure:16874: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
16874 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
16875 echo $ac_n "(cached) $ac_c" 1>&6
16876 else
16877
16878 cat > conftest.$ac_ext <<EOF
16879 #line 16880 "configure"
16880 #include "confdefs.h"
16881 #include <pthread.h>
16882 int main() {
16883
16884 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
16885
16886 ; return 0; }
16887 EOF
16888 if { (eval echo configure:16889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16889 rm -rf conftest*
16890
16891 wx_cv_type_pthread_rec_mutex_init=yes
16892
16893 else
16894 echo "configure: failed program was:" >&5
16895 cat conftest.$ac_ext >&5
16896 rm -rf conftest*
16897
16898 wx_cv_type_pthread_rec_mutex_init=no
16899
16900
16901 fi
16902 rm -f conftest*
16903
16904 fi
16905
16906 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
16907 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
16908 cat >> confdefs.h <<\EOF
16909 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
16910 EOF
16911
16912 else
16913 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
16914 fi
16915 fi
16916
16917 THREADS_LINK=" -l$THREADS_LINK"
16918
16919 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
16920 CPPFLAGS="$CFLAGS -mt"
16921 CXXFLAGS="$CXXFLAGS -mt"
16922 LDFLAGS="$LDFLAGS -mt"
16923 fi
16924 fi
16925
16926 fi
16927
16928 if test "$wxUSE_THREADS" = "yes"; then
16929 cat >> confdefs.h <<\EOF
16930 #define wxUSE_THREADS 1
16931 EOF
16932
16933
16934 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS $CPP_MT_FLAG"
16935
16936 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
16937 else
16938 if test "$ac_cv_func_strtok_r" = "yes"; then
16939 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
16940 echo "configure:16941: checking if -D_REENTRANT is needed" >&5
16941 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
16942 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
16943 echo "$ac_t""yes" 1>&6
16944 else
16945 echo "$ac_t""no" 1>&6
16946 fi
16947 fi
16948 fi
16949
16950 if test "$WXGTK20" = 1 ; then
16951 cat >> confdefs.h <<EOF
16952 #define __WXGTK20__ $WXGTK20
16953 EOF
16954
16955 WXGTK12=1
16956 fi
16957
16958 if test "$WXGTK12" = 1 ; then
16959 cat >> confdefs.h <<EOF
16960 #define __WXGTK12__ $WXGTK12
16961 EOF
16962
16963 fi
16964
16965 if test "$WXGTK127" = 1 ; then
16966 cat >> confdefs.h <<EOF
16967 #define __WXGTK127__ $WXGTK127
16968 EOF
16969
16970 fi
16971
16972 WXDEBUG=
16973
16974 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
16975 WXDEBUG="-g"
16976 wxUSE_OPTIMISE=no
16977 fi
16978
16979 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
16980 wxUSE_DEBUG_INFO=yes
16981 WXDEBUG="-ggdb"
16982 fi
16983
16984 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
16985 cat >> confdefs.h <<\EOF
16986 #define WXDEBUG 1
16987 EOF
16988
16989 WXDEBUG_DEFINE="-D__WXDEBUG__"
16990 else
16991 if test "$wxUSE_GTK" = 1 ; then
16992 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
16993 fi
16994 fi
16995
16996 if test "$wxUSE_MEM_TRACING" = "yes" ; then
16997 cat >> confdefs.h <<\EOF
16998 #define wxUSE_MEMORY_TRACING 1
16999 EOF
17000
17001 cat >> confdefs.h <<\EOF
17002 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
17003 EOF
17004
17005 cat >> confdefs.h <<\EOF
17006 #define wxUSE_DEBUG_NEW_ALWAYS 1
17007 EOF
17008
17009 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
17010 fi
17011
17012 if test "$wxUSE_DMALLOC" = "yes" ; then
17013 DMALLOC_LIBS="-ldmalloc"
17014 fi
17015
17016 PROFILE=
17017 if test "$wxUSE_PROFILE" = "yes" ; then
17018 PROFILE=" -pg"
17019 fi
17020
17021 if test "$GCC" = "yes" ; then
17022 if test "$wxUSE_NO_RTTI" = "yes" ; then
17023 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
17024 fi
17025 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
17026 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
17027 fi
17028 if test "$wxUSE_PERMISSIVE" = "yes" ; then
17029 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
17030 fi
17031 if test "$USE_WIN32" = 1 ; then
17032 # I'm not even really sure what this was ever added to solve,
17033 # but someone added it for mingw native builds, so I guess
17034 # they had a reason, right??
17035 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fno-pcc-struct-return"
17036 fi
17037 fi
17038
17039
17040 CXXFLAGS=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
17041 CFLAGS=`echo "${CFLAGS}" | sed "s/\-O.//g" `
17042 if test "$wxUSE_OPTIMISE" = "no" ; then
17043 OPTIMISE=
17044 else
17045 if test "$GCC" = yes ; then
17046 OPTIMISE="-O2"
17047 case "${host}" in
17048 i586-*-*|i686-*-* )
17049 OPTIMISE="${OPTIMISE} "
17050 ;;
17051 esac
17052 else
17053 OPTIMISE="-O"
17054 fi
17055 fi
17056
17057 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
17058 cat >> confdefs.h <<\EOF
17059 #define WXWIN_COMPATIBILITY_2 1
17060 EOF
17061
17062
17063 WXWIN_COMPATIBILITY_2_2="yes"
17064 fi
17065
17066 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
17067 cat >> confdefs.h <<\EOF
17068 #define WXWIN_COMPATIBILITY_2_2 1
17069 EOF
17070
17071 fi
17072
17073
17074 if test "$wxUSE_GUI" = "yes"; then
17075 cat >> confdefs.h <<\EOF
17076 #define wxUSE_GUI 1
17077 EOF
17078
17079
17080 else
17081 cat >> confdefs.h <<\EOF
17082 #define wxUSE_NOGUI 1
17083 EOF
17084
17085 fi
17086
17087
17088 if test "$wxUSE_UNIX" = "yes"; then
17089 cat >> confdefs.h <<\EOF
17090 #define wxUSE_UNIX 1
17091 EOF
17092
17093 fi
17094
17095
17096 if test "$wxUSE_APPLE_IEEE" = "yes"; then
17097 cat >> confdefs.h <<\EOF
17098 #define wxUSE_APPLE_IEEE 1
17099 EOF
17100
17101 fi
17102
17103 if test "$wxUSE_TIMER" = "yes"; then
17104 cat >> confdefs.h <<\EOF
17105 #define wxUSE_TIMER 1
17106 EOF
17107
17108 fi
17109
17110 if test "$wxUSE_WAVE" = "yes"; then
17111 cat >> confdefs.h <<\EOF
17112 #define wxUSE_WAVE 1
17113 EOF
17114
17115 fi
17116
17117 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
17118 cat >> confdefs.h <<\EOF
17119 #define wxUSE_CMDLINE_PARSER 1
17120 EOF
17121
17122 fi
17123
17124 if test "$wxUSE_STOPWATCH" = "yes"; then
17125 cat >> confdefs.h <<\EOF
17126 #define wxUSE_STOPWATCH 1
17127 EOF
17128
17129 fi
17130
17131 if test "$wxUSE_DATETIME" = "yes"; then
17132 cat >> confdefs.h <<\EOF
17133 #define wxUSE_DATETIME 1
17134 EOF
17135
17136 fi
17137
17138 if test "$wxUSE_TIMEDATE" = "yes"; then
17139 cat >> confdefs.h <<\EOF
17140 #define wxUSE_TIMEDATE 1
17141 EOF
17142
17143 fi
17144
17145 if test "$wxUSE_FILE" = "yes"; then
17146 cat >> confdefs.h <<\EOF
17147 #define wxUSE_FILE 1
17148 EOF
17149
17150 fi
17151
17152 if test "$wxUSE_FFILE" = "yes"; then
17153 cat >> confdefs.h <<\EOF
17154 #define wxUSE_FFILE 1
17155 EOF
17156
17157 fi
17158
17159 if test "$wxUSE_FILESYSTEM" = "yes"; then
17160 cat >> confdefs.h <<\EOF
17161 #define wxUSE_FILESYSTEM 1
17162 EOF
17163
17164 fi
17165
17166 if test "$wxUSE_FS_INET" = "yes"; then
17167 cat >> confdefs.h <<\EOF
17168 #define wxUSE_FS_INET 1
17169 EOF
17170
17171 fi
17172
17173 if test "$wxUSE_FS_ZIP" = "yes"; then
17174 cat >> confdefs.h <<\EOF
17175 #define wxUSE_FS_ZIP 1
17176 EOF
17177
17178 fi
17179
17180 if test "$wxUSE_ZIPSTREAM" = "yes"; then
17181 cat >> confdefs.h <<\EOF
17182 #define wxUSE_ZIPSTREAM 1
17183 EOF
17184
17185 fi
17186
17187 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
17188 cat >> confdefs.h <<\EOF
17189 #define wxUSE_ON_FATAL_EXCEPTION 1
17190 EOF
17191
17192 fi
17193
17194 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
17195 cat >> confdefs.h <<\EOF
17196 #define wxUSE_SNGLINST_CHECKER 1
17197 EOF
17198
17199 fi
17200
17201 if test "$wxUSE_BUSYINFO" = "yes"; then
17202 cat >> confdefs.h <<\EOF
17203 #define wxUSE_BUSYINFO 1
17204 EOF
17205
17206 fi
17207
17208 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
17209 cat >> confdefs.h <<\EOF
17210 #define wxUSE_STD_IOSTREAM 1
17211 EOF
17212
17213 fi
17214
17215 if test "$wxUSE_TEXTBUFFER" = "yes"; then
17216 cat >> confdefs.h <<\EOF
17217 #define wxUSE_TEXTBUFFER 1
17218 EOF
17219
17220 fi
17221
17222 if test "$wxUSE_TEXTFILE" = "yes"; then
17223 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
17224 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
17225 else
17226 cat >> confdefs.h <<\EOF
17227 #define wxUSE_TEXTFILE 1
17228 EOF
17229
17230 fi
17231 fi
17232
17233 if test "$wxUSE_CONFIG" = "yes" ; then
17234 if test "$wxUSE_TEXTFILE" != "yes"; then
17235 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
17236 else
17237 cat >> confdefs.h <<\EOF
17238 #define wxUSE_CONFIG 1
17239 EOF
17240
17241 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
17242 fi
17243 fi
17244
17245 if test "$wxUSE_INTL" = "yes" ; then
17246 if test "$wxUSE_FILE" != "yes"; then
17247 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
17248 else
17249 cat >> confdefs.h <<\EOF
17250 #define wxUSE_INTL 1
17251 EOF
17252
17253 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
17254 GUIDIST="$GUIDIST INTL_DIST"
17255 fi
17256 fi
17257
17258 if test "$wxUSE_LOG" = "yes"; then
17259 cat >> confdefs.h <<\EOF
17260 #define wxUSE_LOG 1
17261 EOF
17262
17263
17264 if test "$wxUSE_LOGGUI" = "yes"; then
17265 cat >> confdefs.h <<\EOF
17266 #define wxUSE_LOGGUI 1
17267 EOF
17268
17269 fi
17270
17271 if test "$wxUSE_LOGWINDOW" = "yes"; then
17272 cat >> confdefs.h <<\EOF
17273 #define wxUSE_LOGWINDOW 1
17274 EOF
17275
17276 fi
17277
17278 if test "$wxUSE_LOGDIALOG" = "yes"; then
17279 cat >> confdefs.h <<\EOF
17280 #define wxUSE_LOG_DIALOG 1
17281 EOF
17282
17283 fi
17284 fi
17285
17286 if test "$wxUSE_LONGLONG" = "yes"; then
17287 cat >> confdefs.h <<\EOF
17288 #define wxUSE_LONGLONG 1
17289 EOF
17290
17291 fi
17292
17293 if test "$wxUSE_GEOMETRY" = "yes"; then
17294 cat >> confdefs.h <<\EOF
17295 #define wxUSE_GEOMETRY 1
17296 EOF
17297
17298 fi
17299
17300 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
17301 cat >> confdefs.h <<\EOF
17302 #define wxUSE_DIALUP_MANAGER 1
17303 EOF
17304
17305 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
17306 fi
17307
17308 if test "$wxUSE_STREAMS" = "yes" ; then
17309 cat >> confdefs.h <<\EOF
17310 #define wxUSE_STREAMS 1
17311 EOF
17312
17313 fi
17314
17315
17316 if test "$wxUSE_DATETIME" = "yes"; then
17317 for ac_func in strptime
17318 do
17319 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17320 echo "configure:17321: checking for $ac_func" >&5
17321 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17322 echo $ac_n "(cached) $ac_c" 1>&6
17323 else
17324 cat > conftest.$ac_ext <<EOF
17325 #line 17326 "configure"
17326 #include "confdefs.h"
17327 /* System header to define __stub macros and hopefully few prototypes,
17328 which can conflict with char $ac_func(); below. */
17329 #include <assert.h>
17330 /* Override any gcc2 internal prototype to avoid an error. */
17331 /* We use char because int might match the return type of a gcc2
17332 builtin and then its argument prototype would still apply. */
17333 char $ac_func();
17334
17335 int main() {
17336
17337 /* The GNU C library defines this for functions which it implements
17338 to always fail with ENOSYS. Some functions are actually named
17339 something starting with __ and the normal name is an alias. */
17340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17341 choke me
17342 #else
17343 $ac_func();
17344 #endif
17345
17346 ; return 0; }
17347 EOF
17348 if { (eval echo configure:17349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17349 rm -rf conftest*
17350 eval "ac_cv_func_$ac_func=yes"
17351 else
17352 echo "configure: failed program was:" >&5
17353 cat conftest.$ac_ext >&5
17354 rm -rf conftest*
17355 eval "ac_cv_func_$ac_func=no"
17356 fi
17357 rm -f conftest*
17358 fi
17359
17360 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17361 echo "$ac_t""yes" 1>&6
17362 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17363 cat >> confdefs.h <<EOF
17364 #define $ac_tr_func 1
17365 EOF
17366
17367 else
17368 echo "$ac_t""no" 1>&6
17369 fi
17370 done
17371
17372
17373 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
17374 echo "configure:17375: checking for timezone variable in <time.h>" >&5
17375 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
17376 echo $ac_n "(cached) $ac_c" 1>&6
17377 else
17378
17379 cat > conftest.$ac_ext <<EOF
17380 #line 17381 "configure"
17381 #include "confdefs.h"
17382
17383 #include <time.h>
17384
17385 int main() {
17386
17387 int tz;
17388 tz = timezone;
17389
17390 ; return 0; }
17391 EOF
17392 if { (eval echo configure:17393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17393 rm -rf conftest*
17394
17395 wx_cv_var_timezone=timezone
17396
17397 else
17398 echo "configure: failed program was:" >&5
17399 cat conftest.$ac_ext >&5
17400 rm -rf conftest*
17401
17402 cat > conftest.$ac_ext <<EOF
17403 #line 17404 "configure"
17404 #include "confdefs.h"
17405
17406 #include <time.h>
17407
17408 int main() {
17409
17410 int tz;
17411 tz = _timezone;
17412
17413 ; return 0; }
17414 EOF
17415 if { (eval echo configure:17416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17416 rm -rf conftest*
17417
17418 wx_cv_var_timezone=_timezone
17419
17420 else
17421 echo "configure: failed program was:" >&5
17422 cat conftest.$ac_ext >&5
17423 rm -rf conftest*
17424
17425 cat > conftest.$ac_ext <<EOF
17426 #line 17427 "configure"
17427 #include "confdefs.h"
17428
17429 #include <time.h>
17430
17431 int main() {
17432
17433 int tz;
17434 tz = __timezone;
17435
17436 ; return 0; }
17437 EOF
17438 if { (eval echo configure:17439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17439 rm -rf conftest*
17440
17441 wx_cv_var_timezone=__timezone
17442
17443 else
17444 echo "configure: failed program was:" >&5
17445 cat conftest.$ac_ext >&5
17446 rm -rf conftest*
17447
17448 if test "$USE_DOS" = 0 ; then
17449 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
17450 fi
17451
17452
17453 fi
17454 rm -f conftest*
17455
17456
17457 fi
17458 rm -f conftest*
17459
17460
17461 fi
17462 rm -f conftest*
17463
17464
17465 fi
17466
17467 echo "$ac_t""$wx_cv_var_timezone" 1>&6
17468
17469 if test "x$wx_cv_var_timezone" != x ; then
17470 cat >> confdefs.h <<EOF
17471 #define WX_TIMEZONE $wx_cv_var_timezone
17472 EOF
17473
17474 fi
17475
17476 for ac_func in localtime
17477 do
17478 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17479 echo "configure:17480: checking for $ac_func" >&5
17480 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17481 echo $ac_n "(cached) $ac_c" 1>&6
17482 else
17483 cat > conftest.$ac_ext <<EOF
17484 #line 17485 "configure"
17485 #include "confdefs.h"
17486 /* System header to define __stub macros and hopefully few prototypes,
17487 which can conflict with char $ac_func(); below. */
17488 #include <assert.h>
17489 /* Override any gcc2 internal prototype to avoid an error. */
17490 /* We use char because int might match the return type of a gcc2
17491 builtin and then its argument prototype would still apply. */
17492 char $ac_func();
17493
17494 int main() {
17495
17496 /* The GNU C library defines this for functions which it implements
17497 to always fail with ENOSYS. Some functions are actually named
17498 something starting with __ and the normal name is an alias. */
17499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17500 choke me
17501 #else
17502 $ac_func();
17503 #endif
17504
17505 ; return 0; }
17506 EOF
17507 if { (eval echo configure:17508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17508 rm -rf conftest*
17509 eval "ac_cv_func_$ac_func=yes"
17510 else
17511 echo "configure: failed program was:" >&5
17512 cat conftest.$ac_ext >&5
17513 rm -rf conftest*
17514 eval "ac_cv_func_$ac_func=no"
17515 fi
17516 rm -f conftest*
17517 fi
17518
17519 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17520 echo "$ac_t""yes" 1>&6
17521 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17522 cat >> confdefs.h <<EOF
17523 #define $ac_tr_func 1
17524 EOF
17525
17526 else
17527 echo "$ac_t""no" 1>&6
17528 fi
17529 done
17530
17531
17532 if test "$ac_cv_func_localtime" = "yes"; then
17533 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
17534 echo "configure:17535: checking for tm_gmtoff in struct tm" >&5
17535 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
17536 echo $ac_n "(cached) $ac_c" 1>&6
17537 else
17538
17539 cat > conftest.$ac_ext <<EOF
17540 #line 17541 "configure"
17541 #include "confdefs.h"
17542
17543 #include <time.h>
17544
17545 int main() {
17546
17547 struct tm tm;
17548 tm.tm_gmtoff++;
17549
17550 ; return 0; }
17551 EOF
17552 if { (eval echo configure:17553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17553 rm -rf conftest*
17554
17555 wx_cv_struct_tm_has_gmtoff=yes
17556
17557 else
17558 echo "configure: failed program was:" >&5
17559 cat conftest.$ac_ext >&5
17560 rm -rf conftest*
17561 wx_cv_struct_tm_has_gmtoff=no
17562
17563 fi
17564 rm -f conftest*
17565
17566 fi
17567
17568 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
17569 fi
17570
17571 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
17572 cat >> confdefs.h <<\EOF
17573 #define WX_GMTOFF_IN_TM 1
17574 EOF
17575
17576 fi
17577
17578 for ac_func in gettimeofday ftime
17579 do
17580 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17581 echo "configure:17582: checking for $ac_func" >&5
17582 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17583 echo $ac_n "(cached) $ac_c" 1>&6
17584 else
17585 cat > conftest.$ac_ext <<EOF
17586 #line 17587 "configure"
17587 #include "confdefs.h"
17588 /* System header to define __stub macros and hopefully few prototypes,
17589 which can conflict with char $ac_func(); below. */
17590 #include <assert.h>
17591 /* Override any gcc2 internal prototype to avoid an error. */
17592 /* We use char because int might match the return type of a gcc2
17593 builtin and then its argument prototype would still apply. */
17594 char $ac_func();
17595
17596 int main() {
17597
17598 /* The GNU C library defines this for functions which it implements
17599 to always fail with ENOSYS. Some functions are actually named
17600 something starting with __ and the normal name is an alias. */
17601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17602 choke me
17603 #else
17604 $ac_func();
17605 #endif
17606
17607 ; return 0; }
17608 EOF
17609 if { (eval echo configure:17610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17610 rm -rf conftest*
17611 eval "ac_cv_func_$ac_func=yes"
17612 else
17613 echo "configure: failed program was:" >&5
17614 cat conftest.$ac_ext >&5
17615 rm -rf conftest*
17616 eval "ac_cv_func_$ac_func=no"
17617 fi
17618 rm -f conftest*
17619 fi
17620
17621 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17622 echo "$ac_t""yes" 1>&6
17623 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17624 cat >> confdefs.h <<EOF
17625 #define $ac_tr_func 1
17626 EOF
17627 break
17628 else
17629 echo "$ac_t""no" 1>&6
17630 fi
17631 done
17632
17633
17634 if test "$ac_cv_func_gettimeofday" = "yes"; then
17635 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
17636 echo "configure:17637: checking whether gettimeofday takes two arguments" >&5
17637 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
17638 echo $ac_n "(cached) $ac_c" 1>&6
17639 else
17640
17641
17642 ac_ext=C
17643 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17644 ac_cpp='$CXXCPP $CPPFLAGS'
17645 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17646 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17647 cross_compiling=$ac_cv_prog_cxx_cross
17648
17649
17650 cat > conftest.$ac_ext <<EOF
17651 #line 17652 "configure"
17652 #include "confdefs.h"
17653
17654 #include <sys/time.h>
17655 #include <unistd.h>
17656
17657 int main() {
17658
17659 struct timeval tv;
17660 gettimeofday(&tv, NULL);
17661
17662 ; return 0; }
17663 EOF
17664 if { (eval echo configure:17665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17665 rm -rf conftest*
17666 wx_cv_func_gettimeofday_has_2_args=yes
17667 else
17668 echo "configure: failed program was:" >&5
17669 cat conftest.$ac_ext >&5
17670 rm -rf conftest*
17671 cat > conftest.$ac_ext <<EOF
17672 #line 17673 "configure"
17673 #include "confdefs.h"
17674
17675 #include <sys/time.h>
17676 #include <unistd.h>
17677
17678 int main() {
17679
17680 struct timeval tv;
17681 gettimeofday(&tv);
17682
17683 ; return 0; }
17684 EOF
17685 if { (eval echo configure:17686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17686 rm -rf conftest*
17687 wx_cv_func_gettimeofday_has_2_args=no
17688 else
17689 echo "configure: failed program was:" >&5
17690 cat conftest.$ac_ext >&5
17691 rm -rf conftest*
17692
17693 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
17694 wx_cv_func_gettimeofday_has_2_args=unknown
17695
17696
17697 fi
17698 rm -f conftest*
17699
17700 fi
17701 rm -f conftest*
17702 ac_ext=c
17703 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17704 ac_cpp='$CPP $CPPFLAGS'
17705 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17706 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17707 cross_compiling=$ac_cv_prog_cc_cross
17708
17709
17710 fi
17711
17712 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
17713
17714 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
17715 cat >> confdefs.h <<\EOF
17716 #define WX_GETTIMEOFDAY_NO_TZ 1
17717 EOF
17718
17719 fi
17720 fi
17721
17722 cat >> confdefs.h <<\EOF
17723 #define wxUSE_TIMEDATE 1
17724 EOF
17725
17726 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
17727 fi
17728
17729
17730 if test "$TOOLKIT" != "MSW"; then
17731
17732 if test "$wxUSE_SOCKETS" = "yes"; then
17733 echo $ac_n "checking for socket""... $ac_c" 1>&6
17734 echo "configure:17735: checking for socket" >&5
17735 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
17736 echo $ac_n "(cached) $ac_c" 1>&6
17737 else
17738 cat > conftest.$ac_ext <<EOF
17739 #line 17740 "configure"
17740 #include "confdefs.h"
17741 /* System header to define __stub macros and hopefully few prototypes,
17742 which can conflict with char socket(); below. */
17743 #include <assert.h>
17744 /* Override any gcc2 internal prototype to avoid an error. */
17745 /* We use char because int might match the return type of a gcc2
17746 builtin and then its argument prototype would still apply. */
17747 char socket();
17748
17749 int main() {
17750
17751 /* The GNU C library defines this for functions which it implements
17752 to always fail with ENOSYS. Some functions are actually named
17753 something starting with __ and the normal name is an alias. */
17754 #if defined (__stub_socket) || defined (__stub___socket)
17755 choke me
17756 #else
17757 socket();
17758 #endif
17759
17760 ; return 0; }
17761 EOF
17762 if { (eval echo configure:17763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17763 rm -rf conftest*
17764 eval "ac_cv_func_socket=yes"
17765 else
17766 echo "configure: failed program was:" >&5
17767 cat conftest.$ac_ext >&5
17768 rm -rf conftest*
17769 eval "ac_cv_func_socket=no"
17770 fi
17771 rm -f conftest*
17772 fi
17773
17774 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
17775 echo "$ac_t""yes" 1>&6
17776 :
17777 else
17778 echo "$ac_t""no" 1>&6
17779 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
17780 echo "configure:17781: checking for socket in -lsocket" >&5
17781 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
17782 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17783 echo $ac_n "(cached) $ac_c" 1>&6
17784 else
17785 ac_save_LIBS="$LIBS"
17786 LIBS="-lsocket $LIBS"
17787 cat > conftest.$ac_ext <<EOF
17788 #line 17789 "configure"
17789 #include "confdefs.h"
17790 /* Override any gcc2 internal prototype to avoid an error. */
17791 /* We use char because int might match the return type of a gcc2
17792 builtin and then its argument prototype would still apply. */
17793 char socket();
17794
17795 int main() {
17796 socket()
17797 ; return 0; }
17798 EOF
17799 if { (eval echo configure:17800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17800 rm -rf conftest*
17801 eval "ac_cv_lib_$ac_lib_var=yes"
17802 else
17803 echo "configure: failed program was:" >&5
17804 cat conftest.$ac_ext >&5
17805 rm -rf conftest*
17806 eval "ac_cv_lib_$ac_lib_var=no"
17807 fi
17808 rm -f conftest*
17809 LIBS="$ac_save_LIBS"
17810
17811 fi
17812 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17813 echo "$ac_t""yes" 1>&6
17814 INET_LINK="$INET_LINK -lsocket"
17815 else
17816 echo "$ac_t""no" 1>&6
17817
17818 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
17819 wxUSE_SOCKETS=no
17820
17821
17822 fi
17823
17824
17825 fi
17826
17827 fi
17828
17829
17830 if test "$wxUSE_SOCKETS" = "yes" ; then
17831 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
17832 echo "configure:17833: checking what is the type of the third argument of getsockname" >&5
17833 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
17834 echo $ac_n "(cached) $ac_c" 1>&6
17835 else
17836
17837
17838 ac_ext=C
17839 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17840 ac_cpp='$CXXCPP $CPPFLAGS'
17841 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17842 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17843 cross_compiling=$ac_cv_prog_cxx_cross
17844
17845
17846 cat > conftest.$ac_ext <<EOF
17847 #line 17848 "configure"
17848 #include "confdefs.h"
17849
17850 #include <sys/types.h>
17851 #include <sys/socket.h>
17852
17853 int main() {
17854
17855 socklen_t len;
17856 getsockname(0, 0, &len);
17857
17858 ; return 0; }
17859 EOF
17860 if { (eval echo configure:17861: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17861 rm -rf conftest*
17862 wx_cv_type_getsockname3=socklen_t
17863 else
17864 echo "configure: failed program was:" >&5
17865 cat conftest.$ac_ext >&5
17866 rm -rf conftest*
17867 cat > conftest.$ac_ext <<EOF
17868 #line 17869 "configure"
17869 #include "confdefs.h"
17870
17871 #include <sys/types.h>
17872 #include <sys/socket.h>
17873
17874 int main() {
17875
17876 size_t len;
17877 getsockname(0, 0, &len);
17878
17879 ; return 0; }
17880 EOF
17881 if { (eval echo configure:17882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17882 rm -rf conftest*
17883 wx_cv_type_getsockname3=size_t
17884 else
17885 echo "configure: failed program was:" >&5
17886 cat conftest.$ac_ext >&5
17887 rm -rf conftest*
17888 cat > conftest.$ac_ext <<EOF
17889 #line 17890 "configure"
17890 #include "confdefs.h"
17891
17892 #include <sys/types.h>
17893 #include <sys/socket.h>
17894
17895 int main() {
17896
17897 int len;
17898 getsockname(0, 0, &len);
17899
17900 ; return 0; }
17901 EOF
17902 if { (eval echo configure:17903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17903 rm -rf conftest*
17904 wx_cv_type_getsockname3=int
17905 else
17906 echo "configure: failed program was:" >&5
17907 cat conftest.$ac_ext >&5
17908 rm -rf conftest*
17909 wx_cv_type_getsockname3=unknown
17910
17911 fi
17912 rm -f conftest*
17913
17914 fi
17915 rm -f conftest*
17916
17917 fi
17918 rm -f conftest*
17919
17920 ac_ext=c
17921 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17922 ac_cpp='$CPP $CPPFLAGS'
17923 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17924 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17925 cross_compiling=$ac_cv_prog_cc_cross
17926
17927
17928 fi
17929
17930 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
17931
17932 if test "$wx_cv_type_getsockname3" = "unknown"; then
17933 wxUSE_SOCKETS=no
17934 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
17935 else
17936 cat >> confdefs.h <<EOF
17937 #define SOCKLEN_T $wx_cv_type_getsockname3
17938 EOF
17939
17940 fi
17941 fi
17942 fi
17943
17944 if test "$wxUSE_SOCKETS" = "yes" ; then
17945 cat >> confdefs.h <<\EOF
17946 #define wxUSE_SOCKETS 1
17947 EOF
17948
17949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
17950 fi
17951
17952
17953 if test "$wxUSE_GUI" = "yes"; then
17954
17955 if test "$TOOLKIT" = "MAC"; then
17956 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
17957 wxUSE_JOYSTICK=no
17958 fi
17959 if test "$TOOLKIT" = "MOTIF"; then
17960 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
17961 wxUSE_JOYSTICK=no
17962 fi
17963
17964 if test "$TOOLKIT" != "MSW"; then
17965 if test "$wxUSE_JOYSTICK" = "yes"; then
17966 for ac_hdr in linux/joystick.h
17967 do
17968 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17969 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17970 echo "configure:17971: checking for $ac_hdr" >&5
17971 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17972 echo $ac_n "(cached) $ac_c" 1>&6
17973 else
17974 cat > conftest.$ac_ext <<EOF
17975 #line 17976 "configure"
17976 #include "confdefs.h"
17977 #include <$ac_hdr>
17978 EOF
17979 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17980 { (eval echo configure:17981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17981 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17982 if test -z "$ac_err"; then
17983 rm -rf conftest*
17984 eval "ac_cv_header_$ac_safe=yes"
17985 else
17986 echo "$ac_err" >&5
17987 echo "configure: failed program was:" >&5
17988 cat conftest.$ac_ext >&5
17989 rm -rf conftest*
17990 eval "ac_cv_header_$ac_safe=no"
17991 fi
17992 rm -f conftest*
17993 fi
17994 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17995 echo "$ac_t""yes" 1>&6
17996 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17997 cat >> confdefs.h <<EOF
17998 #define $ac_tr_hdr 1
17999 EOF
18000
18001 else
18002 echo "$ac_t""no" 1>&6
18003 fi
18004 done
18005
18006 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
18007 wxUSE_JOYSTICK=no
18008 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
18009 fi
18010 fi
18011 fi
18012
18013 if test "$wxUSE_JOYSTICK" = "yes"; then
18014 cat >> confdefs.h <<\EOF
18015 #define wxUSE_JOYSTICK 1
18016 EOF
18017
18018 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
18019 fi
18020 fi
18021
18022
18023 if test "$TOOLKIT" != "MSW"; then
18024
18025 HAVE_DL_FUNCS=0
18026 HAVE_SHL_FUNCS=0
18027 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
18028 if test "$USE_DARWIN" = 1; then
18029 HAVE_DL_FUNCS=1
18030 else
18031 for ac_func in dlopen
18032 do
18033 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18034 echo "configure:18035: checking for $ac_func" >&5
18035 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18036 echo $ac_n "(cached) $ac_c" 1>&6
18037 else
18038 cat > conftest.$ac_ext <<EOF
18039 #line 18040 "configure"
18040 #include "confdefs.h"
18041 /* System header to define __stub macros and hopefully few prototypes,
18042 which can conflict with char $ac_func(); below. */
18043 #include <assert.h>
18044 /* Override any gcc2 internal prototype to avoid an error. */
18045 /* We use char because int might match the return type of a gcc2
18046 builtin and then its argument prototype would still apply. */
18047 char $ac_func();
18048
18049 int main() {
18050
18051 /* The GNU C library defines this for functions which it implements
18052 to always fail with ENOSYS. Some functions are actually named
18053 something starting with __ and the normal name is an alias. */
18054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18055 choke me
18056 #else
18057 $ac_func();
18058 #endif
18059
18060 ; return 0; }
18061 EOF
18062 if { (eval echo configure:18063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18063 rm -rf conftest*
18064 eval "ac_cv_func_$ac_func=yes"
18065 else
18066 echo "configure: failed program was:" >&5
18067 cat conftest.$ac_ext >&5
18068 rm -rf conftest*
18069 eval "ac_cv_func_$ac_func=no"
18070 fi
18071 rm -f conftest*
18072 fi
18073
18074 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18075 echo "$ac_t""yes" 1>&6
18076 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18077 cat >> confdefs.h <<EOF
18078 #define $ac_tr_func 1
18079 EOF
18080
18081 cat >> confdefs.h <<\EOF
18082 #define HAVE_DLOPEN 1
18083 EOF
18084
18085 HAVE_DL_FUNCS=1
18086
18087 else
18088 echo "$ac_t""no" 1>&6
18089 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
18090 echo "configure:18091: checking for dlopen in -ldl" >&5
18091 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
18092 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18093 echo $ac_n "(cached) $ac_c" 1>&6
18094 else
18095 ac_save_LIBS="$LIBS"
18096 LIBS="-ldl $LIBS"
18097 cat > conftest.$ac_ext <<EOF
18098 #line 18099 "configure"
18099 #include "confdefs.h"
18100 /* Override any gcc2 internal prototype to avoid an error. */
18101 /* We use char because int might match the return type of a gcc2
18102 builtin and then its argument prototype would still apply. */
18103 char dlopen();
18104
18105 int main() {
18106 dlopen()
18107 ; return 0; }
18108 EOF
18109 if { (eval echo configure:18110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18110 rm -rf conftest*
18111 eval "ac_cv_lib_$ac_lib_var=yes"
18112 else
18113 echo "configure: failed program was:" >&5
18114 cat conftest.$ac_ext >&5
18115 rm -rf conftest*
18116 eval "ac_cv_lib_$ac_lib_var=no"
18117 fi
18118 rm -f conftest*
18119 LIBS="$ac_save_LIBS"
18120
18121 fi
18122 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18123 echo "$ac_t""yes" 1>&6
18124
18125 cat >> confdefs.h <<\EOF
18126 #define HAVE_DLOPEN 1
18127 EOF
18128
18129 HAVE_DL_FUNCS=1
18130 DL_LINK=" -ldl$DL_LINK"
18131
18132 else
18133 echo "$ac_t""no" 1>&6
18134
18135 for ac_func in shl_load
18136 do
18137 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18138 echo "configure:18139: checking for $ac_func" >&5
18139 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18140 echo $ac_n "(cached) $ac_c" 1>&6
18141 else
18142 cat > conftest.$ac_ext <<EOF
18143 #line 18144 "configure"
18144 #include "confdefs.h"
18145 /* System header to define __stub macros and hopefully few prototypes,
18146 which can conflict with char $ac_func(); below. */
18147 #include <assert.h>
18148 /* Override any gcc2 internal prototype to avoid an error. */
18149 /* We use char because int might match the return type of a gcc2
18150 builtin and then its argument prototype would still apply. */
18151 char $ac_func();
18152
18153 int main() {
18154
18155 /* The GNU C library defines this for functions which it implements
18156 to always fail with ENOSYS. Some functions are actually named
18157 something starting with __ and the normal name is an alias. */
18158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18159 choke me
18160 #else
18161 $ac_func();
18162 #endif
18163
18164 ; return 0; }
18165 EOF
18166 if { (eval echo configure:18167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18167 rm -rf conftest*
18168 eval "ac_cv_func_$ac_func=yes"
18169 else
18170 echo "configure: failed program was:" >&5
18171 cat conftest.$ac_ext >&5
18172 rm -rf conftest*
18173 eval "ac_cv_func_$ac_func=no"
18174 fi
18175 rm -f conftest*
18176 fi
18177
18178 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18179 echo "$ac_t""yes" 1>&6
18180 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18181 cat >> confdefs.h <<EOF
18182 #define $ac_tr_func 1
18183 EOF
18184
18185 cat >> confdefs.h <<\EOF
18186 #define HAVE_SHL_LOAD 1
18187 EOF
18188
18189 HAVE_SHL_FUNCS=1
18190
18191 else
18192 echo "$ac_t""no" 1>&6
18193 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
18194 echo "configure:18195: checking for dld in -lshl_load" >&5
18195 ac_lib_var=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
18196 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18197 echo $ac_n "(cached) $ac_c" 1>&6
18198 else
18199 ac_save_LIBS="$LIBS"
18200 LIBS="-lshl_load $LIBS"
18201 cat > conftest.$ac_ext <<EOF
18202 #line 18203 "configure"
18203 #include "confdefs.h"
18204 /* Override any gcc2 internal prototype to avoid an error. */
18205 /* We use char because int might match the return type of a gcc2
18206 builtin and then its argument prototype would still apply. */
18207 char dld();
18208
18209 int main() {
18210 dld()
18211 ; return 0; }
18212 EOF
18213 if { (eval echo configure:18214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18214 rm -rf conftest*
18215 eval "ac_cv_lib_$ac_lib_var=yes"
18216 else
18217 echo "configure: failed program was:" >&5
18218 cat conftest.$ac_ext >&5
18219 rm -rf conftest*
18220 eval "ac_cv_lib_$ac_lib_var=no"
18221 fi
18222 rm -f conftest*
18223 LIBS="$ac_save_LIBS"
18224
18225 fi
18226 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18227 echo "$ac_t""yes" 1>&6
18228
18229 HAVE_SHL_FUNCS=1
18230 DL_LINK=" -ldld$DL_LINK"
18231
18232 else
18233 echo "$ac_t""no" 1>&6
18234 fi
18235
18236
18237 fi
18238 done
18239
18240
18241 fi
18242
18243
18244 fi
18245 done
18246
18247
18248 if test "$HAVE_DL_FUNCS" = 1; then
18249 for ac_func in dlerror
18250 do
18251 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18252 echo "configure:18253: checking for $ac_func" >&5
18253 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18254 echo $ac_n "(cached) $ac_c" 1>&6
18255 else
18256 cat > conftest.$ac_ext <<EOF
18257 #line 18258 "configure"
18258 #include "confdefs.h"
18259 /* System header to define __stub macros and hopefully few prototypes,
18260 which can conflict with char $ac_func(); below. */
18261 #include <assert.h>
18262 /* Override any gcc2 internal prototype to avoid an error. */
18263 /* We use char because int might match the return type of a gcc2
18264 builtin and then its argument prototype would still apply. */
18265 char $ac_func();
18266
18267 int main() {
18268
18269 /* The GNU C library defines this for functions which it implements
18270 to always fail with ENOSYS. Some functions are actually named
18271 something starting with __ and the normal name is an alias. */
18272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18273 choke me
18274 #else
18275 $ac_func();
18276 #endif
18277
18278 ; return 0; }
18279 EOF
18280 if { (eval echo configure:18281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18281 rm -rf conftest*
18282 eval "ac_cv_func_$ac_func=yes"
18283 else
18284 echo "configure: failed program was:" >&5
18285 cat conftest.$ac_ext >&5
18286 rm -rf conftest*
18287 eval "ac_cv_func_$ac_func=no"
18288 fi
18289 rm -f conftest*
18290 fi
18291
18292 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18293 echo "$ac_t""yes" 1>&6
18294 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18295 cat >> confdefs.h <<EOF
18296 #define $ac_tr_func 1
18297 EOF
18298 cat >> confdefs.h <<\EOF
18299 #define HAVE_DLERROR 1
18300 EOF
18301
18302 else
18303 echo "$ac_t""no" 1>&6
18304 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
18305 echo "configure:18306: checking for dlerror in -ldl" >&5
18306 ac_lib_var=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
18307 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18308 echo $ac_n "(cached) $ac_c" 1>&6
18309 else
18310 ac_save_LIBS="$LIBS"
18311 LIBS="-ldl $LIBS"
18312 cat > conftest.$ac_ext <<EOF
18313 #line 18314 "configure"
18314 #include "confdefs.h"
18315 /* Override any gcc2 internal prototype to avoid an error. */
18316 /* We use char because int might match the return type of a gcc2
18317 builtin and then its argument prototype would still apply. */
18318 char dlerror();
18319
18320 int main() {
18321 dlerror()
18322 ; return 0; }
18323 EOF
18324 if { (eval echo configure:18325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18325 rm -rf conftest*
18326 eval "ac_cv_lib_$ac_lib_var=yes"
18327 else
18328 echo "configure: failed program was:" >&5
18329 cat conftest.$ac_ext >&5
18330 rm -rf conftest*
18331 eval "ac_cv_lib_$ac_lib_var=no"
18332 fi
18333 rm -f conftest*
18334 LIBS="$ac_save_LIBS"
18335
18336 fi
18337 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18338 echo "$ac_t""yes" 1>&6
18339 cat >> confdefs.h <<\EOF
18340 #define HAVE_DLERROR 1
18341 EOF
18342
18343 else
18344 echo "$ac_t""no" 1>&6
18345 fi
18346
18347 fi
18348 done
18349
18350 fi
18351 fi
18352
18353 if test "$HAVE_DL_FUNCS" = 0; then
18354 if test "$HAVE_SHL_FUNCS" = 0; then
18355 if test "$USE_UNIX" = 1; then
18356 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
18357 wxUSE_DYNAMIC_LOADER=no
18358 wxUSE_DYNLIB_CLASS=no
18359 else
18360 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
18361 fi
18362 fi
18363 fi
18364 fi
18365 fi
18366
18367 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
18368 cat >> confdefs.h <<\EOF
18369 #define wxUSE_DYNAMIC_LOADER 1
18370 EOF
18371
18372 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
18373 cat >> confdefs.h <<\EOF
18374 #define wxUSE_DYNLIB_CLASS 1
18375 EOF
18376
18377 fi
18378
18379
18380 if test "$wxUSE_FONTMAP" = "yes" ; then
18381 cat >> confdefs.h <<\EOF
18382 #define wxUSE_FONTMAP 1
18383 EOF
18384
18385 fi
18386
18387 if test "$wxUSE_UNICODE" = "yes" ; then
18388 cat >> confdefs.h <<\EOF
18389 #define wxUSE_UNICODE 1
18390 EOF
18391
18392
18393 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
18394 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
18395 echo "configure:18396: checking for main in -lunicows" >&5
18396 ac_lib_var=`echo unicows'_'main | sed 'y%./+-%__p_%'`
18397 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18398 echo $ac_n "(cached) $ac_c" 1>&6
18399 else
18400 ac_save_LIBS="$LIBS"
18401 LIBS="-lunicows $LIBS"
18402 cat > conftest.$ac_ext <<EOF
18403 #line 18404 "configure"
18404 #include "confdefs.h"
18405
18406 int main() {
18407 main()
18408 ; return 0; }
18409 EOF
18410 if { (eval echo configure:18411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18411 rm -rf conftest*
18412 eval "ac_cv_lib_$ac_lib_var=yes"
18413 else
18414 echo "configure: failed program was:" >&5
18415 cat conftest.$ac_ext >&5
18416 rm -rf conftest*
18417 eval "ac_cv_lib_$ac_lib_var=no"
18418 fi
18419 rm -f conftest*
18420 LIBS="$ac_save_LIBS"
18421
18422 fi
18423 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18424 echo "$ac_t""yes" 1>&6
18425
18426 cat >> confdefs.h <<\EOF
18427 #define wxUSE_UNICODE_MSLU 1
18428 EOF
18429
18430
18431 else
18432 echo "$ac_t""no" 1>&6
18433
18434 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
18435 Applications will only run on Windows NT/2000/XP!" 1>&2
18436 wxUSE_UNICODE_MSLU=no
18437
18438 fi
18439
18440 fi
18441 fi
18442
18443 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
18444 cat >> confdefs.h <<\EOF
18445 #define wxUSE_EXPERIMENTAL_PRINTF 1
18446 EOF
18447
18448 fi
18449
18450
18451
18452 IODBC_C_SRC=""
18453 if test "$wxUSE_ODBC" = "yes" ; then
18454 cat >> confdefs.h <<\EOF
18455 #define wxUSE_ODBC 1
18456 EOF
18457
18458 WXODBCFLAG="-D_IODBC_"
18459 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
18460 fi
18461
18462
18463 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
18464 cat >> confdefs.h <<\EOF
18465 #define wxUSE_POSTSCRIPT 1
18466 EOF
18467
18468 fi
18469
18470 cat >> confdefs.h <<\EOF
18471 #define wxUSE_AFM_FOR_POSTSCRIPT 1
18472 EOF
18473
18474
18475 cat >> confdefs.h <<\EOF
18476 #define wxUSE_NORMALIZED_PS_FONTS 1
18477 EOF
18478
18479
18480
18481 if test "$wxUSE_CONSTRAINTS" = "yes"; then
18482 cat >> confdefs.h <<\EOF
18483 #define wxUSE_CONSTRAINTS 1
18484 EOF
18485
18486 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
18487 fi
18488
18489 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18490 if test "$wxUSE_UNIVERSAL" = "yes"; then
18491 echo "configure: warning: MDI not yet supported for wxUNIVERSAL... disabled" 1>&2
18492 wxUSE_MDI_ARCHITECTURE=no
18493 fi
18494
18495 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18496 cat >> confdefs.h <<\EOF
18497 #define wxUSE_MDI_ARCHITECTURE 1
18498 EOF
18499
18500 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
18501 fi
18502 fi
18503
18504 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
18505 cat >> confdefs.h <<\EOF
18506 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
18507 EOF
18508
18509 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
18510 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18511 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
18512 fi
18513 fi
18514
18515 if test "$wxUSE_HELP" = "yes"; then
18516 cat >> confdefs.h <<\EOF
18517 #define wxUSE_HELP 1
18518 EOF
18519
18520 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
18521
18522 if test "$wxUSE_MSW" = 1; then
18523 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
18524 ac_safe=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
18525 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
18526 echo "configure:18527: checking for htmlhelp.h" >&5
18527 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18528 echo $ac_n "(cached) $ac_c" 1>&6
18529 else
18530 cat > conftest.$ac_ext <<EOF
18531 #line 18532 "configure"
18532 #include "confdefs.h"
18533 #include <htmlhelp.h>
18534 EOF
18535 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18536 { (eval echo configure:18537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18537 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18538 if test -z "$ac_err"; then
18539 rm -rf conftest*
18540 eval "ac_cv_header_$ac_safe=yes"
18541 else
18542 echo "$ac_err" >&5
18543 echo "configure: failed program was:" >&5
18544 cat conftest.$ac_ext >&5
18545 rm -rf conftest*
18546 eval "ac_cv_header_$ac_safe=no"
18547 fi
18548 rm -f conftest*
18549 fi
18550 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18551 echo "$ac_t""yes" 1>&6
18552
18553 cat >> confdefs.h <<\EOF
18554 #define wxUSE_MS_HTML_HELP 1
18555 EOF
18556
18557
18558 else
18559 echo "$ac_t""no" 1>&6
18560
18561 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
18562 wxUSE_MS_HTML_HELP=no
18563
18564 fi
18565
18566 fi
18567 fi
18568
18569 if test "$wxUSE_WXHTML_HELP" = "yes"; then
18570 if test "$wxUSE_HTML" = "yes"; then
18571 cat >> confdefs.h <<\EOF
18572 #define wxUSE_WXHTML_HELP 1
18573 EOF
18574
18575 else
18576 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
18577 wxUSE_WXHTML_HELP=no
18578 fi
18579 fi
18580 fi
18581
18582 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
18583 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18584 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
18585 else
18586 cat >> confdefs.h <<\EOF
18587 #define wxUSE_PRINTING_ARCHITECTURE 1
18588 EOF
18589
18590 fi
18591 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
18592 fi
18593
18594 if test "$wxUSE_PROLOGIO" = "yes" ; then
18595 cat >> confdefs.h <<\EOF
18596 #define wxUSE_PROLOGIO 1
18597 EOF
18598
18599 fi
18600
18601 if test "$wxUSE_RESOURCES" = "yes" ; then
18602 cat >> confdefs.h <<\EOF
18603 #define wxUSE_RESOURCES 1
18604 EOF
18605
18606 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS resource"
18607 fi
18608
18609 if test "$wxUSE_X_RESOURCES" = "yes"; then
18610 cat >> confdefs.h <<\EOF
18611 #define wxUSE_X_RESOURCES 1
18612 EOF
18613
18614 fi
18615
18616
18617 if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
18618 -o "$wxUSE_CLIPBOARD" = "yes" \
18619 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
18620 for ac_hdr in ole2.h
18621 do
18622 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18623 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18624 echo "configure:18625: checking for $ac_hdr" >&5
18625 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18626 echo $ac_n "(cached) $ac_c" 1>&6
18627 else
18628 cat > conftest.$ac_ext <<EOF
18629 #line 18630 "configure"
18630 #include "confdefs.h"
18631 #include <$ac_hdr>
18632 EOF
18633 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18634 { (eval echo configure:18635: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18635 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18636 if test -z "$ac_err"; then
18637 rm -rf conftest*
18638 eval "ac_cv_header_$ac_safe=yes"
18639 else
18640 echo "$ac_err" >&5
18641 echo "configure: failed program was:" >&5
18642 cat conftest.$ac_ext >&5
18643 rm -rf conftest*
18644 eval "ac_cv_header_$ac_safe=no"
18645 fi
18646 rm -f conftest*
18647 fi
18648 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18649 echo "$ac_t""yes" 1>&6
18650 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18651 cat >> confdefs.h <<EOF
18652 #define $ac_tr_hdr 1
18653 EOF
18654
18655 else
18656 echo "$ac_t""no" 1>&6
18657 fi
18658 done
18659
18660
18661 if test "$ac_cv_header_ole2_h" = "yes" ; then
18662 if test "$GCC" = yes ; then
18663 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
18664 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
18665 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
18666 cat >> confdefs.h <<\EOF
18667 #define wxUSE_OLE 1
18668 EOF
18669
18670
18671 fi
18672
18673 cat >> confdefs.h <<\EOF
18674 #define wxUSE_DATAOBJ 1
18675 EOF
18676
18677 else
18678 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
18679
18680 wxUSE_CLIPBOARD=no
18681 wxUSE_DRAG_AND_DROP=no
18682 wxUSE_DATAOBJ=no
18683 fi
18684
18685 if test "$wxUSE_METAFILE" = "yes"; then
18686 cat >> confdefs.h <<\EOF
18687 #define wxUSE_METAFILE 1
18688 EOF
18689
18690
18691 cat >> confdefs.h <<\EOF
18692 #define wxUSE_ENH_METAFILE 1
18693 EOF
18694
18695 fi
18696 fi
18697
18698 if test "$wxUSE_IPC" = "yes"; then
18699 if test "$wxUSE_SOCKETS" != "yes"; then
18700 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
18701 fi
18702
18703 cat >> confdefs.h <<\EOF
18704 #define wxUSE_IPC 1
18705 EOF
18706
18707 fi
18708
18709 if test "$wxUSE_CLIPBOARD" = "yes"; then
18710 cat >> confdefs.h <<\EOF
18711 #define wxUSE_CLIPBOARD 1
18712 EOF
18713
18714
18715 cat >> confdefs.h <<\EOF
18716 #define wxUSE_DATAOBJ 1
18717 EOF
18718
18719 fi
18720
18721 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
18722 if test "$wxUSE_GTK" = 1; then
18723 if test "$WXGTK12" != 1; then
18724 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
18725 wxUSE_DRAG_AND_DROP=no
18726 fi
18727 fi
18728
18729 if test "$wxUSE_MOTIF" = 1; then
18730 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
18731 wxUSE_DRAG_AND_DROP=no
18732 fi
18733
18734 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
18735 cat >> confdefs.h <<\EOF
18736 #define wxUSE_DRAG_AND_DROP 1
18737 EOF
18738
18739 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
18740 fi
18741
18742 fi
18743
18744 if test "$wxUSE_SPLINES" = "yes" ; then
18745 cat >> confdefs.h <<\EOF
18746 #define wxUSE_SPLINES 1
18747 EOF
18748
18749 fi
18750
18751
18752 USES_CONTROLS=0
18753 if test "$wxUSE_CONTROLS" = "yes"; then
18754 USES_CONTROLS=1
18755 fi
18756
18757 if test "$wxUSE_ACCEL" = "yes"; then
18758 cat >> confdefs.h <<\EOF
18759 #define wxUSE_ACCEL 1
18760 EOF
18761
18762 USES_CONTROLS=1
18763 fi
18764
18765 if test "$wxUSE_BUTTON" = "yes"; then
18766 cat >> confdefs.h <<\EOF
18767 #define wxUSE_BUTTON 1
18768 EOF
18769
18770 USES_CONTROLS=1
18771 fi
18772
18773 if test "$wxUSE_BMPBUTTON" = "yes"; then
18774 cat >> confdefs.h <<\EOF
18775 #define wxUSE_BMPBUTTON 1
18776 EOF
18777
18778 USES_CONTROLS=1
18779 fi
18780
18781 if test "$wxUSE_CALCTRL" = "yes"; then
18782 cat >> confdefs.h <<\EOF
18783 #define wxUSE_CALENDARCTRL 1
18784 EOF
18785
18786 USES_CONTROLS=1
18787 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
18788 fi
18789
18790 if test "$wxUSE_CARET" = "yes"; then
18791 cat >> confdefs.h <<\EOF
18792 #define wxUSE_CARET 1
18793 EOF
18794
18795 USES_CONTROLS=1
18796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
18797 fi
18798
18799 if test "$wxUSE_COMBOBOX" = "yes"; then
18800 cat >> confdefs.h <<\EOF
18801 #define wxUSE_COMBOBOX 1
18802 EOF
18803
18804 USES_CONTROLS=1
18805 fi
18806
18807 if test "$wxUSE_CHOICE" = "yes"; then
18808 cat >> confdefs.h <<\EOF
18809 #define wxUSE_CHOICE 1
18810 EOF
18811
18812 USES_CONTROLS=1
18813 fi
18814
18815 if test "$wxUSE_CHECKBOX" = "yes"; then
18816 cat >> confdefs.h <<\EOF
18817 #define wxUSE_CHECKBOX 1
18818 EOF
18819
18820 USES_CONTROLS=1
18821 fi
18822
18823 if test "$wxUSE_CHECKLST" = "yes"; then
18824 cat >> confdefs.h <<\EOF
18825 #define wxUSE_CHECKLISTBOX 1
18826 EOF
18827
18828 USES_CONTROLS=1
18829 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
18830 fi
18831
18832 if test "$wxUSE_GAUGE" = "yes"; then
18833 cat >> confdefs.h <<\EOF
18834 #define wxUSE_GAUGE 1
18835 EOF
18836
18837 USES_CONTROLS=1
18838 fi
18839
18840 if test "$wxUSE_NEW_GRID" = "yes"; then
18841 wxUSE_GRID="yes"
18842 cat >> confdefs.h <<\EOF
18843 #define wxUSE_NEW_GRID 1
18844 EOF
18845
18846 USES_CONTROLS=1
18847 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS newgrid"
18848 fi
18849
18850 if test "$wxUSE_GRID" = "yes"; then
18851 cat >> confdefs.h <<\EOF
18852 #define wxUSE_GRID 1
18853 EOF
18854
18855 USES_CONTROLS=1
18856 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
18857 fi
18858
18859 if test "$wxUSE_IMAGLIST" = "yes"; then
18860 cat >> confdefs.h <<\EOF
18861 #define wxUSE_IMAGLIST 1
18862 EOF
18863
18864 fi
18865
18866 if test "$wxUSE_LISTBOX" = "yes"; then
18867 cat >> confdefs.h <<\EOF
18868 #define wxUSE_LISTBOX 1
18869 EOF
18870
18871 USES_CONTROLS=1
18872 fi
18873
18874 if test "$wxUSE_LISTCTRL" = "yes"; then
18875 if test "$wxUSE_IMAGLIST" = "yes"; then
18876 cat >> confdefs.h <<\EOF
18877 #define wxUSE_LISTCTRL 1
18878 EOF
18879
18880 USES_CONTROLS=1
18881 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
18882 else
18883 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
18884 fi
18885 fi
18886
18887 if test "$wxUSE_NOTEBOOK" = "yes"; then
18888 cat >> confdefs.h <<\EOF
18889 #define wxUSE_NOTEBOOK 1
18890 EOF
18891
18892 USES_CONTROLS=1
18893 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
18894 fi
18895
18896 if test "$wxUSE_PROPSHEET" = "yes"; then
18897 cat >> confdefs.h <<\EOF
18898 #define wxUSE_PROPSHEET 1
18899 EOF
18900
18901 USES_CONTROLS=1
18902 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS proplist"
18903 fi
18904
18905 if test "$wxUSE_RADIOBOX" = "yes"; then
18906 cat >> confdefs.h <<\EOF
18907 #define wxUSE_RADIOBOX 1
18908 EOF
18909
18910 USES_CONTROLS=1
18911 fi
18912
18913 if test "$wxUSE_RADIOBTN" = "yes"; then
18914 cat >> confdefs.h <<\EOF
18915 #define wxUSE_RADIOBTN 1
18916 EOF
18917
18918 USES_CONTROLS=1
18919 fi
18920
18921 if test "$wxUSE_SASH" = "yes"; then
18922 cat >> confdefs.h <<\EOF
18923 #define wxUSE_SASH 1
18924 EOF
18925
18926 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
18927 fi
18928
18929 if test "$wxUSE_SCROLLBAR" = "yes"; then
18930 cat >> confdefs.h <<\EOF
18931 #define wxUSE_SCROLLBAR 1
18932 EOF
18933
18934 USES_CONTROLS=1
18935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
18936 fi
18937
18938 if test "$wxUSE_SLIDER" = "yes"; then
18939 cat >> confdefs.h <<\EOF
18940 #define wxUSE_SLIDER 1
18941 EOF
18942
18943 USES_CONTROLS=1
18944 fi
18945
18946 if test "$wxUSE_SPINBTN" = "yes"; then
18947 cat >> confdefs.h <<\EOF
18948 #define wxUSE_SPINBTN 1
18949 EOF
18950
18951 USES_CONTROLS=1
18952 fi
18953
18954 if test "$wxUSE_SPINCTRL" = "yes"; then
18955 cat >> confdefs.h <<\EOF
18956 #define wxUSE_SPINCTRL 1
18957 EOF
18958
18959 USES_CONTROLS=1
18960 fi
18961
18962 if test "$wxUSE_SPLITTER" = "yes"; then
18963 cat >> confdefs.h <<\EOF
18964 #define wxUSE_SPLITTER 1
18965 EOF
18966
18967 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
18968 fi
18969
18970 if test "$wxUSE_STATBMP" = "yes"; then
18971 cat >> confdefs.h <<\EOF
18972 #define wxUSE_STATBMP 1
18973 EOF
18974
18975 USES_CONTROLS=1
18976 fi
18977
18978 if test "$wxUSE_STATBOX" = "yes"; then
18979 cat >> confdefs.h <<\EOF
18980 #define wxUSE_STATBOX 1
18981 EOF
18982
18983 USES_CONTROLS=1
18984 fi
18985
18986 if test "$wxUSE_STATTEXT" = "yes"; then
18987 cat >> confdefs.h <<\EOF
18988 #define wxUSE_STATTEXT 1
18989 EOF
18990
18991 USES_CONTROLS=1
18992 fi
18993
18994 if test "$wxUSE_STATLINE" = "yes"; then
18995 if test "$wxUSE_WINE" = 1 ; then
18996 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
18997 else
18998 cat >> confdefs.h <<\EOF
18999 #define wxUSE_STATLINE 1
19000 EOF
19001
19002 USES_CONTROLS=1
19003 fi
19004 fi
19005
19006 if test "$wxUSE_STATUSBAR" = "yes"; then
19007 cat >> confdefs.h <<\EOF
19008 #define wxUSE_STATUSBAR 1
19009 EOF
19010
19011 USES_CONTROLS=1
19012
19013 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
19014 fi
19015
19016 if test "$wxUSE_TABDIALOG" = "yes"; then
19017 cat >> confdefs.h <<\EOF
19018 #define wxUSE_TAB_DIALOG 1
19019 EOF
19020
19021 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
19022 fi
19023
19024 if test "$wxUSE_TEXTCTRL" = "yes"; then
19025 cat >> confdefs.h <<\EOF
19026 #define wxUSE_TEXTCTRL 1
19027 EOF
19028
19029 USES_CONTROLS=1
19030 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
19031 fi
19032
19033 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19034 if test "$wxUSE_MAC" = 1; then
19035 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
19036 wxUSE_TOGGLEBTN=no
19037 fi
19038 if test "$wxUSE_UNIVERSAL" = "yes"; then
19039 echo "configure: warning: Toggle button not yet supported under wxUNIVERSAL... disabled" 1>&2
19040 wxUSE_TOGGLEBTN=no
19041 fi
19042
19043 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19044 cat >> confdefs.h <<\EOF
19045 #define wxUSE_TOGGLEBTN 1
19046 EOF
19047
19048 USES_CONTROLS=1
19049 fi
19050 fi
19051
19052 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
19053 cat >> confdefs.h <<\EOF
19054 #define wxUSE_TOOLBAR_SIMPLE 1
19055 EOF
19056
19057 wxUSE_TOOLBAR="yes"
19058 USES_CONTROLS=1
19059 fi
19060
19061 if test "$wxUSE_TOOLBAR" = "yes"; then
19062 cat >> confdefs.h <<\EOF
19063 #define wxUSE_TOOLBAR 1
19064 EOF
19065
19066 USES_CONTROLS=1
19067
19068 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
19069 wxUSE_TOOLBAR_NATIVE="yes"
19070 fi
19071
19072 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
19073 cat >> confdefs.h <<\EOF
19074 #define wxUSE_TOOLBAR_NATIVE 1
19075 EOF
19076
19077 USES_CONTROLS=1
19078 fi
19079
19080 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
19081 fi
19082
19083 if test "$wxUSE_TOOLTIPS" = "yes"; then
19084 if test "$wxUSE_MOTIF" = 1; then
19085 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
19086 else
19087 if test "$wxUSE_WINE" = 1; then
19088 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
19089 else
19090 if test "$wxUSE_UNIVERSAL" = "yes"; then
19091 echo "configure: warning: wxTooltip not supported yet in wxUNIVERSAL... disabled" 1>&2
19092 else
19093 cat >> confdefs.h <<\EOF
19094 #define wxUSE_TOOLTIPS 1
19095 EOF
19096
19097 fi
19098 fi
19099 fi
19100 fi
19101
19102 if test "$wxUSE_TREECTRL" = "yes"; then
19103 if test "$wxUSE_IMAGLIST" = "yes"; then
19104 cat >> confdefs.h <<\EOF
19105 #define wxUSE_TREECTRL 1
19106 EOF
19107
19108 USES_CONTROLS=1
19109 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
19110 else
19111 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
19112 fi
19113 fi
19114
19115 if test "$wxUSE_POPUPWIN" = "yes"; then
19116 if test "$wxUSE_MAC" = 1; then
19117 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
19118 else
19119 if test "$wxUSE_MOTIF" = 1; then
19120 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
19121 else
19122 cat >> confdefs.h <<\EOF
19123 #define wxUSE_POPUPWIN 1
19124 EOF
19125
19126
19127 USES_CONTROLS=1
19128 fi
19129 fi
19130 fi
19131
19132 if test "$wxUSE_TIPWINDOW" = "yes"; then
19133 cat >> confdefs.h <<\EOF
19134 #define wxUSE_TIPWINDOW 1
19135 EOF
19136
19137 fi
19138
19139 if test "$USES_CONTROLS" = 1; then
19140 cat >> confdefs.h <<\EOF
19141 #define wxUSE_CONTROLS 1
19142 EOF
19143
19144 fi
19145
19146
19147 if test "$wxUSE_TREELAYOUT" = "yes"; then
19148 cat >> confdefs.h <<\EOF
19149 #define wxUSE_TREELAYOUT 1
19150 EOF
19151
19152 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelay"
19153 fi
19154
19155 if test "$wxUSE_DRAGIMAGE" = "yes"; then
19156 cat >> confdefs.h <<\EOF
19157 #define wxUSE_DRAGIMAGE 1
19158 EOF
19159
19160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
19161 fi
19162
19163 if test "$wxUSE_MENUS" = "yes"; then
19164 cat >> confdefs.h <<\EOF
19165 #define wxUSE_MENUS 1
19166 EOF
19167
19168 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
19169 fi
19170
19171 if test "$wxUSE_METAFILE" = "yes"; then
19172 cat >> confdefs.h <<\EOF
19173 #define wxUSE_METAFILE 1
19174 EOF
19175
19176 fi
19177
19178 if test "$wxUSE_MIMETYPE" = "yes"; then
19179 cat >> confdefs.h <<\EOF
19180 #define wxUSE_MIMETYPE 1
19181 EOF
19182
19183 fi
19184
19185 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
19186 cat >> confdefs.h <<\EOF
19187 #define wxUSE_SYSTEM_OPTIONS 1
19188 EOF
19189
19190 fi
19191
19192 if test "$wxUSE_PROTOCOL" = "yes"; then
19193 if test "$wxUSE_SOCKETS" != "yes"; then
19194 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
19195 wxUSE_PROTOCOL=no
19196 fi
19197
19198 if test "$wxUSE_PROTOCOL" = "yes"; then
19199 cat >> confdefs.h <<\EOF
19200 #define wxUSE_PROTOCOL 1
19201 EOF
19202
19203
19204 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
19205 cat >> confdefs.h <<\EOF
19206 #define wxUSE_PROTOCOL_HTTP 1
19207 EOF
19208
19209 fi
19210 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
19211 cat >> confdefs.h <<\EOF
19212 #define wxUSE_PROTOCOL_FTP 1
19213 EOF
19214
19215 fi
19216 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
19217 cat >> confdefs.h <<\EOF
19218 #define wxUSE_PROTOCOL_FILE 1
19219 EOF
19220
19221 fi
19222 fi
19223 fi
19224
19225 if test "$wxUSE_URL" = "yes"; then
19226 if test "$wxUSE_PROTOCOL" != "yes"; then
19227 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
19228 wxUSE_URL=no
19229 fi
19230 if test "$wxUSE_URL" = "yes"; then
19231 cat >> confdefs.h <<\EOF
19232 #define wxUSE_URL 1
19233 EOF
19234
19235 fi
19236 fi
19237
19238 if test "$wxUSE_MINIFRAME" = "yes"; then
19239 cat >> confdefs.h <<\EOF
19240 #define wxUSE_MINIFRAME 1
19241 EOF
19242
19243 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
19244 fi
19245
19246 if test "$wxUSE_HTML" = "yes"; then
19247 cat >> confdefs.h <<\EOF
19248 #define wxUSE_HTML 1
19249 EOF
19250
19251 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html"
19252 fi
19253
19254 if test "$wxUSE_VALIDATORS" = "yes"; then
19255 cat >> confdefs.h <<\EOF
19256 #define wxUSE_VALIDATORS 1
19257 EOF
19258
19259 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
19260 fi
19261
19262 if test "$wxUSE_PALETTE" = "yes" ; then
19263 cat >> confdefs.h <<\EOF
19264 #define wxUSE_PALETTE 1
19265 EOF
19266
19267 fi
19268
19269 if test "$wxUSE_IMAGE" = "yes" ; then
19270 cat >> confdefs.h <<\EOF
19271 #define wxUSE_IMAGE 1
19272 EOF
19273
19274 fi
19275
19276 if test "$wxUSE_GIF" = "yes" ; then
19277 cat >> confdefs.h <<\EOF
19278 #define wxUSE_GIF 1
19279 EOF
19280
19281 fi
19282
19283 if test "$wxUSE_PCX" = "yes" ; then
19284 cat >> confdefs.h <<\EOF
19285 #define wxUSE_PCX 1
19286 EOF
19287
19288 fi
19289
19290 if test "$wxUSE_PNM" = "yes" ; then
19291 cat >> confdefs.h <<\EOF
19292 #define wxUSE_PNM 1
19293 EOF
19294
19295 fi
19296
19297 if test "$wxUSE_XPM" = "yes" ; then
19298 cat >> confdefs.h <<\EOF
19299 #define wxUSE_XPM 1
19300 EOF
19301
19302 fi
19303
19304 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
19305 LIBS=" -lunicows $LIBS"
19306 fi
19307
19308
19309 if test "$wxUSE_CHOICEDLG" = "yes"; then
19310 cat >> confdefs.h <<\EOF
19311 #define wxUSE_CHOICEDLG 1
19312 EOF
19313
19314 fi
19315
19316 if test "$wxUSE_COLOURDLG" = "yes"; then
19317 cat >> confdefs.h <<\EOF
19318 #define wxUSE_COLOURDLG 1
19319 EOF
19320
19321 fi
19322
19323 if test "$wxUSE_FILEDLG" = "yes"; then
19324 cat >> confdefs.h <<\EOF
19325 #define wxUSE_FILEDLG 1
19326 EOF
19327
19328 fi
19329
19330 if test "$wxUSE_FINDREPLDLG" = "yes"; then
19331 cat >> confdefs.h <<\EOF
19332 #define wxUSE_FINDREPLDLG 1
19333 EOF
19334
19335 fi
19336
19337 if test "$wxUSE_FONTDLG" = "yes"; then
19338 cat >> confdefs.h <<\EOF
19339 #define wxUSE_FONTDLG 1
19340 EOF
19341
19342 fi
19343
19344 if test "$wxUSE_DIRDLG" = "yes"; then
19345 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19346 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
19347 else
19348 if test "$wxUSE_TREECTRL" != "yes"; then
19349 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
19350 else
19351 cat >> confdefs.h <<\EOF
19352 #define wxUSE_DIRDLG 1
19353 EOF
19354
19355 fi
19356 fi
19357 fi
19358
19359 if test "$wxUSE_MSGDLG" = "yes"; then
19360 cat >> confdefs.h <<\EOF
19361 #define wxUSE_MSGDLG 1
19362 EOF
19363
19364 fi
19365
19366 if test "$wxUSE_NUMBERDLG" = "yes"; then
19367 cat >> confdefs.h <<\EOF
19368 #define wxUSE_NUMBERDLG 1
19369 EOF
19370
19371 fi
19372
19373 if test "$wxUSE_PROGRESSDLG" = "yes"; then
19374 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19375 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
19376 else
19377 cat >> confdefs.h <<\EOF
19378 #define wxUSE_PROGRESSDLG 1
19379 EOF
19380
19381 fi
19382 fi
19383
19384 if test "$wxUSE_SPLASH" = "yes"; then
19385 cat >> confdefs.h <<\EOF
19386 #define wxUSE_SPLASH 1
19387 EOF
19388
19389 fi
19390
19391 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
19392 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19393 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
19394 else
19395 cat >> confdefs.h <<\EOF
19396 #define wxUSE_STARTUP_TIPS 1
19397 EOF
19398
19399 fi
19400 fi
19401
19402 if test "$wxUSE_TEXTDLG" = "yes"; then
19403 cat >> confdefs.h <<\EOF
19404 #define wxUSE_TEXTDLG 1
19405 EOF
19406
19407 fi
19408
19409 if test "$wxUSE_WIZARDDLG" = "yes"; then
19410 cat >> confdefs.h <<\EOF
19411 #define wxUSE_WIZARDDLG 1
19412 EOF
19413
19414 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
19415 fi
19416
19417
19418 if test "$cross_compiling" = "yes"; then
19419 OSINFO="\"$host\""
19420 else
19421 OSINFO=`uname -s -r -m`
19422 OSINFO="\"$OSINFO\""
19423 fi
19424
19425 cat >> confdefs.h <<EOF
19426 #define WXWIN_OS_DESCRIPTION $OSINFO
19427 EOF
19428
19429
19430
19431 if test "x$prefix" != "xNONE"; then
19432 wxPREFIX=$prefix
19433 else
19434 wxPREFIX=$ac_default_prefix
19435 fi
19436
19437 cat >> confdefs.h <<EOF
19438 #define wxINSTALL_PREFIX "$wxPREFIX"
19439 EOF
19440
19441
19442
19443
19444
19445 if test "$wxUSE_MAC" = 1 ; then
19446 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
19447 fi
19448
19449
19450 LIBS="$ZLIB_LINK$POSIX4_LINK$INET_LINK$WCHAR_LINK$THREADS_LINK$DL_LINK -lm$LIBS"
19451
19452 if test "$wxUSE_GUI" = "yes"; then
19453
19454 LIBS=" $GUI_TK_LIBRARY$PNG_LINK$JPEG_LINK$TIFF_LINK$FREETYPE_LINK$LIBS"
19455
19456
19457 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS controls dialogs \
19458 drawing dynamic erase event exec font image \
19459 minimal richedit rotate widgets"
19460
19461 CPPFLAGS="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
19462 else
19463 SAMPLES_SUBDIRS="console"
19464 fi
19465
19466
19467 INCLUDES="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
19468 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
19469 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
19470
19471 if test "$wxUSE_GTK" = 1; then
19472 WXCONFIG_INCLUDE=
19473 else
19474 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
19475 fi
19476
19477 if test "$GXX" = yes ; then
19478 CXXWARNINGS="-Wall"
19479
19480 if test "$wxUSE_NO_DEPS" = "no" ; then
19481 CFLAGS="-MMD $CFLAGS"
19482 CXXFLAGS="-MMD $CXXFLAGS"
19483 fi
19484 fi
19485
19486 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
19487
19488 CFLAGS=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
19489 CXXFLAGS=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
19490
19491 LDFLAGS="$LDFLAGS$PROFILE"
19492
19493 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
19494
19495
19496
19497
19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
19545
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 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
19580 echo "configure:19581: checking whether ${MAKE-make} sets \${MAKE}" >&5
19581 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
19582 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
19583 echo $ac_n "(cached) $ac_c" 1>&6
19584 else
19585 cat > conftestmake <<\EOF
19586 all:
19587 @echo 'ac_maketemp="${MAKE}"'
19588 EOF
19589 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19590 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
19591 if test -n "$ac_maketemp"; then
19592 eval ac_cv_prog_make_${ac_make}_set=yes
19593 else
19594 eval ac_cv_prog_make_${ac_make}_set=no
19595 fi
19596 rm -f conftestmake
19597 fi
19598 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
19599 echo "$ac_t""yes" 1>&6
19600 SET_MAKE=
19601 else
19602 echo "$ac_t""no" 1>&6
19603 SET_MAKE="MAKE=${MAKE-make}"
19604 fi
19605
19606
19607 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
19608 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
19609 fi
19610
19611
19612
19613 if test "$wxUSE_GUI" = "yes"; then
19614 wx_cv_path_samplesubdirs=$SAMPLES_SUBDIRS
19615 wx_cv_path_ifs=$PATH_IFS
19616 wx_cv_program_ext=$PROGRAM_EXT
19617 wx_cv_target_library=$WX_TARGET_LIBRARY
19618 wx_cv_target_library_gl=$WX_TARGET_LIBRARY_GL
19619 wx_cv_target_libtype=$WX_TARGET_LIBRARY_TYPE
19620 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
19621 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
19622 subdirs="demos samples utils contrib"
19623
19624 fi
19625
19626 trap '' 1 2 15
19627 cat > confcache <<\EOF
19628 # This file is a shell script that caches the results of configure
19629 # tests run on this system so they can be shared between configure
19630 # scripts and configure runs. It is not useful on other systems.
19631 # If it contains results you don't want to keep, you may remove or edit it.
19632 #
19633 # By default, configure uses ./config.cache as the cache file,
19634 # creating it if it does not exist already. You can give configure
19635 # the --cache-file=FILE option to use a different cache file; that is
19636 # what configure does when it calls configure scripts in
19637 # subdirectories, so they share the cache.
19638 # Giving --cache-file=/dev/null disables caching, for debugging configure.
19639 # config.status only pays attention to the cache file if you give it the
19640 # --recheck option to rerun configure.
19641 #
19642 EOF
19643 # The following way of writing the cache mishandles newlines in values,
19644 # but we know of no workaround that is simple, portable, and efficient.
19645 # So, don't put newlines in cache variables' values.
19646 # Ultrix sh set writes to stderr and can't be redirected directly,
19647 # and sets the high bit in the cache file unless we assign to the vars.
19648 (set) 2>&1 |
19649 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19650 *ac_space=\ *)
19651 # `set' does not quote correctly, so add quotes (double-quote substitution
19652 # turns \\\\ into \\, and sed turns \\ into \).
19653 sed -n \
19654 -e "s/'/'\\\\''/g" \
19655 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
19656 ;;
19657 *)
19658 # `set' quotes correctly as required by POSIX, so do not add quotes.
19659 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
19660 ;;
19661 esac >> confcache
19662 if cmp -s $cache_file confcache; then
19663 :
19664 else
19665 if test -w $cache_file; then
19666 echo "updating cache $cache_file"
19667 cat confcache > $cache_file
19668 else
19669 echo "not updating unwritable cache $cache_file"
19670 fi
19671 fi
19672 rm -f confcache
19673
19674 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
19675
19676 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19677 # Let make expand exec_prefix.
19678 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19679
19680 # Any assignment to VPATH causes Sun make to only execute
19681 # the first set of double-colon rules, so remove it if not needed.
19682 # If there is a colon in the path, we need to keep it.
19683 if test "x$srcdir" = x.; then
19684 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
19685 fi
19686
19687 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
19688
19689 DEFS=-DHAVE_CONFIG_H
19690
19691 # Without the "./", some shells look in PATH for config.status.
19692 : ${CONFIG_STATUS=./config.status}
19693
19694 echo creating $CONFIG_STATUS
19695 rm -f $CONFIG_STATUS
19696 cat > $CONFIG_STATUS <<EOF
19697 #! /bin/sh
19698 # Generated automatically by configure.
19699 # Run this file to recreate the current configuration.
19700 # This directory was configured as follows,
19701 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19702 #
19703 # $0 $ac_configure_args
19704 #
19705 # Compiler output produced by configure, useful for debugging
19706 # configure, is in ./config.log if it exists.
19707
19708 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
19709 for ac_option
19710 do
19711 case "\$ac_option" in
19712 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19713 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
19714 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
19715 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
19716 echo "$CONFIG_STATUS generated by autoconf version 2.13"
19717 exit 0 ;;
19718 -help | --help | --hel | --he | --h)
19719 echo "\$ac_cs_usage"; exit 0 ;;
19720 *) echo "\$ac_cs_usage"; exit 1 ;;
19721 esac
19722 done
19723
19724 ac_given_srcdir=$srcdir
19725 ac_given_INSTALL="$INSTALL"
19726
19727 trap 'rm -fr `echo "
19728 wx-config
19729 src/make.env
19730 src/makeprog.env
19731 src/makelib.env
19732 Makefile
19733 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
19734 EOF
19735 cat >> $CONFIG_STATUS <<EOF
19736
19737 # Protect against being on the right side of a sed subst in config.status.
19738 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
19739 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
19740 $ac_vpsub
19741 $extrasub
19742 s%@SHELL@%$SHELL%g
19743 s%@CFLAGS@%$CFLAGS%g
19744 s%@CPPFLAGS@%$CPPFLAGS%g
19745 s%@CXXFLAGS@%$CXXFLAGS%g
19746 s%@FFLAGS@%$FFLAGS%g
19747 s%@DEFS@%$DEFS%g
19748 s%@LDFLAGS@%$LDFLAGS%g
19749 s%@LIBS@%$LIBS%g
19750 s%@exec_prefix@%$exec_prefix%g
19751 s%@prefix@%$prefix%g
19752 s%@program_transform_name@%$program_transform_name%g
19753 s%@bindir@%$bindir%g
19754 s%@sbindir@%$sbindir%g
19755 s%@libexecdir@%$libexecdir%g
19756 s%@datadir@%$datadir%g
19757 s%@sysconfdir@%$sysconfdir%g
19758 s%@sharedstatedir@%$sharedstatedir%g
19759 s%@localstatedir@%$localstatedir%g
19760 s%@libdir@%$libdir%g
19761 s%@includedir@%$includedir%g
19762 s%@oldincludedir@%$oldincludedir%g
19763 s%@infodir@%$infodir%g
19764 s%@mandir@%$mandir%g
19765 s%@host@%$host%g
19766 s%@host_alias@%$host_alias%g
19767 s%@host_cpu@%$host_cpu%g
19768 s%@host_vendor@%$host_vendor%g
19769 s%@host_os@%$host_os%g
19770 s%@target@%$target%g
19771 s%@target_alias@%$target_alias%g
19772 s%@target_cpu@%$target_cpu%g
19773 s%@target_vendor@%$target_vendor%g
19774 s%@target_os@%$target_os%g
19775 s%@build@%$build%g
19776 s%@build_alias@%$build_alias%g
19777 s%@build_cpu@%$build_cpu%g
19778 s%@build_vendor@%$build_vendor%g
19779 s%@build_os@%$build_os%g
19780 s%@CC@%$CC%g
19781 s%@CPP@%$CPP%g
19782 s%@CXX@%$CXX%g
19783 s%@RANLIB@%$RANLIB%g
19784 s%@AR@%$AR%g
19785 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
19786 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
19787 s%@INSTALL_DATA@%$INSTALL_DATA%g
19788 s%@STRIP@%$STRIP%g
19789 s%@YACC@%$YACC%g
19790 s%@LEX@%$LEX%g
19791 s%@LEXLIB@%$LEXLIB%g
19792 s%@LN_S@%$LN_S%g
19793 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
19794 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
19795 s%@GTK_LIBS@%$GTK_LIBS%g
19796 s%@GTK_CONFIG@%$GTK_CONFIG%g
19797 s%@X_CFLAGS@%$X_CFLAGS%g
19798 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
19799 s%@X_LIBS@%$X_LIBS%g
19800 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
19801 s%@RESCOMP@%$RESCOMP%g
19802 s%@DEREZ@%$DEREZ%g
19803 s%@CXXCPP@%$CXXCPP%g
19804 s%@LEX_STEM@%$LEX_STEM%g
19805 s%@PATH_IFS@%$PATH_IFS%g
19806 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
19807 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
19808 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
19809 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
19810 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
19811 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
19812 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
19813 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
19814 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
19815 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
19816 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
19817 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
19818 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
19819 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
19820 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
19821 s%@WX_ALL@%$WX_ALL%g
19822 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
19823 s%@SHARED_LD@%$SHARED_LD%g
19824 s%@PIC_FLAG@%$PIC_FLAG%g
19825 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
19826 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
19827 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
19828 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
19829 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
19830 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
19831 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
19832 s%@USE_GUI@%$USE_GUI%g
19833 s%@AFMINSTALL@%$AFMINSTALL%g
19834 s%@TOOLKIT@%$TOOLKIT%g
19835 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
19836 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
19837 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
19838 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
19839 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
19840 s%@cross_compiling@%$cross_compiling%g
19841 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
19842 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
19843 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
19844 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
19845 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
19846 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
19847 s%@GUIDIST@%$GUIDIST%g
19848 s%@PORT_FILES@%$PORT_FILES%g
19849 s%@DISTDIR@%$DISTDIR%g
19850 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
19851 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
19852 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
19853 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
19854 s%@EXTRADEFS@%$EXTRADEFS%g
19855 s%@RESFLAGS@%$RESFLAGS%g
19856 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
19857 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
19858 s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
19859 s%@LIBWXMACRES@%$LIBWXMACRES%g
19860 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
19861 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
19862 s%@DLLTOOL@%$DLLTOOL%g
19863 s%@AS@%$AS%g
19864 s%@NM@%$NM%g
19865 s%@LD@%$LD%g
19866 s%@MAKEINFO@%$MAKEINFO%g
19867 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
19868 s%@SET_MAKE@%$SET_MAKE%g
19869 s%@subdirs@%$subdirs%g
19870
19871 CEOF
19872 EOF
19873
19874 cat >> $CONFIG_STATUS <<\EOF
19875
19876 # Split the substitutions into bite-sized pieces for seds with
19877 # small command number limits, like on Digital OSF/1 and HP-UX.
19878 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
19879 ac_file=1 # Number of current file.
19880 ac_beg=1 # First line for current file.
19881 ac_end=$ac_max_sed_cmds # Line after last line for current file.
19882 ac_more_lines=:
19883 ac_sed_cmds=""
19884 while $ac_more_lines; do
19885 if test $ac_beg -gt 1; then
19886 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
19887 else
19888 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
19889 fi
19890 if test ! -s conftest.s$ac_file; then
19891 ac_more_lines=false
19892 rm -f conftest.s$ac_file
19893 else
19894 if test -z "$ac_sed_cmds"; then
19895 ac_sed_cmds="sed -f conftest.s$ac_file"
19896 else
19897 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
19898 fi
19899 ac_file=`expr $ac_file + 1`
19900 ac_beg=$ac_end
19901 ac_end=`expr $ac_end + $ac_max_sed_cmds`
19902 fi
19903 done
19904 if test -z "$ac_sed_cmds"; then
19905 ac_sed_cmds=cat
19906 fi
19907 EOF
19908
19909 cat >> $CONFIG_STATUS <<EOF
19910
19911 CONFIG_FILES=\${CONFIG_FILES-"wx-config
19912 src/make.env
19913 src/makeprog.env
19914 src/makelib.env
19915 Makefile
19916 "}
19917 EOF
19918 cat >> $CONFIG_STATUS <<\EOF
19919 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
19920 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19921 case "$ac_file" in
19922 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
19923 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19924 *) ac_file_in="${ac_file}.in" ;;
19925 esac
19926
19927 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
19928
19929 # Remove last slash and all that follows it. Not all systems have dirname.
19930 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19931 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19932 # The file is in a subdirectory.
19933 test ! -d "$ac_dir" && mkdir "$ac_dir"
19934 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
19935 # A "../" for each directory in $ac_dir_suffix.
19936 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
19937 else
19938 ac_dir_suffix= ac_dots=
19939 fi
19940
19941 case "$ac_given_srcdir" in
19942 .) srcdir=.
19943 if test -z "$ac_dots"; then top_srcdir=.
19944 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
19945 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
19946 *) # Relative path.
19947 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
19948 top_srcdir="$ac_dots$ac_given_srcdir" ;;
19949 esac
19950
19951 case "$ac_given_INSTALL" in
19952 [/$]*) INSTALL="$ac_given_INSTALL" ;;
19953 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
19954 esac
19955
19956 echo creating "$ac_file"
19957 rm -f "$ac_file"
19958 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
19959 case "$ac_file" in
19960 *Makefile*) ac_comsub="1i\\
19961 # $configure_input" ;;
19962 *) ac_comsub= ;;
19963 esac
19964
19965 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19966 sed -e "$ac_comsub
19967 s%@configure_input@%$configure_input%g
19968 s%@srcdir@%$srcdir%g
19969 s%@top_srcdir@%$top_srcdir%g
19970 s%@INSTALL@%$INSTALL%g
19971 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
19972 fi; done
19973 rm -f conftest.s*
19974
19975 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
19976 # NAME is the cpp macro being defined and VALUE is the value it is being given.
19977 #
19978 # ac_d sets the value in "#define NAME VALUE" lines.
19979 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
19980 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
19981 ac_dC='\3'
19982 ac_dD='%g'
19983 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
19984 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19985 ac_uB='\([ ]\)%\1#\2define\3'
19986 ac_uC=' '
19987 ac_uD='\4%g'
19988 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
19989 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19990 ac_eB='$%\1#\2define\3'
19991 ac_eC=' '
19992 ac_eD='%g'
19993
19994 if test "${CONFIG_HEADERS+set}" != set; then
19995 EOF
19996 cat >> $CONFIG_STATUS <<EOF
19997 CONFIG_HEADERS="setup.h:setup.h.in"
19998 EOF
19999 cat >> $CONFIG_STATUS <<\EOF
20000 fi
20001 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
20002 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20003 case "$ac_file" in
20004 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
20005 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
20006 *) ac_file_in="${ac_file}.in" ;;
20007 esac
20008
20009 echo creating $ac_file
20010
20011 rm -f conftest.frag conftest.in conftest.out
20012 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20013 cat $ac_file_inputs > conftest.in
20014
20015 EOF
20016
20017 # Transform confdefs.h into a sed script conftest.vals that substitutes
20018 # the proper values into config.h.in to produce config.h. And first:
20019 # Protect against being on the right side of a sed subst in config.status.
20020 # Protect against being in an unquoted here document in config.status.
20021 rm -f conftest.vals
20022 cat > conftest.hdr <<\EOF
20023 s/[\\&%]/\\&/g
20024 s%[\\$`]%\\&%g
20025 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
20026 s%ac_d%ac_u%gp
20027 s%ac_u%ac_e%gp
20028 EOF
20029 sed -n -f conftest.hdr confdefs.h > conftest.vals
20030 rm -f conftest.hdr
20031
20032 # This sed command replaces #undef with comments. This is necessary, for
20033 # example, in the case of _POSIX_SOURCE, which is predefined and required
20034 # on some systems where configure will not decide to define it.
20035 cat >> conftest.vals <<\EOF
20036 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
20037 EOF
20038
20039 # Break up conftest.vals because some shells have a limit on
20040 # the size of here documents, and old seds have small limits too.
20041
20042 rm -f conftest.tail
20043 while :
20044 do
20045 ac_lines=`grep -c . conftest.vals`
20046 # grep -c gives empty output for an empty file on some AIX systems.
20047 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
20048 # Write a limited-size here document to conftest.frag.
20049 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
20050 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
20051 echo 'CEOF
20052 sed -f conftest.frag conftest.in > conftest.out
20053 rm -f conftest.in
20054 mv conftest.out conftest.in
20055 ' >> $CONFIG_STATUS
20056 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
20057 rm -f conftest.vals
20058 mv conftest.tail conftest.vals
20059 done
20060 rm -f conftest.vals
20061
20062 cat >> $CONFIG_STATUS <<\EOF
20063 rm -f conftest.frag conftest.h
20064 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
20065 cat conftest.in >> conftest.h
20066 rm -f conftest.in
20067 if cmp -s $ac_file conftest.h 2>/dev/null; then
20068 echo "$ac_file is unchanged"
20069 rm -f conftest.h
20070 else
20071 # Remove last slash and all that follows it. Not all systems have dirname.
20072 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20073 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
20074 # The file is in a subdirectory.
20075 test ! -d "$ac_dir" && mkdir "$ac_dir"
20076 fi
20077 rm -f $ac_file
20078 mv conftest.h $ac_file
20079 fi
20080 fi; done
20081
20082 EOF
20083 cat >> $CONFIG_STATUS <<EOF
20084
20085 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
20086 LN_S="${LN_S}"
20087
20088
20089 EOF
20090 cat >> $CONFIG_STATUS <<\EOF
20091
20092 if test ! -h wx-config; then
20093 chmod +x wx-config
20094 mv wx-config wx${TOOLCHAIN_NAME}-config
20095 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
20096 fi
20097
20098 if test ! -d lib; then
20099 mkdir lib
20100 fi
20101 if test ! -d lib/wx; then
20102 mkdir lib/wx
20103 fi
20104 if test ! -d lib/wx/include; then
20105 mkdir lib/wx/include
20106 fi
20107 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
20108 mkdir lib/wx/include/${TOOLCHAIN_NAME}
20109 fi
20110 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
20111 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
20112 fi
20113 if test -f setup.h; then
20114 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
20115 fi
20116
20117 exit 0
20118 EOF
20119 chmod +x $CONFIG_STATUS
20120 rm -fr confdefs* $ac_clean_files
20121 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
20122
20123 if test "$no_recursion" != yes; then
20124
20125 # Remove --cache-file and --srcdir arguments so they do not pile up.
20126 ac_sub_configure_args=
20127 ac_prev=
20128 for ac_arg in $ac_configure_args; do
20129 if test -n "$ac_prev"; then
20130 ac_prev=
20131 continue
20132 fi
20133 case "$ac_arg" in
20134 -cache-file | --cache-file | --cache-fil | --cache-fi \
20135 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
20136 ac_prev=cache_file ;;
20137 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
20138 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
20139 ;;
20140 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
20141 ac_prev=srcdir ;;
20142 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
20143 ;;
20144 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
20145 esac
20146 done
20147
20148 for ac_config_dir in demos samples utils contrib; do
20149
20150 # Do not complain, so a configure script can configure whichever
20151 # parts of a large source tree are present.
20152 if test ! -d $srcdir/$ac_config_dir; then
20153 continue
20154 fi
20155
20156 echo configuring in $ac_config_dir
20157
20158 case "$srcdir" in
20159 .) ;;
20160 *)
20161 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
20162 else
20163 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
20164 fi
20165 ;;
20166 esac
20167
20168 ac_popdir=`pwd`
20169 cd $ac_config_dir
20170
20171 # A "../" for each directory in /$ac_config_dir.
20172 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
20173
20174 case "$srcdir" in
20175 .) # No --srcdir option. We are building in place.
20176 ac_sub_srcdir=$srcdir ;;
20177 /*) # Absolute path.
20178 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
20179 *) # Relative path.
20180 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
20181 esac
20182
20183 # Check for guested configure; otherwise get Cygnus style configure.
20184 if test -f $ac_sub_srcdir/configure; then
20185 ac_sub_configure=$ac_sub_srcdir/configure
20186 elif test -f $ac_sub_srcdir/configure.in; then
20187 ac_sub_configure=$ac_configure
20188 else
20189 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
20190 ac_sub_configure=
20191 fi
20192
20193 # The recursion is here.
20194 if test -n "$ac_sub_configure"; then
20195
20196 # Make the cache file name correct relative to the subdirectory.
20197 case "$cache_file" in
20198 /*) ac_sub_cache_file=$cache_file ;;
20199 *) # Relative path.
20200 ac_sub_cache_file="$ac_dots$cache_file" ;;
20201 esac
20202 case "$ac_given_INSTALL" in
20203 [/$]*) INSTALL="$ac_given_INSTALL" ;;
20204 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
20205 esac
20206
20207 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
20208 # The eval makes quoting arguments work.
20209 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
20210 then :
20211 else
20212 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
20213 fi
20214 fi
20215
20216 cd $ac_popdir
20217 done
20218 fi
20219
20220