]> git.saurik.com Git - wxWidgets.git/blob - configure
added wxUSE_SPLASH
[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 if test "$USE_LINUX" = 1; then
1324 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1325 echo "configure:1326: checking for gettext in -lc" >&5
1326 ac_lib_var=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1327 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1328 echo $ac_n "(cached) $ac_c" 1>&6
1329 else
1330 ac_save_LIBS="$LIBS"
1331 LIBS="-lc $LIBS"
1332 cat > conftest.$ac_ext <<EOF
1333 #line 1334 "configure"
1334 #include "confdefs.h"
1335 /* Override any gcc2 internal prototype to avoid an error. */
1336 /* We use char because int might match the return type of a gcc2
1337 builtin and then its argument prototype would still apply. */
1338 char gettext();
1339
1340 int main() {
1341 gettext()
1342 ; return 0; }
1343 EOF
1344 if { (eval echo configure:1345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1345 rm -rf conftest*
1346 eval "ac_cv_lib_$ac_lib_var=yes"
1347 else
1348 echo "configure: failed program was:" >&5
1349 cat conftest.$ac_ext >&5
1350 rm -rf conftest*
1351 eval "ac_cv_lib_$ac_lib_var=no"
1352 fi
1353 rm -f conftest*
1354 LIBS="$ac_save_LIBS"
1355
1356 fi
1357 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1358 echo "$ac_t""yes" 1>&6
1359 cat >> confdefs.h <<\EOF
1360 #define wxHAVE_GLIBC2 1
1361 EOF
1362
1363 else
1364 echo "$ac_t""no" 1>&6
1365 fi
1366
1367 fi
1368
1369
1370
1371
1372 wx_arg_cache_file="configarg.cache"
1373 echo "loading argument cache $wx_arg_cache_file"
1374 rm -f ${wx_arg_cache_file}.tmp
1375 touch ${wx_arg_cache_file}.tmp
1376 touch ${wx_arg_cache_file}
1377
1378
1379 DEBUG_CONFIGURE=0
1380 if test $DEBUG_CONFIGURE = 1; then
1381 DEFAULT_wxUSE_UNIVERSAL=no
1382
1383 DEFAULT_wxUSE_THREADS=yes
1384
1385 DEFAULT_wxUSE_SHARED=yes
1386 DEFAULT_wxUSE_BURNT_NAME=no
1387 DEFAULT_wxUSE_OPTIMISE=no
1388 DEFAULT_wxUSE_PROFILE=no
1389 DEFAULT_wxUSE_NO_DEPS=no
1390 DEFAULT_wxUSE_NO_RTTI=no
1391 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1392 DEFAULT_wxUSE_PERMISSIVE=no
1393 DEFAULT_wxUSE_DEBUG_FLAG=yes
1394 DEFAULT_wxUSE_DEBUG_INFO=yes
1395 DEFAULT_wxUSE_DEBUG_GDB=yes
1396 DEFAULT_wxUSE_MEM_TRACING=no
1397 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1398 DEFAULT_wxUSE_DMALLOC=no
1399 DEFAULT_wxUSE_APPLE_IEEE=no
1400
1401 DEFAULT_wxUSE_LOG=yes
1402 DEFAULT_wxUSE_LOGWINDOW=no
1403 DEFAULT_wxUSE_LOGGUI=no
1404
1405 DEFAULT_wxUSE_GUI=yes
1406 DEFAULT_wxUSE_CONTROLS=no
1407
1408 DEFAULT_wxUSE_REGEX=no
1409 DEFAULT_wxUSE_ZLIB=no
1410 DEFAULT_wxUSE_LIBPNG=no
1411 DEFAULT_wxUSE_LIBJPEG=no
1412 DEFAULT_wxUSE_LIBTIFF=no
1413 DEFAULT_wxUSE_ODBC=no
1414 DEFAULT_wxUSE_FREETYPE=no
1415 DEFAULT_wxUSE_OPENGL=no
1416
1417 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1418 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1419 DEFAULT_wxUSE_STD_IOSTREAM=no
1420 DEFAULT_wxUSE_CMDLINE_PARSER=no
1421 DEFAULT_wxUSE_DATETIME=no
1422 DEFAULT_wxUSE_TIMEDATE=no
1423 DEFAULT_wxUSE_TIMER=no
1424 DEFAULT_wxUSE_STOPWATCH=no
1425 DEFAULT_wxUSE_FILE=no
1426 DEFAULT_wxUSE_FFILE=no
1427 DEFAULT_wxUSE_TEXTFILE=no
1428 DEFAULT_wxUSE_WAVE=no
1429 DEFAULT_wxUSE_INTL=no
1430 DEFAULT_wxUSE_CONFIG=no
1431 DEFAULT_wxUSE_FONTMAP=no
1432 DEFAULT_wxUSE_STREAMS=no
1433 DEFAULT_wxUSE_SOCKETS=no
1434 DEFAULT_wxUSE_DIALUP_MANAGER=no
1435 DEFAULT_wxUSE_SERIAL=no
1436 DEFAULT_wxUSE_JOYSTICK=no
1437 DEFAULT_wxUSE_DYNLIB_CLASS=no
1438 DEFAULT_wxUSE_LONGLONG=no
1439 DEFAULT_wxUSE_GEOMETRY=no
1440
1441 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
1442 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
1443 DEFAULT_wxUSE_POSTSCRIPT=no
1444
1445 DEFAULT_wxUSE_X_RESOURCES=no
1446 DEFAULT_wxUSE_CLIPBOARD=no
1447 DEFAULT_wxUSE_TOOLTIPS=no
1448 DEFAULT_wxUSE_DRAG_AND_DROP=no
1449 DEFAULT_wxUSE_DRAGIMAGE=no
1450 DEFAULT_wxUSE_SPLINES=no
1451
1452 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
1453 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
1454 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
1455
1456 DEFAULT_wxUSE_PROLOGIO=no
1457 DEFAULT_wxUSE_RESOURCES=no
1458 DEFAULT_wxUSE_CONSTRAINTS=no
1459 DEFAULT_wxUSE_IPC=no
1460 DEFAULT_wxUSE_HELP=no
1461 DEFAULT_wxUSE_MS_HTML_HELP=no
1462 DEFAULT_wxUSE_WXHTML_HELP=no
1463 DEFAULT_wxUSE_TREELAYOUT=no
1464 DEFAULT_wxUSE_METAFILE=no
1465 DEFAULT_wxUSE_MIMETYPE=no
1466 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
1467
1468 DEFAULT_wxUSE_COMMONDLGS=no
1469 DEFAULT_wxUSE_CHOICEDLG=no
1470 DEFAULT_wxUSE_COLOURDLG=no
1471 DEFAULT_wxUSE_DIRDLG=no
1472 DEFAULT_wxUSE_FILEDLG=no
1473 DEFAULT_wxUSE_FINDREPLDLG=no
1474 DEFAULT_wxUSE_FONTDLG=no
1475 DEFAULT_wxUSE_MSGDLG=no
1476 DEFAULT_wxUSE_NUMBERDLG=no
1477 DEFAULT_wxUSE_TEXTDLG=no
1478 DEFAULT_wxUSE_SPLASH=no
1479 DEFAULT_wxUSE_STARTUP_TIPS=no
1480 DEFAULT_wxUSE_PROGRESSDLG=no
1481 DEFAULT_wxUSE_WIZARDDLG=no
1482
1483 DEFAULT_wxUSE_MENUS=no
1484 DEFAULT_wxUSE_MINIFRAME=no
1485 DEFAULT_wxUSE_HTML=no
1486 DEFAULT_wxUSE_FILESYSTEM=no
1487 DEFAULT_wxUSE_FS_INET=no
1488 DEFAULT_wxUSE_FS_ZIP=no
1489 DEFAULT_wxUSE_BUSYINFO=no
1490 DEFAULT_wxUSE_ZIPSTREAM=no
1491 DEFAULT_wxUSE_VALIDATORS=no
1492
1493 DEFAULT_wxUSE_ACCEL=no
1494 DEFAULT_wxUSE_BUTTON=no
1495 DEFAULT_wxUSE_BMPBUTTON=no
1496 DEFAULT_wxUSE_CALCTRL=no
1497 DEFAULT_wxUSE_CARET=no
1498 DEFAULT_wxUSE_CHECKBOX=no
1499 DEFAULT_wxUSE_CHECKLST=no
1500 DEFAULT_wxUSE_CHOICE=no
1501 DEFAULT_wxUSE_COMBOBOX=no
1502 DEFAULT_wxUSE_GAUGE=no
1503 DEFAULT_wxUSE_GRID=no
1504 DEFAULT_wxUSE_NEW_GRID=no
1505 DEFAULT_wxUSE_IMAGLIST=no
1506 DEFAULT_wxUSE_LISTBOX=no
1507 DEFAULT_wxUSE_LISTCTRL=no
1508 DEFAULT_wxUSE_NOTEBOOK=no
1509 DEFAULT_wxUSE_PROPSHEET=no
1510 DEFAULT_wxUSE_RADIOBOX=no
1511 DEFAULT_wxUSE_RADIOBTN=no
1512 DEFAULT_wxUSE_SASH=no
1513 DEFAULT_wxUSE_SCROLLBAR=no
1514 DEFAULT_wxUSE_SLIDER=no
1515 DEFAULT_wxUSE_SPINBTN=no
1516 DEFAULT_wxUSE_SPINCTRL=no
1517 DEFAULT_wxUSE_SPLITTER=no
1518 DEFAULT_wxUSE_STATBMP=no
1519 DEFAULT_wxUSE_STATBOX=no
1520 DEFAULT_wxUSE_STATLINE=no
1521 DEFAULT_wxUSE_STATTEXT=no
1522 DEFAULT_wxUSE_STATUSBAR=yes
1523 DEFAULT_wxUSE_TABDIALOG=no
1524 DEFAULT_wxUSE_TEXTCTRL=no
1525 DEFAULT_wxUSE_TOGGLEBTN=no
1526 DEFAULT_wxUSE_TOOLBAR=no
1527 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
1528 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
1529 DEFAULT_wxUSE_TREECTRL=no
1530 DEFAULT_wxUSE_POPUPWIN=no
1531
1532 DEFAULT_wxUSE_UNICODE=no
1533 DEFAULT_wxUSE_WCSRTOMBS=no
1534
1535 DEFAULT_wxUSE_IMAGE=no
1536 DEFAULT_wxUSE_GIF=no
1537 DEFAULT_wxUSE_PCX=no
1538 DEFAULT_wxUSE_PNM=no
1539 DEFAULT_wxUSE_XPM=no
1540 else
1541 DEFAULT_wxUSE_UNIVERSAL=no
1542
1543 DEFAULT_wxUSE_THREADS=yes
1544
1545 DEFAULT_wxUSE_SHARED=yes
1546 DEFAULT_wxUSE_BURNT_NAME=no
1547 DEFAULT_wxUSE_OPTIMISE=yes
1548 DEFAULT_wxUSE_PROFILE=no
1549 DEFAULT_wxUSE_NO_DEPS=no
1550 DEFAULT_wxUSE_NO_RTTI=no
1551 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1552 DEFAULT_wxUSE_PERMISSIVE=no
1553 DEFAULT_wxUSE_DEBUG_FLAG=no
1554 DEFAULT_wxUSE_DEBUG_INFO=no
1555 DEFAULT_wxUSE_DEBUG_GDB=no
1556 DEFAULT_wxUSE_MEM_TRACING=no
1557 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1558 DEFAULT_wxUSE_DMALLOC=no
1559 DEFAULT_wxUSE_APPLE_IEEE=yes
1560
1561 DEFAULT_wxUSE_LOG=yes
1562 DEFAULT_wxUSE_LOGWINDOW=yes
1563 DEFAULT_wxUSE_LOGGUI=yes
1564
1565 DEFAULT_wxUSE_GUI=yes
1566
1567 DEFAULT_wxUSE_REGEX=yes
1568 DEFAULT_wxUSE_ZLIB=yes
1569 DEFAULT_wxUSE_LIBPNG=yes
1570 DEFAULT_wxUSE_LIBJPEG=yes
1571 DEFAULT_wxUSE_LIBTIFF=yes
1572 DEFAULT_wxUSE_ODBC=no
1573 DEFAULT_wxUSE_FREETYPE=no
1574 DEFAULT_wxUSE_OPENGL=no
1575
1576 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
1577 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
1578 DEFAULT_wxUSE_STD_IOSTREAM=no
1579 DEFAULT_wxUSE_CMDLINE_PARSER=yes
1580 DEFAULT_wxUSE_DATETIME=yes
1581 DEFAULT_wxUSE_TIMEDATE=no
1582 DEFAULT_wxUSE_TIMER=yes
1583 DEFAULT_wxUSE_STOPWATCH=yes
1584 DEFAULT_wxUSE_FILE=yes
1585 DEFAULT_wxUSE_FFILE=yes
1586 DEFAULT_wxUSE_TEXTFILE=yes
1587 DEFAULT_wxUSE_WAVE=no
1588 DEFAULT_wxUSE_INTL=yes
1589 DEFAULT_wxUSE_CONFIG=yes
1590 DEFAULT_wxUSE_FONTMAP=yes
1591 DEFAULT_wxUSE_STREAMS=yes
1592 DEFAULT_wxUSE_SOCKETS=yes
1593 DEFAULT_wxUSE_DIALUP_MANAGER=yes
1594 DEFAULT_wxUSE_SERIAL=yes
1595 DEFAULT_wxUSE_JOYSTICK=yes
1596 DEFAULT_wxUSE_DYNLIB_CLASS=yes
1597 DEFAULT_wxUSE_LONGLONG=yes
1598 DEFAULT_wxUSE_GEOMETRY=yes
1599
1600 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
1601 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
1602 DEFAULT_wxUSE_POSTSCRIPT=yes
1603
1604 DEFAULT_wxUSE_X_RESOURCES=no
1605 DEFAULT_wxUSE_CLIPBOARD=yes
1606 DEFAULT_wxUSE_TOOLTIPS=yes
1607 DEFAULT_wxUSE_DRAG_AND_DROP=yes
1608 DEFAULT_wxUSE_DRAGIMAGE=yes
1609 DEFAULT_wxUSE_SPLINES=yes
1610
1611 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
1612 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
1613 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
1614
1615 DEFAULT_wxUSE_PROLOGIO=yes
1616 DEFAULT_wxUSE_RESOURCES=yes
1617 DEFAULT_wxUSE_CONSTRAINTS=yes
1618 DEFAULT_wxUSE_IPC=yes
1619 DEFAULT_wxUSE_HELP=yes
1620 DEFAULT_wxUSE_MS_HTML_HELP=yes
1621 DEFAULT_wxUSE_WXHTML_HELP=yes
1622 DEFAULT_wxUSE_TREELAYOUT=yes
1623 DEFAULT_wxUSE_METAFILE=yes
1624 DEFAULT_wxUSE_MIMETYPE=yes
1625 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
1626
1627 DEFAULT_wxUSE_COMMONDLGS=yes
1628 DEFAULT_wxUSE_CHOICEDLG=yes
1629 DEFAULT_wxUSE_COLOURDLG=yes
1630 DEFAULT_wxUSE_DIRDLG=yes
1631 DEFAULT_wxUSE_FILEDLG=yes
1632 DEFAULT_wxUSE_FINDREPLDLG=yes
1633 DEFAULT_wxUSE_FONTDLG=yes
1634 DEFAULT_wxUSE_MSGDLG=yes
1635 DEFAULT_wxUSE_NUMBERDLG=yes
1636 DEFAULT_wxUSE_TEXTDLG=yes
1637 DEFAULT_wxUSE_SPLASH=yes
1638 DEFAULT_wxUSE_STARTUP_TIPS=yes
1639 DEFAULT_wxUSE_PROGRESSDLG=yes
1640 DEFAULT_wxUSE_WIZARDDLG=yes
1641
1642 DEFAULT_wxUSE_MENUS=yes
1643 DEFAULT_wxUSE_MINIFRAME=yes
1644 DEFAULT_wxUSE_HTML=yes
1645 DEFAULT_wxUSE_FILESYSTEM=yes
1646 DEFAULT_wxUSE_FS_INET=yes
1647 DEFAULT_wxUSE_FS_ZIP=yes
1648 DEFAULT_wxUSE_BUSYINFO=yes
1649 DEFAULT_wxUSE_ZIPSTREAM=yes
1650 DEFAULT_wxUSE_VALIDATORS=yes
1651
1652 DEFAULT_wxUSE_ACCEL=yes
1653 DEFAULT_wxUSE_BUTTON=yes
1654 DEFAULT_wxUSE_BMPBUTTON=yes
1655 DEFAULT_wxUSE_CALCTRL=yes
1656 DEFAULT_wxUSE_CARET=yes
1657 DEFAULT_wxUSE_CHECKBOX=yes
1658 DEFAULT_wxUSE_CHECKLST=yes
1659 DEFAULT_wxUSE_CHOICE=yes
1660 DEFAULT_wxUSE_COMBOBOX=yes
1661 DEFAULT_wxUSE_GAUGE=yes
1662 DEFAULT_wxUSE_GRID=yes
1663 DEFAULT_wxUSE_NEW_GRID=yes
1664 DEFAULT_wxUSE_IMAGLIST=yes
1665 DEFAULT_wxUSE_LISTBOX=yes
1666 DEFAULT_wxUSE_LISTCTRL=yes
1667 DEFAULT_wxUSE_NOTEBOOK=yes
1668 DEFAULT_wxUSE_PROPSHEET=yes
1669 DEFAULT_wxUSE_RADIOBOX=yes
1670 DEFAULT_wxUSE_RADIOBTN=yes
1671 DEFAULT_wxUSE_SASH=yes
1672 DEFAULT_wxUSE_SCROLLBAR=yes
1673 DEFAULT_wxUSE_SLIDER=yes
1674 DEFAULT_wxUSE_SPINBTN=yes
1675 DEFAULT_wxUSE_SPINCTRL=yes
1676 DEFAULT_wxUSE_SPLITTER=yes
1677 DEFAULT_wxUSE_STATBMP=yes
1678 DEFAULT_wxUSE_STATBOX=yes
1679 DEFAULT_wxUSE_STATLINE=yes
1680 DEFAULT_wxUSE_STATTEXT=yes
1681 DEFAULT_wxUSE_STATUSBAR=yes
1682 DEFAULT_wxUSE_TABDIALOG=no
1683 DEFAULT_wxUSE_TEXTCTRL=yes
1684 DEFAULT_wxUSE_TOGGLEBTN=yes
1685 DEFAULT_wxUSE_TOOLBAR=yes
1686 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
1687 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
1688 DEFAULT_wxUSE_TREECTRL=yes
1689 DEFAULT_wxUSE_POPUPWIN=yes
1690
1691 DEFAULT_wxUSE_UNICODE=no
1692 DEFAULT_wxUSE_WCSRTOMBS=no
1693
1694 DEFAULT_wxUSE_IMAGE=yes
1695 DEFAULT_wxUSE_GIF=yes
1696 DEFAULT_wxUSE_PCX=yes
1697 DEFAULT_wxUSE_PNM=yes
1698 DEFAULT_wxUSE_XPM=yes
1699 fi
1700
1701
1702
1703 for toolkit in `echo $ALL_TOOLKITS`; do
1704 LINE=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1705 if test "x$LINE" != x ; then
1706 has_toolkit_in_cache=1
1707 eval "DEFAULT_$LINE"
1708 eval "CACHE_$toolkit=1"
1709 fi
1710 done
1711
1712
1713
1714 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1715 echo "configure:1716: checking for --enable-gui" >&5
1716 no_cache=0
1717 # Check whether --enable-gui or --disable-gui was given.
1718 if test "${enable_gui+set}" = set; then
1719 enableval="$enable_gui"
1720
1721 if test "$enableval" = yes; then
1722 ac_cv_use_gui='wxUSE_GUI=yes'
1723 else
1724 ac_cv_use_gui='wxUSE_GUI=no'
1725 fi
1726
1727 else
1728
1729 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1730 if test "x$LINE" != x ; then
1731 eval "DEFAULT_$LINE"
1732 else
1733 no_cache=1
1734 fi
1735
1736 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1737
1738 fi
1739
1740
1741 eval "$ac_cv_use_gui"
1742 if test "$no_cache" != 1; then
1743 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1744 fi
1745
1746 if test "$wxUSE_GUI" = yes; then
1747 echo "$ac_t""yes" 1>&6
1748 else
1749 echo "$ac_t""no" 1>&6
1750 fi
1751
1752
1753 if test "$wxUSE_GUI" = "yes"; then
1754
1755
1756 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1757 echo "configure:1758: checking for --enable-universal" >&5
1758 no_cache=0
1759 # Check whether --enable-universal or --disable-universal was given.
1760 if test "${enable_universal+set}" = set; then
1761 enableval="$enable_universal"
1762
1763 if test "$enableval" = yes; then
1764 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
1765 else
1766 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
1767 fi
1768
1769 else
1770
1771 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1772 if test "x$LINE" != x ; then
1773 eval "DEFAULT_$LINE"
1774 else
1775 no_cache=1
1776 fi
1777
1778 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1779
1780 fi
1781
1782
1783 eval "$ac_cv_use_universal"
1784 if test "$no_cache" != 1; then
1785 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1786 fi
1787
1788 if test "$wxUSE_UNIVERSAL" = yes; then
1789 echo "$ac_t""yes" 1>&6
1790 else
1791 echo "$ac_t""no" 1>&6
1792 fi
1793
1794 # Check whether --with-gtk or --without-gtk was given.
1795 if test "${with_gtk+set}" = set; then
1796 withval="$with_gtk"
1797 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
1798 fi
1799
1800 # Check whether --with-motif or --without-motif was given.
1801 if test "${with_motif+set}" = set; then
1802 withval="$with_motif"
1803 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
1804 fi
1805
1806 # Check whether --with-mac or --without-mac was given.
1807 if test "${with_mac+set}" = set; then
1808 withval="$with_mac"
1809 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
1810 fi
1811
1812 # Check whether --with-wine or --without-wine was given.
1813 if test "${with_wine+set}" = set; then
1814 withval="$with_wine"
1815 wxUSE_WINE="$withval" CACHE_WINE=1 TOOLKIT_GIVEN=1
1816 fi
1817
1818 # Check whether --with-cygwin or --without-cygwin was given.
1819 if test "${with_cygwin+set}" = set; then
1820 withval="$with_cygwin"
1821 wxUSE_CYGWIN="$withval" CACHE_CYGWIN=1 TOOLKIT_GIVEN=1
1822 fi
1823
1824 # Check whether --with-mingw or --without-mingw was given.
1825 if test "${with_mingw+set}" = set; then
1826 withval="$with_mingw"
1827 wxUSE_MINGW="$withval" CACHE_MINGW=1 TOOLKIT_GIVEN=1
1828 fi
1829
1830 # Check whether --with-pm or --without-pm was given.
1831 if test "${with_pm+set}" = set; then
1832 withval="$with_pm"
1833 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
1834 fi
1835
1836 # Check whether --with-mgl or --without-mgl was given.
1837 if test "${with_mgl+set}" = set; then
1838 withval="$with_mgl"
1839 wxUSE_MGL="$withval" CACHE_MGL=1 TOOLKIT_GIVEN=1
1840 fi
1841
1842
1843 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1844 if test "${enable_gtk2+set}" = set; then
1845 enableval="$enable_gtk2"
1846 wxUSE_GTK2=1
1847 else
1848 wxUSE_GTK2=0
1849 fi
1850
1851
1852
1853 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1854 echo "configure:1855: checking for --with-libpng" >&5
1855 no_cache=0
1856 # Check whether --with-libpng or --without-libpng was given.
1857 if test "${with_libpng+set}" = set; then
1858 withval="$with_libpng"
1859
1860 if test "$withval" = yes; then
1861 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
1862 elif test "$withval" = no; then
1863 ac_cv_use_libpng='wxUSE_LIBPNG=no'
1864 elif test "$withval" = sys; then
1865 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
1866 else
1867 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1868 fi
1869
1870 else
1871
1872 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1873 if test "x$LINE" != x ; then
1874 eval "DEFAULT_$LINE"
1875 else
1876 no_cache=1
1877 fi
1878
1879 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1880
1881 fi
1882
1883
1884 eval "$ac_cv_use_libpng"
1885 if test "$no_cache" != 1; then
1886 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1887 fi
1888
1889 if test "$wxUSE_LIBPNG" = yes; then
1890 echo "$ac_t""yes" 1>&6
1891 elif test "$wxUSE_LIBPNG" = no; then
1892 echo "$ac_t""no" 1>&6
1893 elif test "$wxUSE_LIBPNG" = sys; then
1894 echo "$ac_t""system version" 1>&6
1895 else
1896 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1897 fi
1898
1899
1900 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1901 echo "configure:1902: checking for --with-libjpeg" >&5
1902 no_cache=0
1903 # Check whether --with-libjpeg or --without-libjpeg was given.
1904 if test "${with_libjpeg+set}" = set; then
1905 withval="$with_libjpeg"
1906
1907 if test "$withval" = yes; then
1908 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
1909 elif test "$withval" = no; then
1910 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
1911 elif test "$withval" = sys; then
1912 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
1913 else
1914 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1915 fi
1916
1917 else
1918
1919 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1920 if test "x$LINE" != x ; then
1921 eval "DEFAULT_$LINE"
1922 else
1923 no_cache=1
1924 fi
1925
1926 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1927
1928 fi
1929
1930
1931 eval "$ac_cv_use_libjpeg"
1932 if test "$no_cache" != 1; then
1933 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1934 fi
1935
1936 if test "$wxUSE_LIBJPEG" = yes; then
1937 echo "$ac_t""yes" 1>&6
1938 elif test "$wxUSE_LIBJPEG" = no; then
1939 echo "$ac_t""no" 1>&6
1940 elif test "$wxUSE_LIBJPEG" = sys; then
1941 echo "$ac_t""system version" 1>&6
1942 else
1943 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1944 fi
1945
1946
1947 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1948 echo "configure:1949: checking for --with-libtiff" >&5
1949 no_cache=0
1950 # Check whether --with-libtiff or --without-libtiff was given.
1951 if test "${with_libtiff+set}" = set; then
1952 withval="$with_libtiff"
1953
1954 if test "$withval" = yes; then
1955 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
1956 elif test "$withval" = no; then
1957 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
1958 elif test "$withval" = sys; then
1959 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
1960 else
1961 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1962 fi
1963
1964 else
1965
1966 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1967 if test "x$LINE" != x ; then
1968 eval "DEFAULT_$LINE"
1969 else
1970 no_cache=1
1971 fi
1972
1973 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1974
1975 fi
1976
1977
1978 eval "$ac_cv_use_libtiff"
1979 if test "$no_cache" != 1; then
1980 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1981 fi
1982
1983 if test "$wxUSE_LIBTIFF" = yes; then
1984 echo "$ac_t""yes" 1>&6
1985 elif test "$wxUSE_LIBTIFF" = no; then
1986 echo "$ac_t""no" 1>&6
1987 elif test "$wxUSE_LIBTIFF" = sys; then
1988 echo "$ac_t""system version" 1>&6
1989 else
1990 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1991 fi
1992
1993
1994 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1995 echo "configure:1996: checking for --with-freetype" >&5
1996 no_cache=0
1997 # Check whether --with-freetype or --without-freetype was given.
1998 if test "${with_freetype+set}" = set; then
1999 withval="$with_freetype"
2000
2001 if test "$withval" = yes; then
2002 ac_cv_use_freetype='wxUSE_FREETYPE=yes'
2003 elif test "$withval" = no; then
2004 ac_cv_use_freetype='wxUSE_FREETYPE=no'
2005 elif test "$withval" = sys; then
2006 ac_cv_use_freetype='wxUSE_FREETYPE=sys'
2007 else
2008 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2009 fi
2010
2011 else
2012
2013 LINE=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2014 if test "x$LINE" != x ; then
2015 eval "DEFAULT_$LINE"
2016 else
2017 no_cache=1
2018 fi
2019
2020 ac_cv_use_freetype='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2021
2022 fi
2023
2024
2025 eval "$ac_cv_use_freetype"
2026 if test "$no_cache" != 1; then
2027 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2028 fi
2029
2030 if test "$wxUSE_FREETYPE" = yes; then
2031 echo "$ac_t""yes" 1>&6
2032 elif test "$wxUSE_FREETYPE" = no; then
2033 echo "$ac_t""no" 1>&6
2034 elif test "$wxUSE_FREETYPE" = sys; then
2035 echo "$ac_t""system version" 1>&6
2036 else
2037 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2038 fi
2039
2040
2041 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2042 echo "configure:2043: checking for --with-opengl" >&5
2043 no_cache=0
2044 # Check whether --with-opengl or --without-opengl was given.
2045 if test "${with_opengl+set}" = set; then
2046 withval="$with_opengl"
2047
2048 if test "$withval" = yes; then
2049 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2050 else
2051 ac_cv_use_opengl='wxUSE_OPENGL=no'
2052 fi
2053
2054 else
2055
2056 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2057 if test "x$LINE" != x ; then
2058 eval "DEFAULT_$LINE"
2059 else
2060 no_cache=1
2061 fi
2062
2063 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2064
2065 fi
2066
2067
2068 eval "$ac_cv_use_opengl"
2069 if test "$no_cache" != 1; then
2070 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2071 fi
2072
2073 if test "$wxUSE_OPENGL" = yes; then
2074 echo "$ac_t""yes" 1>&6
2075 else
2076 echo "$ac_t""no" 1>&6
2077 fi
2078
2079
2080 fi
2081
2082
2083 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2084 echo "configure:2085: checking for --with-dmalloc" >&5
2085 no_cache=0
2086 # Check whether --with-dmalloc or --without-dmalloc was given.
2087 if test "${with_dmalloc+set}" = set; then
2088 withval="$with_dmalloc"
2089
2090 if test "$withval" = yes; then
2091 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2092 else
2093 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2094 fi
2095
2096 else
2097
2098 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2099 if test "x$LINE" != x ; then
2100 eval "DEFAULT_$LINE"
2101 else
2102 no_cache=1
2103 fi
2104
2105 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2106
2107 fi
2108
2109
2110 eval "$ac_cv_use_dmalloc"
2111 if test "$no_cache" != 1; then
2112 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2113 fi
2114
2115 if test "$wxUSE_DMALLOC" = yes; then
2116 echo "$ac_t""yes" 1>&6
2117 else
2118 echo "$ac_t""no" 1>&6
2119 fi
2120
2121
2122 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2123 echo "configure:2124: checking for --with-regex" >&5
2124 no_cache=0
2125 # Check whether --with-regex or --without-regex was given.
2126 if test "${with_regex+set}" = set; then
2127 withval="$with_regex"
2128
2129 if test "$withval" = yes; then
2130 ac_cv_use_regex='wxUSE_REGEX=yes'
2131 elif test "$withval" = no; then
2132 ac_cv_use_regex='wxUSE_REGEX=no'
2133 elif test "$withval" = sys; then
2134 ac_cv_use_regex='wxUSE_REGEX=sys'
2135 else
2136 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2137 fi
2138
2139 else
2140
2141 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2142 if test "x$LINE" != x ; then
2143 eval "DEFAULT_$LINE"
2144 else
2145 no_cache=1
2146 fi
2147
2148 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2149
2150 fi
2151
2152
2153 eval "$ac_cv_use_regex"
2154 if test "$no_cache" != 1; then
2155 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2156 fi
2157
2158 if test "$wxUSE_REGEX" = yes; then
2159 echo "$ac_t""yes" 1>&6
2160 elif test "$wxUSE_REGEX" = no; then
2161 echo "$ac_t""no" 1>&6
2162 elif test "$wxUSE_REGEX" = sys; then
2163 echo "$ac_t""system version" 1>&6
2164 else
2165 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2166 fi
2167
2168
2169 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2170 echo "configure:2171: checking for --with-zlib" >&5
2171 no_cache=0
2172 # Check whether --with-zlib or --without-zlib was given.
2173 if test "${with_zlib+set}" = set; then
2174 withval="$with_zlib"
2175
2176 if test "$withval" = yes; then
2177 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2178 elif test "$withval" = no; then
2179 ac_cv_use_zlib='wxUSE_ZLIB=no'
2180 elif test "$withval" = sys; then
2181 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2182 else
2183 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2184 fi
2185
2186 else
2187
2188 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2189 if test "x$LINE" != x ; then
2190 eval "DEFAULT_$LINE"
2191 else
2192 no_cache=1
2193 fi
2194
2195 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2196
2197 fi
2198
2199
2200 eval "$ac_cv_use_zlib"
2201 if test "$no_cache" != 1; then
2202 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2203 fi
2204
2205 if test "$wxUSE_ZLIB" = yes; then
2206 echo "$ac_t""yes" 1>&6
2207 elif test "$wxUSE_ZLIB" = no; then
2208 echo "$ac_t""no" 1>&6
2209 elif test "$wxUSE_ZLIB" = sys; then
2210 echo "$ac_t""system version" 1>&6
2211 else
2212 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2213 fi
2214
2215
2216 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2217 echo "configure:2218: checking for --with-odbc" >&5
2218 no_cache=0
2219 # Check whether --with-odbc or --without-odbc was given.
2220 if test "${with_odbc+set}" = set; then
2221 withval="$with_odbc"
2222
2223 if test "$withval" = yes; then
2224 ac_cv_use_odbc='wxUSE_ODBC=yes'
2225 else
2226 ac_cv_use_odbc='wxUSE_ODBC=no'
2227 fi
2228
2229 else
2230
2231 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2232 if test "x$LINE" != x ; then
2233 eval "DEFAULT_$LINE"
2234 else
2235 no_cache=1
2236 fi
2237
2238 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2239
2240 fi
2241
2242
2243 eval "$ac_cv_use_odbc"
2244 if test "$no_cache" != 1; then
2245 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2246 fi
2247
2248 if test "$wxUSE_ODBC" = yes; then
2249 echo "$ac_t""yes" 1>&6
2250 else
2251 echo "$ac_t""no" 1>&6
2252 fi
2253
2254
2255
2256
2257
2258 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2259 echo "configure:2260: checking for --enable-shared" >&5
2260 no_cache=0
2261 # Check whether --enable-shared or --disable-shared was given.
2262 if test "${enable_shared+set}" = set; then
2263 enableval="$enable_shared"
2264
2265 if test "$enableval" = yes; then
2266 ac_cv_use_shared='wxUSE_SHARED=yes'
2267 else
2268 ac_cv_use_shared='wxUSE_SHARED=no'
2269 fi
2270
2271 else
2272
2273 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2274 if test "x$LINE" != x ; then
2275 eval "DEFAULT_$LINE"
2276 else
2277 no_cache=1
2278 fi
2279
2280 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2281
2282 fi
2283
2284
2285 eval "$ac_cv_use_shared"
2286 if test "$no_cache" != 1; then
2287 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2288 fi
2289
2290 if test "$wxUSE_SHARED" = yes; then
2291 echo "$ac_t""yes" 1>&6
2292 else
2293 echo "$ac_t""no" 1>&6
2294 fi
2295
2296
2297 echo $ac_n "checking for --enable-burnt_name""... $ac_c" 1>&6
2298 echo "configure:2299: checking for --enable-burnt_name" >&5
2299 no_cache=0
2300 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2301 if test "${enable_burnt_name+set}" = set; then
2302 enableval="$enable_burnt_name"
2303
2304 if test "$enableval" = yes; then
2305 ac_cv_use_burnt_name='wxUSE_BURNT_NAME=yes'
2306 else
2307 ac_cv_use_burnt_name='wxUSE_BURNT_NAME=no'
2308 fi
2309
2310 else
2311
2312 LINE=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2313 if test "x$LINE" != x ; then
2314 eval "DEFAULT_$LINE"
2315 else
2316 no_cache=1
2317 fi
2318
2319 ac_cv_use_burnt_name='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2320
2321 fi
2322
2323
2324 eval "$ac_cv_use_burnt_name"
2325 if test "$no_cache" != 1; then
2326 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2327 fi
2328
2329 if test "$wxUSE_BURNT_NAME" = yes; then
2330 echo "$ac_t""yes" 1>&6
2331 else
2332 echo "$ac_t""no" 1>&6
2333 fi
2334
2335
2336 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2337 echo "configure:2338: checking for --enable-optimise" >&5
2338 no_cache=0
2339 # Check whether --enable-optimise or --disable-optimise was given.
2340 if test "${enable_optimise+set}" = set; then
2341 enableval="$enable_optimise"
2342
2343 if test "$enableval" = yes; then
2344 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
2345 else
2346 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
2347 fi
2348
2349 else
2350
2351 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2352 if test "x$LINE" != x ; then
2353 eval "DEFAULT_$LINE"
2354 else
2355 no_cache=1
2356 fi
2357
2358 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2359
2360 fi
2361
2362
2363 eval "$ac_cv_use_optimise"
2364 if test "$no_cache" != 1; then
2365 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2366 fi
2367
2368 if test "$wxUSE_OPTIMISE" = yes; then
2369 echo "$ac_t""yes" 1>&6
2370 else
2371 echo "$ac_t""no" 1>&6
2372 fi
2373
2374
2375 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2376 echo "configure:2377: checking for --enable-debug" >&5
2377 no_cache=0
2378 # Check whether --enable-debug or --disable-debug was given.
2379 if test "${enable_debug+set}" = set; then
2380 enableval="$enable_debug"
2381
2382 if test "$enableval" = yes; then
2383 ac_cv_use_debug='wxUSE_DEBUG=yes'
2384 else
2385 ac_cv_use_debug='wxUSE_DEBUG=no'
2386 fi
2387
2388 else
2389
2390 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2391 if test "x$LINE" != x ; then
2392 eval "DEFAULT_$LINE"
2393 else
2394 no_cache=1
2395 fi
2396
2397 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2398
2399 fi
2400
2401
2402 eval "$ac_cv_use_debug"
2403 if test "$no_cache" != 1; then
2404 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2405 fi
2406
2407 if test "$wxUSE_DEBUG" = yes; then
2408 echo "$ac_t""yes" 1>&6
2409 else
2410 echo "$ac_t""no" 1>&6
2411 fi
2412
2413
2414 if test "$wxUSE_DEBUG" = "yes"; then
2415 DEFAULT_wxUSE_DEBUG_FLAG=yes
2416 DEFAULT_wxUSE_DEBUG_INFO=yes
2417 elif test "$wxUSE_DEBUG" = "no"; then
2418 DEFAULT_wxUSE_DEBUG_FLAG=no
2419 DEFAULT_wxUSE_DEBUG_INFO=no
2420 fi
2421
2422
2423 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2424 echo "configure:2425: checking for --enable-debug_flag" >&5
2425 no_cache=0
2426 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2427 if test "${enable_debug_flag+set}" = set; then
2428 enableval="$enable_debug_flag"
2429
2430 if test "$enableval" = yes; then
2431 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
2432 else
2433 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
2434 fi
2435
2436 else
2437
2438 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2439 if test "x$LINE" != x ; then
2440 eval "DEFAULT_$LINE"
2441 else
2442 no_cache=1
2443 fi
2444
2445 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2446
2447 fi
2448
2449
2450 eval "$ac_cv_use_debug_flag"
2451 if test "$no_cache" != 1; then
2452 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2453 fi
2454
2455 if test "$wxUSE_DEBUG_FLAG" = yes; then
2456 echo "$ac_t""yes" 1>&6
2457 else
2458 echo "$ac_t""no" 1>&6
2459 fi
2460
2461
2462 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2463 echo "configure:2464: checking for --enable-debug_info" >&5
2464 no_cache=0
2465 # Check whether --enable-debug_info or --disable-debug_info was given.
2466 if test "${enable_debug_info+set}" = set; then
2467 enableval="$enable_debug_info"
2468
2469 if test "$enableval" = yes; then
2470 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
2471 else
2472 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
2473 fi
2474
2475 else
2476
2477 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2478 if test "x$LINE" != x ; then
2479 eval "DEFAULT_$LINE"
2480 else
2481 no_cache=1
2482 fi
2483
2484 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2485
2486 fi
2487
2488
2489 eval "$ac_cv_use_debug_info"
2490 if test "$no_cache" != 1; then
2491 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2492 fi
2493
2494 if test "$wxUSE_DEBUG_INFO" = yes; then
2495 echo "$ac_t""yes" 1>&6
2496 else
2497 echo "$ac_t""no" 1>&6
2498 fi
2499
2500
2501 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2502 echo "configure:2503: checking for --enable-debug_gdb" >&5
2503 no_cache=0
2504 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2505 if test "${enable_debug_gdb+set}" = set; then
2506 enableval="$enable_debug_gdb"
2507
2508 if test "$enableval" = yes; then
2509 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
2510 else
2511 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
2512 fi
2513
2514 else
2515
2516 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2517 if test "x$LINE" != x ; then
2518 eval "DEFAULT_$LINE"
2519 else
2520 no_cache=1
2521 fi
2522
2523 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2524
2525 fi
2526
2527
2528 eval "$ac_cv_use_debug_gdb"
2529 if test "$no_cache" != 1; then
2530 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2531 fi
2532
2533 if test "$wxUSE_DEBUG_GDB" = yes; then
2534 echo "$ac_t""yes" 1>&6
2535 else
2536 echo "$ac_t""no" 1>&6
2537 fi
2538
2539
2540 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2541 echo "configure:2542: checking for --enable-debug_cntxt" >&5
2542 no_cache=0
2543 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2544 if test "${enable_debug_cntxt+set}" = set; then
2545 enableval="$enable_debug_cntxt"
2546
2547 if test "$enableval" = yes; then
2548 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
2549 else
2550 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
2551 fi
2552
2553 else
2554
2555 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2556 if test "x$LINE" != x ; then
2557 eval "DEFAULT_$LINE"
2558 else
2559 no_cache=1
2560 fi
2561
2562 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2563
2564 fi
2565
2566
2567 eval "$ac_cv_use_debug_cntxt"
2568 if test "$no_cache" != 1; then
2569 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2570 fi
2571
2572 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2573 echo "$ac_t""yes" 1>&6
2574 else
2575 echo "$ac_t""no" 1>&6
2576 fi
2577
2578
2579 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2580 echo "configure:2581: checking for --enable-mem_tracing" >&5
2581 no_cache=0
2582 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2583 if test "${enable_mem_tracing+set}" = set; then
2584 enableval="$enable_mem_tracing"
2585
2586 if test "$enableval" = yes; then
2587 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
2588 else
2589 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
2590 fi
2591
2592 else
2593
2594 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2595 if test "x$LINE" != x ; then
2596 eval "DEFAULT_$LINE"
2597 else
2598 no_cache=1
2599 fi
2600
2601 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2602
2603 fi
2604
2605
2606 eval "$ac_cv_use_mem_tracing"
2607 if test "$no_cache" != 1; then
2608 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2609 fi
2610
2611 if test "$wxUSE_MEM_TRACING" = yes; then
2612 echo "$ac_t""yes" 1>&6
2613 else
2614 echo "$ac_t""no" 1>&6
2615 fi
2616
2617
2618 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2619 echo "configure:2620: checking for --enable-profile" >&5
2620 no_cache=0
2621 # Check whether --enable-profile or --disable-profile was given.
2622 if test "${enable_profile+set}" = set; then
2623 enableval="$enable_profile"
2624
2625 if test "$enableval" = yes; then
2626 ac_cv_use_profile='wxUSE_PROFILE=yes'
2627 else
2628 ac_cv_use_profile='wxUSE_PROFILE=no'
2629 fi
2630
2631 else
2632
2633 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2634 if test "x$LINE" != x ; then
2635 eval "DEFAULT_$LINE"
2636 else
2637 no_cache=1
2638 fi
2639
2640 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2641
2642 fi
2643
2644
2645 eval "$ac_cv_use_profile"
2646 if test "$no_cache" != 1; then
2647 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2648 fi
2649
2650 if test "$wxUSE_PROFILE" = yes; then
2651 echo "$ac_t""yes" 1>&6
2652 else
2653 echo "$ac_t""no" 1>&6
2654 fi
2655
2656
2657 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2658 echo "configure:2659: checking for --enable-no_rtti" >&5
2659 no_cache=0
2660 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2661 if test "${enable_no_rtti+set}" = set; then
2662 enableval="$enable_no_rtti"
2663
2664 if test "$enableval" = yes; then
2665 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
2666 else
2667 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
2668 fi
2669
2670 else
2671
2672 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2673 if test "x$LINE" != x ; then
2674 eval "DEFAULT_$LINE"
2675 else
2676 no_cache=1
2677 fi
2678
2679 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2680
2681 fi
2682
2683
2684 eval "$ac_cv_use_no_rtti"
2685 if test "$no_cache" != 1; then
2686 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2687 fi
2688
2689 if test "$wxUSE_NO_RTTI" = yes; then
2690 echo "$ac_t""yes" 1>&6
2691 else
2692 echo "$ac_t""no" 1>&6
2693 fi
2694
2695
2696 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2697 echo "configure:2698: checking for --enable-no_exceptions" >&5
2698 no_cache=0
2699 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2700 if test "${enable_no_exceptions+set}" = set; then
2701 enableval="$enable_no_exceptions"
2702
2703 if test "$enableval" = yes; then
2704 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
2705 else
2706 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
2707 fi
2708
2709 else
2710
2711 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2712 if test "x$LINE" != x ; then
2713 eval "DEFAULT_$LINE"
2714 else
2715 no_cache=1
2716 fi
2717
2718 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2719
2720 fi
2721
2722
2723 eval "$ac_cv_use_no_exceptions"
2724 if test "$no_cache" != 1; then
2725 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2726 fi
2727
2728 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2729 echo "$ac_t""yes" 1>&6
2730 else
2731 echo "$ac_t""no" 1>&6
2732 fi
2733
2734
2735 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2736 echo "configure:2737: checking for --enable-permissive" >&5
2737 no_cache=0
2738 # Check whether --enable-permissive or --disable-permissive was given.
2739 if test "${enable_permissive+set}" = set; then
2740 enableval="$enable_permissive"
2741
2742 if test "$enableval" = yes; then
2743 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
2744 else
2745 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
2746 fi
2747
2748 else
2749
2750 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2751 if test "x$LINE" != x ; then
2752 eval "DEFAULT_$LINE"
2753 else
2754 no_cache=1
2755 fi
2756
2757 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2758
2759 fi
2760
2761
2762 eval "$ac_cv_use_permissive"
2763 if test "$no_cache" != 1; then
2764 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2765 fi
2766
2767 if test "$wxUSE_PERMISSIVE" = yes; then
2768 echo "$ac_t""yes" 1>&6
2769 else
2770 echo "$ac_t""no" 1>&6
2771 fi
2772
2773
2774 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2775 echo "configure:2776: checking for --enable-no_deps" >&5
2776 no_cache=0
2777 # Check whether --enable-no_deps or --disable-no_deps was given.
2778 if test "${enable_no_deps+set}" = set; then
2779 enableval="$enable_no_deps"
2780
2781 if test "$enableval" = yes; then
2782 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
2783 else
2784 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
2785 fi
2786
2787 else
2788
2789 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2790 if test "x$LINE" != x ; then
2791 eval "DEFAULT_$LINE"
2792 else
2793 no_cache=1
2794 fi
2795
2796 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2797
2798 fi
2799
2800
2801 eval "$ac_cv_use_no_deps"
2802 if test "$no_cache" != 1; then
2803 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2804 fi
2805
2806 if test "$wxUSE_NO_DEPS" = yes; then
2807 echo "$ac_t""yes" 1>&6
2808 else
2809 echo "$ac_t""no" 1>&6
2810 fi
2811
2812
2813
2814 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2815 echo "configure:2816: checking for --enable-compat20" >&5
2816 no_cache=0
2817 # Check whether --enable-compat20 or --disable-compat20 was given.
2818 if test "${enable_compat20+set}" = set; then
2819 enableval="$enable_compat20"
2820
2821 if test "$enableval" = yes; then
2822 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
2823 else
2824 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
2825 fi
2826
2827 else
2828
2829 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2830 if test "x$LINE" != x ; then
2831 eval "DEFAULT_$LINE"
2832 else
2833 no_cache=1
2834 fi
2835
2836 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2837
2838 fi
2839
2840
2841 eval "$ac_cv_use_compat20"
2842 if test "$no_cache" != 1; then
2843 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2844 fi
2845
2846 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2847 echo "$ac_t""yes" 1>&6
2848 else
2849 echo "$ac_t""no" 1>&6
2850 fi
2851
2852
2853 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2854 echo "configure:2855: checking for --enable-compat22" >&5
2855 no_cache=0
2856 # Check whether --enable-compat22 or --disable-compat22 was given.
2857 if test "${enable_compat22+set}" = set; then
2858 enableval="$enable_compat22"
2859
2860 if test "$enableval" = yes; then
2861 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
2862 else
2863 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
2864 fi
2865
2866 else
2867
2868 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2869 if test "x$LINE" != x ; then
2870 eval "DEFAULT_$LINE"
2871 else
2872 no_cache=1
2873 fi
2874
2875 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2876
2877 fi
2878
2879
2880 eval "$ac_cv_use_compat22"
2881 if test "$no_cache" != 1; then
2882 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2883 fi
2884
2885 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2886 echo "$ac_t""yes" 1>&6
2887 else
2888 echo "$ac_t""no" 1>&6
2889 fi
2890
2891
2892
2893
2894 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2895 echo "configure:2896: checking for --enable-intl" >&5
2896 no_cache=0
2897 # Check whether --enable-intl or --disable-intl was given.
2898 if test "${enable_intl+set}" = set; then
2899 enableval="$enable_intl"
2900
2901 if test "$enableval" = yes; then
2902 ac_cv_use_intl='wxUSE_INTL=yes'
2903 else
2904 ac_cv_use_intl='wxUSE_INTL=no'
2905 fi
2906
2907 else
2908
2909 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2910 if test "x$LINE" != x ; then
2911 eval "DEFAULT_$LINE"
2912 else
2913 no_cache=1
2914 fi
2915
2916 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2917
2918 fi
2919
2920
2921 eval "$ac_cv_use_intl"
2922 if test "$no_cache" != 1; then
2923 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2924 fi
2925
2926 if test "$wxUSE_INTL" = yes; then
2927 echo "$ac_t""yes" 1>&6
2928 else
2929 echo "$ac_t""no" 1>&6
2930 fi
2931
2932
2933 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2934 echo "configure:2935: checking for --enable-config" >&5
2935 no_cache=0
2936 # Check whether --enable-config or --disable-config was given.
2937 if test "${enable_config+set}" = set; then
2938 enableval="$enable_config"
2939
2940 if test "$enableval" = yes; then
2941 ac_cv_use_config='wxUSE_CONFIG=yes'
2942 else
2943 ac_cv_use_config='wxUSE_CONFIG=no'
2944 fi
2945
2946 else
2947
2948 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2949 if test "x$LINE" != x ; then
2950 eval "DEFAULT_$LINE"
2951 else
2952 no_cache=1
2953 fi
2954
2955 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2956
2957 fi
2958
2959
2960 eval "$ac_cv_use_config"
2961 if test "$no_cache" != 1; then
2962 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2963 fi
2964
2965 if test "$wxUSE_CONFIG" = yes; then
2966 echo "$ac_t""yes" 1>&6
2967 else
2968 echo "$ac_t""no" 1>&6
2969 fi
2970
2971
2972
2973 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2974 echo "configure:2975: checking for --enable-sockets" >&5
2975 no_cache=0
2976 # Check whether --enable-sockets or --disable-sockets was given.
2977 if test "${enable_sockets+set}" = set; then
2978 enableval="$enable_sockets"
2979
2980 if test "$enableval" = yes; then
2981 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
2982 else
2983 ac_cv_use_sockets='wxUSE_SOCKETS=no'
2984 fi
2985
2986 else
2987
2988 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2989 if test "x$LINE" != x ; then
2990 eval "DEFAULT_$LINE"
2991 else
2992 no_cache=1
2993 fi
2994
2995 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2996
2997 fi
2998
2999
3000 eval "$ac_cv_use_sockets"
3001 if test "$no_cache" != 1; then
3002 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3003 fi
3004
3005 if test "$wxUSE_SOCKETS" = yes; then
3006 echo "$ac_t""yes" 1>&6
3007 else
3008 echo "$ac_t""no" 1>&6
3009 fi
3010
3011
3012
3013 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3014 echo "configure:3015: checking for --enable-ipc" >&5
3015 no_cache=0
3016 # Check whether --enable-ipc or --disable-ipc was given.
3017 if test "${enable_ipc+set}" = set; then
3018 enableval="$enable_ipc"
3019
3020 if test "$enableval" = yes; then
3021 ac_cv_use_ipc='wxUSE_IPC=yes'
3022 else
3023 ac_cv_use_ipc='wxUSE_IPC=no'
3024 fi
3025
3026 else
3027
3028 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3029 if test "x$LINE" != x ; then
3030 eval "DEFAULT_$LINE"
3031 else
3032 no_cache=1
3033 fi
3034
3035 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3036
3037 fi
3038
3039
3040 eval "$ac_cv_use_ipc"
3041 if test "$no_cache" != 1; then
3042 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3043 fi
3044
3045 if test "$wxUSE_IPC" = yes; then
3046 echo "$ac_t""yes" 1>&6
3047 else
3048 echo "$ac_t""no" 1>&6
3049 fi
3050
3051
3052
3053 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3054 echo "configure:3055: checking for --enable-cmdline" >&5
3055 no_cache=0
3056 # Check whether --enable-cmdline or --disable-cmdline was given.
3057 if test "${enable_cmdline+set}" = set; then
3058 enableval="$enable_cmdline"
3059
3060 if test "$enableval" = yes; then
3061 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
3062 else
3063 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
3064 fi
3065
3066 else
3067
3068 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3069 if test "x$LINE" != x ; then
3070 eval "DEFAULT_$LINE"
3071 else
3072 no_cache=1
3073 fi
3074
3075 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3076
3077 fi
3078
3079
3080 eval "$ac_cv_use_cmdline"
3081 if test "$no_cache" != 1; then
3082 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3083 fi
3084
3085 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3086 echo "$ac_t""yes" 1>&6
3087 else
3088 echo "$ac_t""no" 1>&6
3089 fi
3090
3091
3092 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3093 echo "configure:3094: checking for --enable-datetime" >&5
3094 no_cache=0
3095 # Check whether --enable-datetime or --disable-datetime was given.
3096 if test "${enable_datetime+set}" = set; then
3097 enableval="$enable_datetime"
3098
3099 if test "$enableval" = yes; then
3100 ac_cv_use_datetime='wxUSE_DATETIME=yes'
3101 else
3102 ac_cv_use_datetime='wxUSE_DATETIME=no'
3103 fi
3104
3105 else
3106
3107 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3108 if test "x$LINE" != x ; then
3109 eval "DEFAULT_$LINE"
3110 else
3111 no_cache=1
3112 fi
3113
3114 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3115
3116 fi
3117
3118
3119 eval "$ac_cv_use_datetime"
3120 if test "$no_cache" != 1; then
3121 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3122 fi
3123
3124 if test "$wxUSE_DATETIME" = yes; then
3125 echo "$ac_t""yes" 1>&6
3126 else
3127 echo "$ac_t""no" 1>&6
3128 fi
3129
3130
3131 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3132 echo "configure:3133: checking for --enable-timedate" >&5
3133 no_cache=0
3134 # Check whether --enable-timedate or --disable-timedate was given.
3135 if test "${enable_timedate+set}" = set; then
3136 enableval="$enable_timedate"
3137
3138 if test "$enableval" = yes; then
3139 ac_cv_use_timedate='wxUSE_TIMEDATE=yes'
3140 else
3141 ac_cv_use_timedate='wxUSE_TIMEDATE=no'
3142 fi
3143
3144 else
3145
3146 LINE=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3147 if test "x$LINE" != x ; then
3148 eval "DEFAULT_$LINE"
3149 else
3150 no_cache=1
3151 fi
3152
3153 ac_cv_use_timedate='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3154
3155 fi
3156
3157
3158 eval "$ac_cv_use_timedate"
3159 if test "$no_cache" != 1; then
3160 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3161 fi
3162
3163 if test "$wxUSE_TIMEDATE" = yes; then
3164 echo "$ac_t""yes" 1>&6
3165 else
3166 echo "$ac_t""no" 1>&6
3167 fi
3168
3169
3170 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3171 echo "configure:3172: checking for --enable-stopwatch" >&5
3172 no_cache=0
3173 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3174 if test "${enable_stopwatch+set}" = set; then
3175 enableval="$enable_stopwatch"
3176
3177 if test "$enableval" = yes; then
3178 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
3179 else
3180 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
3181 fi
3182
3183 else
3184
3185 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3186 if test "x$LINE" != x ; then
3187 eval "DEFAULT_$LINE"
3188 else
3189 no_cache=1
3190 fi
3191
3192 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3193
3194 fi
3195
3196
3197 eval "$ac_cv_use_stopwatch"
3198 if test "$no_cache" != 1; then
3199 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3200 fi
3201
3202 if test "$wxUSE_STOPWATCH" = yes; then
3203 echo "$ac_t""yes" 1>&6
3204 else
3205 echo "$ac_t""no" 1>&6
3206 fi
3207
3208
3209 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3210 echo "configure:3211: checking for --enable-dialupman" >&5
3211 no_cache=0
3212 # Check whether --enable-dialupman or --disable-dialupman was given.
3213 if test "${enable_dialupman+set}" = set; then
3214 enableval="$enable_dialupman"
3215
3216 if test "$enableval" = yes; then
3217 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
3218 else
3219 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
3220 fi
3221
3222 else
3223
3224 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3225 if test "x$LINE" != x ; then
3226 eval "DEFAULT_$LINE"
3227 else
3228 no_cache=1
3229 fi
3230
3231 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3232
3233 fi
3234
3235
3236 eval "$ac_cv_use_dialupman"
3237 if test "$no_cache" != 1; then
3238 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3239 fi
3240
3241 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3242 echo "$ac_t""yes" 1>&6
3243 else
3244 echo "$ac_t""no" 1>&6
3245 fi
3246
3247
3248 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3249 echo "configure:3250: checking for --enable-apple_ieee" >&5
3250 no_cache=0
3251 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3252 if test "${enable_apple_ieee+set}" = set; then
3253 enableval="$enable_apple_ieee"
3254
3255 if test "$enableval" = yes; then
3256 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
3257 else
3258 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
3259 fi
3260
3261 else
3262
3263 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3264 if test "x$LINE" != x ; then
3265 eval "DEFAULT_$LINE"
3266 else
3267 no_cache=1
3268 fi
3269
3270 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3271
3272 fi
3273
3274
3275 eval "$ac_cv_use_apple_ieee"
3276 if test "$no_cache" != 1; then
3277 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3278 fi
3279
3280 if test "$wxUSE_APPLE_IEEE" = yes; then
3281 echo "$ac_t""yes" 1>&6
3282 else
3283 echo "$ac_t""no" 1>&6
3284 fi
3285
3286
3287 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3288 echo "configure:3289: checking for --enable-timer" >&5
3289 no_cache=0
3290 # Check whether --enable-timer or --disable-timer was given.
3291 if test "${enable_timer+set}" = set; then
3292 enableval="$enable_timer"
3293
3294 if test "$enableval" = yes; then
3295 ac_cv_use_timer='wxUSE_TIMER=yes'
3296 else
3297 ac_cv_use_timer='wxUSE_TIMER=no'
3298 fi
3299
3300 else
3301
3302 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3303 if test "x$LINE" != x ; then
3304 eval "DEFAULT_$LINE"
3305 else
3306 no_cache=1
3307 fi
3308
3309 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3310
3311 fi
3312
3313
3314 eval "$ac_cv_use_timer"
3315 if test "$no_cache" != 1; then
3316 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3317 fi
3318
3319 if test "$wxUSE_TIMER" = yes; then
3320 echo "$ac_t""yes" 1>&6
3321 else
3322 echo "$ac_t""no" 1>&6
3323 fi
3324
3325
3326 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3327 echo "configure:3328: checking for --enable-wave" >&5
3328 no_cache=0
3329 # Check whether --enable-wave or --disable-wave was given.
3330 if test "${enable_wave+set}" = set; then
3331 enableval="$enable_wave"
3332
3333 if test "$enableval" = yes; then
3334 ac_cv_use_wave='wxUSE_WAVE=yes'
3335 else
3336 ac_cv_use_wave='wxUSE_WAVE=no'
3337 fi
3338
3339 else
3340
3341 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3342 if test "x$LINE" != x ; then
3343 eval "DEFAULT_$LINE"
3344 else
3345 no_cache=1
3346 fi
3347
3348 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3349
3350 fi
3351
3352
3353 eval "$ac_cv_use_wave"
3354 if test "$no_cache" != 1; then
3355 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3356 fi
3357
3358 if test "$wxUSE_WAVE" = yes; then
3359 echo "$ac_t""yes" 1>&6
3360 else
3361 echo "$ac_t""no" 1>&6
3362 fi
3363
3364
3365 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3366 echo "configure:3367: checking for --enable-fraction" >&5
3367 no_cache=0
3368 # Check whether --enable-fraction or --disable-fraction was given.
3369 if test "${enable_fraction+set}" = set; then
3370 enableval="$enable_fraction"
3371
3372 if test "$enableval" = yes; then
3373 ac_cv_use_fraction='wxUSE_FRACTION=yes'
3374 else
3375 ac_cv_use_fraction='wxUSE_FRACTION=no'
3376 fi
3377
3378 else
3379
3380 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3381 if test "x$LINE" != x ; then
3382 eval "DEFAULT_$LINE"
3383 else
3384 no_cache=1
3385 fi
3386
3387 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3388
3389 fi
3390
3391
3392 eval "$ac_cv_use_fraction"
3393 if test "$no_cache" != 1; then
3394 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3395 fi
3396
3397 if test "$wxUSE_FRACTION" = yes; then
3398 echo "$ac_t""yes" 1>&6
3399 else
3400 echo "$ac_t""no" 1>&6
3401 fi
3402
3403
3404 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3405 echo "configure:3406: checking for --enable-dynlib" >&5
3406 no_cache=0
3407 # Check whether --enable-dynlib or --disable-dynlib was given.
3408 if test "${enable_dynlib+set}" = set; then
3409 enableval="$enable_dynlib"
3410
3411 if test "$enableval" = yes; then
3412 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
3413 else
3414 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
3415 fi
3416
3417 else
3418
3419 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3420 if test "x$LINE" != x ; then
3421 eval "DEFAULT_$LINE"
3422 else
3423 no_cache=1
3424 fi
3425
3426 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3427
3428 fi
3429
3430
3431 eval "$ac_cv_use_dynlib"
3432 if test "$no_cache" != 1; then
3433 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3434 fi
3435
3436 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3437 echo "$ac_t""yes" 1>&6
3438 else
3439 echo "$ac_t""no" 1>&6
3440 fi
3441
3442
3443 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3444 echo "configure:3445: checking for --enable-longlong" >&5
3445 no_cache=0
3446 # Check whether --enable-longlong or --disable-longlong was given.
3447 if test "${enable_longlong+set}" = set; then
3448 enableval="$enable_longlong"
3449
3450 if test "$enableval" = yes; then
3451 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
3452 else
3453 ac_cv_use_longlong='wxUSE_LONGLONG=no'
3454 fi
3455
3456 else
3457
3458 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3459 if test "x$LINE" != x ; then
3460 eval "DEFAULT_$LINE"
3461 else
3462 no_cache=1
3463 fi
3464
3465 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3466
3467 fi
3468
3469
3470 eval "$ac_cv_use_longlong"
3471 if test "$no_cache" != 1; then
3472 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3473 fi
3474
3475 if test "$wxUSE_LONGLONG" = yes; then
3476 echo "$ac_t""yes" 1>&6
3477 else
3478 echo "$ac_t""no" 1>&6
3479 fi
3480
3481
3482 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3483 echo "configure:3484: checking for --enable-geometry" >&5
3484 no_cache=0
3485 # Check whether --enable-geometry or --disable-geometry was given.
3486 if test "${enable_geometry+set}" = set; then
3487 enableval="$enable_geometry"
3488
3489 if test "$enableval" = yes; then
3490 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
3491 else
3492 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
3493 fi
3494
3495 else
3496
3497 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3498 if test "x$LINE" != x ; then
3499 eval "DEFAULT_$LINE"
3500 else
3501 no_cache=1
3502 fi
3503
3504 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3505
3506 fi
3507
3508
3509 eval "$ac_cv_use_geometry"
3510 if test "$no_cache" != 1; then
3511 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3512 fi
3513
3514 if test "$wxUSE_GEOMETRY" = yes; then
3515 echo "$ac_t""yes" 1>&6
3516 else
3517 echo "$ac_t""no" 1>&6
3518 fi
3519
3520
3521 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3522 echo "configure:3523: checking for --enable-log" >&5
3523 no_cache=0
3524 # Check whether --enable-log or --disable-log was given.
3525 if test "${enable_log+set}" = set; then
3526 enableval="$enable_log"
3527
3528 if test "$enableval" = yes; then
3529 ac_cv_use_log='wxUSE_LOG=yes'
3530 else
3531 ac_cv_use_log='wxUSE_LOG=no'
3532 fi
3533
3534 else
3535
3536 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3537 if test "x$LINE" != x ; then
3538 eval "DEFAULT_$LINE"
3539 else
3540 no_cache=1
3541 fi
3542
3543 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3544
3545 fi
3546
3547
3548 eval "$ac_cv_use_log"
3549 if test "$no_cache" != 1; then
3550 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3551 fi
3552
3553 if test "$wxUSE_LOG" = yes; then
3554 echo "$ac_t""yes" 1>&6
3555 else
3556 echo "$ac_t""no" 1>&6
3557 fi
3558
3559
3560 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3561 echo "configure:3562: checking for --enable-streams" >&5
3562 no_cache=0
3563 # Check whether --enable-streams or --disable-streams was given.
3564 if test "${enable_streams+set}" = set; then
3565 enableval="$enable_streams"
3566
3567 if test "$enableval" = yes; then
3568 ac_cv_use_streams='wxUSE_STREAMS=yes'
3569 else
3570 ac_cv_use_streams='wxUSE_STREAMS=no'
3571 fi
3572
3573 else
3574
3575 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3576 if test "x$LINE" != x ; then
3577 eval "DEFAULT_$LINE"
3578 else
3579 no_cache=1
3580 fi
3581
3582 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3583
3584 fi
3585
3586
3587 eval "$ac_cv_use_streams"
3588 if test "$no_cache" != 1; then
3589 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3590 fi
3591
3592 if test "$wxUSE_STREAMS" = yes; then
3593 echo "$ac_t""yes" 1>&6
3594 else
3595 echo "$ac_t""no" 1>&6
3596 fi
3597
3598
3599 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3600 echo "configure:3601: checking for --enable-file" >&5
3601 no_cache=0
3602 # Check whether --enable-file or --disable-file was given.
3603 if test "${enable_file+set}" = set; then
3604 enableval="$enable_file"
3605
3606 if test "$enableval" = yes; then
3607 ac_cv_use_file='wxUSE_FILE=yes'
3608 else
3609 ac_cv_use_file='wxUSE_FILE=no'
3610 fi
3611
3612 else
3613
3614 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3615 if test "x$LINE" != x ; then
3616 eval "DEFAULT_$LINE"
3617 else
3618 no_cache=1
3619 fi
3620
3621 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3622
3623 fi
3624
3625
3626 eval "$ac_cv_use_file"
3627 if test "$no_cache" != 1; then
3628 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3629 fi
3630
3631 if test "$wxUSE_FILE" = yes; then
3632 echo "$ac_t""yes" 1>&6
3633 else
3634 echo "$ac_t""no" 1>&6
3635 fi
3636
3637
3638 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3639 echo "configure:3640: checking for --enable-ffile" >&5
3640 no_cache=0
3641 # Check whether --enable-ffile or --disable-ffile was given.
3642 if test "${enable_ffile+set}" = set; then
3643 enableval="$enable_ffile"
3644
3645 if test "$enableval" = yes; then
3646 ac_cv_use_ffile='wxUSE_FFILE=yes'
3647 else
3648 ac_cv_use_ffile='wxUSE_FFILE=no'
3649 fi
3650
3651 else
3652
3653 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3654 if test "x$LINE" != x ; then
3655 eval "DEFAULT_$LINE"
3656 else
3657 no_cache=1
3658 fi
3659
3660 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3661
3662 fi
3663
3664
3665 eval "$ac_cv_use_ffile"
3666 if test "$no_cache" != 1; then
3667 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3668 fi
3669
3670 if test "$wxUSE_FFILE" = yes; then
3671 echo "$ac_t""yes" 1>&6
3672 else
3673 echo "$ac_t""no" 1>&6
3674 fi
3675
3676
3677 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3678 echo "configure:3679: checking for --enable-textfile" >&5
3679 no_cache=0
3680 # Check whether --enable-textfile or --disable-textfile was given.
3681 if test "${enable_textfile+set}" = set; then
3682 enableval="$enable_textfile"
3683
3684 if test "$enableval" = yes; then
3685 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
3686 else
3687 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
3688 fi
3689
3690 else
3691
3692 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3693 if test "x$LINE" != x ; then
3694 eval "DEFAULT_$LINE"
3695 else
3696 no_cache=1
3697 fi
3698
3699 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3700
3701 fi
3702
3703
3704 eval "$ac_cv_use_textfile"
3705 if test "$no_cache" != 1; then
3706 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3707 fi
3708
3709 if test "$wxUSE_TEXTFILE" = yes; then
3710 echo "$ac_t""yes" 1>&6
3711 else
3712 echo "$ac_t""no" 1>&6
3713 fi
3714
3715
3716 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3717 echo "configure:3718: checking for --enable-fontmap" >&5
3718 no_cache=0
3719 # Check whether --enable-fontmap or --disable-fontmap was given.
3720 if test "${enable_fontmap+set}" = set; then
3721 enableval="$enable_fontmap"
3722
3723 if test "$enableval" = yes; then
3724 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
3725 else
3726 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
3727 fi
3728
3729 else
3730
3731 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3732 if test "x$LINE" != x ; then
3733 eval "DEFAULT_$LINE"
3734 else
3735 no_cache=1
3736 fi
3737
3738 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3739
3740 fi
3741
3742
3743 eval "$ac_cv_use_fontmap"
3744 if test "$no_cache" != 1; then
3745 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3746 fi
3747
3748 if test "$wxUSE_FONTMAP" = yes; then
3749 echo "$ac_t""yes" 1>&6
3750 else
3751 echo "$ac_t""no" 1>&6
3752 fi
3753
3754
3755 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3756 echo "configure:3757: checking for --enable-unicode" >&5
3757 no_cache=0
3758 # Check whether --enable-unicode or --disable-unicode was given.
3759 if test "${enable_unicode+set}" = set; then
3760 enableval="$enable_unicode"
3761
3762 if test "$enableval" = yes; then
3763 ac_cv_use_unicode='wxUSE_UNICODE=yes'
3764 else
3765 ac_cv_use_unicode='wxUSE_UNICODE=no'
3766 fi
3767
3768 else
3769
3770 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3771 if test "x$LINE" != x ; then
3772 eval "DEFAULT_$LINE"
3773 else
3774 no_cache=1
3775 fi
3776
3777 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3778
3779 fi
3780
3781
3782 eval "$ac_cv_use_unicode"
3783 if test "$no_cache" != 1; then
3784 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3785 fi
3786
3787 if test "$wxUSE_UNICODE" = yes; then
3788 echo "$ac_t""yes" 1>&6
3789 else
3790 echo "$ac_t""no" 1>&6
3791 fi
3792
3793
3794 echo $ac_n "checking for --enable-wcsrtombs""... $ac_c" 1>&6
3795 echo "configure:3796: checking for --enable-wcsrtombs" >&5
3796 no_cache=0
3797 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3798 if test "${enable_wcsrtombs+set}" = set; then
3799 enableval="$enable_wcsrtombs"
3800
3801 if test "$enableval" = yes; then
3802 ac_cv_use_wcsrtombs='wxUSE_WCSRTOMBS=yes'
3803 else
3804 ac_cv_use_wcsrtombs='wxUSE_WCSRTOMBS=no'
3805 fi
3806
3807 else
3808
3809 LINE=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3810 if test "x$LINE" != x ; then
3811 eval "DEFAULT_$LINE"
3812 else
3813 no_cache=1
3814 fi
3815
3816 ac_cv_use_wcsrtombs='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3817
3818 fi
3819
3820
3821 eval "$ac_cv_use_wcsrtombs"
3822 if test "$no_cache" != 1; then
3823 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3824 fi
3825
3826 if test "$wxUSE_WCSRTOMBS" = yes; then
3827 echo "$ac_t""yes" 1>&6
3828 else
3829 echo "$ac_t""no" 1>&6
3830 fi
3831
3832
3833 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3834 echo "configure:3835: checking for --enable-wxprintfv" >&5
3835 no_cache=0
3836 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3837 if test "${enable_wxprintfv+set}" = set; then
3838 enableval="$enable_wxprintfv"
3839
3840 if test "$enableval" = yes; then
3841 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
3842 else
3843 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
3844 fi
3845
3846 else
3847
3848 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3849 if test "x$LINE" != x ; then
3850 eval "DEFAULT_$LINE"
3851 else
3852 no_cache=1
3853 fi
3854
3855 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3856
3857 fi
3858
3859
3860 eval "$ac_cv_use_wxprintfv"
3861 if test "$no_cache" != 1; then
3862 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3863 fi
3864
3865 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3866 echo "$ac_t""yes" 1>&6
3867 else
3868 echo "$ac_t""no" 1>&6
3869 fi
3870
3871
3872 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3873 echo "configure:3874: checking for --enable-std_iostreams" >&5
3874 no_cache=0
3875 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3876 if test "${enable_std_iostreams+set}" = set; then
3877 enableval="$enable_std_iostreams"
3878
3879 if test "$enableval" = yes; then
3880 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
3881 else
3882 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
3883 fi
3884
3885 else
3886
3887 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3888 if test "x$LINE" != x ; then
3889 eval "DEFAULT_$LINE"
3890 else
3891 no_cache=1
3892 fi
3893
3894 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3895
3896 fi
3897
3898
3899 eval "$ac_cv_use_std_iostreams"
3900 if test "$no_cache" != 1; then
3901 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3902 fi
3903
3904 if test "$wxUSE_STD_IOSTREAM" = yes; then
3905 echo "$ac_t""yes" 1>&6
3906 else
3907 echo "$ac_t""no" 1>&6
3908 fi
3909
3910
3911 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3912 echo "configure:3913: checking for --enable-filesystem" >&5
3913 no_cache=0
3914 # Check whether --enable-filesystem or --disable-filesystem was given.
3915 if test "${enable_filesystem+set}" = set; then
3916 enableval="$enable_filesystem"
3917
3918 if test "$enableval" = yes; then
3919 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
3920 else
3921 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
3922 fi
3923
3924 else
3925
3926 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3927 if test "x$LINE" != x ; then
3928 eval "DEFAULT_$LINE"
3929 else
3930 no_cache=1
3931 fi
3932
3933 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3934
3935 fi
3936
3937
3938 eval "$ac_cv_use_filesystem"
3939 if test "$no_cache" != 1; then
3940 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3941 fi
3942
3943 if test "$wxUSE_FILESYSTEM" = yes; then
3944 echo "$ac_t""yes" 1>&6
3945 else
3946 echo "$ac_t""no" 1>&6
3947 fi
3948
3949
3950 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3951 echo "configure:3952: checking for --enable-fs_inet" >&5
3952 no_cache=0
3953 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3954 if test "${enable_fs_inet+set}" = set; then
3955 enableval="$enable_fs_inet"
3956
3957 if test "$enableval" = yes; then
3958 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
3959 else
3960 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
3961 fi
3962
3963 else
3964
3965 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3966 if test "x$LINE" != x ; then
3967 eval "DEFAULT_$LINE"
3968 else
3969 no_cache=1
3970 fi
3971
3972 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3973
3974 fi
3975
3976
3977 eval "$ac_cv_use_fs_inet"
3978 if test "$no_cache" != 1; then
3979 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3980 fi
3981
3982 if test "$wxUSE_FS_INET" = yes; then
3983 echo "$ac_t""yes" 1>&6
3984 else
3985 echo "$ac_t""no" 1>&6
3986 fi
3987
3988
3989 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3990 echo "configure:3991: checking for --enable-fs_zip" >&5
3991 no_cache=0
3992 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3993 if test "${enable_fs_zip+set}" = set; then
3994 enableval="$enable_fs_zip"
3995
3996 if test "$enableval" = yes; then
3997 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
3998 else
3999 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4000 fi
4001
4002 else
4003
4004 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4005 if test "x$LINE" != x ; then
4006 eval "DEFAULT_$LINE"
4007 else
4008 no_cache=1
4009 fi
4010
4011 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4012
4013 fi
4014
4015
4016 eval "$ac_cv_use_fs_zip"
4017 if test "$no_cache" != 1; then
4018 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4019 fi
4020
4021 if test "$wxUSE_FS_ZIP" = yes; then
4022 echo "$ac_t""yes" 1>&6
4023 else
4024 echo "$ac_t""no" 1>&6
4025 fi
4026
4027
4028 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4029 echo "configure:4030: checking for --enable-zipstream" >&5
4030 no_cache=0
4031 # Check whether --enable-zipstream or --disable-zipstream was given.
4032 if test "${enable_zipstream+set}" = set; then
4033 enableval="$enable_zipstream"
4034
4035 if test "$enableval" = yes; then
4036 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
4037 else
4038 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
4039 fi
4040
4041 else
4042
4043 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4044 if test "x$LINE" != x ; then
4045 eval "DEFAULT_$LINE"
4046 else
4047 no_cache=1
4048 fi
4049
4050 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4051
4052 fi
4053
4054
4055 eval "$ac_cv_use_zipstream"
4056 if test "$no_cache" != 1; then
4057 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4058 fi
4059
4060 if test "$wxUSE_ZIPSTREAM" = yes; then
4061 echo "$ac_t""yes" 1>&6
4062 else
4063 echo "$ac_t""no" 1>&6
4064 fi
4065
4066
4067
4068 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4069 echo "configure:4070: checking for --enable-catch_segvs" >&5
4070 no_cache=0
4071 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4072 if test "${enable_catch_segvs+set}" = set; then
4073 enableval="$enable_catch_segvs"
4074
4075 if test "$enableval" = yes; then
4076 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4077 else
4078 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4079 fi
4080
4081 else
4082
4083 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4084 if test "x$LINE" != x ; then
4085 eval "DEFAULT_$LINE"
4086 else
4087 no_cache=1
4088 fi
4089
4090 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4091
4092 fi
4093
4094
4095 eval "$ac_cv_use_catch_segvs"
4096 if test "$no_cache" != 1; then
4097 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4098 fi
4099
4100 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4101 echo "$ac_t""yes" 1>&6
4102 else
4103 echo "$ac_t""no" 1>&6
4104 fi
4105
4106
4107 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4108 echo "configure:4109: checking for --enable-snglinst" >&5
4109 no_cache=0
4110 # Check whether --enable-snglinst or --disable-snglinst was given.
4111 if test "${enable_snglinst+set}" = set; then
4112 enableval="$enable_snglinst"
4113
4114 if test "$enableval" = yes; then
4115 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
4116 else
4117 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
4118 fi
4119
4120 else
4121
4122 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4123 if test "x$LINE" != x ; then
4124 eval "DEFAULT_$LINE"
4125 else
4126 no_cache=1
4127 fi
4128
4129 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4130
4131 fi
4132
4133
4134 eval "$ac_cv_use_snglinst"
4135 if test "$no_cache" != 1; then
4136 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4137 fi
4138
4139 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4140 echo "$ac_t""yes" 1>&6
4141 else
4142 echo "$ac_t""no" 1>&6
4143 fi
4144
4145
4146
4147 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4148 echo "configure:4149: checking for --enable-mimetype" >&5
4149 no_cache=0
4150 # Check whether --enable-mimetype or --disable-mimetype was given.
4151 if test "${enable_mimetype+set}" = set; then
4152 enableval="$enable_mimetype"
4153
4154 if test "$enableval" = yes; then
4155 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
4156 else
4157 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
4158 fi
4159
4160 else
4161
4162 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4163 if test "x$LINE" != x ; then
4164 eval "DEFAULT_$LINE"
4165 else
4166 no_cache=1
4167 fi
4168
4169 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4170
4171 fi
4172
4173
4174 eval "$ac_cv_use_mimetype"
4175 if test "$no_cache" != 1; then
4176 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4177 fi
4178
4179 if test "$wxUSE_MIMETYPE" = yes; then
4180 echo "$ac_t""yes" 1>&6
4181 else
4182 echo "$ac_t""no" 1>&6
4183 fi
4184
4185
4186 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4187 echo "configure:4188: checking for --enable-system_options" >&5
4188 no_cache=0
4189 # Check whether --enable-system_options or --disable-system_options was given.
4190 if test "${enable_system_options+set}" = set; then
4191 enableval="$enable_system_options"
4192
4193 if test "$enableval" = yes; then
4194 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
4195 else
4196 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
4197 fi
4198
4199 else
4200
4201 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4202 if test "x$LINE" != x ; then
4203 eval "DEFAULT_$LINE"
4204 else
4205 no_cache=1
4206 fi
4207
4208 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4209
4210 fi
4211
4212
4213 eval "$ac_cv_use_system_options"
4214 if test "$no_cache" != 1; then
4215 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4216 fi
4217
4218 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4219 echo "$ac_t""yes" 1>&6
4220 else
4221 echo "$ac_t""no" 1>&6
4222 fi
4223
4224
4225
4226
4227 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4228 echo "configure:4229: checking for --enable-threads" >&5
4229 no_cache=0
4230 # Check whether --enable-threads or --disable-threads was given.
4231 if test "${enable_threads+set}" = set; then
4232 enableval="$enable_threads"
4233
4234 if test "$enableval" = yes; then
4235 ac_cv_use_threads='wxUSE_THREADS=yes'
4236 else
4237 ac_cv_use_threads='wxUSE_THREADS=no'
4238 fi
4239
4240 else
4241
4242 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4243 if test "x$LINE" != x ; then
4244 eval "DEFAULT_$LINE"
4245 else
4246 no_cache=1
4247 fi
4248
4249 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4250
4251 fi
4252
4253
4254 eval "$ac_cv_use_threads"
4255 if test "$no_cache" != 1; then
4256 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4257 fi
4258
4259 if test "$wxUSE_THREADS" = yes; then
4260 echo "$ac_t""yes" 1>&6
4261 else
4262 echo "$ac_t""no" 1>&6
4263 fi
4264
4265
4266 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4267 echo "configure:4268: checking for --enable-serial" >&5
4268 no_cache=0
4269 # Check whether --enable-serial or --disable-serial was given.
4270 if test "${enable_serial+set}" = set; then
4271 enableval="$enable_serial"
4272
4273 if test "$enableval" = yes; then
4274 ac_cv_use_serial='wxUSE_SERIAL=yes'
4275 else
4276 ac_cv_use_serial='wxUSE_SERIAL=no'
4277 fi
4278
4279 else
4280
4281 LINE=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4282 if test "x$LINE" != x ; then
4283 eval "DEFAULT_$LINE"
4284 else
4285 no_cache=1
4286 fi
4287
4288 ac_cv_use_serial='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4289
4290 fi
4291
4292
4293 eval "$ac_cv_use_serial"
4294 if test "$no_cache" != 1; then
4295 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4296 fi
4297
4298 if test "$wxUSE_SERIAL" = yes; then
4299 echo "$ac_t""yes" 1>&6
4300 else
4301 echo "$ac_t""no" 1>&6
4302 fi
4303
4304
4305 if test "$wxUSE_GUI" = "yes"; then
4306
4307
4308
4309 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4310 echo "configure:4311: checking for --enable-docview" >&5
4311 no_cache=0
4312 # Check whether --enable-docview or --disable-docview was given.
4313 if test "${enable_docview+set}" = set; then
4314 enableval="$enable_docview"
4315
4316 if test "$enableval" = yes; then
4317 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4318 else
4319 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4320 fi
4321
4322 else
4323
4324 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4325 if test "x$LINE" != x ; then
4326 eval "DEFAULT_$LINE"
4327 else
4328 no_cache=1
4329 fi
4330
4331 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4332
4333 fi
4334
4335
4336 eval "$ac_cv_use_docview"
4337 if test "$no_cache" != 1; then
4338 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4339 fi
4340
4341 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4342 echo "$ac_t""yes" 1>&6
4343 else
4344 echo "$ac_t""no" 1>&6
4345 fi
4346
4347
4348 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4349 echo "configure:4350: checking for --enable-help" >&5
4350 no_cache=0
4351 # Check whether --enable-help or --disable-help was given.
4352 if test "${enable_help+set}" = set; then
4353 enableval="$enable_help"
4354
4355 if test "$enableval" = yes; then
4356 ac_cv_use_help='wxUSE_HELP=yes'
4357 else
4358 ac_cv_use_help='wxUSE_HELP=no'
4359 fi
4360
4361 else
4362
4363 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4364 if test "x$LINE" != x ; then
4365 eval "DEFAULT_$LINE"
4366 else
4367 no_cache=1
4368 fi
4369
4370 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4371
4372 fi
4373
4374
4375 eval "$ac_cv_use_help"
4376 if test "$no_cache" != 1; then
4377 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4378 fi
4379
4380 if test "$wxUSE_HELP" = yes; then
4381 echo "$ac_t""yes" 1>&6
4382 else
4383 echo "$ac_t""no" 1>&6
4384 fi
4385
4386
4387 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4388 echo "configure:4389: checking for --enable-mshtmlhelp" >&5
4389 no_cache=0
4390 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4391 if test "${enable_mshtmlhelp+set}" = set; then
4392 enableval="$enable_mshtmlhelp"
4393
4394 if test "$enableval" = yes; then
4395 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
4396 else
4397 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
4398 fi
4399
4400 else
4401
4402 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4403 if test "x$LINE" != x ; then
4404 eval "DEFAULT_$LINE"
4405 else
4406 no_cache=1
4407 fi
4408
4409 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4410
4411 fi
4412
4413
4414 eval "$ac_cv_use_mshtmlhelp"
4415 if test "$no_cache" != 1; then
4416 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4417 fi
4418
4419 if test "$wxUSE_MS_HTML_HELP" = yes; then
4420 echo "$ac_t""yes" 1>&6
4421 else
4422 echo "$ac_t""no" 1>&6
4423 fi
4424
4425
4426 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4427 echo "configure:4428: checking for --enable-html" >&5
4428 no_cache=0
4429 # Check whether --enable-html or --disable-html was given.
4430 if test "${enable_html+set}" = set; then
4431 enableval="$enable_html"
4432
4433 if test "$enableval" = yes; then
4434 ac_cv_use_html='wxUSE_HTML=yes'
4435 else
4436 ac_cv_use_html='wxUSE_HTML=no'
4437 fi
4438
4439 else
4440
4441 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4442 if test "x$LINE" != x ; then
4443 eval "DEFAULT_$LINE"
4444 else
4445 no_cache=1
4446 fi
4447
4448 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4449
4450 fi
4451
4452
4453 eval "$ac_cv_use_html"
4454 if test "$no_cache" != 1; then
4455 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4456 fi
4457
4458 if test "$wxUSE_HTML" = yes; then
4459 echo "$ac_t""yes" 1>&6
4460 else
4461 echo "$ac_t""no" 1>&6
4462 fi
4463
4464
4465 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4466 echo "configure:4467: checking for --enable-htmlhelp" >&5
4467 no_cache=0
4468 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4469 if test "${enable_htmlhelp+set}" = set; then
4470 enableval="$enable_htmlhelp"
4471
4472 if test "$enableval" = yes; then
4473 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
4474 else
4475 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
4476 fi
4477
4478 else
4479
4480 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4481 if test "x$LINE" != x ; then
4482 eval "DEFAULT_$LINE"
4483 else
4484 no_cache=1
4485 fi
4486
4487 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4488
4489 fi
4490
4491
4492 eval "$ac_cv_use_htmlhelp"
4493 if test "$no_cache" != 1; then
4494 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4495 fi
4496
4497 if test "$wxUSE_WXHTML_HELP" = yes; then
4498 echo "$ac_t""yes" 1>&6
4499 else
4500 echo "$ac_t""no" 1>&6
4501 fi
4502
4503
4504 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4505 echo "configure:4506: checking for --enable-constraints" >&5
4506 no_cache=0
4507 # Check whether --enable-constraints or --disable-constraints was given.
4508 if test "${enable_constraints+set}" = set; then
4509 enableval="$enable_constraints"
4510
4511 if test "$enableval" = yes; then
4512 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
4513 else
4514 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
4515 fi
4516
4517 else
4518
4519 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4520 if test "x$LINE" != x ; then
4521 eval "DEFAULT_$LINE"
4522 else
4523 no_cache=1
4524 fi
4525
4526 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4527
4528 fi
4529
4530
4531 eval "$ac_cv_use_constraints"
4532 if test "$no_cache" != 1; then
4533 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4534 fi
4535
4536 if test "$wxUSE_CONSTRAINTS" = yes; then
4537 echo "$ac_t""yes" 1>&6
4538 else
4539 echo "$ac_t""no" 1>&6
4540 fi
4541
4542
4543 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4544 echo "configure:4545: checking for --enable-printarch" >&5
4545 no_cache=0
4546 # Check whether --enable-printarch or --disable-printarch was given.
4547 if test "${enable_printarch+set}" = set; then
4548 enableval="$enable_printarch"
4549
4550 if test "$enableval" = yes; then
4551 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
4552 else
4553 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
4554 fi
4555
4556 else
4557
4558 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4559 if test "x$LINE" != x ; then
4560 eval "DEFAULT_$LINE"
4561 else
4562 no_cache=1
4563 fi
4564
4565 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4566
4567 fi
4568
4569
4570 eval "$ac_cv_use_printarch"
4571 if test "$no_cache" != 1; then
4572 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4573 fi
4574
4575 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4576 echo "$ac_t""yes" 1>&6
4577 else
4578 echo "$ac_t""no" 1>&6
4579 fi
4580
4581
4582 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4583 echo "configure:4584: checking for --enable-mdi" >&5
4584 no_cache=0
4585 # Check whether --enable-mdi or --disable-mdi was given.
4586 if test "${enable_mdi+set}" = set; then
4587 enableval="$enable_mdi"
4588
4589 if test "$enableval" = yes; then
4590 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
4591 else
4592 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
4593 fi
4594
4595 else
4596
4597 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4598 if test "x$LINE" != x ; then
4599 eval "DEFAULT_$LINE"
4600 else
4601 no_cache=1
4602 fi
4603
4604 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4605
4606 fi
4607
4608
4609 eval "$ac_cv_use_mdi"
4610 if test "$no_cache" != 1; then
4611 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4612 fi
4613
4614 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4615 echo "$ac_t""yes" 1>&6
4616 else
4617 echo "$ac_t""no" 1>&6
4618 fi
4619
4620
4621 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4622 echo "configure:4623: checking for --enable-loggui" >&5
4623 no_cache=0
4624 # Check whether --enable-loggui or --disable-loggui was given.
4625 if test "${enable_loggui+set}" = set; then
4626 enableval="$enable_loggui"
4627
4628 if test "$enableval" = yes; then
4629 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
4630 else
4631 ac_cv_use_loggui='wxUSE_LOGGUI=no'
4632 fi
4633
4634 else
4635
4636 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4637 if test "x$LINE" != x ; then
4638 eval "DEFAULT_$LINE"
4639 else
4640 no_cache=1
4641 fi
4642
4643 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4644
4645 fi
4646
4647
4648 eval "$ac_cv_use_loggui"
4649 if test "$no_cache" != 1; then
4650 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4651 fi
4652
4653 if test "$wxUSE_LOGGUI" = yes; then
4654 echo "$ac_t""yes" 1>&6
4655 else
4656 echo "$ac_t""no" 1>&6
4657 fi
4658
4659
4660 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4661 echo "configure:4662: checking for --enable-logwin" >&5
4662 no_cache=0
4663 # Check whether --enable-logwin or --disable-logwin was given.
4664 if test "${enable_logwin+set}" = set; then
4665 enableval="$enable_logwin"
4666
4667 if test "$enableval" = yes; then
4668 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
4669 else
4670 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
4671 fi
4672
4673 else
4674
4675 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4676 if test "x$LINE" != x ; then
4677 eval "DEFAULT_$LINE"
4678 else
4679 no_cache=1
4680 fi
4681
4682 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4683
4684 fi
4685
4686
4687 eval "$ac_cv_use_logwin"
4688 if test "$no_cache" != 1; then
4689 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4690 fi
4691
4692 if test "$wxUSE_LOGWINDOW" = yes; then
4693 echo "$ac_t""yes" 1>&6
4694 else
4695 echo "$ac_t""no" 1>&6
4696 fi
4697
4698
4699
4700 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4701 echo "configure:4702: checking for --enable-postscript" >&5
4702 no_cache=0
4703 # Check whether --enable-postscript or --disable-postscript was given.
4704 if test "${enable_postscript+set}" = set; then
4705 enableval="$enable_postscript"
4706
4707 if test "$enableval" = yes; then
4708 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
4709 else
4710 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
4711 fi
4712
4713 else
4714
4715 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4716 if test "x$LINE" != x ; then
4717 eval "DEFAULT_$LINE"
4718 else
4719 no_cache=1
4720 fi
4721
4722 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4723
4724 fi
4725
4726
4727 eval "$ac_cv_use_postscript"
4728 if test "$no_cache" != 1; then
4729 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4730 fi
4731
4732 if test "$wxUSE_POSTSCRIPT" = yes; then
4733 echo "$ac_t""yes" 1>&6
4734 else
4735 echo "$ac_t""no" 1>&6
4736 fi
4737
4738
4739
4740
4741
4742 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4743 echo "configure:4744: checking for --enable-prologio" >&5
4744 no_cache=0
4745 # Check whether --enable-prologio or --disable-prologio was given.
4746 if test "${enable_prologio+set}" = set; then
4747 enableval="$enable_prologio"
4748
4749 if test "$enableval" = yes; then
4750 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
4751 else
4752 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
4753 fi
4754
4755 else
4756
4757 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4758 if test "x$LINE" != x ; then
4759 eval "DEFAULT_$LINE"
4760 else
4761 no_cache=1
4762 fi
4763
4764 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4765
4766 fi
4767
4768
4769 eval "$ac_cv_use_prologio"
4770 if test "$no_cache" != 1; then
4771 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4772 fi
4773
4774 if test "$wxUSE_PROLOGIO" = yes; then
4775 echo "$ac_t""yes" 1>&6
4776 else
4777 echo "$ac_t""no" 1>&6
4778 fi
4779
4780
4781 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4782 echo "configure:4783: checking for --enable-resources" >&5
4783 no_cache=0
4784 # Check whether --enable-resources or --disable-resources was given.
4785 if test "${enable_resources+set}" = set; then
4786 enableval="$enable_resources"
4787
4788 if test "$enableval" = yes; then
4789 ac_cv_use_resources='wxUSE_RESOURCES=yes'
4790 else
4791 ac_cv_use_resources='wxUSE_RESOURCES=no'
4792 fi
4793
4794 else
4795
4796 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4797 if test "x$LINE" != x ; then
4798 eval "DEFAULT_$LINE"
4799 else
4800 no_cache=1
4801 fi
4802
4803 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4804
4805 fi
4806
4807
4808 eval "$ac_cv_use_resources"
4809 if test "$no_cache" != 1; then
4810 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4811 fi
4812
4813 if test "$wxUSE_RESOURCES" = yes; then
4814 echo "$ac_t""yes" 1>&6
4815 else
4816 echo "$ac_t""no" 1>&6
4817 fi
4818
4819
4820
4821 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4822 echo "configure:4823: checking for --enable-xresources" >&5
4823 no_cache=0
4824 # Check whether --enable-xresources or --disable-xresources was given.
4825 if test "${enable_xresources+set}" = set; then
4826 enableval="$enable_xresources"
4827
4828 if test "$enableval" = yes; then
4829 ac_cv_use_xresources='wxUSE_X_RESOURCES=yes'
4830 else
4831 ac_cv_use_xresources='wxUSE_X_RESOURCES=no'
4832 fi
4833
4834 else
4835
4836 LINE=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4837 if test "x$LINE" != x ; then
4838 eval "DEFAULT_$LINE"
4839 else
4840 no_cache=1
4841 fi
4842
4843 ac_cv_use_xresources='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4844
4845 fi
4846
4847
4848 eval "$ac_cv_use_xresources"
4849 if test "$no_cache" != 1; then
4850 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4851 fi
4852
4853 if test "$wxUSE_X_RESOURCES" = yes; then
4854 echo "$ac_t""yes" 1>&6
4855 else
4856 echo "$ac_t""no" 1>&6
4857 fi
4858
4859
4860
4861
4862 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4863 echo "configure:4864: checking for --enable-clipboard" >&5
4864 no_cache=0
4865 # Check whether --enable-clipboard or --disable-clipboard was given.
4866 if test "${enable_clipboard+set}" = set; then
4867 enableval="$enable_clipboard"
4868
4869 if test "$enableval" = yes; then
4870 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
4871 else
4872 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
4873 fi
4874
4875 else
4876
4877 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4878 if test "x$LINE" != x ; then
4879 eval "DEFAULT_$LINE"
4880 else
4881 no_cache=1
4882 fi
4883
4884 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4885
4886 fi
4887
4888
4889 eval "$ac_cv_use_clipboard"
4890 if test "$no_cache" != 1; then
4891 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4892 fi
4893
4894 if test "$wxUSE_CLIPBOARD" = yes; then
4895 echo "$ac_t""yes" 1>&6
4896 else
4897 echo "$ac_t""no" 1>&6
4898 fi
4899
4900
4901 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4902 echo "configure:4903: checking for --enable-dnd" >&5
4903 no_cache=0
4904 # Check whether --enable-dnd or --disable-dnd was given.
4905 if test "${enable_dnd+set}" = set; then
4906 enableval="$enable_dnd"
4907
4908 if test "$enableval" = yes; then
4909 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
4910 else
4911 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
4912 fi
4913
4914 else
4915
4916 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4917 if test "x$LINE" != x ; then
4918 eval "DEFAULT_$LINE"
4919 else
4920 no_cache=1
4921 fi
4922
4923 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4924
4925 fi
4926
4927
4928 eval "$ac_cv_use_dnd"
4929 if test "$no_cache" != 1; then
4930 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4931 fi
4932
4933 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4934 echo "$ac_t""yes" 1>&6
4935 else
4936 echo "$ac_t""no" 1>&6
4937 fi
4938
4939
4940 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4941 echo "configure:4942: checking for --enable-metafile" >&5
4942 no_cache=0
4943 # Check whether --enable-metafile or --disable-metafile was given.
4944 if test "${enable_metafile+set}" = set; then
4945 enableval="$enable_metafile"
4946
4947 if test "$enableval" = yes; then
4948 ac_cv_use_metafile='wxUSE_METAFILE=yes'
4949 else
4950 ac_cv_use_metafile='wxUSE_METAFILE=no'
4951 fi
4952
4953 else
4954
4955 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4956 if test "x$LINE" != x ; then
4957 eval "DEFAULT_$LINE"
4958 else
4959 no_cache=1
4960 fi
4961
4962 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4963
4964 fi
4965
4966
4967 eval "$ac_cv_use_metafile"
4968 if test "$no_cache" != 1; then
4969 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4970 fi
4971
4972 if test "$wxUSE_METAFILE" = yes; then
4973 echo "$ac_t""yes" 1>&6
4974 else
4975 echo "$ac_t""no" 1>&6
4976 fi
4977
4978
4979
4980 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
4981 echo "configure:4982: checking for --enable-treelayout" >&5
4982 no_cache=0
4983 # Check whether --enable-treelayout or --disable-treelayout was given.
4984 if test "${enable_treelayout+set}" = set; then
4985 enableval="$enable_treelayout"
4986
4987 if test "$enableval" = yes; then
4988 ac_cv_use_treelayout='wxUSE_TREELAYOUT=yes'
4989 else
4990 ac_cv_use_treelayout='wxUSE_TREELAYOUT=no'
4991 fi
4992
4993 else
4994
4995 LINE=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
4996 if test "x$LINE" != x ; then
4997 eval "DEFAULT_$LINE"
4998 else
4999 no_cache=1
5000 fi
5001
5002 ac_cv_use_treelayout='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5003
5004 fi
5005
5006
5007 eval "$ac_cv_use_treelayout"
5008 if test "$no_cache" != 1; then
5009 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5010 fi
5011
5012 if test "$wxUSE_TREELAYOUT" = yes; then
5013 echo "$ac_t""yes" 1>&6
5014 else
5015 echo "$ac_t""no" 1>&6
5016 fi
5017
5018
5019
5020
5021 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5022 echo "configure:5023: checking for --enable-controls" >&5
5023 no_cache=0
5024 # Check whether --enable-controls or --disable-controls was given.
5025 if test "${enable_controls+set}" = set; then
5026 enableval="$enable_controls"
5027
5028 if test "$enableval" = yes; then
5029 ac_cv_use_controls='wxUSE_CONTROLS=yes'
5030 else
5031 ac_cv_use_controls='wxUSE_CONTROLS=no'
5032 fi
5033
5034 else
5035
5036 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5037 if test "x$LINE" != x ; then
5038 eval "DEFAULT_$LINE"
5039 else
5040 no_cache=1
5041 fi
5042
5043 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5044
5045 fi
5046
5047
5048 eval "$ac_cv_use_controls"
5049 if test "$no_cache" != 1; then
5050 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5051 fi
5052
5053 if test "$wxUSE_CONTROLS" = yes; then
5054 echo "$ac_t""yes" 1>&6
5055 else
5056 echo "$ac_t""no" 1>&6
5057 fi
5058
5059
5060 if test "$wxUSE_CONTROLS" = "yes"; then
5061 DEFAULT_wxUSE_ACCEL=yes
5062 DEFAULT_wxUSE_BMPBUTTON=yes
5063 DEFAULT_wxUSE_BUTTON=yes
5064 DEFAULT_wxUSE_CALCTRL=no
5065 DEFAULT_wxUSE_CARET=yes
5066 DEFAULT_wxUSE_COMBOBOX=yes
5067 DEFAULT_wxUSE_CHECKBOX=yes
5068 DEFAULT_wxUSE_CHECKLISTBOX=yes
5069 DEFAULT_wxUSE_CHOICE=yes
5070 DEFAULT_wxUSE_GAUGE=yes
5071 DEFAULT_wxUSE_GRID=yes
5072 DEFAULT_wxUSE_NEW_GRID=yes
5073 DEFAULT_wxUSE_IMAGLIST=yes
5074 DEFAULT_wxUSE_LISTBOX=yes
5075 DEFAULT_wxUSE_LISTCTRL=yes
5076 DEFAULT_wxUSE_NOTEBOOK=yes
5077 DEFAULT_wxUSE_PROPSHEET=yes
5078 DEFAULT_wxUSE_RADIOBOX=yes
5079 DEFAULT_wxUSE_RADIOBTN=yes
5080 DEFAULT_wxUSE_SASH=yes
5081 DEFAULT_wxUSE_SCROLLBAR=yes
5082 DEFAULT_wxUSE_SLIDER=yes
5083 DEFAULT_wxUSE_SPINBTN=yes
5084 DEFAULT_wxUSE_SPINCTRL=yes
5085 DEFAULT_wxUSE_SPLITTER=yes
5086 DEFAULT_wxUSE_STATBMP=yes
5087 DEFAULT_wxUSE_STATBOX=yes
5088 DEFAULT_wxUSE_STATLINE=yes
5089 DEFAULT_wxUSE_STATUSBAR=yes
5090 DEFAULT_wxUSE_TAB_DIALOG=yes
5091 DEFAULT_wxUSE_TOGGLEBTN=yes
5092 DEFAULT_wxUSE_TOOLBAR=yes
5093 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
5094 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
5095 DEFAULT_wxUSE_TOOLTIPS=yes
5096 DEFAULT_wxUSE_TREECTRL=yes
5097 DEFAULT_wxUSE_POPUPWIN=yes
5098 elif test "$wxUSE_CONTROLS" = "no"; then
5099 DEFAULT_wxUSE_ACCEL=no
5100 DEFAULT_wxUSE_BMPBUTTON=no
5101 DEFAULT_wxUSE_BUTTON=no
5102 DEFAULT_wxUSE_CALCTRL=no
5103 DEFAULT_wxUSE_CARET=no
5104 DEFAULT_wxUSE_COMBOBOX=no
5105 DEFAULT_wxUSE_CHECKBOX=no
5106 DEFAULT_wxUSE_CHECKLISTBOX=no
5107 DEFAULT_wxUSE_CHOICE=no
5108 DEFAULT_wxUSE_GAUGE=no
5109 DEFAULT_wxUSE_GRID=no
5110 DEFAULT_wxUSE_NEW_GRID=no
5111 DEFAULT_wxUSE_IMAGLIST=no
5112 DEFAULT_wxUSE_LISTBOX=no
5113 DEFAULT_wxUSE_LISTCTRL=no
5114 DEFAULT_wxUSE_NOTEBOOK=no
5115 DEFAULT_wxUSE_PROPSHEET=no
5116 DEFAULT_wxUSE_RADIOBOX=no
5117 DEFAULT_wxUSE_RADIOBTN=no
5118 DEFAULT_wxUSE_SASH=no
5119 DEFAULT_wxUSE_SCROLLBAR=no
5120 DEFAULT_wxUSE_SLIDER=no
5121 DEFAULT_wxUSE_SPINBTN=no
5122 DEFAULT_wxUSE_SPINCTRL=no
5123 DEFAULT_wxUSE_SPLITTER=no
5124 DEFAULT_wxUSE_STATBMP=no
5125 DEFAULT_wxUSE_STATBOX=no
5126 DEFAULT_wxUSE_STATLINE=no
5127 DEFAULT_wxUSE_STATUSBAR=no
5128 DEFAULT_wxUSE_TAB_DIALOG=no
5129 DEFAULT_wxUSE_TOGGLEBTN=no
5130 DEFAULT_wxUSE_TOOLBAR=no
5131 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
5132 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
5133 DEFAULT_wxUSE_TOOLTIPS=no
5134 DEFAULT_wxUSE_TREECTRL=no
5135 DEFAULT_wxUSE_POPUPWIN=no
5136 fi
5137
5138
5139 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5140 echo "configure:5141: checking for --enable-accel" >&5
5141 no_cache=0
5142 # Check whether --enable-accel or --disable-accel was given.
5143 if test "${enable_accel+set}" = set; then
5144 enableval="$enable_accel"
5145
5146 if test "$enableval" = yes; then
5147 ac_cv_use_accel='wxUSE_ACCEL=yes'
5148 else
5149 ac_cv_use_accel='wxUSE_ACCEL=no'
5150 fi
5151
5152 else
5153
5154 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5155 if test "x$LINE" != x ; then
5156 eval "DEFAULT_$LINE"
5157 else
5158 no_cache=1
5159 fi
5160
5161 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5162
5163 fi
5164
5165
5166 eval "$ac_cv_use_accel"
5167 if test "$no_cache" != 1; then
5168 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5169 fi
5170
5171 if test "$wxUSE_ACCEL" = yes; then
5172 echo "$ac_t""yes" 1>&6
5173 else
5174 echo "$ac_t""no" 1>&6
5175 fi
5176
5177
5178 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5179 echo "configure:5180: checking for --enable-button" >&5
5180 no_cache=0
5181 # Check whether --enable-button or --disable-button was given.
5182 if test "${enable_button+set}" = set; then
5183 enableval="$enable_button"
5184
5185 if test "$enableval" = yes; then
5186 ac_cv_use_button='wxUSE_BUTTON=yes'
5187 else
5188 ac_cv_use_button='wxUSE_BUTTON=no'
5189 fi
5190
5191 else
5192
5193 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5194 if test "x$LINE" != x ; then
5195 eval "DEFAULT_$LINE"
5196 else
5197 no_cache=1
5198 fi
5199
5200 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5201
5202 fi
5203
5204
5205 eval "$ac_cv_use_button"
5206 if test "$no_cache" != 1; then
5207 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5208 fi
5209
5210 if test "$wxUSE_BUTTON" = yes; then
5211 echo "$ac_t""yes" 1>&6
5212 else
5213 echo "$ac_t""no" 1>&6
5214 fi
5215
5216
5217 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5218 echo "configure:5219: checking for --enable-bmpbutton" >&5
5219 no_cache=0
5220 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5221 if test "${enable_bmpbutton+set}" = set; then
5222 enableval="$enable_bmpbutton"
5223
5224 if test "$enableval" = yes; then
5225 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
5226 else
5227 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
5228 fi
5229
5230 else
5231
5232 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5233 if test "x$LINE" != x ; then
5234 eval "DEFAULT_$LINE"
5235 else
5236 no_cache=1
5237 fi
5238
5239 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5240
5241 fi
5242
5243
5244 eval "$ac_cv_use_bmpbutton"
5245 if test "$no_cache" != 1; then
5246 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5247 fi
5248
5249 if test "$wxUSE_BMPBUTTON" = yes; then
5250 echo "$ac_t""yes" 1>&6
5251 else
5252 echo "$ac_t""no" 1>&6
5253 fi
5254
5255
5256 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5257 echo "configure:5258: checking for --enable-calendar" >&5
5258 no_cache=0
5259 # Check whether --enable-calendar or --disable-calendar was given.
5260 if test "${enable_calendar+set}" = set; then
5261 enableval="$enable_calendar"
5262
5263 if test "$enableval" = yes; then
5264 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
5265 else
5266 ac_cv_use_calendar='wxUSE_CALCTRL=no'
5267 fi
5268
5269 else
5270
5271 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5272 if test "x$LINE" != x ; then
5273 eval "DEFAULT_$LINE"
5274 else
5275 no_cache=1
5276 fi
5277
5278 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5279
5280 fi
5281
5282
5283 eval "$ac_cv_use_calendar"
5284 if test "$no_cache" != 1; then
5285 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5286 fi
5287
5288 if test "$wxUSE_CALCTRL" = yes; then
5289 echo "$ac_t""yes" 1>&6
5290 else
5291 echo "$ac_t""no" 1>&6
5292 fi
5293
5294
5295 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5296 echo "configure:5297: checking for --enable-caret" >&5
5297 no_cache=0
5298 # Check whether --enable-caret or --disable-caret was given.
5299 if test "${enable_caret+set}" = set; then
5300 enableval="$enable_caret"
5301
5302 if test "$enableval" = yes; then
5303 ac_cv_use_caret='wxUSE_CARET=yes'
5304 else
5305 ac_cv_use_caret='wxUSE_CARET=no'
5306 fi
5307
5308 else
5309
5310 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5311 if test "x$LINE" != x ; then
5312 eval "DEFAULT_$LINE"
5313 else
5314 no_cache=1
5315 fi
5316
5317 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5318
5319 fi
5320
5321
5322 eval "$ac_cv_use_caret"
5323 if test "$no_cache" != 1; then
5324 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5325 fi
5326
5327 if test "$wxUSE_CARET" = yes; then
5328 echo "$ac_t""yes" 1>&6
5329 else
5330 echo "$ac_t""no" 1>&6
5331 fi
5332
5333
5334 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5335 echo "configure:5336: checking for --enable-checkbox" >&5
5336 no_cache=0
5337 # Check whether --enable-checkbox or --disable-checkbox was given.
5338 if test "${enable_checkbox+set}" = set; then
5339 enableval="$enable_checkbox"
5340
5341 if test "$enableval" = yes; then
5342 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
5343 else
5344 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
5345 fi
5346
5347 else
5348
5349 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5350 if test "x$LINE" != x ; then
5351 eval "DEFAULT_$LINE"
5352 else
5353 no_cache=1
5354 fi
5355
5356 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5357
5358 fi
5359
5360
5361 eval "$ac_cv_use_checkbox"
5362 if test "$no_cache" != 1; then
5363 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5364 fi
5365
5366 if test "$wxUSE_CHECKBOX" = yes; then
5367 echo "$ac_t""yes" 1>&6
5368 else
5369 echo "$ac_t""no" 1>&6
5370 fi
5371
5372
5373 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5374 echo "configure:5375: checking for --enable-checklst" >&5
5375 no_cache=0
5376 # Check whether --enable-checklst or --disable-checklst was given.
5377 if test "${enable_checklst+set}" = set; then
5378 enableval="$enable_checklst"
5379
5380 if test "$enableval" = yes; then
5381 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
5382 else
5383 ac_cv_use_checklst='wxUSE_CHECKLST=no'
5384 fi
5385
5386 else
5387
5388 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5389 if test "x$LINE" != x ; then
5390 eval "DEFAULT_$LINE"
5391 else
5392 no_cache=1
5393 fi
5394
5395 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5396
5397 fi
5398
5399
5400 eval "$ac_cv_use_checklst"
5401 if test "$no_cache" != 1; then
5402 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5403 fi
5404
5405 if test "$wxUSE_CHECKLST" = yes; then
5406 echo "$ac_t""yes" 1>&6
5407 else
5408 echo "$ac_t""no" 1>&6
5409 fi
5410
5411
5412 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5413 echo "configure:5414: checking for --enable-choice" >&5
5414 no_cache=0
5415 # Check whether --enable-choice or --disable-choice was given.
5416 if test "${enable_choice+set}" = set; then
5417 enableval="$enable_choice"
5418
5419 if test "$enableval" = yes; then
5420 ac_cv_use_choice='wxUSE_CHOICE=yes'
5421 else
5422 ac_cv_use_choice='wxUSE_CHOICE=no'
5423 fi
5424
5425 else
5426
5427 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5428 if test "x$LINE" != x ; then
5429 eval "DEFAULT_$LINE"
5430 else
5431 no_cache=1
5432 fi
5433
5434 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5435
5436 fi
5437
5438
5439 eval "$ac_cv_use_choice"
5440 if test "$no_cache" != 1; then
5441 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5442 fi
5443
5444 if test "$wxUSE_CHOICE" = yes; then
5445 echo "$ac_t""yes" 1>&6
5446 else
5447 echo "$ac_t""no" 1>&6
5448 fi
5449
5450
5451 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5452 echo "configure:5453: checking for --enable-combobox" >&5
5453 no_cache=0
5454 # Check whether --enable-combobox or --disable-combobox was given.
5455 if test "${enable_combobox+set}" = set; then
5456 enableval="$enable_combobox"
5457
5458 if test "$enableval" = yes; then
5459 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
5460 else
5461 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
5462 fi
5463
5464 else
5465
5466 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5467 if test "x$LINE" != x ; then
5468 eval "DEFAULT_$LINE"
5469 else
5470 no_cache=1
5471 fi
5472
5473 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5474
5475 fi
5476
5477
5478 eval "$ac_cv_use_combobox"
5479 if test "$no_cache" != 1; then
5480 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5481 fi
5482
5483 if test "$wxUSE_COMBOBOX" = yes; then
5484 echo "$ac_t""yes" 1>&6
5485 else
5486 echo "$ac_t""no" 1>&6
5487 fi
5488
5489
5490 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5491 echo "configure:5492: checking for --enable-gauge" >&5
5492 no_cache=0
5493 # Check whether --enable-gauge or --disable-gauge was given.
5494 if test "${enable_gauge+set}" = set; then
5495 enableval="$enable_gauge"
5496
5497 if test "$enableval" = yes; then
5498 ac_cv_use_gauge='wxUSE_GAUGE=yes'
5499 else
5500 ac_cv_use_gauge='wxUSE_GAUGE=no'
5501 fi
5502
5503 else
5504
5505 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5506 if test "x$LINE" != x ; then
5507 eval "DEFAULT_$LINE"
5508 else
5509 no_cache=1
5510 fi
5511
5512 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5513
5514 fi
5515
5516
5517 eval "$ac_cv_use_gauge"
5518 if test "$no_cache" != 1; then
5519 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5520 fi
5521
5522 if test "$wxUSE_GAUGE" = yes; then
5523 echo "$ac_t""yes" 1>&6
5524 else
5525 echo "$ac_t""no" 1>&6
5526 fi
5527
5528
5529 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5530 echo "configure:5531: checking for --enable-grid" >&5
5531 no_cache=0
5532 # Check whether --enable-grid or --disable-grid was given.
5533 if test "${enable_grid+set}" = set; then
5534 enableval="$enable_grid"
5535
5536 if test "$enableval" = yes; then
5537 ac_cv_use_grid='wxUSE_GRID=yes'
5538 else
5539 ac_cv_use_grid='wxUSE_GRID=no'
5540 fi
5541
5542 else
5543
5544 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5545 if test "x$LINE" != x ; then
5546 eval "DEFAULT_$LINE"
5547 else
5548 no_cache=1
5549 fi
5550
5551 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5552
5553 fi
5554
5555
5556 eval "$ac_cv_use_grid"
5557 if test "$no_cache" != 1; then
5558 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5559 fi
5560
5561 if test "$wxUSE_GRID" = yes; then
5562 echo "$ac_t""yes" 1>&6
5563 else
5564 echo "$ac_t""no" 1>&6
5565 fi
5566
5567
5568 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5569 echo "configure:5570: checking for --enable-newgrid" >&5
5570 no_cache=0
5571 # Check whether --enable-newgrid or --disable-newgrid was given.
5572 if test "${enable_newgrid+set}" = set; then
5573 enableval="$enable_newgrid"
5574
5575 if test "$enableval" = yes; then
5576 ac_cv_use_newgrid='wxUSE_NEW_GRID=yes'
5577 else
5578 ac_cv_use_newgrid='wxUSE_NEW_GRID=no'
5579 fi
5580
5581 else
5582
5583 LINE=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5584 if test "x$LINE" != x ; then
5585 eval "DEFAULT_$LINE"
5586 else
5587 no_cache=1
5588 fi
5589
5590 ac_cv_use_newgrid='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5591
5592 fi
5593
5594
5595 eval "$ac_cv_use_newgrid"
5596 if test "$no_cache" != 1; then
5597 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5598 fi
5599
5600 if test "$wxUSE_NEW_GRID" = yes; then
5601 echo "$ac_t""yes" 1>&6
5602 else
5603 echo "$ac_t""no" 1>&6
5604 fi
5605
5606
5607 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5608 echo "configure:5609: checking for --enable-imaglist" >&5
5609 no_cache=0
5610 # Check whether --enable-imaglist or --disable-imaglist was given.
5611 if test "${enable_imaglist+set}" = set; then
5612 enableval="$enable_imaglist"
5613
5614 if test "$enableval" = yes; then
5615 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
5616 else
5617 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
5618 fi
5619
5620 else
5621
5622 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5623 if test "x$LINE" != x ; then
5624 eval "DEFAULT_$LINE"
5625 else
5626 no_cache=1
5627 fi
5628
5629 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5630
5631 fi
5632
5633
5634 eval "$ac_cv_use_imaglist"
5635 if test "$no_cache" != 1; then
5636 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5637 fi
5638
5639 if test "$wxUSE_IMAGLIST" = yes; then
5640 echo "$ac_t""yes" 1>&6
5641 else
5642 echo "$ac_t""no" 1>&6
5643 fi
5644
5645
5646 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5647 echo "configure:5648: checking for --enable-listbox" >&5
5648 no_cache=0
5649 # Check whether --enable-listbox or --disable-listbox was given.
5650 if test "${enable_listbox+set}" = set; then
5651 enableval="$enable_listbox"
5652
5653 if test "$enableval" = yes; then
5654 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
5655 else
5656 ac_cv_use_listbox='wxUSE_LISTBOX=no'
5657 fi
5658
5659 else
5660
5661 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5662 if test "x$LINE" != x ; then
5663 eval "DEFAULT_$LINE"
5664 else
5665 no_cache=1
5666 fi
5667
5668 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5669
5670 fi
5671
5672
5673 eval "$ac_cv_use_listbox"
5674 if test "$no_cache" != 1; then
5675 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5676 fi
5677
5678 if test "$wxUSE_LISTBOX" = yes; then
5679 echo "$ac_t""yes" 1>&6
5680 else
5681 echo "$ac_t""no" 1>&6
5682 fi
5683
5684
5685 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5686 echo "configure:5687: checking for --enable-listctrl" >&5
5687 no_cache=0
5688 # Check whether --enable-listctrl or --disable-listctrl was given.
5689 if test "${enable_listctrl+set}" = set; then
5690 enableval="$enable_listctrl"
5691
5692 if test "$enableval" = yes; then
5693 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
5694 else
5695 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
5696 fi
5697
5698 else
5699
5700 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5701 if test "x$LINE" != x ; then
5702 eval "DEFAULT_$LINE"
5703 else
5704 no_cache=1
5705 fi
5706
5707 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5708
5709 fi
5710
5711
5712 eval "$ac_cv_use_listctrl"
5713 if test "$no_cache" != 1; then
5714 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5715 fi
5716
5717 if test "$wxUSE_LISTCTRL" = yes; then
5718 echo "$ac_t""yes" 1>&6
5719 else
5720 echo "$ac_t""no" 1>&6
5721 fi
5722
5723
5724 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5725 echo "configure:5726: checking for --enable-notebook" >&5
5726 no_cache=0
5727 # Check whether --enable-notebook or --disable-notebook was given.
5728 if test "${enable_notebook+set}" = set; then
5729 enableval="$enable_notebook"
5730
5731 if test "$enableval" = yes; then
5732 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
5733 else
5734 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
5735 fi
5736
5737 else
5738
5739 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5740 if test "x$LINE" != x ; then
5741 eval "DEFAULT_$LINE"
5742 else
5743 no_cache=1
5744 fi
5745
5746 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5747
5748 fi
5749
5750
5751 eval "$ac_cv_use_notebook"
5752 if test "$no_cache" != 1; then
5753 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5754 fi
5755
5756 if test "$wxUSE_NOTEBOOK" = yes; then
5757 echo "$ac_t""yes" 1>&6
5758 else
5759 echo "$ac_t""no" 1>&6
5760 fi
5761
5762
5763 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5764 echo "configure:5765: checking for --enable-propsheet" >&5
5765 no_cache=0
5766 # Check whether --enable-propsheet or --disable-propsheet was given.
5767 if test "${enable_propsheet+set}" = set; then
5768 enableval="$enable_propsheet"
5769
5770 if test "$enableval" = yes; then
5771 ac_cv_use_propsheet='wxUSE_PROPSHEET=yes'
5772 else
5773 ac_cv_use_propsheet='wxUSE_PROPSHEET=no'
5774 fi
5775
5776 else
5777
5778 LINE=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5779 if test "x$LINE" != x ; then
5780 eval "DEFAULT_$LINE"
5781 else
5782 no_cache=1
5783 fi
5784
5785 ac_cv_use_propsheet='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5786
5787 fi
5788
5789
5790 eval "$ac_cv_use_propsheet"
5791 if test "$no_cache" != 1; then
5792 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5793 fi
5794
5795 if test "$wxUSE_PROPSHEET" = yes; then
5796 echo "$ac_t""yes" 1>&6
5797 else
5798 echo "$ac_t""no" 1>&6
5799 fi
5800
5801
5802 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5803 echo "configure:5804: checking for --enable-radiobox" >&5
5804 no_cache=0
5805 # Check whether --enable-radiobox or --disable-radiobox was given.
5806 if test "${enable_radiobox+set}" = set; then
5807 enableval="$enable_radiobox"
5808
5809 if test "$enableval" = yes; then
5810 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
5811 else
5812 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
5813 fi
5814
5815 else
5816
5817 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5818 if test "x$LINE" != x ; then
5819 eval "DEFAULT_$LINE"
5820 else
5821 no_cache=1
5822 fi
5823
5824 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5825
5826 fi
5827
5828
5829 eval "$ac_cv_use_radiobox"
5830 if test "$no_cache" != 1; then
5831 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5832 fi
5833
5834 if test "$wxUSE_RADIOBOX" = yes; then
5835 echo "$ac_t""yes" 1>&6
5836 else
5837 echo "$ac_t""no" 1>&6
5838 fi
5839
5840
5841 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5842 echo "configure:5843: checking for --enable-radiobtn" >&5
5843 no_cache=0
5844 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5845 if test "${enable_radiobtn+set}" = set; then
5846 enableval="$enable_radiobtn"
5847
5848 if test "$enableval" = yes; then
5849 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
5850 else
5851 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
5852 fi
5853
5854 else
5855
5856 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5857 if test "x$LINE" != x ; then
5858 eval "DEFAULT_$LINE"
5859 else
5860 no_cache=1
5861 fi
5862
5863 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5864
5865 fi
5866
5867
5868 eval "$ac_cv_use_radiobtn"
5869 if test "$no_cache" != 1; then
5870 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5871 fi
5872
5873 if test "$wxUSE_RADIOBTN" = yes; then
5874 echo "$ac_t""yes" 1>&6
5875 else
5876 echo "$ac_t""no" 1>&6
5877 fi
5878
5879
5880 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5881 echo "configure:5882: checking for --enable-sash" >&5
5882 no_cache=0
5883 # Check whether --enable-sash or --disable-sash was given.
5884 if test "${enable_sash+set}" = set; then
5885 enableval="$enable_sash"
5886
5887 if test "$enableval" = yes; then
5888 ac_cv_use_sash='wxUSE_SASH=yes'
5889 else
5890 ac_cv_use_sash='wxUSE_SASH=no'
5891 fi
5892
5893 else
5894
5895 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5896 if test "x$LINE" != x ; then
5897 eval "DEFAULT_$LINE"
5898 else
5899 no_cache=1
5900 fi
5901
5902 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5903
5904 fi
5905
5906
5907 eval "$ac_cv_use_sash"
5908 if test "$no_cache" != 1; then
5909 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5910 fi
5911
5912 if test "$wxUSE_SASH" = yes; then
5913 echo "$ac_t""yes" 1>&6
5914 else
5915 echo "$ac_t""no" 1>&6
5916 fi
5917
5918
5919 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5920 echo "configure:5921: checking for --enable-scrollbar" >&5
5921 no_cache=0
5922 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5923 if test "${enable_scrollbar+set}" = set; then
5924 enableval="$enable_scrollbar"
5925
5926 if test "$enableval" = yes; then
5927 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
5928 else
5929 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
5930 fi
5931
5932 else
5933
5934 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5935 if test "x$LINE" != x ; then
5936 eval "DEFAULT_$LINE"
5937 else
5938 no_cache=1
5939 fi
5940
5941 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5942
5943 fi
5944
5945
5946 eval "$ac_cv_use_scrollbar"
5947 if test "$no_cache" != 1; then
5948 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5949 fi
5950
5951 if test "$wxUSE_SCROLLBAR" = yes; then
5952 echo "$ac_t""yes" 1>&6
5953 else
5954 echo "$ac_t""no" 1>&6
5955 fi
5956
5957
5958 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5959 echo "configure:5960: checking for --enable-slider" >&5
5960 no_cache=0
5961 # Check whether --enable-slider or --disable-slider was given.
5962 if test "${enable_slider+set}" = set; then
5963 enableval="$enable_slider"
5964
5965 if test "$enableval" = yes; then
5966 ac_cv_use_slider='wxUSE_SLIDER=yes'
5967 else
5968 ac_cv_use_slider='wxUSE_SLIDER=no'
5969 fi
5970
5971 else
5972
5973 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5974 if test "x$LINE" != x ; then
5975 eval "DEFAULT_$LINE"
5976 else
5977 no_cache=1
5978 fi
5979
5980 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5981
5982 fi
5983
5984
5985 eval "$ac_cv_use_slider"
5986 if test "$no_cache" != 1; then
5987 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5988 fi
5989
5990 if test "$wxUSE_SLIDER" = yes; then
5991 echo "$ac_t""yes" 1>&6
5992 else
5993 echo "$ac_t""no" 1>&6
5994 fi
5995
5996
5997 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5998 echo "configure:5999: checking for --enable-spinbtn" >&5
5999 no_cache=0
6000 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6001 if test "${enable_spinbtn+set}" = set; then
6002 enableval="$enable_spinbtn"
6003
6004 if test "$enableval" = yes; then
6005 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
6006 else
6007 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
6008 fi
6009
6010 else
6011
6012 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6013 if test "x$LINE" != x ; then
6014 eval "DEFAULT_$LINE"
6015 else
6016 no_cache=1
6017 fi
6018
6019 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6020
6021 fi
6022
6023
6024 eval "$ac_cv_use_spinbtn"
6025 if test "$no_cache" != 1; then
6026 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6027 fi
6028
6029 if test "$wxUSE_SPINBTN" = yes; then
6030 echo "$ac_t""yes" 1>&6
6031 else
6032 echo "$ac_t""no" 1>&6
6033 fi
6034
6035
6036 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6037 echo "configure:6038: checking for --enable-spinctrl" >&5
6038 no_cache=0
6039 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6040 if test "${enable_spinctrl+set}" = set; then
6041 enableval="$enable_spinctrl"
6042
6043 if test "$enableval" = yes; then
6044 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
6045 else
6046 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
6047 fi
6048
6049 else
6050
6051 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6052 if test "x$LINE" != x ; then
6053 eval "DEFAULT_$LINE"
6054 else
6055 no_cache=1
6056 fi
6057
6058 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6059
6060 fi
6061
6062
6063 eval "$ac_cv_use_spinctrl"
6064 if test "$no_cache" != 1; then
6065 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6066 fi
6067
6068 if test "$wxUSE_SPINCTRL" = yes; then
6069 echo "$ac_t""yes" 1>&6
6070 else
6071 echo "$ac_t""no" 1>&6
6072 fi
6073
6074
6075 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6076 echo "configure:6077: checking for --enable-splitter" >&5
6077 no_cache=0
6078 # Check whether --enable-splitter or --disable-splitter was given.
6079 if test "${enable_splitter+set}" = set; then
6080 enableval="$enable_splitter"
6081
6082 if test "$enableval" = yes; then
6083 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
6084 else
6085 ac_cv_use_splitter='wxUSE_SPLITTER=no'
6086 fi
6087
6088 else
6089
6090 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6091 if test "x$LINE" != x ; then
6092 eval "DEFAULT_$LINE"
6093 else
6094 no_cache=1
6095 fi
6096
6097 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6098
6099 fi
6100
6101
6102 eval "$ac_cv_use_splitter"
6103 if test "$no_cache" != 1; then
6104 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6105 fi
6106
6107 if test "$wxUSE_SPLITTER" = yes; then
6108 echo "$ac_t""yes" 1>&6
6109 else
6110 echo "$ac_t""no" 1>&6
6111 fi
6112
6113
6114 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6115 echo "configure:6116: checking for --enable-statbmp" >&5
6116 no_cache=0
6117 # Check whether --enable-statbmp or --disable-statbmp was given.
6118 if test "${enable_statbmp+set}" = set; then
6119 enableval="$enable_statbmp"
6120
6121 if test "$enableval" = yes; then
6122 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
6123 else
6124 ac_cv_use_statbmp='wxUSE_STATBMP=no'
6125 fi
6126
6127 else
6128
6129 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6130 if test "x$LINE" != x ; then
6131 eval "DEFAULT_$LINE"
6132 else
6133 no_cache=1
6134 fi
6135
6136 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6137
6138 fi
6139
6140
6141 eval "$ac_cv_use_statbmp"
6142 if test "$no_cache" != 1; then
6143 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6144 fi
6145
6146 if test "$wxUSE_STATBMP" = yes; then
6147 echo "$ac_t""yes" 1>&6
6148 else
6149 echo "$ac_t""no" 1>&6
6150 fi
6151
6152
6153 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6154 echo "configure:6155: checking for --enable-statbox" >&5
6155 no_cache=0
6156 # Check whether --enable-statbox or --disable-statbox was given.
6157 if test "${enable_statbox+set}" = set; then
6158 enableval="$enable_statbox"
6159
6160 if test "$enableval" = yes; then
6161 ac_cv_use_statbox='wxUSE_STATBOX=yes'
6162 else
6163 ac_cv_use_statbox='wxUSE_STATBOX=no'
6164 fi
6165
6166 else
6167
6168 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6169 if test "x$LINE" != x ; then
6170 eval "DEFAULT_$LINE"
6171 else
6172 no_cache=1
6173 fi
6174
6175 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6176
6177 fi
6178
6179
6180 eval "$ac_cv_use_statbox"
6181 if test "$no_cache" != 1; then
6182 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6183 fi
6184
6185 if test "$wxUSE_STATBOX" = yes; then
6186 echo "$ac_t""yes" 1>&6
6187 else
6188 echo "$ac_t""no" 1>&6
6189 fi
6190
6191
6192 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6193 echo "configure:6194: checking for --enable-statline" >&5
6194 no_cache=0
6195 # Check whether --enable-statline or --disable-statline was given.
6196 if test "${enable_statline+set}" = set; then
6197 enableval="$enable_statline"
6198
6199 if test "$enableval" = yes; then
6200 ac_cv_use_statline='wxUSE_STATLINE=yes'
6201 else
6202 ac_cv_use_statline='wxUSE_STATLINE=no'
6203 fi
6204
6205 else
6206
6207 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6208 if test "x$LINE" != x ; then
6209 eval "DEFAULT_$LINE"
6210 else
6211 no_cache=1
6212 fi
6213
6214 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6215
6216 fi
6217
6218
6219 eval "$ac_cv_use_statline"
6220 if test "$no_cache" != 1; then
6221 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6222 fi
6223
6224 if test "$wxUSE_STATLINE" = yes; then
6225 echo "$ac_t""yes" 1>&6
6226 else
6227 echo "$ac_t""no" 1>&6
6228 fi
6229
6230
6231 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6232 echo "configure:6233: checking for --enable-stattext" >&5
6233 no_cache=0
6234 # Check whether --enable-stattext or --disable-stattext was given.
6235 if test "${enable_stattext+set}" = set; then
6236 enableval="$enable_stattext"
6237
6238 if test "$enableval" = yes; then
6239 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
6240 else
6241 ac_cv_use_stattext='wxUSE_STATTEXT=no'
6242 fi
6243
6244 else
6245
6246 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6247 if test "x$LINE" != x ; then
6248 eval "DEFAULT_$LINE"
6249 else
6250 no_cache=1
6251 fi
6252
6253 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6254
6255 fi
6256
6257
6258 eval "$ac_cv_use_stattext"
6259 if test "$no_cache" != 1; then
6260 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6261 fi
6262
6263 if test "$wxUSE_STATTEXT" = yes; then
6264 echo "$ac_t""yes" 1>&6
6265 else
6266 echo "$ac_t""no" 1>&6
6267 fi
6268
6269
6270 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6271 echo "configure:6272: checking for --enable-statusbar" >&5
6272 no_cache=0
6273 # Check whether --enable-statusbar or --disable-statusbar was given.
6274 if test "${enable_statusbar+set}" = set; then
6275 enableval="$enable_statusbar"
6276
6277 if test "$enableval" = yes; then
6278 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
6279 else
6280 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
6281 fi
6282
6283 else
6284
6285 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6286 if test "x$LINE" != x ; then
6287 eval "DEFAULT_$LINE"
6288 else
6289 no_cache=1
6290 fi
6291
6292 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6293
6294 fi
6295
6296
6297 eval "$ac_cv_use_statusbar"
6298 if test "$no_cache" != 1; then
6299 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6300 fi
6301
6302 if test "$wxUSE_STATUSBAR" = yes; then
6303 echo "$ac_t""yes" 1>&6
6304 else
6305 echo "$ac_t""no" 1>&6
6306 fi
6307
6308
6309 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6310 echo "configure:6311: checking for --enable-tabdialog" >&5
6311 no_cache=0
6312 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6313 if test "${enable_tabdialog+set}" = set; then
6314 enableval="$enable_tabdialog"
6315
6316 if test "$enableval" = yes; then
6317 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
6318 else
6319 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
6320 fi
6321
6322 else
6323
6324 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6325 if test "x$LINE" != x ; then
6326 eval "DEFAULT_$LINE"
6327 else
6328 no_cache=1
6329 fi
6330
6331 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6332
6333 fi
6334
6335
6336 eval "$ac_cv_use_tabdialog"
6337 if test "$no_cache" != 1; then
6338 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6339 fi
6340
6341 if test "$wxUSE_TABDIALOG" = yes; then
6342 echo "$ac_t""yes" 1>&6
6343 else
6344 echo "$ac_t""no" 1>&6
6345 fi
6346
6347
6348 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6349 echo "configure:6350: checking for --enable-textctrl" >&5
6350 no_cache=0
6351 # Check whether --enable-textctrl or --disable-textctrl was given.
6352 if test "${enable_textctrl+set}" = set; then
6353 enableval="$enable_textctrl"
6354
6355 if test "$enableval" = yes; then
6356 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
6357 else
6358 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
6359 fi
6360
6361 else
6362
6363 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6364 if test "x$LINE" != x ; then
6365 eval "DEFAULT_$LINE"
6366 else
6367 no_cache=1
6368 fi
6369
6370 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6371
6372 fi
6373
6374
6375 eval "$ac_cv_use_textctrl"
6376 if test "$no_cache" != 1; then
6377 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6378 fi
6379
6380 if test "$wxUSE_TEXTCTRL" = yes; then
6381 echo "$ac_t""yes" 1>&6
6382 else
6383 echo "$ac_t""no" 1>&6
6384 fi
6385
6386
6387 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6388 echo "configure:6389: checking for --enable-togglebtn" >&5
6389 no_cache=0
6390 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6391 if test "${enable_togglebtn+set}" = set; then
6392 enableval="$enable_togglebtn"
6393
6394 if test "$enableval" = yes; then
6395 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
6396 else
6397 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
6398 fi
6399
6400 else
6401
6402 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6403 if test "x$LINE" != x ; then
6404 eval "DEFAULT_$LINE"
6405 else
6406 no_cache=1
6407 fi
6408
6409 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6410
6411 fi
6412
6413
6414 eval "$ac_cv_use_togglebtn"
6415 if test "$no_cache" != 1; then
6416 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6417 fi
6418
6419 if test "$wxUSE_TOGGLEBTN" = yes; then
6420 echo "$ac_t""yes" 1>&6
6421 else
6422 echo "$ac_t""no" 1>&6
6423 fi
6424
6425
6426 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6427 echo "configure:6428: checking for --enable-toolbar" >&5
6428 no_cache=0
6429 # Check whether --enable-toolbar or --disable-toolbar was given.
6430 if test "${enable_toolbar+set}" = set; then
6431 enableval="$enable_toolbar"
6432
6433 if test "$enableval" = yes; then
6434 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
6435 else
6436 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
6437 fi
6438
6439 else
6440
6441 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6442 if test "x$LINE" != x ; then
6443 eval "DEFAULT_$LINE"
6444 else
6445 no_cache=1
6446 fi
6447
6448 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6449
6450 fi
6451
6452
6453 eval "$ac_cv_use_toolbar"
6454 if test "$no_cache" != 1; then
6455 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6456 fi
6457
6458 if test "$wxUSE_TOOLBAR" = yes; then
6459 echo "$ac_t""yes" 1>&6
6460 else
6461 echo "$ac_t""no" 1>&6
6462 fi
6463
6464
6465 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6466 echo "configure:6467: checking for --enable-tbarnative" >&5
6467 no_cache=0
6468 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6469 if test "${enable_tbarnative+set}" = set; then
6470 enableval="$enable_tbarnative"
6471
6472 if test "$enableval" = yes; then
6473 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
6474 else
6475 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
6476 fi
6477
6478 else
6479
6480 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6481 if test "x$LINE" != x ; then
6482 eval "DEFAULT_$LINE"
6483 else
6484 no_cache=1
6485 fi
6486
6487 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6488
6489 fi
6490
6491
6492 eval "$ac_cv_use_tbarnative"
6493 if test "$no_cache" != 1; then
6494 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6495 fi
6496
6497 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6498 echo "$ac_t""yes" 1>&6
6499 else
6500 echo "$ac_t""no" 1>&6
6501 fi
6502
6503
6504 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6505 echo "configure:6506: checking for --enable-tbarsmpl" >&5
6506 no_cache=0
6507 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6508 if test "${enable_tbarsmpl+set}" = set; then
6509 enableval="$enable_tbarsmpl"
6510
6511 if test "$enableval" = yes; then
6512 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
6513 else
6514 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
6515 fi
6516
6517 else
6518
6519 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6520 if test "x$LINE" != x ; then
6521 eval "DEFAULT_$LINE"
6522 else
6523 no_cache=1
6524 fi
6525
6526 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6527
6528 fi
6529
6530
6531 eval "$ac_cv_use_tbarsmpl"
6532 if test "$no_cache" != 1; then
6533 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6534 fi
6535
6536 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6537 echo "$ac_t""yes" 1>&6
6538 else
6539 echo "$ac_t""no" 1>&6
6540 fi
6541
6542
6543 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6544 echo "configure:6545: checking for --enable-treectrl" >&5
6545 no_cache=0
6546 # Check whether --enable-treectrl or --disable-treectrl was given.
6547 if test "${enable_treectrl+set}" = set; then
6548 enableval="$enable_treectrl"
6549
6550 if test "$enableval" = yes; then
6551 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
6552 else
6553 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
6554 fi
6555
6556 else
6557
6558 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6559 if test "x$LINE" != x ; then
6560 eval "DEFAULT_$LINE"
6561 else
6562 no_cache=1
6563 fi
6564
6565 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6566
6567 fi
6568
6569
6570 eval "$ac_cv_use_treectrl"
6571 if test "$no_cache" != 1; then
6572 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6573 fi
6574
6575 if test "$wxUSE_TREECTRL" = yes; then
6576 echo "$ac_t""yes" 1>&6
6577 else
6578 echo "$ac_t""no" 1>&6
6579 fi
6580
6581
6582 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6583 echo "configure:6584: checking for --enable-popupwin" >&5
6584 no_cache=0
6585 # Check whether --enable-popupwin or --disable-popupwin was given.
6586 if test "${enable_popupwin+set}" = set; then
6587 enableval="$enable_popupwin"
6588
6589 if test "$enableval" = yes; then
6590 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
6591 else
6592 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
6593 fi
6594
6595 else
6596
6597 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6598 if test "x$LINE" != x ; then
6599 eval "DEFAULT_$LINE"
6600 else
6601 no_cache=1
6602 fi
6603
6604 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6605
6606 fi
6607
6608
6609 eval "$ac_cv_use_popupwin"
6610 if test "$no_cache" != 1; then
6611 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6612 fi
6613
6614 if test "$wxUSE_POPUPWIN" = yes; then
6615 echo "$ac_t""yes" 1>&6
6616 else
6617 echo "$ac_t""no" 1>&6
6618 fi
6619
6620
6621
6622
6623 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6624 echo "configure:6625: checking for --enable-commondlg" >&5
6625 no_cache=0
6626 # Check whether --enable-commondlg or --disable-commondlg was given.
6627 if test "${enable_commondlg+set}" = set; then
6628 enableval="$enable_commondlg"
6629
6630 if test "$enableval" = yes; then
6631 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
6632 else
6633 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
6634 fi
6635
6636 else
6637
6638 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6639 if test "x$LINE" != x ; then
6640 eval "DEFAULT_$LINE"
6641 else
6642 no_cache=1
6643 fi
6644
6645 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6646
6647 fi
6648
6649
6650 eval "$ac_cv_use_commondlg"
6651 if test "$no_cache" != 1; then
6652 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6653 fi
6654
6655 if test "$wxUSE_COMMONDLGS" = yes; then
6656 echo "$ac_t""yes" 1>&6
6657 else
6658 echo "$ac_t""no" 1>&6
6659 fi
6660
6661
6662 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6663 echo "configure:6664: checking for --enable-choicedlg" >&5
6664 no_cache=0
6665 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6666 if test "${enable_choicedlg+set}" = set; then
6667 enableval="$enable_choicedlg"
6668
6669 if test "$enableval" = yes; then
6670 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
6671 else
6672 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
6673 fi
6674
6675 else
6676
6677 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6678 if test "x$LINE" != x ; then
6679 eval "DEFAULT_$LINE"
6680 else
6681 no_cache=1
6682 fi
6683
6684 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6685
6686 fi
6687
6688
6689 eval "$ac_cv_use_choicedlg"
6690 if test "$no_cache" != 1; then
6691 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6692 fi
6693
6694 if test "$wxUSE_CHOICEDLG" = yes; then
6695 echo "$ac_t""yes" 1>&6
6696 else
6697 echo "$ac_t""no" 1>&6
6698 fi
6699
6700
6701 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6702 echo "configure:6703: checking for --enable-coldlg" >&5
6703 no_cache=0
6704 # Check whether --enable-coldlg or --disable-coldlg was given.
6705 if test "${enable_coldlg+set}" = set; then
6706 enableval="$enable_coldlg"
6707
6708 if test "$enableval" = yes; then
6709 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
6710 else
6711 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
6712 fi
6713
6714 else
6715
6716 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6717 if test "x$LINE" != x ; then
6718 eval "DEFAULT_$LINE"
6719 else
6720 no_cache=1
6721 fi
6722
6723 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6724
6725 fi
6726
6727
6728 eval "$ac_cv_use_coldlg"
6729 if test "$no_cache" != 1; then
6730 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6731 fi
6732
6733 if test "$wxUSE_COLOURDLG" = yes; then
6734 echo "$ac_t""yes" 1>&6
6735 else
6736 echo "$ac_t""no" 1>&6
6737 fi
6738
6739
6740 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6741 echo "configure:6742: checking for --enable-filedlg" >&5
6742 no_cache=0
6743 # Check whether --enable-filedlg or --disable-filedlg was given.
6744 if test "${enable_filedlg+set}" = set; then
6745 enableval="$enable_filedlg"
6746
6747 if test "$enableval" = yes; then
6748 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
6749 else
6750 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
6751 fi
6752
6753 else
6754
6755 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6756 if test "x$LINE" != x ; then
6757 eval "DEFAULT_$LINE"
6758 else
6759 no_cache=1
6760 fi
6761
6762 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6763
6764 fi
6765
6766
6767 eval "$ac_cv_use_filedlg"
6768 if test "$no_cache" != 1; then
6769 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6770 fi
6771
6772 if test "$wxUSE_FILEDLG" = yes; then
6773 echo "$ac_t""yes" 1>&6
6774 else
6775 echo "$ac_t""no" 1>&6
6776 fi
6777
6778
6779 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6780 echo "configure:6781: checking for --enable-filedlg" >&5
6781 no_cache=0
6782 # Check whether --enable-filedlg or --disable-filedlg was given.
6783 if test "${enable_filedlg+set}" = set; then
6784 enableval="$enable_filedlg"
6785
6786 if test "$enableval" = yes; then
6787 ac_cv_use_filedlg='wxUSE_FINDREPLDLG=yes'
6788 else
6789 ac_cv_use_filedlg='wxUSE_FINDREPLDLG=no'
6790 fi
6791
6792 else
6793
6794 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
6795 if test "x$LINE" != x ; then
6796 eval "DEFAULT_$LINE"
6797 else
6798 no_cache=1
6799 fi
6800
6801 ac_cv_use_filedlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
6802
6803 fi
6804
6805
6806 eval "$ac_cv_use_filedlg"
6807 if test "$no_cache" != 1; then
6808 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6809 fi
6810
6811 if test "$wxUSE_FINDREPLDLG" = yes; then
6812 echo "$ac_t""yes" 1>&6
6813 else
6814 echo "$ac_t""no" 1>&6
6815 fi
6816
6817
6818 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6819 echo "configure:6820: checking for --enable-fontdlg" >&5
6820 no_cache=0
6821 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6822 if test "${enable_fontdlg+set}" = set; then
6823 enableval="$enable_fontdlg"
6824
6825 if test "$enableval" = yes; then
6826 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
6827 else
6828 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
6829 fi
6830
6831 else
6832
6833 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6834 if test "x$LINE" != x ; then
6835 eval "DEFAULT_$LINE"
6836 else
6837 no_cache=1
6838 fi
6839
6840 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6841
6842 fi
6843
6844
6845 eval "$ac_cv_use_fontdlg"
6846 if test "$no_cache" != 1; then
6847 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6848 fi
6849
6850 if test "$wxUSE_FONTDLG" = yes; then
6851 echo "$ac_t""yes" 1>&6
6852 else
6853 echo "$ac_t""no" 1>&6
6854 fi
6855
6856
6857 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6858 echo "configure:6859: checking for --enable-dirdlg" >&5
6859 no_cache=0
6860 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6861 if test "${enable_dirdlg+set}" = set; then
6862 enableval="$enable_dirdlg"
6863
6864 if test "$enableval" = yes; then
6865 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
6866 else
6867 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
6868 fi
6869
6870 else
6871
6872 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6873 if test "x$LINE" != x ; then
6874 eval "DEFAULT_$LINE"
6875 else
6876 no_cache=1
6877 fi
6878
6879 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6880
6881 fi
6882
6883
6884 eval "$ac_cv_use_dirdlg"
6885 if test "$no_cache" != 1; then
6886 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6887 fi
6888
6889 if test "$wxUSE_DIRDLG" = yes; then
6890 echo "$ac_t""yes" 1>&6
6891 else
6892 echo "$ac_t""no" 1>&6
6893 fi
6894
6895
6896 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6897 echo "configure:6898: checking for --enable-msgdlg" >&5
6898 no_cache=0
6899 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6900 if test "${enable_msgdlg+set}" = set; then
6901 enableval="$enable_msgdlg"
6902
6903 if test "$enableval" = yes; then
6904 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
6905 else
6906 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
6907 fi
6908
6909 else
6910
6911 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6912 if test "x$LINE" != x ; then
6913 eval "DEFAULT_$LINE"
6914 else
6915 no_cache=1
6916 fi
6917
6918 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6919
6920 fi
6921
6922
6923 eval "$ac_cv_use_msgdlg"
6924 if test "$no_cache" != 1; then
6925 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6926 fi
6927
6928 if test "$wxUSE_MSGDLG" = yes; then
6929 echo "$ac_t""yes" 1>&6
6930 else
6931 echo "$ac_t""no" 1>&6
6932 fi
6933
6934
6935 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6936 echo "configure:6937: checking for --enable-numberdlg" >&5
6937 no_cache=0
6938 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6939 if test "${enable_numberdlg+set}" = set; then
6940 enableval="$enable_numberdlg"
6941
6942 if test "$enableval" = yes; then
6943 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
6944 else
6945 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
6946 fi
6947
6948 else
6949
6950 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6951 if test "x$LINE" != x ; then
6952 eval "DEFAULT_$LINE"
6953 else
6954 no_cache=1
6955 fi
6956
6957 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6958
6959 fi
6960
6961
6962 eval "$ac_cv_use_numberdlg"
6963 if test "$no_cache" != 1; then
6964 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6965 fi
6966
6967 if test "$wxUSE_NUMBERDLG" = yes; then
6968 echo "$ac_t""yes" 1>&6
6969 else
6970 echo "$ac_t""no" 1>&6
6971 fi
6972
6973
6974 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
6975 echo "configure:6976: checking for --enable-splash" >&5
6976 no_cache=0
6977 # Check whether --enable-splash or --disable-splash was given.
6978 if test "${enable_splash+set}" = set; then
6979 enableval="$enable_splash"
6980
6981 if test "$enableval" = yes; then
6982 ac_cv_use_splash='wxUSE_SPLASH=yes'
6983 else
6984 ac_cv_use_splash='wxUSE_SPLASH=no'
6985 fi
6986
6987 else
6988
6989 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
6990 if test "x$LINE" != x ; then
6991 eval "DEFAULT_$LINE"
6992 else
6993 no_cache=1
6994 fi
6995
6996 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
6997
6998 fi
6999
7000
7001 eval "$ac_cv_use_splash"
7002 if test "$no_cache" != 1; then
7003 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7004 fi
7005
7006 if test "$wxUSE_SPLASH" = yes; then
7007 echo "$ac_t""yes" 1>&6
7008 else
7009 echo "$ac_t""no" 1>&6
7010 fi
7011
7012
7013 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7014 echo "configure:7015: checking for --enable-textdlg" >&5
7015 no_cache=0
7016 # Check whether --enable-textdlg or --disable-textdlg was given.
7017 if test "${enable_textdlg+set}" = set; then
7018 enableval="$enable_textdlg"
7019
7020 if test "$enableval" = yes; then
7021 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
7022 else
7023 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
7024 fi
7025
7026 else
7027
7028 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7029 if test "x$LINE" != x ; then
7030 eval "DEFAULT_$LINE"
7031 else
7032 no_cache=1
7033 fi
7034
7035 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7036
7037 fi
7038
7039
7040 eval "$ac_cv_use_textdlg"
7041 if test "$no_cache" != 1; then
7042 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7043 fi
7044
7045 if test "$wxUSE_TEXTDLG" = yes; then
7046 echo "$ac_t""yes" 1>&6
7047 else
7048 echo "$ac_t""no" 1>&6
7049 fi
7050
7051
7052 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7053 echo "configure:7054: checking for --enable-tipdlg" >&5
7054 no_cache=0
7055 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7056 if test "${enable_tipdlg+set}" = set; then
7057 enableval="$enable_tipdlg"
7058
7059 if test "$enableval" = yes; then
7060 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
7061 else
7062 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
7063 fi
7064
7065 else
7066
7067 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7068 if test "x$LINE" != x ; then
7069 eval "DEFAULT_$LINE"
7070 else
7071 no_cache=1
7072 fi
7073
7074 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7075
7076 fi
7077
7078
7079 eval "$ac_cv_use_tipdlg"
7080 if test "$no_cache" != 1; then
7081 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7082 fi
7083
7084 if test "$wxUSE_STARTUP_TIPS" = yes; then
7085 echo "$ac_t""yes" 1>&6
7086 else
7087 echo "$ac_t""no" 1>&6
7088 fi
7089
7090
7091 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7092 echo "configure:7093: checking for --enable-progressdlg" >&5
7093 no_cache=0
7094 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7095 if test "${enable_progressdlg+set}" = set; then
7096 enableval="$enable_progressdlg"
7097
7098 if test "$enableval" = yes; then
7099 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
7100 else
7101 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
7102 fi
7103
7104 else
7105
7106 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x ; then
7108 eval "DEFAULT_$LINE"
7109 else
7110 no_cache=1
7111 fi
7112
7113 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7114
7115 fi
7116
7117
7118 eval "$ac_cv_use_progressdlg"
7119 if test "$no_cache" != 1; then
7120 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7121 fi
7122
7123 if test "$wxUSE_PROGRESSDLG" = yes; then
7124 echo "$ac_t""yes" 1>&6
7125 else
7126 echo "$ac_t""no" 1>&6
7127 fi
7128
7129
7130 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7131 echo "configure:7132: checking for --enable-wizarddlg" >&5
7132 no_cache=0
7133 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7134 if test "${enable_wizarddlg+set}" = set; then
7135 enableval="$enable_wizarddlg"
7136
7137 if test "$enableval" = yes; then
7138 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
7139 else
7140 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
7141 fi
7142
7143 else
7144
7145 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x ; then
7147 eval "DEFAULT_$LINE"
7148 else
7149 no_cache=1
7150 fi
7151
7152 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7153
7154 fi
7155
7156
7157 eval "$ac_cv_use_wizarddlg"
7158 if test "$no_cache" != 1; then
7159 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7160 fi
7161
7162 if test "$wxUSE_WIZARDDLG" = yes; then
7163 echo "$ac_t""yes" 1>&6
7164 else
7165 echo "$ac_t""no" 1>&6
7166 fi
7167
7168
7169
7170
7171 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7172 echo "configure:7173: checking for --enable-menus" >&5
7173 no_cache=0
7174 # Check whether --enable-menus or --disable-menus was given.
7175 if test "${enable_menus+set}" = set; then
7176 enableval="$enable_menus"
7177
7178 if test "$enableval" = yes; then
7179 ac_cv_use_menus='wxUSE_MENUS=yes'
7180 else
7181 ac_cv_use_menus='wxUSE_MENUS=no'
7182 fi
7183
7184 else
7185
7186 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7187 if test "x$LINE" != x ; then
7188 eval "DEFAULT_$LINE"
7189 else
7190 no_cache=1
7191 fi
7192
7193 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7194
7195 fi
7196
7197
7198 eval "$ac_cv_use_menus"
7199 if test "$no_cache" != 1; then
7200 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7201 fi
7202
7203 if test "$wxUSE_MENUS" = yes; then
7204 echo "$ac_t""yes" 1>&6
7205 else
7206 echo "$ac_t""no" 1>&6
7207 fi
7208
7209
7210 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7211 echo "configure:7212: checking for --enable-miniframe" >&5
7212 no_cache=0
7213 # Check whether --enable-miniframe or --disable-miniframe was given.
7214 if test "${enable_miniframe+set}" = set; then
7215 enableval="$enable_miniframe"
7216
7217 if test "$enableval" = yes; then
7218 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
7219 else
7220 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
7221 fi
7222
7223 else
7224
7225 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7226 if test "x$LINE" != x ; then
7227 eval "DEFAULT_$LINE"
7228 else
7229 no_cache=1
7230 fi
7231
7232 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7233
7234 fi
7235
7236
7237 eval "$ac_cv_use_miniframe"
7238 if test "$no_cache" != 1; then
7239 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7240 fi
7241
7242 if test "$wxUSE_MINIFRAME" = yes; then
7243 echo "$ac_t""yes" 1>&6
7244 else
7245 echo "$ac_t""no" 1>&6
7246 fi
7247
7248
7249 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7250 echo "configure:7251: checking for --enable-tooltips" >&5
7251 no_cache=0
7252 # Check whether --enable-tooltips or --disable-tooltips was given.
7253 if test "${enable_tooltips+set}" = set; then
7254 enableval="$enable_tooltips"
7255
7256 if test "$enableval" = yes; then
7257 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
7258 else
7259 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
7260 fi
7261
7262 else
7263
7264 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7265 if test "x$LINE" != x ; then
7266 eval "DEFAULT_$LINE"
7267 else
7268 no_cache=1
7269 fi
7270
7271 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7272
7273 fi
7274
7275
7276 eval "$ac_cv_use_tooltips"
7277 if test "$no_cache" != 1; then
7278 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7279 fi
7280
7281 if test "$wxUSE_TOOLTIPS" = yes; then
7282 echo "$ac_t""yes" 1>&6
7283 else
7284 echo "$ac_t""no" 1>&6
7285 fi
7286
7287
7288 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7289 echo "configure:7290: checking for --enable-splines" >&5
7290 no_cache=0
7291 # Check whether --enable-splines or --disable-splines was given.
7292 if test "${enable_splines+set}" = set; then
7293 enableval="$enable_splines"
7294
7295 if test "$enableval" = yes; then
7296 ac_cv_use_splines='wxUSE_SPLINES=yes'
7297 else
7298 ac_cv_use_splines='wxUSE_SPLINES=no'
7299 fi
7300
7301 else
7302
7303 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7304 if test "x$LINE" != x ; then
7305 eval "DEFAULT_$LINE"
7306 else
7307 no_cache=1
7308 fi
7309
7310 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7311
7312 fi
7313
7314
7315 eval "$ac_cv_use_splines"
7316 if test "$no_cache" != 1; then
7317 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7318 fi
7319
7320 if test "$wxUSE_SPLINES" = yes; then
7321 echo "$ac_t""yes" 1>&6
7322 else
7323 echo "$ac_t""no" 1>&6
7324 fi
7325
7326
7327 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7328 echo "configure:7329: checking for --enable-validators" >&5
7329 no_cache=0
7330 # Check whether --enable-validators or --disable-validators was given.
7331 if test "${enable_validators+set}" = set; then
7332 enableval="$enable_validators"
7333
7334 if test "$enableval" = yes; then
7335 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
7336 else
7337 ac_cv_use_validators='wxUSE_VALIDATORS=no'
7338 fi
7339
7340 else
7341
7342 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7343 if test "x$LINE" != x ; then
7344 eval "DEFAULT_$LINE"
7345 else
7346 no_cache=1
7347 fi
7348
7349 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7350
7351 fi
7352
7353
7354 eval "$ac_cv_use_validators"
7355 if test "$no_cache" != 1; then
7356 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7357 fi
7358
7359 if test "$wxUSE_VALIDATORS" = yes; then
7360 echo "$ac_t""yes" 1>&6
7361 else
7362 echo "$ac_t""no" 1>&6
7363 fi
7364
7365
7366 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7367 echo "configure:7368: checking for --enable-busyinfo" >&5
7368 no_cache=0
7369 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7370 if test "${enable_busyinfo+set}" = set; then
7371 enableval="$enable_busyinfo"
7372
7373 if test "$enableval" = yes; then
7374 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
7375 else
7376 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
7377 fi
7378
7379 else
7380
7381 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7382 if test "x$LINE" != x ; then
7383 eval "DEFAULT_$LINE"
7384 else
7385 no_cache=1
7386 fi
7387
7388 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7389
7390 fi
7391
7392
7393 eval "$ac_cv_use_busyinfo"
7394 if test "$no_cache" != 1; then
7395 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7396 fi
7397
7398 if test "$wxUSE_BUSYINFO" = yes; then
7399 echo "$ac_t""yes" 1>&6
7400 else
7401 echo "$ac_t""no" 1>&6
7402 fi
7403
7404
7405 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7406 echo "configure:7407: checking for --enable-joystick" >&5
7407 no_cache=0
7408 # Check whether --enable-joystick or --disable-joystick was given.
7409 if test "${enable_joystick+set}" = set; then
7410 enableval="$enable_joystick"
7411
7412 if test "$enableval" = yes; then
7413 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
7414 else
7415 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
7416 fi
7417
7418 else
7419
7420 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7421 if test "x$LINE" != x ; then
7422 eval "DEFAULT_$LINE"
7423 else
7424 no_cache=1
7425 fi
7426
7427 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7428
7429 fi
7430
7431
7432 eval "$ac_cv_use_joystick"
7433 if test "$no_cache" != 1; then
7434 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7435 fi
7436
7437 if test "$wxUSE_JOYSTICK" = yes; then
7438 echo "$ac_t""yes" 1>&6
7439 else
7440 echo "$ac_t""no" 1>&6
7441 fi
7442
7443
7444 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7445 echo "configure:7446: checking for --enable-metafile" >&5
7446 no_cache=0
7447 # Check whether --enable-metafile or --disable-metafile was given.
7448 if test "${enable_metafile+set}" = set; then
7449 enableval="$enable_metafile"
7450
7451 if test "$enableval" = yes; then
7452 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7453 else
7454 ac_cv_use_metafile='wxUSE_METAFILE=no'
7455 fi
7456
7457 else
7458
7459 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7460 if test "x$LINE" != x ; then
7461 eval "DEFAULT_$LINE"
7462 else
7463 no_cache=1
7464 fi
7465
7466 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7467
7468 fi
7469
7470
7471 eval "$ac_cv_use_metafile"
7472 if test "$no_cache" != 1; then
7473 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7474 fi
7475
7476 if test "$wxUSE_METAFILE" = yes; then
7477 echo "$ac_t""yes" 1>&6
7478 else
7479 echo "$ac_t""no" 1>&6
7480 fi
7481
7482
7483 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7484 echo "configure:7485: checking for --enable-dragimage" >&5
7485 no_cache=0
7486 # Check whether --enable-dragimage or --disable-dragimage was given.
7487 if test "${enable_dragimage+set}" = set; then
7488 enableval="$enable_dragimage"
7489
7490 if test "$enableval" = yes; then
7491 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
7492 else
7493 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
7494 fi
7495
7496 else
7497
7498 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7499 if test "x$LINE" != x ; then
7500 eval "DEFAULT_$LINE"
7501 else
7502 no_cache=1
7503 fi
7504
7505 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7506
7507 fi
7508
7509
7510 eval "$ac_cv_use_dragimage"
7511 if test "$no_cache" != 1; then
7512 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7513 fi
7514
7515 if test "$wxUSE_DRAGIMAGE" = yes; then
7516 echo "$ac_t""yes" 1>&6
7517 else
7518 echo "$ac_t""no" 1>&6
7519 fi
7520
7521
7522
7523
7524 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7525 echo "configure:7526: checking for --enable-image" >&5
7526 no_cache=0
7527 # Check whether --enable-image or --disable-image was given.
7528 if test "${enable_image+set}" = set; then
7529 enableval="$enable_image"
7530
7531 if test "$enableval" = yes; then
7532 ac_cv_use_image='wxUSE_IMAGE=yes'
7533 else
7534 ac_cv_use_image='wxUSE_IMAGE=no'
7535 fi
7536
7537 else
7538
7539 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7540 if test "x$LINE" != x ; then
7541 eval "DEFAULT_$LINE"
7542 else
7543 no_cache=1
7544 fi
7545
7546 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7547
7548 fi
7549
7550
7551 eval "$ac_cv_use_image"
7552 if test "$no_cache" != 1; then
7553 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7554 fi
7555
7556 if test "$wxUSE_IMAGE" = yes; then
7557 echo "$ac_t""yes" 1>&6
7558 else
7559 echo "$ac_t""no" 1>&6
7560 fi
7561
7562
7563 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7564 echo "configure:7565: checking for --enable-gif" >&5
7565 no_cache=0
7566 # Check whether --enable-gif or --disable-gif was given.
7567 if test "${enable_gif+set}" = set; then
7568 enableval="$enable_gif"
7569
7570 if test "$enableval" = yes; then
7571 ac_cv_use_gif='wxUSE_GIF=yes'
7572 else
7573 ac_cv_use_gif='wxUSE_GIF=no'
7574 fi
7575
7576 else
7577
7578 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7579 if test "x$LINE" != x ; then
7580 eval "DEFAULT_$LINE"
7581 else
7582 no_cache=1
7583 fi
7584
7585 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7586
7587 fi
7588
7589
7590 eval "$ac_cv_use_gif"
7591 if test "$no_cache" != 1; then
7592 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7593 fi
7594
7595 if test "$wxUSE_GIF" = yes; then
7596 echo "$ac_t""yes" 1>&6
7597 else
7598 echo "$ac_t""no" 1>&6
7599 fi
7600
7601
7602 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7603 echo "configure:7604: checking for --enable-pcx" >&5
7604 no_cache=0
7605 # Check whether --enable-pcx or --disable-pcx was given.
7606 if test "${enable_pcx+set}" = set; then
7607 enableval="$enable_pcx"
7608
7609 if test "$enableval" = yes; then
7610 ac_cv_use_pcx='wxUSE_PCX=yes'
7611 else
7612 ac_cv_use_pcx='wxUSE_PCX=no'
7613 fi
7614
7615 else
7616
7617 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7618 if test "x$LINE" != x ; then
7619 eval "DEFAULT_$LINE"
7620 else
7621 no_cache=1
7622 fi
7623
7624 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7625
7626 fi
7627
7628
7629 eval "$ac_cv_use_pcx"
7630 if test "$no_cache" != 1; then
7631 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7632 fi
7633
7634 if test "$wxUSE_PCX" = yes; then
7635 echo "$ac_t""yes" 1>&6
7636 else
7637 echo "$ac_t""no" 1>&6
7638 fi
7639
7640
7641 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7642 echo "configure:7643: checking for --enable-pnm" >&5
7643 no_cache=0
7644 # Check whether --enable-pnm or --disable-pnm was given.
7645 if test "${enable_pnm+set}" = set; then
7646 enableval="$enable_pnm"
7647
7648 if test "$enableval" = yes; then
7649 ac_cv_use_pnm='wxUSE_PNM=yes'
7650 else
7651 ac_cv_use_pnm='wxUSE_PNM=no'
7652 fi
7653
7654 else
7655
7656 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7657 if test "x$LINE" != x ; then
7658 eval "DEFAULT_$LINE"
7659 else
7660 no_cache=1
7661 fi
7662
7663 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7664
7665 fi
7666
7667
7668 eval "$ac_cv_use_pnm"
7669 if test "$no_cache" != 1; then
7670 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7671 fi
7672
7673 if test "$wxUSE_PNM" = yes; then
7674 echo "$ac_t""yes" 1>&6
7675 else
7676 echo "$ac_t""no" 1>&6
7677 fi
7678
7679
7680 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7681 echo "configure:7682: checking for --enable-pnm" >&5
7682 no_cache=0
7683 # Check whether --enable-pnm or --disable-pnm was given.
7684 if test "${enable_pnm+set}" = set; then
7685 enableval="$enable_pnm"
7686
7687 if test "$enableval" = yes; then
7688 ac_cv_use_pnm='wxUSE_XPM=yes'
7689 else
7690 ac_cv_use_pnm='wxUSE_XPM=no'
7691 fi
7692
7693 else
7694
7695 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7696 if test "x$LINE" != x ; then
7697 eval "DEFAULT_$LINE"
7698 else
7699 no_cache=1
7700 fi
7701
7702 ac_cv_use_pnm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7703
7704 fi
7705
7706
7707 eval "$ac_cv_use_pnm"
7708 if test "$no_cache" != 1; then
7709 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7710 fi
7711
7712 if test "$wxUSE_XPM" = yes; then
7713 echo "$ac_t""yes" 1>&6
7714 else
7715 echo "$ac_t""no" 1>&6
7716 fi
7717
7718
7719 fi
7720
7721
7722 echo "saving argument cache $wx_arg_cache_file"
7723 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
7724
7725
7726
7727 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7728 echo "configure:7729: checking for toolkit" >&5
7729
7730 if test "$wxUSE_GUI" = "yes"; then
7731
7732 if test "$USE_BEOS" = 1; then
7733 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7734 fi
7735
7736 if test "$TOOLKIT_GIVEN" = 1; then
7737 for toolkit in `echo $ALL_TOOLKITS`; do
7738 var=wxUSE_$toolkit
7739 eval "value=\$${var}"
7740 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
7741 done
7742 else
7743 for toolkit in `echo $ALL_TOOLKITS`; do
7744 if test "$has_toolkit_in_cache" != 1; then
7745 var=DEFAULT_DEFAULT_wxUSE_$toolkit
7746 else
7747 var=DEFAULT_wxUSE_$toolkit
7748 fi
7749 eval "wxUSE_$toolkit=\$${var}"
7750 done
7751 fi
7752
7753 NUM_TOOLKITS=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} + ${wxUSE_MGL:-0}`
7754
7755 case "${host}" in
7756 *-pc-os2_emx )
7757 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7758 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7759 LEX_STEM="lexyy"
7760 ;;
7761 *)
7762 PATH_IFS=':'
7763 LEX_STEM="lex.yy"
7764 ;;
7765 esac
7766
7767 case "$NUM_TOOLKITS" in
7768 1)
7769 ;;
7770 0)
7771 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7772 ;;
7773 *)
7774 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7775 esac
7776
7777 for toolkit in `echo $ALL_TOOLKITS`; do
7778 var=wxUSE_$toolkit
7779 eval "value=\$${var}"
7780 if test "x$value" != x; then
7781 cache_var=CACHE_$toolkit
7782 eval "cache=\$${cache_var}"
7783 if test "$cache" = 1; then
7784 echo "$var=$value" >> ${wx_arg_cache_file}
7785 fi
7786 if test "$value" = 1; then
7787 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
7788 echo "$ac_t""$toolkit_echo" 1>&6
7789 fi
7790 fi
7791 done
7792
7793 else
7794 PATH_IFS=':'
7795 echo "$ac_t""base only" 1>&6
7796 fi
7797
7798
7799 cat > confcache <<\EOF
7800 # This file is a shell script that caches the results of configure
7801 # tests run on this system so they can be shared between configure
7802 # scripts and configure runs. It is not useful on other systems.
7803 # If it contains results you don't want to keep, you may remove or edit it.
7804 #
7805 # By default, configure uses ./config.cache as the cache file,
7806 # creating it if it does not exist already. You can give configure
7807 # the --cache-file=FILE option to use a different cache file; that is
7808 # what configure does when it calls configure scripts in
7809 # subdirectories, so they share the cache.
7810 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7811 # config.status only pays attention to the cache file if you give it the
7812 # --recheck option to rerun configure.
7813 #
7814 EOF
7815 # The following way of writing the cache mishandles newlines in values,
7816 # but we know of no workaround that is simple, portable, and efficient.
7817 # So, don't put newlines in cache variables' values.
7818 # Ultrix sh set writes to stderr and can't be redirected directly,
7819 # and sets the high bit in the cache file unless we assign to the vars.
7820 (set) 2>&1 |
7821 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7822 *ac_space=\ *)
7823 # `set' does not quote correctly, so add quotes (double-quote substitution
7824 # turns \\\\ into \\, and sed turns \\ into \).
7825 sed -n \
7826 -e "s/'/'\\\\''/g" \
7827 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7828 ;;
7829 *)
7830 # `set' quotes correctly as required by POSIX, so do not add quotes.
7831 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7832 ;;
7833 esac >> confcache
7834 if cmp -s $cache_file confcache; then
7835 :
7836 else
7837 if test -w $cache_file; then
7838 echo "updating cache $cache_file"
7839 cat confcache > $cache_file
7840 else
7841 echo "not updating unwritable cache $cache_file"
7842 fi
7843 fi
7844 rm -f confcache
7845
7846
7847 if test "$build" != "$host" ; then
7848 CC=$host_alias-gcc
7849 CXX=$host_alias-c++
7850 AR=$host_alias-ar
7851 RANLIB=$host_alias-ranlib
7852 DLLTOOL=$host_alias-dlltool
7853 RESCOMP=$host_alias-windres
7854 LD=$host_alias-ld
7855 NM=$host_alias-nm
7856 STRIP=$host_alias-strip
7857 fi
7858
7859 # Extract the first word of "gcc", so it can be a program name with args.
7860 set dummy gcc; ac_word=$2
7861 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7862 echo "configure:7863: checking for $ac_word" >&5
7863 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7864 echo $ac_n "(cached) $ac_c" 1>&6
7865 else
7866 if test -n "$CC"; then
7867 ac_cv_prog_CC="$CC" # Let the user override the test.
7868 else
7869 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
7870 ac_dummy="$PATH"
7871 for ac_dir in $ac_dummy; do
7872 test -z "$ac_dir" && ac_dir=.
7873 if test -f $ac_dir/$ac_word; then
7874 ac_cv_prog_CC="gcc"
7875 break
7876 fi
7877 done
7878 IFS="$ac_save_ifs"
7879 fi
7880 fi
7881 CC="$ac_cv_prog_CC"
7882 if test -n "$CC"; then
7883 echo "$ac_t""$CC" 1>&6
7884 else
7885 echo "$ac_t""no" 1>&6
7886 fi
7887
7888 if test -z "$CC"; then
7889 # Extract the first word of "cc", so it can be a program name with args.
7890 set dummy cc; ac_word=$2
7891 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7892 echo "configure:7893: checking for $ac_word" >&5
7893 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7894 echo $ac_n "(cached) $ac_c" 1>&6
7895 else
7896 if test -n "$CC"; then
7897 ac_cv_prog_CC="$CC" # Let the user override the test.
7898 else
7899 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
7900 ac_prog_rejected=no
7901 ac_dummy="$PATH"
7902 for ac_dir in $ac_dummy; do
7903 test -z "$ac_dir" && ac_dir=.
7904 if test -f $ac_dir/$ac_word; then
7905 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7906 ac_prog_rejected=yes
7907 continue
7908 fi
7909 ac_cv_prog_CC="cc"
7910 break
7911 fi
7912 done
7913 IFS="$ac_save_ifs"
7914 if test $ac_prog_rejected = yes; then
7915 # We found a bogon in the path, so make sure we never use it.
7916 set dummy $ac_cv_prog_CC
7917 shift
7918 if test $# -gt 0; then
7919 # We chose a different compiler from the bogus one.
7920 # However, it has the same basename, so the bogon will be chosen
7921 # first if we set CC to just the basename; use the full file name.
7922 shift
7923 set dummy "$ac_dir/$ac_word" "$@"
7924 shift
7925 ac_cv_prog_CC="$@"
7926 fi
7927 fi
7928 fi
7929 fi
7930 CC="$ac_cv_prog_CC"
7931 if test -n "$CC"; then
7932 echo "$ac_t""$CC" 1>&6
7933 else
7934 echo "$ac_t""no" 1>&6
7935 fi
7936
7937 if test -z "$CC"; then
7938 case "`uname -s`" in
7939 *win32* | *WIN32*)
7940 # Extract the first word of "cl", so it can be a program name with args.
7941 set dummy cl; ac_word=$2
7942 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7943 echo "configure:7944: checking for $ac_word" >&5
7944 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7945 echo $ac_n "(cached) $ac_c" 1>&6
7946 else
7947 if test -n "$CC"; then
7948 ac_cv_prog_CC="$CC" # Let the user override the test.
7949 else
7950 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
7951 ac_dummy="$PATH"
7952 for ac_dir in $ac_dummy; do
7953 test -z "$ac_dir" && ac_dir=.
7954 if test -f $ac_dir/$ac_word; then
7955 ac_cv_prog_CC="cl"
7956 break
7957 fi
7958 done
7959 IFS="$ac_save_ifs"
7960 fi
7961 fi
7962 CC="$ac_cv_prog_CC"
7963 if test -n "$CC"; then
7964 echo "$ac_t""$CC" 1>&6
7965 else
7966 echo "$ac_t""no" 1>&6
7967 fi
7968 ;;
7969 esac
7970 fi
7971 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7972 fi
7973
7974 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7975 echo "configure:7976: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
7976
7977 ac_ext=c
7978 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7979 ac_cpp='$CPP $CPPFLAGS'
7980 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7981 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7982 cross_compiling=$ac_cv_prog_cc_cross
7983
7984 cat > conftest.$ac_ext << EOF
7985
7986 #line 7987 "configure"
7987 #include "confdefs.h"
7988
7989 main(){return(0);}
7990 EOF
7991 if { (eval echo configure:7992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7992 ac_cv_prog_cc_works=yes
7993 # If we can't run a trivial program, we are probably using a cross compiler.
7994 if (./conftest; exit) 2>/dev/null; then
7995 ac_cv_prog_cc_cross=no
7996 else
7997 ac_cv_prog_cc_cross=yes
7998 fi
7999 else
8000 echo "configure: failed program was:" >&5
8001 cat conftest.$ac_ext >&5
8002 ac_cv_prog_cc_works=no
8003 fi
8004 rm -fr conftest*
8005 ac_ext=c
8006 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8007 ac_cpp='$CPP $CPPFLAGS'
8008 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8009 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8010 cross_compiling=$ac_cv_prog_cc_cross
8011
8012 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8013 if test $ac_cv_prog_cc_works = no; then
8014 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8015 fi
8016 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8017 echo "configure:8018: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8018 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8019 cross_compiling=$ac_cv_prog_cc_cross
8020
8021 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8022 echo "configure:8023: checking whether we are using GNU C" >&5
8023 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8024 echo $ac_n "(cached) $ac_c" 1>&6
8025 else
8026 cat > conftest.c <<EOF
8027 #ifdef __GNUC__
8028 yes;
8029 #endif
8030 EOF
8031 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:8032: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
8032 ac_cv_prog_gcc=yes
8033 else
8034 ac_cv_prog_gcc=no
8035 fi
8036 fi
8037
8038 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8039
8040 if test $ac_cv_prog_gcc = yes; then
8041 GCC=yes
8042 else
8043 GCC=
8044 fi
8045
8046 ac_test_CFLAGS="${CFLAGS+set}"
8047 ac_save_CFLAGS="$CFLAGS"
8048 CFLAGS=
8049 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8050 echo "configure:8051: checking whether ${CC-cc} accepts -g" >&5
8051 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8052 echo $ac_n "(cached) $ac_c" 1>&6
8053 else
8054 echo 'void f(){}' > conftest.c
8055 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8056 ac_cv_prog_cc_g=yes
8057 else
8058 ac_cv_prog_cc_g=no
8059 fi
8060 rm -f conftest*
8061
8062 fi
8063
8064 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8065 if test "$ac_test_CFLAGS" = set; then
8066 CFLAGS="$ac_save_CFLAGS"
8067 elif test $ac_cv_prog_cc_g = yes; then
8068 if test "$GCC" = yes; then
8069 CFLAGS="-g -O2"
8070 else
8071 CFLAGS="-g"
8072 fi
8073 else
8074 if test "$GCC" = yes; then
8075 CFLAGS="-O2"
8076 else
8077 CFLAGS=
8078 fi
8079 fi
8080
8081
8082 CFLAGS=`echo "$CFLAGS" | sed 's/-g//g'`
8083
8084 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8085 echo "configure:8086: checking how to run the C preprocessor" >&5
8086 # On Suns, sometimes $CPP names a directory.
8087 if test -n "$CPP" && test -d "$CPP"; then
8088 CPP=
8089 fi
8090 if test -z "$CPP"; then
8091 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8092 echo $ac_n "(cached) $ac_c" 1>&6
8093 else
8094 # This must be in double quotes, not single quotes, because CPP may get
8095 # substituted into the Makefile and "${CC-cc}" will confuse make.
8096 CPP="${CC-cc} -E"
8097 # On the NeXT, cc -E runs the code through the compiler's parser,
8098 # not just through cpp.
8099 cat > conftest.$ac_ext <<EOF
8100 #line 8101 "configure"
8101 #include "confdefs.h"
8102 #include <assert.h>
8103 Syntax Error
8104 EOF
8105 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8106 { (eval echo configure:8107: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8107 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8108 if test -z "$ac_err"; then
8109 :
8110 else
8111 echo "$ac_err" >&5
8112 echo "configure: failed program was:" >&5
8113 cat conftest.$ac_ext >&5
8114 rm -rf conftest*
8115 CPP="${CC-cc} -E -traditional-cpp"
8116 cat > conftest.$ac_ext <<EOF
8117 #line 8118 "configure"
8118 #include "confdefs.h"
8119 #include <assert.h>
8120 Syntax Error
8121 EOF
8122 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8123 { (eval echo configure:8124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8124 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8125 if test -z "$ac_err"; then
8126 :
8127 else
8128 echo "$ac_err" >&5
8129 echo "configure: failed program was:" >&5
8130 cat conftest.$ac_ext >&5
8131 rm -rf conftest*
8132 CPP="${CC-cc} -nologo -E"
8133 cat > conftest.$ac_ext <<EOF
8134 #line 8135 "configure"
8135 #include "confdefs.h"
8136 #include <assert.h>
8137 Syntax Error
8138 EOF
8139 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8140 { (eval echo configure:8141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8141 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8142 if test -z "$ac_err"; then
8143 :
8144 else
8145 echo "$ac_err" >&5
8146 echo "configure: failed program was:" >&5
8147 cat conftest.$ac_ext >&5
8148 rm -rf conftest*
8149 CPP=/lib/cpp
8150 fi
8151 rm -f conftest*
8152 fi
8153 rm -f conftest*
8154 fi
8155 rm -f conftest*
8156 ac_cv_prog_CPP="$CPP"
8157 fi
8158 CPP="$ac_cv_prog_CPP"
8159 else
8160 ac_cv_prog_CPP="$CPP"
8161 fi
8162 echo "$ac_t""$CPP" 1>&6
8163
8164
8165 if test $ac_cv_prog_gcc = yes; then
8166 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8167 echo "configure:8168: checking whether ${CC-cc} needs -traditional" >&5
8168 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8169 echo $ac_n "(cached) $ac_c" 1>&6
8170 else
8171 ac_pattern="Autoconf.*'x'"
8172 cat > conftest.$ac_ext <<EOF
8173 #line 8174 "configure"
8174 #include "confdefs.h"
8175 #include <sgtty.h>
8176 Autoconf TIOCGETP
8177 EOF
8178 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8179 egrep "$ac_pattern" >/dev/null 2>&1; then
8180 rm -rf conftest*
8181 ac_cv_prog_gcc_traditional=yes
8182 else
8183 rm -rf conftest*
8184 ac_cv_prog_gcc_traditional=no
8185 fi
8186 rm -f conftest*
8187
8188
8189 if test $ac_cv_prog_gcc_traditional = no; then
8190 cat > conftest.$ac_ext <<EOF
8191 #line 8192 "configure"
8192 #include "confdefs.h"
8193 #include <termio.h>
8194 Autoconf TCGETA
8195 EOF
8196 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8197 egrep "$ac_pattern" >/dev/null 2>&1; then
8198 rm -rf conftest*
8199 ac_cv_prog_gcc_traditional=yes
8200 fi
8201 rm -f conftest*
8202
8203 fi
8204 fi
8205
8206 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8207 if test $ac_cv_prog_gcc_traditional = yes; then
8208 CC="$CC -traditional"
8209 fi
8210 fi
8211
8212
8213
8214 ac_ext=C
8215 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8216 ac_cpp='$CXXCPP $CPPFLAGS'
8217 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8218 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8219 cross_compiling=$ac_cv_prog_cxx_cross
8220
8221
8222 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
8223 do
8224 # Extract the first word of "$ac_prog", so it can be a program name with args.
8225 set dummy $ac_prog; ac_word=$2
8226 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8227 echo "configure:8228: checking for $ac_word" >&5
8228 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8229 echo $ac_n "(cached) $ac_c" 1>&6
8230 else
8231 if test -n "$CXX"; then
8232 ac_cv_prog_CXX="$CXX" # Let the user override the test.
8233 else
8234 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8235 ac_dummy="$PATH"
8236 for ac_dir in $ac_dummy; do
8237 test -z "$ac_dir" && ac_dir=.
8238 if test -f $ac_dir/$ac_word; then
8239 ac_cv_prog_CXX="$ac_prog"
8240 break
8241 fi
8242 done
8243 IFS="$ac_save_ifs"
8244 fi
8245 fi
8246 CXX="$ac_cv_prog_CXX"
8247 if test -n "$CXX"; then
8248 echo "$ac_t""$CXX" 1>&6
8249 else
8250 echo "$ac_t""no" 1>&6
8251 fi
8252
8253 test -n "$CXX" && break
8254 done
8255 test -n "$CXX" || CXX="gcc"
8256
8257
8258 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8259 echo "configure:8260: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8260
8261 ac_ext=C
8262 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8263 ac_cpp='$CXXCPP $CPPFLAGS'
8264 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8265 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8266 cross_compiling=$ac_cv_prog_cxx_cross
8267
8268 cat > conftest.$ac_ext << EOF
8269
8270 #line 8271 "configure"
8271 #include "confdefs.h"
8272
8273 int main(){return(0);}
8274 EOF
8275 if { (eval echo configure:8276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8276 ac_cv_prog_cxx_works=yes
8277 # If we can't run a trivial program, we are probably using a cross compiler.
8278 if (./conftest; exit) 2>/dev/null; then
8279 ac_cv_prog_cxx_cross=no
8280 else
8281 ac_cv_prog_cxx_cross=yes
8282 fi
8283 else
8284 echo "configure: failed program was:" >&5
8285 cat conftest.$ac_ext >&5
8286 ac_cv_prog_cxx_works=no
8287 fi
8288 rm -fr conftest*
8289 ac_ext=C
8290 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8291 ac_cpp='$CXXCPP $CPPFLAGS'
8292 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8293 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8294 cross_compiling=$ac_cv_prog_cxx_cross
8295
8296 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8297 if test $ac_cv_prog_cxx_works = no; then
8298 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8299 fi
8300 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8301 echo "configure:8302: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8302 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8303 cross_compiling=$ac_cv_prog_cxx_cross
8304
8305 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8306 echo "configure:8307: checking whether we are using GNU C++" >&5
8307 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8308 echo $ac_n "(cached) $ac_c" 1>&6
8309 else
8310 cat > conftest.C <<EOF
8311 #ifdef __GNUC__
8312 yes;
8313 #endif
8314 EOF
8315 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:8316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
8316 ac_cv_prog_gxx=yes
8317 else
8318 ac_cv_prog_gxx=no
8319 fi
8320 fi
8321
8322 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8323
8324 if test $ac_cv_prog_gxx = yes; then
8325 GXX=yes
8326 else
8327 GXX=
8328 fi
8329
8330 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8331 ac_save_CXXFLAGS="$CXXFLAGS"
8332 CXXFLAGS=
8333 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8334 echo "configure:8335: checking whether ${CXX-g++} accepts -g" >&5
8335 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8336 echo $ac_n "(cached) $ac_c" 1>&6
8337 else
8338 echo 'void f(){}' > conftest.cc
8339 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8340 ac_cv_prog_cxx_g=yes
8341 else
8342 ac_cv_prog_cxx_g=no
8343 fi
8344 rm -f conftest*
8345
8346 fi
8347
8348 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8349 if test "$ac_test_CXXFLAGS" = set; then
8350 CXXFLAGS="$ac_save_CXXFLAGS"
8351 elif test $ac_cv_prog_cxx_g = yes; then
8352 if test "$GXX" = yes; then
8353 CXXFLAGS="-g -O2"
8354 else
8355 CXXFLAGS="-g"
8356 fi
8357 else
8358 if test "$GXX" = yes; then
8359 CXXFLAGS="-O2"
8360 else
8361 CXXFLAGS=
8362 fi
8363 fi
8364
8365
8366 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
8367 echo "configure:8368: checking how to run the C++ preprocessor" >&5
8368 if test -z "$CXXCPP"; then
8369 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
8370 echo $ac_n "(cached) $ac_c" 1>&6
8371 else
8372 ac_ext=C
8373 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8374 ac_cpp='$CXXCPP $CPPFLAGS'
8375 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8376 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8377 cross_compiling=$ac_cv_prog_cxx_cross
8378 CXXCPP="${CXX-g++} -E"
8379 cat > conftest.$ac_ext <<EOF
8380 #line 8381 "configure"
8381 #include "confdefs.h"
8382 #include <stdlib.h>
8383 EOF
8384 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8385 { (eval echo configure:8386: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8386 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8387 if test -z "$ac_err"; then
8388 :
8389 else
8390 echo "$ac_err" >&5
8391 echo "configure: failed program was:" >&5
8392 cat conftest.$ac_ext >&5
8393 rm -rf conftest*
8394 CXXCPP=/lib/cpp
8395 fi
8396 rm -f conftest*
8397 ac_cv_prog_CXXCPP="$CXXCPP"
8398 ac_ext=C
8399 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8400 ac_cpp='$CXXCPP $CPPFLAGS'
8401 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8402 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8403 cross_compiling=$ac_cv_prog_cxx_cross
8404 fi
8405 fi
8406 CXXCPP="$ac_cv_prog_CXXCPP"
8407 echo "$ac_t""$CXXCPP" 1>&6
8408
8409
8410 CXXFLAGS=`echo "$CXXFLAGS" | sed 's/-g//g'`
8411
8412 ac_ext=c
8413 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8414 ac_cpp='$CPP $CPPFLAGS'
8415 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8416 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8417 cross_compiling=$ac_cv_prog_cc_cross
8418
8419
8420 # Extract the first word of "ranlib", so it can be a program name with args.
8421 set dummy ranlib; ac_word=$2
8422 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8423 echo "configure:8424: checking for $ac_word" >&5
8424 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8425 echo $ac_n "(cached) $ac_c" 1>&6
8426 else
8427 if test -n "$RANLIB"; then
8428 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8429 else
8430 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8431 ac_dummy="$PATH"
8432 for ac_dir in $ac_dummy; do
8433 test -z "$ac_dir" && ac_dir=.
8434 if test -f $ac_dir/$ac_word; then
8435 ac_cv_prog_RANLIB="ranlib"
8436 break
8437 fi
8438 done
8439 IFS="$ac_save_ifs"
8440 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
8441 fi
8442 fi
8443 RANLIB="$ac_cv_prog_RANLIB"
8444 if test -n "$RANLIB"; then
8445 echo "$ac_t""$RANLIB" 1>&6
8446 else
8447 echo "$ac_t""no" 1>&6
8448 fi
8449
8450
8451 # Extract the first word of "ar", so it can be a program name with args.
8452 set dummy ar; ac_word=$2
8453 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8454 echo "configure:8455: checking for $ac_word" >&5
8455 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8456 echo $ac_n "(cached) $ac_c" 1>&6
8457 else
8458 if test -n "$AR"; then
8459 ac_cv_prog_AR="$AR" # Let the user override the test.
8460 else
8461 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8462 ac_dummy="$PATH"
8463 for ac_dir in $ac_dummy; do
8464 test -z "$ac_dir" && ac_dir=.
8465 if test -f $ac_dir/$ac_word; then
8466 ac_cv_prog_AR="ar"
8467 break
8468 fi
8469 done
8470 IFS="$ac_save_ifs"
8471 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
8472 fi
8473 fi
8474 AR="$ac_cv_prog_AR"
8475 if test -n "$AR"; then
8476 echo "$ac_t""$AR" 1>&6
8477 else
8478 echo "$ac_t""no" 1>&6
8479 fi
8480
8481
8482 # Find a good install program. We prefer a C program (faster),
8483 # so one script is as good as another. But avoid the broken or
8484 # incompatible versions:
8485 # SysV /etc/install, /usr/sbin/install
8486 # SunOS /usr/etc/install
8487 # IRIX /sbin/install
8488 # AIX /bin/install
8489 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8490 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8491 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8492 # ./install, which can be erroneously created by make from ./install.sh.
8493 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8494 echo "configure:8495: checking for a BSD compatible install" >&5
8495 if test -z "$INSTALL"; then
8496 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8497 echo $ac_n "(cached) $ac_c" 1>&6
8498 else
8499 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
8500 for ac_dir in $PATH; do
8501 # Account for people who put trailing slashes in PATH elements.
8502 case "$ac_dir/" in
8503 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
8504 *)
8505 # OSF1 and SCO ODT 3.0 have their own names for install.
8506 # Don't use installbsd from OSF since it installs stuff as root
8507 # by default.
8508 for ac_prog in ginstall scoinst install; do
8509 if test -f $ac_dir/$ac_prog; then
8510 if test $ac_prog = install &&
8511 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
8512 # AIX install. It has an incompatible calling convention.
8513 :
8514 else
8515 ac_cv_path_install="$ac_dir/$ac_prog -c"
8516 break 2
8517 fi
8518 fi
8519 done
8520 ;;
8521 esac
8522 done
8523 IFS="$ac_save_IFS"
8524
8525 fi
8526 if test "${ac_cv_path_install+set}" = set; then
8527 INSTALL="$ac_cv_path_install"
8528 else
8529 # As a last resort, use the slow shell script. We don't cache a
8530 # path for INSTALL within a source directory, because that will
8531 # break other packages using the cache if that directory is
8532 # removed, or if the path is relative.
8533 INSTALL="$ac_install_sh"
8534 fi
8535 fi
8536 echo "$ac_t""$INSTALL" 1>&6
8537
8538 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8539 # It thinks the first close brace ends the variable substitution.
8540 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
8541
8542 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
8543
8544 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
8545
8546
8547 # Extract the first word of "strip", so it can be a program name with args.
8548 set dummy strip; ac_word=$2
8549 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8550 echo "configure:8551: checking for $ac_word" >&5
8551 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8552 echo $ac_n "(cached) $ac_c" 1>&6
8553 else
8554 if test -n "$STRIP"; then
8555 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8556 else
8557 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8558 ac_dummy="$PATH"
8559 for ac_dir in $ac_dummy; do
8560 test -z "$ac_dir" && ac_dir=.
8561 if test -f $ac_dir/$ac_word; then
8562 ac_cv_prog_STRIP="strip"
8563 break
8564 fi
8565 done
8566 IFS="$ac_save_ifs"
8567 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
8568 fi
8569 fi
8570 STRIP="$ac_cv_prog_STRIP"
8571 if test -n "$STRIP"; then
8572 echo "$ac_t""$STRIP" 1>&6
8573 else
8574 echo "$ac_t""no" 1>&6
8575 fi
8576
8577
8578 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8579 echo "configure:8580: checking make for VPATH support" >&5
8580 cat - << EOF > confMake
8581 check : file
8582 cp \$? \$@
8583 cp \$? final_file
8584 EOF
8585
8586 if test ! -d sub ; then
8587 mkdir sub
8588 fi
8589 echo dummy > sub/file
8590 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
8591 RESULT=$?
8592 rm -f sub/file check final_file confMake
8593 rmdir sub
8594 if test "$RESULT" = 0; then
8595 echo "$ac_t""yes" 1>&6
8596 else
8597 echo "$ac_t""no" 1>&6
8598 { echo "configure: error:
8599 You need a make-utility that is able to use the variable
8600 VPATH correctly.
8601 If your version of make does not support VPATH correctly,
8602 please install GNU-make (possibly as gmake), and start
8603 configure with the following command:
8604 export MAKE=gmake; ./configure for sh-type shells
8605 setenv MAKE gmake; ./configure for csh-type shells
8606 Also please do remember to use gmake in this case every time
8607 you are trying to compile.
8608 " 1>&2; exit 1; }
8609 fi
8610
8611 for ac_prog in 'bison -y' byacc
8612 do
8613 # Extract the first word of "$ac_prog", so it can be a program name with args.
8614 set dummy $ac_prog; ac_word=$2
8615 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8616 echo "configure:8617: checking for $ac_word" >&5
8617 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8618 echo $ac_n "(cached) $ac_c" 1>&6
8619 else
8620 if test -n "$YACC"; then
8621 ac_cv_prog_YACC="$YACC" # Let the user override the test.
8622 else
8623 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8624 ac_dummy="$PATH"
8625 for ac_dir in $ac_dummy; do
8626 test -z "$ac_dir" && ac_dir=.
8627 if test -f $ac_dir/$ac_word; then
8628 ac_cv_prog_YACC="$ac_prog"
8629 break
8630 fi
8631 done
8632 IFS="$ac_save_ifs"
8633 fi
8634 fi
8635 YACC="$ac_cv_prog_YACC"
8636 if test -n "$YACC"; then
8637 echo "$ac_t""$YACC" 1>&6
8638 else
8639 echo "$ac_t""no" 1>&6
8640 fi
8641
8642 test -n "$YACC" && break
8643 done
8644 test -n "$YACC" || YACC="yacc"
8645
8646
8647 # Extract the first word of "flex", so it can be a program name with args.
8648 set dummy flex; ac_word=$2
8649 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8650 echo "configure:8651: checking for $ac_word" >&5
8651 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8652 echo $ac_n "(cached) $ac_c" 1>&6
8653 else
8654 if test -n "$LEX"; then
8655 ac_cv_prog_LEX="$LEX" # Let the user override the test.
8656 else
8657 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8658 ac_dummy="$PATH"
8659 for ac_dir in $ac_dummy; do
8660 test -z "$ac_dir" && ac_dir=.
8661 if test -f $ac_dir/$ac_word; then
8662 ac_cv_prog_LEX="flex"
8663 break
8664 fi
8665 done
8666 IFS="$ac_save_ifs"
8667 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"
8668 fi
8669 fi
8670 LEX="$ac_cv_prog_LEX"
8671 if test -n "$LEX"; then
8672 echo "$ac_t""$LEX" 1>&6
8673 else
8674 echo "$ac_t""no" 1>&6
8675 fi
8676
8677 if test -z "$LEXLIB"
8678 then
8679 case "$LEX" in
8680 flex*) ac_lib=fl ;;
8681 *) ac_lib=l ;;
8682 esac
8683 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8684 echo "configure:8685: checking for yywrap in -l$ac_lib" >&5
8685 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8686 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8687 echo $ac_n "(cached) $ac_c" 1>&6
8688 else
8689 ac_save_LIBS="$LIBS"
8690 LIBS="-l$ac_lib $LIBS"
8691 cat > conftest.$ac_ext <<EOF
8692 #line 8693 "configure"
8693 #include "confdefs.h"
8694 /* Override any gcc2 internal prototype to avoid an error. */
8695 /* We use char because int might match the return type of a gcc2
8696 builtin and then its argument prototype would still apply. */
8697 char yywrap();
8698
8699 int main() {
8700 yywrap()
8701 ; return 0; }
8702 EOF
8703 if { (eval echo configure:8704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8704 rm -rf conftest*
8705 eval "ac_cv_lib_$ac_lib_var=yes"
8706 else
8707 echo "configure: failed program was:" >&5
8708 cat conftest.$ac_ext >&5
8709 rm -rf conftest*
8710 eval "ac_cv_lib_$ac_lib_var=no"
8711 fi
8712 rm -f conftest*
8713 LIBS="$ac_save_LIBS"
8714
8715 fi
8716 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8717 echo "$ac_t""yes" 1>&6
8718 LEXLIB="-l$ac_lib"
8719 else
8720 echo "$ac_t""no" 1>&6
8721 fi
8722
8723 fi
8724
8725
8726 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8727 echo "configure:8728: checking whether ln -s works" >&5
8728 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8729 echo $ac_n "(cached) $ac_c" 1>&6
8730 else
8731 rm -f conftestdata
8732 if ln -s X conftestdata 2>/dev/null
8733 then
8734 rm -f conftestdata
8735 ac_cv_prog_LN_S="ln -s"
8736 else
8737 ac_cv_prog_LN_S=ln
8738 fi
8739 fi
8740 LN_S="$ac_cv_prog_LN_S"
8741 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8742 echo "$ac_t""yes" 1>&6
8743 else
8744 echo "$ac_t""no" 1>&6
8745 fi
8746
8747
8748
8749 SEARCH_INCLUDE="\
8750 /usr/local/include \
8751 \
8752 /usr/Motif-1.2/include \
8753 /usr/Motif-2.1/include \
8754 \
8755 /usr/include/Motif1.2 \
8756 /opt/xpm/include/X11 \
8757 /opt/GBxpm/include/ \
8758 /opt/GBxpm/X11/include/ \
8759 \
8760 /usr/Motif1.2/include \
8761 /usr/dt/include \
8762 /usr/openwin/include \
8763 \
8764 /usr/include/Xm \
8765 \
8766 /usr/X11R6/include \
8767 /usr/X11R6.4/include \
8768 /usr/X11R5/include \
8769 /usr/X11R4/include \
8770 \
8771 /usr/include/X11R6 \
8772 /usr/include/X11R5 \
8773 /usr/include/X11R4 \
8774 \
8775 /usr/local/X11R6/include \
8776 /usr/local/X11R5/include \
8777 /usr/local/X11R4/include \
8778 \
8779 /usr/local/include/X11R6 \
8780 /usr/local/include/X11R5 \
8781 /usr/local/include/X11R4 \
8782 \
8783 /usr/X11/include \
8784 /usr/include/X11 \
8785 /usr/local/X11/include \
8786 /usr/local/include/X11 \
8787 \
8788 /usr/X386/include \
8789 /usr/x386/include \
8790 /usr/XFree86/include/X11 \
8791 \
8792 X:/XFree86/include \
8793 X:/XFree86/include/X11 \
8794 \
8795 /usr/include/gtk \
8796 /usr/local/include/gtk \
8797 /usr/include/glib \
8798 /usr/local/include/glib \
8799 \
8800 /usr/include/qt \
8801 /usr/local/include/qt \
8802 \
8803 /usr/include/windows \
8804 /usr/include/wine \
8805 /usr/local/include/wine \
8806 \
8807 /usr/unsupported/include \
8808 /usr/athena/include \
8809 /usr/local/x11r5/include \
8810 /usr/lpp/Xamples/include \
8811 \
8812 /usr/openwin/share/include \
8813 \
8814 /usr/include"
8815
8816 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8817
8818
8819 cat > confcache <<\EOF
8820 # This file is a shell script that caches the results of configure
8821 # tests run on this system so they can be shared between configure
8822 # scripts and configure runs. It is not useful on other systems.
8823 # If it contains results you don't want to keep, you may remove or edit it.
8824 #
8825 # By default, configure uses ./config.cache as the cache file,
8826 # creating it if it does not exist already. You can give configure
8827 # the --cache-file=FILE option to use a different cache file; that is
8828 # what configure does when it calls configure scripts in
8829 # subdirectories, so they share the cache.
8830 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8831 # config.status only pays attention to the cache file if you give it the
8832 # --recheck option to rerun configure.
8833 #
8834 EOF
8835 # The following way of writing the cache mishandles newlines in values,
8836 # but we know of no workaround that is simple, portable, and efficient.
8837 # So, don't put newlines in cache variables' values.
8838 # Ultrix sh set writes to stderr and can't be redirected directly,
8839 # and sets the high bit in the cache file unless we assign to the vars.
8840 (set) 2>&1 |
8841 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8842 *ac_space=\ *)
8843 # `set' does not quote correctly, so add quotes (double-quote substitution
8844 # turns \\\\ into \\, and sed turns \\ into \).
8845 sed -n \
8846 -e "s/'/'\\\\''/g" \
8847 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8848 ;;
8849 *)
8850 # `set' quotes correctly as required by POSIX, so do not add quotes.
8851 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8852 ;;
8853 esac >> confcache
8854 if cmp -s $cache_file confcache; then
8855 :
8856 else
8857 if test -w $cache_file; then
8858 echo "updating cache $cache_file"
8859 cat confcache > $cache_file
8860 else
8861 echo "not updating unwritable cache $cache_file"
8862 fi
8863 fi
8864 rm -f confcache
8865
8866
8867
8868 REGEX_INCLUDE=
8869 if test "$wxUSE_REGEX" != "no"; then
8870 ac_safe=`echo "regex.h" | sed 'y%./+-%__p_%'`
8871 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
8872 echo "configure:8873: checking for regex.h" >&5
8873 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8874 echo $ac_n "(cached) $ac_c" 1>&6
8875 else
8876 cat > conftest.$ac_ext <<EOF
8877 #line 8878 "configure"
8878 #include "confdefs.h"
8879 #include <regex.h>
8880 EOF
8881 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8882 { (eval echo configure:8883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8883 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8884 if test -z "$ac_err"; then
8885 rm -rf conftest*
8886 eval "ac_cv_header_$ac_safe=yes"
8887 else
8888 echo "$ac_err" >&5
8889 echo "configure: failed program was:" >&5
8890 cat conftest.$ac_ext >&5
8891 rm -rf conftest*
8892 eval "ac_cv_header_$ac_safe=no"
8893 fi
8894 rm -f conftest*
8895 fi
8896 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8897 echo "$ac_t""yes" 1>&6
8898 for ac_func in regcomp
8899 do
8900 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8901 echo "configure:8902: checking for $ac_func" >&5
8902 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8903 echo $ac_n "(cached) $ac_c" 1>&6
8904 else
8905 cat > conftest.$ac_ext <<EOF
8906 #line 8907 "configure"
8907 #include "confdefs.h"
8908 /* System header to define __stub macros and hopefully few prototypes,
8909 which can conflict with char $ac_func(); below. */
8910 #include <assert.h>
8911 /* Override any gcc2 internal prototype to avoid an error. */
8912 /* We use char because int might match the return type of a gcc2
8913 builtin and then its argument prototype would still apply. */
8914 char $ac_func();
8915
8916 int main() {
8917
8918 /* The GNU C library defines this for functions which it implements
8919 to always fail with ENOSYS. Some functions are actually named
8920 something starting with __ and the normal name is an alias. */
8921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8922 choke me
8923 #else
8924 $ac_func();
8925 #endif
8926
8927 ; return 0; }
8928 EOF
8929 if { (eval echo configure:8930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8930 rm -rf conftest*
8931 eval "ac_cv_func_$ac_func=yes"
8932 else
8933 echo "configure: failed program was:" >&5
8934 cat conftest.$ac_ext >&5
8935 rm -rf conftest*
8936 eval "ac_cv_func_$ac_func=no"
8937 fi
8938 rm -f conftest*
8939 fi
8940
8941 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8942 echo "$ac_t""yes" 1>&6
8943 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8944 cat >> confdefs.h <<EOF
8945 #define $ac_tr_func 1
8946 EOF
8947
8948 else
8949 echo "$ac_t""no" 1>&6
8950 fi
8951 done
8952
8953 else
8954 echo "$ac_t""no" 1>&6
8955 fi
8956
8957
8958 if test "x$ac_cv_func_regcomp" != "xyes"; then
8959 if test "$wxUSE_REGEX" = "sys"; then
8960 { echo "configure: error: system regex library not found! Use --with-regex to use the built-in regex library." 1>&2; exit 1; }
8961 fi
8962
8963 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
8964 fi
8965
8966 cat >> confdefs.h <<\EOF
8967 #define wxUSE_REGEX 1
8968 EOF
8969
8970 fi
8971
8972
8973 AFMINSTALL=
8974
8975 if test "$wxUSE_GUI" = "yes"; then
8976 USE_GUI=1
8977
8978 TOOLKIT=
8979 TOOLKIT_INCLUDE=
8980
8981 GUI_TK_LIBRARY=
8982 GUI_TK_LINK=
8983
8984 WXGTK12=
8985 WXGTK127=
8986 WXGTK20=
8987
8988 WXWINE=
8989
8990 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
8991 ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'`
8992 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
8993 echo "configure:8994: checking for windows.h" >&5
8994 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8995 echo $ac_n "(cached) $ac_c" 1>&6
8996 else
8997 cat > conftest.$ac_ext <<EOF
8998 #line 8999 "configure"
8999 #include "confdefs.h"
9000 #include <windows.h>
9001 EOF
9002 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9003 { (eval echo configure:9004: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9004 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9005 if test -z "$ac_err"; then
9006 rm -rf conftest*
9007 eval "ac_cv_header_$ac_safe=yes"
9008 else
9009 echo "$ac_err" >&5
9010 echo "configure: failed program was:" >&5
9011 cat conftest.$ac_ext >&5
9012 rm -rf conftest*
9013 eval "ac_cv_header_$ac_safe=no"
9014 fi
9015 rm -f conftest*
9016 fi
9017 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9018 echo "$ac_t""yes" 1>&6
9019 :
9020 else
9021 echo "$ac_t""no" 1>&6
9022
9023 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9024
9025 fi
9026
9027
9028 INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS msw"
9029
9030 LIBS="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
9031
9032 if test "$wxUSE_ODBC" = "yes" ; then
9033 LIBS="$LIBS -lodbc32 -lole32 -loleaut32"
9034 fi
9035
9036 if test "$wxUSE_MINGW" = 1; then
9037 LDFLAGS="$LDFLAGS -mwindows"
9038 fi
9039
9040 TOOLKIT=MSW
9041 GUIDIST=MSW_DIST
9042
9043 RCINCSWITCH="--include-dir"
9044 RCDEFSWITCH="--define"
9045 RCPREPROCESSOR="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
9046 RCINPUTSWITCH="-i"
9047 RCOUTPUTSWITCH="-o"
9048 RESFLAGS="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
9049
9050 RESPROGRAM="\$(RES_PROGRAM)"
9051 fi
9052
9053 if test "$wxUSE_GTK" = 1; then
9054 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
9055 echo "configure:9056: checking for GTK+ version" >&5
9056
9057 gtk_version_cached=1
9058 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
9059 echo $ac_n "(cached) $ac_c" 1>&6
9060 else
9061
9062 gtk_version_cached=0
9063 echo "$ac_t""""" 1>&6
9064
9065 wx_cv_lib_gtk=
9066 if test "x$wxUSE_GTK2" = "xyes"; then
9067 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9068 if test "${with_gtk_prefix+set}" = set; then
9069 withval="$with_gtk_prefix"
9070 gtk_config_prefix="$withval"
9071 else
9072 gtk_config_prefix=""
9073 fi
9074
9075 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9076 if test "${with_gtk_exec_prefix+set}" = set; then
9077 withval="$with_gtk_exec_prefix"
9078 gtk_config_exec_prefix="$withval"
9079 else
9080 gtk_config_exec_prefix=""
9081 fi
9082
9083 # Check whether --enable-gtktest or --disable-gtktest was given.
9084 if test "${enable_gtktest+set}" = set; then
9085 enableval="$enable_gtktest"
9086 :
9087 else
9088 enable_gtktest=yes
9089 fi
9090
9091
9092 for module in .
9093 do
9094 case "$module" in
9095 gthread)
9096 gtk_config_args="$gtk_config_args gthread"
9097 ;;
9098 esac
9099 done
9100
9101 if test x$gtk_config_exec_prefix != x ; then
9102 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9103 if test x${GTK_CONFIG_2_0+set} != xset ; then
9104 GTK_CONFIG_2_0=$gtk_config_exec_prefix/bin/gtk-config-2.0
9105 fi
9106 fi
9107 if test x$gtk_config_prefix != x ; then
9108 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
9109 if test x${GTK_CONFIG_2_0+set} != xset ; then
9110 GTK_CONFIG_2_0=$gtk_config_prefix/bin/gtk-config-2.0
9111 fi
9112 fi
9113
9114 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
9115 set dummy gtk-config-2.0; ac_word=$2
9116 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9117 echo "configure:9118: checking for $ac_word" >&5
9118 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
9119 echo $ac_n "(cached) $ac_c" 1>&6
9120 else
9121 case "$GTK_CONFIG_2_0" in
9122 /*)
9123 ac_cv_path_GTK_CONFIG_2_0="$GTK_CONFIG_2_0" # Let the user override the test with a path.
9124 ;;
9125 ?:/*)
9126 ac_cv_path_GTK_CONFIG_2_0="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
9127 ;;
9128 *)
9129 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9130 ac_dummy="$PATH"
9131 for ac_dir in $ac_dummy; do
9132 test -z "$ac_dir" && ac_dir=.
9133 if test -f $ac_dir/$ac_word; then
9134 ac_cv_path_GTK_CONFIG_2_0="$ac_dir/$ac_word"
9135 break
9136 fi
9137 done
9138 IFS="$ac_save_ifs"
9139 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0="no"
9140 ;;
9141 esac
9142 fi
9143 GTK_CONFIG_2_0="$ac_cv_path_GTK_CONFIG_2_0"
9144 if test -n "$GTK_CONFIG_2_0"; then
9145 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
9146 else
9147 echo "$ac_t""no" 1>&6
9148 fi
9149
9150 min_gtk_version=1.3.1
9151 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9152 echo "configure:9153: checking for GTK - version >= $min_gtk_version" >&5
9153 no_gtk=""
9154 if test "$GTK_CONFIG_2_0" = "no" ; then
9155 no_gtk=yes
9156 else
9157 GTK_CFLAGS=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
9158 GTK_LIBS=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
9159 gtk_config_major_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9160 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9161 gtk_config_minor_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9162 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9163 gtk_config_micro_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9164 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9165 if test "x$enable_gtktest" = "xyes" ; then
9166 ac_save_CFLAGS="$CFLAGS"
9167 ac_save_LIBS="$LIBS"
9168 CFLAGS="$CFLAGS $GTK_CFLAGS"
9169 LIBS="$GTK_LIBS $LIBS"
9170 rm -f conf.gtktest
9171 if test "$cross_compiling" = yes; then
9172 echo $ac_n "cross compiling; assumed OK... $ac_c"
9173 else
9174 cat > conftest.$ac_ext <<EOF
9175 #line 9176 "configure"
9176 #include "confdefs.h"
9177
9178 #include <gtk/gtk.h>
9179 #include <stdio.h>
9180 #include <stdlib.h>
9181
9182 int
9183 main ()
9184 {
9185 int major, minor, micro;
9186 char *tmp_version;
9187
9188 system ("touch conf.gtktest");
9189
9190 /* HP/UX 9 (%@#!) writes to sscanf strings */
9191 tmp_version = g_strdup("$min_gtk_version");
9192 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
9193 printf("%s, bad version string\n", "$min_gtk_version");
9194 exit(1);
9195 }
9196
9197 if ((gtk_major_version != $gtk_config_major_version) ||
9198 (gtk_minor_version != $gtk_config_minor_version) ||
9199 (gtk_micro_version != $gtk_config_micro_version))
9200 {
9201 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9202 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9203 gtk_major_version, gtk_minor_version, gtk_micro_version);
9204 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
9205 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9206 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9207 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9208 printf("*** required on your system.\n");
9209 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
9210 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
9211 printf("*** before re-running configure\n");
9212 }
9213 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
9214 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9215 (gtk_minor_version != GTK_MINOR_VERSION) ||
9216 (gtk_micro_version != GTK_MICRO_VERSION))
9217 {
9218 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9219 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9220 printf("*** library (version %d.%d.%d)\n",
9221 gtk_major_version, gtk_minor_version, gtk_micro_version);
9222 }
9223 #endif /* defined (GTK_MAJOR_VERSION) ... */
9224 else
9225 {
9226 if ((gtk_major_version > major) ||
9227 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9228 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9229 {
9230 return 0;
9231 }
9232 else
9233 {
9234 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
9235 gtk_major_version, gtk_minor_version, gtk_micro_version);
9236 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
9237 major, minor, micro);
9238 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
9239 printf("***\n");
9240 printf("*** If you have already installed a sufficiently new version, this error\n");
9241 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
9242 printf("*** being found. The easiest way to fix this is to remove the old version\n");
9243 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
9244 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
9245 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9246 printf("*** so that the correct libraries are found at run-time))\n");
9247 }
9248 }
9249 return 1;
9250 }
9251
9252 EOF
9253 if { (eval echo configure:9254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9254 then
9255 :
9256 else
9257 echo "configure: failed program was:" >&5
9258 cat conftest.$ac_ext >&5
9259 rm -fr conftest*
9260 no_gtk=yes
9261 fi
9262 rm -fr conftest*
9263 fi
9264
9265 CFLAGS="$ac_save_CFLAGS"
9266 LIBS="$ac_save_LIBS"
9267 fi
9268 fi
9269 if test "x$no_gtk" = x ; then
9270 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
9271 wx_cv_lib_gtk=2.0
9272 else
9273 echo "$ac_t""no" 1>&6
9274 if test "$GTK_CONFIG_2_0" = "no" ; then
9275 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
9276 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
9277 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
9278 echo "*** full path to gtk-config-2.0."
9279 else
9280 if test -f conf.gtktest ; then
9281 :
9282 else
9283 echo "*** Could not run GTK test program, checking why..."
9284 CFLAGS="$CFLAGS $GTK_CFLAGS"
9285 LIBS="$LIBS $GTK_LIBS"
9286 cat > conftest.$ac_ext <<EOF
9287 #line 9288 "configure"
9288 #include "confdefs.h"
9289
9290 #include <gtk/gtk.h>
9291 #include <stdio.h>
9292
9293 int main() {
9294 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
9295 ; return 0; }
9296 EOF
9297 if { (eval echo configure:9298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9298 rm -rf conftest*
9299 echo "*** The test program compiled, but did not run. This usually means"
9300 echo "*** that the run-time linker is not finding GTK or finding the wrong"
9301 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
9302 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9303 echo "*** to the installed location Also, make sure you have run ldconfig if that"
9304 echo "*** is required on your system"
9305 echo "***"
9306 echo "*** If you have an old version installed, it is best to remove it, although"
9307 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9308 echo "***"
9309 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
9310 echo "*** came with the system with the command"
9311 echo "***"
9312 echo "*** rpm --erase --nodeps gtk gtk-devel"
9313 else
9314 echo "configure: failed program was:" >&5
9315 cat conftest.$ac_ext >&5
9316 rm -rf conftest*
9317 echo "*** The test program failed to compile or link. See the file config.log for the"
9318 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
9319 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
9320 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
9321 fi
9322 rm -f conftest*
9323 CFLAGS="$ac_save_CFLAGS"
9324 LIBS="$ac_save_LIBS"
9325 fi
9326 fi
9327 GTK_CFLAGS=""
9328 GTK_LIBS=""
9329 gthread
9330 fi
9331
9332
9333 rm -f conf.gtktest
9334
9335 fi
9336
9337 if test -z "$wx_cv_lib_gtk"; then
9338
9339 if test x$gtk_config_exec_prefix != x ; then
9340 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9341 if test x${GTK_CONFIG+set} != xset ; then
9342 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
9343 fi
9344 fi
9345 if test x$gtk_config_prefix != x ; then
9346 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
9347 if test x${GTK_CONFIG+set} != xset ; then
9348 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
9349 fi
9350 fi
9351
9352 # Extract the first word of "gtk-config", so it can be a program name with args.
9353 set dummy gtk-config; ac_word=$2
9354 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9355 echo "configure:9356: checking for $ac_word" >&5
9356 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9357 echo $ac_n "(cached) $ac_c" 1>&6
9358 else
9359 case "$GTK_CONFIG" in
9360 /*)
9361 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
9362 ;;
9363 ?:/*)
9364 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
9365 ;;
9366 *)
9367 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9368 ac_dummy="$PATH"
9369 for ac_dir in $ac_dummy; do
9370 test -z "$ac_dir" && ac_dir=.
9371 if test -f $ac_dir/$ac_word; then
9372 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
9373 break
9374 fi
9375 done
9376 IFS="$ac_save_ifs"
9377 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
9378 ;;
9379 esac
9380 fi
9381 GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
9382 if test -n "$GTK_CONFIG"; then
9383 echo "$ac_t""$GTK_CONFIG" 1>&6
9384 else
9385 echo "$ac_t""no" 1>&6
9386 fi
9387
9388 min_gtk_version=1.2.7
9389 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9390 echo "configure:9391: checking for GTK - version >= $min_gtk_version" >&5
9391 no_gtk=""
9392 if test "$GTK_CONFIG" != "no" ; then
9393 GTK_CFLAGS=`$GTK_CONFIG --cflags`
9394 GTK_LIBS=`$GTK_CONFIG --libs gthread`
9395 ac_save_CFLAGS="$CFLAGS"
9396 ac_save_LIBS="$LIBS"
9397 CFLAGS="$CFLAGS $GTK_CFLAGS"
9398 LIBS="$LIBS $GTK_LIBS"
9399 if test "$cross_compiling" = yes; then
9400 echo $ac_n "cross compiling; assumed OK... $ac_c"
9401 else
9402 cat > conftest.$ac_ext <<EOF
9403 #line 9404 "configure"
9404 #include "confdefs.h"
9405
9406 #include <gtk/gtk.h>
9407 #include <gtk/gtkfeatures.h>
9408 #include <stdio.h>
9409 #include <stdlib.h>
9410
9411 int
9412 main ()
9413 {
9414 int major, minor, micro;
9415
9416 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, &micro) != 3) {
9417 printf("%s, bad version string\n", "$min_gtk_version");
9418 exit(1);
9419 }
9420
9421 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9422 (GTK_MINOR_VERSION != gtk_minor_version) ||
9423 (GTK_MICRO_VERSION != gtk_micro_version)) {
9424 printf("Headers vs. library version mismatch!\n");
9425 exit(1);
9426 }
9427
9428 if (gtk_minor_version == 1) return FALSE;
9429
9430 return !((gtk_major_version > major) ||
9431 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9432 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9433 }
9434
9435 EOF
9436 if { (eval echo configure:9437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9437 then
9438 :
9439 else
9440 echo "configure: failed program was:" >&5
9441 cat conftest.$ac_ext >&5
9442 rm -fr conftest*
9443 no_gtk=yes
9444 fi
9445 rm -fr conftest*
9446 fi
9447
9448 CFLAGS="$ac_save_CFLAGS"
9449 LIBS="$ac_save_LIBS"
9450 else
9451 no_gtk=yes
9452 fi
9453 if test "x$no_gtk" = x ; then
9454 echo "$ac_t""yes" 1>&6
9455 wx_cv_lib_gtk=1.2.7
9456 else
9457 echo "$ac_t""no" 1>&6
9458 GTK_CFLAGS=""
9459 GTK_LIBS=""
9460 :
9461 fi
9462
9463
9464
9465 fi
9466
9467 if test -z "$wx_cv_lib_gtk"; then
9468
9469 if test x$gtk_config_exec_prefix != x ; then
9470 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9471 if test x${GTK_CONFIG+set} != xset ; then
9472 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
9473 fi
9474 fi
9475 if test x$gtk_config_prefix != x ; then
9476 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
9477 if test x${GTK_CONFIG+set} != xset ; then
9478 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
9479 fi
9480 fi
9481
9482 # Extract the first word of "gtk-config", so it can be a program name with args.
9483 set dummy gtk-config; ac_word=$2
9484 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9485 echo "configure:9486: checking for $ac_word" >&5
9486 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9487 echo $ac_n "(cached) $ac_c" 1>&6
9488 else
9489 case "$GTK_CONFIG" in
9490 /*)
9491 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
9492 ;;
9493 ?:/*)
9494 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
9495 ;;
9496 *)
9497 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9498 ac_dummy="$PATH"
9499 for ac_dir in $ac_dummy; do
9500 test -z "$ac_dir" && ac_dir=.
9501 if test -f $ac_dir/$ac_word; then
9502 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
9503 break
9504 fi
9505 done
9506 IFS="$ac_save_ifs"
9507 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
9508 ;;
9509 esac
9510 fi
9511 GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
9512 if test -n "$GTK_CONFIG"; then
9513 echo "$ac_t""$GTK_CONFIG" 1>&6
9514 else
9515 echo "$ac_t""no" 1>&6
9516 fi
9517
9518 min_gtk_version=1.2.3
9519 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9520 echo "configure:9521: checking for GTK - version >= $min_gtk_version" >&5
9521 no_gtk=""
9522 if test "$GTK_CONFIG" != "no" ; then
9523 GTK_CFLAGS=`$GTK_CONFIG --cflags`
9524 GTK_LIBS=`$GTK_CONFIG --libs gthread`
9525 ac_save_CFLAGS="$CFLAGS"
9526 ac_save_LIBS="$LIBS"
9527 CFLAGS="$CFLAGS $GTK_CFLAGS"
9528 LIBS="$LIBS $GTK_LIBS"
9529 if test "$cross_compiling" = yes; then
9530 echo $ac_n "cross compiling; assumed OK... $ac_c"
9531 else
9532 cat > conftest.$ac_ext <<EOF
9533 #line 9534 "configure"
9534 #include "confdefs.h"
9535
9536 #include <gtk/gtk.h>
9537 #include <gtk/gtkfeatures.h>
9538 #include <stdio.h>
9539 #include <stdlib.h>
9540
9541 int
9542 main ()
9543 {
9544 int major, minor, micro;
9545
9546 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, &micro) != 3) {
9547 printf("%s, bad version string\n", "$min_gtk_version");
9548 exit(1);
9549 }
9550
9551 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9552 (GTK_MINOR_VERSION != gtk_minor_version) ||
9553 (GTK_MICRO_VERSION != gtk_micro_version)) {
9554 printf("Headers vs. library version mismatch!\n");
9555 exit(1);
9556 }
9557
9558 if (gtk_minor_version == 1) return FALSE;
9559
9560 return !((gtk_major_version > major) ||
9561 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9562 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9563 }
9564
9565 EOF
9566 if { (eval echo configure:9567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9567 then
9568 :
9569 else
9570 echo "configure: failed program was:" >&5
9571 cat conftest.$ac_ext >&5
9572 rm -fr conftest*
9573 no_gtk=yes
9574 fi
9575 rm -fr conftest*
9576 fi
9577
9578 CFLAGS="$ac_save_CFLAGS"
9579 LIBS="$ac_save_LIBS"
9580 else
9581 no_gtk=yes
9582 fi
9583 if test "x$no_gtk" = x ; then
9584 echo "$ac_t""yes" 1>&6
9585 wx_cv_lib_gtk=1.2.3
9586 else
9587 echo "$ac_t""no" 1>&6
9588 GTK_CFLAGS=""
9589 GTK_LIBS=""
9590 :
9591 fi
9592
9593
9594
9595 fi
9596
9597 if test -z "$wx_cv_lib_gtk"; then
9598 wx_cv_lib_gtk=none
9599 else
9600 wx_cv_cflags_gtk=$GTK_CFLAGS
9601 wx_cv_libs_gtk=$GTK_LIBS
9602 fi
9603
9604
9605 fi
9606
9607
9608 if test "$gtk_version_cached" = 1; then
9609 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9610 fi
9611
9612 case "$wx_cv_lib_gtk" in
9613 2.0) WXGTK20=1
9614 ;;
9615 1.2.7) WXGTK127=1
9616 WXGTK12=1
9617 ;;
9618 1.2.3) WXGTK12=1
9619 ;;
9620 *) { echo "configure: error:
9621 Please check that gtk-config is in path, the directory
9622 where GTK+ libraries are installed (returned by
9623 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9624 equivalent variable and GTK+ is version 1.2.3 or above.
9625 " 1>&2; exit 1; }
9626 ;;
9627 esac
9628
9629 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
9630 GUI_TK_LIBRARY="$wx_cv_libs_gtk"
9631
9632 AFMINSTALL=afminstall
9633 TOOLKIT=GTK
9634 GUIDIST=GTK_DIST
9635
9636 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9637 echo "configure:9638: checking for gdk_im_open in -lgdk" >&5
9638 ac_lib_var=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9639 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9640 echo $ac_n "(cached) $ac_c" 1>&6
9641 else
9642 ac_save_LIBS="$LIBS"
9643 LIBS="-lgdk $LIBS"
9644 cat > conftest.$ac_ext <<EOF
9645 #line 9646 "configure"
9646 #include "confdefs.h"
9647 /* Override any gcc2 internal prototype to avoid an error. */
9648 /* We use char because int might match the return type of a gcc2
9649 builtin and then its argument prototype would still apply. */
9650 char gdk_im_open();
9651
9652 int main() {
9653 gdk_im_open()
9654 ; return 0; }
9655 EOF
9656 if { (eval echo configure:9657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9657 rm -rf conftest*
9658 eval "ac_cv_lib_$ac_lib_var=yes"
9659 else
9660 echo "configure: failed program was:" >&5
9661 cat conftest.$ac_ext >&5
9662 rm -rf conftest*
9663 eval "ac_cv_lib_$ac_lib_var=no"
9664 fi
9665 rm -f conftest*
9666 LIBS="$ac_save_LIBS"
9667
9668 fi
9669 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9670 echo "$ac_t""yes" 1>&6
9671 cat >> confdefs.h <<\EOF
9672 #define HAVE_XIM 1
9673 EOF
9674
9675 else
9676 echo "$ac_t""no" 1>&6
9677 fi
9678
9679 fi
9680
9681 if test "$wxUSE_MGL" = 1; then
9682
9683 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9684 echo "configure:9685: checking for SciTech MGL library" >&5
9685 if test "x$MGL_ROOT" = x ; then
9686 echo "$ac_t""not found" 1>&6
9687 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9688 else
9689 echo "$ac_t""$MGL_ROOT" 1>&6
9690 fi
9691
9692 MGL_OS=linux/gcc/glibc
9693 MGL_LIB_TYPE=""
9694
9695 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9696 if test -f $MGL_ROOT/lib/debug/$MGL_OS/libmgl.a ; then
9697 MGL_LIB_TYPE=debug
9698 fi
9699 fi
9700 if test "x$MGL_LIB_TYPE" = x ; then
9701 if test -f $MGL_ROOT/lib/release/$MGL_OS/libmgl.a ; then
9702 MGL_LIB_TYPE=release
9703 else
9704 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9705 fi
9706 fi
9707
9708 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
9709 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$MGL_LIB_TYPE/$MGL_OS -lmgl -lmglcpp -lpm"
9710
9711 AFMINSTALL=afminstall
9712 TOOLKIT=MGL
9713 GUIDIST=MGL_DIST
9714 fi
9715
9716 if test "$wxUSE_WINE" = 1; then
9717 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
9718 echo "configure:9719: checking for WINE includes" >&5
9719
9720 ac_find_includes=
9721 for ac_dir in $SEARCH_INCLUDE;
9722 do
9723 if test -f "$ac_dir/windows.h"; then
9724 ac_find_includes=$ac_dir
9725 break
9726 fi
9727 done
9728
9729 if test "$ac_find_includes" != "" ; then
9730 echo "$ac_t""found $ac_find_includes" 1>&6
9731 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -I$ac_find_includes"
9732 else
9733 echo "$ac_t""no" 1>&6
9734 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9735 fi
9736
9737 XPM_LINK=""
9738 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9739 echo "configure:9740: checking for Xpm library" >&5
9740
9741 ac_find_libraries=
9742 for ac_dir in $SEARCH_LIB;
9743 do
9744 for ac_extension in a so sl dylib; do
9745 if test -f "$ac_dir/libXpm.$ac_extension"; then
9746 ac_find_libraries=$ac_dir
9747 break 2
9748 fi
9749 done
9750 done
9751
9752 if test "$ac_find_libraries" != "" ; then
9753 GUI_TK_LIBRARY="-L$ac_find_libraries"
9754 XPM_LINK="-lXpm"
9755 cat >> confdefs.h <<\EOF
9756 #define wxHAVE_LIB_XPM 1
9757 EOF
9758
9759 echo "$ac_t""found at $ac_find_libraries" 1>&6
9760 else
9761 echo "$ac_t""no" 1>&6
9762 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9763 fi
9764
9765 MESA_LINK=""
9766 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9767 echo "configure:9768: checking for Mesa library" >&5
9768
9769 ac_find_libraries=
9770 for ac_dir in $SEARCH_LIB;
9771 do
9772 for ac_extension in a so sl dylib; do
9773 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9774 ac_find_libraries=$ac_dir
9775 break 2
9776 fi
9777 done
9778 done
9779
9780 if test "$ac_find_libraries" != "" ; then
9781 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -L$ac_find_libraries"
9782 MESA_LINK="-lMesaGL"
9783 echo "$ac_t""found at $ac_find_libraries" 1>&6
9784 else
9785 { echo "configure: error: no" 1>&2; exit 1; }
9786 fi
9787
9788 GUI_TK_LINK="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9789 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GUI_TK_LINK"
9790 WXWINE=1
9791 TOOLKIT=MSW
9792 GUIDIST=MSW_DIST
9793 fi
9794
9795
9796 # If we find X, set shell vars x_includes and x_libraries to the
9797 # paths, otherwise set no_x=yes.
9798 # Uses ac_ vars as temps to allow command line to override cache and checks.
9799 # --without-x overrides everything else, but does not touch the cache.
9800 echo $ac_n "checking for X""... $ac_c" 1>&6
9801 echo "configure:9802: checking for X" >&5
9802
9803 # Check whether --with-x or --without-x was given.
9804 if test "${with_x+set}" = set; then
9805 withval="$with_x"
9806 :
9807 fi
9808
9809 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9810 if test "x$with_x" = xno; then
9811 # The user explicitly disabled X.
9812 have_x=disabled
9813 else
9814 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
9815 # Both variables are already set.
9816 have_x=yes
9817 else
9818 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9819 echo $ac_n "(cached) $ac_c" 1>&6
9820 else
9821 # One or both of the vars are not set, and there is no cached value.
9822 ac_x_includes=NO ac_x_libraries=NO
9823 rm -fr conftestdir
9824 if mkdir conftestdir; then
9825 cd conftestdir
9826 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9827 cat > Imakefile <<'EOF'
9828 acfindx:
9829 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9830 EOF
9831 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
9832 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9833 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9834 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9835 for ac_extension in a so sl; do
9836 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
9837 test -f $ac_im_libdir/libX11.$ac_extension; then
9838 ac_im_usrlibdir=$ac_im_libdir; break
9839 fi
9840 done
9841 # Screen out bogus values from the imake configuration. They are
9842 # bogus both because they are the default anyway, and because
9843 # using them would break gcc on systems where it needs fixed includes.
9844 case "$ac_im_incroot" in
9845 /usr/include) ;;
9846 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
9847 esac
9848 case "$ac_im_usrlibdir" in
9849 /usr/lib | /lib) ;;
9850 *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
9851 esac
9852 fi
9853 cd ..
9854 rm -fr conftestdir
9855 fi
9856
9857 if test "$ac_x_includes" = NO; then
9858 # Guess where to find include files, by looking for this one X11 .h file.
9859 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
9860
9861 # First, try using that file with no special directory specified.
9862 cat > conftest.$ac_ext <<EOF
9863 #line 9864 "configure"
9864 #include "confdefs.h"
9865 #include <$x_direct_test_include>
9866 EOF
9867 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9868 { (eval echo configure:9869: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9869 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9870 if test -z "$ac_err"; then
9871 rm -rf conftest*
9872 # We can compile using X headers with no special include directory.
9873 ac_x_includes=
9874 else
9875 echo "$ac_err" >&5
9876 echo "configure: failed program was:" >&5
9877 cat conftest.$ac_ext >&5
9878 rm -rf conftest*
9879 # Look for the header file in a standard set of common directories.
9880 # Check X11 before X11Rn because it is often a symlink to the current release.
9881 for ac_dir in \
9882 /usr/X11/include \
9883 /usr/X11R6/include \
9884 /usr/X11R5/include \
9885 /usr/X11R4/include \
9886 \
9887 /usr/include/X11 \
9888 /usr/include/X11R6 \
9889 /usr/include/X11R5 \
9890 /usr/include/X11R4 \
9891 \
9892 /usr/local/X11/include \
9893 /usr/local/X11R6/include \
9894 /usr/local/X11R5/include \
9895 /usr/local/X11R4/include \
9896 \
9897 /usr/local/include/X11 \
9898 /usr/local/include/X11R6 \
9899 /usr/local/include/X11R5 \
9900 /usr/local/include/X11R4 \
9901 \
9902 /usr/X386/include \
9903 /usr/x386/include \
9904 /usr/XFree86/include/X11 \
9905 \
9906 /usr/include \
9907 /usr/local/include \
9908 /usr/unsupported/include \
9909 /usr/athena/include \
9910 /usr/local/x11r5/include \
9911 /usr/lpp/Xamples/include \
9912 \
9913 /usr/openwin/include \
9914 /usr/openwin/share/include \
9915 ; \
9916 do
9917 if test -r "$ac_dir/$x_direct_test_include"; then
9918 ac_x_includes=$ac_dir
9919 break
9920 fi
9921 done
9922 fi
9923 rm -f conftest*
9924 fi # $ac_x_includes = NO
9925
9926 if test "$ac_x_libraries" = NO; then
9927 # Check for the libraries.
9928
9929 test -z "$x_direct_test_library" && x_direct_test_library=Xt
9930 test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
9931
9932 # See if we find them without any special options.
9933 # Don't add to $LIBS permanently.
9934 ac_save_LIBS="$LIBS"
9935 LIBS="-l$x_direct_test_library $LIBS"
9936 cat > conftest.$ac_ext <<EOF
9937 #line 9938 "configure"
9938 #include "confdefs.h"
9939
9940 int main() {
9941 ${x_direct_test_function}()
9942 ; return 0; }
9943 EOF
9944 if { (eval echo configure:9945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9945 rm -rf conftest*
9946 LIBS="$ac_save_LIBS"
9947 # We can link X programs with no special library path.
9948 ac_x_libraries=
9949 else
9950 echo "configure: failed program was:" >&5
9951 cat conftest.$ac_ext >&5
9952 rm -rf conftest*
9953 LIBS="$ac_save_LIBS"
9954 # First see if replacing the include by lib works.
9955 # Check X11 before X11Rn because it is often a symlink to the current release.
9956 for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
9957 /usr/X11/lib \
9958 /usr/X11R6/lib \
9959 /usr/X11R5/lib \
9960 /usr/X11R4/lib \
9961 \
9962 /usr/lib/X11 \
9963 /usr/lib/X11R6 \
9964 /usr/lib/X11R5 \
9965 /usr/lib/X11R4 \
9966 \
9967 /usr/local/X11/lib \
9968 /usr/local/X11R6/lib \
9969 /usr/local/X11R5/lib \
9970 /usr/local/X11R4/lib \
9971 \
9972 /usr/local/lib/X11 \
9973 /usr/local/lib/X11R6 \
9974 /usr/local/lib/X11R5 \
9975 /usr/local/lib/X11R4 \
9976 \
9977 /usr/X386/lib \
9978 /usr/x386/lib \
9979 /usr/XFree86/lib/X11 \
9980 \
9981 /usr/lib \
9982 /usr/local/lib \
9983 /usr/unsupported/lib \
9984 /usr/athena/lib \
9985 /usr/local/x11r5/lib \
9986 /usr/lpp/Xamples/lib \
9987 /lib/usr/lib/X11 \
9988 \
9989 /usr/openwin/lib \
9990 /usr/openwin/share/lib \
9991 ; \
9992 do
9993 for ac_extension in a so sl; do
9994 if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
9995 ac_x_libraries=$ac_dir
9996 break 2
9997 fi
9998 done
9999 done
10000 fi
10001 rm -f conftest*
10002 fi # $ac_x_libraries = NO
10003
10004 if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then
10005 # Didn't find X anywhere. Cache the known absence of X.
10006 ac_cv_have_x="have_x=no"
10007 else
10008 # Record where we found X for the cache.
10009 ac_cv_have_x="have_x=yes \
10010 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10011 fi
10012 fi
10013 fi
10014 eval "$ac_cv_have_x"
10015 fi # $with_x != no
10016
10017 if test "$have_x" != yes; then
10018 echo "$ac_t""$have_x" 1>&6
10019 no_x=yes
10020 else
10021 # If each of the values was on the command line, it overrides each guess.
10022 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10023 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10024 # Update the cache value to reflect the command line values.
10025 ac_cv_have_x="have_x=yes \
10026 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10027 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
10028 fi
10029
10030 if test "$no_x" = yes; then
10031 # Not all programs may use this symbol, but it does not hurt to define it.
10032 cat >> confdefs.h <<\EOF
10033 #define X_DISPLAY_MISSING 1
10034 EOF
10035
10036 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10037 else
10038 if test -n "$x_includes"; then
10039 X_CFLAGS="$X_CFLAGS -I$x_includes"
10040 fi
10041
10042 # It would also be nice to do this for all -L options, not just this one.
10043 if test -n "$x_libraries"; then
10044 X_LIBS="$X_LIBS -L$x_libraries"
10045 # For Solaris; some versions of Sun CC require a space after -R and
10046 # others require no space. Words are not sufficient . . . .
10047 case "`(uname -sr) 2>/dev/null`" in
10048 "SunOS 5"*)
10049 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
10050 echo "configure:10051: checking whether -R must be followed by a space" >&5
10051 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
10052 cat > conftest.$ac_ext <<EOF
10053 #line 10054 "configure"
10054 #include "confdefs.h"
10055
10056 int main() {
10057
10058 ; return 0; }
10059 EOF
10060 if { (eval echo configure:10061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10061 rm -rf conftest*
10062 ac_R_nospace=yes
10063 else
10064 echo "configure: failed program was:" >&5
10065 cat conftest.$ac_ext >&5
10066 rm -rf conftest*
10067 ac_R_nospace=no
10068 fi
10069 rm -f conftest*
10070 if test $ac_R_nospace = yes; then
10071 echo "$ac_t""no" 1>&6
10072 X_LIBS="$X_LIBS -R$x_libraries"
10073 else
10074 LIBS="$ac_xsave_LIBS -R $x_libraries"
10075 cat > conftest.$ac_ext <<EOF
10076 #line 10077 "configure"
10077 #include "confdefs.h"
10078
10079 int main() {
10080
10081 ; return 0; }
10082 EOF
10083 if { (eval echo configure:10084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10084 rm -rf conftest*
10085 ac_R_space=yes
10086 else
10087 echo "configure: failed program was:" >&5
10088 cat conftest.$ac_ext >&5
10089 rm -rf conftest*
10090 ac_R_space=no
10091 fi
10092 rm -f conftest*
10093 if test $ac_R_space = yes; then
10094 echo "$ac_t""yes" 1>&6
10095 X_LIBS="$X_LIBS -R $x_libraries"
10096 else
10097 echo "$ac_t""neither works" 1>&6
10098 fi
10099 fi
10100 LIBS="$ac_xsave_LIBS"
10101 esac
10102 fi
10103
10104 # Check for system-dependent libraries X programs must link with.
10105 # Do this before checking for the system-independent R6 libraries
10106 # (-lICE), since we may need -lsocket or whatever for X linking.
10107
10108 if test "$ISC" = yes; then
10109 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10110 else
10111 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
10112 # libraries were built with DECnet support. And karl@cs.umb.edu says
10113 # the Alpha needs dnet_stub (dnet does not exist).
10114 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
10115 echo "configure:10116: checking for dnet_ntoa in -ldnet" >&5
10116 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10117 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10118 echo $ac_n "(cached) $ac_c" 1>&6
10119 else
10120 ac_save_LIBS="$LIBS"
10121 LIBS="-ldnet $LIBS"
10122 cat > conftest.$ac_ext <<EOF
10123 #line 10124 "configure"
10124 #include "confdefs.h"
10125 /* Override any gcc2 internal prototype to avoid an error. */
10126 /* We use char because int might match the return type of a gcc2
10127 builtin and then its argument prototype would still apply. */
10128 char dnet_ntoa();
10129
10130 int main() {
10131 dnet_ntoa()
10132 ; return 0; }
10133 EOF
10134 if { (eval echo configure:10135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10135 rm -rf conftest*
10136 eval "ac_cv_lib_$ac_lib_var=yes"
10137 else
10138 echo "configure: failed program was:" >&5
10139 cat conftest.$ac_ext >&5
10140 rm -rf conftest*
10141 eval "ac_cv_lib_$ac_lib_var=no"
10142 fi
10143 rm -f conftest*
10144 LIBS="$ac_save_LIBS"
10145
10146 fi
10147 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10148 echo "$ac_t""yes" 1>&6
10149 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10150 else
10151 echo "$ac_t""no" 1>&6
10152 fi
10153
10154 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10155 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
10156 echo "configure:10157: checking for dnet_ntoa in -ldnet_stub" >&5
10157 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10158 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10159 echo $ac_n "(cached) $ac_c" 1>&6
10160 else
10161 ac_save_LIBS="$LIBS"
10162 LIBS="-ldnet_stub $LIBS"
10163 cat > conftest.$ac_ext <<EOF
10164 #line 10165 "configure"
10165 #include "confdefs.h"
10166 /* Override any gcc2 internal prototype to avoid an error. */
10167 /* We use char because int might match the return type of a gcc2
10168 builtin and then its argument prototype would still apply. */
10169 char dnet_ntoa();
10170
10171 int main() {
10172 dnet_ntoa()
10173 ; return 0; }
10174 EOF
10175 if { (eval echo configure:10176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10176 rm -rf conftest*
10177 eval "ac_cv_lib_$ac_lib_var=yes"
10178 else
10179 echo "configure: failed program was:" >&5
10180 cat conftest.$ac_ext >&5
10181 rm -rf conftest*
10182 eval "ac_cv_lib_$ac_lib_var=no"
10183 fi
10184 rm -f conftest*
10185 LIBS="$ac_save_LIBS"
10186
10187 fi
10188 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10189 echo "$ac_t""yes" 1>&6
10190 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10191 else
10192 echo "$ac_t""no" 1>&6
10193 fi
10194
10195 fi
10196
10197 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10198 # to get the SysV transport functions.
10199 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
10200 # needs -lnsl.
10201 # The nsl library prevents programs from opening the X display
10202 # on Irix 5.2, according to dickey@clark.net.
10203 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
10204 echo "configure:10205: checking for gethostbyname" >&5
10205 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
10206 echo $ac_n "(cached) $ac_c" 1>&6
10207 else
10208 cat > conftest.$ac_ext <<EOF
10209 #line 10210 "configure"
10210 #include "confdefs.h"
10211 /* System header to define __stub macros and hopefully few prototypes,
10212 which can conflict with char gethostbyname(); below. */
10213 #include <assert.h>
10214 /* Override any gcc2 internal prototype to avoid an error. */
10215 /* We use char because int might match the return type of a gcc2
10216 builtin and then its argument prototype would still apply. */
10217 char gethostbyname();
10218
10219 int main() {
10220
10221 /* The GNU C library defines this for functions which it implements
10222 to always fail with ENOSYS. Some functions are actually named
10223 something starting with __ and the normal name is an alias. */
10224 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10225 choke me
10226 #else
10227 gethostbyname();
10228 #endif
10229
10230 ; return 0; }
10231 EOF
10232 if { (eval echo configure:10233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10233 rm -rf conftest*
10234 eval "ac_cv_func_gethostbyname=yes"
10235 else
10236 echo "configure: failed program was:" >&5
10237 cat conftest.$ac_ext >&5
10238 rm -rf conftest*
10239 eval "ac_cv_func_gethostbyname=no"
10240 fi
10241 rm -f conftest*
10242 fi
10243
10244 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
10245 echo "$ac_t""yes" 1>&6
10246 :
10247 else
10248 echo "$ac_t""no" 1>&6
10249 fi
10250
10251 if test $ac_cv_func_gethostbyname = no; then
10252 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
10253 echo "configure:10254: checking for gethostbyname in -lnsl" >&5
10254 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
10255 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10256 echo $ac_n "(cached) $ac_c" 1>&6
10257 else
10258 ac_save_LIBS="$LIBS"
10259 LIBS="-lnsl $LIBS"
10260 cat > conftest.$ac_ext <<EOF
10261 #line 10262 "configure"
10262 #include "confdefs.h"
10263 /* Override any gcc2 internal prototype to avoid an error. */
10264 /* We use char because int might match the return type of a gcc2
10265 builtin and then its argument prototype would still apply. */
10266 char gethostbyname();
10267
10268 int main() {
10269 gethostbyname()
10270 ; return 0; }
10271 EOF
10272 if { (eval echo configure:10273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10273 rm -rf conftest*
10274 eval "ac_cv_lib_$ac_lib_var=yes"
10275 else
10276 echo "configure: failed program was:" >&5
10277 cat conftest.$ac_ext >&5
10278 rm -rf conftest*
10279 eval "ac_cv_lib_$ac_lib_var=no"
10280 fi
10281 rm -f conftest*
10282 LIBS="$ac_save_LIBS"
10283
10284 fi
10285 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10286 echo "$ac_t""yes" 1>&6
10287 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10288 else
10289 echo "$ac_t""no" 1>&6
10290 fi
10291
10292 fi
10293
10294 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10295 # socket/setsockopt and other routines are undefined under SCO ODT
10296 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10297 # on later versions), says simon@lia.di.epfl.ch: it contains
10298 # gethostby* variants that don't use the nameserver (or something).
10299 # -lsocket must be given before -lnsl if both are needed.
10300 # We assume that if connect needs -lnsl, so does gethostbyname.
10301 echo $ac_n "checking for connect""... $ac_c" 1>&6
10302 echo "configure:10303: checking for connect" >&5
10303 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
10304 echo $ac_n "(cached) $ac_c" 1>&6
10305 else
10306 cat > conftest.$ac_ext <<EOF
10307 #line 10308 "configure"
10308 #include "confdefs.h"
10309 /* System header to define __stub macros and hopefully few prototypes,
10310 which can conflict with char connect(); below. */
10311 #include <assert.h>
10312 /* Override any gcc2 internal prototype to avoid an error. */
10313 /* We use char because int might match the return type of a gcc2
10314 builtin and then its argument prototype would still apply. */
10315 char connect();
10316
10317 int main() {
10318
10319 /* The GNU C library defines this for functions which it implements
10320 to always fail with ENOSYS. Some functions are actually named
10321 something starting with __ and the normal name is an alias. */
10322 #if defined (__stub_connect) || defined (__stub___connect)
10323 choke me
10324 #else
10325 connect();
10326 #endif
10327
10328 ; return 0; }
10329 EOF
10330 if { (eval echo configure:10331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10331 rm -rf conftest*
10332 eval "ac_cv_func_connect=yes"
10333 else
10334 echo "configure: failed program was:" >&5
10335 cat conftest.$ac_ext >&5
10336 rm -rf conftest*
10337 eval "ac_cv_func_connect=no"
10338 fi
10339 rm -f conftest*
10340 fi
10341
10342 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
10343 echo "$ac_t""yes" 1>&6
10344 :
10345 else
10346 echo "$ac_t""no" 1>&6
10347 fi
10348
10349 if test $ac_cv_func_connect = no; then
10350 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
10351 echo "configure:10352: checking for connect in -lsocket" >&5
10352 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
10353 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10354 echo $ac_n "(cached) $ac_c" 1>&6
10355 else
10356 ac_save_LIBS="$LIBS"
10357 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10358 cat > conftest.$ac_ext <<EOF
10359 #line 10360 "configure"
10360 #include "confdefs.h"
10361 /* Override any gcc2 internal prototype to avoid an error. */
10362 /* We use char because int might match the return type of a gcc2
10363 builtin and then its argument prototype would still apply. */
10364 char connect();
10365
10366 int main() {
10367 connect()
10368 ; return 0; }
10369 EOF
10370 if { (eval echo configure:10371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10371 rm -rf conftest*
10372 eval "ac_cv_lib_$ac_lib_var=yes"
10373 else
10374 echo "configure: failed program was:" >&5
10375 cat conftest.$ac_ext >&5
10376 rm -rf conftest*
10377 eval "ac_cv_lib_$ac_lib_var=no"
10378 fi
10379 rm -f conftest*
10380 LIBS="$ac_save_LIBS"
10381
10382 fi
10383 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10384 echo "$ac_t""yes" 1>&6
10385 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10386 else
10387 echo "$ac_t""no" 1>&6
10388 fi
10389
10390 fi
10391
10392 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
10393 echo $ac_n "checking for remove""... $ac_c" 1>&6
10394 echo "configure:10395: checking for remove" >&5
10395 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
10396 echo $ac_n "(cached) $ac_c" 1>&6
10397 else
10398 cat > conftest.$ac_ext <<EOF
10399 #line 10400 "configure"
10400 #include "confdefs.h"
10401 /* System header to define __stub macros and hopefully few prototypes,
10402 which can conflict with char remove(); below. */
10403 #include <assert.h>
10404 /* Override any gcc2 internal prototype to avoid an error. */
10405 /* We use char because int might match the return type of a gcc2
10406 builtin and then its argument prototype would still apply. */
10407 char remove();
10408
10409 int main() {
10410
10411 /* The GNU C library defines this for functions which it implements
10412 to always fail with ENOSYS. Some functions are actually named
10413 something starting with __ and the normal name is an alias. */
10414 #if defined (__stub_remove) || defined (__stub___remove)
10415 choke me
10416 #else
10417 remove();
10418 #endif
10419
10420 ; return 0; }
10421 EOF
10422 if { (eval echo configure:10423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10423 rm -rf conftest*
10424 eval "ac_cv_func_remove=yes"
10425 else
10426 echo "configure: failed program was:" >&5
10427 cat conftest.$ac_ext >&5
10428 rm -rf conftest*
10429 eval "ac_cv_func_remove=no"
10430 fi
10431 rm -f conftest*
10432 fi
10433
10434 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
10435 echo "$ac_t""yes" 1>&6
10436 :
10437 else
10438 echo "$ac_t""no" 1>&6
10439 fi
10440
10441 if test $ac_cv_func_remove = no; then
10442 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
10443 echo "configure:10444: checking for remove in -lposix" >&5
10444 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
10445 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10446 echo $ac_n "(cached) $ac_c" 1>&6
10447 else
10448 ac_save_LIBS="$LIBS"
10449 LIBS="-lposix $LIBS"
10450 cat > conftest.$ac_ext <<EOF
10451 #line 10452 "configure"
10452 #include "confdefs.h"
10453 /* Override any gcc2 internal prototype to avoid an error. */
10454 /* We use char because int might match the return type of a gcc2
10455 builtin and then its argument prototype would still apply. */
10456 char remove();
10457
10458 int main() {
10459 remove()
10460 ; return 0; }
10461 EOF
10462 if { (eval echo configure:10463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10463 rm -rf conftest*
10464 eval "ac_cv_lib_$ac_lib_var=yes"
10465 else
10466 echo "configure: failed program was:" >&5
10467 cat conftest.$ac_ext >&5
10468 rm -rf conftest*
10469 eval "ac_cv_lib_$ac_lib_var=no"
10470 fi
10471 rm -f conftest*
10472 LIBS="$ac_save_LIBS"
10473
10474 fi
10475 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10476 echo "$ac_t""yes" 1>&6
10477 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10478 else
10479 echo "$ac_t""no" 1>&6
10480 fi
10481
10482 fi
10483
10484 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10485 echo $ac_n "checking for shmat""... $ac_c" 1>&6
10486 echo "configure:10487: checking for shmat" >&5
10487 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
10488 echo $ac_n "(cached) $ac_c" 1>&6
10489 else
10490 cat > conftest.$ac_ext <<EOF
10491 #line 10492 "configure"
10492 #include "confdefs.h"
10493 /* System header to define __stub macros and hopefully few prototypes,
10494 which can conflict with char shmat(); below. */
10495 #include <assert.h>
10496 /* Override any gcc2 internal prototype to avoid an error. */
10497 /* We use char because int might match the return type of a gcc2
10498 builtin and then its argument prototype would still apply. */
10499 char shmat();
10500
10501 int main() {
10502
10503 /* The GNU C library defines this for functions which it implements
10504 to always fail with ENOSYS. Some functions are actually named
10505 something starting with __ and the normal name is an alias. */
10506 #if defined (__stub_shmat) || defined (__stub___shmat)
10507 choke me
10508 #else
10509 shmat();
10510 #endif
10511
10512 ; return 0; }
10513 EOF
10514 if { (eval echo configure:10515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10515 rm -rf conftest*
10516 eval "ac_cv_func_shmat=yes"
10517 else
10518 echo "configure: failed program was:" >&5
10519 cat conftest.$ac_ext >&5
10520 rm -rf conftest*
10521 eval "ac_cv_func_shmat=no"
10522 fi
10523 rm -f conftest*
10524 fi
10525
10526 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
10527 echo "$ac_t""yes" 1>&6
10528 :
10529 else
10530 echo "$ac_t""no" 1>&6
10531 fi
10532
10533 if test $ac_cv_func_shmat = no; then
10534 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
10535 echo "configure:10536: checking for shmat in -lipc" >&5
10536 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
10537 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10538 echo $ac_n "(cached) $ac_c" 1>&6
10539 else
10540 ac_save_LIBS="$LIBS"
10541 LIBS="-lipc $LIBS"
10542 cat > conftest.$ac_ext <<EOF
10543 #line 10544 "configure"
10544 #include "confdefs.h"
10545 /* Override any gcc2 internal prototype to avoid an error. */
10546 /* We use char because int might match the return type of a gcc2
10547 builtin and then its argument prototype would still apply. */
10548 char shmat();
10549
10550 int main() {
10551 shmat()
10552 ; return 0; }
10553 EOF
10554 if { (eval echo configure:10555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10555 rm -rf conftest*
10556 eval "ac_cv_lib_$ac_lib_var=yes"
10557 else
10558 echo "configure: failed program was:" >&5
10559 cat conftest.$ac_ext >&5
10560 rm -rf conftest*
10561 eval "ac_cv_lib_$ac_lib_var=no"
10562 fi
10563 rm -f conftest*
10564 LIBS="$ac_save_LIBS"
10565
10566 fi
10567 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10568 echo "$ac_t""yes" 1>&6
10569 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10570 else
10571 echo "$ac_t""no" 1>&6
10572 fi
10573
10574 fi
10575 fi
10576
10577 # Check for libraries that X11R6 Xt/Xaw programs need.
10578 ac_save_LDFLAGS="$LDFLAGS"
10579 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10580 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10581 # check for ICE first), but we must link in the order -lSM -lICE or
10582 # we get undefined symbols. So assume we have SM if we have ICE.
10583 # These have to be linked with before -lX11, unlike the other
10584 # libraries we check for below, so use a different variable.
10585 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10586 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10587 echo "configure:10588: checking for IceConnectionNumber in -lICE" >&5
10588 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10589 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10590 echo $ac_n "(cached) $ac_c" 1>&6
10591 else
10592 ac_save_LIBS="$LIBS"
10593 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10594 cat > conftest.$ac_ext <<EOF
10595 #line 10596 "configure"
10596 #include "confdefs.h"
10597 /* Override any gcc2 internal prototype to avoid an error. */
10598 /* We use char because int might match the return type of a gcc2
10599 builtin and then its argument prototype would still apply. */
10600 char IceConnectionNumber();
10601
10602 int main() {
10603 IceConnectionNumber()
10604 ; return 0; }
10605 EOF
10606 if { (eval echo configure:10607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10607 rm -rf conftest*
10608 eval "ac_cv_lib_$ac_lib_var=yes"
10609 else
10610 echo "configure: failed program was:" >&5
10611 cat conftest.$ac_ext >&5
10612 rm -rf conftest*
10613 eval "ac_cv_lib_$ac_lib_var=no"
10614 fi
10615 rm -f conftest*
10616 LIBS="$ac_save_LIBS"
10617
10618 fi
10619 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10620 echo "$ac_t""yes" 1>&6
10621 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10622 else
10623 echo "$ac_t""no" 1>&6
10624 fi
10625
10626 LDFLAGS="$ac_save_LDFLAGS"
10627
10628 fi
10629
10630 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10631 LDFLAGS="$LDFLAGS $X_LIBS"
10632
10633 if test "$wxUSE_MOTIF" = 1; then
10634 if test "$no_x" = "yes"; then
10635 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10636 fi
10637
10638 GUI_TK_LIBRARY="$X_LIBS"
10639 TOOLKIT_INCLUDE="$X_CFLAGS"
10640
10641 AFMINSTALL=afminstall
10642
10643
10644 COMPILED_X_PROGRAM=0
10645
10646 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10647 echo "configure:10648: checking for Motif/Lesstif headers" >&5
10648
10649 ac_find_includes=
10650 for ac_dir in $SEARCH_INCLUDE;
10651 do
10652 if test -f "$ac_dir/Xm/Xm.h"; then
10653 ac_find_includes=$ac_dir
10654 break
10655 fi
10656 done
10657
10658 if test "$ac_find_includes" != "" ; then
10659 echo "$ac_t""found $ac_find_includes" 1>&6
10660 else
10661 cat > conftest.$ac_ext <<EOF
10662 #line 10663 "configure"
10663 #include "confdefs.h"
10664
10665 #include <Xm/Xm.h>
10666
10667 int main() {
10668
10669 int version;
10670
10671 version = xmUseVersion;
10672
10673 ; return 0; }
10674 EOF
10675 if { (eval echo configure:10676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10676 rm -rf conftest*
10677
10678 echo "$ac_t""found in default search path" 1>&6
10679 COMPILED_X_PROGRAM=1
10680
10681 else
10682 echo "configure: failed program was:" >&5
10683 cat conftest.$ac_ext >&5
10684 rm -rf conftest*
10685
10686 echo "$ac_t""no" 1>&6
10687 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10688
10689
10690 fi
10691 rm -f conftest*
10692 fi
10693
10694 if test "$COMPILED_X_PROGRAM" = 0; then
10695 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10696 echo "configure:10697: checking for Motif/Lesstif library" >&5
10697
10698 ac_find_libraries=
10699 for ac_dir in $SEARCH_LIB;
10700 do
10701 for ac_extension in a so sl dylib; do
10702 if test -f "$ac_dir/libXm.$ac_extension"; then
10703 ac_find_libraries=$ac_dir
10704 break 2
10705 fi
10706 done
10707 done
10708
10709 if test "$ac_find_libraries" != "" ; then
10710
10711 ac_path_to_include=$ac_find_includes
10712 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
10713 result=$?
10714 if test $result = 0; then
10715 ac_path_to_include=""
10716 else
10717 ac_path_to_include="-I$ac_find_includes"
10718 fi
10719
10720
10721 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
10722 result=$?
10723 if test $result = 0; then
10724 ac_path_to_link=""
10725 else
10726 ac_path_to_link="-L$ac_find_libraries"
10727 fi
10728
10729
10730 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $ac_path_to_link"
10731 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE $ac_path_to_include"
10732 echo "$ac_t""found at $ac_find_libraries" 1>&6
10733 else
10734 cat > conftest.$ac_ext <<EOF
10735 #line 10736 "configure"
10736 #include "confdefs.h"
10737
10738 #include <Xm/Xm.h>
10739
10740 int main() {
10741
10742 int version;
10743
10744 version = xmUseVersion;
10745
10746 ; return 0; }
10747 EOF
10748 if { (eval echo configure:10749: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10749 rm -rf conftest*
10750
10751 echo "$ac_t""found in default search path" 1>&6
10752 COMPILED_X_PROGRAM=1
10753
10754 else
10755 echo "configure: failed program was:" >&5
10756 cat conftest.$ac_ext >&5
10757 rm -rf conftest*
10758
10759 echo "$ac_t""no" 1>&6
10760 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10761
10762
10763 fi
10764 rm -f conftest*
10765 fi
10766 fi
10767
10768
10769 XPM_LINK=""
10770 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10771 echo "configure:10772: checking for Xpm library" >&5
10772
10773 ac_find_libraries=
10774 for ac_dir in $SEARCH_LIB;
10775 do
10776 for ac_extension in a so sl dylib; do
10777 if test -f "$ac_dir/libXpm.$ac_extension"; then
10778 ac_find_libraries=$ac_dir
10779 break 2
10780 fi
10781 done
10782 done
10783
10784 if test "$ac_find_libraries" != "" ; then
10785
10786 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
10787 result=$?
10788 if test $result = 0; then
10789 ac_path_to_link=""
10790 else
10791 ac_path_to_link="-L$ac_find_libraries"
10792 fi
10793
10794 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $ac_path_to_link"
10795 XPM_LINK="-lXpm "
10796 cat >> confdefs.h <<\EOF
10797 #define wxHAVE_LIB_XPM 1
10798 EOF
10799
10800 echo "$ac_t""found at $ac_find_libraries" 1>&6
10801 else
10802 cat > conftest.$ac_ext <<EOF
10803 #line 10804 "configure"
10804 #include "confdefs.h"
10805
10806 #include <X11/xpm.h>
10807
10808 int main() {
10809
10810 int version;
10811
10812 version = XpmLibraryVersion();
10813
10814 ; return 0; }
10815 EOF
10816 if { (eval echo configure:10817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10817 rm -rf conftest*
10818
10819 XPM_LINK="-lXpm "
10820 cat >> confdefs.h <<\EOF
10821 #define wxHAVE_LIB_XPM 1
10822 EOF
10823
10824 echo "$ac_t""found in default search path" 1>&6
10825 COMPILED_X_PROGRAM=0
10826
10827 else
10828 echo "configure: failed program was:" >&5
10829 cat conftest.$ac_ext >&5
10830 rm -rf conftest*
10831
10832 echo "$ac_t""no" 1>&6
10833 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10834
10835
10836 fi
10837 rm -f conftest*
10838 fi
10839
10840 GUI_TK_LINK="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
10841 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GUI_TK_LINK"
10842 TOOLKIT=MOTIF
10843 GUIDIST=MOTIF_DIST
10844 fi
10845
10846 if test "$wxUSE_MAC" = 1; then
10847 TOOLKIT=MAC
10848 GUIDIST=MACX_DIST
10849 fi
10850
10851 if test "$wxUSE_PM" = 1; then
10852 TOOLKIT=PM
10853 GUIDIST=GTK_DIST
10854 fi
10855
10856 if test "$TOOLKIT" != "PM" ; then
10857 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10858 else
10859 TOOLKIT_DIR="os2"
10860 fi
10861
10862 TOOLKIT_NAME="${TOOLKIT_DIR}"
10863
10864 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
10865
10866 if test "$TOOLKIT_NAME" = "motif"; then
10867 TOOLKIT_VPATH="${TOOLKIT_VPATH}${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10868 fi
10869
10870 if test "$wxUSE_UNIVERSAL" = "yes"; then
10871 TOOLKIT_NAME="${TOOLKIT_NAME}univ"
10872 UNIV_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
10873 TOOLKIT_VPATH="${UNIV_VPATH}${PATH_IFS}${TOOLKIT_VPATH}"
10874 SETUPH_DIR="univ"
10875 else
10876 SETUPH_DIR="${TOOLKIT_DIR}"
10877 fi
10878
10879 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10880 TOOLKIT_NAME="${TOOLKIT_NAME}d"
10881 fi
10882
10883 TOOLKIT_DEF="-D__WX${TOOLKIT}__"
10884 if test "$wxUSE_UNIVERSAL" = "yes"; then
10885 TOOLKIT_DEF="${TOOLKIT_DEF} -D__WXUNIVERSAL__"
10886 fi
10887
10888 WX_LIBRARY="wx_${TOOLKIT_NAME}"
10889
10890 if test "$wxUSE_UNIVERSAL" = "yes"; then
10891 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10892 else
10893 ALL_OBJECTS="\$(GUIOBJS)"
10894 fi
10895
10896 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10897
10898 if test "$TOOLKIT" != "MSW"; then
10899 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
10900 fi
10901
10902 if test "$wxUSE_HTML" = "yes"; then
10903 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
10904 fi
10905
10906 if test "$TOOLKIT" != "MSW"; then
10907 if test "$wxUSE_ODBC" = "yes" ; then
10908 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
10909 fi
10910 fi
10911
10912 if test "x$REGEX_INCLUDE" != "x" ; then
10913 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
10914 fi
10915
10916 if test "$wxUSE_LIBJPEG" = "yes" ; then
10917 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
10918 fi
10919 if test "$wxUSE_LIBTIFF" = "yes" ; then
10920 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
10921 fi
10922 if test "$wxUSE_LIBPNG" = "yes" ; then
10923 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
10924 fi
10925 if test "$wxUSE_ZLIB" = "yes" ; then
10926 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
10927 fi
10928 if test "$wxUSE_FREETYPE" = "yes" ; then
10929 ALL_OBJECTS="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10930 fi
10931
10932 if test "$wxUSE_UNIVERSAL" = "yes"; then
10933 ALL_DEPFILES="\$(GUI_LOWLEVEL_DEPS) \$(UNIVDEPS)"
10934 else
10935 ALL_DEPFILES="\$(GUIDEPS)"
10936 fi
10937
10938 ALL_DEPFILES="${ALL_DEPFILES} \$(COMMONDEPS) \$(GENERICDEPS)"
10939
10940 if test "$TOOLKIT" != "MSW"; then
10941 ALL_DEPFILES="${ALL_DEPFILES} \$(UNIXDEPS)"
10942 fi
10943
10944 if test "$wxUSE_HTML" = "yes"; then
10945 ALL_DEPFILES="${ALL_DEPFILES} \$(HTMLDEPS)"
10946 fi
10947
10948 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
10949 if test "$wxUSE_UNIVERSAL" = "yes"; then
10950 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10951 fi
10952 RPM_FILES="src/\$(TOOLKITDIR)/rpmfiles.lst"
10953 RPM_SPEC="wx\$(TOOLKIT).spec"
10954
10955 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
10956 DISTDIR="wx\$(TOOLKIT)"
10957 else
10958 USE_GUI=0
10959
10960 TOOLKIT_DIR="base"
10961
10962 TOOLKIT_VPATH="."
10963
10964 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10965 TOOLKIT_NAME="${TOOLKIT_DIR}d"
10966 else
10967 TOOLKIT_NAME="${TOOLKIT_DIR}"
10968 fi
10969
10970 TOOLKIT_DEF="-D__WXBASE__"
10971
10972 ALL_OBJECTS="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
10973 ALL_DEPFILES="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
10974
10975 if test "x$REGEX_INCLUDE" != "x" ; then
10976 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
10977 fi
10978
10979 if test "$wxUSE_ZLIB" = "yes" ; then
10980 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
10981 fi
10982
10983 WX_LIBRARY="wx_${TOOLKIT_NAME}"
10984
10985 PORT_FILES="\${top_srcdir}/src/files.lst"
10986 RPM_FILES="src/rpmfiles.lst"
10987 RPM_SPEC="wxBase.spec"
10988
10989 GUIDIST="BASE_DIST"
10990 DISTDIR="wxBase"
10991 fi
10992
10993 WX_LIBRARY_NAME="lib${WX_LIBRARY}.la"
10994 WX_LIBRARY_NAME_GL="lib${WX_LIBRARY}_gl.la"
10995
10996 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
10997 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY}_gl.a"
10998
10999 case "${host}" in
11000 *-*-mingw32* )
11001 WX_LIBRARY_NAME_SHARED="wx${WX_MAJOR_VERSION_NUMBER}${WX_MINOR_VERSION_NUMBER}_${WX_RELEASE_NUMBER}.dll"
11002 ;;
11003 * )
11004 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11005 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11006 ;;
11007 esac
11008
11009 WX_LIBRARY_LINK1="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
11010 WX_LIBRARY_LINK2="lib${WX_LIBRARY}-${WX_RELEASE}.so"
11011 WX_LIBRARY_LINK3="lib${WX_LIBRARY}.so"
11012 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
11013 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
11014 WX_LIBRARY_LINK3_GL="lib${WX_LIBRARY}_gl.so"
11015
11016 SHARED_LD=
11017 PIC_FLAG=
11018 WX_ALL=
11019 WX_ALL_INSTALLED=
11020 BURNT_LIBRARY_NAME=
11021 WX_TARGET_LIBRARY_SONAME=
11022
11023
11024 if test "$wxUSE_SHARED" = "yes"; then
11025 case "${host}" in
11026 *-hp-hpux* )
11027 if test "$GCC" = yes ; then
11028 SHARED_LD="${CXX} -shared -fPIC -o"
11029 PIC_FLAG="-fPIC"
11030 else
11031 LDFLAGS="-L/usr/lib"
11032
11033 SHARED_LD="${CXX} -b -o"
11034 PIC_FLAG="+Z"
11035 fi
11036 WX_LIBRARY_NAME_SHARED="libwx_${TOOLKIT_NAME}.sl"
11037 WX_LIBRARY_NAME_SHARED_GL="libwx_${TOOLKIT_NAME}_gl.sl"
11038 if test "$wxUSE_OPENGL" = "yes"; then
11039 WX_ALL_INSTALLED="preinstall_gl"
11040 WX_ALL="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
11041 else
11042 WX_ALL="${WX_LIBRARY_NAME_SHARED}"
11043 fi
11044 ;;
11045
11046 *-*-linux* )
11047 SHARED_LD="${CXX} -shared -o"
11048 PIC_FLAG="-fPIC"
11049 if test "$wxUSE_BURNT_NAME" = "yes" ; then
11050 BURNT_LIBRARY_NAME="-Wl,-soname,${WX_LIBRARY_LINK1}"
11051 BURNT_LIBRARY_NAME_GL="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
11052 WX_TARGET_LIBRARY_SONAME="-Wl,-soname,\$(TARGETLIB_LINK1)"
11053 fi
11054 if test "$wxUSE_OPENGL" = "yes"; then
11055 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11056 WX_ALL="CREATE_LINKS CREATE_LINKS_GL"
11057 else
11058 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
11059 WX_ALL="CREATE_LINKS"
11060 fi
11061 ;;
11062 *-*-irix5* | *-*-irix6* )
11063 if test "$GCC" = yes ; then
11064 SHARED_LD="${CXX} -shared -o"
11065 PIC_FLAG="-fPIC"
11066 else
11067 SHARED_LD="${CXX} -shared -o"
11068 fi
11069 if test "$wxUSE_OPENGL" = "yes"; then
11070 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11071 WX_ALL="CREATE_LINKS CREATE_LINKS_GL"
11072 else
11073 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
11074 WX_ALL="CREATE_LINKS"
11075 fi
11076 ;;
11077 *-*-solaris2* )
11078 if test "$GCC" = yes ; then
11079 SHARED_LD="${CXX} -shared -o"
11080 PIC_FLAG="-fPIC"
11081
11082 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
11083 else
11084 SHARED_LD="${CXX} -G -o"
11085 PIC_FLAG="-KPIC"
11086 fi
11087 if test "$wxUSE_OPENGL" = "yes"; then
11088 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11089 WX_ALL="CREATE_LINKS CREATE_LINKS_GL"
11090 else
11091 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
11092 WX_ALL="CREATE_LINKS"
11093 fi
11094 ;;
11095 *-*-sunos4* )
11096 SHARED_LD="${CXX} -shared -o"
11097 PIC_FLAG="-fPIC"
11098 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
11099 WX_ALL="CREATE_LINKS"
11100 ;;
11101 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* )
11102 SHARED_LD="${CXX} -shared -o"
11103 PIC_FLAG="-fPIC"
11104 if test "$wxUSE_OPENGL" = "yes"; then
11105 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11106 WX_ALL="CREATE_LINKS CREATE_LINKS_GL"
11107 else
11108 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
11109 WX_ALL="CREATE_LINKS"
11110 fi
11111 ;;
11112 *-*-darwin* )
11113 TOOLKIT_DEF="${TOOLKIT_DEF} -D__UNIX__ -D__DARWIN__ -D__POWERPC__"
11114 CFLAGS="${CFLAGS} -fno-common"
11115 CPPFLAGS="${CPPFLAGS} -fno-common"
11116 SHARED_LD="${CXX} -dynamiclib -o"
11117 PIC_FLAG="-dynamic -fPIC"
11118 if test "$wxUSE_OPENGL" = "yes"; then
11119 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11120 WX_ALL="CREATE_LINKS CREATE_LINKS_GL"
11121 else
11122 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
11123 WX_ALL="CREATE_LINKS"
11124 fi
11125 if test "$wxUSE_MAC" = 1 ; then
11126 WX_ALL="${WX_ALL} ./lib/lib${WX_LIBRARY}-${WX_RELEASE}.r"
11127 fi
11128 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11129 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11130 WX_LIBRARY_LINK1="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}"
11131 WX_LIBRARY_LINK2="lib${WX_LIBRARY}-${WX_RELEASE}.dylib"
11132 WX_LIBRARY_LINK3="lib${WX_LIBRARY}.dylib"
11133 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}"
11134 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib"
11135 WX_LIBRARY_LINK3_GL="lib${WX_LIBRARY}_gl.dylib"
11136 ;;
11137 *-*-osf* )
11138 SHARED_LD="${CXX} -shared -o"
11139 PIC_FLAG="-fPIC"
11140 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
11141 WX_ALL="CREATE_LINKS"
11142 ;;
11143 *-*-dgux5* )
11144 SHARED_LD="${CXX} -shared -o"
11145 PIC_FLAG="-fPIC"
11146 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
11147 WX_ALL="CREATE_LINKS"
11148 ;;
11149 *-*-sysv5* )
11150 SHARED_LD="${CXX} -shared -o"
11151 PIC_FLAG="-fPIC"
11152 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
11153 WX_ALL="CREATE_LINKS"
11154 ;;
11155 *-*-aix* )
11156 SHARED_LD="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
11157 WX_ALL=${WX_LIBRARY_NAME_SHARED}
11158 ;;
11159 *-*-cygwin* )
11160 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
11161 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
11162 if test "$wxUSE_OPENGL" = "yes"; then
11163 WX_ALL_INSTALLED="preinstall_gl"
11164 WX_ALL="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
11165 else
11166 WX_ALL="${WX_LIBRARY_NAME_STATIC}"
11167 fi
11168 ;;
11169 *-*-mingw32* )
11170 WX_LIBRARY_NAME_STATIC="lib/libwx${WX_MAJOR_VERSION_NUMBER}${WX_MINOR_VERSION_NUMBER}_${WX_RELEASE_NUMBER}.a"
11171 SHARED_LD="${CC} -shared -Wl,--out-implib,${WX_LIBRARY_NAME_STATIC} -o"
11172 TOOLKIT_DEF="${TOOLKIT_DEF} -DWXUSINGDLL=1"
11173 WXMSW_DLL_DEFINES="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
11174 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
11175 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
11176 if test "$wxUSE_OPENGL" = "yes"; then
11177 WX_ALL_INSTALLED="preinstall_gl"
11178 WX_ALL="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
11179 else
11180 WX_ALL="${WX_LIBRARY_NAME_SHARED}"
11181 fi
11182 ;;
11183 *-pc-os2_emx )
11184 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
11185 WX_ALL="${WX_LIBRARY_NAME_STATIC}"
11186 ;;
11187 *-*-beos* )
11188 SHARED_LD="${LD} -shared -o"
11189 PIC_FLAG="-fPIC"
11190 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
11191 WX_ALL="CREATE_LINKS"
11192 ;;
11193 *)
11194 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
11195 esac
11196
11197 if test "x$WX_TARGET_LIBRARY" = "x"; then
11198 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
11199 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
11200 fi
11201 WX_TARGET_LIBRARY_TYPE="so"
11202 else
11203 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
11204 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
11205
11206 if test "$wxUSE_OPENGL" = "yes"; then
11207 WX_ALL_INSTALLED="preinstall_gl"
11208 WX_ALL="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
11209 else
11210 WX_ALL="${WX_LIBRARY_NAME_STATIC}"
11211 fi
11212
11213 if test "$wxUSE_GUI" = "no"; then
11214 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
11215 fi
11216
11217 WX_TARGET_LIBRARY_TYPE="a"
11218 fi
11219
11220
11221 for ac_hdr in strings.h
11222 do
11223 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11224 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11225 echo "configure:11226: checking for $ac_hdr" >&5
11226 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11227 echo $ac_n "(cached) $ac_c" 1>&6
11228 else
11229 cat > conftest.$ac_ext <<EOF
11230 #line 11231 "configure"
11231 #include "confdefs.h"
11232 #include <$ac_hdr>
11233 EOF
11234 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11235 { (eval echo configure:11236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11236 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11237 if test -z "$ac_err"; then
11238 rm -rf conftest*
11239 eval "ac_cv_header_$ac_safe=yes"
11240 else
11241 echo "$ac_err" >&5
11242 echo "configure: failed program was:" >&5
11243 cat conftest.$ac_ext >&5
11244 rm -rf conftest*
11245 eval "ac_cv_header_$ac_safe=no"
11246 fi
11247 rm -f conftest*
11248 fi
11249 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11250 echo "$ac_t""yes" 1>&6
11251 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11252 cat >> confdefs.h <<EOF
11253 #define $ac_tr_hdr 1
11254 EOF
11255
11256 else
11257 echo "$ac_t""no" 1>&6
11258 fi
11259 done
11260
11261 for ac_hdr in stdlib.h
11262 do
11263 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11264 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11265 echo "configure:11266: checking for $ac_hdr" >&5
11266 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11267 echo $ac_n "(cached) $ac_c" 1>&6
11268 else
11269 cat > conftest.$ac_ext <<EOF
11270 #line 11271 "configure"
11271 #include "confdefs.h"
11272 #include <$ac_hdr>
11273 EOF
11274 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11275 { (eval echo configure:11276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11276 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11277 if test -z "$ac_err"; then
11278 rm -rf conftest*
11279 eval "ac_cv_header_$ac_safe=yes"
11280 else
11281 echo "$ac_err" >&5
11282 echo "configure: failed program was:" >&5
11283 cat conftest.$ac_ext >&5
11284 rm -rf conftest*
11285 eval "ac_cv_header_$ac_safe=no"
11286 fi
11287 rm -f conftest*
11288 fi
11289 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11290 echo "$ac_t""yes" 1>&6
11291 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11292 cat >> confdefs.h <<EOF
11293 #define $ac_tr_hdr 1
11294 EOF
11295
11296 else
11297 echo "$ac_t""no" 1>&6
11298 fi
11299 done
11300
11301 for ac_hdr in unistd.h
11302 do
11303 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11304 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11305 echo "configure:11306: checking for $ac_hdr" >&5
11306 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11307 echo $ac_n "(cached) $ac_c" 1>&6
11308 else
11309 cat > conftest.$ac_ext <<EOF
11310 #line 11311 "configure"
11311 #include "confdefs.h"
11312 #include <$ac_hdr>
11313 EOF
11314 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11315 { (eval echo configure:11316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11316 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11317 if test -z "$ac_err"; then
11318 rm -rf conftest*
11319 eval "ac_cv_header_$ac_safe=yes"
11320 else
11321 echo "$ac_err" >&5
11322 echo "configure: failed program was:" >&5
11323 cat conftest.$ac_ext >&5
11324 rm -rf conftest*
11325 eval "ac_cv_header_$ac_safe=no"
11326 fi
11327 rm -f conftest*
11328 fi
11329 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11330 echo "$ac_t""yes" 1>&6
11331 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11332 cat >> confdefs.h <<EOF
11333 #define $ac_tr_hdr 1
11334 EOF
11335
11336 else
11337 echo "$ac_t""no" 1>&6
11338 fi
11339 done
11340
11341 for ac_hdr in wchar.h
11342 do
11343 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11344 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11345 echo "configure:11346: checking for $ac_hdr" >&5
11346 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11347 echo $ac_n "(cached) $ac_c" 1>&6
11348 else
11349 cat > conftest.$ac_ext <<EOF
11350 #line 11351 "configure"
11351 #include "confdefs.h"
11352 #include <$ac_hdr>
11353 EOF
11354 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11355 { (eval echo configure:11356: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11356 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11357 if test -z "$ac_err"; then
11358 rm -rf conftest*
11359 eval "ac_cv_header_$ac_safe=yes"
11360 else
11361 echo "$ac_err" >&5
11362 echo "configure: failed program was:" >&5
11363 cat conftest.$ac_ext >&5
11364 rm -rf conftest*
11365 eval "ac_cv_header_$ac_safe=no"
11366 fi
11367 rm -f conftest*
11368 fi
11369 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11370 echo "$ac_t""yes" 1>&6
11371 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11372 cat >> confdefs.h <<EOF
11373 #define $ac_tr_hdr 1
11374 EOF
11375
11376 else
11377 echo "$ac_t""no" 1>&6
11378 fi
11379 done
11380
11381 for ac_hdr in wcstr.h
11382 do
11383 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11384 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11385 echo "configure:11386: checking for $ac_hdr" >&5
11386 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11387 echo $ac_n "(cached) $ac_c" 1>&6
11388 else
11389 cat > conftest.$ac_ext <<EOF
11390 #line 11391 "configure"
11391 #include "confdefs.h"
11392 #include <$ac_hdr>
11393 EOF
11394 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11395 { (eval echo configure:11396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11396 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11397 if test -z "$ac_err"; then
11398 rm -rf conftest*
11399 eval "ac_cv_header_$ac_safe=yes"
11400 else
11401 echo "$ac_err" >&5
11402 echo "configure: failed program was:" >&5
11403 cat conftest.$ac_ext >&5
11404 rm -rf conftest*
11405 eval "ac_cv_header_$ac_safe=no"
11406 fi
11407 rm -f conftest*
11408 fi
11409 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11410 echo "$ac_t""yes" 1>&6
11411 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11412 cat >> confdefs.h <<EOF
11413 #define $ac_tr_hdr 1
11414 EOF
11415
11416 else
11417 echo "$ac_t""no" 1>&6
11418 fi
11419 done
11420
11421 for ac_hdr in fnmatch.h
11422 do
11423 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11424 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11425 echo "configure:11426: checking for $ac_hdr" >&5
11426 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11427 echo $ac_n "(cached) $ac_c" 1>&6
11428 else
11429 cat > conftest.$ac_ext <<EOF
11430 #line 11431 "configure"
11431 #include "confdefs.h"
11432 #include <$ac_hdr>
11433 EOF
11434 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11435 { (eval echo configure:11436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11436 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11437 if test -z "$ac_err"; then
11438 rm -rf conftest*
11439 eval "ac_cv_header_$ac_safe=yes"
11440 else
11441 echo "$ac_err" >&5
11442 echo "configure: failed program was:" >&5
11443 cat conftest.$ac_ext >&5
11444 rm -rf conftest*
11445 eval "ac_cv_header_$ac_safe=no"
11446 fi
11447 rm -f conftest*
11448 fi
11449 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11450 echo "$ac_t""yes" 1>&6
11451 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11452 cat >> confdefs.h <<EOF
11453 #define $ac_tr_hdr 1
11454 EOF
11455
11456 else
11457 echo "$ac_t""no" 1>&6
11458 fi
11459 done
11460
11461 for ac_hdr in iconv.h
11462 do
11463 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11464 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11465 echo "configure:11466: checking for $ac_hdr" >&5
11466 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11467 echo $ac_n "(cached) $ac_c" 1>&6
11468 else
11469 cat > conftest.$ac_ext <<EOF
11470 #line 11471 "configure"
11471 #include "confdefs.h"
11472 #include <$ac_hdr>
11473 EOF
11474 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11475 { (eval echo configure:11476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11476 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11477 if test -z "$ac_err"; then
11478 rm -rf conftest*
11479 eval "ac_cv_header_$ac_safe=yes"
11480 else
11481 echo "$ac_err" >&5
11482 echo "configure: failed program was:" >&5
11483 cat conftest.$ac_ext >&5
11484 rm -rf conftest*
11485 eval "ac_cv_header_$ac_safe=no"
11486 fi
11487 rm -f conftest*
11488 fi
11489 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11490 echo "$ac_t""yes" 1>&6
11491 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11492 cat >> confdefs.h <<EOF
11493 #define $ac_tr_hdr 1
11494 EOF
11495
11496 else
11497 echo "$ac_t""no" 1>&6
11498 fi
11499 done
11500
11501 for ac_hdr in langinfo.h
11502 do
11503 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11504 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11505 echo "configure:11506: checking for $ac_hdr" >&5
11506 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11507 echo $ac_n "(cached) $ac_c" 1>&6
11508 else
11509 cat > conftest.$ac_ext <<EOF
11510 #line 11511 "configure"
11511 #include "confdefs.h"
11512 #include <$ac_hdr>
11513 EOF
11514 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11515 { (eval echo configure:11516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11516 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11517 if test -z "$ac_err"; then
11518 rm -rf conftest*
11519 eval "ac_cv_header_$ac_safe=yes"
11520 else
11521 echo "$ac_err" >&5
11522 echo "configure: failed program was:" >&5
11523 cat conftest.$ac_ext >&5
11524 rm -rf conftest*
11525 eval "ac_cv_header_$ac_safe=no"
11526 fi
11527 rm -f conftest*
11528 fi
11529 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11530 echo "$ac_t""yes" 1>&6
11531 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11532 cat >> confdefs.h <<EOF
11533 #define $ac_tr_hdr 1
11534 EOF
11535
11536 else
11537 echo "$ac_t""no" 1>&6
11538 fi
11539 done
11540
11541
11542 if test "$wxUSE_GUI" = "yes"; then
11543 if test "$wxUSE_UNIX" = "yes"; then
11544 for ac_hdr in X11/XKBlib.h
11545 do
11546 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11547 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11548 echo "configure:11549: checking for $ac_hdr" >&5
11549 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11550 echo $ac_n "(cached) $ac_c" 1>&6
11551 else
11552 cat > conftest.$ac_ext <<EOF
11553 #line 11554 "configure"
11554 #include "confdefs.h"
11555 #include <$ac_hdr>
11556 EOF
11557 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11558 { (eval echo configure:11559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11559 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11560 if test -z "$ac_err"; then
11561 rm -rf conftest*
11562 eval "ac_cv_header_$ac_safe=yes"
11563 else
11564 echo "$ac_err" >&5
11565 echo "configure: failed program was:" >&5
11566 cat conftest.$ac_ext >&5
11567 rm -rf conftest*
11568 eval "ac_cv_header_$ac_safe=no"
11569 fi
11570 rm -f conftest*
11571 fi
11572 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11573 echo "$ac_t""yes" 1>&6
11574 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11575 cat >> confdefs.h <<EOF
11576 #define $ac_tr_hdr 1
11577 EOF
11578
11579 else
11580 echo "$ac_t""no" 1>&6
11581 fi
11582 done
11583
11584 fi
11585 fi
11586
11587 if test "$USE_WIN32" = 1; then
11588 for ac_hdr in w32api.h
11589 do
11590 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11591 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11592 echo "configure:11593: checking for $ac_hdr" >&5
11593 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11594 echo $ac_n "(cached) $ac_c" 1>&6
11595 else
11596 cat > conftest.$ac_ext <<EOF
11597 #line 11598 "configure"
11598 #include "confdefs.h"
11599 #include <$ac_hdr>
11600 EOF
11601 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11602 { (eval echo configure:11603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11603 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11604 if test -z "$ac_err"; then
11605 rm -rf conftest*
11606 eval "ac_cv_header_$ac_safe=yes"
11607 else
11608 echo "$ac_err" >&5
11609 echo "configure: failed program was:" >&5
11610 cat conftest.$ac_ext >&5
11611 rm -rf conftest*
11612 eval "ac_cv_header_$ac_safe=no"
11613 fi
11614 rm -f conftest*
11615 fi
11616 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11617 echo "$ac_t""yes" 1>&6
11618 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11619 cat >> confdefs.h <<EOF
11620 #define $ac_tr_hdr 1
11621 EOF
11622
11623 else
11624 echo "$ac_t""no" 1>&6
11625 fi
11626 done
11627
11628 fi
11629
11630
11631 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
11632 echo "configure:11633: checking for ANSI C header files" >&5
11633 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
11634 echo $ac_n "(cached) $ac_c" 1>&6
11635 else
11636 cat > conftest.$ac_ext <<EOF
11637 #line 11638 "configure"
11638 #include "confdefs.h"
11639 #include <stdlib.h>
11640 #include <stdarg.h>
11641 #include <string.h>
11642 #include <float.h>
11643 EOF
11644 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11645 { (eval echo configure:11646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11646 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11647 if test -z "$ac_err"; then
11648 rm -rf conftest*
11649 ac_cv_header_stdc=yes
11650 else
11651 echo "$ac_err" >&5
11652 echo "configure: failed program was:" >&5
11653 cat conftest.$ac_ext >&5
11654 rm -rf conftest*
11655 ac_cv_header_stdc=no
11656 fi
11657 rm -f conftest*
11658
11659 if test $ac_cv_header_stdc = yes; then
11660 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11661 cat > conftest.$ac_ext <<EOF
11662 #line 11663 "configure"
11663 #include "confdefs.h"
11664 #include <string.h>
11665 EOF
11666 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11667 egrep "memchr" >/dev/null 2>&1; then
11668 :
11669 else
11670 rm -rf conftest*
11671 ac_cv_header_stdc=no
11672 fi
11673 rm -f conftest*
11674
11675 fi
11676
11677 if test $ac_cv_header_stdc = yes; then
11678 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11679 cat > conftest.$ac_ext <<EOF
11680 #line 11681 "configure"
11681 #include "confdefs.h"
11682 #include <stdlib.h>
11683 EOF
11684 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11685 egrep "free" >/dev/null 2>&1; then
11686 :
11687 else
11688 rm -rf conftest*
11689 ac_cv_header_stdc=no
11690 fi
11691 rm -f conftest*
11692
11693 fi
11694
11695 if test $ac_cv_header_stdc = yes; then
11696 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11697 if test "$cross_compiling" = yes; then
11698 :
11699 else
11700 cat > conftest.$ac_ext <<EOF
11701 #line 11702 "configure"
11702 #include "confdefs.h"
11703 #include <ctype.h>
11704 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11705 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11706 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11707 int main () { int i; for (i = 0; i < 256; i++)
11708 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11709 exit (0); }
11710
11711 EOF
11712 if { (eval echo configure:11713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11713 then
11714 :
11715 else
11716 echo "configure: failed program was:" >&5
11717 cat conftest.$ac_ext >&5
11718 rm -fr conftest*
11719 ac_cv_header_stdc=no
11720 fi
11721 rm -fr conftest*
11722 fi
11723
11724 fi
11725 fi
11726
11727 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11728 if test $ac_cv_header_stdc = yes; then
11729 cat >> confdefs.h <<\EOF
11730 #define STDC_HEADERS 1
11731 EOF
11732
11733 fi
11734
11735 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11736 echo "configure:11737: checking for mode_t" >&5
11737 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11738 echo $ac_n "(cached) $ac_c" 1>&6
11739 else
11740 cat > conftest.$ac_ext <<EOF
11741 #line 11742 "configure"
11742 #include "confdefs.h"
11743 #include <sys/types.h>
11744 #if STDC_HEADERS
11745 #include <stdlib.h>
11746 #include <stddef.h>
11747 #endif
11748 EOF
11749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11750 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
11751 rm -rf conftest*
11752 ac_cv_type_mode_t=yes
11753 else
11754 rm -rf conftest*
11755 ac_cv_type_mode_t=no
11756 fi
11757 rm -f conftest*
11758
11759 fi
11760 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11761 if test $ac_cv_type_mode_t = no; then
11762 cat >> confdefs.h <<\EOF
11763 #define mode_t int
11764 EOF
11765
11766 fi
11767
11768 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11769 echo "configure:11770: checking for off_t" >&5
11770 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11771 echo $ac_n "(cached) $ac_c" 1>&6
11772 else
11773 cat > conftest.$ac_ext <<EOF
11774 #line 11775 "configure"
11775 #include "confdefs.h"
11776 #include <sys/types.h>
11777 #if STDC_HEADERS
11778 #include <stdlib.h>
11779 #include <stddef.h>
11780 #endif
11781 EOF
11782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11783 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
11784 rm -rf conftest*
11785 ac_cv_type_off_t=yes
11786 else
11787 rm -rf conftest*
11788 ac_cv_type_off_t=no
11789 fi
11790 rm -f conftest*
11791
11792 fi
11793 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11794 if test $ac_cv_type_off_t = no; then
11795 cat >> confdefs.h <<\EOF
11796 #define off_t long
11797 EOF
11798
11799 fi
11800
11801 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11802 echo "configure:11803: checking for pid_t" >&5
11803 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11804 echo $ac_n "(cached) $ac_c" 1>&6
11805 else
11806 cat > conftest.$ac_ext <<EOF
11807 #line 11808 "configure"
11808 #include "confdefs.h"
11809 #include <sys/types.h>
11810 #if STDC_HEADERS
11811 #include <stdlib.h>
11812 #include <stddef.h>
11813 #endif
11814 EOF
11815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11816 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
11817 rm -rf conftest*
11818 ac_cv_type_pid_t=yes
11819 else
11820 rm -rf conftest*
11821 ac_cv_type_pid_t=no
11822 fi
11823 rm -f conftest*
11824
11825 fi
11826 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
11827 if test $ac_cv_type_pid_t = no; then
11828 cat >> confdefs.h <<\EOF
11829 #define pid_t int
11830 EOF
11831
11832 fi
11833
11834 echo $ac_n "checking for size_t""... $ac_c" 1>&6
11835 echo "configure:11836: checking for size_t" >&5
11836 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
11837 echo $ac_n "(cached) $ac_c" 1>&6
11838 else
11839 cat > conftest.$ac_ext <<EOF
11840 #line 11841 "configure"
11841 #include "confdefs.h"
11842 #include <sys/types.h>
11843 #if STDC_HEADERS
11844 #include <stdlib.h>
11845 #include <stddef.h>
11846 #endif
11847 EOF
11848 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11849 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
11850 rm -rf conftest*
11851 ac_cv_type_size_t=yes
11852 else
11853 rm -rf conftest*
11854 ac_cv_type_size_t=no
11855 fi
11856 rm -f conftest*
11857
11858 fi
11859 echo "$ac_t""$ac_cv_type_size_t" 1>&6
11860 if test $ac_cv_type_size_t = no; then
11861 cat >> confdefs.h <<\EOF
11862 #define size_t unsigned
11863 EOF
11864
11865 fi
11866
11867 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
11868 echo "configure:11869: checking for uid_t in sys/types.h" >&5
11869 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
11870 echo $ac_n "(cached) $ac_c" 1>&6
11871 else
11872 cat > conftest.$ac_ext <<EOF
11873 #line 11874 "configure"
11874 #include "confdefs.h"
11875 #include <sys/types.h>
11876 EOF
11877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11878 egrep "uid_t" >/dev/null 2>&1; then
11879 rm -rf conftest*
11880 ac_cv_type_uid_t=yes
11881 else
11882 rm -rf conftest*
11883 ac_cv_type_uid_t=no
11884 fi
11885 rm -f conftest*
11886
11887 fi
11888
11889 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
11890 if test $ac_cv_type_uid_t = no; then
11891 cat >> confdefs.h <<\EOF
11892 #define uid_t int
11893 EOF
11894
11895 cat >> confdefs.h <<\EOF
11896 #define gid_t int
11897 EOF
11898
11899 fi
11900
11901
11902 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
11903 echo "configure:11904: checking for wchar_t" >&5
11904 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
11905 echo $ac_n "(cached) $ac_c" 1>&6
11906 else
11907
11908 cat > conftest.$ac_ext <<EOF
11909 #line 11910 "configure"
11910 #include "confdefs.h"
11911 #include <wchar.h>
11912 int main() {
11913
11914 wchar_t wc, *ws;
11915 wc = L'a';
11916 ws = L"Hello, world!";
11917
11918 ; return 0; }
11919 EOF
11920 if { (eval echo configure:11921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11921 rm -rf conftest*
11922 wx_cv_type_wchar_t=yes
11923 else
11924 echo "configure: failed program was:" >&5
11925 cat conftest.$ac_ext >&5
11926 rm -rf conftest*
11927 cat > conftest.$ac_ext <<EOF
11928 #line 11929 "configure"
11929 #include "confdefs.h"
11930 #include <stdlib.h>
11931 int main() {
11932
11933 wchar_t wc, *ws;
11934 wc = L'a';
11935 ws = L"Hello, world!";
11936
11937 ; return 0; }
11938 EOF
11939 if { (eval echo configure:11940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11940 rm -rf conftest*
11941 wx_cv_type_wchar_t=yes
11942 else
11943 echo "configure: failed program was:" >&5
11944 cat conftest.$ac_ext >&5
11945 rm -rf conftest*
11946 wx_cv_type_wchar_t=no
11947 fi
11948 rm -f conftest*
11949
11950 fi
11951 rm -f conftest*
11952
11953 fi
11954
11955 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
11956
11957 if test "$wx_cv_type_wchar_t" = "yes"; then
11958 cat >> confdefs.h <<\EOF
11959 #define wxUSE_WCHAR_T 1
11960 EOF
11961
11962 fi
11963
11964
11965 ac_ext=C
11966 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11967 ac_cpp='$CXXCPP $CPPFLAGS'
11968 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11969 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11970 cross_compiling=$ac_cv_prog_cxx_cross
11971
11972 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
11973 echo "configure:11974: checking if size_t is unsigned int" >&5
11974 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
11975 echo $ac_n "(cached) $ac_c" 1>&6
11976 else
11977 cat > conftest.$ac_ext <<EOF
11978 #line 11979 "configure"
11979 #include "confdefs.h"
11980 #include <stddef.h>
11981 int main() {
11982
11983 return 0; }
11984
11985 struct Foo { void foo(size_t); void foo(unsigned int); };
11986
11987 int bar() {
11988
11989 ; return 0; }
11990 EOF
11991 if { (eval echo configure:11992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11992 rm -rf conftest*
11993 wx_cv_size_t_is_uint=no
11994 else
11995 echo "configure: failed program was:" >&5
11996 cat conftest.$ac_ext >&5
11997 rm -rf conftest*
11998 wx_cv_size_t_is_uint=yes
11999
12000 fi
12001 rm -f conftest*
12002
12003 fi
12004
12005 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
12006
12007 if test "$wx_cv_size_t_is_uint" = "yes"; then
12008 cat >> confdefs.h <<\EOF
12009 #define wxSIZE_T_IS_UINT 1
12010 EOF
12011
12012 else
12013 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
12014 echo "configure:12015: checking if size_t is unsigned long" >&5
12015 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
12016 echo $ac_n "(cached) $ac_c" 1>&6
12017 else
12018 cat > conftest.$ac_ext <<EOF
12019 #line 12020 "configure"
12020 #include "confdefs.h"
12021 #include <stddef.h>
12022 int main() {
12023
12024 return 0; }
12025
12026 struct Foo { void foo(size_t); void foo(unsigned long); };
12027
12028 int bar() {
12029
12030 ; return 0; }
12031 EOF
12032 if { (eval echo configure:12033: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12033 rm -rf conftest*
12034 wx_cv_size_t_is_ulong=no
12035 else
12036 echo "configure: failed program was:" >&5
12037 cat conftest.$ac_ext >&5
12038 rm -rf conftest*
12039 wx_cv_size_t_is_ulong=yes
12040
12041 fi
12042 rm -f conftest*
12043
12044 fi
12045
12046 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
12047
12048 if test "$wx_cv_size_t_is_ulong" = "yes"; then
12049 cat >> confdefs.h <<\EOF
12050 #define wxSIZE_T_IS_ULONG 1
12051 EOF
12052
12053 fi
12054 fi
12055
12056 ac_ext=c
12057 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12058 ac_cpp='$CPP $CPPFLAGS'
12059 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12060 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12061 cross_compiling=$ac_cv_prog_cc_cross
12062
12063
12064
12065 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
12066 echo "configure:12067: checking for pw_gecos in struct passwd" >&5
12067 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
12068 echo $ac_n "(cached) $ac_c" 1>&6
12069 else
12070
12071 cat > conftest.$ac_ext <<EOF
12072 #line 12073 "configure"
12073 #include "confdefs.h"
12074 #include <pwd.h>
12075 int main() {
12076
12077 char *p;
12078 struct passwd *pw;
12079 p = pw->pw_gecos;
12080
12081 ; return 0; }
12082 EOF
12083 if { (eval echo configure:12084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12084 rm -rf conftest*
12085
12086 wx_cv_struct_pw_gecos=yes
12087
12088 else
12089 echo "configure: failed program was:" >&5
12090 cat conftest.$ac_ext >&5
12091 rm -rf conftest*
12092
12093 wx_cv_struct_pw_gecos=no
12094
12095
12096 fi
12097 rm -f conftest*
12098
12099
12100 fi
12101
12102 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
12103
12104 if test "$wx_cv_struct_pw_gecos" = "yes"; then
12105 cat >> confdefs.h <<\EOF
12106 #define HAVE_PW_GECOS 1
12107 EOF
12108
12109 fi
12110
12111
12112 echo $ac_n "checking for working const""... $ac_c" 1>&6
12113 echo "configure:12114: checking for working const" >&5
12114 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
12115 echo $ac_n "(cached) $ac_c" 1>&6
12116 else
12117 cat > conftest.$ac_ext <<EOF
12118 #line 12119 "configure"
12119 #include "confdefs.h"
12120
12121 int main() {
12122
12123 /* Ultrix mips cc rejects this. */
12124 typedef int charset[2]; const charset x;
12125 /* SunOS 4.1.1 cc rejects this. */
12126 char const *const *ccp;
12127 char **p;
12128 /* NEC SVR4.0.2 mips cc rejects this. */
12129 struct point {int x, y;};
12130 static struct point const zero = {0,0};
12131 /* AIX XL C 1.02.0.0 rejects this.
12132 It does not let you subtract one const X* pointer from another in an arm
12133 of an if-expression whose if-part is not a constant expression */
12134 const char *g = "string";
12135 ccp = &g + (g ? g-g : 0);
12136 /* HPUX 7.0 cc rejects these. */
12137 ++ccp;
12138 p = (char**) ccp;
12139 ccp = (char const *const *) p;
12140 { /* SCO 3.2v4 cc rejects this. */
12141 char *t;
12142 char const *s = 0 ? (char *) 0 : (char const *) 0;
12143
12144 *t++ = 0;
12145 }
12146 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12147 int x[] = {25, 17};
12148 const int *foo = &x[0];
12149 ++foo;
12150 }
12151 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12152 typedef const int *iptr;
12153 iptr p = 0;
12154 ++p;
12155 }
12156 { /* AIX XL C 1.02.0.0 rejects this saying
12157 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12158 struct s { int j; const int *ap[3]; };
12159 struct s *b; b->j = 5;
12160 }
12161 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12162 const int foo = 10;
12163 }
12164
12165 ; return 0; }
12166 EOF
12167 if { (eval echo configure:12168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12168 rm -rf conftest*
12169 ac_cv_c_const=yes
12170 else
12171 echo "configure: failed program was:" >&5
12172 cat conftest.$ac_ext >&5
12173 rm -rf conftest*
12174 ac_cv_c_const=no
12175 fi
12176 rm -f conftest*
12177 fi
12178
12179 echo "$ac_t""$ac_cv_c_const" 1>&6
12180 if test $ac_cv_c_const = no; then
12181 cat >> confdefs.h <<\EOF
12182 #define const
12183 EOF
12184
12185 fi
12186
12187 echo $ac_n "checking for inline""... $ac_c" 1>&6
12188 echo "configure:12189: checking for inline" >&5
12189 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
12190 echo $ac_n "(cached) $ac_c" 1>&6
12191 else
12192 ac_cv_c_inline=no
12193 for ac_kw in inline __inline__ __inline; do
12194 cat > conftest.$ac_ext <<EOF
12195 #line 12196 "configure"
12196 #include "confdefs.h"
12197
12198 int main() {
12199 } $ac_kw foo() {
12200 ; return 0; }
12201 EOF
12202 if { (eval echo configure:12203: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12203 rm -rf conftest*
12204 ac_cv_c_inline=$ac_kw; break
12205 else
12206 echo "configure: failed program was:" >&5
12207 cat conftest.$ac_ext >&5
12208 fi
12209 rm -f conftest*
12210 done
12211
12212 fi
12213
12214 echo "$ac_t""$ac_cv_c_inline" 1>&6
12215 case "$ac_cv_c_inline" in
12216 inline | yes) ;;
12217 no) cat >> confdefs.h <<\EOF
12218 #define inline
12219 EOF
12220 ;;
12221 *) cat >> confdefs.h <<EOF
12222 #define inline $ac_cv_c_inline
12223 EOF
12224 ;;
12225 esac
12226
12227
12228 echo $ac_n "checking size of char""... $ac_c" 1>&6
12229 echo "configure:12230: checking size of char" >&5
12230 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
12231 echo $ac_n "(cached) $ac_c" 1>&6
12232 else
12233 if test "$cross_compiling" = yes; then
12234 ac_cv_sizeof_char=1
12235 else
12236 cat > conftest.$ac_ext <<EOF
12237 #line 12238 "configure"
12238 #include "confdefs.h"
12239 #include <stdio.h>
12240 main()
12241 {
12242 FILE *f=fopen("conftestval", "w");
12243 if (!f) exit(1);
12244 fprintf(f, "%d\n", sizeof(char));
12245 exit(0);
12246 }
12247 EOF
12248 if { (eval echo configure:12249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12249 then
12250 ac_cv_sizeof_char=`cat conftestval`
12251 else
12252 echo "configure: failed program was:" >&5
12253 cat conftest.$ac_ext >&5
12254 rm -fr conftest*
12255 ac_cv_sizeof_char=0
12256 fi
12257 rm -fr conftest*
12258 fi
12259
12260 fi
12261 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
12262 cat >> confdefs.h <<EOF
12263 #define SIZEOF_CHAR $ac_cv_sizeof_char
12264 EOF
12265
12266
12267 echo $ac_n "checking size of short""... $ac_c" 1>&6
12268 echo "configure:12269: checking size of short" >&5
12269 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
12270 echo $ac_n "(cached) $ac_c" 1>&6
12271 else
12272 if test "$cross_compiling" = yes; then
12273 ac_cv_sizeof_short=2
12274 else
12275 cat > conftest.$ac_ext <<EOF
12276 #line 12277 "configure"
12277 #include "confdefs.h"
12278 #include <stdio.h>
12279 main()
12280 {
12281 FILE *f=fopen("conftestval", "w");
12282 if (!f) exit(1);
12283 fprintf(f, "%d\n", sizeof(short));
12284 exit(0);
12285 }
12286 EOF
12287 if { (eval echo configure:12288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12288 then
12289 ac_cv_sizeof_short=`cat conftestval`
12290 else
12291 echo "configure: failed program was:" >&5
12292 cat conftest.$ac_ext >&5
12293 rm -fr conftest*
12294 ac_cv_sizeof_short=0
12295 fi
12296 rm -fr conftest*
12297 fi
12298
12299 fi
12300 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
12301 cat >> confdefs.h <<EOF
12302 #define SIZEOF_SHORT $ac_cv_sizeof_short
12303 EOF
12304
12305
12306 echo $ac_n "checking size of int *""... $ac_c" 1>&6
12307 echo "configure:12308: checking size of int *" >&5
12308 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
12309 echo $ac_n "(cached) $ac_c" 1>&6
12310 else
12311 if test "$cross_compiling" = yes; then
12312 ac_cv_sizeof_int_p=4
12313 else
12314 cat > conftest.$ac_ext <<EOF
12315 #line 12316 "configure"
12316 #include "confdefs.h"
12317 #include <stdio.h>
12318 main()
12319 {
12320 FILE *f=fopen("conftestval", "w");
12321 if (!f) exit(1);
12322 fprintf(f, "%d\n", sizeof(int *));
12323 exit(0);
12324 }
12325 EOF
12326 if { (eval echo configure:12327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12327 then
12328 ac_cv_sizeof_int_p=`cat conftestval`
12329 else
12330 echo "configure: failed program was:" >&5
12331 cat conftest.$ac_ext >&5
12332 rm -fr conftest*
12333 ac_cv_sizeof_int_p=0
12334 fi
12335 rm -fr conftest*
12336 fi
12337
12338 fi
12339 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
12340 cat >> confdefs.h <<EOF
12341 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
12342 EOF
12343
12344
12345 echo $ac_n "checking size of int""... $ac_c" 1>&6
12346 echo "configure:12347: checking size of int" >&5
12347 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
12348 echo $ac_n "(cached) $ac_c" 1>&6
12349 else
12350 if test "$cross_compiling" = yes; then
12351 ac_cv_sizeof_int=4
12352 else
12353 cat > conftest.$ac_ext <<EOF
12354 #line 12355 "configure"
12355 #include "confdefs.h"
12356 #include <stdio.h>
12357 main()
12358 {
12359 FILE *f=fopen("conftestval", "w");
12360 if (!f) exit(1);
12361 fprintf(f, "%d\n", sizeof(int));
12362 exit(0);
12363 }
12364 EOF
12365 if { (eval echo configure:12366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12366 then
12367 ac_cv_sizeof_int=`cat conftestval`
12368 else
12369 echo "configure: failed program was:" >&5
12370 cat conftest.$ac_ext >&5
12371 rm -fr conftest*
12372 ac_cv_sizeof_int=0
12373 fi
12374 rm -fr conftest*
12375 fi
12376
12377 fi
12378 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
12379 cat >> confdefs.h <<EOF
12380 #define SIZEOF_INT $ac_cv_sizeof_int
12381 EOF
12382
12383
12384 echo $ac_n "checking size of long""... $ac_c" 1>&6
12385 echo "configure:12386: checking size of long" >&5
12386 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
12387 echo $ac_n "(cached) $ac_c" 1>&6
12388 else
12389 if test "$cross_compiling" = yes; then
12390 ac_cv_sizeof_long=4
12391 else
12392 cat > conftest.$ac_ext <<EOF
12393 #line 12394 "configure"
12394 #include "confdefs.h"
12395 #include <stdio.h>
12396 main()
12397 {
12398 FILE *f=fopen("conftestval", "w");
12399 if (!f) exit(1);
12400 fprintf(f, "%d\n", sizeof(long));
12401 exit(0);
12402 }
12403 EOF
12404 if { (eval echo configure:12405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12405 then
12406 ac_cv_sizeof_long=`cat conftestval`
12407 else
12408 echo "configure: failed program was:" >&5
12409 cat conftest.$ac_ext >&5
12410 rm -fr conftest*
12411 ac_cv_sizeof_long=0
12412 fi
12413 rm -fr conftest*
12414 fi
12415
12416 fi
12417 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
12418 cat >> confdefs.h <<EOF
12419 #define SIZEOF_LONG $ac_cv_sizeof_long
12420 EOF
12421
12422
12423 echo $ac_n "checking size of long long""... $ac_c" 1>&6
12424 echo "configure:12425: checking size of long long" >&5
12425 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
12426 echo $ac_n "(cached) $ac_c" 1>&6
12427 else
12428 if test "$cross_compiling" = yes; then
12429 ac_cv_sizeof_long_long=0
12430 else
12431 cat > conftest.$ac_ext <<EOF
12432 #line 12433 "configure"
12433 #include "confdefs.h"
12434 #include <stdio.h>
12435 main()
12436 {
12437 FILE *f=fopen("conftestval", "w");
12438 if (!f) exit(1);
12439 fprintf(f, "%d\n", sizeof(long long));
12440 exit(0);
12441 }
12442 EOF
12443 if { (eval echo configure:12444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12444 then
12445 ac_cv_sizeof_long_long=`cat conftestval`
12446 else
12447 echo "configure: failed program was:" >&5
12448 cat conftest.$ac_ext >&5
12449 rm -fr conftest*
12450 ac_cv_sizeof_long_long=0
12451 fi
12452 rm -fr conftest*
12453 fi
12454
12455 fi
12456 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
12457 cat >> confdefs.h <<EOF
12458 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12459 EOF
12460
12461
12462
12463 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
12464 echo "configure:12465: checking size of wchar_t" >&5
12465 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
12466 echo $ac_n "(cached) $ac_c" 1>&6
12467 else
12468
12469 if test "$cross_compiling" = yes; then
12470 wx_cv_sizeof_wchar_t=4
12471
12472 else
12473 cat > conftest.$ac_ext <<EOF
12474 #line 12475 "configure"
12475 #include "confdefs.h"
12476
12477 #ifdef HAVE_WCHAR_H
12478 # include <wchar.h>
12479 #endif
12480 #ifdef HAVE_STDLIB_H
12481 # include <stdlib.h>
12482 #endif
12483 #include <stdio.h>
12484 int main()
12485 {
12486 FILE *f=fopen("conftestval", "w");
12487 if (!f) exit(1);
12488 fprintf(f, "%i", sizeof(wchar_t));
12489 exit(0);
12490 }
12491
12492 EOF
12493 if { (eval echo configure:12494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12494 then
12495 wx_cv_sizeof_wchar_t=`cat conftestval`
12496 else
12497 echo "configure: failed program was:" >&5
12498 cat conftest.$ac_ext >&5
12499 rm -fr conftest*
12500 wx_cv_sizeof_wchar_t=0
12501 fi
12502 rm -fr conftest*
12503 fi
12504
12505
12506 fi
12507
12508 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
12509
12510 cat >> confdefs.h <<EOF
12511 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
12512 EOF
12513
12514
12515 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
12516 echo "configure:12517: checking whether byte ordering is bigendian" >&5
12517 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
12518 echo $ac_n "(cached) $ac_c" 1>&6
12519 else
12520 ac_cv_c_bigendian=unknown
12521 # See if sys/param.h defines the BYTE_ORDER macro.
12522 cat > conftest.$ac_ext <<EOF
12523 #line 12524 "configure"
12524 #include "confdefs.h"
12525 #include <sys/types.h>
12526 #include <sys/param.h>
12527 int main() {
12528
12529 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
12530 bogus endian macros
12531 #endif
12532 ; return 0; }
12533 EOF
12534 if { (eval echo configure:12535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12535 rm -rf conftest*
12536 # It does; now see whether it defined to BIG_ENDIAN or not.
12537 cat > conftest.$ac_ext <<EOF
12538 #line 12539 "configure"
12539 #include "confdefs.h"
12540 #include <sys/types.h>
12541 #include <sys/param.h>
12542 int main() {
12543
12544 #if BYTE_ORDER != BIG_ENDIAN
12545 not big endian
12546 #endif
12547 ; return 0; }
12548 EOF
12549 if { (eval echo configure:12550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12550 rm -rf conftest*
12551 ac_cv_c_bigendian=yes
12552 else
12553 echo "configure: failed program was:" >&5
12554 cat conftest.$ac_ext >&5
12555 rm -rf conftest*
12556 ac_cv_c_bigendian=no
12557 fi
12558 rm -f conftest*
12559 else
12560 echo "configure: failed program was:" >&5
12561 cat conftest.$ac_ext >&5
12562 fi
12563 rm -f conftest*
12564 if test $ac_cv_c_bigendian = unknown; then
12565 if test "$cross_compiling" = yes; then
12566 ac_cv_c_bigendian=unknown
12567 else
12568 cat > conftest.$ac_ext <<EOF
12569 #line 12570 "configure"
12570 #include "confdefs.h"
12571 main () {
12572 /* Are we little or big endian? From Harbison&Steele. */
12573 union
12574 {
12575 long l;
12576 char c[sizeof (long)];
12577 } u;
12578 u.l = 1;
12579 exit (u.c[sizeof (long) - 1] == 1);
12580 }
12581 EOF
12582 if { (eval echo configure:12583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12583 then
12584 ac_cv_c_bigendian=no
12585 else
12586 echo "configure: failed program was:" >&5
12587 cat conftest.$ac_ext >&5
12588 rm -fr conftest*
12589 ac_cv_c_bigendian=yes
12590 fi
12591 rm -fr conftest*
12592 fi
12593
12594 fi
12595 fi
12596
12597 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
12598 if test $ac_cv_c_bigendian = unknown; then
12599 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
12600 fi
12601 if test $ac_cv_c_bigendian = yes; then
12602 cat >> confdefs.h <<\EOF
12603 #define WORDS_BIGENDIAN 1
12604 EOF
12605
12606 fi
12607
12608
12609
12610 if test "$cross_compiling" = "yes"; then
12611 cat >> confdefs.h <<\EOF
12612 #define wxUSE_IOSTREAMH 1
12613 EOF
12614
12615 else
12616
12617 ac_ext=C
12618 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12619 ac_cpp='$CXXCPP $CPPFLAGS'
12620 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12621 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12622 cross_compiling=$ac_cv_prog_cxx_cross
12623
12624
12625 for ac_hdr in iostream
12626 do
12627 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12628 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12629 echo "configure:12630: checking for $ac_hdr" >&5
12630 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12631 echo $ac_n "(cached) $ac_c" 1>&6
12632 else
12633 cat > conftest.$ac_ext <<EOF
12634 #line 12635 "configure"
12635 #include "confdefs.h"
12636 #include <$ac_hdr>
12637 EOF
12638 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12639 { (eval echo configure:12640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12640 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12641 if test -z "$ac_err"; then
12642 rm -rf conftest*
12643 eval "ac_cv_header_$ac_safe=yes"
12644 else
12645 echo "$ac_err" >&5
12646 echo "configure: failed program was:" >&5
12647 cat conftest.$ac_ext >&5
12648 rm -rf conftest*
12649 eval "ac_cv_header_$ac_safe=no"
12650 fi
12651 rm -f conftest*
12652 fi
12653 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12654 echo "$ac_t""yes" 1>&6
12655 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12656 cat >> confdefs.h <<EOF
12657 #define $ac_tr_hdr 1
12658 EOF
12659
12660 else
12661 echo "$ac_t""no" 1>&6
12662 fi
12663 done
12664
12665
12666 if test "$ac_cv_header_iostream" = "yes" ; then
12667 :
12668 else
12669 cat >> confdefs.h <<\EOF
12670 #define wxUSE_IOSTREAMH 1
12671 EOF
12672
12673 fi
12674
12675 ac_ext=c
12676 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12677 ac_cpp='$CPP $CPPFLAGS'
12678 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12679 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12680 cross_compiling=$ac_cv_prog_cc_cross
12681
12682 fi
12683
12684
12685
12686 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12687 echo "configure:12688: checking if C++ compiler supports bool" >&5
12688 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12689 echo $ac_n "(cached) $ac_c" 1>&6
12690 else
12691
12692
12693 ac_ext=C
12694 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12695 ac_cpp='$CXXCPP $CPPFLAGS'
12696 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12697 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12698 cross_compiling=$ac_cv_prog_cxx_cross
12699
12700
12701 cat > conftest.$ac_ext <<EOF
12702 #line 12703 "configure"
12703 #include "confdefs.h"
12704
12705
12706 int main() {
12707
12708 bool b = true;
12709
12710 return 0;
12711
12712 ; return 0; }
12713 EOF
12714 if { (eval echo configure:12715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12715 rm -rf conftest*
12716
12717 wx_cv_cpp_bool=yes
12718
12719 else
12720 echo "configure: failed program was:" >&5
12721 cat conftest.$ac_ext >&5
12722 rm -rf conftest*
12723
12724 wx_cv_cpp_bool=no
12725
12726
12727 fi
12728 rm -f conftest*
12729
12730 ac_ext=c
12731 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12732 ac_cpp='$CPP $CPPFLAGS'
12733 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12734 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12735 cross_compiling=$ac_cv_prog_cc_cross
12736
12737
12738 fi
12739
12740 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12741
12742 if test "$wx_cv_cpp_bool" = "yes"; then
12743 cat >> confdefs.h <<\EOF
12744 #define HAVE_BOOL 1
12745 EOF
12746
12747 fi
12748
12749
12750
12751 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12752 echo "configure:12753: checking for wcslen in -lc" >&5
12753 ac_lib_var=`echo c'_'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="-lc $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=""
12792
12793 else
12794 echo "$ac_t""no" 1>&6
12795
12796 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
12797 echo "configure:12798: checking for wcslen in -lw" >&5
12798 ac_lib_var=`echo w'_'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="-lw $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="-lw"
12837
12838 else
12839 echo "$ac_t""no" 1>&6
12840
12841 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
12842 echo "configure:12843: checking for wcslen in -lmsvcrt" >&5
12843 ac_lib_var=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
12844 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12845 echo $ac_n "(cached) $ac_c" 1>&6
12846 else
12847 ac_save_LIBS="$LIBS"
12848 LIBS="-lmsvcrt $LIBS"
12849 cat > conftest.$ac_ext <<EOF
12850 #line 12851 "configure"
12851 #include "confdefs.h"
12852 /* Override any gcc2 internal prototype to avoid an error. */
12853 /* We use char because int might match the return type of a gcc2
12854 builtin and then its argument prototype would still apply. */
12855 char wcslen();
12856
12857 int main() {
12858 wcslen()
12859 ; return 0; }
12860 EOF
12861 if { (eval echo configure:12862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12862 rm -rf conftest*
12863 eval "ac_cv_lib_$ac_lib_var=yes"
12864 else
12865 echo "configure: failed program was:" >&5
12866 cat conftest.$ac_ext >&5
12867 rm -rf conftest*
12868 eval "ac_cv_lib_$ac_lib_var=no"
12869 fi
12870 rm -f conftest*
12871 LIBS="$ac_save_LIBS"
12872
12873 fi
12874 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12875 echo "$ac_t""yes" 1>&6
12876
12877 cat >> confdefs.h <<\EOF
12878 #define HAVE_WCSLEN 1
12879 EOF
12880
12881 WCHAR_LINK=""
12882
12883 else
12884 echo "$ac_t""no" 1>&6
12885 fi
12886
12887
12888 fi
12889
12890
12891 fi
12892
12893
12894 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
12895 echo "configure:12896: checking for vprintf" >&5
12896 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
12897 echo $ac_n "(cached) $ac_c" 1>&6
12898 else
12899 cat > conftest.$ac_ext <<EOF
12900 #line 12901 "configure"
12901 #include "confdefs.h"
12902 /* System header to define __stub macros and hopefully few prototypes,
12903 which can conflict with char vprintf(); below. */
12904 #include <assert.h>
12905 /* Override any gcc2 internal prototype to avoid an error. */
12906 /* We use char because int might match the return type of a gcc2
12907 builtin and then its argument prototype would still apply. */
12908 char vprintf();
12909
12910 int main() {
12911
12912 /* The GNU C library defines this for functions which it implements
12913 to always fail with ENOSYS. Some functions are actually named
12914 something starting with __ and the normal name is an alias. */
12915 #if defined (__stub_vprintf) || defined (__stub___vprintf)
12916 choke me
12917 #else
12918 vprintf();
12919 #endif
12920
12921 ; return 0; }
12922 EOF
12923 if { (eval echo configure:12924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12924 rm -rf conftest*
12925 eval "ac_cv_func_vprintf=yes"
12926 else
12927 echo "configure: failed program was:" >&5
12928 cat conftest.$ac_ext >&5
12929 rm -rf conftest*
12930 eval "ac_cv_func_vprintf=no"
12931 fi
12932 rm -f conftest*
12933 fi
12934
12935 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
12936 echo "$ac_t""yes" 1>&6
12937 cat >> confdefs.h <<\EOF
12938 #define HAVE_VPRINTF 1
12939 EOF
12940
12941 else
12942 echo "$ac_t""no" 1>&6
12943 fi
12944
12945 if test "$ac_cv_func_vprintf" != yes; then
12946 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
12947 echo "configure:12948: checking for _doprnt" >&5
12948 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
12949 echo $ac_n "(cached) $ac_c" 1>&6
12950 else
12951 cat > conftest.$ac_ext <<EOF
12952 #line 12953 "configure"
12953 #include "confdefs.h"
12954 /* System header to define __stub macros and hopefully few prototypes,
12955 which can conflict with char _doprnt(); below. */
12956 #include <assert.h>
12957 /* Override any gcc2 internal prototype to avoid an error. */
12958 /* We use char because int might match the return type of a gcc2
12959 builtin and then its argument prototype would still apply. */
12960 char _doprnt();
12961
12962 int main() {
12963
12964 /* The GNU C library defines this for functions which it implements
12965 to always fail with ENOSYS. Some functions are actually named
12966 something starting with __ and the normal name is an alias. */
12967 #if defined (__stub__doprnt) || defined (__stub____doprnt)
12968 choke me
12969 #else
12970 _doprnt();
12971 #endif
12972
12973 ; return 0; }
12974 EOF
12975 if { (eval echo configure:12976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12976 rm -rf conftest*
12977 eval "ac_cv_func__doprnt=yes"
12978 else
12979 echo "configure: failed program was:" >&5
12980 cat conftest.$ac_ext >&5
12981 rm -rf conftest*
12982 eval "ac_cv_func__doprnt=no"
12983 fi
12984 rm -f conftest*
12985 fi
12986
12987 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
12988 echo "$ac_t""yes" 1>&6
12989 cat >> confdefs.h <<\EOF
12990 #define HAVE_DOPRNT 1
12991 EOF
12992
12993 else
12994 echo "$ac_t""no" 1>&6
12995 fi
12996
12997 fi
12998
12999
13000
13001
13002
13003
13004
13005 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
13006 echo "configure:13007: checking for vsnprintf" >&5
13007 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
13008 echo $ac_n "(cached) $ac_c" 1>&6
13009 else
13010
13011 cat > conftest.$ac_ext <<EOF
13012 #line 13013 "configure"
13013 #include "confdefs.h"
13014
13015 #include <stdio.h>
13016 #include <stdarg.h>
13017
13018 int main() {
13019
13020 int wx_test_vsnprintf(const char *, ...);
13021
13022 wx_test_vsnprintf("%s");
13023 return 0;
13024 }
13025
13026 int wx_test_vsnprintf(const char *fmt, ...)
13027 {
13028 char *s;
13029
13030 va_list argp;
13031 va_start(argp, fmt);
13032 vsnprintf(s, 42, fmt, argp);
13033 va_end(argp);
13034
13035 ; return 0; }
13036 EOF
13037 if { (eval echo configure:13038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13038 rm -rf conftest*
13039
13040 wx_cv_func_vsnprintf=yes
13041
13042 else
13043 echo "configure: failed program was:" >&5
13044 cat conftest.$ac_ext >&5
13045 rm -rf conftest*
13046
13047 cat > conftest.$ac_ext <<EOF
13048 #line 13049 "configure"
13049 #include "confdefs.h"
13050
13051 #include <stdio.h>
13052 #include <stdarg.h>
13053
13054 int main() {
13055
13056 int wx_test_vsnprintf(const char *, ...);
13057
13058 wx_test_vsnprintf("%s");
13059 return 0;
13060 }
13061
13062 int wx_test_vsnprintf(const char *fmt, ...)
13063 {
13064 char *s;
13065
13066 va_list argp;
13067 va_start(argp, fmt);
13068 _vsnprintf(s, 42, fmt, argp);
13069 va_end(argp);
13070
13071 ; return 0; }
13072 EOF
13073 if { (eval echo configure:13074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13074 rm -rf conftest*
13075
13076 wx_cv_func_vsnprintf=yes
13077
13078 else
13079 echo "configure: failed program was:" >&5
13080 cat conftest.$ac_ext >&5
13081 rm -rf conftest*
13082
13083 wx_cv_func_vsnprintf=no
13084
13085 fi
13086 rm -f conftest*
13087
13088 fi
13089 rm -f conftest*
13090
13091 fi
13092
13093 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
13094
13095 if test "$wx_cv_func_vsnprintf" = yes; then
13096 cat >> confdefs.h <<\EOF
13097 #define HAVE_VSNPRINTF 1
13098 EOF
13099
13100 else
13101 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
13102 fi
13103
13104 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
13105 echo "configure:13106: checking for vsscanf" >&5
13106 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
13107 echo $ac_n "(cached) $ac_c" 1>&6
13108 else
13109
13110 cat > conftest.$ac_ext <<EOF
13111 #line 13112 "configure"
13112 #include "confdefs.h"
13113
13114 #include <stdio.h>
13115 #include <stdarg.h>
13116
13117 int main() {
13118
13119 int wx_test_vsscanf(const char *, ...);
13120
13121 wx_test_vsscanf("%d");
13122 return 0;
13123 }
13124
13125 int wx_test_vsscanf(const char *fmt, ...)
13126 {
13127 va_list argp;
13128 va_start(argp, fmt);
13129 vsscanf("42", fmt, argp);
13130 va_end(argp);
13131
13132 ; return 0; }
13133 EOF
13134 if { (eval echo configure:13135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13135 rm -rf conftest*
13136
13137 wx_cv_func_vsscanf=yes
13138
13139 else
13140 echo "configure: failed program was:" >&5
13141 cat conftest.$ac_ext >&5
13142 rm -rf conftest*
13143
13144 wx_cv_func_vsscanf=no
13145
13146 fi
13147 rm -f conftest*
13148
13149 fi
13150
13151 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
13152
13153 if test "$wx_cv_func_vsscanf" = yes; then
13154 cat >> confdefs.h <<\EOF
13155 #define HAVE_VSSCANF 1
13156 EOF
13157
13158 fi
13159
13160 if test "$TOOLKIT" != "MSW"; then
13161
13162
13163
13164 ac_ext=C
13165 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13166 ac_cpp='$CXXCPP $CPPFLAGS'
13167 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13168 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13169 cross_compiling=$ac_cv_prog_cxx_cross
13170
13171 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
13172 echo "configure:13173: checking if iconv() takes char**" >&5
13173 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
13174 echo $ac_n "(cached) $ac_c" 1>&6
13175 else
13176
13177 cat > conftest.$ac_ext <<EOF
13178 #line 13179 "configure"
13179 #include "confdefs.h"
13180 #include <iconv.h>
13181 int main() {
13182
13183 char **inbuf, **outbuf;
13184 iconv_t cd;
13185 size_t insz, outsz;
13186 iconv(cd, inbuf, &insz, outbuf, &outsz);
13187
13188 ; return 0; }
13189 EOF
13190 if { (eval echo configure:13191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13191 rm -rf conftest*
13192 wx_cv_iconv_takes_char=yes
13193 else
13194 echo "configure: failed program was:" >&5
13195 cat conftest.$ac_ext >&5
13196 rm -rf conftest*
13197 wx_cv_iconv_takes_char=no
13198 fi
13199 rm -f conftest*
13200
13201 fi
13202
13203 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
13204 ac_ext=c
13205 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13206 ac_cpp='$CPP $CPPFLAGS'
13207 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13208 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13209 cross_compiling=$ac_cv_prog_cc_cross
13210
13211 if test "$wx_cv_iconv_takes_char" = yes ; then
13212 cat >> confdefs.h <<\EOF
13213 #define WX_ICONV_TAKES_CHAR 1
13214 EOF
13215
13216 fi
13217
13218
13219 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
13220 for ac_func in sigaction
13221 do
13222 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13223 echo "configure:13224: checking for $ac_func" >&5
13224 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13225 echo $ac_n "(cached) $ac_c" 1>&6
13226 else
13227 cat > conftest.$ac_ext <<EOF
13228 #line 13229 "configure"
13229 #include "confdefs.h"
13230 /* System header to define __stub macros and hopefully few prototypes,
13231 which can conflict with char $ac_func(); below. */
13232 #include <assert.h>
13233 /* Override any gcc2 internal prototype to avoid an error. */
13234 /* We use char because int might match the return type of a gcc2
13235 builtin and then its argument prototype would still apply. */
13236 char $ac_func();
13237
13238 int main() {
13239
13240 /* The GNU C library defines this for functions which it implements
13241 to always fail with ENOSYS. Some functions are actually named
13242 something starting with __ and the normal name is an alias. */
13243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13244 choke me
13245 #else
13246 $ac_func();
13247 #endif
13248
13249 ; return 0; }
13250 EOF
13251 if { (eval echo configure:13252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13252 rm -rf conftest*
13253 eval "ac_cv_func_$ac_func=yes"
13254 else
13255 echo "configure: failed program was:" >&5
13256 cat conftest.$ac_ext >&5
13257 rm -rf conftest*
13258 eval "ac_cv_func_$ac_func=no"
13259 fi
13260 rm -f conftest*
13261 fi
13262
13263 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13264 echo "$ac_t""yes" 1>&6
13265 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13266 cat >> confdefs.h <<EOF
13267 #define $ac_tr_func 1
13268 EOF
13269
13270 else
13271 echo "$ac_t""no" 1>&6
13272 fi
13273 done
13274
13275
13276 if test "$ac_cv_func_sigaction" = "no"; then
13277 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
13278 wxUSE_ON_FATAL_EXCEPTION=no
13279 fi
13280
13281 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
13282
13283 ac_ext=C
13284 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13285 ac_cpp='$CXXCPP $CPPFLAGS'
13286 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13287 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13288 cross_compiling=$ac_cv_prog_cxx_cross
13289
13290
13291 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
13292 echo "configure:13293: checking for sa_handler type" >&5
13293 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
13294 echo $ac_n "(cached) $ac_c" 1>&6
13295 else
13296
13297 cat > conftest.$ac_ext <<EOF
13298 #line 13299 "configure"
13299 #include "confdefs.h"
13300 #include <signal.h>
13301 int main() {
13302
13303 extern void testSigHandler(int);
13304
13305 struct sigaction sa;
13306 sa.sa_handler = testSigHandler;
13307
13308 ; return 0; }
13309 EOF
13310 if { (eval echo configure:13311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13311 rm -rf conftest*
13312
13313 wx_cv_type_sa_handler=int
13314
13315 else
13316 echo "configure: failed program was:" >&5
13317 cat conftest.$ac_ext >&5
13318 rm -rf conftest*
13319
13320 wx_cv_type_sa_handler=void
13321
13322 fi
13323 rm -f conftest*
13324
13325 fi
13326
13327 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
13328
13329 ac_ext=c
13330 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13331 ac_cpp='$CPP $CPPFLAGS'
13332 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13333 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13334 cross_compiling=$ac_cv_prog_cc_cross
13335
13336
13337 cat >> confdefs.h <<EOF
13338 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
13339 EOF
13340
13341 fi
13342 fi
13343
13344 for ac_func in vfork
13345 do
13346 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13347 echo "configure:13348: checking for $ac_func" >&5
13348 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13349 echo $ac_n "(cached) $ac_c" 1>&6
13350 else
13351 cat > conftest.$ac_ext <<EOF
13352 #line 13353 "configure"
13353 #include "confdefs.h"
13354 /* System header to define __stub macros and hopefully few prototypes,
13355 which can conflict with char $ac_func(); below. */
13356 #include <assert.h>
13357 /* Override any gcc2 internal prototype to avoid an error. */
13358 /* We use char because int might match the return type of a gcc2
13359 builtin and then its argument prototype would still apply. */
13360 char $ac_func();
13361
13362 int main() {
13363
13364 /* The GNU C library defines this for functions which it implements
13365 to always fail with ENOSYS. Some functions are actually named
13366 something starting with __ and the normal name is an alias. */
13367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13368 choke me
13369 #else
13370 $ac_func();
13371 #endif
13372
13373 ; return 0; }
13374 EOF
13375 if { (eval echo configure:13376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13376 rm -rf conftest*
13377 eval "ac_cv_func_$ac_func=yes"
13378 else
13379 echo "configure: failed program was:" >&5
13380 cat conftest.$ac_ext >&5
13381 rm -rf conftest*
13382 eval "ac_cv_func_$ac_func=no"
13383 fi
13384 rm -f conftest*
13385 fi
13386
13387 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13388 echo "$ac_t""yes" 1>&6
13389 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13390 cat >> confdefs.h <<EOF
13391 #define $ac_tr_func 1
13392 EOF
13393
13394 else
13395 echo "$ac_t""no" 1>&6
13396 fi
13397 done
13398
13399
13400 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
13401 for ac_func in fcntl flock
13402 do
13403 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13404 echo "configure:13405: checking for $ac_func" >&5
13405 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13406 echo $ac_n "(cached) $ac_c" 1>&6
13407 else
13408 cat > conftest.$ac_ext <<EOF
13409 #line 13410 "configure"
13410 #include "confdefs.h"
13411 /* System header to define __stub macros and hopefully few prototypes,
13412 which can conflict with char $ac_func(); below. */
13413 #include <assert.h>
13414 /* Override any gcc2 internal prototype to avoid an error. */
13415 /* We use char because int might match the return type of a gcc2
13416 builtin and then its argument prototype would still apply. */
13417 char $ac_func();
13418
13419 int main() {
13420
13421 /* The GNU C library defines this for functions which it implements
13422 to always fail with ENOSYS. Some functions are actually named
13423 something starting with __ and the normal name is an alias. */
13424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13425 choke me
13426 #else
13427 $ac_func();
13428 #endif
13429
13430 ; return 0; }
13431 EOF
13432 if { (eval echo configure:13433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13433 rm -rf conftest*
13434 eval "ac_cv_func_$ac_func=yes"
13435 else
13436 echo "configure: failed program was:" >&5
13437 cat conftest.$ac_ext >&5
13438 rm -rf conftest*
13439 eval "ac_cv_func_$ac_func=no"
13440 fi
13441 rm -f conftest*
13442 fi
13443
13444 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13445 echo "$ac_t""yes" 1>&6
13446 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13447 cat >> confdefs.h <<EOF
13448 #define $ac_tr_func 1
13449 EOF
13450 break
13451 else
13452 echo "$ac_t""no" 1>&6
13453 fi
13454 done
13455
13456
13457 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
13458 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
13459 wxUSE_SNGLINST_CHECKER=no
13460 fi
13461 fi
13462
13463 for ac_func in timegm
13464 do
13465 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13466 echo "configure:13467: checking for $ac_func" >&5
13467 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13468 echo $ac_n "(cached) $ac_c" 1>&6
13469 else
13470 cat > conftest.$ac_ext <<EOF
13471 #line 13472 "configure"
13472 #include "confdefs.h"
13473 /* System header to define __stub macros and hopefully few prototypes,
13474 which can conflict with char $ac_func(); below. */
13475 #include <assert.h>
13476 /* Override any gcc2 internal prototype to avoid an error. */
13477 /* We use char because int might match the return type of a gcc2
13478 builtin and then its argument prototype would still apply. */
13479 char $ac_func();
13480
13481 int main() {
13482
13483 /* The GNU C library defines this for functions which it implements
13484 to always fail with ENOSYS. Some functions are actually named
13485 something starting with __ and the normal name is an alias. */
13486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13487 choke me
13488 #else
13489 $ac_func();
13490 #endif
13491
13492 ; return 0; }
13493 EOF
13494 if { (eval echo configure:13495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13495 rm -rf conftest*
13496 eval "ac_cv_func_$ac_func=yes"
13497 else
13498 echo "configure: failed program was:" >&5
13499 cat conftest.$ac_ext >&5
13500 rm -rf conftest*
13501 eval "ac_cv_func_$ac_func=no"
13502 fi
13503 rm -f conftest*
13504 fi
13505
13506 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13507 echo "$ac_t""yes" 1>&6
13508 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13509 cat >> confdefs.h <<EOF
13510 #define $ac_tr_func 1
13511 EOF
13512
13513 else
13514 echo "$ac_t""no" 1>&6
13515 fi
13516 done
13517
13518
13519 for ac_func in putenv setenv
13520 do
13521 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13522 echo "configure:13523: checking for $ac_func" >&5
13523 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13524 echo $ac_n "(cached) $ac_c" 1>&6
13525 else
13526 cat > conftest.$ac_ext <<EOF
13527 #line 13528 "configure"
13528 #include "confdefs.h"
13529 /* System header to define __stub macros and hopefully few prototypes,
13530 which can conflict with char $ac_func(); below. */
13531 #include <assert.h>
13532 /* Override any gcc2 internal prototype to avoid an error. */
13533 /* We use char because int might match the return type of a gcc2
13534 builtin and then its argument prototype would still apply. */
13535 char $ac_func();
13536
13537 int main() {
13538
13539 /* The GNU C library defines this for functions which it implements
13540 to always fail with ENOSYS. Some functions are actually named
13541 something starting with __ and the normal name is an alias. */
13542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13543 choke me
13544 #else
13545 $ac_func();
13546 #endif
13547
13548 ; return 0; }
13549 EOF
13550 if { (eval echo configure:13551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13551 rm -rf conftest*
13552 eval "ac_cv_func_$ac_func=yes"
13553 else
13554 echo "configure: failed program was:" >&5
13555 cat conftest.$ac_ext >&5
13556 rm -rf conftest*
13557 eval "ac_cv_func_$ac_func=no"
13558 fi
13559 rm -f conftest*
13560 fi
13561
13562 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13563 echo "$ac_t""yes" 1>&6
13564 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13565 cat >> confdefs.h <<EOF
13566 #define $ac_tr_func 1
13567 EOF
13568 break
13569 else
13570 echo "$ac_t""no" 1>&6
13571 fi
13572 done
13573
13574
13575 HAVE_SOME_SLEEP_FUNC=0
13576 if test "$USE_BEOS" = 1; then
13577 cat >> confdefs.h <<\EOF
13578 #define HAVE_SLEEP 1
13579 EOF
13580
13581 HAVE_SOME_SLEEP_FUNC=1
13582 fi
13583
13584 if test "$USE_DARWIN" = 1; then
13585 cat >> confdefs.h <<\EOF
13586 #define HAVE_USLEEP 1
13587 EOF
13588
13589 HAVE_SOME_SLEEP_FUNC=1
13590 fi
13591
13592 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
13593 POSIX4_LINK=
13594 for ac_func in nanosleep
13595 do
13596 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13597 echo "configure:13598: checking for $ac_func" >&5
13598 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13599 echo $ac_n "(cached) $ac_c" 1>&6
13600 else
13601 cat > conftest.$ac_ext <<EOF
13602 #line 13603 "configure"
13603 #include "confdefs.h"
13604 /* System header to define __stub macros and hopefully few prototypes,
13605 which can conflict with char $ac_func(); below. */
13606 #include <assert.h>
13607 /* Override any gcc2 internal prototype to avoid an error. */
13608 /* We use char because int might match the return type of a gcc2
13609 builtin and then its argument prototype would still apply. */
13610 char $ac_func();
13611
13612 int main() {
13613
13614 /* The GNU C library defines this for functions which it implements
13615 to always fail with ENOSYS. Some functions are actually named
13616 something starting with __ and the normal name is an alias. */
13617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13618 choke me
13619 #else
13620 $ac_func();
13621 #endif
13622
13623 ; return 0; }
13624 EOF
13625 if { (eval echo configure:13626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13626 rm -rf conftest*
13627 eval "ac_cv_func_$ac_func=yes"
13628 else
13629 echo "configure: failed program was:" >&5
13630 cat conftest.$ac_ext >&5
13631 rm -rf conftest*
13632 eval "ac_cv_func_$ac_func=no"
13633 fi
13634 rm -f conftest*
13635 fi
13636
13637 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13638 echo "$ac_t""yes" 1>&6
13639 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13640 cat >> confdefs.h <<EOF
13641 #define $ac_tr_func 1
13642 EOF
13643 cat >> confdefs.h <<\EOF
13644 #define HAVE_NANOSLEEP 1
13645 EOF
13646
13647 else
13648 echo "$ac_t""no" 1>&6
13649 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
13650 echo "configure:13651: checking for nanosleep in -lposix4" >&5
13651 ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
13652 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13653 echo $ac_n "(cached) $ac_c" 1>&6
13654 else
13655 ac_save_LIBS="$LIBS"
13656 LIBS="-lposix4 $LIBS"
13657 cat > conftest.$ac_ext <<EOF
13658 #line 13659 "configure"
13659 #include "confdefs.h"
13660 /* Override any gcc2 internal prototype to avoid an error. */
13661 /* We use char because int might match the return type of a gcc2
13662 builtin and then its argument prototype would still apply. */
13663 char nanosleep();
13664
13665 int main() {
13666 nanosleep()
13667 ; return 0; }
13668 EOF
13669 if { (eval echo configure:13670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13670 rm -rf conftest*
13671 eval "ac_cv_lib_$ac_lib_var=yes"
13672 else
13673 echo "configure: failed program was:" >&5
13674 cat conftest.$ac_ext >&5
13675 rm -rf conftest*
13676 eval "ac_cv_lib_$ac_lib_var=no"
13677 fi
13678 rm -f conftest*
13679 LIBS="$ac_save_LIBS"
13680
13681 fi
13682 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13683 echo "$ac_t""yes" 1>&6
13684
13685 cat >> confdefs.h <<\EOF
13686 #define HAVE_NANOSLEEP 1
13687 EOF
13688
13689 POSIX4_LINK="-lposix4"
13690
13691 else
13692 echo "$ac_t""no" 1>&6
13693
13694 for ac_func in usleep
13695 do
13696 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13697 echo "configure:13698: checking for $ac_func" >&5
13698 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13699 echo $ac_n "(cached) $ac_c" 1>&6
13700 else
13701 cat > conftest.$ac_ext <<EOF
13702 #line 13703 "configure"
13703 #include "confdefs.h"
13704 /* System header to define __stub macros and hopefully few prototypes,
13705 which can conflict with char $ac_func(); below. */
13706 #include <assert.h>
13707 /* Override any gcc2 internal prototype to avoid an error. */
13708 /* We use char because int might match the return type of a gcc2
13709 builtin and then its argument prototype would still apply. */
13710 char $ac_func();
13711
13712 int main() {
13713
13714 /* The GNU C library defines this for functions which it implements
13715 to always fail with ENOSYS. Some functions are actually named
13716 something starting with __ and the normal name is an alias. */
13717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13718 choke me
13719 #else
13720 $ac_func();
13721 #endif
13722
13723 ; return 0; }
13724 EOF
13725 if { (eval echo configure:13726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13726 rm -rf conftest*
13727 eval "ac_cv_func_$ac_func=yes"
13728 else
13729 echo "configure: failed program was:" >&5
13730 cat conftest.$ac_ext >&5
13731 rm -rf conftest*
13732 eval "ac_cv_func_$ac_func=no"
13733 fi
13734 rm -f conftest*
13735 fi
13736
13737 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13738 echo "$ac_t""yes" 1>&6
13739 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13740 cat >> confdefs.h <<EOF
13741 #define $ac_tr_func 1
13742 EOF
13743 cat >> confdefs.h <<\EOF
13744 #define HAVE_USLEEP 1
13745 EOF
13746
13747 else
13748 echo "$ac_t""no" 1>&6
13749 echo "configure: warning: wxSleep() function will not work" 1>&2
13750
13751 fi
13752 done
13753
13754
13755
13756 fi
13757
13758
13759
13760 fi
13761 done
13762
13763 fi
13764
13765 for ac_func in uname gethostname
13766 do
13767 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13768 echo "configure:13769: checking for $ac_func" >&5
13769 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13770 echo $ac_n "(cached) $ac_c" 1>&6
13771 else
13772 cat > conftest.$ac_ext <<EOF
13773 #line 13774 "configure"
13774 #include "confdefs.h"
13775 /* System header to define __stub macros and hopefully few prototypes,
13776 which can conflict with char $ac_func(); below. */
13777 #include <assert.h>
13778 /* Override any gcc2 internal prototype to avoid an error. */
13779 /* We use char because int might match the return type of a gcc2
13780 builtin and then its argument prototype would still apply. */
13781 char $ac_func();
13782
13783 int main() {
13784
13785 /* The GNU C library defines this for functions which it implements
13786 to always fail with ENOSYS. Some functions are actually named
13787 something starting with __ and the normal name is an alias. */
13788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13789 choke me
13790 #else
13791 $ac_func();
13792 #endif
13793
13794 ; return 0; }
13795 EOF
13796 if { (eval echo configure:13797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13797 rm -rf conftest*
13798 eval "ac_cv_func_$ac_func=yes"
13799 else
13800 echo "configure: failed program was:" >&5
13801 cat conftest.$ac_ext >&5
13802 rm -rf conftest*
13803 eval "ac_cv_func_$ac_func=no"
13804 fi
13805 rm -f conftest*
13806 fi
13807
13808 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13809 echo "$ac_t""yes" 1>&6
13810 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13811 cat >> confdefs.h <<EOF
13812 #define $ac_tr_func 1
13813 EOF
13814 break
13815 else
13816 echo "$ac_t""no" 1>&6
13817 fi
13818 done
13819
13820
13821
13822 ac_ext=C
13823 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13824 ac_cpp='$CXXCPP $CPPFLAGS'
13825 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13826 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13827 cross_compiling=$ac_cv_prog_cxx_cross
13828
13829
13830 for ac_func in strtok_r
13831 do
13832 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13833 echo "configure:13834: checking for $ac_func" >&5
13834 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13835 echo $ac_n "(cached) $ac_c" 1>&6
13836 else
13837 cat > conftest.$ac_ext <<EOF
13838 #line 13839 "configure"
13839 #include "confdefs.h"
13840 /* System header to define __stub macros and hopefully few prototypes,
13841 which can conflict with char $ac_func(); below. */
13842 #include <assert.h>
13843 /* Override any gcc2 internal prototype to avoid an error. */
13844 #ifdef __cplusplus
13845 extern "C"
13846 #endif
13847 /* We use char because int might match the return type of a gcc2
13848 builtin and then its argument prototype would still apply. */
13849 char $ac_func();
13850
13851 int main() {
13852
13853 /* The GNU C library defines this for functions which it implements
13854 to always fail with ENOSYS. Some functions are actually named
13855 something starting with __ and the normal name is an alias. */
13856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13857 choke me
13858 #else
13859 $ac_func();
13860 #endif
13861
13862 ; return 0; }
13863 EOF
13864 if { (eval echo configure:13865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13865 rm -rf conftest*
13866 eval "ac_cv_func_$ac_func=yes"
13867 else
13868 echo "configure: failed program was:" >&5
13869 cat conftest.$ac_ext >&5
13870 rm -rf conftest*
13871 eval "ac_cv_func_$ac_func=no"
13872 fi
13873 rm -f conftest*
13874 fi
13875
13876 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13877 echo "$ac_t""yes" 1>&6
13878 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13879 cat >> confdefs.h <<EOF
13880 #define $ac_tr_func 1
13881 EOF
13882
13883 else
13884 echo "$ac_t""no" 1>&6
13885 fi
13886 done
13887
13888
13889 ac_ext=c
13890 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13891 ac_cpp='$CPP $CPPFLAGS'
13892 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13893 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13894 cross_compiling=$ac_cv_prog_cc_cross
13895
13896
13897 INET_LINK=
13898 for ac_func in inet_addr
13899 do
13900 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13901 echo "configure:13902: checking for $ac_func" >&5
13902 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13903 echo $ac_n "(cached) $ac_c" 1>&6
13904 else
13905 cat > conftest.$ac_ext <<EOF
13906 #line 13907 "configure"
13907 #include "confdefs.h"
13908 /* System header to define __stub macros and hopefully few prototypes,
13909 which can conflict with char $ac_func(); below. */
13910 #include <assert.h>
13911 /* Override any gcc2 internal prototype to avoid an error. */
13912 /* We use char because int might match the return type of a gcc2
13913 builtin and then its argument prototype would still apply. */
13914 char $ac_func();
13915
13916 int main() {
13917
13918 /* The GNU C library defines this for functions which it implements
13919 to always fail with ENOSYS. Some functions are actually named
13920 something starting with __ and the normal name is an alias. */
13921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13922 choke me
13923 #else
13924 $ac_func();
13925 #endif
13926
13927 ; return 0; }
13928 EOF
13929 if { (eval echo configure:13930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13930 rm -rf conftest*
13931 eval "ac_cv_func_$ac_func=yes"
13932 else
13933 echo "configure: failed program was:" >&5
13934 cat conftest.$ac_ext >&5
13935 rm -rf conftest*
13936 eval "ac_cv_func_$ac_func=no"
13937 fi
13938 rm -f conftest*
13939 fi
13940
13941 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13942 echo "$ac_t""yes" 1>&6
13943 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13944 cat >> confdefs.h <<EOF
13945 #define $ac_tr_func 1
13946 EOF
13947 cat >> confdefs.h <<\EOF
13948 #define HAVE_INET_ADDR 1
13949 EOF
13950
13951 else
13952 echo "$ac_t""no" 1>&6
13953 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
13954 echo "configure:13955: checking for inet_addr in -lnsl" >&5
13955 ac_lib_var=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
13956 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13957 echo $ac_n "(cached) $ac_c" 1>&6
13958 else
13959 ac_save_LIBS="$LIBS"
13960 LIBS="-lnsl $LIBS"
13961 cat > conftest.$ac_ext <<EOF
13962 #line 13963 "configure"
13963 #include "confdefs.h"
13964 /* Override any gcc2 internal prototype to avoid an error. */
13965 /* We use char because int might match the return type of a gcc2
13966 builtin and then its argument prototype would still apply. */
13967 char inet_addr();
13968
13969 int main() {
13970 inet_addr()
13971 ; return 0; }
13972 EOF
13973 if { (eval echo configure:13974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13974 rm -rf conftest*
13975 eval "ac_cv_lib_$ac_lib_var=yes"
13976 else
13977 echo "configure: failed program was:" >&5
13978 cat conftest.$ac_ext >&5
13979 rm -rf conftest*
13980 eval "ac_cv_lib_$ac_lib_var=no"
13981 fi
13982 rm -f conftest*
13983 LIBS="$ac_save_LIBS"
13984
13985 fi
13986 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13987 echo "$ac_t""yes" 1>&6
13988 INET_LINK="nsl"
13989 else
13990 echo "$ac_t""no" 1>&6
13991 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
13992 echo "configure:13993: checking for inet_addr in -lresolv" >&5
13993 ac_lib_var=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
13994 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13995 echo $ac_n "(cached) $ac_c" 1>&6
13996 else
13997 ac_save_LIBS="$LIBS"
13998 LIBS="-lresolv $LIBS"
13999 cat > conftest.$ac_ext <<EOF
14000 #line 14001 "configure"
14001 #include "confdefs.h"
14002 /* Override any gcc2 internal prototype to avoid an error. */
14003 /* We use char because int might match the return type of a gcc2
14004 builtin and then its argument prototype would still apply. */
14005 char inet_addr();
14006
14007 int main() {
14008 inet_addr()
14009 ; return 0; }
14010 EOF
14011 if { (eval echo configure:14012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14012 rm -rf conftest*
14013 eval "ac_cv_lib_$ac_lib_var=yes"
14014 else
14015 echo "configure: failed program was:" >&5
14016 cat conftest.$ac_ext >&5
14017 rm -rf conftest*
14018 eval "ac_cv_lib_$ac_lib_var=no"
14019 fi
14020 rm -f conftest*
14021 LIBS="$ac_save_LIBS"
14022
14023 fi
14024 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14025 echo "$ac_t""yes" 1>&6
14026 INET_LINK="resolv"
14027
14028 else
14029 echo "$ac_t""no" 1>&6
14030 fi
14031
14032
14033 fi
14034
14035
14036
14037 fi
14038 done
14039
14040
14041 for ac_func in inet_aton
14042 do
14043 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14044 echo "configure:14045: checking for $ac_func" >&5
14045 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14046 echo $ac_n "(cached) $ac_c" 1>&6
14047 else
14048 cat > conftest.$ac_ext <<EOF
14049 #line 14050 "configure"
14050 #include "confdefs.h"
14051 /* System header to define __stub macros and hopefully few prototypes,
14052 which can conflict with char $ac_func(); below. */
14053 #include <assert.h>
14054 /* Override any gcc2 internal prototype to avoid an error. */
14055 /* We use char because int might match the return type of a gcc2
14056 builtin and then its argument prototype would still apply. */
14057 char $ac_func();
14058
14059 int main() {
14060
14061 /* The GNU C library defines this for functions which it implements
14062 to always fail with ENOSYS. Some functions are actually named
14063 something starting with __ and the normal name is an alias. */
14064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14065 choke me
14066 #else
14067 $ac_func();
14068 #endif
14069
14070 ; return 0; }
14071 EOF
14072 if { (eval echo configure:14073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14073 rm -rf conftest*
14074 eval "ac_cv_func_$ac_func=yes"
14075 else
14076 echo "configure: failed program was:" >&5
14077 cat conftest.$ac_ext >&5
14078 rm -rf conftest*
14079 eval "ac_cv_func_$ac_func=no"
14080 fi
14081 rm -f conftest*
14082 fi
14083
14084 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14085 echo "$ac_t""yes" 1>&6
14086 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14087 cat >> confdefs.h <<EOF
14088 #define $ac_tr_func 1
14089 EOF
14090 cat >> confdefs.h <<\EOF
14091 #define HAVE_INET_ATON 1
14092 EOF
14093
14094 else
14095 echo "$ac_t""no" 1>&6
14096 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
14097 echo "configure:14098: checking for inet_aton in -l$INET_LINK" >&5
14098 ac_lib_var=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
14099 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14100 echo $ac_n "(cached) $ac_c" 1>&6
14101 else
14102 ac_save_LIBS="$LIBS"
14103 LIBS="-l$INET_LINK $LIBS"
14104 cat > conftest.$ac_ext <<EOF
14105 #line 14106 "configure"
14106 #include "confdefs.h"
14107 /* Override any gcc2 internal prototype to avoid an error. */
14108 /* We use char because int might match the return type of a gcc2
14109 builtin and then its argument prototype would still apply. */
14110 char inet_aton();
14111
14112 int main() {
14113 inet_aton()
14114 ; return 0; }
14115 EOF
14116 if { (eval echo configure:14117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14117 rm -rf conftest*
14118 eval "ac_cv_lib_$ac_lib_var=yes"
14119 else
14120 echo "configure: failed program was:" >&5
14121 cat conftest.$ac_ext >&5
14122 rm -rf conftest*
14123 eval "ac_cv_lib_$ac_lib_var=no"
14124 fi
14125 rm -f conftest*
14126 LIBS="$ac_save_LIBS"
14127
14128 fi
14129 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14130 echo "$ac_t""yes" 1>&6
14131 cat >> confdefs.h <<\EOF
14132 #define HAVE_INET_ATON 1
14133 EOF
14134
14135 else
14136 echo "$ac_t""no" 1>&6
14137 fi
14138
14139
14140 fi
14141 done
14142
14143
14144 if test "x$INET_LINK" != "x"; then
14145 cat >> confdefs.h <<\EOF
14146 #define HAVE_INET_ADDR 1
14147 EOF
14148
14149 INET_LINK="-l$INET_LINK"
14150 fi
14151
14152 fi
14153
14154
14155 cat > confcache <<\EOF
14156 # This file is a shell script that caches the results of configure
14157 # tests run on this system so they can be shared between configure
14158 # scripts and configure runs. It is not useful on other systems.
14159 # If it contains results you don't want to keep, you may remove or edit it.
14160 #
14161 # By default, configure uses ./config.cache as the cache file,
14162 # creating it if it does not exist already. You can give configure
14163 # the --cache-file=FILE option to use a different cache file; that is
14164 # what configure does when it calls configure scripts in
14165 # subdirectories, so they share the cache.
14166 # Giving --cache-file=/dev/null disables caching, for debugging configure.
14167 # config.status only pays attention to the cache file if you give it the
14168 # --recheck option to rerun configure.
14169 #
14170 EOF
14171 # The following way of writing the cache mishandles newlines in values,
14172 # but we know of no workaround that is simple, portable, and efficient.
14173 # So, don't put newlines in cache variables' values.
14174 # Ultrix sh set writes to stderr and can't be redirected directly,
14175 # and sets the high bit in the cache file unless we assign to the vars.
14176 (set) 2>&1 |
14177 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14178 *ac_space=\ *)
14179 # `set' does not quote correctly, so add quotes (double-quote substitution
14180 # turns \\\\ into \\, and sed turns \\ into \).
14181 sed -n \
14182 -e "s/'/'\\\\''/g" \
14183 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
14184 ;;
14185 *)
14186 # `set' quotes correctly as required by POSIX, so do not add quotes.
14187 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
14188 ;;
14189 esac >> confcache
14190 if cmp -s $cache_file confcache; then
14191 :
14192 else
14193 if test -w $cache_file; then
14194 echo "updating cache $cache_file"
14195 cat confcache > $cache_file
14196 else
14197 echo "not updating unwritable cache $cache_file"
14198 fi
14199 fi
14200 rm -f confcache
14201
14202
14203
14204 if test "$TOOLKIT" != "MSW"; then
14205
14206
14207 THREADS_LINK=""
14208 THREADS_OBJ=""
14209
14210 if test "$wxUSE_THREADS" = "yes" ; then
14211 if test "$wxUSE_WINE" = 1 ; then
14212 echo "configure: warning: Threads are not supported under WINE" 1>&2
14213 wxUSE_THREADS="no"
14214 elif test "$USE_BEOS" = 1; then
14215 echo "configure: warning: BeOS threads are not yet supported" 1>&2
14216 wxUSE_THREADS="no"
14217 fi
14218 fi
14219
14220 if test "$wxUSE_THREADS" = "yes" ; then
14221
14222 if test "$USE_AIX" = 1; then
14223 THREADS_LIB=pthreads
14224 else
14225 THREADS_LIB=pthread
14226 fi
14227
14228 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
14229 echo "configure:14230: checking for pthread_create in -l$THREADS_LIB" >&5
14230 ac_lib_var=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
14231 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14232 echo $ac_n "(cached) $ac_c" 1>&6
14233 else
14234 ac_save_LIBS="$LIBS"
14235 LIBS="-l$THREADS_LIB $LIBS"
14236 cat > conftest.$ac_ext <<EOF
14237 #line 14238 "configure"
14238 #include "confdefs.h"
14239 /* Override any gcc2 internal prototype to avoid an error. */
14240 /* We use char because int might match the return type of a gcc2
14241 builtin and then its argument prototype would still apply. */
14242 char pthread_create();
14243
14244 int main() {
14245 pthread_create()
14246 ; return 0; }
14247 EOF
14248 if { (eval echo configure:14249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14249 rm -rf conftest*
14250 eval "ac_cv_lib_$ac_lib_var=yes"
14251 else
14252 echo "configure: failed program was:" >&5
14253 cat conftest.$ac_ext >&5
14254 rm -rf conftest*
14255 eval "ac_cv_lib_$ac_lib_var=no"
14256 fi
14257 rm -f conftest*
14258 LIBS="$ac_save_LIBS"
14259
14260 fi
14261 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14262 echo "$ac_t""yes" 1>&6
14263
14264 THREADS_OBJ="threadpsx.lo"
14265 THREADS_LINK=$THREADS_LIB
14266
14267 else
14268 echo "$ac_t""no" 1>&6
14269
14270 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
14271 echo "configure:14272: checking for pthread_create in -lc_r" >&5
14272 ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
14273 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14274 echo $ac_n "(cached) $ac_c" 1>&6
14275 else
14276 ac_save_LIBS="$LIBS"
14277 LIBS="-lc_r $LIBS"
14278 cat > conftest.$ac_ext <<EOF
14279 #line 14280 "configure"
14280 #include "confdefs.h"
14281 /* Override any gcc2 internal prototype to avoid an error. */
14282 /* We use char because int might match the return type of a gcc2
14283 builtin and then its argument prototype would still apply. */
14284 char pthread_create();
14285
14286 int main() {
14287 pthread_create()
14288 ; return 0; }
14289 EOF
14290 if { (eval echo configure:14291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14291 rm -rf conftest*
14292 eval "ac_cv_lib_$ac_lib_var=yes"
14293 else
14294 echo "configure: failed program was:" >&5
14295 cat conftest.$ac_ext >&5
14296 rm -rf conftest*
14297 eval "ac_cv_lib_$ac_lib_var=no"
14298 fi
14299 rm -f conftest*
14300 LIBS="$ac_save_LIBS"
14301
14302 fi
14303 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14304 echo "$ac_t""yes" 1>&6
14305
14306 THREADS_OBJ="threadpsx.lo"
14307 THREADS_LINK="c_r"
14308
14309 else
14310 echo "$ac_t""no" 1>&6
14311
14312 ac_safe=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
14313 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
14314 echo "configure:14315: checking for sys/prctl.h" >&5
14315 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14316 echo $ac_n "(cached) $ac_c" 1>&6
14317 else
14318 cat > conftest.$ac_ext <<EOF
14319 #line 14320 "configure"
14320 #include "confdefs.h"
14321 #include <sys/prctl.h>
14322 EOF
14323 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14324 { (eval echo configure:14325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14325 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14326 if test -z "$ac_err"; then
14327 rm -rf conftest*
14328 eval "ac_cv_header_$ac_safe=yes"
14329 else
14330 echo "$ac_err" >&5
14331 echo "configure: failed program was:" >&5
14332 cat conftest.$ac_ext >&5
14333 rm -rf conftest*
14334 eval "ac_cv_header_$ac_safe=no"
14335 fi
14336 rm -f conftest*
14337 fi
14338 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14339 echo "$ac_t""yes" 1>&6
14340
14341 THREADS_OBJ="threadsgi.lo"
14342
14343 else
14344 echo "$ac_t""no" 1>&6
14345 fi
14346
14347
14348 fi
14349
14350
14351 fi
14352
14353
14354 if test -z "$THREADS_OBJ" ; then
14355 wxUSE_THREADS=no
14356 echo "configure: warning: No thread support on this system" 1>&2
14357 fi
14358 fi
14359
14360 if test "$wxUSE_THREADS" = "yes" ; then
14361 for ac_func in thr_setconcurrency
14362 do
14363 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14364 echo "configure:14365: checking for $ac_func" >&5
14365 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14366 echo $ac_n "(cached) $ac_c" 1>&6
14367 else
14368 cat > conftest.$ac_ext <<EOF
14369 #line 14370 "configure"
14370 #include "confdefs.h"
14371 /* System header to define __stub macros and hopefully few prototypes,
14372 which can conflict with char $ac_func(); below. */
14373 #include <assert.h>
14374 /* Override any gcc2 internal prototype to avoid an error. */
14375 /* We use char because int might match the return type of a gcc2
14376 builtin and then its argument prototype would still apply. */
14377 char $ac_func();
14378
14379 int main() {
14380
14381 /* The GNU C library defines this for functions which it implements
14382 to always fail with ENOSYS. Some functions are actually named
14383 something starting with __ and the normal name is an alias. */
14384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14385 choke me
14386 #else
14387 $ac_func();
14388 #endif
14389
14390 ; return 0; }
14391 EOF
14392 if { (eval echo configure:14393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14393 rm -rf conftest*
14394 eval "ac_cv_func_$ac_func=yes"
14395 else
14396 echo "configure: failed program was:" >&5
14397 cat conftest.$ac_ext >&5
14398 rm -rf conftest*
14399 eval "ac_cv_func_$ac_func=no"
14400 fi
14401 rm -f conftest*
14402 fi
14403
14404 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14405 echo "$ac_t""yes" 1>&6
14406 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14407 cat >> confdefs.h <<EOF
14408 #define $ac_tr_func 1
14409 EOF
14410
14411 else
14412 echo "$ac_t""no" 1>&6
14413 fi
14414 done
14415
14416
14417
14418 for ac_hdr in sched.h
14419 do
14420 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14421 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14422 echo "configure:14423: checking for $ac_hdr" >&5
14423 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14424 echo $ac_n "(cached) $ac_c" 1>&6
14425 else
14426 cat > conftest.$ac_ext <<EOF
14427 #line 14428 "configure"
14428 #include "confdefs.h"
14429 #include <$ac_hdr>
14430 EOF
14431 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14432 { (eval echo configure:14433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14433 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14434 if test -z "$ac_err"; then
14435 rm -rf conftest*
14436 eval "ac_cv_header_$ac_safe=yes"
14437 else
14438 echo "$ac_err" >&5
14439 echo "configure: failed program was:" >&5
14440 cat conftest.$ac_ext >&5
14441 rm -rf conftest*
14442 eval "ac_cv_header_$ac_safe=no"
14443 fi
14444 rm -f conftest*
14445 fi
14446 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14447 echo "$ac_t""yes" 1>&6
14448 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14449 cat >> confdefs.h <<EOF
14450 #define $ac_tr_hdr 1
14451 EOF
14452
14453 else
14454 echo "$ac_t""no" 1>&6
14455 fi
14456 done
14457
14458
14459 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
14460 echo "configure:14461: checking for sched_yield in -l$THREADS_LINK" >&5
14461 ac_lib_var=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
14462 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14463 echo $ac_n "(cached) $ac_c" 1>&6
14464 else
14465 ac_save_LIBS="$LIBS"
14466 LIBS="-l$THREADS_LINK $LIBS"
14467 cat > conftest.$ac_ext <<EOF
14468 #line 14469 "configure"
14469 #include "confdefs.h"
14470 /* Override any gcc2 internal prototype to avoid an error. */
14471 /* We use char because int might match the return type of a gcc2
14472 builtin and then its argument prototype would still apply. */
14473 char sched_yield();
14474
14475 int main() {
14476 sched_yield()
14477 ; return 0; }
14478 EOF
14479 if { (eval echo configure:14480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14480 rm -rf conftest*
14481 eval "ac_cv_lib_$ac_lib_var=yes"
14482 else
14483 echo "configure: failed program was:" >&5
14484 cat conftest.$ac_ext >&5
14485 rm -rf conftest*
14486 eval "ac_cv_lib_$ac_lib_var=no"
14487 fi
14488 rm -f conftest*
14489 LIBS="$ac_save_LIBS"
14490
14491 fi
14492 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14493 echo "$ac_t""yes" 1>&6
14494 cat >> confdefs.h <<\EOF
14495 #define HAVE_SCHED_YIELD 1
14496 EOF
14497
14498 else
14499 echo "$ac_t""no" 1>&6
14500 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
14501 echo "configure:14502: checking for sched_yield in -lposix4" >&5
14502 ac_lib_var=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
14503 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14504 echo $ac_n "(cached) $ac_c" 1>&6
14505 else
14506 ac_save_LIBS="$LIBS"
14507 LIBS="-lposix4 $LIBS"
14508 cat > conftest.$ac_ext <<EOF
14509 #line 14510 "configure"
14510 #include "confdefs.h"
14511 /* Override any gcc2 internal prototype to avoid an error. */
14512 /* We use char because int might match the return type of a gcc2
14513 builtin and then its argument prototype would still apply. */
14514 char sched_yield();
14515
14516 int main() {
14517 sched_yield()
14518 ; return 0; }
14519 EOF
14520 if { (eval echo configure:14521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14521 rm -rf conftest*
14522 eval "ac_cv_lib_$ac_lib_var=yes"
14523 else
14524 echo "configure: failed program was:" >&5
14525 cat conftest.$ac_ext >&5
14526 rm -rf conftest*
14527 eval "ac_cv_lib_$ac_lib_var=no"
14528 fi
14529 rm -f conftest*
14530 LIBS="$ac_save_LIBS"
14531
14532 fi
14533 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14534 echo "$ac_t""yes" 1>&6
14535 cat >> confdefs.h <<\EOF
14536 #define HAVE_SCHED_YIELD 1
14537 EOF
14538 POSIX4_LINK="-lposix4"
14539 else
14540 echo "$ac_t""no" 1>&6
14541 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
14542
14543 fi
14544
14545
14546 fi
14547
14548
14549 HAVE_PRIOR_FUNCS=0
14550 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
14551 echo "configure:14552: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
14552 ac_lib_var=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
14553 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14554 echo $ac_n "(cached) $ac_c" 1>&6
14555 else
14556 ac_save_LIBS="$LIBS"
14557 LIBS="-l$THREADS_LINK $LIBS"
14558 cat > conftest.$ac_ext <<EOF
14559 #line 14560 "configure"
14560 #include "confdefs.h"
14561 /* Override any gcc2 internal prototype to avoid an error. */
14562 /* We use char because int might match the return type of a gcc2
14563 builtin and then its argument prototype would still apply. */
14564 char pthread_attr_getschedpolicy();
14565
14566 int main() {
14567 pthread_attr_getschedpolicy()
14568 ; return 0; }
14569 EOF
14570 if { (eval echo configure:14571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14571 rm -rf conftest*
14572 eval "ac_cv_lib_$ac_lib_var=yes"
14573 else
14574 echo "configure: failed program was:" >&5
14575 cat conftest.$ac_ext >&5
14576 rm -rf conftest*
14577 eval "ac_cv_lib_$ac_lib_var=no"
14578 fi
14579 rm -f conftest*
14580 LIBS="$ac_save_LIBS"
14581
14582 fi
14583 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14584 echo "$ac_t""yes" 1>&6
14585 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
14586 echo "configure:14587: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
14587 ac_lib_var=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
14588 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14589 echo $ac_n "(cached) $ac_c" 1>&6
14590 else
14591 ac_save_LIBS="$LIBS"
14592 LIBS="-l$THREADS_LINK $LIBS"
14593 cat > conftest.$ac_ext <<EOF
14594 #line 14595 "configure"
14595 #include "confdefs.h"
14596 /* Override any gcc2 internal prototype to avoid an error. */
14597 /* We use char because int might match the return type of a gcc2
14598 builtin and then its argument prototype would still apply. */
14599 char pthread_attr_setschedparam();
14600
14601 int main() {
14602 pthread_attr_setschedparam()
14603 ; return 0; }
14604 EOF
14605 if { (eval echo configure:14606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14606 rm -rf conftest*
14607 eval "ac_cv_lib_$ac_lib_var=yes"
14608 else
14609 echo "configure: failed program was:" >&5
14610 cat conftest.$ac_ext >&5
14611 rm -rf conftest*
14612 eval "ac_cv_lib_$ac_lib_var=no"
14613 fi
14614 rm -f conftest*
14615 LIBS="$ac_save_LIBS"
14616
14617 fi
14618 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14619 echo "$ac_t""yes" 1>&6
14620 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
14621 echo "configure:14622: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
14622 ac_lib_var=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14623 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14624 echo $ac_n "(cached) $ac_c" 1>&6
14625 else
14626 ac_save_LIBS="$LIBS"
14627 LIBS="-l$THREADS_LINK $LIBS"
14628 cat > conftest.$ac_ext <<EOF
14629 #line 14630 "configure"
14630 #include "confdefs.h"
14631 /* Override any gcc2 internal prototype to avoid an error. */
14632 /* We use char because int might match the return type of a gcc2
14633 builtin and then its argument prototype would still apply. */
14634 char sched_get_priority_max();
14635
14636 int main() {
14637 sched_get_priority_max()
14638 ; return 0; }
14639 EOF
14640 if { (eval echo configure:14641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14641 rm -rf conftest*
14642 eval "ac_cv_lib_$ac_lib_var=yes"
14643 else
14644 echo "configure: failed program was:" >&5
14645 cat conftest.$ac_ext >&5
14646 rm -rf conftest*
14647 eval "ac_cv_lib_$ac_lib_var=no"
14648 fi
14649 rm -f conftest*
14650 LIBS="$ac_save_LIBS"
14651
14652 fi
14653 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14654 echo "$ac_t""yes" 1>&6
14655 HAVE_PRIOR_FUNCS=1
14656 else
14657 echo "$ac_t""no" 1>&6
14658 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
14659 echo "configure:14660: checking for sched_get_priority_max in -lposix4" >&5
14660 ac_lib_var=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14661 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14662 echo $ac_n "(cached) $ac_c" 1>&6
14663 else
14664 ac_save_LIBS="$LIBS"
14665 LIBS="-lposix4 $LIBS"
14666 cat > conftest.$ac_ext <<EOF
14667 #line 14668 "configure"
14668 #include "confdefs.h"
14669 /* Override any gcc2 internal prototype to avoid an error. */
14670 /* We use char because int might match the return type of a gcc2
14671 builtin and then its argument prototype would still apply. */
14672 char sched_get_priority_max();
14673
14674 int main() {
14675 sched_get_priority_max()
14676 ; return 0; }
14677 EOF
14678 if { (eval echo configure:14679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14679 rm -rf conftest*
14680 eval "ac_cv_lib_$ac_lib_var=yes"
14681 else
14682 echo "configure: failed program was:" >&5
14683 cat conftest.$ac_ext >&5
14684 rm -rf conftest*
14685 eval "ac_cv_lib_$ac_lib_var=no"
14686 fi
14687 rm -f conftest*
14688 LIBS="$ac_save_LIBS"
14689
14690 fi
14691 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14692 echo "$ac_t""yes" 1>&6
14693
14694 HAVE_PRIOR_FUNCS=1
14695 POSIX4_LINK="-lposix4"
14696
14697 else
14698 echo "$ac_t""no" 1>&6
14699 fi
14700
14701
14702 fi
14703
14704
14705 else
14706 echo "$ac_t""no" 1>&6
14707 fi
14708
14709
14710 else
14711 echo "$ac_t""no" 1>&6
14712 fi
14713
14714
14715 if test "$HAVE_PRIOR_FUNCS" = 1; then
14716 cat >> confdefs.h <<\EOF
14717 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
14718 EOF
14719
14720 else
14721 echo "configure: warning: Setting thread priority will not work" 1>&2
14722 fi
14723
14724 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
14725 echo "configure:14726: checking for pthread_cancel in -l$THREADS_LINK" >&5
14726 ac_lib_var=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
14727 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14728 echo $ac_n "(cached) $ac_c" 1>&6
14729 else
14730 ac_save_LIBS="$LIBS"
14731 LIBS="-l$THREADS_LINK $LIBS"
14732 cat > conftest.$ac_ext <<EOF
14733 #line 14734 "configure"
14734 #include "confdefs.h"
14735 /* Override any gcc2 internal prototype to avoid an error. */
14736 /* We use char because int might match the return type of a gcc2
14737 builtin and then its argument prototype would still apply. */
14738 char pthread_cancel();
14739
14740 int main() {
14741 pthread_cancel()
14742 ; return 0; }
14743 EOF
14744 if { (eval echo configure:14745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14745 rm -rf conftest*
14746 eval "ac_cv_lib_$ac_lib_var=yes"
14747 else
14748 echo "configure: failed program was:" >&5
14749 cat conftest.$ac_ext >&5
14750 rm -rf conftest*
14751 eval "ac_cv_lib_$ac_lib_var=no"
14752 fi
14753 rm -f conftest*
14754 LIBS="$ac_save_LIBS"
14755
14756 fi
14757 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14758 echo "$ac_t""yes" 1>&6
14759 cat >> confdefs.h <<\EOF
14760 #define HAVE_PTHREAD_CANCEL 1
14761 EOF
14762
14763 else
14764 echo "$ac_t""no" 1>&6
14765 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
14766 fi
14767
14768
14769 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
14770 echo "configure:14771: checking for pthread_cleanup_push/pop" >&5
14771 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
14772 echo $ac_n "(cached) $ac_c" 1>&6
14773 else
14774
14775 cat > conftest.$ac_ext <<EOF
14776 #line 14777 "configure"
14777 #include "confdefs.h"
14778 #include <pthread.h>
14779 int main() {
14780
14781 pthread_cleanup_push(NULL, NULL);
14782 pthread_cleanup_pop(0);
14783
14784 ; return 0; }
14785 EOF
14786 if { (eval echo configure:14787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14787 rm -rf conftest*
14788
14789 wx_cv_func_pthread_cleanup_push=yes
14790
14791 else
14792 echo "configure: failed program was:" >&5
14793 cat conftest.$ac_ext >&5
14794 rm -rf conftest*
14795
14796 wx_cv_func_pthread_cleanup_push=no
14797
14798 fi
14799 rm -f conftest*
14800
14801 fi
14802
14803 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
14804
14805 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
14806 cat >> confdefs.h <<\EOF
14807 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
14808 EOF
14809
14810 fi
14811
14812
14813 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
14814 echo "configure:14815: checking for pthread_mutexattr_t" >&5
14815 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
14816 echo $ac_n "(cached) $ac_c" 1>&6
14817 else
14818
14819 cat > conftest.$ac_ext <<EOF
14820 #line 14821 "configure"
14821 #include "confdefs.h"
14822 #include <pthread.h>
14823 int main() {
14824
14825 pthread_mutexattr_t attr;
14826 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
14827
14828 ; return 0; }
14829 EOF
14830 if { (eval echo configure:14831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14831 rm -rf conftest*
14832
14833 wx_cv_type_pthread_mutexattr_t=yes
14834
14835 else
14836 echo "configure: failed program was:" >&5
14837 cat conftest.$ac_ext >&5
14838 rm -rf conftest*
14839
14840 wx_cv_type_pthread_mutexattr_t=no
14841
14842
14843 fi
14844 rm -f conftest*
14845
14846 fi
14847
14848 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
14849
14850 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
14851 cat >> confdefs.h <<\EOF
14852 #define HAVE_PTHREAD_MUTEXATTR_T 1
14853 EOF
14854
14855 else
14856 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
14857 echo "configure:14858: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
14858 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
14859 echo $ac_n "(cached) $ac_c" 1>&6
14860 else
14861
14862 cat > conftest.$ac_ext <<EOF
14863 #line 14864 "configure"
14864 #include "confdefs.h"
14865 #include <pthread.h>
14866 int main() {
14867
14868 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
14869
14870 ; return 0; }
14871 EOF
14872 if { (eval echo configure:14873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14873 rm -rf conftest*
14874
14875 wx_cv_type_pthread_rec_mutex_init=yes
14876
14877 else
14878 echo "configure: failed program was:" >&5
14879 cat conftest.$ac_ext >&5
14880 rm -rf conftest*
14881
14882 wx_cv_type_pthread_rec_mutex_init=no
14883
14884
14885 fi
14886 rm -f conftest*
14887
14888 fi
14889
14890 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
14891 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
14892 cat >> confdefs.h <<\EOF
14893 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
14894 EOF
14895
14896 else
14897 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
14898 fi
14899 fi
14900
14901 THREADS_LINK="-l$THREADS_LINK"
14902
14903 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
14904 CFLAGS="${CFLAGS} -mt"
14905 CXXFLAGS="${CXXFLAGS} -mt"
14906 LDFLAGS="${LDFLAGS} -mt"
14907 fi
14908 fi
14909
14910 fi
14911
14912 if test "$wxUSE_THREADS" = "yes"; then
14913 cat >> confdefs.h <<\EOF
14914 #define wxUSE_THREADS 1
14915 EOF
14916
14917
14918 if test "$USE_DARWIN" != 1; then
14919 CFLAGS="${CFLAGS} -D_REENTRANT"
14920 CXXFLAGS="${CXXFLAGS} -D_REENTRANT"
14921 fi
14922
14923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
14924 else
14925 if test "$ac_cv_func_strtok_r" = "yes"; then
14926 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
14927 echo "configure:14928: checking if -D_REENTRANT is needed" >&5
14928 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
14929 CFLAGS="${CFLAGS} -D_REENTRANT"
14930 CXXFLAGS="${CXXFLAGS} -D_REENTRANT"
14931 echo "$ac_t""yes" 1>&6
14932 else
14933 echo "$ac_t""no" 1>&6
14934 fi
14935 fi
14936 fi
14937
14938 if test "$WXGTK20" = 1 ; then
14939 cat >> confdefs.h <<EOF
14940 #define __WXGTK20__ $WXGTK20
14941 EOF
14942
14943 WXGTK12=1
14944 fi
14945
14946 if test "$WXGTK12" = 1 ; then
14947 cat >> confdefs.h <<EOF
14948 #define __WXGTK12__ $WXGTK12
14949 EOF
14950
14951 fi
14952
14953 if test "$WXGTK127" = 1 ; then
14954 cat >> confdefs.h <<EOF
14955 #define __WXGTK127__ $WXGTK127
14956 EOF
14957
14958 fi
14959
14960 if test "$WXWINE" = 1 ; then
14961 TOOLKIT_DEF="${TOOLKIT_DEF} -D__WXWINE__"
14962 fi
14963
14964 if test "$wxUSE_MAC" = 1 ; then
14965 TOOLKIT_DEF="${TOOLKIT_DEF} -DTARGET_CARBON"
14966 CFLAGS="${CFLAGS} -fpascal-strings"
14967 CPPFLAGS="${CPPFLAGS} -cpp-precomp -fpascal-strings"
14968 # Extract the first word of "Rez", so it can be a program name with args.
14969 set dummy Rez; ac_word=$2
14970 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14971 echo "configure:14972: checking for $ac_word" >&5
14972 if eval "test \"`echo '$''{'ac_cv_prog_REZ'+set}'`\" = set"; then
14973 echo $ac_n "(cached) $ac_c" 1>&6
14974 else
14975 if test -n "$REZ"; then
14976 ac_cv_prog_REZ="$REZ" # Let the user override the test.
14977 else
14978 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
14979 ac_dummy="$PATH"
14980 for ac_dir in $ac_dummy; do
14981 test -z "$ac_dir" && ac_dir=.
14982 if test -f $ac_dir/$ac_word; then
14983 ac_cv_prog_REZ="Rez"
14984 break
14985 fi
14986 done
14987 IFS="$ac_save_ifs"
14988 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
14989 fi
14990 fi
14991 REZ="$ac_cv_prog_REZ"
14992 if test -n "$REZ"; then
14993 echo "$ac_t""$REZ" 1>&6
14994 else
14995 echo "$ac_t""no" 1>&6
14996 fi
14997
14998 # Extract the first word of "Derez", so it can be a program name with args.
14999 set dummy Derez; ac_word=$2
15000 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15001 echo "configure:15002: checking for $ac_word" >&5
15002 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
15003 echo $ac_n "(cached) $ac_c" 1>&6
15004 else
15005 if test -n "$DEREZ"; then
15006 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
15007 else
15008 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
15009 ac_dummy="$PATH"
15010 for ac_dir in $ac_dummy; do
15011 test -z "$ac_dir" && ac_dir=.
15012 if test -f $ac_dir/$ac_word; then
15013 ac_cv_prog_DEREZ="Derez"
15014 break
15015 fi
15016 done
15017 IFS="$ac_save_ifs"
15018 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/Derez"
15019 fi
15020 fi
15021 DEREZ="$ac_cv_prog_DEREZ"
15022 if test -n "$DEREZ"; then
15023 echo "$ac_t""$DEREZ" 1>&6
15024 else
15025 echo "$ac_t""no" 1>&6
15026 fi
15027
15028 RESCOMP=${REZ}
15029 REZFLAGS="-d __UNIX__ -useDF"
15030 DEREZFLAGS="Carbon.r -useDF"
15031 RESFLAGS="Carbon.r -t APPL"
15032 LIBWXMACRES="\$(LIBWX_MACRES)"
15033 LIBWXMACRESCOMP="\$(LIBWX_MACRESCOMP)"
15034 fi
15035
15036 if test "$wxUSE_CYGWIN" = 1 ; then
15037 TOOLKIT_DEF="${TOOLKIT_DEF} -D__WIN95__"
15038 fi
15039
15040 WXDEBUG=
15041
15042 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
15043 WXDEBUG="-g"
15044 wxUSE_OPTIMISE=no
15045 fi
15046
15047 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
15048 wxUSE_DEBUG_INFO=yes
15049 WXDEBUG="-ggdb"
15050 fi
15051
15052 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
15053 cat >> confdefs.h <<\EOF
15054 #define WXDEBUG 1
15055 EOF
15056
15057 WXDEBUG_DEFINE="-D__WXDEBUG__"
15058 else
15059 if test "$wxUSE_GTK" = 1 ; then
15060 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
15061 fi
15062 fi
15063
15064 if test "$wxUSE_MEM_TRACING" = "yes" ; then
15065 cat >> confdefs.h <<\EOF
15066 #define wxUSE_MEMORY_TRACING 1
15067 EOF
15068
15069 cat >> confdefs.h <<\EOF
15070 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
15071 EOF
15072
15073 cat >> confdefs.h <<\EOF
15074 #define wxUSE_DEBUG_NEW_ALWAYS 1
15075 EOF
15076
15077 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
15078 fi
15079
15080 if test "$wxUSE_DMALLOC" = "yes" ; then
15081 DMALLOC_LINK="-ldmalloc"
15082 fi
15083
15084 PROFILE=
15085 if test "$wxUSE_PROFILE" = "yes" ; then
15086 PROFILE="-pg"
15087 fi
15088
15089 DEP_INFO_FLAGS=
15090 CODE_GEN_FLAGS=
15091 CODE_GEN_FLAGS_CXX=
15092 if test "$GCC" = yes ; then
15093 if test "$wxUSE_NO_RTTI" = "yes" ; then
15094 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS -fno-rtti"
15095 fi
15096 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
15097 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS -fno-exceptions"
15098 fi
15099 if test "$wxUSE_PERMISSIVE" = "yes" ; then
15100 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
15101 fi
15102 if test "$wxUSE_NO_DEPS" = "no" ; then
15103 DEP_INFO_FLAGS="-MMD"
15104 fi
15105 fi
15106
15107
15108 CXXFLAGS=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
15109 CFLAGS=`echo "${CFLAGS}" | sed "s/\-O.//g" `
15110 if test "$wxUSE_OPTIMISE" = "no" ; then
15111 OPTIMISE=
15112 else
15113 if test "$GCC" = yes ; then
15114 OPTIMISE="-O2"
15115 case "${host}" in
15116 i586-*-*|i686-*-* )
15117 OPTIMISE="${OPTIMISE} "
15118 ;;
15119 esac
15120 else
15121 OPTIMISE="-O"
15122 fi
15123 fi
15124
15125 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
15126 cat >> confdefs.h <<\EOF
15127 #define WXWIN_COMPATIBILITY_2 1
15128 EOF
15129
15130
15131 WXWIN_COMPATIBILITY_2_2="yes"
15132 fi
15133
15134 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
15135 cat >> confdefs.h <<\EOF
15136 #define WXWIN_COMPATIBILITY_2_2 1
15137 EOF
15138
15139 fi
15140
15141
15142 ZLIB_INCLUDE=
15143 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
15144 cat >> confdefs.h <<\EOF
15145 #define wxUSE_ZLIB 1
15146 EOF
15147
15148 if test "$wxUSE_ZLIB" = "yes" ; then
15149 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
15150 else
15151 ZLIB_LINK=
15152 ac_safe=`echo "zlib.h" | sed 'y%./+-%__p_%'`
15153 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
15154 echo "configure:15155: checking for zlib.h" >&5
15155 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15156 echo $ac_n "(cached) $ac_c" 1>&6
15157 else
15158 cat > conftest.$ac_ext <<EOF
15159 #line 15160 "configure"
15160 #include "confdefs.h"
15161 #include <zlib.h>
15162 EOF
15163 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15164 { (eval echo configure:15165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15165 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15166 if test -z "$ac_err"; then
15167 rm -rf conftest*
15168 eval "ac_cv_header_$ac_safe=yes"
15169 else
15170 echo "$ac_err" >&5
15171 echo "configure: failed program was:" >&5
15172 cat conftest.$ac_ext >&5
15173 rm -rf conftest*
15174 eval "ac_cv_header_$ac_safe=no"
15175 fi
15176 rm -f conftest*
15177 fi
15178 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15179 echo "$ac_t""yes" 1>&6
15180 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
15181 echo "configure:15182: checking for deflate in -lz" >&5
15182 ac_lib_var=`echo z'_'deflate | sed 'y%./+-%__p_%'`
15183 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15184 echo $ac_n "(cached) $ac_c" 1>&6
15185 else
15186 ac_save_LIBS="$LIBS"
15187 LIBS="-lz $LIBS"
15188 cat > conftest.$ac_ext <<EOF
15189 #line 15190 "configure"
15190 #include "confdefs.h"
15191 /* Override any gcc2 internal prototype to avoid an error. */
15192 /* We use char because int might match the return type of a gcc2
15193 builtin and then its argument prototype would still apply. */
15194 char deflate();
15195
15196 int main() {
15197 deflate()
15198 ; return 0; }
15199 EOF
15200 if { (eval echo configure:15201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15201 rm -rf conftest*
15202 eval "ac_cv_lib_$ac_lib_var=yes"
15203 else
15204 echo "configure: failed program was:" >&5
15205 cat conftest.$ac_ext >&5
15206 rm -rf conftest*
15207 eval "ac_cv_lib_$ac_lib_var=no"
15208 fi
15209 rm -f conftest*
15210 LIBS="$ac_save_LIBS"
15211
15212 fi
15213 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15214 echo "$ac_t""yes" 1>&6
15215 ZLIB_LINK="-lz"
15216 else
15217 echo "$ac_t""no" 1>&6
15218 fi
15219
15220 else
15221 echo "$ac_t""no" 1>&6
15222 fi
15223
15224 if test "x$ZLIB_LINK" = "x" ; then
15225 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
15226 fi
15227 fi
15228 fi
15229
15230 PNG_INCLUDE=
15231 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
15232 cat >> confdefs.h <<\EOF
15233 #define wxUSE_LIBPNG 1
15234 EOF
15235
15236 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
15237 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
15238 wxUSE_LIBPNG=yes
15239 fi
15240
15241 if test "$wxUSE_LIBPNG" = "yes" ; then
15242 PNG_INCLUDE="-I\${top_srcdir}/src/png"
15243 else
15244 PNG_LINK=
15245 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
15246 echo $ac_n "checking for png.h""... $ac_c" 1>&6
15247 echo "configure:15248: checking for png.h" >&5
15248 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15249 echo $ac_n "(cached) $ac_c" 1>&6
15250 else
15251 cat > conftest.$ac_ext <<EOF
15252 #line 15253 "configure"
15253 #include "confdefs.h"
15254 #include <png.h>
15255 EOF
15256 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15257 { (eval echo configure:15258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15258 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15259 if test -z "$ac_err"; then
15260 rm -rf conftest*
15261 eval "ac_cv_header_$ac_safe=yes"
15262 else
15263 echo "$ac_err" >&5
15264 echo "configure: failed program was:" >&5
15265 cat conftest.$ac_ext >&5
15266 rm -rf conftest*
15267 eval "ac_cv_header_$ac_safe=no"
15268 fi
15269 rm -f conftest*
15270 fi
15271 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15272 echo "$ac_t""yes" 1>&6
15273 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
15274 echo "configure:15275: checking for png_check_sig in -lpng" >&5
15275 ac_lib_var=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
15276 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15277 echo $ac_n "(cached) $ac_c" 1>&6
15278 else
15279 ac_save_LIBS="$LIBS"
15280 LIBS="-lpng -lz -lm $LIBS"
15281 cat > conftest.$ac_ext <<EOF
15282 #line 15283 "configure"
15283 #include "confdefs.h"
15284 /* Override any gcc2 internal prototype to avoid an error. */
15285 /* We use char because int might match the return type of a gcc2
15286 builtin and then its argument prototype would still apply. */
15287 char png_check_sig();
15288
15289 int main() {
15290 png_check_sig()
15291 ; return 0; }
15292 EOF
15293 if { (eval echo configure:15294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15294 rm -rf conftest*
15295 eval "ac_cv_lib_$ac_lib_var=yes"
15296 else
15297 echo "configure: failed program was:" >&5
15298 cat conftest.$ac_ext >&5
15299 rm -rf conftest*
15300 eval "ac_cv_lib_$ac_lib_var=no"
15301 fi
15302 rm -f conftest*
15303 LIBS="$ac_save_LIBS"
15304
15305 fi
15306 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15307 echo "$ac_t""yes" 1>&6
15308 PNG_LINK="-lpng"
15309 else
15310 echo "$ac_t""no" 1>&6
15311 fi
15312
15313
15314 else
15315 echo "$ac_t""no" 1>&6
15316 fi
15317
15318 if test "x$PNG_LINK" = "x" ; then
15319 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
15320 fi
15321 fi
15322
15323 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
15324 fi
15325
15326 JPEG_INCLUDE=
15327 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
15328 cat >> confdefs.h <<\EOF
15329 #define wxUSE_LIBJPEG 1
15330 EOF
15331
15332 if test "$wxUSE_LIBJPEG" = "yes" ; then
15333 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
15334 else
15335 JPEG_LINK=
15336 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
15337 echo "configure:15338: checking for jpeglib.h" >&5
15338 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
15339 echo $ac_n "(cached) $ac_c" 1>&6
15340 else
15341 cat > conftest.$ac_ext <<EOF
15342 #line 15343 "configure"
15343 #include "confdefs.h"
15344
15345 #undef HAVE_STDLIB_H
15346 #include <stdio.h>
15347 #include <jpeglib.h>
15348
15349 int main() {
15350
15351
15352 ; return 0; }
15353 EOF
15354 if { (eval echo configure:15355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15355 rm -rf conftest*
15356 ac_cv_header_jpeglib_h=yes
15357 else
15358 echo "configure: failed program was:" >&5
15359 cat conftest.$ac_ext >&5
15360 rm -rf conftest*
15361 ac_cv_header_jpeglib_h=no
15362
15363 fi
15364 rm -f conftest*
15365
15366 fi
15367
15368 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
15369
15370 if test "$ac_cv_header_jpeglib_h" = "yes"; then
15371 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
15372 echo "configure:15373: checking for jpeg_read_header in -ljpeg" >&5
15373 ac_lib_var=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
15374 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15375 echo $ac_n "(cached) $ac_c" 1>&6
15376 else
15377 ac_save_LIBS="$LIBS"
15378 LIBS="-ljpeg $LIBS"
15379 cat > conftest.$ac_ext <<EOF
15380 #line 15381 "configure"
15381 #include "confdefs.h"
15382 /* Override any gcc2 internal prototype to avoid an error. */
15383 /* We use char because int might match the return type of a gcc2
15384 builtin and then its argument prototype would still apply. */
15385 char jpeg_read_header();
15386
15387 int main() {
15388 jpeg_read_header()
15389 ; return 0; }
15390 EOF
15391 if { (eval echo configure:15392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15392 rm -rf conftest*
15393 eval "ac_cv_lib_$ac_lib_var=yes"
15394 else
15395 echo "configure: failed program was:" >&5
15396 cat conftest.$ac_ext >&5
15397 rm -rf conftest*
15398 eval "ac_cv_lib_$ac_lib_var=no"
15399 fi
15400 rm -f conftest*
15401 LIBS="$ac_save_LIBS"
15402
15403 fi
15404 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15405 echo "$ac_t""yes" 1>&6
15406 JPEG_LINK="-ljpeg"
15407 else
15408 echo "$ac_t""no" 1>&6
15409 fi
15410
15411 fi
15412
15413 if test "x$JPEG_LINK" = "x" ; then
15414 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
15415 fi
15416 fi
15417 fi
15418
15419 TIFF_INCLUDE=
15420 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
15421 cat >> confdefs.h <<\EOF
15422 #define wxUSE_LIBTIFF 1
15423 EOF
15424
15425 if test "$wxUSE_LIBTIFF" = "yes" ; then
15426 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
15427 else
15428 TIFF_LINK=
15429 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
15430 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
15431 echo "configure:15432: checking for tiffio.h" >&5
15432 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15433 echo $ac_n "(cached) $ac_c" 1>&6
15434 else
15435 cat > conftest.$ac_ext <<EOF
15436 #line 15437 "configure"
15437 #include "confdefs.h"
15438 #include <tiffio.h>
15439 EOF
15440 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15441 { (eval echo configure:15442: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15442 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15443 if test -z "$ac_err"; then
15444 rm -rf conftest*
15445 eval "ac_cv_header_$ac_safe=yes"
15446 else
15447 echo "$ac_err" >&5
15448 echo "configure: failed program was:" >&5
15449 cat conftest.$ac_ext >&5
15450 rm -rf conftest*
15451 eval "ac_cv_header_$ac_safe=no"
15452 fi
15453 rm -f conftest*
15454 fi
15455 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15456 echo "$ac_t""yes" 1>&6
15457 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
15458 echo "configure:15459: checking for TIFFError in -ltiff" >&5
15459 ac_lib_var=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
15460 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15461 echo $ac_n "(cached) $ac_c" 1>&6
15462 else
15463 ac_save_LIBS="$LIBS"
15464 LIBS="-ltiff -lm $LIBS"
15465 cat > conftest.$ac_ext <<EOF
15466 #line 15467 "configure"
15467 #include "confdefs.h"
15468 /* Override any gcc2 internal prototype to avoid an error. */
15469 /* We use char because int might match the return type of a gcc2
15470 builtin and then its argument prototype would still apply. */
15471 char TIFFError();
15472
15473 int main() {
15474 TIFFError()
15475 ; return 0; }
15476 EOF
15477 if { (eval echo configure:15478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15478 rm -rf conftest*
15479 eval "ac_cv_lib_$ac_lib_var=yes"
15480 else
15481 echo "configure: failed program was:" >&5
15482 cat conftest.$ac_ext >&5
15483 rm -rf conftest*
15484 eval "ac_cv_lib_$ac_lib_var=no"
15485 fi
15486 rm -f conftest*
15487 LIBS="$ac_save_LIBS"
15488
15489 fi
15490 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15491 echo "$ac_t""yes" 1>&6
15492 TIFF_LINK="-ltiff"
15493 else
15494 echo "$ac_t""no" 1>&6
15495 fi
15496
15497 else
15498 echo "$ac_t""no" 1>&6
15499 fi
15500
15501 if test "x$TIFF_LINK" = "x" ; then
15502 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
15503 fi
15504 fi
15505 fi
15506
15507 FREETYPE_INCLUDE=
15508 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
15509 cat >> confdefs.h <<\EOF
15510 #define wxUSE_FREETYPE 1
15511 EOF
15512
15513 if test "$wxUSE_FREETYPE" = "yes" ; then
15514 FREETYPE_INCLUDE="-I\${top_srcdir}/src/freetype"
15515 else
15516 FREETYPE_LINK=
15517 ac_safe=`echo "freetype.h" | sed 'y%./+-%__p_%'`
15518 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
15519 echo "configure:15520: checking for freetype.h" >&5
15520 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15521 echo $ac_n "(cached) $ac_c" 1>&6
15522 else
15523 cat > conftest.$ac_ext <<EOF
15524 #line 15525 "configure"
15525 #include "confdefs.h"
15526 #include <freetype.h>
15527 EOF
15528 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15529 { (eval echo configure:15530: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15530 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15531 if test -z "$ac_err"; then
15532 rm -rf conftest*
15533 eval "ac_cv_header_$ac_safe=yes"
15534 else
15535 echo "$ac_err" >&5
15536 echo "configure: failed program was:" >&5
15537 cat conftest.$ac_ext >&5
15538 rm -rf conftest*
15539 eval "ac_cv_header_$ac_safe=no"
15540 fi
15541 rm -f conftest*
15542 fi
15543 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15544 echo "$ac_t""yes" 1>&6
15545 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
15546 echo "configure:15547: checking for FT_Render_Glyph in -lfreetype" >&5
15547 ac_lib_var=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
15548 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15549 echo $ac_n "(cached) $ac_c" 1>&6
15550 else
15551 ac_save_LIBS="$LIBS"
15552 LIBS="-lfreetype -lm $LIBS"
15553 cat > conftest.$ac_ext <<EOF
15554 #line 15555 "configure"
15555 #include "confdefs.h"
15556 /* Override any gcc2 internal prototype to avoid an error. */
15557 /* We use char because int might match the return type of a gcc2
15558 builtin and then its argument prototype would still apply. */
15559 char FT_Render_Glyph();
15560
15561 int main() {
15562 FT_Render_Glyph()
15563 ; return 0; }
15564 EOF
15565 if { (eval echo configure:15566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15566 rm -rf conftest*
15567 eval "ac_cv_lib_$ac_lib_var=yes"
15568 else
15569 echo "configure: failed program was:" >&5
15570 cat conftest.$ac_ext >&5
15571 rm -rf conftest*
15572 eval "ac_cv_lib_$ac_lib_var=no"
15573 fi
15574 rm -f conftest*
15575 LIBS="$ac_save_LIBS"
15576
15577 fi
15578 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15579 echo "$ac_t""yes" 1>&6
15580 FREETYPE_LINK="-lfreetype"
15581 else
15582 echo "$ac_t""no" 1>&6
15583 fi
15584
15585
15586 else
15587 echo "$ac_t""no" 1>&6
15588 fi
15589
15590 if test "x$FREETYPE_LINK" = "x" ; then
15591 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
15592 fi
15593 fi
15594 fi
15595
15596 if test "$wxUSE_OPENGL" = "yes"; then
15597 if test "$wxUSE_MAC" = 1; then
15598 cat >> confdefs.h <<\EOF
15599 #define wxUSE_OPENGL 1
15600 EOF
15601
15602 cat >> confdefs.h <<\EOF
15603 #define wxUSE_GLCANVAS 1
15604 EOF
15605
15606 OPENGL_LINK="-framework OpenGL -framework AGL"
15607 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
15608 else
15609 ac_safe=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15610 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15611 echo "configure:15612: checking for GL/gl.h" >&5
15612 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15613 echo $ac_n "(cached) $ac_c" 1>&6
15614 else
15615 cat > conftest.$ac_ext <<EOF
15616 #line 15617 "configure"
15617 #include "confdefs.h"
15618 #include <GL/gl.h>
15619 EOF
15620 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15621 { (eval echo configure:15622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15622 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15623 if test -z "$ac_err"; then
15624 rm -rf conftest*
15625 eval "ac_cv_header_$ac_safe=yes"
15626 else
15627 echo "$ac_err" >&5
15628 echo "configure: failed program was:" >&5
15629 cat conftest.$ac_ext >&5
15630 rm -rf conftest*
15631 eval "ac_cv_header_$ac_safe=no"
15632 fi
15633 rm -f conftest*
15634 fi
15635 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15636 echo "$ac_t""yes" 1>&6
15637
15638 cat >> confdefs.h <<\EOF
15639 #define wxUSE_OPENGL 1
15640 EOF
15641
15642 cat >> confdefs.h <<\EOF
15643 #define wxUSE_GLCANVAS 1
15644 EOF
15645
15646 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
15647 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
15648 echo "configure:15649: checking for glFlush in -lGL" >&5
15649 ac_lib_var=`echo GL'_'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="-lGL $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="-lGL -lGLU"
15684
15685 else
15686 echo "$ac_t""no" 1>&6
15687
15688 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
15689 echo "configure:15690: checking for glFlush in -lMesaGL" >&5
15690 ac_lib_var=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
15691 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15692 echo $ac_n "(cached) $ac_c" 1>&6
15693 else
15694 ac_save_LIBS="$LIBS"
15695 LIBS="-lMesaGL $LIBS"
15696 cat > conftest.$ac_ext <<EOF
15697 #line 15698 "configure"
15698 #include "confdefs.h"
15699 /* Override any gcc2 internal prototype to avoid an error. */
15700 /* We use char because int might match the return type of a gcc2
15701 builtin and then its argument prototype would still apply. */
15702 char glFlush();
15703
15704 int main() {
15705 glFlush()
15706 ; return 0; }
15707 EOF
15708 if { (eval echo configure:15709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15709 rm -rf conftest*
15710 eval "ac_cv_lib_$ac_lib_var=yes"
15711 else
15712 echo "configure: failed program was:" >&5
15713 cat conftest.$ac_ext >&5
15714 rm -rf conftest*
15715 eval "ac_cv_lib_$ac_lib_var=no"
15716 fi
15717 rm -f conftest*
15718 LIBS="$ac_save_LIBS"
15719
15720 fi
15721 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15722 echo "$ac_t""yes" 1>&6
15723
15724 OPENGL_LINK="-lMesaGL -lMesaGLU"
15725
15726 else
15727 echo "$ac_t""no" 1>&6
15728 fi
15729
15730
15731 fi
15732
15733
15734 else
15735 echo "$ac_t""no" 1>&6
15736 wxUSE_OPENGL=0
15737 fi
15738
15739 fi
15740 fi
15741
15742
15743 if test "$wxUSE_GUI" = "yes"; then
15744 cat >> confdefs.h <<\EOF
15745 #define wxUSE_GUI 1
15746 EOF
15747
15748
15749 else
15750 cat >> confdefs.h <<\EOF
15751 #define wxUSE_NOGUI 1
15752 EOF
15753
15754 fi
15755
15756
15757 if test "$wxUSE_UNIX" = "yes"; then
15758 cat >> confdefs.h <<\EOF
15759 #define wxUSE_UNIX 1
15760 EOF
15761
15762 fi
15763
15764
15765 if test "$wxUSE_APPLE_IEEE" = "yes"; then
15766 cat >> confdefs.h <<\EOF
15767 #define wxUSE_APPLE_IEEE 1
15768 EOF
15769
15770 fi
15771
15772 if test "$wxUSE_TIMER" = "yes"; then
15773 cat >> confdefs.h <<\EOF
15774 #define wxUSE_TIMER 1
15775 EOF
15776
15777 fi
15778
15779 if test "$wxUSE_WAVE" = "yes"; then
15780 cat >> confdefs.h <<\EOF
15781 #define wxUSE_WAVE 1
15782 EOF
15783
15784 fi
15785
15786 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15787 cat >> confdefs.h <<\EOF
15788 #define wxUSE_CMDLINE_PARSER 1
15789 EOF
15790
15791 fi
15792
15793 if test "$wxUSE_STOPWATCH" = "yes"; then
15794 cat >> confdefs.h <<\EOF
15795 #define wxUSE_STOPWATCH 1
15796 EOF
15797
15798 fi
15799
15800 if test "$wxUSE_DATETIME" = "yes"; then
15801 cat >> confdefs.h <<\EOF
15802 #define wxUSE_DATETIME 1
15803 EOF
15804
15805 fi
15806
15807 if test "$wxUSE_TIMEDATE" = "yes"; then
15808 cat >> confdefs.h <<\EOF
15809 #define wxUSE_TIMEDATE 1
15810 EOF
15811
15812 fi
15813
15814 if test "$wxUSE_FILE" = "yes"; then
15815 cat >> confdefs.h <<\EOF
15816 #define wxUSE_FILE 1
15817 EOF
15818
15819 fi
15820
15821 if test "$wxUSE_FFILE" = "yes"; then
15822 cat >> confdefs.h <<\EOF
15823 #define wxUSE_FFILE 1
15824 EOF
15825
15826 fi
15827
15828 if test "$wxUSE_FILESYSTEM" = "yes"; then
15829 cat >> confdefs.h <<\EOF
15830 #define wxUSE_FILESYSTEM 1
15831 EOF
15832
15833 fi
15834
15835 if test "$wxUSE_FS_INET" = "yes"; then
15836 cat >> confdefs.h <<\EOF
15837 #define wxUSE_FS_INET 1
15838 EOF
15839
15840 fi
15841
15842 if test "$wxUSE_FS_ZIP" = "yes"; then
15843 cat >> confdefs.h <<\EOF
15844 #define wxUSE_FS_ZIP 1
15845 EOF
15846
15847 fi
15848
15849 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15850 cat >> confdefs.h <<\EOF
15851 #define wxUSE_ZIPSTREAM 1
15852 EOF
15853
15854 fi
15855
15856 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15857 cat >> confdefs.h <<\EOF
15858 #define wxUSE_ON_FATAL_EXCEPTION 1
15859 EOF
15860
15861 fi
15862
15863 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15864 cat >> confdefs.h <<\EOF
15865 #define wxUSE_SNGLINST_CHECKER 1
15866 EOF
15867
15868 fi
15869
15870 if test "$wxUSE_BUSYINFO" = "yes"; then
15871 cat >> confdefs.h <<\EOF
15872 #define wxUSE_BUSYINFO 1
15873 EOF
15874
15875 fi
15876
15877 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
15878 cat >> confdefs.h <<\EOF
15879 #define wxUSE_STD_IOSTREAM 1
15880 EOF
15881
15882 fi
15883
15884 if test "$wxUSE_TEXTFILE" = "yes"; then
15885 if test "$wxUSE_FILE" != "yes"; then
15886 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
15887 else
15888 cat >> confdefs.h <<\EOF
15889 #define wxUSE_TEXTFILE 1
15890 EOF
15891
15892 fi
15893 fi
15894
15895 if test "$wxUSE_CONFIG" = "yes" ; then
15896 if test "$wxUSE_TEXTFILE" != "yes"; then
15897 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
15898 else
15899 cat >> confdefs.h <<\EOF
15900 #define wxUSE_CONFIG 1
15901 EOF
15902
15903 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
15904 fi
15905 fi
15906
15907 if test "$wxUSE_INTL" = "yes" ; then
15908 if test "$wxUSE_FILE" != "yes"; then
15909 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
15910 else
15911 cat >> confdefs.h <<\EOF
15912 #define wxUSE_INTL 1
15913 EOF
15914
15915 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
15916 GUIDIST="$GUIDIST INTL_DIST"
15917 fi
15918 fi
15919
15920 if test "$wxUSE_LOG" = "yes"; then
15921 cat >> confdefs.h <<\EOF
15922 #define wxUSE_LOG 1
15923 EOF
15924
15925
15926 if test "$wxUSE_LOGGUI" = "yes"; then
15927 cat >> confdefs.h <<\EOF
15928 #define wxUSE_LOGGUI 1
15929 EOF
15930
15931 fi
15932
15933 if test "$wxUSE_LOGWINDOW" = "yes"; then
15934 cat >> confdefs.h <<\EOF
15935 #define wxUSE_LOGWINDOW 1
15936 EOF
15937
15938 fi
15939 fi
15940
15941 if test "$wxUSE_LONGLONG" = "yes"; then
15942 cat >> confdefs.h <<\EOF
15943 #define wxUSE_LONGLONG 1
15944 EOF
15945
15946 fi
15947
15948 if test "$wxUSE_GEOMETRY" = "yes"; then
15949 cat >> confdefs.h <<\EOF
15950 #define wxUSE_GEOMETRY 1
15951 EOF
15952
15953 fi
15954
15955 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
15956 cat >> confdefs.h <<\EOF
15957 #define wxUSE_DIALUP_MANAGER 1
15958 EOF
15959
15960 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
15961 fi
15962
15963 if test "$wxUSE_STREAMS" = "yes" ; then
15964 cat >> confdefs.h <<\EOF
15965 #define wxUSE_STREAMS 1
15966 EOF
15967
15968 fi
15969
15970
15971 if test "$wxUSE_DATETIME" = "yes"; then
15972 for ac_func in strptime
15973 do
15974 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15975 echo "configure:15976: checking for $ac_func" >&5
15976 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15977 echo $ac_n "(cached) $ac_c" 1>&6
15978 else
15979 cat > conftest.$ac_ext <<EOF
15980 #line 15981 "configure"
15981 #include "confdefs.h"
15982 /* System header to define __stub macros and hopefully few prototypes,
15983 which can conflict with char $ac_func(); below. */
15984 #include <assert.h>
15985 /* Override any gcc2 internal prototype to avoid an error. */
15986 /* We use char because int might match the return type of a gcc2
15987 builtin and then its argument prototype would still apply. */
15988 char $ac_func();
15989
15990 int main() {
15991
15992 /* The GNU C library defines this for functions which it implements
15993 to always fail with ENOSYS. Some functions are actually named
15994 something starting with __ and the normal name is an alias. */
15995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15996 choke me
15997 #else
15998 $ac_func();
15999 #endif
16000
16001 ; return 0; }
16002 EOF
16003 if { (eval echo configure:16004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16004 rm -rf conftest*
16005 eval "ac_cv_func_$ac_func=yes"
16006 else
16007 echo "configure: failed program was:" >&5
16008 cat conftest.$ac_ext >&5
16009 rm -rf conftest*
16010 eval "ac_cv_func_$ac_func=no"
16011 fi
16012 rm -f conftest*
16013 fi
16014
16015 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16016 echo "$ac_t""yes" 1>&6
16017 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16018 cat >> confdefs.h <<EOF
16019 #define $ac_tr_func 1
16020 EOF
16021
16022 else
16023 echo "$ac_t""no" 1>&6
16024 fi
16025 done
16026
16027
16028 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
16029 echo "configure:16030: checking for timezone variable in <time.h>" >&5
16030 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
16031 echo $ac_n "(cached) $ac_c" 1>&6
16032 else
16033
16034 cat > conftest.$ac_ext <<EOF
16035 #line 16036 "configure"
16036 #include "confdefs.h"
16037
16038 #include <time.h>
16039
16040 int main() {
16041
16042 int tz;
16043 tz = timezone;
16044
16045 ; return 0; }
16046 EOF
16047 if { (eval echo configure:16048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16048 rm -rf conftest*
16049
16050 wx_cv_var_timezone=timezone
16051
16052 else
16053 echo "configure: failed program was:" >&5
16054 cat conftest.$ac_ext >&5
16055 rm -rf conftest*
16056
16057 cat > conftest.$ac_ext <<EOF
16058 #line 16059 "configure"
16059 #include "confdefs.h"
16060
16061 #include <time.h>
16062
16063 int main() {
16064
16065 int tz;
16066 tz = _timezone;
16067
16068 ; return 0; }
16069 EOF
16070 if { (eval echo configure:16071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16071 rm -rf conftest*
16072
16073 wx_cv_var_timezone=_timezone
16074
16075 else
16076 echo "configure: failed program was:" >&5
16077 cat conftest.$ac_ext >&5
16078 rm -rf conftest*
16079
16080 cat > conftest.$ac_ext <<EOF
16081 #line 16082 "configure"
16082 #include "confdefs.h"
16083
16084 #include <time.h>
16085
16086 int main() {
16087
16088 int tz;
16089 tz = __timezone;
16090
16091 ; return 0; }
16092 EOF
16093 if { (eval echo configure:16094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16094 rm -rf conftest*
16095
16096 wx_cv_var_timezone=__timezone
16097
16098 else
16099 echo "configure: failed program was:" >&5
16100 cat conftest.$ac_ext >&5
16101 rm -rf conftest*
16102 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
16103
16104 fi
16105 rm -f conftest*
16106
16107
16108 fi
16109 rm -f conftest*
16110
16111
16112 fi
16113 rm -f conftest*
16114
16115
16116 fi
16117
16118 echo "$ac_t""$wx_cv_var_timezone" 1>&6
16119
16120 cat >> confdefs.h <<EOF
16121 #define WX_TIMEZONE $wx_cv_var_timezone
16122 EOF
16123
16124
16125 for ac_func in localtime
16126 do
16127 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16128 echo "configure:16129: checking for $ac_func" >&5
16129 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16130 echo $ac_n "(cached) $ac_c" 1>&6
16131 else
16132 cat > conftest.$ac_ext <<EOF
16133 #line 16134 "configure"
16134 #include "confdefs.h"
16135 /* System header to define __stub macros and hopefully few prototypes,
16136 which can conflict with char $ac_func(); below. */
16137 #include <assert.h>
16138 /* Override any gcc2 internal prototype to avoid an error. */
16139 /* We use char because int might match the return type of a gcc2
16140 builtin and then its argument prototype would still apply. */
16141 char $ac_func();
16142
16143 int main() {
16144
16145 /* The GNU C library defines this for functions which it implements
16146 to always fail with ENOSYS. Some functions are actually named
16147 something starting with __ and the normal name is an alias. */
16148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16149 choke me
16150 #else
16151 $ac_func();
16152 #endif
16153
16154 ; return 0; }
16155 EOF
16156 if { (eval echo configure:16157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16157 rm -rf conftest*
16158 eval "ac_cv_func_$ac_func=yes"
16159 else
16160 echo "configure: failed program was:" >&5
16161 cat conftest.$ac_ext >&5
16162 rm -rf conftest*
16163 eval "ac_cv_func_$ac_func=no"
16164 fi
16165 rm -f conftest*
16166 fi
16167
16168 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16169 echo "$ac_t""yes" 1>&6
16170 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16171 cat >> confdefs.h <<EOF
16172 #define $ac_tr_func 1
16173 EOF
16174
16175 else
16176 echo "$ac_t""no" 1>&6
16177 fi
16178 done
16179
16180
16181 if test "$ac_cv_func_localtime" = "yes"; then
16182 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
16183 echo "configure:16184: checking for tm_gmtoff in struct tm" >&5
16184 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
16185 echo $ac_n "(cached) $ac_c" 1>&6
16186 else
16187
16188 cat > conftest.$ac_ext <<EOF
16189 #line 16190 "configure"
16190 #include "confdefs.h"
16191
16192 #include <time.h>
16193
16194 int main() {
16195
16196 struct tm tm;
16197 tm.tm_gmtoff++;
16198
16199 ; return 0; }
16200 EOF
16201 if { (eval echo configure:16202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16202 rm -rf conftest*
16203
16204 wx_cv_struct_tm_has_gmtoff=yes
16205
16206 else
16207 echo "configure: failed program was:" >&5
16208 cat conftest.$ac_ext >&5
16209 rm -rf conftest*
16210 wx_cv_struct_tm_has_gmtoff=no
16211
16212 fi
16213 rm -f conftest*
16214
16215 fi
16216
16217 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
16218 fi
16219
16220 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
16221 cat >> confdefs.h <<\EOF
16222 #define WX_GMTOFF_IN_TM 1
16223 EOF
16224
16225 fi
16226
16227 for ac_func in gettimeofday ftime
16228 do
16229 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16230 echo "configure:16231: checking for $ac_func" >&5
16231 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16232 echo $ac_n "(cached) $ac_c" 1>&6
16233 else
16234 cat > conftest.$ac_ext <<EOF
16235 #line 16236 "configure"
16236 #include "confdefs.h"
16237 /* System header to define __stub macros and hopefully few prototypes,
16238 which can conflict with char $ac_func(); below. */
16239 #include <assert.h>
16240 /* Override any gcc2 internal prototype to avoid an error. */
16241 /* We use char because int might match the return type of a gcc2
16242 builtin and then its argument prototype would still apply. */
16243 char $ac_func();
16244
16245 int main() {
16246
16247 /* The GNU C library defines this for functions which it implements
16248 to always fail with ENOSYS. Some functions are actually named
16249 something starting with __ and the normal name is an alias. */
16250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16251 choke me
16252 #else
16253 $ac_func();
16254 #endif
16255
16256 ; return 0; }
16257 EOF
16258 if { (eval echo configure:16259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16259 rm -rf conftest*
16260 eval "ac_cv_func_$ac_func=yes"
16261 else
16262 echo "configure: failed program was:" >&5
16263 cat conftest.$ac_ext >&5
16264 rm -rf conftest*
16265 eval "ac_cv_func_$ac_func=no"
16266 fi
16267 rm -f conftest*
16268 fi
16269
16270 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16271 echo "$ac_t""yes" 1>&6
16272 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16273 cat >> confdefs.h <<EOF
16274 #define $ac_tr_func 1
16275 EOF
16276 break
16277 else
16278 echo "$ac_t""no" 1>&6
16279 fi
16280 done
16281
16282
16283 if test "$ac_cv_func_gettimeofday" = "yes"; then
16284 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
16285 echo "configure:16286: checking whether gettimeofday takes two arguments" >&5
16286 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
16287 echo $ac_n "(cached) $ac_c" 1>&6
16288 else
16289
16290
16291 ac_ext=C
16292 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16293 ac_cpp='$CXXCPP $CPPFLAGS'
16294 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16295 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16296 cross_compiling=$ac_cv_prog_cxx_cross
16297
16298
16299 cat > conftest.$ac_ext <<EOF
16300 #line 16301 "configure"
16301 #include "confdefs.h"
16302
16303 #include <sys/time.h>
16304 #include <unistd.h>
16305
16306 int main() {
16307
16308 struct timeval tv;
16309 struct timezone tz;
16310 gettimeofday(&tv, &tz);
16311
16312 ; return 0; }
16313 EOF
16314 if { (eval echo configure:16315: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16315 rm -rf conftest*
16316 wx_cv_func_gettimeofday_has_2_args=yes
16317 else
16318 echo "configure: failed program was:" >&5
16319 cat conftest.$ac_ext >&5
16320 rm -rf conftest*
16321 cat > conftest.$ac_ext <<EOF
16322 #line 16323 "configure"
16323 #include "confdefs.h"
16324
16325 #include <sys/time.h>
16326 #include <unistd.h>
16327
16328 int main() {
16329
16330 struct timeval tv;
16331 gettimeofday(&tv);
16332
16333 ; return 0; }
16334 EOF
16335 if { (eval echo configure:16336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16336 rm -rf conftest*
16337 wx_cv_func_gettimeofday_has_2_args=no
16338 else
16339 echo "configure: failed program was:" >&5
16340 cat conftest.$ac_ext >&5
16341 rm -rf conftest*
16342 wx_cv_func_gettimeofday_has_2_args=unknown
16343
16344 fi
16345 rm -f conftest*
16346
16347 fi
16348 rm -f conftest*
16349 ac_ext=c
16350 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16351 ac_cpp='$CPP $CPPFLAGS'
16352 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16353 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16354 cross_compiling=$ac_cv_prog_cc_cross
16355
16356
16357 fi
16358
16359 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
16360
16361 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
16362 cat >> confdefs.h <<\EOF
16363 #define WX_GETTIMEOFDAY_NO_TZ 1
16364 EOF
16365
16366 fi
16367 fi
16368
16369 cat >> confdefs.h <<\EOF
16370 #define wxUSE_TIMEDATE 1
16371 EOF
16372
16373 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
16374 fi
16375
16376
16377 if test "$TOOLKIT" != "MSW"; then
16378
16379 if test "$wxUSE_SOCKETS" = "yes"; then
16380 echo $ac_n "checking for socket""... $ac_c" 1>&6
16381 echo "configure:16382: checking for socket" >&5
16382 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
16383 echo $ac_n "(cached) $ac_c" 1>&6
16384 else
16385 cat > conftest.$ac_ext <<EOF
16386 #line 16387 "configure"
16387 #include "confdefs.h"
16388 /* System header to define __stub macros and hopefully few prototypes,
16389 which can conflict with char socket(); below. */
16390 #include <assert.h>
16391 /* Override any gcc2 internal prototype to avoid an error. */
16392 /* We use char because int might match the return type of a gcc2
16393 builtin and then its argument prototype would still apply. */
16394 char socket();
16395
16396 int main() {
16397
16398 /* The GNU C library defines this for functions which it implements
16399 to always fail with ENOSYS. Some functions are actually named
16400 something starting with __ and the normal name is an alias. */
16401 #if defined (__stub_socket) || defined (__stub___socket)
16402 choke me
16403 #else
16404 socket();
16405 #endif
16406
16407 ; return 0; }
16408 EOF
16409 if { (eval echo configure:16410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16410 rm -rf conftest*
16411 eval "ac_cv_func_socket=yes"
16412 else
16413 echo "configure: failed program was:" >&5
16414 cat conftest.$ac_ext >&5
16415 rm -rf conftest*
16416 eval "ac_cv_func_socket=no"
16417 fi
16418 rm -f conftest*
16419 fi
16420
16421 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16422 echo "$ac_t""yes" 1>&6
16423 :
16424 else
16425 echo "$ac_t""no" 1>&6
16426 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16427 echo "configure:16428: checking for socket in -lsocket" >&5
16428 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16429 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16430 echo $ac_n "(cached) $ac_c" 1>&6
16431 else
16432 ac_save_LIBS="$LIBS"
16433 LIBS="-lsocket $LIBS"
16434 cat > conftest.$ac_ext <<EOF
16435 #line 16436 "configure"
16436 #include "confdefs.h"
16437 /* Override any gcc2 internal prototype to avoid an error. */
16438 /* We use char because int might match the return type of a gcc2
16439 builtin and then its argument prototype would still apply. */
16440 char socket();
16441
16442 int main() {
16443 socket()
16444 ; return 0; }
16445 EOF
16446 if { (eval echo configure:16447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16447 rm -rf conftest*
16448 eval "ac_cv_lib_$ac_lib_var=yes"
16449 else
16450 echo "configure: failed program was:" >&5
16451 cat conftest.$ac_ext >&5
16452 rm -rf conftest*
16453 eval "ac_cv_lib_$ac_lib_var=no"
16454 fi
16455 rm -f conftest*
16456 LIBS="$ac_save_LIBS"
16457
16458 fi
16459 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16460 echo "$ac_t""yes" 1>&6
16461 INET_LINK="$INET_LINK -lsocket"
16462 else
16463 echo "$ac_t""no" 1>&6
16464
16465 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
16466 wxUSE_SOCKETS=no
16467
16468
16469 fi
16470
16471
16472 fi
16473
16474 fi
16475
16476
16477 if test "$wxUSE_SOCKETS" = "yes" ; then
16478 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
16479 echo "configure:16480: checking what is the type of the third argument of getsockname" >&5
16480 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
16481 echo $ac_n "(cached) $ac_c" 1>&6
16482 else
16483
16484
16485 ac_ext=C
16486 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16487 ac_cpp='$CXXCPP $CPPFLAGS'
16488 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16489 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16490 cross_compiling=$ac_cv_prog_cxx_cross
16491
16492
16493 cat > conftest.$ac_ext <<EOF
16494 #line 16495 "configure"
16495 #include "confdefs.h"
16496
16497 #include <sys/types.h>
16498 #include <sys/socket.h>
16499
16500 int main() {
16501
16502 socklen_t len;
16503 getsockname(0, 0, &len);
16504
16505 ; return 0; }
16506 EOF
16507 if { (eval echo configure:16508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16508 rm -rf conftest*
16509 wx_cv_type_getsockname3=socklen_t
16510 else
16511 echo "configure: failed program was:" >&5
16512 cat conftest.$ac_ext >&5
16513 rm -rf conftest*
16514 cat > conftest.$ac_ext <<EOF
16515 #line 16516 "configure"
16516 #include "confdefs.h"
16517
16518 #include <sys/types.h>
16519 #include <sys/socket.h>
16520
16521 int main() {
16522
16523 size_t len;
16524 getsockname(0, 0, &len);
16525
16526 ; return 0; }
16527 EOF
16528 if { (eval echo configure:16529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16529 rm -rf conftest*
16530 wx_cv_type_getsockname3=size_t
16531 else
16532 echo "configure: failed program was:" >&5
16533 cat conftest.$ac_ext >&5
16534 rm -rf conftest*
16535 cat > conftest.$ac_ext <<EOF
16536 #line 16537 "configure"
16537 #include "confdefs.h"
16538
16539 #include <sys/types.h>
16540 #include <sys/socket.h>
16541
16542 int main() {
16543
16544 int len;
16545 getsockname(0, 0, &len);
16546
16547 ; return 0; }
16548 EOF
16549 if { (eval echo configure:16550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16550 rm -rf conftest*
16551 wx_cv_type_getsockname3=int
16552 else
16553 echo "configure: failed program was:" >&5
16554 cat conftest.$ac_ext >&5
16555 rm -rf conftest*
16556 wx_cv_type_getsockname3=unknown
16557
16558 fi
16559 rm -f conftest*
16560
16561 fi
16562 rm -f conftest*
16563
16564 fi
16565 rm -f conftest*
16566
16567 ac_ext=c
16568 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16569 ac_cpp='$CPP $CPPFLAGS'
16570 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16571 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16572 cross_compiling=$ac_cv_prog_cc_cross
16573
16574
16575 fi
16576
16577 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
16578
16579 if test "$wx_cv_type_getsockname3" = "unknown"; then
16580 wxUSE_SOCKETS=no
16581 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
16582 else
16583 cat >> confdefs.h <<EOF
16584 #define SOCKLEN_T $wx_cv_type_getsockname3
16585 EOF
16586
16587 fi
16588 fi
16589
16590 fi
16591
16592 if test "$wxUSE_SOCKETS" = "yes" ; then
16593 cat >> confdefs.h <<\EOF
16594 #define wxUSE_SOCKETS 1
16595 EOF
16596
16597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
16598 INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS protocol"
16599 fi
16600
16601
16602 if test "$wxUSE_GUI" = "yes"; then
16603
16604 if test "$TOOLKIT" != "MSW"; then
16605
16606 if test "$wxUSE_JOYSTICK" = "yes"; then
16607 for ac_hdr in linux/joystick.h
16608 do
16609 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16610 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16611 echo "configure:16612: checking for $ac_hdr" >&5
16612 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16613 echo $ac_n "(cached) $ac_c" 1>&6
16614 else
16615 cat > conftest.$ac_ext <<EOF
16616 #line 16617 "configure"
16617 #include "confdefs.h"
16618 #include <$ac_hdr>
16619 EOF
16620 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16621 { (eval echo configure:16622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16622 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16623 if test -z "$ac_err"; then
16624 rm -rf conftest*
16625 eval "ac_cv_header_$ac_safe=yes"
16626 else
16627 echo "$ac_err" >&5
16628 echo "configure: failed program was:" >&5
16629 cat conftest.$ac_ext >&5
16630 rm -rf conftest*
16631 eval "ac_cv_header_$ac_safe=no"
16632 fi
16633 rm -f conftest*
16634 fi
16635 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16636 echo "$ac_t""yes" 1>&6
16637 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16638 cat >> confdefs.h <<EOF
16639 #define $ac_tr_hdr 1
16640 EOF
16641
16642 else
16643 echo "$ac_t""no" 1>&6
16644 fi
16645 done
16646
16647 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
16648 wxUSE_JOYSTICK=no
16649 echo "configure: warning: Joystick not supported by this system" 1>&2
16650 fi
16651 fi
16652
16653 fi
16654
16655 if test "$wxUSE_JOYSTICK" = "yes"; then
16656 cat >> confdefs.h <<\EOF
16657 #define wxUSE_JOYSTICK 1
16658 EOF
16659
16660 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
16661 fi
16662
16663 fi
16664
16665
16666 if test "$TOOLKIT" != "MSW"; then
16667
16668 HAVE_DL_FUNCS=0
16669 HAVE_SHL_FUNCS=0
16670 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16671 if test "$USE_DARWIN" = 1; then
16672 HAVE_DL_FUNCS=1
16673 else
16674 for ac_func in dlopen
16675 do
16676 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16677 echo "configure:16678: checking for $ac_func" >&5
16678 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16679 echo $ac_n "(cached) $ac_c" 1>&6
16680 else
16681 cat > conftest.$ac_ext <<EOF
16682 #line 16683 "configure"
16683 #include "confdefs.h"
16684 /* System header to define __stub macros and hopefully few prototypes,
16685 which can conflict with char $ac_func(); below. */
16686 #include <assert.h>
16687 /* Override any gcc2 internal prototype to avoid an error. */
16688 /* We use char because int might match the return type of a gcc2
16689 builtin and then its argument prototype would still apply. */
16690 char $ac_func();
16691
16692 int main() {
16693
16694 /* The GNU C library defines this for functions which it implements
16695 to always fail with ENOSYS. Some functions are actually named
16696 something starting with __ and the normal name is an alias. */
16697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16698 choke me
16699 #else
16700 $ac_func();
16701 #endif
16702
16703 ; return 0; }
16704 EOF
16705 if { (eval echo configure:16706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16706 rm -rf conftest*
16707 eval "ac_cv_func_$ac_func=yes"
16708 else
16709 echo "configure: failed program was:" >&5
16710 cat conftest.$ac_ext >&5
16711 rm -rf conftest*
16712 eval "ac_cv_func_$ac_func=no"
16713 fi
16714 rm -f conftest*
16715 fi
16716
16717 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16718 echo "$ac_t""yes" 1>&6
16719 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16720 cat >> confdefs.h <<EOF
16721 #define $ac_tr_func 1
16722 EOF
16723
16724 cat >> confdefs.h <<\EOF
16725 #define HAVE_DLOPEN 1
16726 EOF
16727
16728 HAVE_DL_FUNCS=1
16729
16730 else
16731 echo "$ac_t""no" 1>&6
16732 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16733 echo "configure:16734: checking for dlopen in -ldl" >&5
16734 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16735 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16736 echo $ac_n "(cached) $ac_c" 1>&6
16737 else
16738 ac_save_LIBS="$LIBS"
16739 LIBS="-ldl $LIBS"
16740 cat > conftest.$ac_ext <<EOF
16741 #line 16742 "configure"
16742 #include "confdefs.h"
16743 /* Override any gcc2 internal prototype to avoid an error. */
16744 /* We use char because int might match the return type of a gcc2
16745 builtin and then its argument prototype would still apply. */
16746 char dlopen();
16747
16748 int main() {
16749 dlopen()
16750 ; return 0; }
16751 EOF
16752 if { (eval echo configure:16753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16753 rm -rf conftest*
16754 eval "ac_cv_lib_$ac_lib_var=yes"
16755 else
16756 echo "configure: failed program was:" >&5
16757 cat conftest.$ac_ext >&5
16758 rm -rf conftest*
16759 eval "ac_cv_lib_$ac_lib_var=no"
16760 fi
16761 rm -f conftest*
16762 LIBS="$ac_save_LIBS"
16763
16764 fi
16765 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16766 echo "$ac_t""yes" 1>&6
16767
16768 cat >> confdefs.h <<\EOF
16769 #define HAVE_DLOPEN 1
16770 EOF
16771
16772 HAVE_DL_FUNCS=1
16773 LIBS="$LIBS -ldl"
16774
16775 else
16776 echo "$ac_t""no" 1>&6
16777
16778 for ac_func in shl_load
16779 do
16780 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16781 echo "configure:16782: checking for $ac_func" >&5
16782 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16783 echo $ac_n "(cached) $ac_c" 1>&6
16784 else
16785 cat > conftest.$ac_ext <<EOF
16786 #line 16787 "configure"
16787 #include "confdefs.h"
16788 /* System header to define __stub macros and hopefully few prototypes,
16789 which can conflict with char $ac_func(); below. */
16790 #include <assert.h>
16791 /* Override any gcc2 internal prototype to avoid an error. */
16792 /* We use char because int might match the return type of a gcc2
16793 builtin and then its argument prototype would still apply. */
16794 char $ac_func();
16795
16796 int main() {
16797
16798 /* The GNU C library defines this for functions which it implements
16799 to always fail with ENOSYS. Some functions are actually named
16800 something starting with __ and the normal name is an alias. */
16801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16802 choke me
16803 #else
16804 $ac_func();
16805 #endif
16806
16807 ; return 0; }
16808 EOF
16809 if { (eval echo configure:16810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16810 rm -rf conftest*
16811 eval "ac_cv_func_$ac_func=yes"
16812 else
16813 echo "configure: failed program was:" >&5
16814 cat conftest.$ac_ext >&5
16815 rm -rf conftest*
16816 eval "ac_cv_func_$ac_func=no"
16817 fi
16818 rm -f conftest*
16819 fi
16820
16821 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16822 echo "$ac_t""yes" 1>&6
16823 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16824 cat >> confdefs.h <<EOF
16825 #define $ac_tr_func 1
16826 EOF
16827
16828 cat >> confdefs.h <<\EOF
16829 #define HAVE_SHL_LOAD 1
16830 EOF
16831
16832 HAVE_SHL_FUNCS=1
16833
16834 else
16835 echo "$ac_t""no" 1>&6
16836 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16837 echo "configure:16838: checking for dld in -lshl_load" >&5
16838 ac_lib_var=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16839 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16840 echo $ac_n "(cached) $ac_c" 1>&6
16841 else
16842 ac_save_LIBS="$LIBS"
16843 LIBS="-lshl_load $LIBS"
16844 cat > conftest.$ac_ext <<EOF
16845 #line 16846 "configure"
16846 #include "confdefs.h"
16847 /* Override any gcc2 internal prototype to avoid an error. */
16848 /* We use char because int might match the return type of a gcc2
16849 builtin and then its argument prototype would still apply. */
16850 char dld();
16851
16852 int main() {
16853 dld()
16854 ; return 0; }
16855 EOF
16856 if { (eval echo configure:16857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16857 rm -rf conftest*
16858 eval "ac_cv_lib_$ac_lib_var=yes"
16859 else
16860 echo "configure: failed program was:" >&5
16861 cat conftest.$ac_ext >&5
16862 rm -rf conftest*
16863 eval "ac_cv_lib_$ac_lib_var=no"
16864 fi
16865 rm -f conftest*
16866 LIBS="$ac_save_LIBS"
16867
16868 fi
16869 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16870 echo "$ac_t""yes" 1>&6
16871
16872 HAVE_SHL_FUNCS=1
16873 LIBS="$LIBS -ldld"
16874
16875 else
16876 echo "$ac_t""no" 1>&6
16877 fi
16878
16879
16880 fi
16881 done
16882
16883
16884 fi
16885
16886
16887 fi
16888 done
16889
16890
16891 if test "$HAVE_DL_FUNCS" = 1; then
16892 for ac_func in dlerror
16893 do
16894 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16895 echo "configure:16896: checking for $ac_func" >&5
16896 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16897 echo $ac_n "(cached) $ac_c" 1>&6
16898 else
16899 cat > conftest.$ac_ext <<EOF
16900 #line 16901 "configure"
16901 #include "confdefs.h"
16902 /* System header to define __stub macros and hopefully few prototypes,
16903 which can conflict with char $ac_func(); below. */
16904 #include <assert.h>
16905 /* Override any gcc2 internal prototype to avoid an error. */
16906 /* We use char because int might match the return type of a gcc2
16907 builtin and then its argument prototype would still apply. */
16908 char $ac_func();
16909
16910 int main() {
16911
16912 /* The GNU C library defines this for functions which it implements
16913 to always fail with ENOSYS. Some functions are actually named
16914 something starting with __ and the normal name is an alias. */
16915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16916 choke me
16917 #else
16918 $ac_func();
16919 #endif
16920
16921 ; return 0; }
16922 EOF
16923 if { (eval echo configure:16924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16924 rm -rf conftest*
16925 eval "ac_cv_func_$ac_func=yes"
16926 else
16927 echo "configure: failed program was:" >&5
16928 cat conftest.$ac_ext >&5
16929 rm -rf conftest*
16930 eval "ac_cv_func_$ac_func=no"
16931 fi
16932 rm -f conftest*
16933 fi
16934
16935 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16936 echo "$ac_t""yes" 1>&6
16937 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16938 cat >> confdefs.h <<EOF
16939 #define $ac_tr_func 1
16940 EOF
16941 cat >> confdefs.h <<\EOF
16942 #define HAVE_DLERROR 1
16943 EOF
16944
16945 else
16946 echo "$ac_t""no" 1>&6
16947 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
16948 echo "configure:16949: checking for dlerror in -ldl" >&5
16949 ac_lib_var=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
16950 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16951 echo $ac_n "(cached) $ac_c" 1>&6
16952 else
16953 ac_save_LIBS="$LIBS"
16954 LIBS="-ldl $LIBS"
16955 cat > conftest.$ac_ext <<EOF
16956 #line 16957 "configure"
16957 #include "confdefs.h"
16958 /* Override any gcc2 internal prototype to avoid an error. */
16959 /* We use char because int might match the return type of a gcc2
16960 builtin and then its argument prototype would still apply. */
16961 char dlerror();
16962
16963 int main() {
16964 dlerror()
16965 ; return 0; }
16966 EOF
16967 if { (eval echo configure:16968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16968 rm -rf conftest*
16969 eval "ac_cv_lib_$ac_lib_var=yes"
16970 else
16971 echo "configure: failed program was:" >&5
16972 cat conftest.$ac_ext >&5
16973 rm -rf conftest*
16974 eval "ac_cv_lib_$ac_lib_var=no"
16975 fi
16976 rm -f conftest*
16977 LIBS="$ac_save_LIBS"
16978
16979 fi
16980 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16981 echo "$ac_t""yes" 1>&6
16982 cat >> confdefs.h <<\EOF
16983 #define HAVE_DLERROR 1
16984 EOF
16985
16986 else
16987 echo "$ac_t""no" 1>&6
16988 fi
16989
16990 fi
16991 done
16992
16993 fi
16994 fi
16995
16996 if test "$HAVE_DL_FUNCS" = 0; then
16997 if test "$HAVE_SHL_FUNCS" = 0; then
16998 if test "$USE_UNIX" = 1; then
16999 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
17000 wxUSE_DYNLIB_CLASS=no
17001 else
17002 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
17003 fi
17004 fi
17005 fi
17006 fi
17007
17008 fi
17009
17010 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17011 cat >> confdefs.h <<\EOF
17012 #define wxUSE_DYNLIB_CLASS 1
17013 EOF
17014
17015 else
17016 wxUSE_ODBC=no
17017 wxUSE_SERIAL=no
17018 fi
17019
17020
17021 if test "$wxUSE_FONTMAP" = "yes" ; then
17022 cat >> confdefs.h <<\EOF
17023 #define wxUSE_FONTMAP 1
17024 EOF
17025
17026 fi
17027
17028 if test "$wxUSE_UNICODE" = "yes" ; then
17029 cat >> confdefs.h <<\EOF
17030 #define wxUSE_UNICODE 1
17031 EOF
17032
17033 fi
17034
17035 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
17036 cat >> confdefs.h <<\EOF
17037 #define wxUSE_WCSRTOMBS 1
17038 EOF
17039
17040 fi
17041
17042 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
17043 cat >> confdefs.h <<\EOF
17044 #define wxUSE_EXPERIMENTAL_PRINTF 1
17045 EOF
17046
17047 fi
17048
17049
17050 if test "$wxUSE_SERIAL" = "yes" ; then
17051 cat >> confdefs.h <<\EOF
17052 #define wxUSE_SERIAL 1
17053 EOF
17054
17055 fi
17056
17057
17058 IODBC_C_SRC=""
17059 if test "$wxUSE_ODBC" = "yes" ; then
17060 cat >> confdefs.h <<\EOF
17061 #define wxUSE_ODBC 1
17062 EOF
17063
17064 WXODBCFLAG="-D_IODBC_"
17065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
17066 fi
17067
17068
17069 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
17070 cat >> confdefs.h <<\EOF
17071 #define wxUSE_POSTSCRIPT 1
17072 EOF
17073
17074 fi
17075
17076 cat >> confdefs.h <<\EOF
17077 #define wxUSE_AFM_FOR_POSTSCRIPT 1
17078 EOF
17079
17080
17081 cat >> confdefs.h <<\EOF
17082 #define wxUSE_NORMALIZED_PS_FONTS 1
17083 EOF
17084
17085
17086
17087 if test "$wxUSE_CONSTRAINTS" = "yes"; then
17088 cat >> confdefs.h <<\EOF
17089 #define wxUSE_CONSTRAINTS 1
17090 EOF
17091
17092 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
17093 fi
17094
17095 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17096 cat >> confdefs.h <<\EOF
17097 #define wxUSE_MDI_ARCHITECTURE 1
17098 EOF
17099
17100 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
17101 fi
17102
17103 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
17104 cat >> confdefs.h <<\EOF
17105 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
17106 EOF
17107
17108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
17109 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17110 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
17111 fi
17112 fi
17113
17114 if test "$wxUSE_HELP" = "yes"; then
17115 cat >> confdefs.h <<\EOF
17116 #define wxUSE_HELP 1
17117 EOF
17118
17119 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
17120
17121 if test "$USE_WIN32" = 1; then
17122 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
17123 ac_safe=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
17124 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
17125 echo "configure:17126: checking for htmlhelp.h" >&5
17126 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17127 echo $ac_n "(cached) $ac_c" 1>&6
17128 else
17129 cat > conftest.$ac_ext <<EOF
17130 #line 17131 "configure"
17131 #include "confdefs.h"
17132 #include <htmlhelp.h>
17133 EOF
17134 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17135 { (eval echo configure:17136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17136 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17137 if test -z "$ac_err"; then
17138 rm -rf conftest*
17139 eval "ac_cv_header_$ac_safe=yes"
17140 else
17141 echo "$ac_err" >&5
17142 echo "configure: failed program was:" >&5
17143 cat conftest.$ac_ext >&5
17144 rm -rf conftest*
17145 eval "ac_cv_header_$ac_safe=no"
17146 fi
17147 rm -f conftest*
17148 fi
17149 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17150 echo "$ac_t""yes" 1>&6
17151
17152 cat >> confdefs.h <<\EOF
17153 #define wxUSE_MS_HTML_HELP 1
17154 EOF
17155
17156
17157 else
17158 echo "$ac_t""no" 1>&6
17159
17160 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h so it won't be compiled without it" 1>&2
17161 wxUSE_MS_HTML_HELP=no
17162
17163 fi
17164
17165 fi
17166 fi
17167
17168 if test "$wxUSE_WXHTML_HELP" = "yes"; then
17169 if test "$wxUSE_HTML" = "yes"; then
17170 cat >> confdefs.h <<\EOF
17171 #define wxUSE_WXHTML_HELP 1
17172 EOF
17173
17174 else
17175 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
17176 wxUSE_WXHTML_HELP=no
17177 fi
17178 fi
17179 fi
17180
17181 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
17182 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17183 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
17184 else
17185 cat >> confdefs.h <<\EOF
17186 #define wxUSE_PRINTING_ARCHITECTURE 1
17187 EOF
17188
17189 fi
17190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
17191 fi
17192
17193 if test "$wxUSE_PROLOGIO" = "yes" ; then
17194 cat >> confdefs.h <<\EOF
17195 #define wxUSE_PROLOGIO 1
17196 EOF
17197
17198 fi
17199
17200 if test "$wxUSE_RESOURCES" = "yes" ; then
17201 cat >> confdefs.h <<\EOF
17202 #define wxUSE_RESOURCES 1
17203 EOF
17204
17205 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS resource"
17206 fi
17207
17208 if test "$wxUSE_X_RESOURCES" = "yes"; then
17209 cat >> confdefs.h <<\EOF
17210 #define wxUSE_X_RESOURCES 1
17211 EOF
17212
17213 fi
17214
17215
17216 if test "$wxUSE_IPC" = "yes"; then
17217 if test "$wxUSE_SOCKETS" != "yes"; then
17218 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
17219 fi
17220
17221 cat >> confdefs.h <<\EOF
17222 #define wxUSE_IPC 1
17223 EOF
17224
17225 fi
17226
17227 if test "$wxUSE_CLIPBOARD" = "yes"; then
17228 cat >> confdefs.h <<\EOF
17229 #define wxUSE_CLIPBOARD 1
17230 EOF
17231
17232 cat >> confdefs.h <<\EOF
17233 #define wxUSE_DATAOBJ 1
17234 EOF
17235
17236 fi
17237
17238 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
17239 if test "$wxUSE_GTK" = 1; then
17240 if test "$WXGTK12" != 1; then
17241 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
17242 wxUSE_DRAG_AND_DROP=no
17243 fi
17244 fi
17245
17246 if test "$wxUSE_MOTIF" = 1; then
17247 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
17248 wxUSE_DRAG_AND_DROP=no
17249 fi
17250
17251 if test "$wxUSE_MAC" = 1; then
17252 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
17253 wxUSE_DRAG_AND_DROP=no
17254 fi
17255
17256 if test "$USE_WIN32" = 1; then
17257
17258 for ac_hdr in ole2.h
17259 do
17260 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17261 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17262 echo "configure:17263: checking for $ac_hdr" >&5
17263 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17264 echo $ac_n "(cached) $ac_c" 1>&6
17265 else
17266 cat > conftest.$ac_ext <<EOF
17267 #line 17268 "configure"
17268 #include "confdefs.h"
17269 #include <$ac_hdr>
17270 EOF
17271 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17272 { (eval echo configure:17273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17273 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17274 if test -z "$ac_err"; then
17275 rm -rf conftest*
17276 eval "ac_cv_header_$ac_safe=yes"
17277 else
17278 echo "$ac_err" >&5
17279 echo "configure: failed program was:" >&5
17280 cat conftest.$ac_ext >&5
17281 rm -rf conftest*
17282 eval "ac_cv_header_$ac_safe=no"
17283 fi
17284 rm -f conftest*
17285 fi
17286 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17287 echo "$ac_t""yes" 1>&6
17288 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17289 cat >> confdefs.h <<EOF
17290 #define $ac_tr_hdr 1
17291 EOF
17292
17293 else
17294 echo "$ac_t""no" 1>&6
17295 fi
17296 done
17297
17298
17299 if test "$ac_cv_header_ole2_h" = "yes" ; then
17300 if test "$GCC" = yes ; then
17301 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
17302 ALL_DEPFILES="$ALL_DEPFILES \$(OLEDEPS)"
17303 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
17304 LIBS="$LIBS -lrpcrt4 -loleaut32 -lole32 -luuid"
17305 cat >> confdefs.h <<\EOF
17306 #define wxUSE_OLE 1
17307 EOF
17308
17309
17310 if test "$wxUSE_METAFILE" = "yes"; then
17311 cat >> confdefs.h <<\EOF
17312 #define wxUSE_METAFILE 1
17313 EOF
17314
17315 cat >> confdefs.h <<\EOF
17316 #define wxUSE_ENH_METAFILE 1
17317 EOF
17318
17319 fi
17320 fi
17321 else
17322 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
17323 wxUSE_DRAG_AND_DROP=no
17324 fi
17325 fi
17326
17327 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
17328 cat >> confdefs.h <<\EOF
17329 #define wxUSE_DRAG_AND_DROP 1
17330 EOF
17331
17332 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
17333 fi
17334
17335 fi
17336
17337 if test "$wxUSE_SPLINES" = "yes" ; then
17338 cat >> confdefs.h <<\EOF
17339 #define wxUSE_SPLINES 1
17340 EOF
17341
17342 fi
17343
17344
17345 USES_CONTROLS=0
17346 if test "$wxUSE_CONTROLS" = "yes"; then
17347 USES_CONTROLS=1
17348 fi
17349
17350 if test "$wxUSE_ACCEL" = "yes"; then
17351 cat >> confdefs.h <<\EOF
17352 #define wxUSE_ACCEL 1
17353 EOF
17354
17355 USES_CONTROLS=1
17356 fi
17357
17358 if test "$wxUSE_BUTTON" = "yes"; then
17359 cat >> confdefs.h <<\EOF
17360 #define wxUSE_BUTTON 1
17361 EOF
17362
17363 USES_CONTROLS=1
17364 fi
17365
17366 if test "$wxUSE_BMPBUTTON" = "yes"; then
17367 cat >> confdefs.h <<\EOF
17368 #define wxUSE_BMPBUTTON 1
17369 EOF
17370
17371 USES_CONTROLS=1
17372 fi
17373
17374 if test "$wxUSE_CALCTRL" = "yes"; then
17375 cat >> confdefs.h <<\EOF
17376 #define wxUSE_CALENDARCTRL 1
17377 EOF
17378
17379 USES_CONTROLS=1
17380 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
17381 fi
17382
17383 if test "$wxUSE_CARET" = "yes"; then
17384 cat >> confdefs.h <<\EOF
17385 #define wxUSE_CARET 1
17386 EOF
17387
17388 USES_CONTROLS=1
17389 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
17390 fi
17391
17392 if test "$wxUSE_COMBOBOX" = "yes"; then
17393 cat >> confdefs.h <<\EOF
17394 #define wxUSE_COMBOBOX 1
17395 EOF
17396
17397 USES_CONTROLS=1
17398 fi
17399
17400 if test "$wxUSE_CHOICE" = "yes"; then
17401 cat >> confdefs.h <<\EOF
17402 #define wxUSE_CHOICE 1
17403 EOF
17404
17405 USES_CONTROLS=1
17406 fi
17407
17408 if test "$wxUSE_CHECKBOX" = "yes"; then
17409 cat >> confdefs.h <<\EOF
17410 #define wxUSE_CHECKBOX 1
17411 EOF
17412
17413 USES_CONTROLS=1
17414 fi
17415
17416 if test "$wxUSE_CHECKLST" = "yes"; then
17417 cat >> confdefs.h <<\EOF
17418 #define wxUSE_CHECKLISTBOX 1
17419 EOF
17420
17421 USES_CONTROLS=1
17422 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
17423 fi
17424
17425 if test "$wxUSE_GAUGE" = "yes"; then
17426 cat >> confdefs.h <<\EOF
17427 #define wxUSE_GAUGE 1
17428 EOF
17429
17430 USES_CONTROLS=1
17431 fi
17432
17433 if test "$wxUSE_NEW_GRID" = "yes"; then
17434 wxUSE_GRID="yes"
17435 cat >> confdefs.h <<\EOF
17436 #define wxUSE_NEW_GRID 1
17437 EOF
17438
17439 USES_CONTROLS=1
17440 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS newgrid"
17441 fi
17442
17443 if test "$wxUSE_GRID" = "yes"; then
17444 cat >> confdefs.h <<\EOF
17445 #define wxUSE_GRID 1
17446 EOF
17447
17448 USES_CONTROLS=1
17449 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
17450 fi
17451
17452 if test "$wxUSE_IMAGLIST" = "yes"; then
17453 cat >> confdefs.h <<\EOF
17454 #define wxUSE_IMAGLIST 1
17455 EOF
17456
17457 fi
17458
17459 if test "$wxUSE_LISTBOX" = "yes"; then
17460 cat >> confdefs.h <<\EOF
17461 #define wxUSE_LISTBOX 1
17462 EOF
17463
17464 USES_CONTROLS=1
17465 fi
17466
17467 if test "$wxUSE_LISTCTRL" = "yes"; then
17468 if test "$wxUSE_IMAGLIST" = "yes"; then
17469 cat >> confdefs.h <<\EOF
17470 #define wxUSE_LISTCTRL 1
17471 EOF
17472
17473 USES_CONTROLS=1
17474 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
17475 else
17476 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
17477 fi
17478 fi
17479
17480 if test "$wxUSE_NOTEBOOK" = "yes"; then
17481 cat >> confdefs.h <<\EOF
17482 #define wxUSE_NOTEBOOK 1
17483 EOF
17484
17485 USES_CONTROLS=1
17486 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
17487 fi
17488
17489 if test "$wxUSE_PROPSHEET" = "yes"; then
17490 cat >> confdefs.h <<\EOF
17491 #define wxUSE_PROPSHEET 1
17492 EOF
17493
17494 USES_CONTROLS=1
17495 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS proplist"
17496 fi
17497
17498 if test "$wxUSE_RADIOBOX" = "yes"; then
17499 cat >> confdefs.h <<\EOF
17500 #define wxUSE_RADIOBOX 1
17501 EOF
17502
17503 USES_CONTROLS=1
17504 fi
17505
17506 if test "$wxUSE_RADIOBTN" = "yes"; then
17507 cat >> confdefs.h <<\EOF
17508 #define wxUSE_RADIOBTN 1
17509 EOF
17510
17511 USES_CONTROLS=1
17512 fi
17513
17514 if test "$wxUSE_SASH" = "yes"; then
17515 cat >> confdefs.h <<\EOF
17516 #define wxUSE_SASH 1
17517 EOF
17518
17519 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
17520 fi
17521
17522 if test "$wxUSE_SCROLLBAR" = "yes"; then
17523 cat >> confdefs.h <<\EOF
17524 #define wxUSE_SCROLLBAR 1
17525 EOF
17526
17527 USES_CONTROLS=1
17528 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
17529 fi
17530
17531 if test "$wxUSE_SLIDER" = "yes"; then
17532 cat >> confdefs.h <<\EOF
17533 #define wxUSE_SLIDER 1
17534 EOF
17535
17536 USES_CONTROLS=1
17537 fi
17538
17539 if test "$wxUSE_SPINBTN" = "yes"; then
17540 cat >> confdefs.h <<\EOF
17541 #define wxUSE_SPINBTN 1
17542 EOF
17543
17544 USES_CONTROLS=1
17545 fi
17546
17547 if test "$wxUSE_SPINCTRL" = "yes"; then
17548 cat >> confdefs.h <<\EOF
17549 #define wxUSE_SPINCTRL 1
17550 EOF
17551
17552 USES_CONTROLS=1
17553 fi
17554
17555 if test "$wxUSE_SPLITTER" = "yes"; then
17556 cat >> confdefs.h <<\EOF
17557 #define wxUSE_SPLITTER 1
17558 EOF
17559
17560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
17561 fi
17562
17563 if test "$wxUSE_STATBMP" = "yes"; then
17564 cat >> confdefs.h <<\EOF
17565 #define wxUSE_STATBMP 1
17566 EOF
17567
17568 USES_CONTROLS=1
17569 fi
17570
17571 if test "$wxUSE_STATBOX" = "yes"; then
17572 cat >> confdefs.h <<\EOF
17573 #define wxUSE_STATBOX 1
17574 EOF
17575
17576 USES_CONTROLS=1
17577 fi
17578
17579 if test "$wxUSE_STATTEXT" = "yes"; then
17580 cat >> confdefs.h <<\EOF
17581 #define wxUSE_STATTEXT 1
17582 EOF
17583
17584 USES_CONTROLS=1
17585 fi
17586
17587 if test "$wxUSE_STATLINE" = "yes"; then
17588 if test "$wxUSE_WINE" = 1 ; then
17589 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
17590 else
17591 cat >> confdefs.h <<\EOF
17592 #define wxUSE_STATLINE 1
17593 EOF
17594
17595 USES_CONTROLS=1
17596 fi
17597 fi
17598
17599 if test "$wxUSE_STATUSBAR" = "yes"; then
17600 cat >> confdefs.h <<\EOF
17601 #define wxUSE_STATUSBAR 1
17602 EOF
17603
17604 USES_CONTROLS=1
17605
17606 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
17607 fi
17608
17609 if test "$wxUSE_TABDIALOG" = "yes"; then
17610 cat >> confdefs.h <<\EOF
17611 #define wxUSE_TAB_DIALOG 1
17612 EOF
17613
17614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
17615 fi
17616
17617 if test "$wxUSE_TEXTCTRL" = "yes"; then
17618 cat >> confdefs.h <<\EOF
17619 #define wxUSE_TEXTCTRL 1
17620 EOF
17621
17622 USES_CONTROLS=1
17623 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
17624 fi
17625
17626 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17627 if test "$wxUSE_MAC" = 1; then
17628 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
17629 wxUSE_TOGGLEBTN=no
17630 fi
17631
17632 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17633 cat >> confdefs.h <<\EOF
17634 #define wxUSE_TOGGLEBTN 1
17635 EOF
17636
17637 USES_CONTROLS=1
17638 fi
17639 fi
17640
17641 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
17642 cat >> confdefs.h <<\EOF
17643 #define wxUSE_TOOLBAR_SIMPLE 1
17644 EOF
17645
17646 wxUSE_TOOLBAR="yes"
17647 USES_CONTROLS=1
17648 fi
17649
17650 if test "$wxUSE_TOOLBAR" = "yes"; then
17651 cat >> confdefs.h <<\EOF
17652 #define wxUSE_TOOLBAR 1
17653 EOF
17654
17655 USES_CONTROLS=1
17656
17657 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
17658 wxUSE_TOOLBAR_NATIVE="yes"
17659 fi
17660
17661 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
17662 cat >> confdefs.h <<\EOF
17663 #define wxUSE_TOOLBAR_NATIVE 1
17664 EOF
17665
17666 USES_CONTROLS=1
17667 fi
17668
17669 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
17670 fi
17671
17672 if test "$wxUSE_TOOLTIPS" = "yes"; then
17673 if test "$wxUSE_MOTIF" = 1; then
17674 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
17675 else
17676 if test "$wxUSE_WINE" = 1; then
17677 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
17678 else
17679 cat >> confdefs.h <<\EOF
17680 #define wxUSE_TOOLTIPS 1
17681 EOF
17682
17683 fi
17684 fi
17685 fi
17686
17687 if test "$wxUSE_TREECTRL" = "yes"; then
17688 if test "$wxUSE_IMAGLIST" = "yes"; then
17689 cat >> confdefs.h <<\EOF
17690 #define wxUSE_TREECTRL 1
17691 EOF
17692
17693 USES_CONTROLS=1
17694 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
17695 else
17696 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
17697 fi
17698 fi
17699
17700 if test "$wxUSE_POPUPWIN" = "yes"; then
17701 if test "$wxUSE_MAC" = 1; then
17702 echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2
17703 else
17704 cat >> confdefs.h <<\EOF
17705 #define wxUSE_POPUPWIN 1
17706 EOF
17707
17708 USES_CONTROLS=1
17709 fi
17710 fi
17711
17712 if test "$USES_CONTROLS" = 1; then
17713 cat >> confdefs.h <<\EOF
17714 #define wxUSE_CONTROLS 1
17715 EOF
17716
17717 fi
17718
17719
17720 if test "$wxUSE_TREELAYOUT" = "yes"; then
17721 cat >> confdefs.h <<\EOF
17722 #define wxUSE_TREELAYOUT 1
17723 EOF
17724
17725 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelay"
17726 fi
17727
17728 if test "$wxUSE_DRAGIMAGE" = "yes"; then
17729 cat >> confdefs.h <<\EOF
17730 #define wxUSE_DRAGIMAGE 1
17731 EOF
17732
17733 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
17734 fi
17735
17736 if test "$wxUSE_MENUS" = "yes"; then
17737 cat >> confdefs.h <<\EOF
17738 #define wxUSE_MENUS 1
17739 EOF
17740
17741 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
17742 fi
17743
17744 if test "$wxUSE_METAFILE" = "yes"; then
17745 cat >> confdefs.h <<\EOF
17746 #define wxUSE_METAFILE 1
17747 EOF
17748
17749 fi
17750
17751 if test "$wxUSE_MIMETYPE" = "yes"; then
17752 cat >> confdefs.h <<\EOF
17753 #define wxUSE_MIMETYPE 1
17754 EOF
17755
17756 fi
17757
17758 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
17759 cat >> confdefs.h <<\EOF
17760 #define wxUSE_SYSTEM_OPTIONS 1
17761 EOF
17762
17763 fi
17764
17765 if test "$wxUSE_MINIFRAME" = "yes"; then
17766 cat >> confdefs.h <<\EOF
17767 #define wxUSE_MINIFRAME 1
17768 EOF
17769
17770 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
17771 fi
17772
17773 if test "$wxUSE_HTML" = "yes"; then
17774 cat >> confdefs.h <<\EOF
17775 #define wxUSE_HTML 1
17776 EOF
17777
17778 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html"
17779 INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS html"
17780 fi
17781
17782 if test "$wxUSE_VALIDATORS" = "yes"; then
17783 cat >> confdefs.h <<\EOF
17784 #define wxUSE_VALIDATORS 1
17785 EOF
17786
17787 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
17788 fi
17789
17790 if test "$wxUSE_IMAGE" = "yes" ; then
17791 cat >> confdefs.h <<\EOF
17792 #define wxUSE_IMAGE 1
17793 EOF
17794
17795 fi
17796
17797 if test "$wxUSE_GIF" = "yes" ; then
17798 cat >> confdefs.h <<\EOF
17799 #define wxUSE_GIF 1
17800 EOF
17801
17802 fi
17803
17804 if test "$wxUSE_PCX" = "yes" ; then
17805 cat >> confdefs.h <<\EOF
17806 #define wxUSE_PCX 1
17807 EOF
17808
17809 fi
17810
17811 if test "$wxUSE_PNM" = "yes" ; then
17812 cat >> confdefs.h <<\EOF
17813 #define wxUSE_PNM 1
17814 EOF
17815
17816 fi
17817
17818 if test "$wxUSE_XPM" = "yes" ; then
17819 cat >> confdefs.h <<\EOF
17820 #define wxUSE_XPM 1
17821 EOF
17822
17823 fi
17824
17825
17826 if test "$wxUSE_CHOICEDLG" = "yes"; then
17827 cat >> confdefs.h <<\EOF
17828 #define wxUSE_CHOICEDLG 1
17829 EOF
17830
17831 fi
17832
17833 if test "$wxUSE_COLOURDLG" = "yes"; then
17834 cat >> confdefs.h <<\EOF
17835 #define wxUSE_COLOURDLG 1
17836 EOF
17837
17838 fi
17839
17840 if test "$wxUSE_FILEDLG" = "yes"; then
17841 cat >> confdefs.h <<\EOF
17842 #define wxUSE_FILEDLG 1
17843 EOF
17844
17845 fi
17846
17847 if test "$wxUSE_FINDREPLDLG" = "yes"; then
17848 cat >> confdefs.h <<\EOF
17849 #define wxUSE_FINDREPLDLG 1
17850 EOF
17851
17852 fi
17853
17854 if test "$wxUSE_FONTDLG" = "yes"; then
17855 cat >> confdefs.h <<\EOF
17856 #define wxUSE_FONTDLG 1
17857 EOF
17858
17859 fi
17860
17861 if test "$wxUSE_DIRDLG" = "yes"; then
17862 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17863 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
17864 else
17865 if test "$wxUSE_TREECTRL" != "yes"; then
17866 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
17867 else
17868 cat >> confdefs.h <<\EOF
17869 #define wxUSE_DIRDLG 1
17870 EOF
17871
17872 fi
17873 fi
17874 fi
17875
17876 if test "$wxUSE_MSGDLG" = "yes"; then
17877 cat >> confdefs.h <<\EOF
17878 #define wxUSE_MSGDLG 1
17879 EOF
17880
17881 fi
17882
17883 if test "$wxUSE_NUMBERDLG" = "yes"; then
17884 cat >> confdefs.h <<\EOF
17885 #define wxUSE_NUMBERDLG 1
17886 EOF
17887
17888 fi
17889
17890 if test "$wxUSE_PROGRESSDLG" = "yes"; then
17891 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17892 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
17893 else
17894 cat >> confdefs.h <<\EOF
17895 #define wxUSE_PROGRESSDLG 1
17896 EOF
17897
17898 fi
17899 fi
17900
17901 if test "$wxUSE_SPLASH" = "yes"; then
17902 cat >> confdefs.h <<\EOF
17903 #define wxUSE_SPLASH 1
17904 EOF
17905
17906 fi
17907
17908 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
17909 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17910 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
17911 else
17912 cat >> confdefs.h <<\EOF
17913 #define wxUSE_STARTUP_TIPS 1
17914 EOF
17915
17916 fi
17917 fi
17918
17919 if test "$wxUSE_TEXTDLG" = "yes"; then
17920 cat >> confdefs.h <<\EOF
17921 #define wxUSE_TEXTDLG 1
17922 EOF
17923
17924 fi
17925
17926 if test "$wxUSE_WIZARDDLG" = "yes"; then
17927 cat >> confdefs.h <<\EOF
17928 #define wxUSE_WIZARDDLG 1
17929 EOF
17930
17931 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
17932 fi
17933
17934
17935 if test "$cross_compiling" = "yes"; then
17936 OSINFO="\"$host\""
17937 else
17938 OSINFO=`uname -s -r -m`
17939 OSINFO="\"$OSINFO\""
17940 fi
17941
17942 cat >> confdefs.h <<EOF
17943 #define WXWIN_OS_DESCRIPTION $OSINFO
17944 EOF
17945
17946
17947
17948 GUILIBS="$GUI_TK_LIBRARY $TOOLKIT_LINK"
17949 OPENGL_LIBS="$OPENGL_LINK"
17950
17951 EXTRA_LIBS="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
17952 if test "$wxUSE_MAC" = 1 ; then
17953 EXTRA_LIBS="$EXTRA_LIBS -framework Carbon -framework System"
17954 fi
17955 if test "$wxUSE_GUI" = "yes"; then
17956 EXTRA_LIBS="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
17957 fi
17958
17959 LD_LIBS="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
17960
17961 INCLUDES="-I. -I\${top_builddir}/include -I\${top_srcdir}/include \
17962 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
17963 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
17964
17965 if test "$wxUSE_GTK" = 1; then
17966 WXCONFIG_INCLUDE=""
17967 else
17968 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
17969 fi
17970
17971 if test "$GXX" = yes ; then
17972 CXXWARNINGS="-Wall"
17973 fi
17974 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
17975
17976 CFLAGS=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
17977 CXXFLAGS=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
17978
17979 LDFLAGS="$LDFLAGS $PROFILE"
17980
17981 if test "$wxUSE_GUI" = "yes"; then
17982
17983 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS controls dialogs \
17984 drawing dynamic erase event exec font image \
17985 minimal richedit rotate widgets"
17986
17987 if test "$wxUSE_UNIVERSAL" = "yes" ; then
17988 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS univ"
17989 fi
17990
17991 CPPFLAGS="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
17992 else
17993 SAMPLES_SUBDIRS="console"
17994 fi
17995
17996 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
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
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
18093 echo "configure:18094: checking whether ${MAKE-make} sets \${MAKE}" >&5
18094 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
18095 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
18096 echo $ac_n "(cached) $ac_c" 1>&6
18097 else
18098 cat > conftestmake <<\EOF
18099 all:
18100 @echo 'ac_maketemp="${MAKE}"'
18101 EOF
18102 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18103 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
18104 if test -n "$ac_maketemp"; then
18105 eval ac_cv_prog_make_${ac_make}_set=yes
18106 else
18107 eval ac_cv_prog_make_${ac_make}_set=no
18108 fi
18109 rm -f conftestmake
18110 fi
18111 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
18112 echo "$ac_t""yes" 1>&6
18113 SET_MAKE=
18114 else
18115 echo "$ac_t""no" 1>&6
18116 SET_MAKE="MAKE=${MAKE-make}"
18117 fi
18118
18119
18120 if test -d include; then
18121 if test -d include/wx; then
18122 if test -d include/wx/${SETUPH_DIR}; then
18123 if test -f include/wx/${SETUPH_DIR}/setup.h; then
18124 mv -f include/wx/${SETUPH_DIR}/setup.h setup.h
18125 fi
18126 fi
18127 fi
18128 fi
18129
18130
18131
18132 if test "$wxUSE_GUI" = "yes"; then
18133 wx_cv_path_samplesubdirs=$SAMPLES_SUBDIRS
18134 wx_cv_path_ifs=$PATH_IFS
18135 wx_cv_program_ext=$PROGRAM_EXT
18136 wx_cv_target_library=$WX_TARGET_LIBRARY
18137 wx_cv_target_library_gl=$WX_TARGET_LIBRARY_GL
18138 wx_cv_target_libtype=$WX_TARGET_LIBRARY_TYPE
18139 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
18140 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
18141 subdirs="demos samples utils contrib"
18142
18143 fi
18144
18145 trap '' 1 2 15
18146 cat > confcache <<\EOF
18147 # This file is a shell script that caches the results of configure
18148 # tests run on this system so they can be shared between configure
18149 # scripts and configure runs. It is not useful on other systems.
18150 # If it contains results you don't want to keep, you may remove or edit it.
18151 #
18152 # By default, configure uses ./config.cache as the cache file,
18153 # creating it if it does not exist already. You can give configure
18154 # the --cache-file=FILE option to use a different cache file; that is
18155 # what configure does when it calls configure scripts in
18156 # subdirectories, so they share the cache.
18157 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18158 # config.status only pays attention to the cache file if you give it the
18159 # --recheck option to rerun configure.
18160 #
18161 EOF
18162 # The following way of writing the cache mishandles newlines in values,
18163 # but we know of no workaround that is simple, portable, and efficient.
18164 # So, don't put newlines in cache variables' values.
18165 # Ultrix sh set writes to stderr and can't be redirected directly,
18166 # and sets the high bit in the cache file unless we assign to the vars.
18167 (set) 2>&1 |
18168 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18169 *ac_space=\ *)
18170 # `set' does not quote correctly, so add quotes (double-quote substitution
18171 # turns \\\\ into \\, and sed turns \\ into \).
18172 sed -n \
18173 -e "s/'/'\\\\''/g" \
18174 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18175 ;;
18176 *)
18177 # `set' quotes correctly as required by POSIX, so do not add quotes.
18178 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18179 ;;
18180 esac >> confcache
18181 if cmp -s $cache_file confcache; then
18182 :
18183 else
18184 if test -w $cache_file; then
18185 echo "updating cache $cache_file"
18186 cat confcache > $cache_file
18187 else
18188 echo "not updating unwritable cache $cache_file"
18189 fi
18190 fi
18191 rm -f confcache
18192
18193 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18194
18195 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18196 # Let make expand exec_prefix.
18197 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18198
18199 # Any assignment to VPATH causes Sun make to only execute
18200 # the first set of double-colon rules, so remove it if not needed.
18201 # If there is a colon in the path, we need to keep it.
18202 if test "x$srcdir" = x.; then
18203 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
18204 fi
18205
18206 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18207
18208 DEFS=-DHAVE_CONFIG_H
18209
18210 # Without the "./", some shells look in PATH for config.status.
18211 : ${CONFIG_STATUS=./config.status}
18212
18213 echo creating $CONFIG_STATUS
18214 rm -f $CONFIG_STATUS
18215 cat > $CONFIG_STATUS <<EOF
18216 #! /bin/sh
18217 # Generated automatically by configure.
18218 # Run this file to recreate the current configuration.
18219 # This directory was configured as follows,
18220 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18221 #
18222 # $0 $ac_configure_args
18223 #
18224 # Compiler output produced by configure, useful for debugging
18225 # configure, is in ./config.log if it exists.
18226
18227 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18228 for ac_option
18229 do
18230 case "\$ac_option" in
18231 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18232 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18233 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18234 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18235 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18236 exit 0 ;;
18237 -help | --help | --hel | --he | --h)
18238 echo "\$ac_cs_usage"; exit 0 ;;
18239 *) echo "\$ac_cs_usage"; exit 1 ;;
18240 esac
18241 done
18242
18243 ac_given_srcdir=$srcdir
18244 ac_given_INSTALL="$INSTALL"
18245
18246 trap 'rm -fr `echo "
18247 wx-config
18248 src/make.env
18249 src/makeprog.env
18250 src/makelib.env
18251 Makefile
18252 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18253 EOF
18254 cat >> $CONFIG_STATUS <<EOF
18255
18256 # Protect against being on the right side of a sed subst in config.status.
18257 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18258 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18259 $ac_vpsub
18260 $extrasub
18261 s%@SHELL@%$SHELL%g
18262 s%@CFLAGS@%$CFLAGS%g
18263 s%@CPPFLAGS@%$CPPFLAGS%g
18264 s%@CXXFLAGS@%$CXXFLAGS%g
18265 s%@FFLAGS@%$FFLAGS%g
18266 s%@DEFS@%$DEFS%g
18267 s%@LDFLAGS@%$LDFLAGS%g
18268 s%@LIBS@%$LIBS%g
18269 s%@exec_prefix@%$exec_prefix%g
18270 s%@prefix@%$prefix%g
18271 s%@program_transform_name@%$program_transform_name%g
18272 s%@bindir@%$bindir%g
18273 s%@sbindir@%$sbindir%g
18274 s%@libexecdir@%$libexecdir%g
18275 s%@datadir@%$datadir%g
18276 s%@sysconfdir@%$sysconfdir%g
18277 s%@sharedstatedir@%$sharedstatedir%g
18278 s%@localstatedir@%$localstatedir%g
18279 s%@libdir@%$libdir%g
18280 s%@includedir@%$includedir%g
18281 s%@oldincludedir@%$oldincludedir%g
18282 s%@infodir@%$infodir%g
18283 s%@mandir@%$mandir%g
18284 s%@host@%$host%g
18285 s%@host_alias@%$host_alias%g
18286 s%@host_cpu@%$host_cpu%g
18287 s%@host_vendor@%$host_vendor%g
18288 s%@host_os@%$host_os%g
18289 s%@target@%$target%g
18290 s%@target_alias@%$target_alias%g
18291 s%@target_cpu@%$target_cpu%g
18292 s%@target_vendor@%$target_vendor%g
18293 s%@target_os@%$target_os%g
18294 s%@build@%$build%g
18295 s%@build_alias@%$build_alias%g
18296 s%@build_cpu@%$build_cpu%g
18297 s%@build_vendor@%$build_vendor%g
18298 s%@build_os@%$build_os%g
18299 s%@CC@%$CC%g
18300 s%@CPP@%$CPP%g
18301 s%@CXX@%$CXX%g
18302 s%@CXXCPP@%$CXXCPP%g
18303 s%@RANLIB@%$RANLIB%g
18304 s%@AR@%$AR%g
18305 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18306 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18307 s%@INSTALL_DATA@%$INSTALL_DATA%g
18308 s%@STRIP@%$STRIP%g
18309 s%@YACC@%$YACC%g
18310 s%@LEX@%$LEX%g
18311 s%@LEXLIB@%$LEXLIB%g
18312 s%@LN_S@%$LN_S%g
18313 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
18314 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
18315 s%@GTK_LIBS@%$GTK_LIBS%g
18316 s%@GTK_CONFIG@%$GTK_CONFIG%g
18317 s%@X_CFLAGS@%$X_CFLAGS%g
18318 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
18319 s%@X_LIBS@%$X_LIBS%g
18320 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
18321 s%@REZ@%$REZ%g
18322 s%@DEREZ@%$DEREZ%g
18323 s%@LEX_STEM@%$LEX_STEM%g
18324 s%@PATH_IFS@%$PATH_IFS%g
18325 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
18326 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
18327 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
18328 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
18329 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
18330 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
18331 s%@WX_LIBRARY@%$WX_LIBRARY%g
18332 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
18333 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
18334 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
18335 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
18336 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
18337 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
18338 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
18339 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
18340 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
18341 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
18342 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
18343 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
18344 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
18345 s%@WX_ALL@%$WX_ALL%g
18346 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
18347 s%@SHARED_LD@%$SHARED_LD%g
18348 s%@PIC_FLAG@%$PIC_FLAG%g
18349 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
18350 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
18351 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
18352 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
18353 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
18354 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
18355 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
18356 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
18357 s%@USE_GUI@%$USE_GUI%g
18358 s%@AFMINSTALL@%$AFMINSTALL%g
18359 s%@SETUPH_DIR@%$SETUPH_DIR%g
18360 s%@TOOLKIT@%$TOOLKIT%g
18361 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
18362 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
18363 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
18364 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
18365 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
18366 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
18367 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
18368 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
18369 s%@GUIDIST@%$GUIDIST%g
18370 s%@PORT_FILES@%$PORT_FILES%g
18371 s%@DISTDIR@%$DISTDIR%g
18372 s%@RPM_SPEC@%$RPM_SPEC%g
18373 s%@RPM_FILES@%$RPM_FILES%g
18374 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
18375 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
18376 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
18377 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
18378 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
18379 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
18380 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
18381 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
18382 s%@EXTRADEFS@%$EXTRADEFS%g
18383 s%@LD_LIBS@%$LD_LIBS%g
18384 s%@WXMSW_DLL_DEFINES@%$WXMSW_DLL_DEFINES%g
18385 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
18386 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
18387 s%@RESPROGRAM@%$RESPROGRAM%g
18388 s%@RESCOMP@%$RESCOMP%g
18389 s%@RESFLAGS@%$RESFLAGS%g
18390 s%@REZFLAGS@%$REZFLAGS%g
18391 s%@DEREZFLAGS@%$DEREZFLAGS%g
18392 s%@LIBWXMACRES@%$LIBWXMACRES%g
18393 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
18394 s%@DLLTOOL@%$DLLTOOL%g
18395 s%@AS@%$AS%g
18396 s%@NM@%$NM%g
18397 s%@LD@%$LD%g
18398 s%@MAKEINFO@%$MAKEINFO%g
18399 s%@SET_MAKE@%$SET_MAKE%g
18400 s%@subdirs@%$subdirs%g
18401
18402 CEOF
18403 EOF
18404
18405 cat >> $CONFIG_STATUS <<\EOF
18406
18407 # Split the substitutions into bite-sized pieces for seds with
18408 # small command number limits, like on Digital OSF/1 and HP-UX.
18409 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
18410 ac_file=1 # Number of current file.
18411 ac_beg=1 # First line for current file.
18412 ac_end=$ac_max_sed_cmds # Line after last line for current file.
18413 ac_more_lines=:
18414 ac_sed_cmds=""
18415 while $ac_more_lines; do
18416 if test $ac_beg -gt 1; then
18417 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
18418 else
18419 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
18420 fi
18421 if test ! -s conftest.s$ac_file; then
18422 ac_more_lines=false
18423 rm -f conftest.s$ac_file
18424 else
18425 if test -z "$ac_sed_cmds"; then
18426 ac_sed_cmds="sed -f conftest.s$ac_file"
18427 else
18428 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
18429 fi
18430 ac_file=`expr $ac_file + 1`
18431 ac_beg=$ac_end
18432 ac_end=`expr $ac_end + $ac_max_sed_cmds`
18433 fi
18434 done
18435 if test -z "$ac_sed_cmds"; then
18436 ac_sed_cmds=cat
18437 fi
18438 EOF
18439
18440 cat >> $CONFIG_STATUS <<EOF
18441
18442 CONFIG_FILES=\${CONFIG_FILES-"wx-config
18443 src/make.env
18444 src/makeprog.env
18445 src/makelib.env
18446 Makefile
18447 "}
18448 EOF
18449 cat >> $CONFIG_STATUS <<\EOF
18450 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
18451 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18452 case "$ac_file" in
18453 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18454 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18455 *) ac_file_in="${ac_file}.in" ;;
18456 esac
18457
18458 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18459
18460 # Remove last slash and all that follows it. Not all systems have dirname.
18461 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18462 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18463 # The file is in a subdirectory.
18464 test ! -d "$ac_dir" && mkdir "$ac_dir"
18465 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
18466 # A "../" for each directory in $ac_dir_suffix.
18467 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18468 else
18469 ac_dir_suffix= ac_dots=
18470 fi
18471
18472 case "$ac_given_srcdir" in
18473 .) srcdir=.
18474 if test -z "$ac_dots"; then top_srcdir=.
18475 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18476 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
18477 *) # Relative path.
18478 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18479 top_srcdir="$ac_dots$ac_given_srcdir" ;;
18480 esac
18481
18482 case "$ac_given_INSTALL" in
18483 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18484 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18485 esac
18486
18487 echo creating "$ac_file"
18488 rm -f "$ac_file"
18489 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18490 case "$ac_file" in
18491 *Makefile*) ac_comsub="1i\\
18492 # $configure_input" ;;
18493 *) ac_comsub= ;;
18494 esac
18495
18496 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18497 sed -e "$ac_comsub
18498 s%@configure_input@%$configure_input%g
18499 s%@srcdir@%$srcdir%g
18500 s%@top_srcdir@%$top_srcdir%g
18501 s%@INSTALL@%$INSTALL%g
18502 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18503 fi; done
18504 rm -f conftest.s*
18505
18506 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18507 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18508 #
18509 # ac_d sets the value in "#define NAME VALUE" lines.
18510 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18511 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
18512 ac_dC='\3'
18513 ac_dD='%g'
18514 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18515 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18516 ac_uB='\([ ]\)%\1#\2define\3'
18517 ac_uC=' '
18518 ac_uD='\4%g'
18519 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18520 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18521 ac_eB='$%\1#\2define\3'
18522 ac_eC=' '
18523 ac_eD='%g'
18524
18525 if test "${CONFIG_HEADERS+set}" != set; then
18526 EOF
18527 cat >> $CONFIG_STATUS <<EOF
18528 CONFIG_HEADERS="setup.h:setup.h.in"
18529 EOF
18530 cat >> $CONFIG_STATUS <<\EOF
18531 fi
18532 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
18533 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18534 case "$ac_file" in
18535 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18536 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18537 *) ac_file_in="${ac_file}.in" ;;
18538 esac
18539
18540 echo creating $ac_file
18541
18542 rm -f conftest.frag conftest.in conftest.out
18543 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18544 cat $ac_file_inputs > conftest.in
18545
18546 EOF
18547
18548 # Transform confdefs.h into a sed script conftest.vals that substitutes
18549 # the proper values into config.h.in to produce config.h. And first:
18550 # Protect against being on the right side of a sed subst in config.status.
18551 # Protect against being in an unquoted here document in config.status.
18552 rm -f conftest.vals
18553 cat > conftest.hdr <<\EOF
18554 s/[\\&%]/\\&/g
18555 s%[\\$`]%\\&%g
18556 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18557 s%ac_d%ac_u%gp
18558 s%ac_u%ac_e%gp
18559 EOF
18560 sed -n -f conftest.hdr confdefs.h > conftest.vals
18561 rm -f conftest.hdr
18562
18563 # This sed command replaces #undef with comments. This is necessary, for
18564 # example, in the case of _POSIX_SOURCE, which is predefined and required
18565 # on some systems where configure will not decide to define it.
18566 cat >> conftest.vals <<\EOF
18567 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18568 EOF
18569
18570 # Break up conftest.vals because some shells have a limit on
18571 # the size of here documents, and old seds have small limits too.
18572
18573 rm -f conftest.tail
18574 while :
18575 do
18576 ac_lines=`grep -c . conftest.vals`
18577 # grep -c gives empty output for an empty file on some AIX systems.
18578 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18579 # Write a limited-size here document to conftest.frag.
18580 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18581 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18582 echo 'CEOF
18583 sed -f conftest.frag conftest.in > conftest.out
18584 rm -f conftest.in
18585 mv conftest.out conftest.in
18586 ' >> $CONFIG_STATUS
18587 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18588 rm -f conftest.vals
18589 mv conftest.tail conftest.vals
18590 done
18591 rm -f conftest.vals
18592
18593 cat >> $CONFIG_STATUS <<\EOF
18594 rm -f conftest.frag conftest.h
18595 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18596 cat conftest.in >> conftest.h
18597 rm -f conftest.in
18598 if cmp -s $ac_file conftest.h 2>/dev/null; then
18599 echo "$ac_file is unchanged"
18600 rm -f conftest.h
18601 else
18602 # Remove last slash and all that follows it. Not all systems have dirname.
18603 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18604 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18605 # The file is in a subdirectory.
18606 test ! -d "$ac_dir" && mkdir "$ac_dir"
18607 fi
18608 rm -f $ac_file
18609 mv conftest.h $ac_file
18610 fi
18611 fi; done
18612
18613 EOF
18614 cat >> $CONFIG_STATUS <<EOF
18615
18616 SETUPH_DIR="${SETUPH_DIR}"
18617 TOOLKIT_NAME="${TOOLKIT_NAME}"
18618 LN_S="${LN_S}"
18619
18620
18621 EOF
18622 cat >> $CONFIG_STATUS <<\EOF
18623
18624 if test ! -f wx${TOOLKIT_NAME}-config; then
18625 chmod +x wx-config
18626 mv wx-config wx${TOOLKIT_NAME}-config
18627 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
18628 fi
18629
18630
18631 if test ! -d lib; then
18632 mkdir lib
18633 fi
18634 if test ! -d lib/wx; then
18635 mkdir lib/wx
18636 fi
18637 if test ! -d lib/wx/include; then
18638 mkdir lib/wx/include
18639 fi
18640 if test ! -d lib/wx/include/wx; then
18641 mkdir lib/wx/include/wx
18642 fi
18643 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
18644 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
18645 fi
18646 if test -f setup.h; then
18647 cp -fp setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
18648 fi
18649
18650
18651 if test ! -d include; then
18652 mkdir include
18653 fi
18654 if test ! -d include/wx; then
18655 mkdir include/wx
18656 fi
18657 if test ! -d include/wx/${SETUPH_DIR}; then
18658 mkdir include/wx/${SETUPH_DIR}
18659 fi
18660 if test -f setup.h; then
18661 cp -fp setup.h include/wx/${SETUPH_DIR}/setup.h
18662 fi
18663
18664
18665 exit 0
18666 EOF
18667 chmod +x $CONFIG_STATUS
18668 rm -fr confdefs* $ac_clean_files
18669 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18670
18671 if test "$no_recursion" != yes; then
18672
18673 # Remove --cache-file and --srcdir arguments so they do not pile up.
18674 ac_sub_configure_args=
18675 ac_prev=
18676 for ac_arg in $ac_configure_args; do
18677 if test -n "$ac_prev"; then
18678 ac_prev=
18679 continue
18680 fi
18681 case "$ac_arg" in
18682 -cache-file | --cache-file | --cache-fil | --cache-fi \
18683 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
18684 ac_prev=cache_file ;;
18685 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
18686 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
18687 ;;
18688 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
18689 ac_prev=srcdir ;;
18690 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
18691 ;;
18692 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
18693 esac
18694 done
18695
18696 for ac_config_dir in demos samples utils contrib; do
18697
18698 # Do not complain, so a configure script can configure whichever
18699 # parts of a large source tree are present.
18700 if test ! -d $srcdir/$ac_config_dir; then
18701 continue
18702 fi
18703
18704 echo configuring in $ac_config_dir
18705
18706 case "$srcdir" in
18707 .) ;;
18708 *)
18709 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
18710 else
18711 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
18712 fi
18713 ;;
18714 esac
18715
18716 ac_popdir=`pwd`
18717 cd $ac_config_dir
18718
18719 # A "../" for each directory in /$ac_config_dir.
18720 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
18721
18722 case "$srcdir" in
18723 .) # No --srcdir option. We are building in place.
18724 ac_sub_srcdir=$srcdir ;;
18725 /*) # Absolute path.
18726 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
18727 *) # Relative path.
18728 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
18729 esac
18730
18731 # Check for guested configure; otherwise get Cygnus style configure.
18732 if test -f $ac_sub_srcdir/configure; then
18733 ac_sub_configure=$ac_sub_srcdir/configure
18734 elif test -f $ac_sub_srcdir/configure.in; then
18735 ac_sub_configure=$ac_configure
18736 else
18737 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
18738 ac_sub_configure=
18739 fi
18740
18741 # The recursion is here.
18742 if test -n "$ac_sub_configure"; then
18743
18744 # Make the cache file name correct relative to the subdirectory.
18745 case "$cache_file" in
18746 /*) ac_sub_cache_file=$cache_file ;;
18747 *) # Relative path.
18748 ac_sub_cache_file="$ac_dots$cache_file" ;;
18749 esac
18750 case "$ac_given_INSTALL" in
18751 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18752 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18753 esac
18754
18755 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
18756 # The eval makes quoting arguments work.
18757 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
18758 then :
18759 else
18760 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
18761 fi
18762 fi
18763
18764 cd $ac_popdir
18765 done
18766 fi
18767
18768