]> git.saurik.com Git - wxWidgets.git/blob - configure
oops, last check in undone - there is a problem somewhere there...
[wxWidgets.git] / configure
1 #! /bin/sh
2
3 # From configure.in Id: configure.in
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39 # Configure paths for GTK+
40 # Owen Taylor 97-11-3
41
42
43
44
45
46
47 # Guess values for system-dependent variables and create Makefiles.
48 # Generated automatically using autoconf version 2.13
49 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
50 #
51 # This configure script is free software; the Free Software Foundation
52 # gives unlimited permission to copy, distribute and modify it.
53
54 # Defaults:
55 ac_help=
56 ac_default_prefix=/usr/local
57 # Any additions from configure.in:
58 ac_help="$ac_help
59 --enable-gui use GUI classes"
60 ac_help="$ac_help
61 --enable-universal use wxWindows GUI controls instead of native ones"
62 ac_help="$ac_help
63 --with-gtk use GTK+"
64 ac_help="$ac_help
65 --with-motif use Motif/Lesstif"
66 ac_help="$ac_help
67 --with-mac use Mac OS X"
68 ac_help="$ac_help
69 --with-wine use WINE"
70 ac_help="$ac_help
71 --with-cygwin use Cygwin for MS-Windows"
72 ac_help="$ac_help
73 --with-mingw use GCC Minimal MS-Windows"
74 ac_help="$ac_help
75 --with-pm use OS/2 Presentation Manager"
76 ac_help="$ac_help
77 --with-mgl use MGL"
78 ac_help="$ac_help
79 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
80 ac_help="$ac_help
81 --with-libpng use libpng (PNG image format)"
82 ac_help="$ac_help
83 --with-libjpeg use libjpeg (JPEG file format)"
84 ac_help="$ac_help
85 --with-libtiff use libtiff (TIFF file format)"
86 ac_help="$ac_help
87 --with-freetype use freetype (font rasterizer)"
88 ac_help="$ac_help
89 --with-opengl use OpenGL (or Mesa)"
90 ac_help="$ac_help
91 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
92 ac_help="$ac_help
93 --with-regex enable support for wxRegEx class"
94 ac_help="$ac_help
95 --with-zlib use zlib for LZW compression"
96 ac_help="$ac_help
97 --with-odbc use the IODBC and wxODBC classes"
98 ac_help="$ac_help
99 --enable-shared create shared library code"
100 ac_help="$ac_help
101 --enable-burnt_name create set name in shared library "
102 ac_help="$ac_help
103 --enable-optimise create optimised code"
104 ac_help="$ac_help
105 --enable-debug same as debug_flag and debug_info"
106 ac_help="$ac_help
107 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
108 ac_help="$ac_help
109 --enable-debug_info create code with debugging information"
110 ac_help="$ac_help
111 --enable-debug_gdb create code with extra GDB debugging information"
112 ac_help="$ac_help
113 --enable-debug_cntxt use wxDebugContext"
114 ac_help="$ac_help
115 --enable-mem_tracing create code with memory tracing"
116 ac_help="$ac_help
117 --enable-profile create code with profiling information"
118 ac_help="$ac_help
119 --enable-no_rtti create code without RTTI information"
120 ac_help="$ac_help
121 --enable-no_exceptions create code without exceptions information"
122 ac_help="$ac_help
123 --enable-permissive compile code disregarding strict ANSI"
124 ac_help="$ac_help
125 --enable-no_deps create code without dependency information"
126 ac_help="$ac_help
127 --enable-compat20 enable wxWin 2.0 compatibility"
128 ac_help="$ac_help
129 --enable-compat22 enable wxWin 2.2 compatibility"
130 ac_help="$ac_help
131 --enable-intl use internationalization system"
132 ac_help="$ac_help
133 --enable-config use wxConfig (and derived) classes"
134 ac_help="$ac_help
135 --enable-sockets use socket/network classes"
136 ac_help="$ac_help
137 --enable-ipc use interprocess communication (wxSocket etc.)"
138 ac_help="$ac_help
139 --enable-cmdline use wxCmdLineParser class"
140 ac_help="$ac_help
141 --enable-datetime use wxDateTime class"
142 ac_help="$ac_help
143 --enable-timedate use obsolete wxDate/wxTime classes"
144 ac_help="$ac_help
145 --enable-stopwatch use wxStopWatch class"
146 ac_help="$ac_help
147 --enable-dialupman use dialup network classes"
148 ac_help="$ac_help
149 --enable-apple_ieee use the Apple IEEE codec"
150 ac_help="$ac_help
151 --enable-timer use wxTimer class"
152 ac_help="$ac_help
153 --enable-wave use wxWave class"
154 ac_help="$ac_help
155 --enable-fraction use wxFraction class"
156 ac_help="$ac_help
157 --enable-dynlib use wxLibrary class for DLL loading"
158 ac_help="$ac_help
159 --enable-longlong use wxLongLong class"
160 ac_help="$ac_help
161 --enable-geometry use geometry class"
162 ac_help="$ac_help
163 --enable-log use logging system"
164 ac_help="$ac_help
165 --enable-streams use wxStream etc classes"
166 ac_help="$ac_help
167 --enable-file use wxFile classes"
168 ac_help="$ac_help
169 --enable-ffile use wxFFile classes"
170 ac_help="$ac_help
171 --enable-textfile use wxTextFile classes"
172 ac_help="$ac_help
173 --enable-fontmap use font encodings conversion classes"
174 ac_help="$ac_help
175 --enable-unicode compile wxString with Unicode support"
176 ac_help="$ac_help
177 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
178 ac_help="$ac_help
179 --enable-wxprintfv use wxWindows implementation of vprintf()"
180 ac_help="$ac_help
181 --enable-std_iostreams use standard C++ stream classes"
182 ac_help="$ac_help
183 --enable-filesystem use virtual file systems classes"
184 ac_help="$ac_help
185 --enable-fs_inet use virtual HTTP/FTP filesystems"
186 ac_help="$ac_help
187 --enable-fs_zip use virtual ZIP filesystems"
188 ac_help="$ac_help
189 --enable-zipstream use wxZipInputStream"
190 ac_help="$ac_help
191 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
192 ac_help="$ac_help
193 --enable-snglinst use wxSingleInstanceChecker class"
194 ac_help="$ac_help
195 --enable-mimetypes use wxMimeTypesManager"
196 ac_help="$ac_help
197 --enable-sysoptions use wxSystemOptions"
198 ac_help="$ac_help
199 --enable-threads use threads"
200 ac_help="$ac_help
201 --enable-serial use class serialization"
202 ac_help="$ac_help
203 --enable-docview use document view architecture"
204 ac_help="$ac_help
205 --enable-help use help subsystem"
206 ac_help="$ac_help
207 --enable-mshtmlhelp use MS HTML Help (win32)"
208 ac_help="$ac_help
209 --enable-html use wxHTML sub-library"
210 ac_help="$ac_help
211 --enable-htmlhelp use wxHTML-based help"
212 ac_help="$ac_help
213 --enable-constraints use layout-constraints system"
214 ac_help="$ac_help
215 --enable-printarch use printing architecture"
216 ac_help="$ac_help
217 --enable-mdi use multiple document interface architecture"
218 ac_help="$ac_help
219 --enable-loggui use standard GUI logger"
220 ac_help="$ac_help
221 --enable-logwin use wxLogWindow"
222 ac_help="$ac_help
223 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
224 ac_help="$ac_help
225 --enable-prologio use Prolog IO library"
226 ac_help="$ac_help
227 --enable-resources use wxWindows resources"
228 ac_help="$ac_help
229 --enable-xresources use X resources for save (default for gtk+)"
230 ac_help="$ac_help
231 --enable-clipboard use wxClipboard classes"
232 ac_help="$ac_help
233 --enable-dnd use Drag'n'Drop classes"
234 ac_help="$ac_help
235 --enable-metafile use win32 metafiles"
236 ac_help="$ac_help
237 --enable-treelayout use wxTreeLayout classes"
238 ac_help="$ac_help
239 --enable-controls use all usual controls"
240 ac_help="$ac_help
241 --enable-accel use accelerators"
242 ac_help="$ac_help
243 --enable-button use wxButton class"
244 ac_help="$ac_help
245 --enable-bmpbutton use wxBitmapButton class"
246 ac_help="$ac_help
247 --enable-calendar use wxCalendarCtrl class"
248 ac_help="$ac_help
249 --enable-caret use wxCaret class"
250 ac_help="$ac_help
251 --enable-checkbox use wxCheckBox class"
252 ac_help="$ac_help
253 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
254 ac_help="$ac_help
255 --enable-choice use wxChoice class"
256 ac_help="$ac_help
257 --enable-combobox use wxComboBox classes"
258 ac_help="$ac_help
259 --enable-gauge use wxGauge class"
260 ac_help="$ac_help
261 --enable-grid use wxGrid class"
262 ac_help="$ac_help
263 --enable-newgrid use new wxGrid class"
264 ac_help="$ac_help
265 --enable-imaglist use wxImageList class"
266 ac_help="$ac_help
267 --enable-listbox use wxListBox class"
268 ac_help="$ac_help
269 --enable-listctrl use wxListCtrl class"
270 ac_help="$ac_help
271 --enable-notebook use wxNotebook class"
272 ac_help="$ac_help
273 --enable-propsheet use wxPropertySheet class"
274 ac_help="$ac_help
275 --enable-radiobox use wxRadioBox class"
276 ac_help="$ac_help
277 --enable-radiobtn use wxRadioButton class"
278 ac_help="$ac_help
279 --enable-sash use wxSashWindow class"
280 ac_help="$ac_help
281 --enable-scrollbar use wxScrollBar class and scrollable windows"
282 ac_help="$ac_help
283 --enable-slider use wxSlider class"
284 ac_help="$ac_help
285 --enable-spinbtn use wxSpinButton class"
286 ac_help="$ac_help
287 --enable-spinctrl use wxSpinCtrl class"
288 ac_help="$ac_help
289 --enable-splitter use wxSplitterWindow class"
290 ac_help="$ac_help
291 --enable-statbmp use wxStaticBitmap class"
292 ac_help="$ac_help
293 --enable-statbox use wxStaticBox class"
294 ac_help="$ac_help
295 --enable-statline use wxStaticLine class"
296 ac_help="$ac_help
297 --enable-stattext use wxStaticText class"
298 ac_help="$ac_help
299 --enable-statusbar use wxStatusBar class"
300 ac_help="$ac_help
301 --enable-tabdialog use wxTabControl class"
302 ac_help="$ac_help
303 --enable-textctrl use wxTextCtrl class"
304 ac_help="$ac_help
305 --enable-togglebtn use wxToggleButton class"
306 ac_help="$ac_help
307 --enable-toolbar use wxToolBar class"
308 ac_help="$ac_help
309 --enable-tbarnative use native wxToolBar class"
310 ac_help="$ac_help
311 --enable-tbarsmpl use wxToolBarSimple class"
312 ac_help="$ac_help
313 --enable-treectrl use wxTreeCtrl class"
314 ac_help="$ac_help
315 --enable-popupwin use wxPopUpWindow class"
316 ac_help="$ac_help
317 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
318 ac_help="$ac_help
319 --enable-choicedlg use wxChoiceDialog"
320 ac_help="$ac_help
321 --enable-coldlg use wxColourDialog"
322 ac_help="$ac_help
323 --enable-filedlg use wxFileDialog"
324 ac_help="$ac_help
325 --enable-finddlg use wxFindReplaceDialog"
326 ac_help="$ac_help
327 --enable-fontdlg use wxFontDialog"
328 ac_help="$ac_help
329 --enable-dirdlg use wxDirDialog"
330 ac_help="$ac_help
331 --enable-msgdlg use wxMessageDialog"
332 ac_help="$ac_help
333 --enable-numberdlg use wxNumberEntryDialog"
334 ac_help="$ac_help
335 --enable-splash use wxSplashScreen"
336 ac_help="$ac_help
337 --enable-textdlg use wxTextDialog"
338 ac_help="$ac_help
339 --enable-tipdlg use startup tips"
340 ac_help="$ac_help
341 --enable-progressdlg use wxProgressDialog"
342 ac_help="$ac_help
343 --enable-wizarddlg use wxWizard"
344 ac_help="$ac_help
345 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
346 ac_help="$ac_help
347 --enable-miniframe use wxMiniFrame class"
348 ac_help="$ac_help
349 --enable-tooltips use wxToolTip class"
350 ac_help="$ac_help
351 --enable-splines use spline drawing code"
352 ac_help="$ac_help
353 --enable-validators use wxValidator and derived classes"
354 ac_help="$ac_help
355 --enable-busyinfo use wxBusyInfo"
356 ac_help="$ac_help
357 --enable-joystick compile in joystick support (Linux only)"
358 ac_help="$ac_help
359 --enable-metafiles use wxMetaFile (Windows only)"
360 ac_help="$ac_help
361 --enable-dragimage use wxDragImage"
362 ac_help="$ac_help
363 --enable-image use wxImage class"
364 ac_help="$ac_help
365 --enable-gif use gif images (GIF file format)"
366 ac_help="$ac_help
367 --enable-pcx use pcx images (PCX file format)"
368 ac_help="$ac_help
369 --enable-pnm use pnm images (PNM file format)"
370 ac_help="$ac_help
371 --enable-xpm use xpm images (XPM file format)"
372 ac_help="$ac_help
373 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
374 ac_help="$ac_help
375 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
376 ac_help="$ac_help
377 --disable-gtktest Do not try to compile and run a test GTK program"
378 ac_help="$ac_help
379 --with-x use the X Window System"
380
381 # Initialize some variables set by options.
382 # The variables have the same names as the options, with
383 # dashes changed to underlines.
384 build=NONE
385 cache_file=./config.cache
386 exec_prefix=NONE
387 host=NONE
388 no_create=
389 nonopt=NONE
390 no_recursion=
391 prefix=NONE
392 program_prefix=NONE
393 program_suffix=NONE
394 program_transform_name=s,x,x,
395 silent=
396 site=
397 srcdir=
398 target=NONE
399 verbose=
400 x_includes=NONE
401 x_libraries=NONE
402 bindir='${exec_prefix}/bin'
403 sbindir='${exec_prefix}/sbin'
404 libexecdir='${exec_prefix}/libexec'
405 datadir='${prefix}/share'
406 sysconfdir='${prefix}/etc'
407 sharedstatedir='${prefix}/com'
408 localstatedir='${prefix}/var'
409 libdir='${exec_prefix}/lib'
410 includedir='${prefix}/include'
411 oldincludedir='/usr/include'
412 infodir='${prefix}/info'
413 mandir='${prefix}/man'
414
415 # Initialize some other variables.
416 subdirs=
417 MFLAGS= MAKEFLAGS=
418 SHELL=${CONFIG_SHELL-/bin/sh}
419 # Maximum number of lines to put in a shell here document.
420 ac_max_here_lines=12
421
422 ac_prev=
423 for ac_option
424 do
425
426 # If the previous option needs an argument, assign it.
427 if test -n "$ac_prev"; then
428 eval "$ac_prev=\$ac_option"
429 ac_prev=
430 continue
431 fi
432
433 case "$ac_option" in
434 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
435 *) ac_optarg= ;;
436 esac
437
438 # Accept the important Cygnus configure options, so we can diagnose typos.
439
440 case "$ac_option" in
441
442 -bindir | --bindir | --bindi | --bind | --bin | --bi)
443 ac_prev=bindir ;;
444 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
445 bindir="$ac_optarg" ;;
446
447 -build | --build | --buil | --bui | --bu)
448 ac_prev=build ;;
449 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
450 build="$ac_optarg" ;;
451
452 -cache-file | --cache-file | --cache-fil | --cache-fi \
453 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
454 ac_prev=cache_file ;;
455 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
456 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
457 cache_file="$ac_optarg" ;;
458
459 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
460 ac_prev=datadir ;;
461 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
462 | --da=*)
463 datadir="$ac_optarg" ;;
464
465 -disable-* | --disable-*)
466 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
467 # Reject names that are not valid shell variable names.
468 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
469 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
470 fi
471 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
472 eval "enable_${ac_feature}=no" ;;
473
474 -enable-* | --enable-*)
475 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
476 # Reject names that are not valid shell variable names.
477 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
478 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
479 fi
480 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
481 case "$ac_option" in
482 *=*) ;;
483 *) ac_optarg=yes ;;
484 esac
485 eval "enable_${ac_feature}='$ac_optarg'" ;;
486
487 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
488 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
489 | --exec | --exe | --ex)
490 ac_prev=exec_prefix ;;
491 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
492 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
493 | --exec=* | --exe=* | --ex=*)
494 exec_prefix="$ac_optarg" ;;
495
496 -gas | --gas | --ga | --g)
497 # Obsolete; use --with-gas.
498 with_gas=yes ;;
499
500 -help | --help | --hel | --he)
501 # Omit some internal or obsolete options to make the list less imposing.
502 # This message is too long to be a string in the A/UX 3.1 sh.
503 cat << EOF
504 Usage: configure [options] [host]
505 Options: [defaults in brackets after descriptions]
506 Configuration:
507 --cache-file=FILE cache test results in FILE
508 --help print this message
509 --no-create do not create output files
510 --quiet, --silent do not print \`checking...' messages
511 --version print the version of autoconf that created configure
512 Directory and file names:
513 --prefix=PREFIX install architecture-independent files in PREFIX
514 [$ac_default_prefix]
515 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
516 [same as prefix]
517 --bindir=DIR user executables in DIR [EPREFIX/bin]
518 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
519 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
520 --datadir=DIR read-only architecture-independent data in DIR
521 [PREFIX/share]
522 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
523 --sharedstatedir=DIR modifiable architecture-independent data in DIR
524 [PREFIX/com]
525 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
526 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
527 --includedir=DIR C header files in DIR [PREFIX/include]
528 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
529 --infodir=DIR info documentation in DIR [PREFIX/info]
530 --mandir=DIR man documentation in DIR [PREFIX/man]
531 --srcdir=DIR find the sources in DIR [configure dir or ..]
532 --program-prefix=PREFIX prepend PREFIX to installed program names
533 --program-suffix=SUFFIX append SUFFIX to installed program names
534 --program-transform-name=PROGRAM
535 run sed PROGRAM on installed program names
536 EOF
537 cat << EOF
538 Host type:
539 --build=BUILD configure for building on BUILD [BUILD=HOST]
540 --host=HOST configure for HOST [guessed]
541 --target=TARGET configure for TARGET [TARGET=HOST]
542 Features and packages:
543 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
544 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
545 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
546 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
547 --x-includes=DIR X include files are in DIR
548 --x-libraries=DIR X library files are in DIR
549 EOF
550 if test -n "$ac_help"; then
551 echo "--enable and --with options recognized:$ac_help"
552 fi
553 exit 0 ;;
554
555 -host | --host | --hos | --ho)
556 ac_prev=host ;;
557 -host=* | --host=* | --hos=* | --ho=*)
558 host="$ac_optarg" ;;
559
560 -includedir | --includedir | --includedi | --included | --include \
561 | --includ | --inclu | --incl | --inc)
562 ac_prev=includedir ;;
563 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
564 | --includ=* | --inclu=* | --incl=* | --inc=*)
565 includedir="$ac_optarg" ;;
566
567 -infodir | --infodir | --infodi | --infod | --info | --inf)
568 ac_prev=infodir ;;
569 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
570 infodir="$ac_optarg" ;;
571
572 -libdir | --libdir | --libdi | --libd)
573 ac_prev=libdir ;;
574 -libdir=* | --libdir=* | --libdi=* | --libd=*)
575 libdir="$ac_optarg" ;;
576
577 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
578 | --libexe | --libex | --libe)
579 ac_prev=libexecdir ;;
580 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
581 | --libexe=* | --libex=* | --libe=*)
582 libexecdir="$ac_optarg" ;;
583
584 -localstatedir | --localstatedir | --localstatedi | --localstated \
585 | --localstate | --localstat | --localsta | --localst \
586 | --locals | --local | --loca | --loc | --lo)
587 ac_prev=localstatedir ;;
588 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
589 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
590 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
591 localstatedir="$ac_optarg" ;;
592
593 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
594 ac_prev=mandir ;;
595 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
596 mandir="$ac_optarg" ;;
597
598 -nfp | --nfp | --nf)
599 # Obsolete; use --without-fp.
600 with_fp=no ;;
601
602 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
603 | --no-cr | --no-c)
604 no_create=yes ;;
605
606 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
607 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
608 no_recursion=yes ;;
609
610 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
611 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
612 | --oldin | --oldi | --old | --ol | --o)
613 ac_prev=oldincludedir ;;
614 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
615 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
616 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
617 oldincludedir="$ac_optarg" ;;
618
619 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
620 ac_prev=prefix ;;
621 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
622 prefix="$ac_optarg" ;;
623
624 -program-prefix | --program-prefix | --program-prefi | --program-pref \
625 | --program-pre | --program-pr | --program-p)
626 ac_prev=program_prefix ;;
627 -program-prefix=* | --program-prefix=* | --program-prefi=* \
628 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
629 program_prefix="$ac_optarg" ;;
630
631 -program-suffix | --program-suffix | --program-suffi | --program-suff \
632 | --program-suf | --program-su | --program-s)
633 ac_prev=program_suffix ;;
634 -program-suffix=* | --program-suffix=* | --program-suffi=* \
635 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
636 program_suffix="$ac_optarg" ;;
637
638 -program-transform-name | --program-transform-name \
639 | --program-transform-nam | --program-transform-na \
640 | --program-transform-n | --program-transform- \
641 | --program-transform | --program-transfor \
642 | --program-transfo | --program-transf \
643 | --program-trans | --program-tran \
644 | --progr-tra | --program-tr | --program-t)
645 ac_prev=program_transform_name ;;
646 -program-transform-name=* | --program-transform-name=* \
647 | --program-transform-nam=* | --program-transform-na=* \
648 | --program-transform-n=* | --program-transform-=* \
649 | --program-transform=* | --program-transfor=* \
650 | --program-transfo=* | --program-transf=* \
651 | --program-trans=* | --program-tran=* \
652 | --progr-tra=* | --program-tr=* | --program-t=*)
653 program_transform_name="$ac_optarg" ;;
654
655 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
656 | -silent | --silent | --silen | --sile | --sil)
657 silent=yes ;;
658
659 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
660 ac_prev=sbindir ;;
661 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
662 | --sbi=* | --sb=*)
663 sbindir="$ac_optarg" ;;
664
665 -sharedstatedir | --sharedstatedir | --sharedstatedi \
666 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
667 | --sharedst | --shareds | --shared | --share | --shar \
668 | --sha | --sh)
669 ac_prev=sharedstatedir ;;
670 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
671 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
672 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
673 | --sha=* | --sh=*)
674 sharedstatedir="$ac_optarg" ;;
675
676 -site | --site | --sit)
677 ac_prev=site ;;
678 -site=* | --site=* | --sit=*)
679 site="$ac_optarg" ;;
680
681 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
682 ac_prev=srcdir ;;
683 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
684 srcdir="$ac_optarg" ;;
685
686 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
687 | --syscon | --sysco | --sysc | --sys | --sy)
688 ac_prev=sysconfdir ;;
689 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
690 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
691 sysconfdir="$ac_optarg" ;;
692
693 -target | --target | --targe | --targ | --tar | --ta | --t)
694 ac_prev=target ;;
695 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
696 target="$ac_optarg" ;;
697
698 -v | -verbose | --verbose | --verbos | --verbo | --verb)
699 verbose=yes ;;
700
701 -version | --version | --versio | --versi | --vers)
702 echo "configure generated by autoconf version 2.13"
703 exit 0 ;;
704
705 -with-* | --with-*)
706 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
707 # Reject names that are not valid shell variable names.
708 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
709 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
710 fi
711 ac_package=`echo $ac_package| sed 's/-/_/g'`
712 case "$ac_option" in
713 *=*) ;;
714 *) ac_optarg=yes ;;
715 esac
716 eval "with_${ac_package}='$ac_optarg'" ;;
717
718 -without-* | --without-*)
719 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
720 # Reject names that are not valid shell variable names.
721 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
722 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
723 fi
724 ac_package=`echo $ac_package| sed 's/-/_/g'`
725 eval "with_${ac_package}=no" ;;
726
727 --x)
728 # Obsolete; use --with-x.
729 with_x=yes ;;
730
731 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
732 | --x-incl | --x-inc | --x-in | --x-i)
733 ac_prev=x_includes ;;
734 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
735 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
736 x_includes="$ac_optarg" ;;
737
738 -x-libraries | --x-libraries | --x-librarie | --x-librari \
739 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
740 ac_prev=x_libraries ;;
741 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
742 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
743 x_libraries="$ac_optarg" ;;
744
745 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
746 ;;
747
748 *)
749 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
750 echo "configure: warning: $ac_option: invalid host type" 1>&2
751 fi
752 if test "x$nonopt" != xNONE; then
753 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
754 fi
755 nonopt="$ac_option"
756 ;;
757
758 esac
759 done
760
761 if test -n "$ac_prev"; then
762 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
763 fi
764
765 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
766
767 # File descriptor usage:
768 # 0 standard input
769 # 1 file creation
770 # 2 errors and warnings
771 # 3 some systems may open it to /dev/tty
772 # 4 used on the Kubota Titan
773 # 6 checking for... messages and results
774 # 5 compiler messages saved in config.log
775 if test "$silent" = yes; then
776 exec 6>/dev/null
777 else
778 exec 6>&1
779 fi
780 exec 5>./config.log
781
782 echo "\
783 This file contains any messages produced by compilers while
784 running configure, to aid debugging if configure makes a mistake.
785 " 1>&5
786
787 # Strip out --no-create and --no-recursion so they do not pile up.
788 # Also quote any args containing shell metacharacters.
789 ac_configure_args=
790 for ac_arg
791 do
792 case "$ac_arg" in
793 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
794 | --no-cr | --no-c) ;;
795 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
796 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
797 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
798 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
799 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
800 esac
801 done
802
803 # NLS nuisances.
804 # Only set these to C if already set. These must not be set unconditionally
805 # because not all systems understand e.g. LANG=C (notably SCO).
806 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
807 # Non-C LC_CTYPE values break the ctype check.
808 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
809 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
810 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
811 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
812
813 # confdefs.h avoids OS command line length limits that DEFS can exceed.
814 rm -rf conftest* confdefs.h
815 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
816 echo > confdefs.h
817
818 # A filename unique to this package, relative to the directory that
819 # configure is in, which we can look for to find out if srcdir is correct.
820 ac_unique_file=wx-config.in
821
822 # Find the source files, if location was not specified.
823 if test -z "$srcdir"; then
824 ac_srcdir_defaulted=yes
825 # Try the directory containing this script, then its parent.
826 ac_prog=$0
827 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
828 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
829 srcdir=$ac_confdir
830 if test ! -r $srcdir/$ac_unique_file; then
831 srcdir=..
832 fi
833 else
834 ac_srcdir_defaulted=no
835 fi
836 if test ! -r $srcdir/$ac_unique_file; then
837 if test "$ac_srcdir_defaulted" = yes; then
838 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
839 else
840 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
841 fi
842 fi
843 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
844
845 # Prefer explicitly selected file to automatically selected ones.
846 if test -z "$CONFIG_SITE"; then
847 if test "x$prefix" != xNONE; then
848 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
849 else
850 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
851 fi
852 fi
853 for ac_site_file in $CONFIG_SITE; do
854 if test -r "$ac_site_file"; then
855 echo "loading site script $ac_site_file"
856 . "$ac_site_file"
857 fi
858 done
859
860 if test -r "$cache_file"; then
861 echo "loading cache $cache_file"
862 . $cache_file
863 else
864 echo "creating cache $cache_file"
865 > $cache_file
866 fi
867
868 ac_ext=c
869 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
870 ac_cpp='$CPP $CPPFLAGS'
871 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
872 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
873 cross_compiling=$ac_cv_prog_cc_cross
874
875 ac_exeext=
876 ac_objext=o
877 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
878 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
879 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
880 ac_n= ac_c='
881 ' ac_t=' '
882 else
883 ac_n=-n ac_c= ac_t=
884 fi
885 else
886 ac_n= ac_c='\c' ac_t=
887 fi
888
889
890
891 ac_aux_dir=
892 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
893 if test -f $ac_dir/install-sh; then
894 ac_aux_dir=$ac_dir
895 ac_install_sh="$ac_aux_dir/install-sh -c"
896 break
897 elif test -f $ac_dir/install.sh; then
898 ac_aux_dir=$ac_dir
899 ac_install_sh="$ac_aux_dir/install.sh -c"
900 break
901 fi
902 done
903 if test -z "$ac_aux_dir"; then
904 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
905 fi
906 ac_config_guess=$ac_aux_dir/config.guess
907 ac_config_sub=$ac_aux_dir/config.sub
908 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
909
910
911 # Do some error checking and defaulting for the host and target type.
912 # The inputs are:
913 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
914 #
915 # The rules are:
916 # 1. You are not allowed to specify --host, --target, and nonopt at the
917 # same time.
918 # 2. Host defaults to nonopt.
919 # 3. If nonopt is not specified, then host defaults to the current host,
920 # as determined by config.guess.
921 # 4. Target and build default to nonopt.
922 # 5. If nonopt is not specified, then target and build default to host.
923
924 # The aliases save the names the user supplied, while $host etc.
925 # will get canonicalized.
926 case $host---$target---$nonopt in
927 NONE---*---* | *---NONE---* | *---*---NONE) ;;
928 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
929 esac
930
931
932 # Make sure we can run config.sub.
933 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
934 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
935 fi
936
937 echo $ac_n "checking host system type""... $ac_c" 1>&6
938 echo "configure:939: checking host system type" >&5
939
940 host_alias=$host
941 case "$host_alias" in
942 NONE)
943 case $nonopt in
944 NONE)
945 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
946 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
947 fi ;;
948 *) host_alias=$nonopt ;;
949 esac ;;
950 esac
951
952 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
953 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
954 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
955 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
956 echo "$ac_t""$host" 1>&6
957
958 echo $ac_n "checking target system type""... $ac_c" 1>&6
959 echo "configure:960: checking target system type" >&5
960
961 target_alias=$target
962 case "$target_alias" in
963 NONE)
964 case $nonopt in
965 NONE) target_alias=$host_alias ;;
966 *) target_alias=$nonopt ;;
967 esac ;;
968 esac
969
970 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
971 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
972 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
973 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
974 echo "$ac_t""$target" 1>&6
975
976 echo $ac_n "checking build system type""... $ac_c" 1>&6
977 echo "configure:978: checking build system type" >&5
978
979 build_alias=$build
980 case "$build_alias" in
981 NONE)
982 case $nonopt in
983 NONE) build_alias=$host_alias ;;
984 *) build_alias=$nonopt ;;
985 esac ;;
986 esac
987
988 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
989 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
990 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
991 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
992 echo "$ac_t""$build" 1>&6
993
994 test "$host_alias" != "$target_alias" &&
995 test "$program_prefix$program_suffix$program_transform_name" = \
996 NONENONEs,x,x, &&
997 program_prefix=${target_alias}-
998
999
1000
1001 WX_MAJOR_VERSION_NUMBER=2
1002 WX_MINOR_VERSION_NUMBER=3
1003 WX_RELEASE_NUMBER=2
1004
1005 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1006 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1007
1008 WX_CURRENT=1
1009 WX_REVISION=0
1010 WX_AGE=0
1011
1012
1013
1014 USE_UNIX=1
1015 USE_WIN32=0
1016 USE_BEOS=0
1017 USE_MAC=0
1018
1019 USE_LINUX=
1020 USE_SGI=
1021 USE_HPUX=
1022 USE_SYSV=
1023 USE_SVR4=
1024 USE_AIX=
1025 USE_SUN=
1026 USE_SOLARIS=
1027 USE_SUNOS=
1028 USE_ALPHA=
1029 USE_OSF=
1030 USE_BSD=
1031 USE_DARWIN=
1032 USE_FREEBSD=
1033 USE_OPENBSD=
1034 USE_NETBSD=
1035 USE_VMS=
1036 USE_ULTRIX=
1037 USE_CYGWIN=
1038 USE_MINGW=
1039 USE_DATA_GENERAL=
1040
1041 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1042
1043 ALL_TOOLKITS="CYGWIN GTK MAC MGL MINGW MOTIF PM WINE"
1044
1045 DEFAULT_wxUSE_GTK=0
1046 DEFAULT_wxUSE_MAC=0
1047 DEFAULT_wxUSE_MGL=0
1048 DEFAULT_wxUSE_MOTIF=0
1049 DEFAULT_wxUSE_MSW=0
1050 DEFAULT_wxUSE_PM=0
1051 DEFAULT_wxUSE_WINE=0
1052
1053 DEFAULT_DEFAULT_wxUSE_GTK=0
1054 DEFAULT_DEFAULT_wxUSE_MAC=0
1055 DEFAULT_DEFAULT_wxUSE_MGL=0
1056 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1057 DEFAULT_DEFAULT_wxUSE_MSW=0
1058 DEFAULT_DEFAULT_wxUSE_PM=0
1059 DEFAULT_DEFAULT_wxUSE_WINE=0
1060
1061 PROGRAM_EXT=
1062
1063 case "${host}" in
1064 *-hp-hpux* )
1065 USE_HPUX=1
1066 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1067 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1068 cat >> confdefs.h <<\EOF
1069 #define __HPUX__ 1
1070 EOF
1071
1072 ;;
1073 *-*-linux* )
1074 USE_LINUX=1
1075 cat >> confdefs.h <<\EOF
1076 #define __LINUX__ 1
1077 EOF
1078
1079 TMP=`uname -m`
1080 if test "x$TMP" = "xalpha"; then
1081 USE_ALPHA=1
1082 cat >> confdefs.h <<\EOF
1083 #define __ALPHA__ 1
1084 EOF
1085
1086 fi
1087 DEFAULT_DEFAULT_wxUSE_GTK=1
1088 ;;
1089 *-*-irix5* | *-*-irix6* )
1090 USE_SGI=1
1091 USE_SVR4=1
1092 cat >> confdefs.h <<\EOF
1093 #define __SGI__ 1
1094 EOF
1095
1096 cat >> confdefs.h <<\EOF
1097 #define __SVR4__ 1
1098 EOF
1099
1100 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1101 ;;
1102 *-*-solaris2* )
1103 USE_SUN=1
1104 USE_SOLARIS=1
1105 USE_SVR4=1
1106 cat >> confdefs.h <<\EOF
1107 #define __SUN__ 1
1108 EOF
1109
1110 cat >> confdefs.h <<\EOF
1111 #define __SOLARIS__ 1
1112 EOF
1113
1114 cat >> confdefs.h <<\EOF
1115 #define __SVR4__ 1
1116 EOF
1117
1118 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1119 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1120 ;;
1121 *-*-sunos4* )
1122 USE_SUN=1
1123 USE_SUNOS=1
1124 USE_BSD=1
1125 cat >> confdefs.h <<\EOF
1126 #define __SUN__ 1
1127 EOF
1128
1129 cat >> confdefs.h <<\EOF
1130 #define __SUNOS__ 1
1131 EOF
1132
1133 cat >> confdefs.h <<\EOF
1134 #define __BSD__ 1
1135 EOF
1136
1137 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1138 ;;
1139 *-*-freebsd*)
1140 USE_BSD=1
1141 USE_FREEBSD=1
1142 cat >> confdefs.h <<\EOF
1143 #define __FREEBSD__ 1
1144 EOF
1145
1146 cat >> confdefs.h <<\EOF
1147 #define __BSD__ 1
1148 EOF
1149
1150 DEFAULT_DEFAULT_wxUSE_GTK=1
1151 ;;
1152 *-*-openbsd*)
1153 USE_BSD=1
1154 USE_OPENBSD=1
1155 cat >> confdefs.h <<\EOF
1156 #define __FREEBSD__ 1
1157 EOF
1158
1159 cat >> confdefs.h <<\EOF
1160 #define __OPENBSD__ 1
1161 EOF
1162
1163 DEFAULT_DEFAULT_wxUSE_GTK=1
1164 ;;
1165 *-*-netbsd*)
1166 USE_BSD=1
1167 USE_NETBSD=1
1168 cat >> confdefs.h <<\EOF
1169 #define __FREEBSD__ 1
1170 EOF
1171
1172 cat >> confdefs.h <<\EOF
1173 #define __NETBSD__ 1
1174 EOF
1175
1176 DEFAULT_DEFAULT_wxUSE_GTK=1
1177 ;;
1178 *-*-osf* )
1179 USE_ALPHA=1
1180 USE_OSF=1
1181 cat >> confdefs.h <<\EOF
1182 #define __ALPHA__ 1
1183 EOF
1184
1185 cat >> confdefs.h <<\EOF
1186 #define __OSF__ 1
1187 EOF
1188
1189 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1190 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1191 ;;
1192 *-*-dgux5* )
1193 USE_ALPHA=1
1194 USE_SVR4=1
1195 cat >> confdefs.h <<\EOF
1196 #define __ALPHA__ 1
1197 EOF
1198
1199 cat >> confdefs.h <<\EOF
1200 #define __SVR4__ 1
1201 EOF
1202
1203 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1204 ;;
1205 *-*-sysv5* )
1206 USE_SYSV=1
1207 USE_SVR4=1
1208 cat >> confdefs.h <<\EOF
1209 #define __SYSV__ 1
1210 EOF
1211
1212 cat >> confdefs.h <<\EOF
1213 #define __SVR4__ 1
1214 EOF
1215
1216 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1217 ;;
1218 *-*-aix* )
1219 USE_AIX=1
1220 USE_SYSV=1
1221 USE_SVR4=1
1222 cat >> confdefs.h <<\EOF
1223 #define __AIX__ 1
1224 EOF
1225
1226 cat >> confdefs.h <<\EOF
1227 #define __SYSV__ 1
1228 EOF
1229
1230 cat >> confdefs.h <<\EOF
1231 #define __SVR4__ 1
1232 EOF
1233
1234 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1235 ;;
1236
1237 *-*-cygwin* | *-*-mingw32* )
1238 USE_UNIX=0
1239 USE_WIN32=1
1240 cat >> confdefs.h <<\EOF
1241 #define __WIN32__ 1
1242 EOF
1243
1244 cat >> confdefs.h <<\EOF
1245 #define __WIN95__ 1
1246 EOF
1247
1248 cat >> confdefs.h <<\EOF
1249 #define __WINDOWS__ 1
1250 EOF
1251
1252 cat >> confdefs.h <<\EOF
1253 #define __GNUWIN32__ 1
1254 EOF
1255
1256 cat >> confdefs.h <<\EOF
1257 #define STRICT 1
1258 EOF
1259
1260 cat >> confdefs.h <<\EOF
1261 #define WINVER 0x0400
1262 EOF
1263
1264 PROGRAM_EXT=".exe"
1265 DEFAULT_DEFAULT_wxUSE_MSW=1
1266 ;;
1267
1268 *-pc-os2_emx )
1269 cat >> confdefs.h <<\EOF
1270 #define __EMX__ 1
1271 EOF
1272
1273 PROGRAM_EXT=".exe"
1274 DEFAULT_DEFAULT_wxUSE_PM=1
1275 ;;
1276
1277 *-*-darwin* )
1278 USE_BSD=1
1279 USE_DARWIN=1
1280 cat >> confdefs.h <<\EOF
1281 #define __BSD__ 1
1282 EOF
1283
1284 cat >> confdefs.h <<\EOF
1285 #define __DARWIN__ 1
1286 EOF
1287
1288 cat >> confdefs.h <<\EOF
1289 #define __UNIX__ 1
1290 EOF
1291
1292 DEFAULT_DEFAULT_wxUSE_MAC=1
1293 ;;
1294
1295 *-*-beos* )
1296 USE_BEOS=1
1297 cat >> confdefs.h <<\EOF
1298 #define __BEOS__ 1
1299 EOF
1300
1301 ;;
1302
1303 *)
1304 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1305 esac
1306
1307 if test "$USE_UNIX" = 1 ; then
1308 wxUSE_UNIX=yes
1309 cat >> confdefs.h <<\EOF
1310 #define __UNIX__ 1
1311 EOF
1312
1313
1314 SRC_SUBDIRS="$SRC_SUBDIRS unix"
1315 INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS unix"
1316 fi
1317
1318 if test "$USE_BEOS" = 1; then
1319 SRC_SUBDIRS="$SRC_SUBDIRS be"
1320 INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS be"
1321 fi
1322
1323
1324
1325
1326
1327 wx_arg_cache_file="configarg.cache"
1328 echo "loading argument cache $wx_arg_cache_file"
1329 rm -f ${wx_arg_cache_file}.tmp
1330 touch ${wx_arg_cache_file}.tmp
1331 touch ${wx_arg_cache_file}
1332
1333
1334 DEBUG_CONFIGURE=0
1335 if test $DEBUG_CONFIGURE = 1; then
1336 DEFAULT_wxUSE_UNIVERSAL=no
1337
1338 DEFAULT_wxUSE_THREADS=yes
1339
1340 DEFAULT_wxUSE_SHARED=yes
1341 DEFAULT_wxUSE_BURNT_NAME=no
1342 DEFAULT_wxUSE_OPTIMISE=no
1343 DEFAULT_wxUSE_PROFILE=no
1344 DEFAULT_wxUSE_NO_DEPS=no
1345 DEFAULT_wxUSE_NO_RTTI=no
1346 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1347 DEFAULT_wxUSE_PERMISSIVE=no
1348 DEFAULT_wxUSE_DEBUG_FLAG=yes
1349 DEFAULT_wxUSE_DEBUG_INFO=yes
1350 DEFAULT_wxUSE_DEBUG_GDB=yes
1351 DEFAULT_wxUSE_MEM_TRACING=no
1352 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1353 DEFAULT_wxUSE_DMALLOC=no
1354 DEFAULT_wxUSE_APPLE_IEEE=no
1355
1356 DEFAULT_wxUSE_LOG=yes
1357 DEFAULT_wxUSE_LOGWINDOW=no
1358 DEFAULT_wxUSE_LOGGUI=no
1359
1360 DEFAULT_wxUSE_GUI=yes
1361 DEFAULT_wxUSE_CONTROLS=no
1362
1363 DEFAULT_wxUSE_REGEX=no
1364 DEFAULT_wxUSE_ZLIB=no
1365 DEFAULT_wxUSE_LIBPNG=no
1366 DEFAULT_wxUSE_LIBJPEG=no
1367 DEFAULT_wxUSE_LIBTIFF=no
1368 DEFAULT_wxUSE_ODBC=no
1369 DEFAULT_wxUSE_FREETYPE=no
1370 DEFAULT_wxUSE_OPENGL=no
1371
1372 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1373 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1374 DEFAULT_wxUSE_STD_IOSTREAM=no
1375 DEFAULT_wxUSE_CMDLINE_PARSER=no
1376 DEFAULT_wxUSE_DATETIME=no
1377 DEFAULT_wxUSE_TIMEDATE=no
1378 DEFAULT_wxUSE_TIMER=no
1379 DEFAULT_wxUSE_STOPWATCH=no
1380 DEFAULT_wxUSE_FILE=no
1381 DEFAULT_wxUSE_FFILE=no
1382 DEFAULT_wxUSE_TEXTFILE=no
1383 DEFAULT_wxUSE_WAVE=no
1384 DEFAULT_wxUSE_INTL=no
1385 DEFAULT_wxUSE_CONFIG=no
1386 DEFAULT_wxUSE_FONTMAP=no
1387 DEFAULT_wxUSE_STREAMS=no
1388 DEFAULT_wxUSE_SOCKETS=no
1389 DEFAULT_wxUSE_DIALUP_MANAGER=no
1390 DEFAULT_wxUSE_SERIAL=no
1391 DEFAULT_wxUSE_JOYSTICK=no
1392 DEFAULT_wxUSE_DYNLIB_CLASS=no
1393 DEFAULT_wxUSE_LONGLONG=no
1394 DEFAULT_wxUSE_GEOMETRY=no
1395
1396 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
1397 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
1398 DEFAULT_wxUSE_POSTSCRIPT=no
1399
1400 DEFAULT_wxUSE_X_RESOURCES=no
1401 DEFAULT_wxUSE_CLIPBOARD=no
1402 DEFAULT_wxUSE_TOOLTIPS=no
1403 DEFAULT_wxUSE_DRAG_AND_DROP=no
1404 DEFAULT_wxUSE_DRAGIMAGE=no
1405 DEFAULT_wxUSE_SPLINES=no
1406
1407 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
1408 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
1409 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
1410
1411 DEFAULT_wxUSE_PROLOGIO=no
1412 DEFAULT_wxUSE_RESOURCES=no
1413 DEFAULT_wxUSE_CONSTRAINTS=no
1414 DEFAULT_wxUSE_IPC=no
1415 DEFAULT_wxUSE_HELP=no
1416 DEFAULT_wxUSE_MS_HTML_HELP=no
1417 DEFAULT_wxUSE_WXHTML_HELP=no
1418 DEFAULT_wxUSE_TREELAYOUT=no
1419 DEFAULT_wxUSE_METAFILE=no
1420 DEFAULT_wxUSE_MIMETYPE=no
1421 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
1422
1423 DEFAULT_wxUSE_COMMONDLGS=no
1424 DEFAULT_wxUSE_CHOICEDLG=no
1425 DEFAULT_wxUSE_COLOURDLG=no
1426 DEFAULT_wxUSE_DIRDLG=no
1427 DEFAULT_wxUSE_FILEDLG=no
1428 DEFAULT_wxUSE_FINDREPLDLG=no
1429 DEFAULT_wxUSE_FONTDLG=no
1430 DEFAULT_wxUSE_MSGDLG=no
1431 DEFAULT_wxUSE_NUMBERDLG=no
1432 DEFAULT_wxUSE_TEXTDLG=no
1433 DEFAULT_wxUSE_SPLASH=no
1434 DEFAULT_wxUSE_STARTUP_TIPS=no
1435 DEFAULT_wxUSE_PROGRESSDLG=no
1436 DEFAULT_wxUSE_WIZARDDLG=no
1437
1438 DEFAULT_wxUSE_MENUS=no
1439 DEFAULT_wxUSE_MINIFRAME=no
1440 DEFAULT_wxUSE_HTML=no
1441 DEFAULT_wxUSE_FILESYSTEM=no
1442 DEFAULT_wxUSE_FS_INET=no
1443 DEFAULT_wxUSE_FS_ZIP=no
1444 DEFAULT_wxUSE_BUSYINFO=no
1445 DEFAULT_wxUSE_ZIPSTREAM=no
1446 DEFAULT_wxUSE_VALIDATORS=no
1447
1448 DEFAULT_wxUSE_ACCEL=no
1449 DEFAULT_wxUSE_BUTTON=no
1450 DEFAULT_wxUSE_BMPBUTTON=no
1451 DEFAULT_wxUSE_CALCTRL=no
1452 DEFAULT_wxUSE_CARET=no
1453 DEFAULT_wxUSE_CHECKBOX=no
1454 DEFAULT_wxUSE_CHECKLST=no
1455 DEFAULT_wxUSE_CHOICE=no
1456 DEFAULT_wxUSE_COMBOBOX=no
1457 DEFAULT_wxUSE_GAUGE=no
1458 DEFAULT_wxUSE_GRID=no
1459 DEFAULT_wxUSE_NEW_GRID=no
1460 DEFAULT_wxUSE_IMAGLIST=no
1461 DEFAULT_wxUSE_LISTBOX=no
1462 DEFAULT_wxUSE_LISTCTRL=no
1463 DEFAULT_wxUSE_NOTEBOOK=no
1464 DEFAULT_wxUSE_PROPSHEET=no
1465 DEFAULT_wxUSE_RADIOBOX=no
1466 DEFAULT_wxUSE_RADIOBTN=no
1467 DEFAULT_wxUSE_SASH=no
1468 DEFAULT_wxUSE_SCROLLBAR=no
1469 DEFAULT_wxUSE_SLIDER=no
1470 DEFAULT_wxUSE_SPINBTN=no
1471 DEFAULT_wxUSE_SPINCTRL=no
1472 DEFAULT_wxUSE_SPLITTER=no
1473 DEFAULT_wxUSE_STATBMP=no
1474 DEFAULT_wxUSE_STATBOX=no
1475 DEFAULT_wxUSE_STATLINE=no
1476 DEFAULT_wxUSE_STATTEXT=no
1477 DEFAULT_wxUSE_STATUSBAR=yes
1478 DEFAULT_wxUSE_TABDIALOG=no
1479 DEFAULT_wxUSE_TEXTCTRL=no
1480 DEFAULT_wxUSE_TOGGLEBTN=no
1481 DEFAULT_wxUSE_TOOLBAR=no
1482 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
1483 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
1484 DEFAULT_wxUSE_TREECTRL=no
1485 DEFAULT_wxUSE_POPUPWIN=no
1486
1487 DEFAULT_wxUSE_UNICODE=no
1488 DEFAULT_wxUSE_WCSRTOMBS=no
1489
1490 DEFAULT_wxUSE_IMAGE=no
1491 DEFAULT_wxUSE_GIF=no
1492 DEFAULT_wxUSE_PCX=no
1493 DEFAULT_wxUSE_PNM=no
1494 DEFAULT_wxUSE_XPM=no
1495 else
1496 DEFAULT_wxUSE_UNIVERSAL=no
1497
1498 DEFAULT_wxUSE_THREADS=yes
1499
1500 DEFAULT_wxUSE_SHARED=yes
1501 DEFAULT_wxUSE_BURNT_NAME=no
1502 DEFAULT_wxUSE_OPTIMISE=yes
1503 DEFAULT_wxUSE_PROFILE=no
1504 DEFAULT_wxUSE_NO_DEPS=no
1505 DEFAULT_wxUSE_NO_RTTI=no
1506 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1507 DEFAULT_wxUSE_PERMISSIVE=no
1508 DEFAULT_wxUSE_DEBUG_FLAG=no
1509 DEFAULT_wxUSE_DEBUG_INFO=no
1510 DEFAULT_wxUSE_DEBUG_GDB=no
1511 DEFAULT_wxUSE_MEM_TRACING=no
1512 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1513 DEFAULT_wxUSE_DMALLOC=no
1514 DEFAULT_wxUSE_APPLE_IEEE=yes
1515
1516 DEFAULT_wxUSE_LOG=yes
1517 DEFAULT_wxUSE_LOGWINDOW=yes
1518 DEFAULT_wxUSE_LOGGUI=yes
1519
1520 DEFAULT_wxUSE_GUI=yes
1521
1522 DEFAULT_wxUSE_REGEX=yes
1523 DEFAULT_wxUSE_ZLIB=yes
1524 DEFAULT_wxUSE_LIBPNG=yes
1525 DEFAULT_wxUSE_LIBJPEG=yes
1526 DEFAULT_wxUSE_LIBTIFF=yes
1527 DEFAULT_wxUSE_ODBC=no
1528 DEFAULT_wxUSE_FREETYPE=no
1529 DEFAULT_wxUSE_OPENGL=no
1530
1531 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
1532 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
1533 DEFAULT_wxUSE_STD_IOSTREAM=no
1534 DEFAULT_wxUSE_CMDLINE_PARSER=yes
1535 DEFAULT_wxUSE_DATETIME=yes
1536 DEFAULT_wxUSE_TIMEDATE=no
1537 DEFAULT_wxUSE_TIMER=yes
1538 DEFAULT_wxUSE_STOPWATCH=yes
1539 DEFAULT_wxUSE_FILE=yes
1540 DEFAULT_wxUSE_FFILE=yes
1541 DEFAULT_wxUSE_TEXTFILE=yes
1542 DEFAULT_wxUSE_WAVE=no
1543 DEFAULT_wxUSE_INTL=yes
1544 DEFAULT_wxUSE_CONFIG=yes
1545 DEFAULT_wxUSE_FONTMAP=yes
1546 DEFAULT_wxUSE_STREAMS=yes
1547 DEFAULT_wxUSE_SOCKETS=yes
1548 DEFAULT_wxUSE_DIALUP_MANAGER=yes
1549 DEFAULT_wxUSE_SERIAL=yes
1550 DEFAULT_wxUSE_JOYSTICK=yes
1551 DEFAULT_wxUSE_DYNLIB_CLASS=yes
1552 DEFAULT_wxUSE_LONGLONG=yes
1553 DEFAULT_wxUSE_GEOMETRY=yes
1554
1555 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
1556 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
1557 DEFAULT_wxUSE_POSTSCRIPT=yes
1558
1559 DEFAULT_wxUSE_X_RESOURCES=no
1560 DEFAULT_wxUSE_CLIPBOARD=yes
1561 DEFAULT_wxUSE_TOOLTIPS=yes
1562 DEFAULT_wxUSE_DRAG_AND_DROP=yes
1563 DEFAULT_wxUSE_DRAGIMAGE=yes
1564 DEFAULT_wxUSE_SPLINES=yes
1565
1566 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
1567 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
1568 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
1569
1570 DEFAULT_wxUSE_PROLOGIO=yes
1571 DEFAULT_wxUSE_RESOURCES=yes
1572 DEFAULT_wxUSE_CONSTRAINTS=yes
1573 DEFAULT_wxUSE_IPC=yes
1574 DEFAULT_wxUSE_HELP=yes
1575 DEFAULT_wxUSE_MS_HTML_HELP=yes
1576 DEFAULT_wxUSE_WXHTML_HELP=yes
1577 DEFAULT_wxUSE_TREELAYOUT=yes
1578 DEFAULT_wxUSE_METAFILE=yes
1579 DEFAULT_wxUSE_MIMETYPE=yes
1580 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
1581
1582 DEFAULT_wxUSE_COMMONDLGS=yes
1583 DEFAULT_wxUSE_CHOICEDLG=yes
1584 DEFAULT_wxUSE_COLOURDLG=yes
1585 DEFAULT_wxUSE_DIRDLG=yes
1586 DEFAULT_wxUSE_FILEDLG=yes
1587 DEFAULT_wxUSE_FINDREPLDLG=yes
1588 DEFAULT_wxUSE_FONTDLG=yes
1589 DEFAULT_wxUSE_MSGDLG=yes
1590 DEFAULT_wxUSE_NUMBERDLG=yes
1591 DEFAULT_wxUSE_TEXTDLG=yes
1592 DEFAULT_wxUSE_SPLASH=yes
1593 DEFAULT_wxUSE_STARTUP_TIPS=yes
1594 DEFAULT_wxUSE_PROGRESSDLG=yes
1595 DEFAULT_wxUSE_WIZARDDLG=yes
1596
1597 DEFAULT_wxUSE_MENUS=yes
1598 DEFAULT_wxUSE_MINIFRAME=yes
1599 DEFAULT_wxUSE_HTML=yes
1600 DEFAULT_wxUSE_FILESYSTEM=yes
1601 DEFAULT_wxUSE_FS_INET=yes
1602 DEFAULT_wxUSE_FS_ZIP=yes
1603 DEFAULT_wxUSE_BUSYINFO=yes
1604 DEFAULT_wxUSE_ZIPSTREAM=yes
1605 DEFAULT_wxUSE_VALIDATORS=yes
1606
1607 DEFAULT_wxUSE_ACCEL=yes
1608 DEFAULT_wxUSE_BUTTON=yes
1609 DEFAULT_wxUSE_BMPBUTTON=yes
1610 DEFAULT_wxUSE_CALCTRL=yes
1611 DEFAULT_wxUSE_CARET=yes
1612 DEFAULT_wxUSE_CHECKBOX=yes
1613 DEFAULT_wxUSE_CHECKLST=yes
1614 DEFAULT_wxUSE_CHOICE=yes
1615 DEFAULT_wxUSE_COMBOBOX=yes
1616 DEFAULT_wxUSE_GAUGE=yes
1617 DEFAULT_wxUSE_GRID=yes
1618 DEFAULT_wxUSE_NEW_GRID=yes
1619 DEFAULT_wxUSE_IMAGLIST=yes
1620 DEFAULT_wxUSE_LISTBOX=yes
1621 DEFAULT_wxUSE_LISTCTRL=yes
1622 DEFAULT_wxUSE_NOTEBOOK=yes
1623 DEFAULT_wxUSE_PROPSHEET=yes
1624 DEFAULT_wxUSE_RADIOBOX=yes
1625 DEFAULT_wxUSE_RADIOBTN=yes
1626 DEFAULT_wxUSE_SASH=yes
1627 DEFAULT_wxUSE_SCROLLBAR=yes
1628 DEFAULT_wxUSE_SLIDER=yes
1629 DEFAULT_wxUSE_SPINBTN=yes
1630 DEFAULT_wxUSE_SPINCTRL=yes
1631 DEFAULT_wxUSE_SPLITTER=yes
1632 DEFAULT_wxUSE_STATBMP=yes
1633 DEFAULT_wxUSE_STATBOX=yes
1634 DEFAULT_wxUSE_STATLINE=yes
1635 DEFAULT_wxUSE_STATTEXT=yes
1636 DEFAULT_wxUSE_STATUSBAR=yes
1637 DEFAULT_wxUSE_TABDIALOG=no
1638 DEFAULT_wxUSE_TEXTCTRL=yes
1639 DEFAULT_wxUSE_TOGGLEBTN=yes
1640 DEFAULT_wxUSE_TOOLBAR=yes
1641 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
1642 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
1643 DEFAULT_wxUSE_TREECTRL=yes
1644 DEFAULT_wxUSE_POPUPWIN=yes
1645
1646 DEFAULT_wxUSE_UNICODE=no
1647 DEFAULT_wxUSE_WCSRTOMBS=no
1648
1649 DEFAULT_wxUSE_IMAGE=yes
1650 DEFAULT_wxUSE_GIF=yes
1651 DEFAULT_wxUSE_PCX=yes
1652 DEFAULT_wxUSE_PNM=yes
1653 DEFAULT_wxUSE_XPM=yes
1654 fi
1655
1656
1657
1658 for toolkit in `echo $ALL_TOOLKITS`; do
1659 LINE=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1660 if test "x$LINE" != x ; then
1661 has_toolkit_in_cache=1
1662 eval "DEFAULT_$LINE"
1663 eval "CACHE_$toolkit=1"
1664 fi
1665 done
1666
1667
1668
1669 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1670 echo "configure:1671: checking for --enable-gui" >&5
1671 no_cache=0
1672 # Check whether --enable-gui or --disable-gui was given.
1673 if test "${enable_gui+set}" = set; then
1674 enableval="$enable_gui"
1675
1676 if test "$enableval" = yes; then
1677 ac_cv_use_gui='wxUSE_GUI=yes'
1678 else
1679 ac_cv_use_gui='wxUSE_GUI=no'
1680 fi
1681
1682 else
1683
1684 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1685 if test "x$LINE" != x ; then
1686 eval "DEFAULT_$LINE"
1687 else
1688 no_cache=1
1689 fi
1690
1691 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1692
1693 fi
1694
1695
1696 eval "$ac_cv_use_gui"
1697 if test "$no_cache" != 1; then
1698 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1699 fi
1700
1701 if test "$wxUSE_GUI" = yes; then
1702 echo "$ac_t""yes" 1>&6
1703 else
1704 echo "$ac_t""no" 1>&6
1705 fi
1706
1707
1708 if test "$wxUSE_GUI" = "yes"; then
1709
1710
1711 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1712 echo "configure:1713: checking for --enable-universal" >&5
1713 no_cache=0
1714 # Check whether --enable-universal or --disable-universal was given.
1715 if test "${enable_universal+set}" = set; then
1716 enableval="$enable_universal"
1717
1718 if test "$enableval" = yes; then
1719 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
1720 else
1721 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
1722 fi
1723
1724 else
1725
1726 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1727 if test "x$LINE" != x ; then
1728 eval "DEFAULT_$LINE"
1729 else
1730 no_cache=1
1731 fi
1732
1733 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1734
1735 fi
1736
1737
1738 eval "$ac_cv_use_universal"
1739 if test "$no_cache" != 1; then
1740 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1741 fi
1742
1743 if test "$wxUSE_UNIVERSAL" = yes; then
1744 echo "$ac_t""yes" 1>&6
1745 else
1746 echo "$ac_t""no" 1>&6
1747 fi
1748
1749 # Check whether --with-gtk or --without-gtk was given.
1750 if test "${with_gtk+set}" = set; then
1751 withval="$with_gtk"
1752 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
1753 fi
1754
1755 # Check whether --with-motif or --without-motif was given.
1756 if test "${with_motif+set}" = set; then
1757 withval="$with_motif"
1758 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
1759 fi
1760
1761 # Check whether --with-mac or --without-mac was given.
1762 if test "${with_mac+set}" = set; then
1763 withval="$with_mac"
1764 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
1765 fi
1766
1767 # Check whether --with-wine or --without-wine was given.
1768 if test "${with_wine+set}" = set; then
1769 withval="$with_wine"
1770 wxUSE_WINE="$withval" CACHE_WINE=1 TOOLKIT_GIVEN=1
1771 fi
1772
1773 # Check whether --with-cygwin or --without-cygwin was given.
1774 if test "${with_cygwin+set}" = set; then
1775 withval="$with_cygwin"
1776 wxUSE_CYGWIN="$withval" CACHE_CYGWIN=1 TOOLKIT_GIVEN=1
1777 fi
1778
1779 # Check whether --with-mingw or --without-mingw was given.
1780 if test "${with_mingw+set}" = set; then
1781 withval="$with_mingw"
1782 wxUSE_MINGW="$withval" CACHE_MINGW=1 TOOLKIT_GIVEN=1
1783 fi
1784
1785 # Check whether --with-pm or --without-pm was given.
1786 if test "${with_pm+set}" = set; then
1787 withval="$with_pm"
1788 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
1789 fi
1790
1791 # Check whether --with-mgl or --without-mgl was given.
1792 if test "${with_mgl+set}" = set; then
1793 withval="$with_mgl"
1794 wxUSE_MGL="$withval" CACHE_MGL=1 TOOLKIT_GIVEN=1
1795 fi
1796
1797
1798 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1799 if test "${enable_gtk2+set}" = set; then
1800 enableval="$enable_gtk2"
1801 wxUSE_GTK2=1
1802 else
1803 wxUSE_GTK2=0
1804 fi
1805
1806
1807
1808 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1809 echo "configure:1810: checking for --with-libpng" >&5
1810 no_cache=0
1811 # Check whether --with-libpng or --without-libpng was given.
1812 if test "${with_libpng+set}" = set; then
1813 withval="$with_libpng"
1814
1815 if test "$withval" = yes; then
1816 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
1817 elif test "$withval" = no; then
1818 ac_cv_use_libpng='wxUSE_LIBPNG=no'
1819 elif test "$withval" = sys; then
1820 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
1821 else
1822 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1823 fi
1824
1825 else
1826
1827 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1828 if test "x$LINE" != x ; then
1829 eval "DEFAULT_$LINE"
1830 else
1831 no_cache=1
1832 fi
1833
1834 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1835
1836 fi
1837
1838
1839 eval "$ac_cv_use_libpng"
1840 if test "$no_cache" != 1; then
1841 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1842 fi
1843
1844 if test "$wxUSE_LIBPNG" = yes; then
1845 echo "$ac_t""yes" 1>&6
1846 elif test "$wxUSE_LIBPNG" = no; then
1847 echo "$ac_t""no" 1>&6
1848 elif test "$wxUSE_LIBPNG" = sys; then
1849 echo "$ac_t""system version" 1>&6
1850 else
1851 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1852 fi
1853
1854
1855 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1856 echo "configure:1857: checking for --with-libjpeg" >&5
1857 no_cache=0
1858 # Check whether --with-libjpeg or --without-libjpeg was given.
1859 if test "${with_libjpeg+set}" = set; then
1860 withval="$with_libjpeg"
1861
1862 if test "$withval" = yes; then
1863 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
1864 elif test "$withval" = no; then
1865 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
1866 elif test "$withval" = sys; then
1867 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
1868 else
1869 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1870 fi
1871
1872 else
1873
1874 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1875 if test "x$LINE" != x ; then
1876 eval "DEFAULT_$LINE"
1877 else
1878 no_cache=1
1879 fi
1880
1881 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1882
1883 fi
1884
1885
1886 eval "$ac_cv_use_libjpeg"
1887 if test "$no_cache" != 1; then
1888 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1889 fi
1890
1891 if test "$wxUSE_LIBJPEG" = yes; then
1892 echo "$ac_t""yes" 1>&6
1893 elif test "$wxUSE_LIBJPEG" = no; then
1894 echo "$ac_t""no" 1>&6
1895 elif test "$wxUSE_LIBJPEG" = sys; then
1896 echo "$ac_t""system version" 1>&6
1897 else
1898 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1899 fi
1900
1901
1902 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1903 echo "configure:1904: checking for --with-libtiff" >&5
1904 no_cache=0
1905 # Check whether --with-libtiff or --without-libtiff was given.
1906 if test "${with_libtiff+set}" = set; then
1907 withval="$with_libtiff"
1908
1909 if test "$withval" = yes; then
1910 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
1911 elif test "$withval" = no; then
1912 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
1913 elif test "$withval" = sys; then
1914 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
1915 else
1916 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1917 fi
1918
1919 else
1920
1921 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1922 if test "x$LINE" != x ; then
1923 eval "DEFAULT_$LINE"
1924 else
1925 no_cache=1
1926 fi
1927
1928 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1929
1930 fi
1931
1932
1933 eval "$ac_cv_use_libtiff"
1934 if test "$no_cache" != 1; then
1935 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1936 fi
1937
1938 if test "$wxUSE_LIBTIFF" = yes; then
1939 echo "$ac_t""yes" 1>&6
1940 elif test "$wxUSE_LIBTIFF" = no; then
1941 echo "$ac_t""no" 1>&6
1942 elif test "$wxUSE_LIBTIFF" = sys; then
1943 echo "$ac_t""system version" 1>&6
1944 else
1945 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1946 fi
1947
1948
1949 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1950 echo "configure:1951: checking for --with-freetype" >&5
1951 no_cache=0
1952 # Check whether --with-freetype or --without-freetype was given.
1953 if test "${with_freetype+set}" = set; then
1954 withval="$with_freetype"
1955
1956 if test "$withval" = yes; then
1957 ac_cv_use_freetype='wxUSE_FREETYPE=yes'
1958 elif test "$withval" = no; then
1959 ac_cv_use_freetype='wxUSE_FREETYPE=no'
1960 elif test "$withval" = sys; then
1961 ac_cv_use_freetype='wxUSE_FREETYPE=sys'
1962 else
1963 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1964 fi
1965
1966 else
1967
1968 LINE=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
1969 if test "x$LINE" != x ; then
1970 eval "DEFAULT_$LINE"
1971 else
1972 no_cache=1
1973 fi
1974
1975 ac_cv_use_freetype='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
1976
1977 fi
1978
1979
1980 eval "$ac_cv_use_freetype"
1981 if test "$no_cache" != 1; then
1982 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
1983 fi
1984
1985 if test "$wxUSE_FREETYPE" = yes; then
1986 echo "$ac_t""yes" 1>&6
1987 elif test "$wxUSE_FREETYPE" = no; then
1988 echo "$ac_t""no" 1>&6
1989 elif test "$wxUSE_FREETYPE" = sys; then
1990 echo "$ac_t""system version" 1>&6
1991 else
1992 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1993 fi
1994
1995
1996 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
1997 echo "configure:1998: checking for --with-opengl" >&5
1998 no_cache=0
1999 # Check whether --with-opengl or --without-opengl was given.
2000 if test "${with_opengl+set}" = set; then
2001 withval="$with_opengl"
2002
2003 if test "$withval" = yes; then
2004 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2005 else
2006 ac_cv_use_opengl='wxUSE_OPENGL=no'
2007 fi
2008
2009 else
2010
2011 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2012 if test "x$LINE" != x ; then
2013 eval "DEFAULT_$LINE"
2014 else
2015 no_cache=1
2016 fi
2017
2018 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2019
2020 fi
2021
2022
2023 eval "$ac_cv_use_opengl"
2024 if test "$no_cache" != 1; then
2025 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2026 fi
2027
2028 if test "$wxUSE_OPENGL" = yes; then
2029 echo "$ac_t""yes" 1>&6
2030 else
2031 echo "$ac_t""no" 1>&6
2032 fi
2033
2034
2035 fi
2036
2037
2038 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2039 echo "configure:2040: checking for --with-dmalloc" >&5
2040 no_cache=0
2041 # Check whether --with-dmalloc or --without-dmalloc was given.
2042 if test "${with_dmalloc+set}" = set; then
2043 withval="$with_dmalloc"
2044
2045 if test "$withval" = yes; then
2046 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2047 else
2048 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2049 fi
2050
2051 else
2052
2053 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2054 if test "x$LINE" != x ; then
2055 eval "DEFAULT_$LINE"
2056 else
2057 no_cache=1
2058 fi
2059
2060 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2061
2062 fi
2063
2064
2065 eval "$ac_cv_use_dmalloc"
2066 if test "$no_cache" != 1; then
2067 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2068 fi
2069
2070 if test "$wxUSE_DMALLOC" = yes; then
2071 echo "$ac_t""yes" 1>&6
2072 else
2073 echo "$ac_t""no" 1>&6
2074 fi
2075
2076
2077 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2078 echo "configure:2079: checking for --with-regex" >&5
2079 no_cache=0
2080 # Check whether --with-regex or --without-regex was given.
2081 if test "${with_regex+set}" = set; then
2082 withval="$with_regex"
2083
2084 if test "$withval" = yes; then
2085 ac_cv_use_regex='wxUSE_REGEX=yes'
2086 elif test "$withval" = no; then
2087 ac_cv_use_regex='wxUSE_REGEX=no'
2088 elif test "$withval" = sys; then
2089 ac_cv_use_regex='wxUSE_REGEX=sys'
2090 else
2091 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2092 fi
2093
2094 else
2095
2096 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2097 if test "x$LINE" != x ; then
2098 eval "DEFAULT_$LINE"
2099 else
2100 no_cache=1
2101 fi
2102
2103 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2104
2105 fi
2106
2107
2108 eval "$ac_cv_use_regex"
2109 if test "$no_cache" != 1; then
2110 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2111 fi
2112
2113 if test "$wxUSE_REGEX" = yes; then
2114 echo "$ac_t""yes" 1>&6
2115 elif test "$wxUSE_REGEX" = no; then
2116 echo "$ac_t""no" 1>&6
2117 elif test "$wxUSE_REGEX" = sys; then
2118 echo "$ac_t""system version" 1>&6
2119 else
2120 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2121 fi
2122
2123
2124 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2125 echo "configure:2126: checking for --with-zlib" >&5
2126 no_cache=0
2127 # Check whether --with-zlib or --without-zlib was given.
2128 if test "${with_zlib+set}" = set; then
2129 withval="$with_zlib"
2130
2131 if test "$withval" = yes; then
2132 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2133 elif test "$withval" = no; then
2134 ac_cv_use_zlib='wxUSE_ZLIB=no'
2135 elif test "$withval" = sys; then
2136 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2137 else
2138 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2139 fi
2140
2141 else
2142
2143 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2144 if test "x$LINE" != x ; then
2145 eval "DEFAULT_$LINE"
2146 else
2147 no_cache=1
2148 fi
2149
2150 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2151
2152 fi
2153
2154
2155 eval "$ac_cv_use_zlib"
2156 if test "$no_cache" != 1; then
2157 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2158 fi
2159
2160 if test "$wxUSE_ZLIB" = yes; then
2161 echo "$ac_t""yes" 1>&6
2162 elif test "$wxUSE_ZLIB" = no; then
2163 echo "$ac_t""no" 1>&6
2164 elif test "$wxUSE_ZLIB" = sys; then
2165 echo "$ac_t""system version" 1>&6
2166 else
2167 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2168 fi
2169
2170
2171 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2172 echo "configure:2173: checking for --with-odbc" >&5
2173 no_cache=0
2174 # Check whether --with-odbc or --without-odbc was given.
2175 if test "${with_odbc+set}" = set; then
2176 withval="$with_odbc"
2177
2178 if test "$withval" = yes; then
2179 ac_cv_use_odbc='wxUSE_ODBC=yes'
2180 else
2181 ac_cv_use_odbc='wxUSE_ODBC=no'
2182 fi
2183
2184 else
2185
2186 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2187 if test "x$LINE" != x ; then
2188 eval "DEFAULT_$LINE"
2189 else
2190 no_cache=1
2191 fi
2192
2193 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2194
2195 fi
2196
2197
2198 eval "$ac_cv_use_odbc"
2199 if test "$no_cache" != 1; then
2200 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2201 fi
2202
2203 if test "$wxUSE_ODBC" = yes; then
2204 echo "$ac_t""yes" 1>&6
2205 else
2206 echo "$ac_t""no" 1>&6
2207 fi
2208
2209
2210
2211
2212
2213 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2214 echo "configure:2215: checking for --enable-shared" >&5
2215 no_cache=0
2216 # Check whether --enable-shared or --disable-shared was given.
2217 if test "${enable_shared+set}" = set; then
2218 enableval="$enable_shared"
2219
2220 if test "$enableval" = yes; then
2221 ac_cv_use_shared='wxUSE_SHARED=yes'
2222 else
2223 ac_cv_use_shared='wxUSE_SHARED=no'
2224 fi
2225
2226 else
2227
2228 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2229 if test "x$LINE" != x ; then
2230 eval "DEFAULT_$LINE"
2231 else
2232 no_cache=1
2233 fi
2234
2235 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2236
2237 fi
2238
2239
2240 eval "$ac_cv_use_shared"
2241 if test "$no_cache" != 1; then
2242 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2243 fi
2244
2245 if test "$wxUSE_SHARED" = yes; then
2246 echo "$ac_t""yes" 1>&6
2247 else
2248 echo "$ac_t""no" 1>&6
2249 fi
2250
2251
2252 echo $ac_n "checking for --enable-burnt_name""... $ac_c" 1>&6
2253 echo "configure:2254: checking for --enable-burnt_name" >&5
2254 no_cache=0
2255 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2256 if test "${enable_burnt_name+set}" = set; then
2257 enableval="$enable_burnt_name"
2258
2259 if test "$enableval" = yes; then
2260 ac_cv_use_burnt_name='wxUSE_BURNT_NAME=yes'
2261 else
2262 ac_cv_use_burnt_name='wxUSE_BURNT_NAME=no'
2263 fi
2264
2265 else
2266
2267 LINE=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2268 if test "x$LINE" != x ; then
2269 eval "DEFAULT_$LINE"
2270 else
2271 no_cache=1
2272 fi
2273
2274 ac_cv_use_burnt_name='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2275
2276 fi
2277
2278
2279 eval "$ac_cv_use_burnt_name"
2280 if test "$no_cache" != 1; then
2281 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2282 fi
2283
2284 if test "$wxUSE_BURNT_NAME" = yes; then
2285 echo "$ac_t""yes" 1>&6
2286 else
2287 echo "$ac_t""no" 1>&6
2288 fi
2289
2290
2291 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2292 echo "configure:2293: checking for --enable-optimise" >&5
2293 no_cache=0
2294 # Check whether --enable-optimise or --disable-optimise was given.
2295 if test "${enable_optimise+set}" = set; then
2296 enableval="$enable_optimise"
2297
2298 if test "$enableval" = yes; then
2299 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
2300 else
2301 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
2302 fi
2303
2304 else
2305
2306 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2307 if test "x$LINE" != x ; then
2308 eval "DEFAULT_$LINE"
2309 else
2310 no_cache=1
2311 fi
2312
2313 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2314
2315 fi
2316
2317
2318 eval "$ac_cv_use_optimise"
2319 if test "$no_cache" != 1; then
2320 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2321 fi
2322
2323 if test "$wxUSE_OPTIMISE" = yes; then
2324 echo "$ac_t""yes" 1>&6
2325 else
2326 echo "$ac_t""no" 1>&6
2327 fi
2328
2329
2330 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2331 echo "configure:2332: checking for --enable-debug" >&5
2332 no_cache=0
2333 # Check whether --enable-debug or --disable-debug was given.
2334 if test "${enable_debug+set}" = set; then
2335 enableval="$enable_debug"
2336
2337 if test "$enableval" = yes; then
2338 ac_cv_use_debug='wxUSE_DEBUG=yes'
2339 else
2340 ac_cv_use_debug='wxUSE_DEBUG=no'
2341 fi
2342
2343 else
2344
2345 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2346 if test "x$LINE" != x ; then
2347 eval "DEFAULT_$LINE"
2348 else
2349 no_cache=1
2350 fi
2351
2352 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2353
2354 fi
2355
2356
2357 eval "$ac_cv_use_debug"
2358 if test "$no_cache" != 1; then
2359 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2360 fi
2361
2362 if test "$wxUSE_DEBUG" = yes; then
2363 echo "$ac_t""yes" 1>&6
2364 else
2365 echo "$ac_t""no" 1>&6
2366 fi
2367
2368
2369 if test "$wxUSE_DEBUG" = "yes"; then
2370 DEFAULT_wxUSE_DEBUG_FLAG=yes
2371 DEFAULT_wxUSE_DEBUG_INFO=yes
2372 elif test "$wxUSE_DEBUG" = "no"; then
2373 DEFAULT_wxUSE_DEBUG_FLAG=no
2374 DEFAULT_wxUSE_DEBUG_INFO=no
2375 fi
2376
2377
2378 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2379 echo "configure:2380: checking for --enable-debug_flag" >&5
2380 no_cache=0
2381 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2382 if test "${enable_debug_flag+set}" = set; then
2383 enableval="$enable_debug_flag"
2384
2385 if test "$enableval" = yes; then
2386 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
2387 else
2388 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
2389 fi
2390
2391 else
2392
2393 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2394 if test "x$LINE" != x ; then
2395 eval "DEFAULT_$LINE"
2396 else
2397 no_cache=1
2398 fi
2399
2400 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2401
2402 fi
2403
2404
2405 eval "$ac_cv_use_debug_flag"
2406 if test "$no_cache" != 1; then
2407 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2408 fi
2409
2410 if test "$wxUSE_DEBUG_FLAG" = yes; then
2411 echo "$ac_t""yes" 1>&6
2412 else
2413 echo "$ac_t""no" 1>&6
2414 fi
2415
2416
2417 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2418 echo "configure:2419: checking for --enable-debug_info" >&5
2419 no_cache=0
2420 # Check whether --enable-debug_info or --disable-debug_info was given.
2421 if test "${enable_debug_info+set}" = set; then
2422 enableval="$enable_debug_info"
2423
2424 if test "$enableval" = yes; then
2425 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
2426 else
2427 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
2428 fi
2429
2430 else
2431
2432 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2433 if test "x$LINE" != x ; then
2434 eval "DEFAULT_$LINE"
2435 else
2436 no_cache=1
2437 fi
2438
2439 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2440
2441 fi
2442
2443
2444 eval "$ac_cv_use_debug_info"
2445 if test "$no_cache" != 1; then
2446 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2447 fi
2448
2449 if test "$wxUSE_DEBUG_INFO" = yes; then
2450 echo "$ac_t""yes" 1>&6
2451 else
2452 echo "$ac_t""no" 1>&6
2453 fi
2454
2455
2456 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2457 echo "configure:2458: checking for --enable-debug_gdb" >&5
2458 no_cache=0
2459 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2460 if test "${enable_debug_gdb+set}" = set; then
2461 enableval="$enable_debug_gdb"
2462
2463 if test "$enableval" = yes; then
2464 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
2465 else
2466 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
2467 fi
2468
2469 else
2470
2471 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2472 if test "x$LINE" != x ; then
2473 eval "DEFAULT_$LINE"
2474 else
2475 no_cache=1
2476 fi
2477
2478 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2479
2480 fi
2481
2482
2483 eval "$ac_cv_use_debug_gdb"
2484 if test "$no_cache" != 1; then
2485 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2486 fi
2487
2488 if test "$wxUSE_DEBUG_GDB" = yes; then
2489 echo "$ac_t""yes" 1>&6
2490 else
2491 echo "$ac_t""no" 1>&6
2492 fi
2493
2494
2495 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2496 echo "configure:2497: checking for --enable-debug_cntxt" >&5
2497 no_cache=0
2498 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2499 if test "${enable_debug_cntxt+set}" = set; then
2500 enableval="$enable_debug_cntxt"
2501
2502 if test "$enableval" = yes; then
2503 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
2504 else
2505 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
2506 fi
2507
2508 else
2509
2510 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2511 if test "x$LINE" != x ; then
2512 eval "DEFAULT_$LINE"
2513 else
2514 no_cache=1
2515 fi
2516
2517 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2518
2519 fi
2520
2521
2522 eval "$ac_cv_use_debug_cntxt"
2523 if test "$no_cache" != 1; then
2524 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2525 fi
2526
2527 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2528 echo "$ac_t""yes" 1>&6
2529 else
2530 echo "$ac_t""no" 1>&6
2531 fi
2532
2533
2534 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2535 echo "configure:2536: checking for --enable-mem_tracing" >&5
2536 no_cache=0
2537 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2538 if test "${enable_mem_tracing+set}" = set; then
2539 enableval="$enable_mem_tracing"
2540
2541 if test "$enableval" = yes; then
2542 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
2543 else
2544 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
2545 fi
2546
2547 else
2548
2549 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2550 if test "x$LINE" != x ; then
2551 eval "DEFAULT_$LINE"
2552 else
2553 no_cache=1
2554 fi
2555
2556 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2557
2558 fi
2559
2560
2561 eval "$ac_cv_use_mem_tracing"
2562 if test "$no_cache" != 1; then
2563 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2564 fi
2565
2566 if test "$wxUSE_MEM_TRACING" = yes; then
2567 echo "$ac_t""yes" 1>&6
2568 else
2569 echo "$ac_t""no" 1>&6
2570 fi
2571
2572
2573 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2574 echo "configure:2575: checking for --enable-profile" >&5
2575 no_cache=0
2576 # Check whether --enable-profile or --disable-profile was given.
2577 if test "${enable_profile+set}" = set; then
2578 enableval="$enable_profile"
2579
2580 if test "$enableval" = yes; then
2581 ac_cv_use_profile='wxUSE_PROFILE=yes'
2582 else
2583 ac_cv_use_profile='wxUSE_PROFILE=no'
2584 fi
2585
2586 else
2587
2588 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2589 if test "x$LINE" != x ; then
2590 eval "DEFAULT_$LINE"
2591 else
2592 no_cache=1
2593 fi
2594
2595 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2596
2597 fi
2598
2599
2600 eval "$ac_cv_use_profile"
2601 if test "$no_cache" != 1; then
2602 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2603 fi
2604
2605 if test "$wxUSE_PROFILE" = yes; then
2606 echo "$ac_t""yes" 1>&6
2607 else
2608 echo "$ac_t""no" 1>&6
2609 fi
2610
2611
2612 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2613 echo "configure:2614: checking for --enable-no_rtti" >&5
2614 no_cache=0
2615 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2616 if test "${enable_no_rtti+set}" = set; then
2617 enableval="$enable_no_rtti"
2618
2619 if test "$enableval" = yes; then
2620 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
2621 else
2622 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
2623 fi
2624
2625 else
2626
2627 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2628 if test "x$LINE" != x ; then
2629 eval "DEFAULT_$LINE"
2630 else
2631 no_cache=1
2632 fi
2633
2634 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2635
2636 fi
2637
2638
2639 eval "$ac_cv_use_no_rtti"
2640 if test "$no_cache" != 1; then
2641 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2642 fi
2643
2644 if test "$wxUSE_NO_RTTI" = yes; then
2645 echo "$ac_t""yes" 1>&6
2646 else
2647 echo "$ac_t""no" 1>&6
2648 fi
2649
2650
2651 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2652 echo "configure:2653: checking for --enable-no_exceptions" >&5
2653 no_cache=0
2654 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2655 if test "${enable_no_exceptions+set}" = set; then
2656 enableval="$enable_no_exceptions"
2657
2658 if test "$enableval" = yes; then
2659 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
2660 else
2661 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
2662 fi
2663
2664 else
2665
2666 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2667 if test "x$LINE" != x ; then
2668 eval "DEFAULT_$LINE"
2669 else
2670 no_cache=1
2671 fi
2672
2673 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2674
2675 fi
2676
2677
2678 eval "$ac_cv_use_no_exceptions"
2679 if test "$no_cache" != 1; then
2680 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2681 fi
2682
2683 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2684 echo "$ac_t""yes" 1>&6
2685 else
2686 echo "$ac_t""no" 1>&6
2687 fi
2688
2689
2690 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2691 echo "configure:2692: checking for --enable-permissive" >&5
2692 no_cache=0
2693 # Check whether --enable-permissive or --disable-permissive was given.
2694 if test "${enable_permissive+set}" = set; then
2695 enableval="$enable_permissive"
2696
2697 if test "$enableval" = yes; then
2698 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
2699 else
2700 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
2701 fi
2702
2703 else
2704
2705 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2706 if test "x$LINE" != x ; then
2707 eval "DEFAULT_$LINE"
2708 else
2709 no_cache=1
2710 fi
2711
2712 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2713
2714 fi
2715
2716
2717 eval "$ac_cv_use_permissive"
2718 if test "$no_cache" != 1; then
2719 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2720 fi
2721
2722 if test "$wxUSE_PERMISSIVE" = yes; then
2723 echo "$ac_t""yes" 1>&6
2724 else
2725 echo "$ac_t""no" 1>&6
2726 fi
2727
2728
2729 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2730 echo "configure:2731: checking for --enable-no_deps" >&5
2731 no_cache=0
2732 # Check whether --enable-no_deps or --disable-no_deps was given.
2733 if test "${enable_no_deps+set}" = set; then
2734 enableval="$enable_no_deps"
2735
2736 if test "$enableval" = yes; then
2737 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
2738 else
2739 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
2740 fi
2741
2742 else
2743
2744 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2745 if test "x$LINE" != x ; then
2746 eval "DEFAULT_$LINE"
2747 else
2748 no_cache=1
2749 fi
2750
2751 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2752
2753 fi
2754
2755
2756 eval "$ac_cv_use_no_deps"
2757 if test "$no_cache" != 1; then
2758 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2759 fi
2760
2761 if test "$wxUSE_NO_DEPS" = yes; then
2762 echo "$ac_t""yes" 1>&6
2763 else
2764 echo "$ac_t""no" 1>&6
2765 fi
2766
2767
2768
2769 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2770 echo "configure:2771: checking for --enable-compat20" >&5
2771 no_cache=0
2772 # Check whether --enable-compat20 or --disable-compat20 was given.
2773 if test "${enable_compat20+set}" = set; then
2774 enableval="$enable_compat20"
2775
2776 if test "$enableval" = yes; then
2777 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
2778 else
2779 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
2780 fi
2781
2782 else
2783
2784 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2785 if test "x$LINE" != x ; then
2786 eval "DEFAULT_$LINE"
2787 else
2788 no_cache=1
2789 fi
2790
2791 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2792
2793 fi
2794
2795
2796 eval "$ac_cv_use_compat20"
2797 if test "$no_cache" != 1; then
2798 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2799 fi
2800
2801 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2802 echo "$ac_t""yes" 1>&6
2803 else
2804 echo "$ac_t""no" 1>&6
2805 fi
2806
2807
2808 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2809 echo "configure:2810: checking for --enable-compat22" >&5
2810 no_cache=0
2811 # Check whether --enable-compat22 or --disable-compat22 was given.
2812 if test "${enable_compat22+set}" = set; then
2813 enableval="$enable_compat22"
2814
2815 if test "$enableval" = yes; then
2816 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
2817 else
2818 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
2819 fi
2820
2821 else
2822
2823 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2824 if test "x$LINE" != x ; then
2825 eval "DEFAULT_$LINE"
2826 else
2827 no_cache=1
2828 fi
2829
2830 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2831
2832 fi
2833
2834
2835 eval "$ac_cv_use_compat22"
2836 if test "$no_cache" != 1; then
2837 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2838 fi
2839
2840 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2841 echo "$ac_t""yes" 1>&6
2842 else
2843 echo "$ac_t""no" 1>&6
2844 fi
2845
2846
2847
2848
2849 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2850 echo "configure:2851: checking for --enable-intl" >&5
2851 no_cache=0
2852 # Check whether --enable-intl or --disable-intl was given.
2853 if test "${enable_intl+set}" = set; then
2854 enableval="$enable_intl"
2855
2856 if test "$enableval" = yes; then
2857 ac_cv_use_intl='wxUSE_INTL=yes'
2858 else
2859 ac_cv_use_intl='wxUSE_INTL=no'
2860 fi
2861
2862 else
2863
2864 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2865 if test "x$LINE" != x ; then
2866 eval "DEFAULT_$LINE"
2867 else
2868 no_cache=1
2869 fi
2870
2871 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2872
2873 fi
2874
2875
2876 eval "$ac_cv_use_intl"
2877 if test "$no_cache" != 1; then
2878 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2879 fi
2880
2881 if test "$wxUSE_INTL" = yes; then
2882 echo "$ac_t""yes" 1>&6
2883 else
2884 echo "$ac_t""no" 1>&6
2885 fi
2886
2887
2888 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2889 echo "configure:2890: checking for --enable-config" >&5
2890 no_cache=0
2891 # Check whether --enable-config or --disable-config was given.
2892 if test "${enable_config+set}" = set; then
2893 enableval="$enable_config"
2894
2895 if test "$enableval" = yes; then
2896 ac_cv_use_config='wxUSE_CONFIG=yes'
2897 else
2898 ac_cv_use_config='wxUSE_CONFIG=no'
2899 fi
2900
2901 else
2902
2903 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2904 if test "x$LINE" != x ; then
2905 eval "DEFAULT_$LINE"
2906 else
2907 no_cache=1
2908 fi
2909
2910 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2911
2912 fi
2913
2914
2915 eval "$ac_cv_use_config"
2916 if test "$no_cache" != 1; then
2917 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2918 fi
2919
2920 if test "$wxUSE_CONFIG" = yes; then
2921 echo "$ac_t""yes" 1>&6
2922 else
2923 echo "$ac_t""no" 1>&6
2924 fi
2925
2926
2927
2928 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2929 echo "configure:2930: checking for --enable-sockets" >&5
2930 no_cache=0
2931 # Check whether --enable-sockets or --disable-sockets was given.
2932 if test "${enable_sockets+set}" = set; then
2933 enableval="$enable_sockets"
2934
2935 if test "$enableval" = yes; then
2936 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
2937 else
2938 ac_cv_use_sockets='wxUSE_SOCKETS=no'
2939 fi
2940
2941 else
2942
2943 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2944 if test "x$LINE" != x ; then
2945 eval "DEFAULT_$LINE"
2946 else
2947 no_cache=1
2948 fi
2949
2950 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2951
2952 fi
2953
2954
2955 eval "$ac_cv_use_sockets"
2956 if test "$no_cache" != 1; then
2957 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2958 fi
2959
2960 if test "$wxUSE_SOCKETS" = yes; then
2961 echo "$ac_t""yes" 1>&6
2962 else
2963 echo "$ac_t""no" 1>&6
2964 fi
2965
2966
2967
2968 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
2969 echo "configure:2970: checking for --enable-ipc" >&5
2970 no_cache=0
2971 # Check whether --enable-ipc or --disable-ipc was given.
2972 if test "${enable_ipc+set}" = set; then
2973 enableval="$enable_ipc"
2974
2975 if test "$enableval" = yes; then
2976 ac_cv_use_ipc='wxUSE_IPC=yes'
2977 else
2978 ac_cv_use_ipc='wxUSE_IPC=no'
2979 fi
2980
2981 else
2982
2983 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2984 if test "x$LINE" != x ; then
2985 eval "DEFAULT_$LINE"
2986 else
2987 no_cache=1
2988 fi
2989
2990 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2991
2992 fi
2993
2994
2995 eval "$ac_cv_use_ipc"
2996 if test "$no_cache" != 1; then
2997 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2998 fi
2999
3000 if test "$wxUSE_IPC" = yes; then
3001 echo "$ac_t""yes" 1>&6
3002 else
3003 echo "$ac_t""no" 1>&6
3004 fi
3005
3006
3007
3008 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3009 echo "configure:3010: checking for --enable-cmdline" >&5
3010 no_cache=0
3011 # Check whether --enable-cmdline or --disable-cmdline was given.
3012 if test "${enable_cmdline+set}" = set; then
3013 enableval="$enable_cmdline"
3014
3015 if test "$enableval" = yes; then
3016 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
3017 else
3018 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
3019 fi
3020
3021 else
3022
3023 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3024 if test "x$LINE" != x ; then
3025 eval "DEFAULT_$LINE"
3026 else
3027 no_cache=1
3028 fi
3029
3030 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3031
3032 fi
3033
3034
3035 eval "$ac_cv_use_cmdline"
3036 if test "$no_cache" != 1; then
3037 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3038 fi
3039
3040 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3041 echo "$ac_t""yes" 1>&6
3042 else
3043 echo "$ac_t""no" 1>&6
3044 fi
3045
3046
3047 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3048 echo "configure:3049: checking for --enable-datetime" >&5
3049 no_cache=0
3050 # Check whether --enable-datetime or --disable-datetime was given.
3051 if test "${enable_datetime+set}" = set; then
3052 enableval="$enable_datetime"
3053
3054 if test "$enableval" = yes; then
3055 ac_cv_use_datetime='wxUSE_DATETIME=yes'
3056 else
3057 ac_cv_use_datetime='wxUSE_DATETIME=no'
3058 fi
3059
3060 else
3061
3062 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3063 if test "x$LINE" != x ; then
3064 eval "DEFAULT_$LINE"
3065 else
3066 no_cache=1
3067 fi
3068
3069 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3070
3071 fi
3072
3073
3074 eval "$ac_cv_use_datetime"
3075 if test "$no_cache" != 1; then
3076 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3077 fi
3078
3079 if test "$wxUSE_DATETIME" = yes; then
3080 echo "$ac_t""yes" 1>&6
3081 else
3082 echo "$ac_t""no" 1>&6
3083 fi
3084
3085
3086 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3087 echo "configure:3088: checking for --enable-timedate" >&5
3088 no_cache=0
3089 # Check whether --enable-timedate or --disable-timedate was given.
3090 if test "${enable_timedate+set}" = set; then
3091 enableval="$enable_timedate"
3092
3093 if test "$enableval" = yes; then
3094 ac_cv_use_timedate='wxUSE_TIMEDATE=yes'
3095 else
3096 ac_cv_use_timedate='wxUSE_TIMEDATE=no'
3097 fi
3098
3099 else
3100
3101 LINE=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3102 if test "x$LINE" != x ; then
3103 eval "DEFAULT_$LINE"
3104 else
3105 no_cache=1
3106 fi
3107
3108 ac_cv_use_timedate='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3109
3110 fi
3111
3112
3113 eval "$ac_cv_use_timedate"
3114 if test "$no_cache" != 1; then
3115 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3116 fi
3117
3118 if test "$wxUSE_TIMEDATE" = yes; then
3119 echo "$ac_t""yes" 1>&6
3120 else
3121 echo "$ac_t""no" 1>&6
3122 fi
3123
3124
3125 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3126 echo "configure:3127: checking for --enable-stopwatch" >&5
3127 no_cache=0
3128 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3129 if test "${enable_stopwatch+set}" = set; then
3130 enableval="$enable_stopwatch"
3131
3132 if test "$enableval" = yes; then
3133 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
3134 else
3135 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
3136 fi
3137
3138 else
3139
3140 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3141 if test "x$LINE" != x ; then
3142 eval "DEFAULT_$LINE"
3143 else
3144 no_cache=1
3145 fi
3146
3147 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3148
3149 fi
3150
3151
3152 eval "$ac_cv_use_stopwatch"
3153 if test "$no_cache" != 1; then
3154 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3155 fi
3156
3157 if test "$wxUSE_STOPWATCH" = yes; then
3158 echo "$ac_t""yes" 1>&6
3159 else
3160 echo "$ac_t""no" 1>&6
3161 fi
3162
3163
3164 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3165 echo "configure:3166: checking for --enable-dialupman" >&5
3166 no_cache=0
3167 # Check whether --enable-dialupman or --disable-dialupman was given.
3168 if test "${enable_dialupman+set}" = set; then
3169 enableval="$enable_dialupman"
3170
3171 if test "$enableval" = yes; then
3172 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
3173 else
3174 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
3175 fi
3176
3177 else
3178
3179 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3180 if test "x$LINE" != x ; then
3181 eval "DEFAULT_$LINE"
3182 else
3183 no_cache=1
3184 fi
3185
3186 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3187
3188 fi
3189
3190
3191 eval "$ac_cv_use_dialupman"
3192 if test "$no_cache" != 1; then
3193 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3194 fi
3195
3196 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3197 echo "$ac_t""yes" 1>&6
3198 else
3199 echo "$ac_t""no" 1>&6
3200 fi
3201
3202
3203 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3204 echo "configure:3205: checking for --enable-apple_ieee" >&5
3205 no_cache=0
3206 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3207 if test "${enable_apple_ieee+set}" = set; then
3208 enableval="$enable_apple_ieee"
3209
3210 if test "$enableval" = yes; then
3211 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
3212 else
3213 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
3214 fi
3215
3216 else
3217
3218 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3219 if test "x$LINE" != x ; then
3220 eval "DEFAULT_$LINE"
3221 else
3222 no_cache=1
3223 fi
3224
3225 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3226
3227 fi
3228
3229
3230 eval "$ac_cv_use_apple_ieee"
3231 if test "$no_cache" != 1; then
3232 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3233 fi
3234
3235 if test "$wxUSE_APPLE_IEEE" = yes; then
3236 echo "$ac_t""yes" 1>&6
3237 else
3238 echo "$ac_t""no" 1>&6
3239 fi
3240
3241
3242 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3243 echo "configure:3244: checking for --enable-timer" >&5
3244 no_cache=0
3245 # Check whether --enable-timer or --disable-timer was given.
3246 if test "${enable_timer+set}" = set; then
3247 enableval="$enable_timer"
3248
3249 if test "$enableval" = yes; then
3250 ac_cv_use_timer='wxUSE_TIMER=yes'
3251 else
3252 ac_cv_use_timer='wxUSE_TIMER=no'
3253 fi
3254
3255 else
3256
3257 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3258 if test "x$LINE" != x ; then
3259 eval "DEFAULT_$LINE"
3260 else
3261 no_cache=1
3262 fi
3263
3264 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3265
3266 fi
3267
3268
3269 eval "$ac_cv_use_timer"
3270 if test "$no_cache" != 1; then
3271 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3272 fi
3273
3274 if test "$wxUSE_TIMER" = yes; then
3275 echo "$ac_t""yes" 1>&6
3276 else
3277 echo "$ac_t""no" 1>&6
3278 fi
3279
3280
3281 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3282 echo "configure:3283: checking for --enable-wave" >&5
3283 no_cache=0
3284 # Check whether --enable-wave or --disable-wave was given.
3285 if test "${enable_wave+set}" = set; then
3286 enableval="$enable_wave"
3287
3288 if test "$enableval" = yes; then
3289 ac_cv_use_wave='wxUSE_WAVE=yes'
3290 else
3291 ac_cv_use_wave='wxUSE_WAVE=no'
3292 fi
3293
3294 else
3295
3296 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3297 if test "x$LINE" != x ; then
3298 eval "DEFAULT_$LINE"
3299 else
3300 no_cache=1
3301 fi
3302
3303 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3304
3305 fi
3306
3307
3308 eval "$ac_cv_use_wave"
3309 if test "$no_cache" != 1; then
3310 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3311 fi
3312
3313 if test "$wxUSE_WAVE" = yes; then
3314 echo "$ac_t""yes" 1>&6
3315 else
3316 echo "$ac_t""no" 1>&6
3317 fi
3318
3319
3320 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3321 echo "configure:3322: checking for --enable-fraction" >&5
3322 no_cache=0
3323 # Check whether --enable-fraction or --disable-fraction was given.
3324 if test "${enable_fraction+set}" = set; then
3325 enableval="$enable_fraction"
3326
3327 if test "$enableval" = yes; then
3328 ac_cv_use_fraction='wxUSE_FRACTION=yes'
3329 else
3330 ac_cv_use_fraction='wxUSE_FRACTION=no'
3331 fi
3332
3333 else
3334
3335 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3336 if test "x$LINE" != x ; then
3337 eval "DEFAULT_$LINE"
3338 else
3339 no_cache=1
3340 fi
3341
3342 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3343
3344 fi
3345
3346
3347 eval "$ac_cv_use_fraction"
3348 if test "$no_cache" != 1; then
3349 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3350 fi
3351
3352 if test "$wxUSE_FRACTION" = yes; then
3353 echo "$ac_t""yes" 1>&6
3354 else
3355 echo "$ac_t""no" 1>&6
3356 fi
3357
3358
3359 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3360 echo "configure:3361: checking for --enable-dynlib" >&5
3361 no_cache=0
3362 # Check whether --enable-dynlib or --disable-dynlib was given.
3363 if test "${enable_dynlib+set}" = set; then
3364 enableval="$enable_dynlib"
3365
3366 if test "$enableval" = yes; then
3367 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
3368 else
3369 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
3370 fi
3371
3372 else
3373
3374 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3375 if test "x$LINE" != x ; then
3376 eval "DEFAULT_$LINE"
3377 else
3378 no_cache=1
3379 fi
3380
3381 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3382
3383 fi
3384
3385
3386 eval "$ac_cv_use_dynlib"
3387 if test "$no_cache" != 1; then
3388 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3389 fi
3390
3391 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3392 echo "$ac_t""yes" 1>&6
3393 else
3394 echo "$ac_t""no" 1>&6
3395 fi
3396
3397
3398 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3399 echo "configure:3400: checking for --enable-longlong" >&5
3400 no_cache=0
3401 # Check whether --enable-longlong or --disable-longlong was given.
3402 if test "${enable_longlong+set}" = set; then
3403 enableval="$enable_longlong"
3404
3405 if test "$enableval" = yes; then
3406 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
3407 else
3408 ac_cv_use_longlong='wxUSE_LONGLONG=no'
3409 fi
3410
3411 else
3412
3413 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3414 if test "x$LINE" != x ; then
3415 eval "DEFAULT_$LINE"
3416 else
3417 no_cache=1
3418 fi
3419
3420 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3421
3422 fi
3423
3424
3425 eval "$ac_cv_use_longlong"
3426 if test "$no_cache" != 1; then
3427 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3428 fi
3429
3430 if test "$wxUSE_LONGLONG" = yes; then
3431 echo "$ac_t""yes" 1>&6
3432 else
3433 echo "$ac_t""no" 1>&6
3434 fi
3435
3436
3437 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3438 echo "configure:3439: checking for --enable-geometry" >&5
3439 no_cache=0
3440 # Check whether --enable-geometry or --disable-geometry was given.
3441 if test "${enable_geometry+set}" = set; then
3442 enableval="$enable_geometry"
3443
3444 if test "$enableval" = yes; then
3445 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
3446 else
3447 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
3448 fi
3449
3450 else
3451
3452 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3453 if test "x$LINE" != x ; then
3454 eval "DEFAULT_$LINE"
3455 else
3456 no_cache=1
3457 fi
3458
3459 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3460
3461 fi
3462
3463
3464 eval "$ac_cv_use_geometry"
3465 if test "$no_cache" != 1; then
3466 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3467 fi
3468
3469 if test "$wxUSE_GEOMETRY" = yes; then
3470 echo "$ac_t""yes" 1>&6
3471 else
3472 echo "$ac_t""no" 1>&6
3473 fi
3474
3475
3476 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3477 echo "configure:3478: checking for --enable-log" >&5
3478 no_cache=0
3479 # Check whether --enable-log or --disable-log was given.
3480 if test "${enable_log+set}" = set; then
3481 enableval="$enable_log"
3482
3483 if test "$enableval" = yes; then
3484 ac_cv_use_log='wxUSE_LOG=yes'
3485 else
3486 ac_cv_use_log='wxUSE_LOG=no'
3487 fi
3488
3489 else
3490
3491 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3492 if test "x$LINE" != x ; then
3493 eval "DEFAULT_$LINE"
3494 else
3495 no_cache=1
3496 fi
3497
3498 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3499
3500 fi
3501
3502
3503 eval "$ac_cv_use_log"
3504 if test "$no_cache" != 1; then
3505 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3506 fi
3507
3508 if test "$wxUSE_LOG" = yes; then
3509 echo "$ac_t""yes" 1>&6
3510 else
3511 echo "$ac_t""no" 1>&6
3512 fi
3513
3514
3515 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3516 echo "configure:3517: checking for --enable-streams" >&5
3517 no_cache=0
3518 # Check whether --enable-streams or --disable-streams was given.
3519 if test "${enable_streams+set}" = set; then
3520 enableval="$enable_streams"
3521
3522 if test "$enableval" = yes; then
3523 ac_cv_use_streams='wxUSE_STREAMS=yes'
3524 else
3525 ac_cv_use_streams='wxUSE_STREAMS=no'
3526 fi
3527
3528 else
3529
3530 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3531 if test "x$LINE" != x ; then
3532 eval "DEFAULT_$LINE"
3533 else
3534 no_cache=1
3535 fi
3536
3537 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3538
3539 fi
3540
3541
3542 eval "$ac_cv_use_streams"
3543 if test "$no_cache" != 1; then
3544 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3545 fi
3546
3547 if test "$wxUSE_STREAMS" = yes; then
3548 echo "$ac_t""yes" 1>&6
3549 else
3550 echo "$ac_t""no" 1>&6
3551 fi
3552
3553
3554 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3555 echo "configure:3556: checking for --enable-file" >&5
3556 no_cache=0
3557 # Check whether --enable-file or --disable-file was given.
3558 if test "${enable_file+set}" = set; then
3559 enableval="$enable_file"
3560
3561 if test "$enableval" = yes; then
3562 ac_cv_use_file='wxUSE_FILE=yes'
3563 else
3564 ac_cv_use_file='wxUSE_FILE=no'
3565 fi
3566
3567 else
3568
3569 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3570 if test "x$LINE" != x ; then
3571 eval "DEFAULT_$LINE"
3572 else
3573 no_cache=1
3574 fi
3575
3576 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3577
3578 fi
3579
3580
3581 eval "$ac_cv_use_file"
3582 if test "$no_cache" != 1; then
3583 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3584 fi
3585
3586 if test "$wxUSE_FILE" = yes; then
3587 echo "$ac_t""yes" 1>&6
3588 else
3589 echo "$ac_t""no" 1>&6
3590 fi
3591
3592
3593 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3594 echo "configure:3595: checking for --enable-ffile" >&5
3595 no_cache=0
3596 # Check whether --enable-ffile or --disable-ffile was given.
3597 if test "${enable_ffile+set}" = set; then
3598 enableval="$enable_ffile"
3599
3600 if test "$enableval" = yes; then
3601 ac_cv_use_ffile='wxUSE_FFILE=yes'
3602 else
3603 ac_cv_use_ffile='wxUSE_FFILE=no'
3604 fi
3605
3606 else
3607
3608 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3609 if test "x$LINE" != x ; then
3610 eval "DEFAULT_$LINE"
3611 else
3612 no_cache=1
3613 fi
3614
3615 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3616
3617 fi
3618
3619
3620 eval "$ac_cv_use_ffile"
3621 if test "$no_cache" != 1; then
3622 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3623 fi
3624
3625 if test "$wxUSE_FFILE" = yes; then
3626 echo "$ac_t""yes" 1>&6
3627 else
3628 echo "$ac_t""no" 1>&6
3629 fi
3630
3631
3632 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3633 echo "configure:3634: checking for --enable-textfile" >&5
3634 no_cache=0
3635 # Check whether --enable-textfile or --disable-textfile was given.
3636 if test "${enable_textfile+set}" = set; then
3637 enableval="$enable_textfile"
3638
3639 if test "$enableval" = yes; then
3640 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
3641 else
3642 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
3643 fi
3644
3645 else
3646
3647 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3648 if test "x$LINE" != x ; then
3649 eval "DEFAULT_$LINE"
3650 else
3651 no_cache=1
3652 fi
3653
3654 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3655
3656 fi
3657
3658
3659 eval "$ac_cv_use_textfile"
3660 if test "$no_cache" != 1; then
3661 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3662 fi
3663
3664 if test "$wxUSE_TEXTFILE" = yes; then
3665 echo "$ac_t""yes" 1>&6
3666 else
3667 echo "$ac_t""no" 1>&6
3668 fi
3669
3670
3671 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3672 echo "configure:3673: checking for --enable-fontmap" >&5
3673 no_cache=0
3674 # Check whether --enable-fontmap or --disable-fontmap was given.
3675 if test "${enable_fontmap+set}" = set; then
3676 enableval="$enable_fontmap"
3677
3678 if test "$enableval" = yes; then
3679 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
3680 else
3681 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
3682 fi
3683
3684 else
3685
3686 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3687 if test "x$LINE" != x ; then
3688 eval "DEFAULT_$LINE"
3689 else
3690 no_cache=1
3691 fi
3692
3693 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3694
3695 fi
3696
3697
3698 eval "$ac_cv_use_fontmap"
3699 if test "$no_cache" != 1; then
3700 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3701 fi
3702
3703 if test "$wxUSE_FONTMAP" = yes; then
3704 echo "$ac_t""yes" 1>&6
3705 else
3706 echo "$ac_t""no" 1>&6
3707 fi
3708
3709
3710 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3711 echo "configure:3712: checking for --enable-unicode" >&5
3712 no_cache=0
3713 # Check whether --enable-unicode or --disable-unicode was given.
3714 if test "${enable_unicode+set}" = set; then
3715 enableval="$enable_unicode"
3716
3717 if test "$enableval" = yes; then
3718 ac_cv_use_unicode='wxUSE_UNICODE=yes'
3719 else
3720 ac_cv_use_unicode='wxUSE_UNICODE=no'
3721 fi
3722
3723 else
3724
3725 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3726 if test "x$LINE" != x ; then
3727 eval "DEFAULT_$LINE"
3728 else
3729 no_cache=1
3730 fi
3731
3732 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3733
3734 fi
3735
3736
3737 eval "$ac_cv_use_unicode"
3738 if test "$no_cache" != 1; then
3739 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3740 fi
3741
3742 if test "$wxUSE_UNICODE" = yes; then
3743 echo "$ac_t""yes" 1>&6
3744 else
3745 echo "$ac_t""no" 1>&6
3746 fi
3747
3748
3749 echo $ac_n "checking for --enable-wcsrtombs""... $ac_c" 1>&6
3750 echo "configure:3751: checking for --enable-wcsrtombs" >&5
3751 no_cache=0
3752 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3753 if test "${enable_wcsrtombs+set}" = set; then
3754 enableval="$enable_wcsrtombs"
3755
3756 if test "$enableval" = yes; then
3757 ac_cv_use_wcsrtombs='wxUSE_WCSRTOMBS=yes'
3758 else
3759 ac_cv_use_wcsrtombs='wxUSE_WCSRTOMBS=no'
3760 fi
3761
3762 else
3763
3764 LINE=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3765 if test "x$LINE" != x ; then
3766 eval "DEFAULT_$LINE"
3767 else
3768 no_cache=1
3769 fi
3770
3771 ac_cv_use_wcsrtombs='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3772
3773 fi
3774
3775
3776 eval "$ac_cv_use_wcsrtombs"
3777 if test "$no_cache" != 1; then
3778 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3779 fi
3780
3781 if test "$wxUSE_WCSRTOMBS" = yes; then
3782 echo "$ac_t""yes" 1>&6
3783 else
3784 echo "$ac_t""no" 1>&6
3785 fi
3786
3787
3788 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3789 echo "configure:3790: checking for --enable-wxprintfv" >&5
3790 no_cache=0
3791 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3792 if test "${enable_wxprintfv+set}" = set; then
3793 enableval="$enable_wxprintfv"
3794
3795 if test "$enableval" = yes; then
3796 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
3797 else
3798 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
3799 fi
3800
3801 else
3802
3803 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3804 if test "x$LINE" != x ; then
3805 eval "DEFAULT_$LINE"
3806 else
3807 no_cache=1
3808 fi
3809
3810 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3811
3812 fi
3813
3814
3815 eval "$ac_cv_use_wxprintfv"
3816 if test "$no_cache" != 1; then
3817 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3818 fi
3819
3820 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3821 echo "$ac_t""yes" 1>&6
3822 else
3823 echo "$ac_t""no" 1>&6
3824 fi
3825
3826
3827 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3828 echo "configure:3829: checking for --enable-std_iostreams" >&5
3829 no_cache=0
3830 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3831 if test "${enable_std_iostreams+set}" = set; then
3832 enableval="$enable_std_iostreams"
3833
3834 if test "$enableval" = yes; then
3835 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
3836 else
3837 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
3838 fi
3839
3840 else
3841
3842 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3843 if test "x$LINE" != x ; then
3844 eval "DEFAULT_$LINE"
3845 else
3846 no_cache=1
3847 fi
3848
3849 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3850
3851 fi
3852
3853
3854 eval "$ac_cv_use_std_iostreams"
3855 if test "$no_cache" != 1; then
3856 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3857 fi
3858
3859 if test "$wxUSE_STD_IOSTREAM" = yes; then
3860 echo "$ac_t""yes" 1>&6
3861 else
3862 echo "$ac_t""no" 1>&6
3863 fi
3864
3865
3866 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3867 echo "configure:3868: checking for --enable-filesystem" >&5
3868 no_cache=0
3869 # Check whether --enable-filesystem or --disable-filesystem was given.
3870 if test "${enable_filesystem+set}" = set; then
3871 enableval="$enable_filesystem"
3872
3873 if test "$enableval" = yes; then
3874 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
3875 else
3876 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
3877 fi
3878
3879 else
3880
3881 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3882 if test "x$LINE" != x ; then
3883 eval "DEFAULT_$LINE"
3884 else
3885 no_cache=1
3886 fi
3887
3888 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3889
3890 fi
3891
3892
3893 eval "$ac_cv_use_filesystem"
3894 if test "$no_cache" != 1; then
3895 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3896 fi
3897
3898 if test "$wxUSE_FILESYSTEM" = yes; then
3899 echo "$ac_t""yes" 1>&6
3900 else
3901 echo "$ac_t""no" 1>&6
3902 fi
3903
3904
3905 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3906 echo "configure:3907: checking for --enable-fs_inet" >&5
3907 no_cache=0
3908 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3909 if test "${enable_fs_inet+set}" = set; then
3910 enableval="$enable_fs_inet"
3911
3912 if test "$enableval" = yes; then
3913 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
3914 else
3915 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
3916 fi
3917
3918 else
3919
3920 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3921 if test "x$LINE" != x ; then
3922 eval "DEFAULT_$LINE"
3923 else
3924 no_cache=1
3925 fi
3926
3927 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3928
3929 fi
3930
3931
3932 eval "$ac_cv_use_fs_inet"
3933 if test "$no_cache" != 1; then
3934 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3935 fi
3936
3937 if test "$wxUSE_FS_INET" = yes; then
3938 echo "$ac_t""yes" 1>&6
3939 else
3940 echo "$ac_t""no" 1>&6
3941 fi
3942
3943
3944 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3945 echo "configure:3946: checking for --enable-fs_zip" >&5
3946 no_cache=0
3947 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3948 if test "${enable_fs_zip+set}" = set; then
3949 enableval="$enable_fs_zip"
3950
3951 if test "$enableval" = yes; then
3952 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
3953 else
3954 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
3955 fi
3956
3957 else
3958
3959 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3960 if test "x$LINE" != x ; then
3961 eval "DEFAULT_$LINE"
3962 else
3963 no_cache=1
3964 fi
3965
3966 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3967
3968 fi
3969
3970
3971 eval "$ac_cv_use_fs_zip"
3972 if test "$no_cache" != 1; then
3973 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3974 fi
3975
3976 if test "$wxUSE_FS_ZIP" = yes; then
3977 echo "$ac_t""yes" 1>&6
3978 else
3979 echo "$ac_t""no" 1>&6
3980 fi
3981
3982
3983 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
3984 echo "configure:3985: checking for --enable-zipstream" >&5
3985 no_cache=0
3986 # Check whether --enable-zipstream or --disable-zipstream was given.
3987 if test "${enable_zipstream+set}" = set; then
3988 enableval="$enable_zipstream"
3989
3990 if test "$enableval" = yes; then
3991 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
3992 else
3993 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
3994 fi
3995
3996 else
3997
3998 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3999 if test "x$LINE" != x ; then
4000 eval "DEFAULT_$LINE"
4001 else
4002 no_cache=1
4003 fi
4004
4005 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4006
4007 fi
4008
4009
4010 eval "$ac_cv_use_zipstream"
4011 if test "$no_cache" != 1; then
4012 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4013 fi
4014
4015 if test "$wxUSE_ZIPSTREAM" = yes; then
4016 echo "$ac_t""yes" 1>&6
4017 else
4018 echo "$ac_t""no" 1>&6
4019 fi
4020
4021
4022
4023 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4024 echo "configure:4025: checking for --enable-catch_segvs" >&5
4025 no_cache=0
4026 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4027 if test "${enable_catch_segvs+set}" = set; then
4028 enableval="$enable_catch_segvs"
4029
4030 if test "$enableval" = yes; then
4031 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4032 else
4033 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4034 fi
4035
4036 else
4037
4038 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4039 if test "x$LINE" != x ; then
4040 eval "DEFAULT_$LINE"
4041 else
4042 no_cache=1
4043 fi
4044
4045 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4046
4047 fi
4048
4049
4050 eval "$ac_cv_use_catch_segvs"
4051 if test "$no_cache" != 1; then
4052 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4053 fi
4054
4055 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4056 echo "$ac_t""yes" 1>&6
4057 else
4058 echo "$ac_t""no" 1>&6
4059 fi
4060
4061
4062 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4063 echo "configure:4064: checking for --enable-snglinst" >&5
4064 no_cache=0
4065 # Check whether --enable-snglinst or --disable-snglinst was given.
4066 if test "${enable_snglinst+set}" = set; then
4067 enableval="$enable_snglinst"
4068
4069 if test "$enableval" = yes; then
4070 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
4071 else
4072 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
4073 fi
4074
4075 else
4076
4077 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4078 if test "x$LINE" != x ; then
4079 eval "DEFAULT_$LINE"
4080 else
4081 no_cache=1
4082 fi
4083
4084 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4085
4086 fi
4087
4088
4089 eval "$ac_cv_use_snglinst"
4090 if test "$no_cache" != 1; then
4091 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4092 fi
4093
4094 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4095 echo "$ac_t""yes" 1>&6
4096 else
4097 echo "$ac_t""no" 1>&6
4098 fi
4099
4100
4101
4102 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4103 echo "configure:4104: checking for --enable-mimetype" >&5
4104 no_cache=0
4105 # Check whether --enable-mimetype or --disable-mimetype was given.
4106 if test "${enable_mimetype+set}" = set; then
4107 enableval="$enable_mimetype"
4108
4109 if test "$enableval" = yes; then
4110 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
4111 else
4112 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
4113 fi
4114
4115 else
4116
4117 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4118 if test "x$LINE" != x ; then
4119 eval "DEFAULT_$LINE"
4120 else
4121 no_cache=1
4122 fi
4123
4124 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4125
4126 fi
4127
4128
4129 eval "$ac_cv_use_mimetype"
4130 if test "$no_cache" != 1; then
4131 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4132 fi
4133
4134 if test "$wxUSE_MIMETYPE" = yes; then
4135 echo "$ac_t""yes" 1>&6
4136 else
4137 echo "$ac_t""no" 1>&6
4138 fi
4139
4140
4141 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4142 echo "configure:4143: checking for --enable-system_options" >&5
4143 no_cache=0
4144 # Check whether --enable-system_options or --disable-system_options was given.
4145 if test "${enable_system_options+set}" = set; then
4146 enableval="$enable_system_options"
4147
4148 if test "$enableval" = yes; then
4149 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
4150 else
4151 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
4152 fi
4153
4154 else
4155
4156 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4157 if test "x$LINE" != x ; then
4158 eval "DEFAULT_$LINE"
4159 else
4160 no_cache=1
4161 fi
4162
4163 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4164
4165 fi
4166
4167
4168 eval "$ac_cv_use_system_options"
4169 if test "$no_cache" != 1; then
4170 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4171 fi
4172
4173 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4174 echo "$ac_t""yes" 1>&6
4175 else
4176 echo "$ac_t""no" 1>&6
4177 fi
4178
4179
4180
4181
4182 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4183 echo "configure:4184: checking for --enable-threads" >&5
4184 no_cache=0
4185 # Check whether --enable-threads or --disable-threads was given.
4186 if test "${enable_threads+set}" = set; then
4187 enableval="$enable_threads"
4188
4189 if test "$enableval" = yes; then
4190 ac_cv_use_threads='wxUSE_THREADS=yes'
4191 else
4192 ac_cv_use_threads='wxUSE_THREADS=no'
4193 fi
4194
4195 else
4196
4197 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4198 if test "x$LINE" != x ; then
4199 eval "DEFAULT_$LINE"
4200 else
4201 no_cache=1
4202 fi
4203
4204 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4205
4206 fi
4207
4208
4209 eval "$ac_cv_use_threads"
4210 if test "$no_cache" != 1; then
4211 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4212 fi
4213
4214 if test "$wxUSE_THREADS" = yes; then
4215 echo "$ac_t""yes" 1>&6
4216 else
4217 echo "$ac_t""no" 1>&6
4218 fi
4219
4220
4221 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4222 echo "configure:4223: checking for --enable-serial" >&5
4223 no_cache=0
4224 # Check whether --enable-serial or --disable-serial was given.
4225 if test "${enable_serial+set}" = set; then
4226 enableval="$enable_serial"
4227
4228 if test "$enableval" = yes; then
4229 ac_cv_use_serial='wxUSE_SERIAL=yes'
4230 else
4231 ac_cv_use_serial='wxUSE_SERIAL=no'
4232 fi
4233
4234 else
4235
4236 LINE=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4237 if test "x$LINE" != x ; then
4238 eval "DEFAULT_$LINE"
4239 else
4240 no_cache=1
4241 fi
4242
4243 ac_cv_use_serial='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4244
4245 fi
4246
4247
4248 eval "$ac_cv_use_serial"
4249 if test "$no_cache" != 1; then
4250 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4251 fi
4252
4253 if test "$wxUSE_SERIAL" = yes; then
4254 echo "$ac_t""yes" 1>&6
4255 else
4256 echo "$ac_t""no" 1>&6
4257 fi
4258
4259
4260 if test "$wxUSE_GUI" = "yes"; then
4261
4262
4263
4264 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4265 echo "configure:4266: checking for --enable-docview" >&5
4266 no_cache=0
4267 # Check whether --enable-docview or --disable-docview was given.
4268 if test "${enable_docview+set}" = set; then
4269 enableval="$enable_docview"
4270
4271 if test "$enableval" = yes; then
4272 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4273 else
4274 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4275 fi
4276
4277 else
4278
4279 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4280 if test "x$LINE" != x ; then
4281 eval "DEFAULT_$LINE"
4282 else
4283 no_cache=1
4284 fi
4285
4286 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4287
4288 fi
4289
4290
4291 eval "$ac_cv_use_docview"
4292 if test "$no_cache" != 1; then
4293 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4294 fi
4295
4296 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4297 echo "$ac_t""yes" 1>&6
4298 else
4299 echo "$ac_t""no" 1>&6
4300 fi
4301
4302
4303 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4304 echo "configure:4305: checking for --enable-help" >&5
4305 no_cache=0
4306 # Check whether --enable-help or --disable-help was given.
4307 if test "${enable_help+set}" = set; then
4308 enableval="$enable_help"
4309
4310 if test "$enableval" = yes; then
4311 ac_cv_use_help='wxUSE_HELP=yes'
4312 else
4313 ac_cv_use_help='wxUSE_HELP=no'
4314 fi
4315
4316 else
4317
4318 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4319 if test "x$LINE" != x ; then
4320 eval "DEFAULT_$LINE"
4321 else
4322 no_cache=1
4323 fi
4324
4325 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4326
4327 fi
4328
4329
4330 eval "$ac_cv_use_help"
4331 if test "$no_cache" != 1; then
4332 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4333 fi
4334
4335 if test "$wxUSE_HELP" = yes; then
4336 echo "$ac_t""yes" 1>&6
4337 else
4338 echo "$ac_t""no" 1>&6
4339 fi
4340
4341
4342 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4343 echo "configure:4344: checking for --enable-mshtmlhelp" >&5
4344 no_cache=0
4345 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4346 if test "${enable_mshtmlhelp+set}" = set; then
4347 enableval="$enable_mshtmlhelp"
4348
4349 if test "$enableval" = yes; then
4350 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
4351 else
4352 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
4353 fi
4354
4355 else
4356
4357 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4358 if test "x$LINE" != x ; then
4359 eval "DEFAULT_$LINE"
4360 else
4361 no_cache=1
4362 fi
4363
4364 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4365
4366 fi
4367
4368
4369 eval "$ac_cv_use_mshtmlhelp"
4370 if test "$no_cache" != 1; then
4371 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4372 fi
4373
4374 if test "$wxUSE_MS_HTML_HELP" = yes; then
4375 echo "$ac_t""yes" 1>&6
4376 else
4377 echo "$ac_t""no" 1>&6
4378 fi
4379
4380
4381 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4382 echo "configure:4383: checking for --enable-html" >&5
4383 no_cache=0
4384 # Check whether --enable-html or --disable-html was given.
4385 if test "${enable_html+set}" = set; then
4386 enableval="$enable_html"
4387
4388 if test "$enableval" = yes; then
4389 ac_cv_use_html='wxUSE_HTML=yes'
4390 else
4391 ac_cv_use_html='wxUSE_HTML=no'
4392 fi
4393
4394 else
4395
4396 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4397 if test "x$LINE" != x ; then
4398 eval "DEFAULT_$LINE"
4399 else
4400 no_cache=1
4401 fi
4402
4403 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4404
4405 fi
4406
4407
4408 eval "$ac_cv_use_html"
4409 if test "$no_cache" != 1; then
4410 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4411 fi
4412
4413 if test "$wxUSE_HTML" = yes; then
4414 echo "$ac_t""yes" 1>&6
4415 else
4416 echo "$ac_t""no" 1>&6
4417 fi
4418
4419
4420 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4421 echo "configure:4422: checking for --enable-htmlhelp" >&5
4422 no_cache=0
4423 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4424 if test "${enable_htmlhelp+set}" = set; then
4425 enableval="$enable_htmlhelp"
4426
4427 if test "$enableval" = yes; then
4428 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
4429 else
4430 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
4431 fi
4432
4433 else
4434
4435 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4436 if test "x$LINE" != x ; then
4437 eval "DEFAULT_$LINE"
4438 else
4439 no_cache=1
4440 fi
4441
4442 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4443
4444 fi
4445
4446
4447 eval "$ac_cv_use_htmlhelp"
4448 if test "$no_cache" != 1; then
4449 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4450 fi
4451
4452 if test "$wxUSE_WXHTML_HELP" = yes; then
4453 echo "$ac_t""yes" 1>&6
4454 else
4455 echo "$ac_t""no" 1>&6
4456 fi
4457
4458
4459 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4460 echo "configure:4461: checking for --enable-constraints" >&5
4461 no_cache=0
4462 # Check whether --enable-constraints or --disable-constraints was given.
4463 if test "${enable_constraints+set}" = set; then
4464 enableval="$enable_constraints"
4465
4466 if test "$enableval" = yes; then
4467 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
4468 else
4469 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
4470 fi
4471
4472 else
4473
4474 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4475 if test "x$LINE" != x ; then
4476 eval "DEFAULT_$LINE"
4477 else
4478 no_cache=1
4479 fi
4480
4481 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4482
4483 fi
4484
4485
4486 eval "$ac_cv_use_constraints"
4487 if test "$no_cache" != 1; then
4488 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4489 fi
4490
4491 if test "$wxUSE_CONSTRAINTS" = yes; then
4492 echo "$ac_t""yes" 1>&6
4493 else
4494 echo "$ac_t""no" 1>&6
4495 fi
4496
4497
4498 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4499 echo "configure:4500: checking for --enable-printarch" >&5
4500 no_cache=0
4501 # Check whether --enable-printarch or --disable-printarch was given.
4502 if test "${enable_printarch+set}" = set; then
4503 enableval="$enable_printarch"
4504
4505 if test "$enableval" = yes; then
4506 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
4507 else
4508 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
4509 fi
4510
4511 else
4512
4513 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4514 if test "x$LINE" != x ; then
4515 eval "DEFAULT_$LINE"
4516 else
4517 no_cache=1
4518 fi
4519
4520 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4521
4522 fi
4523
4524
4525 eval "$ac_cv_use_printarch"
4526 if test "$no_cache" != 1; then
4527 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4528 fi
4529
4530 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4531 echo "$ac_t""yes" 1>&6
4532 else
4533 echo "$ac_t""no" 1>&6
4534 fi
4535
4536
4537 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4538 echo "configure:4539: checking for --enable-mdi" >&5
4539 no_cache=0
4540 # Check whether --enable-mdi or --disable-mdi was given.
4541 if test "${enable_mdi+set}" = set; then
4542 enableval="$enable_mdi"
4543
4544 if test "$enableval" = yes; then
4545 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
4546 else
4547 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
4548 fi
4549
4550 else
4551
4552 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4553 if test "x$LINE" != x ; then
4554 eval "DEFAULT_$LINE"
4555 else
4556 no_cache=1
4557 fi
4558
4559 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4560
4561 fi
4562
4563
4564 eval "$ac_cv_use_mdi"
4565 if test "$no_cache" != 1; then
4566 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4567 fi
4568
4569 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4570 echo "$ac_t""yes" 1>&6
4571 else
4572 echo "$ac_t""no" 1>&6
4573 fi
4574
4575
4576 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4577 echo "configure:4578: checking for --enable-loggui" >&5
4578 no_cache=0
4579 # Check whether --enable-loggui or --disable-loggui was given.
4580 if test "${enable_loggui+set}" = set; then
4581 enableval="$enable_loggui"
4582
4583 if test "$enableval" = yes; then
4584 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
4585 else
4586 ac_cv_use_loggui='wxUSE_LOGGUI=no'
4587 fi
4588
4589 else
4590
4591 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4592 if test "x$LINE" != x ; then
4593 eval "DEFAULT_$LINE"
4594 else
4595 no_cache=1
4596 fi
4597
4598 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4599
4600 fi
4601
4602
4603 eval "$ac_cv_use_loggui"
4604 if test "$no_cache" != 1; then
4605 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4606 fi
4607
4608 if test "$wxUSE_LOGGUI" = yes; then
4609 echo "$ac_t""yes" 1>&6
4610 else
4611 echo "$ac_t""no" 1>&6
4612 fi
4613
4614
4615 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4616 echo "configure:4617: checking for --enable-logwin" >&5
4617 no_cache=0
4618 # Check whether --enable-logwin or --disable-logwin was given.
4619 if test "${enable_logwin+set}" = set; then
4620 enableval="$enable_logwin"
4621
4622 if test "$enableval" = yes; then
4623 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
4624 else
4625 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
4626 fi
4627
4628 else
4629
4630 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4631 if test "x$LINE" != x ; then
4632 eval "DEFAULT_$LINE"
4633 else
4634 no_cache=1
4635 fi
4636
4637 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4638
4639 fi
4640
4641
4642 eval "$ac_cv_use_logwin"
4643 if test "$no_cache" != 1; then
4644 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4645 fi
4646
4647 if test "$wxUSE_LOGWINDOW" = yes; then
4648 echo "$ac_t""yes" 1>&6
4649 else
4650 echo "$ac_t""no" 1>&6
4651 fi
4652
4653
4654
4655 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4656 echo "configure:4657: checking for --enable-postscript" >&5
4657 no_cache=0
4658 # Check whether --enable-postscript or --disable-postscript was given.
4659 if test "${enable_postscript+set}" = set; then
4660 enableval="$enable_postscript"
4661
4662 if test "$enableval" = yes; then
4663 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
4664 else
4665 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
4666 fi
4667
4668 else
4669
4670 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4671 if test "x$LINE" != x ; then
4672 eval "DEFAULT_$LINE"
4673 else
4674 no_cache=1
4675 fi
4676
4677 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4678
4679 fi
4680
4681
4682 eval "$ac_cv_use_postscript"
4683 if test "$no_cache" != 1; then
4684 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4685 fi
4686
4687 if test "$wxUSE_POSTSCRIPT" = yes; then
4688 echo "$ac_t""yes" 1>&6
4689 else
4690 echo "$ac_t""no" 1>&6
4691 fi
4692
4693
4694
4695
4696
4697 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4698 echo "configure:4699: checking for --enable-prologio" >&5
4699 no_cache=0
4700 # Check whether --enable-prologio or --disable-prologio was given.
4701 if test "${enable_prologio+set}" = set; then
4702 enableval="$enable_prologio"
4703
4704 if test "$enableval" = yes; then
4705 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
4706 else
4707 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
4708 fi
4709
4710 else
4711
4712 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4713 if test "x$LINE" != x ; then
4714 eval "DEFAULT_$LINE"
4715 else
4716 no_cache=1
4717 fi
4718
4719 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4720
4721 fi
4722
4723
4724 eval "$ac_cv_use_prologio"
4725 if test "$no_cache" != 1; then
4726 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4727 fi
4728
4729 if test "$wxUSE_PROLOGIO" = yes; then
4730 echo "$ac_t""yes" 1>&6
4731 else
4732 echo "$ac_t""no" 1>&6
4733 fi
4734
4735
4736 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4737 echo "configure:4738: checking for --enable-resources" >&5
4738 no_cache=0
4739 # Check whether --enable-resources or --disable-resources was given.
4740 if test "${enable_resources+set}" = set; then
4741 enableval="$enable_resources"
4742
4743 if test "$enableval" = yes; then
4744 ac_cv_use_resources='wxUSE_RESOURCES=yes'
4745 else
4746 ac_cv_use_resources='wxUSE_RESOURCES=no'
4747 fi
4748
4749 else
4750
4751 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4752 if test "x$LINE" != x ; then
4753 eval "DEFAULT_$LINE"
4754 else
4755 no_cache=1
4756 fi
4757
4758 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4759
4760 fi
4761
4762
4763 eval "$ac_cv_use_resources"
4764 if test "$no_cache" != 1; then
4765 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4766 fi
4767
4768 if test "$wxUSE_RESOURCES" = yes; then
4769 echo "$ac_t""yes" 1>&6
4770 else
4771 echo "$ac_t""no" 1>&6
4772 fi
4773
4774
4775
4776 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4777 echo "configure:4778: checking for --enable-xresources" >&5
4778 no_cache=0
4779 # Check whether --enable-xresources or --disable-xresources was given.
4780 if test "${enable_xresources+set}" = set; then
4781 enableval="$enable_xresources"
4782
4783 if test "$enableval" = yes; then
4784 ac_cv_use_xresources='wxUSE_X_RESOURCES=yes'
4785 else
4786 ac_cv_use_xresources='wxUSE_X_RESOURCES=no'
4787 fi
4788
4789 else
4790
4791 LINE=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4792 if test "x$LINE" != x ; then
4793 eval "DEFAULT_$LINE"
4794 else
4795 no_cache=1
4796 fi
4797
4798 ac_cv_use_xresources='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4799
4800 fi
4801
4802
4803 eval "$ac_cv_use_xresources"
4804 if test "$no_cache" != 1; then
4805 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4806 fi
4807
4808 if test "$wxUSE_X_RESOURCES" = yes; then
4809 echo "$ac_t""yes" 1>&6
4810 else
4811 echo "$ac_t""no" 1>&6
4812 fi
4813
4814
4815
4816
4817 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4818 echo "configure:4819: checking for --enable-clipboard" >&5
4819 no_cache=0
4820 # Check whether --enable-clipboard or --disable-clipboard was given.
4821 if test "${enable_clipboard+set}" = set; then
4822 enableval="$enable_clipboard"
4823
4824 if test "$enableval" = yes; then
4825 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
4826 else
4827 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
4828 fi
4829
4830 else
4831
4832 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4833 if test "x$LINE" != x ; then
4834 eval "DEFAULT_$LINE"
4835 else
4836 no_cache=1
4837 fi
4838
4839 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4840
4841 fi
4842
4843
4844 eval "$ac_cv_use_clipboard"
4845 if test "$no_cache" != 1; then
4846 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4847 fi
4848
4849 if test "$wxUSE_CLIPBOARD" = yes; then
4850 echo "$ac_t""yes" 1>&6
4851 else
4852 echo "$ac_t""no" 1>&6
4853 fi
4854
4855
4856 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4857 echo "configure:4858: checking for --enable-dnd" >&5
4858 no_cache=0
4859 # Check whether --enable-dnd or --disable-dnd was given.
4860 if test "${enable_dnd+set}" = set; then
4861 enableval="$enable_dnd"
4862
4863 if test "$enableval" = yes; then
4864 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
4865 else
4866 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
4867 fi
4868
4869 else
4870
4871 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4872 if test "x$LINE" != x ; then
4873 eval "DEFAULT_$LINE"
4874 else
4875 no_cache=1
4876 fi
4877
4878 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4879
4880 fi
4881
4882
4883 eval "$ac_cv_use_dnd"
4884 if test "$no_cache" != 1; then
4885 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4886 fi
4887
4888 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4889 echo "$ac_t""yes" 1>&6
4890 else
4891 echo "$ac_t""no" 1>&6
4892 fi
4893
4894
4895 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4896 echo "configure:4897: checking for --enable-metafile" >&5
4897 no_cache=0
4898 # Check whether --enable-metafile or --disable-metafile was given.
4899 if test "${enable_metafile+set}" = set; then
4900 enableval="$enable_metafile"
4901
4902 if test "$enableval" = yes; then
4903 ac_cv_use_metafile='wxUSE_METAFILE=yes'
4904 else
4905 ac_cv_use_metafile='wxUSE_METAFILE=no'
4906 fi
4907
4908 else
4909
4910 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4911 if test "x$LINE" != x ; then
4912 eval "DEFAULT_$LINE"
4913 else
4914 no_cache=1
4915 fi
4916
4917 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4918
4919 fi
4920
4921
4922 eval "$ac_cv_use_metafile"
4923 if test "$no_cache" != 1; then
4924 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4925 fi
4926
4927 if test "$wxUSE_METAFILE" = yes; then
4928 echo "$ac_t""yes" 1>&6
4929 else
4930 echo "$ac_t""no" 1>&6
4931 fi
4932
4933
4934
4935 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
4936 echo "configure:4937: checking for --enable-treelayout" >&5
4937 no_cache=0
4938 # Check whether --enable-treelayout or --disable-treelayout was given.
4939 if test "${enable_treelayout+set}" = set; then
4940 enableval="$enable_treelayout"
4941
4942 if test "$enableval" = yes; then
4943 ac_cv_use_treelayout='wxUSE_TREELAYOUT=yes'
4944 else
4945 ac_cv_use_treelayout='wxUSE_TREELAYOUT=no'
4946 fi
4947
4948 else
4949
4950 LINE=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
4951 if test "x$LINE" != x ; then
4952 eval "DEFAULT_$LINE"
4953 else
4954 no_cache=1
4955 fi
4956
4957 ac_cv_use_treelayout='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
4958
4959 fi
4960
4961
4962 eval "$ac_cv_use_treelayout"
4963 if test "$no_cache" != 1; then
4964 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
4965 fi
4966
4967 if test "$wxUSE_TREELAYOUT" = yes; then
4968 echo "$ac_t""yes" 1>&6
4969 else
4970 echo "$ac_t""no" 1>&6
4971 fi
4972
4973
4974
4975
4976 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
4977 echo "configure:4978: checking for --enable-controls" >&5
4978 no_cache=0
4979 # Check whether --enable-controls or --disable-controls was given.
4980 if test "${enable_controls+set}" = set; then
4981 enableval="$enable_controls"
4982
4983 if test "$enableval" = yes; then
4984 ac_cv_use_controls='wxUSE_CONTROLS=yes'
4985 else
4986 ac_cv_use_controls='wxUSE_CONTROLS=no'
4987 fi
4988
4989 else
4990
4991 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
4992 if test "x$LINE" != x ; then
4993 eval "DEFAULT_$LINE"
4994 else
4995 no_cache=1
4996 fi
4997
4998 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
4999
5000 fi
5001
5002
5003 eval "$ac_cv_use_controls"
5004 if test "$no_cache" != 1; then
5005 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5006 fi
5007
5008 if test "$wxUSE_CONTROLS" = yes; then
5009 echo "$ac_t""yes" 1>&6
5010 else
5011 echo "$ac_t""no" 1>&6
5012 fi
5013
5014
5015 if test "$wxUSE_CONTROLS" = "yes"; then
5016 DEFAULT_wxUSE_ACCEL=yes
5017 DEFAULT_wxUSE_BMPBUTTON=yes
5018 DEFAULT_wxUSE_BUTTON=yes
5019 DEFAULT_wxUSE_CALCTRL=no
5020 DEFAULT_wxUSE_CARET=yes
5021 DEFAULT_wxUSE_COMBOBOX=yes
5022 DEFAULT_wxUSE_CHECKBOX=yes
5023 DEFAULT_wxUSE_CHECKLISTBOX=yes
5024 DEFAULT_wxUSE_CHOICE=yes
5025 DEFAULT_wxUSE_GAUGE=yes
5026 DEFAULT_wxUSE_GRID=yes
5027 DEFAULT_wxUSE_NEW_GRID=yes
5028 DEFAULT_wxUSE_IMAGLIST=yes
5029 DEFAULT_wxUSE_LISTBOX=yes
5030 DEFAULT_wxUSE_LISTCTRL=yes
5031 DEFAULT_wxUSE_NOTEBOOK=yes
5032 DEFAULT_wxUSE_PROPSHEET=yes
5033 DEFAULT_wxUSE_RADIOBOX=yes
5034 DEFAULT_wxUSE_RADIOBTN=yes
5035 DEFAULT_wxUSE_SASH=yes
5036 DEFAULT_wxUSE_SCROLLBAR=yes
5037 DEFAULT_wxUSE_SLIDER=yes
5038 DEFAULT_wxUSE_SPINBTN=yes
5039 DEFAULT_wxUSE_SPINCTRL=yes
5040 DEFAULT_wxUSE_SPLITTER=yes
5041 DEFAULT_wxUSE_STATBMP=yes
5042 DEFAULT_wxUSE_STATBOX=yes
5043 DEFAULT_wxUSE_STATLINE=yes
5044 DEFAULT_wxUSE_STATUSBAR=yes
5045 DEFAULT_wxUSE_TAB_DIALOG=yes
5046 DEFAULT_wxUSE_TOGGLEBTN=yes
5047 DEFAULT_wxUSE_TOOLBAR=yes
5048 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
5049 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
5050 DEFAULT_wxUSE_TOOLTIPS=yes
5051 DEFAULT_wxUSE_TREECTRL=yes
5052 DEFAULT_wxUSE_POPUPWIN=yes
5053 elif test "$wxUSE_CONTROLS" = "no"; then
5054 DEFAULT_wxUSE_ACCEL=no
5055 DEFAULT_wxUSE_BMPBUTTON=no
5056 DEFAULT_wxUSE_BUTTON=no
5057 DEFAULT_wxUSE_CALCTRL=no
5058 DEFAULT_wxUSE_CARET=no
5059 DEFAULT_wxUSE_COMBOBOX=no
5060 DEFAULT_wxUSE_CHECKBOX=no
5061 DEFAULT_wxUSE_CHECKLISTBOX=no
5062 DEFAULT_wxUSE_CHOICE=no
5063 DEFAULT_wxUSE_GAUGE=no
5064 DEFAULT_wxUSE_GRID=no
5065 DEFAULT_wxUSE_NEW_GRID=no
5066 DEFAULT_wxUSE_IMAGLIST=no
5067 DEFAULT_wxUSE_LISTBOX=no
5068 DEFAULT_wxUSE_LISTCTRL=no
5069 DEFAULT_wxUSE_NOTEBOOK=no
5070 DEFAULT_wxUSE_PROPSHEET=no
5071 DEFAULT_wxUSE_RADIOBOX=no
5072 DEFAULT_wxUSE_RADIOBTN=no
5073 DEFAULT_wxUSE_SASH=no
5074 DEFAULT_wxUSE_SCROLLBAR=no
5075 DEFAULT_wxUSE_SLIDER=no
5076 DEFAULT_wxUSE_SPINBTN=no
5077 DEFAULT_wxUSE_SPINCTRL=no
5078 DEFAULT_wxUSE_SPLITTER=no
5079 DEFAULT_wxUSE_STATBMP=no
5080 DEFAULT_wxUSE_STATBOX=no
5081 DEFAULT_wxUSE_STATLINE=no
5082 DEFAULT_wxUSE_STATUSBAR=no
5083 DEFAULT_wxUSE_TAB_DIALOG=no
5084 DEFAULT_wxUSE_TOGGLEBTN=no
5085 DEFAULT_wxUSE_TOOLBAR=no
5086 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
5087 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
5088 DEFAULT_wxUSE_TOOLTIPS=no
5089 DEFAULT_wxUSE_TREECTRL=no
5090 DEFAULT_wxUSE_POPUPWIN=no
5091 fi
5092
5093
5094 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5095 echo "configure:5096: checking for --enable-accel" >&5
5096 no_cache=0
5097 # Check whether --enable-accel or --disable-accel was given.
5098 if test "${enable_accel+set}" = set; then
5099 enableval="$enable_accel"
5100
5101 if test "$enableval" = yes; then
5102 ac_cv_use_accel='wxUSE_ACCEL=yes'
5103 else
5104 ac_cv_use_accel='wxUSE_ACCEL=no'
5105 fi
5106
5107 else
5108
5109 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5110 if test "x$LINE" != x ; then
5111 eval "DEFAULT_$LINE"
5112 else
5113 no_cache=1
5114 fi
5115
5116 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5117
5118 fi
5119
5120
5121 eval "$ac_cv_use_accel"
5122 if test "$no_cache" != 1; then
5123 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5124 fi
5125
5126 if test "$wxUSE_ACCEL" = yes; then
5127 echo "$ac_t""yes" 1>&6
5128 else
5129 echo "$ac_t""no" 1>&6
5130 fi
5131
5132
5133 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5134 echo "configure:5135: checking for --enable-button" >&5
5135 no_cache=0
5136 # Check whether --enable-button or --disable-button was given.
5137 if test "${enable_button+set}" = set; then
5138 enableval="$enable_button"
5139
5140 if test "$enableval" = yes; then
5141 ac_cv_use_button='wxUSE_BUTTON=yes'
5142 else
5143 ac_cv_use_button='wxUSE_BUTTON=no'
5144 fi
5145
5146 else
5147
5148 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5149 if test "x$LINE" != x ; then
5150 eval "DEFAULT_$LINE"
5151 else
5152 no_cache=1
5153 fi
5154
5155 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5156
5157 fi
5158
5159
5160 eval "$ac_cv_use_button"
5161 if test "$no_cache" != 1; then
5162 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5163 fi
5164
5165 if test "$wxUSE_BUTTON" = yes; then
5166 echo "$ac_t""yes" 1>&6
5167 else
5168 echo "$ac_t""no" 1>&6
5169 fi
5170
5171
5172 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5173 echo "configure:5174: checking for --enable-bmpbutton" >&5
5174 no_cache=0
5175 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5176 if test "${enable_bmpbutton+set}" = set; then
5177 enableval="$enable_bmpbutton"
5178
5179 if test "$enableval" = yes; then
5180 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
5181 else
5182 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
5183 fi
5184
5185 else
5186
5187 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5188 if test "x$LINE" != x ; then
5189 eval "DEFAULT_$LINE"
5190 else
5191 no_cache=1
5192 fi
5193
5194 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5195
5196 fi
5197
5198
5199 eval "$ac_cv_use_bmpbutton"
5200 if test "$no_cache" != 1; then
5201 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5202 fi
5203
5204 if test "$wxUSE_BMPBUTTON" = yes; then
5205 echo "$ac_t""yes" 1>&6
5206 else
5207 echo "$ac_t""no" 1>&6
5208 fi
5209
5210
5211 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5212 echo "configure:5213: checking for --enable-calendar" >&5
5213 no_cache=0
5214 # Check whether --enable-calendar or --disable-calendar was given.
5215 if test "${enable_calendar+set}" = set; then
5216 enableval="$enable_calendar"
5217
5218 if test "$enableval" = yes; then
5219 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
5220 else
5221 ac_cv_use_calendar='wxUSE_CALCTRL=no'
5222 fi
5223
5224 else
5225
5226 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5227 if test "x$LINE" != x ; then
5228 eval "DEFAULT_$LINE"
5229 else
5230 no_cache=1
5231 fi
5232
5233 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5234
5235 fi
5236
5237
5238 eval "$ac_cv_use_calendar"
5239 if test "$no_cache" != 1; then
5240 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5241 fi
5242
5243 if test "$wxUSE_CALCTRL" = yes; then
5244 echo "$ac_t""yes" 1>&6
5245 else
5246 echo "$ac_t""no" 1>&6
5247 fi
5248
5249
5250 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5251 echo "configure:5252: checking for --enable-caret" >&5
5252 no_cache=0
5253 # Check whether --enable-caret or --disable-caret was given.
5254 if test "${enable_caret+set}" = set; then
5255 enableval="$enable_caret"
5256
5257 if test "$enableval" = yes; then
5258 ac_cv_use_caret='wxUSE_CARET=yes'
5259 else
5260 ac_cv_use_caret='wxUSE_CARET=no'
5261 fi
5262
5263 else
5264
5265 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5266 if test "x$LINE" != x ; then
5267 eval "DEFAULT_$LINE"
5268 else
5269 no_cache=1
5270 fi
5271
5272 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5273
5274 fi
5275
5276
5277 eval "$ac_cv_use_caret"
5278 if test "$no_cache" != 1; then
5279 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5280 fi
5281
5282 if test "$wxUSE_CARET" = yes; then
5283 echo "$ac_t""yes" 1>&6
5284 else
5285 echo "$ac_t""no" 1>&6
5286 fi
5287
5288
5289 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5290 echo "configure:5291: checking for --enable-checkbox" >&5
5291 no_cache=0
5292 # Check whether --enable-checkbox or --disable-checkbox was given.
5293 if test "${enable_checkbox+set}" = set; then
5294 enableval="$enable_checkbox"
5295
5296 if test "$enableval" = yes; then
5297 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
5298 else
5299 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
5300 fi
5301
5302 else
5303
5304 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5305 if test "x$LINE" != x ; then
5306 eval "DEFAULT_$LINE"
5307 else
5308 no_cache=1
5309 fi
5310
5311 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5312
5313 fi
5314
5315
5316 eval "$ac_cv_use_checkbox"
5317 if test "$no_cache" != 1; then
5318 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5319 fi
5320
5321 if test "$wxUSE_CHECKBOX" = yes; then
5322 echo "$ac_t""yes" 1>&6
5323 else
5324 echo "$ac_t""no" 1>&6
5325 fi
5326
5327
5328 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5329 echo "configure:5330: checking for --enable-checklst" >&5
5330 no_cache=0
5331 # Check whether --enable-checklst or --disable-checklst was given.
5332 if test "${enable_checklst+set}" = set; then
5333 enableval="$enable_checklst"
5334
5335 if test "$enableval" = yes; then
5336 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
5337 else
5338 ac_cv_use_checklst='wxUSE_CHECKLST=no'
5339 fi
5340
5341 else
5342
5343 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5344 if test "x$LINE" != x ; then
5345 eval "DEFAULT_$LINE"
5346 else
5347 no_cache=1
5348 fi
5349
5350 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5351
5352 fi
5353
5354
5355 eval "$ac_cv_use_checklst"
5356 if test "$no_cache" != 1; then
5357 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5358 fi
5359
5360 if test "$wxUSE_CHECKLST" = yes; then
5361 echo "$ac_t""yes" 1>&6
5362 else
5363 echo "$ac_t""no" 1>&6
5364 fi
5365
5366
5367 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5368 echo "configure:5369: checking for --enable-choice" >&5
5369 no_cache=0
5370 # Check whether --enable-choice or --disable-choice was given.
5371 if test "${enable_choice+set}" = set; then
5372 enableval="$enable_choice"
5373
5374 if test "$enableval" = yes; then
5375 ac_cv_use_choice='wxUSE_CHOICE=yes'
5376 else
5377 ac_cv_use_choice='wxUSE_CHOICE=no'
5378 fi
5379
5380 else
5381
5382 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5383 if test "x$LINE" != x ; then
5384 eval "DEFAULT_$LINE"
5385 else
5386 no_cache=1
5387 fi
5388
5389 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5390
5391 fi
5392
5393
5394 eval "$ac_cv_use_choice"
5395 if test "$no_cache" != 1; then
5396 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5397 fi
5398
5399 if test "$wxUSE_CHOICE" = yes; then
5400 echo "$ac_t""yes" 1>&6
5401 else
5402 echo "$ac_t""no" 1>&6
5403 fi
5404
5405
5406 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5407 echo "configure:5408: checking for --enable-combobox" >&5
5408 no_cache=0
5409 # Check whether --enable-combobox or --disable-combobox was given.
5410 if test "${enable_combobox+set}" = set; then
5411 enableval="$enable_combobox"
5412
5413 if test "$enableval" = yes; then
5414 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
5415 else
5416 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
5417 fi
5418
5419 else
5420
5421 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5422 if test "x$LINE" != x ; then
5423 eval "DEFAULT_$LINE"
5424 else
5425 no_cache=1
5426 fi
5427
5428 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5429
5430 fi
5431
5432
5433 eval "$ac_cv_use_combobox"
5434 if test "$no_cache" != 1; then
5435 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5436 fi
5437
5438 if test "$wxUSE_COMBOBOX" = yes; then
5439 echo "$ac_t""yes" 1>&6
5440 else
5441 echo "$ac_t""no" 1>&6
5442 fi
5443
5444
5445 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5446 echo "configure:5447: checking for --enable-gauge" >&5
5447 no_cache=0
5448 # Check whether --enable-gauge or --disable-gauge was given.
5449 if test "${enable_gauge+set}" = set; then
5450 enableval="$enable_gauge"
5451
5452 if test "$enableval" = yes; then
5453 ac_cv_use_gauge='wxUSE_GAUGE=yes'
5454 else
5455 ac_cv_use_gauge='wxUSE_GAUGE=no'
5456 fi
5457
5458 else
5459
5460 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5461 if test "x$LINE" != x ; then
5462 eval "DEFAULT_$LINE"
5463 else
5464 no_cache=1
5465 fi
5466
5467 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5468
5469 fi
5470
5471
5472 eval "$ac_cv_use_gauge"
5473 if test "$no_cache" != 1; then
5474 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5475 fi
5476
5477 if test "$wxUSE_GAUGE" = yes; then
5478 echo "$ac_t""yes" 1>&6
5479 else
5480 echo "$ac_t""no" 1>&6
5481 fi
5482
5483
5484 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5485 echo "configure:5486: checking for --enable-grid" >&5
5486 no_cache=0
5487 # Check whether --enable-grid or --disable-grid was given.
5488 if test "${enable_grid+set}" = set; then
5489 enableval="$enable_grid"
5490
5491 if test "$enableval" = yes; then
5492 ac_cv_use_grid='wxUSE_GRID=yes'
5493 else
5494 ac_cv_use_grid='wxUSE_GRID=no'
5495 fi
5496
5497 else
5498
5499 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5500 if test "x$LINE" != x ; then
5501 eval "DEFAULT_$LINE"
5502 else
5503 no_cache=1
5504 fi
5505
5506 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5507
5508 fi
5509
5510
5511 eval "$ac_cv_use_grid"
5512 if test "$no_cache" != 1; then
5513 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5514 fi
5515
5516 if test "$wxUSE_GRID" = yes; then
5517 echo "$ac_t""yes" 1>&6
5518 else
5519 echo "$ac_t""no" 1>&6
5520 fi
5521
5522
5523 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5524 echo "configure:5525: checking for --enable-newgrid" >&5
5525 no_cache=0
5526 # Check whether --enable-newgrid or --disable-newgrid was given.
5527 if test "${enable_newgrid+set}" = set; then
5528 enableval="$enable_newgrid"
5529
5530 if test "$enableval" = yes; then
5531 ac_cv_use_newgrid='wxUSE_NEW_GRID=yes'
5532 else
5533 ac_cv_use_newgrid='wxUSE_NEW_GRID=no'
5534 fi
5535
5536 else
5537
5538 LINE=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5539 if test "x$LINE" != x ; then
5540 eval "DEFAULT_$LINE"
5541 else
5542 no_cache=1
5543 fi
5544
5545 ac_cv_use_newgrid='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5546
5547 fi
5548
5549
5550 eval "$ac_cv_use_newgrid"
5551 if test "$no_cache" != 1; then
5552 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5553 fi
5554
5555 if test "$wxUSE_NEW_GRID" = yes; then
5556 echo "$ac_t""yes" 1>&6
5557 else
5558 echo "$ac_t""no" 1>&6
5559 fi
5560
5561
5562 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5563 echo "configure:5564: checking for --enable-imaglist" >&5
5564 no_cache=0
5565 # Check whether --enable-imaglist or --disable-imaglist was given.
5566 if test "${enable_imaglist+set}" = set; then
5567 enableval="$enable_imaglist"
5568
5569 if test "$enableval" = yes; then
5570 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
5571 else
5572 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
5573 fi
5574
5575 else
5576
5577 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5578 if test "x$LINE" != x ; then
5579 eval "DEFAULT_$LINE"
5580 else
5581 no_cache=1
5582 fi
5583
5584 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5585
5586 fi
5587
5588
5589 eval "$ac_cv_use_imaglist"
5590 if test "$no_cache" != 1; then
5591 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5592 fi
5593
5594 if test "$wxUSE_IMAGLIST" = yes; then
5595 echo "$ac_t""yes" 1>&6
5596 else
5597 echo "$ac_t""no" 1>&6
5598 fi
5599
5600
5601 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5602 echo "configure:5603: checking for --enable-listbox" >&5
5603 no_cache=0
5604 # Check whether --enable-listbox or --disable-listbox was given.
5605 if test "${enable_listbox+set}" = set; then
5606 enableval="$enable_listbox"
5607
5608 if test "$enableval" = yes; then
5609 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
5610 else
5611 ac_cv_use_listbox='wxUSE_LISTBOX=no'
5612 fi
5613
5614 else
5615
5616 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5617 if test "x$LINE" != x ; then
5618 eval "DEFAULT_$LINE"
5619 else
5620 no_cache=1
5621 fi
5622
5623 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5624
5625 fi
5626
5627
5628 eval "$ac_cv_use_listbox"
5629 if test "$no_cache" != 1; then
5630 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5631 fi
5632
5633 if test "$wxUSE_LISTBOX" = yes; then
5634 echo "$ac_t""yes" 1>&6
5635 else
5636 echo "$ac_t""no" 1>&6
5637 fi
5638
5639
5640 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5641 echo "configure:5642: checking for --enable-listctrl" >&5
5642 no_cache=0
5643 # Check whether --enable-listctrl or --disable-listctrl was given.
5644 if test "${enable_listctrl+set}" = set; then
5645 enableval="$enable_listctrl"
5646
5647 if test "$enableval" = yes; then
5648 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
5649 else
5650 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
5651 fi
5652
5653 else
5654
5655 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5656 if test "x$LINE" != x ; then
5657 eval "DEFAULT_$LINE"
5658 else
5659 no_cache=1
5660 fi
5661
5662 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5663
5664 fi
5665
5666
5667 eval "$ac_cv_use_listctrl"
5668 if test "$no_cache" != 1; then
5669 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5670 fi
5671
5672 if test "$wxUSE_LISTCTRL" = yes; then
5673 echo "$ac_t""yes" 1>&6
5674 else
5675 echo "$ac_t""no" 1>&6
5676 fi
5677
5678
5679 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5680 echo "configure:5681: checking for --enable-notebook" >&5
5681 no_cache=0
5682 # Check whether --enable-notebook or --disable-notebook was given.
5683 if test "${enable_notebook+set}" = set; then
5684 enableval="$enable_notebook"
5685
5686 if test "$enableval" = yes; then
5687 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
5688 else
5689 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
5690 fi
5691
5692 else
5693
5694 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5695 if test "x$LINE" != x ; then
5696 eval "DEFAULT_$LINE"
5697 else
5698 no_cache=1
5699 fi
5700
5701 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5702
5703 fi
5704
5705
5706 eval "$ac_cv_use_notebook"
5707 if test "$no_cache" != 1; then
5708 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5709 fi
5710
5711 if test "$wxUSE_NOTEBOOK" = yes; then
5712 echo "$ac_t""yes" 1>&6
5713 else
5714 echo "$ac_t""no" 1>&6
5715 fi
5716
5717
5718 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5719 echo "configure:5720: checking for --enable-propsheet" >&5
5720 no_cache=0
5721 # Check whether --enable-propsheet or --disable-propsheet was given.
5722 if test "${enable_propsheet+set}" = set; then
5723 enableval="$enable_propsheet"
5724
5725 if test "$enableval" = yes; then
5726 ac_cv_use_propsheet='wxUSE_PROPSHEET=yes'
5727 else
5728 ac_cv_use_propsheet='wxUSE_PROPSHEET=no'
5729 fi
5730
5731 else
5732
5733 LINE=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5734 if test "x$LINE" != x ; then
5735 eval "DEFAULT_$LINE"
5736 else
5737 no_cache=1
5738 fi
5739
5740 ac_cv_use_propsheet='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5741
5742 fi
5743
5744
5745 eval "$ac_cv_use_propsheet"
5746 if test "$no_cache" != 1; then
5747 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5748 fi
5749
5750 if test "$wxUSE_PROPSHEET" = yes; then
5751 echo "$ac_t""yes" 1>&6
5752 else
5753 echo "$ac_t""no" 1>&6
5754 fi
5755
5756
5757 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5758 echo "configure:5759: checking for --enable-radiobox" >&5
5759 no_cache=0
5760 # Check whether --enable-radiobox or --disable-radiobox was given.
5761 if test "${enable_radiobox+set}" = set; then
5762 enableval="$enable_radiobox"
5763
5764 if test "$enableval" = yes; then
5765 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
5766 else
5767 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
5768 fi
5769
5770 else
5771
5772 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5773 if test "x$LINE" != x ; then
5774 eval "DEFAULT_$LINE"
5775 else
5776 no_cache=1
5777 fi
5778
5779 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5780
5781 fi
5782
5783
5784 eval "$ac_cv_use_radiobox"
5785 if test "$no_cache" != 1; then
5786 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5787 fi
5788
5789 if test "$wxUSE_RADIOBOX" = yes; then
5790 echo "$ac_t""yes" 1>&6
5791 else
5792 echo "$ac_t""no" 1>&6
5793 fi
5794
5795
5796 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5797 echo "configure:5798: checking for --enable-radiobtn" >&5
5798 no_cache=0
5799 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5800 if test "${enable_radiobtn+set}" = set; then
5801 enableval="$enable_radiobtn"
5802
5803 if test "$enableval" = yes; then
5804 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
5805 else
5806 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
5807 fi
5808
5809 else
5810
5811 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5812 if test "x$LINE" != x ; then
5813 eval "DEFAULT_$LINE"
5814 else
5815 no_cache=1
5816 fi
5817
5818 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5819
5820 fi
5821
5822
5823 eval "$ac_cv_use_radiobtn"
5824 if test "$no_cache" != 1; then
5825 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5826 fi
5827
5828 if test "$wxUSE_RADIOBTN" = yes; then
5829 echo "$ac_t""yes" 1>&6
5830 else
5831 echo "$ac_t""no" 1>&6
5832 fi
5833
5834
5835 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5836 echo "configure:5837: checking for --enable-sash" >&5
5837 no_cache=0
5838 # Check whether --enable-sash or --disable-sash was given.
5839 if test "${enable_sash+set}" = set; then
5840 enableval="$enable_sash"
5841
5842 if test "$enableval" = yes; then
5843 ac_cv_use_sash='wxUSE_SASH=yes'
5844 else
5845 ac_cv_use_sash='wxUSE_SASH=no'
5846 fi
5847
5848 else
5849
5850 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5851 if test "x$LINE" != x ; then
5852 eval "DEFAULT_$LINE"
5853 else
5854 no_cache=1
5855 fi
5856
5857 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5858
5859 fi
5860
5861
5862 eval "$ac_cv_use_sash"
5863 if test "$no_cache" != 1; then
5864 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5865 fi
5866
5867 if test "$wxUSE_SASH" = yes; then
5868 echo "$ac_t""yes" 1>&6
5869 else
5870 echo "$ac_t""no" 1>&6
5871 fi
5872
5873
5874 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5875 echo "configure:5876: checking for --enable-scrollbar" >&5
5876 no_cache=0
5877 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5878 if test "${enable_scrollbar+set}" = set; then
5879 enableval="$enable_scrollbar"
5880
5881 if test "$enableval" = yes; then
5882 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
5883 else
5884 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
5885 fi
5886
5887 else
5888
5889 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5890 if test "x$LINE" != x ; then
5891 eval "DEFAULT_$LINE"
5892 else
5893 no_cache=1
5894 fi
5895
5896 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5897
5898 fi
5899
5900
5901 eval "$ac_cv_use_scrollbar"
5902 if test "$no_cache" != 1; then
5903 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5904 fi
5905
5906 if test "$wxUSE_SCROLLBAR" = yes; then
5907 echo "$ac_t""yes" 1>&6
5908 else
5909 echo "$ac_t""no" 1>&6
5910 fi
5911
5912
5913 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5914 echo "configure:5915: checking for --enable-slider" >&5
5915 no_cache=0
5916 # Check whether --enable-slider or --disable-slider was given.
5917 if test "${enable_slider+set}" = set; then
5918 enableval="$enable_slider"
5919
5920 if test "$enableval" = yes; then
5921 ac_cv_use_slider='wxUSE_SLIDER=yes'
5922 else
5923 ac_cv_use_slider='wxUSE_SLIDER=no'
5924 fi
5925
5926 else
5927
5928 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5929 if test "x$LINE" != x ; then
5930 eval "DEFAULT_$LINE"
5931 else
5932 no_cache=1
5933 fi
5934
5935 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5936
5937 fi
5938
5939
5940 eval "$ac_cv_use_slider"
5941 if test "$no_cache" != 1; then
5942 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5943 fi
5944
5945 if test "$wxUSE_SLIDER" = yes; then
5946 echo "$ac_t""yes" 1>&6
5947 else
5948 echo "$ac_t""no" 1>&6
5949 fi
5950
5951
5952 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5953 echo "configure:5954: checking for --enable-spinbtn" >&5
5954 no_cache=0
5955 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5956 if test "${enable_spinbtn+set}" = set; then
5957 enableval="$enable_spinbtn"
5958
5959 if test "$enableval" = yes; then
5960 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
5961 else
5962 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
5963 fi
5964
5965 else
5966
5967 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
5968 if test "x$LINE" != x ; then
5969 eval "DEFAULT_$LINE"
5970 else
5971 no_cache=1
5972 fi
5973
5974 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
5975
5976 fi
5977
5978
5979 eval "$ac_cv_use_spinbtn"
5980 if test "$no_cache" != 1; then
5981 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
5982 fi
5983
5984 if test "$wxUSE_SPINBTN" = yes; then
5985 echo "$ac_t""yes" 1>&6
5986 else
5987 echo "$ac_t""no" 1>&6
5988 fi
5989
5990
5991 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
5992 echo "configure:5993: checking for --enable-spinctrl" >&5
5993 no_cache=0
5994 # Check whether --enable-spinctrl or --disable-spinctrl was given.
5995 if test "${enable_spinctrl+set}" = set; then
5996 enableval="$enable_spinctrl"
5997
5998 if test "$enableval" = yes; then
5999 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
6000 else
6001 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
6002 fi
6003
6004 else
6005
6006 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6007 if test "x$LINE" != x ; then
6008 eval "DEFAULT_$LINE"
6009 else
6010 no_cache=1
6011 fi
6012
6013 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6014
6015 fi
6016
6017
6018 eval "$ac_cv_use_spinctrl"
6019 if test "$no_cache" != 1; then
6020 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6021 fi
6022
6023 if test "$wxUSE_SPINCTRL" = yes; then
6024 echo "$ac_t""yes" 1>&6
6025 else
6026 echo "$ac_t""no" 1>&6
6027 fi
6028
6029
6030 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6031 echo "configure:6032: checking for --enable-splitter" >&5
6032 no_cache=0
6033 # Check whether --enable-splitter or --disable-splitter was given.
6034 if test "${enable_splitter+set}" = set; then
6035 enableval="$enable_splitter"
6036
6037 if test "$enableval" = yes; then
6038 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
6039 else
6040 ac_cv_use_splitter='wxUSE_SPLITTER=no'
6041 fi
6042
6043 else
6044
6045 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6046 if test "x$LINE" != x ; then
6047 eval "DEFAULT_$LINE"
6048 else
6049 no_cache=1
6050 fi
6051
6052 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6053
6054 fi
6055
6056
6057 eval "$ac_cv_use_splitter"
6058 if test "$no_cache" != 1; then
6059 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6060 fi
6061
6062 if test "$wxUSE_SPLITTER" = yes; then
6063 echo "$ac_t""yes" 1>&6
6064 else
6065 echo "$ac_t""no" 1>&6
6066 fi
6067
6068
6069 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6070 echo "configure:6071: checking for --enable-statbmp" >&5
6071 no_cache=0
6072 # Check whether --enable-statbmp or --disable-statbmp was given.
6073 if test "${enable_statbmp+set}" = set; then
6074 enableval="$enable_statbmp"
6075
6076 if test "$enableval" = yes; then
6077 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
6078 else
6079 ac_cv_use_statbmp='wxUSE_STATBMP=no'
6080 fi
6081
6082 else
6083
6084 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6085 if test "x$LINE" != x ; then
6086 eval "DEFAULT_$LINE"
6087 else
6088 no_cache=1
6089 fi
6090
6091 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6092
6093 fi
6094
6095
6096 eval "$ac_cv_use_statbmp"
6097 if test "$no_cache" != 1; then
6098 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6099 fi
6100
6101 if test "$wxUSE_STATBMP" = yes; then
6102 echo "$ac_t""yes" 1>&6
6103 else
6104 echo "$ac_t""no" 1>&6
6105 fi
6106
6107
6108 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6109 echo "configure:6110: checking for --enable-statbox" >&5
6110 no_cache=0
6111 # Check whether --enable-statbox or --disable-statbox was given.
6112 if test "${enable_statbox+set}" = set; then
6113 enableval="$enable_statbox"
6114
6115 if test "$enableval" = yes; then
6116 ac_cv_use_statbox='wxUSE_STATBOX=yes'
6117 else
6118 ac_cv_use_statbox='wxUSE_STATBOX=no'
6119 fi
6120
6121 else
6122
6123 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6124 if test "x$LINE" != x ; then
6125 eval "DEFAULT_$LINE"
6126 else
6127 no_cache=1
6128 fi
6129
6130 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6131
6132 fi
6133
6134
6135 eval "$ac_cv_use_statbox"
6136 if test "$no_cache" != 1; then
6137 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6138 fi
6139
6140 if test "$wxUSE_STATBOX" = yes; then
6141 echo "$ac_t""yes" 1>&6
6142 else
6143 echo "$ac_t""no" 1>&6
6144 fi
6145
6146
6147 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6148 echo "configure:6149: checking for --enable-statline" >&5
6149 no_cache=0
6150 # Check whether --enable-statline or --disable-statline was given.
6151 if test "${enable_statline+set}" = set; then
6152 enableval="$enable_statline"
6153
6154 if test "$enableval" = yes; then
6155 ac_cv_use_statline='wxUSE_STATLINE=yes'
6156 else
6157 ac_cv_use_statline='wxUSE_STATLINE=no'
6158 fi
6159
6160 else
6161
6162 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6163 if test "x$LINE" != x ; then
6164 eval "DEFAULT_$LINE"
6165 else
6166 no_cache=1
6167 fi
6168
6169 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6170
6171 fi
6172
6173
6174 eval "$ac_cv_use_statline"
6175 if test "$no_cache" != 1; then
6176 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6177 fi
6178
6179 if test "$wxUSE_STATLINE" = yes; then
6180 echo "$ac_t""yes" 1>&6
6181 else
6182 echo "$ac_t""no" 1>&6
6183 fi
6184
6185
6186 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6187 echo "configure:6188: checking for --enable-stattext" >&5
6188 no_cache=0
6189 # Check whether --enable-stattext or --disable-stattext was given.
6190 if test "${enable_stattext+set}" = set; then
6191 enableval="$enable_stattext"
6192
6193 if test "$enableval" = yes; then
6194 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
6195 else
6196 ac_cv_use_stattext='wxUSE_STATTEXT=no'
6197 fi
6198
6199 else
6200
6201 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6202 if test "x$LINE" != x ; then
6203 eval "DEFAULT_$LINE"
6204 else
6205 no_cache=1
6206 fi
6207
6208 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6209
6210 fi
6211
6212
6213 eval "$ac_cv_use_stattext"
6214 if test "$no_cache" != 1; then
6215 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6216 fi
6217
6218 if test "$wxUSE_STATTEXT" = yes; then
6219 echo "$ac_t""yes" 1>&6
6220 else
6221 echo "$ac_t""no" 1>&6
6222 fi
6223
6224
6225 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6226 echo "configure:6227: checking for --enable-statusbar" >&5
6227 no_cache=0
6228 # Check whether --enable-statusbar or --disable-statusbar was given.
6229 if test "${enable_statusbar+set}" = set; then
6230 enableval="$enable_statusbar"
6231
6232 if test "$enableval" = yes; then
6233 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
6234 else
6235 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
6236 fi
6237
6238 else
6239
6240 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6241 if test "x$LINE" != x ; then
6242 eval "DEFAULT_$LINE"
6243 else
6244 no_cache=1
6245 fi
6246
6247 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6248
6249 fi
6250
6251
6252 eval "$ac_cv_use_statusbar"
6253 if test "$no_cache" != 1; then
6254 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6255 fi
6256
6257 if test "$wxUSE_STATUSBAR" = yes; then
6258 echo "$ac_t""yes" 1>&6
6259 else
6260 echo "$ac_t""no" 1>&6
6261 fi
6262
6263
6264 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6265 echo "configure:6266: checking for --enable-tabdialog" >&5
6266 no_cache=0
6267 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6268 if test "${enable_tabdialog+set}" = set; then
6269 enableval="$enable_tabdialog"
6270
6271 if test "$enableval" = yes; then
6272 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
6273 else
6274 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
6275 fi
6276
6277 else
6278
6279 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6280 if test "x$LINE" != x ; then
6281 eval "DEFAULT_$LINE"
6282 else
6283 no_cache=1
6284 fi
6285
6286 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6287
6288 fi
6289
6290
6291 eval "$ac_cv_use_tabdialog"
6292 if test "$no_cache" != 1; then
6293 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6294 fi
6295
6296 if test "$wxUSE_TABDIALOG" = yes; then
6297 echo "$ac_t""yes" 1>&6
6298 else
6299 echo "$ac_t""no" 1>&6
6300 fi
6301
6302
6303 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6304 echo "configure:6305: checking for --enable-textctrl" >&5
6305 no_cache=0
6306 # Check whether --enable-textctrl or --disable-textctrl was given.
6307 if test "${enable_textctrl+set}" = set; then
6308 enableval="$enable_textctrl"
6309
6310 if test "$enableval" = yes; then
6311 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
6312 else
6313 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
6314 fi
6315
6316 else
6317
6318 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6319 if test "x$LINE" != x ; then
6320 eval "DEFAULT_$LINE"
6321 else
6322 no_cache=1
6323 fi
6324
6325 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6326
6327 fi
6328
6329
6330 eval "$ac_cv_use_textctrl"
6331 if test "$no_cache" != 1; then
6332 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6333 fi
6334
6335 if test "$wxUSE_TEXTCTRL" = yes; then
6336 echo "$ac_t""yes" 1>&6
6337 else
6338 echo "$ac_t""no" 1>&6
6339 fi
6340
6341
6342 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6343 echo "configure:6344: checking for --enable-togglebtn" >&5
6344 no_cache=0
6345 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6346 if test "${enable_togglebtn+set}" = set; then
6347 enableval="$enable_togglebtn"
6348
6349 if test "$enableval" = yes; then
6350 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
6351 else
6352 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
6353 fi
6354
6355 else
6356
6357 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6358 if test "x$LINE" != x ; then
6359 eval "DEFAULT_$LINE"
6360 else
6361 no_cache=1
6362 fi
6363
6364 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6365
6366 fi
6367
6368
6369 eval "$ac_cv_use_togglebtn"
6370 if test "$no_cache" != 1; then
6371 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6372 fi
6373
6374 if test "$wxUSE_TOGGLEBTN" = yes; then
6375 echo "$ac_t""yes" 1>&6
6376 else
6377 echo "$ac_t""no" 1>&6
6378 fi
6379
6380
6381 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6382 echo "configure:6383: checking for --enable-toolbar" >&5
6383 no_cache=0
6384 # Check whether --enable-toolbar or --disable-toolbar was given.
6385 if test "${enable_toolbar+set}" = set; then
6386 enableval="$enable_toolbar"
6387
6388 if test "$enableval" = yes; then
6389 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
6390 else
6391 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
6392 fi
6393
6394 else
6395
6396 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6397 if test "x$LINE" != x ; then
6398 eval "DEFAULT_$LINE"
6399 else
6400 no_cache=1
6401 fi
6402
6403 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6404
6405 fi
6406
6407
6408 eval "$ac_cv_use_toolbar"
6409 if test "$no_cache" != 1; then
6410 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6411 fi
6412
6413 if test "$wxUSE_TOOLBAR" = yes; then
6414 echo "$ac_t""yes" 1>&6
6415 else
6416 echo "$ac_t""no" 1>&6
6417 fi
6418
6419
6420 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6421 echo "configure:6422: checking for --enable-tbarnative" >&5
6422 no_cache=0
6423 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6424 if test "${enable_tbarnative+set}" = set; then
6425 enableval="$enable_tbarnative"
6426
6427 if test "$enableval" = yes; then
6428 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
6429 else
6430 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
6431 fi
6432
6433 else
6434
6435 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6436 if test "x$LINE" != x ; then
6437 eval "DEFAULT_$LINE"
6438 else
6439 no_cache=1
6440 fi
6441
6442 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6443
6444 fi
6445
6446
6447 eval "$ac_cv_use_tbarnative"
6448 if test "$no_cache" != 1; then
6449 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6450 fi
6451
6452 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6453 echo "$ac_t""yes" 1>&6
6454 else
6455 echo "$ac_t""no" 1>&6
6456 fi
6457
6458
6459 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6460 echo "configure:6461: checking for --enable-tbarsmpl" >&5
6461 no_cache=0
6462 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6463 if test "${enable_tbarsmpl+set}" = set; then
6464 enableval="$enable_tbarsmpl"
6465
6466 if test "$enableval" = yes; then
6467 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
6468 else
6469 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
6470 fi
6471
6472 else
6473
6474 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6475 if test "x$LINE" != x ; then
6476 eval "DEFAULT_$LINE"
6477 else
6478 no_cache=1
6479 fi
6480
6481 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6482
6483 fi
6484
6485
6486 eval "$ac_cv_use_tbarsmpl"
6487 if test "$no_cache" != 1; then
6488 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6489 fi
6490
6491 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6492 echo "$ac_t""yes" 1>&6
6493 else
6494 echo "$ac_t""no" 1>&6
6495 fi
6496
6497
6498 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6499 echo "configure:6500: checking for --enable-treectrl" >&5
6500 no_cache=0
6501 # Check whether --enable-treectrl or --disable-treectrl was given.
6502 if test "${enable_treectrl+set}" = set; then
6503 enableval="$enable_treectrl"
6504
6505 if test "$enableval" = yes; then
6506 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
6507 else
6508 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
6509 fi
6510
6511 else
6512
6513 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6514 if test "x$LINE" != x ; then
6515 eval "DEFAULT_$LINE"
6516 else
6517 no_cache=1
6518 fi
6519
6520 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6521
6522 fi
6523
6524
6525 eval "$ac_cv_use_treectrl"
6526 if test "$no_cache" != 1; then
6527 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6528 fi
6529
6530 if test "$wxUSE_TREECTRL" = yes; then
6531 echo "$ac_t""yes" 1>&6
6532 else
6533 echo "$ac_t""no" 1>&6
6534 fi
6535
6536
6537 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6538 echo "configure:6539: checking for --enable-popupwin" >&5
6539 no_cache=0
6540 # Check whether --enable-popupwin or --disable-popupwin was given.
6541 if test "${enable_popupwin+set}" = set; then
6542 enableval="$enable_popupwin"
6543
6544 if test "$enableval" = yes; then
6545 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
6546 else
6547 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
6548 fi
6549
6550 else
6551
6552 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6553 if test "x$LINE" != x ; then
6554 eval "DEFAULT_$LINE"
6555 else
6556 no_cache=1
6557 fi
6558
6559 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6560
6561 fi
6562
6563
6564 eval "$ac_cv_use_popupwin"
6565 if test "$no_cache" != 1; then
6566 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6567 fi
6568
6569 if test "$wxUSE_POPUPWIN" = yes; then
6570 echo "$ac_t""yes" 1>&6
6571 else
6572 echo "$ac_t""no" 1>&6
6573 fi
6574
6575
6576
6577
6578 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6579 echo "configure:6580: checking for --enable-commondlg" >&5
6580 no_cache=0
6581 # Check whether --enable-commondlg or --disable-commondlg was given.
6582 if test "${enable_commondlg+set}" = set; then
6583 enableval="$enable_commondlg"
6584
6585 if test "$enableval" = yes; then
6586 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
6587 else
6588 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
6589 fi
6590
6591 else
6592
6593 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6594 if test "x$LINE" != x ; then
6595 eval "DEFAULT_$LINE"
6596 else
6597 no_cache=1
6598 fi
6599
6600 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6601
6602 fi
6603
6604
6605 eval "$ac_cv_use_commondlg"
6606 if test "$no_cache" != 1; then
6607 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6608 fi
6609
6610 if test "$wxUSE_COMMONDLGS" = yes; then
6611 echo "$ac_t""yes" 1>&6
6612 else
6613 echo "$ac_t""no" 1>&6
6614 fi
6615
6616
6617 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6618 echo "configure:6619: checking for --enable-choicedlg" >&5
6619 no_cache=0
6620 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6621 if test "${enable_choicedlg+set}" = set; then
6622 enableval="$enable_choicedlg"
6623
6624 if test "$enableval" = yes; then
6625 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
6626 else
6627 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
6628 fi
6629
6630 else
6631
6632 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6633 if test "x$LINE" != x ; then
6634 eval "DEFAULT_$LINE"
6635 else
6636 no_cache=1
6637 fi
6638
6639 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6640
6641 fi
6642
6643
6644 eval "$ac_cv_use_choicedlg"
6645 if test "$no_cache" != 1; then
6646 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6647 fi
6648
6649 if test "$wxUSE_CHOICEDLG" = yes; then
6650 echo "$ac_t""yes" 1>&6
6651 else
6652 echo "$ac_t""no" 1>&6
6653 fi
6654
6655
6656 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6657 echo "configure:6658: checking for --enable-coldlg" >&5
6658 no_cache=0
6659 # Check whether --enable-coldlg or --disable-coldlg was given.
6660 if test "${enable_coldlg+set}" = set; then
6661 enableval="$enable_coldlg"
6662
6663 if test "$enableval" = yes; then
6664 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
6665 else
6666 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
6667 fi
6668
6669 else
6670
6671 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6672 if test "x$LINE" != x ; then
6673 eval "DEFAULT_$LINE"
6674 else
6675 no_cache=1
6676 fi
6677
6678 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6679
6680 fi
6681
6682
6683 eval "$ac_cv_use_coldlg"
6684 if test "$no_cache" != 1; then
6685 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6686 fi
6687
6688 if test "$wxUSE_COLOURDLG" = yes; then
6689 echo "$ac_t""yes" 1>&6
6690 else
6691 echo "$ac_t""no" 1>&6
6692 fi
6693
6694
6695 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6696 echo "configure:6697: checking for --enable-filedlg" >&5
6697 no_cache=0
6698 # Check whether --enable-filedlg or --disable-filedlg was given.
6699 if test "${enable_filedlg+set}" = set; then
6700 enableval="$enable_filedlg"
6701
6702 if test "$enableval" = yes; then
6703 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
6704 else
6705 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
6706 fi
6707
6708 else
6709
6710 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6711 if test "x$LINE" != x ; then
6712 eval "DEFAULT_$LINE"
6713 else
6714 no_cache=1
6715 fi
6716
6717 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6718
6719 fi
6720
6721
6722 eval "$ac_cv_use_filedlg"
6723 if test "$no_cache" != 1; then
6724 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6725 fi
6726
6727 if test "$wxUSE_FILEDLG" = yes; then
6728 echo "$ac_t""yes" 1>&6
6729 else
6730 echo "$ac_t""no" 1>&6
6731 fi
6732
6733
6734 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6735 echo "configure:6736: checking for --enable-filedlg" >&5
6736 no_cache=0
6737 # Check whether --enable-filedlg or --disable-filedlg was given.
6738 if test "${enable_filedlg+set}" = set; then
6739 enableval="$enable_filedlg"
6740
6741 if test "$enableval" = yes; then
6742 ac_cv_use_filedlg='wxUSE_FINDREPLDLG=yes'
6743 else
6744 ac_cv_use_filedlg='wxUSE_FINDREPLDLG=no'
6745 fi
6746
6747 else
6748
6749 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
6750 if test "x$LINE" != x ; then
6751 eval "DEFAULT_$LINE"
6752 else
6753 no_cache=1
6754 fi
6755
6756 ac_cv_use_filedlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
6757
6758 fi
6759
6760
6761 eval "$ac_cv_use_filedlg"
6762 if test "$no_cache" != 1; then
6763 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6764 fi
6765
6766 if test "$wxUSE_FINDREPLDLG" = yes; then
6767 echo "$ac_t""yes" 1>&6
6768 else
6769 echo "$ac_t""no" 1>&6
6770 fi
6771
6772
6773 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6774 echo "configure:6775: checking for --enable-fontdlg" >&5
6775 no_cache=0
6776 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6777 if test "${enable_fontdlg+set}" = set; then
6778 enableval="$enable_fontdlg"
6779
6780 if test "$enableval" = yes; then
6781 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
6782 else
6783 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
6784 fi
6785
6786 else
6787
6788 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6789 if test "x$LINE" != x ; then
6790 eval "DEFAULT_$LINE"
6791 else
6792 no_cache=1
6793 fi
6794
6795 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6796
6797 fi
6798
6799
6800 eval "$ac_cv_use_fontdlg"
6801 if test "$no_cache" != 1; then
6802 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6803 fi
6804
6805 if test "$wxUSE_FONTDLG" = yes; then
6806 echo "$ac_t""yes" 1>&6
6807 else
6808 echo "$ac_t""no" 1>&6
6809 fi
6810
6811
6812 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6813 echo "configure:6814: checking for --enable-dirdlg" >&5
6814 no_cache=0
6815 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6816 if test "${enable_dirdlg+set}" = set; then
6817 enableval="$enable_dirdlg"
6818
6819 if test "$enableval" = yes; then
6820 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
6821 else
6822 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
6823 fi
6824
6825 else
6826
6827 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6828 if test "x$LINE" != x ; then
6829 eval "DEFAULT_$LINE"
6830 else
6831 no_cache=1
6832 fi
6833
6834 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6835
6836 fi
6837
6838
6839 eval "$ac_cv_use_dirdlg"
6840 if test "$no_cache" != 1; then
6841 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6842 fi
6843
6844 if test "$wxUSE_DIRDLG" = yes; then
6845 echo "$ac_t""yes" 1>&6
6846 else
6847 echo "$ac_t""no" 1>&6
6848 fi
6849
6850
6851 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6852 echo "configure:6853: checking for --enable-msgdlg" >&5
6853 no_cache=0
6854 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6855 if test "${enable_msgdlg+set}" = set; then
6856 enableval="$enable_msgdlg"
6857
6858 if test "$enableval" = yes; then
6859 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
6860 else
6861 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
6862 fi
6863
6864 else
6865
6866 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6867 if test "x$LINE" != x ; then
6868 eval "DEFAULT_$LINE"
6869 else
6870 no_cache=1
6871 fi
6872
6873 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6874
6875 fi
6876
6877
6878 eval "$ac_cv_use_msgdlg"
6879 if test "$no_cache" != 1; then
6880 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6881 fi
6882
6883 if test "$wxUSE_MSGDLG" = yes; then
6884 echo "$ac_t""yes" 1>&6
6885 else
6886 echo "$ac_t""no" 1>&6
6887 fi
6888
6889
6890 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6891 echo "configure:6892: checking for --enable-numberdlg" >&5
6892 no_cache=0
6893 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6894 if test "${enable_numberdlg+set}" = set; then
6895 enableval="$enable_numberdlg"
6896
6897 if test "$enableval" = yes; then
6898 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
6899 else
6900 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
6901 fi
6902
6903 else
6904
6905 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6906 if test "x$LINE" != x ; then
6907 eval "DEFAULT_$LINE"
6908 else
6909 no_cache=1
6910 fi
6911
6912 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6913
6914 fi
6915
6916
6917 eval "$ac_cv_use_numberdlg"
6918 if test "$no_cache" != 1; then
6919 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6920 fi
6921
6922 if test "$wxUSE_NUMBERDLG" = yes; then
6923 echo "$ac_t""yes" 1>&6
6924 else
6925 echo "$ac_t""no" 1>&6
6926 fi
6927
6928
6929 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
6930 echo "configure:6931: checking for --enable-splash" >&5
6931 no_cache=0
6932 # Check whether --enable-splash or --disable-splash was given.
6933 if test "${enable_splash+set}" = set; then
6934 enableval="$enable_splash"
6935
6936 if test "$enableval" = yes; then
6937 ac_cv_use_splash='wxUSE_SPLASH=yes'
6938 else
6939 ac_cv_use_splash='wxUSE_SPLASH=no'
6940 fi
6941
6942 else
6943
6944 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
6945 if test "x$LINE" != x ; then
6946 eval "DEFAULT_$LINE"
6947 else
6948 no_cache=1
6949 fi
6950
6951 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
6952
6953 fi
6954
6955
6956 eval "$ac_cv_use_splash"
6957 if test "$no_cache" != 1; then
6958 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
6959 fi
6960
6961 if test "$wxUSE_SPLASH" = yes; then
6962 echo "$ac_t""yes" 1>&6
6963 else
6964 echo "$ac_t""no" 1>&6
6965 fi
6966
6967
6968 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
6969 echo "configure:6970: checking for --enable-textdlg" >&5
6970 no_cache=0
6971 # Check whether --enable-textdlg or --disable-textdlg was given.
6972 if test "${enable_textdlg+set}" = set; then
6973 enableval="$enable_textdlg"
6974
6975 if test "$enableval" = yes; then
6976 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
6977 else
6978 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
6979 fi
6980
6981 else
6982
6983 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
6984 if test "x$LINE" != x ; then
6985 eval "DEFAULT_$LINE"
6986 else
6987 no_cache=1
6988 fi
6989
6990 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
6991
6992 fi
6993
6994
6995 eval "$ac_cv_use_textdlg"
6996 if test "$no_cache" != 1; then
6997 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
6998 fi
6999
7000 if test "$wxUSE_TEXTDLG" = yes; then
7001 echo "$ac_t""yes" 1>&6
7002 else
7003 echo "$ac_t""no" 1>&6
7004 fi
7005
7006
7007 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7008 echo "configure:7009: checking for --enable-tipdlg" >&5
7009 no_cache=0
7010 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7011 if test "${enable_tipdlg+set}" = set; then
7012 enableval="$enable_tipdlg"
7013
7014 if test "$enableval" = yes; then
7015 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
7016 else
7017 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
7018 fi
7019
7020 else
7021
7022 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7023 if test "x$LINE" != x ; then
7024 eval "DEFAULT_$LINE"
7025 else
7026 no_cache=1
7027 fi
7028
7029 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7030
7031 fi
7032
7033
7034 eval "$ac_cv_use_tipdlg"
7035 if test "$no_cache" != 1; then
7036 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7037 fi
7038
7039 if test "$wxUSE_STARTUP_TIPS" = yes; then
7040 echo "$ac_t""yes" 1>&6
7041 else
7042 echo "$ac_t""no" 1>&6
7043 fi
7044
7045
7046 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7047 echo "configure:7048: checking for --enable-progressdlg" >&5
7048 no_cache=0
7049 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7050 if test "${enable_progressdlg+set}" = set; then
7051 enableval="$enable_progressdlg"
7052
7053 if test "$enableval" = yes; then
7054 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
7055 else
7056 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
7057 fi
7058
7059 else
7060
7061 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7062 if test "x$LINE" != x ; then
7063 eval "DEFAULT_$LINE"
7064 else
7065 no_cache=1
7066 fi
7067
7068 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7069
7070 fi
7071
7072
7073 eval "$ac_cv_use_progressdlg"
7074 if test "$no_cache" != 1; then
7075 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7076 fi
7077
7078 if test "$wxUSE_PROGRESSDLG" = yes; then
7079 echo "$ac_t""yes" 1>&6
7080 else
7081 echo "$ac_t""no" 1>&6
7082 fi
7083
7084
7085 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7086 echo "configure:7087: checking for --enable-wizarddlg" >&5
7087 no_cache=0
7088 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7089 if test "${enable_wizarddlg+set}" = set; then
7090 enableval="$enable_wizarddlg"
7091
7092 if test "$enableval" = yes; then
7093 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
7094 else
7095 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
7096 fi
7097
7098 else
7099
7100 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7101 if test "x$LINE" != x ; then
7102 eval "DEFAULT_$LINE"
7103 else
7104 no_cache=1
7105 fi
7106
7107 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7108
7109 fi
7110
7111
7112 eval "$ac_cv_use_wizarddlg"
7113 if test "$no_cache" != 1; then
7114 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7115 fi
7116
7117 if test "$wxUSE_WIZARDDLG" = yes; then
7118 echo "$ac_t""yes" 1>&6
7119 else
7120 echo "$ac_t""no" 1>&6
7121 fi
7122
7123
7124
7125
7126 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7127 echo "configure:7128: checking for --enable-menus" >&5
7128 no_cache=0
7129 # Check whether --enable-menus or --disable-menus was given.
7130 if test "${enable_menus+set}" = set; then
7131 enableval="$enable_menus"
7132
7133 if test "$enableval" = yes; then
7134 ac_cv_use_menus='wxUSE_MENUS=yes'
7135 else
7136 ac_cv_use_menus='wxUSE_MENUS=no'
7137 fi
7138
7139 else
7140
7141 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7142 if test "x$LINE" != x ; then
7143 eval "DEFAULT_$LINE"
7144 else
7145 no_cache=1
7146 fi
7147
7148 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7149
7150 fi
7151
7152
7153 eval "$ac_cv_use_menus"
7154 if test "$no_cache" != 1; then
7155 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7156 fi
7157
7158 if test "$wxUSE_MENUS" = yes; then
7159 echo "$ac_t""yes" 1>&6
7160 else
7161 echo "$ac_t""no" 1>&6
7162 fi
7163
7164
7165 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7166 echo "configure:7167: checking for --enable-miniframe" >&5
7167 no_cache=0
7168 # Check whether --enable-miniframe or --disable-miniframe was given.
7169 if test "${enable_miniframe+set}" = set; then
7170 enableval="$enable_miniframe"
7171
7172 if test "$enableval" = yes; then
7173 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
7174 else
7175 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
7176 fi
7177
7178 else
7179
7180 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7181 if test "x$LINE" != x ; then
7182 eval "DEFAULT_$LINE"
7183 else
7184 no_cache=1
7185 fi
7186
7187 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7188
7189 fi
7190
7191
7192 eval "$ac_cv_use_miniframe"
7193 if test "$no_cache" != 1; then
7194 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7195 fi
7196
7197 if test "$wxUSE_MINIFRAME" = yes; then
7198 echo "$ac_t""yes" 1>&6
7199 else
7200 echo "$ac_t""no" 1>&6
7201 fi
7202
7203
7204 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7205 echo "configure:7206: checking for --enable-tooltips" >&5
7206 no_cache=0
7207 # Check whether --enable-tooltips or --disable-tooltips was given.
7208 if test "${enable_tooltips+set}" = set; then
7209 enableval="$enable_tooltips"
7210
7211 if test "$enableval" = yes; then
7212 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
7213 else
7214 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
7215 fi
7216
7217 else
7218
7219 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7220 if test "x$LINE" != x ; then
7221 eval "DEFAULT_$LINE"
7222 else
7223 no_cache=1
7224 fi
7225
7226 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7227
7228 fi
7229
7230
7231 eval "$ac_cv_use_tooltips"
7232 if test "$no_cache" != 1; then
7233 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7234 fi
7235
7236 if test "$wxUSE_TOOLTIPS" = yes; then
7237 echo "$ac_t""yes" 1>&6
7238 else
7239 echo "$ac_t""no" 1>&6
7240 fi
7241
7242
7243 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7244 echo "configure:7245: checking for --enable-splines" >&5
7245 no_cache=0
7246 # Check whether --enable-splines or --disable-splines was given.
7247 if test "${enable_splines+set}" = set; then
7248 enableval="$enable_splines"
7249
7250 if test "$enableval" = yes; then
7251 ac_cv_use_splines='wxUSE_SPLINES=yes'
7252 else
7253 ac_cv_use_splines='wxUSE_SPLINES=no'
7254 fi
7255
7256 else
7257
7258 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7259 if test "x$LINE" != x ; then
7260 eval "DEFAULT_$LINE"
7261 else
7262 no_cache=1
7263 fi
7264
7265 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7266
7267 fi
7268
7269
7270 eval "$ac_cv_use_splines"
7271 if test "$no_cache" != 1; then
7272 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7273 fi
7274
7275 if test "$wxUSE_SPLINES" = yes; then
7276 echo "$ac_t""yes" 1>&6
7277 else
7278 echo "$ac_t""no" 1>&6
7279 fi
7280
7281
7282 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7283 echo "configure:7284: checking for --enable-validators" >&5
7284 no_cache=0
7285 # Check whether --enable-validators or --disable-validators was given.
7286 if test "${enable_validators+set}" = set; then
7287 enableval="$enable_validators"
7288
7289 if test "$enableval" = yes; then
7290 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
7291 else
7292 ac_cv_use_validators='wxUSE_VALIDATORS=no'
7293 fi
7294
7295 else
7296
7297 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7298 if test "x$LINE" != x ; then
7299 eval "DEFAULT_$LINE"
7300 else
7301 no_cache=1
7302 fi
7303
7304 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7305
7306 fi
7307
7308
7309 eval "$ac_cv_use_validators"
7310 if test "$no_cache" != 1; then
7311 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7312 fi
7313
7314 if test "$wxUSE_VALIDATORS" = yes; then
7315 echo "$ac_t""yes" 1>&6
7316 else
7317 echo "$ac_t""no" 1>&6
7318 fi
7319
7320
7321 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7322 echo "configure:7323: checking for --enable-busyinfo" >&5
7323 no_cache=0
7324 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7325 if test "${enable_busyinfo+set}" = set; then
7326 enableval="$enable_busyinfo"
7327
7328 if test "$enableval" = yes; then
7329 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
7330 else
7331 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
7332 fi
7333
7334 else
7335
7336 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7337 if test "x$LINE" != x ; then
7338 eval "DEFAULT_$LINE"
7339 else
7340 no_cache=1
7341 fi
7342
7343 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7344
7345 fi
7346
7347
7348 eval "$ac_cv_use_busyinfo"
7349 if test "$no_cache" != 1; then
7350 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7351 fi
7352
7353 if test "$wxUSE_BUSYINFO" = yes; then
7354 echo "$ac_t""yes" 1>&6
7355 else
7356 echo "$ac_t""no" 1>&6
7357 fi
7358
7359
7360 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7361 echo "configure:7362: checking for --enable-joystick" >&5
7362 no_cache=0
7363 # Check whether --enable-joystick or --disable-joystick was given.
7364 if test "${enable_joystick+set}" = set; then
7365 enableval="$enable_joystick"
7366
7367 if test "$enableval" = yes; then
7368 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
7369 else
7370 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
7371 fi
7372
7373 else
7374
7375 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7376 if test "x$LINE" != x ; then
7377 eval "DEFAULT_$LINE"
7378 else
7379 no_cache=1
7380 fi
7381
7382 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7383
7384 fi
7385
7386
7387 eval "$ac_cv_use_joystick"
7388 if test "$no_cache" != 1; then
7389 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7390 fi
7391
7392 if test "$wxUSE_JOYSTICK" = yes; then
7393 echo "$ac_t""yes" 1>&6
7394 else
7395 echo "$ac_t""no" 1>&6
7396 fi
7397
7398
7399 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7400 echo "configure:7401: checking for --enable-metafile" >&5
7401 no_cache=0
7402 # Check whether --enable-metafile or --disable-metafile was given.
7403 if test "${enable_metafile+set}" = set; then
7404 enableval="$enable_metafile"
7405
7406 if test "$enableval" = yes; then
7407 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7408 else
7409 ac_cv_use_metafile='wxUSE_METAFILE=no'
7410 fi
7411
7412 else
7413
7414 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7415 if test "x$LINE" != x ; then
7416 eval "DEFAULT_$LINE"
7417 else
7418 no_cache=1
7419 fi
7420
7421 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7422
7423 fi
7424
7425
7426 eval "$ac_cv_use_metafile"
7427 if test "$no_cache" != 1; then
7428 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7429 fi
7430
7431 if test "$wxUSE_METAFILE" = yes; then
7432 echo "$ac_t""yes" 1>&6
7433 else
7434 echo "$ac_t""no" 1>&6
7435 fi
7436
7437
7438 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7439 echo "configure:7440: checking for --enable-dragimage" >&5
7440 no_cache=0
7441 # Check whether --enable-dragimage or --disable-dragimage was given.
7442 if test "${enable_dragimage+set}" = set; then
7443 enableval="$enable_dragimage"
7444
7445 if test "$enableval" = yes; then
7446 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
7447 else
7448 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
7449 fi
7450
7451 else
7452
7453 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7454 if test "x$LINE" != x ; then
7455 eval "DEFAULT_$LINE"
7456 else
7457 no_cache=1
7458 fi
7459
7460 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7461
7462 fi
7463
7464
7465 eval "$ac_cv_use_dragimage"
7466 if test "$no_cache" != 1; then
7467 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7468 fi
7469
7470 if test "$wxUSE_DRAGIMAGE" = yes; then
7471 echo "$ac_t""yes" 1>&6
7472 else
7473 echo "$ac_t""no" 1>&6
7474 fi
7475
7476
7477
7478
7479 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7480 echo "configure:7481: checking for --enable-image" >&5
7481 no_cache=0
7482 # Check whether --enable-image or --disable-image was given.
7483 if test "${enable_image+set}" = set; then
7484 enableval="$enable_image"
7485
7486 if test "$enableval" = yes; then
7487 ac_cv_use_image='wxUSE_IMAGE=yes'
7488 else
7489 ac_cv_use_image='wxUSE_IMAGE=no'
7490 fi
7491
7492 else
7493
7494 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7495 if test "x$LINE" != x ; then
7496 eval "DEFAULT_$LINE"
7497 else
7498 no_cache=1
7499 fi
7500
7501 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7502
7503 fi
7504
7505
7506 eval "$ac_cv_use_image"
7507 if test "$no_cache" != 1; then
7508 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7509 fi
7510
7511 if test "$wxUSE_IMAGE" = yes; then
7512 echo "$ac_t""yes" 1>&6
7513 else
7514 echo "$ac_t""no" 1>&6
7515 fi
7516
7517
7518 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7519 echo "configure:7520: checking for --enable-gif" >&5
7520 no_cache=0
7521 # Check whether --enable-gif or --disable-gif was given.
7522 if test "${enable_gif+set}" = set; then
7523 enableval="$enable_gif"
7524
7525 if test "$enableval" = yes; then
7526 ac_cv_use_gif='wxUSE_GIF=yes'
7527 else
7528 ac_cv_use_gif='wxUSE_GIF=no'
7529 fi
7530
7531 else
7532
7533 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7534 if test "x$LINE" != x ; then
7535 eval "DEFAULT_$LINE"
7536 else
7537 no_cache=1
7538 fi
7539
7540 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7541
7542 fi
7543
7544
7545 eval "$ac_cv_use_gif"
7546 if test "$no_cache" != 1; then
7547 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7548 fi
7549
7550 if test "$wxUSE_GIF" = yes; then
7551 echo "$ac_t""yes" 1>&6
7552 else
7553 echo "$ac_t""no" 1>&6
7554 fi
7555
7556
7557 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7558 echo "configure:7559: checking for --enable-pcx" >&5
7559 no_cache=0
7560 # Check whether --enable-pcx or --disable-pcx was given.
7561 if test "${enable_pcx+set}" = set; then
7562 enableval="$enable_pcx"
7563
7564 if test "$enableval" = yes; then
7565 ac_cv_use_pcx='wxUSE_PCX=yes'
7566 else
7567 ac_cv_use_pcx='wxUSE_PCX=no'
7568 fi
7569
7570 else
7571
7572 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7573 if test "x$LINE" != x ; then
7574 eval "DEFAULT_$LINE"
7575 else
7576 no_cache=1
7577 fi
7578
7579 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7580
7581 fi
7582
7583
7584 eval "$ac_cv_use_pcx"
7585 if test "$no_cache" != 1; then
7586 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7587 fi
7588
7589 if test "$wxUSE_PCX" = yes; then
7590 echo "$ac_t""yes" 1>&6
7591 else
7592 echo "$ac_t""no" 1>&6
7593 fi
7594
7595
7596 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7597 echo "configure:7598: checking for --enable-pnm" >&5
7598 no_cache=0
7599 # Check whether --enable-pnm or --disable-pnm was given.
7600 if test "${enable_pnm+set}" = set; then
7601 enableval="$enable_pnm"
7602
7603 if test "$enableval" = yes; then
7604 ac_cv_use_pnm='wxUSE_PNM=yes'
7605 else
7606 ac_cv_use_pnm='wxUSE_PNM=no'
7607 fi
7608
7609 else
7610
7611 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7612 if test "x$LINE" != x ; then
7613 eval "DEFAULT_$LINE"
7614 else
7615 no_cache=1
7616 fi
7617
7618 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7619
7620 fi
7621
7622
7623 eval "$ac_cv_use_pnm"
7624 if test "$no_cache" != 1; then
7625 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7626 fi
7627
7628 if test "$wxUSE_PNM" = yes; then
7629 echo "$ac_t""yes" 1>&6
7630 else
7631 echo "$ac_t""no" 1>&6
7632 fi
7633
7634
7635 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7636 echo "configure:7637: checking for --enable-pnm" >&5
7637 no_cache=0
7638 # Check whether --enable-pnm or --disable-pnm was given.
7639 if test "${enable_pnm+set}" = set; then
7640 enableval="$enable_pnm"
7641
7642 if test "$enableval" = yes; then
7643 ac_cv_use_pnm='wxUSE_XPM=yes'
7644 else
7645 ac_cv_use_pnm='wxUSE_XPM=no'
7646 fi
7647
7648 else
7649
7650 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7651 if test "x$LINE" != x ; then
7652 eval "DEFAULT_$LINE"
7653 else
7654 no_cache=1
7655 fi
7656
7657 ac_cv_use_pnm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7658
7659 fi
7660
7661
7662 eval "$ac_cv_use_pnm"
7663 if test "$no_cache" != 1; then
7664 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7665 fi
7666
7667 if test "$wxUSE_XPM" = yes; then
7668 echo "$ac_t""yes" 1>&6
7669 else
7670 echo "$ac_t""no" 1>&6
7671 fi
7672
7673
7674 fi
7675
7676
7677 echo "saving argument cache $wx_arg_cache_file"
7678 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
7679
7680
7681
7682 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7683 echo "configure:7684: checking for toolkit" >&5
7684
7685 if test "$wxUSE_GUI" = "yes"; then
7686
7687 if test "$USE_BEOS" = 1; then
7688 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7689 fi
7690
7691 if test "$TOOLKIT_GIVEN" = 1; then
7692 for toolkit in `echo $ALL_TOOLKITS`; do
7693 var=wxUSE_$toolkit
7694 eval "value=\$${var}"
7695 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
7696 done
7697 else
7698 for toolkit in `echo $ALL_TOOLKITS`; do
7699 if test "$has_toolkit_in_cache" != 1; then
7700 var=DEFAULT_DEFAULT_wxUSE_$toolkit
7701 else
7702 var=DEFAULT_wxUSE_$toolkit
7703 fi
7704 eval "wxUSE_$toolkit=\$${var}"
7705 done
7706 fi
7707
7708 NUM_TOOLKITS=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} + ${wxUSE_MGL:-0}`
7709
7710 case "${host}" in
7711 *-pc-os2_emx )
7712 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7713 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7714 LEX_STEM="lexyy"
7715 ;;
7716 *)
7717 PATH_IFS=':'
7718 LEX_STEM="lex.yy"
7719 ;;
7720 esac
7721
7722 case "$NUM_TOOLKITS" in
7723 1)
7724 ;;
7725 0)
7726 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7727 ;;
7728 *)
7729 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7730 esac
7731
7732 for toolkit in `echo $ALL_TOOLKITS`; do
7733 var=wxUSE_$toolkit
7734 eval "value=\$${var}"
7735 if test "x$value" != x; then
7736 cache_var=CACHE_$toolkit
7737 eval "cache=\$${cache_var}"
7738 if test "$cache" = 1; then
7739 echo "$var=$value" >> ${wx_arg_cache_file}
7740 fi
7741 if test "$value" = 1; then
7742 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
7743 echo "$ac_t""$toolkit_echo" 1>&6
7744 fi
7745 fi
7746 done
7747
7748 else
7749 PATH_IFS=':'
7750 echo "$ac_t""base only" 1>&6
7751 fi
7752
7753
7754 cat > confcache <<\EOF
7755 # This file is a shell script that caches the results of configure
7756 # tests run on this system so they can be shared between configure
7757 # scripts and configure runs. It is not useful on other systems.
7758 # If it contains results you don't want to keep, you may remove or edit it.
7759 #
7760 # By default, configure uses ./config.cache as the cache file,
7761 # creating it if it does not exist already. You can give configure
7762 # the --cache-file=FILE option to use a different cache file; that is
7763 # what configure does when it calls configure scripts in
7764 # subdirectories, so they share the cache.
7765 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7766 # config.status only pays attention to the cache file if you give it the
7767 # --recheck option to rerun configure.
7768 #
7769 EOF
7770 # The following way of writing the cache mishandles newlines in values,
7771 # but we know of no workaround that is simple, portable, and efficient.
7772 # So, don't put newlines in cache variables' values.
7773 # Ultrix sh set writes to stderr and can't be redirected directly,
7774 # and sets the high bit in the cache file unless we assign to the vars.
7775 (set) 2>&1 |
7776 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7777 *ac_space=\ *)
7778 # `set' does not quote correctly, so add quotes (double-quote substitution
7779 # turns \\\\ into \\, and sed turns \\ into \).
7780 sed -n \
7781 -e "s/'/'\\\\''/g" \
7782 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7783 ;;
7784 *)
7785 # `set' quotes correctly as required by POSIX, so do not add quotes.
7786 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7787 ;;
7788 esac >> confcache
7789 if cmp -s $cache_file confcache; then
7790 :
7791 else
7792 if test -w $cache_file; then
7793 echo "updating cache $cache_file"
7794 cat confcache > $cache_file
7795 else
7796 echo "not updating unwritable cache $cache_file"
7797 fi
7798 fi
7799 rm -f confcache
7800
7801
7802 if test "$build" != "$host" ; then
7803 CC=$host_alias-gcc
7804 CXX=$host_alias-c++
7805 AR=$host_alias-ar
7806 RANLIB=$host_alias-ranlib
7807 DLLTOOL=$host_alias-dlltool
7808 RESCOMP=$host_alias-windres
7809 LD=$host_alias-ld
7810 NM=$host_alias-nm
7811 STRIP=$host_alias-strip
7812 fi
7813
7814 # Extract the first word of "gcc", so it can be a program name with args.
7815 set dummy gcc; ac_word=$2
7816 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7817 echo "configure:7818: checking for $ac_word" >&5
7818 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7819 echo $ac_n "(cached) $ac_c" 1>&6
7820 else
7821 if test -n "$CC"; then
7822 ac_cv_prog_CC="$CC" # Let the user override the test.
7823 else
7824 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
7825 ac_dummy="$PATH"
7826 for ac_dir in $ac_dummy; do
7827 test -z "$ac_dir" && ac_dir=.
7828 if test -f $ac_dir/$ac_word; then
7829 ac_cv_prog_CC="gcc"
7830 break
7831 fi
7832 done
7833 IFS="$ac_save_ifs"
7834 fi
7835 fi
7836 CC="$ac_cv_prog_CC"
7837 if test -n "$CC"; then
7838 echo "$ac_t""$CC" 1>&6
7839 else
7840 echo "$ac_t""no" 1>&6
7841 fi
7842
7843 if test -z "$CC"; then
7844 # Extract the first word of "cc", so it can be a program name with args.
7845 set dummy cc; ac_word=$2
7846 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7847 echo "configure:7848: checking for $ac_word" >&5
7848 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7849 echo $ac_n "(cached) $ac_c" 1>&6
7850 else
7851 if test -n "$CC"; then
7852 ac_cv_prog_CC="$CC" # Let the user override the test.
7853 else
7854 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
7855 ac_prog_rejected=no
7856 ac_dummy="$PATH"
7857 for ac_dir in $ac_dummy; do
7858 test -z "$ac_dir" && ac_dir=.
7859 if test -f $ac_dir/$ac_word; then
7860 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7861 ac_prog_rejected=yes
7862 continue
7863 fi
7864 ac_cv_prog_CC="cc"
7865 break
7866 fi
7867 done
7868 IFS="$ac_save_ifs"
7869 if test $ac_prog_rejected = yes; then
7870 # We found a bogon in the path, so make sure we never use it.
7871 set dummy $ac_cv_prog_CC
7872 shift
7873 if test $# -gt 0; then
7874 # We chose a different compiler from the bogus one.
7875 # However, it has the same basename, so the bogon will be chosen
7876 # first if we set CC to just the basename; use the full file name.
7877 shift
7878 set dummy "$ac_dir/$ac_word" "$@"
7879 shift
7880 ac_cv_prog_CC="$@"
7881 fi
7882 fi
7883 fi
7884 fi
7885 CC="$ac_cv_prog_CC"
7886 if test -n "$CC"; then
7887 echo "$ac_t""$CC" 1>&6
7888 else
7889 echo "$ac_t""no" 1>&6
7890 fi
7891
7892 if test -z "$CC"; then
7893 case "`uname -s`" in
7894 *win32* | *WIN32*)
7895 # Extract the first word of "cl", so it can be a program name with args.
7896 set dummy cl; ac_word=$2
7897 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7898 echo "configure:7899: checking for $ac_word" >&5
7899 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7900 echo $ac_n "(cached) $ac_c" 1>&6
7901 else
7902 if test -n "$CC"; then
7903 ac_cv_prog_CC="$CC" # Let the user override the test.
7904 else
7905 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
7906 ac_dummy="$PATH"
7907 for ac_dir in $ac_dummy; do
7908 test -z "$ac_dir" && ac_dir=.
7909 if test -f $ac_dir/$ac_word; then
7910 ac_cv_prog_CC="cl"
7911 break
7912 fi
7913 done
7914 IFS="$ac_save_ifs"
7915 fi
7916 fi
7917 CC="$ac_cv_prog_CC"
7918 if test -n "$CC"; then
7919 echo "$ac_t""$CC" 1>&6
7920 else
7921 echo "$ac_t""no" 1>&6
7922 fi
7923 ;;
7924 esac
7925 fi
7926 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7927 fi
7928
7929 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7930 echo "configure:7931: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
7931
7932 ac_ext=c
7933 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7934 ac_cpp='$CPP $CPPFLAGS'
7935 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7936 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7937 cross_compiling=$ac_cv_prog_cc_cross
7938
7939 cat > conftest.$ac_ext << EOF
7940
7941 #line 7942 "configure"
7942 #include "confdefs.h"
7943
7944 main(){return(0);}
7945 EOF
7946 if { (eval echo configure:7947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7947 ac_cv_prog_cc_works=yes
7948 # If we can't run a trivial program, we are probably using a cross compiler.
7949 if (./conftest; exit) 2>/dev/null; then
7950 ac_cv_prog_cc_cross=no
7951 else
7952 ac_cv_prog_cc_cross=yes
7953 fi
7954 else
7955 echo "configure: failed program was:" >&5
7956 cat conftest.$ac_ext >&5
7957 ac_cv_prog_cc_works=no
7958 fi
7959 rm -fr conftest*
7960 ac_ext=c
7961 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7962 ac_cpp='$CPP $CPPFLAGS'
7963 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7964 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7965 cross_compiling=$ac_cv_prog_cc_cross
7966
7967 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
7968 if test $ac_cv_prog_cc_works = no; then
7969 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
7970 fi
7971 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7972 echo "configure:7973: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
7973 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
7974 cross_compiling=$ac_cv_prog_cc_cross
7975
7976 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
7977 echo "configure:7978: checking whether we are using GNU C" >&5
7978 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
7979 echo $ac_n "(cached) $ac_c" 1>&6
7980 else
7981 cat > conftest.c <<EOF
7982 #ifdef __GNUC__
7983 yes;
7984 #endif
7985 EOF
7986 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:7987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
7987 ac_cv_prog_gcc=yes
7988 else
7989 ac_cv_prog_gcc=no
7990 fi
7991 fi
7992
7993 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
7994
7995 if test $ac_cv_prog_gcc = yes; then
7996 GCC=yes
7997 else
7998 GCC=
7999 fi
8000
8001 ac_test_CFLAGS="${CFLAGS+set}"
8002 ac_save_CFLAGS="$CFLAGS"
8003 CFLAGS=
8004 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8005 echo "configure:8006: checking whether ${CC-cc} accepts -g" >&5
8006 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8007 echo $ac_n "(cached) $ac_c" 1>&6
8008 else
8009 echo 'void f(){}' > conftest.c
8010 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8011 ac_cv_prog_cc_g=yes
8012 else
8013 ac_cv_prog_cc_g=no
8014 fi
8015 rm -f conftest*
8016
8017 fi
8018
8019 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8020 if test "$ac_test_CFLAGS" = set; then
8021 CFLAGS="$ac_save_CFLAGS"
8022 elif test $ac_cv_prog_cc_g = yes; then
8023 if test "$GCC" = yes; then
8024 CFLAGS="-g -O2"
8025 else
8026 CFLAGS="-g"
8027 fi
8028 else
8029 if test "$GCC" = yes; then
8030 CFLAGS="-O2"
8031 else
8032 CFLAGS=
8033 fi
8034 fi
8035
8036
8037 CFLAGS=`echo "$CFLAGS" | sed 's/-g//g'`
8038
8039 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8040 echo "configure:8041: checking how to run the C preprocessor" >&5
8041 # On Suns, sometimes $CPP names a directory.
8042 if test -n "$CPP" && test -d "$CPP"; then
8043 CPP=
8044 fi
8045 if test -z "$CPP"; then
8046 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8047 echo $ac_n "(cached) $ac_c" 1>&6
8048 else
8049 # This must be in double quotes, not single quotes, because CPP may get
8050 # substituted into the Makefile and "${CC-cc}" will confuse make.
8051 CPP="${CC-cc} -E"
8052 # On the NeXT, cc -E runs the code through the compiler's parser,
8053 # not just through cpp.
8054 cat > conftest.$ac_ext <<EOF
8055 #line 8056 "configure"
8056 #include "confdefs.h"
8057 #include <assert.h>
8058 Syntax Error
8059 EOF
8060 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8061 { (eval echo configure:8062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8062 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8063 if test -z "$ac_err"; then
8064 :
8065 else
8066 echo "$ac_err" >&5
8067 echo "configure: failed program was:" >&5
8068 cat conftest.$ac_ext >&5
8069 rm -rf conftest*
8070 CPP="${CC-cc} -E -traditional-cpp"
8071 cat > conftest.$ac_ext <<EOF
8072 #line 8073 "configure"
8073 #include "confdefs.h"
8074 #include <assert.h>
8075 Syntax Error
8076 EOF
8077 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8078 { (eval echo configure:8079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8079 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8080 if test -z "$ac_err"; then
8081 :
8082 else
8083 echo "$ac_err" >&5
8084 echo "configure: failed program was:" >&5
8085 cat conftest.$ac_ext >&5
8086 rm -rf conftest*
8087 CPP="${CC-cc} -nologo -E"
8088 cat > conftest.$ac_ext <<EOF
8089 #line 8090 "configure"
8090 #include "confdefs.h"
8091 #include <assert.h>
8092 Syntax Error
8093 EOF
8094 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8095 { (eval echo configure:8096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8096 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8097 if test -z "$ac_err"; then
8098 :
8099 else
8100 echo "$ac_err" >&5
8101 echo "configure: failed program was:" >&5
8102 cat conftest.$ac_ext >&5
8103 rm -rf conftest*
8104 CPP=/lib/cpp
8105 fi
8106 rm -f conftest*
8107 fi
8108 rm -f conftest*
8109 fi
8110 rm -f conftest*
8111 ac_cv_prog_CPP="$CPP"
8112 fi
8113 CPP="$ac_cv_prog_CPP"
8114 else
8115 ac_cv_prog_CPP="$CPP"
8116 fi
8117 echo "$ac_t""$CPP" 1>&6
8118
8119
8120 if test $ac_cv_prog_gcc = yes; then
8121 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8122 echo "configure:8123: checking whether ${CC-cc} needs -traditional" >&5
8123 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8124 echo $ac_n "(cached) $ac_c" 1>&6
8125 else
8126 ac_pattern="Autoconf.*'x'"
8127 cat > conftest.$ac_ext <<EOF
8128 #line 8129 "configure"
8129 #include "confdefs.h"
8130 #include <sgtty.h>
8131 Autoconf TIOCGETP
8132 EOF
8133 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8134 egrep "$ac_pattern" >/dev/null 2>&1; then
8135 rm -rf conftest*
8136 ac_cv_prog_gcc_traditional=yes
8137 else
8138 rm -rf conftest*
8139 ac_cv_prog_gcc_traditional=no
8140 fi
8141 rm -f conftest*
8142
8143
8144 if test $ac_cv_prog_gcc_traditional = no; then
8145 cat > conftest.$ac_ext <<EOF
8146 #line 8147 "configure"
8147 #include "confdefs.h"
8148 #include <termio.h>
8149 Autoconf TCGETA
8150 EOF
8151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8152 egrep "$ac_pattern" >/dev/null 2>&1; then
8153 rm -rf conftest*
8154 ac_cv_prog_gcc_traditional=yes
8155 fi
8156 rm -f conftest*
8157
8158 fi
8159 fi
8160
8161 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8162 if test $ac_cv_prog_gcc_traditional = yes; then
8163 CC="$CC -traditional"
8164 fi
8165 fi
8166
8167
8168
8169 ac_ext=C
8170 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8171 ac_cpp='$CXXCPP $CPPFLAGS'
8172 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8173 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8174 cross_compiling=$ac_cv_prog_cxx_cross
8175
8176
8177 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
8178 do
8179 # Extract the first word of "$ac_prog", so it can be a program name with args.
8180 set dummy $ac_prog; ac_word=$2
8181 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8182 echo "configure:8183: checking for $ac_word" >&5
8183 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8184 echo $ac_n "(cached) $ac_c" 1>&6
8185 else
8186 if test -n "$CXX"; then
8187 ac_cv_prog_CXX="$CXX" # Let the user override the test.
8188 else
8189 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8190 ac_dummy="$PATH"
8191 for ac_dir in $ac_dummy; do
8192 test -z "$ac_dir" && ac_dir=.
8193 if test -f $ac_dir/$ac_word; then
8194 ac_cv_prog_CXX="$ac_prog"
8195 break
8196 fi
8197 done
8198 IFS="$ac_save_ifs"
8199 fi
8200 fi
8201 CXX="$ac_cv_prog_CXX"
8202 if test -n "$CXX"; then
8203 echo "$ac_t""$CXX" 1>&6
8204 else
8205 echo "$ac_t""no" 1>&6
8206 fi
8207
8208 test -n "$CXX" && break
8209 done
8210 test -n "$CXX" || CXX="gcc"
8211
8212
8213 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8214 echo "configure:8215: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8215
8216 ac_ext=C
8217 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8218 ac_cpp='$CXXCPP $CPPFLAGS'
8219 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8220 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8221 cross_compiling=$ac_cv_prog_cxx_cross
8222
8223 cat > conftest.$ac_ext << EOF
8224
8225 #line 8226 "configure"
8226 #include "confdefs.h"
8227
8228 int main(){return(0);}
8229 EOF
8230 if { (eval echo configure:8231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8231 ac_cv_prog_cxx_works=yes
8232 # If we can't run a trivial program, we are probably using a cross compiler.
8233 if (./conftest; exit) 2>/dev/null; then
8234 ac_cv_prog_cxx_cross=no
8235 else
8236 ac_cv_prog_cxx_cross=yes
8237 fi
8238 else
8239 echo "configure: failed program was:" >&5
8240 cat conftest.$ac_ext >&5
8241 ac_cv_prog_cxx_works=no
8242 fi
8243 rm -fr conftest*
8244 ac_ext=C
8245 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8246 ac_cpp='$CXXCPP $CPPFLAGS'
8247 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8248 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8249 cross_compiling=$ac_cv_prog_cxx_cross
8250
8251 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8252 if test $ac_cv_prog_cxx_works = no; then
8253 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8254 fi
8255 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8256 echo "configure:8257: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8257 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8258 cross_compiling=$ac_cv_prog_cxx_cross
8259
8260 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8261 echo "configure:8262: checking whether we are using GNU C++" >&5
8262 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8263 echo $ac_n "(cached) $ac_c" 1>&6
8264 else
8265 cat > conftest.C <<EOF
8266 #ifdef __GNUC__
8267 yes;
8268 #endif
8269 EOF
8270 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:8271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
8271 ac_cv_prog_gxx=yes
8272 else
8273 ac_cv_prog_gxx=no
8274 fi
8275 fi
8276
8277 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8278
8279 if test $ac_cv_prog_gxx = yes; then
8280 GXX=yes
8281 else
8282 GXX=
8283 fi
8284
8285 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8286 ac_save_CXXFLAGS="$CXXFLAGS"
8287 CXXFLAGS=
8288 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8289 echo "configure:8290: checking whether ${CXX-g++} accepts -g" >&5
8290 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8291 echo $ac_n "(cached) $ac_c" 1>&6
8292 else
8293 echo 'void f(){}' > conftest.cc
8294 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8295 ac_cv_prog_cxx_g=yes
8296 else
8297 ac_cv_prog_cxx_g=no
8298 fi
8299 rm -f conftest*
8300
8301 fi
8302
8303 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8304 if test "$ac_test_CXXFLAGS" = set; then
8305 CXXFLAGS="$ac_save_CXXFLAGS"
8306 elif test $ac_cv_prog_cxx_g = yes; then
8307 if test "$GXX" = yes; then
8308 CXXFLAGS="-g -O2"
8309 else
8310 CXXFLAGS="-g"
8311 fi
8312 else
8313 if test "$GXX" = yes; then
8314 CXXFLAGS="-O2"
8315 else
8316 CXXFLAGS=
8317 fi
8318 fi
8319
8320
8321 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
8322 echo "configure:8323: checking how to run the C++ preprocessor" >&5
8323 if test -z "$CXXCPP"; then
8324 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
8325 echo $ac_n "(cached) $ac_c" 1>&6
8326 else
8327 ac_ext=C
8328 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8329 ac_cpp='$CXXCPP $CPPFLAGS'
8330 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8331 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8332 cross_compiling=$ac_cv_prog_cxx_cross
8333 CXXCPP="${CXX-g++} -E"
8334 cat > conftest.$ac_ext <<EOF
8335 #line 8336 "configure"
8336 #include "confdefs.h"
8337 #include <stdlib.h>
8338 EOF
8339 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8340 { (eval echo configure:8341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8341 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8342 if test -z "$ac_err"; then
8343 :
8344 else
8345 echo "$ac_err" >&5
8346 echo "configure: failed program was:" >&5
8347 cat conftest.$ac_ext >&5
8348 rm -rf conftest*
8349 CXXCPP=/lib/cpp
8350 fi
8351 rm -f conftest*
8352 ac_cv_prog_CXXCPP="$CXXCPP"
8353 ac_ext=C
8354 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8355 ac_cpp='$CXXCPP $CPPFLAGS'
8356 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8357 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8358 cross_compiling=$ac_cv_prog_cxx_cross
8359 fi
8360 fi
8361 CXXCPP="$ac_cv_prog_CXXCPP"
8362 echo "$ac_t""$CXXCPP" 1>&6
8363
8364
8365 CXXFLAGS=`echo "$CXXFLAGS" | sed 's/-g//g'`
8366
8367 ac_ext=c
8368 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8369 ac_cpp='$CPP $CPPFLAGS'
8370 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8371 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8372 cross_compiling=$ac_cv_prog_cc_cross
8373
8374
8375 # Extract the first word of "ranlib", so it can be a program name with args.
8376 set dummy ranlib; ac_word=$2
8377 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8378 echo "configure:8379: checking for $ac_word" >&5
8379 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8380 echo $ac_n "(cached) $ac_c" 1>&6
8381 else
8382 if test -n "$RANLIB"; then
8383 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8384 else
8385 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8386 ac_dummy="$PATH"
8387 for ac_dir in $ac_dummy; do
8388 test -z "$ac_dir" && ac_dir=.
8389 if test -f $ac_dir/$ac_word; then
8390 ac_cv_prog_RANLIB="ranlib"
8391 break
8392 fi
8393 done
8394 IFS="$ac_save_ifs"
8395 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
8396 fi
8397 fi
8398 RANLIB="$ac_cv_prog_RANLIB"
8399 if test -n "$RANLIB"; then
8400 echo "$ac_t""$RANLIB" 1>&6
8401 else
8402 echo "$ac_t""no" 1>&6
8403 fi
8404
8405
8406 # Extract the first word of "ar", so it can be a program name with args.
8407 set dummy ar; ac_word=$2
8408 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8409 echo "configure:8410: checking for $ac_word" >&5
8410 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8411 echo $ac_n "(cached) $ac_c" 1>&6
8412 else
8413 if test -n "$AR"; then
8414 ac_cv_prog_AR="$AR" # Let the user override the test.
8415 else
8416 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8417 ac_dummy="$PATH"
8418 for ac_dir in $ac_dummy; do
8419 test -z "$ac_dir" && ac_dir=.
8420 if test -f $ac_dir/$ac_word; then
8421 ac_cv_prog_AR="ar"
8422 break
8423 fi
8424 done
8425 IFS="$ac_save_ifs"
8426 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
8427 fi
8428 fi
8429 AR="$ac_cv_prog_AR"
8430 if test -n "$AR"; then
8431 echo "$ac_t""$AR" 1>&6
8432 else
8433 echo "$ac_t""no" 1>&6
8434 fi
8435
8436
8437 # Find a good install program. We prefer a C program (faster),
8438 # so one script is as good as another. But avoid the broken or
8439 # incompatible versions:
8440 # SysV /etc/install, /usr/sbin/install
8441 # SunOS /usr/etc/install
8442 # IRIX /sbin/install
8443 # AIX /bin/install
8444 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8445 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8446 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8447 # ./install, which can be erroneously created by make from ./install.sh.
8448 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8449 echo "configure:8450: checking for a BSD compatible install" >&5
8450 if test -z "$INSTALL"; then
8451 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8452 echo $ac_n "(cached) $ac_c" 1>&6
8453 else
8454 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
8455 for ac_dir in $PATH; do
8456 # Account for people who put trailing slashes in PATH elements.
8457 case "$ac_dir/" in
8458 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
8459 *)
8460 # OSF1 and SCO ODT 3.0 have their own names for install.
8461 # Don't use installbsd from OSF since it installs stuff as root
8462 # by default.
8463 for ac_prog in ginstall scoinst install; do
8464 if test -f $ac_dir/$ac_prog; then
8465 if test $ac_prog = install &&
8466 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
8467 # AIX install. It has an incompatible calling convention.
8468 :
8469 else
8470 ac_cv_path_install="$ac_dir/$ac_prog -c"
8471 break 2
8472 fi
8473 fi
8474 done
8475 ;;
8476 esac
8477 done
8478 IFS="$ac_save_IFS"
8479
8480 fi
8481 if test "${ac_cv_path_install+set}" = set; then
8482 INSTALL="$ac_cv_path_install"
8483 else
8484 # As a last resort, use the slow shell script. We don't cache a
8485 # path for INSTALL within a source directory, because that will
8486 # break other packages using the cache if that directory is
8487 # removed, or if the path is relative.
8488 INSTALL="$ac_install_sh"
8489 fi
8490 fi
8491 echo "$ac_t""$INSTALL" 1>&6
8492
8493 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8494 # It thinks the first close brace ends the variable substitution.
8495 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
8496
8497 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
8498
8499 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
8500
8501
8502 # Extract the first word of "strip", so it can be a program name with args.
8503 set dummy strip; ac_word=$2
8504 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8505 echo "configure:8506: checking for $ac_word" >&5
8506 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8507 echo $ac_n "(cached) $ac_c" 1>&6
8508 else
8509 if test -n "$STRIP"; then
8510 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8511 else
8512 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8513 ac_dummy="$PATH"
8514 for ac_dir in $ac_dummy; do
8515 test -z "$ac_dir" && ac_dir=.
8516 if test -f $ac_dir/$ac_word; then
8517 ac_cv_prog_STRIP="strip"
8518 break
8519 fi
8520 done
8521 IFS="$ac_save_ifs"
8522 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
8523 fi
8524 fi
8525 STRIP="$ac_cv_prog_STRIP"
8526 if test -n "$STRIP"; then
8527 echo "$ac_t""$STRIP" 1>&6
8528 else
8529 echo "$ac_t""no" 1>&6
8530 fi
8531
8532
8533 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8534 echo "configure:8535: checking make for VPATH support" >&5
8535 cat - << EOF > confMake
8536 check : file
8537 cp \$? \$@
8538 cp \$? final_file
8539 EOF
8540
8541 if test ! -d sub ; then
8542 mkdir sub
8543 fi
8544 echo dummy > sub/file
8545 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
8546 RESULT=$?
8547 rm -f sub/file check final_file confMake
8548 rmdir sub
8549 if test "$RESULT" = 0; then
8550 echo "$ac_t""yes" 1>&6
8551 else
8552 echo "$ac_t""no" 1>&6
8553 { echo "configure: error:
8554 You need a make-utility that is able to use the variable
8555 VPATH correctly.
8556 If your version of make does not support VPATH correctly,
8557 please install GNU-make (possibly as gmake), and start
8558 configure with the following command:
8559 export MAKE=gmake; ./configure for sh-type shells
8560 setenv MAKE gmake; ./configure for csh-type shells
8561 Also please do remember to use gmake in this case every time
8562 you are trying to compile.
8563 " 1>&2; exit 1; }
8564 fi
8565
8566 for ac_prog in 'bison -y' byacc
8567 do
8568 # Extract the first word of "$ac_prog", so it can be a program name with args.
8569 set dummy $ac_prog; ac_word=$2
8570 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8571 echo "configure:8572: checking for $ac_word" >&5
8572 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8573 echo $ac_n "(cached) $ac_c" 1>&6
8574 else
8575 if test -n "$YACC"; then
8576 ac_cv_prog_YACC="$YACC" # Let the user override the test.
8577 else
8578 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8579 ac_dummy="$PATH"
8580 for ac_dir in $ac_dummy; do
8581 test -z "$ac_dir" && ac_dir=.
8582 if test -f $ac_dir/$ac_word; then
8583 ac_cv_prog_YACC="$ac_prog"
8584 break
8585 fi
8586 done
8587 IFS="$ac_save_ifs"
8588 fi
8589 fi
8590 YACC="$ac_cv_prog_YACC"
8591 if test -n "$YACC"; then
8592 echo "$ac_t""$YACC" 1>&6
8593 else
8594 echo "$ac_t""no" 1>&6
8595 fi
8596
8597 test -n "$YACC" && break
8598 done
8599 test -n "$YACC" || YACC="yacc"
8600
8601
8602 # Extract the first word of "flex", so it can be a program name with args.
8603 set dummy flex; ac_word=$2
8604 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8605 echo "configure:8606: checking for $ac_word" >&5
8606 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8607 echo $ac_n "(cached) $ac_c" 1>&6
8608 else
8609 if test -n "$LEX"; then
8610 ac_cv_prog_LEX="$LEX" # Let the user override the test.
8611 else
8612 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8613 ac_dummy="$PATH"
8614 for ac_dir in $ac_dummy; do
8615 test -z "$ac_dir" && ac_dir=.
8616 if test -f $ac_dir/$ac_word; then
8617 ac_cv_prog_LEX="flex"
8618 break
8619 fi
8620 done
8621 IFS="$ac_save_ifs"
8622 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"
8623 fi
8624 fi
8625 LEX="$ac_cv_prog_LEX"
8626 if test -n "$LEX"; then
8627 echo "$ac_t""$LEX" 1>&6
8628 else
8629 echo "$ac_t""no" 1>&6
8630 fi
8631
8632 if test -z "$LEXLIB"
8633 then
8634 case "$LEX" in
8635 flex*) ac_lib=fl ;;
8636 *) ac_lib=l ;;
8637 esac
8638 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8639 echo "configure:8640: checking for yywrap in -l$ac_lib" >&5
8640 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8641 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8642 echo $ac_n "(cached) $ac_c" 1>&6
8643 else
8644 ac_save_LIBS="$LIBS"
8645 LIBS="-l$ac_lib $LIBS"
8646 cat > conftest.$ac_ext <<EOF
8647 #line 8648 "configure"
8648 #include "confdefs.h"
8649 /* Override any gcc2 internal prototype to avoid an error. */
8650 /* We use char because int might match the return type of a gcc2
8651 builtin and then its argument prototype would still apply. */
8652 char yywrap();
8653
8654 int main() {
8655 yywrap()
8656 ; return 0; }
8657 EOF
8658 if { (eval echo configure:8659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8659 rm -rf conftest*
8660 eval "ac_cv_lib_$ac_lib_var=yes"
8661 else
8662 echo "configure: failed program was:" >&5
8663 cat conftest.$ac_ext >&5
8664 rm -rf conftest*
8665 eval "ac_cv_lib_$ac_lib_var=no"
8666 fi
8667 rm -f conftest*
8668 LIBS="$ac_save_LIBS"
8669
8670 fi
8671 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8672 echo "$ac_t""yes" 1>&6
8673 LEXLIB="-l$ac_lib"
8674 else
8675 echo "$ac_t""no" 1>&6
8676 fi
8677
8678 fi
8679
8680
8681 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8682 echo "configure:8683: checking whether ln -s works" >&5
8683 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8684 echo $ac_n "(cached) $ac_c" 1>&6
8685 else
8686 rm -f conftestdata
8687 if ln -s X conftestdata 2>/dev/null
8688 then
8689 rm -f conftestdata
8690 ac_cv_prog_LN_S="ln -s"
8691 else
8692 ac_cv_prog_LN_S=ln
8693 fi
8694 fi
8695 LN_S="$ac_cv_prog_LN_S"
8696 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8697 echo "$ac_t""yes" 1>&6
8698 else
8699 echo "$ac_t""no" 1>&6
8700 fi
8701
8702
8703
8704 SEARCH_INCLUDE="\
8705 /usr/local/include \
8706 \
8707 /usr/Motif-1.2/include \
8708 /usr/Motif-2.1/include \
8709 \
8710 /usr/include/Motif1.2 \
8711 /opt/xpm/include/X11 \
8712 /opt/GBxpm/include/ \
8713 /opt/GBxpm/X11/include/ \
8714 \
8715 /usr/Motif1.2/include \
8716 /usr/dt/include \
8717 /usr/openwin/include \
8718 \
8719 /usr/include/Xm \
8720 \
8721 /usr/X11R6/include \
8722 /usr/X11R6.4/include \
8723 /usr/X11R5/include \
8724 /usr/X11R4/include \
8725 \
8726 /usr/include/X11R6 \
8727 /usr/include/X11R5 \
8728 /usr/include/X11R4 \
8729 \
8730 /usr/local/X11R6/include \
8731 /usr/local/X11R5/include \
8732 /usr/local/X11R4/include \
8733 \
8734 /usr/local/include/X11R6 \
8735 /usr/local/include/X11R5 \
8736 /usr/local/include/X11R4 \
8737 \
8738 /usr/X11/include \
8739 /usr/include/X11 \
8740 /usr/local/X11/include \
8741 /usr/local/include/X11 \
8742 \
8743 /usr/X386/include \
8744 /usr/x386/include \
8745 /usr/XFree86/include/X11 \
8746 \
8747 X:/XFree86/include \
8748 X:/XFree86/include/X11 \
8749 \
8750 /usr/include/gtk \
8751 /usr/local/include/gtk \
8752 /usr/include/glib \
8753 /usr/local/include/glib \
8754 \
8755 /usr/include/qt \
8756 /usr/local/include/qt \
8757 \
8758 /usr/include/windows \
8759 /usr/include/wine \
8760 /usr/local/include/wine \
8761 \
8762 /usr/unsupported/include \
8763 /usr/athena/include \
8764 /usr/local/x11r5/include \
8765 /usr/lpp/Xamples/include \
8766 \
8767 /usr/openwin/share/include \
8768 \
8769 /usr/include"
8770
8771 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8772
8773
8774 cat > confcache <<\EOF
8775 # This file is a shell script that caches the results of configure
8776 # tests run on this system so they can be shared between configure
8777 # scripts and configure runs. It is not useful on other systems.
8778 # If it contains results you don't want to keep, you may remove or edit it.
8779 #
8780 # By default, configure uses ./config.cache as the cache file,
8781 # creating it if it does not exist already. You can give configure
8782 # the --cache-file=FILE option to use a different cache file; that is
8783 # what configure does when it calls configure scripts in
8784 # subdirectories, so they share the cache.
8785 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8786 # config.status only pays attention to the cache file if you give it the
8787 # --recheck option to rerun configure.
8788 #
8789 EOF
8790 # The following way of writing the cache mishandles newlines in values,
8791 # but we know of no workaround that is simple, portable, and efficient.
8792 # So, don't put newlines in cache variables' values.
8793 # Ultrix sh set writes to stderr and can't be redirected directly,
8794 # and sets the high bit in the cache file unless we assign to the vars.
8795 (set) 2>&1 |
8796 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8797 *ac_space=\ *)
8798 # `set' does not quote correctly, so add quotes (double-quote substitution
8799 # turns \\\\ into \\, and sed turns \\ into \).
8800 sed -n \
8801 -e "s/'/'\\\\''/g" \
8802 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8803 ;;
8804 *)
8805 # `set' quotes correctly as required by POSIX, so do not add quotes.
8806 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8807 ;;
8808 esac >> confcache
8809 if cmp -s $cache_file confcache; then
8810 :
8811 else
8812 if test -w $cache_file; then
8813 echo "updating cache $cache_file"
8814 cat confcache > $cache_file
8815 else
8816 echo "not updating unwritable cache $cache_file"
8817 fi
8818 fi
8819 rm -f confcache
8820
8821
8822
8823 REGEX_INCLUDE=
8824 if test "$wxUSE_REGEX" != "no"; then
8825 ac_safe=`echo "regex.h" | sed 'y%./+-%__p_%'`
8826 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
8827 echo "configure:8828: checking for regex.h" >&5
8828 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8829 echo $ac_n "(cached) $ac_c" 1>&6
8830 else
8831 cat > conftest.$ac_ext <<EOF
8832 #line 8833 "configure"
8833 #include "confdefs.h"
8834 #include <regex.h>
8835 EOF
8836 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8837 { (eval echo configure:8838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8838 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8839 if test -z "$ac_err"; then
8840 rm -rf conftest*
8841 eval "ac_cv_header_$ac_safe=yes"
8842 else
8843 echo "$ac_err" >&5
8844 echo "configure: failed program was:" >&5
8845 cat conftest.$ac_ext >&5
8846 rm -rf conftest*
8847 eval "ac_cv_header_$ac_safe=no"
8848 fi
8849 rm -f conftest*
8850 fi
8851 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8852 echo "$ac_t""yes" 1>&6
8853 for ac_func in regcomp
8854 do
8855 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8856 echo "configure:8857: checking for $ac_func" >&5
8857 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8858 echo $ac_n "(cached) $ac_c" 1>&6
8859 else
8860 cat > conftest.$ac_ext <<EOF
8861 #line 8862 "configure"
8862 #include "confdefs.h"
8863 /* System header to define __stub macros and hopefully few prototypes,
8864 which can conflict with char $ac_func(); below. */
8865 #include <assert.h>
8866 /* Override any gcc2 internal prototype to avoid an error. */
8867 /* We use char because int might match the return type of a gcc2
8868 builtin and then its argument prototype would still apply. */
8869 char $ac_func();
8870
8871 int main() {
8872
8873 /* The GNU C library defines this for functions which it implements
8874 to always fail with ENOSYS. Some functions are actually named
8875 something starting with __ and the normal name is an alias. */
8876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8877 choke me
8878 #else
8879 $ac_func();
8880 #endif
8881
8882 ; return 0; }
8883 EOF
8884 if { (eval echo configure:8885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8885 rm -rf conftest*
8886 eval "ac_cv_func_$ac_func=yes"
8887 else
8888 echo "configure: failed program was:" >&5
8889 cat conftest.$ac_ext >&5
8890 rm -rf conftest*
8891 eval "ac_cv_func_$ac_func=no"
8892 fi
8893 rm -f conftest*
8894 fi
8895
8896 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8897 echo "$ac_t""yes" 1>&6
8898 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8899 cat >> confdefs.h <<EOF
8900 #define $ac_tr_func 1
8901 EOF
8902
8903 else
8904 echo "$ac_t""no" 1>&6
8905 fi
8906 done
8907
8908 else
8909 echo "$ac_t""no" 1>&6
8910 fi
8911
8912
8913 if test "x$ac_cv_func_regcomp" != "xyes"; then
8914 if test "$wxUSE_REGEX" = "sys"; then
8915 { echo "configure: error: system regex library not found! Use --with-regex to use the built-in regex library." 1>&2; exit 1; }
8916 fi
8917
8918 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
8919 fi
8920
8921 cat >> confdefs.h <<\EOF
8922 #define wxUSE_REGEX 1
8923 EOF
8924
8925 fi
8926
8927
8928 AFMINSTALL=
8929
8930 if test "$wxUSE_GUI" = "yes"; then
8931 USE_GUI=1
8932
8933 TOOLKIT=
8934 TOOLKIT_INCLUDE=
8935
8936 GUI_TK_LIBRARY=
8937 GUI_TK_LINK=
8938
8939 WXGTK12=
8940 WXGTK127=
8941 WXGTK20=
8942
8943 WXWINE=
8944
8945 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
8946 ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'`
8947 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
8948 echo "configure:8949: checking for windows.h" >&5
8949 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8950 echo $ac_n "(cached) $ac_c" 1>&6
8951 else
8952 cat > conftest.$ac_ext <<EOF
8953 #line 8954 "configure"
8954 #include "confdefs.h"
8955 #include <windows.h>
8956 EOF
8957 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8958 { (eval echo configure:8959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8959 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8960 if test -z "$ac_err"; then
8961 rm -rf conftest*
8962 eval "ac_cv_header_$ac_safe=yes"
8963 else
8964 echo "$ac_err" >&5
8965 echo "configure: failed program was:" >&5
8966 cat conftest.$ac_ext >&5
8967 rm -rf conftest*
8968 eval "ac_cv_header_$ac_safe=no"
8969 fi
8970 rm -f conftest*
8971 fi
8972 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8973 echo "$ac_t""yes" 1>&6
8974 :
8975 else
8976 echo "$ac_t""no" 1>&6
8977
8978 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
8979
8980 fi
8981
8982
8983 INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS msw"
8984
8985 LIBS="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
8986
8987 if test "$wxUSE_ODBC" = "yes" ; then
8988 LIBS="$LIBS -lodbc32 -lole32 -loleaut32"
8989 fi
8990
8991 if test "$wxUSE_MINGW" = 1; then
8992 LDFLAGS="$LDFLAGS -mwindows"
8993 fi
8994
8995 TOOLKIT=MSW
8996 GUIDIST=MSW_DIST
8997
8998 RCINCSWITCH="--include-dir"
8999 RCDEFSWITCH="--define"
9000 RCPREPROCESSOR="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
9001 RCINPUTSWITCH="-i"
9002 RCOUTPUTSWITCH="-o"
9003 RESFLAGS="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
9004
9005 RESPROGRAM="\$(RES_PROGRAM)"
9006 fi
9007
9008 if test "$wxUSE_GTK" = 1; then
9009 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
9010 echo "configure:9011: checking for GTK+ version" >&5
9011
9012 gtk_version_cached=1
9013 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
9014 echo $ac_n "(cached) $ac_c" 1>&6
9015 else
9016
9017 gtk_version_cached=0
9018 echo "$ac_t""""" 1>&6
9019
9020 wx_cv_lib_gtk=
9021 if test "x$wxUSE_GTK2" = "xyes"; then
9022 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9023 if test "${with_gtk_prefix+set}" = set; then
9024 withval="$with_gtk_prefix"
9025 gtk_config_prefix="$withval"
9026 else
9027 gtk_config_prefix=""
9028 fi
9029
9030 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9031 if test "${with_gtk_exec_prefix+set}" = set; then
9032 withval="$with_gtk_exec_prefix"
9033 gtk_config_exec_prefix="$withval"
9034 else
9035 gtk_config_exec_prefix=""
9036 fi
9037
9038 # Check whether --enable-gtktest or --disable-gtktest was given.
9039 if test "${enable_gtktest+set}" = set; then
9040 enableval="$enable_gtktest"
9041 :
9042 else
9043 enable_gtktest=yes
9044 fi
9045
9046
9047 for module in .
9048 do
9049 case "$module" in
9050 gthread)
9051 gtk_config_args="$gtk_config_args gthread"
9052 ;;
9053 esac
9054 done
9055
9056 if test x$gtk_config_exec_prefix != x ; then
9057 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9058 if test x${GTK_CONFIG_2_0+set} != xset ; then
9059 GTK_CONFIG_2_0=$gtk_config_exec_prefix/bin/gtk-config-2.0
9060 fi
9061 fi
9062 if test x$gtk_config_prefix != x ; then
9063 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
9064 if test x${GTK_CONFIG_2_0+set} != xset ; then
9065 GTK_CONFIG_2_0=$gtk_config_prefix/bin/gtk-config-2.0
9066 fi
9067 fi
9068
9069 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
9070 set dummy gtk-config-2.0; ac_word=$2
9071 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9072 echo "configure:9073: checking for $ac_word" >&5
9073 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
9074 echo $ac_n "(cached) $ac_c" 1>&6
9075 else
9076 case "$GTK_CONFIG_2_0" in
9077 /*)
9078 ac_cv_path_GTK_CONFIG_2_0="$GTK_CONFIG_2_0" # Let the user override the test with a path.
9079 ;;
9080 ?:/*)
9081 ac_cv_path_GTK_CONFIG_2_0="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
9082 ;;
9083 *)
9084 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9085 ac_dummy="$PATH"
9086 for ac_dir in $ac_dummy; do
9087 test -z "$ac_dir" && ac_dir=.
9088 if test -f $ac_dir/$ac_word; then
9089 ac_cv_path_GTK_CONFIG_2_0="$ac_dir/$ac_word"
9090 break
9091 fi
9092 done
9093 IFS="$ac_save_ifs"
9094 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0="no"
9095 ;;
9096 esac
9097 fi
9098 GTK_CONFIG_2_0="$ac_cv_path_GTK_CONFIG_2_0"
9099 if test -n "$GTK_CONFIG_2_0"; then
9100 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
9101 else
9102 echo "$ac_t""no" 1>&6
9103 fi
9104
9105 min_gtk_version=1.3.1
9106 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9107 echo "configure:9108: checking for GTK - version >= $min_gtk_version" >&5
9108 no_gtk=""
9109 if test "$GTK_CONFIG_2_0" = "no" ; then
9110 no_gtk=yes
9111 else
9112 GTK_CFLAGS=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
9113 GTK_LIBS=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
9114 gtk_config_major_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9115 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9116 gtk_config_minor_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9117 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9118 gtk_config_micro_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9119 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9120 if test "x$enable_gtktest" = "xyes" ; then
9121 ac_save_CFLAGS="$CFLAGS"
9122 ac_save_LIBS="$LIBS"
9123 CFLAGS="$CFLAGS $GTK_CFLAGS"
9124 LIBS="$GTK_LIBS $LIBS"
9125 rm -f conf.gtktest
9126 if test "$cross_compiling" = yes; then
9127 echo $ac_n "cross compiling; assumed OK... $ac_c"
9128 else
9129 cat > conftest.$ac_ext <<EOF
9130 #line 9131 "configure"
9131 #include "confdefs.h"
9132
9133 #include <gtk/gtk.h>
9134 #include <stdio.h>
9135 #include <stdlib.h>
9136
9137 int
9138 main ()
9139 {
9140 int major, minor, micro;
9141 char *tmp_version;
9142
9143 system ("touch conf.gtktest");
9144
9145 /* HP/UX 9 (%@#!) writes to sscanf strings */
9146 tmp_version = g_strdup("$min_gtk_version");
9147 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
9148 printf("%s, bad version string\n", "$min_gtk_version");
9149 exit(1);
9150 }
9151
9152 if ((gtk_major_version != $gtk_config_major_version) ||
9153 (gtk_minor_version != $gtk_config_minor_version) ||
9154 (gtk_micro_version != $gtk_config_micro_version))
9155 {
9156 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9157 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9158 gtk_major_version, gtk_minor_version, gtk_micro_version);
9159 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
9160 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9161 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9162 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9163 printf("*** required on your system.\n");
9164 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
9165 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
9166 printf("*** before re-running configure\n");
9167 }
9168 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
9169 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9170 (gtk_minor_version != GTK_MINOR_VERSION) ||
9171 (gtk_micro_version != GTK_MICRO_VERSION))
9172 {
9173 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9174 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9175 printf("*** library (version %d.%d.%d)\n",
9176 gtk_major_version, gtk_minor_version, gtk_micro_version);
9177 }
9178 #endif /* defined (GTK_MAJOR_VERSION) ... */
9179 else
9180 {
9181 if ((gtk_major_version > major) ||
9182 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9183 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9184 {
9185 return 0;
9186 }
9187 else
9188 {
9189 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
9190 gtk_major_version, gtk_minor_version, gtk_micro_version);
9191 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
9192 major, minor, micro);
9193 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
9194 printf("***\n");
9195 printf("*** If you have already installed a sufficiently new version, this error\n");
9196 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
9197 printf("*** being found. The easiest way to fix this is to remove the old version\n");
9198 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
9199 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
9200 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9201 printf("*** so that the correct libraries are found at run-time))\n");
9202 }
9203 }
9204 return 1;
9205 }
9206
9207 EOF
9208 if { (eval echo configure:9209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9209 then
9210 :
9211 else
9212 echo "configure: failed program was:" >&5
9213 cat conftest.$ac_ext >&5
9214 rm -fr conftest*
9215 no_gtk=yes
9216 fi
9217 rm -fr conftest*
9218 fi
9219
9220 CFLAGS="$ac_save_CFLAGS"
9221 LIBS="$ac_save_LIBS"
9222 fi
9223 fi
9224 if test "x$no_gtk" = x ; then
9225 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
9226 wx_cv_lib_gtk=2.0
9227 else
9228 echo "$ac_t""no" 1>&6
9229 if test "$GTK_CONFIG_2_0" = "no" ; then
9230 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
9231 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
9232 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
9233 echo "*** full path to gtk-config-2.0."
9234 else
9235 if test -f conf.gtktest ; then
9236 :
9237 else
9238 echo "*** Could not run GTK test program, checking why..."
9239 CFLAGS="$CFLAGS $GTK_CFLAGS"
9240 LIBS="$LIBS $GTK_LIBS"
9241 cat > conftest.$ac_ext <<EOF
9242 #line 9243 "configure"
9243 #include "confdefs.h"
9244
9245 #include <gtk/gtk.h>
9246 #include <stdio.h>
9247
9248 int main() {
9249 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
9250 ; return 0; }
9251 EOF
9252 if { (eval echo configure:9253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9253 rm -rf conftest*
9254 echo "*** The test program compiled, but did not run. This usually means"
9255 echo "*** that the run-time linker is not finding GTK or finding the wrong"
9256 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
9257 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9258 echo "*** to the installed location Also, make sure you have run ldconfig if that"
9259 echo "*** is required on your system"
9260 echo "***"
9261 echo "*** If you have an old version installed, it is best to remove it, although"
9262 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9263 echo "***"
9264 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
9265 echo "*** came with the system with the command"
9266 echo "***"
9267 echo "*** rpm --erase --nodeps gtk gtk-devel"
9268 else
9269 echo "configure: failed program was:" >&5
9270 cat conftest.$ac_ext >&5
9271 rm -rf conftest*
9272 echo "*** The test program failed to compile or link. See the file config.log for the"
9273 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
9274 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
9275 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
9276 fi
9277 rm -f conftest*
9278 CFLAGS="$ac_save_CFLAGS"
9279 LIBS="$ac_save_LIBS"
9280 fi
9281 fi
9282 GTK_CFLAGS=""
9283 GTK_LIBS=""
9284 gthread
9285 fi
9286
9287
9288 rm -f conf.gtktest
9289
9290 fi
9291
9292 if test -z "$wx_cv_lib_gtk"; then
9293
9294 if test x$gtk_config_exec_prefix != x ; then
9295 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9296 if test x${GTK_CONFIG+set} != xset ; then
9297 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
9298 fi
9299 fi
9300 if test x$gtk_config_prefix != x ; then
9301 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
9302 if test x${GTK_CONFIG+set} != xset ; then
9303 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
9304 fi
9305 fi
9306
9307 # Extract the first word of "gtk-config", so it can be a program name with args.
9308 set dummy gtk-config; ac_word=$2
9309 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9310 echo "configure:9311: checking for $ac_word" >&5
9311 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9312 echo $ac_n "(cached) $ac_c" 1>&6
9313 else
9314 case "$GTK_CONFIG" in
9315 /*)
9316 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
9317 ;;
9318 ?:/*)
9319 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
9320 ;;
9321 *)
9322 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9323 ac_dummy="$PATH"
9324 for ac_dir in $ac_dummy; do
9325 test -z "$ac_dir" && ac_dir=.
9326 if test -f $ac_dir/$ac_word; then
9327 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
9328 break
9329 fi
9330 done
9331 IFS="$ac_save_ifs"
9332 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
9333 ;;
9334 esac
9335 fi
9336 GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
9337 if test -n "$GTK_CONFIG"; then
9338 echo "$ac_t""$GTK_CONFIG" 1>&6
9339 else
9340 echo "$ac_t""no" 1>&6
9341 fi
9342
9343 min_gtk_version=1.2.7
9344 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9345 echo "configure:9346: checking for GTK - version >= $min_gtk_version" >&5
9346 no_gtk=""
9347 if test "$GTK_CONFIG" != "no" ; then
9348 GTK_CFLAGS=`$GTK_CONFIG --cflags`
9349 GTK_LIBS=`$GTK_CONFIG --libs gthread`
9350 ac_save_CFLAGS="$CFLAGS"
9351 ac_save_LIBS="$LIBS"
9352 CFLAGS="$CFLAGS $GTK_CFLAGS"
9353 LIBS="$LIBS $GTK_LIBS"
9354 if test "$cross_compiling" = yes; then
9355 echo $ac_n "cross compiling; assumed OK... $ac_c"
9356 else
9357 cat > conftest.$ac_ext <<EOF
9358 #line 9359 "configure"
9359 #include "confdefs.h"
9360
9361 #include <gtk/gtk.h>
9362 #include <gtk/gtkfeatures.h>
9363 #include <stdio.h>
9364 #include <stdlib.h>
9365
9366 int
9367 main ()
9368 {
9369 int major, minor, micro;
9370
9371 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, &micro) != 3) {
9372 printf("%s, bad version string\n", "$min_gtk_version");
9373 exit(1);
9374 }
9375
9376 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9377 (GTK_MINOR_VERSION != gtk_minor_version) ||
9378 (GTK_MICRO_VERSION != gtk_micro_version)) {
9379 printf("Headers vs. library version mismatch!\n");
9380 exit(1);
9381 }
9382
9383 if (gtk_minor_version == 1) return FALSE;
9384
9385 return !((gtk_major_version > major) ||
9386 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9387 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9388 }
9389
9390 EOF
9391 if { (eval echo configure:9392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9392 then
9393 :
9394 else
9395 echo "configure: failed program was:" >&5
9396 cat conftest.$ac_ext >&5
9397 rm -fr conftest*
9398 no_gtk=yes
9399 fi
9400 rm -fr conftest*
9401 fi
9402
9403 CFLAGS="$ac_save_CFLAGS"
9404 LIBS="$ac_save_LIBS"
9405 else
9406 no_gtk=yes
9407 fi
9408 if test "x$no_gtk" = x ; then
9409 echo "$ac_t""yes" 1>&6
9410 wx_cv_lib_gtk=1.2.7
9411 else
9412 echo "$ac_t""no" 1>&6
9413 GTK_CFLAGS=""
9414 GTK_LIBS=""
9415 :
9416 fi
9417
9418
9419
9420 fi
9421
9422 if test -z "$wx_cv_lib_gtk"; then
9423
9424 if test x$gtk_config_exec_prefix != x ; then
9425 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9426 if test x${GTK_CONFIG+set} != xset ; then
9427 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
9428 fi
9429 fi
9430 if test x$gtk_config_prefix != x ; then
9431 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
9432 if test x${GTK_CONFIG+set} != xset ; then
9433 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
9434 fi
9435 fi
9436
9437 # Extract the first word of "gtk-config", so it can be a program name with args.
9438 set dummy gtk-config; ac_word=$2
9439 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9440 echo "configure:9441: checking for $ac_word" >&5
9441 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9442 echo $ac_n "(cached) $ac_c" 1>&6
9443 else
9444 case "$GTK_CONFIG" in
9445 /*)
9446 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
9447 ;;
9448 ?:/*)
9449 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
9450 ;;
9451 *)
9452 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9453 ac_dummy="$PATH"
9454 for ac_dir in $ac_dummy; do
9455 test -z "$ac_dir" && ac_dir=.
9456 if test -f $ac_dir/$ac_word; then
9457 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
9458 break
9459 fi
9460 done
9461 IFS="$ac_save_ifs"
9462 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
9463 ;;
9464 esac
9465 fi
9466 GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
9467 if test -n "$GTK_CONFIG"; then
9468 echo "$ac_t""$GTK_CONFIG" 1>&6
9469 else
9470 echo "$ac_t""no" 1>&6
9471 fi
9472
9473 min_gtk_version=1.2.3
9474 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9475 echo "configure:9476: checking for GTK - version >= $min_gtk_version" >&5
9476 no_gtk=""
9477 if test "$GTK_CONFIG" != "no" ; then
9478 GTK_CFLAGS=`$GTK_CONFIG --cflags`
9479 GTK_LIBS=`$GTK_CONFIG --libs gthread`
9480 ac_save_CFLAGS="$CFLAGS"
9481 ac_save_LIBS="$LIBS"
9482 CFLAGS="$CFLAGS $GTK_CFLAGS"
9483 LIBS="$LIBS $GTK_LIBS"
9484 if test "$cross_compiling" = yes; then
9485 echo $ac_n "cross compiling; assumed OK... $ac_c"
9486 else
9487 cat > conftest.$ac_ext <<EOF
9488 #line 9489 "configure"
9489 #include "confdefs.h"
9490
9491 #include <gtk/gtk.h>
9492 #include <gtk/gtkfeatures.h>
9493 #include <stdio.h>
9494 #include <stdlib.h>
9495
9496 int
9497 main ()
9498 {
9499 int major, minor, micro;
9500
9501 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, &micro) != 3) {
9502 printf("%s, bad version string\n", "$min_gtk_version");
9503 exit(1);
9504 }
9505
9506 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9507 (GTK_MINOR_VERSION != gtk_minor_version) ||
9508 (GTK_MICRO_VERSION != gtk_micro_version)) {
9509 printf("Headers vs. library version mismatch!\n");
9510 exit(1);
9511 }
9512
9513 if (gtk_minor_version == 1) return FALSE;
9514
9515 return !((gtk_major_version > major) ||
9516 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9517 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9518 }
9519
9520 EOF
9521 if { (eval echo configure:9522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9522 then
9523 :
9524 else
9525 echo "configure: failed program was:" >&5
9526 cat conftest.$ac_ext >&5
9527 rm -fr conftest*
9528 no_gtk=yes
9529 fi
9530 rm -fr conftest*
9531 fi
9532
9533 CFLAGS="$ac_save_CFLAGS"
9534 LIBS="$ac_save_LIBS"
9535 else
9536 no_gtk=yes
9537 fi
9538 if test "x$no_gtk" = x ; then
9539 echo "$ac_t""yes" 1>&6
9540 wx_cv_lib_gtk=1.2.3
9541 else
9542 echo "$ac_t""no" 1>&6
9543 GTK_CFLAGS=""
9544 GTK_LIBS=""
9545 :
9546 fi
9547
9548
9549
9550 fi
9551
9552 if test -z "$wx_cv_lib_gtk"; then
9553 wx_cv_lib_gtk=none
9554 else
9555 wx_cv_cflags_gtk=$GTK_CFLAGS
9556 wx_cv_libs_gtk=$GTK_LIBS
9557 fi
9558
9559
9560 fi
9561
9562
9563 if test "$gtk_version_cached" = 1; then
9564 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9565 fi
9566
9567 case "$wx_cv_lib_gtk" in
9568 2.0) WXGTK20=1
9569 ;;
9570 1.2.7) WXGTK127=1
9571 WXGTK12=1
9572 ;;
9573 1.2.3) WXGTK12=1
9574 ;;
9575 *) { echo "configure: error:
9576 Please check that gtk-config is in path, the directory
9577 where GTK+ libraries are installed (returned by
9578 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9579 equivalent variable and GTK+ is version 1.2.3 or above.
9580 " 1>&2; exit 1; }
9581 ;;
9582 esac
9583
9584 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
9585 GUI_TK_LIBRARY="$wx_cv_libs_gtk"
9586
9587 AFMINSTALL=afminstall
9588 TOOLKIT=GTK
9589 GUIDIST=GTK_DIST
9590
9591 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9592 echo "configure:9593: checking for gdk_im_open in -lgdk" >&5
9593 ac_lib_var=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9594 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9595 echo $ac_n "(cached) $ac_c" 1>&6
9596 else
9597 ac_save_LIBS="$LIBS"
9598 LIBS="-lgdk $LIBS"
9599 cat > conftest.$ac_ext <<EOF
9600 #line 9601 "configure"
9601 #include "confdefs.h"
9602 /* Override any gcc2 internal prototype to avoid an error. */
9603 /* We use char because int might match the return type of a gcc2
9604 builtin and then its argument prototype would still apply. */
9605 char gdk_im_open();
9606
9607 int main() {
9608 gdk_im_open()
9609 ; return 0; }
9610 EOF
9611 if { (eval echo configure:9612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9612 rm -rf conftest*
9613 eval "ac_cv_lib_$ac_lib_var=yes"
9614 else
9615 echo "configure: failed program was:" >&5
9616 cat conftest.$ac_ext >&5
9617 rm -rf conftest*
9618 eval "ac_cv_lib_$ac_lib_var=no"
9619 fi
9620 rm -f conftest*
9621 LIBS="$ac_save_LIBS"
9622
9623 fi
9624 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9625 echo "$ac_t""yes" 1>&6
9626 cat >> confdefs.h <<\EOF
9627 #define HAVE_XIM 1
9628 EOF
9629
9630 else
9631 echo "$ac_t""no" 1>&6
9632 fi
9633
9634 fi
9635
9636 if test "$wxUSE_MGL" = 1; then
9637
9638 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9639 echo "configure:9640: checking for SciTech MGL library" >&5
9640 if test "x$MGL_ROOT" = x ; then
9641 echo "$ac_t""not found" 1>&6
9642 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9643 else
9644 echo "$ac_t""$MGL_ROOT" 1>&6
9645 fi
9646
9647 MGL_OS=linux/gcc/glibc
9648 MGL_LIB_TYPE=""
9649
9650 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9651 if test -f $MGL_ROOT/lib/debug/$MGL_OS/libmgl.a ; then
9652 MGL_LIB_TYPE=debug
9653 fi
9654 fi
9655 if test "x$MGL_LIB_TYPE" = x ; then
9656 if test -f $MGL_ROOT/lib/release/$MGL_OS/libmgl.a ; then
9657 MGL_LIB_TYPE=release
9658 else
9659 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9660 fi
9661 fi
9662
9663 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
9664 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$MGL_LIB_TYPE/$MGL_OS -lmgl -lmglcpp -lpm"
9665
9666 AFMINSTALL=afminstall
9667 TOOLKIT=MGL
9668 GUIDIST=MGL_DIST
9669 fi
9670
9671 if test "$wxUSE_WINE" = 1; then
9672 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
9673 echo "configure:9674: checking for WINE includes" >&5
9674
9675 ac_find_includes=
9676 for ac_dir in $SEARCH_INCLUDE;
9677 do
9678 if test -f "$ac_dir/windows.h"; then
9679 ac_find_includes=$ac_dir
9680 break
9681 fi
9682 done
9683
9684 if test "$ac_find_includes" != "" ; then
9685 echo "$ac_t""found $ac_find_includes" 1>&6
9686 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -I$ac_find_includes"
9687 else
9688 echo "$ac_t""no" 1>&6
9689 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9690 fi
9691
9692 XPM_LINK=""
9693 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9694 echo "configure:9695: checking for Xpm library" >&5
9695
9696 ac_find_libraries=
9697 for ac_dir in $SEARCH_LIB;
9698 do
9699 for ac_extension in a so sl dylib; do
9700 if test -f "$ac_dir/libXpm.$ac_extension"; then
9701 ac_find_libraries=$ac_dir
9702 break 2
9703 fi
9704 done
9705 done
9706
9707 if test "$ac_find_libraries" != "" ; then
9708 GUI_TK_LIBRARY="-L$ac_find_libraries"
9709 XPM_LINK="-lXpm"
9710 cat >> confdefs.h <<\EOF
9711 #define wxHAVE_LIB_XPM 1
9712 EOF
9713
9714 echo "$ac_t""found at $ac_find_libraries" 1>&6
9715 else
9716 echo "$ac_t""no" 1>&6
9717 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9718 fi
9719
9720 MESA_LINK=""
9721 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9722 echo "configure:9723: checking for Mesa library" >&5
9723
9724 ac_find_libraries=
9725 for ac_dir in $SEARCH_LIB;
9726 do
9727 for ac_extension in a so sl dylib; do
9728 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9729 ac_find_libraries=$ac_dir
9730 break 2
9731 fi
9732 done
9733 done
9734
9735 if test "$ac_find_libraries" != "" ; then
9736 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -L$ac_find_libraries"
9737 MESA_LINK="-lMesaGL"
9738 echo "$ac_t""found at $ac_find_libraries" 1>&6
9739 else
9740 { echo "configure: error: no" 1>&2; exit 1; }
9741 fi
9742
9743 GUI_TK_LINK="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9744 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GUI_TK_LINK"
9745 WXWINE=1
9746 TOOLKIT=MSW
9747 GUIDIST=MSW_DIST
9748 fi
9749
9750
9751 # If we find X, set shell vars x_includes and x_libraries to the
9752 # paths, otherwise set no_x=yes.
9753 # Uses ac_ vars as temps to allow command line to override cache and checks.
9754 # --without-x overrides everything else, but does not touch the cache.
9755 echo $ac_n "checking for X""... $ac_c" 1>&6
9756 echo "configure:9757: checking for X" >&5
9757
9758 # Check whether --with-x or --without-x was given.
9759 if test "${with_x+set}" = set; then
9760 withval="$with_x"
9761 :
9762 fi
9763
9764 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9765 if test "x$with_x" = xno; then
9766 # The user explicitly disabled X.
9767 have_x=disabled
9768 else
9769 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
9770 # Both variables are already set.
9771 have_x=yes
9772 else
9773 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9774 echo $ac_n "(cached) $ac_c" 1>&6
9775 else
9776 # One or both of the vars are not set, and there is no cached value.
9777 ac_x_includes=NO ac_x_libraries=NO
9778 rm -fr conftestdir
9779 if mkdir conftestdir; then
9780 cd conftestdir
9781 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9782 cat > Imakefile <<'EOF'
9783 acfindx:
9784 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9785 EOF
9786 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
9787 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9788 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9789 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9790 for ac_extension in a so sl; do
9791 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
9792 test -f $ac_im_libdir/libX11.$ac_extension; then
9793 ac_im_usrlibdir=$ac_im_libdir; break
9794 fi
9795 done
9796 # Screen out bogus values from the imake configuration. They are
9797 # bogus both because they are the default anyway, and because
9798 # using them would break gcc on systems where it needs fixed includes.
9799 case "$ac_im_incroot" in
9800 /usr/include) ;;
9801 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
9802 esac
9803 case "$ac_im_usrlibdir" in
9804 /usr/lib | /lib) ;;
9805 *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
9806 esac
9807 fi
9808 cd ..
9809 rm -fr conftestdir
9810 fi
9811
9812 if test "$ac_x_includes" = NO; then
9813 # Guess where to find include files, by looking for this one X11 .h file.
9814 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
9815
9816 # First, try using that file with no special directory specified.
9817 cat > conftest.$ac_ext <<EOF
9818 #line 9819 "configure"
9819 #include "confdefs.h"
9820 #include <$x_direct_test_include>
9821 EOF
9822 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9823 { (eval echo configure:9824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9824 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9825 if test -z "$ac_err"; then
9826 rm -rf conftest*
9827 # We can compile using X headers with no special include directory.
9828 ac_x_includes=
9829 else
9830 echo "$ac_err" >&5
9831 echo "configure: failed program was:" >&5
9832 cat conftest.$ac_ext >&5
9833 rm -rf conftest*
9834 # Look for the header file in a standard set of common directories.
9835 # Check X11 before X11Rn because it is often a symlink to the current release.
9836 for ac_dir in \
9837 /usr/X11/include \
9838 /usr/X11R6/include \
9839 /usr/X11R5/include \
9840 /usr/X11R4/include \
9841 \
9842 /usr/include/X11 \
9843 /usr/include/X11R6 \
9844 /usr/include/X11R5 \
9845 /usr/include/X11R4 \
9846 \
9847 /usr/local/X11/include \
9848 /usr/local/X11R6/include \
9849 /usr/local/X11R5/include \
9850 /usr/local/X11R4/include \
9851 \
9852 /usr/local/include/X11 \
9853 /usr/local/include/X11R6 \
9854 /usr/local/include/X11R5 \
9855 /usr/local/include/X11R4 \
9856 \
9857 /usr/X386/include \
9858 /usr/x386/include \
9859 /usr/XFree86/include/X11 \
9860 \
9861 /usr/include \
9862 /usr/local/include \
9863 /usr/unsupported/include \
9864 /usr/athena/include \
9865 /usr/local/x11r5/include \
9866 /usr/lpp/Xamples/include \
9867 \
9868 /usr/openwin/include \
9869 /usr/openwin/share/include \
9870 ; \
9871 do
9872 if test -r "$ac_dir/$x_direct_test_include"; then
9873 ac_x_includes=$ac_dir
9874 break
9875 fi
9876 done
9877 fi
9878 rm -f conftest*
9879 fi # $ac_x_includes = NO
9880
9881 if test "$ac_x_libraries" = NO; then
9882 # Check for the libraries.
9883
9884 test -z "$x_direct_test_library" && x_direct_test_library=Xt
9885 test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
9886
9887 # See if we find them without any special options.
9888 # Don't add to $LIBS permanently.
9889 ac_save_LIBS="$LIBS"
9890 LIBS="-l$x_direct_test_library $LIBS"
9891 cat > conftest.$ac_ext <<EOF
9892 #line 9893 "configure"
9893 #include "confdefs.h"
9894
9895 int main() {
9896 ${x_direct_test_function}()
9897 ; return 0; }
9898 EOF
9899 if { (eval echo configure:9900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9900 rm -rf conftest*
9901 LIBS="$ac_save_LIBS"
9902 # We can link X programs with no special library path.
9903 ac_x_libraries=
9904 else
9905 echo "configure: failed program was:" >&5
9906 cat conftest.$ac_ext >&5
9907 rm -rf conftest*
9908 LIBS="$ac_save_LIBS"
9909 # First see if replacing the include by lib works.
9910 # Check X11 before X11Rn because it is often a symlink to the current release.
9911 for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
9912 /usr/X11/lib \
9913 /usr/X11R6/lib \
9914 /usr/X11R5/lib \
9915 /usr/X11R4/lib \
9916 \
9917 /usr/lib/X11 \
9918 /usr/lib/X11R6 \
9919 /usr/lib/X11R5 \
9920 /usr/lib/X11R4 \
9921 \
9922 /usr/local/X11/lib \
9923 /usr/local/X11R6/lib \
9924 /usr/local/X11R5/lib \
9925 /usr/local/X11R4/lib \
9926 \
9927 /usr/local/lib/X11 \
9928 /usr/local/lib/X11R6 \
9929 /usr/local/lib/X11R5 \
9930 /usr/local/lib/X11R4 \
9931 \
9932 /usr/X386/lib \
9933 /usr/x386/lib \
9934 /usr/XFree86/lib/X11 \
9935 \
9936 /usr/lib \
9937 /usr/local/lib \
9938 /usr/unsupported/lib \
9939 /usr/athena/lib \
9940 /usr/local/x11r5/lib \
9941 /usr/lpp/Xamples/lib \
9942 /lib/usr/lib/X11 \
9943 \
9944 /usr/openwin/lib \
9945 /usr/openwin/share/lib \
9946 ; \
9947 do
9948 for ac_extension in a so sl; do
9949 if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
9950 ac_x_libraries=$ac_dir
9951 break 2
9952 fi
9953 done
9954 done
9955 fi
9956 rm -f conftest*
9957 fi # $ac_x_libraries = NO
9958
9959 if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then
9960 # Didn't find X anywhere. Cache the known absence of X.
9961 ac_cv_have_x="have_x=no"
9962 else
9963 # Record where we found X for the cache.
9964 ac_cv_have_x="have_x=yes \
9965 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9966 fi
9967 fi
9968 fi
9969 eval "$ac_cv_have_x"
9970 fi # $with_x != no
9971
9972 if test "$have_x" != yes; then
9973 echo "$ac_t""$have_x" 1>&6
9974 no_x=yes
9975 else
9976 # If each of the values was on the command line, it overrides each guess.
9977 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9978 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9979 # Update the cache value to reflect the command line values.
9980 ac_cv_have_x="have_x=yes \
9981 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9982 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
9983 fi
9984
9985 if test "$no_x" = yes; then
9986 # Not all programs may use this symbol, but it does not hurt to define it.
9987 cat >> confdefs.h <<\EOF
9988 #define X_DISPLAY_MISSING 1
9989 EOF
9990
9991 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9992 else
9993 if test -n "$x_includes"; then
9994 X_CFLAGS="$X_CFLAGS -I$x_includes"
9995 fi
9996
9997 # It would also be nice to do this for all -L options, not just this one.
9998 if test -n "$x_libraries"; then
9999 X_LIBS="$X_LIBS -L$x_libraries"
10000 # For Solaris; some versions of Sun CC require a space after -R and
10001 # others require no space. Words are not sufficient . . . .
10002 case "`(uname -sr) 2>/dev/null`" in
10003 "SunOS 5"*)
10004 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
10005 echo "configure:10006: checking whether -R must be followed by a space" >&5
10006 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
10007 cat > conftest.$ac_ext <<EOF
10008 #line 10009 "configure"
10009 #include "confdefs.h"
10010
10011 int main() {
10012
10013 ; return 0; }
10014 EOF
10015 if { (eval echo configure:10016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10016 rm -rf conftest*
10017 ac_R_nospace=yes
10018 else
10019 echo "configure: failed program was:" >&5
10020 cat conftest.$ac_ext >&5
10021 rm -rf conftest*
10022 ac_R_nospace=no
10023 fi
10024 rm -f conftest*
10025 if test $ac_R_nospace = yes; then
10026 echo "$ac_t""no" 1>&6
10027 X_LIBS="$X_LIBS -R$x_libraries"
10028 else
10029 LIBS="$ac_xsave_LIBS -R $x_libraries"
10030 cat > conftest.$ac_ext <<EOF
10031 #line 10032 "configure"
10032 #include "confdefs.h"
10033
10034 int main() {
10035
10036 ; return 0; }
10037 EOF
10038 if { (eval echo configure:10039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10039 rm -rf conftest*
10040 ac_R_space=yes
10041 else
10042 echo "configure: failed program was:" >&5
10043 cat conftest.$ac_ext >&5
10044 rm -rf conftest*
10045 ac_R_space=no
10046 fi
10047 rm -f conftest*
10048 if test $ac_R_space = yes; then
10049 echo "$ac_t""yes" 1>&6
10050 X_LIBS="$X_LIBS -R $x_libraries"
10051 else
10052 echo "$ac_t""neither works" 1>&6
10053 fi
10054 fi
10055 LIBS="$ac_xsave_LIBS"
10056 esac
10057 fi
10058
10059 # Check for system-dependent libraries X programs must link with.
10060 # Do this before checking for the system-independent R6 libraries
10061 # (-lICE), since we may need -lsocket or whatever for X linking.
10062
10063 if test "$ISC" = yes; then
10064 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10065 else
10066 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
10067 # libraries were built with DECnet support. And karl@cs.umb.edu says
10068 # the Alpha needs dnet_stub (dnet does not exist).
10069 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
10070 echo "configure:10071: checking for dnet_ntoa in -ldnet" >&5
10071 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10072 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10073 echo $ac_n "(cached) $ac_c" 1>&6
10074 else
10075 ac_save_LIBS="$LIBS"
10076 LIBS="-ldnet $LIBS"
10077 cat > conftest.$ac_ext <<EOF
10078 #line 10079 "configure"
10079 #include "confdefs.h"
10080 /* Override any gcc2 internal prototype to avoid an error. */
10081 /* We use char because int might match the return type of a gcc2
10082 builtin and then its argument prototype would still apply. */
10083 char dnet_ntoa();
10084
10085 int main() {
10086 dnet_ntoa()
10087 ; return 0; }
10088 EOF
10089 if { (eval echo configure:10090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10090 rm -rf conftest*
10091 eval "ac_cv_lib_$ac_lib_var=yes"
10092 else
10093 echo "configure: failed program was:" >&5
10094 cat conftest.$ac_ext >&5
10095 rm -rf conftest*
10096 eval "ac_cv_lib_$ac_lib_var=no"
10097 fi
10098 rm -f conftest*
10099 LIBS="$ac_save_LIBS"
10100
10101 fi
10102 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10103 echo "$ac_t""yes" 1>&6
10104 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10105 else
10106 echo "$ac_t""no" 1>&6
10107 fi
10108
10109 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10110 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
10111 echo "configure:10112: checking for dnet_ntoa in -ldnet_stub" >&5
10112 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10113 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10114 echo $ac_n "(cached) $ac_c" 1>&6
10115 else
10116 ac_save_LIBS="$LIBS"
10117 LIBS="-ldnet_stub $LIBS"
10118 cat > conftest.$ac_ext <<EOF
10119 #line 10120 "configure"
10120 #include "confdefs.h"
10121 /* Override any gcc2 internal prototype to avoid an error. */
10122 /* We use char because int might match the return type of a gcc2
10123 builtin and then its argument prototype would still apply. */
10124 char dnet_ntoa();
10125
10126 int main() {
10127 dnet_ntoa()
10128 ; return 0; }
10129 EOF
10130 if { (eval echo configure:10131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10131 rm -rf conftest*
10132 eval "ac_cv_lib_$ac_lib_var=yes"
10133 else
10134 echo "configure: failed program was:" >&5
10135 cat conftest.$ac_ext >&5
10136 rm -rf conftest*
10137 eval "ac_cv_lib_$ac_lib_var=no"
10138 fi
10139 rm -f conftest*
10140 LIBS="$ac_save_LIBS"
10141
10142 fi
10143 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10144 echo "$ac_t""yes" 1>&6
10145 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10146 else
10147 echo "$ac_t""no" 1>&6
10148 fi
10149
10150 fi
10151
10152 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10153 # to get the SysV transport functions.
10154 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
10155 # needs -lnsl.
10156 # The nsl library prevents programs from opening the X display
10157 # on Irix 5.2, according to dickey@clark.net.
10158 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
10159 echo "configure:10160: checking for gethostbyname" >&5
10160 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
10161 echo $ac_n "(cached) $ac_c" 1>&6
10162 else
10163 cat > conftest.$ac_ext <<EOF
10164 #line 10165 "configure"
10165 #include "confdefs.h"
10166 /* System header to define __stub macros and hopefully few prototypes,
10167 which can conflict with char gethostbyname(); below. */
10168 #include <assert.h>
10169 /* Override any gcc2 internal prototype to avoid an error. */
10170 /* We use char because int might match the return type of a gcc2
10171 builtin and then its argument prototype would still apply. */
10172 char gethostbyname();
10173
10174 int main() {
10175
10176 /* The GNU C library defines this for functions which it implements
10177 to always fail with ENOSYS. Some functions are actually named
10178 something starting with __ and the normal name is an alias. */
10179 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10180 choke me
10181 #else
10182 gethostbyname();
10183 #endif
10184
10185 ; return 0; }
10186 EOF
10187 if { (eval echo configure:10188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10188 rm -rf conftest*
10189 eval "ac_cv_func_gethostbyname=yes"
10190 else
10191 echo "configure: failed program was:" >&5
10192 cat conftest.$ac_ext >&5
10193 rm -rf conftest*
10194 eval "ac_cv_func_gethostbyname=no"
10195 fi
10196 rm -f conftest*
10197 fi
10198
10199 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
10200 echo "$ac_t""yes" 1>&6
10201 :
10202 else
10203 echo "$ac_t""no" 1>&6
10204 fi
10205
10206 if test $ac_cv_func_gethostbyname = no; then
10207 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
10208 echo "configure:10209: checking for gethostbyname in -lnsl" >&5
10209 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
10210 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10211 echo $ac_n "(cached) $ac_c" 1>&6
10212 else
10213 ac_save_LIBS="$LIBS"
10214 LIBS="-lnsl $LIBS"
10215 cat > conftest.$ac_ext <<EOF
10216 #line 10217 "configure"
10217 #include "confdefs.h"
10218 /* Override any gcc2 internal prototype to avoid an error. */
10219 /* We use char because int might match the return type of a gcc2
10220 builtin and then its argument prototype would still apply. */
10221 char gethostbyname();
10222
10223 int main() {
10224 gethostbyname()
10225 ; return 0; }
10226 EOF
10227 if { (eval echo configure:10228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10228 rm -rf conftest*
10229 eval "ac_cv_lib_$ac_lib_var=yes"
10230 else
10231 echo "configure: failed program was:" >&5
10232 cat conftest.$ac_ext >&5
10233 rm -rf conftest*
10234 eval "ac_cv_lib_$ac_lib_var=no"
10235 fi
10236 rm -f conftest*
10237 LIBS="$ac_save_LIBS"
10238
10239 fi
10240 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10241 echo "$ac_t""yes" 1>&6
10242 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10243 else
10244 echo "$ac_t""no" 1>&6
10245 fi
10246
10247 fi
10248
10249 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10250 # socket/setsockopt and other routines are undefined under SCO ODT
10251 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10252 # on later versions), says simon@lia.di.epfl.ch: it contains
10253 # gethostby* variants that don't use the nameserver (or something).
10254 # -lsocket must be given before -lnsl if both are needed.
10255 # We assume that if connect needs -lnsl, so does gethostbyname.
10256 echo $ac_n "checking for connect""... $ac_c" 1>&6
10257 echo "configure:10258: checking for connect" >&5
10258 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
10259 echo $ac_n "(cached) $ac_c" 1>&6
10260 else
10261 cat > conftest.$ac_ext <<EOF
10262 #line 10263 "configure"
10263 #include "confdefs.h"
10264 /* System header to define __stub macros and hopefully few prototypes,
10265 which can conflict with char connect(); below. */
10266 #include <assert.h>
10267 /* Override any gcc2 internal prototype to avoid an error. */
10268 /* We use char because int might match the return type of a gcc2
10269 builtin and then its argument prototype would still apply. */
10270 char connect();
10271
10272 int main() {
10273
10274 /* The GNU C library defines this for functions which it implements
10275 to always fail with ENOSYS. Some functions are actually named
10276 something starting with __ and the normal name is an alias. */
10277 #if defined (__stub_connect) || defined (__stub___connect)
10278 choke me
10279 #else
10280 connect();
10281 #endif
10282
10283 ; return 0; }
10284 EOF
10285 if { (eval echo configure:10286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10286 rm -rf conftest*
10287 eval "ac_cv_func_connect=yes"
10288 else
10289 echo "configure: failed program was:" >&5
10290 cat conftest.$ac_ext >&5
10291 rm -rf conftest*
10292 eval "ac_cv_func_connect=no"
10293 fi
10294 rm -f conftest*
10295 fi
10296
10297 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
10298 echo "$ac_t""yes" 1>&6
10299 :
10300 else
10301 echo "$ac_t""no" 1>&6
10302 fi
10303
10304 if test $ac_cv_func_connect = no; then
10305 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
10306 echo "configure:10307: checking for connect in -lsocket" >&5
10307 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
10308 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10309 echo $ac_n "(cached) $ac_c" 1>&6
10310 else
10311 ac_save_LIBS="$LIBS"
10312 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10313 cat > conftest.$ac_ext <<EOF
10314 #line 10315 "configure"
10315 #include "confdefs.h"
10316 /* Override any gcc2 internal prototype to avoid an error. */
10317 /* We use char because int might match the return type of a gcc2
10318 builtin and then its argument prototype would still apply. */
10319 char connect();
10320
10321 int main() {
10322 connect()
10323 ; return 0; }
10324 EOF
10325 if { (eval echo configure:10326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10326 rm -rf conftest*
10327 eval "ac_cv_lib_$ac_lib_var=yes"
10328 else
10329 echo "configure: failed program was:" >&5
10330 cat conftest.$ac_ext >&5
10331 rm -rf conftest*
10332 eval "ac_cv_lib_$ac_lib_var=no"
10333 fi
10334 rm -f conftest*
10335 LIBS="$ac_save_LIBS"
10336
10337 fi
10338 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10339 echo "$ac_t""yes" 1>&6
10340 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10341 else
10342 echo "$ac_t""no" 1>&6
10343 fi
10344
10345 fi
10346
10347 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
10348 echo $ac_n "checking for remove""... $ac_c" 1>&6
10349 echo "configure:10350: checking for remove" >&5
10350 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
10351 echo $ac_n "(cached) $ac_c" 1>&6
10352 else
10353 cat > conftest.$ac_ext <<EOF
10354 #line 10355 "configure"
10355 #include "confdefs.h"
10356 /* System header to define __stub macros and hopefully few prototypes,
10357 which can conflict with char remove(); below. */
10358 #include <assert.h>
10359 /* Override any gcc2 internal prototype to avoid an error. */
10360 /* We use char because int might match the return type of a gcc2
10361 builtin and then its argument prototype would still apply. */
10362 char remove();
10363
10364 int main() {
10365
10366 /* The GNU C library defines this for functions which it implements
10367 to always fail with ENOSYS. Some functions are actually named
10368 something starting with __ and the normal name is an alias. */
10369 #if defined (__stub_remove) || defined (__stub___remove)
10370 choke me
10371 #else
10372 remove();
10373 #endif
10374
10375 ; return 0; }
10376 EOF
10377 if { (eval echo configure:10378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10378 rm -rf conftest*
10379 eval "ac_cv_func_remove=yes"
10380 else
10381 echo "configure: failed program was:" >&5
10382 cat conftest.$ac_ext >&5
10383 rm -rf conftest*
10384 eval "ac_cv_func_remove=no"
10385 fi
10386 rm -f conftest*
10387 fi
10388
10389 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
10390 echo "$ac_t""yes" 1>&6
10391 :
10392 else
10393 echo "$ac_t""no" 1>&6
10394 fi
10395
10396 if test $ac_cv_func_remove = no; then
10397 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
10398 echo "configure:10399: checking for remove in -lposix" >&5
10399 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
10400 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10401 echo $ac_n "(cached) $ac_c" 1>&6
10402 else
10403 ac_save_LIBS="$LIBS"
10404 LIBS="-lposix $LIBS"
10405 cat > conftest.$ac_ext <<EOF
10406 #line 10407 "configure"
10407 #include "confdefs.h"
10408 /* Override any gcc2 internal prototype to avoid an error. */
10409 /* We use char because int might match the return type of a gcc2
10410 builtin and then its argument prototype would still apply. */
10411 char remove();
10412
10413 int main() {
10414 remove()
10415 ; return 0; }
10416 EOF
10417 if { (eval echo configure:10418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10418 rm -rf conftest*
10419 eval "ac_cv_lib_$ac_lib_var=yes"
10420 else
10421 echo "configure: failed program was:" >&5
10422 cat conftest.$ac_ext >&5
10423 rm -rf conftest*
10424 eval "ac_cv_lib_$ac_lib_var=no"
10425 fi
10426 rm -f conftest*
10427 LIBS="$ac_save_LIBS"
10428
10429 fi
10430 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10431 echo "$ac_t""yes" 1>&6
10432 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10433 else
10434 echo "$ac_t""no" 1>&6
10435 fi
10436
10437 fi
10438
10439 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10440 echo $ac_n "checking for shmat""... $ac_c" 1>&6
10441 echo "configure:10442: checking for shmat" >&5
10442 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
10443 echo $ac_n "(cached) $ac_c" 1>&6
10444 else
10445 cat > conftest.$ac_ext <<EOF
10446 #line 10447 "configure"
10447 #include "confdefs.h"
10448 /* System header to define __stub macros and hopefully few prototypes,
10449 which can conflict with char shmat(); below. */
10450 #include <assert.h>
10451 /* Override any gcc2 internal prototype to avoid an error. */
10452 /* We use char because int might match the return type of a gcc2
10453 builtin and then its argument prototype would still apply. */
10454 char shmat();
10455
10456 int main() {
10457
10458 /* The GNU C library defines this for functions which it implements
10459 to always fail with ENOSYS. Some functions are actually named
10460 something starting with __ and the normal name is an alias. */
10461 #if defined (__stub_shmat) || defined (__stub___shmat)
10462 choke me
10463 #else
10464 shmat();
10465 #endif
10466
10467 ; return 0; }
10468 EOF
10469 if { (eval echo configure:10470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10470 rm -rf conftest*
10471 eval "ac_cv_func_shmat=yes"
10472 else
10473 echo "configure: failed program was:" >&5
10474 cat conftest.$ac_ext >&5
10475 rm -rf conftest*
10476 eval "ac_cv_func_shmat=no"
10477 fi
10478 rm -f conftest*
10479 fi
10480
10481 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
10482 echo "$ac_t""yes" 1>&6
10483 :
10484 else
10485 echo "$ac_t""no" 1>&6
10486 fi
10487
10488 if test $ac_cv_func_shmat = no; then
10489 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
10490 echo "configure:10491: checking for shmat in -lipc" >&5
10491 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
10492 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10493 echo $ac_n "(cached) $ac_c" 1>&6
10494 else
10495 ac_save_LIBS="$LIBS"
10496 LIBS="-lipc $LIBS"
10497 cat > conftest.$ac_ext <<EOF
10498 #line 10499 "configure"
10499 #include "confdefs.h"
10500 /* Override any gcc2 internal prototype to avoid an error. */
10501 /* We use char because int might match the return type of a gcc2
10502 builtin and then its argument prototype would still apply. */
10503 char shmat();
10504
10505 int main() {
10506 shmat()
10507 ; return 0; }
10508 EOF
10509 if { (eval echo configure:10510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10510 rm -rf conftest*
10511 eval "ac_cv_lib_$ac_lib_var=yes"
10512 else
10513 echo "configure: failed program was:" >&5
10514 cat conftest.$ac_ext >&5
10515 rm -rf conftest*
10516 eval "ac_cv_lib_$ac_lib_var=no"
10517 fi
10518 rm -f conftest*
10519 LIBS="$ac_save_LIBS"
10520
10521 fi
10522 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10523 echo "$ac_t""yes" 1>&6
10524 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10525 else
10526 echo "$ac_t""no" 1>&6
10527 fi
10528
10529 fi
10530 fi
10531
10532 # Check for libraries that X11R6 Xt/Xaw programs need.
10533 ac_save_LDFLAGS="$LDFLAGS"
10534 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10535 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10536 # check for ICE first), but we must link in the order -lSM -lICE or
10537 # we get undefined symbols. So assume we have SM if we have ICE.
10538 # These have to be linked with before -lX11, unlike the other
10539 # libraries we check for below, so use a different variable.
10540 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10541 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10542 echo "configure:10543: checking for IceConnectionNumber in -lICE" >&5
10543 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10544 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10545 echo $ac_n "(cached) $ac_c" 1>&6
10546 else
10547 ac_save_LIBS="$LIBS"
10548 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10549 cat > conftest.$ac_ext <<EOF
10550 #line 10551 "configure"
10551 #include "confdefs.h"
10552 /* Override any gcc2 internal prototype to avoid an error. */
10553 /* We use char because int might match the return type of a gcc2
10554 builtin and then its argument prototype would still apply. */
10555 char IceConnectionNumber();
10556
10557 int main() {
10558 IceConnectionNumber()
10559 ; return 0; }
10560 EOF
10561 if { (eval echo configure:10562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10562 rm -rf conftest*
10563 eval "ac_cv_lib_$ac_lib_var=yes"
10564 else
10565 echo "configure: failed program was:" >&5
10566 cat conftest.$ac_ext >&5
10567 rm -rf conftest*
10568 eval "ac_cv_lib_$ac_lib_var=no"
10569 fi
10570 rm -f conftest*
10571 LIBS="$ac_save_LIBS"
10572
10573 fi
10574 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10575 echo "$ac_t""yes" 1>&6
10576 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10577 else
10578 echo "$ac_t""no" 1>&6
10579 fi
10580
10581 LDFLAGS="$ac_save_LDFLAGS"
10582
10583 fi
10584
10585 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10586 LDFLAGS="$LDFLAGS $X_LIBS"
10587
10588 if test "$wxUSE_MOTIF" = 1; then
10589 if test "$no_x" = "yes"; then
10590 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10591 fi
10592
10593 GUI_TK_LIBRARY="$X_LIBS"
10594 TOOLKIT_INCLUDE="$X_CFLAGS"
10595
10596 AFMINSTALL=afminstall
10597
10598
10599 COMPILED_X_PROGRAM=0
10600
10601 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10602 echo "configure:10603: checking for Motif/Lesstif headers" >&5
10603
10604 ac_find_includes=
10605 for ac_dir in $SEARCH_INCLUDE;
10606 do
10607 if test -f "$ac_dir/Xm/Xm.h"; then
10608 ac_find_includes=$ac_dir
10609 break
10610 fi
10611 done
10612
10613 if test "$ac_find_includes" != "" ; then
10614 echo "$ac_t""found $ac_find_includes" 1>&6
10615 else
10616 cat > conftest.$ac_ext <<EOF
10617 #line 10618 "configure"
10618 #include "confdefs.h"
10619
10620 #include <Xm/Xm.h>
10621
10622 int main() {
10623
10624 int version;
10625
10626 version = xmUseVersion;
10627
10628 ; return 0; }
10629 EOF
10630 if { (eval echo configure:10631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10631 rm -rf conftest*
10632
10633 echo "$ac_t""found in default search path" 1>&6
10634 COMPILED_X_PROGRAM=1
10635
10636 else
10637 echo "configure: failed program was:" >&5
10638 cat conftest.$ac_ext >&5
10639 rm -rf conftest*
10640
10641 echo "$ac_t""no" 1>&6
10642 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10643
10644
10645 fi
10646 rm -f conftest*
10647 fi
10648
10649 if test "$COMPILED_X_PROGRAM" = 0; then
10650 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10651 echo "configure:10652: checking for Motif/Lesstif library" >&5
10652
10653 ac_find_libraries=
10654 for ac_dir in $SEARCH_LIB;
10655 do
10656 for ac_extension in a so sl dylib; do
10657 if test -f "$ac_dir/libXm.$ac_extension"; then
10658 ac_find_libraries=$ac_dir
10659 break 2
10660 fi
10661 done
10662 done
10663
10664 if test "$ac_find_libraries" != "" ; then
10665
10666 ac_path_to_include=$ac_find_includes
10667 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
10668 result=$?
10669 if test $result = 0; then
10670 ac_path_to_include=""
10671 else
10672 ac_path_to_include="-I$ac_find_includes"
10673 fi
10674
10675
10676 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
10677 result=$?
10678 if test $result = 0; then
10679 ac_path_to_link=""
10680 else
10681 ac_path_to_link="-L$ac_find_libraries"
10682 fi
10683
10684
10685 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $ac_path_to_link"
10686 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE $ac_path_to_include"
10687 echo "$ac_t""found at $ac_find_libraries" 1>&6
10688 else
10689 cat > conftest.$ac_ext <<EOF
10690 #line 10691 "configure"
10691 #include "confdefs.h"
10692
10693 #include <Xm/Xm.h>
10694
10695 int main() {
10696
10697 int version;
10698
10699 version = xmUseVersion;
10700
10701 ; return 0; }
10702 EOF
10703 if { (eval echo configure:10704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10704 rm -rf conftest*
10705
10706 echo "$ac_t""found in default search path" 1>&6
10707 COMPILED_X_PROGRAM=1
10708
10709 else
10710 echo "configure: failed program was:" >&5
10711 cat conftest.$ac_ext >&5
10712 rm -rf conftest*
10713
10714 echo "$ac_t""no" 1>&6
10715 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10716
10717
10718 fi
10719 rm -f conftest*
10720 fi
10721 fi
10722
10723
10724 XPM_LINK=""
10725 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10726 echo "configure:10727: checking for Xpm library" >&5
10727
10728 ac_find_libraries=
10729 for ac_dir in $SEARCH_LIB;
10730 do
10731 for ac_extension in a so sl dylib; do
10732 if test -f "$ac_dir/libXpm.$ac_extension"; then
10733 ac_find_libraries=$ac_dir
10734 break 2
10735 fi
10736 done
10737 done
10738
10739 if test "$ac_find_libraries" != "" ; then
10740
10741 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
10742 result=$?
10743 if test $result = 0; then
10744 ac_path_to_link=""
10745 else
10746 ac_path_to_link="-L$ac_find_libraries"
10747 fi
10748
10749 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $ac_path_to_link"
10750 XPM_LINK="-lXpm "
10751 cat >> confdefs.h <<\EOF
10752 #define wxHAVE_LIB_XPM 1
10753 EOF
10754
10755 echo "$ac_t""found at $ac_find_libraries" 1>&6
10756 else
10757 cat > conftest.$ac_ext <<EOF
10758 #line 10759 "configure"
10759 #include "confdefs.h"
10760
10761 #include <X11/xpm.h>
10762
10763 int main() {
10764
10765 int version;
10766
10767 version = XpmLibraryVersion();
10768
10769 ; return 0; }
10770 EOF
10771 if { (eval echo configure:10772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10772 rm -rf conftest*
10773
10774 XPM_LINK="-lXpm "
10775 cat >> confdefs.h <<\EOF
10776 #define wxHAVE_LIB_XPM 1
10777 EOF
10778
10779 echo "$ac_t""found in default search path" 1>&6
10780 COMPILED_X_PROGRAM=0
10781
10782 else
10783 echo "configure: failed program was:" >&5
10784 cat conftest.$ac_ext >&5
10785 rm -rf conftest*
10786
10787 echo "$ac_t""no" 1>&6
10788 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10789
10790
10791 fi
10792 rm -f conftest*
10793 fi
10794
10795 GUI_TK_LINK="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
10796 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GUI_TK_LINK"
10797 TOOLKIT=MOTIF
10798 GUIDIST=MOTIF_DIST
10799 fi
10800
10801 if test "$wxUSE_MAC" = 1; then
10802 TOOLKIT=MAC
10803 GUIDIST=MACX_DIST
10804 fi
10805
10806 if test "$wxUSE_PM" = 1; then
10807 TOOLKIT=PM
10808 GUIDIST=GTK_DIST
10809 fi
10810
10811 if test "$TOOLKIT" != "PM" ; then
10812 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10813 else
10814 TOOLKIT_DIR="os2"
10815 fi
10816
10817 TOOLKIT_NAME="${TOOLKIT_DIR}"
10818
10819 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
10820
10821 if test "$TOOLKIT_NAME" = "motif"; then
10822 TOOLKIT_VPATH="${TOOLKIT_VPATH}${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10823 fi
10824
10825 if test "$wxUSE_UNIVERSAL" = "yes"; then
10826 TOOLKIT_NAME="${TOOLKIT_NAME}univ"
10827 UNIV_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
10828 TOOLKIT_VPATH="${UNIV_VPATH}${PATH_IFS}${TOOLKIT_VPATH}"
10829 SETUPH_DIR="univ"
10830 else
10831 SETUPH_DIR="${TOOLKIT_DIR}"
10832 fi
10833
10834 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10835 TOOLKIT_NAME="${TOOLKIT_NAME}d"
10836 fi
10837
10838 TOOLKIT_DEF="-D__WX${TOOLKIT}__"
10839 if test "$wxUSE_UNIVERSAL" = "yes"; then
10840 TOOLKIT_DEF="${TOOLKIT_DEF} -D__WXUNIVERSAL__"
10841 fi
10842
10843 WX_LIBRARY="wx_${TOOLKIT_NAME}"
10844
10845 if test "$wxUSE_UNIVERSAL" = "yes"; then
10846 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10847 else
10848 ALL_OBJECTS="\$(GUIOBJS)"
10849 fi
10850
10851 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10852
10853 if test "$TOOLKIT" != "MSW"; then
10854 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
10855 fi
10856
10857 if test "$wxUSE_HTML" = "yes"; then
10858 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
10859 fi
10860
10861 if test "$TOOLKIT" != "MSW"; then
10862 if test "$wxUSE_ODBC" = "yes" ; then
10863 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
10864 fi
10865 fi
10866
10867 if test "x$REGEX_INCLUDE" != "x" ; then
10868 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
10869 fi
10870
10871 if test "$wxUSE_LIBJPEG" = "yes" ; then
10872 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
10873 fi
10874 if test "$wxUSE_LIBTIFF" = "yes" ; then
10875 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
10876 fi
10877 if test "$wxUSE_LIBPNG" = "yes" ; then
10878 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
10879 fi
10880 if test "$wxUSE_ZLIB" = "yes" ; then
10881 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
10882 fi
10883 if test "$wxUSE_FREETYPE" = "yes" ; then
10884 ALL_OBJECTS="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10885 fi
10886
10887 if test "$wxUSE_UNIVERSAL" = "yes"; then
10888 ALL_DEPFILES="\$(GUI_LOWLEVEL_DEPS) \$(UNIVDEPS)"
10889 else
10890 ALL_DEPFILES="\$(GUIDEPS)"
10891 fi
10892
10893 ALL_DEPFILES="${ALL_DEPFILES} \$(COMMONDEPS) \$(GENERICDEPS)"
10894
10895 if test "$TOOLKIT" != "MSW"; then
10896 ALL_DEPFILES="${ALL_DEPFILES} \$(UNIXDEPS)"
10897 fi
10898
10899 if test "$wxUSE_HTML" = "yes"; then
10900 ALL_DEPFILES="${ALL_DEPFILES} \$(HTMLDEPS)"
10901 fi
10902
10903 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
10904 if test "$wxUSE_UNIVERSAL" = "yes"; then
10905 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10906 fi
10907 RPM_FILES="src/\$(TOOLKITDIR)/rpmfiles.lst"
10908 RPM_SPEC="wx\$(TOOLKIT).spec"
10909
10910 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
10911 DISTDIR="wx\$(TOOLKIT)"
10912 else
10913 USE_GUI=0
10914
10915 TOOLKIT_DIR="base"
10916
10917 TOOLKIT_VPATH="."
10918
10919 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10920 TOOLKIT_NAME="${TOOLKIT_DIR}d"
10921 else
10922 TOOLKIT_NAME="${TOOLKIT_DIR}"
10923 fi
10924
10925 TOOLKIT_DEF="-D__WXBASE__"
10926
10927 ALL_OBJECTS="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
10928 ALL_DEPFILES="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
10929
10930 if test "x$REGEX_INCLUDE" != "x" ; then
10931 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
10932 fi
10933
10934 if test "$wxUSE_ZLIB" = "yes" ; then
10935 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
10936 fi
10937
10938 WX_LIBRARY="wx_${TOOLKIT_NAME}"
10939
10940 PORT_FILES="\${top_srcdir}/src/files.lst"
10941 RPM_FILES="src/rpmfiles.lst"
10942 RPM_SPEC="wxBase.spec"
10943
10944 GUIDIST="BASE_DIST"
10945 DISTDIR="wxBase"
10946 fi
10947
10948 WX_LIBRARY_NAME="lib${WX_LIBRARY}.la"
10949 WX_LIBRARY_NAME_GL="lib${WX_LIBRARY}_gl.la"
10950
10951 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
10952 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY}_gl.a"
10953
10954 case "${host}" in
10955 *-*-mingw32* )
10956 WX_LIBRARY_NAME_SHARED="wx${WX_MAJOR_VERSION_NUMBER}${WX_MINOR_VERSION_NUMBER}_${WX_RELEASE_NUMBER}.dll"
10957 ;;
10958 * )
10959 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10960 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10961 ;;
10962 esac
10963
10964 WX_LIBRARY_LINK1="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
10965 WX_LIBRARY_LINK2="lib${WX_LIBRARY}-${WX_RELEASE}.so"
10966 WX_LIBRARY_LINK3="lib${WX_LIBRARY}.so"
10967 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
10968 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
10969 WX_LIBRARY_LINK3_GL="lib${WX_LIBRARY}_gl.so"
10970
10971 SHARED_LD=
10972 PIC_FLAG=
10973 WX_ALL=
10974 WX_ALL_INSTALLED=
10975 BURNT_LIBRARY_NAME=
10976 WX_TARGET_LIBRARY_SONAME=
10977
10978
10979 if test "$wxUSE_SHARED" = "yes"; then
10980 case "${host}" in
10981 *-hp-hpux* )
10982 if test "$GCC" = yes ; then
10983 SHARED_LD="${CXX} -shared -fPIC -o"
10984 PIC_FLAG="-fPIC"
10985 else
10986 LDFLAGS="-L/usr/lib"
10987
10988 SHARED_LD="${CXX} -b -o"
10989 PIC_FLAG="+Z"
10990 fi
10991 WX_LIBRARY_NAME_SHARED="libwx_${TOOLKIT_NAME}.sl"
10992 WX_LIBRARY_NAME_SHARED_GL="libwx_${TOOLKIT_NAME}_gl.sl"
10993 if test "$wxUSE_OPENGL" = "yes"; then
10994 WX_ALL_INSTALLED="preinstall_gl"
10995 WX_ALL="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
10996 else
10997 WX_ALL="${WX_LIBRARY_NAME_SHARED}"
10998 fi
10999 ;;
11000
11001 *-*-linux* )
11002 SHARED_LD="${CXX} -shared -o"
11003 PIC_FLAG="-fPIC"
11004 if test "$wxUSE_BURNT_NAME" = "yes" ; then
11005 BURNT_LIBRARY_NAME="-Wl,-soname,${WX_LIBRARY_LINK1}"
11006 BURNT_LIBRARY_NAME_GL="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
11007 WX_TARGET_LIBRARY_SONAME="-Wl,-soname,\$(TARGETLIB_LINK1)"
11008 fi
11009 if test "$wxUSE_OPENGL" = "yes"; then
11010 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11011 WX_ALL="CREATE_LINKS CREATE_LINKS_GL"
11012 else
11013 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
11014 WX_ALL="CREATE_LINKS"
11015 fi
11016 ;;
11017 *-*-irix5* | *-*-irix6* )
11018 if test "$GCC" = yes ; then
11019 SHARED_LD="${CXX} -shared -o"
11020 PIC_FLAG="-fPIC"
11021 else
11022 SHARED_LD="${CXX} -shared -o"
11023 fi
11024 if test "$wxUSE_OPENGL" = "yes"; then
11025 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11026 WX_ALL="CREATE_LINKS CREATE_LINKS_GL"
11027 else
11028 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
11029 WX_ALL="CREATE_LINKS"
11030 fi
11031 ;;
11032 *-*-solaris2* )
11033 if test "$GCC" = yes ; then
11034 SHARED_LD="${CXX} -shared -o"
11035 PIC_FLAG="-fPIC"
11036
11037 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
11038 else
11039 SHARED_LD="${CXX} -G -o"
11040 PIC_FLAG="-KPIC"
11041 fi
11042 if test "$wxUSE_OPENGL" = "yes"; then
11043 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11044 WX_ALL="CREATE_LINKS CREATE_LINKS_GL"
11045 else
11046 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
11047 WX_ALL="CREATE_LINKS"
11048 fi
11049 ;;
11050 *-*-sunos4* )
11051 SHARED_LD="${CXX} -shared -o"
11052 PIC_FLAG="-fPIC"
11053 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
11054 WX_ALL="CREATE_LINKS"
11055 ;;
11056 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* )
11057 SHARED_LD="${CXX} -shared -o"
11058 PIC_FLAG="-fPIC"
11059 if test "$wxUSE_OPENGL" = "yes"; then
11060 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11061 WX_ALL="CREATE_LINKS CREATE_LINKS_GL"
11062 else
11063 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
11064 WX_ALL="CREATE_LINKS"
11065 fi
11066 ;;
11067 *-*-darwin* )
11068 TOOLKIT_DEF="${TOOLKIT_DEF} -D__UNIX__ -D__DARWIN__ -D__POWERPC__"
11069 CFLAGS="${CFLAGS} -fno-common"
11070 CPPFLAGS="${CPPFLAGS} -fno-common"
11071 SHARED_LD="${CXX} -dynamiclib -o"
11072 PIC_FLAG="-dynamic -fPIC"
11073 if test "$wxUSE_OPENGL" = "yes"; then
11074 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11075 WX_ALL="CREATE_LINKS CREATE_LINKS_GL"
11076 else
11077 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
11078 WX_ALL="CREATE_LINKS"
11079 fi
11080 if test "$wxUSE_MAC" = 1 ; then
11081 WX_ALL="${WX_ALL} ./lib/lib${WX_LIBRARY}-${WX_RELEASE}.r"
11082 fi
11083 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11084 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11085 WX_LIBRARY_LINK1="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}"
11086 WX_LIBRARY_LINK2="lib${WX_LIBRARY}-${WX_RELEASE}.dylib"
11087 WX_LIBRARY_LINK3="lib${WX_LIBRARY}.dylib"
11088 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}"
11089 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib"
11090 WX_LIBRARY_LINK3_GL="lib${WX_LIBRARY}_gl.dylib"
11091 ;;
11092 *-*-osf* )
11093 SHARED_LD="${CXX} -shared -o"
11094 PIC_FLAG="-fPIC"
11095 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
11096 WX_ALL="CREATE_LINKS"
11097 ;;
11098 *-*-dgux5* )
11099 SHARED_LD="${CXX} -shared -o"
11100 PIC_FLAG="-fPIC"
11101 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
11102 WX_ALL="CREATE_LINKS"
11103 ;;
11104 *-*-sysv5* )
11105 SHARED_LD="${CXX} -shared -o"
11106 PIC_FLAG="-fPIC"
11107 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
11108 WX_ALL="CREATE_LINKS"
11109 ;;
11110 *-*-aix* )
11111 SHARED_LD="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
11112 WX_ALL=${WX_LIBRARY_NAME_SHARED}
11113 ;;
11114 *-*-cygwin* )
11115 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
11116 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
11117 if test "$wxUSE_OPENGL" = "yes"; then
11118 WX_ALL_INSTALLED="preinstall_gl"
11119 WX_ALL="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
11120 else
11121 WX_ALL="${WX_LIBRARY_NAME_STATIC}"
11122 fi
11123 ;;
11124 *-*-mingw32* )
11125 WX_LIBRARY_NAME_STATIC="lib/libwx${WX_MAJOR_VERSION_NUMBER}${WX_MINOR_VERSION_NUMBER}_${WX_RELEASE_NUMBER}.a"
11126 SHARED_LD="${CC} -shared -Wl,--out-implib,${WX_LIBRARY_NAME_STATIC} -o"
11127 TOOLKIT_DEF="${TOOLKIT_DEF} -DWXUSINGDLL=1"
11128 WXMSW_DLL_DEFINES="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
11129 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
11130 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
11131 if test "$wxUSE_OPENGL" = "yes"; then
11132 WX_ALL_INSTALLED="preinstall_gl"
11133 WX_ALL="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
11134 else
11135 WX_ALL="${WX_LIBRARY_NAME_SHARED}"
11136 fi
11137 ;;
11138 *-pc-os2_emx )
11139 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
11140 WX_ALL="${WX_LIBRARY_NAME_STATIC}"
11141 ;;
11142 *-*-beos* )
11143 SHARED_LD="${LD} -shared -o"
11144 PIC_FLAG="-fPIC"
11145 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
11146 WX_ALL="CREATE_LINKS"
11147 ;;
11148 *)
11149 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
11150 esac
11151
11152 if test "x$WX_TARGET_LIBRARY" = "x"; then
11153 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
11154 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
11155 fi
11156 WX_TARGET_LIBRARY_TYPE="so"
11157 else
11158 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
11159 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
11160
11161 if test "$wxUSE_OPENGL" = "yes"; then
11162 WX_ALL_INSTALLED="preinstall_gl"
11163 WX_ALL="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
11164 else
11165 WX_ALL="${WX_LIBRARY_NAME_STATIC}"
11166 fi
11167
11168 if test "$wxUSE_GUI" = "no"; then
11169 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
11170 fi
11171
11172 WX_TARGET_LIBRARY_TYPE="a"
11173 fi
11174
11175
11176 for ac_hdr in strings.h
11177 do
11178 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11179 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11180 echo "configure:11181: checking for $ac_hdr" >&5
11181 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11182 echo $ac_n "(cached) $ac_c" 1>&6
11183 else
11184 cat > conftest.$ac_ext <<EOF
11185 #line 11186 "configure"
11186 #include "confdefs.h"
11187 #include <$ac_hdr>
11188 EOF
11189 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11190 { (eval echo configure:11191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11191 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11192 if test -z "$ac_err"; then
11193 rm -rf conftest*
11194 eval "ac_cv_header_$ac_safe=yes"
11195 else
11196 echo "$ac_err" >&5
11197 echo "configure: failed program was:" >&5
11198 cat conftest.$ac_ext >&5
11199 rm -rf conftest*
11200 eval "ac_cv_header_$ac_safe=no"
11201 fi
11202 rm -f conftest*
11203 fi
11204 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11205 echo "$ac_t""yes" 1>&6
11206 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11207 cat >> confdefs.h <<EOF
11208 #define $ac_tr_hdr 1
11209 EOF
11210
11211 else
11212 echo "$ac_t""no" 1>&6
11213 fi
11214 done
11215
11216 for ac_hdr in stdlib.h
11217 do
11218 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11219 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11220 echo "configure:11221: checking for $ac_hdr" >&5
11221 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11222 echo $ac_n "(cached) $ac_c" 1>&6
11223 else
11224 cat > conftest.$ac_ext <<EOF
11225 #line 11226 "configure"
11226 #include "confdefs.h"
11227 #include <$ac_hdr>
11228 EOF
11229 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11230 { (eval echo configure:11231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11231 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11232 if test -z "$ac_err"; then
11233 rm -rf conftest*
11234 eval "ac_cv_header_$ac_safe=yes"
11235 else
11236 echo "$ac_err" >&5
11237 echo "configure: failed program was:" >&5
11238 cat conftest.$ac_ext >&5
11239 rm -rf conftest*
11240 eval "ac_cv_header_$ac_safe=no"
11241 fi
11242 rm -f conftest*
11243 fi
11244 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11245 echo "$ac_t""yes" 1>&6
11246 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11247 cat >> confdefs.h <<EOF
11248 #define $ac_tr_hdr 1
11249 EOF
11250
11251 else
11252 echo "$ac_t""no" 1>&6
11253 fi
11254 done
11255
11256 for ac_hdr in unistd.h
11257 do
11258 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11259 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11260 echo "configure:11261: checking for $ac_hdr" >&5
11261 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11262 echo $ac_n "(cached) $ac_c" 1>&6
11263 else
11264 cat > conftest.$ac_ext <<EOF
11265 #line 11266 "configure"
11266 #include "confdefs.h"
11267 #include <$ac_hdr>
11268 EOF
11269 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11270 { (eval echo configure:11271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11271 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11272 if test -z "$ac_err"; then
11273 rm -rf conftest*
11274 eval "ac_cv_header_$ac_safe=yes"
11275 else
11276 echo "$ac_err" >&5
11277 echo "configure: failed program was:" >&5
11278 cat conftest.$ac_ext >&5
11279 rm -rf conftest*
11280 eval "ac_cv_header_$ac_safe=no"
11281 fi
11282 rm -f conftest*
11283 fi
11284 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11285 echo "$ac_t""yes" 1>&6
11286 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11287 cat >> confdefs.h <<EOF
11288 #define $ac_tr_hdr 1
11289 EOF
11290
11291 else
11292 echo "$ac_t""no" 1>&6
11293 fi
11294 done
11295
11296 for ac_hdr in wchar.h
11297 do
11298 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11299 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11300 echo "configure:11301: checking for $ac_hdr" >&5
11301 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11302 echo $ac_n "(cached) $ac_c" 1>&6
11303 else
11304 cat > conftest.$ac_ext <<EOF
11305 #line 11306 "configure"
11306 #include "confdefs.h"
11307 #include <$ac_hdr>
11308 EOF
11309 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11310 { (eval echo configure:11311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11311 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11312 if test -z "$ac_err"; then
11313 rm -rf conftest*
11314 eval "ac_cv_header_$ac_safe=yes"
11315 else
11316 echo "$ac_err" >&5
11317 echo "configure: failed program was:" >&5
11318 cat conftest.$ac_ext >&5
11319 rm -rf conftest*
11320 eval "ac_cv_header_$ac_safe=no"
11321 fi
11322 rm -f conftest*
11323 fi
11324 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11325 echo "$ac_t""yes" 1>&6
11326 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11327 cat >> confdefs.h <<EOF
11328 #define $ac_tr_hdr 1
11329 EOF
11330
11331 else
11332 echo "$ac_t""no" 1>&6
11333 fi
11334 done
11335
11336 for ac_hdr in wcstr.h
11337 do
11338 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11339 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11340 echo "configure:11341: checking for $ac_hdr" >&5
11341 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11342 echo $ac_n "(cached) $ac_c" 1>&6
11343 else
11344 cat > conftest.$ac_ext <<EOF
11345 #line 11346 "configure"
11346 #include "confdefs.h"
11347 #include <$ac_hdr>
11348 EOF
11349 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11350 { (eval echo configure:11351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11351 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11352 if test -z "$ac_err"; then
11353 rm -rf conftest*
11354 eval "ac_cv_header_$ac_safe=yes"
11355 else
11356 echo "$ac_err" >&5
11357 echo "configure: failed program was:" >&5
11358 cat conftest.$ac_ext >&5
11359 rm -rf conftest*
11360 eval "ac_cv_header_$ac_safe=no"
11361 fi
11362 rm -f conftest*
11363 fi
11364 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11365 echo "$ac_t""yes" 1>&6
11366 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11367 cat >> confdefs.h <<EOF
11368 #define $ac_tr_hdr 1
11369 EOF
11370
11371 else
11372 echo "$ac_t""no" 1>&6
11373 fi
11374 done
11375
11376 for ac_hdr in fnmatch.h
11377 do
11378 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11379 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11380 echo "configure:11381: checking for $ac_hdr" >&5
11381 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11382 echo $ac_n "(cached) $ac_c" 1>&6
11383 else
11384 cat > conftest.$ac_ext <<EOF
11385 #line 11386 "configure"
11386 #include "confdefs.h"
11387 #include <$ac_hdr>
11388 EOF
11389 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11390 { (eval echo configure:11391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11391 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11392 if test -z "$ac_err"; then
11393 rm -rf conftest*
11394 eval "ac_cv_header_$ac_safe=yes"
11395 else
11396 echo "$ac_err" >&5
11397 echo "configure: failed program was:" >&5
11398 cat conftest.$ac_ext >&5
11399 rm -rf conftest*
11400 eval "ac_cv_header_$ac_safe=no"
11401 fi
11402 rm -f conftest*
11403 fi
11404 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11405 echo "$ac_t""yes" 1>&6
11406 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11407 cat >> confdefs.h <<EOF
11408 #define $ac_tr_hdr 1
11409 EOF
11410
11411 else
11412 echo "$ac_t""no" 1>&6
11413 fi
11414 done
11415
11416 for ac_hdr in iconv.h
11417 do
11418 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11419 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11420 echo "configure:11421: checking for $ac_hdr" >&5
11421 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11422 echo $ac_n "(cached) $ac_c" 1>&6
11423 else
11424 cat > conftest.$ac_ext <<EOF
11425 #line 11426 "configure"
11426 #include "confdefs.h"
11427 #include <$ac_hdr>
11428 EOF
11429 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11430 { (eval echo configure:11431: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11431 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11432 if test -z "$ac_err"; then
11433 rm -rf conftest*
11434 eval "ac_cv_header_$ac_safe=yes"
11435 else
11436 echo "$ac_err" >&5
11437 echo "configure: failed program was:" >&5
11438 cat conftest.$ac_ext >&5
11439 rm -rf conftest*
11440 eval "ac_cv_header_$ac_safe=no"
11441 fi
11442 rm -f conftest*
11443 fi
11444 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11445 echo "$ac_t""yes" 1>&6
11446 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11447 cat >> confdefs.h <<EOF
11448 #define $ac_tr_hdr 1
11449 EOF
11450
11451 else
11452 echo "$ac_t""no" 1>&6
11453 fi
11454 done
11455
11456 for ac_hdr in langinfo.h
11457 do
11458 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11459 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11460 echo "configure:11461: checking for $ac_hdr" >&5
11461 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11462 echo $ac_n "(cached) $ac_c" 1>&6
11463 else
11464 cat > conftest.$ac_ext <<EOF
11465 #line 11466 "configure"
11466 #include "confdefs.h"
11467 #include <$ac_hdr>
11468 EOF
11469 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11470 { (eval echo configure:11471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11471 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11472 if test -z "$ac_err"; then
11473 rm -rf conftest*
11474 eval "ac_cv_header_$ac_safe=yes"
11475 else
11476 echo "$ac_err" >&5
11477 echo "configure: failed program was:" >&5
11478 cat conftest.$ac_ext >&5
11479 rm -rf conftest*
11480 eval "ac_cv_header_$ac_safe=no"
11481 fi
11482 rm -f conftest*
11483 fi
11484 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11485 echo "$ac_t""yes" 1>&6
11486 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11487 cat >> confdefs.h <<EOF
11488 #define $ac_tr_hdr 1
11489 EOF
11490
11491 else
11492 echo "$ac_t""no" 1>&6
11493 fi
11494 done
11495
11496
11497 if test "$wxUSE_GUI" = "yes"; then
11498 if test "$wxUSE_UNIX" = "yes"; then
11499 for ac_hdr in X11/XKBlib.h
11500 do
11501 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11502 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11503 echo "configure:11504: checking for $ac_hdr" >&5
11504 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11505 echo $ac_n "(cached) $ac_c" 1>&6
11506 else
11507 cat > conftest.$ac_ext <<EOF
11508 #line 11509 "configure"
11509 #include "confdefs.h"
11510 #include <$ac_hdr>
11511 EOF
11512 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11513 { (eval echo configure:11514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11514 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11515 if test -z "$ac_err"; then
11516 rm -rf conftest*
11517 eval "ac_cv_header_$ac_safe=yes"
11518 else
11519 echo "$ac_err" >&5
11520 echo "configure: failed program was:" >&5
11521 cat conftest.$ac_ext >&5
11522 rm -rf conftest*
11523 eval "ac_cv_header_$ac_safe=no"
11524 fi
11525 rm -f conftest*
11526 fi
11527 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11528 echo "$ac_t""yes" 1>&6
11529 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11530 cat >> confdefs.h <<EOF
11531 #define $ac_tr_hdr 1
11532 EOF
11533
11534 else
11535 echo "$ac_t""no" 1>&6
11536 fi
11537 done
11538
11539 fi
11540 fi
11541
11542 if test "$USE_WIN32" = 1; then
11543 for ac_hdr in w32api.h
11544 do
11545 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11546 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11547 echo "configure:11548: checking for $ac_hdr" >&5
11548 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11549 echo $ac_n "(cached) $ac_c" 1>&6
11550 else
11551 cat > conftest.$ac_ext <<EOF
11552 #line 11553 "configure"
11553 #include "confdefs.h"
11554 #include <$ac_hdr>
11555 EOF
11556 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11557 { (eval echo configure:11558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11558 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11559 if test -z "$ac_err"; then
11560 rm -rf conftest*
11561 eval "ac_cv_header_$ac_safe=yes"
11562 else
11563 echo "$ac_err" >&5
11564 echo "configure: failed program was:" >&5
11565 cat conftest.$ac_ext >&5
11566 rm -rf conftest*
11567 eval "ac_cv_header_$ac_safe=no"
11568 fi
11569 rm -f conftest*
11570 fi
11571 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11572 echo "$ac_t""yes" 1>&6
11573 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11574 cat >> confdefs.h <<EOF
11575 #define $ac_tr_hdr 1
11576 EOF
11577
11578 else
11579 echo "$ac_t""no" 1>&6
11580 fi
11581 done
11582
11583 fi
11584
11585
11586 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
11587 echo "configure:11588: checking for ANSI C header files" >&5
11588 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
11589 echo $ac_n "(cached) $ac_c" 1>&6
11590 else
11591 cat > conftest.$ac_ext <<EOF
11592 #line 11593 "configure"
11593 #include "confdefs.h"
11594 #include <stdlib.h>
11595 #include <stdarg.h>
11596 #include <string.h>
11597 #include <float.h>
11598 EOF
11599 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11600 { (eval echo configure:11601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11601 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11602 if test -z "$ac_err"; then
11603 rm -rf conftest*
11604 ac_cv_header_stdc=yes
11605 else
11606 echo "$ac_err" >&5
11607 echo "configure: failed program was:" >&5
11608 cat conftest.$ac_ext >&5
11609 rm -rf conftest*
11610 ac_cv_header_stdc=no
11611 fi
11612 rm -f conftest*
11613
11614 if test $ac_cv_header_stdc = yes; then
11615 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11616 cat > conftest.$ac_ext <<EOF
11617 #line 11618 "configure"
11618 #include "confdefs.h"
11619 #include <string.h>
11620 EOF
11621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11622 egrep "memchr" >/dev/null 2>&1; then
11623 :
11624 else
11625 rm -rf conftest*
11626 ac_cv_header_stdc=no
11627 fi
11628 rm -f conftest*
11629
11630 fi
11631
11632 if test $ac_cv_header_stdc = yes; then
11633 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11634 cat > conftest.$ac_ext <<EOF
11635 #line 11636 "configure"
11636 #include "confdefs.h"
11637 #include <stdlib.h>
11638 EOF
11639 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11640 egrep "free" >/dev/null 2>&1; then
11641 :
11642 else
11643 rm -rf conftest*
11644 ac_cv_header_stdc=no
11645 fi
11646 rm -f conftest*
11647
11648 fi
11649
11650 if test $ac_cv_header_stdc = yes; then
11651 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11652 if test "$cross_compiling" = yes; then
11653 :
11654 else
11655 cat > conftest.$ac_ext <<EOF
11656 #line 11657 "configure"
11657 #include "confdefs.h"
11658 #include <ctype.h>
11659 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11660 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11661 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11662 int main () { int i; for (i = 0; i < 256; i++)
11663 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11664 exit (0); }
11665
11666 EOF
11667 if { (eval echo configure:11668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11668 then
11669 :
11670 else
11671 echo "configure: failed program was:" >&5
11672 cat conftest.$ac_ext >&5
11673 rm -fr conftest*
11674 ac_cv_header_stdc=no
11675 fi
11676 rm -fr conftest*
11677 fi
11678
11679 fi
11680 fi
11681
11682 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11683 if test $ac_cv_header_stdc = yes; then
11684 cat >> confdefs.h <<\EOF
11685 #define STDC_HEADERS 1
11686 EOF
11687
11688 fi
11689
11690 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11691 echo "configure:11692: checking for mode_t" >&5
11692 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11693 echo $ac_n "(cached) $ac_c" 1>&6
11694 else
11695 cat > conftest.$ac_ext <<EOF
11696 #line 11697 "configure"
11697 #include "confdefs.h"
11698 #include <sys/types.h>
11699 #if STDC_HEADERS
11700 #include <stdlib.h>
11701 #include <stddef.h>
11702 #endif
11703 EOF
11704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11705 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
11706 rm -rf conftest*
11707 ac_cv_type_mode_t=yes
11708 else
11709 rm -rf conftest*
11710 ac_cv_type_mode_t=no
11711 fi
11712 rm -f conftest*
11713
11714 fi
11715 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11716 if test $ac_cv_type_mode_t = no; then
11717 cat >> confdefs.h <<\EOF
11718 #define mode_t int
11719 EOF
11720
11721 fi
11722
11723 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11724 echo "configure:11725: checking for off_t" >&5
11725 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11726 echo $ac_n "(cached) $ac_c" 1>&6
11727 else
11728 cat > conftest.$ac_ext <<EOF
11729 #line 11730 "configure"
11730 #include "confdefs.h"
11731 #include <sys/types.h>
11732 #if STDC_HEADERS
11733 #include <stdlib.h>
11734 #include <stddef.h>
11735 #endif
11736 EOF
11737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11738 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
11739 rm -rf conftest*
11740 ac_cv_type_off_t=yes
11741 else
11742 rm -rf conftest*
11743 ac_cv_type_off_t=no
11744 fi
11745 rm -f conftest*
11746
11747 fi
11748 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11749 if test $ac_cv_type_off_t = no; then
11750 cat >> confdefs.h <<\EOF
11751 #define off_t long
11752 EOF
11753
11754 fi
11755
11756 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11757 echo "configure:11758: checking for pid_t" >&5
11758 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11759 echo $ac_n "(cached) $ac_c" 1>&6
11760 else
11761 cat > conftest.$ac_ext <<EOF
11762 #line 11763 "configure"
11763 #include "confdefs.h"
11764 #include <sys/types.h>
11765 #if STDC_HEADERS
11766 #include <stdlib.h>
11767 #include <stddef.h>
11768 #endif
11769 EOF
11770 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11771 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
11772 rm -rf conftest*
11773 ac_cv_type_pid_t=yes
11774 else
11775 rm -rf conftest*
11776 ac_cv_type_pid_t=no
11777 fi
11778 rm -f conftest*
11779
11780 fi
11781 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
11782 if test $ac_cv_type_pid_t = no; then
11783 cat >> confdefs.h <<\EOF
11784 #define pid_t int
11785 EOF
11786
11787 fi
11788
11789 echo $ac_n "checking for size_t""... $ac_c" 1>&6
11790 echo "configure:11791: checking for size_t" >&5
11791 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
11792 echo $ac_n "(cached) $ac_c" 1>&6
11793 else
11794 cat > conftest.$ac_ext <<EOF
11795 #line 11796 "configure"
11796 #include "confdefs.h"
11797 #include <sys/types.h>
11798 #if STDC_HEADERS
11799 #include <stdlib.h>
11800 #include <stddef.h>
11801 #endif
11802 EOF
11803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11804 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
11805 rm -rf conftest*
11806 ac_cv_type_size_t=yes
11807 else
11808 rm -rf conftest*
11809 ac_cv_type_size_t=no
11810 fi
11811 rm -f conftest*
11812
11813 fi
11814 echo "$ac_t""$ac_cv_type_size_t" 1>&6
11815 if test $ac_cv_type_size_t = no; then
11816 cat >> confdefs.h <<\EOF
11817 #define size_t unsigned
11818 EOF
11819
11820 fi
11821
11822 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
11823 echo "configure:11824: checking for uid_t in sys/types.h" >&5
11824 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
11825 echo $ac_n "(cached) $ac_c" 1>&6
11826 else
11827 cat > conftest.$ac_ext <<EOF
11828 #line 11829 "configure"
11829 #include "confdefs.h"
11830 #include <sys/types.h>
11831 EOF
11832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11833 egrep "uid_t" >/dev/null 2>&1; then
11834 rm -rf conftest*
11835 ac_cv_type_uid_t=yes
11836 else
11837 rm -rf conftest*
11838 ac_cv_type_uid_t=no
11839 fi
11840 rm -f conftest*
11841
11842 fi
11843
11844 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
11845 if test $ac_cv_type_uid_t = no; then
11846 cat >> confdefs.h <<\EOF
11847 #define uid_t int
11848 EOF
11849
11850 cat >> confdefs.h <<\EOF
11851 #define gid_t int
11852 EOF
11853
11854 fi
11855
11856
11857 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
11858 echo "configure:11859: checking for wchar_t" >&5
11859 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
11860 echo $ac_n "(cached) $ac_c" 1>&6
11861 else
11862
11863 cat > conftest.$ac_ext <<EOF
11864 #line 11865 "configure"
11865 #include "confdefs.h"
11866 #include <wchar.h>
11867 int main() {
11868
11869 wchar_t wc, *ws;
11870 wc = L'a';
11871 ws = L"Hello, world!";
11872
11873 ; return 0; }
11874 EOF
11875 if { (eval echo configure:11876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11876 rm -rf conftest*
11877 wx_cv_type_wchar_t=yes
11878 else
11879 echo "configure: failed program was:" >&5
11880 cat conftest.$ac_ext >&5
11881 rm -rf conftest*
11882 cat > conftest.$ac_ext <<EOF
11883 #line 11884 "configure"
11884 #include "confdefs.h"
11885 #include <stdlib.h>
11886 int main() {
11887
11888 wchar_t wc, *ws;
11889 wc = L'a';
11890 ws = L"Hello, world!";
11891
11892 ; return 0; }
11893 EOF
11894 if { (eval echo configure:11895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11895 rm -rf conftest*
11896 wx_cv_type_wchar_t=yes
11897 else
11898 echo "configure: failed program was:" >&5
11899 cat conftest.$ac_ext >&5
11900 rm -rf conftest*
11901 wx_cv_type_wchar_t=no
11902 fi
11903 rm -f conftest*
11904
11905 fi
11906 rm -f conftest*
11907
11908 fi
11909
11910 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
11911
11912 if test "$wx_cv_type_wchar_t" = "yes"; then
11913 cat >> confdefs.h <<\EOF
11914 #define wxUSE_WCHAR_T 1
11915 EOF
11916
11917 fi
11918
11919
11920 ac_ext=C
11921 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11922 ac_cpp='$CXXCPP $CPPFLAGS'
11923 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11924 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11925 cross_compiling=$ac_cv_prog_cxx_cross
11926
11927 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
11928 echo "configure:11929: checking if size_t is unsigned int" >&5
11929 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
11930 echo $ac_n "(cached) $ac_c" 1>&6
11931 else
11932 cat > conftest.$ac_ext <<EOF
11933 #line 11934 "configure"
11934 #include "confdefs.h"
11935 #include <stddef.h>
11936 int main() {
11937
11938 return 0; }
11939
11940 struct Foo { void foo(size_t); void foo(unsigned int); };
11941
11942 int bar() {
11943
11944 ; return 0; }
11945 EOF
11946 if { (eval echo configure:11947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11947 rm -rf conftest*
11948 wx_cv_size_t_is_uint=no
11949 else
11950 echo "configure: failed program was:" >&5
11951 cat conftest.$ac_ext >&5
11952 rm -rf conftest*
11953 wx_cv_size_t_is_uint=yes
11954
11955 fi
11956 rm -f conftest*
11957
11958 fi
11959
11960 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
11961
11962 if test "$wx_cv_size_t_is_uint" = "yes"; then
11963 cat >> confdefs.h <<\EOF
11964 #define wxSIZE_T_IS_UINT 1
11965 EOF
11966
11967 else
11968 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
11969 echo "configure:11970: checking if size_t is unsigned long" >&5
11970 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
11971 echo $ac_n "(cached) $ac_c" 1>&6
11972 else
11973 cat > conftest.$ac_ext <<EOF
11974 #line 11975 "configure"
11975 #include "confdefs.h"
11976 #include <stddef.h>
11977 int main() {
11978
11979 return 0; }
11980
11981 struct Foo { void foo(size_t); void foo(unsigned long); };
11982
11983 int bar() {
11984
11985 ; return 0; }
11986 EOF
11987 if { (eval echo configure:11988: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11988 rm -rf conftest*
11989 wx_cv_size_t_is_ulong=no
11990 else
11991 echo "configure: failed program was:" >&5
11992 cat conftest.$ac_ext >&5
11993 rm -rf conftest*
11994 wx_cv_size_t_is_ulong=yes
11995
11996 fi
11997 rm -f conftest*
11998
11999 fi
12000
12001 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
12002
12003 if test "$wx_cv_size_t_is_ulong" = "yes"; then
12004 cat >> confdefs.h <<\EOF
12005 #define wxSIZE_T_IS_ULONG 1
12006 EOF
12007
12008 fi
12009 fi
12010
12011 ac_ext=c
12012 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12013 ac_cpp='$CPP $CPPFLAGS'
12014 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12015 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12016 cross_compiling=$ac_cv_prog_cc_cross
12017
12018
12019
12020 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
12021 echo "configure:12022: checking for pw_gecos in struct passwd" >&5
12022 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
12023 echo $ac_n "(cached) $ac_c" 1>&6
12024 else
12025
12026 cat > conftest.$ac_ext <<EOF
12027 #line 12028 "configure"
12028 #include "confdefs.h"
12029 #include <pwd.h>
12030 int main() {
12031
12032 char *p;
12033 struct passwd *pw;
12034 p = pw->pw_gecos;
12035
12036 ; return 0; }
12037 EOF
12038 if { (eval echo configure:12039: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12039 rm -rf conftest*
12040
12041 wx_cv_struct_pw_gecos=yes
12042
12043 else
12044 echo "configure: failed program was:" >&5
12045 cat conftest.$ac_ext >&5
12046 rm -rf conftest*
12047
12048 wx_cv_struct_pw_gecos=no
12049
12050
12051 fi
12052 rm -f conftest*
12053
12054
12055 fi
12056
12057 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
12058
12059 if test "$wx_cv_struct_pw_gecos" = "yes"; then
12060 cat >> confdefs.h <<\EOF
12061 #define HAVE_PW_GECOS 1
12062 EOF
12063
12064 fi
12065
12066
12067 echo $ac_n "checking for working const""... $ac_c" 1>&6
12068 echo "configure:12069: checking for working const" >&5
12069 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
12070 echo $ac_n "(cached) $ac_c" 1>&6
12071 else
12072 cat > conftest.$ac_ext <<EOF
12073 #line 12074 "configure"
12074 #include "confdefs.h"
12075
12076 int main() {
12077
12078 /* Ultrix mips cc rejects this. */
12079 typedef int charset[2]; const charset x;
12080 /* SunOS 4.1.1 cc rejects this. */
12081 char const *const *ccp;
12082 char **p;
12083 /* NEC SVR4.0.2 mips cc rejects this. */
12084 struct point {int x, y;};
12085 static struct point const zero = {0,0};
12086 /* AIX XL C 1.02.0.0 rejects this.
12087 It does not let you subtract one const X* pointer from another in an arm
12088 of an if-expression whose if-part is not a constant expression */
12089 const char *g = "string";
12090 ccp = &g + (g ? g-g : 0);
12091 /* HPUX 7.0 cc rejects these. */
12092 ++ccp;
12093 p = (char**) ccp;
12094 ccp = (char const *const *) p;
12095 { /* SCO 3.2v4 cc rejects this. */
12096 char *t;
12097 char const *s = 0 ? (char *) 0 : (char const *) 0;
12098
12099 *t++ = 0;
12100 }
12101 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12102 int x[] = {25, 17};
12103 const int *foo = &x[0];
12104 ++foo;
12105 }
12106 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12107 typedef const int *iptr;
12108 iptr p = 0;
12109 ++p;
12110 }
12111 { /* AIX XL C 1.02.0.0 rejects this saying
12112 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12113 struct s { int j; const int *ap[3]; };
12114 struct s *b; b->j = 5;
12115 }
12116 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12117 const int foo = 10;
12118 }
12119
12120 ; return 0; }
12121 EOF
12122 if { (eval echo configure:12123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12123 rm -rf conftest*
12124 ac_cv_c_const=yes
12125 else
12126 echo "configure: failed program was:" >&5
12127 cat conftest.$ac_ext >&5
12128 rm -rf conftest*
12129 ac_cv_c_const=no
12130 fi
12131 rm -f conftest*
12132 fi
12133
12134 echo "$ac_t""$ac_cv_c_const" 1>&6
12135 if test $ac_cv_c_const = no; then
12136 cat >> confdefs.h <<\EOF
12137 #define const
12138 EOF
12139
12140 fi
12141
12142 echo $ac_n "checking for inline""... $ac_c" 1>&6
12143 echo "configure:12144: checking for inline" >&5
12144 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
12145 echo $ac_n "(cached) $ac_c" 1>&6
12146 else
12147 ac_cv_c_inline=no
12148 for ac_kw in inline __inline__ __inline; do
12149 cat > conftest.$ac_ext <<EOF
12150 #line 12151 "configure"
12151 #include "confdefs.h"
12152
12153 int main() {
12154 } $ac_kw foo() {
12155 ; return 0; }
12156 EOF
12157 if { (eval echo configure:12158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12158 rm -rf conftest*
12159 ac_cv_c_inline=$ac_kw; break
12160 else
12161 echo "configure: failed program was:" >&5
12162 cat conftest.$ac_ext >&5
12163 fi
12164 rm -f conftest*
12165 done
12166
12167 fi
12168
12169 echo "$ac_t""$ac_cv_c_inline" 1>&6
12170 case "$ac_cv_c_inline" in
12171 inline | yes) ;;
12172 no) cat >> confdefs.h <<\EOF
12173 #define inline
12174 EOF
12175 ;;
12176 *) cat >> confdefs.h <<EOF
12177 #define inline $ac_cv_c_inline
12178 EOF
12179 ;;
12180 esac
12181
12182
12183 echo $ac_n "checking size of char""... $ac_c" 1>&6
12184 echo "configure:12185: checking size of char" >&5
12185 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
12186 echo $ac_n "(cached) $ac_c" 1>&6
12187 else
12188 if test "$cross_compiling" = yes; then
12189 ac_cv_sizeof_char=1
12190 else
12191 cat > conftest.$ac_ext <<EOF
12192 #line 12193 "configure"
12193 #include "confdefs.h"
12194 #include <stdio.h>
12195 main()
12196 {
12197 FILE *f=fopen("conftestval", "w");
12198 if (!f) exit(1);
12199 fprintf(f, "%d\n", sizeof(char));
12200 exit(0);
12201 }
12202 EOF
12203 if { (eval echo configure:12204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12204 then
12205 ac_cv_sizeof_char=`cat conftestval`
12206 else
12207 echo "configure: failed program was:" >&5
12208 cat conftest.$ac_ext >&5
12209 rm -fr conftest*
12210 ac_cv_sizeof_char=0
12211 fi
12212 rm -fr conftest*
12213 fi
12214
12215 fi
12216 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
12217 cat >> confdefs.h <<EOF
12218 #define SIZEOF_CHAR $ac_cv_sizeof_char
12219 EOF
12220
12221
12222 echo $ac_n "checking size of short""... $ac_c" 1>&6
12223 echo "configure:12224: checking size of short" >&5
12224 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
12225 echo $ac_n "(cached) $ac_c" 1>&6
12226 else
12227 if test "$cross_compiling" = yes; then
12228 ac_cv_sizeof_short=2
12229 else
12230 cat > conftest.$ac_ext <<EOF
12231 #line 12232 "configure"
12232 #include "confdefs.h"
12233 #include <stdio.h>
12234 main()
12235 {
12236 FILE *f=fopen("conftestval", "w");
12237 if (!f) exit(1);
12238 fprintf(f, "%d\n", sizeof(short));
12239 exit(0);
12240 }
12241 EOF
12242 if { (eval echo configure:12243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12243 then
12244 ac_cv_sizeof_short=`cat conftestval`
12245 else
12246 echo "configure: failed program was:" >&5
12247 cat conftest.$ac_ext >&5
12248 rm -fr conftest*
12249 ac_cv_sizeof_short=0
12250 fi
12251 rm -fr conftest*
12252 fi
12253
12254 fi
12255 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
12256 cat >> confdefs.h <<EOF
12257 #define SIZEOF_SHORT $ac_cv_sizeof_short
12258 EOF
12259
12260
12261 echo $ac_n "checking size of int *""... $ac_c" 1>&6
12262 echo "configure:12263: checking size of int *" >&5
12263 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
12264 echo $ac_n "(cached) $ac_c" 1>&6
12265 else
12266 if test "$cross_compiling" = yes; then
12267 ac_cv_sizeof_int_p=4
12268 else
12269 cat > conftest.$ac_ext <<EOF
12270 #line 12271 "configure"
12271 #include "confdefs.h"
12272 #include <stdio.h>
12273 main()
12274 {
12275 FILE *f=fopen("conftestval", "w");
12276 if (!f) exit(1);
12277 fprintf(f, "%d\n", sizeof(int *));
12278 exit(0);
12279 }
12280 EOF
12281 if { (eval echo configure:12282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12282 then
12283 ac_cv_sizeof_int_p=`cat conftestval`
12284 else
12285 echo "configure: failed program was:" >&5
12286 cat conftest.$ac_ext >&5
12287 rm -fr conftest*
12288 ac_cv_sizeof_int_p=0
12289 fi
12290 rm -fr conftest*
12291 fi
12292
12293 fi
12294 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
12295 cat >> confdefs.h <<EOF
12296 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
12297 EOF
12298
12299
12300 echo $ac_n "checking size of int""... $ac_c" 1>&6
12301 echo "configure:12302: checking size of int" >&5
12302 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
12303 echo $ac_n "(cached) $ac_c" 1>&6
12304 else
12305 if test "$cross_compiling" = yes; then
12306 ac_cv_sizeof_int=4
12307 else
12308 cat > conftest.$ac_ext <<EOF
12309 #line 12310 "configure"
12310 #include "confdefs.h"
12311 #include <stdio.h>
12312 main()
12313 {
12314 FILE *f=fopen("conftestval", "w");
12315 if (!f) exit(1);
12316 fprintf(f, "%d\n", sizeof(int));
12317 exit(0);
12318 }
12319 EOF
12320 if { (eval echo configure:12321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12321 then
12322 ac_cv_sizeof_int=`cat conftestval`
12323 else
12324 echo "configure: failed program was:" >&5
12325 cat conftest.$ac_ext >&5
12326 rm -fr conftest*
12327 ac_cv_sizeof_int=0
12328 fi
12329 rm -fr conftest*
12330 fi
12331
12332 fi
12333 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
12334 cat >> confdefs.h <<EOF
12335 #define SIZEOF_INT $ac_cv_sizeof_int
12336 EOF
12337
12338
12339 echo $ac_n "checking size of long""... $ac_c" 1>&6
12340 echo "configure:12341: checking size of long" >&5
12341 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
12342 echo $ac_n "(cached) $ac_c" 1>&6
12343 else
12344 if test "$cross_compiling" = yes; then
12345 ac_cv_sizeof_long=4
12346 else
12347 cat > conftest.$ac_ext <<EOF
12348 #line 12349 "configure"
12349 #include "confdefs.h"
12350 #include <stdio.h>
12351 main()
12352 {
12353 FILE *f=fopen("conftestval", "w");
12354 if (!f) exit(1);
12355 fprintf(f, "%d\n", sizeof(long));
12356 exit(0);
12357 }
12358 EOF
12359 if { (eval echo configure:12360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12360 then
12361 ac_cv_sizeof_long=`cat conftestval`
12362 else
12363 echo "configure: failed program was:" >&5
12364 cat conftest.$ac_ext >&5
12365 rm -fr conftest*
12366 ac_cv_sizeof_long=0
12367 fi
12368 rm -fr conftest*
12369 fi
12370
12371 fi
12372 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
12373 cat >> confdefs.h <<EOF
12374 #define SIZEOF_LONG $ac_cv_sizeof_long
12375 EOF
12376
12377
12378 echo $ac_n "checking size of long long""... $ac_c" 1>&6
12379 echo "configure:12380: checking size of long long" >&5
12380 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
12381 echo $ac_n "(cached) $ac_c" 1>&6
12382 else
12383 if test "$cross_compiling" = yes; then
12384 ac_cv_sizeof_long_long=0
12385 else
12386 cat > conftest.$ac_ext <<EOF
12387 #line 12388 "configure"
12388 #include "confdefs.h"
12389 #include <stdio.h>
12390 main()
12391 {
12392 FILE *f=fopen("conftestval", "w");
12393 if (!f) exit(1);
12394 fprintf(f, "%d\n", sizeof(long long));
12395 exit(0);
12396 }
12397 EOF
12398 if { (eval echo configure:12399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12399 then
12400 ac_cv_sizeof_long_long=`cat conftestval`
12401 else
12402 echo "configure: failed program was:" >&5
12403 cat conftest.$ac_ext >&5
12404 rm -fr conftest*
12405 ac_cv_sizeof_long_long=0
12406 fi
12407 rm -fr conftest*
12408 fi
12409
12410 fi
12411 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
12412 cat >> confdefs.h <<EOF
12413 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12414 EOF
12415
12416
12417
12418 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
12419 echo "configure:12420: checking size of wchar_t" >&5
12420 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
12421 echo $ac_n "(cached) $ac_c" 1>&6
12422 else
12423
12424 if test "$cross_compiling" = yes; then
12425 wx_cv_sizeof_wchar_t=4
12426
12427 else
12428 cat > conftest.$ac_ext <<EOF
12429 #line 12430 "configure"
12430 #include "confdefs.h"
12431
12432 #ifdef HAVE_WCHAR_H
12433 # include <wchar.h>
12434 #endif
12435 #ifdef HAVE_STDLIB_H
12436 # include <stdlib.h>
12437 #endif
12438 #include <stdio.h>
12439 int main()
12440 {
12441 FILE *f=fopen("conftestval", "w");
12442 if (!f) exit(1);
12443 fprintf(f, "%i", sizeof(wchar_t));
12444 exit(0);
12445 }
12446
12447 EOF
12448 if { (eval echo configure:12449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12449 then
12450 wx_cv_sizeof_wchar_t=`cat conftestval`
12451 else
12452 echo "configure: failed program was:" >&5
12453 cat conftest.$ac_ext >&5
12454 rm -fr conftest*
12455 wx_cv_sizeof_wchar_t=0
12456 fi
12457 rm -fr conftest*
12458 fi
12459
12460
12461 fi
12462
12463 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
12464
12465 cat >> confdefs.h <<EOF
12466 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
12467 EOF
12468
12469
12470 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
12471 echo "configure:12472: checking whether byte ordering is bigendian" >&5
12472 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
12473 echo $ac_n "(cached) $ac_c" 1>&6
12474 else
12475 ac_cv_c_bigendian=unknown
12476 # See if sys/param.h defines the BYTE_ORDER macro.
12477 cat > conftest.$ac_ext <<EOF
12478 #line 12479 "configure"
12479 #include "confdefs.h"
12480 #include <sys/types.h>
12481 #include <sys/param.h>
12482 int main() {
12483
12484 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
12485 bogus endian macros
12486 #endif
12487 ; return 0; }
12488 EOF
12489 if { (eval echo configure:12490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12490 rm -rf conftest*
12491 # It does; now see whether it defined to BIG_ENDIAN or not.
12492 cat > conftest.$ac_ext <<EOF
12493 #line 12494 "configure"
12494 #include "confdefs.h"
12495 #include <sys/types.h>
12496 #include <sys/param.h>
12497 int main() {
12498
12499 #if BYTE_ORDER != BIG_ENDIAN
12500 not big endian
12501 #endif
12502 ; return 0; }
12503 EOF
12504 if { (eval echo configure:12505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12505 rm -rf conftest*
12506 ac_cv_c_bigendian=yes
12507 else
12508 echo "configure: failed program was:" >&5
12509 cat conftest.$ac_ext >&5
12510 rm -rf conftest*
12511 ac_cv_c_bigendian=no
12512 fi
12513 rm -f conftest*
12514 else
12515 echo "configure: failed program was:" >&5
12516 cat conftest.$ac_ext >&5
12517 fi
12518 rm -f conftest*
12519 if test $ac_cv_c_bigendian = unknown; then
12520 if test "$cross_compiling" = yes; then
12521 ac_cv_c_bigendian=unknown
12522 else
12523 cat > conftest.$ac_ext <<EOF
12524 #line 12525 "configure"
12525 #include "confdefs.h"
12526 main () {
12527 /* Are we little or big endian? From Harbison&Steele. */
12528 union
12529 {
12530 long l;
12531 char c[sizeof (long)];
12532 } u;
12533 u.l = 1;
12534 exit (u.c[sizeof (long) - 1] == 1);
12535 }
12536 EOF
12537 if { (eval echo configure:12538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12538 then
12539 ac_cv_c_bigendian=no
12540 else
12541 echo "configure: failed program was:" >&5
12542 cat conftest.$ac_ext >&5
12543 rm -fr conftest*
12544 ac_cv_c_bigendian=yes
12545 fi
12546 rm -fr conftest*
12547 fi
12548
12549 fi
12550 fi
12551
12552 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
12553 if test $ac_cv_c_bigendian = unknown; then
12554 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
12555 fi
12556 if test $ac_cv_c_bigendian = yes; then
12557 cat >> confdefs.h <<\EOF
12558 #define WORDS_BIGENDIAN 1
12559 EOF
12560
12561 fi
12562
12563
12564
12565 if test "$cross_compiling" = "yes"; then
12566 cat >> confdefs.h <<\EOF
12567 #define wxUSE_IOSTREAMH 1
12568 EOF
12569
12570 else
12571
12572 ac_ext=C
12573 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12574 ac_cpp='$CXXCPP $CPPFLAGS'
12575 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12576 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12577 cross_compiling=$ac_cv_prog_cxx_cross
12578
12579
12580 for ac_hdr in iostream
12581 do
12582 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12583 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12584 echo "configure:12585: checking for $ac_hdr" >&5
12585 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12586 echo $ac_n "(cached) $ac_c" 1>&6
12587 else
12588 cat > conftest.$ac_ext <<EOF
12589 #line 12590 "configure"
12590 #include "confdefs.h"
12591 #include <$ac_hdr>
12592 EOF
12593 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12594 { (eval echo configure:12595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12595 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12596 if test -z "$ac_err"; then
12597 rm -rf conftest*
12598 eval "ac_cv_header_$ac_safe=yes"
12599 else
12600 echo "$ac_err" >&5
12601 echo "configure: failed program was:" >&5
12602 cat conftest.$ac_ext >&5
12603 rm -rf conftest*
12604 eval "ac_cv_header_$ac_safe=no"
12605 fi
12606 rm -f conftest*
12607 fi
12608 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12609 echo "$ac_t""yes" 1>&6
12610 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12611 cat >> confdefs.h <<EOF
12612 #define $ac_tr_hdr 1
12613 EOF
12614
12615 else
12616 echo "$ac_t""no" 1>&6
12617 fi
12618 done
12619
12620
12621 if test "$ac_cv_header_iostream" = "yes" ; then
12622 :
12623 else
12624 cat >> confdefs.h <<\EOF
12625 #define wxUSE_IOSTREAMH 1
12626 EOF
12627
12628 fi
12629
12630 ac_ext=c
12631 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12632 ac_cpp='$CPP $CPPFLAGS'
12633 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12634 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12635 cross_compiling=$ac_cv_prog_cc_cross
12636
12637 fi
12638
12639
12640
12641 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12642 echo "configure:12643: checking if C++ compiler supports bool" >&5
12643 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12644 echo $ac_n "(cached) $ac_c" 1>&6
12645 else
12646
12647
12648 ac_ext=C
12649 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12650 ac_cpp='$CXXCPP $CPPFLAGS'
12651 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12652 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12653 cross_compiling=$ac_cv_prog_cxx_cross
12654
12655
12656 cat > conftest.$ac_ext <<EOF
12657 #line 12658 "configure"
12658 #include "confdefs.h"
12659
12660
12661 int main() {
12662
12663 bool b = true;
12664
12665 return 0;
12666
12667 ; return 0; }
12668 EOF
12669 if { (eval echo configure:12670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12670 rm -rf conftest*
12671
12672 wx_cv_cpp_bool=yes
12673
12674 else
12675 echo "configure: failed program was:" >&5
12676 cat conftest.$ac_ext >&5
12677 rm -rf conftest*
12678
12679 wx_cv_cpp_bool=no
12680
12681
12682 fi
12683 rm -f conftest*
12684
12685 ac_ext=c
12686 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12687 ac_cpp='$CPP $CPPFLAGS'
12688 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12689 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12690 cross_compiling=$ac_cv_prog_cc_cross
12691
12692
12693 fi
12694
12695 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12696
12697 if test "$wx_cv_cpp_bool" = "yes"; then
12698 cat >> confdefs.h <<\EOF
12699 #define HAVE_BOOL 1
12700 EOF
12701
12702 fi
12703
12704
12705
12706 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12707 echo "configure:12708: checking for wcslen in -lc" >&5
12708 ac_lib_var=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
12709 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12710 echo $ac_n "(cached) $ac_c" 1>&6
12711 else
12712 ac_save_LIBS="$LIBS"
12713 LIBS="-lc $LIBS"
12714 cat > conftest.$ac_ext <<EOF
12715 #line 12716 "configure"
12716 #include "confdefs.h"
12717 /* Override any gcc2 internal prototype to avoid an error. */
12718 /* We use char because int might match the return type of a gcc2
12719 builtin and then its argument prototype would still apply. */
12720 char wcslen();
12721
12722 int main() {
12723 wcslen()
12724 ; return 0; }
12725 EOF
12726 if { (eval echo configure:12727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12727 rm -rf conftest*
12728 eval "ac_cv_lib_$ac_lib_var=yes"
12729 else
12730 echo "configure: failed program was:" >&5
12731 cat conftest.$ac_ext >&5
12732 rm -rf conftest*
12733 eval "ac_cv_lib_$ac_lib_var=no"
12734 fi
12735 rm -f conftest*
12736 LIBS="$ac_save_LIBS"
12737
12738 fi
12739 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12740 echo "$ac_t""yes" 1>&6
12741
12742 cat >> confdefs.h <<\EOF
12743 #define HAVE_WCSLEN 1
12744 EOF
12745
12746 WCHAR_LINK=""
12747
12748 else
12749 echo "$ac_t""no" 1>&6
12750
12751 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
12752 echo "configure:12753: checking for wcslen in -lw" >&5
12753 ac_lib_var=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
12754 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12755 echo $ac_n "(cached) $ac_c" 1>&6
12756 else
12757 ac_save_LIBS="$LIBS"
12758 LIBS="-lw $LIBS"
12759 cat > conftest.$ac_ext <<EOF
12760 #line 12761 "configure"
12761 #include "confdefs.h"
12762 /* Override any gcc2 internal prototype to avoid an error. */
12763 /* We use char because int might match the return type of a gcc2
12764 builtin and then its argument prototype would still apply. */
12765 char wcslen();
12766
12767 int main() {
12768 wcslen()
12769 ; return 0; }
12770 EOF
12771 if { (eval echo configure:12772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12772 rm -rf conftest*
12773 eval "ac_cv_lib_$ac_lib_var=yes"
12774 else
12775 echo "configure: failed program was:" >&5
12776 cat conftest.$ac_ext >&5
12777 rm -rf conftest*
12778 eval "ac_cv_lib_$ac_lib_var=no"
12779 fi
12780 rm -f conftest*
12781 LIBS="$ac_save_LIBS"
12782
12783 fi
12784 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12785 echo "$ac_t""yes" 1>&6
12786
12787 cat >> confdefs.h <<\EOF
12788 #define HAVE_WCSLEN 1
12789 EOF
12790
12791 WCHAR_LINK="-lw"
12792
12793 else
12794 echo "$ac_t""no" 1>&6
12795
12796 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
12797 echo "configure:12798: checking for wcslen in -lmsvcrt" >&5
12798 ac_lib_var=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
12799 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12800 echo $ac_n "(cached) $ac_c" 1>&6
12801 else
12802 ac_save_LIBS="$LIBS"
12803 LIBS="-lmsvcrt $LIBS"
12804 cat > conftest.$ac_ext <<EOF
12805 #line 12806 "configure"
12806 #include "confdefs.h"
12807 /* Override any gcc2 internal prototype to avoid an error. */
12808 /* We use char because int might match the return type of a gcc2
12809 builtin and then its argument prototype would still apply. */
12810 char wcslen();
12811
12812 int main() {
12813 wcslen()
12814 ; return 0; }
12815 EOF
12816 if { (eval echo configure:12817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12817 rm -rf conftest*
12818 eval "ac_cv_lib_$ac_lib_var=yes"
12819 else
12820 echo "configure: failed program was:" >&5
12821 cat conftest.$ac_ext >&5
12822 rm -rf conftest*
12823 eval "ac_cv_lib_$ac_lib_var=no"
12824 fi
12825 rm -f conftest*
12826 LIBS="$ac_save_LIBS"
12827
12828 fi
12829 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12830 echo "$ac_t""yes" 1>&6
12831
12832 cat >> confdefs.h <<\EOF
12833 #define HAVE_WCSLEN 1
12834 EOF
12835
12836 WCHAR_LINK=""
12837
12838 else
12839 echo "$ac_t""no" 1>&6
12840 fi
12841
12842
12843 fi
12844
12845
12846 fi
12847
12848
12849 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
12850 echo "configure:12851: checking for vprintf" >&5
12851 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
12852 echo $ac_n "(cached) $ac_c" 1>&6
12853 else
12854 cat > conftest.$ac_ext <<EOF
12855 #line 12856 "configure"
12856 #include "confdefs.h"
12857 /* System header to define __stub macros and hopefully few prototypes,
12858 which can conflict with char vprintf(); below. */
12859 #include <assert.h>
12860 /* Override any gcc2 internal prototype to avoid an error. */
12861 /* We use char because int might match the return type of a gcc2
12862 builtin and then its argument prototype would still apply. */
12863 char vprintf();
12864
12865 int main() {
12866
12867 /* The GNU C library defines this for functions which it implements
12868 to always fail with ENOSYS. Some functions are actually named
12869 something starting with __ and the normal name is an alias. */
12870 #if defined (__stub_vprintf) || defined (__stub___vprintf)
12871 choke me
12872 #else
12873 vprintf();
12874 #endif
12875
12876 ; return 0; }
12877 EOF
12878 if { (eval echo configure:12879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12879 rm -rf conftest*
12880 eval "ac_cv_func_vprintf=yes"
12881 else
12882 echo "configure: failed program was:" >&5
12883 cat conftest.$ac_ext >&5
12884 rm -rf conftest*
12885 eval "ac_cv_func_vprintf=no"
12886 fi
12887 rm -f conftest*
12888 fi
12889
12890 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
12891 echo "$ac_t""yes" 1>&6
12892 cat >> confdefs.h <<\EOF
12893 #define HAVE_VPRINTF 1
12894 EOF
12895
12896 else
12897 echo "$ac_t""no" 1>&6
12898 fi
12899
12900 if test "$ac_cv_func_vprintf" != yes; then
12901 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
12902 echo "configure:12903: checking for _doprnt" >&5
12903 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
12904 echo $ac_n "(cached) $ac_c" 1>&6
12905 else
12906 cat > conftest.$ac_ext <<EOF
12907 #line 12908 "configure"
12908 #include "confdefs.h"
12909 /* System header to define __stub macros and hopefully few prototypes,
12910 which can conflict with char _doprnt(); below. */
12911 #include <assert.h>
12912 /* Override any gcc2 internal prototype to avoid an error. */
12913 /* We use char because int might match the return type of a gcc2
12914 builtin and then its argument prototype would still apply. */
12915 char _doprnt();
12916
12917 int main() {
12918
12919 /* The GNU C library defines this for functions which it implements
12920 to always fail with ENOSYS. Some functions are actually named
12921 something starting with __ and the normal name is an alias. */
12922 #if defined (__stub__doprnt) || defined (__stub____doprnt)
12923 choke me
12924 #else
12925 _doprnt();
12926 #endif
12927
12928 ; return 0; }
12929 EOF
12930 if { (eval echo configure:12931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12931 rm -rf conftest*
12932 eval "ac_cv_func__doprnt=yes"
12933 else
12934 echo "configure: failed program was:" >&5
12935 cat conftest.$ac_ext >&5
12936 rm -rf conftest*
12937 eval "ac_cv_func__doprnt=no"
12938 fi
12939 rm -f conftest*
12940 fi
12941
12942 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
12943 echo "$ac_t""yes" 1>&6
12944 cat >> confdefs.h <<\EOF
12945 #define HAVE_DOPRNT 1
12946 EOF
12947
12948 else
12949 echo "$ac_t""no" 1>&6
12950 fi
12951
12952 fi
12953
12954
12955
12956
12957
12958
12959
12960 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
12961 echo "configure:12962: checking for vsnprintf" >&5
12962 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
12963 echo $ac_n "(cached) $ac_c" 1>&6
12964 else
12965
12966 cat > conftest.$ac_ext <<EOF
12967 #line 12968 "configure"
12968 #include "confdefs.h"
12969
12970 #include <stdio.h>
12971 #include <stdarg.h>
12972
12973 int main() {
12974
12975 int wx_test_vsnprintf(const char *, ...);
12976
12977 wx_test_vsnprintf("%s");
12978 return 0;
12979 }
12980
12981 int wx_test_vsnprintf(const char *fmt, ...)
12982 {
12983 char *s;
12984
12985 va_list argp;
12986 va_start(argp, fmt);
12987 vsnprintf(s, 42, fmt, argp);
12988 va_end(argp);
12989
12990 ; return 0; }
12991 EOF
12992 if { (eval echo configure:12993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12993 rm -rf conftest*
12994
12995 wx_cv_func_vsnprintf=yes
12996
12997 else
12998 echo "configure: failed program was:" >&5
12999 cat conftest.$ac_ext >&5
13000 rm -rf conftest*
13001
13002 cat > conftest.$ac_ext <<EOF
13003 #line 13004 "configure"
13004 #include "confdefs.h"
13005
13006 #include <stdio.h>
13007 #include <stdarg.h>
13008
13009 int main() {
13010
13011 int wx_test_vsnprintf(const char *, ...);
13012
13013 wx_test_vsnprintf("%s");
13014 return 0;
13015 }
13016
13017 int wx_test_vsnprintf(const char *fmt, ...)
13018 {
13019 char *s;
13020
13021 va_list argp;
13022 va_start(argp, fmt);
13023 _vsnprintf(s, 42, fmt, argp);
13024 va_end(argp);
13025
13026 ; return 0; }
13027 EOF
13028 if { (eval echo configure:13029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13029 rm -rf conftest*
13030
13031 wx_cv_func_vsnprintf=yes
13032
13033 else
13034 echo "configure: failed program was:" >&5
13035 cat conftest.$ac_ext >&5
13036 rm -rf conftest*
13037
13038 wx_cv_func_vsnprintf=no
13039
13040 fi
13041 rm -f conftest*
13042
13043 fi
13044 rm -f conftest*
13045
13046 fi
13047
13048 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
13049
13050 if test "$wx_cv_func_vsnprintf" = yes; then
13051 cat >> confdefs.h <<\EOF
13052 #define HAVE_VSNPRINTF 1
13053 EOF
13054
13055 else
13056 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
13057 fi
13058
13059 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
13060 echo "configure:13061: checking for vsscanf" >&5
13061 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
13062 echo $ac_n "(cached) $ac_c" 1>&6
13063 else
13064
13065 cat > conftest.$ac_ext <<EOF
13066 #line 13067 "configure"
13067 #include "confdefs.h"
13068
13069 #include <stdio.h>
13070 #include <stdarg.h>
13071
13072 int main() {
13073
13074 int wx_test_vsscanf(const char *, ...);
13075
13076 wx_test_vsscanf("%d");
13077 return 0;
13078 }
13079
13080 int wx_test_vsscanf(const char *fmt, ...)
13081 {
13082 va_list argp;
13083 va_start(argp, fmt);
13084 vsscanf("42", fmt, argp);
13085 va_end(argp);
13086
13087 ; return 0; }
13088 EOF
13089 if { (eval echo configure:13090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13090 rm -rf conftest*
13091
13092 wx_cv_func_vsscanf=yes
13093
13094 else
13095 echo "configure: failed program was:" >&5
13096 cat conftest.$ac_ext >&5
13097 rm -rf conftest*
13098
13099 wx_cv_func_vsscanf=no
13100
13101 fi
13102 rm -f conftest*
13103
13104 fi
13105
13106 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
13107
13108 if test "$wx_cv_func_vsscanf" = yes; then
13109 cat >> confdefs.h <<\EOF
13110 #define HAVE_VSSCANF 1
13111 EOF
13112
13113 fi
13114
13115 if test "$TOOLKIT" != "MSW"; then
13116
13117
13118
13119 ac_ext=C
13120 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13121 ac_cpp='$CXXCPP $CPPFLAGS'
13122 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13123 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13124 cross_compiling=$ac_cv_prog_cxx_cross
13125
13126 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
13127 echo "configure:13128: checking if iconv() takes char**" >&5
13128 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
13129 echo $ac_n "(cached) $ac_c" 1>&6
13130 else
13131
13132 cat > conftest.$ac_ext <<EOF
13133 #line 13134 "configure"
13134 #include "confdefs.h"
13135 #include <iconv.h>
13136 int main() {
13137
13138 char **inbuf, **outbuf;
13139 iconv_t cd;
13140 size_t insz, outsz;
13141 iconv(cd, inbuf, &insz, outbuf, &outsz);
13142
13143 ; return 0; }
13144 EOF
13145 if { (eval echo configure:13146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13146 rm -rf conftest*
13147 wx_cv_iconv_takes_char=yes
13148 else
13149 echo "configure: failed program was:" >&5
13150 cat conftest.$ac_ext >&5
13151 rm -rf conftest*
13152 wx_cv_iconv_takes_char=no
13153 fi
13154 rm -f conftest*
13155
13156 fi
13157
13158 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
13159 ac_ext=c
13160 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13161 ac_cpp='$CPP $CPPFLAGS'
13162 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13163 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13164 cross_compiling=$ac_cv_prog_cc_cross
13165
13166 if test "$wx_cv_iconv_takes_char" = yes ; then
13167 cat >> confdefs.h <<\EOF
13168 #define WX_ICONV_TAKES_CHAR 1
13169 EOF
13170
13171 fi
13172
13173
13174 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
13175 for ac_func in sigaction
13176 do
13177 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13178 echo "configure:13179: checking for $ac_func" >&5
13179 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13180 echo $ac_n "(cached) $ac_c" 1>&6
13181 else
13182 cat > conftest.$ac_ext <<EOF
13183 #line 13184 "configure"
13184 #include "confdefs.h"
13185 /* System header to define __stub macros and hopefully few prototypes,
13186 which can conflict with char $ac_func(); below. */
13187 #include <assert.h>
13188 /* Override any gcc2 internal prototype to avoid an error. */
13189 /* We use char because int might match the return type of a gcc2
13190 builtin and then its argument prototype would still apply. */
13191 char $ac_func();
13192
13193 int main() {
13194
13195 /* The GNU C library defines this for functions which it implements
13196 to always fail with ENOSYS. Some functions are actually named
13197 something starting with __ and the normal name is an alias. */
13198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13199 choke me
13200 #else
13201 $ac_func();
13202 #endif
13203
13204 ; return 0; }
13205 EOF
13206 if { (eval echo configure:13207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13207 rm -rf conftest*
13208 eval "ac_cv_func_$ac_func=yes"
13209 else
13210 echo "configure: failed program was:" >&5
13211 cat conftest.$ac_ext >&5
13212 rm -rf conftest*
13213 eval "ac_cv_func_$ac_func=no"
13214 fi
13215 rm -f conftest*
13216 fi
13217
13218 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13219 echo "$ac_t""yes" 1>&6
13220 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13221 cat >> confdefs.h <<EOF
13222 #define $ac_tr_func 1
13223 EOF
13224
13225 else
13226 echo "$ac_t""no" 1>&6
13227 fi
13228 done
13229
13230
13231 if test "$ac_cv_func_sigaction" = "no"; then
13232 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
13233 wxUSE_ON_FATAL_EXCEPTION=no
13234 fi
13235
13236 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
13237
13238 ac_ext=C
13239 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13240 ac_cpp='$CXXCPP $CPPFLAGS'
13241 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13242 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13243 cross_compiling=$ac_cv_prog_cxx_cross
13244
13245
13246 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
13247 echo "configure:13248: checking for sa_handler type" >&5
13248 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
13249 echo $ac_n "(cached) $ac_c" 1>&6
13250 else
13251
13252 cat > conftest.$ac_ext <<EOF
13253 #line 13254 "configure"
13254 #include "confdefs.h"
13255 #include <signal.h>
13256 int main() {
13257
13258 extern void testSigHandler(int);
13259
13260 struct sigaction sa;
13261 sa.sa_handler = testSigHandler;
13262
13263 ; return 0; }
13264 EOF
13265 if { (eval echo configure:13266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13266 rm -rf conftest*
13267
13268 wx_cv_type_sa_handler=int
13269
13270 else
13271 echo "configure: failed program was:" >&5
13272 cat conftest.$ac_ext >&5
13273 rm -rf conftest*
13274
13275 wx_cv_type_sa_handler=void
13276
13277 fi
13278 rm -f conftest*
13279
13280 fi
13281
13282 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
13283
13284 ac_ext=c
13285 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13286 ac_cpp='$CPP $CPPFLAGS'
13287 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13288 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13289 cross_compiling=$ac_cv_prog_cc_cross
13290
13291
13292 cat >> confdefs.h <<EOF
13293 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
13294 EOF
13295
13296 fi
13297 fi
13298
13299 for ac_func in vfork
13300 do
13301 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13302 echo "configure:13303: checking for $ac_func" >&5
13303 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13304 echo $ac_n "(cached) $ac_c" 1>&6
13305 else
13306 cat > conftest.$ac_ext <<EOF
13307 #line 13308 "configure"
13308 #include "confdefs.h"
13309 /* System header to define __stub macros and hopefully few prototypes,
13310 which can conflict with char $ac_func(); below. */
13311 #include <assert.h>
13312 /* Override any gcc2 internal prototype to avoid an error. */
13313 /* We use char because int might match the return type of a gcc2
13314 builtin and then its argument prototype would still apply. */
13315 char $ac_func();
13316
13317 int main() {
13318
13319 /* The GNU C library defines this for functions which it implements
13320 to always fail with ENOSYS. Some functions are actually named
13321 something starting with __ and the normal name is an alias. */
13322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13323 choke me
13324 #else
13325 $ac_func();
13326 #endif
13327
13328 ; return 0; }
13329 EOF
13330 if { (eval echo configure:13331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13331 rm -rf conftest*
13332 eval "ac_cv_func_$ac_func=yes"
13333 else
13334 echo "configure: failed program was:" >&5
13335 cat conftest.$ac_ext >&5
13336 rm -rf conftest*
13337 eval "ac_cv_func_$ac_func=no"
13338 fi
13339 rm -f conftest*
13340 fi
13341
13342 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13343 echo "$ac_t""yes" 1>&6
13344 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13345 cat >> confdefs.h <<EOF
13346 #define $ac_tr_func 1
13347 EOF
13348
13349 else
13350 echo "$ac_t""no" 1>&6
13351 fi
13352 done
13353
13354
13355 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
13356 for ac_func in fcntl flock
13357 do
13358 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13359 echo "configure:13360: checking for $ac_func" >&5
13360 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13361 echo $ac_n "(cached) $ac_c" 1>&6
13362 else
13363 cat > conftest.$ac_ext <<EOF
13364 #line 13365 "configure"
13365 #include "confdefs.h"
13366 /* System header to define __stub macros and hopefully few prototypes,
13367 which can conflict with char $ac_func(); below. */
13368 #include <assert.h>
13369 /* Override any gcc2 internal prototype to avoid an error. */
13370 /* We use char because int might match the return type of a gcc2
13371 builtin and then its argument prototype would still apply. */
13372 char $ac_func();
13373
13374 int main() {
13375
13376 /* The GNU C library defines this for functions which it implements
13377 to always fail with ENOSYS. Some functions are actually named
13378 something starting with __ and the normal name is an alias. */
13379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13380 choke me
13381 #else
13382 $ac_func();
13383 #endif
13384
13385 ; return 0; }
13386 EOF
13387 if { (eval echo configure:13388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13388 rm -rf conftest*
13389 eval "ac_cv_func_$ac_func=yes"
13390 else
13391 echo "configure: failed program was:" >&5
13392 cat conftest.$ac_ext >&5
13393 rm -rf conftest*
13394 eval "ac_cv_func_$ac_func=no"
13395 fi
13396 rm -f conftest*
13397 fi
13398
13399 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13400 echo "$ac_t""yes" 1>&6
13401 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13402 cat >> confdefs.h <<EOF
13403 #define $ac_tr_func 1
13404 EOF
13405 break
13406 else
13407 echo "$ac_t""no" 1>&6
13408 fi
13409 done
13410
13411
13412 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
13413 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
13414 wxUSE_SNGLINST_CHECKER=no
13415 fi
13416 fi
13417
13418 for ac_func in timegm
13419 do
13420 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13421 echo "configure:13422: checking for $ac_func" >&5
13422 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13423 echo $ac_n "(cached) $ac_c" 1>&6
13424 else
13425 cat > conftest.$ac_ext <<EOF
13426 #line 13427 "configure"
13427 #include "confdefs.h"
13428 /* System header to define __stub macros and hopefully few prototypes,
13429 which can conflict with char $ac_func(); below. */
13430 #include <assert.h>
13431 /* Override any gcc2 internal prototype to avoid an error. */
13432 /* We use char because int might match the return type of a gcc2
13433 builtin and then its argument prototype would still apply. */
13434 char $ac_func();
13435
13436 int main() {
13437
13438 /* The GNU C library defines this for functions which it implements
13439 to always fail with ENOSYS. Some functions are actually named
13440 something starting with __ and the normal name is an alias. */
13441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13442 choke me
13443 #else
13444 $ac_func();
13445 #endif
13446
13447 ; return 0; }
13448 EOF
13449 if { (eval echo configure:13450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13450 rm -rf conftest*
13451 eval "ac_cv_func_$ac_func=yes"
13452 else
13453 echo "configure: failed program was:" >&5
13454 cat conftest.$ac_ext >&5
13455 rm -rf conftest*
13456 eval "ac_cv_func_$ac_func=no"
13457 fi
13458 rm -f conftest*
13459 fi
13460
13461 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13462 echo "$ac_t""yes" 1>&6
13463 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13464 cat >> confdefs.h <<EOF
13465 #define $ac_tr_func 1
13466 EOF
13467
13468 else
13469 echo "$ac_t""no" 1>&6
13470 fi
13471 done
13472
13473
13474 for ac_func in putenv setenv
13475 do
13476 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13477 echo "configure:13478: checking for $ac_func" >&5
13478 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13479 echo $ac_n "(cached) $ac_c" 1>&6
13480 else
13481 cat > conftest.$ac_ext <<EOF
13482 #line 13483 "configure"
13483 #include "confdefs.h"
13484 /* System header to define __stub macros and hopefully few prototypes,
13485 which can conflict with char $ac_func(); below. */
13486 #include <assert.h>
13487 /* Override any gcc2 internal prototype to avoid an error. */
13488 /* We use char because int might match the return type of a gcc2
13489 builtin and then its argument prototype would still apply. */
13490 char $ac_func();
13491
13492 int main() {
13493
13494 /* The GNU C library defines this for functions which it implements
13495 to always fail with ENOSYS. Some functions are actually named
13496 something starting with __ and the normal name is an alias. */
13497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13498 choke me
13499 #else
13500 $ac_func();
13501 #endif
13502
13503 ; return 0; }
13504 EOF
13505 if { (eval echo configure:13506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13506 rm -rf conftest*
13507 eval "ac_cv_func_$ac_func=yes"
13508 else
13509 echo "configure: failed program was:" >&5
13510 cat conftest.$ac_ext >&5
13511 rm -rf conftest*
13512 eval "ac_cv_func_$ac_func=no"
13513 fi
13514 rm -f conftest*
13515 fi
13516
13517 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13518 echo "$ac_t""yes" 1>&6
13519 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13520 cat >> confdefs.h <<EOF
13521 #define $ac_tr_func 1
13522 EOF
13523 break
13524 else
13525 echo "$ac_t""no" 1>&6
13526 fi
13527 done
13528
13529
13530 HAVE_SOME_SLEEP_FUNC=0
13531 if test "$USE_BEOS" = 1; then
13532 cat >> confdefs.h <<\EOF
13533 #define HAVE_SLEEP 1
13534 EOF
13535
13536 HAVE_SOME_SLEEP_FUNC=1
13537 fi
13538
13539 if test "$USE_DARWIN" = 1; then
13540 cat >> confdefs.h <<\EOF
13541 #define HAVE_USLEEP 1
13542 EOF
13543
13544 HAVE_SOME_SLEEP_FUNC=1
13545 fi
13546
13547 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
13548 POSIX4_LINK=
13549 for ac_func in nanosleep
13550 do
13551 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13552 echo "configure:13553: checking for $ac_func" >&5
13553 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13554 echo $ac_n "(cached) $ac_c" 1>&6
13555 else
13556 cat > conftest.$ac_ext <<EOF
13557 #line 13558 "configure"
13558 #include "confdefs.h"
13559 /* System header to define __stub macros and hopefully few prototypes,
13560 which can conflict with char $ac_func(); below. */
13561 #include <assert.h>
13562 /* Override any gcc2 internal prototype to avoid an error. */
13563 /* We use char because int might match the return type of a gcc2
13564 builtin and then its argument prototype would still apply. */
13565 char $ac_func();
13566
13567 int main() {
13568
13569 /* The GNU C library defines this for functions which it implements
13570 to always fail with ENOSYS. Some functions are actually named
13571 something starting with __ and the normal name is an alias. */
13572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13573 choke me
13574 #else
13575 $ac_func();
13576 #endif
13577
13578 ; return 0; }
13579 EOF
13580 if { (eval echo configure:13581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13581 rm -rf conftest*
13582 eval "ac_cv_func_$ac_func=yes"
13583 else
13584 echo "configure: failed program was:" >&5
13585 cat conftest.$ac_ext >&5
13586 rm -rf conftest*
13587 eval "ac_cv_func_$ac_func=no"
13588 fi
13589 rm -f conftest*
13590 fi
13591
13592 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13593 echo "$ac_t""yes" 1>&6
13594 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13595 cat >> confdefs.h <<EOF
13596 #define $ac_tr_func 1
13597 EOF
13598 cat >> confdefs.h <<\EOF
13599 #define HAVE_NANOSLEEP 1
13600 EOF
13601
13602 else
13603 echo "$ac_t""no" 1>&6
13604 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
13605 echo "configure:13606: checking for nanosleep in -lposix4" >&5
13606 ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
13607 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13608 echo $ac_n "(cached) $ac_c" 1>&6
13609 else
13610 ac_save_LIBS="$LIBS"
13611 LIBS="-lposix4 $LIBS"
13612 cat > conftest.$ac_ext <<EOF
13613 #line 13614 "configure"
13614 #include "confdefs.h"
13615 /* Override any gcc2 internal prototype to avoid an error. */
13616 /* We use char because int might match the return type of a gcc2
13617 builtin and then its argument prototype would still apply. */
13618 char nanosleep();
13619
13620 int main() {
13621 nanosleep()
13622 ; return 0; }
13623 EOF
13624 if { (eval echo configure:13625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13625 rm -rf conftest*
13626 eval "ac_cv_lib_$ac_lib_var=yes"
13627 else
13628 echo "configure: failed program was:" >&5
13629 cat conftest.$ac_ext >&5
13630 rm -rf conftest*
13631 eval "ac_cv_lib_$ac_lib_var=no"
13632 fi
13633 rm -f conftest*
13634 LIBS="$ac_save_LIBS"
13635
13636 fi
13637 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13638 echo "$ac_t""yes" 1>&6
13639
13640 cat >> confdefs.h <<\EOF
13641 #define HAVE_NANOSLEEP 1
13642 EOF
13643
13644 POSIX4_LINK="-lposix4"
13645
13646 else
13647 echo "$ac_t""no" 1>&6
13648
13649 for ac_func in usleep
13650 do
13651 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13652 echo "configure:13653: checking for $ac_func" >&5
13653 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13654 echo $ac_n "(cached) $ac_c" 1>&6
13655 else
13656 cat > conftest.$ac_ext <<EOF
13657 #line 13658 "configure"
13658 #include "confdefs.h"
13659 /* System header to define __stub macros and hopefully few prototypes,
13660 which can conflict with char $ac_func(); below. */
13661 #include <assert.h>
13662 /* Override any gcc2 internal prototype to avoid an error. */
13663 /* We use char because int might match the return type of a gcc2
13664 builtin and then its argument prototype would still apply. */
13665 char $ac_func();
13666
13667 int main() {
13668
13669 /* The GNU C library defines this for functions which it implements
13670 to always fail with ENOSYS. Some functions are actually named
13671 something starting with __ and the normal name is an alias. */
13672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13673 choke me
13674 #else
13675 $ac_func();
13676 #endif
13677
13678 ; return 0; }
13679 EOF
13680 if { (eval echo configure:13681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13681 rm -rf conftest*
13682 eval "ac_cv_func_$ac_func=yes"
13683 else
13684 echo "configure: failed program was:" >&5
13685 cat conftest.$ac_ext >&5
13686 rm -rf conftest*
13687 eval "ac_cv_func_$ac_func=no"
13688 fi
13689 rm -f conftest*
13690 fi
13691
13692 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13693 echo "$ac_t""yes" 1>&6
13694 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13695 cat >> confdefs.h <<EOF
13696 #define $ac_tr_func 1
13697 EOF
13698 cat >> confdefs.h <<\EOF
13699 #define HAVE_USLEEP 1
13700 EOF
13701
13702 else
13703 echo "$ac_t""no" 1>&6
13704 echo "configure: warning: wxSleep() function will not work" 1>&2
13705
13706 fi
13707 done
13708
13709
13710
13711 fi
13712
13713
13714
13715 fi
13716 done
13717
13718 fi
13719
13720 for ac_func in uname gethostname
13721 do
13722 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13723 echo "configure:13724: checking for $ac_func" >&5
13724 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13725 echo $ac_n "(cached) $ac_c" 1>&6
13726 else
13727 cat > conftest.$ac_ext <<EOF
13728 #line 13729 "configure"
13729 #include "confdefs.h"
13730 /* System header to define __stub macros and hopefully few prototypes,
13731 which can conflict with char $ac_func(); below. */
13732 #include <assert.h>
13733 /* Override any gcc2 internal prototype to avoid an error. */
13734 /* We use char because int might match the return type of a gcc2
13735 builtin and then its argument prototype would still apply. */
13736 char $ac_func();
13737
13738 int main() {
13739
13740 /* The GNU C library defines this for functions which it implements
13741 to always fail with ENOSYS. Some functions are actually named
13742 something starting with __ and the normal name is an alias. */
13743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13744 choke me
13745 #else
13746 $ac_func();
13747 #endif
13748
13749 ; return 0; }
13750 EOF
13751 if { (eval echo configure:13752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13752 rm -rf conftest*
13753 eval "ac_cv_func_$ac_func=yes"
13754 else
13755 echo "configure: failed program was:" >&5
13756 cat conftest.$ac_ext >&5
13757 rm -rf conftest*
13758 eval "ac_cv_func_$ac_func=no"
13759 fi
13760 rm -f conftest*
13761 fi
13762
13763 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13764 echo "$ac_t""yes" 1>&6
13765 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13766 cat >> confdefs.h <<EOF
13767 #define $ac_tr_func 1
13768 EOF
13769 break
13770 else
13771 echo "$ac_t""no" 1>&6
13772 fi
13773 done
13774
13775
13776
13777 ac_ext=C
13778 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13779 ac_cpp='$CXXCPP $CPPFLAGS'
13780 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13781 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13782 cross_compiling=$ac_cv_prog_cxx_cross
13783
13784
13785 for ac_func in strtok_r
13786 do
13787 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13788 echo "configure:13789: checking for $ac_func" >&5
13789 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13790 echo $ac_n "(cached) $ac_c" 1>&6
13791 else
13792 cat > conftest.$ac_ext <<EOF
13793 #line 13794 "configure"
13794 #include "confdefs.h"
13795 /* System header to define __stub macros and hopefully few prototypes,
13796 which can conflict with char $ac_func(); below. */
13797 #include <assert.h>
13798 /* Override any gcc2 internal prototype to avoid an error. */
13799 #ifdef __cplusplus
13800 extern "C"
13801 #endif
13802 /* We use char because int might match the return type of a gcc2
13803 builtin and then its argument prototype would still apply. */
13804 char $ac_func();
13805
13806 int main() {
13807
13808 /* The GNU C library defines this for functions which it implements
13809 to always fail with ENOSYS. Some functions are actually named
13810 something starting with __ and the normal name is an alias. */
13811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13812 choke me
13813 #else
13814 $ac_func();
13815 #endif
13816
13817 ; return 0; }
13818 EOF
13819 if { (eval echo configure:13820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13820 rm -rf conftest*
13821 eval "ac_cv_func_$ac_func=yes"
13822 else
13823 echo "configure: failed program was:" >&5
13824 cat conftest.$ac_ext >&5
13825 rm -rf conftest*
13826 eval "ac_cv_func_$ac_func=no"
13827 fi
13828 rm -f conftest*
13829 fi
13830
13831 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13832 echo "$ac_t""yes" 1>&6
13833 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13834 cat >> confdefs.h <<EOF
13835 #define $ac_tr_func 1
13836 EOF
13837
13838 else
13839 echo "$ac_t""no" 1>&6
13840 fi
13841 done
13842
13843
13844 ac_ext=c
13845 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13846 ac_cpp='$CPP $CPPFLAGS'
13847 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13848 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13849 cross_compiling=$ac_cv_prog_cc_cross
13850
13851
13852 INET_LINK=
13853 for ac_func in inet_addr
13854 do
13855 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13856 echo "configure:13857: checking for $ac_func" >&5
13857 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13858 echo $ac_n "(cached) $ac_c" 1>&6
13859 else
13860 cat > conftest.$ac_ext <<EOF
13861 #line 13862 "configure"
13862 #include "confdefs.h"
13863 /* System header to define __stub macros and hopefully few prototypes,
13864 which can conflict with char $ac_func(); below. */
13865 #include <assert.h>
13866 /* Override any gcc2 internal prototype to avoid an error. */
13867 /* We use char because int might match the return type of a gcc2
13868 builtin and then its argument prototype would still apply. */
13869 char $ac_func();
13870
13871 int main() {
13872
13873 /* The GNU C library defines this for functions which it implements
13874 to always fail with ENOSYS. Some functions are actually named
13875 something starting with __ and the normal name is an alias. */
13876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13877 choke me
13878 #else
13879 $ac_func();
13880 #endif
13881
13882 ; return 0; }
13883 EOF
13884 if { (eval echo configure:13885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13885 rm -rf conftest*
13886 eval "ac_cv_func_$ac_func=yes"
13887 else
13888 echo "configure: failed program was:" >&5
13889 cat conftest.$ac_ext >&5
13890 rm -rf conftest*
13891 eval "ac_cv_func_$ac_func=no"
13892 fi
13893 rm -f conftest*
13894 fi
13895
13896 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13897 echo "$ac_t""yes" 1>&6
13898 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13899 cat >> confdefs.h <<EOF
13900 #define $ac_tr_func 1
13901 EOF
13902 cat >> confdefs.h <<\EOF
13903 #define HAVE_INET_ADDR 1
13904 EOF
13905
13906 else
13907 echo "$ac_t""no" 1>&6
13908 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
13909 echo "configure:13910: checking for inet_addr in -lnsl" >&5
13910 ac_lib_var=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
13911 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13912 echo $ac_n "(cached) $ac_c" 1>&6
13913 else
13914 ac_save_LIBS="$LIBS"
13915 LIBS="-lnsl $LIBS"
13916 cat > conftest.$ac_ext <<EOF
13917 #line 13918 "configure"
13918 #include "confdefs.h"
13919 /* Override any gcc2 internal prototype to avoid an error. */
13920 /* We use char because int might match the return type of a gcc2
13921 builtin and then its argument prototype would still apply. */
13922 char inet_addr();
13923
13924 int main() {
13925 inet_addr()
13926 ; return 0; }
13927 EOF
13928 if { (eval echo configure:13929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13929 rm -rf conftest*
13930 eval "ac_cv_lib_$ac_lib_var=yes"
13931 else
13932 echo "configure: failed program was:" >&5
13933 cat conftest.$ac_ext >&5
13934 rm -rf conftest*
13935 eval "ac_cv_lib_$ac_lib_var=no"
13936 fi
13937 rm -f conftest*
13938 LIBS="$ac_save_LIBS"
13939
13940 fi
13941 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13942 echo "$ac_t""yes" 1>&6
13943 INET_LINK="nsl"
13944 else
13945 echo "$ac_t""no" 1>&6
13946 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
13947 echo "configure:13948: checking for inet_addr in -lresolv" >&5
13948 ac_lib_var=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
13949 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13950 echo $ac_n "(cached) $ac_c" 1>&6
13951 else
13952 ac_save_LIBS="$LIBS"
13953 LIBS="-lresolv $LIBS"
13954 cat > conftest.$ac_ext <<EOF
13955 #line 13956 "configure"
13956 #include "confdefs.h"
13957 /* Override any gcc2 internal prototype to avoid an error. */
13958 /* We use char because int might match the return type of a gcc2
13959 builtin and then its argument prototype would still apply. */
13960 char inet_addr();
13961
13962 int main() {
13963 inet_addr()
13964 ; return 0; }
13965 EOF
13966 if { (eval echo configure:13967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13967 rm -rf conftest*
13968 eval "ac_cv_lib_$ac_lib_var=yes"
13969 else
13970 echo "configure: failed program was:" >&5
13971 cat conftest.$ac_ext >&5
13972 rm -rf conftest*
13973 eval "ac_cv_lib_$ac_lib_var=no"
13974 fi
13975 rm -f conftest*
13976 LIBS="$ac_save_LIBS"
13977
13978 fi
13979 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13980 echo "$ac_t""yes" 1>&6
13981 INET_LINK="resolv"
13982
13983 else
13984 echo "$ac_t""no" 1>&6
13985 fi
13986
13987
13988 fi
13989
13990
13991
13992 fi
13993 done
13994
13995
13996 for ac_func in inet_aton
13997 do
13998 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13999 echo "configure:14000: checking for $ac_func" >&5
14000 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14001 echo $ac_n "(cached) $ac_c" 1>&6
14002 else
14003 cat > conftest.$ac_ext <<EOF
14004 #line 14005 "configure"
14005 #include "confdefs.h"
14006 /* System header to define __stub macros and hopefully few prototypes,
14007 which can conflict with char $ac_func(); below. */
14008 #include <assert.h>
14009 /* Override any gcc2 internal prototype to avoid an error. */
14010 /* We use char because int might match the return type of a gcc2
14011 builtin and then its argument prototype would still apply. */
14012 char $ac_func();
14013
14014 int main() {
14015
14016 /* The GNU C library defines this for functions which it implements
14017 to always fail with ENOSYS. Some functions are actually named
14018 something starting with __ and the normal name is an alias. */
14019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14020 choke me
14021 #else
14022 $ac_func();
14023 #endif
14024
14025 ; return 0; }
14026 EOF
14027 if { (eval echo configure:14028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14028 rm -rf conftest*
14029 eval "ac_cv_func_$ac_func=yes"
14030 else
14031 echo "configure: failed program was:" >&5
14032 cat conftest.$ac_ext >&5
14033 rm -rf conftest*
14034 eval "ac_cv_func_$ac_func=no"
14035 fi
14036 rm -f conftest*
14037 fi
14038
14039 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14040 echo "$ac_t""yes" 1>&6
14041 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14042 cat >> confdefs.h <<EOF
14043 #define $ac_tr_func 1
14044 EOF
14045 cat >> confdefs.h <<\EOF
14046 #define HAVE_INET_ATON 1
14047 EOF
14048
14049 else
14050 echo "$ac_t""no" 1>&6
14051 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
14052 echo "configure:14053: checking for inet_aton in -l$INET_LINK" >&5
14053 ac_lib_var=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
14054 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14055 echo $ac_n "(cached) $ac_c" 1>&6
14056 else
14057 ac_save_LIBS="$LIBS"
14058 LIBS="-l$INET_LINK $LIBS"
14059 cat > conftest.$ac_ext <<EOF
14060 #line 14061 "configure"
14061 #include "confdefs.h"
14062 /* Override any gcc2 internal prototype to avoid an error. */
14063 /* We use char because int might match the return type of a gcc2
14064 builtin and then its argument prototype would still apply. */
14065 char inet_aton();
14066
14067 int main() {
14068 inet_aton()
14069 ; return 0; }
14070 EOF
14071 if { (eval echo configure:14072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14072 rm -rf conftest*
14073 eval "ac_cv_lib_$ac_lib_var=yes"
14074 else
14075 echo "configure: failed program was:" >&5
14076 cat conftest.$ac_ext >&5
14077 rm -rf conftest*
14078 eval "ac_cv_lib_$ac_lib_var=no"
14079 fi
14080 rm -f conftest*
14081 LIBS="$ac_save_LIBS"
14082
14083 fi
14084 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14085 echo "$ac_t""yes" 1>&6
14086 cat >> confdefs.h <<\EOF
14087 #define HAVE_INET_ATON 1
14088 EOF
14089
14090 else
14091 echo "$ac_t""no" 1>&6
14092 fi
14093
14094
14095 fi
14096 done
14097
14098
14099 if test "x$INET_LINK" != "x"; then
14100 cat >> confdefs.h <<\EOF
14101 #define HAVE_INET_ADDR 1
14102 EOF
14103
14104 INET_LINK="-l$INET_LINK"
14105 fi
14106
14107 fi
14108
14109
14110 cat > confcache <<\EOF
14111 # This file is a shell script that caches the results of configure
14112 # tests run on this system so they can be shared between configure
14113 # scripts and configure runs. It is not useful on other systems.
14114 # If it contains results you don't want to keep, you may remove or edit it.
14115 #
14116 # By default, configure uses ./config.cache as the cache file,
14117 # creating it if it does not exist already. You can give configure
14118 # the --cache-file=FILE option to use a different cache file; that is
14119 # what configure does when it calls configure scripts in
14120 # subdirectories, so they share the cache.
14121 # Giving --cache-file=/dev/null disables caching, for debugging configure.
14122 # config.status only pays attention to the cache file if you give it the
14123 # --recheck option to rerun configure.
14124 #
14125 EOF
14126 # The following way of writing the cache mishandles newlines in values,
14127 # but we know of no workaround that is simple, portable, and efficient.
14128 # So, don't put newlines in cache variables' values.
14129 # Ultrix sh set writes to stderr and can't be redirected directly,
14130 # and sets the high bit in the cache file unless we assign to the vars.
14131 (set) 2>&1 |
14132 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14133 *ac_space=\ *)
14134 # `set' does not quote correctly, so add quotes (double-quote substitution
14135 # turns \\\\ into \\, and sed turns \\ into \).
14136 sed -n \
14137 -e "s/'/'\\\\''/g" \
14138 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
14139 ;;
14140 *)
14141 # `set' quotes correctly as required by POSIX, so do not add quotes.
14142 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
14143 ;;
14144 esac >> confcache
14145 if cmp -s $cache_file confcache; then
14146 :
14147 else
14148 if test -w $cache_file; then
14149 echo "updating cache $cache_file"
14150 cat confcache > $cache_file
14151 else
14152 echo "not updating unwritable cache $cache_file"
14153 fi
14154 fi
14155 rm -f confcache
14156
14157
14158
14159 if test "$TOOLKIT" != "MSW"; then
14160
14161
14162 THREADS_LINK=""
14163 THREADS_OBJ=""
14164
14165 if test "$wxUSE_THREADS" = "yes" ; then
14166 if test "$wxUSE_WINE" = 1 ; then
14167 echo "configure: warning: Threads are not supported under WINE" 1>&2
14168 wxUSE_THREADS="no"
14169 elif test "$USE_BEOS" = 1; then
14170 echo "configure: warning: BeOS threads are not yet supported" 1>&2
14171 wxUSE_THREADS="no"
14172 fi
14173 fi
14174
14175 if test "$wxUSE_THREADS" = "yes" ; then
14176
14177 if test "$USE_AIX" = 1; then
14178 THREADS_LIB=pthreads
14179 else
14180 THREADS_LIB=pthread
14181 fi
14182
14183 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
14184 echo "configure:14185: checking for pthread_create in -l$THREADS_LIB" >&5
14185 ac_lib_var=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
14186 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14187 echo $ac_n "(cached) $ac_c" 1>&6
14188 else
14189 ac_save_LIBS="$LIBS"
14190 LIBS="-l$THREADS_LIB $LIBS"
14191 cat > conftest.$ac_ext <<EOF
14192 #line 14193 "configure"
14193 #include "confdefs.h"
14194 /* Override any gcc2 internal prototype to avoid an error. */
14195 /* We use char because int might match the return type of a gcc2
14196 builtin and then its argument prototype would still apply. */
14197 char pthread_create();
14198
14199 int main() {
14200 pthread_create()
14201 ; return 0; }
14202 EOF
14203 if { (eval echo configure:14204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14204 rm -rf conftest*
14205 eval "ac_cv_lib_$ac_lib_var=yes"
14206 else
14207 echo "configure: failed program was:" >&5
14208 cat conftest.$ac_ext >&5
14209 rm -rf conftest*
14210 eval "ac_cv_lib_$ac_lib_var=no"
14211 fi
14212 rm -f conftest*
14213 LIBS="$ac_save_LIBS"
14214
14215 fi
14216 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14217 echo "$ac_t""yes" 1>&6
14218
14219 THREADS_OBJ="threadpsx.lo"
14220 THREADS_LINK=$THREADS_LIB
14221
14222 else
14223 echo "$ac_t""no" 1>&6
14224
14225 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
14226 echo "configure:14227: checking for pthread_create in -lc_r" >&5
14227 ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
14228 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14229 echo $ac_n "(cached) $ac_c" 1>&6
14230 else
14231 ac_save_LIBS="$LIBS"
14232 LIBS="-lc_r $LIBS"
14233 cat > conftest.$ac_ext <<EOF
14234 #line 14235 "configure"
14235 #include "confdefs.h"
14236 /* Override any gcc2 internal prototype to avoid an error. */
14237 /* We use char because int might match the return type of a gcc2
14238 builtin and then its argument prototype would still apply. */
14239 char pthread_create();
14240
14241 int main() {
14242 pthread_create()
14243 ; return 0; }
14244 EOF
14245 if { (eval echo configure:14246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14246 rm -rf conftest*
14247 eval "ac_cv_lib_$ac_lib_var=yes"
14248 else
14249 echo "configure: failed program was:" >&5
14250 cat conftest.$ac_ext >&5
14251 rm -rf conftest*
14252 eval "ac_cv_lib_$ac_lib_var=no"
14253 fi
14254 rm -f conftest*
14255 LIBS="$ac_save_LIBS"
14256
14257 fi
14258 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14259 echo "$ac_t""yes" 1>&6
14260
14261 THREADS_OBJ="threadpsx.lo"
14262 THREADS_LINK="c_r"
14263
14264 else
14265 echo "$ac_t""no" 1>&6
14266
14267 ac_safe=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
14268 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
14269 echo "configure:14270: checking for sys/prctl.h" >&5
14270 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14271 echo $ac_n "(cached) $ac_c" 1>&6
14272 else
14273 cat > conftest.$ac_ext <<EOF
14274 #line 14275 "configure"
14275 #include "confdefs.h"
14276 #include <sys/prctl.h>
14277 EOF
14278 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14279 { (eval echo configure:14280: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14280 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14281 if test -z "$ac_err"; then
14282 rm -rf conftest*
14283 eval "ac_cv_header_$ac_safe=yes"
14284 else
14285 echo "$ac_err" >&5
14286 echo "configure: failed program was:" >&5
14287 cat conftest.$ac_ext >&5
14288 rm -rf conftest*
14289 eval "ac_cv_header_$ac_safe=no"
14290 fi
14291 rm -f conftest*
14292 fi
14293 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14294 echo "$ac_t""yes" 1>&6
14295
14296 THREADS_OBJ="threadsgi.lo"
14297
14298 else
14299 echo "$ac_t""no" 1>&6
14300 fi
14301
14302
14303 fi
14304
14305
14306 fi
14307
14308
14309 if test -z "$THREADS_OBJ" ; then
14310 wxUSE_THREADS=no
14311 echo "configure: warning: No thread support on this system" 1>&2
14312 fi
14313 fi
14314
14315 if test "$wxUSE_THREADS" = "yes" ; then
14316 for ac_func in thr_setconcurrency
14317 do
14318 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14319 echo "configure:14320: checking for $ac_func" >&5
14320 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14321 echo $ac_n "(cached) $ac_c" 1>&6
14322 else
14323 cat > conftest.$ac_ext <<EOF
14324 #line 14325 "configure"
14325 #include "confdefs.h"
14326 /* System header to define __stub macros and hopefully few prototypes,
14327 which can conflict with char $ac_func(); below. */
14328 #include <assert.h>
14329 /* Override any gcc2 internal prototype to avoid an error. */
14330 /* We use char because int might match the return type of a gcc2
14331 builtin and then its argument prototype would still apply. */
14332 char $ac_func();
14333
14334 int main() {
14335
14336 /* The GNU C library defines this for functions which it implements
14337 to always fail with ENOSYS. Some functions are actually named
14338 something starting with __ and the normal name is an alias. */
14339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14340 choke me
14341 #else
14342 $ac_func();
14343 #endif
14344
14345 ; return 0; }
14346 EOF
14347 if { (eval echo configure:14348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14348 rm -rf conftest*
14349 eval "ac_cv_func_$ac_func=yes"
14350 else
14351 echo "configure: failed program was:" >&5
14352 cat conftest.$ac_ext >&5
14353 rm -rf conftest*
14354 eval "ac_cv_func_$ac_func=no"
14355 fi
14356 rm -f conftest*
14357 fi
14358
14359 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14360 echo "$ac_t""yes" 1>&6
14361 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14362 cat >> confdefs.h <<EOF
14363 #define $ac_tr_func 1
14364 EOF
14365
14366 else
14367 echo "$ac_t""no" 1>&6
14368 fi
14369 done
14370
14371
14372
14373 for ac_hdr in sched.h
14374 do
14375 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14376 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14377 echo "configure:14378: checking for $ac_hdr" >&5
14378 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14379 echo $ac_n "(cached) $ac_c" 1>&6
14380 else
14381 cat > conftest.$ac_ext <<EOF
14382 #line 14383 "configure"
14383 #include "confdefs.h"
14384 #include <$ac_hdr>
14385 EOF
14386 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14387 { (eval echo configure:14388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14388 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14389 if test -z "$ac_err"; then
14390 rm -rf conftest*
14391 eval "ac_cv_header_$ac_safe=yes"
14392 else
14393 echo "$ac_err" >&5
14394 echo "configure: failed program was:" >&5
14395 cat conftest.$ac_ext >&5
14396 rm -rf conftest*
14397 eval "ac_cv_header_$ac_safe=no"
14398 fi
14399 rm -f conftest*
14400 fi
14401 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14402 echo "$ac_t""yes" 1>&6
14403 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14404 cat >> confdefs.h <<EOF
14405 #define $ac_tr_hdr 1
14406 EOF
14407
14408 else
14409 echo "$ac_t""no" 1>&6
14410 fi
14411 done
14412
14413
14414 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
14415 echo "configure:14416: checking for sched_yield in -l$THREADS_LINK" >&5
14416 ac_lib_var=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
14417 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14418 echo $ac_n "(cached) $ac_c" 1>&6
14419 else
14420 ac_save_LIBS="$LIBS"
14421 LIBS="-l$THREADS_LINK $LIBS"
14422 cat > conftest.$ac_ext <<EOF
14423 #line 14424 "configure"
14424 #include "confdefs.h"
14425 /* Override any gcc2 internal prototype to avoid an error. */
14426 /* We use char because int might match the return type of a gcc2
14427 builtin and then its argument prototype would still apply. */
14428 char sched_yield();
14429
14430 int main() {
14431 sched_yield()
14432 ; return 0; }
14433 EOF
14434 if { (eval echo configure:14435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14435 rm -rf conftest*
14436 eval "ac_cv_lib_$ac_lib_var=yes"
14437 else
14438 echo "configure: failed program was:" >&5
14439 cat conftest.$ac_ext >&5
14440 rm -rf conftest*
14441 eval "ac_cv_lib_$ac_lib_var=no"
14442 fi
14443 rm -f conftest*
14444 LIBS="$ac_save_LIBS"
14445
14446 fi
14447 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14448 echo "$ac_t""yes" 1>&6
14449 cat >> confdefs.h <<\EOF
14450 #define HAVE_SCHED_YIELD 1
14451 EOF
14452
14453 else
14454 echo "$ac_t""no" 1>&6
14455 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
14456 echo "configure:14457: checking for sched_yield in -lposix4" >&5
14457 ac_lib_var=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
14458 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14459 echo $ac_n "(cached) $ac_c" 1>&6
14460 else
14461 ac_save_LIBS="$LIBS"
14462 LIBS="-lposix4 $LIBS"
14463 cat > conftest.$ac_ext <<EOF
14464 #line 14465 "configure"
14465 #include "confdefs.h"
14466 /* Override any gcc2 internal prototype to avoid an error. */
14467 /* We use char because int might match the return type of a gcc2
14468 builtin and then its argument prototype would still apply. */
14469 char sched_yield();
14470
14471 int main() {
14472 sched_yield()
14473 ; return 0; }
14474 EOF
14475 if { (eval echo configure:14476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14476 rm -rf conftest*
14477 eval "ac_cv_lib_$ac_lib_var=yes"
14478 else
14479 echo "configure: failed program was:" >&5
14480 cat conftest.$ac_ext >&5
14481 rm -rf conftest*
14482 eval "ac_cv_lib_$ac_lib_var=no"
14483 fi
14484 rm -f conftest*
14485 LIBS="$ac_save_LIBS"
14486
14487 fi
14488 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14489 echo "$ac_t""yes" 1>&6
14490 cat >> confdefs.h <<\EOF
14491 #define HAVE_SCHED_YIELD 1
14492 EOF
14493 POSIX4_LINK="-lposix4"
14494 else
14495 echo "$ac_t""no" 1>&6
14496 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
14497
14498 fi
14499
14500
14501 fi
14502
14503
14504 HAVE_PRIOR_FUNCS=0
14505 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
14506 echo "configure:14507: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
14507 ac_lib_var=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
14508 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14509 echo $ac_n "(cached) $ac_c" 1>&6
14510 else
14511 ac_save_LIBS="$LIBS"
14512 LIBS="-l$THREADS_LINK $LIBS"
14513 cat > conftest.$ac_ext <<EOF
14514 #line 14515 "configure"
14515 #include "confdefs.h"
14516 /* Override any gcc2 internal prototype to avoid an error. */
14517 /* We use char because int might match the return type of a gcc2
14518 builtin and then its argument prototype would still apply. */
14519 char pthread_attr_getschedpolicy();
14520
14521 int main() {
14522 pthread_attr_getschedpolicy()
14523 ; return 0; }
14524 EOF
14525 if { (eval echo configure:14526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14526 rm -rf conftest*
14527 eval "ac_cv_lib_$ac_lib_var=yes"
14528 else
14529 echo "configure: failed program was:" >&5
14530 cat conftest.$ac_ext >&5
14531 rm -rf conftest*
14532 eval "ac_cv_lib_$ac_lib_var=no"
14533 fi
14534 rm -f conftest*
14535 LIBS="$ac_save_LIBS"
14536
14537 fi
14538 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14539 echo "$ac_t""yes" 1>&6
14540 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
14541 echo "configure:14542: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
14542 ac_lib_var=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
14543 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14544 echo $ac_n "(cached) $ac_c" 1>&6
14545 else
14546 ac_save_LIBS="$LIBS"
14547 LIBS="-l$THREADS_LINK $LIBS"
14548 cat > conftest.$ac_ext <<EOF
14549 #line 14550 "configure"
14550 #include "confdefs.h"
14551 /* Override any gcc2 internal prototype to avoid an error. */
14552 /* We use char because int might match the return type of a gcc2
14553 builtin and then its argument prototype would still apply. */
14554 char pthread_attr_setschedparam();
14555
14556 int main() {
14557 pthread_attr_setschedparam()
14558 ; return 0; }
14559 EOF
14560 if { (eval echo configure:14561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14561 rm -rf conftest*
14562 eval "ac_cv_lib_$ac_lib_var=yes"
14563 else
14564 echo "configure: failed program was:" >&5
14565 cat conftest.$ac_ext >&5
14566 rm -rf conftest*
14567 eval "ac_cv_lib_$ac_lib_var=no"
14568 fi
14569 rm -f conftest*
14570 LIBS="$ac_save_LIBS"
14571
14572 fi
14573 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14574 echo "$ac_t""yes" 1>&6
14575 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
14576 echo "configure:14577: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
14577 ac_lib_var=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14578 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14579 echo $ac_n "(cached) $ac_c" 1>&6
14580 else
14581 ac_save_LIBS="$LIBS"
14582 LIBS="-l$THREADS_LINK $LIBS"
14583 cat > conftest.$ac_ext <<EOF
14584 #line 14585 "configure"
14585 #include "confdefs.h"
14586 /* Override any gcc2 internal prototype to avoid an error. */
14587 /* We use char because int might match the return type of a gcc2
14588 builtin and then its argument prototype would still apply. */
14589 char sched_get_priority_max();
14590
14591 int main() {
14592 sched_get_priority_max()
14593 ; return 0; }
14594 EOF
14595 if { (eval echo configure:14596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14596 rm -rf conftest*
14597 eval "ac_cv_lib_$ac_lib_var=yes"
14598 else
14599 echo "configure: failed program was:" >&5
14600 cat conftest.$ac_ext >&5
14601 rm -rf conftest*
14602 eval "ac_cv_lib_$ac_lib_var=no"
14603 fi
14604 rm -f conftest*
14605 LIBS="$ac_save_LIBS"
14606
14607 fi
14608 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14609 echo "$ac_t""yes" 1>&6
14610 HAVE_PRIOR_FUNCS=1
14611 else
14612 echo "$ac_t""no" 1>&6
14613 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
14614 echo "configure:14615: checking for sched_get_priority_max in -lposix4" >&5
14615 ac_lib_var=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14616 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14617 echo $ac_n "(cached) $ac_c" 1>&6
14618 else
14619 ac_save_LIBS="$LIBS"
14620 LIBS="-lposix4 $LIBS"
14621 cat > conftest.$ac_ext <<EOF
14622 #line 14623 "configure"
14623 #include "confdefs.h"
14624 /* Override any gcc2 internal prototype to avoid an error. */
14625 /* We use char because int might match the return type of a gcc2
14626 builtin and then its argument prototype would still apply. */
14627 char sched_get_priority_max();
14628
14629 int main() {
14630 sched_get_priority_max()
14631 ; return 0; }
14632 EOF
14633 if { (eval echo configure:14634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14634 rm -rf conftest*
14635 eval "ac_cv_lib_$ac_lib_var=yes"
14636 else
14637 echo "configure: failed program was:" >&5
14638 cat conftest.$ac_ext >&5
14639 rm -rf conftest*
14640 eval "ac_cv_lib_$ac_lib_var=no"
14641 fi
14642 rm -f conftest*
14643 LIBS="$ac_save_LIBS"
14644
14645 fi
14646 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14647 echo "$ac_t""yes" 1>&6
14648
14649 HAVE_PRIOR_FUNCS=1
14650 POSIX4_LINK="-lposix4"
14651
14652 else
14653 echo "$ac_t""no" 1>&6
14654 fi
14655
14656
14657 fi
14658
14659
14660 else
14661 echo "$ac_t""no" 1>&6
14662 fi
14663
14664
14665 else
14666 echo "$ac_t""no" 1>&6
14667 fi
14668
14669
14670 if test "$HAVE_PRIOR_FUNCS" = 1; then
14671 cat >> confdefs.h <<\EOF
14672 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
14673 EOF
14674
14675 else
14676 echo "configure: warning: Setting thread priority will not work" 1>&2
14677 fi
14678
14679 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
14680 echo "configure:14681: checking for pthread_cancel in -l$THREADS_LINK" >&5
14681 ac_lib_var=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
14682 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14683 echo $ac_n "(cached) $ac_c" 1>&6
14684 else
14685 ac_save_LIBS="$LIBS"
14686 LIBS="-l$THREADS_LINK $LIBS"
14687 cat > conftest.$ac_ext <<EOF
14688 #line 14689 "configure"
14689 #include "confdefs.h"
14690 /* Override any gcc2 internal prototype to avoid an error. */
14691 /* We use char because int might match the return type of a gcc2
14692 builtin and then its argument prototype would still apply. */
14693 char pthread_cancel();
14694
14695 int main() {
14696 pthread_cancel()
14697 ; return 0; }
14698 EOF
14699 if { (eval echo configure:14700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14700 rm -rf conftest*
14701 eval "ac_cv_lib_$ac_lib_var=yes"
14702 else
14703 echo "configure: failed program was:" >&5
14704 cat conftest.$ac_ext >&5
14705 rm -rf conftest*
14706 eval "ac_cv_lib_$ac_lib_var=no"
14707 fi
14708 rm -f conftest*
14709 LIBS="$ac_save_LIBS"
14710
14711 fi
14712 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14713 echo "$ac_t""yes" 1>&6
14714 cat >> confdefs.h <<\EOF
14715 #define HAVE_PTHREAD_CANCEL 1
14716 EOF
14717
14718 else
14719 echo "$ac_t""no" 1>&6
14720 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
14721 fi
14722
14723
14724 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
14725 echo "configure:14726: checking for pthread_cleanup_push/pop" >&5
14726 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
14727 echo $ac_n "(cached) $ac_c" 1>&6
14728 else
14729
14730 cat > conftest.$ac_ext <<EOF
14731 #line 14732 "configure"
14732 #include "confdefs.h"
14733 #include <pthread.h>
14734 int main() {
14735
14736 pthread_cleanup_push(NULL, NULL);
14737 pthread_cleanup_pop(0);
14738
14739 ; return 0; }
14740 EOF
14741 if { (eval echo configure:14742: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14742 rm -rf conftest*
14743
14744 wx_cv_func_pthread_cleanup_push=yes
14745
14746 else
14747 echo "configure: failed program was:" >&5
14748 cat conftest.$ac_ext >&5
14749 rm -rf conftest*
14750
14751 wx_cv_func_pthread_cleanup_push=no
14752
14753 fi
14754 rm -f conftest*
14755
14756 fi
14757
14758 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
14759
14760 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
14761 cat >> confdefs.h <<\EOF
14762 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
14763 EOF
14764
14765 fi
14766
14767
14768 if test "x$wx_lib_glibc21" = "xyes"; then
14769 CFLAGS="$CFLAGS -D_XOPEN_SOURCE=500"
14770 fi
14771
14772 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
14773 echo "configure:14774: checking for pthread_mutexattr_t" >&5
14774 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
14775 echo $ac_n "(cached) $ac_c" 1>&6
14776 else
14777
14778 cat > conftest.$ac_ext <<EOF
14779 #line 14780 "configure"
14780 #include "confdefs.h"
14781 #include <pthread.h>
14782 int main() {
14783
14784 pthread_mutexattr_t attr;
14785 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
14786
14787 ; return 0; }
14788 EOF
14789 if { (eval echo configure:14790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14790 rm -rf conftest*
14791
14792 wx_cv_type_pthread_mutexattr_t=yes
14793
14794 else
14795 echo "configure: failed program was:" >&5
14796 cat conftest.$ac_ext >&5
14797 rm -rf conftest*
14798
14799 wx_cv_type_pthread_mutexattr_t=no
14800
14801
14802 fi
14803 rm -f conftest*
14804
14805 fi
14806
14807 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
14808
14809 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
14810 cat >> confdefs.h <<\EOF
14811 #define HAVE_PTHREAD_MUTEXATTR_T 1
14812 EOF
14813
14814 else
14815 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
14816 echo "configure:14817: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
14817 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
14818 echo $ac_n "(cached) $ac_c" 1>&6
14819 else
14820
14821 cat > conftest.$ac_ext <<EOF
14822 #line 14823 "configure"
14823 #include "confdefs.h"
14824 #include <pthread.h>
14825 int main() {
14826
14827 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
14828
14829 ; return 0; }
14830 EOF
14831 if { (eval echo configure:14832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14832 rm -rf conftest*
14833
14834 wx_cv_type_pthread_rec_mutex_init=yes
14835
14836 else
14837 echo "configure: failed program was:" >&5
14838 cat conftest.$ac_ext >&5
14839 rm -rf conftest*
14840
14841 wx_cv_type_pthread_rec_mutex_init=no
14842
14843
14844 fi
14845 rm -f conftest*
14846
14847 fi
14848
14849 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
14850 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
14851 cat >> confdefs.h <<\EOF
14852 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
14853 EOF
14854
14855 else
14856 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
14857 fi
14858 fi
14859
14860 THREADS_LINK="-l$THREADS_LINK"
14861
14862 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
14863 CFLAGS="${CFLAGS} -mt"
14864 CXXFLAGS="${CXXFLAGS} -mt"
14865 LDFLAGS="${LDFLAGS} -mt"
14866 fi
14867 fi
14868
14869 fi
14870
14871 if test "$wxUSE_THREADS" = "yes"; then
14872 cat >> confdefs.h <<\EOF
14873 #define wxUSE_THREADS 1
14874 EOF
14875
14876
14877 if test "$USE_DARWIN" != 1; then
14878 CFLAGS="${CFLAGS} -D_REENTRANT"
14879 CXXFLAGS="${CXXFLAGS} -D_REENTRANT"
14880 fi
14881
14882 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
14883 else
14884 if test "$ac_cv_func_strtok_r" = "yes"; then
14885 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
14886 echo "configure:14887: checking if -D_REENTRANT is needed" >&5
14887 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
14888 CFLAGS="${CFLAGS} -D_REENTRANT"
14889 CXXFLAGS="${CXXFLAGS} -D_REENTRANT"
14890 echo "$ac_t""yes" 1>&6
14891 else
14892 echo "$ac_t""no" 1>&6
14893 fi
14894 fi
14895 fi
14896
14897 if test "$WXGTK20" = 1 ; then
14898 cat >> confdefs.h <<EOF
14899 #define __WXGTK20__ $WXGTK20
14900 EOF
14901
14902 WXGTK12=1
14903 fi
14904
14905 if test "$WXGTK12" = 1 ; then
14906 cat >> confdefs.h <<EOF
14907 #define __WXGTK12__ $WXGTK12
14908 EOF
14909
14910 fi
14911
14912 if test "$WXGTK127" = 1 ; then
14913 cat >> confdefs.h <<EOF
14914 #define __WXGTK127__ $WXGTK127
14915 EOF
14916
14917 fi
14918
14919 if test "$WXWINE" = 1 ; then
14920 TOOLKIT_DEF="${TOOLKIT_DEF} -D__WXWINE__"
14921 fi
14922
14923 if test "$wxUSE_MAC" = 1 ; then
14924 TOOLKIT_DEF="${TOOLKIT_DEF} -DTARGET_CARBON"
14925 CFLAGS="${CFLAGS} -fpascal-strings"
14926 CPPFLAGS="${CPPFLAGS} -cpp-precomp -fpascal-strings"
14927 # Extract the first word of "Rez", so it can be a program name with args.
14928 set dummy Rez; ac_word=$2
14929 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14930 echo "configure:14931: checking for $ac_word" >&5
14931 if eval "test \"`echo '$''{'ac_cv_prog_REZ'+set}'`\" = set"; then
14932 echo $ac_n "(cached) $ac_c" 1>&6
14933 else
14934 if test -n "$REZ"; then
14935 ac_cv_prog_REZ="$REZ" # Let the user override the test.
14936 else
14937 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
14938 ac_dummy="$PATH"
14939 for ac_dir in $ac_dummy; do
14940 test -z "$ac_dir" && ac_dir=.
14941 if test -f $ac_dir/$ac_word; then
14942 ac_cv_prog_REZ="Rez"
14943 break
14944 fi
14945 done
14946 IFS="$ac_save_ifs"
14947 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
14948 fi
14949 fi
14950 REZ="$ac_cv_prog_REZ"
14951 if test -n "$REZ"; then
14952 echo "$ac_t""$REZ" 1>&6
14953 else
14954 echo "$ac_t""no" 1>&6
14955 fi
14956
14957 # Extract the first word of "Derez", so it can be a program name with args.
14958 set dummy Derez; ac_word=$2
14959 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14960 echo "configure:14961: checking for $ac_word" >&5
14961 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
14962 echo $ac_n "(cached) $ac_c" 1>&6
14963 else
14964 if test -n "$DEREZ"; then
14965 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
14966 else
14967 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
14968 ac_dummy="$PATH"
14969 for ac_dir in $ac_dummy; do
14970 test -z "$ac_dir" && ac_dir=.
14971 if test -f $ac_dir/$ac_word; then
14972 ac_cv_prog_DEREZ="Derez"
14973 break
14974 fi
14975 done
14976 IFS="$ac_save_ifs"
14977 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/Derez"
14978 fi
14979 fi
14980 DEREZ="$ac_cv_prog_DEREZ"
14981 if test -n "$DEREZ"; then
14982 echo "$ac_t""$DEREZ" 1>&6
14983 else
14984 echo "$ac_t""no" 1>&6
14985 fi
14986
14987 RESCOMP=${REZ}
14988 REZFLAGS="-d __UNIX__ -useDF"
14989 DEREZFLAGS="Carbon.r -useDF"
14990 RESFLAGS="Carbon.r -t APPL"
14991 LIBWXMACRES="\$(LIBWX_MACRES)"
14992 LIBWXMACRESCOMP="\$(LIBWX_MACRESCOMP)"
14993 fi
14994
14995 if test "$wxUSE_CYGWIN" = 1 ; then
14996 TOOLKIT_DEF="${TOOLKIT_DEF} -D__WIN95__"
14997 fi
14998
14999 WXDEBUG=
15000
15001 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
15002 WXDEBUG="-g"
15003 wxUSE_OPTIMISE=no
15004 fi
15005
15006 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
15007 wxUSE_DEBUG_INFO=yes
15008 WXDEBUG="-ggdb"
15009 fi
15010
15011 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
15012 cat >> confdefs.h <<\EOF
15013 #define WXDEBUG 1
15014 EOF
15015
15016 WXDEBUG_DEFINE="-D__WXDEBUG__"
15017 else
15018 if test "$wxUSE_GTK" = 1 ; then
15019 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
15020 fi
15021 fi
15022
15023 if test "$wxUSE_MEM_TRACING" = "yes" ; then
15024 cat >> confdefs.h <<\EOF
15025 #define wxUSE_MEMORY_TRACING 1
15026 EOF
15027
15028 cat >> confdefs.h <<\EOF
15029 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
15030 EOF
15031
15032 cat >> confdefs.h <<\EOF
15033 #define wxUSE_DEBUG_NEW_ALWAYS 1
15034 EOF
15035
15036 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
15037 fi
15038
15039 if test "$wxUSE_DMALLOC" = "yes" ; then
15040 DMALLOC_LINK="-ldmalloc"
15041 fi
15042
15043 PROFILE=
15044 if test "$wxUSE_PROFILE" = "yes" ; then
15045 PROFILE="-pg"
15046 fi
15047
15048 DEP_INFO_FLAGS=
15049 CODE_GEN_FLAGS=
15050 CODE_GEN_FLAGS_CXX=
15051 if test "$GCC" = yes ; then
15052 if test "$wxUSE_NO_RTTI" = "yes" ; then
15053 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS -fno-rtti"
15054 fi
15055 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
15056 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS -fno-exceptions"
15057 fi
15058 if test "$wxUSE_PERMISSIVE" = "yes" ; then
15059 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
15060 fi
15061 if test "$wxUSE_NO_DEPS" = "no" ; then
15062 DEP_INFO_FLAGS="-MMD"
15063 fi
15064 fi
15065
15066
15067 CXXFLAGS=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
15068 CFLAGS=`echo "${CFLAGS}" | sed "s/\-O.//g" `
15069 if test "$wxUSE_OPTIMISE" = "no" ; then
15070 OPTIMISE=
15071 else
15072 if test "$GCC" = yes ; then
15073 OPTIMISE="-O2"
15074 case "${host}" in
15075 i586-*-*|i686-*-* )
15076 OPTIMISE="${OPTIMISE} "
15077 ;;
15078 esac
15079 else
15080 OPTIMISE="-O"
15081 fi
15082 fi
15083
15084 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
15085 cat >> confdefs.h <<\EOF
15086 #define WXWIN_COMPATIBILITY_2 1
15087 EOF
15088
15089
15090 WXWIN_COMPATIBILITY_2_2="yes"
15091 fi
15092
15093 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
15094 cat >> confdefs.h <<\EOF
15095 #define WXWIN_COMPATIBILITY_2_2 1
15096 EOF
15097
15098 fi
15099
15100
15101 ZLIB_INCLUDE=
15102 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
15103 cat >> confdefs.h <<\EOF
15104 #define wxUSE_ZLIB 1
15105 EOF
15106
15107 if test "$wxUSE_ZLIB" = "yes" ; then
15108 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
15109 else
15110 ZLIB_LINK=
15111 ac_safe=`echo "zlib.h" | sed 'y%./+-%__p_%'`
15112 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
15113 echo "configure:15114: checking for zlib.h" >&5
15114 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15115 echo $ac_n "(cached) $ac_c" 1>&6
15116 else
15117 cat > conftest.$ac_ext <<EOF
15118 #line 15119 "configure"
15119 #include "confdefs.h"
15120 #include <zlib.h>
15121 EOF
15122 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15123 { (eval echo configure:15124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15124 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15125 if test -z "$ac_err"; then
15126 rm -rf conftest*
15127 eval "ac_cv_header_$ac_safe=yes"
15128 else
15129 echo "$ac_err" >&5
15130 echo "configure: failed program was:" >&5
15131 cat conftest.$ac_ext >&5
15132 rm -rf conftest*
15133 eval "ac_cv_header_$ac_safe=no"
15134 fi
15135 rm -f conftest*
15136 fi
15137 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15138 echo "$ac_t""yes" 1>&6
15139 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
15140 echo "configure:15141: checking for deflate in -lz" >&5
15141 ac_lib_var=`echo z'_'deflate | sed 'y%./+-%__p_%'`
15142 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15143 echo $ac_n "(cached) $ac_c" 1>&6
15144 else
15145 ac_save_LIBS="$LIBS"
15146 LIBS="-lz $LIBS"
15147 cat > conftest.$ac_ext <<EOF
15148 #line 15149 "configure"
15149 #include "confdefs.h"
15150 /* Override any gcc2 internal prototype to avoid an error. */
15151 /* We use char because int might match the return type of a gcc2
15152 builtin and then its argument prototype would still apply. */
15153 char deflate();
15154
15155 int main() {
15156 deflate()
15157 ; return 0; }
15158 EOF
15159 if { (eval echo configure:15160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15160 rm -rf conftest*
15161 eval "ac_cv_lib_$ac_lib_var=yes"
15162 else
15163 echo "configure: failed program was:" >&5
15164 cat conftest.$ac_ext >&5
15165 rm -rf conftest*
15166 eval "ac_cv_lib_$ac_lib_var=no"
15167 fi
15168 rm -f conftest*
15169 LIBS="$ac_save_LIBS"
15170
15171 fi
15172 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15173 echo "$ac_t""yes" 1>&6
15174 ZLIB_LINK="-lz"
15175 else
15176 echo "$ac_t""no" 1>&6
15177 fi
15178
15179 else
15180 echo "$ac_t""no" 1>&6
15181 fi
15182
15183 if test "x$ZLIB_LINK" = "x" ; then
15184 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
15185 fi
15186 fi
15187 fi
15188
15189 PNG_INCLUDE=
15190 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
15191 cat >> confdefs.h <<\EOF
15192 #define wxUSE_LIBPNG 1
15193 EOF
15194
15195 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
15196 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
15197 wxUSE_LIBPNG=yes
15198 fi
15199
15200 if test "$wxUSE_LIBPNG" = "yes" ; then
15201 PNG_INCLUDE="-I\${top_srcdir}/src/png"
15202 else
15203 PNG_LINK=
15204 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
15205 echo $ac_n "checking for png.h""... $ac_c" 1>&6
15206 echo "configure:15207: checking for png.h" >&5
15207 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15208 echo $ac_n "(cached) $ac_c" 1>&6
15209 else
15210 cat > conftest.$ac_ext <<EOF
15211 #line 15212 "configure"
15212 #include "confdefs.h"
15213 #include <png.h>
15214 EOF
15215 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15216 { (eval echo configure:15217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15217 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15218 if test -z "$ac_err"; then
15219 rm -rf conftest*
15220 eval "ac_cv_header_$ac_safe=yes"
15221 else
15222 echo "$ac_err" >&5
15223 echo "configure: failed program was:" >&5
15224 cat conftest.$ac_ext >&5
15225 rm -rf conftest*
15226 eval "ac_cv_header_$ac_safe=no"
15227 fi
15228 rm -f conftest*
15229 fi
15230 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15231 echo "$ac_t""yes" 1>&6
15232 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
15233 echo "configure:15234: checking for png_check_sig in -lpng" >&5
15234 ac_lib_var=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
15235 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15236 echo $ac_n "(cached) $ac_c" 1>&6
15237 else
15238 ac_save_LIBS="$LIBS"
15239 LIBS="-lpng -lz -lm $LIBS"
15240 cat > conftest.$ac_ext <<EOF
15241 #line 15242 "configure"
15242 #include "confdefs.h"
15243 /* Override any gcc2 internal prototype to avoid an error. */
15244 /* We use char because int might match the return type of a gcc2
15245 builtin and then its argument prototype would still apply. */
15246 char png_check_sig();
15247
15248 int main() {
15249 png_check_sig()
15250 ; return 0; }
15251 EOF
15252 if { (eval echo configure:15253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15253 rm -rf conftest*
15254 eval "ac_cv_lib_$ac_lib_var=yes"
15255 else
15256 echo "configure: failed program was:" >&5
15257 cat conftest.$ac_ext >&5
15258 rm -rf conftest*
15259 eval "ac_cv_lib_$ac_lib_var=no"
15260 fi
15261 rm -f conftest*
15262 LIBS="$ac_save_LIBS"
15263
15264 fi
15265 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15266 echo "$ac_t""yes" 1>&6
15267 PNG_LINK="-lpng"
15268 else
15269 echo "$ac_t""no" 1>&6
15270 fi
15271
15272
15273 else
15274 echo "$ac_t""no" 1>&6
15275 fi
15276
15277 if test "x$PNG_LINK" = "x" ; then
15278 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
15279 fi
15280 fi
15281
15282 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
15283 fi
15284
15285 JPEG_INCLUDE=
15286 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
15287 cat >> confdefs.h <<\EOF
15288 #define wxUSE_LIBJPEG 1
15289 EOF
15290
15291 if test "$wxUSE_LIBJPEG" = "yes" ; then
15292 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
15293 else
15294 JPEG_LINK=
15295 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
15296 echo "configure:15297: checking for jpeglib.h" >&5
15297 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
15298 echo $ac_n "(cached) $ac_c" 1>&6
15299 else
15300 cat > conftest.$ac_ext <<EOF
15301 #line 15302 "configure"
15302 #include "confdefs.h"
15303
15304 #undef HAVE_STDLIB_H
15305 #include <stdio.h>
15306 #include <jpeglib.h>
15307
15308 int main() {
15309
15310
15311 ; return 0; }
15312 EOF
15313 if { (eval echo configure:15314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15314 rm -rf conftest*
15315 ac_cv_header_jpeglib_h=yes
15316 else
15317 echo "configure: failed program was:" >&5
15318 cat conftest.$ac_ext >&5
15319 rm -rf conftest*
15320 ac_cv_header_jpeglib_h=no
15321
15322 fi
15323 rm -f conftest*
15324
15325 fi
15326
15327 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
15328
15329 if test "$ac_cv_header_jpeglib_h" = "yes"; then
15330 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
15331 echo "configure:15332: checking for jpeg_read_header in -ljpeg" >&5
15332 ac_lib_var=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
15333 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15334 echo $ac_n "(cached) $ac_c" 1>&6
15335 else
15336 ac_save_LIBS="$LIBS"
15337 LIBS="-ljpeg $LIBS"
15338 cat > conftest.$ac_ext <<EOF
15339 #line 15340 "configure"
15340 #include "confdefs.h"
15341 /* Override any gcc2 internal prototype to avoid an error. */
15342 /* We use char because int might match the return type of a gcc2
15343 builtin and then its argument prototype would still apply. */
15344 char jpeg_read_header();
15345
15346 int main() {
15347 jpeg_read_header()
15348 ; return 0; }
15349 EOF
15350 if { (eval echo configure:15351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15351 rm -rf conftest*
15352 eval "ac_cv_lib_$ac_lib_var=yes"
15353 else
15354 echo "configure: failed program was:" >&5
15355 cat conftest.$ac_ext >&5
15356 rm -rf conftest*
15357 eval "ac_cv_lib_$ac_lib_var=no"
15358 fi
15359 rm -f conftest*
15360 LIBS="$ac_save_LIBS"
15361
15362 fi
15363 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15364 echo "$ac_t""yes" 1>&6
15365 JPEG_LINK="-ljpeg"
15366 else
15367 echo "$ac_t""no" 1>&6
15368 fi
15369
15370 fi
15371
15372 if test "x$JPEG_LINK" = "x" ; then
15373 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
15374 fi
15375 fi
15376 fi
15377
15378 TIFF_INCLUDE=
15379 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
15380 cat >> confdefs.h <<\EOF
15381 #define wxUSE_LIBTIFF 1
15382 EOF
15383
15384 if test "$wxUSE_LIBTIFF" = "yes" ; then
15385 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
15386 else
15387 TIFF_LINK=
15388 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
15389 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
15390 echo "configure:15391: checking for tiffio.h" >&5
15391 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15392 echo $ac_n "(cached) $ac_c" 1>&6
15393 else
15394 cat > conftest.$ac_ext <<EOF
15395 #line 15396 "configure"
15396 #include "confdefs.h"
15397 #include <tiffio.h>
15398 EOF
15399 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15400 { (eval echo configure:15401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15401 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15402 if test -z "$ac_err"; then
15403 rm -rf conftest*
15404 eval "ac_cv_header_$ac_safe=yes"
15405 else
15406 echo "$ac_err" >&5
15407 echo "configure: failed program was:" >&5
15408 cat conftest.$ac_ext >&5
15409 rm -rf conftest*
15410 eval "ac_cv_header_$ac_safe=no"
15411 fi
15412 rm -f conftest*
15413 fi
15414 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15415 echo "$ac_t""yes" 1>&6
15416 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
15417 echo "configure:15418: checking for TIFFError in -ltiff" >&5
15418 ac_lib_var=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
15419 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15420 echo $ac_n "(cached) $ac_c" 1>&6
15421 else
15422 ac_save_LIBS="$LIBS"
15423 LIBS="-ltiff -lm $LIBS"
15424 cat > conftest.$ac_ext <<EOF
15425 #line 15426 "configure"
15426 #include "confdefs.h"
15427 /* Override any gcc2 internal prototype to avoid an error. */
15428 /* We use char because int might match the return type of a gcc2
15429 builtin and then its argument prototype would still apply. */
15430 char TIFFError();
15431
15432 int main() {
15433 TIFFError()
15434 ; return 0; }
15435 EOF
15436 if { (eval echo configure:15437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15437 rm -rf conftest*
15438 eval "ac_cv_lib_$ac_lib_var=yes"
15439 else
15440 echo "configure: failed program was:" >&5
15441 cat conftest.$ac_ext >&5
15442 rm -rf conftest*
15443 eval "ac_cv_lib_$ac_lib_var=no"
15444 fi
15445 rm -f conftest*
15446 LIBS="$ac_save_LIBS"
15447
15448 fi
15449 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15450 echo "$ac_t""yes" 1>&6
15451 TIFF_LINK="-ltiff"
15452 else
15453 echo "$ac_t""no" 1>&6
15454 fi
15455
15456 else
15457 echo "$ac_t""no" 1>&6
15458 fi
15459
15460 if test "x$TIFF_LINK" = "x" ; then
15461 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
15462 fi
15463 fi
15464 fi
15465
15466 FREETYPE_INCLUDE=
15467 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
15468 cat >> confdefs.h <<\EOF
15469 #define wxUSE_FREETYPE 1
15470 EOF
15471
15472 if test "$wxUSE_FREETYPE" = "yes" ; then
15473 FREETYPE_INCLUDE="-I\${top_srcdir}/src/freetype"
15474 else
15475 FREETYPE_LINK=
15476 ac_safe=`echo "freetype.h" | sed 'y%./+-%__p_%'`
15477 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
15478 echo "configure:15479: checking for freetype.h" >&5
15479 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15480 echo $ac_n "(cached) $ac_c" 1>&6
15481 else
15482 cat > conftest.$ac_ext <<EOF
15483 #line 15484 "configure"
15484 #include "confdefs.h"
15485 #include <freetype.h>
15486 EOF
15487 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15488 { (eval echo configure:15489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15489 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15490 if test -z "$ac_err"; then
15491 rm -rf conftest*
15492 eval "ac_cv_header_$ac_safe=yes"
15493 else
15494 echo "$ac_err" >&5
15495 echo "configure: failed program was:" >&5
15496 cat conftest.$ac_ext >&5
15497 rm -rf conftest*
15498 eval "ac_cv_header_$ac_safe=no"
15499 fi
15500 rm -f conftest*
15501 fi
15502 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15503 echo "$ac_t""yes" 1>&6
15504 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
15505 echo "configure:15506: checking for FT_Render_Glyph in -lfreetype" >&5
15506 ac_lib_var=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
15507 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15508 echo $ac_n "(cached) $ac_c" 1>&6
15509 else
15510 ac_save_LIBS="$LIBS"
15511 LIBS="-lfreetype -lm $LIBS"
15512 cat > conftest.$ac_ext <<EOF
15513 #line 15514 "configure"
15514 #include "confdefs.h"
15515 /* Override any gcc2 internal prototype to avoid an error. */
15516 /* We use char because int might match the return type of a gcc2
15517 builtin and then its argument prototype would still apply. */
15518 char FT_Render_Glyph();
15519
15520 int main() {
15521 FT_Render_Glyph()
15522 ; return 0; }
15523 EOF
15524 if { (eval echo configure:15525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15525 rm -rf conftest*
15526 eval "ac_cv_lib_$ac_lib_var=yes"
15527 else
15528 echo "configure: failed program was:" >&5
15529 cat conftest.$ac_ext >&5
15530 rm -rf conftest*
15531 eval "ac_cv_lib_$ac_lib_var=no"
15532 fi
15533 rm -f conftest*
15534 LIBS="$ac_save_LIBS"
15535
15536 fi
15537 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15538 echo "$ac_t""yes" 1>&6
15539 FREETYPE_LINK="-lfreetype"
15540 else
15541 echo "$ac_t""no" 1>&6
15542 fi
15543
15544
15545 else
15546 echo "$ac_t""no" 1>&6
15547 fi
15548
15549 if test "x$FREETYPE_LINK" = "x" ; then
15550 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
15551 fi
15552 fi
15553 fi
15554
15555 if test "$wxUSE_OPENGL" = "yes"; then
15556 if test "$wxUSE_MAC" = 1; then
15557 cat >> confdefs.h <<\EOF
15558 #define wxUSE_OPENGL 1
15559 EOF
15560
15561 cat >> confdefs.h <<\EOF
15562 #define wxUSE_GLCANVAS 1
15563 EOF
15564
15565 OPENGL_LINK="-framework OpenGL -framework AGL"
15566 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
15567 else
15568 ac_safe=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15569 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15570 echo "configure:15571: checking for GL/gl.h" >&5
15571 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15572 echo $ac_n "(cached) $ac_c" 1>&6
15573 else
15574 cat > conftest.$ac_ext <<EOF
15575 #line 15576 "configure"
15576 #include "confdefs.h"
15577 #include <GL/gl.h>
15578 EOF
15579 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15580 { (eval echo configure:15581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15581 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15582 if test -z "$ac_err"; then
15583 rm -rf conftest*
15584 eval "ac_cv_header_$ac_safe=yes"
15585 else
15586 echo "$ac_err" >&5
15587 echo "configure: failed program was:" >&5
15588 cat conftest.$ac_ext >&5
15589 rm -rf conftest*
15590 eval "ac_cv_header_$ac_safe=no"
15591 fi
15592 rm -f conftest*
15593 fi
15594 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15595 echo "$ac_t""yes" 1>&6
15596
15597 cat >> confdefs.h <<\EOF
15598 #define wxUSE_OPENGL 1
15599 EOF
15600
15601 cat >> confdefs.h <<\EOF
15602 #define wxUSE_GLCANVAS 1
15603 EOF
15604
15605 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
15606 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
15607 echo "configure:15608: checking for glFlush in -lGL" >&5
15608 ac_lib_var=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
15609 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15610 echo $ac_n "(cached) $ac_c" 1>&6
15611 else
15612 ac_save_LIBS="$LIBS"
15613 LIBS="-lGL $LIBS"
15614 cat > conftest.$ac_ext <<EOF
15615 #line 15616 "configure"
15616 #include "confdefs.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 glFlush();
15621
15622 int main() {
15623 glFlush()
15624 ; return 0; }
15625 EOF
15626 if { (eval echo configure:15627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15627 rm -rf conftest*
15628 eval "ac_cv_lib_$ac_lib_var=yes"
15629 else
15630 echo "configure: failed program was:" >&5
15631 cat conftest.$ac_ext >&5
15632 rm -rf conftest*
15633 eval "ac_cv_lib_$ac_lib_var=no"
15634 fi
15635 rm -f conftest*
15636 LIBS="$ac_save_LIBS"
15637
15638 fi
15639 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15640 echo "$ac_t""yes" 1>&6
15641
15642 OPENGL_LINK="-lGL -lGLU"
15643
15644 else
15645 echo "$ac_t""no" 1>&6
15646
15647 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
15648 echo "configure:15649: checking for glFlush in -lMesaGL" >&5
15649 ac_lib_var=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
15650 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15651 echo $ac_n "(cached) $ac_c" 1>&6
15652 else
15653 ac_save_LIBS="$LIBS"
15654 LIBS="-lMesaGL $LIBS"
15655 cat > conftest.$ac_ext <<EOF
15656 #line 15657 "configure"
15657 #include "confdefs.h"
15658 /* Override any gcc2 internal prototype to avoid an error. */
15659 /* We use char because int might match the return type of a gcc2
15660 builtin and then its argument prototype would still apply. */
15661 char glFlush();
15662
15663 int main() {
15664 glFlush()
15665 ; return 0; }
15666 EOF
15667 if { (eval echo configure:15668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15668 rm -rf conftest*
15669 eval "ac_cv_lib_$ac_lib_var=yes"
15670 else
15671 echo "configure: failed program was:" >&5
15672 cat conftest.$ac_ext >&5
15673 rm -rf conftest*
15674 eval "ac_cv_lib_$ac_lib_var=no"
15675 fi
15676 rm -f conftest*
15677 LIBS="$ac_save_LIBS"
15678
15679 fi
15680 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15681 echo "$ac_t""yes" 1>&6
15682
15683 OPENGL_LINK="-lMesaGL -lMesaGLU"
15684
15685 else
15686 echo "$ac_t""no" 1>&6
15687 fi
15688
15689
15690 fi
15691
15692
15693 else
15694 echo "$ac_t""no" 1>&6
15695 wxUSE_OPENGL=0
15696 fi
15697
15698 fi
15699 fi
15700
15701
15702 if test "$wxUSE_GUI" = "yes"; then
15703 cat >> confdefs.h <<\EOF
15704 #define wxUSE_GUI 1
15705 EOF
15706
15707
15708 else
15709 cat >> confdefs.h <<\EOF
15710 #define wxUSE_NOGUI 1
15711 EOF
15712
15713 fi
15714
15715
15716 if test "$wxUSE_UNIX" = "yes"; then
15717 cat >> confdefs.h <<\EOF
15718 #define wxUSE_UNIX 1
15719 EOF
15720
15721 fi
15722
15723
15724 if test "$wxUSE_APPLE_IEEE" = "yes"; then
15725 cat >> confdefs.h <<\EOF
15726 #define wxUSE_APPLE_IEEE 1
15727 EOF
15728
15729 fi
15730
15731 if test "$wxUSE_TIMER" = "yes"; then
15732 cat >> confdefs.h <<\EOF
15733 #define wxUSE_TIMER 1
15734 EOF
15735
15736 fi
15737
15738 if test "$wxUSE_WAVE" = "yes"; then
15739 cat >> confdefs.h <<\EOF
15740 #define wxUSE_WAVE 1
15741 EOF
15742
15743 fi
15744
15745 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15746 cat >> confdefs.h <<\EOF
15747 #define wxUSE_CMDLINE_PARSER 1
15748 EOF
15749
15750 fi
15751
15752 if test "$wxUSE_STOPWATCH" = "yes"; then
15753 cat >> confdefs.h <<\EOF
15754 #define wxUSE_STOPWATCH 1
15755 EOF
15756
15757 fi
15758
15759 if test "$wxUSE_DATETIME" = "yes"; then
15760 cat >> confdefs.h <<\EOF
15761 #define wxUSE_DATETIME 1
15762 EOF
15763
15764 fi
15765
15766 if test "$wxUSE_TIMEDATE" = "yes"; then
15767 cat >> confdefs.h <<\EOF
15768 #define wxUSE_TIMEDATE 1
15769 EOF
15770
15771 fi
15772
15773 if test "$wxUSE_FILE" = "yes"; then
15774 cat >> confdefs.h <<\EOF
15775 #define wxUSE_FILE 1
15776 EOF
15777
15778 fi
15779
15780 if test "$wxUSE_FFILE" = "yes"; then
15781 cat >> confdefs.h <<\EOF
15782 #define wxUSE_FFILE 1
15783 EOF
15784
15785 fi
15786
15787 if test "$wxUSE_FILESYSTEM" = "yes"; then
15788 cat >> confdefs.h <<\EOF
15789 #define wxUSE_FILESYSTEM 1
15790 EOF
15791
15792 fi
15793
15794 if test "$wxUSE_FS_INET" = "yes"; then
15795 cat >> confdefs.h <<\EOF
15796 #define wxUSE_FS_INET 1
15797 EOF
15798
15799 fi
15800
15801 if test "$wxUSE_FS_ZIP" = "yes"; then
15802 cat >> confdefs.h <<\EOF
15803 #define wxUSE_FS_ZIP 1
15804 EOF
15805
15806 fi
15807
15808 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15809 cat >> confdefs.h <<\EOF
15810 #define wxUSE_ZIPSTREAM 1
15811 EOF
15812
15813 fi
15814
15815 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15816 cat >> confdefs.h <<\EOF
15817 #define wxUSE_ON_FATAL_EXCEPTION 1
15818 EOF
15819
15820 fi
15821
15822 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15823 cat >> confdefs.h <<\EOF
15824 #define wxUSE_SNGLINST_CHECKER 1
15825 EOF
15826
15827 fi
15828
15829 if test "$wxUSE_BUSYINFO" = "yes"; then
15830 cat >> confdefs.h <<\EOF
15831 #define wxUSE_BUSYINFO 1
15832 EOF
15833
15834 fi
15835
15836 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
15837 cat >> confdefs.h <<\EOF
15838 #define wxUSE_STD_IOSTREAM 1
15839 EOF
15840
15841 fi
15842
15843 if test "$wxUSE_TEXTFILE" = "yes"; then
15844 if test "$wxUSE_FILE" != "yes"; then
15845 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
15846 else
15847 cat >> confdefs.h <<\EOF
15848 #define wxUSE_TEXTFILE 1
15849 EOF
15850
15851 fi
15852 fi
15853
15854 if test "$wxUSE_CONFIG" = "yes" ; then
15855 if test "$wxUSE_TEXTFILE" != "yes"; then
15856 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
15857 else
15858 cat >> confdefs.h <<\EOF
15859 #define wxUSE_CONFIG 1
15860 EOF
15861
15862 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
15863 fi
15864 fi
15865
15866 if test "$wxUSE_INTL" = "yes" ; then
15867 if test "$wxUSE_FILE" != "yes"; then
15868 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
15869 else
15870 cat >> confdefs.h <<\EOF
15871 #define wxUSE_INTL 1
15872 EOF
15873
15874 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
15875 GUIDIST="$GUIDIST INTL_DIST"
15876 fi
15877 fi
15878
15879 if test "$wxUSE_LOG" = "yes"; then
15880 cat >> confdefs.h <<\EOF
15881 #define wxUSE_LOG 1
15882 EOF
15883
15884
15885 if test "$wxUSE_LOGGUI" = "yes"; then
15886 cat >> confdefs.h <<\EOF
15887 #define wxUSE_LOGGUI 1
15888 EOF
15889
15890 fi
15891
15892 if test "$wxUSE_LOGWINDOW" = "yes"; then
15893 cat >> confdefs.h <<\EOF
15894 #define wxUSE_LOGWINDOW 1
15895 EOF
15896
15897 fi
15898 fi
15899
15900 if test "$wxUSE_LONGLONG" = "yes"; then
15901 cat >> confdefs.h <<\EOF
15902 #define wxUSE_LONGLONG 1
15903 EOF
15904
15905 fi
15906
15907 if test "$wxUSE_GEOMETRY" = "yes"; then
15908 cat >> confdefs.h <<\EOF
15909 #define wxUSE_GEOMETRY 1
15910 EOF
15911
15912 fi
15913
15914 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
15915 cat >> confdefs.h <<\EOF
15916 #define wxUSE_DIALUP_MANAGER 1
15917 EOF
15918
15919 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
15920 fi
15921
15922 if test "$wxUSE_STREAMS" = "yes" ; then
15923 cat >> confdefs.h <<\EOF
15924 #define wxUSE_STREAMS 1
15925 EOF
15926
15927 fi
15928
15929
15930 if test "$wxUSE_DATETIME" = "yes"; then
15931 for ac_func in strptime
15932 do
15933 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15934 echo "configure:15935: checking for $ac_func" >&5
15935 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15936 echo $ac_n "(cached) $ac_c" 1>&6
15937 else
15938 cat > conftest.$ac_ext <<EOF
15939 #line 15940 "configure"
15940 #include "confdefs.h"
15941 /* System header to define __stub macros and hopefully few prototypes,
15942 which can conflict with char $ac_func(); below. */
15943 #include <assert.h>
15944 /* Override any gcc2 internal prototype to avoid an error. */
15945 /* We use char because int might match the return type of a gcc2
15946 builtin and then its argument prototype would still apply. */
15947 char $ac_func();
15948
15949 int main() {
15950
15951 /* The GNU C library defines this for functions which it implements
15952 to always fail with ENOSYS. Some functions are actually named
15953 something starting with __ and the normal name is an alias. */
15954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15955 choke me
15956 #else
15957 $ac_func();
15958 #endif
15959
15960 ; return 0; }
15961 EOF
15962 if { (eval echo configure:15963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15963 rm -rf conftest*
15964 eval "ac_cv_func_$ac_func=yes"
15965 else
15966 echo "configure: failed program was:" >&5
15967 cat conftest.$ac_ext >&5
15968 rm -rf conftest*
15969 eval "ac_cv_func_$ac_func=no"
15970 fi
15971 rm -f conftest*
15972 fi
15973
15974 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15975 echo "$ac_t""yes" 1>&6
15976 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15977 cat >> confdefs.h <<EOF
15978 #define $ac_tr_func 1
15979 EOF
15980
15981 else
15982 echo "$ac_t""no" 1>&6
15983 fi
15984 done
15985
15986
15987 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
15988 echo "configure:15989: checking for timezone variable in <time.h>" >&5
15989 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
15990 echo $ac_n "(cached) $ac_c" 1>&6
15991 else
15992
15993 cat > conftest.$ac_ext <<EOF
15994 #line 15995 "configure"
15995 #include "confdefs.h"
15996
15997 #include <time.h>
15998
15999 int main() {
16000
16001 int tz;
16002 tz = timezone;
16003
16004 ; return 0; }
16005 EOF
16006 if { (eval echo configure:16007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16007 rm -rf conftest*
16008
16009 wx_cv_var_timezone=timezone
16010
16011 else
16012 echo "configure: failed program was:" >&5
16013 cat conftest.$ac_ext >&5
16014 rm -rf conftest*
16015
16016 cat > conftest.$ac_ext <<EOF
16017 #line 16018 "configure"
16018 #include "confdefs.h"
16019
16020 #include <time.h>
16021
16022 int main() {
16023
16024 int tz;
16025 tz = _timezone;
16026
16027 ; return 0; }
16028 EOF
16029 if { (eval echo configure:16030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16030 rm -rf conftest*
16031
16032 wx_cv_var_timezone=_timezone
16033
16034 else
16035 echo "configure: failed program was:" >&5
16036 cat conftest.$ac_ext >&5
16037 rm -rf conftest*
16038
16039 cat > conftest.$ac_ext <<EOF
16040 #line 16041 "configure"
16041 #include "confdefs.h"
16042
16043 #include <time.h>
16044
16045 int main() {
16046
16047 int tz;
16048 tz = __timezone;
16049
16050 ; return 0; }
16051 EOF
16052 if { (eval echo configure:16053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16053 rm -rf conftest*
16054
16055 wx_cv_var_timezone=__timezone
16056
16057 else
16058 echo "configure: failed program was:" >&5
16059 cat conftest.$ac_ext >&5
16060 rm -rf conftest*
16061 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
16062
16063 fi
16064 rm -f conftest*
16065
16066
16067 fi
16068 rm -f conftest*
16069
16070
16071 fi
16072 rm -f conftest*
16073
16074
16075 fi
16076
16077 echo "$ac_t""$wx_cv_var_timezone" 1>&6
16078
16079 cat >> confdefs.h <<EOF
16080 #define WX_TIMEZONE $wx_cv_var_timezone
16081 EOF
16082
16083
16084 for ac_func in localtime
16085 do
16086 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16087 echo "configure:16088: checking for $ac_func" >&5
16088 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16089 echo $ac_n "(cached) $ac_c" 1>&6
16090 else
16091 cat > conftest.$ac_ext <<EOF
16092 #line 16093 "configure"
16093 #include "confdefs.h"
16094 /* System header to define __stub macros and hopefully few prototypes,
16095 which can conflict with char $ac_func(); below. */
16096 #include <assert.h>
16097 /* Override any gcc2 internal prototype to avoid an error. */
16098 /* We use char because int might match the return type of a gcc2
16099 builtin and then its argument prototype would still apply. */
16100 char $ac_func();
16101
16102 int main() {
16103
16104 /* The GNU C library defines this for functions which it implements
16105 to always fail with ENOSYS. Some functions are actually named
16106 something starting with __ and the normal name is an alias. */
16107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16108 choke me
16109 #else
16110 $ac_func();
16111 #endif
16112
16113 ; return 0; }
16114 EOF
16115 if { (eval echo configure:16116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16116 rm -rf conftest*
16117 eval "ac_cv_func_$ac_func=yes"
16118 else
16119 echo "configure: failed program was:" >&5
16120 cat conftest.$ac_ext >&5
16121 rm -rf conftest*
16122 eval "ac_cv_func_$ac_func=no"
16123 fi
16124 rm -f conftest*
16125 fi
16126
16127 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16128 echo "$ac_t""yes" 1>&6
16129 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16130 cat >> confdefs.h <<EOF
16131 #define $ac_tr_func 1
16132 EOF
16133
16134 else
16135 echo "$ac_t""no" 1>&6
16136 fi
16137 done
16138
16139
16140 if test "$ac_cv_func_localtime" = "yes"; then
16141 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
16142 echo "configure:16143: checking for tm_gmtoff in struct tm" >&5
16143 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
16144 echo $ac_n "(cached) $ac_c" 1>&6
16145 else
16146
16147 cat > conftest.$ac_ext <<EOF
16148 #line 16149 "configure"
16149 #include "confdefs.h"
16150
16151 #include <time.h>
16152
16153 int main() {
16154
16155 struct tm tm;
16156 tm.tm_gmtoff++;
16157
16158 ; return 0; }
16159 EOF
16160 if { (eval echo configure:16161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16161 rm -rf conftest*
16162
16163 wx_cv_struct_tm_has_gmtoff=yes
16164
16165 else
16166 echo "configure: failed program was:" >&5
16167 cat conftest.$ac_ext >&5
16168 rm -rf conftest*
16169 wx_cv_struct_tm_has_gmtoff=no
16170
16171 fi
16172 rm -f conftest*
16173
16174 fi
16175
16176 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
16177 fi
16178
16179 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
16180 cat >> confdefs.h <<\EOF
16181 #define WX_GMTOFF_IN_TM 1
16182 EOF
16183
16184 fi
16185
16186 for ac_func in gettimeofday ftime
16187 do
16188 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16189 echo "configure:16190: checking for $ac_func" >&5
16190 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16191 echo $ac_n "(cached) $ac_c" 1>&6
16192 else
16193 cat > conftest.$ac_ext <<EOF
16194 #line 16195 "configure"
16195 #include "confdefs.h"
16196 /* System header to define __stub macros and hopefully few prototypes,
16197 which can conflict with char $ac_func(); below. */
16198 #include <assert.h>
16199 /* Override any gcc2 internal prototype to avoid an error. */
16200 /* We use char because int might match the return type of a gcc2
16201 builtin and then its argument prototype would still apply. */
16202 char $ac_func();
16203
16204 int main() {
16205
16206 /* The GNU C library defines this for functions which it implements
16207 to always fail with ENOSYS. Some functions are actually named
16208 something starting with __ and the normal name is an alias. */
16209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16210 choke me
16211 #else
16212 $ac_func();
16213 #endif
16214
16215 ; return 0; }
16216 EOF
16217 if { (eval echo configure:16218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16218 rm -rf conftest*
16219 eval "ac_cv_func_$ac_func=yes"
16220 else
16221 echo "configure: failed program was:" >&5
16222 cat conftest.$ac_ext >&5
16223 rm -rf conftest*
16224 eval "ac_cv_func_$ac_func=no"
16225 fi
16226 rm -f conftest*
16227 fi
16228
16229 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16230 echo "$ac_t""yes" 1>&6
16231 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16232 cat >> confdefs.h <<EOF
16233 #define $ac_tr_func 1
16234 EOF
16235 break
16236 else
16237 echo "$ac_t""no" 1>&6
16238 fi
16239 done
16240
16241
16242 if test "$ac_cv_func_gettimeofday" = "yes"; then
16243 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
16244 echo "configure:16245: checking whether gettimeofday takes two arguments" >&5
16245 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
16246 echo $ac_n "(cached) $ac_c" 1>&6
16247 else
16248
16249
16250 ac_ext=C
16251 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16252 ac_cpp='$CXXCPP $CPPFLAGS'
16253 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16254 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16255 cross_compiling=$ac_cv_prog_cxx_cross
16256
16257
16258 cat > conftest.$ac_ext <<EOF
16259 #line 16260 "configure"
16260 #include "confdefs.h"
16261
16262 #include <sys/time.h>
16263 #include <unistd.h>
16264
16265 int main() {
16266
16267 struct timeval tv;
16268 struct timezone tz;
16269 gettimeofday(&tv, &tz);
16270
16271 ; return 0; }
16272 EOF
16273 if { (eval echo configure:16274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16274 rm -rf conftest*
16275 wx_cv_func_gettimeofday_has_2_args=yes
16276 else
16277 echo "configure: failed program was:" >&5
16278 cat conftest.$ac_ext >&5
16279 rm -rf conftest*
16280 cat > conftest.$ac_ext <<EOF
16281 #line 16282 "configure"
16282 #include "confdefs.h"
16283
16284 #include <sys/time.h>
16285 #include <unistd.h>
16286
16287 int main() {
16288
16289 struct timeval tv;
16290 gettimeofday(&tv);
16291
16292 ; return 0; }
16293 EOF
16294 if { (eval echo configure:16295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16295 rm -rf conftest*
16296 wx_cv_func_gettimeofday_has_2_args=no
16297 else
16298 echo "configure: failed program was:" >&5
16299 cat conftest.$ac_ext >&5
16300 rm -rf conftest*
16301 wx_cv_func_gettimeofday_has_2_args=unknown
16302
16303 fi
16304 rm -f conftest*
16305
16306 fi
16307 rm -f conftest*
16308 ac_ext=c
16309 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16310 ac_cpp='$CPP $CPPFLAGS'
16311 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16312 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16313 cross_compiling=$ac_cv_prog_cc_cross
16314
16315
16316 fi
16317
16318 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
16319
16320 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
16321 cat >> confdefs.h <<\EOF
16322 #define WX_GETTIMEOFDAY_NO_TZ 1
16323 EOF
16324
16325 fi
16326 fi
16327
16328 cat >> confdefs.h <<\EOF
16329 #define wxUSE_TIMEDATE 1
16330 EOF
16331
16332 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
16333 fi
16334
16335
16336 if test "$TOOLKIT" != "MSW"; then
16337
16338 if test "$wxUSE_SOCKETS" = "yes"; then
16339 echo $ac_n "checking for socket""... $ac_c" 1>&6
16340 echo "configure:16341: checking for socket" >&5
16341 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
16342 echo $ac_n "(cached) $ac_c" 1>&6
16343 else
16344 cat > conftest.$ac_ext <<EOF
16345 #line 16346 "configure"
16346 #include "confdefs.h"
16347 /* System header to define __stub macros and hopefully few prototypes,
16348 which can conflict with char socket(); below. */
16349 #include <assert.h>
16350 /* Override any gcc2 internal prototype to avoid an error. */
16351 /* We use char because int might match the return type of a gcc2
16352 builtin and then its argument prototype would still apply. */
16353 char socket();
16354
16355 int main() {
16356
16357 /* The GNU C library defines this for functions which it implements
16358 to always fail with ENOSYS. Some functions are actually named
16359 something starting with __ and the normal name is an alias. */
16360 #if defined (__stub_socket) || defined (__stub___socket)
16361 choke me
16362 #else
16363 socket();
16364 #endif
16365
16366 ; return 0; }
16367 EOF
16368 if { (eval echo configure:16369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16369 rm -rf conftest*
16370 eval "ac_cv_func_socket=yes"
16371 else
16372 echo "configure: failed program was:" >&5
16373 cat conftest.$ac_ext >&5
16374 rm -rf conftest*
16375 eval "ac_cv_func_socket=no"
16376 fi
16377 rm -f conftest*
16378 fi
16379
16380 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16381 echo "$ac_t""yes" 1>&6
16382 :
16383 else
16384 echo "$ac_t""no" 1>&6
16385 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16386 echo "configure:16387: checking for socket in -lsocket" >&5
16387 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16388 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16389 echo $ac_n "(cached) $ac_c" 1>&6
16390 else
16391 ac_save_LIBS="$LIBS"
16392 LIBS="-lsocket $LIBS"
16393 cat > conftest.$ac_ext <<EOF
16394 #line 16395 "configure"
16395 #include "confdefs.h"
16396 /* Override any gcc2 internal prototype to avoid an error. */
16397 /* We use char because int might match the return type of a gcc2
16398 builtin and then its argument prototype would still apply. */
16399 char socket();
16400
16401 int main() {
16402 socket()
16403 ; return 0; }
16404 EOF
16405 if { (eval echo configure:16406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16406 rm -rf conftest*
16407 eval "ac_cv_lib_$ac_lib_var=yes"
16408 else
16409 echo "configure: failed program was:" >&5
16410 cat conftest.$ac_ext >&5
16411 rm -rf conftest*
16412 eval "ac_cv_lib_$ac_lib_var=no"
16413 fi
16414 rm -f conftest*
16415 LIBS="$ac_save_LIBS"
16416
16417 fi
16418 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16419 echo "$ac_t""yes" 1>&6
16420 INET_LINK="$INET_LINK -lsocket"
16421 else
16422 echo "$ac_t""no" 1>&6
16423
16424 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
16425 wxUSE_SOCKETS=no
16426
16427
16428 fi
16429
16430
16431 fi
16432
16433 fi
16434
16435
16436 if test "$wxUSE_SOCKETS" = "yes" ; then
16437 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
16438 echo "configure:16439: checking what is the type of the third argument of getsockname" >&5
16439 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
16440 echo $ac_n "(cached) $ac_c" 1>&6
16441 else
16442
16443
16444 ac_ext=C
16445 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16446 ac_cpp='$CXXCPP $CPPFLAGS'
16447 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16448 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16449 cross_compiling=$ac_cv_prog_cxx_cross
16450
16451
16452 cat > conftest.$ac_ext <<EOF
16453 #line 16454 "configure"
16454 #include "confdefs.h"
16455
16456 #include <sys/types.h>
16457 #include <sys/socket.h>
16458
16459 int main() {
16460
16461 socklen_t len;
16462 getsockname(0, 0, &len);
16463
16464 ; return 0; }
16465 EOF
16466 if { (eval echo configure:16467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16467 rm -rf conftest*
16468 wx_cv_type_getsockname3=socklen_t
16469 else
16470 echo "configure: failed program was:" >&5
16471 cat conftest.$ac_ext >&5
16472 rm -rf conftest*
16473 cat > conftest.$ac_ext <<EOF
16474 #line 16475 "configure"
16475 #include "confdefs.h"
16476
16477 #include <sys/types.h>
16478 #include <sys/socket.h>
16479
16480 int main() {
16481
16482 size_t len;
16483 getsockname(0, 0, &len);
16484
16485 ; return 0; }
16486 EOF
16487 if { (eval echo configure:16488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16488 rm -rf conftest*
16489 wx_cv_type_getsockname3=size_t
16490 else
16491 echo "configure: failed program was:" >&5
16492 cat conftest.$ac_ext >&5
16493 rm -rf conftest*
16494 cat > conftest.$ac_ext <<EOF
16495 #line 16496 "configure"
16496 #include "confdefs.h"
16497
16498 #include <sys/types.h>
16499 #include <sys/socket.h>
16500
16501 int main() {
16502
16503 int len;
16504 getsockname(0, 0, &len);
16505
16506 ; return 0; }
16507 EOF
16508 if { (eval echo configure:16509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16509 rm -rf conftest*
16510 wx_cv_type_getsockname3=int
16511 else
16512 echo "configure: failed program was:" >&5
16513 cat conftest.$ac_ext >&5
16514 rm -rf conftest*
16515 wx_cv_type_getsockname3=unknown
16516
16517 fi
16518 rm -f conftest*
16519
16520 fi
16521 rm -f conftest*
16522
16523 fi
16524 rm -f conftest*
16525
16526 ac_ext=c
16527 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16528 ac_cpp='$CPP $CPPFLAGS'
16529 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16530 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16531 cross_compiling=$ac_cv_prog_cc_cross
16532
16533
16534 fi
16535
16536 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
16537
16538 if test "$wx_cv_type_getsockname3" = "unknown"; then
16539 wxUSE_SOCKETS=no
16540 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
16541 else
16542 cat >> confdefs.h <<EOF
16543 #define SOCKLEN_T $wx_cv_type_getsockname3
16544 EOF
16545
16546 fi
16547 fi
16548
16549 fi
16550
16551 if test "$wxUSE_SOCKETS" = "yes" ; then
16552 cat >> confdefs.h <<\EOF
16553 #define wxUSE_SOCKETS 1
16554 EOF
16555
16556 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
16557 INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS protocol"
16558 fi
16559
16560
16561 if test "$wxUSE_GUI" = "yes"; then
16562
16563 if test "$TOOLKIT" != "MSW"; then
16564
16565 if test "$wxUSE_JOYSTICK" = "yes"; then
16566 for ac_hdr in linux/joystick.h
16567 do
16568 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16569 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16570 echo "configure:16571: checking for $ac_hdr" >&5
16571 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16572 echo $ac_n "(cached) $ac_c" 1>&6
16573 else
16574 cat > conftest.$ac_ext <<EOF
16575 #line 16576 "configure"
16576 #include "confdefs.h"
16577 #include <$ac_hdr>
16578 EOF
16579 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16580 { (eval echo configure:16581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16581 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16582 if test -z "$ac_err"; then
16583 rm -rf conftest*
16584 eval "ac_cv_header_$ac_safe=yes"
16585 else
16586 echo "$ac_err" >&5
16587 echo "configure: failed program was:" >&5
16588 cat conftest.$ac_ext >&5
16589 rm -rf conftest*
16590 eval "ac_cv_header_$ac_safe=no"
16591 fi
16592 rm -f conftest*
16593 fi
16594 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16595 echo "$ac_t""yes" 1>&6
16596 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16597 cat >> confdefs.h <<EOF
16598 #define $ac_tr_hdr 1
16599 EOF
16600
16601 else
16602 echo "$ac_t""no" 1>&6
16603 fi
16604 done
16605
16606 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
16607 wxUSE_JOYSTICK=no
16608 echo "configure: warning: Joystick not supported by this system" 1>&2
16609 fi
16610 fi
16611
16612 fi
16613
16614 if test "$wxUSE_JOYSTICK" = "yes"; then
16615 cat >> confdefs.h <<\EOF
16616 #define wxUSE_JOYSTICK 1
16617 EOF
16618
16619 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
16620 fi
16621
16622 fi
16623
16624
16625 if test "$TOOLKIT" != "MSW"; then
16626
16627 HAVE_DL_FUNCS=0
16628 HAVE_SHL_FUNCS=0
16629 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16630 if test "$USE_DARWIN" = 1; then
16631 HAVE_DL_FUNCS=1
16632 else
16633 for ac_func in dlopen
16634 do
16635 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16636 echo "configure:16637: checking for $ac_func" >&5
16637 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16638 echo $ac_n "(cached) $ac_c" 1>&6
16639 else
16640 cat > conftest.$ac_ext <<EOF
16641 #line 16642 "configure"
16642 #include "confdefs.h"
16643 /* System header to define __stub macros and hopefully few prototypes,
16644 which can conflict with char $ac_func(); below. */
16645 #include <assert.h>
16646 /* Override any gcc2 internal prototype to avoid an error. */
16647 /* We use char because int might match the return type of a gcc2
16648 builtin and then its argument prototype would still apply. */
16649 char $ac_func();
16650
16651 int main() {
16652
16653 /* The GNU C library defines this for functions which it implements
16654 to always fail with ENOSYS. Some functions are actually named
16655 something starting with __ and the normal name is an alias. */
16656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16657 choke me
16658 #else
16659 $ac_func();
16660 #endif
16661
16662 ; return 0; }
16663 EOF
16664 if { (eval echo configure:16665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16665 rm -rf conftest*
16666 eval "ac_cv_func_$ac_func=yes"
16667 else
16668 echo "configure: failed program was:" >&5
16669 cat conftest.$ac_ext >&5
16670 rm -rf conftest*
16671 eval "ac_cv_func_$ac_func=no"
16672 fi
16673 rm -f conftest*
16674 fi
16675
16676 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16677 echo "$ac_t""yes" 1>&6
16678 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16679 cat >> confdefs.h <<EOF
16680 #define $ac_tr_func 1
16681 EOF
16682
16683 cat >> confdefs.h <<\EOF
16684 #define HAVE_DLOPEN 1
16685 EOF
16686
16687 HAVE_DL_FUNCS=1
16688
16689 else
16690 echo "$ac_t""no" 1>&6
16691 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16692 echo "configure:16693: checking for dlopen in -ldl" >&5
16693 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16694 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16695 echo $ac_n "(cached) $ac_c" 1>&6
16696 else
16697 ac_save_LIBS="$LIBS"
16698 LIBS="-ldl $LIBS"
16699 cat > conftest.$ac_ext <<EOF
16700 #line 16701 "configure"
16701 #include "confdefs.h"
16702 /* Override any gcc2 internal prototype to avoid an error. */
16703 /* We use char because int might match the return type of a gcc2
16704 builtin and then its argument prototype would still apply. */
16705 char dlopen();
16706
16707 int main() {
16708 dlopen()
16709 ; return 0; }
16710 EOF
16711 if { (eval echo configure:16712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16712 rm -rf conftest*
16713 eval "ac_cv_lib_$ac_lib_var=yes"
16714 else
16715 echo "configure: failed program was:" >&5
16716 cat conftest.$ac_ext >&5
16717 rm -rf conftest*
16718 eval "ac_cv_lib_$ac_lib_var=no"
16719 fi
16720 rm -f conftest*
16721 LIBS="$ac_save_LIBS"
16722
16723 fi
16724 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16725 echo "$ac_t""yes" 1>&6
16726
16727 cat >> confdefs.h <<\EOF
16728 #define HAVE_DLOPEN 1
16729 EOF
16730
16731 HAVE_DL_FUNCS=1
16732 LIBS="$LIBS -ldl"
16733
16734 else
16735 echo "$ac_t""no" 1>&6
16736
16737 for ac_func in shl_load
16738 do
16739 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16740 echo "configure:16741: checking for $ac_func" >&5
16741 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16742 echo $ac_n "(cached) $ac_c" 1>&6
16743 else
16744 cat > conftest.$ac_ext <<EOF
16745 #line 16746 "configure"
16746 #include "confdefs.h"
16747 /* System header to define __stub macros and hopefully few prototypes,
16748 which can conflict with char $ac_func(); below. */
16749 #include <assert.h>
16750 /* Override any gcc2 internal prototype to avoid an error. */
16751 /* We use char because int might match the return type of a gcc2
16752 builtin and then its argument prototype would still apply. */
16753 char $ac_func();
16754
16755 int main() {
16756
16757 /* The GNU C library defines this for functions which it implements
16758 to always fail with ENOSYS. Some functions are actually named
16759 something starting with __ and the normal name is an alias. */
16760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16761 choke me
16762 #else
16763 $ac_func();
16764 #endif
16765
16766 ; return 0; }
16767 EOF
16768 if { (eval echo configure:16769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16769 rm -rf conftest*
16770 eval "ac_cv_func_$ac_func=yes"
16771 else
16772 echo "configure: failed program was:" >&5
16773 cat conftest.$ac_ext >&5
16774 rm -rf conftest*
16775 eval "ac_cv_func_$ac_func=no"
16776 fi
16777 rm -f conftest*
16778 fi
16779
16780 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16781 echo "$ac_t""yes" 1>&6
16782 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16783 cat >> confdefs.h <<EOF
16784 #define $ac_tr_func 1
16785 EOF
16786
16787 cat >> confdefs.h <<\EOF
16788 #define HAVE_SHL_LOAD 1
16789 EOF
16790
16791 HAVE_SHL_FUNCS=1
16792
16793 else
16794 echo "$ac_t""no" 1>&6
16795 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16796 echo "configure:16797: checking for dld in -lshl_load" >&5
16797 ac_lib_var=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16798 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16799 echo $ac_n "(cached) $ac_c" 1>&6
16800 else
16801 ac_save_LIBS="$LIBS"
16802 LIBS="-lshl_load $LIBS"
16803 cat > conftest.$ac_ext <<EOF
16804 #line 16805 "configure"
16805 #include "confdefs.h"
16806 /* Override any gcc2 internal prototype to avoid an error. */
16807 /* We use char because int might match the return type of a gcc2
16808 builtin and then its argument prototype would still apply. */
16809 char dld();
16810
16811 int main() {
16812 dld()
16813 ; return 0; }
16814 EOF
16815 if { (eval echo configure:16816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16816 rm -rf conftest*
16817 eval "ac_cv_lib_$ac_lib_var=yes"
16818 else
16819 echo "configure: failed program was:" >&5
16820 cat conftest.$ac_ext >&5
16821 rm -rf conftest*
16822 eval "ac_cv_lib_$ac_lib_var=no"
16823 fi
16824 rm -f conftest*
16825 LIBS="$ac_save_LIBS"
16826
16827 fi
16828 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16829 echo "$ac_t""yes" 1>&6
16830
16831 HAVE_SHL_FUNCS=1
16832 LIBS="$LIBS -ldld"
16833
16834 else
16835 echo "$ac_t""no" 1>&6
16836 fi
16837
16838
16839 fi
16840 done
16841
16842
16843 fi
16844
16845
16846 fi
16847 done
16848
16849
16850 if test "$HAVE_DL_FUNCS" = 1; then
16851 for ac_func in dlerror
16852 do
16853 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16854 echo "configure:16855: checking for $ac_func" >&5
16855 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16856 echo $ac_n "(cached) $ac_c" 1>&6
16857 else
16858 cat > conftest.$ac_ext <<EOF
16859 #line 16860 "configure"
16860 #include "confdefs.h"
16861 /* System header to define __stub macros and hopefully few prototypes,
16862 which can conflict with char $ac_func(); below. */
16863 #include <assert.h>
16864 /* Override any gcc2 internal prototype to avoid an error. */
16865 /* We use char because int might match the return type of a gcc2
16866 builtin and then its argument prototype would still apply. */
16867 char $ac_func();
16868
16869 int main() {
16870
16871 /* The GNU C library defines this for functions which it implements
16872 to always fail with ENOSYS. Some functions are actually named
16873 something starting with __ and the normal name is an alias. */
16874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16875 choke me
16876 #else
16877 $ac_func();
16878 #endif
16879
16880 ; return 0; }
16881 EOF
16882 if { (eval echo configure:16883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16883 rm -rf conftest*
16884 eval "ac_cv_func_$ac_func=yes"
16885 else
16886 echo "configure: failed program was:" >&5
16887 cat conftest.$ac_ext >&5
16888 rm -rf conftest*
16889 eval "ac_cv_func_$ac_func=no"
16890 fi
16891 rm -f conftest*
16892 fi
16893
16894 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16895 echo "$ac_t""yes" 1>&6
16896 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16897 cat >> confdefs.h <<EOF
16898 #define $ac_tr_func 1
16899 EOF
16900 cat >> confdefs.h <<\EOF
16901 #define HAVE_DLERROR 1
16902 EOF
16903
16904 else
16905 echo "$ac_t""no" 1>&6
16906 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
16907 echo "configure:16908: checking for dlerror in -ldl" >&5
16908 ac_lib_var=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
16909 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16910 echo $ac_n "(cached) $ac_c" 1>&6
16911 else
16912 ac_save_LIBS="$LIBS"
16913 LIBS="-ldl $LIBS"
16914 cat > conftest.$ac_ext <<EOF
16915 #line 16916 "configure"
16916 #include "confdefs.h"
16917 /* Override any gcc2 internal prototype to avoid an error. */
16918 /* We use char because int might match the return type of a gcc2
16919 builtin and then its argument prototype would still apply. */
16920 char dlerror();
16921
16922 int main() {
16923 dlerror()
16924 ; return 0; }
16925 EOF
16926 if { (eval echo configure:16927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16927 rm -rf conftest*
16928 eval "ac_cv_lib_$ac_lib_var=yes"
16929 else
16930 echo "configure: failed program was:" >&5
16931 cat conftest.$ac_ext >&5
16932 rm -rf conftest*
16933 eval "ac_cv_lib_$ac_lib_var=no"
16934 fi
16935 rm -f conftest*
16936 LIBS="$ac_save_LIBS"
16937
16938 fi
16939 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16940 echo "$ac_t""yes" 1>&6
16941 cat >> confdefs.h <<\EOF
16942 #define HAVE_DLERROR 1
16943 EOF
16944
16945 else
16946 echo "$ac_t""no" 1>&6
16947 fi
16948
16949 fi
16950 done
16951
16952 fi
16953 fi
16954
16955 if test "$HAVE_DL_FUNCS" = 0; then
16956 if test "$HAVE_SHL_FUNCS" = 0; then
16957 if test "$USE_UNIX" = 1; then
16958 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
16959 wxUSE_DYNLIB_CLASS=no
16960 else
16961 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
16962 fi
16963 fi
16964 fi
16965 fi
16966
16967 fi
16968
16969 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
16970 cat >> confdefs.h <<\EOF
16971 #define wxUSE_DYNLIB_CLASS 1
16972 EOF
16973
16974 else
16975 wxUSE_ODBC=no
16976 wxUSE_SERIAL=no
16977 fi
16978
16979
16980 if test "$wxUSE_FONTMAP" = "yes" ; then
16981 cat >> confdefs.h <<\EOF
16982 #define wxUSE_FONTMAP 1
16983 EOF
16984
16985 fi
16986
16987 if test "$wxUSE_UNICODE" = "yes" ; then
16988 cat >> confdefs.h <<\EOF
16989 #define wxUSE_UNICODE 1
16990 EOF
16991
16992 fi
16993
16994 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
16995 cat >> confdefs.h <<\EOF
16996 #define wxUSE_WCSRTOMBS 1
16997 EOF
16998
16999 fi
17000
17001 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
17002 cat >> confdefs.h <<\EOF
17003 #define wxUSE_EXPERIMENTAL_PRINTF 1
17004 EOF
17005
17006 fi
17007
17008
17009 if test "$wxUSE_SERIAL" = "yes" ; then
17010 cat >> confdefs.h <<\EOF
17011 #define wxUSE_SERIAL 1
17012 EOF
17013
17014 fi
17015
17016
17017 IODBC_C_SRC=""
17018 if test "$wxUSE_ODBC" = "yes" ; then
17019 cat >> confdefs.h <<\EOF
17020 #define wxUSE_ODBC 1
17021 EOF
17022
17023 WXODBCFLAG="-D_IODBC_"
17024 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
17025 fi
17026
17027
17028 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
17029 cat >> confdefs.h <<\EOF
17030 #define wxUSE_POSTSCRIPT 1
17031 EOF
17032
17033 fi
17034
17035 cat >> confdefs.h <<\EOF
17036 #define wxUSE_AFM_FOR_POSTSCRIPT 1
17037 EOF
17038
17039
17040 cat >> confdefs.h <<\EOF
17041 #define wxUSE_NORMALIZED_PS_FONTS 1
17042 EOF
17043
17044
17045
17046 if test "$wxUSE_CONSTRAINTS" = "yes"; then
17047 cat >> confdefs.h <<\EOF
17048 #define wxUSE_CONSTRAINTS 1
17049 EOF
17050
17051 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
17052 fi
17053
17054 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17055 cat >> confdefs.h <<\EOF
17056 #define wxUSE_MDI_ARCHITECTURE 1
17057 EOF
17058
17059 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
17060 fi
17061
17062 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
17063 cat >> confdefs.h <<\EOF
17064 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
17065 EOF
17066
17067 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
17068 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17069 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
17070 fi
17071 fi
17072
17073 if test "$wxUSE_HELP" = "yes"; then
17074 cat >> confdefs.h <<\EOF
17075 #define wxUSE_HELP 1
17076 EOF
17077
17078 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
17079
17080 if test "$USE_WIN32" = 1; then
17081 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
17082 ac_safe=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
17083 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
17084 echo "configure:17085: checking for htmlhelp.h" >&5
17085 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17086 echo $ac_n "(cached) $ac_c" 1>&6
17087 else
17088 cat > conftest.$ac_ext <<EOF
17089 #line 17090 "configure"
17090 #include "confdefs.h"
17091 #include <htmlhelp.h>
17092 EOF
17093 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17094 { (eval echo configure:17095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17095 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17096 if test -z "$ac_err"; then
17097 rm -rf conftest*
17098 eval "ac_cv_header_$ac_safe=yes"
17099 else
17100 echo "$ac_err" >&5
17101 echo "configure: failed program was:" >&5
17102 cat conftest.$ac_ext >&5
17103 rm -rf conftest*
17104 eval "ac_cv_header_$ac_safe=no"
17105 fi
17106 rm -f conftest*
17107 fi
17108 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17109 echo "$ac_t""yes" 1>&6
17110
17111 cat >> confdefs.h <<\EOF
17112 #define wxUSE_MS_HTML_HELP 1
17113 EOF
17114
17115
17116 else
17117 echo "$ac_t""no" 1>&6
17118
17119 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h so it won't be compiled without it" 1>&2
17120 wxUSE_MS_HTML_HELP=no
17121
17122 fi
17123
17124 fi
17125 fi
17126
17127 if test "$wxUSE_WXHTML_HELP" = "yes"; then
17128 if test "$wxUSE_HTML" = "yes"; then
17129 cat >> confdefs.h <<\EOF
17130 #define wxUSE_WXHTML_HELP 1
17131 EOF
17132
17133 else
17134 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
17135 wxUSE_WXHTML_HELP=no
17136 fi
17137 fi
17138 fi
17139
17140 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
17141 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17142 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
17143 else
17144 cat >> confdefs.h <<\EOF
17145 #define wxUSE_PRINTING_ARCHITECTURE 1
17146 EOF
17147
17148 fi
17149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
17150 fi
17151
17152 if test "$wxUSE_PROLOGIO" = "yes" ; then
17153 cat >> confdefs.h <<\EOF
17154 #define wxUSE_PROLOGIO 1
17155 EOF
17156
17157 fi
17158
17159 if test "$wxUSE_RESOURCES" = "yes" ; then
17160 cat >> confdefs.h <<\EOF
17161 #define wxUSE_RESOURCES 1
17162 EOF
17163
17164 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS resource"
17165 fi
17166
17167 if test "$wxUSE_X_RESOURCES" = "yes"; then
17168 cat >> confdefs.h <<\EOF
17169 #define wxUSE_X_RESOURCES 1
17170 EOF
17171
17172 fi
17173
17174
17175 if test "$wxUSE_IPC" = "yes"; then
17176 if test "$wxUSE_SOCKETS" != "yes"; then
17177 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
17178 fi
17179
17180 cat >> confdefs.h <<\EOF
17181 #define wxUSE_IPC 1
17182 EOF
17183
17184 fi
17185
17186 if test "$wxUSE_CLIPBOARD" = "yes"; then
17187 cat >> confdefs.h <<\EOF
17188 #define wxUSE_CLIPBOARD 1
17189 EOF
17190
17191 cat >> confdefs.h <<\EOF
17192 #define wxUSE_DATAOBJ 1
17193 EOF
17194
17195 fi
17196
17197 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
17198 if test "$wxUSE_GTK" = 1; then
17199 if test "$WXGTK12" != 1; then
17200 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
17201 wxUSE_DRAG_AND_DROP=no
17202 fi
17203 fi
17204
17205 if test "$wxUSE_MOTIF" = 1; then
17206 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
17207 wxUSE_DRAG_AND_DROP=no
17208 fi
17209
17210 if test "$wxUSE_MAC" = 1; then
17211 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
17212 wxUSE_DRAG_AND_DROP=no
17213 fi
17214
17215 if test "$USE_WIN32" = 1; then
17216
17217 for ac_hdr in ole2.h
17218 do
17219 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17220 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17221 echo "configure:17222: checking for $ac_hdr" >&5
17222 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17223 echo $ac_n "(cached) $ac_c" 1>&6
17224 else
17225 cat > conftest.$ac_ext <<EOF
17226 #line 17227 "configure"
17227 #include "confdefs.h"
17228 #include <$ac_hdr>
17229 EOF
17230 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17231 { (eval echo configure:17232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17232 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17233 if test -z "$ac_err"; then
17234 rm -rf conftest*
17235 eval "ac_cv_header_$ac_safe=yes"
17236 else
17237 echo "$ac_err" >&5
17238 echo "configure: failed program was:" >&5
17239 cat conftest.$ac_ext >&5
17240 rm -rf conftest*
17241 eval "ac_cv_header_$ac_safe=no"
17242 fi
17243 rm -f conftest*
17244 fi
17245 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17246 echo "$ac_t""yes" 1>&6
17247 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17248 cat >> confdefs.h <<EOF
17249 #define $ac_tr_hdr 1
17250 EOF
17251
17252 else
17253 echo "$ac_t""no" 1>&6
17254 fi
17255 done
17256
17257
17258 if test "$ac_cv_header_ole2_h" = "yes" ; then
17259 if test "$GCC" = yes ; then
17260 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
17261 ALL_DEPFILES="$ALL_DEPFILES \$(OLEDEPS)"
17262 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
17263 LIBS="$LIBS -lrpcrt4 -loleaut32 -lole32 -luuid"
17264 cat >> confdefs.h <<\EOF
17265 #define wxUSE_OLE 1
17266 EOF
17267
17268
17269 if test "$wxUSE_METAFILE" = "yes"; then
17270 cat >> confdefs.h <<\EOF
17271 #define wxUSE_METAFILE 1
17272 EOF
17273
17274 cat >> confdefs.h <<\EOF
17275 #define wxUSE_ENH_METAFILE 1
17276 EOF
17277
17278 fi
17279 fi
17280 else
17281 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
17282 wxUSE_DRAG_AND_DROP=no
17283 fi
17284 fi
17285
17286 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
17287 cat >> confdefs.h <<\EOF
17288 #define wxUSE_DRAG_AND_DROP 1
17289 EOF
17290
17291 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
17292 fi
17293
17294 fi
17295
17296 if test "$wxUSE_SPLINES" = "yes" ; then
17297 cat >> confdefs.h <<\EOF
17298 #define wxUSE_SPLINES 1
17299 EOF
17300
17301 fi
17302
17303
17304 USES_CONTROLS=0
17305 if test "$wxUSE_CONTROLS" = "yes"; then
17306 USES_CONTROLS=1
17307 fi
17308
17309 if test "$wxUSE_ACCEL" = "yes"; then
17310 cat >> confdefs.h <<\EOF
17311 #define wxUSE_ACCEL 1
17312 EOF
17313
17314 USES_CONTROLS=1
17315 fi
17316
17317 if test "$wxUSE_BUTTON" = "yes"; then
17318 cat >> confdefs.h <<\EOF
17319 #define wxUSE_BUTTON 1
17320 EOF
17321
17322 USES_CONTROLS=1
17323 fi
17324
17325 if test "$wxUSE_BMPBUTTON" = "yes"; then
17326 cat >> confdefs.h <<\EOF
17327 #define wxUSE_BMPBUTTON 1
17328 EOF
17329
17330 USES_CONTROLS=1
17331 fi
17332
17333 if test "$wxUSE_CALCTRL" = "yes"; then
17334 cat >> confdefs.h <<\EOF
17335 #define wxUSE_CALENDARCTRL 1
17336 EOF
17337
17338 USES_CONTROLS=1
17339 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
17340 fi
17341
17342 if test "$wxUSE_CARET" = "yes"; then
17343 cat >> confdefs.h <<\EOF
17344 #define wxUSE_CARET 1
17345 EOF
17346
17347 USES_CONTROLS=1
17348 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
17349 fi
17350
17351 if test "$wxUSE_COMBOBOX" = "yes"; then
17352 cat >> confdefs.h <<\EOF
17353 #define wxUSE_COMBOBOX 1
17354 EOF
17355
17356 USES_CONTROLS=1
17357 fi
17358
17359 if test "$wxUSE_CHOICE" = "yes"; then
17360 cat >> confdefs.h <<\EOF
17361 #define wxUSE_CHOICE 1
17362 EOF
17363
17364 USES_CONTROLS=1
17365 fi
17366
17367 if test "$wxUSE_CHECKBOX" = "yes"; then
17368 cat >> confdefs.h <<\EOF
17369 #define wxUSE_CHECKBOX 1
17370 EOF
17371
17372 USES_CONTROLS=1
17373 fi
17374
17375 if test "$wxUSE_CHECKLST" = "yes"; then
17376 cat >> confdefs.h <<\EOF
17377 #define wxUSE_CHECKLISTBOX 1
17378 EOF
17379
17380 USES_CONTROLS=1
17381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
17382 fi
17383
17384 if test "$wxUSE_GAUGE" = "yes"; then
17385 cat >> confdefs.h <<\EOF
17386 #define wxUSE_GAUGE 1
17387 EOF
17388
17389 USES_CONTROLS=1
17390 fi
17391
17392 if test "$wxUSE_NEW_GRID" = "yes"; then
17393 wxUSE_GRID="yes"
17394 cat >> confdefs.h <<\EOF
17395 #define wxUSE_NEW_GRID 1
17396 EOF
17397
17398 USES_CONTROLS=1
17399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS newgrid"
17400 fi
17401
17402 if test "$wxUSE_GRID" = "yes"; then
17403 cat >> confdefs.h <<\EOF
17404 #define wxUSE_GRID 1
17405 EOF
17406
17407 USES_CONTROLS=1
17408 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
17409 fi
17410
17411 if test "$wxUSE_IMAGLIST" = "yes"; then
17412 cat >> confdefs.h <<\EOF
17413 #define wxUSE_IMAGLIST 1
17414 EOF
17415
17416 fi
17417
17418 if test "$wxUSE_LISTBOX" = "yes"; then
17419 cat >> confdefs.h <<\EOF
17420 #define wxUSE_LISTBOX 1
17421 EOF
17422
17423 USES_CONTROLS=1
17424 fi
17425
17426 if test "$wxUSE_LISTCTRL" = "yes"; then
17427 if test "$wxUSE_IMAGLIST" = "yes"; then
17428 cat >> confdefs.h <<\EOF
17429 #define wxUSE_LISTCTRL 1
17430 EOF
17431
17432 USES_CONTROLS=1
17433 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
17434 else
17435 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
17436 fi
17437 fi
17438
17439 if test "$wxUSE_NOTEBOOK" = "yes"; then
17440 cat >> confdefs.h <<\EOF
17441 #define wxUSE_NOTEBOOK 1
17442 EOF
17443
17444 USES_CONTROLS=1
17445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
17446 fi
17447
17448 if test "$wxUSE_PROPSHEET" = "yes"; then
17449 cat >> confdefs.h <<\EOF
17450 #define wxUSE_PROPSHEET 1
17451 EOF
17452
17453 USES_CONTROLS=1
17454 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS proplist"
17455 fi
17456
17457 if test "$wxUSE_RADIOBOX" = "yes"; then
17458 cat >> confdefs.h <<\EOF
17459 #define wxUSE_RADIOBOX 1
17460 EOF
17461
17462 USES_CONTROLS=1
17463 fi
17464
17465 if test "$wxUSE_RADIOBTN" = "yes"; then
17466 cat >> confdefs.h <<\EOF
17467 #define wxUSE_RADIOBTN 1
17468 EOF
17469
17470 USES_CONTROLS=1
17471 fi
17472
17473 if test "$wxUSE_SASH" = "yes"; then
17474 cat >> confdefs.h <<\EOF
17475 #define wxUSE_SASH 1
17476 EOF
17477
17478 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
17479 fi
17480
17481 if test "$wxUSE_SCROLLBAR" = "yes"; then
17482 cat >> confdefs.h <<\EOF
17483 #define wxUSE_SCROLLBAR 1
17484 EOF
17485
17486 USES_CONTROLS=1
17487 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
17488 fi
17489
17490 if test "$wxUSE_SLIDER" = "yes"; then
17491 cat >> confdefs.h <<\EOF
17492 #define wxUSE_SLIDER 1
17493 EOF
17494
17495 USES_CONTROLS=1
17496 fi
17497
17498 if test "$wxUSE_SPINBTN" = "yes"; then
17499 cat >> confdefs.h <<\EOF
17500 #define wxUSE_SPINBTN 1
17501 EOF
17502
17503 USES_CONTROLS=1
17504 fi
17505
17506 if test "$wxUSE_SPINCTRL" = "yes"; then
17507 cat >> confdefs.h <<\EOF
17508 #define wxUSE_SPINCTRL 1
17509 EOF
17510
17511 USES_CONTROLS=1
17512 fi
17513
17514 if test "$wxUSE_SPLITTER" = "yes"; then
17515 cat >> confdefs.h <<\EOF
17516 #define wxUSE_SPLITTER 1
17517 EOF
17518
17519 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
17520 fi
17521
17522 if test "$wxUSE_STATBMP" = "yes"; then
17523 cat >> confdefs.h <<\EOF
17524 #define wxUSE_STATBMP 1
17525 EOF
17526
17527 USES_CONTROLS=1
17528 fi
17529
17530 if test "$wxUSE_STATBOX" = "yes"; then
17531 cat >> confdefs.h <<\EOF
17532 #define wxUSE_STATBOX 1
17533 EOF
17534
17535 USES_CONTROLS=1
17536 fi
17537
17538 if test "$wxUSE_STATTEXT" = "yes"; then
17539 cat >> confdefs.h <<\EOF
17540 #define wxUSE_STATTEXT 1
17541 EOF
17542
17543 USES_CONTROLS=1
17544 fi
17545
17546 if test "$wxUSE_STATLINE" = "yes"; then
17547 if test "$wxUSE_WINE" = 1 ; then
17548 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
17549 else
17550 cat >> confdefs.h <<\EOF
17551 #define wxUSE_STATLINE 1
17552 EOF
17553
17554 USES_CONTROLS=1
17555 fi
17556 fi
17557
17558 if test "$wxUSE_STATUSBAR" = "yes"; then
17559 cat >> confdefs.h <<\EOF
17560 #define wxUSE_STATUSBAR 1
17561 EOF
17562
17563 USES_CONTROLS=1
17564
17565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
17566 fi
17567
17568 if test "$wxUSE_TABDIALOG" = "yes"; then
17569 cat >> confdefs.h <<\EOF
17570 #define wxUSE_TAB_DIALOG 1
17571 EOF
17572
17573 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
17574 fi
17575
17576 if test "$wxUSE_TEXTCTRL" = "yes"; then
17577 cat >> confdefs.h <<\EOF
17578 #define wxUSE_TEXTCTRL 1
17579 EOF
17580
17581 USES_CONTROLS=1
17582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
17583 fi
17584
17585 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17586 if test "$wxUSE_MAC" = 1; then
17587 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
17588 wxUSE_TOGGLEBTN=no
17589 fi
17590
17591 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17592 cat >> confdefs.h <<\EOF
17593 #define wxUSE_TOGGLEBTN 1
17594 EOF
17595
17596 USES_CONTROLS=1
17597 fi
17598 fi
17599
17600 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
17601 cat >> confdefs.h <<\EOF
17602 #define wxUSE_TOOLBAR_SIMPLE 1
17603 EOF
17604
17605 wxUSE_TOOLBAR="yes"
17606 USES_CONTROLS=1
17607 fi
17608
17609 if test "$wxUSE_TOOLBAR" = "yes"; then
17610 cat >> confdefs.h <<\EOF
17611 #define wxUSE_TOOLBAR 1
17612 EOF
17613
17614 USES_CONTROLS=1
17615
17616 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
17617 wxUSE_TOOLBAR_NATIVE="yes"
17618 fi
17619
17620 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
17621 cat >> confdefs.h <<\EOF
17622 #define wxUSE_TOOLBAR_NATIVE 1
17623 EOF
17624
17625 USES_CONTROLS=1
17626 fi
17627
17628 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
17629 fi
17630
17631 if test "$wxUSE_TOOLTIPS" = "yes"; then
17632 if test "$wxUSE_MOTIF" = 1; then
17633 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
17634 else
17635 if test "$wxUSE_WINE" = 1; then
17636 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
17637 else
17638 cat >> confdefs.h <<\EOF
17639 #define wxUSE_TOOLTIPS 1
17640 EOF
17641
17642 fi
17643 fi
17644 fi
17645
17646 if test "$wxUSE_TREECTRL" = "yes"; then
17647 if test "$wxUSE_IMAGLIST" = "yes"; then
17648 cat >> confdefs.h <<\EOF
17649 #define wxUSE_TREECTRL 1
17650 EOF
17651
17652 USES_CONTROLS=1
17653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
17654 else
17655 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
17656 fi
17657 fi
17658
17659 if test "$wxUSE_POPUPWIN" = "yes"; then
17660 if test "$wxUSE_MAC" = 1; then
17661 echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2
17662 else
17663 cat >> confdefs.h <<\EOF
17664 #define wxUSE_POPUPWIN 1
17665 EOF
17666
17667 USES_CONTROLS=1
17668 fi
17669 fi
17670
17671 if test "$USES_CONTROLS" = 1; then
17672 cat >> confdefs.h <<\EOF
17673 #define wxUSE_CONTROLS 1
17674 EOF
17675
17676 fi
17677
17678
17679 if test "$wxUSE_TREELAYOUT" = "yes"; then
17680 cat >> confdefs.h <<\EOF
17681 #define wxUSE_TREELAYOUT 1
17682 EOF
17683
17684 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelay"
17685 fi
17686
17687 if test "$wxUSE_DRAGIMAGE" = "yes"; then
17688 cat >> confdefs.h <<\EOF
17689 #define wxUSE_DRAGIMAGE 1
17690 EOF
17691
17692 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
17693 fi
17694
17695 if test "$wxUSE_MENUS" = "yes"; then
17696 cat >> confdefs.h <<\EOF
17697 #define wxUSE_MENUS 1
17698 EOF
17699
17700 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
17701 fi
17702
17703 if test "$wxUSE_METAFILE" = "yes"; then
17704 cat >> confdefs.h <<\EOF
17705 #define wxUSE_METAFILE 1
17706 EOF
17707
17708 fi
17709
17710 if test "$wxUSE_MIMETYPE" = "yes"; then
17711 cat >> confdefs.h <<\EOF
17712 #define wxUSE_MIMETYPE 1
17713 EOF
17714
17715 fi
17716
17717 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
17718 cat >> confdefs.h <<\EOF
17719 #define wxUSE_SYSTEM_OPTIONS 1
17720 EOF
17721
17722 fi
17723
17724 if test "$wxUSE_MINIFRAME" = "yes"; then
17725 cat >> confdefs.h <<\EOF
17726 #define wxUSE_MINIFRAME 1
17727 EOF
17728
17729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
17730 fi
17731
17732 if test "$wxUSE_HTML" = "yes"; then
17733 cat >> confdefs.h <<\EOF
17734 #define wxUSE_HTML 1
17735 EOF
17736
17737 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html"
17738 INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS html"
17739 fi
17740
17741 if test "$wxUSE_VALIDATORS" = "yes"; then
17742 cat >> confdefs.h <<\EOF
17743 #define wxUSE_VALIDATORS 1
17744 EOF
17745
17746 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
17747 fi
17748
17749 if test "$wxUSE_IMAGE" = "yes" ; then
17750 cat >> confdefs.h <<\EOF
17751 #define wxUSE_IMAGE 1
17752 EOF
17753
17754 fi
17755
17756 if test "$wxUSE_GIF" = "yes" ; then
17757 cat >> confdefs.h <<\EOF
17758 #define wxUSE_GIF 1
17759 EOF
17760
17761 fi
17762
17763 if test "$wxUSE_PCX" = "yes" ; then
17764 cat >> confdefs.h <<\EOF
17765 #define wxUSE_PCX 1
17766 EOF
17767
17768 fi
17769
17770 if test "$wxUSE_PNM" = "yes" ; then
17771 cat >> confdefs.h <<\EOF
17772 #define wxUSE_PNM 1
17773 EOF
17774
17775 fi
17776
17777 if test "$wxUSE_XPM" = "yes" ; then
17778 cat >> confdefs.h <<\EOF
17779 #define wxUSE_XPM 1
17780 EOF
17781
17782 fi
17783
17784
17785 if test "$wxUSE_CHOICEDLG" = "yes"; then
17786 cat >> confdefs.h <<\EOF
17787 #define wxUSE_CHOICEDLG 1
17788 EOF
17789
17790 fi
17791
17792 if test "$wxUSE_COLOURDLG" = "yes"; then
17793 cat >> confdefs.h <<\EOF
17794 #define wxUSE_COLOURDLG 1
17795 EOF
17796
17797 fi
17798
17799 if test "$wxUSE_FILEDLG" = "yes"; then
17800 cat >> confdefs.h <<\EOF
17801 #define wxUSE_FILEDLG 1
17802 EOF
17803
17804 fi
17805
17806 if test "$wxUSE_FINDREPLDLG" = "yes"; then
17807 cat >> confdefs.h <<\EOF
17808 #define wxUSE_FINDREPLDLG 1
17809 EOF
17810
17811 fi
17812
17813 if test "$wxUSE_FONTDLG" = "yes"; then
17814 cat >> confdefs.h <<\EOF
17815 #define wxUSE_FONTDLG 1
17816 EOF
17817
17818 fi
17819
17820 if test "$wxUSE_DIRDLG" = "yes"; then
17821 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17822 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
17823 else
17824 if test "$wxUSE_TREECTRL" != "yes"; then
17825 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
17826 else
17827 cat >> confdefs.h <<\EOF
17828 #define wxUSE_DIRDLG 1
17829 EOF
17830
17831 fi
17832 fi
17833 fi
17834
17835 if test "$wxUSE_MSGDLG" = "yes"; then
17836 cat >> confdefs.h <<\EOF
17837 #define wxUSE_MSGDLG 1
17838 EOF
17839
17840 fi
17841
17842 if test "$wxUSE_NUMBERDLG" = "yes"; then
17843 cat >> confdefs.h <<\EOF
17844 #define wxUSE_NUMBERDLG 1
17845 EOF
17846
17847 fi
17848
17849 if test "$wxUSE_PROGRESSDLG" = "yes"; then
17850 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17851 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
17852 else
17853 cat >> confdefs.h <<\EOF
17854 #define wxUSE_PROGRESSDLG 1
17855 EOF
17856
17857 fi
17858 fi
17859
17860 if test "$wxUSE_SPLASH" = "yes"; then
17861 cat >> confdefs.h <<\EOF
17862 #define wxUSE_SPLASH 1
17863 EOF
17864
17865 fi
17866
17867 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
17868 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17869 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
17870 else
17871 cat >> confdefs.h <<\EOF
17872 #define wxUSE_STARTUP_TIPS 1
17873 EOF
17874
17875 fi
17876 fi
17877
17878 if test "$wxUSE_TEXTDLG" = "yes"; then
17879 cat >> confdefs.h <<\EOF
17880 #define wxUSE_TEXTDLG 1
17881 EOF
17882
17883 fi
17884
17885 if test "$wxUSE_WIZARDDLG" = "yes"; then
17886 cat >> confdefs.h <<\EOF
17887 #define wxUSE_WIZARDDLG 1
17888 EOF
17889
17890 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
17891 fi
17892
17893
17894 if test "$cross_compiling" = "yes"; then
17895 OSINFO="\"$host\""
17896 else
17897 OSINFO=`uname -s -r -m`
17898 OSINFO="\"$OSINFO\""
17899 fi
17900
17901 cat >> confdefs.h <<EOF
17902 #define WXWIN_OS_DESCRIPTION $OSINFO
17903 EOF
17904
17905
17906
17907 GUILIBS="$GUI_TK_LIBRARY $TOOLKIT_LINK"
17908 OPENGL_LIBS="$OPENGL_LINK"
17909
17910 EXTRA_LIBS="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
17911 if test "$wxUSE_MAC" = 1 ; then
17912 EXTRA_LIBS="$EXTRA_LIBS -framework Carbon -framework System"
17913 fi
17914 if test "$wxUSE_GUI" = "yes"; then
17915 EXTRA_LIBS="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
17916 fi
17917
17918 LD_LIBS="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
17919
17920 INCLUDES="-I. -I\${top_builddir}/include -I\${top_srcdir}/include \
17921 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
17922 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
17923
17924 if test "$wxUSE_GTK" = 1; then
17925 WXCONFIG_INCLUDE=""
17926 else
17927 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
17928 fi
17929
17930 if test "$GXX" = yes ; then
17931 CXXWARNINGS="-Wall"
17932 fi
17933 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
17934
17935 CFLAGS=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
17936 CXXFLAGS=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
17937
17938 LDFLAGS="$LDFLAGS $PROFILE"
17939
17940 if test "$wxUSE_GUI" = "yes"; then
17941
17942 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS controls dialogs \
17943 drawing dynamic erase event exec font image \
17944 minimal richedit rotate widgets"
17945
17946 if test "$wxUSE_UNIVERSAL" = "yes" ; then
17947 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS univ"
17948 fi
17949
17950 CPPFLAGS="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
17951 else
17952 SAMPLES_SUBDIRS="console"
17953 fi
17954
17955 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
18052 echo "configure:18053: checking whether ${MAKE-make} sets \${MAKE}" >&5
18053 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
18054 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
18055 echo $ac_n "(cached) $ac_c" 1>&6
18056 else
18057 cat > conftestmake <<\EOF
18058 all:
18059 @echo 'ac_maketemp="${MAKE}"'
18060 EOF
18061 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18062 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
18063 if test -n "$ac_maketemp"; then
18064 eval ac_cv_prog_make_${ac_make}_set=yes
18065 else
18066 eval ac_cv_prog_make_${ac_make}_set=no
18067 fi
18068 rm -f conftestmake
18069 fi
18070 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
18071 echo "$ac_t""yes" 1>&6
18072 SET_MAKE=
18073 else
18074 echo "$ac_t""no" 1>&6
18075 SET_MAKE="MAKE=${MAKE-make}"
18076 fi
18077
18078
18079 if test -d include; then
18080 if test -d include/wx; then
18081 if test -d include/wx/${SETUPH_DIR}; then
18082 if test -f include/wx/${SETUPH_DIR}/setup.h; then
18083 mv -f include/wx/${SETUPH_DIR}/setup.h setup.h
18084 fi
18085 fi
18086 fi
18087 fi
18088
18089
18090
18091 if test "$wxUSE_GUI" = "yes"; then
18092 wx_cv_path_samplesubdirs=$SAMPLES_SUBDIRS
18093 wx_cv_path_ifs=$PATH_IFS
18094 wx_cv_program_ext=$PROGRAM_EXT
18095 wx_cv_target_library=$WX_TARGET_LIBRARY
18096 wx_cv_target_library_gl=$WX_TARGET_LIBRARY_GL
18097 wx_cv_target_libtype=$WX_TARGET_LIBRARY_TYPE
18098 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
18099 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
18100 subdirs="demos samples utils contrib"
18101
18102 fi
18103
18104 trap '' 1 2 15
18105 cat > confcache <<\EOF
18106 # This file is a shell script that caches the results of configure
18107 # tests run on this system so they can be shared between configure
18108 # scripts and configure runs. It is not useful on other systems.
18109 # If it contains results you don't want to keep, you may remove or edit it.
18110 #
18111 # By default, configure uses ./config.cache as the cache file,
18112 # creating it if it does not exist already. You can give configure
18113 # the --cache-file=FILE option to use a different cache file; that is
18114 # what configure does when it calls configure scripts in
18115 # subdirectories, so they share the cache.
18116 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18117 # config.status only pays attention to the cache file if you give it the
18118 # --recheck option to rerun configure.
18119 #
18120 EOF
18121 # The following way of writing the cache mishandles newlines in values,
18122 # but we know of no workaround that is simple, portable, and efficient.
18123 # So, don't put newlines in cache variables' values.
18124 # Ultrix sh set writes to stderr and can't be redirected directly,
18125 # and sets the high bit in the cache file unless we assign to the vars.
18126 (set) 2>&1 |
18127 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18128 *ac_space=\ *)
18129 # `set' does not quote correctly, so add quotes (double-quote substitution
18130 # turns \\\\ into \\, and sed turns \\ into \).
18131 sed -n \
18132 -e "s/'/'\\\\''/g" \
18133 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18134 ;;
18135 *)
18136 # `set' quotes correctly as required by POSIX, so do not add quotes.
18137 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18138 ;;
18139 esac >> confcache
18140 if cmp -s $cache_file confcache; then
18141 :
18142 else
18143 if test -w $cache_file; then
18144 echo "updating cache $cache_file"
18145 cat confcache > $cache_file
18146 else
18147 echo "not updating unwritable cache $cache_file"
18148 fi
18149 fi
18150 rm -f confcache
18151
18152 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18153
18154 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18155 # Let make expand exec_prefix.
18156 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18157
18158 # Any assignment to VPATH causes Sun make to only execute
18159 # the first set of double-colon rules, so remove it if not needed.
18160 # If there is a colon in the path, we need to keep it.
18161 if test "x$srcdir" = x.; then
18162 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
18163 fi
18164
18165 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18166
18167 DEFS=-DHAVE_CONFIG_H
18168
18169 # Without the "./", some shells look in PATH for config.status.
18170 : ${CONFIG_STATUS=./config.status}
18171
18172 echo creating $CONFIG_STATUS
18173 rm -f $CONFIG_STATUS
18174 cat > $CONFIG_STATUS <<EOF
18175 #! /bin/sh
18176 # Generated automatically by configure.
18177 # Run this file to recreate the current configuration.
18178 # This directory was configured as follows,
18179 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18180 #
18181 # $0 $ac_configure_args
18182 #
18183 # Compiler output produced by configure, useful for debugging
18184 # configure, is in ./config.log if it exists.
18185
18186 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18187 for ac_option
18188 do
18189 case "\$ac_option" in
18190 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18191 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18192 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18193 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18194 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18195 exit 0 ;;
18196 -help | --help | --hel | --he | --h)
18197 echo "\$ac_cs_usage"; exit 0 ;;
18198 *) echo "\$ac_cs_usage"; exit 1 ;;
18199 esac
18200 done
18201
18202 ac_given_srcdir=$srcdir
18203 ac_given_INSTALL="$INSTALL"
18204
18205 trap 'rm -fr `echo "
18206 wx-config
18207 src/make.env
18208 src/makeprog.env
18209 src/makelib.env
18210 Makefile
18211 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18212 EOF
18213 cat >> $CONFIG_STATUS <<EOF
18214
18215 # Protect against being on the right side of a sed subst in config.status.
18216 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18217 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18218 $ac_vpsub
18219 $extrasub
18220 s%@SHELL@%$SHELL%g
18221 s%@CFLAGS@%$CFLAGS%g
18222 s%@CPPFLAGS@%$CPPFLAGS%g
18223 s%@CXXFLAGS@%$CXXFLAGS%g
18224 s%@FFLAGS@%$FFLAGS%g
18225 s%@DEFS@%$DEFS%g
18226 s%@LDFLAGS@%$LDFLAGS%g
18227 s%@LIBS@%$LIBS%g
18228 s%@exec_prefix@%$exec_prefix%g
18229 s%@prefix@%$prefix%g
18230 s%@program_transform_name@%$program_transform_name%g
18231 s%@bindir@%$bindir%g
18232 s%@sbindir@%$sbindir%g
18233 s%@libexecdir@%$libexecdir%g
18234 s%@datadir@%$datadir%g
18235 s%@sysconfdir@%$sysconfdir%g
18236 s%@sharedstatedir@%$sharedstatedir%g
18237 s%@localstatedir@%$localstatedir%g
18238 s%@libdir@%$libdir%g
18239 s%@includedir@%$includedir%g
18240 s%@oldincludedir@%$oldincludedir%g
18241 s%@infodir@%$infodir%g
18242 s%@mandir@%$mandir%g
18243 s%@host@%$host%g
18244 s%@host_alias@%$host_alias%g
18245 s%@host_cpu@%$host_cpu%g
18246 s%@host_vendor@%$host_vendor%g
18247 s%@host_os@%$host_os%g
18248 s%@target@%$target%g
18249 s%@target_alias@%$target_alias%g
18250 s%@target_cpu@%$target_cpu%g
18251 s%@target_vendor@%$target_vendor%g
18252 s%@target_os@%$target_os%g
18253 s%@build@%$build%g
18254 s%@build_alias@%$build_alias%g
18255 s%@build_cpu@%$build_cpu%g
18256 s%@build_vendor@%$build_vendor%g
18257 s%@build_os@%$build_os%g
18258 s%@CC@%$CC%g
18259 s%@CPP@%$CPP%g
18260 s%@CXX@%$CXX%g
18261 s%@CXXCPP@%$CXXCPP%g
18262 s%@RANLIB@%$RANLIB%g
18263 s%@AR@%$AR%g
18264 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18265 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18266 s%@INSTALL_DATA@%$INSTALL_DATA%g
18267 s%@STRIP@%$STRIP%g
18268 s%@YACC@%$YACC%g
18269 s%@LEX@%$LEX%g
18270 s%@LEXLIB@%$LEXLIB%g
18271 s%@LN_S@%$LN_S%g
18272 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
18273 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
18274 s%@GTK_LIBS@%$GTK_LIBS%g
18275 s%@GTK_CONFIG@%$GTK_CONFIG%g
18276 s%@X_CFLAGS@%$X_CFLAGS%g
18277 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
18278 s%@X_LIBS@%$X_LIBS%g
18279 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
18280 s%@REZ@%$REZ%g
18281 s%@DEREZ@%$DEREZ%g
18282 s%@LEX_STEM@%$LEX_STEM%g
18283 s%@PATH_IFS@%$PATH_IFS%g
18284 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
18285 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
18286 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
18287 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
18288 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
18289 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
18290 s%@WX_LIBRARY@%$WX_LIBRARY%g
18291 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
18292 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
18293 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
18294 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
18295 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
18296 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
18297 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
18298 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
18299 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
18300 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
18301 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
18302 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
18303 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
18304 s%@WX_ALL@%$WX_ALL%g
18305 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
18306 s%@SHARED_LD@%$SHARED_LD%g
18307 s%@PIC_FLAG@%$PIC_FLAG%g
18308 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
18309 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
18310 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
18311 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
18312 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
18313 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
18314 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
18315 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
18316 s%@USE_GUI@%$USE_GUI%g
18317 s%@AFMINSTALL@%$AFMINSTALL%g
18318 s%@SETUPH_DIR@%$SETUPH_DIR%g
18319 s%@TOOLKIT@%$TOOLKIT%g
18320 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
18321 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
18322 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
18323 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
18324 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
18325 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
18326 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
18327 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
18328 s%@GUIDIST@%$GUIDIST%g
18329 s%@PORT_FILES@%$PORT_FILES%g
18330 s%@DISTDIR@%$DISTDIR%g
18331 s%@RPM_SPEC@%$RPM_SPEC%g
18332 s%@RPM_FILES@%$RPM_FILES%g
18333 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
18334 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
18335 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
18336 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
18337 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
18338 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
18339 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
18340 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
18341 s%@EXTRADEFS@%$EXTRADEFS%g
18342 s%@LD_LIBS@%$LD_LIBS%g
18343 s%@WXMSW_DLL_DEFINES@%$WXMSW_DLL_DEFINES%g
18344 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
18345 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
18346 s%@RESPROGRAM@%$RESPROGRAM%g
18347 s%@RESCOMP@%$RESCOMP%g
18348 s%@RESFLAGS@%$RESFLAGS%g
18349 s%@REZFLAGS@%$REZFLAGS%g
18350 s%@DEREZFLAGS@%$DEREZFLAGS%g
18351 s%@LIBWXMACRES@%$LIBWXMACRES%g
18352 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
18353 s%@DLLTOOL@%$DLLTOOL%g
18354 s%@AS@%$AS%g
18355 s%@NM@%$NM%g
18356 s%@LD@%$LD%g
18357 s%@MAKEINFO@%$MAKEINFO%g
18358 s%@SET_MAKE@%$SET_MAKE%g
18359 s%@subdirs@%$subdirs%g
18360
18361 CEOF
18362 EOF
18363
18364 cat >> $CONFIG_STATUS <<\EOF
18365
18366 # Split the substitutions into bite-sized pieces for seds with
18367 # small command number limits, like on Digital OSF/1 and HP-UX.
18368 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
18369 ac_file=1 # Number of current file.
18370 ac_beg=1 # First line for current file.
18371 ac_end=$ac_max_sed_cmds # Line after last line for current file.
18372 ac_more_lines=:
18373 ac_sed_cmds=""
18374 while $ac_more_lines; do
18375 if test $ac_beg -gt 1; then
18376 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
18377 else
18378 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
18379 fi
18380 if test ! -s conftest.s$ac_file; then
18381 ac_more_lines=false
18382 rm -f conftest.s$ac_file
18383 else
18384 if test -z "$ac_sed_cmds"; then
18385 ac_sed_cmds="sed -f conftest.s$ac_file"
18386 else
18387 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
18388 fi
18389 ac_file=`expr $ac_file + 1`
18390 ac_beg=$ac_end
18391 ac_end=`expr $ac_end + $ac_max_sed_cmds`
18392 fi
18393 done
18394 if test -z "$ac_sed_cmds"; then
18395 ac_sed_cmds=cat
18396 fi
18397 EOF
18398
18399 cat >> $CONFIG_STATUS <<EOF
18400
18401 CONFIG_FILES=\${CONFIG_FILES-"wx-config
18402 src/make.env
18403 src/makeprog.env
18404 src/makelib.env
18405 Makefile
18406 "}
18407 EOF
18408 cat >> $CONFIG_STATUS <<\EOF
18409 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
18410 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18411 case "$ac_file" in
18412 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18413 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18414 *) ac_file_in="${ac_file}.in" ;;
18415 esac
18416
18417 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18418
18419 # Remove last slash and all that follows it. Not all systems have dirname.
18420 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18421 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18422 # The file is in a subdirectory.
18423 test ! -d "$ac_dir" && mkdir "$ac_dir"
18424 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
18425 # A "../" for each directory in $ac_dir_suffix.
18426 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18427 else
18428 ac_dir_suffix= ac_dots=
18429 fi
18430
18431 case "$ac_given_srcdir" in
18432 .) srcdir=.
18433 if test -z "$ac_dots"; then top_srcdir=.
18434 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18435 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
18436 *) # Relative path.
18437 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18438 top_srcdir="$ac_dots$ac_given_srcdir" ;;
18439 esac
18440
18441 case "$ac_given_INSTALL" in
18442 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18443 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18444 esac
18445
18446 echo creating "$ac_file"
18447 rm -f "$ac_file"
18448 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18449 case "$ac_file" in
18450 *Makefile*) ac_comsub="1i\\
18451 # $configure_input" ;;
18452 *) ac_comsub= ;;
18453 esac
18454
18455 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18456 sed -e "$ac_comsub
18457 s%@configure_input@%$configure_input%g
18458 s%@srcdir@%$srcdir%g
18459 s%@top_srcdir@%$top_srcdir%g
18460 s%@INSTALL@%$INSTALL%g
18461 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18462 fi; done
18463 rm -f conftest.s*
18464
18465 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18466 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18467 #
18468 # ac_d sets the value in "#define NAME VALUE" lines.
18469 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18470 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
18471 ac_dC='\3'
18472 ac_dD='%g'
18473 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18474 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18475 ac_uB='\([ ]\)%\1#\2define\3'
18476 ac_uC=' '
18477 ac_uD='\4%g'
18478 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18479 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18480 ac_eB='$%\1#\2define\3'
18481 ac_eC=' '
18482 ac_eD='%g'
18483
18484 if test "${CONFIG_HEADERS+set}" != set; then
18485 EOF
18486 cat >> $CONFIG_STATUS <<EOF
18487 CONFIG_HEADERS="setup.h:setup.h.in"
18488 EOF
18489 cat >> $CONFIG_STATUS <<\EOF
18490 fi
18491 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
18492 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18493 case "$ac_file" in
18494 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18495 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18496 *) ac_file_in="${ac_file}.in" ;;
18497 esac
18498
18499 echo creating $ac_file
18500
18501 rm -f conftest.frag conftest.in conftest.out
18502 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18503 cat $ac_file_inputs > conftest.in
18504
18505 EOF
18506
18507 # Transform confdefs.h into a sed script conftest.vals that substitutes
18508 # the proper values into config.h.in to produce config.h. And first:
18509 # Protect against being on the right side of a sed subst in config.status.
18510 # Protect against being in an unquoted here document in config.status.
18511 rm -f conftest.vals
18512 cat > conftest.hdr <<\EOF
18513 s/[\\&%]/\\&/g
18514 s%[\\$`]%\\&%g
18515 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18516 s%ac_d%ac_u%gp
18517 s%ac_u%ac_e%gp
18518 EOF
18519 sed -n -f conftest.hdr confdefs.h > conftest.vals
18520 rm -f conftest.hdr
18521
18522 # This sed command replaces #undef with comments. This is necessary, for
18523 # example, in the case of _POSIX_SOURCE, which is predefined and required
18524 # on some systems where configure will not decide to define it.
18525 cat >> conftest.vals <<\EOF
18526 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18527 EOF
18528
18529 # Break up conftest.vals because some shells have a limit on
18530 # the size of here documents, and old seds have small limits too.
18531
18532 rm -f conftest.tail
18533 while :
18534 do
18535 ac_lines=`grep -c . conftest.vals`
18536 # grep -c gives empty output for an empty file on some AIX systems.
18537 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18538 # Write a limited-size here document to conftest.frag.
18539 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18540 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18541 echo 'CEOF
18542 sed -f conftest.frag conftest.in > conftest.out
18543 rm -f conftest.in
18544 mv conftest.out conftest.in
18545 ' >> $CONFIG_STATUS
18546 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18547 rm -f conftest.vals
18548 mv conftest.tail conftest.vals
18549 done
18550 rm -f conftest.vals
18551
18552 cat >> $CONFIG_STATUS <<\EOF
18553 rm -f conftest.frag conftest.h
18554 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18555 cat conftest.in >> conftest.h
18556 rm -f conftest.in
18557 if cmp -s $ac_file conftest.h 2>/dev/null; then
18558 echo "$ac_file is unchanged"
18559 rm -f conftest.h
18560 else
18561 # Remove last slash and all that follows it. Not all systems have dirname.
18562 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18563 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18564 # The file is in a subdirectory.
18565 test ! -d "$ac_dir" && mkdir "$ac_dir"
18566 fi
18567 rm -f $ac_file
18568 mv conftest.h $ac_file
18569 fi
18570 fi; done
18571
18572 EOF
18573 cat >> $CONFIG_STATUS <<EOF
18574
18575 SETUPH_DIR="${SETUPH_DIR}"
18576 TOOLKIT_NAME="${TOOLKIT_NAME}"
18577 LN_S="${LN_S}"
18578
18579
18580 EOF
18581 cat >> $CONFIG_STATUS <<\EOF
18582
18583 if test ! -f wx${TOOLKIT_NAME}-config; then
18584 chmod +x wx-config
18585 mv wx-config wx${TOOLKIT_NAME}-config
18586 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
18587 fi
18588
18589
18590 if test ! -d lib; then
18591 mkdir lib
18592 fi
18593 if test ! -d lib/wx; then
18594 mkdir lib/wx
18595 fi
18596 if test ! -d lib/wx/include; then
18597 mkdir lib/wx/include
18598 fi
18599 if test ! -d lib/wx/include/wx; then
18600 mkdir lib/wx/include/wx
18601 fi
18602 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
18603 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
18604 fi
18605 if test -f setup.h; then
18606 cp -fp setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
18607 fi
18608
18609
18610 if test ! -d include; then
18611 mkdir include
18612 fi
18613 if test ! -d include/wx; then
18614 mkdir include/wx
18615 fi
18616 if test ! -d include/wx/${SETUPH_DIR}; then
18617 mkdir include/wx/${SETUPH_DIR}
18618 fi
18619 if test -f setup.h; then
18620 cp -fp setup.h include/wx/${SETUPH_DIR}/setup.h
18621 fi
18622
18623
18624 exit 0
18625 EOF
18626 chmod +x $CONFIG_STATUS
18627 rm -fr confdefs* $ac_clean_files
18628 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18629
18630 if test "$no_recursion" != yes; then
18631
18632 # Remove --cache-file and --srcdir arguments so they do not pile up.
18633 ac_sub_configure_args=
18634 ac_prev=
18635 for ac_arg in $ac_configure_args; do
18636 if test -n "$ac_prev"; then
18637 ac_prev=
18638 continue
18639 fi
18640 case "$ac_arg" in
18641 -cache-file | --cache-file | --cache-fil | --cache-fi \
18642 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
18643 ac_prev=cache_file ;;
18644 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
18645 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
18646 ;;
18647 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
18648 ac_prev=srcdir ;;
18649 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
18650 ;;
18651 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
18652 esac
18653 done
18654
18655 for ac_config_dir in demos samples utils contrib; do
18656
18657 # Do not complain, so a configure script can configure whichever
18658 # parts of a large source tree are present.
18659 if test ! -d $srcdir/$ac_config_dir; then
18660 continue
18661 fi
18662
18663 echo configuring in $ac_config_dir
18664
18665 case "$srcdir" in
18666 .) ;;
18667 *)
18668 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
18669 else
18670 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
18671 fi
18672 ;;
18673 esac
18674
18675 ac_popdir=`pwd`
18676 cd $ac_config_dir
18677
18678 # A "../" for each directory in /$ac_config_dir.
18679 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
18680
18681 case "$srcdir" in
18682 .) # No --srcdir option. We are building in place.
18683 ac_sub_srcdir=$srcdir ;;
18684 /*) # Absolute path.
18685 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
18686 *) # Relative path.
18687 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
18688 esac
18689
18690 # Check for guested configure; otherwise get Cygnus style configure.
18691 if test -f $ac_sub_srcdir/configure; then
18692 ac_sub_configure=$ac_sub_srcdir/configure
18693 elif test -f $ac_sub_srcdir/configure.in; then
18694 ac_sub_configure=$ac_configure
18695 else
18696 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
18697 ac_sub_configure=
18698 fi
18699
18700 # The recursion is here.
18701 if test -n "$ac_sub_configure"; then
18702
18703 # Make the cache file name correct relative to the subdirectory.
18704 case "$cache_file" in
18705 /*) ac_sub_cache_file=$cache_file ;;
18706 *) # Relative path.
18707 ac_sub_cache_file="$ac_dots$cache_file" ;;
18708 esac
18709 case "$ac_given_INSTALL" in
18710 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18711 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18712 esac
18713
18714 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
18715 # The eval makes quoting arguments work.
18716 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
18717 then :
18718 else
18719 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
18720 fi
18721 fi
18722
18723 cd $ac_popdir
18724 done
18725 fi
18726
18727