]> git.saurik.com Git - wxWidgets.git/blob - configure
who forward declared wcslen() without using extern "C" around it?? and why was it...
[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 SciTech 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-soname set the DT_SONAME field in ELF shared libraries"
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-precomp enable use of precompiled headers (Mac OS X)"
108 ac_help="$ac_help
109 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
110 ac_help="$ac_help
111 --enable-debug_info create code with debugging information"
112 ac_help="$ac_help
113 --enable-debug_gdb create code with extra GDB debugging information"
114 ac_help="$ac_help
115 --enable-debug_cntxt use wxDebugContext"
116 ac_help="$ac_help
117 --enable-mem_tracing create code with memory tracing"
118 ac_help="$ac_help
119 --enable-profile create code with profiling information"
120 ac_help="$ac_help
121 --enable-no_rtti create code without RTTI information"
122 ac_help="$ac_help
123 --enable-no_exceptions create code without C++ exceptions handling"
124 ac_help="$ac_help
125 --enable-permissive compile code disregarding strict ANSI"
126 ac_help="$ac_help
127 --enable-no_deps create code without dependency information"
128 ac_help="$ac_help
129 --enable-compat20 enable wxWindows 2.0 compatibility"
130 ac_help="$ac_help
131 --enable-compat22 enable wxWindows 2.2 compatibility"
132 ac_help="$ac_help
133 --enable-intl use internationalization system"
134 ac_help="$ac_help
135 --enable-config use wxConfig (and derived) classes"
136 ac_help="$ac_help
137 --enable-sockets use socket/network classes"
138 ac_help="$ac_help
139 --enable-ipc use interprocess communication (wxSocket etc.)"
140 ac_help="$ac_help
141 --enable-cmdline use wxCmdLineParser class"
142 ac_help="$ac_help
143 --enable-datetime use wxDateTime class"
144 ac_help="$ac_help
145 --enable-timedate use obsolete wxDate/wxTime classes"
146 ac_help="$ac_help
147 --enable-stopwatch use wxStopWatch class"
148 ac_help="$ac_help
149 --enable-dialupman use dialup network classes"
150 ac_help="$ac_help
151 --enable-apple_ieee use the Apple IEEE codec"
152 ac_help="$ac_help
153 --enable-timer use wxTimer class"
154 ac_help="$ac_help
155 --enable-wave use wxWave class"
156 ac_help="$ac_help
157 --enable-fraction use wxFraction class"
158 ac_help="$ac_help
159 --enable-dynlib use wxLibrary class for DLL loading"
160 ac_help="$ac_help
161 --enable-longlong use wxLongLong class"
162 ac_help="$ac_help
163 --enable-geometry use geometry class"
164 ac_help="$ac_help
165 --enable-log use logging system"
166 ac_help="$ac_help
167 --enable-streams use wxStream etc classes"
168 ac_help="$ac_help
169 --enable-file use wxFile classes"
170 ac_help="$ac_help
171 --enable-ffile use wxFFile classes"
172 ac_help="$ac_help
173 --enable-textfile use wxTextFile classes"
174 ac_help="$ac_help
175 --enable-fontmap use font encodings conversion classes"
176 ac_help="$ac_help
177 --enable-unicode compile wxString with Unicode support"
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 all common dialogs"
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 use wxJoystick (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-palette use wxPalette class"
364 ac_help="$ac_help
365 --enable-image use wxImage class"
366 ac_help="$ac_help
367 --enable-gif use gif images (GIF file format)"
368 ac_help="$ac_help
369 --enable-pcx use pcx images (PCX file format)"
370 ac_help="$ac_help
371 --enable-pnm use pnm images (PNM file format)"
372 ac_help="$ac_help
373 --enable-xpm use xpm images (XPM file format)"
374 ac_help="$ac_help
375 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
376 ac_help="$ac_help
377 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
378 ac_help="$ac_help
379 --disable-gtktest Do not try to compile and run a test GTK program"
380 ac_help="$ac_help
381 --with-x use the X Window System"
382
383 # Initialize some variables set by options.
384 # The variables have the same names as the options, with
385 # dashes changed to underlines.
386 build=NONE
387 cache_file=./config.cache
388 exec_prefix=NONE
389 host=NONE
390 no_create=
391 nonopt=NONE
392 no_recursion=
393 prefix=NONE
394 program_prefix=NONE
395 program_suffix=NONE
396 program_transform_name=s,x,x,
397 silent=
398 site=
399 srcdir=
400 target=NONE
401 verbose=
402 x_includes=NONE
403 x_libraries=NONE
404 bindir='${exec_prefix}/bin'
405 sbindir='${exec_prefix}/sbin'
406 libexecdir='${exec_prefix}/libexec'
407 datadir='${prefix}/share'
408 sysconfdir='${prefix}/etc'
409 sharedstatedir='${prefix}/com'
410 localstatedir='${prefix}/var'
411 libdir='${exec_prefix}/lib'
412 includedir='${prefix}/include'
413 oldincludedir='/usr/include'
414 infodir='${prefix}/info'
415 mandir='${prefix}/man'
416
417 # Initialize some other variables.
418 subdirs=
419 MFLAGS= MAKEFLAGS=
420 SHELL=${CONFIG_SHELL-/bin/sh}
421 # Maximum number of lines to put in a shell here document.
422 ac_max_here_lines=12
423
424 ac_prev=
425 for ac_option
426 do
427
428 # If the previous option needs an argument, assign it.
429 if test -n "$ac_prev"; then
430 eval "$ac_prev=\$ac_option"
431 ac_prev=
432 continue
433 fi
434
435 case "$ac_option" in
436 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
437 *) ac_optarg= ;;
438 esac
439
440 # Accept the important Cygnus configure options, so we can diagnose typos.
441
442 case "$ac_option" in
443
444 -bindir | --bindir | --bindi | --bind | --bin | --bi)
445 ac_prev=bindir ;;
446 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
447 bindir="$ac_optarg" ;;
448
449 -build | --build | --buil | --bui | --bu)
450 ac_prev=build ;;
451 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
452 build="$ac_optarg" ;;
453
454 -cache-file | --cache-file | --cache-fil | --cache-fi \
455 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
456 ac_prev=cache_file ;;
457 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
458 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
459 cache_file="$ac_optarg" ;;
460
461 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
462 ac_prev=datadir ;;
463 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
464 | --da=*)
465 datadir="$ac_optarg" ;;
466
467 -disable-* | --disable-*)
468 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
469 # Reject names that are not valid shell variable names.
470 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
471 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
472 fi
473 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
474 eval "enable_${ac_feature}=no" ;;
475
476 -enable-* | --enable-*)
477 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
478 # Reject names that are not valid shell variable names.
479 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
480 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
481 fi
482 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
483 case "$ac_option" in
484 *=*) ;;
485 *) ac_optarg=yes ;;
486 esac
487 eval "enable_${ac_feature}='$ac_optarg'" ;;
488
489 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
490 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
491 | --exec | --exe | --ex)
492 ac_prev=exec_prefix ;;
493 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
494 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
495 | --exec=* | --exe=* | --ex=*)
496 exec_prefix="$ac_optarg" ;;
497
498 -gas | --gas | --ga | --g)
499 # Obsolete; use --with-gas.
500 with_gas=yes ;;
501
502 -help | --help | --hel | --he)
503 # Omit some internal or obsolete options to make the list less imposing.
504 # This message is too long to be a string in the A/UX 3.1 sh.
505 cat << EOF
506 Usage: configure [options] [host]
507 Options: [defaults in brackets after descriptions]
508 Configuration:
509 --cache-file=FILE cache test results in FILE
510 --help print this message
511 --no-create do not create output files
512 --quiet, --silent do not print \`checking...' messages
513 --version print the version of autoconf that created configure
514 Directory and file names:
515 --prefix=PREFIX install architecture-independent files in PREFIX
516 [$ac_default_prefix]
517 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
518 [same as prefix]
519 --bindir=DIR user executables in DIR [EPREFIX/bin]
520 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
521 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
522 --datadir=DIR read-only architecture-independent data in DIR
523 [PREFIX/share]
524 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
525 --sharedstatedir=DIR modifiable architecture-independent data in DIR
526 [PREFIX/com]
527 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
528 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
529 --includedir=DIR C header files in DIR [PREFIX/include]
530 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
531 --infodir=DIR info documentation in DIR [PREFIX/info]
532 --mandir=DIR man documentation in DIR [PREFIX/man]
533 --srcdir=DIR find the sources in DIR [configure dir or ..]
534 --program-prefix=PREFIX prepend PREFIX to installed program names
535 --program-suffix=SUFFIX append SUFFIX to installed program names
536 --program-transform-name=PROGRAM
537 run sed PROGRAM on installed program names
538 EOF
539 cat << EOF
540 Host type:
541 --build=BUILD configure for building on BUILD [BUILD=HOST]
542 --host=HOST configure for HOST [guessed]
543 --target=TARGET configure for TARGET [TARGET=HOST]
544 Features and packages:
545 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
546 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
547 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
548 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
549 --x-includes=DIR X include files are in DIR
550 --x-libraries=DIR X library files are in DIR
551 EOF
552 if test -n "$ac_help"; then
553 echo "--enable and --with options recognized:$ac_help"
554 fi
555 exit 0 ;;
556
557 -host | --host | --hos | --ho)
558 ac_prev=host ;;
559 -host=* | --host=* | --hos=* | --ho=*)
560 host="$ac_optarg" ;;
561
562 -includedir | --includedir | --includedi | --included | --include \
563 | --includ | --inclu | --incl | --inc)
564 ac_prev=includedir ;;
565 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
566 | --includ=* | --inclu=* | --incl=* | --inc=*)
567 includedir="$ac_optarg" ;;
568
569 -infodir | --infodir | --infodi | --infod | --info | --inf)
570 ac_prev=infodir ;;
571 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
572 infodir="$ac_optarg" ;;
573
574 -libdir | --libdir | --libdi | --libd)
575 ac_prev=libdir ;;
576 -libdir=* | --libdir=* | --libdi=* | --libd=*)
577 libdir="$ac_optarg" ;;
578
579 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
580 | --libexe | --libex | --libe)
581 ac_prev=libexecdir ;;
582 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
583 | --libexe=* | --libex=* | --libe=*)
584 libexecdir="$ac_optarg" ;;
585
586 -localstatedir | --localstatedir | --localstatedi | --localstated \
587 | --localstate | --localstat | --localsta | --localst \
588 | --locals | --local | --loca | --loc | --lo)
589 ac_prev=localstatedir ;;
590 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
591 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
592 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
593 localstatedir="$ac_optarg" ;;
594
595 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
596 ac_prev=mandir ;;
597 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
598 mandir="$ac_optarg" ;;
599
600 -nfp | --nfp | --nf)
601 # Obsolete; use --without-fp.
602 with_fp=no ;;
603
604 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
605 | --no-cr | --no-c)
606 no_create=yes ;;
607
608 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
609 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
610 no_recursion=yes ;;
611
612 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
613 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
614 | --oldin | --oldi | --old | --ol | --o)
615 ac_prev=oldincludedir ;;
616 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
617 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
618 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
619 oldincludedir="$ac_optarg" ;;
620
621 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
622 ac_prev=prefix ;;
623 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
624 prefix="$ac_optarg" ;;
625
626 -program-prefix | --program-prefix | --program-prefi | --program-pref \
627 | --program-pre | --program-pr | --program-p)
628 ac_prev=program_prefix ;;
629 -program-prefix=* | --program-prefix=* | --program-prefi=* \
630 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
631 program_prefix="$ac_optarg" ;;
632
633 -program-suffix | --program-suffix | --program-suffi | --program-suff \
634 | --program-suf | --program-su | --program-s)
635 ac_prev=program_suffix ;;
636 -program-suffix=* | --program-suffix=* | --program-suffi=* \
637 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
638 program_suffix="$ac_optarg" ;;
639
640 -program-transform-name | --program-transform-name \
641 | --program-transform-nam | --program-transform-na \
642 | --program-transform-n | --program-transform- \
643 | --program-transform | --program-transfor \
644 | --program-transfo | --program-transf \
645 | --program-trans | --program-tran \
646 | --progr-tra | --program-tr | --program-t)
647 ac_prev=program_transform_name ;;
648 -program-transform-name=* | --program-transform-name=* \
649 | --program-transform-nam=* | --program-transform-na=* \
650 | --program-transform-n=* | --program-transform-=* \
651 | --program-transform=* | --program-transfor=* \
652 | --program-transfo=* | --program-transf=* \
653 | --program-trans=* | --program-tran=* \
654 | --progr-tra=* | --program-tr=* | --program-t=*)
655 program_transform_name="$ac_optarg" ;;
656
657 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
658 | -silent | --silent | --silen | --sile | --sil)
659 silent=yes ;;
660
661 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
662 ac_prev=sbindir ;;
663 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
664 | --sbi=* | --sb=*)
665 sbindir="$ac_optarg" ;;
666
667 -sharedstatedir | --sharedstatedir | --sharedstatedi \
668 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
669 | --sharedst | --shareds | --shared | --share | --shar \
670 | --sha | --sh)
671 ac_prev=sharedstatedir ;;
672 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
673 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
674 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
675 | --sha=* | --sh=*)
676 sharedstatedir="$ac_optarg" ;;
677
678 -site | --site | --sit)
679 ac_prev=site ;;
680 -site=* | --site=* | --sit=*)
681 site="$ac_optarg" ;;
682
683 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
684 ac_prev=srcdir ;;
685 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
686 srcdir="$ac_optarg" ;;
687
688 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
689 | --syscon | --sysco | --sysc | --sys | --sy)
690 ac_prev=sysconfdir ;;
691 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
692 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
693 sysconfdir="$ac_optarg" ;;
694
695 -target | --target | --targe | --targ | --tar | --ta | --t)
696 ac_prev=target ;;
697 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
698 target="$ac_optarg" ;;
699
700 -v | -verbose | --verbose | --verbos | --verbo | --verb)
701 verbose=yes ;;
702
703 -version | --version | --versio | --versi | --vers)
704 echo "configure generated by autoconf version 2.13"
705 exit 0 ;;
706
707 -with-* | --with-*)
708 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
709 # Reject names that are not valid shell variable names.
710 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
711 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
712 fi
713 ac_package=`echo $ac_package| sed 's/-/_/g'`
714 case "$ac_option" in
715 *=*) ;;
716 *) ac_optarg=yes ;;
717 esac
718 eval "with_${ac_package}='$ac_optarg'" ;;
719
720 -without-* | --without-*)
721 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
722 # Reject names that are not valid shell variable names.
723 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
724 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
725 fi
726 ac_package=`echo $ac_package| sed 's/-/_/g'`
727 eval "with_${ac_package}=no" ;;
728
729 --x)
730 # Obsolete; use --with-x.
731 with_x=yes ;;
732
733 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
734 | --x-incl | --x-inc | --x-in | --x-i)
735 ac_prev=x_includes ;;
736 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
737 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
738 x_includes="$ac_optarg" ;;
739
740 -x-libraries | --x-libraries | --x-librarie | --x-librari \
741 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
742 ac_prev=x_libraries ;;
743 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
744 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
745 x_libraries="$ac_optarg" ;;
746
747 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
748 ;;
749
750 *)
751 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
752 echo "configure: warning: $ac_option: invalid host type" 1>&2
753 fi
754 if test "x$nonopt" != xNONE; then
755 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
756 fi
757 nonopt="$ac_option"
758 ;;
759
760 esac
761 done
762
763 if test -n "$ac_prev"; then
764 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
765 fi
766
767 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
768
769 # File descriptor usage:
770 # 0 standard input
771 # 1 file creation
772 # 2 errors and warnings
773 # 3 some systems may open it to /dev/tty
774 # 4 used on the Kubota Titan
775 # 6 checking for... messages and results
776 # 5 compiler messages saved in config.log
777 if test "$silent" = yes; then
778 exec 6>/dev/null
779 else
780 exec 6>&1
781 fi
782 exec 5>./config.log
783
784 echo "\
785 This file contains any messages produced by compilers while
786 running configure, to aid debugging if configure makes a mistake.
787 " 1>&5
788
789 # Strip out --no-create and --no-recursion so they do not pile up.
790 # Also quote any args containing shell metacharacters.
791 ac_configure_args=
792 for ac_arg
793 do
794 case "$ac_arg" in
795 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
796 | --no-cr | --no-c) ;;
797 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
798 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
799 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
800 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
801 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
802 esac
803 done
804
805 # NLS nuisances.
806 # Only set these to C if already set. These must not be set unconditionally
807 # because not all systems understand e.g. LANG=C (notably SCO).
808 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
809 # Non-C LC_CTYPE values break the ctype check.
810 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
811 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
812 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
813 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
814
815 # confdefs.h avoids OS command line length limits that DEFS can exceed.
816 rm -rf conftest* confdefs.h
817 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
818 echo > confdefs.h
819
820 # A filename unique to this package, relative to the directory that
821 # configure is in, which we can look for to find out if srcdir is correct.
822 ac_unique_file=wx-config.in
823
824 # Find the source files, if location was not specified.
825 if test -z "$srcdir"; then
826 ac_srcdir_defaulted=yes
827 # Try the directory containing this script, then its parent.
828 ac_prog=$0
829 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
830 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
831 srcdir=$ac_confdir
832 if test ! -r $srcdir/$ac_unique_file; then
833 srcdir=..
834 fi
835 else
836 ac_srcdir_defaulted=no
837 fi
838 if test ! -r $srcdir/$ac_unique_file; then
839 if test "$ac_srcdir_defaulted" = yes; then
840 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
841 else
842 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
843 fi
844 fi
845 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
846
847 # Prefer explicitly selected file to automatically selected ones.
848 if test -z "$CONFIG_SITE"; then
849 if test "x$prefix" != xNONE; then
850 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
851 else
852 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
853 fi
854 fi
855 for ac_site_file in $CONFIG_SITE; do
856 if test -r "$ac_site_file"; then
857 echo "loading site script $ac_site_file"
858 . "$ac_site_file"
859 fi
860 done
861
862 if test -r "$cache_file"; then
863 echo "loading cache $cache_file"
864 . $cache_file
865 else
866 echo "creating cache $cache_file"
867 > $cache_file
868 fi
869
870 ac_ext=c
871 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
872 ac_cpp='$CPP $CPPFLAGS'
873 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
874 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
875 cross_compiling=$ac_cv_prog_cc_cross
876
877 ac_exeext=
878 ac_objext=o
879 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
880 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
881 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
882 ac_n= ac_c='
883 ' ac_t=' '
884 else
885 ac_n=-n ac_c= ac_t=
886 fi
887 else
888 ac_n= ac_c='\c' ac_t=
889 fi
890
891
892
893 ac_aux_dir=
894 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
895 if test -f $ac_dir/install-sh; then
896 ac_aux_dir=$ac_dir
897 ac_install_sh="$ac_aux_dir/install-sh -c"
898 break
899 elif test -f $ac_dir/install.sh; then
900 ac_aux_dir=$ac_dir
901 ac_install_sh="$ac_aux_dir/install.sh -c"
902 break
903 fi
904 done
905 if test -z "$ac_aux_dir"; then
906 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
907 fi
908 ac_config_guess=$ac_aux_dir/config.guess
909 ac_config_sub=$ac_aux_dir/config.sub
910 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
911
912
913 # Do some error checking and defaulting for the host and target type.
914 # The inputs are:
915 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
916 #
917 # The rules are:
918 # 1. You are not allowed to specify --host, --target, and nonopt at the
919 # same time.
920 # 2. Host defaults to nonopt.
921 # 3. If nonopt is not specified, then host defaults to the current host,
922 # as determined by config.guess.
923 # 4. Target and build default to nonopt.
924 # 5. If nonopt is not specified, then target and build default to host.
925
926 # The aliases save the names the user supplied, while $host etc.
927 # will get canonicalized.
928 case $host---$target---$nonopt in
929 NONE---*---* | *---NONE---* | *---*---NONE) ;;
930 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
931 esac
932
933
934 # Make sure we can run config.sub.
935 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
936 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
937 fi
938
939 echo $ac_n "checking host system type""... $ac_c" 1>&6
940 echo "configure:941: checking host system type" >&5
941
942 host_alias=$host
943 case "$host_alias" in
944 NONE)
945 case $nonopt in
946 NONE)
947 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
948 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
949 fi ;;
950 *) host_alias=$nonopt ;;
951 esac ;;
952 esac
953
954 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
955 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
956 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
957 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
958 echo "$ac_t""$host" 1>&6
959
960 echo $ac_n "checking target system type""... $ac_c" 1>&6
961 echo "configure:962: checking target system type" >&5
962
963 target_alias=$target
964 case "$target_alias" in
965 NONE)
966 case $nonopt in
967 NONE) target_alias=$host_alias ;;
968 *) target_alias=$nonopt ;;
969 esac ;;
970 esac
971
972 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
973 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
974 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
975 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
976 echo "$ac_t""$target" 1>&6
977
978 echo $ac_n "checking build system type""... $ac_c" 1>&6
979 echo "configure:980: checking build system type" >&5
980
981 build_alias=$build
982 case "$build_alias" in
983 NONE)
984 case $nonopt in
985 NONE) build_alias=$host_alias ;;
986 *) build_alias=$nonopt ;;
987 esac ;;
988 esac
989
990 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
991 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
992 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
993 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
994 echo "$ac_t""$build" 1>&6
995
996 test "$host_alias" != "$target_alias" &&
997 test "$program_prefix$program_suffix$program_transform_name" = \
998 NONENONEs,x,x, &&
999 program_prefix=${target_alias}-
1000
1001
1002
1003 WX_MAJOR_VERSION_NUMBER=2
1004 WX_MINOR_VERSION_NUMBER=3
1005 WX_RELEASE_NUMBER=2
1006
1007 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1008 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1009
1010 WX_CURRENT=1
1011 WX_REVISION=0
1012 WX_AGE=0
1013
1014
1015
1016 USE_UNIX=1
1017 USE_WIN32=0
1018 USE_BEOS=0
1019 USE_MAC=0
1020
1021 USE_LINUX=
1022 USE_SGI=
1023 USE_HPUX=
1024 USE_SYSV=
1025 USE_SVR4=
1026 USE_AIX=
1027 USE_SUN=
1028 USE_SOLARIS=
1029 USE_SUNOS=
1030 USE_ALPHA=
1031 USE_IA64=
1032 USE_OSF=
1033 USE_BSD=
1034 USE_DARWIN=
1035 USE_FREEBSD=
1036 USE_OPENBSD=
1037 USE_NETBSD=
1038 USE_VMS=
1039 USE_ULTRIX=
1040 USE_CYGWIN=
1041 USE_MINGW=
1042 USE_DATA_GENERAL=
1043
1044 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1045
1046 ALL_TOOLKITS="CYGWIN GTK MAC MGL MINGW MOTIF PM WINE"
1047
1048 DEFAULT_wxUSE_GTK=0
1049 DEFAULT_wxUSE_MAC=0
1050 DEFAULT_wxUSE_MGL=0
1051 DEFAULT_wxUSE_MOTIF=0
1052 DEFAULT_wxUSE_MSW=0
1053 DEFAULT_wxUSE_PM=0
1054 DEFAULT_wxUSE_WINE=0
1055
1056 DEFAULT_DEFAULT_wxUSE_GTK=0
1057 DEFAULT_DEFAULT_wxUSE_MAC=0
1058 DEFAULT_DEFAULT_wxUSE_MGL=0
1059 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1060 DEFAULT_DEFAULT_wxUSE_MSW=0
1061 DEFAULT_DEFAULT_wxUSE_PM=0
1062 DEFAULT_DEFAULT_wxUSE_WINE=0
1063
1064 PROGRAM_EXT=
1065 SO_SUFFIX=so
1066
1067 case "${host}" in
1068 *-hp-hpux* )
1069 USE_HPUX=1
1070 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1071 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1072 SO_SUFFIX=sl
1073 cat >> confdefs.h <<\EOF
1074 #define __HPUX__ 1
1075 EOF
1076
1077 ;;
1078 *-*-linux* )
1079 USE_LINUX=1
1080 cat >> confdefs.h <<\EOF
1081 #define __LINUX__ 1
1082 EOF
1083
1084 TMP=`uname -m`
1085 if test "x$TMP" = "xalpha"; then
1086 USE_ALPHA=1
1087 cat >> confdefs.h <<\EOF
1088 #define __ALPHA__ 1
1089 EOF
1090
1091 fi
1092 if test "x$TMP" = "xia64"; then
1093 USE_IA64=1
1094 cat >> confdefs.h <<\EOF
1095 #define __IA64__ 1
1096 EOF
1097
1098 fi
1099 DEFAULT_DEFAULT_wxUSE_GTK=1
1100 ;;
1101 *-*-irix5* | *-*-irix6* )
1102 USE_SGI=1
1103 USE_SVR4=1
1104 cat >> confdefs.h <<\EOF
1105 #define __SGI__ 1
1106 EOF
1107
1108 cat >> confdefs.h <<\EOF
1109 #define __SVR4__ 1
1110 EOF
1111
1112 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1113 ;;
1114 *-*-solaris2* )
1115 USE_SUN=1
1116 USE_SOLARIS=1
1117 USE_SVR4=1
1118 cat >> confdefs.h <<\EOF
1119 #define __SUN__ 1
1120 EOF
1121
1122 cat >> confdefs.h <<\EOF
1123 #define __SOLARIS__ 1
1124 EOF
1125
1126 cat >> confdefs.h <<\EOF
1127 #define __SVR4__ 1
1128 EOF
1129
1130 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1131 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1132 ;;
1133 *-*-sunos4* )
1134 USE_SUN=1
1135 USE_SUNOS=1
1136 USE_BSD=1
1137 cat >> confdefs.h <<\EOF
1138 #define __SUN__ 1
1139 EOF
1140
1141 cat >> confdefs.h <<\EOF
1142 #define __SUNOS__ 1
1143 EOF
1144
1145 cat >> confdefs.h <<\EOF
1146 #define __BSD__ 1
1147 EOF
1148
1149 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1150 ;;
1151 *-*-freebsd*)
1152 USE_BSD=1
1153 USE_FREEBSD=1
1154 cat >> confdefs.h <<\EOF
1155 #define __FREEBSD__ 1
1156 EOF
1157
1158 cat >> confdefs.h <<\EOF
1159 #define __BSD__ 1
1160 EOF
1161
1162 DEFAULT_DEFAULT_wxUSE_GTK=1
1163 ;;
1164 *-*-openbsd*)
1165 USE_BSD=1
1166 USE_OPENBSD=1
1167 cat >> confdefs.h <<\EOF
1168 #define __FREEBSD__ 1
1169 EOF
1170
1171 cat >> confdefs.h <<\EOF
1172 #define __OPENBSD__ 1
1173 EOF
1174
1175 DEFAULT_DEFAULT_wxUSE_GTK=1
1176 ;;
1177 *-*-netbsd*)
1178 USE_BSD=1
1179 USE_NETBSD=1
1180 cat >> confdefs.h <<\EOF
1181 #define __FREEBSD__ 1
1182 EOF
1183
1184 cat >> confdefs.h <<\EOF
1185 #define __NETBSD__ 1
1186 EOF
1187
1188 DEFAULT_DEFAULT_wxUSE_GTK=1
1189 ;;
1190 *-*-osf* )
1191 USE_ALPHA=1
1192 USE_OSF=1
1193 cat >> confdefs.h <<\EOF
1194 #define __ALPHA__ 1
1195 EOF
1196
1197 cat >> confdefs.h <<\EOF
1198 #define __OSF__ 1
1199 EOF
1200
1201 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1202 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1203 ;;
1204 *-*-dgux5* )
1205 USE_ALPHA=1
1206 USE_SVR4=1
1207 cat >> confdefs.h <<\EOF
1208 #define __ALPHA__ 1
1209 EOF
1210
1211 cat >> confdefs.h <<\EOF
1212 #define __SVR4__ 1
1213 EOF
1214
1215 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1216 ;;
1217 *-*-sysv5* )
1218 USE_SYSV=1
1219 USE_SVR4=1
1220 cat >> confdefs.h <<\EOF
1221 #define __SYSV__ 1
1222 EOF
1223
1224 cat >> confdefs.h <<\EOF
1225 #define __SVR4__ 1
1226 EOF
1227
1228 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1229 ;;
1230 *-*-aix* )
1231 USE_AIX=1
1232 USE_SYSV=1
1233 USE_SVR4=1
1234 cat >> confdefs.h <<\EOF
1235 #define __AIX__ 1
1236 EOF
1237
1238 cat >> confdefs.h <<\EOF
1239 #define __SYSV__ 1
1240 EOF
1241
1242 cat >> confdefs.h <<\EOF
1243 #define __SVR4__ 1
1244 EOF
1245
1246 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1247 ;;
1248
1249 *-*-cygwin* | *-*-mingw32* )
1250 USE_UNIX=0
1251 USE_WIN32=1
1252 SO_SUFFIX=dll
1253 cat >> confdefs.h <<\EOF
1254 #define __WIN32__ 1
1255 EOF
1256
1257 cat >> confdefs.h <<\EOF
1258 #define __WIN95__ 1
1259 EOF
1260
1261 cat >> confdefs.h <<\EOF
1262 #define __WINDOWS__ 1
1263 EOF
1264
1265 cat >> confdefs.h <<\EOF
1266 #define __GNUWIN32__ 1
1267 EOF
1268
1269 cat >> confdefs.h <<\EOF
1270 #define STRICT 1
1271 EOF
1272
1273 cat >> confdefs.h <<\EOF
1274 #define WINVER 0x0400
1275 EOF
1276
1277 PROGRAM_EXT=".exe"
1278 RESCOMP=windres
1279 DEFAULT_DEFAULT_wxUSE_MSW=1
1280 ;;
1281
1282 *-pc-os2_emx )
1283 cat >> confdefs.h <<\EOF
1284 #define __EMX__ 1
1285 EOF
1286
1287 PROGRAM_EXT=".exe"
1288 DEFAULT_DEFAULT_wxUSE_PM=1
1289 ;;
1290
1291 powerpc-*-darwin* )
1292 USE_BSD=1
1293 USE_DARWIN=1
1294 SO_SUFFIX=dylib
1295 cat >> confdefs.h <<\EOF
1296 #define __BSD__ 1
1297 EOF
1298
1299 cat >> confdefs.h <<\EOF
1300 #define __DARWIN__ 1
1301 EOF
1302
1303 cat >> confdefs.h <<\EOF
1304 #define __POWERPC__ 1
1305 EOF
1306
1307 DEFAULT_DEFAULT_wxUSE_MAC=1
1308 ;;
1309
1310 *-*-beos* )
1311 USE_BEOS=1
1312 cat >> confdefs.h <<\EOF
1313 #define __BEOS__ 1
1314 EOF
1315
1316 ;;
1317
1318 *)
1319 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1320 esac
1321
1322 if test "$USE_UNIX" = 1 ; then
1323 wxUSE_UNIX=yes
1324 cat >> confdefs.h <<\EOF
1325 #define __UNIX__ 1
1326 EOF
1327
1328 fi
1329
1330 if test "$USE_LINUX" = 1; then
1331 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1332 echo "configure:1333: checking for glibc 2.1 or later" >&5
1333 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1334 echo $ac_n "(cached) $ac_c" 1>&6
1335 else
1336 cat > conftest.$ac_ext <<EOF
1337 #line 1338 "configure"
1338 #include "confdefs.h"
1339 #include <features.h>
1340 int main() {
1341
1342 #if !__GLIBC_PREREQ(2, 1)
1343 #error not glibc2.1
1344 #endif
1345
1346 ; return 0; }
1347 EOF
1348 if { (eval echo configure:1349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1349 rm -rf conftest*
1350
1351 wx_lib_glibc21=yes
1352
1353 else
1354 echo "configure: failed program was:" >&5
1355 cat conftest.$ac_ext >&5
1356 rm -rf conftest*
1357
1358 wx_lib_glibc21=no
1359
1360
1361 fi
1362 rm -f conftest*
1363
1364 fi
1365
1366 echo "$ac_t""$wx_lib_glibc21" 1>&6
1367 if test "$wx_lib_glibc21" = "yes"; then
1368 cat >> confdefs.h <<\EOF
1369 #define wxHAVE_GLIBC2 1
1370 EOF
1371
1372 fi
1373 fi
1374
1375
1376
1377
1378 wx_arg_cache_file="configarg.cache"
1379 echo "loading argument cache $wx_arg_cache_file"
1380 rm -f ${wx_arg_cache_file}.tmp
1381 touch ${wx_arg_cache_file}.tmp
1382 touch ${wx_arg_cache_file}
1383
1384
1385 DEBUG_CONFIGURE=0
1386 if test $DEBUG_CONFIGURE = 1; then
1387 DEFAULT_wxUSE_UNIVERSAL=no
1388
1389 DEFAULT_wxUSE_THREADS=yes
1390
1391 DEFAULT_wxUSE_SHARED=yes
1392 DEFAULT_wxUSE_SONAME=no
1393 DEFAULT_wxUSE_OPTIMISE=no
1394 DEFAULT_wxUSE_PROFILE=no
1395 DEFAULT_wxUSE_NO_DEPS=no
1396 DEFAULT_wxUSE_NO_RTTI=no
1397 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1398 DEFAULT_wxUSE_PERMISSIVE=no
1399 DEFAULT_wxUSE_DEBUG_FLAG=yes
1400 DEFAULT_wxUSE_DEBUG_INFO=yes
1401 DEFAULT_wxUSE_DEBUG_GDB=yes
1402 DEFAULT_wxUSE_MEM_TRACING=no
1403 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1404 DEFAULT_wxUSE_DMALLOC=no
1405 DEFAULT_wxUSE_PRECOMP=yes
1406 DEFAULT_wxUSE_APPLE_IEEE=no
1407
1408 DEFAULT_wxUSE_LOG=yes
1409 DEFAULT_wxUSE_LOGWINDOW=no
1410 DEFAULT_wxUSE_LOGGUI=no
1411
1412 DEFAULT_wxUSE_GUI=yes
1413 DEFAULT_wxUSE_CONTROLS=no
1414
1415 DEFAULT_wxUSE_REGEX=no
1416 DEFAULT_wxUSE_ZLIB=no
1417 DEFAULT_wxUSE_LIBPNG=no
1418 DEFAULT_wxUSE_LIBJPEG=no
1419 DEFAULT_wxUSE_LIBTIFF=no
1420 DEFAULT_wxUSE_ODBC=no
1421 DEFAULT_wxUSE_FREETYPE=no
1422 DEFAULT_wxUSE_OPENGL=no
1423
1424 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1425 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1426 DEFAULT_wxUSE_STD_IOSTREAM=no
1427 DEFAULT_wxUSE_CMDLINE_PARSER=no
1428 DEFAULT_wxUSE_DATETIME=no
1429 DEFAULT_wxUSE_TIMEDATE=no
1430 DEFAULT_wxUSE_TIMER=no
1431 DEFAULT_wxUSE_STOPWATCH=no
1432 DEFAULT_wxUSE_FILE=no
1433 DEFAULT_wxUSE_FFILE=no
1434 DEFAULT_wxUSE_TEXTFILE=no
1435 DEFAULT_wxUSE_WAVE=no
1436 DEFAULT_wxUSE_INTL=no
1437 DEFAULT_wxUSE_CONFIG=no
1438 DEFAULT_wxUSE_FONTMAP=no
1439 DEFAULT_wxUSE_STREAMS=no
1440 DEFAULT_wxUSE_SOCKETS=no
1441 DEFAULT_wxUSE_DIALUP_MANAGER=no
1442 DEFAULT_wxUSE_SERIAL=no
1443 DEFAULT_wxUSE_JOYSTICK=no
1444 DEFAULT_wxUSE_DYNLIB_CLASS=no
1445 DEFAULT_wxUSE_LONGLONG=no
1446 DEFAULT_wxUSE_GEOMETRY=no
1447
1448 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
1449 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
1450 DEFAULT_wxUSE_POSTSCRIPT=no
1451
1452 DEFAULT_wxUSE_X_RESOURCES=no
1453 DEFAULT_wxUSE_CLIPBOARD=no
1454 DEFAULT_wxUSE_TOOLTIPS=no
1455 DEFAULT_wxUSE_DRAG_AND_DROP=no
1456 DEFAULT_wxUSE_DRAGIMAGE=no
1457 DEFAULT_wxUSE_SPLINES=no
1458
1459 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
1460 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
1461 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
1462
1463 DEFAULT_wxUSE_PROLOGIO=no
1464 DEFAULT_wxUSE_RESOURCES=no
1465 DEFAULT_wxUSE_CONSTRAINTS=no
1466 DEFAULT_wxUSE_IPC=no
1467 DEFAULT_wxUSE_HELP=no
1468 DEFAULT_wxUSE_MS_HTML_HELP=no
1469 DEFAULT_wxUSE_WXHTML_HELP=no
1470 DEFAULT_wxUSE_TREELAYOUT=no
1471 DEFAULT_wxUSE_METAFILE=no
1472 DEFAULT_wxUSE_MIMETYPE=no
1473 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
1474
1475 DEFAULT_wxUSE_COMMONDLGS=no
1476 DEFAULT_wxUSE_CHOICEDLG=no
1477 DEFAULT_wxUSE_COLOURDLG=no
1478 DEFAULT_wxUSE_DIRDLG=no
1479 DEFAULT_wxUSE_FILEDLG=no
1480 DEFAULT_wxUSE_FINDREPLDLG=no
1481 DEFAULT_wxUSE_FONTDLG=no
1482 DEFAULT_wxUSE_MSGDLG=no
1483 DEFAULT_wxUSE_NUMBERDLG=no
1484 DEFAULT_wxUSE_TEXTDLG=no
1485 DEFAULT_wxUSE_SPLASH=no
1486 DEFAULT_wxUSE_STARTUP_TIPS=no
1487 DEFAULT_wxUSE_PROGRESSDLG=no
1488 DEFAULT_wxUSE_WIZARDDLG=no
1489
1490 DEFAULT_wxUSE_MENUS=no
1491 DEFAULT_wxUSE_MINIFRAME=no
1492 DEFAULT_wxUSE_HTML=no
1493 DEFAULT_wxUSE_FILESYSTEM=no
1494 DEFAULT_wxUSE_FS_INET=no
1495 DEFAULT_wxUSE_FS_ZIP=no
1496 DEFAULT_wxUSE_BUSYINFO=no
1497 DEFAULT_wxUSE_ZIPSTREAM=no
1498 DEFAULT_wxUSE_VALIDATORS=no
1499
1500 DEFAULT_wxUSE_ACCEL=no
1501 DEFAULT_wxUSE_BUTTON=no
1502 DEFAULT_wxUSE_BMPBUTTON=no
1503 DEFAULT_wxUSE_CALCTRL=no
1504 DEFAULT_wxUSE_CARET=no
1505 DEFAULT_wxUSE_CHECKBOX=no
1506 DEFAULT_wxUSE_CHECKLST=no
1507 DEFAULT_wxUSE_CHOICE=no
1508 DEFAULT_wxUSE_COMBOBOX=no
1509 DEFAULT_wxUSE_GAUGE=no
1510 DEFAULT_wxUSE_GRID=no
1511 DEFAULT_wxUSE_NEW_GRID=no
1512 DEFAULT_wxUSE_IMAGLIST=no
1513 DEFAULT_wxUSE_LISTBOX=no
1514 DEFAULT_wxUSE_LISTCTRL=no
1515 DEFAULT_wxUSE_NOTEBOOK=no
1516 DEFAULT_wxUSE_PROPSHEET=no
1517 DEFAULT_wxUSE_RADIOBOX=no
1518 DEFAULT_wxUSE_RADIOBTN=no
1519 DEFAULT_wxUSE_SASH=no
1520 DEFAULT_wxUSE_SCROLLBAR=no
1521 DEFAULT_wxUSE_SLIDER=no
1522 DEFAULT_wxUSE_SPINBTN=no
1523 DEFAULT_wxUSE_SPINCTRL=no
1524 DEFAULT_wxUSE_SPLITTER=no
1525 DEFAULT_wxUSE_STATBMP=no
1526 DEFAULT_wxUSE_STATBOX=no
1527 DEFAULT_wxUSE_STATLINE=no
1528 DEFAULT_wxUSE_STATTEXT=no
1529 DEFAULT_wxUSE_STATUSBAR=yes
1530 DEFAULT_wxUSE_TABDIALOG=no
1531 DEFAULT_wxUSE_TEXTCTRL=no
1532 DEFAULT_wxUSE_TOGGLEBTN=no
1533 DEFAULT_wxUSE_TOOLBAR=no
1534 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
1535 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
1536 DEFAULT_wxUSE_TREECTRL=no
1537 DEFAULT_wxUSE_POPUPWIN=no
1538
1539 DEFAULT_wxUSE_UNICODE=no
1540 DEFAULT_wxUSE_WCSRTOMBS=no
1541
1542 DEFAULT_wxUSE_PALETTE=no
1543 DEFAULT_wxUSE_IMAGE=no
1544 DEFAULT_wxUSE_GIF=no
1545 DEFAULT_wxUSE_PCX=no
1546 DEFAULT_wxUSE_PNM=no
1547 DEFAULT_wxUSE_XPM=no
1548 else
1549 DEFAULT_wxUSE_UNIVERSAL=no
1550
1551 DEFAULT_wxUSE_THREADS=yes
1552
1553 DEFAULT_wxUSE_SHARED=yes
1554 DEFAULT_wxUSE_SONAME=no
1555 DEFAULT_wxUSE_OPTIMISE=yes
1556 DEFAULT_wxUSE_PROFILE=no
1557 DEFAULT_wxUSE_NO_DEPS=no
1558 DEFAULT_wxUSE_NO_RTTI=no
1559 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1560 DEFAULT_wxUSE_PERMISSIVE=no
1561 DEFAULT_wxUSE_DEBUG_FLAG=no
1562 DEFAULT_wxUSE_DEBUG_INFO=no
1563 DEFAULT_wxUSE_DEBUG_GDB=no
1564 DEFAULT_wxUSE_MEM_TRACING=no
1565 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1566 DEFAULT_wxUSE_DMALLOC=no
1567 DEFAULT_wxUSE_PRECOMP=yes
1568 DEFAULT_wxUSE_APPLE_IEEE=yes
1569
1570 DEFAULT_wxUSE_LOG=yes
1571 DEFAULT_wxUSE_LOGWINDOW=yes
1572 DEFAULT_wxUSE_LOGGUI=yes
1573
1574 DEFAULT_wxUSE_GUI=yes
1575
1576 DEFAULT_wxUSE_REGEX=yes
1577 DEFAULT_wxUSE_ZLIB=yes
1578 DEFAULT_wxUSE_LIBPNG=yes
1579 DEFAULT_wxUSE_LIBJPEG=yes
1580 DEFAULT_wxUSE_LIBTIFF=yes
1581 DEFAULT_wxUSE_ODBC=no
1582 DEFAULT_wxUSE_FREETYPE=no
1583 DEFAULT_wxUSE_OPENGL=no
1584
1585 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
1586 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
1587 DEFAULT_wxUSE_STD_IOSTREAM=no
1588 DEFAULT_wxUSE_CMDLINE_PARSER=yes
1589 DEFAULT_wxUSE_DATETIME=yes
1590 DEFAULT_wxUSE_TIMEDATE=no
1591 DEFAULT_wxUSE_TIMER=yes
1592 DEFAULT_wxUSE_STOPWATCH=yes
1593 DEFAULT_wxUSE_FILE=yes
1594 DEFAULT_wxUSE_FFILE=yes
1595 DEFAULT_wxUSE_TEXTFILE=yes
1596 DEFAULT_wxUSE_WAVE=no
1597 DEFAULT_wxUSE_INTL=yes
1598 DEFAULT_wxUSE_CONFIG=yes
1599 DEFAULT_wxUSE_FONTMAP=yes
1600 DEFAULT_wxUSE_STREAMS=yes
1601 DEFAULT_wxUSE_SOCKETS=yes
1602 DEFAULT_wxUSE_DIALUP_MANAGER=yes
1603 DEFAULT_wxUSE_SERIAL=yes
1604 DEFAULT_wxUSE_JOYSTICK=yes
1605 DEFAULT_wxUSE_DYNLIB_CLASS=yes
1606 DEFAULT_wxUSE_LONGLONG=yes
1607 DEFAULT_wxUSE_GEOMETRY=yes
1608
1609 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
1610 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
1611 DEFAULT_wxUSE_POSTSCRIPT=yes
1612
1613 DEFAULT_wxUSE_X_RESOURCES=no
1614 DEFAULT_wxUSE_CLIPBOARD=yes
1615 DEFAULT_wxUSE_TOOLTIPS=yes
1616 DEFAULT_wxUSE_DRAG_AND_DROP=yes
1617 DEFAULT_wxUSE_DRAGIMAGE=yes
1618 DEFAULT_wxUSE_SPLINES=yes
1619
1620 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
1621 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
1622 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
1623
1624 DEFAULT_wxUSE_PROLOGIO=yes
1625 DEFAULT_wxUSE_RESOURCES=yes
1626 DEFAULT_wxUSE_CONSTRAINTS=yes
1627 DEFAULT_wxUSE_IPC=yes
1628 DEFAULT_wxUSE_HELP=yes
1629 DEFAULT_wxUSE_MS_HTML_HELP=yes
1630 DEFAULT_wxUSE_WXHTML_HELP=yes
1631 DEFAULT_wxUSE_TREELAYOUT=yes
1632 DEFAULT_wxUSE_METAFILE=yes
1633 DEFAULT_wxUSE_MIMETYPE=yes
1634 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
1635
1636 DEFAULT_wxUSE_COMMONDLGS=yes
1637 DEFAULT_wxUSE_CHOICEDLG=yes
1638 DEFAULT_wxUSE_COLOURDLG=yes
1639 DEFAULT_wxUSE_DIRDLG=yes
1640 DEFAULT_wxUSE_FILEDLG=yes
1641 DEFAULT_wxUSE_FINDREPLDLG=yes
1642 DEFAULT_wxUSE_FONTDLG=yes
1643 DEFAULT_wxUSE_MSGDLG=yes
1644 DEFAULT_wxUSE_NUMBERDLG=yes
1645 DEFAULT_wxUSE_TEXTDLG=yes
1646 DEFAULT_wxUSE_SPLASH=yes
1647 DEFAULT_wxUSE_STARTUP_TIPS=yes
1648 DEFAULT_wxUSE_PROGRESSDLG=yes
1649 DEFAULT_wxUSE_WIZARDDLG=yes
1650
1651 DEFAULT_wxUSE_MENUS=yes
1652 DEFAULT_wxUSE_MINIFRAME=yes
1653 DEFAULT_wxUSE_HTML=yes
1654 DEFAULT_wxUSE_FILESYSTEM=yes
1655 DEFAULT_wxUSE_FS_INET=yes
1656 DEFAULT_wxUSE_FS_ZIP=yes
1657 DEFAULT_wxUSE_BUSYINFO=yes
1658 DEFAULT_wxUSE_ZIPSTREAM=yes
1659 DEFAULT_wxUSE_VALIDATORS=yes
1660
1661 DEFAULT_wxUSE_ACCEL=yes
1662 DEFAULT_wxUSE_BUTTON=yes
1663 DEFAULT_wxUSE_BMPBUTTON=yes
1664 DEFAULT_wxUSE_CALCTRL=yes
1665 DEFAULT_wxUSE_CARET=yes
1666 DEFAULT_wxUSE_CHECKBOX=yes
1667 DEFAULT_wxUSE_CHECKLST=yes
1668 DEFAULT_wxUSE_CHOICE=yes
1669 DEFAULT_wxUSE_COMBOBOX=yes
1670 DEFAULT_wxUSE_GAUGE=yes
1671 DEFAULT_wxUSE_GRID=yes
1672 DEFAULT_wxUSE_NEW_GRID=yes
1673 DEFAULT_wxUSE_IMAGLIST=yes
1674 DEFAULT_wxUSE_LISTBOX=yes
1675 DEFAULT_wxUSE_LISTCTRL=yes
1676 DEFAULT_wxUSE_NOTEBOOK=yes
1677 DEFAULT_wxUSE_PROPSHEET=yes
1678 DEFAULT_wxUSE_RADIOBOX=yes
1679 DEFAULT_wxUSE_RADIOBTN=yes
1680 DEFAULT_wxUSE_SASH=yes
1681 DEFAULT_wxUSE_SCROLLBAR=yes
1682 DEFAULT_wxUSE_SLIDER=yes
1683 DEFAULT_wxUSE_SPINBTN=yes
1684 DEFAULT_wxUSE_SPINCTRL=yes
1685 DEFAULT_wxUSE_SPLITTER=yes
1686 DEFAULT_wxUSE_STATBMP=yes
1687 DEFAULT_wxUSE_STATBOX=yes
1688 DEFAULT_wxUSE_STATLINE=yes
1689 DEFAULT_wxUSE_STATTEXT=yes
1690 DEFAULT_wxUSE_STATUSBAR=yes
1691 DEFAULT_wxUSE_TABDIALOG=no
1692 DEFAULT_wxUSE_TEXTCTRL=yes
1693 DEFAULT_wxUSE_TOGGLEBTN=yes
1694 DEFAULT_wxUSE_TOOLBAR=yes
1695 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
1696 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
1697 DEFAULT_wxUSE_TREECTRL=yes
1698 DEFAULT_wxUSE_POPUPWIN=yes
1699
1700 DEFAULT_wxUSE_UNICODE=no
1701 DEFAULT_wxUSE_WCSRTOMBS=no
1702
1703 DEFAULT_wxUSE_PALETTE=yes
1704 DEFAULT_wxUSE_IMAGE=yes
1705 DEFAULT_wxUSE_GIF=yes
1706 DEFAULT_wxUSE_PCX=yes
1707 DEFAULT_wxUSE_PNM=yes
1708 DEFAULT_wxUSE_XPM=yes
1709 fi
1710
1711
1712
1713 for toolkit in `echo $ALL_TOOLKITS`; do
1714 LINE=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1715 if test "x$LINE" != x ; then
1716 has_toolkit_in_cache=1
1717 eval "DEFAULT_$LINE"
1718 eval "CACHE_$toolkit=1"
1719 fi
1720 done
1721
1722
1723
1724 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1725 echo "configure:1726: checking for --enable-gui" >&5
1726 no_cache=0
1727 # Check whether --enable-gui or --disable-gui was given.
1728 if test "${enable_gui+set}" = set; then
1729 enableval="$enable_gui"
1730
1731 if test "$enableval" = yes; then
1732 ac_cv_use_gui='wxUSE_GUI=yes'
1733 else
1734 ac_cv_use_gui='wxUSE_GUI=no'
1735 fi
1736
1737 else
1738
1739 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1740 if test "x$LINE" != x ; then
1741 eval "DEFAULT_$LINE"
1742 else
1743 no_cache=1
1744 fi
1745
1746 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1747
1748 fi
1749
1750
1751 eval "$ac_cv_use_gui"
1752 if test "$no_cache" != 1; then
1753 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1754 fi
1755
1756 if test "$wxUSE_GUI" = yes; then
1757 echo "$ac_t""yes" 1>&6
1758 else
1759 echo "$ac_t""no" 1>&6
1760 fi
1761
1762
1763 if test "$wxUSE_GUI" = "yes"; then
1764
1765
1766 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1767 echo "configure:1768: checking for --enable-universal" >&5
1768 no_cache=0
1769 # Check whether --enable-universal or --disable-universal was given.
1770 if test "${enable_universal+set}" = set; then
1771 enableval="$enable_universal"
1772
1773 if test "$enableval" = yes; then
1774 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
1775 else
1776 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
1777 fi
1778
1779 else
1780
1781 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1782 if test "x$LINE" != x ; then
1783 eval "DEFAULT_$LINE"
1784 else
1785 no_cache=1
1786 fi
1787
1788 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1789
1790 fi
1791
1792
1793 eval "$ac_cv_use_universal"
1794 if test "$no_cache" != 1; then
1795 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1796 fi
1797
1798 if test "$wxUSE_UNIVERSAL" = yes; then
1799 echo "$ac_t""yes" 1>&6
1800 else
1801 echo "$ac_t""no" 1>&6
1802 fi
1803
1804 # Check whether --with-gtk or --without-gtk was given.
1805 if test "${with_gtk+set}" = set; then
1806 withval="$with_gtk"
1807 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
1808 fi
1809
1810 # Check whether --with-motif or --without-motif was given.
1811 if test "${with_motif+set}" = set; then
1812 withval="$with_motif"
1813 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
1814 fi
1815
1816 # Check whether --with-mac or --without-mac was given.
1817 if test "${with_mac+set}" = set; then
1818 withval="$with_mac"
1819 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
1820 fi
1821
1822 # Check whether --with-wine or --without-wine was given.
1823 if test "${with_wine+set}" = set; then
1824 withval="$with_wine"
1825 wxUSE_WINE="$withval" CACHE_WINE=1 TOOLKIT_GIVEN=1
1826 fi
1827
1828 # Check whether --with-cygwin or --without-cygwin was given.
1829 if test "${with_cygwin+set}" = set; then
1830 withval="$with_cygwin"
1831 wxUSE_CYGWIN="$withval" CACHE_CYGWIN=1 TOOLKIT_GIVEN=1
1832 fi
1833
1834 # Check whether --with-mingw or --without-mingw was given.
1835 if test "${with_mingw+set}" = set; then
1836 withval="$with_mingw"
1837 wxUSE_MINGW="$withval" CACHE_MINGW=1 TOOLKIT_GIVEN=1
1838 fi
1839
1840 # Check whether --with-pm or --without-pm was given.
1841 if test "${with_pm+set}" = set; then
1842 withval="$with_pm"
1843 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
1844 fi
1845
1846 # Check whether --with-mgl or --without-mgl was given.
1847 if test "${with_mgl+set}" = set; then
1848 withval="$with_mgl"
1849 wxUSE_MGL="$withval" CACHE_MGL=1 TOOLKIT_GIVEN=1
1850 fi
1851
1852
1853 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1854 if test "${enable_gtk2+set}" = set; then
1855 enableval="$enable_gtk2"
1856 wxUSE_GTK2=1
1857 else
1858 wxUSE_GTK2=0
1859 fi
1860
1861
1862
1863 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1864 echo "configure:1865: checking for --with-libpng" >&5
1865 no_cache=0
1866 # Check whether --with-libpng or --without-libpng was given.
1867 if test "${with_libpng+set}" = set; then
1868 withval="$with_libpng"
1869
1870 if test "$withval" = yes; then
1871 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
1872 elif test "$withval" = no; then
1873 ac_cv_use_libpng='wxUSE_LIBPNG=no'
1874 elif test "$withval" = sys; then
1875 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
1876 else
1877 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1878 fi
1879
1880 else
1881
1882 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1883 if test "x$LINE" != x ; then
1884 eval "DEFAULT_$LINE"
1885 else
1886 no_cache=1
1887 fi
1888
1889 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1890
1891 fi
1892
1893
1894 eval "$ac_cv_use_libpng"
1895 if test "$no_cache" != 1; then
1896 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1897 fi
1898
1899 if test "$wxUSE_LIBPNG" = yes; then
1900 echo "$ac_t""yes" 1>&6
1901 elif test "$wxUSE_LIBPNG" = no; then
1902 echo "$ac_t""no" 1>&6
1903 elif test "$wxUSE_LIBPNG" = sys; then
1904 echo "$ac_t""system version" 1>&6
1905 else
1906 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1907 fi
1908
1909
1910 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1911 echo "configure:1912: checking for --with-libjpeg" >&5
1912 no_cache=0
1913 # Check whether --with-libjpeg or --without-libjpeg was given.
1914 if test "${with_libjpeg+set}" = set; then
1915 withval="$with_libjpeg"
1916
1917 if test "$withval" = yes; then
1918 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
1919 elif test "$withval" = no; then
1920 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
1921 elif test "$withval" = sys; then
1922 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
1923 else
1924 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1925 fi
1926
1927 else
1928
1929 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1930 if test "x$LINE" != x ; then
1931 eval "DEFAULT_$LINE"
1932 else
1933 no_cache=1
1934 fi
1935
1936 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1937
1938 fi
1939
1940
1941 eval "$ac_cv_use_libjpeg"
1942 if test "$no_cache" != 1; then
1943 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1944 fi
1945
1946 if test "$wxUSE_LIBJPEG" = yes; then
1947 echo "$ac_t""yes" 1>&6
1948 elif test "$wxUSE_LIBJPEG" = no; then
1949 echo "$ac_t""no" 1>&6
1950 elif test "$wxUSE_LIBJPEG" = sys; then
1951 echo "$ac_t""system version" 1>&6
1952 else
1953 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1954 fi
1955
1956
1957 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1958 echo "configure:1959: checking for --with-libtiff" >&5
1959 no_cache=0
1960 # Check whether --with-libtiff or --without-libtiff was given.
1961 if test "${with_libtiff+set}" = set; then
1962 withval="$with_libtiff"
1963
1964 if test "$withval" = yes; then
1965 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
1966 elif test "$withval" = no; then
1967 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
1968 elif test "$withval" = sys; then
1969 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
1970 else
1971 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1972 fi
1973
1974 else
1975
1976 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1977 if test "x$LINE" != x ; then
1978 eval "DEFAULT_$LINE"
1979 else
1980 no_cache=1
1981 fi
1982
1983 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1984
1985 fi
1986
1987
1988 eval "$ac_cv_use_libtiff"
1989 if test "$no_cache" != 1; then
1990 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1991 fi
1992
1993 if test "$wxUSE_LIBTIFF" = yes; then
1994 echo "$ac_t""yes" 1>&6
1995 elif test "$wxUSE_LIBTIFF" = no; then
1996 echo "$ac_t""no" 1>&6
1997 elif test "$wxUSE_LIBTIFF" = sys; then
1998 echo "$ac_t""system version" 1>&6
1999 else
2000 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
2001 fi
2002
2003
2004 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
2005 echo "configure:2006: checking for --with-freetype" >&5
2006 no_cache=0
2007 # Check whether --with-freetype or --without-freetype was given.
2008 if test "${with_freetype+set}" = set; then
2009 withval="$with_freetype"
2010
2011 if test "$withval" = yes; then
2012 ac_cv_use_freetype='wxUSE_FREETYPE=yes'
2013 elif test "$withval" = no; then
2014 ac_cv_use_freetype='wxUSE_FREETYPE=no'
2015 elif test "$withval" = sys; then
2016 ac_cv_use_freetype='wxUSE_FREETYPE=sys'
2017 else
2018 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2019 fi
2020
2021 else
2022
2023 LINE=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2024 if test "x$LINE" != x ; then
2025 eval "DEFAULT_$LINE"
2026 else
2027 no_cache=1
2028 fi
2029
2030 ac_cv_use_freetype='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2031
2032 fi
2033
2034
2035 eval "$ac_cv_use_freetype"
2036 if test "$no_cache" != 1; then
2037 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2038 fi
2039
2040 if test "$wxUSE_FREETYPE" = yes; then
2041 echo "$ac_t""yes" 1>&6
2042 elif test "$wxUSE_FREETYPE" = no; then
2043 echo "$ac_t""no" 1>&6
2044 elif test "$wxUSE_FREETYPE" = sys; then
2045 echo "$ac_t""system version" 1>&6
2046 else
2047 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2048 fi
2049
2050
2051 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2052 echo "configure:2053: checking for --with-opengl" >&5
2053 no_cache=0
2054 # Check whether --with-opengl or --without-opengl was given.
2055 if test "${with_opengl+set}" = set; then
2056 withval="$with_opengl"
2057
2058 if test "$withval" = yes; then
2059 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2060 else
2061 ac_cv_use_opengl='wxUSE_OPENGL=no'
2062 fi
2063
2064 else
2065
2066 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2067 if test "x$LINE" != x ; then
2068 eval "DEFAULT_$LINE"
2069 else
2070 no_cache=1
2071 fi
2072
2073 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2074
2075 fi
2076
2077
2078 eval "$ac_cv_use_opengl"
2079 if test "$no_cache" != 1; then
2080 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2081 fi
2082
2083 if test "$wxUSE_OPENGL" = yes; then
2084 echo "$ac_t""yes" 1>&6
2085 else
2086 echo "$ac_t""no" 1>&6
2087 fi
2088
2089
2090 fi
2091
2092
2093 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2094 echo "configure:2095: checking for --with-dmalloc" >&5
2095 no_cache=0
2096 # Check whether --with-dmalloc or --without-dmalloc was given.
2097 if test "${with_dmalloc+set}" = set; then
2098 withval="$with_dmalloc"
2099
2100 if test "$withval" = yes; then
2101 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2102 else
2103 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2104 fi
2105
2106 else
2107
2108 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2109 if test "x$LINE" != x ; then
2110 eval "DEFAULT_$LINE"
2111 else
2112 no_cache=1
2113 fi
2114
2115 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2116
2117 fi
2118
2119
2120 eval "$ac_cv_use_dmalloc"
2121 if test "$no_cache" != 1; then
2122 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2123 fi
2124
2125 if test "$wxUSE_DMALLOC" = yes; then
2126 echo "$ac_t""yes" 1>&6
2127 else
2128 echo "$ac_t""no" 1>&6
2129 fi
2130
2131
2132 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2133 echo "configure:2134: checking for --with-regex" >&5
2134 no_cache=0
2135 # Check whether --with-regex or --without-regex was given.
2136 if test "${with_regex+set}" = set; then
2137 withval="$with_regex"
2138
2139 if test "$withval" = yes; then
2140 ac_cv_use_regex='wxUSE_REGEX=yes'
2141 elif test "$withval" = no; then
2142 ac_cv_use_regex='wxUSE_REGEX=no'
2143 elif test "$withval" = sys; then
2144 ac_cv_use_regex='wxUSE_REGEX=sys'
2145 else
2146 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2147 fi
2148
2149 else
2150
2151 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2152 if test "x$LINE" != x ; then
2153 eval "DEFAULT_$LINE"
2154 else
2155 no_cache=1
2156 fi
2157
2158 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2159
2160 fi
2161
2162
2163 eval "$ac_cv_use_regex"
2164 if test "$no_cache" != 1; then
2165 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2166 fi
2167
2168 if test "$wxUSE_REGEX" = yes; then
2169 echo "$ac_t""yes" 1>&6
2170 elif test "$wxUSE_REGEX" = no; then
2171 echo "$ac_t""no" 1>&6
2172 elif test "$wxUSE_REGEX" = sys; then
2173 echo "$ac_t""system version" 1>&6
2174 else
2175 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2176 fi
2177
2178
2179 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2180 echo "configure:2181: checking for --with-zlib" >&5
2181 no_cache=0
2182 # Check whether --with-zlib or --without-zlib was given.
2183 if test "${with_zlib+set}" = set; then
2184 withval="$with_zlib"
2185
2186 if test "$withval" = yes; then
2187 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2188 elif test "$withval" = no; then
2189 ac_cv_use_zlib='wxUSE_ZLIB=no'
2190 elif test "$withval" = sys; then
2191 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2192 else
2193 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2194 fi
2195
2196 else
2197
2198 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2199 if test "x$LINE" != x ; then
2200 eval "DEFAULT_$LINE"
2201 else
2202 no_cache=1
2203 fi
2204
2205 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2206
2207 fi
2208
2209
2210 eval "$ac_cv_use_zlib"
2211 if test "$no_cache" != 1; then
2212 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2213 fi
2214
2215 if test "$wxUSE_ZLIB" = yes; then
2216 echo "$ac_t""yes" 1>&6
2217 elif test "$wxUSE_ZLIB" = no; then
2218 echo "$ac_t""no" 1>&6
2219 elif test "$wxUSE_ZLIB" = sys; then
2220 echo "$ac_t""system version" 1>&6
2221 else
2222 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2223 fi
2224
2225
2226 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2227 echo "configure:2228: checking for --with-odbc" >&5
2228 no_cache=0
2229 # Check whether --with-odbc or --without-odbc was given.
2230 if test "${with_odbc+set}" = set; then
2231 withval="$with_odbc"
2232
2233 if test "$withval" = yes; then
2234 ac_cv_use_odbc='wxUSE_ODBC=yes'
2235 else
2236 ac_cv_use_odbc='wxUSE_ODBC=no'
2237 fi
2238
2239 else
2240
2241 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2242 if test "x$LINE" != x ; then
2243 eval "DEFAULT_$LINE"
2244 else
2245 no_cache=1
2246 fi
2247
2248 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2249
2250 fi
2251
2252
2253 eval "$ac_cv_use_odbc"
2254 if test "$no_cache" != 1; then
2255 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2256 fi
2257
2258 if test "$wxUSE_ODBC" = yes; then
2259 echo "$ac_t""yes" 1>&6
2260 else
2261 echo "$ac_t""no" 1>&6
2262 fi
2263
2264
2265
2266
2267 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2268 echo "configure:2269: checking for --enable-shared" >&5
2269 no_cache=0
2270 # Check whether --enable-shared or --disable-shared was given.
2271 if test "${enable_shared+set}" = set; then
2272 enableval="$enable_shared"
2273
2274 if test "$enableval" = yes; then
2275 ac_cv_use_shared='wxUSE_SHARED=yes'
2276 else
2277 ac_cv_use_shared='wxUSE_SHARED=no'
2278 fi
2279
2280 else
2281
2282 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2283 if test "x$LINE" != x ; then
2284 eval "DEFAULT_$LINE"
2285 else
2286 no_cache=1
2287 fi
2288
2289 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2290
2291 fi
2292
2293
2294 eval "$ac_cv_use_shared"
2295 if test "$no_cache" != 1; then
2296 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2297 fi
2298
2299 if test "$wxUSE_SHARED" = yes; then
2300 echo "$ac_t""yes" 1>&6
2301 else
2302 echo "$ac_t""no" 1>&6
2303 fi
2304
2305
2306 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2307 echo "configure:2308: checking for --enable-soname" >&5
2308 no_cache=0
2309 # Check whether --enable-soname or --disable-soname was given.
2310 if test "${enable_soname+set}" = set; then
2311 enableval="$enable_soname"
2312
2313 if test "$enableval" = yes; then
2314 ac_cv_use_soname='wxUSE_SONAME=yes'
2315 else
2316 ac_cv_use_soname='wxUSE_SONAME=no'
2317 fi
2318
2319 else
2320
2321 LINE=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2322 if test "x$LINE" != x ; then
2323 eval "DEFAULT_$LINE"
2324 else
2325 no_cache=1
2326 fi
2327
2328 ac_cv_use_soname='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2329
2330 fi
2331
2332
2333 eval "$ac_cv_use_soname"
2334 if test "$no_cache" != 1; then
2335 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2336 fi
2337
2338 if test "$wxUSE_SONAME" = yes; then
2339 echo "$ac_t""yes" 1>&6
2340 else
2341 echo "$ac_t""no" 1>&6
2342 fi
2343
2344
2345 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2346 echo "configure:2347: checking for --enable-optimise" >&5
2347 no_cache=0
2348 # Check whether --enable-optimise or --disable-optimise was given.
2349 if test "${enable_optimise+set}" = set; then
2350 enableval="$enable_optimise"
2351
2352 if test "$enableval" = yes; then
2353 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
2354 else
2355 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
2356 fi
2357
2358 else
2359
2360 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2361 if test "x$LINE" != x ; then
2362 eval "DEFAULT_$LINE"
2363 else
2364 no_cache=1
2365 fi
2366
2367 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2368
2369 fi
2370
2371
2372 eval "$ac_cv_use_optimise"
2373 if test "$no_cache" != 1; then
2374 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2375 fi
2376
2377 if test "$wxUSE_OPTIMISE" = yes; then
2378 echo "$ac_t""yes" 1>&6
2379 else
2380 echo "$ac_t""no" 1>&6
2381 fi
2382
2383
2384 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2385 echo "configure:2386: checking for --enable-debug" >&5
2386 no_cache=0
2387 # Check whether --enable-debug or --disable-debug was given.
2388 if test "${enable_debug+set}" = set; then
2389 enableval="$enable_debug"
2390
2391 if test "$enableval" = yes; then
2392 ac_cv_use_debug='wxUSE_DEBUG=yes'
2393 else
2394 ac_cv_use_debug='wxUSE_DEBUG=no'
2395 fi
2396
2397 else
2398
2399 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2400 if test "x$LINE" != x ; then
2401 eval "DEFAULT_$LINE"
2402 else
2403 no_cache=1
2404 fi
2405
2406 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2407
2408 fi
2409
2410
2411 eval "$ac_cv_use_debug"
2412 if test "$no_cache" != 1; then
2413 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2414 fi
2415
2416 if test "$wxUSE_DEBUG" = yes; then
2417 echo "$ac_t""yes" 1>&6
2418 else
2419 echo "$ac_t""no" 1>&6
2420 fi
2421
2422
2423
2424 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2425 echo "configure:2426: checking for --enable-precomp" >&5
2426 no_cache=0
2427 # Check whether --enable-precomp or --disable-precomp was given.
2428 if test "${enable_precomp+set}" = set; then
2429 enableval="$enable_precomp"
2430
2431 if test "$enableval" = yes; then
2432 ac_cv_use_precomp='wxUSE_PRECOMP=yes'
2433 else
2434 ac_cv_use_precomp='wxUSE_PRECOMP=no'
2435 fi
2436
2437 else
2438
2439 LINE=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2440 if test "x$LINE" != x ; then
2441 eval "DEFAULT_$LINE"
2442 else
2443 no_cache=1
2444 fi
2445
2446 ac_cv_use_precomp='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2447
2448 fi
2449
2450
2451 eval "$ac_cv_use_precomp"
2452 if test "$no_cache" != 1; then
2453 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2454 fi
2455
2456 if test "$wxUSE_PRECOMP" = yes; then
2457 echo "$ac_t""yes" 1>&6
2458 else
2459 echo "$ac_t""no" 1>&6
2460 fi
2461
2462
2463 if test "$wxUSE_DEBUG" = "yes"; then
2464 DEFAULT_wxUSE_DEBUG_FLAG=yes
2465 DEFAULT_wxUSE_DEBUG_INFO=yes
2466 elif test "$wxUSE_DEBUG" = "no"; then
2467 DEFAULT_wxUSE_DEBUG_FLAG=no
2468 DEFAULT_wxUSE_DEBUG_INFO=no
2469 fi
2470
2471
2472 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2473 echo "configure:2474: checking for --enable-debug_flag" >&5
2474 no_cache=0
2475 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2476 if test "${enable_debug_flag+set}" = set; then
2477 enableval="$enable_debug_flag"
2478
2479 if test "$enableval" = yes; then
2480 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
2481 else
2482 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
2483 fi
2484
2485 else
2486
2487 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2488 if test "x$LINE" != x ; then
2489 eval "DEFAULT_$LINE"
2490 else
2491 no_cache=1
2492 fi
2493
2494 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2495
2496 fi
2497
2498
2499 eval "$ac_cv_use_debug_flag"
2500 if test "$no_cache" != 1; then
2501 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2502 fi
2503
2504 if test "$wxUSE_DEBUG_FLAG" = yes; then
2505 echo "$ac_t""yes" 1>&6
2506 else
2507 echo "$ac_t""no" 1>&6
2508 fi
2509
2510
2511 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2512 echo "configure:2513: checking for --enable-debug_info" >&5
2513 no_cache=0
2514 # Check whether --enable-debug_info or --disable-debug_info was given.
2515 if test "${enable_debug_info+set}" = set; then
2516 enableval="$enable_debug_info"
2517
2518 if test "$enableval" = yes; then
2519 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
2520 else
2521 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
2522 fi
2523
2524 else
2525
2526 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2527 if test "x$LINE" != x ; then
2528 eval "DEFAULT_$LINE"
2529 else
2530 no_cache=1
2531 fi
2532
2533 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2534
2535 fi
2536
2537
2538 eval "$ac_cv_use_debug_info"
2539 if test "$no_cache" != 1; then
2540 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2541 fi
2542
2543 if test "$wxUSE_DEBUG_INFO" = yes; then
2544 echo "$ac_t""yes" 1>&6
2545 else
2546 echo "$ac_t""no" 1>&6
2547 fi
2548
2549
2550 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2551 echo "configure:2552: checking for --enable-debug_gdb" >&5
2552 no_cache=0
2553 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2554 if test "${enable_debug_gdb+set}" = set; then
2555 enableval="$enable_debug_gdb"
2556
2557 if test "$enableval" = yes; then
2558 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
2559 else
2560 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
2561 fi
2562
2563 else
2564
2565 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2566 if test "x$LINE" != x ; then
2567 eval "DEFAULT_$LINE"
2568 else
2569 no_cache=1
2570 fi
2571
2572 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2573
2574 fi
2575
2576
2577 eval "$ac_cv_use_debug_gdb"
2578 if test "$no_cache" != 1; then
2579 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2580 fi
2581
2582 if test "$wxUSE_DEBUG_GDB" = yes; then
2583 echo "$ac_t""yes" 1>&6
2584 else
2585 echo "$ac_t""no" 1>&6
2586 fi
2587
2588
2589 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2590 echo "configure:2591: checking for --enable-debug_cntxt" >&5
2591 no_cache=0
2592 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2593 if test "${enable_debug_cntxt+set}" = set; then
2594 enableval="$enable_debug_cntxt"
2595
2596 if test "$enableval" = yes; then
2597 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
2598 else
2599 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
2600 fi
2601
2602 else
2603
2604 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2605 if test "x$LINE" != x ; then
2606 eval "DEFAULT_$LINE"
2607 else
2608 no_cache=1
2609 fi
2610
2611 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2612
2613 fi
2614
2615
2616 eval "$ac_cv_use_debug_cntxt"
2617 if test "$no_cache" != 1; then
2618 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2619 fi
2620
2621 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2622 echo "$ac_t""yes" 1>&6
2623 else
2624 echo "$ac_t""no" 1>&6
2625 fi
2626
2627
2628 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2629 echo "configure:2630: checking for --enable-mem_tracing" >&5
2630 no_cache=0
2631 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2632 if test "${enable_mem_tracing+set}" = set; then
2633 enableval="$enable_mem_tracing"
2634
2635 if test "$enableval" = yes; then
2636 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
2637 else
2638 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
2639 fi
2640
2641 else
2642
2643 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2644 if test "x$LINE" != x ; then
2645 eval "DEFAULT_$LINE"
2646 else
2647 no_cache=1
2648 fi
2649
2650 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2651
2652 fi
2653
2654
2655 eval "$ac_cv_use_mem_tracing"
2656 if test "$no_cache" != 1; then
2657 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2658 fi
2659
2660 if test "$wxUSE_MEM_TRACING" = yes; then
2661 echo "$ac_t""yes" 1>&6
2662 else
2663 echo "$ac_t""no" 1>&6
2664 fi
2665
2666
2667 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2668 echo "configure:2669: checking for --enable-profile" >&5
2669 no_cache=0
2670 # Check whether --enable-profile or --disable-profile was given.
2671 if test "${enable_profile+set}" = set; then
2672 enableval="$enable_profile"
2673
2674 if test "$enableval" = yes; then
2675 ac_cv_use_profile='wxUSE_PROFILE=yes'
2676 else
2677 ac_cv_use_profile='wxUSE_PROFILE=no'
2678 fi
2679
2680 else
2681
2682 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2683 if test "x$LINE" != x ; then
2684 eval "DEFAULT_$LINE"
2685 else
2686 no_cache=1
2687 fi
2688
2689 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2690
2691 fi
2692
2693
2694 eval "$ac_cv_use_profile"
2695 if test "$no_cache" != 1; then
2696 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2697 fi
2698
2699 if test "$wxUSE_PROFILE" = yes; then
2700 echo "$ac_t""yes" 1>&6
2701 else
2702 echo "$ac_t""no" 1>&6
2703 fi
2704
2705
2706 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2707 echo "configure:2708: checking for --enable-no_rtti" >&5
2708 no_cache=0
2709 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2710 if test "${enable_no_rtti+set}" = set; then
2711 enableval="$enable_no_rtti"
2712
2713 if test "$enableval" = yes; then
2714 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
2715 else
2716 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
2717 fi
2718
2719 else
2720
2721 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2722 if test "x$LINE" != x ; then
2723 eval "DEFAULT_$LINE"
2724 else
2725 no_cache=1
2726 fi
2727
2728 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2729
2730 fi
2731
2732
2733 eval "$ac_cv_use_no_rtti"
2734 if test "$no_cache" != 1; then
2735 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2736 fi
2737
2738 if test "$wxUSE_NO_RTTI" = yes; then
2739 echo "$ac_t""yes" 1>&6
2740 else
2741 echo "$ac_t""no" 1>&6
2742 fi
2743
2744
2745 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2746 echo "configure:2747: checking for --enable-no_exceptions" >&5
2747 no_cache=0
2748 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2749 if test "${enable_no_exceptions+set}" = set; then
2750 enableval="$enable_no_exceptions"
2751
2752 if test "$enableval" = yes; then
2753 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
2754 else
2755 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
2756 fi
2757
2758 else
2759
2760 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2761 if test "x$LINE" != x ; then
2762 eval "DEFAULT_$LINE"
2763 else
2764 no_cache=1
2765 fi
2766
2767 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2768
2769 fi
2770
2771
2772 eval "$ac_cv_use_no_exceptions"
2773 if test "$no_cache" != 1; then
2774 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2775 fi
2776
2777 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2778 echo "$ac_t""yes" 1>&6
2779 else
2780 echo "$ac_t""no" 1>&6
2781 fi
2782
2783
2784 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2785 echo "configure:2786: checking for --enable-permissive" >&5
2786 no_cache=0
2787 # Check whether --enable-permissive or --disable-permissive was given.
2788 if test "${enable_permissive+set}" = set; then
2789 enableval="$enable_permissive"
2790
2791 if test "$enableval" = yes; then
2792 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
2793 else
2794 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
2795 fi
2796
2797 else
2798
2799 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2800 if test "x$LINE" != x ; then
2801 eval "DEFAULT_$LINE"
2802 else
2803 no_cache=1
2804 fi
2805
2806 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2807
2808 fi
2809
2810
2811 eval "$ac_cv_use_permissive"
2812 if test "$no_cache" != 1; then
2813 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2814 fi
2815
2816 if test "$wxUSE_PERMISSIVE" = yes; then
2817 echo "$ac_t""yes" 1>&6
2818 else
2819 echo "$ac_t""no" 1>&6
2820 fi
2821
2822
2823 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2824 echo "configure:2825: checking for --enable-no_deps" >&5
2825 no_cache=0
2826 # Check whether --enable-no_deps or --disable-no_deps was given.
2827 if test "${enable_no_deps+set}" = set; then
2828 enableval="$enable_no_deps"
2829
2830 if test "$enableval" = yes; then
2831 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
2832 else
2833 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
2834 fi
2835
2836 else
2837
2838 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2839 if test "x$LINE" != x ; then
2840 eval "DEFAULT_$LINE"
2841 else
2842 no_cache=1
2843 fi
2844
2845 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2846
2847 fi
2848
2849
2850 eval "$ac_cv_use_no_deps"
2851 if test "$no_cache" != 1; then
2852 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2853 fi
2854
2855 if test "$wxUSE_NO_DEPS" = yes; then
2856 echo "$ac_t""yes" 1>&6
2857 else
2858 echo "$ac_t""no" 1>&6
2859 fi
2860
2861
2862
2863 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2864 echo "configure:2865: checking for --enable-compat20" >&5
2865 no_cache=0
2866 # Check whether --enable-compat20 or --disable-compat20 was given.
2867 if test "${enable_compat20+set}" = set; then
2868 enableval="$enable_compat20"
2869
2870 if test "$enableval" = yes; then
2871 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
2872 else
2873 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
2874 fi
2875
2876 else
2877
2878 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2879 if test "x$LINE" != x ; then
2880 eval "DEFAULT_$LINE"
2881 else
2882 no_cache=1
2883 fi
2884
2885 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2886
2887 fi
2888
2889
2890 eval "$ac_cv_use_compat20"
2891 if test "$no_cache" != 1; then
2892 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2893 fi
2894
2895 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2896 echo "$ac_t""yes" 1>&6
2897 else
2898 echo "$ac_t""no" 1>&6
2899 fi
2900
2901
2902 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2903 echo "configure:2904: checking for --enable-compat22" >&5
2904 no_cache=0
2905 # Check whether --enable-compat22 or --disable-compat22 was given.
2906 if test "${enable_compat22+set}" = set; then
2907 enableval="$enable_compat22"
2908
2909 if test "$enableval" = yes; then
2910 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
2911 else
2912 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
2913 fi
2914
2915 else
2916
2917 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2918 if test "x$LINE" != x ; then
2919 eval "DEFAULT_$LINE"
2920 else
2921 no_cache=1
2922 fi
2923
2924 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2925
2926 fi
2927
2928
2929 eval "$ac_cv_use_compat22"
2930 if test "$no_cache" != 1; then
2931 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2932 fi
2933
2934 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2935 echo "$ac_t""yes" 1>&6
2936 else
2937 echo "$ac_t""no" 1>&6
2938 fi
2939
2940
2941
2942
2943 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2944 echo "configure:2945: checking for --enable-intl" >&5
2945 no_cache=0
2946 # Check whether --enable-intl or --disable-intl was given.
2947 if test "${enable_intl+set}" = set; then
2948 enableval="$enable_intl"
2949
2950 if test "$enableval" = yes; then
2951 ac_cv_use_intl='wxUSE_INTL=yes'
2952 else
2953 ac_cv_use_intl='wxUSE_INTL=no'
2954 fi
2955
2956 else
2957
2958 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2959 if test "x$LINE" != x ; then
2960 eval "DEFAULT_$LINE"
2961 else
2962 no_cache=1
2963 fi
2964
2965 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2966
2967 fi
2968
2969
2970 eval "$ac_cv_use_intl"
2971 if test "$no_cache" != 1; then
2972 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2973 fi
2974
2975 if test "$wxUSE_INTL" = yes; then
2976 echo "$ac_t""yes" 1>&6
2977 else
2978 echo "$ac_t""no" 1>&6
2979 fi
2980
2981
2982 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2983 echo "configure:2984: checking for --enable-config" >&5
2984 no_cache=0
2985 # Check whether --enable-config or --disable-config was given.
2986 if test "${enable_config+set}" = set; then
2987 enableval="$enable_config"
2988
2989 if test "$enableval" = yes; then
2990 ac_cv_use_config='wxUSE_CONFIG=yes'
2991 else
2992 ac_cv_use_config='wxUSE_CONFIG=no'
2993 fi
2994
2995 else
2996
2997 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2998 if test "x$LINE" != x ; then
2999 eval "DEFAULT_$LINE"
3000 else
3001 no_cache=1
3002 fi
3003
3004 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3005
3006 fi
3007
3008
3009 eval "$ac_cv_use_config"
3010 if test "$no_cache" != 1; then
3011 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3012 fi
3013
3014 if test "$wxUSE_CONFIG" = yes; then
3015 echo "$ac_t""yes" 1>&6
3016 else
3017 echo "$ac_t""no" 1>&6
3018 fi
3019
3020
3021
3022 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3023 echo "configure:3024: checking for --enable-sockets" >&5
3024 no_cache=0
3025 # Check whether --enable-sockets or --disable-sockets was given.
3026 if test "${enable_sockets+set}" = set; then
3027 enableval="$enable_sockets"
3028
3029 if test "$enableval" = yes; then
3030 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
3031 else
3032 ac_cv_use_sockets='wxUSE_SOCKETS=no'
3033 fi
3034
3035 else
3036
3037 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3038 if test "x$LINE" != x ; then
3039 eval "DEFAULT_$LINE"
3040 else
3041 no_cache=1
3042 fi
3043
3044 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3045
3046 fi
3047
3048
3049 eval "$ac_cv_use_sockets"
3050 if test "$no_cache" != 1; then
3051 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3052 fi
3053
3054 if test "$wxUSE_SOCKETS" = yes; then
3055 echo "$ac_t""yes" 1>&6
3056 else
3057 echo "$ac_t""no" 1>&6
3058 fi
3059
3060
3061
3062 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3063 echo "configure:3064: checking for --enable-ipc" >&5
3064 no_cache=0
3065 # Check whether --enable-ipc or --disable-ipc was given.
3066 if test "${enable_ipc+set}" = set; then
3067 enableval="$enable_ipc"
3068
3069 if test "$enableval" = yes; then
3070 ac_cv_use_ipc='wxUSE_IPC=yes'
3071 else
3072 ac_cv_use_ipc='wxUSE_IPC=no'
3073 fi
3074
3075 else
3076
3077 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3078 if test "x$LINE" != x ; then
3079 eval "DEFAULT_$LINE"
3080 else
3081 no_cache=1
3082 fi
3083
3084 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3085
3086 fi
3087
3088
3089 eval "$ac_cv_use_ipc"
3090 if test "$no_cache" != 1; then
3091 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3092 fi
3093
3094 if test "$wxUSE_IPC" = yes; then
3095 echo "$ac_t""yes" 1>&6
3096 else
3097 echo "$ac_t""no" 1>&6
3098 fi
3099
3100
3101
3102 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3103 echo "configure:3104: checking for --enable-cmdline" >&5
3104 no_cache=0
3105 # Check whether --enable-cmdline or --disable-cmdline was given.
3106 if test "${enable_cmdline+set}" = set; then
3107 enableval="$enable_cmdline"
3108
3109 if test "$enableval" = yes; then
3110 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
3111 else
3112 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
3113 fi
3114
3115 else
3116
3117 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3118 if test "x$LINE" != x ; then
3119 eval "DEFAULT_$LINE"
3120 else
3121 no_cache=1
3122 fi
3123
3124 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3125
3126 fi
3127
3128
3129 eval "$ac_cv_use_cmdline"
3130 if test "$no_cache" != 1; then
3131 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3132 fi
3133
3134 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3135 echo "$ac_t""yes" 1>&6
3136 else
3137 echo "$ac_t""no" 1>&6
3138 fi
3139
3140
3141 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3142 echo "configure:3143: checking for --enable-datetime" >&5
3143 no_cache=0
3144 # Check whether --enable-datetime or --disable-datetime was given.
3145 if test "${enable_datetime+set}" = set; then
3146 enableval="$enable_datetime"
3147
3148 if test "$enableval" = yes; then
3149 ac_cv_use_datetime='wxUSE_DATETIME=yes'
3150 else
3151 ac_cv_use_datetime='wxUSE_DATETIME=no'
3152 fi
3153
3154 else
3155
3156 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3157 if test "x$LINE" != x ; then
3158 eval "DEFAULT_$LINE"
3159 else
3160 no_cache=1
3161 fi
3162
3163 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3164
3165 fi
3166
3167
3168 eval "$ac_cv_use_datetime"
3169 if test "$no_cache" != 1; then
3170 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3171 fi
3172
3173 if test "$wxUSE_DATETIME" = yes; then
3174 echo "$ac_t""yes" 1>&6
3175 else
3176 echo "$ac_t""no" 1>&6
3177 fi
3178
3179
3180 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3181 echo "configure:3182: checking for --enable-timedate" >&5
3182 no_cache=0
3183 # Check whether --enable-timedate or --disable-timedate was given.
3184 if test "${enable_timedate+set}" = set; then
3185 enableval="$enable_timedate"
3186
3187 if test "$enableval" = yes; then
3188 ac_cv_use_timedate='wxUSE_TIMEDATE=yes'
3189 else
3190 ac_cv_use_timedate='wxUSE_TIMEDATE=no'
3191 fi
3192
3193 else
3194
3195 LINE=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3196 if test "x$LINE" != x ; then
3197 eval "DEFAULT_$LINE"
3198 else
3199 no_cache=1
3200 fi
3201
3202 ac_cv_use_timedate='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3203
3204 fi
3205
3206
3207 eval "$ac_cv_use_timedate"
3208 if test "$no_cache" != 1; then
3209 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3210 fi
3211
3212 if test "$wxUSE_TIMEDATE" = yes; then
3213 echo "$ac_t""yes" 1>&6
3214 else
3215 echo "$ac_t""no" 1>&6
3216 fi
3217
3218
3219 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3220 echo "configure:3221: checking for --enable-stopwatch" >&5
3221 no_cache=0
3222 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3223 if test "${enable_stopwatch+set}" = set; then
3224 enableval="$enable_stopwatch"
3225
3226 if test "$enableval" = yes; then
3227 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
3228 else
3229 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
3230 fi
3231
3232 else
3233
3234 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3235 if test "x$LINE" != x ; then
3236 eval "DEFAULT_$LINE"
3237 else
3238 no_cache=1
3239 fi
3240
3241 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3242
3243 fi
3244
3245
3246 eval "$ac_cv_use_stopwatch"
3247 if test "$no_cache" != 1; then
3248 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3249 fi
3250
3251 if test "$wxUSE_STOPWATCH" = yes; then
3252 echo "$ac_t""yes" 1>&6
3253 else
3254 echo "$ac_t""no" 1>&6
3255 fi
3256
3257
3258 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3259 echo "configure:3260: checking for --enable-dialupman" >&5
3260 no_cache=0
3261 # Check whether --enable-dialupman or --disable-dialupman was given.
3262 if test "${enable_dialupman+set}" = set; then
3263 enableval="$enable_dialupman"
3264
3265 if test "$enableval" = yes; then
3266 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
3267 else
3268 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
3269 fi
3270
3271 else
3272
3273 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3274 if test "x$LINE" != x ; then
3275 eval "DEFAULT_$LINE"
3276 else
3277 no_cache=1
3278 fi
3279
3280 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3281
3282 fi
3283
3284
3285 eval "$ac_cv_use_dialupman"
3286 if test "$no_cache" != 1; then
3287 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3288 fi
3289
3290 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3291 echo "$ac_t""yes" 1>&6
3292 else
3293 echo "$ac_t""no" 1>&6
3294 fi
3295
3296
3297 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3298 echo "configure:3299: checking for --enable-apple_ieee" >&5
3299 no_cache=0
3300 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3301 if test "${enable_apple_ieee+set}" = set; then
3302 enableval="$enable_apple_ieee"
3303
3304 if test "$enableval" = yes; then
3305 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
3306 else
3307 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
3308 fi
3309
3310 else
3311
3312 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3313 if test "x$LINE" != x ; then
3314 eval "DEFAULT_$LINE"
3315 else
3316 no_cache=1
3317 fi
3318
3319 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3320
3321 fi
3322
3323
3324 eval "$ac_cv_use_apple_ieee"
3325 if test "$no_cache" != 1; then
3326 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3327 fi
3328
3329 if test "$wxUSE_APPLE_IEEE" = yes; then
3330 echo "$ac_t""yes" 1>&6
3331 else
3332 echo "$ac_t""no" 1>&6
3333 fi
3334
3335
3336 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3337 echo "configure:3338: checking for --enable-timer" >&5
3338 no_cache=0
3339 # Check whether --enable-timer or --disable-timer was given.
3340 if test "${enable_timer+set}" = set; then
3341 enableval="$enable_timer"
3342
3343 if test "$enableval" = yes; then
3344 ac_cv_use_timer='wxUSE_TIMER=yes'
3345 else
3346 ac_cv_use_timer='wxUSE_TIMER=no'
3347 fi
3348
3349 else
3350
3351 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3352 if test "x$LINE" != x ; then
3353 eval "DEFAULT_$LINE"
3354 else
3355 no_cache=1
3356 fi
3357
3358 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3359
3360 fi
3361
3362
3363 eval "$ac_cv_use_timer"
3364 if test "$no_cache" != 1; then
3365 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3366 fi
3367
3368 if test "$wxUSE_TIMER" = yes; then
3369 echo "$ac_t""yes" 1>&6
3370 else
3371 echo "$ac_t""no" 1>&6
3372 fi
3373
3374
3375 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3376 echo "configure:3377: checking for --enable-wave" >&5
3377 no_cache=0
3378 # Check whether --enable-wave or --disable-wave was given.
3379 if test "${enable_wave+set}" = set; then
3380 enableval="$enable_wave"
3381
3382 if test "$enableval" = yes; then
3383 ac_cv_use_wave='wxUSE_WAVE=yes'
3384 else
3385 ac_cv_use_wave='wxUSE_WAVE=no'
3386 fi
3387
3388 else
3389
3390 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3391 if test "x$LINE" != x ; then
3392 eval "DEFAULT_$LINE"
3393 else
3394 no_cache=1
3395 fi
3396
3397 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3398
3399 fi
3400
3401
3402 eval "$ac_cv_use_wave"
3403 if test "$no_cache" != 1; then
3404 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3405 fi
3406
3407 if test "$wxUSE_WAVE" = yes; then
3408 echo "$ac_t""yes" 1>&6
3409 else
3410 echo "$ac_t""no" 1>&6
3411 fi
3412
3413
3414 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3415 echo "configure:3416: checking for --enable-fraction" >&5
3416 no_cache=0
3417 # Check whether --enable-fraction or --disable-fraction was given.
3418 if test "${enable_fraction+set}" = set; then
3419 enableval="$enable_fraction"
3420
3421 if test "$enableval" = yes; then
3422 ac_cv_use_fraction='wxUSE_FRACTION=yes'
3423 else
3424 ac_cv_use_fraction='wxUSE_FRACTION=no'
3425 fi
3426
3427 else
3428
3429 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3430 if test "x$LINE" != x ; then
3431 eval "DEFAULT_$LINE"
3432 else
3433 no_cache=1
3434 fi
3435
3436 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3437
3438 fi
3439
3440
3441 eval "$ac_cv_use_fraction"
3442 if test "$no_cache" != 1; then
3443 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3444 fi
3445
3446 if test "$wxUSE_FRACTION" = yes; then
3447 echo "$ac_t""yes" 1>&6
3448 else
3449 echo "$ac_t""no" 1>&6
3450 fi
3451
3452
3453 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3454 echo "configure:3455: checking for --enable-dynlib" >&5
3455 no_cache=0
3456 # Check whether --enable-dynlib or --disable-dynlib was given.
3457 if test "${enable_dynlib+set}" = set; then
3458 enableval="$enable_dynlib"
3459
3460 if test "$enableval" = yes; then
3461 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
3462 else
3463 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
3464 fi
3465
3466 else
3467
3468 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3469 if test "x$LINE" != x ; then
3470 eval "DEFAULT_$LINE"
3471 else
3472 no_cache=1
3473 fi
3474
3475 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3476
3477 fi
3478
3479
3480 eval "$ac_cv_use_dynlib"
3481 if test "$no_cache" != 1; then
3482 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3483 fi
3484
3485 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3486 echo "$ac_t""yes" 1>&6
3487 else
3488 echo "$ac_t""no" 1>&6
3489 fi
3490
3491
3492 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3493 echo "configure:3494: checking for --enable-longlong" >&5
3494 no_cache=0
3495 # Check whether --enable-longlong or --disable-longlong was given.
3496 if test "${enable_longlong+set}" = set; then
3497 enableval="$enable_longlong"
3498
3499 if test "$enableval" = yes; then
3500 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
3501 else
3502 ac_cv_use_longlong='wxUSE_LONGLONG=no'
3503 fi
3504
3505 else
3506
3507 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3508 if test "x$LINE" != x ; then
3509 eval "DEFAULT_$LINE"
3510 else
3511 no_cache=1
3512 fi
3513
3514 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3515
3516 fi
3517
3518
3519 eval "$ac_cv_use_longlong"
3520 if test "$no_cache" != 1; then
3521 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3522 fi
3523
3524 if test "$wxUSE_LONGLONG" = yes; then
3525 echo "$ac_t""yes" 1>&6
3526 else
3527 echo "$ac_t""no" 1>&6
3528 fi
3529
3530
3531 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3532 echo "configure:3533: checking for --enable-geometry" >&5
3533 no_cache=0
3534 # Check whether --enable-geometry or --disable-geometry was given.
3535 if test "${enable_geometry+set}" = set; then
3536 enableval="$enable_geometry"
3537
3538 if test "$enableval" = yes; then
3539 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
3540 else
3541 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
3542 fi
3543
3544 else
3545
3546 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3547 if test "x$LINE" != x ; then
3548 eval "DEFAULT_$LINE"
3549 else
3550 no_cache=1
3551 fi
3552
3553 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3554
3555 fi
3556
3557
3558 eval "$ac_cv_use_geometry"
3559 if test "$no_cache" != 1; then
3560 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3561 fi
3562
3563 if test "$wxUSE_GEOMETRY" = yes; then
3564 echo "$ac_t""yes" 1>&6
3565 else
3566 echo "$ac_t""no" 1>&6
3567 fi
3568
3569
3570 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3571 echo "configure:3572: checking for --enable-log" >&5
3572 no_cache=0
3573 # Check whether --enable-log or --disable-log was given.
3574 if test "${enable_log+set}" = set; then
3575 enableval="$enable_log"
3576
3577 if test "$enableval" = yes; then
3578 ac_cv_use_log='wxUSE_LOG=yes'
3579 else
3580 ac_cv_use_log='wxUSE_LOG=no'
3581 fi
3582
3583 else
3584
3585 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3586 if test "x$LINE" != x ; then
3587 eval "DEFAULT_$LINE"
3588 else
3589 no_cache=1
3590 fi
3591
3592 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3593
3594 fi
3595
3596
3597 eval "$ac_cv_use_log"
3598 if test "$no_cache" != 1; then
3599 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3600 fi
3601
3602 if test "$wxUSE_LOG" = yes; then
3603 echo "$ac_t""yes" 1>&6
3604 else
3605 echo "$ac_t""no" 1>&6
3606 fi
3607
3608
3609 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3610 echo "configure:3611: checking for --enable-streams" >&5
3611 no_cache=0
3612 # Check whether --enable-streams or --disable-streams was given.
3613 if test "${enable_streams+set}" = set; then
3614 enableval="$enable_streams"
3615
3616 if test "$enableval" = yes; then
3617 ac_cv_use_streams='wxUSE_STREAMS=yes'
3618 else
3619 ac_cv_use_streams='wxUSE_STREAMS=no'
3620 fi
3621
3622 else
3623
3624 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3625 if test "x$LINE" != x ; then
3626 eval "DEFAULT_$LINE"
3627 else
3628 no_cache=1
3629 fi
3630
3631 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3632
3633 fi
3634
3635
3636 eval "$ac_cv_use_streams"
3637 if test "$no_cache" != 1; then
3638 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3639 fi
3640
3641 if test "$wxUSE_STREAMS" = yes; then
3642 echo "$ac_t""yes" 1>&6
3643 else
3644 echo "$ac_t""no" 1>&6
3645 fi
3646
3647
3648 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3649 echo "configure:3650: checking for --enable-file" >&5
3650 no_cache=0
3651 # Check whether --enable-file or --disable-file was given.
3652 if test "${enable_file+set}" = set; then
3653 enableval="$enable_file"
3654
3655 if test "$enableval" = yes; then
3656 ac_cv_use_file='wxUSE_FILE=yes'
3657 else
3658 ac_cv_use_file='wxUSE_FILE=no'
3659 fi
3660
3661 else
3662
3663 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3664 if test "x$LINE" != x ; then
3665 eval "DEFAULT_$LINE"
3666 else
3667 no_cache=1
3668 fi
3669
3670 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3671
3672 fi
3673
3674
3675 eval "$ac_cv_use_file"
3676 if test "$no_cache" != 1; then
3677 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3678 fi
3679
3680 if test "$wxUSE_FILE" = yes; then
3681 echo "$ac_t""yes" 1>&6
3682 else
3683 echo "$ac_t""no" 1>&6
3684 fi
3685
3686
3687 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3688 echo "configure:3689: checking for --enable-ffile" >&5
3689 no_cache=0
3690 # Check whether --enable-ffile or --disable-ffile was given.
3691 if test "${enable_ffile+set}" = set; then
3692 enableval="$enable_ffile"
3693
3694 if test "$enableval" = yes; then
3695 ac_cv_use_ffile='wxUSE_FFILE=yes'
3696 else
3697 ac_cv_use_ffile='wxUSE_FFILE=no'
3698 fi
3699
3700 else
3701
3702 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3703 if test "x$LINE" != x ; then
3704 eval "DEFAULT_$LINE"
3705 else
3706 no_cache=1
3707 fi
3708
3709 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3710
3711 fi
3712
3713
3714 eval "$ac_cv_use_ffile"
3715 if test "$no_cache" != 1; then
3716 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3717 fi
3718
3719 if test "$wxUSE_FFILE" = yes; then
3720 echo "$ac_t""yes" 1>&6
3721 else
3722 echo "$ac_t""no" 1>&6
3723 fi
3724
3725
3726 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3727 echo "configure:3728: checking for --enable-textfile" >&5
3728 no_cache=0
3729 # Check whether --enable-textfile or --disable-textfile was given.
3730 if test "${enable_textfile+set}" = set; then
3731 enableval="$enable_textfile"
3732
3733 if test "$enableval" = yes; then
3734 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
3735 else
3736 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
3737 fi
3738
3739 else
3740
3741 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3742 if test "x$LINE" != x ; then
3743 eval "DEFAULT_$LINE"
3744 else
3745 no_cache=1
3746 fi
3747
3748 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3749
3750 fi
3751
3752
3753 eval "$ac_cv_use_textfile"
3754 if test "$no_cache" != 1; then
3755 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3756 fi
3757
3758 if test "$wxUSE_TEXTFILE" = yes; then
3759 echo "$ac_t""yes" 1>&6
3760 else
3761 echo "$ac_t""no" 1>&6
3762 fi
3763
3764
3765 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3766 echo "configure:3767: checking for --enable-fontmap" >&5
3767 no_cache=0
3768 # Check whether --enable-fontmap or --disable-fontmap was given.
3769 if test "${enable_fontmap+set}" = set; then
3770 enableval="$enable_fontmap"
3771
3772 if test "$enableval" = yes; then
3773 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
3774 else
3775 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
3776 fi
3777
3778 else
3779
3780 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3781 if test "x$LINE" != x ; then
3782 eval "DEFAULT_$LINE"
3783 else
3784 no_cache=1
3785 fi
3786
3787 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3788
3789 fi
3790
3791
3792 eval "$ac_cv_use_fontmap"
3793 if test "$no_cache" != 1; then
3794 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3795 fi
3796
3797 if test "$wxUSE_FONTMAP" = yes; then
3798 echo "$ac_t""yes" 1>&6
3799 else
3800 echo "$ac_t""no" 1>&6
3801 fi
3802
3803
3804 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3805 echo "configure:3806: checking for --enable-unicode" >&5
3806 no_cache=0
3807 # Check whether --enable-unicode or --disable-unicode was given.
3808 if test "${enable_unicode+set}" = set; then
3809 enableval="$enable_unicode"
3810
3811 if test "$enableval" = yes; then
3812 ac_cv_use_unicode='wxUSE_UNICODE=yes'
3813 else
3814 ac_cv_use_unicode='wxUSE_UNICODE=no'
3815 fi
3816
3817 else
3818
3819 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3820 if test "x$LINE" != x ; then
3821 eval "DEFAULT_$LINE"
3822 else
3823 no_cache=1
3824 fi
3825
3826 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3827
3828 fi
3829
3830
3831 eval "$ac_cv_use_unicode"
3832 if test "$no_cache" != 1; then
3833 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3834 fi
3835
3836 if test "$wxUSE_UNICODE" = yes; then
3837 echo "$ac_t""yes" 1>&6
3838 else
3839 echo "$ac_t""no" 1>&6
3840 fi
3841
3842
3843 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3844 echo "configure:3845: checking for --enable-wxprintfv" >&5
3845 no_cache=0
3846 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3847 if test "${enable_wxprintfv+set}" = set; then
3848 enableval="$enable_wxprintfv"
3849
3850 if test "$enableval" = yes; then
3851 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
3852 else
3853 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
3854 fi
3855
3856 else
3857
3858 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3859 if test "x$LINE" != x ; then
3860 eval "DEFAULT_$LINE"
3861 else
3862 no_cache=1
3863 fi
3864
3865 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3866
3867 fi
3868
3869
3870 eval "$ac_cv_use_wxprintfv"
3871 if test "$no_cache" != 1; then
3872 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3873 fi
3874
3875 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3876 echo "$ac_t""yes" 1>&6
3877 else
3878 echo "$ac_t""no" 1>&6
3879 fi
3880
3881
3882 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3883 echo "configure:3884: checking for --enable-std_iostreams" >&5
3884 no_cache=0
3885 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3886 if test "${enable_std_iostreams+set}" = set; then
3887 enableval="$enable_std_iostreams"
3888
3889 if test "$enableval" = yes; then
3890 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
3891 else
3892 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
3893 fi
3894
3895 else
3896
3897 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3898 if test "x$LINE" != x ; then
3899 eval "DEFAULT_$LINE"
3900 else
3901 no_cache=1
3902 fi
3903
3904 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3905
3906 fi
3907
3908
3909 eval "$ac_cv_use_std_iostreams"
3910 if test "$no_cache" != 1; then
3911 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3912 fi
3913
3914 if test "$wxUSE_STD_IOSTREAM" = yes; then
3915 echo "$ac_t""yes" 1>&6
3916 else
3917 echo "$ac_t""no" 1>&6
3918 fi
3919
3920
3921 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3922 echo "configure:3923: checking for --enable-filesystem" >&5
3923 no_cache=0
3924 # Check whether --enable-filesystem or --disable-filesystem was given.
3925 if test "${enable_filesystem+set}" = set; then
3926 enableval="$enable_filesystem"
3927
3928 if test "$enableval" = yes; then
3929 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
3930 else
3931 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
3932 fi
3933
3934 else
3935
3936 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3937 if test "x$LINE" != x ; then
3938 eval "DEFAULT_$LINE"
3939 else
3940 no_cache=1
3941 fi
3942
3943 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3944
3945 fi
3946
3947
3948 eval "$ac_cv_use_filesystem"
3949 if test "$no_cache" != 1; then
3950 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3951 fi
3952
3953 if test "$wxUSE_FILESYSTEM" = yes; then
3954 echo "$ac_t""yes" 1>&6
3955 else
3956 echo "$ac_t""no" 1>&6
3957 fi
3958
3959
3960 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3961 echo "configure:3962: checking for --enable-fs_inet" >&5
3962 no_cache=0
3963 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3964 if test "${enable_fs_inet+set}" = set; then
3965 enableval="$enable_fs_inet"
3966
3967 if test "$enableval" = yes; then
3968 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
3969 else
3970 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
3971 fi
3972
3973 else
3974
3975 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3976 if test "x$LINE" != x ; then
3977 eval "DEFAULT_$LINE"
3978 else
3979 no_cache=1
3980 fi
3981
3982 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3983
3984 fi
3985
3986
3987 eval "$ac_cv_use_fs_inet"
3988 if test "$no_cache" != 1; then
3989 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3990 fi
3991
3992 if test "$wxUSE_FS_INET" = yes; then
3993 echo "$ac_t""yes" 1>&6
3994 else
3995 echo "$ac_t""no" 1>&6
3996 fi
3997
3998
3999 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4000 echo "configure:4001: checking for --enable-fs_zip" >&5
4001 no_cache=0
4002 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4003 if test "${enable_fs_zip+set}" = set; then
4004 enableval="$enable_fs_zip"
4005
4006 if test "$enableval" = yes; then
4007 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4008 else
4009 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4010 fi
4011
4012 else
4013
4014 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4015 if test "x$LINE" != x ; then
4016 eval "DEFAULT_$LINE"
4017 else
4018 no_cache=1
4019 fi
4020
4021 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4022
4023 fi
4024
4025
4026 eval "$ac_cv_use_fs_zip"
4027 if test "$no_cache" != 1; then
4028 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4029 fi
4030
4031 if test "$wxUSE_FS_ZIP" = yes; then
4032 echo "$ac_t""yes" 1>&6
4033 else
4034 echo "$ac_t""no" 1>&6
4035 fi
4036
4037
4038 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4039 echo "configure:4040: checking for --enable-zipstream" >&5
4040 no_cache=0
4041 # Check whether --enable-zipstream or --disable-zipstream was given.
4042 if test "${enable_zipstream+set}" = set; then
4043 enableval="$enable_zipstream"
4044
4045 if test "$enableval" = yes; then
4046 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
4047 else
4048 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
4049 fi
4050
4051 else
4052
4053 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4054 if test "x$LINE" != x ; then
4055 eval "DEFAULT_$LINE"
4056 else
4057 no_cache=1
4058 fi
4059
4060 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4061
4062 fi
4063
4064
4065 eval "$ac_cv_use_zipstream"
4066 if test "$no_cache" != 1; then
4067 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4068 fi
4069
4070 if test "$wxUSE_ZIPSTREAM" = yes; then
4071 echo "$ac_t""yes" 1>&6
4072 else
4073 echo "$ac_t""no" 1>&6
4074 fi
4075
4076
4077
4078 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4079 echo "configure:4080: checking for --enable-catch_segvs" >&5
4080 no_cache=0
4081 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4082 if test "${enable_catch_segvs+set}" = set; then
4083 enableval="$enable_catch_segvs"
4084
4085 if test "$enableval" = yes; then
4086 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4087 else
4088 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4089 fi
4090
4091 else
4092
4093 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4094 if test "x$LINE" != x ; then
4095 eval "DEFAULT_$LINE"
4096 else
4097 no_cache=1
4098 fi
4099
4100 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4101
4102 fi
4103
4104
4105 eval "$ac_cv_use_catch_segvs"
4106 if test "$no_cache" != 1; then
4107 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4108 fi
4109
4110 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4111 echo "$ac_t""yes" 1>&6
4112 else
4113 echo "$ac_t""no" 1>&6
4114 fi
4115
4116
4117 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4118 echo "configure:4119: checking for --enable-snglinst" >&5
4119 no_cache=0
4120 # Check whether --enable-snglinst or --disable-snglinst was given.
4121 if test "${enable_snglinst+set}" = set; then
4122 enableval="$enable_snglinst"
4123
4124 if test "$enableval" = yes; then
4125 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
4126 else
4127 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
4128 fi
4129
4130 else
4131
4132 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4133 if test "x$LINE" != x ; then
4134 eval "DEFAULT_$LINE"
4135 else
4136 no_cache=1
4137 fi
4138
4139 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4140
4141 fi
4142
4143
4144 eval "$ac_cv_use_snglinst"
4145 if test "$no_cache" != 1; then
4146 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4147 fi
4148
4149 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4150 echo "$ac_t""yes" 1>&6
4151 else
4152 echo "$ac_t""no" 1>&6
4153 fi
4154
4155
4156
4157 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4158 echo "configure:4159: checking for --enable-mimetype" >&5
4159 no_cache=0
4160 # Check whether --enable-mimetype or --disable-mimetype was given.
4161 if test "${enable_mimetype+set}" = set; then
4162 enableval="$enable_mimetype"
4163
4164 if test "$enableval" = yes; then
4165 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
4166 else
4167 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
4168 fi
4169
4170 else
4171
4172 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4173 if test "x$LINE" != x ; then
4174 eval "DEFAULT_$LINE"
4175 else
4176 no_cache=1
4177 fi
4178
4179 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4180
4181 fi
4182
4183
4184 eval "$ac_cv_use_mimetype"
4185 if test "$no_cache" != 1; then
4186 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4187 fi
4188
4189 if test "$wxUSE_MIMETYPE" = yes; then
4190 echo "$ac_t""yes" 1>&6
4191 else
4192 echo "$ac_t""no" 1>&6
4193 fi
4194
4195
4196 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4197 echo "configure:4198: checking for --enable-system_options" >&5
4198 no_cache=0
4199 # Check whether --enable-system_options or --disable-system_options was given.
4200 if test "${enable_system_options+set}" = set; then
4201 enableval="$enable_system_options"
4202
4203 if test "$enableval" = yes; then
4204 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
4205 else
4206 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
4207 fi
4208
4209 else
4210
4211 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4212 if test "x$LINE" != x ; then
4213 eval "DEFAULT_$LINE"
4214 else
4215 no_cache=1
4216 fi
4217
4218 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4219
4220 fi
4221
4222
4223 eval "$ac_cv_use_system_options"
4224 if test "$no_cache" != 1; then
4225 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4226 fi
4227
4228 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4229 echo "$ac_t""yes" 1>&6
4230 else
4231 echo "$ac_t""no" 1>&6
4232 fi
4233
4234
4235
4236
4237 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4238 echo "configure:4239: checking for --enable-threads" >&5
4239 no_cache=0
4240 # Check whether --enable-threads or --disable-threads was given.
4241 if test "${enable_threads+set}" = set; then
4242 enableval="$enable_threads"
4243
4244 if test "$enableval" = yes; then
4245 ac_cv_use_threads='wxUSE_THREADS=yes'
4246 else
4247 ac_cv_use_threads='wxUSE_THREADS=no'
4248 fi
4249
4250 else
4251
4252 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4253 if test "x$LINE" != x ; then
4254 eval "DEFAULT_$LINE"
4255 else
4256 no_cache=1
4257 fi
4258
4259 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4260
4261 fi
4262
4263
4264 eval "$ac_cv_use_threads"
4265 if test "$no_cache" != 1; then
4266 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4267 fi
4268
4269 if test "$wxUSE_THREADS" = yes; then
4270 echo "$ac_t""yes" 1>&6
4271 else
4272 echo "$ac_t""no" 1>&6
4273 fi
4274
4275
4276 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4277 echo "configure:4278: checking for --enable-serial" >&5
4278 no_cache=0
4279 # Check whether --enable-serial or --disable-serial was given.
4280 if test "${enable_serial+set}" = set; then
4281 enableval="$enable_serial"
4282
4283 if test "$enableval" = yes; then
4284 ac_cv_use_serial='wxUSE_SERIAL=yes'
4285 else
4286 ac_cv_use_serial='wxUSE_SERIAL=no'
4287 fi
4288
4289 else
4290
4291 LINE=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4292 if test "x$LINE" != x ; then
4293 eval "DEFAULT_$LINE"
4294 else
4295 no_cache=1
4296 fi
4297
4298 ac_cv_use_serial='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4299
4300 fi
4301
4302
4303 eval "$ac_cv_use_serial"
4304 if test "$no_cache" != 1; then
4305 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4306 fi
4307
4308 if test "$wxUSE_SERIAL" = yes; then
4309 echo "$ac_t""yes" 1>&6
4310 else
4311 echo "$ac_t""no" 1>&6
4312 fi
4313
4314
4315 if test "$wxUSE_GUI" = "yes"; then
4316
4317
4318
4319 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4320 echo "configure:4321: checking for --enable-docview" >&5
4321 no_cache=0
4322 # Check whether --enable-docview or --disable-docview was given.
4323 if test "${enable_docview+set}" = set; then
4324 enableval="$enable_docview"
4325
4326 if test "$enableval" = yes; then
4327 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4328 else
4329 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4330 fi
4331
4332 else
4333
4334 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4335 if test "x$LINE" != x ; then
4336 eval "DEFAULT_$LINE"
4337 else
4338 no_cache=1
4339 fi
4340
4341 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4342
4343 fi
4344
4345
4346 eval "$ac_cv_use_docview"
4347 if test "$no_cache" != 1; then
4348 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4349 fi
4350
4351 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4352 echo "$ac_t""yes" 1>&6
4353 else
4354 echo "$ac_t""no" 1>&6
4355 fi
4356
4357
4358 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4359 echo "configure:4360: checking for --enable-help" >&5
4360 no_cache=0
4361 # Check whether --enable-help or --disable-help was given.
4362 if test "${enable_help+set}" = set; then
4363 enableval="$enable_help"
4364
4365 if test "$enableval" = yes; then
4366 ac_cv_use_help='wxUSE_HELP=yes'
4367 else
4368 ac_cv_use_help='wxUSE_HELP=no'
4369 fi
4370
4371 else
4372
4373 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4374 if test "x$LINE" != x ; then
4375 eval "DEFAULT_$LINE"
4376 else
4377 no_cache=1
4378 fi
4379
4380 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4381
4382 fi
4383
4384
4385 eval "$ac_cv_use_help"
4386 if test "$no_cache" != 1; then
4387 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4388 fi
4389
4390 if test "$wxUSE_HELP" = yes; then
4391 echo "$ac_t""yes" 1>&6
4392 else
4393 echo "$ac_t""no" 1>&6
4394 fi
4395
4396
4397 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4398 echo "configure:4399: checking for --enable-mshtmlhelp" >&5
4399 no_cache=0
4400 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4401 if test "${enable_mshtmlhelp+set}" = set; then
4402 enableval="$enable_mshtmlhelp"
4403
4404 if test "$enableval" = yes; then
4405 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
4406 else
4407 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
4408 fi
4409
4410 else
4411
4412 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4413 if test "x$LINE" != x ; then
4414 eval "DEFAULT_$LINE"
4415 else
4416 no_cache=1
4417 fi
4418
4419 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4420
4421 fi
4422
4423
4424 eval "$ac_cv_use_mshtmlhelp"
4425 if test "$no_cache" != 1; then
4426 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4427 fi
4428
4429 if test "$wxUSE_MS_HTML_HELP" = yes; then
4430 echo "$ac_t""yes" 1>&6
4431 else
4432 echo "$ac_t""no" 1>&6
4433 fi
4434
4435
4436 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4437 echo "configure:4438: checking for --enable-html" >&5
4438 no_cache=0
4439 # Check whether --enable-html or --disable-html was given.
4440 if test "${enable_html+set}" = set; then
4441 enableval="$enable_html"
4442
4443 if test "$enableval" = yes; then
4444 ac_cv_use_html='wxUSE_HTML=yes'
4445 else
4446 ac_cv_use_html='wxUSE_HTML=no'
4447 fi
4448
4449 else
4450
4451 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4452 if test "x$LINE" != x ; then
4453 eval "DEFAULT_$LINE"
4454 else
4455 no_cache=1
4456 fi
4457
4458 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4459
4460 fi
4461
4462
4463 eval "$ac_cv_use_html"
4464 if test "$no_cache" != 1; then
4465 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4466 fi
4467
4468 if test "$wxUSE_HTML" = yes; then
4469 echo "$ac_t""yes" 1>&6
4470 else
4471 echo "$ac_t""no" 1>&6
4472 fi
4473
4474
4475 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4476 echo "configure:4477: checking for --enable-htmlhelp" >&5
4477 no_cache=0
4478 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4479 if test "${enable_htmlhelp+set}" = set; then
4480 enableval="$enable_htmlhelp"
4481
4482 if test "$enableval" = yes; then
4483 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
4484 else
4485 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
4486 fi
4487
4488 else
4489
4490 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4491 if test "x$LINE" != x ; then
4492 eval "DEFAULT_$LINE"
4493 else
4494 no_cache=1
4495 fi
4496
4497 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4498
4499 fi
4500
4501
4502 eval "$ac_cv_use_htmlhelp"
4503 if test "$no_cache" != 1; then
4504 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4505 fi
4506
4507 if test "$wxUSE_WXHTML_HELP" = yes; then
4508 echo "$ac_t""yes" 1>&6
4509 else
4510 echo "$ac_t""no" 1>&6
4511 fi
4512
4513
4514 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4515 echo "configure:4516: checking for --enable-constraints" >&5
4516 no_cache=0
4517 # Check whether --enable-constraints or --disable-constraints was given.
4518 if test "${enable_constraints+set}" = set; then
4519 enableval="$enable_constraints"
4520
4521 if test "$enableval" = yes; then
4522 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
4523 else
4524 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
4525 fi
4526
4527 else
4528
4529 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4530 if test "x$LINE" != x ; then
4531 eval "DEFAULT_$LINE"
4532 else
4533 no_cache=1
4534 fi
4535
4536 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4537
4538 fi
4539
4540
4541 eval "$ac_cv_use_constraints"
4542 if test "$no_cache" != 1; then
4543 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4544 fi
4545
4546 if test "$wxUSE_CONSTRAINTS" = yes; then
4547 echo "$ac_t""yes" 1>&6
4548 else
4549 echo "$ac_t""no" 1>&6
4550 fi
4551
4552
4553 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4554 echo "configure:4555: checking for --enable-printarch" >&5
4555 no_cache=0
4556 # Check whether --enable-printarch or --disable-printarch was given.
4557 if test "${enable_printarch+set}" = set; then
4558 enableval="$enable_printarch"
4559
4560 if test "$enableval" = yes; then
4561 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
4562 else
4563 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
4564 fi
4565
4566 else
4567
4568 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4569 if test "x$LINE" != x ; then
4570 eval "DEFAULT_$LINE"
4571 else
4572 no_cache=1
4573 fi
4574
4575 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4576
4577 fi
4578
4579
4580 eval "$ac_cv_use_printarch"
4581 if test "$no_cache" != 1; then
4582 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4583 fi
4584
4585 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4586 echo "$ac_t""yes" 1>&6
4587 else
4588 echo "$ac_t""no" 1>&6
4589 fi
4590
4591
4592 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4593 echo "configure:4594: checking for --enable-mdi" >&5
4594 no_cache=0
4595 # Check whether --enable-mdi or --disable-mdi was given.
4596 if test "${enable_mdi+set}" = set; then
4597 enableval="$enable_mdi"
4598
4599 if test "$enableval" = yes; then
4600 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
4601 else
4602 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
4603 fi
4604
4605 else
4606
4607 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4608 if test "x$LINE" != x ; then
4609 eval "DEFAULT_$LINE"
4610 else
4611 no_cache=1
4612 fi
4613
4614 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4615
4616 fi
4617
4618
4619 eval "$ac_cv_use_mdi"
4620 if test "$no_cache" != 1; then
4621 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4622 fi
4623
4624 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4625 echo "$ac_t""yes" 1>&6
4626 else
4627 echo "$ac_t""no" 1>&6
4628 fi
4629
4630
4631 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4632 echo "configure:4633: checking for --enable-loggui" >&5
4633 no_cache=0
4634 # Check whether --enable-loggui or --disable-loggui was given.
4635 if test "${enable_loggui+set}" = set; then
4636 enableval="$enable_loggui"
4637
4638 if test "$enableval" = yes; then
4639 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
4640 else
4641 ac_cv_use_loggui='wxUSE_LOGGUI=no'
4642 fi
4643
4644 else
4645
4646 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4647 if test "x$LINE" != x ; then
4648 eval "DEFAULT_$LINE"
4649 else
4650 no_cache=1
4651 fi
4652
4653 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4654
4655 fi
4656
4657
4658 eval "$ac_cv_use_loggui"
4659 if test "$no_cache" != 1; then
4660 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4661 fi
4662
4663 if test "$wxUSE_LOGGUI" = yes; then
4664 echo "$ac_t""yes" 1>&6
4665 else
4666 echo "$ac_t""no" 1>&6
4667 fi
4668
4669
4670 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4671 echo "configure:4672: checking for --enable-logwin" >&5
4672 no_cache=0
4673 # Check whether --enable-logwin or --disable-logwin was given.
4674 if test "${enable_logwin+set}" = set; then
4675 enableval="$enable_logwin"
4676
4677 if test "$enableval" = yes; then
4678 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
4679 else
4680 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
4681 fi
4682
4683 else
4684
4685 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4686 if test "x$LINE" != x ; then
4687 eval "DEFAULT_$LINE"
4688 else
4689 no_cache=1
4690 fi
4691
4692 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4693
4694 fi
4695
4696
4697 eval "$ac_cv_use_logwin"
4698 if test "$no_cache" != 1; then
4699 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4700 fi
4701
4702 if test "$wxUSE_LOGWINDOW" = yes; then
4703 echo "$ac_t""yes" 1>&6
4704 else
4705 echo "$ac_t""no" 1>&6
4706 fi
4707
4708
4709
4710 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4711 echo "configure:4712: checking for --enable-postscript" >&5
4712 no_cache=0
4713 # Check whether --enable-postscript or --disable-postscript was given.
4714 if test "${enable_postscript+set}" = set; then
4715 enableval="$enable_postscript"
4716
4717 if test "$enableval" = yes; then
4718 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
4719 else
4720 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
4721 fi
4722
4723 else
4724
4725 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4726 if test "x$LINE" != x ; then
4727 eval "DEFAULT_$LINE"
4728 else
4729 no_cache=1
4730 fi
4731
4732 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4733
4734 fi
4735
4736
4737 eval "$ac_cv_use_postscript"
4738 if test "$no_cache" != 1; then
4739 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4740 fi
4741
4742 if test "$wxUSE_POSTSCRIPT" = yes; then
4743 echo "$ac_t""yes" 1>&6
4744 else
4745 echo "$ac_t""no" 1>&6
4746 fi
4747
4748
4749
4750
4751
4752 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4753 echo "configure:4754: checking for --enable-prologio" >&5
4754 no_cache=0
4755 # Check whether --enable-prologio or --disable-prologio was given.
4756 if test "${enable_prologio+set}" = set; then
4757 enableval="$enable_prologio"
4758
4759 if test "$enableval" = yes; then
4760 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
4761 else
4762 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
4763 fi
4764
4765 else
4766
4767 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4768 if test "x$LINE" != x ; then
4769 eval "DEFAULT_$LINE"
4770 else
4771 no_cache=1
4772 fi
4773
4774 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4775
4776 fi
4777
4778
4779 eval "$ac_cv_use_prologio"
4780 if test "$no_cache" != 1; then
4781 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4782 fi
4783
4784 if test "$wxUSE_PROLOGIO" = yes; then
4785 echo "$ac_t""yes" 1>&6
4786 else
4787 echo "$ac_t""no" 1>&6
4788 fi
4789
4790
4791 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4792 echo "configure:4793: checking for --enable-resources" >&5
4793 no_cache=0
4794 # Check whether --enable-resources or --disable-resources was given.
4795 if test "${enable_resources+set}" = set; then
4796 enableval="$enable_resources"
4797
4798 if test "$enableval" = yes; then
4799 ac_cv_use_resources='wxUSE_RESOURCES=yes'
4800 else
4801 ac_cv_use_resources='wxUSE_RESOURCES=no'
4802 fi
4803
4804 else
4805
4806 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4807 if test "x$LINE" != x ; then
4808 eval "DEFAULT_$LINE"
4809 else
4810 no_cache=1
4811 fi
4812
4813 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4814
4815 fi
4816
4817
4818 eval "$ac_cv_use_resources"
4819 if test "$no_cache" != 1; then
4820 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4821 fi
4822
4823 if test "$wxUSE_RESOURCES" = yes; then
4824 echo "$ac_t""yes" 1>&6
4825 else
4826 echo "$ac_t""no" 1>&6
4827 fi
4828
4829
4830
4831 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4832 echo "configure:4833: checking for --enable-xresources" >&5
4833 no_cache=0
4834 # Check whether --enable-xresources or --disable-xresources was given.
4835 if test "${enable_xresources+set}" = set; then
4836 enableval="$enable_xresources"
4837
4838 if test "$enableval" = yes; then
4839 ac_cv_use_xresources='wxUSE_X_RESOURCES=yes'
4840 else
4841 ac_cv_use_xresources='wxUSE_X_RESOURCES=no'
4842 fi
4843
4844 else
4845
4846 LINE=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4847 if test "x$LINE" != x ; then
4848 eval "DEFAULT_$LINE"
4849 else
4850 no_cache=1
4851 fi
4852
4853 ac_cv_use_xresources='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4854
4855 fi
4856
4857
4858 eval "$ac_cv_use_xresources"
4859 if test "$no_cache" != 1; then
4860 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4861 fi
4862
4863 if test "$wxUSE_X_RESOURCES" = yes; then
4864 echo "$ac_t""yes" 1>&6
4865 else
4866 echo "$ac_t""no" 1>&6
4867 fi
4868
4869
4870
4871
4872 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4873 echo "configure:4874: checking for --enable-clipboard" >&5
4874 no_cache=0
4875 # Check whether --enable-clipboard or --disable-clipboard was given.
4876 if test "${enable_clipboard+set}" = set; then
4877 enableval="$enable_clipboard"
4878
4879 if test "$enableval" = yes; then
4880 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
4881 else
4882 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
4883 fi
4884
4885 else
4886
4887 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4888 if test "x$LINE" != x ; then
4889 eval "DEFAULT_$LINE"
4890 else
4891 no_cache=1
4892 fi
4893
4894 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4895
4896 fi
4897
4898
4899 eval "$ac_cv_use_clipboard"
4900 if test "$no_cache" != 1; then
4901 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4902 fi
4903
4904 if test "$wxUSE_CLIPBOARD" = yes; then
4905 echo "$ac_t""yes" 1>&6
4906 else
4907 echo "$ac_t""no" 1>&6
4908 fi
4909
4910
4911 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4912 echo "configure:4913: checking for --enable-dnd" >&5
4913 no_cache=0
4914 # Check whether --enable-dnd or --disable-dnd was given.
4915 if test "${enable_dnd+set}" = set; then
4916 enableval="$enable_dnd"
4917
4918 if test "$enableval" = yes; then
4919 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
4920 else
4921 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
4922 fi
4923
4924 else
4925
4926 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4927 if test "x$LINE" != x ; then
4928 eval "DEFAULT_$LINE"
4929 else
4930 no_cache=1
4931 fi
4932
4933 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4934
4935 fi
4936
4937
4938 eval "$ac_cv_use_dnd"
4939 if test "$no_cache" != 1; then
4940 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4941 fi
4942
4943 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4944 echo "$ac_t""yes" 1>&6
4945 else
4946 echo "$ac_t""no" 1>&6
4947 fi
4948
4949
4950 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4951 echo "configure:4952: checking for --enable-metafile" >&5
4952 no_cache=0
4953 # Check whether --enable-metafile or --disable-metafile was given.
4954 if test "${enable_metafile+set}" = set; then
4955 enableval="$enable_metafile"
4956
4957 if test "$enableval" = yes; then
4958 ac_cv_use_metafile='wxUSE_METAFILE=yes'
4959 else
4960 ac_cv_use_metafile='wxUSE_METAFILE=no'
4961 fi
4962
4963 else
4964
4965 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4966 if test "x$LINE" != x ; then
4967 eval "DEFAULT_$LINE"
4968 else
4969 no_cache=1
4970 fi
4971
4972 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4973
4974 fi
4975
4976
4977 eval "$ac_cv_use_metafile"
4978 if test "$no_cache" != 1; then
4979 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4980 fi
4981
4982 if test "$wxUSE_METAFILE" = yes; then
4983 echo "$ac_t""yes" 1>&6
4984 else
4985 echo "$ac_t""no" 1>&6
4986 fi
4987
4988
4989
4990 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
4991 echo "configure:4992: checking for --enable-treelayout" >&5
4992 no_cache=0
4993 # Check whether --enable-treelayout or --disable-treelayout was given.
4994 if test "${enable_treelayout+set}" = set; then
4995 enableval="$enable_treelayout"
4996
4997 if test "$enableval" = yes; then
4998 ac_cv_use_treelayout='wxUSE_TREELAYOUT=yes'
4999 else
5000 ac_cv_use_treelayout='wxUSE_TREELAYOUT=no'
5001 fi
5002
5003 else
5004
5005 LINE=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5006 if test "x$LINE" != x ; then
5007 eval "DEFAULT_$LINE"
5008 else
5009 no_cache=1
5010 fi
5011
5012 ac_cv_use_treelayout='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5013
5014 fi
5015
5016
5017 eval "$ac_cv_use_treelayout"
5018 if test "$no_cache" != 1; then
5019 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5020 fi
5021
5022 if test "$wxUSE_TREELAYOUT" = yes; then
5023 echo "$ac_t""yes" 1>&6
5024 else
5025 echo "$ac_t""no" 1>&6
5026 fi
5027
5028
5029
5030
5031 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5032 echo "configure:5033: checking for --enable-controls" >&5
5033 no_cache=0
5034 # Check whether --enable-controls or --disable-controls was given.
5035 if test "${enable_controls+set}" = set; then
5036 enableval="$enable_controls"
5037
5038 if test "$enableval" = yes; then
5039 ac_cv_use_controls='wxUSE_CONTROLS=yes'
5040 else
5041 ac_cv_use_controls='wxUSE_CONTROLS=no'
5042 fi
5043
5044 else
5045
5046 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5047 if test "x$LINE" != x ; then
5048 eval "DEFAULT_$LINE"
5049 else
5050 no_cache=1
5051 fi
5052
5053 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5054
5055 fi
5056
5057
5058 eval "$ac_cv_use_controls"
5059 if test "$no_cache" != 1; then
5060 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5061 fi
5062
5063 if test "$wxUSE_CONTROLS" = yes; then
5064 echo "$ac_t""yes" 1>&6
5065 else
5066 echo "$ac_t""no" 1>&6
5067 fi
5068
5069
5070 if test "$wxUSE_CONTROLS" = "yes"; then
5071 DEFAULT_wxUSE_ACCEL=yes
5072 DEFAULT_wxUSE_BMPBUTTON=yes
5073 DEFAULT_wxUSE_BUTTON=yes
5074 DEFAULT_wxUSE_CALCTRL=no
5075 DEFAULT_wxUSE_CARET=yes
5076 DEFAULT_wxUSE_COMBOBOX=yes
5077 DEFAULT_wxUSE_CHECKBOX=yes
5078 DEFAULT_wxUSE_CHECKLISTBOX=yes
5079 DEFAULT_wxUSE_CHOICE=yes
5080 DEFAULT_wxUSE_GAUGE=yes
5081 DEFAULT_wxUSE_GRID=yes
5082 DEFAULT_wxUSE_NEW_GRID=yes
5083 DEFAULT_wxUSE_IMAGLIST=yes
5084 DEFAULT_wxUSE_LISTBOX=yes
5085 DEFAULT_wxUSE_LISTCTRL=yes
5086 DEFAULT_wxUSE_NOTEBOOK=yes
5087 DEFAULT_wxUSE_PROPSHEET=yes
5088 DEFAULT_wxUSE_RADIOBOX=yes
5089 DEFAULT_wxUSE_RADIOBTN=yes
5090 DEFAULT_wxUSE_SASH=yes
5091 DEFAULT_wxUSE_SCROLLBAR=yes
5092 DEFAULT_wxUSE_SLIDER=yes
5093 DEFAULT_wxUSE_SPINBTN=yes
5094 DEFAULT_wxUSE_SPINCTRL=yes
5095 DEFAULT_wxUSE_SPLITTER=yes
5096 DEFAULT_wxUSE_STATBMP=yes
5097 DEFAULT_wxUSE_STATBOX=yes
5098 DEFAULT_wxUSE_STATLINE=yes
5099 DEFAULT_wxUSE_STATUSBAR=yes
5100 DEFAULT_wxUSE_TAB_DIALOG=yes
5101 DEFAULT_wxUSE_TOGGLEBTN=yes
5102 DEFAULT_wxUSE_TOOLBAR=yes
5103 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
5104 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
5105 DEFAULT_wxUSE_TOOLTIPS=yes
5106 DEFAULT_wxUSE_TREECTRL=yes
5107 DEFAULT_wxUSE_POPUPWIN=yes
5108 elif test "$wxUSE_CONTROLS" = "no"; then
5109 DEFAULT_wxUSE_ACCEL=no
5110 DEFAULT_wxUSE_BMPBUTTON=no
5111 DEFAULT_wxUSE_BUTTON=no
5112 DEFAULT_wxUSE_CALCTRL=no
5113 DEFAULT_wxUSE_CARET=no
5114 DEFAULT_wxUSE_COMBOBOX=no
5115 DEFAULT_wxUSE_CHECKBOX=no
5116 DEFAULT_wxUSE_CHECKLISTBOX=no
5117 DEFAULT_wxUSE_CHOICE=no
5118 DEFAULT_wxUSE_GAUGE=no
5119 DEFAULT_wxUSE_GRID=no
5120 DEFAULT_wxUSE_NEW_GRID=no
5121 DEFAULT_wxUSE_IMAGLIST=no
5122 DEFAULT_wxUSE_LISTBOX=no
5123 DEFAULT_wxUSE_LISTCTRL=no
5124 DEFAULT_wxUSE_NOTEBOOK=no
5125 DEFAULT_wxUSE_PROPSHEET=no
5126 DEFAULT_wxUSE_RADIOBOX=no
5127 DEFAULT_wxUSE_RADIOBTN=no
5128 DEFAULT_wxUSE_SASH=no
5129 DEFAULT_wxUSE_SCROLLBAR=no
5130 DEFAULT_wxUSE_SLIDER=no
5131 DEFAULT_wxUSE_SPINBTN=no
5132 DEFAULT_wxUSE_SPINCTRL=no
5133 DEFAULT_wxUSE_SPLITTER=no
5134 DEFAULT_wxUSE_STATBMP=no
5135 DEFAULT_wxUSE_STATBOX=no
5136 DEFAULT_wxUSE_STATLINE=no
5137 DEFAULT_wxUSE_STATUSBAR=no
5138 DEFAULT_wxUSE_TAB_DIALOG=no
5139 DEFAULT_wxUSE_TOGGLEBTN=no
5140 DEFAULT_wxUSE_TOOLBAR=no
5141 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
5142 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
5143 DEFAULT_wxUSE_TOOLTIPS=no
5144 DEFAULT_wxUSE_TREECTRL=no
5145 DEFAULT_wxUSE_POPUPWIN=no
5146 fi
5147
5148
5149 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5150 echo "configure:5151: checking for --enable-accel" >&5
5151 no_cache=0
5152 # Check whether --enable-accel or --disable-accel was given.
5153 if test "${enable_accel+set}" = set; then
5154 enableval="$enable_accel"
5155
5156 if test "$enableval" = yes; then
5157 ac_cv_use_accel='wxUSE_ACCEL=yes'
5158 else
5159 ac_cv_use_accel='wxUSE_ACCEL=no'
5160 fi
5161
5162 else
5163
5164 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5165 if test "x$LINE" != x ; then
5166 eval "DEFAULT_$LINE"
5167 else
5168 no_cache=1
5169 fi
5170
5171 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5172
5173 fi
5174
5175
5176 eval "$ac_cv_use_accel"
5177 if test "$no_cache" != 1; then
5178 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5179 fi
5180
5181 if test "$wxUSE_ACCEL" = yes; then
5182 echo "$ac_t""yes" 1>&6
5183 else
5184 echo "$ac_t""no" 1>&6
5185 fi
5186
5187
5188 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5189 echo "configure:5190: checking for --enable-button" >&5
5190 no_cache=0
5191 # Check whether --enable-button or --disable-button was given.
5192 if test "${enable_button+set}" = set; then
5193 enableval="$enable_button"
5194
5195 if test "$enableval" = yes; then
5196 ac_cv_use_button='wxUSE_BUTTON=yes'
5197 else
5198 ac_cv_use_button='wxUSE_BUTTON=no'
5199 fi
5200
5201 else
5202
5203 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5204 if test "x$LINE" != x ; then
5205 eval "DEFAULT_$LINE"
5206 else
5207 no_cache=1
5208 fi
5209
5210 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5211
5212 fi
5213
5214
5215 eval "$ac_cv_use_button"
5216 if test "$no_cache" != 1; then
5217 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5218 fi
5219
5220 if test "$wxUSE_BUTTON" = yes; then
5221 echo "$ac_t""yes" 1>&6
5222 else
5223 echo "$ac_t""no" 1>&6
5224 fi
5225
5226
5227 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5228 echo "configure:5229: checking for --enable-bmpbutton" >&5
5229 no_cache=0
5230 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5231 if test "${enable_bmpbutton+set}" = set; then
5232 enableval="$enable_bmpbutton"
5233
5234 if test "$enableval" = yes; then
5235 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
5236 else
5237 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
5238 fi
5239
5240 else
5241
5242 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5243 if test "x$LINE" != x ; then
5244 eval "DEFAULT_$LINE"
5245 else
5246 no_cache=1
5247 fi
5248
5249 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5250
5251 fi
5252
5253
5254 eval "$ac_cv_use_bmpbutton"
5255 if test "$no_cache" != 1; then
5256 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5257 fi
5258
5259 if test "$wxUSE_BMPBUTTON" = yes; then
5260 echo "$ac_t""yes" 1>&6
5261 else
5262 echo "$ac_t""no" 1>&6
5263 fi
5264
5265
5266 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5267 echo "configure:5268: checking for --enable-calendar" >&5
5268 no_cache=0
5269 # Check whether --enable-calendar or --disable-calendar was given.
5270 if test "${enable_calendar+set}" = set; then
5271 enableval="$enable_calendar"
5272
5273 if test "$enableval" = yes; then
5274 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
5275 else
5276 ac_cv_use_calendar='wxUSE_CALCTRL=no'
5277 fi
5278
5279 else
5280
5281 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5282 if test "x$LINE" != x ; then
5283 eval "DEFAULT_$LINE"
5284 else
5285 no_cache=1
5286 fi
5287
5288 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5289
5290 fi
5291
5292
5293 eval "$ac_cv_use_calendar"
5294 if test "$no_cache" != 1; then
5295 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5296 fi
5297
5298 if test "$wxUSE_CALCTRL" = yes; then
5299 echo "$ac_t""yes" 1>&6
5300 else
5301 echo "$ac_t""no" 1>&6
5302 fi
5303
5304
5305 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5306 echo "configure:5307: checking for --enable-caret" >&5
5307 no_cache=0
5308 # Check whether --enable-caret or --disable-caret was given.
5309 if test "${enable_caret+set}" = set; then
5310 enableval="$enable_caret"
5311
5312 if test "$enableval" = yes; then
5313 ac_cv_use_caret='wxUSE_CARET=yes'
5314 else
5315 ac_cv_use_caret='wxUSE_CARET=no'
5316 fi
5317
5318 else
5319
5320 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5321 if test "x$LINE" != x ; then
5322 eval "DEFAULT_$LINE"
5323 else
5324 no_cache=1
5325 fi
5326
5327 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5328
5329 fi
5330
5331
5332 eval "$ac_cv_use_caret"
5333 if test "$no_cache" != 1; then
5334 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5335 fi
5336
5337 if test "$wxUSE_CARET" = yes; then
5338 echo "$ac_t""yes" 1>&6
5339 else
5340 echo "$ac_t""no" 1>&6
5341 fi
5342
5343
5344 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5345 echo "configure:5346: checking for --enable-checkbox" >&5
5346 no_cache=0
5347 # Check whether --enable-checkbox or --disable-checkbox was given.
5348 if test "${enable_checkbox+set}" = set; then
5349 enableval="$enable_checkbox"
5350
5351 if test "$enableval" = yes; then
5352 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
5353 else
5354 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
5355 fi
5356
5357 else
5358
5359 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5360 if test "x$LINE" != x ; then
5361 eval "DEFAULT_$LINE"
5362 else
5363 no_cache=1
5364 fi
5365
5366 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5367
5368 fi
5369
5370
5371 eval "$ac_cv_use_checkbox"
5372 if test "$no_cache" != 1; then
5373 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5374 fi
5375
5376 if test "$wxUSE_CHECKBOX" = yes; then
5377 echo "$ac_t""yes" 1>&6
5378 else
5379 echo "$ac_t""no" 1>&6
5380 fi
5381
5382
5383 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5384 echo "configure:5385: checking for --enable-checklst" >&5
5385 no_cache=0
5386 # Check whether --enable-checklst or --disable-checklst was given.
5387 if test "${enable_checklst+set}" = set; then
5388 enableval="$enable_checklst"
5389
5390 if test "$enableval" = yes; then
5391 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
5392 else
5393 ac_cv_use_checklst='wxUSE_CHECKLST=no'
5394 fi
5395
5396 else
5397
5398 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5399 if test "x$LINE" != x ; then
5400 eval "DEFAULT_$LINE"
5401 else
5402 no_cache=1
5403 fi
5404
5405 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5406
5407 fi
5408
5409
5410 eval "$ac_cv_use_checklst"
5411 if test "$no_cache" != 1; then
5412 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5413 fi
5414
5415 if test "$wxUSE_CHECKLST" = yes; then
5416 echo "$ac_t""yes" 1>&6
5417 else
5418 echo "$ac_t""no" 1>&6
5419 fi
5420
5421
5422 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5423 echo "configure:5424: checking for --enable-choice" >&5
5424 no_cache=0
5425 # Check whether --enable-choice or --disable-choice was given.
5426 if test "${enable_choice+set}" = set; then
5427 enableval="$enable_choice"
5428
5429 if test "$enableval" = yes; then
5430 ac_cv_use_choice='wxUSE_CHOICE=yes'
5431 else
5432 ac_cv_use_choice='wxUSE_CHOICE=no'
5433 fi
5434
5435 else
5436
5437 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5438 if test "x$LINE" != x ; then
5439 eval "DEFAULT_$LINE"
5440 else
5441 no_cache=1
5442 fi
5443
5444 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5445
5446 fi
5447
5448
5449 eval "$ac_cv_use_choice"
5450 if test "$no_cache" != 1; then
5451 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5452 fi
5453
5454 if test "$wxUSE_CHOICE" = yes; then
5455 echo "$ac_t""yes" 1>&6
5456 else
5457 echo "$ac_t""no" 1>&6
5458 fi
5459
5460
5461 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5462 echo "configure:5463: checking for --enable-combobox" >&5
5463 no_cache=0
5464 # Check whether --enable-combobox or --disable-combobox was given.
5465 if test "${enable_combobox+set}" = set; then
5466 enableval="$enable_combobox"
5467
5468 if test "$enableval" = yes; then
5469 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
5470 else
5471 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
5472 fi
5473
5474 else
5475
5476 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5477 if test "x$LINE" != x ; then
5478 eval "DEFAULT_$LINE"
5479 else
5480 no_cache=1
5481 fi
5482
5483 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5484
5485 fi
5486
5487
5488 eval "$ac_cv_use_combobox"
5489 if test "$no_cache" != 1; then
5490 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5491 fi
5492
5493 if test "$wxUSE_COMBOBOX" = yes; then
5494 echo "$ac_t""yes" 1>&6
5495 else
5496 echo "$ac_t""no" 1>&6
5497 fi
5498
5499
5500 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5501 echo "configure:5502: checking for --enable-gauge" >&5
5502 no_cache=0
5503 # Check whether --enable-gauge or --disable-gauge was given.
5504 if test "${enable_gauge+set}" = set; then
5505 enableval="$enable_gauge"
5506
5507 if test "$enableval" = yes; then
5508 ac_cv_use_gauge='wxUSE_GAUGE=yes'
5509 else
5510 ac_cv_use_gauge='wxUSE_GAUGE=no'
5511 fi
5512
5513 else
5514
5515 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5516 if test "x$LINE" != x ; then
5517 eval "DEFAULT_$LINE"
5518 else
5519 no_cache=1
5520 fi
5521
5522 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5523
5524 fi
5525
5526
5527 eval "$ac_cv_use_gauge"
5528 if test "$no_cache" != 1; then
5529 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5530 fi
5531
5532 if test "$wxUSE_GAUGE" = yes; then
5533 echo "$ac_t""yes" 1>&6
5534 else
5535 echo "$ac_t""no" 1>&6
5536 fi
5537
5538
5539 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5540 echo "configure:5541: checking for --enable-grid" >&5
5541 no_cache=0
5542 # Check whether --enable-grid or --disable-grid was given.
5543 if test "${enable_grid+set}" = set; then
5544 enableval="$enable_grid"
5545
5546 if test "$enableval" = yes; then
5547 ac_cv_use_grid='wxUSE_GRID=yes'
5548 else
5549 ac_cv_use_grid='wxUSE_GRID=no'
5550 fi
5551
5552 else
5553
5554 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5555 if test "x$LINE" != x ; then
5556 eval "DEFAULT_$LINE"
5557 else
5558 no_cache=1
5559 fi
5560
5561 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5562
5563 fi
5564
5565
5566 eval "$ac_cv_use_grid"
5567 if test "$no_cache" != 1; then
5568 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5569 fi
5570
5571 if test "$wxUSE_GRID" = yes; then
5572 echo "$ac_t""yes" 1>&6
5573 else
5574 echo "$ac_t""no" 1>&6
5575 fi
5576
5577
5578 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5579 echo "configure:5580: checking for --enable-newgrid" >&5
5580 no_cache=0
5581 # Check whether --enable-newgrid or --disable-newgrid was given.
5582 if test "${enable_newgrid+set}" = set; then
5583 enableval="$enable_newgrid"
5584
5585 if test "$enableval" = yes; then
5586 ac_cv_use_newgrid='wxUSE_NEW_GRID=yes'
5587 else
5588 ac_cv_use_newgrid='wxUSE_NEW_GRID=no'
5589 fi
5590
5591 else
5592
5593 LINE=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5594 if test "x$LINE" != x ; then
5595 eval "DEFAULT_$LINE"
5596 else
5597 no_cache=1
5598 fi
5599
5600 ac_cv_use_newgrid='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5601
5602 fi
5603
5604
5605 eval "$ac_cv_use_newgrid"
5606 if test "$no_cache" != 1; then
5607 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5608 fi
5609
5610 if test "$wxUSE_NEW_GRID" = yes; then
5611 echo "$ac_t""yes" 1>&6
5612 else
5613 echo "$ac_t""no" 1>&6
5614 fi
5615
5616
5617 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5618 echo "configure:5619: checking for --enable-imaglist" >&5
5619 no_cache=0
5620 # Check whether --enable-imaglist or --disable-imaglist was given.
5621 if test "${enable_imaglist+set}" = set; then
5622 enableval="$enable_imaglist"
5623
5624 if test "$enableval" = yes; then
5625 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
5626 else
5627 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
5628 fi
5629
5630 else
5631
5632 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5633 if test "x$LINE" != x ; then
5634 eval "DEFAULT_$LINE"
5635 else
5636 no_cache=1
5637 fi
5638
5639 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5640
5641 fi
5642
5643
5644 eval "$ac_cv_use_imaglist"
5645 if test "$no_cache" != 1; then
5646 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5647 fi
5648
5649 if test "$wxUSE_IMAGLIST" = yes; then
5650 echo "$ac_t""yes" 1>&6
5651 else
5652 echo "$ac_t""no" 1>&6
5653 fi
5654
5655
5656 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5657 echo "configure:5658: checking for --enable-listbox" >&5
5658 no_cache=0
5659 # Check whether --enable-listbox or --disable-listbox was given.
5660 if test "${enable_listbox+set}" = set; then
5661 enableval="$enable_listbox"
5662
5663 if test "$enableval" = yes; then
5664 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
5665 else
5666 ac_cv_use_listbox='wxUSE_LISTBOX=no'
5667 fi
5668
5669 else
5670
5671 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5672 if test "x$LINE" != x ; then
5673 eval "DEFAULT_$LINE"
5674 else
5675 no_cache=1
5676 fi
5677
5678 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5679
5680 fi
5681
5682
5683 eval "$ac_cv_use_listbox"
5684 if test "$no_cache" != 1; then
5685 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5686 fi
5687
5688 if test "$wxUSE_LISTBOX" = yes; then
5689 echo "$ac_t""yes" 1>&6
5690 else
5691 echo "$ac_t""no" 1>&6
5692 fi
5693
5694
5695 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5696 echo "configure:5697: checking for --enable-listctrl" >&5
5697 no_cache=0
5698 # Check whether --enable-listctrl or --disable-listctrl was given.
5699 if test "${enable_listctrl+set}" = set; then
5700 enableval="$enable_listctrl"
5701
5702 if test "$enableval" = yes; then
5703 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
5704 else
5705 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
5706 fi
5707
5708 else
5709
5710 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5711 if test "x$LINE" != x ; then
5712 eval "DEFAULT_$LINE"
5713 else
5714 no_cache=1
5715 fi
5716
5717 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5718
5719 fi
5720
5721
5722 eval "$ac_cv_use_listctrl"
5723 if test "$no_cache" != 1; then
5724 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5725 fi
5726
5727 if test "$wxUSE_LISTCTRL" = yes; then
5728 echo "$ac_t""yes" 1>&6
5729 else
5730 echo "$ac_t""no" 1>&6
5731 fi
5732
5733
5734 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5735 echo "configure:5736: checking for --enable-notebook" >&5
5736 no_cache=0
5737 # Check whether --enable-notebook or --disable-notebook was given.
5738 if test "${enable_notebook+set}" = set; then
5739 enableval="$enable_notebook"
5740
5741 if test "$enableval" = yes; then
5742 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
5743 else
5744 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
5745 fi
5746
5747 else
5748
5749 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5750 if test "x$LINE" != x ; then
5751 eval "DEFAULT_$LINE"
5752 else
5753 no_cache=1
5754 fi
5755
5756 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5757
5758 fi
5759
5760
5761 eval "$ac_cv_use_notebook"
5762 if test "$no_cache" != 1; then
5763 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5764 fi
5765
5766 if test "$wxUSE_NOTEBOOK" = yes; then
5767 echo "$ac_t""yes" 1>&6
5768 else
5769 echo "$ac_t""no" 1>&6
5770 fi
5771
5772
5773 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5774 echo "configure:5775: checking for --enable-propsheet" >&5
5775 no_cache=0
5776 # Check whether --enable-propsheet or --disable-propsheet was given.
5777 if test "${enable_propsheet+set}" = set; then
5778 enableval="$enable_propsheet"
5779
5780 if test "$enableval" = yes; then
5781 ac_cv_use_propsheet='wxUSE_PROPSHEET=yes'
5782 else
5783 ac_cv_use_propsheet='wxUSE_PROPSHEET=no'
5784 fi
5785
5786 else
5787
5788 LINE=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5789 if test "x$LINE" != x ; then
5790 eval "DEFAULT_$LINE"
5791 else
5792 no_cache=1
5793 fi
5794
5795 ac_cv_use_propsheet='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5796
5797 fi
5798
5799
5800 eval "$ac_cv_use_propsheet"
5801 if test "$no_cache" != 1; then
5802 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5803 fi
5804
5805 if test "$wxUSE_PROPSHEET" = yes; then
5806 echo "$ac_t""yes" 1>&6
5807 else
5808 echo "$ac_t""no" 1>&6
5809 fi
5810
5811
5812 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5813 echo "configure:5814: checking for --enable-radiobox" >&5
5814 no_cache=0
5815 # Check whether --enable-radiobox or --disable-radiobox was given.
5816 if test "${enable_radiobox+set}" = set; then
5817 enableval="$enable_radiobox"
5818
5819 if test "$enableval" = yes; then
5820 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
5821 else
5822 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
5823 fi
5824
5825 else
5826
5827 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5828 if test "x$LINE" != x ; then
5829 eval "DEFAULT_$LINE"
5830 else
5831 no_cache=1
5832 fi
5833
5834 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5835
5836 fi
5837
5838
5839 eval "$ac_cv_use_radiobox"
5840 if test "$no_cache" != 1; then
5841 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5842 fi
5843
5844 if test "$wxUSE_RADIOBOX" = yes; then
5845 echo "$ac_t""yes" 1>&6
5846 else
5847 echo "$ac_t""no" 1>&6
5848 fi
5849
5850
5851 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5852 echo "configure:5853: checking for --enable-radiobtn" >&5
5853 no_cache=0
5854 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5855 if test "${enable_radiobtn+set}" = set; then
5856 enableval="$enable_radiobtn"
5857
5858 if test "$enableval" = yes; then
5859 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
5860 else
5861 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
5862 fi
5863
5864 else
5865
5866 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5867 if test "x$LINE" != x ; then
5868 eval "DEFAULT_$LINE"
5869 else
5870 no_cache=1
5871 fi
5872
5873 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5874
5875 fi
5876
5877
5878 eval "$ac_cv_use_radiobtn"
5879 if test "$no_cache" != 1; then
5880 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5881 fi
5882
5883 if test "$wxUSE_RADIOBTN" = yes; then
5884 echo "$ac_t""yes" 1>&6
5885 else
5886 echo "$ac_t""no" 1>&6
5887 fi
5888
5889
5890 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5891 echo "configure:5892: checking for --enable-sash" >&5
5892 no_cache=0
5893 # Check whether --enable-sash or --disable-sash was given.
5894 if test "${enable_sash+set}" = set; then
5895 enableval="$enable_sash"
5896
5897 if test "$enableval" = yes; then
5898 ac_cv_use_sash='wxUSE_SASH=yes'
5899 else
5900 ac_cv_use_sash='wxUSE_SASH=no'
5901 fi
5902
5903 else
5904
5905 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5906 if test "x$LINE" != x ; then
5907 eval "DEFAULT_$LINE"
5908 else
5909 no_cache=1
5910 fi
5911
5912 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5913
5914 fi
5915
5916
5917 eval "$ac_cv_use_sash"
5918 if test "$no_cache" != 1; then
5919 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5920 fi
5921
5922 if test "$wxUSE_SASH" = yes; then
5923 echo "$ac_t""yes" 1>&6
5924 else
5925 echo "$ac_t""no" 1>&6
5926 fi
5927
5928
5929 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5930 echo "configure:5931: checking for --enable-scrollbar" >&5
5931 no_cache=0
5932 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5933 if test "${enable_scrollbar+set}" = set; then
5934 enableval="$enable_scrollbar"
5935
5936 if test "$enableval" = yes; then
5937 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
5938 else
5939 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
5940 fi
5941
5942 else
5943
5944 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5945 if test "x$LINE" != x ; then
5946 eval "DEFAULT_$LINE"
5947 else
5948 no_cache=1
5949 fi
5950
5951 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5952
5953 fi
5954
5955
5956 eval "$ac_cv_use_scrollbar"
5957 if test "$no_cache" != 1; then
5958 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5959 fi
5960
5961 if test "$wxUSE_SCROLLBAR" = yes; then
5962 echo "$ac_t""yes" 1>&6
5963 else
5964 echo "$ac_t""no" 1>&6
5965 fi
5966
5967
5968 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5969 echo "configure:5970: checking for --enable-slider" >&5
5970 no_cache=0
5971 # Check whether --enable-slider or --disable-slider was given.
5972 if test "${enable_slider+set}" = set; then
5973 enableval="$enable_slider"
5974
5975 if test "$enableval" = yes; then
5976 ac_cv_use_slider='wxUSE_SLIDER=yes'
5977 else
5978 ac_cv_use_slider='wxUSE_SLIDER=no'
5979 fi
5980
5981 else
5982
5983 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5984 if test "x$LINE" != x ; then
5985 eval "DEFAULT_$LINE"
5986 else
5987 no_cache=1
5988 fi
5989
5990 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5991
5992 fi
5993
5994
5995 eval "$ac_cv_use_slider"
5996 if test "$no_cache" != 1; then
5997 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5998 fi
5999
6000 if test "$wxUSE_SLIDER" = yes; then
6001 echo "$ac_t""yes" 1>&6
6002 else
6003 echo "$ac_t""no" 1>&6
6004 fi
6005
6006
6007 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6008 echo "configure:6009: checking for --enable-spinbtn" >&5
6009 no_cache=0
6010 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6011 if test "${enable_spinbtn+set}" = set; then
6012 enableval="$enable_spinbtn"
6013
6014 if test "$enableval" = yes; then
6015 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
6016 else
6017 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
6018 fi
6019
6020 else
6021
6022 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6023 if test "x$LINE" != x ; then
6024 eval "DEFAULT_$LINE"
6025 else
6026 no_cache=1
6027 fi
6028
6029 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6030
6031 fi
6032
6033
6034 eval "$ac_cv_use_spinbtn"
6035 if test "$no_cache" != 1; then
6036 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6037 fi
6038
6039 if test "$wxUSE_SPINBTN" = yes; then
6040 echo "$ac_t""yes" 1>&6
6041 else
6042 echo "$ac_t""no" 1>&6
6043 fi
6044
6045
6046 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6047 echo "configure:6048: checking for --enable-spinctrl" >&5
6048 no_cache=0
6049 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6050 if test "${enable_spinctrl+set}" = set; then
6051 enableval="$enable_spinctrl"
6052
6053 if test "$enableval" = yes; then
6054 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
6055 else
6056 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
6057 fi
6058
6059 else
6060
6061 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6062 if test "x$LINE" != x ; then
6063 eval "DEFAULT_$LINE"
6064 else
6065 no_cache=1
6066 fi
6067
6068 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6069
6070 fi
6071
6072
6073 eval "$ac_cv_use_spinctrl"
6074 if test "$no_cache" != 1; then
6075 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6076 fi
6077
6078 if test "$wxUSE_SPINCTRL" = yes; then
6079 echo "$ac_t""yes" 1>&6
6080 else
6081 echo "$ac_t""no" 1>&6
6082 fi
6083
6084
6085 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6086 echo "configure:6087: checking for --enable-splitter" >&5
6087 no_cache=0
6088 # Check whether --enable-splitter or --disable-splitter was given.
6089 if test "${enable_splitter+set}" = set; then
6090 enableval="$enable_splitter"
6091
6092 if test "$enableval" = yes; then
6093 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
6094 else
6095 ac_cv_use_splitter='wxUSE_SPLITTER=no'
6096 fi
6097
6098 else
6099
6100 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6101 if test "x$LINE" != x ; then
6102 eval "DEFAULT_$LINE"
6103 else
6104 no_cache=1
6105 fi
6106
6107 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6108
6109 fi
6110
6111
6112 eval "$ac_cv_use_splitter"
6113 if test "$no_cache" != 1; then
6114 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6115 fi
6116
6117 if test "$wxUSE_SPLITTER" = yes; then
6118 echo "$ac_t""yes" 1>&6
6119 else
6120 echo "$ac_t""no" 1>&6
6121 fi
6122
6123
6124 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6125 echo "configure:6126: checking for --enable-statbmp" >&5
6126 no_cache=0
6127 # Check whether --enable-statbmp or --disable-statbmp was given.
6128 if test "${enable_statbmp+set}" = set; then
6129 enableval="$enable_statbmp"
6130
6131 if test "$enableval" = yes; then
6132 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
6133 else
6134 ac_cv_use_statbmp='wxUSE_STATBMP=no'
6135 fi
6136
6137 else
6138
6139 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6140 if test "x$LINE" != x ; then
6141 eval "DEFAULT_$LINE"
6142 else
6143 no_cache=1
6144 fi
6145
6146 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6147
6148 fi
6149
6150
6151 eval "$ac_cv_use_statbmp"
6152 if test "$no_cache" != 1; then
6153 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6154 fi
6155
6156 if test "$wxUSE_STATBMP" = yes; then
6157 echo "$ac_t""yes" 1>&6
6158 else
6159 echo "$ac_t""no" 1>&6
6160 fi
6161
6162
6163 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6164 echo "configure:6165: checking for --enable-statbox" >&5
6165 no_cache=0
6166 # Check whether --enable-statbox or --disable-statbox was given.
6167 if test "${enable_statbox+set}" = set; then
6168 enableval="$enable_statbox"
6169
6170 if test "$enableval" = yes; then
6171 ac_cv_use_statbox='wxUSE_STATBOX=yes'
6172 else
6173 ac_cv_use_statbox='wxUSE_STATBOX=no'
6174 fi
6175
6176 else
6177
6178 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6179 if test "x$LINE" != x ; then
6180 eval "DEFAULT_$LINE"
6181 else
6182 no_cache=1
6183 fi
6184
6185 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6186
6187 fi
6188
6189
6190 eval "$ac_cv_use_statbox"
6191 if test "$no_cache" != 1; then
6192 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6193 fi
6194
6195 if test "$wxUSE_STATBOX" = yes; then
6196 echo "$ac_t""yes" 1>&6
6197 else
6198 echo "$ac_t""no" 1>&6
6199 fi
6200
6201
6202 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6203 echo "configure:6204: checking for --enable-statline" >&5
6204 no_cache=0
6205 # Check whether --enable-statline or --disable-statline was given.
6206 if test "${enable_statline+set}" = set; then
6207 enableval="$enable_statline"
6208
6209 if test "$enableval" = yes; then
6210 ac_cv_use_statline='wxUSE_STATLINE=yes'
6211 else
6212 ac_cv_use_statline='wxUSE_STATLINE=no'
6213 fi
6214
6215 else
6216
6217 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6218 if test "x$LINE" != x ; then
6219 eval "DEFAULT_$LINE"
6220 else
6221 no_cache=1
6222 fi
6223
6224 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6225
6226 fi
6227
6228
6229 eval "$ac_cv_use_statline"
6230 if test "$no_cache" != 1; then
6231 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6232 fi
6233
6234 if test "$wxUSE_STATLINE" = yes; then
6235 echo "$ac_t""yes" 1>&6
6236 else
6237 echo "$ac_t""no" 1>&6
6238 fi
6239
6240
6241 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6242 echo "configure:6243: checking for --enable-stattext" >&5
6243 no_cache=0
6244 # Check whether --enable-stattext or --disable-stattext was given.
6245 if test "${enable_stattext+set}" = set; then
6246 enableval="$enable_stattext"
6247
6248 if test "$enableval" = yes; then
6249 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
6250 else
6251 ac_cv_use_stattext='wxUSE_STATTEXT=no'
6252 fi
6253
6254 else
6255
6256 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6257 if test "x$LINE" != x ; then
6258 eval "DEFAULT_$LINE"
6259 else
6260 no_cache=1
6261 fi
6262
6263 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6264
6265 fi
6266
6267
6268 eval "$ac_cv_use_stattext"
6269 if test "$no_cache" != 1; then
6270 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6271 fi
6272
6273 if test "$wxUSE_STATTEXT" = yes; then
6274 echo "$ac_t""yes" 1>&6
6275 else
6276 echo "$ac_t""no" 1>&6
6277 fi
6278
6279
6280 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6281 echo "configure:6282: checking for --enable-statusbar" >&5
6282 no_cache=0
6283 # Check whether --enable-statusbar or --disable-statusbar was given.
6284 if test "${enable_statusbar+set}" = set; then
6285 enableval="$enable_statusbar"
6286
6287 if test "$enableval" = yes; then
6288 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
6289 else
6290 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
6291 fi
6292
6293 else
6294
6295 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6296 if test "x$LINE" != x ; then
6297 eval "DEFAULT_$LINE"
6298 else
6299 no_cache=1
6300 fi
6301
6302 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6303
6304 fi
6305
6306
6307 eval "$ac_cv_use_statusbar"
6308 if test "$no_cache" != 1; then
6309 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6310 fi
6311
6312 if test "$wxUSE_STATUSBAR" = yes; then
6313 echo "$ac_t""yes" 1>&6
6314 else
6315 echo "$ac_t""no" 1>&6
6316 fi
6317
6318
6319 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6320 echo "configure:6321: checking for --enable-tabdialog" >&5
6321 no_cache=0
6322 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6323 if test "${enable_tabdialog+set}" = set; then
6324 enableval="$enable_tabdialog"
6325
6326 if test "$enableval" = yes; then
6327 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
6328 else
6329 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
6330 fi
6331
6332 else
6333
6334 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6335 if test "x$LINE" != x ; then
6336 eval "DEFAULT_$LINE"
6337 else
6338 no_cache=1
6339 fi
6340
6341 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6342
6343 fi
6344
6345
6346 eval "$ac_cv_use_tabdialog"
6347 if test "$no_cache" != 1; then
6348 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6349 fi
6350
6351 if test "$wxUSE_TABDIALOG" = yes; then
6352 echo "$ac_t""yes" 1>&6
6353 else
6354 echo "$ac_t""no" 1>&6
6355 fi
6356
6357
6358 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6359 echo "configure:6360: checking for --enable-textctrl" >&5
6360 no_cache=0
6361 # Check whether --enable-textctrl or --disable-textctrl was given.
6362 if test "${enable_textctrl+set}" = set; then
6363 enableval="$enable_textctrl"
6364
6365 if test "$enableval" = yes; then
6366 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
6367 else
6368 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
6369 fi
6370
6371 else
6372
6373 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6374 if test "x$LINE" != x ; then
6375 eval "DEFAULT_$LINE"
6376 else
6377 no_cache=1
6378 fi
6379
6380 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6381
6382 fi
6383
6384
6385 eval "$ac_cv_use_textctrl"
6386 if test "$no_cache" != 1; then
6387 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6388 fi
6389
6390 if test "$wxUSE_TEXTCTRL" = yes; then
6391 echo "$ac_t""yes" 1>&6
6392 else
6393 echo "$ac_t""no" 1>&6
6394 fi
6395
6396
6397 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6398 echo "configure:6399: checking for --enable-togglebtn" >&5
6399 no_cache=0
6400 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6401 if test "${enable_togglebtn+set}" = set; then
6402 enableval="$enable_togglebtn"
6403
6404 if test "$enableval" = yes; then
6405 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
6406 else
6407 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
6408 fi
6409
6410 else
6411
6412 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6413 if test "x$LINE" != x ; then
6414 eval "DEFAULT_$LINE"
6415 else
6416 no_cache=1
6417 fi
6418
6419 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6420
6421 fi
6422
6423
6424 eval "$ac_cv_use_togglebtn"
6425 if test "$no_cache" != 1; then
6426 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6427 fi
6428
6429 if test "$wxUSE_TOGGLEBTN" = yes; then
6430 echo "$ac_t""yes" 1>&6
6431 else
6432 echo "$ac_t""no" 1>&6
6433 fi
6434
6435
6436 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6437 echo "configure:6438: checking for --enable-toolbar" >&5
6438 no_cache=0
6439 # Check whether --enable-toolbar or --disable-toolbar was given.
6440 if test "${enable_toolbar+set}" = set; then
6441 enableval="$enable_toolbar"
6442
6443 if test "$enableval" = yes; then
6444 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
6445 else
6446 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
6447 fi
6448
6449 else
6450
6451 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6452 if test "x$LINE" != x ; then
6453 eval "DEFAULT_$LINE"
6454 else
6455 no_cache=1
6456 fi
6457
6458 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6459
6460 fi
6461
6462
6463 eval "$ac_cv_use_toolbar"
6464 if test "$no_cache" != 1; then
6465 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6466 fi
6467
6468 if test "$wxUSE_TOOLBAR" = yes; then
6469 echo "$ac_t""yes" 1>&6
6470 else
6471 echo "$ac_t""no" 1>&6
6472 fi
6473
6474
6475 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6476 echo "configure:6477: checking for --enable-tbarnative" >&5
6477 no_cache=0
6478 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6479 if test "${enable_tbarnative+set}" = set; then
6480 enableval="$enable_tbarnative"
6481
6482 if test "$enableval" = yes; then
6483 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
6484 else
6485 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
6486 fi
6487
6488 else
6489
6490 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6491 if test "x$LINE" != x ; then
6492 eval "DEFAULT_$LINE"
6493 else
6494 no_cache=1
6495 fi
6496
6497 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6498
6499 fi
6500
6501
6502 eval "$ac_cv_use_tbarnative"
6503 if test "$no_cache" != 1; then
6504 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6505 fi
6506
6507 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6508 echo "$ac_t""yes" 1>&6
6509 else
6510 echo "$ac_t""no" 1>&6
6511 fi
6512
6513
6514 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6515 echo "configure:6516: checking for --enable-tbarsmpl" >&5
6516 no_cache=0
6517 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6518 if test "${enable_tbarsmpl+set}" = set; then
6519 enableval="$enable_tbarsmpl"
6520
6521 if test "$enableval" = yes; then
6522 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
6523 else
6524 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
6525 fi
6526
6527 else
6528
6529 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6530 if test "x$LINE" != x ; then
6531 eval "DEFAULT_$LINE"
6532 else
6533 no_cache=1
6534 fi
6535
6536 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6537
6538 fi
6539
6540
6541 eval "$ac_cv_use_tbarsmpl"
6542 if test "$no_cache" != 1; then
6543 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6544 fi
6545
6546 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6547 echo "$ac_t""yes" 1>&6
6548 else
6549 echo "$ac_t""no" 1>&6
6550 fi
6551
6552
6553 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6554 echo "configure:6555: checking for --enable-treectrl" >&5
6555 no_cache=0
6556 # Check whether --enable-treectrl or --disable-treectrl was given.
6557 if test "${enable_treectrl+set}" = set; then
6558 enableval="$enable_treectrl"
6559
6560 if test "$enableval" = yes; then
6561 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
6562 else
6563 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
6564 fi
6565
6566 else
6567
6568 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6569 if test "x$LINE" != x ; then
6570 eval "DEFAULT_$LINE"
6571 else
6572 no_cache=1
6573 fi
6574
6575 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6576
6577 fi
6578
6579
6580 eval "$ac_cv_use_treectrl"
6581 if test "$no_cache" != 1; then
6582 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6583 fi
6584
6585 if test "$wxUSE_TREECTRL" = yes; then
6586 echo "$ac_t""yes" 1>&6
6587 else
6588 echo "$ac_t""no" 1>&6
6589 fi
6590
6591
6592 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6593 echo "configure:6594: checking for --enable-popupwin" >&5
6594 no_cache=0
6595 # Check whether --enable-popupwin or --disable-popupwin was given.
6596 if test "${enable_popupwin+set}" = set; then
6597 enableval="$enable_popupwin"
6598
6599 if test "$enableval" = yes; then
6600 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
6601 else
6602 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
6603 fi
6604
6605 else
6606
6607 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6608 if test "x$LINE" != x ; then
6609 eval "DEFAULT_$LINE"
6610 else
6611 no_cache=1
6612 fi
6613
6614 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6615
6616 fi
6617
6618
6619 eval "$ac_cv_use_popupwin"
6620 if test "$no_cache" != 1; then
6621 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6622 fi
6623
6624 if test "$wxUSE_POPUPWIN" = yes; then
6625 echo "$ac_t""yes" 1>&6
6626 else
6627 echo "$ac_t""no" 1>&6
6628 fi
6629
6630
6631
6632
6633 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6634 echo "configure:6635: checking for --enable-commondlg" >&5
6635 no_cache=0
6636 # Check whether --enable-commondlg or --disable-commondlg was given.
6637 if test "${enable_commondlg+set}" = set; then
6638 enableval="$enable_commondlg"
6639
6640 if test "$enableval" = yes; then
6641 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
6642 else
6643 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
6644 fi
6645
6646 else
6647
6648 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6649 if test "x$LINE" != x ; then
6650 eval "DEFAULT_$LINE"
6651 else
6652 no_cache=1
6653 fi
6654
6655 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6656
6657 fi
6658
6659
6660 eval "$ac_cv_use_commondlg"
6661 if test "$no_cache" != 1; then
6662 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6663 fi
6664
6665 if test "$wxUSE_COMMONDLGS" = yes; then
6666 echo "$ac_t""yes" 1>&6
6667 else
6668 echo "$ac_t""no" 1>&6
6669 fi
6670
6671
6672 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6673 echo "configure:6674: checking for --enable-choicedlg" >&5
6674 no_cache=0
6675 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6676 if test "${enable_choicedlg+set}" = set; then
6677 enableval="$enable_choicedlg"
6678
6679 if test "$enableval" = yes; then
6680 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
6681 else
6682 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
6683 fi
6684
6685 else
6686
6687 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6688 if test "x$LINE" != x ; then
6689 eval "DEFAULT_$LINE"
6690 else
6691 no_cache=1
6692 fi
6693
6694 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6695
6696 fi
6697
6698
6699 eval "$ac_cv_use_choicedlg"
6700 if test "$no_cache" != 1; then
6701 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6702 fi
6703
6704 if test "$wxUSE_CHOICEDLG" = yes; then
6705 echo "$ac_t""yes" 1>&6
6706 else
6707 echo "$ac_t""no" 1>&6
6708 fi
6709
6710
6711 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6712 echo "configure:6713: checking for --enable-coldlg" >&5
6713 no_cache=0
6714 # Check whether --enable-coldlg or --disable-coldlg was given.
6715 if test "${enable_coldlg+set}" = set; then
6716 enableval="$enable_coldlg"
6717
6718 if test "$enableval" = yes; then
6719 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
6720 else
6721 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
6722 fi
6723
6724 else
6725
6726 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6727 if test "x$LINE" != x ; then
6728 eval "DEFAULT_$LINE"
6729 else
6730 no_cache=1
6731 fi
6732
6733 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6734
6735 fi
6736
6737
6738 eval "$ac_cv_use_coldlg"
6739 if test "$no_cache" != 1; then
6740 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6741 fi
6742
6743 if test "$wxUSE_COLOURDLG" = yes; then
6744 echo "$ac_t""yes" 1>&6
6745 else
6746 echo "$ac_t""no" 1>&6
6747 fi
6748
6749
6750 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6751 echo "configure:6752: checking for --enable-filedlg" >&5
6752 no_cache=0
6753 # Check whether --enable-filedlg or --disable-filedlg was given.
6754 if test "${enable_filedlg+set}" = set; then
6755 enableval="$enable_filedlg"
6756
6757 if test "$enableval" = yes; then
6758 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
6759 else
6760 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
6761 fi
6762
6763 else
6764
6765 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6766 if test "x$LINE" != x ; then
6767 eval "DEFAULT_$LINE"
6768 else
6769 no_cache=1
6770 fi
6771
6772 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6773
6774 fi
6775
6776
6777 eval "$ac_cv_use_filedlg"
6778 if test "$no_cache" != 1; then
6779 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6780 fi
6781
6782 if test "$wxUSE_FILEDLG" = yes; then
6783 echo "$ac_t""yes" 1>&6
6784 else
6785 echo "$ac_t""no" 1>&6
6786 fi
6787
6788
6789 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6790 echo "configure:6791: checking for --enable-filedlg" >&5
6791 no_cache=0
6792 # Check whether --enable-filedlg or --disable-filedlg was given.
6793 if test "${enable_filedlg+set}" = set; then
6794 enableval="$enable_filedlg"
6795
6796 if test "$enableval" = yes; then
6797 ac_cv_use_filedlg='wxUSE_FINDREPLDLG=yes'
6798 else
6799 ac_cv_use_filedlg='wxUSE_FINDREPLDLG=no'
6800 fi
6801
6802 else
6803
6804 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
6805 if test "x$LINE" != x ; then
6806 eval "DEFAULT_$LINE"
6807 else
6808 no_cache=1
6809 fi
6810
6811 ac_cv_use_filedlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
6812
6813 fi
6814
6815
6816 eval "$ac_cv_use_filedlg"
6817 if test "$no_cache" != 1; then
6818 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6819 fi
6820
6821 if test "$wxUSE_FINDREPLDLG" = yes; then
6822 echo "$ac_t""yes" 1>&6
6823 else
6824 echo "$ac_t""no" 1>&6
6825 fi
6826
6827
6828 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6829 echo "configure:6830: checking for --enable-fontdlg" >&5
6830 no_cache=0
6831 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6832 if test "${enable_fontdlg+set}" = set; then
6833 enableval="$enable_fontdlg"
6834
6835 if test "$enableval" = yes; then
6836 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
6837 else
6838 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
6839 fi
6840
6841 else
6842
6843 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6844 if test "x$LINE" != x ; then
6845 eval "DEFAULT_$LINE"
6846 else
6847 no_cache=1
6848 fi
6849
6850 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6851
6852 fi
6853
6854
6855 eval "$ac_cv_use_fontdlg"
6856 if test "$no_cache" != 1; then
6857 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6858 fi
6859
6860 if test "$wxUSE_FONTDLG" = yes; then
6861 echo "$ac_t""yes" 1>&6
6862 else
6863 echo "$ac_t""no" 1>&6
6864 fi
6865
6866
6867 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6868 echo "configure:6869: checking for --enable-dirdlg" >&5
6869 no_cache=0
6870 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6871 if test "${enable_dirdlg+set}" = set; then
6872 enableval="$enable_dirdlg"
6873
6874 if test "$enableval" = yes; then
6875 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
6876 else
6877 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
6878 fi
6879
6880 else
6881
6882 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6883 if test "x$LINE" != x ; then
6884 eval "DEFAULT_$LINE"
6885 else
6886 no_cache=1
6887 fi
6888
6889 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6890
6891 fi
6892
6893
6894 eval "$ac_cv_use_dirdlg"
6895 if test "$no_cache" != 1; then
6896 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6897 fi
6898
6899 if test "$wxUSE_DIRDLG" = yes; then
6900 echo "$ac_t""yes" 1>&6
6901 else
6902 echo "$ac_t""no" 1>&6
6903 fi
6904
6905
6906 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6907 echo "configure:6908: checking for --enable-msgdlg" >&5
6908 no_cache=0
6909 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6910 if test "${enable_msgdlg+set}" = set; then
6911 enableval="$enable_msgdlg"
6912
6913 if test "$enableval" = yes; then
6914 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
6915 else
6916 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
6917 fi
6918
6919 else
6920
6921 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6922 if test "x$LINE" != x ; then
6923 eval "DEFAULT_$LINE"
6924 else
6925 no_cache=1
6926 fi
6927
6928 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6929
6930 fi
6931
6932
6933 eval "$ac_cv_use_msgdlg"
6934 if test "$no_cache" != 1; then
6935 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6936 fi
6937
6938 if test "$wxUSE_MSGDLG" = yes; then
6939 echo "$ac_t""yes" 1>&6
6940 else
6941 echo "$ac_t""no" 1>&6
6942 fi
6943
6944
6945 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6946 echo "configure:6947: checking for --enable-numberdlg" >&5
6947 no_cache=0
6948 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6949 if test "${enable_numberdlg+set}" = set; then
6950 enableval="$enable_numberdlg"
6951
6952 if test "$enableval" = yes; then
6953 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
6954 else
6955 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
6956 fi
6957
6958 else
6959
6960 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6961 if test "x$LINE" != x ; then
6962 eval "DEFAULT_$LINE"
6963 else
6964 no_cache=1
6965 fi
6966
6967 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6968
6969 fi
6970
6971
6972 eval "$ac_cv_use_numberdlg"
6973 if test "$no_cache" != 1; then
6974 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6975 fi
6976
6977 if test "$wxUSE_NUMBERDLG" = yes; then
6978 echo "$ac_t""yes" 1>&6
6979 else
6980 echo "$ac_t""no" 1>&6
6981 fi
6982
6983
6984 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
6985 echo "configure:6986: checking for --enable-splash" >&5
6986 no_cache=0
6987 # Check whether --enable-splash or --disable-splash was given.
6988 if test "${enable_splash+set}" = set; then
6989 enableval="$enable_splash"
6990
6991 if test "$enableval" = yes; then
6992 ac_cv_use_splash='wxUSE_SPLASH=yes'
6993 else
6994 ac_cv_use_splash='wxUSE_SPLASH=no'
6995 fi
6996
6997 else
6998
6999 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7000 if test "x$LINE" != x ; then
7001 eval "DEFAULT_$LINE"
7002 else
7003 no_cache=1
7004 fi
7005
7006 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7007
7008 fi
7009
7010
7011 eval "$ac_cv_use_splash"
7012 if test "$no_cache" != 1; then
7013 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7014 fi
7015
7016 if test "$wxUSE_SPLASH" = yes; then
7017 echo "$ac_t""yes" 1>&6
7018 else
7019 echo "$ac_t""no" 1>&6
7020 fi
7021
7022
7023 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7024 echo "configure:7025: checking for --enable-textdlg" >&5
7025 no_cache=0
7026 # Check whether --enable-textdlg or --disable-textdlg was given.
7027 if test "${enable_textdlg+set}" = set; then
7028 enableval="$enable_textdlg"
7029
7030 if test "$enableval" = yes; then
7031 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
7032 else
7033 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
7034 fi
7035
7036 else
7037
7038 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7039 if test "x$LINE" != x ; then
7040 eval "DEFAULT_$LINE"
7041 else
7042 no_cache=1
7043 fi
7044
7045 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7046
7047 fi
7048
7049
7050 eval "$ac_cv_use_textdlg"
7051 if test "$no_cache" != 1; then
7052 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7053 fi
7054
7055 if test "$wxUSE_TEXTDLG" = yes; then
7056 echo "$ac_t""yes" 1>&6
7057 else
7058 echo "$ac_t""no" 1>&6
7059 fi
7060
7061
7062 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7063 echo "configure:7064: checking for --enable-tipdlg" >&5
7064 no_cache=0
7065 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7066 if test "${enable_tipdlg+set}" = set; then
7067 enableval="$enable_tipdlg"
7068
7069 if test "$enableval" = yes; then
7070 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
7071 else
7072 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
7073 fi
7074
7075 else
7076
7077 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7078 if test "x$LINE" != x ; then
7079 eval "DEFAULT_$LINE"
7080 else
7081 no_cache=1
7082 fi
7083
7084 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7085
7086 fi
7087
7088
7089 eval "$ac_cv_use_tipdlg"
7090 if test "$no_cache" != 1; then
7091 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7092 fi
7093
7094 if test "$wxUSE_STARTUP_TIPS" = yes; then
7095 echo "$ac_t""yes" 1>&6
7096 else
7097 echo "$ac_t""no" 1>&6
7098 fi
7099
7100
7101 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7102 echo "configure:7103: checking for --enable-progressdlg" >&5
7103 no_cache=0
7104 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7105 if test "${enable_progressdlg+set}" = set; then
7106 enableval="$enable_progressdlg"
7107
7108 if test "$enableval" = yes; then
7109 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
7110 else
7111 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
7112 fi
7113
7114 else
7115
7116 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7117 if test "x$LINE" != x ; then
7118 eval "DEFAULT_$LINE"
7119 else
7120 no_cache=1
7121 fi
7122
7123 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7124
7125 fi
7126
7127
7128 eval "$ac_cv_use_progressdlg"
7129 if test "$no_cache" != 1; then
7130 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7131 fi
7132
7133 if test "$wxUSE_PROGRESSDLG" = yes; then
7134 echo "$ac_t""yes" 1>&6
7135 else
7136 echo "$ac_t""no" 1>&6
7137 fi
7138
7139
7140 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7141 echo "configure:7142: checking for --enable-wizarddlg" >&5
7142 no_cache=0
7143 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7144 if test "${enable_wizarddlg+set}" = set; then
7145 enableval="$enable_wizarddlg"
7146
7147 if test "$enableval" = yes; then
7148 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
7149 else
7150 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
7151 fi
7152
7153 else
7154
7155 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7156 if test "x$LINE" != x ; then
7157 eval "DEFAULT_$LINE"
7158 else
7159 no_cache=1
7160 fi
7161
7162 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7163
7164 fi
7165
7166
7167 eval "$ac_cv_use_wizarddlg"
7168 if test "$no_cache" != 1; then
7169 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7170 fi
7171
7172 if test "$wxUSE_WIZARDDLG" = yes; then
7173 echo "$ac_t""yes" 1>&6
7174 else
7175 echo "$ac_t""no" 1>&6
7176 fi
7177
7178
7179
7180
7181 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7182 echo "configure:7183: checking for --enable-menus" >&5
7183 no_cache=0
7184 # Check whether --enable-menus or --disable-menus was given.
7185 if test "${enable_menus+set}" = set; then
7186 enableval="$enable_menus"
7187
7188 if test "$enableval" = yes; then
7189 ac_cv_use_menus='wxUSE_MENUS=yes'
7190 else
7191 ac_cv_use_menus='wxUSE_MENUS=no'
7192 fi
7193
7194 else
7195
7196 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7197 if test "x$LINE" != x ; then
7198 eval "DEFAULT_$LINE"
7199 else
7200 no_cache=1
7201 fi
7202
7203 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7204
7205 fi
7206
7207
7208 eval "$ac_cv_use_menus"
7209 if test "$no_cache" != 1; then
7210 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7211 fi
7212
7213 if test "$wxUSE_MENUS" = yes; then
7214 echo "$ac_t""yes" 1>&6
7215 else
7216 echo "$ac_t""no" 1>&6
7217 fi
7218
7219
7220 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7221 echo "configure:7222: checking for --enable-miniframe" >&5
7222 no_cache=0
7223 # Check whether --enable-miniframe or --disable-miniframe was given.
7224 if test "${enable_miniframe+set}" = set; then
7225 enableval="$enable_miniframe"
7226
7227 if test "$enableval" = yes; then
7228 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
7229 else
7230 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
7231 fi
7232
7233 else
7234
7235 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7236 if test "x$LINE" != x ; then
7237 eval "DEFAULT_$LINE"
7238 else
7239 no_cache=1
7240 fi
7241
7242 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7243
7244 fi
7245
7246
7247 eval "$ac_cv_use_miniframe"
7248 if test "$no_cache" != 1; then
7249 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7250 fi
7251
7252 if test "$wxUSE_MINIFRAME" = yes; then
7253 echo "$ac_t""yes" 1>&6
7254 else
7255 echo "$ac_t""no" 1>&6
7256 fi
7257
7258
7259 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7260 echo "configure:7261: checking for --enable-tooltips" >&5
7261 no_cache=0
7262 # Check whether --enable-tooltips or --disable-tooltips was given.
7263 if test "${enable_tooltips+set}" = set; then
7264 enableval="$enable_tooltips"
7265
7266 if test "$enableval" = yes; then
7267 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
7268 else
7269 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
7270 fi
7271
7272 else
7273
7274 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7275 if test "x$LINE" != x ; then
7276 eval "DEFAULT_$LINE"
7277 else
7278 no_cache=1
7279 fi
7280
7281 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7282
7283 fi
7284
7285
7286 eval "$ac_cv_use_tooltips"
7287 if test "$no_cache" != 1; then
7288 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7289 fi
7290
7291 if test "$wxUSE_TOOLTIPS" = yes; then
7292 echo "$ac_t""yes" 1>&6
7293 else
7294 echo "$ac_t""no" 1>&6
7295 fi
7296
7297
7298 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7299 echo "configure:7300: checking for --enable-splines" >&5
7300 no_cache=0
7301 # Check whether --enable-splines or --disable-splines was given.
7302 if test "${enable_splines+set}" = set; then
7303 enableval="$enable_splines"
7304
7305 if test "$enableval" = yes; then
7306 ac_cv_use_splines='wxUSE_SPLINES=yes'
7307 else
7308 ac_cv_use_splines='wxUSE_SPLINES=no'
7309 fi
7310
7311 else
7312
7313 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7314 if test "x$LINE" != x ; then
7315 eval "DEFAULT_$LINE"
7316 else
7317 no_cache=1
7318 fi
7319
7320 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7321
7322 fi
7323
7324
7325 eval "$ac_cv_use_splines"
7326 if test "$no_cache" != 1; then
7327 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7328 fi
7329
7330 if test "$wxUSE_SPLINES" = yes; then
7331 echo "$ac_t""yes" 1>&6
7332 else
7333 echo "$ac_t""no" 1>&6
7334 fi
7335
7336
7337 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7338 echo "configure:7339: checking for --enable-validators" >&5
7339 no_cache=0
7340 # Check whether --enable-validators or --disable-validators was given.
7341 if test "${enable_validators+set}" = set; then
7342 enableval="$enable_validators"
7343
7344 if test "$enableval" = yes; then
7345 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
7346 else
7347 ac_cv_use_validators='wxUSE_VALIDATORS=no'
7348 fi
7349
7350 else
7351
7352 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7353 if test "x$LINE" != x ; then
7354 eval "DEFAULT_$LINE"
7355 else
7356 no_cache=1
7357 fi
7358
7359 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7360
7361 fi
7362
7363
7364 eval "$ac_cv_use_validators"
7365 if test "$no_cache" != 1; then
7366 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7367 fi
7368
7369 if test "$wxUSE_VALIDATORS" = yes; then
7370 echo "$ac_t""yes" 1>&6
7371 else
7372 echo "$ac_t""no" 1>&6
7373 fi
7374
7375
7376 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7377 echo "configure:7378: checking for --enable-busyinfo" >&5
7378 no_cache=0
7379 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7380 if test "${enable_busyinfo+set}" = set; then
7381 enableval="$enable_busyinfo"
7382
7383 if test "$enableval" = yes; then
7384 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
7385 else
7386 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
7387 fi
7388
7389 else
7390
7391 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7392 if test "x$LINE" != x ; then
7393 eval "DEFAULT_$LINE"
7394 else
7395 no_cache=1
7396 fi
7397
7398 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7399
7400 fi
7401
7402
7403 eval "$ac_cv_use_busyinfo"
7404 if test "$no_cache" != 1; then
7405 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7406 fi
7407
7408 if test "$wxUSE_BUSYINFO" = yes; then
7409 echo "$ac_t""yes" 1>&6
7410 else
7411 echo "$ac_t""no" 1>&6
7412 fi
7413
7414
7415 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7416 echo "configure:7417: checking for --enable-joystick" >&5
7417 no_cache=0
7418 # Check whether --enable-joystick or --disable-joystick was given.
7419 if test "${enable_joystick+set}" = set; then
7420 enableval="$enable_joystick"
7421
7422 if test "$enableval" = yes; then
7423 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
7424 else
7425 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
7426 fi
7427
7428 else
7429
7430 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7431 if test "x$LINE" != x ; then
7432 eval "DEFAULT_$LINE"
7433 else
7434 no_cache=1
7435 fi
7436
7437 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7438
7439 fi
7440
7441
7442 eval "$ac_cv_use_joystick"
7443 if test "$no_cache" != 1; then
7444 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7445 fi
7446
7447 if test "$wxUSE_JOYSTICK" = yes; then
7448 echo "$ac_t""yes" 1>&6
7449 else
7450 echo "$ac_t""no" 1>&6
7451 fi
7452
7453
7454 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7455 echo "configure:7456: checking for --enable-metafile" >&5
7456 no_cache=0
7457 # Check whether --enable-metafile or --disable-metafile was given.
7458 if test "${enable_metafile+set}" = set; then
7459 enableval="$enable_metafile"
7460
7461 if test "$enableval" = yes; then
7462 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7463 else
7464 ac_cv_use_metafile='wxUSE_METAFILE=no'
7465 fi
7466
7467 else
7468
7469 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7470 if test "x$LINE" != x ; then
7471 eval "DEFAULT_$LINE"
7472 else
7473 no_cache=1
7474 fi
7475
7476 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7477
7478 fi
7479
7480
7481 eval "$ac_cv_use_metafile"
7482 if test "$no_cache" != 1; then
7483 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7484 fi
7485
7486 if test "$wxUSE_METAFILE" = yes; then
7487 echo "$ac_t""yes" 1>&6
7488 else
7489 echo "$ac_t""no" 1>&6
7490 fi
7491
7492
7493 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7494 echo "configure:7495: checking for --enable-dragimage" >&5
7495 no_cache=0
7496 # Check whether --enable-dragimage or --disable-dragimage was given.
7497 if test "${enable_dragimage+set}" = set; then
7498 enableval="$enable_dragimage"
7499
7500 if test "$enableval" = yes; then
7501 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
7502 else
7503 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
7504 fi
7505
7506 else
7507
7508 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7509 if test "x$LINE" != x ; then
7510 eval "DEFAULT_$LINE"
7511 else
7512 no_cache=1
7513 fi
7514
7515 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7516
7517 fi
7518
7519
7520 eval "$ac_cv_use_dragimage"
7521 if test "$no_cache" != 1; then
7522 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7523 fi
7524
7525 if test "$wxUSE_DRAGIMAGE" = yes; then
7526 echo "$ac_t""yes" 1>&6
7527 else
7528 echo "$ac_t""no" 1>&6
7529 fi
7530
7531
7532
7533
7534 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
7535 echo "configure:7536: checking for --enable-palette" >&5
7536 no_cache=0
7537 # Check whether --enable-palette or --disable-palette was given.
7538 if test "${enable_palette+set}" = set; then
7539 enableval="$enable_palette"
7540
7541 if test "$enableval" = yes; then
7542 ac_cv_use_palette='wxUSE_PALETTE=yes'
7543 else
7544 ac_cv_use_palette='wxUSE_PALETTE=no'
7545 fi
7546
7547 else
7548
7549 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
7550 if test "x$LINE" != x ; then
7551 eval "DEFAULT_$LINE"
7552 else
7553 no_cache=1
7554 fi
7555
7556 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
7557
7558 fi
7559
7560
7561 eval "$ac_cv_use_palette"
7562 if test "$no_cache" != 1; then
7563 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
7564 fi
7565
7566 if test "$wxUSE_PALETTE" = yes; then
7567 echo "$ac_t""yes" 1>&6
7568 else
7569 echo "$ac_t""no" 1>&6
7570 fi
7571
7572
7573 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7574 echo "configure:7575: checking for --enable-image" >&5
7575 no_cache=0
7576 # Check whether --enable-image or --disable-image was given.
7577 if test "${enable_image+set}" = set; then
7578 enableval="$enable_image"
7579
7580 if test "$enableval" = yes; then
7581 ac_cv_use_image='wxUSE_IMAGE=yes'
7582 else
7583 ac_cv_use_image='wxUSE_IMAGE=no'
7584 fi
7585
7586 else
7587
7588 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7589 if test "x$LINE" != x ; then
7590 eval "DEFAULT_$LINE"
7591 else
7592 no_cache=1
7593 fi
7594
7595 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7596
7597 fi
7598
7599
7600 eval "$ac_cv_use_image"
7601 if test "$no_cache" != 1; then
7602 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7603 fi
7604
7605 if test "$wxUSE_IMAGE" = yes; then
7606 echo "$ac_t""yes" 1>&6
7607 else
7608 echo "$ac_t""no" 1>&6
7609 fi
7610
7611
7612 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7613 echo "configure:7614: checking for --enable-gif" >&5
7614 no_cache=0
7615 # Check whether --enable-gif or --disable-gif was given.
7616 if test "${enable_gif+set}" = set; then
7617 enableval="$enable_gif"
7618
7619 if test "$enableval" = yes; then
7620 ac_cv_use_gif='wxUSE_GIF=yes'
7621 else
7622 ac_cv_use_gif='wxUSE_GIF=no'
7623 fi
7624
7625 else
7626
7627 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7628 if test "x$LINE" != x ; then
7629 eval "DEFAULT_$LINE"
7630 else
7631 no_cache=1
7632 fi
7633
7634 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7635
7636 fi
7637
7638
7639 eval "$ac_cv_use_gif"
7640 if test "$no_cache" != 1; then
7641 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7642 fi
7643
7644 if test "$wxUSE_GIF" = yes; then
7645 echo "$ac_t""yes" 1>&6
7646 else
7647 echo "$ac_t""no" 1>&6
7648 fi
7649
7650
7651 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7652 echo "configure:7653: checking for --enable-pcx" >&5
7653 no_cache=0
7654 # Check whether --enable-pcx or --disable-pcx was given.
7655 if test "${enable_pcx+set}" = set; then
7656 enableval="$enable_pcx"
7657
7658 if test "$enableval" = yes; then
7659 ac_cv_use_pcx='wxUSE_PCX=yes'
7660 else
7661 ac_cv_use_pcx='wxUSE_PCX=no'
7662 fi
7663
7664 else
7665
7666 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7667 if test "x$LINE" != x ; then
7668 eval "DEFAULT_$LINE"
7669 else
7670 no_cache=1
7671 fi
7672
7673 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7674
7675 fi
7676
7677
7678 eval "$ac_cv_use_pcx"
7679 if test "$no_cache" != 1; then
7680 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7681 fi
7682
7683 if test "$wxUSE_PCX" = yes; then
7684 echo "$ac_t""yes" 1>&6
7685 else
7686 echo "$ac_t""no" 1>&6
7687 fi
7688
7689
7690 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7691 echo "configure:7692: checking for --enable-pnm" >&5
7692 no_cache=0
7693 # Check whether --enable-pnm or --disable-pnm was given.
7694 if test "${enable_pnm+set}" = set; then
7695 enableval="$enable_pnm"
7696
7697 if test "$enableval" = yes; then
7698 ac_cv_use_pnm='wxUSE_PNM=yes'
7699 else
7700 ac_cv_use_pnm='wxUSE_PNM=no'
7701 fi
7702
7703 else
7704
7705 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7706 if test "x$LINE" != x ; then
7707 eval "DEFAULT_$LINE"
7708 else
7709 no_cache=1
7710 fi
7711
7712 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7713
7714 fi
7715
7716
7717 eval "$ac_cv_use_pnm"
7718 if test "$no_cache" != 1; then
7719 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7720 fi
7721
7722 if test "$wxUSE_PNM" = yes; then
7723 echo "$ac_t""yes" 1>&6
7724 else
7725 echo "$ac_t""no" 1>&6
7726 fi
7727
7728
7729 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7730 echo "configure:7731: checking for --enable-pnm" >&5
7731 no_cache=0
7732 # Check whether --enable-pnm or --disable-pnm was given.
7733 if test "${enable_pnm+set}" = set; then
7734 enableval="$enable_pnm"
7735
7736 if test "$enableval" = yes; then
7737 ac_cv_use_pnm='wxUSE_XPM=yes'
7738 else
7739 ac_cv_use_pnm='wxUSE_XPM=no'
7740 fi
7741
7742 else
7743
7744 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7745 if test "x$LINE" != x ; then
7746 eval "DEFAULT_$LINE"
7747 else
7748 no_cache=1
7749 fi
7750
7751 ac_cv_use_pnm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7752
7753 fi
7754
7755
7756 eval "$ac_cv_use_pnm"
7757 if test "$no_cache" != 1; then
7758 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7759 fi
7760
7761 if test "$wxUSE_XPM" = yes; then
7762 echo "$ac_t""yes" 1>&6
7763 else
7764 echo "$ac_t""no" 1>&6
7765 fi
7766
7767
7768 fi
7769
7770
7771 echo "saving argument cache $wx_arg_cache_file"
7772 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
7773
7774
7775
7776 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7777 echo "configure:7778: checking for toolkit" >&5
7778
7779 if test "$wxUSE_GUI" = "yes"; then
7780
7781 if test "$USE_BEOS" = 1; then
7782 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7783 fi
7784
7785 if test "$TOOLKIT_GIVEN" = 1; then
7786 for toolkit in `echo $ALL_TOOLKITS`; do
7787 var=wxUSE_$toolkit
7788 eval "value=\$${var}"
7789 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
7790 done
7791 else
7792 for toolkit in `echo $ALL_TOOLKITS`; do
7793 if test "$has_toolkit_in_cache" != 1; then
7794 var=DEFAULT_DEFAULT_wxUSE_$toolkit
7795 else
7796 var=DEFAULT_wxUSE_$toolkit
7797 fi
7798 eval "wxUSE_$toolkit=\$${var}"
7799 done
7800 fi
7801
7802 NUM_TOOLKITS=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
7803 + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} \
7804 + ${wxUSE_MGL:-0}`
7805
7806 case "${host}" in
7807 *-pc-os2_emx )
7808 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7809 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7810 LEX_STEM="lexyy"
7811 ;;
7812 *)
7813 PATH_IFS=':'
7814 LEX_STEM="lex.yy"
7815 ;;
7816 esac
7817
7818 case "$NUM_TOOLKITS" in
7819 1)
7820 ;;
7821 0)
7822 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7823 ;;
7824 *)
7825 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7826 esac
7827
7828 for toolkit in `echo $ALL_TOOLKITS`; do
7829 var=wxUSE_$toolkit
7830 eval "value=\$${var}"
7831 if test "x$value" != x; then
7832 cache_var=CACHE_$toolkit
7833 eval "cache=\$${cache_var}"
7834 if test "$cache" = 1; then
7835 echo "$var=$value" >> ${wx_arg_cache_file}
7836 fi
7837 if test "$value" = 1; then
7838 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
7839 echo "$ac_t""$toolkit_echo" 1>&6
7840 fi
7841 fi
7842 done
7843 else
7844 PATH_IFS=':'
7845 echo "$ac_t""base ($host_alias hosted) only" 1>&6
7846 fi
7847
7848
7849 cat > confcache <<\EOF
7850 # This file is a shell script that caches the results of configure
7851 # tests run on this system so they can be shared between configure
7852 # scripts and configure runs. It is not useful on other systems.
7853 # If it contains results you don't want to keep, you may remove or edit it.
7854 #
7855 # By default, configure uses ./config.cache as the cache file,
7856 # creating it if it does not exist already. You can give configure
7857 # the --cache-file=FILE option to use a different cache file; that is
7858 # what configure does when it calls configure scripts in
7859 # subdirectories, so they share the cache.
7860 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7861 # config.status only pays attention to the cache file if you give it the
7862 # --recheck option to rerun configure.
7863 #
7864 EOF
7865 # The following way of writing the cache mishandles newlines in values,
7866 # but we know of no workaround that is simple, portable, and efficient.
7867 # So, don't put newlines in cache variables' values.
7868 # Ultrix sh set writes to stderr and can't be redirected directly,
7869 # and sets the high bit in the cache file unless we assign to the vars.
7870 (set) 2>&1 |
7871 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7872 *ac_space=\ *)
7873 # `set' does not quote correctly, so add quotes (double-quote substitution
7874 # turns \\\\ into \\, and sed turns \\ into \).
7875 sed -n \
7876 -e "s/'/'\\\\''/g" \
7877 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7878 ;;
7879 *)
7880 # `set' quotes correctly as required by POSIX, so do not add quotes.
7881 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7882 ;;
7883 esac >> confcache
7884 if cmp -s $cache_file confcache; then
7885 :
7886 else
7887 if test -w $cache_file; then
7888 echo "updating cache $cache_file"
7889 cat confcache > $cache_file
7890 else
7891 echo "not updating unwritable cache $cache_file"
7892 fi
7893 fi
7894 rm -f confcache
7895
7896
7897 if test "$build" != "$host" ; then
7898 if test "$USE_WIN32" = 1 ; then
7899 CC=$host_alias-gcc
7900 CXX=$host_alias-c++
7901 AR=$host_alias-ar
7902 RANLIB=$host_alias-ranlib
7903 DLLTOOL=$host_alias-dlltool
7904 RESCOMP=$host_alias-windres
7905 LD=$host_alias-ld
7906 NM=$host_alias-nm
7907 STRIP=$host_alias-strip
7908 else
7909 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
7910 fi
7911 fi
7912
7913 # Extract the first word of "gcc", so it can be a program name with args.
7914 set dummy gcc; ac_word=$2
7915 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7916 echo "configure:7917: checking for $ac_word" >&5
7917 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7918 echo $ac_n "(cached) $ac_c" 1>&6
7919 else
7920 if test -n "$CC"; then
7921 ac_cv_prog_CC="$CC" # Let the user override the test.
7922 else
7923 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
7924 ac_dummy="$PATH"
7925 for ac_dir in $ac_dummy; do
7926 test -z "$ac_dir" && ac_dir=.
7927 if test -f $ac_dir/$ac_word; then
7928 ac_cv_prog_CC="gcc"
7929 break
7930 fi
7931 done
7932 IFS="$ac_save_ifs"
7933 fi
7934 fi
7935 CC="$ac_cv_prog_CC"
7936 if test -n "$CC"; then
7937 echo "$ac_t""$CC" 1>&6
7938 else
7939 echo "$ac_t""no" 1>&6
7940 fi
7941
7942 if test -z "$CC"; then
7943 # Extract the first word of "cc", so it can be a program name with args.
7944 set dummy cc; ac_word=$2
7945 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7946 echo "configure:7947: checking for $ac_word" >&5
7947 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7948 echo $ac_n "(cached) $ac_c" 1>&6
7949 else
7950 if test -n "$CC"; then
7951 ac_cv_prog_CC="$CC" # Let the user override the test.
7952 else
7953 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
7954 ac_prog_rejected=no
7955 ac_dummy="$PATH"
7956 for ac_dir in $ac_dummy; do
7957 test -z "$ac_dir" && ac_dir=.
7958 if test -f $ac_dir/$ac_word; then
7959 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7960 ac_prog_rejected=yes
7961 continue
7962 fi
7963 ac_cv_prog_CC="cc"
7964 break
7965 fi
7966 done
7967 IFS="$ac_save_ifs"
7968 if test $ac_prog_rejected = yes; then
7969 # We found a bogon in the path, so make sure we never use it.
7970 set dummy $ac_cv_prog_CC
7971 shift
7972 if test $# -gt 0; then
7973 # We chose a different compiler from the bogus one.
7974 # However, it has the same basename, so the bogon will be chosen
7975 # first if we set CC to just the basename; use the full file name.
7976 shift
7977 set dummy "$ac_dir/$ac_word" "$@"
7978 shift
7979 ac_cv_prog_CC="$@"
7980 fi
7981 fi
7982 fi
7983 fi
7984 CC="$ac_cv_prog_CC"
7985 if test -n "$CC"; then
7986 echo "$ac_t""$CC" 1>&6
7987 else
7988 echo "$ac_t""no" 1>&6
7989 fi
7990
7991 if test -z "$CC"; then
7992 case "`uname -s`" in
7993 *win32* | *WIN32*)
7994 # Extract the first word of "cl", so it can be a program name with args.
7995 set dummy cl; ac_word=$2
7996 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7997 echo "configure:7998: checking for $ac_word" >&5
7998 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7999 echo $ac_n "(cached) $ac_c" 1>&6
8000 else
8001 if test -n "$CC"; then
8002 ac_cv_prog_CC="$CC" # Let the user override the test.
8003 else
8004 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8005 ac_dummy="$PATH"
8006 for ac_dir in $ac_dummy; do
8007 test -z "$ac_dir" && ac_dir=.
8008 if test -f $ac_dir/$ac_word; then
8009 ac_cv_prog_CC="cl"
8010 break
8011 fi
8012 done
8013 IFS="$ac_save_ifs"
8014 fi
8015 fi
8016 CC="$ac_cv_prog_CC"
8017 if test -n "$CC"; then
8018 echo "$ac_t""$CC" 1>&6
8019 else
8020 echo "$ac_t""no" 1>&6
8021 fi
8022 ;;
8023 esac
8024 fi
8025 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8026 fi
8027
8028 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8029 echo "configure:8030: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8030
8031 ac_ext=c
8032 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8033 ac_cpp='$CPP $CPPFLAGS'
8034 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8035 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8036 cross_compiling=$ac_cv_prog_cc_cross
8037
8038 cat > conftest.$ac_ext << EOF
8039
8040 #line 8041 "configure"
8041 #include "confdefs.h"
8042
8043 main(){return(0);}
8044 EOF
8045 if { (eval echo configure:8046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8046 ac_cv_prog_cc_works=yes
8047 # If we can't run a trivial program, we are probably using a cross compiler.
8048 if (./conftest; exit) 2>/dev/null; then
8049 ac_cv_prog_cc_cross=no
8050 else
8051 ac_cv_prog_cc_cross=yes
8052 fi
8053 else
8054 echo "configure: failed program was:" >&5
8055 cat conftest.$ac_ext >&5
8056 ac_cv_prog_cc_works=no
8057 fi
8058 rm -fr conftest*
8059 ac_ext=c
8060 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8061 ac_cpp='$CPP $CPPFLAGS'
8062 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8063 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8064 cross_compiling=$ac_cv_prog_cc_cross
8065
8066 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8067 if test $ac_cv_prog_cc_works = no; then
8068 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8069 fi
8070 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8071 echo "configure:8072: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8072 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8073 cross_compiling=$ac_cv_prog_cc_cross
8074
8075 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8076 echo "configure:8077: checking whether we are using GNU C" >&5
8077 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8078 echo $ac_n "(cached) $ac_c" 1>&6
8079 else
8080 cat > conftest.c <<EOF
8081 #ifdef __GNUC__
8082 yes;
8083 #endif
8084 EOF
8085 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:8086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
8086 ac_cv_prog_gcc=yes
8087 else
8088 ac_cv_prog_gcc=no
8089 fi
8090 fi
8091
8092 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8093
8094 if test $ac_cv_prog_gcc = yes; then
8095 GCC=yes
8096 else
8097 GCC=
8098 fi
8099
8100 ac_test_CFLAGS="${CFLAGS+set}"
8101 ac_save_CFLAGS="$CFLAGS"
8102 CFLAGS=
8103 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8104 echo "configure:8105: checking whether ${CC-cc} accepts -g" >&5
8105 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8106 echo $ac_n "(cached) $ac_c" 1>&6
8107 else
8108 echo 'void f(){}' > conftest.c
8109 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8110 ac_cv_prog_cc_g=yes
8111 else
8112 ac_cv_prog_cc_g=no
8113 fi
8114 rm -f conftest*
8115
8116 fi
8117
8118 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8119 if test "$ac_test_CFLAGS" = set; then
8120 CFLAGS="$ac_save_CFLAGS"
8121 elif test $ac_cv_prog_cc_g = yes; then
8122 if test "$GCC" = yes; then
8123 CFLAGS="-g -O2"
8124 else
8125 CFLAGS="-g"
8126 fi
8127 else
8128 if test "$GCC" = yes; then
8129 CFLAGS="-O2"
8130 else
8131 CFLAGS=
8132 fi
8133 fi
8134
8135
8136 CFLAGS=`echo "$CFLAGS" | sed 's/-g//g'`
8137
8138 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8139 echo "configure:8140: checking how to run the C preprocessor" >&5
8140 # On Suns, sometimes $CPP names a directory.
8141 if test -n "$CPP" && test -d "$CPP"; then
8142 CPP=
8143 fi
8144 if test -z "$CPP"; then
8145 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8146 echo $ac_n "(cached) $ac_c" 1>&6
8147 else
8148 # This must be in double quotes, not single quotes, because CPP may get
8149 # substituted into the Makefile and "${CC-cc}" will confuse make.
8150 CPP="${CC-cc} -E"
8151 # On the NeXT, cc -E runs the code through the compiler's parser,
8152 # not just through cpp.
8153 cat > conftest.$ac_ext <<EOF
8154 #line 8155 "configure"
8155 #include "confdefs.h"
8156 #include <assert.h>
8157 Syntax Error
8158 EOF
8159 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8160 { (eval echo configure:8161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8161 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8162 if test -z "$ac_err"; then
8163 :
8164 else
8165 echo "$ac_err" >&5
8166 echo "configure: failed program was:" >&5
8167 cat conftest.$ac_ext >&5
8168 rm -rf conftest*
8169 CPP="${CC-cc} -E -traditional-cpp"
8170 cat > conftest.$ac_ext <<EOF
8171 #line 8172 "configure"
8172 #include "confdefs.h"
8173 #include <assert.h>
8174 Syntax Error
8175 EOF
8176 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8177 { (eval echo configure:8178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8178 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8179 if test -z "$ac_err"; then
8180 :
8181 else
8182 echo "$ac_err" >&5
8183 echo "configure: failed program was:" >&5
8184 cat conftest.$ac_ext >&5
8185 rm -rf conftest*
8186 CPP="${CC-cc} -nologo -E"
8187 cat > conftest.$ac_ext <<EOF
8188 #line 8189 "configure"
8189 #include "confdefs.h"
8190 #include <assert.h>
8191 Syntax Error
8192 EOF
8193 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8194 { (eval echo configure:8195: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8195 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8196 if test -z "$ac_err"; then
8197 :
8198 else
8199 echo "$ac_err" >&5
8200 echo "configure: failed program was:" >&5
8201 cat conftest.$ac_ext >&5
8202 rm -rf conftest*
8203 CPP=/lib/cpp
8204 fi
8205 rm -f conftest*
8206 fi
8207 rm -f conftest*
8208 fi
8209 rm -f conftest*
8210 ac_cv_prog_CPP="$CPP"
8211 fi
8212 CPP="$ac_cv_prog_CPP"
8213 else
8214 ac_cv_prog_CPP="$CPP"
8215 fi
8216 echo "$ac_t""$CPP" 1>&6
8217
8218 if test $ac_cv_prog_gcc = yes; then
8219 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8220 echo "configure:8221: checking whether ${CC-cc} needs -traditional" >&5
8221 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8222 echo $ac_n "(cached) $ac_c" 1>&6
8223 else
8224 ac_pattern="Autoconf.*'x'"
8225 cat > conftest.$ac_ext <<EOF
8226 #line 8227 "configure"
8227 #include "confdefs.h"
8228 #include <sgtty.h>
8229 Autoconf TIOCGETP
8230 EOF
8231 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8232 egrep "$ac_pattern" >/dev/null 2>&1; then
8233 rm -rf conftest*
8234 ac_cv_prog_gcc_traditional=yes
8235 else
8236 rm -rf conftest*
8237 ac_cv_prog_gcc_traditional=no
8238 fi
8239 rm -f conftest*
8240
8241
8242 if test $ac_cv_prog_gcc_traditional = no; then
8243 cat > conftest.$ac_ext <<EOF
8244 #line 8245 "configure"
8245 #include "confdefs.h"
8246 #include <termio.h>
8247 Autoconf TCGETA
8248 EOF
8249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8250 egrep "$ac_pattern" >/dev/null 2>&1; then
8251 rm -rf conftest*
8252 ac_cv_prog_gcc_traditional=yes
8253 fi
8254 rm -f conftest*
8255
8256 fi
8257 fi
8258
8259 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8260 if test $ac_cv_prog_gcc_traditional = yes; then
8261 CC="$CC -traditional"
8262 fi
8263 fi
8264
8265
8266
8267 ac_ext=C
8268 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8269 ac_cpp='$CXXCPP $CPPFLAGS'
8270 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8271 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8272 cross_compiling=$ac_cv_prog_cxx_cross
8273
8274
8275 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
8276 do
8277 # Extract the first word of "$ac_prog", so it can be a program name with args.
8278 set dummy $ac_prog; ac_word=$2
8279 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8280 echo "configure:8281: checking for $ac_word" >&5
8281 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8282 echo $ac_n "(cached) $ac_c" 1>&6
8283 else
8284 if test -n "$CXX"; then
8285 ac_cv_prog_CXX="$CXX" # Let the user override the test.
8286 else
8287 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8288 ac_dummy="$PATH"
8289 for ac_dir in $ac_dummy; do
8290 test -z "$ac_dir" && ac_dir=.
8291 if test -f $ac_dir/$ac_word; then
8292 ac_cv_prog_CXX="$ac_prog"
8293 break
8294 fi
8295 done
8296 IFS="$ac_save_ifs"
8297 fi
8298 fi
8299 CXX="$ac_cv_prog_CXX"
8300 if test -n "$CXX"; then
8301 echo "$ac_t""$CXX" 1>&6
8302 else
8303 echo "$ac_t""no" 1>&6
8304 fi
8305
8306 test -n "$CXX" && break
8307 done
8308 test -n "$CXX" || CXX="gcc"
8309
8310
8311 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8312 echo "configure:8313: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8313
8314 ac_ext=C
8315 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8316 ac_cpp='$CXXCPP $CPPFLAGS'
8317 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8318 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8319 cross_compiling=$ac_cv_prog_cxx_cross
8320
8321 cat > conftest.$ac_ext << EOF
8322
8323 #line 8324 "configure"
8324 #include "confdefs.h"
8325
8326 int main(){return(0);}
8327 EOF
8328 if { (eval echo configure:8329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8329 ac_cv_prog_cxx_works=yes
8330 # If we can't run a trivial program, we are probably using a cross compiler.
8331 if (./conftest; exit) 2>/dev/null; then
8332 ac_cv_prog_cxx_cross=no
8333 else
8334 ac_cv_prog_cxx_cross=yes
8335 fi
8336 else
8337 echo "configure: failed program was:" >&5
8338 cat conftest.$ac_ext >&5
8339 ac_cv_prog_cxx_works=no
8340 fi
8341 rm -fr conftest*
8342 ac_ext=C
8343 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8344 ac_cpp='$CXXCPP $CPPFLAGS'
8345 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8346 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8347 cross_compiling=$ac_cv_prog_cxx_cross
8348
8349 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8350 if test $ac_cv_prog_cxx_works = no; then
8351 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8352 fi
8353 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8354 echo "configure:8355: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8355 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8356 cross_compiling=$ac_cv_prog_cxx_cross
8357
8358 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8359 echo "configure:8360: checking whether we are using GNU C++" >&5
8360 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8361 echo $ac_n "(cached) $ac_c" 1>&6
8362 else
8363 cat > conftest.C <<EOF
8364 #ifdef __GNUC__
8365 yes;
8366 #endif
8367 EOF
8368 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:8369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
8369 ac_cv_prog_gxx=yes
8370 else
8371 ac_cv_prog_gxx=no
8372 fi
8373 fi
8374
8375 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8376
8377 if test $ac_cv_prog_gxx = yes; then
8378 GXX=yes
8379 else
8380 GXX=
8381 fi
8382
8383 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8384 ac_save_CXXFLAGS="$CXXFLAGS"
8385 CXXFLAGS=
8386 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8387 echo "configure:8388: checking whether ${CXX-g++} accepts -g" >&5
8388 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8389 echo $ac_n "(cached) $ac_c" 1>&6
8390 else
8391 echo 'void f(){}' > conftest.cc
8392 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8393 ac_cv_prog_cxx_g=yes
8394 else
8395 ac_cv_prog_cxx_g=no
8396 fi
8397 rm -f conftest*
8398
8399 fi
8400
8401 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8402 if test "$ac_test_CXXFLAGS" = set; then
8403 CXXFLAGS="$ac_save_CXXFLAGS"
8404 elif test $ac_cv_prog_cxx_g = yes; then
8405 if test "$GXX" = yes; then
8406 CXXFLAGS="-g -O2"
8407 else
8408 CXXFLAGS="-g"
8409 fi
8410 else
8411 if test "$GXX" = yes; then
8412 CXXFLAGS="-O2"
8413 else
8414 CXXFLAGS=
8415 fi
8416 fi
8417
8418
8419 CXXFLAGS=`echo "$CXXFLAGS" | sed 's/-g//g'`
8420
8421 ac_ext=c
8422 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8423 ac_cpp='$CPP $CPPFLAGS'
8424 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8425 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8426 cross_compiling=$ac_cv_prog_cc_cross
8427
8428
8429 # Extract the first word of "ranlib", so it can be a program name with args.
8430 set dummy ranlib; ac_word=$2
8431 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8432 echo "configure:8433: checking for $ac_word" >&5
8433 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8434 echo $ac_n "(cached) $ac_c" 1>&6
8435 else
8436 if test -n "$RANLIB"; then
8437 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8438 else
8439 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8440 ac_dummy="$PATH"
8441 for ac_dir in $ac_dummy; do
8442 test -z "$ac_dir" && ac_dir=.
8443 if test -f $ac_dir/$ac_word; then
8444 ac_cv_prog_RANLIB="ranlib"
8445 break
8446 fi
8447 done
8448 IFS="$ac_save_ifs"
8449 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
8450 fi
8451 fi
8452 RANLIB="$ac_cv_prog_RANLIB"
8453 if test -n "$RANLIB"; then
8454 echo "$ac_t""$RANLIB" 1>&6
8455 else
8456 echo "$ac_t""no" 1>&6
8457 fi
8458
8459
8460 # Extract the first word of "ar", so it can be a program name with args.
8461 set dummy ar; ac_word=$2
8462 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8463 echo "configure:8464: checking for $ac_word" >&5
8464 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8465 echo $ac_n "(cached) $ac_c" 1>&6
8466 else
8467 if test -n "$AR"; then
8468 ac_cv_prog_AR="$AR" # Let the user override the test.
8469 else
8470 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8471 ac_dummy="$PATH"
8472 for ac_dir in $ac_dummy; do
8473 test -z "$ac_dir" && ac_dir=.
8474 if test -f $ac_dir/$ac_word; then
8475 ac_cv_prog_AR="ar"
8476 break
8477 fi
8478 done
8479 IFS="$ac_save_ifs"
8480 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
8481 fi
8482 fi
8483 AR="$ac_cv_prog_AR"
8484 if test -n "$AR"; then
8485 echo "$ac_t""$AR" 1>&6
8486 else
8487 echo "$ac_t""no" 1>&6
8488 fi
8489
8490
8491 # Find a good install program. We prefer a C program (faster),
8492 # so one script is as good as another. But avoid the broken or
8493 # incompatible versions:
8494 # SysV /etc/install, /usr/sbin/install
8495 # SunOS /usr/etc/install
8496 # IRIX /sbin/install
8497 # AIX /bin/install
8498 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8499 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8500 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8501 # ./install, which can be erroneously created by make from ./install.sh.
8502 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8503 echo "configure:8504: checking for a BSD compatible install" >&5
8504 if test -z "$INSTALL"; then
8505 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8506 echo $ac_n "(cached) $ac_c" 1>&6
8507 else
8508 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
8509 for ac_dir in $PATH; do
8510 # Account for people who put trailing slashes in PATH elements.
8511 case "$ac_dir/" in
8512 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
8513 *)
8514 # OSF1 and SCO ODT 3.0 have their own names for install.
8515 # Don't use installbsd from OSF since it installs stuff as root
8516 # by default.
8517 for ac_prog in ginstall scoinst install; do
8518 if test -f $ac_dir/$ac_prog; then
8519 if test $ac_prog = install &&
8520 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
8521 # AIX install. It has an incompatible calling convention.
8522 :
8523 else
8524 ac_cv_path_install="$ac_dir/$ac_prog -c"
8525 break 2
8526 fi
8527 fi
8528 done
8529 ;;
8530 esac
8531 done
8532 IFS="$ac_save_IFS"
8533
8534 fi
8535 if test "${ac_cv_path_install+set}" = set; then
8536 INSTALL="$ac_cv_path_install"
8537 else
8538 # As a last resort, use the slow shell script. We don't cache a
8539 # path for INSTALL within a source directory, because that will
8540 # break other packages using the cache if that directory is
8541 # removed, or if the path is relative.
8542 INSTALL="$ac_install_sh"
8543 fi
8544 fi
8545 echo "$ac_t""$INSTALL" 1>&6
8546
8547 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8548 # It thinks the first close brace ends the variable substitution.
8549 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
8550
8551 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
8552
8553 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
8554
8555
8556 # Extract the first word of "strip", so it can be a program name with args.
8557 set dummy strip; ac_word=$2
8558 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8559 echo "configure:8560: checking for $ac_word" >&5
8560 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8561 echo $ac_n "(cached) $ac_c" 1>&6
8562 else
8563 if test -n "$STRIP"; then
8564 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8565 else
8566 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8567 ac_dummy="$PATH"
8568 for ac_dir in $ac_dummy; do
8569 test -z "$ac_dir" && ac_dir=.
8570 if test -f $ac_dir/$ac_word; then
8571 ac_cv_prog_STRIP="strip"
8572 break
8573 fi
8574 done
8575 IFS="$ac_save_ifs"
8576 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
8577 fi
8578 fi
8579 STRIP="$ac_cv_prog_STRIP"
8580 if test -n "$STRIP"; then
8581 echo "$ac_t""$STRIP" 1>&6
8582 else
8583 echo "$ac_t""no" 1>&6
8584 fi
8585
8586
8587 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8588 echo "configure:8589: checking make for VPATH support" >&5
8589 cat - << EOF > confMake
8590 check : file
8591 cp \$? \$@
8592 cp \$? final_file
8593 EOF
8594
8595 if test ! -d sub ; then
8596 mkdir sub
8597 fi
8598 echo dummy > sub/file
8599 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
8600 RESULT=$?
8601 rm -f sub/file check final_file confMake
8602 rmdir sub
8603 if test "$RESULT" = 0; then
8604 echo "$ac_t""yes" 1>&6
8605 else
8606 echo "$ac_t""no" 1>&6
8607 { echo "configure: error:
8608 You need a make-utility that is able to use the variable
8609 VPATH correctly.
8610 If your version of make does not support VPATH correctly,
8611 please install GNU-make (possibly as gmake), and start
8612 configure with the following command:
8613 export MAKE=gmake; ./configure for sh-type shells
8614 setenv MAKE gmake; ./configure for csh-type shells
8615 Also please do remember to use gmake in this case every time
8616 you are trying to compile.
8617 " 1>&2; exit 1; }
8618 fi
8619
8620 for ac_prog in 'bison -y' byacc
8621 do
8622 # Extract the first word of "$ac_prog", so it can be a program name with args.
8623 set dummy $ac_prog; ac_word=$2
8624 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8625 echo "configure:8626: checking for $ac_word" >&5
8626 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8627 echo $ac_n "(cached) $ac_c" 1>&6
8628 else
8629 if test -n "$YACC"; then
8630 ac_cv_prog_YACC="$YACC" # Let the user override the test.
8631 else
8632 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8633 ac_dummy="$PATH"
8634 for ac_dir in $ac_dummy; do
8635 test -z "$ac_dir" && ac_dir=.
8636 if test -f $ac_dir/$ac_word; then
8637 ac_cv_prog_YACC="$ac_prog"
8638 break
8639 fi
8640 done
8641 IFS="$ac_save_ifs"
8642 fi
8643 fi
8644 YACC="$ac_cv_prog_YACC"
8645 if test -n "$YACC"; then
8646 echo "$ac_t""$YACC" 1>&6
8647 else
8648 echo "$ac_t""no" 1>&6
8649 fi
8650
8651 test -n "$YACC" && break
8652 done
8653 test -n "$YACC" || YACC="yacc"
8654
8655
8656 # Extract the first word of "flex", so it can be a program name with args.
8657 set dummy flex; ac_word=$2
8658 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8659 echo "configure:8660: checking for $ac_word" >&5
8660 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8661 echo $ac_n "(cached) $ac_c" 1>&6
8662 else
8663 if test -n "$LEX"; then
8664 ac_cv_prog_LEX="$LEX" # Let the user override the test.
8665 else
8666 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8667 ac_dummy="$PATH"
8668 for ac_dir in $ac_dummy; do
8669 test -z "$ac_dir" && ac_dir=.
8670 if test -f $ac_dir/$ac_word; then
8671 ac_cv_prog_LEX="flex"
8672 break
8673 fi
8674 done
8675 IFS="$ac_save_ifs"
8676 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"
8677 fi
8678 fi
8679 LEX="$ac_cv_prog_LEX"
8680 if test -n "$LEX"; then
8681 echo "$ac_t""$LEX" 1>&6
8682 else
8683 echo "$ac_t""no" 1>&6
8684 fi
8685
8686 if test -z "$LEXLIB"
8687 then
8688 case "$LEX" in
8689 flex*) ac_lib=fl ;;
8690 *) ac_lib=l ;;
8691 esac
8692 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8693 echo "configure:8694: checking for yywrap in -l$ac_lib" >&5
8694 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8695 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8696 echo $ac_n "(cached) $ac_c" 1>&6
8697 else
8698 ac_save_LIBS="$LIBS"
8699 LIBS="-l$ac_lib $LIBS"
8700 cat > conftest.$ac_ext <<EOF
8701 #line 8702 "configure"
8702 #include "confdefs.h"
8703 /* Override any gcc2 internal prototype to avoid an error. */
8704 /* We use char because int might match the return type of a gcc2
8705 builtin and then its argument prototype would still apply. */
8706 char yywrap();
8707
8708 int main() {
8709 yywrap()
8710 ; return 0; }
8711 EOF
8712 if { (eval echo configure:8713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8713 rm -rf conftest*
8714 eval "ac_cv_lib_$ac_lib_var=yes"
8715 else
8716 echo "configure: failed program was:" >&5
8717 cat conftest.$ac_ext >&5
8718 rm -rf conftest*
8719 eval "ac_cv_lib_$ac_lib_var=no"
8720 fi
8721 rm -f conftest*
8722 LIBS="$ac_save_LIBS"
8723
8724 fi
8725 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8726 echo "$ac_t""yes" 1>&6
8727 LEXLIB="-l$ac_lib"
8728 else
8729 echo "$ac_t""no" 1>&6
8730 fi
8731
8732 fi
8733
8734
8735 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8736 echo "configure:8737: checking whether ln -s works" >&5
8737 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8738 echo $ac_n "(cached) $ac_c" 1>&6
8739 else
8740 rm -f conftestdata
8741 if ln -s X conftestdata 2>/dev/null
8742 then
8743 rm -f conftestdata
8744 ac_cv_prog_LN_S="ln -s"
8745 else
8746 ac_cv_prog_LN_S=ln
8747 fi
8748 fi
8749 LN_S="$ac_cv_prog_LN_S"
8750 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8751 echo "$ac_t""yes" 1>&6
8752 else
8753 echo "$ac_t""no" 1>&6
8754 fi
8755
8756
8757
8758 SEARCH_INCLUDE="\
8759 /usr/local/include \
8760 \
8761 /usr/Motif-1.2/include \
8762 /usr/Motif-2.1/include \
8763 \
8764 /usr/include/Motif1.2 \
8765 /opt/xpm/include/X11 \
8766 /opt/GBxpm/include/ \
8767 /opt/GBxpm/X11/include/ \
8768 \
8769 /usr/Motif1.2/include \
8770 /usr/dt/include \
8771 /usr/openwin/include \
8772 \
8773 /usr/include/Xm \
8774 \
8775 /usr/X11R6/include \
8776 /usr/X11R6.4/include \
8777 /usr/X11R5/include \
8778 /usr/X11R4/include \
8779 \
8780 /usr/include/X11R6 \
8781 /usr/include/X11R5 \
8782 /usr/include/X11R4 \
8783 \
8784 /usr/local/X11R6/include \
8785 /usr/local/X11R5/include \
8786 /usr/local/X11R4/include \
8787 \
8788 /usr/local/include/X11R6 \
8789 /usr/local/include/X11R5 \
8790 /usr/local/include/X11R4 \
8791 \
8792 /usr/X11/include \
8793 /usr/include/X11 \
8794 /usr/local/X11/include \
8795 /usr/local/include/X11 \
8796 \
8797 /usr/X386/include \
8798 /usr/x386/include \
8799 /usr/XFree86/include/X11 \
8800 \
8801 X:/XFree86/include \
8802 X:/XFree86/include/X11 \
8803 \
8804 /usr/include/gtk \
8805 /usr/local/include/gtk \
8806 /usr/include/glib \
8807 /usr/local/include/glib \
8808 \
8809 /usr/include/qt \
8810 /usr/local/include/qt \
8811 \
8812 /usr/include/windows \
8813 /usr/include/wine \
8814 /usr/local/include/wine \
8815 \
8816 /usr/unsupported/include \
8817 /usr/athena/include \
8818 /usr/local/x11r5/include \
8819 /usr/lpp/Xamples/include \
8820 \
8821 /usr/openwin/share/include \
8822 \
8823 /usr/include"
8824
8825 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8826
8827
8828 cat > confcache <<\EOF
8829 # This file is a shell script that caches the results of configure
8830 # tests run on this system so they can be shared between configure
8831 # scripts and configure runs. It is not useful on other systems.
8832 # If it contains results you don't want to keep, you may remove or edit it.
8833 #
8834 # By default, configure uses ./config.cache as the cache file,
8835 # creating it if it does not exist already. You can give configure
8836 # the --cache-file=FILE option to use a different cache file; that is
8837 # what configure does when it calls configure scripts in
8838 # subdirectories, so they share the cache.
8839 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8840 # config.status only pays attention to the cache file if you give it the
8841 # --recheck option to rerun configure.
8842 #
8843 EOF
8844 # The following way of writing the cache mishandles newlines in values,
8845 # but we know of no workaround that is simple, portable, and efficient.
8846 # So, don't put newlines in cache variables' values.
8847 # Ultrix sh set writes to stderr and can't be redirected directly,
8848 # and sets the high bit in the cache file unless we assign to the vars.
8849 (set) 2>&1 |
8850 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8851 *ac_space=\ *)
8852 # `set' does not quote correctly, so add quotes (double-quote substitution
8853 # turns \\\\ into \\, and sed turns \\ into \).
8854 sed -n \
8855 -e "s/'/'\\\\''/g" \
8856 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8857 ;;
8858 *)
8859 # `set' quotes correctly as required by POSIX, so do not add quotes.
8860 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8861 ;;
8862 esac >> confcache
8863 if cmp -s $cache_file confcache; then
8864 :
8865 else
8866 if test -w $cache_file; then
8867 echo "updating cache $cache_file"
8868 cat confcache > $cache_file
8869 else
8870 echo "not updating unwritable cache $cache_file"
8871 fi
8872 fi
8873 rm -f confcache
8874
8875
8876
8877 REGEX_INCLUDE=
8878 if test "$wxUSE_REGEX" != "no"; then
8879 ac_safe=`echo "regex.h" | sed 'y%./+-%__p_%'`
8880 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
8881 echo "configure:8882: checking for regex.h" >&5
8882 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8883 echo $ac_n "(cached) $ac_c" 1>&6
8884 else
8885 cat > conftest.$ac_ext <<EOF
8886 #line 8887 "configure"
8887 #include "confdefs.h"
8888 #include <regex.h>
8889 EOF
8890 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8891 { (eval echo configure:8892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8892 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8893 if test -z "$ac_err"; then
8894 rm -rf conftest*
8895 eval "ac_cv_header_$ac_safe=yes"
8896 else
8897 echo "$ac_err" >&5
8898 echo "configure: failed program was:" >&5
8899 cat conftest.$ac_ext >&5
8900 rm -rf conftest*
8901 eval "ac_cv_header_$ac_safe=no"
8902 fi
8903 rm -f conftest*
8904 fi
8905 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8906 echo "$ac_t""yes" 1>&6
8907 for ac_func in regcomp
8908 do
8909 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8910 echo "configure:8911: checking for $ac_func" >&5
8911 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8912 echo $ac_n "(cached) $ac_c" 1>&6
8913 else
8914 cat > conftest.$ac_ext <<EOF
8915 #line 8916 "configure"
8916 #include "confdefs.h"
8917 /* System header to define __stub macros and hopefully few prototypes,
8918 which can conflict with char $ac_func(); below. */
8919 #include <assert.h>
8920 /* Override any gcc2 internal prototype to avoid an error. */
8921 /* We use char because int might match the return type of a gcc2
8922 builtin and then its argument prototype would still apply. */
8923 char $ac_func();
8924
8925 int main() {
8926
8927 /* The GNU C library defines this for functions which it implements
8928 to always fail with ENOSYS. Some functions are actually named
8929 something starting with __ and the normal name is an alias. */
8930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8931 choke me
8932 #else
8933 $ac_func();
8934 #endif
8935
8936 ; return 0; }
8937 EOF
8938 if { (eval echo configure:8939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8939 rm -rf conftest*
8940 eval "ac_cv_func_$ac_func=yes"
8941 else
8942 echo "configure: failed program was:" >&5
8943 cat conftest.$ac_ext >&5
8944 rm -rf conftest*
8945 eval "ac_cv_func_$ac_func=no"
8946 fi
8947 rm -f conftest*
8948 fi
8949
8950 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8951 echo "$ac_t""yes" 1>&6
8952 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8953 cat >> confdefs.h <<EOF
8954 #define $ac_tr_func 1
8955 EOF
8956
8957 else
8958 echo "$ac_t""no" 1>&6
8959 fi
8960 done
8961
8962 else
8963 echo "$ac_t""no" 1>&6
8964 fi
8965
8966
8967 if test "x$ac_cv_func_regcomp" != "xyes"; then
8968 if test "$wxUSE_REGEX" = "sys"; then
8969 { echo "configure: error: system regex library not found! Use --with-regex to use the built-in regex library." 1>&2; exit 1; }
8970 fi
8971
8972 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
8973 fi
8974
8975 cat >> confdefs.h <<\EOF
8976 #define wxUSE_REGEX 1
8977 EOF
8978
8979 fi
8980
8981
8982 AFMINSTALL=
8983
8984 TOOLKIT=
8985 TOOLKIT_INCLUDE=
8986 WIDGET_SET=
8987
8988 if test "$USE_WIN32" = 1 ; then
8989 for ac_hdr in w32api.h
8990 do
8991 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8992 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8993 echo "configure:8994: checking for $ac_hdr" >&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 <$ac_hdr>
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 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9020 cat >> confdefs.h <<EOF
9021 #define $ac_tr_hdr 1
9022 EOF
9023
9024 else
9025 echo "$ac_t""no" 1>&6
9026 fi
9027 done
9028
9029 ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'`
9030 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
9031 echo "configure:9032: checking for windows.h" >&5
9032 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9033 echo $ac_n "(cached) $ac_c" 1>&6
9034 else
9035 cat > conftest.$ac_ext <<EOF
9036 #line 9037 "configure"
9037 #include "confdefs.h"
9038 #include <windows.h>
9039 EOF
9040 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9041 { (eval echo configure:9042: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9042 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9043 if test -z "$ac_err"; then
9044 rm -rf conftest*
9045 eval "ac_cv_header_$ac_safe=yes"
9046 else
9047 echo "$ac_err" >&5
9048 echo "configure: failed program was:" >&5
9049 cat conftest.$ac_ext >&5
9050 rm -rf conftest*
9051 eval "ac_cv_header_$ac_safe=no"
9052 fi
9053 rm -f conftest*
9054 fi
9055 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9056 echo "$ac_t""yes" 1>&6
9057 :
9058 else
9059 echo "$ac_t""no" 1>&6
9060
9061 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9062
9063 fi
9064
9065
9066 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
9067 echo "configure:9068: checking if w32api has good enough MSIE support" >&5
9068 if eval "test \"`echo '$''{'wx_cv_w32api_win_ie'+set}'`\" = set"; then
9069 echo $ac_n "(cached) $ac_c" 1>&6
9070 else
9071
9072 cat > conftest.$ac_ext <<EOF
9073 #line 9074 "configure"
9074 #include "confdefs.h"
9075 #include <w32api.h>
9076 int main() {
9077
9078 #define wxCHECK_W32API_VERSION( major, minor ) \
9079 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
9080 && ( ( __W32API_MAJOR_VERSION > (major) ) \
9081 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
9082
9083 #if !wxCHECK_W32API_VERSION(1,1)
9084 #error You need w32api 1.1 or newer
9085 #endif
9086
9087 ; return 0; }
9088 EOF
9089 if { (eval echo configure:9090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9090 rm -rf conftest*
9091
9092 wx_cv_w32api_win_ie=yes
9093 CPPFLAGS="$CPPFLAGS -D_WIN_IE=0x400"
9094
9095 else
9096 echo "configure: failed program was:" >&5
9097 cat conftest.$ac_ext >&5
9098 rm -rf conftest*
9099
9100 wx_cv_w32api_win_ie=no
9101
9102 fi
9103 rm -f conftest*
9104
9105 fi
9106
9107 echo "$ac_t""$wx_cv_w32api_win_ie" 1>&6
9108
9109 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
9110
9111 if test "$wxUSE_CYGWIN" = 1; then
9112 LIBS="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
9113 fi
9114
9115 if test "$wxUSE_ODBC" = "yes" ; then
9116 LIBS="$LIBS -lodbc32 -lole32 -loleaut32"
9117 fi
9118
9119 if test "$wxUSE_MINGW" = 1; then
9120 LDFLAGS="$LDFLAGS -mwindows"
9121 fi
9122
9123 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
9124 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
9125 fi
9126
9127 if test "$wxUSE_GUI" = "yes"; then
9128 USE_GUI=1
9129
9130 GUI_TK_LIBRARY=
9131
9132 WXGTK12=
9133 WXGTK127=
9134 WXGTK20=
9135
9136 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
9137 TOOLKIT=MSW
9138 GUIDIST=MSW_DIST
9139 fi
9140
9141 if test "$wxUSE_GTK" = 1; then
9142 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
9143 echo "configure:9144: checking for GTK+ version" >&5
9144
9145 gtk_version_cached=1
9146 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
9147 echo $ac_n "(cached) $ac_c" 1>&6
9148 else
9149
9150 gtk_version_cached=0
9151 echo "$ac_t""""" 1>&6
9152
9153 wx_cv_lib_gtk=
9154 if test "x$wxUSE_GTK2" = "xyes"; then
9155 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9156 if test "${with_gtk_prefix+set}" = set; then
9157 withval="$with_gtk_prefix"
9158 gtk_config_prefix="$withval"
9159 else
9160 gtk_config_prefix=""
9161 fi
9162
9163 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9164 if test "${with_gtk_exec_prefix+set}" = set; then
9165 withval="$with_gtk_exec_prefix"
9166 gtk_config_exec_prefix="$withval"
9167 else
9168 gtk_config_exec_prefix=""
9169 fi
9170
9171 # Check whether --enable-gtktest or --disable-gtktest was given.
9172 if test "${enable_gtktest+set}" = set; then
9173 enableval="$enable_gtktest"
9174 :
9175 else
9176 enable_gtktest=yes
9177 fi
9178
9179
9180 for module in .
9181 do
9182 case "$module" in
9183 gthread)
9184 gtk_config_args="$gtk_config_args gthread"
9185 ;;
9186 esac
9187 done
9188
9189 if test x$gtk_config_exec_prefix != x ; then
9190 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9191 if test x${GTK_CONFIG_2_0+set} != xset ; then
9192 GTK_CONFIG_2_0=$gtk_config_exec_prefix/bin/gtk-config-2.0
9193 fi
9194 fi
9195 if test x$gtk_config_prefix != x ; then
9196 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
9197 if test x${GTK_CONFIG_2_0+set} != xset ; then
9198 GTK_CONFIG_2_0=$gtk_config_prefix/bin/gtk-config-2.0
9199 fi
9200 fi
9201
9202 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
9203 set dummy gtk-config-2.0; ac_word=$2
9204 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9205 echo "configure:9206: checking for $ac_word" >&5
9206 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
9207 echo $ac_n "(cached) $ac_c" 1>&6
9208 else
9209 case "$GTK_CONFIG_2_0" in
9210 /*)
9211 ac_cv_path_GTK_CONFIG_2_0="$GTK_CONFIG_2_0" # Let the user override the test with a path.
9212 ;;
9213 ?:/*)
9214 ac_cv_path_GTK_CONFIG_2_0="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
9215 ;;
9216 *)
9217 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9218 ac_dummy="$PATH"
9219 for ac_dir in $ac_dummy; do
9220 test -z "$ac_dir" && ac_dir=.
9221 if test -f $ac_dir/$ac_word; then
9222 ac_cv_path_GTK_CONFIG_2_0="$ac_dir/$ac_word"
9223 break
9224 fi
9225 done
9226 IFS="$ac_save_ifs"
9227 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0="no"
9228 ;;
9229 esac
9230 fi
9231 GTK_CONFIG_2_0="$ac_cv_path_GTK_CONFIG_2_0"
9232 if test -n "$GTK_CONFIG_2_0"; then
9233 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
9234 else
9235 echo "$ac_t""no" 1>&6
9236 fi
9237
9238 min_gtk_version=1.3.1
9239 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9240 echo "configure:9241: checking for GTK - version >= $min_gtk_version" >&5
9241 no_gtk=""
9242 if test "$GTK_CONFIG_2_0" = "no" ; then
9243 no_gtk=yes
9244 else
9245 GTK_CFLAGS=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
9246 GTK_LIBS=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
9247 gtk_config_major_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9248 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9249 gtk_config_minor_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9250 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9251 gtk_config_micro_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9252 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9253 if test "x$enable_gtktest" = "xyes" ; then
9254 ac_save_CFLAGS="$CFLAGS"
9255 ac_save_LIBS="$LIBS"
9256 CFLAGS="$CFLAGS $GTK_CFLAGS"
9257 LIBS="$GTK_LIBS $LIBS"
9258 rm -f conf.gtktest
9259 if test "$cross_compiling" = yes; then
9260 echo $ac_n "cross compiling; assumed OK... $ac_c"
9261 else
9262 cat > conftest.$ac_ext <<EOF
9263 #line 9264 "configure"
9264 #include "confdefs.h"
9265
9266 #include <gtk/gtk.h>
9267 #include <stdio.h>
9268 #include <stdlib.h>
9269
9270 int
9271 main ()
9272 {
9273 int major, minor, micro;
9274 char *tmp_version;
9275
9276 system ("touch conf.gtktest");
9277
9278 /* HP/UX 9 (%@#!) writes to sscanf strings */
9279 tmp_version = g_strdup("$min_gtk_version");
9280 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
9281 printf("%s, bad version string\n", "$min_gtk_version");
9282 exit(1);
9283 }
9284
9285 if ((gtk_major_version != $gtk_config_major_version) ||
9286 (gtk_minor_version != $gtk_config_minor_version) ||
9287 (gtk_micro_version != $gtk_config_micro_version))
9288 {
9289 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9290 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9291 gtk_major_version, gtk_minor_version, gtk_micro_version);
9292 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
9293 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9294 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9295 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9296 printf("*** required on your system.\n");
9297 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
9298 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
9299 printf("*** before re-running configure\n");
9300 }
9301 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
9302 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9303 (gtk_minor_version != GTK_MINOR_VERSION) ||
9304 (gtk_micro_version != GTK_MICRO_VERSION))
9305 {
9306 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9307 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9308 printf("*** library (version %d.%d.%d)\n",
9309 gtk_major_version, gtk_minor_version, gtk_micro_version);
9310 }
9311 #endif /* defined (GTK_MAJOR_VERSION) ... */
9312 else
9313 {
9314 if ((gtk_major_version > major) ||
9315 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9316 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9317 {
9318 return 0;
9319 }
9320 else
9321 {
9322 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
9323 gtk_major_version, gtk_minor_version, gtk_micro_version);
9324 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
9325 major, minor, micro);
9326 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
9327 printf("***\n");
9328 printf("*** If you have already installed a sufficiently new version, this error\n");
9329 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
9330 printf("*** being found. The easiest way to fix this is to remove the old version\n");
9331 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
9332 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
9333 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9334 printf("*** so that the correct libraries are found at run-time))\n");
9335 }
9336 }
9337 return 1;
9338 }
9339
9340 EOF
9341 if { (eval echo configure:9342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9342 then
9343 :
9344 else
9345 echo "configure: failed program was:" >&5
9346 cat conftest.$ac_ext >&5
9347 rm -fr conftest*
9348 no_gtk=yes
9349 fi
9350 rm -fr conftest*
9351 fi
9352
9353 CFLAGS="$ac_save_CFLAGS"
9354 LIBS="$ac_save_LIBS"
9355 fi
9356 fi
9357 if test "x$no_gtk" = x ; then
9358 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
9359 wx_cv_lib_gtk=2.0
9360 else
9361 echo "$ac_t""no" 1>&6
9362 if test "$GTK_CONFIG_2_0" = "no" ; then
9363 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
9364 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
9365 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
9366 echo "*** full path to gtk-config-2.0."
9367 else
9368 if test -f conf.gtktest ; then
9369 :
9370 else
9371 echo "*** Could not run GTK test program, checking why..."
9372 CFLAGS="$CFLAGS $GTK_CFLAGS"
9373 LIBS="$LIBS $GTK_LIBS"
9374 cat > conftest.$ac_ext <<EOF
9375 #line 9376 "configure"
9376 #include "confdefs.h"
9377
9378 #include <gtk/gtk.h>
9379 #include <stdio.h>
9380
9381 int main() {
9382 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
9383 ; return 0; }
9384 EOF
9385 if { (eval echo configure:9386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9386 rm -rf conftest*
9387 echo "*** The test program compiled, but did not run. This usually means"
9388 echo "*** that the run-time linker is not finding GTK or finding the wrong"
9389 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
9390 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9391 echo "*** to the installed location Also, make sure you have run ldconfig if that"
9392 echo "*** is required on your system"
9393 echo "***"
9394 echo "*** If you have an old version installed, it is best to remove it, although"
9395 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9396 echo "***"
9397 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
9398 echo "*** came with the system with the command"
9399 echo "***"
9400 echo "*** rpm --erase --nodeps gtk gtk-devel"
9401 else
9402 echo "configure: failed program was:" >&5
9403 cat conftest.$ac_ext >&5
9404 rm -rf conftest*
9405 echo "*** The test program failed to compile or link. See the file config.log for the"
9406 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
9407 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
9408 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
9409 fi
9410 rm -f conftest*
9411 CFLAGS="$ac_save_CFLAGS"
9412 LIBS="$ac_save_LIBS"
9413 fi
9414 fi
9415 GTK_CFLAGS=""
9416 GTK_LIBS=""
9417 gthread
9418 fi
9419
9420
9421 rm -f conf.gtktest
9422
9423 fi
9424
9425 if test -z "$wx_cv_lib_gtk"; then
9426
9427 if test x$gtk_config_exec_prefix != x ; then
9428 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9429 if test x${GTK_CONFIG+set} != xset ; then
9430 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
9431 fi
9432 fi
9433 if test x$gtk_config_prefix != x ; then
9434 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
9435 if test x${GTK_CONFIG+set} != xset ; then
9436 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
9437 fi
9438 fi
9439
9440 # Extract the first word of "gtk-config", so it can be a program name with args.
9441 set dummy gtk-config; ac_word=$2
9442 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9443 echo "configure:9444: checking for $ac_word" >&5
9444 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9445 echo $ac_n "(cached) $ac_c" 1>&6
9446 else
9447 case "$GTK_CONFIG" in
9448 /*)
9449 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
9450 ;;
9451 ?:/*)
9452 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
9453 ;;
9454 *)
9455 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9456 ac_dummy="$PATH"
9457 for ac_dir in $ac_dummy; do
9458 test -z "$ac_dir" && ac_dir=.
9459 if test -f $ac_dir/$ac_word; then
9460 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
9461 break
9462 fi
9463 done
9464 IFS="$ac_save_ifs"
9465 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
9466 ;;
9467 esac
9468 fi
9469 GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
9470 if test -n "$GTK_CONFIG"; then
9471 echo "$ac_t""$GTK_CONFIG" 1>&6
9472 else
9473 echo "$ac_t""no" 1>&6
9474 fi
9475
9476 min_gtk_version=1.2.7
9477 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9478 echo "configure:9479: checking for GTK - version >= $min_gtk_version" >&5
9479 no_gtk=""
9480 if test "$GTK_CONFIG" != "no" ; then
9481 GTK_CFLAGS=`$GTK_CONFIG --cflags`
9482 GTK_LIBS=`$GTK_CONFIG --libs gthread`
9483 ac_save_CFLAGS="$CFLAGS"
9484 ac_save_LIBS="$LIBS"
9485 CFLAGS="$CFLAGS $GTK_CFLAGS"
9486 LIBS="$LIBS $GTK_LIBS"
9487 if test "$cross_compiling" = yes; then
9488 echo $ac_n "cross compiling; assumed OK... $ac_c"
9489 else
9490 cat > conftest.$ac_ext <<EOF
9491 #line 9492 "configure"
9492 #include "confdefs.h"
9493
9494 #include <gtk/gtk.h>
9495 #include <gtk/gtkfeatures.h>
9496 #include <stdio.h>
9497 #include <stdlib.h>
9498
9499 int
9500 main ()
9501 {
9502 int major, minor, micro;
9503
9504 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, &micro) != 3) {
9505 printf("%s, bad version string\n", "$min_gtk_version");
9506 exit(1);
9507 }
9508
9509 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9510 (GTK_MINOR_VERSION != gtk_minor_version) ||
9511 (GTK_MICRO_VERSION != gtk_micro_version)) {
9512 printf("Headers vs. library version mismatch!\n");
9513 exit(1);
9514 }
9515
9516 if (gtk_minor_version == 1) return FALSE;
9517
9518 return !((gtk_major_version > major) ||
9519 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9520 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9521 }
9522
9523 EOF
9524 if { (eval echo configure:9525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9525 then
9526 :
9527 else
9528 echo "configure: failed program was:" >&5
9529 cat conftest.$ac_ext >&5
9530 rm -fr conftest*
9531 no_gtk=yes
9532 fi
9533 rm -fr conftest*
9534 fi
9535
9536 CFLAGS="$ac_save_CFLAGS"
9537 LIBS="$ac_save_LIBS"
9538 else
9539 no_gtk=yes
9540 fi
9541 if test "x$no_gtk" = x ; then
9542 echo "$ac_t""yes" 1>&6
9543 wx_cv_lib_gtk=1.2.7
9544 else
9545 echo "$ac_t""no" 1>&6
9546 GTK_CFLAGS=""
9547 GTK_LIBS=""
9548 :
9549 fi
9550
9551
9552
9553 fi
9554
9555 if test -z "$wx_cv_lib_gtk"; then
9556
9557 if test x$gtk_config_exec_prefix != x ; then
9558 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9559 if test x${GTK_CONFIG+set} != xset ; then
9560 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
9561 fi
9562 fi
9563 if test x$gtk_config_prefix != x ; then
9564 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
9565 if test x${GTK_CONFIG+set} != xset ; then
9566 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
9567 fi
9568 fi
9569
9570 # Extract the first word of "gtk-config", so it can be a program name with args.
9571 set dummy gtk-config; ac_word=$2
9572 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9573 echo "configure:9574: checking for $ac_word" >&5
9574 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9575 echo $ac_n "(cached) $ac_c" 1>&6
9576 else
9577 case "$GTK_CONFIG" in
9578 /*)
9579 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
9580 ;;
9581 ?:/*)
9582 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
9583 ;;
9584 *)
9585 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9586 ac_dummy="$PATH"
9587 for ac_dir in $ac_dummy; do
9588 test -z "$ac_dir" && ac_dir=.
9589 if test -f $ac_dir/$ac_word; then
9590 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
9591 break
9592 fi
9593 done
9594 IFS="$ac_save_ifs"
9595 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
9596 ;;
9597 esac
9598 fi
9599 GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
9600 if test -n "$GTK_CONFIG"; then
9601 echo "$ac_t""$GTK_CONFIG" 1>&6
9602 else
9603 echo "$ac_t""no" 1>&6
9604 fi
9605
9606 min_gtk_version=1.2.3
9607 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9608 echo "configure:9609: checking for GTK - version >= $min_gtk_version" >&5
9609 no_gtk=""
9610 if test "$GTK_CONFIG" != "no" ; then
9611 GTK_CFLAGS=`$GTK_CONFIG --cflags`
9612 GTK_LIBS=`$GTK_CONFIG --libs gthread`
9613 ac_save_CFLAGS="$CFLAGS"
9614 ac_save_LIBS="$LIBS"
9615 CFLAGS="$CFLAGS $GTK_CFLAGS"
9616 LIBS="$LIBS $GTK_LIBS"
9617 if test "$cross_compiling" = yes; then
9618 echo $ac_n "cross compiling; assumed OK... $ac_c"
9619 else
9620 cat > conftest.$ac_ext <<EOF
9621 #line 9622 "configure"
9622 #include "confdefs.h"
9623
9624 #include <gtk/gtk.h>
9625 #include <gtk/gtkfeatures.h>
9626 #include <stdio.h>
9627 #include <stdlib.h>
9628
9629 int
9630 main ()
9631 {
9632 int major, minor, micro;
9633
9634 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, &micro) != 3) {
9635 printf("%s, bad version string\n", "$min_gtk_version");
9636 exit(1);
9637 }
9638
9639 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9640 (GTK_MINOR_VERSION != gtk_minor_version) ||
9641 (GTK_MICRO_VERSION != gtk_micro_version)) {
9642 printf("Headers vs. library version mismatch!\n");
9643 exit(1);
9644 }
9645
9646 if (gtk_minor_version == 1) return FALSE;
9647
9648 return !((gtk_major_version > major) ||
9649 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9650 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9651 }
9652
9653 EOF
9654 if { (eval echo configure:9655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9655 then
9656 :
9657 else
9658 echo "configure: failed program was:" >&5
9659 cat conftest.$ac_ext >&5
9660 rm -fr conftest*
9661 no_gtk=yes
9662 fi
9663 rm -fr conftest*
9664 fi
9665
9666 CFLAGS="$ac_save_CFLAGS"
9667 LIBS="$ac_save_LIBS"
9668 else
9669 no_gtk=yes
9670 fi
9671 if test "x$no_gtk" = x ; then
9672 echo "$ac_t""yes" 1>&6
9673 wx_cv_lib_gtk=1.2.3
9674 else
9675 echo "$ac_t""no" 1>&6
9676 GTK_CFLAGS=""
9677 GTK_LIBS=""
9678 :
9679 fi
9680
9681
9682
9683 fi
9684
9685 if test -z "$wx_cv_lib_gtk"; then
9686 wx_cv_lib_gtk=none
9687 else
9688 wx_cv_cflags_gtk=$GTK_CFLAGS
9689 wx_cv_libs_gtk=$GTK_LIBS
9690 fi
9691
9692
9693 fi
9694
9695
9696 if test "$gtk_version_cached" = 1; then
9697 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9698 fi
9699
9700 case "$wx_cv_lib_gtk" in
9701 2.0) WXGTK20=1
9702 ;;
9703 1.2.7) WXGTK127=1
9704 WXGTK12=1
9705 ;;
9706 1.2.3) WXGTK12=1
9707 ;;
9708 *) { echo "configure: error:
9709 Please check that gtk-config is in path, the directory
9710 where GTK+ libraries are installed (returned by
9711 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9712 equivalent variable and GTK+ is version 1.2.3 or above.
9713 " 1>&2; exit 1; }
9714 ;;
9715 esac
9716
9717 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
9718 GUI_TK_LIBRARY="$wx_cv_libs_gtk"
9719
9720 AFMINSTALL=afminstall
9721 TOOLKIT=GTK
9722 GUIDIST=GTK_DIST
9723
9724 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9725 echo "configure:9726: checking for gdk_im_open in -lgdk" >&5
9726 ac_lib_var=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9727 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9728 echo $ac_n "(cached) $ac_c" 1>&6
9729 else
9730 ac_save_LIBS="$LIBS"
9731 LIBS="-lgdk $LIBS"
9732 cat > conftest.$ac_ext <<EOF
9733 #line 9734 "configure"
9734 #include "confdefs.h"
9735 /* Override any gcc2 internal prototype to avoid an error. */
9736 /* We use char because int might match the return type of a gcc2
9737 builtin and then its argument prototype would still apply. */
9738 char gdk_im_open();
9739
9740 int main() {
9741 gdk_im_open()
9742 ; return 0; }
9743 EOF
9744 if { (eval echo configure:9745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9745 rm -rf conftest*
9746 eval "ac_cv_lib_$ac_lib_var=yes"
9747 else
9748 echo "configure: failed program was:" >&5
9749 cat conftest.$ac_ext >&5
9750 rm -rf conftest*
9751 eval "ac_cv_lib_$ac_lib_var=no"
9752 fi
9753 rm -f conftest*
9754 LIBS="$ac_save_LIBS"
9755
9756 fi
9757 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9758 echo "$ac_t""yes" 1>&6
9759 cat >> confdefs.h <<\EOF
9760 #define HAVE_XIM 1
9761 EOF
9762
9763 else
9764 echo "$ac_t""no" 1>&6
9765 fi
9766
9767 fi
9768
9769 if test "$wxUSE_MGL" = 1; then
9770
9771 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9772 echo "configure:9773: checking for SciTech MGL library" >&5
9773 if test "x$MGL_ROOT" = x ; then
9774 echo "$ac_t""not found" 1>&6
9775 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9776 else
9777 echo "$ac_t""$MGL_ROOT" 1>&6
9778 fi
9779
9780 mgl_os=linux/gcc/glibc
9781 mgl_lib_type=""
9782
9783 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9784 if test -f $MGL_ROOT/lib/debug/$mgl_os/libmgl.a ; then
9785 mgl_lib_type=debug
9786 fi
9787 fi
9788 if test "x$mgl_lib_type" = x ; then
9789 if test -f $MGL_ROOT/lib/release/$mgl_os/libmgl.a ; then
9790 mgl_lib_type=release
9791 else
9792 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9793 fi
9794 fi
9795
9796 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
9797 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
9798
9799 AFMINSTALL=afminstall
9800 TOOLKIT=MGL
9801 GUIDIST=MGL_DIST
9802 fi
9803
9804 if test "$wxUSE_WINE" = 1; then
9805 ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'`
9806 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
9807 echo "configure:9808: checking for windows.h" >&5
9808 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9809 echo $ac_n "(cached) $ac_c" 1>&6
9810 else
9811 cat > conftest.$ac_ext <<EOF
9812 #line 9813 "configure"
9813 #include "confdefs.h"
9814 #include <windows.h>
9815 EOF
9816 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9817 { (eval echo configure:9818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9818 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9819 if test -z "$ac_err"; then
9820 rm -rf conftest*
9821 eval "ac_cv_header_$ac_safe=yes"
9822 else
9823 echo "$ac_err" >&5
9824 echo "configure: failed program was:" >&5
9825 cat conftest.$ac_ext >&5
9826 rm -rf conftest*
9827 eval "ac_cv_header_$ac_safe=no"
9828 fi
9829 rm -f conftest*
9830 fi
9831 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9832 echo "$ac_t""yes" 1>&6
9833 :
9834 else
9835 echo "$ac_t""no" 1>&6
9836
9837 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9838
9839 fi
9840
9841
9842 xpm_link=""
9843 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9844 echo "configure:9845: checking for Xpm library" >&5
9845
9846 ac_find_libraries=
9847 for ac_dir in $SEARCH_LIB;
9848 do
9849 for ac_extension in a so sl dylib; do
9850 if test -f "$ac_dir/libXpm.$ac_extension"; then
9851 ac_find_libraries=$ac_dir
9852 break 2
9853 fi
9854 done
9855 done
9856
9857 if test "$ac_find_libraries" != "" ; then
9858 GUI_TK_LIBRARY="-L$ac_find_libraries"
9859 xpm_link="-lXpm"
9860 cat >> confdefs.h <<\EOF
9861 #define wxHAVE_LIB_XPM 1
9862 EOF
9863
9864 echo "$ac_t""found at $ac_find_libraries" 1>&6
9865 else
9866 echo "$ac_t""no" 1>&6
9867 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9868 fi
9869
9870 mesa_link=""
9871 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9872 echo "configure:9873: checking for Mesa library" >&5
9873
9874 ac_find_libraries=
9875 for ac_dir in $SEARCH_LIB;
9876 do
9877 for ac_extension in a so sl dylib; do
9878 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9879 ac_find_libraries=$ac_dir
9880 break 2
9881 fi
9882 done
9883 done
9884
9885 if test "$ac_find_libraries" != "" ; then
9886 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -L$ac_find_libraries"
9887 mesa_link="-lMesaGL"
9888 echo "$ac_t""found at $ac_find_libraries" 1>&6
9889 else
9890 { echo "configure: error: no" 1>&2; exit 1; }
9891 fi
9892
9893 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwine $mesa_link $xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9894 TOOLKIT=MSW
9895 GUIDIST=MSW_DIST
9896 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXWINE__"
9897 fi
9898
9899 if test "$wxUSE_MOTIF" = 1; then
9900 # If we find X, set shell vars x_includes and x_libraries to the
9901 # paths, otherwise set no_x=yes.
9902 # Uses ac_ vars as temps to allow command line to override cache and checks.
9903 # --without-x overrides everything else, but does not touch the cache.
9904 echo $ac_n "checking for X""... $ac_c" 1>&6
9905 echo "configure:9906: checking for X" >&5
9906
9907 # Check whether --with-x or --without-x was given.
9908 if test "${with_x+set}" = set; then
9909 withval="$with_x"
9910 :
9911 fi
9912
9913 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9914 if test "x$with_x" = xno; then
9915 # The user explicitly disabled X.
9916 have_x=disabled
9917 else
9918 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
9919 # Both variables are already set.
9920 have_x=yes
9921 else
9922 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9923 echo $ac_n "(cached) $ac_c" 1>&6
9924 else
9925 # One or both of the vars are not set, and there is no cached value.
9926 ac_x_includes=NO ac_x_libraries=NO
9927 rm -fr conftestdir
9928 if mkdir conftestdir; then
9929 cd conftestdir
9930 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9931 cat > Imakefile <<'EOF'
9932 acfindx:
9933 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9934 EOF
9935 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
9936 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9937 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9938 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9939 for ac_extension in a so sl; do
9940 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
9941 test -f $ac_im_libdir/libX11.$ac_extension; then
9942 ac_im_usrlibdir=$ac_im_libdir; break
9943 fi
9944 done
9945 # Screen out bogus values from the imake configuration. They are
9946 # bogus both because they are the default anyway, and because
9947 # using them would break gcc on systems where it needs fixed includes.
9948 case "$ac_im_incroot" in
9949 /usr/include) ;;
9950 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
9951 esac
9952 case "$ac_im_usrlibdir" in
9953 /usr/lib | /lib) ;;
9954 *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
9955 esac
9956 fi
9957 cd ..
9958 rm -fr conftestdir
9959 fi
9960
9961 if test "$ac_x_includes" = NO; then
9962 # Guess where to find include files, by looking for this one X11 .h file.
9963 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
9964
9965 # First, try using that file with no special directory specified.
9966 cat > conftest.$ac_ext <<EOF
9967 #line 9968 "configure"
9968 #include "confdefs.h"
9969 #include <$x_direct_test_include>
9970 EOF
9971 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9972 { (eval echo configure:9973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9973 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9974 if test -z "$ac_err"; then
9975 rm -rf conftest*
9976 # We can compile using X headers with no special include directory.
9977 ac_x_includes=
9978 else
9979 echo "$ac_err" >&5
9980 echo "configure: failed program was:" >&5
9981 cat conftest.$ac_ext >&5
9982 rm -rf conftest*
9983 # Look for the header file in a standard set of common directories.
9984 # Check X11 before X11Rn because it is often a symlink to the current release.
9985 for ac_dir in \
9986 /usr/X11/include \
9987 /usr/X11R6/include \
9988 /usr/X11R5/include \
9989 /usr/X11R4/include \
9990 \
9991 /usr/include/X11 \
9992 /usr/include/X11R6 \
9993 /usr/include/X11R5 \
9994 /usr/include/X11R4 \
9995 \
9996 /usr/local/X11/include \
9997 /usr/local/X11R6/include \
9998 /usr/local/X11R5/include \
9999 /usr/local/X11R4/include \
10000 \
10001 /usr/local/include/X11 \
10002 /usr/local/include/X11R6 \
10003 /usr/local/include/X11R5 \
10004 /usr/local/include/X11R4 \
10005 \
10006 /usr/X386/include \
10007 /usr/x386/include \
10008 /usr/XFree86/include/X11 \
10009 \
10010 /usr/include \
10011 /usr/local/include \
10012 /usr/unsupported/include \
10013 /usr/athena/include \
10014 /usr/local/x11r5/include \
10015 /usr/lpp/Xamples/include \
10016 \
10017 /usr/openwin/include \
10018 /usr/openwin/share/include \
10019 ; \
10020 do
10021 if test -r "$ac_dir/$x_direct_test_include"; then
10022 ac_x_includes=$ac_dir
10023 break
10024 fi
10025 done
10026 fi
10027 rm -f conftest*
10028 fi # $ac_x_includes = NO
10029
10030 if test "$ac_x_libraries" = NO; then
10031 # Check for the libraries.
10032
10033 test -z "$x_direct_test_library" && x_direct_test_library=Xt
10034 test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
10035
10036 # See if we find them without any special options.
10037 # Don't add to $LIBS permanently.
10038 ac_save_LIBS="$LIBS"
10039 LIBS="-l$x_direct_test_library $LIBS"
10040 cat > conftest.$ac_ext <<EOF
10041 #line 10042 "configure"
10042 #include "confdefs.h"
10043
10044 int main() {
10045 ${x_direct_test_function}()
10046 ; return 0; }
10047 EOF
10048 if { (eval echo configure:10049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10049 rm -rf conftest*
10050 LIBS="$ac_save_LIBS"
10051 # We can link X programs with no special library path.
10052 ac_x_libraries=
10053 else
10054 echo "configure: failed program was:" >&5
10055 cat conftest.$ac_ext >&5
10056 rm -rf conftest*
10057 LIBS="$ac_save_LIBS"
10058 # First see if replacing the include by lib works.
10059 # Check X11 before X11Rn because it is often a symlink to the current release.
10060 for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
10061 /usr/X11/lib \
10062 /usr/X11R6/lib \
10063 /usr/X11R5/lib \
10064 /usr/X11R4/lib \
10065 \
10066 /usr/lib/X11 \
10067 /usr/lib/X11R6 \
10068 /usr/lib/X11R5 \
10069 /usr/lib/X11R4 \
10070 \
10071 /usr/local/X11/lib \
10072 /usr/local/X11R6/lib \
10073 /usr/local/X11R5/lib \
10074 /usr/local/X11R4/lib \
10075 \
10076 /usr/local/lib/X11 \
10077 /usr/local/lib/X11R6 \
10078 /usr/local/lib/X11R5 \
10079 /usr/local/lib/X11R4 \
10080 \
10081 /usr/X386/lib \
10082 /usr/x386/lib \
10083 /usr/XFree86/lib/X11 \
10084 \
10085 /usr/lib \
10086 /usr/local/lib \
10087 /usr/unsupported/lib \
10088 /usr/athena/lib \
10089 /usr/local/x11r5/lib \
10090 /usr/lpp/Xamples/lib \
10091 /lib/usr/lib/X11 \
10092 \
10093 /usr/openwin/lib \
10094 /usr/openwin/share/lib \
10095 ; \
10096 do
10097 for ac_extension in a so sl; do
10098 if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
10099 ac_x_libraries=$ac_dir
10100 break 2
10101 fi
10102 done
10103 done
10104 fi
10105 rm -f conftest*
10106 fi # $ac_x_libraries = NO
10107
10108 if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then
10109 # Didn't find X anywhere. Cache the known absence of X.
10110 ac_cv_have_x="have_x=no"
10111 else
10112 # Record where we found X for the cache.
10113 ac_cv_have_x="have_x=yes \
10114 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10115 fi
10116 fi
10117 fi
10118 eval "$ac_cv_have_x"
10119 fi # $with_x != no
10120
10121 if test "$have_x" != yes; then
10122 echo "$ac_t""$have_x" 1>&6
10123 no_x=yes
10124 else
10125 # If each of the values was on the command line, it overrides each guess.
10126 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10127 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10128 # Update the cache value to reflect the command line values.
10129 ac_cv_have_x="have_x=yes \
10130 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10131 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
10132 fi
10133
10134 if test "$no_x" = yes; then
10135 # Not all programs may use this symbol, but it does not hurt to define it.
10136 cat >> confdefs.h <<\EOF
10137 #define X_DISPLAY_MISSING 1
10138 EOF
10139
10140 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10141 else
10142 if test -n "$x_includes"; then
10143 X_CFLAGS="$X_CFLAGS -I$x_includes"
10144 fi
10145
10146 # It would also be nice to do this for all -L options, not just this one.
10147 if test -n "$x_libraries"; then
10148 X_LIBS="$X_LIBS -L$x_libraries"
10149 # For Solaris; some versions of Sun CC require a space after -R and
10150 # others require no space. Words are not sufficient . . . .
10151 case "`(uname -sr) 2>/dev/null`" in
10152 "SunOS 5"*)
10153 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
10154 echo "configure:10155: checking whether -R must be followed by a space" >&5
10155 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
10156 cat > conftest.$ac_ext <<EOF
10157 #line 10158 "configure"
10158 #include "confdefs.h"
10159
10160 int main() {
10161
10162 ; return 0; }
10163 EOF
10164 if { (eval echo configure:10165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10165 rm -rf conftest*
10166 ac_R_nospace=yes
10167 else
10168 echo "configure: failed program was:" >&5
10169 cat conftest.$ac_ext >&5
10170 rm -rf conftest*
10171 ac_R_nospace=no
10172 fi
10173 rm -f conftest*
10174 if test $ac_R_nospace = yes; then
10175 echo "$ac_t""no" 1>&6
10176 X_LIBS="$X_LIBS -R$x_libraries"
10177 else
10178 LIBS="$ac_xsave_LIBS -R $x_libraries"
10179 cat > conftest.$ac_ext <<EOF
10180 #line 10181 "configure"
10181 #include "confdefs.h"
10182
10183 int main() {
10184
10185 ; return 0; }
10186 EOF
10187 if { (eval echo configure:10188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10188 rm -rf conftest*
10189 ac_R_space=yes
10190 else
10191 echo "configure: failed program was:" >&5
10192 cat conftest.$ac_ext >&5
10193 rm -rf conftest*
10194 ac_R_space=no
10195 fi
10196 rm -f conftest*
10197 if test $ac_R_space = yes; then
10198 echo "$ac_t""yes" 1>&6
10199 X_LIBS="$X_LIBS -R $x_libraries"
10200 else
10201 echo "$ac_t""neither works" 1>&6
10202 fi
10203 fi
10204 LIBS="$ac_xsave_LIBS"
10205 esac
10206 fi
10207
10208 # Check for system-dependent libraries X programs must link with.
10209 # Do this before checking for the system-independent R6 libraries
10210 # (-lICE), since we may need -lsocket or whatever for X linking.
10211
10212 if test "$ISC" = yes; then
10213 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10214 else
10215 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
10216 # libraries were built with DECnet support. And karl@cs.umb.edu says
10217 # the Alpha needs dnet_stub (dnet does not exist).
10218 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
10219 echo "configure:10220: checking for dnet_ntoa in -ldnet" >&5
10220 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10221 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10222 echo $ac_n "(cached) $ac_c" 1>&6
10223 else
10224 ac_save_LIBS="$LIBS"
10225 LIBS="-ldnet $LIBS"
10226 cat > conftest.$ac_ext <<EOF
10227 #line 10228 "configure"
10228 #include "confdefs.h"
10229 /* Override any gcc2 internal prototype to avoid an error. */
10230 /* We use char because int might match the return type of a gcc2
10231 builtin and then its argument prototype would still apply. */
10232 char dnet_ntoa();
10233
10234 int main() {
10235 dnet_ntoa()
10236 ; return 0; }
10237 EOF
10238 if { (eval echo configure:10239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10239 rm -rf conftest*
10240 eval "ac_cv_lib_$ac_lib_var=yes"
10241 else
10242 echo "configure: failed program was:" >&5
10243 cat conftest.$ac_ext >&5
10244 rm -rf conftest*
10245 eval "ac_cv_lib_$ac_lib_var=no"
10246 fi
10247 rm -f conftest*
10248 LIBS="$ac_save_LIBS"
10249
10250 fi
10251 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10252 echo "$ac_t""yes" 1>&6
10253 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10254 else
10255 echo "$ac_t""no" 1>&6
10256 fi
10257
10258 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10259 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
10260 echo "configure:10261: checking for dnet_ntoa in -ldnet_stub" >&5
10261 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10262 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10263 echo $ac_n "(cached) $ac_c" 1>&6
10264 else
10265 ac_save_LIBS="$LIBS"
10266 LIBS="-ldnet_stub $LIBS"
10267 cat > conftest.$ac_ext <<EOF
10268 #line 10269 "configure"
10269 #include "confdefs.h"
10270 /* Override any gcc2 internal prototype to avoid an error. */
10271 /* We use char because int might match the return type of a gcc2
10272 builtin and then its argument prototype would still apply. */
10273 char dnet_ntoa();
10274
10275 int main() {
10276 dnet_ntoa()
10277 ; return 0; }
10278 EOF
10279 if { (eval echo configure:10280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10280 rm -rf conftest*
10281 eval "ac_cv_lib_$ac_lib_var=yes"
10282 else
10283 echo "configure: failed program was:" >&5
10284 cat conftest.$ac_ext >&5
10285 rm -rf conftest*
10286 eval "ac_cv_lib_$ac_lib_var=no"
10287 fi
10288 rm -f conftest*
10289 LIBS="$ac_save_LIBS"
10290
10291 fi
10292 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10293 echo "$ac_t""yes" 1>&6
10294 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10295 else
10296 echo "$ac_t""no" 1>&6
10297 fi
10298
10299 fi
10300
10301 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10302 # to get the SysV transport functions.
10303 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
10304 # needs -lnsl.
10305 # The nsl library prevents programs from opening the X display
10306 # on Irix 5.2, according to dickey@clark.net.
10307 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
10308 echo "configure:10309: checking for gethostbyname" >&5
10309 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
10310 echo $ac_n "(cached) $ac_c" 1>&6
10311 else
10312 cat > conftest.$ac_ext <<EOF
10313 #line 10314 "configure"
10314 #include "confdefs.h"
10315 /* System header to define __stub macros and hopefully few prototypes,
10316 which can conflict with char gethostbyname(); below. */
10317 #include <assert.h>
10318 /* Override any gcc2 internal prototype to avoid an error. */
10319 /* We use char because int might match the return type of a gcc2
10320 builtin and then its argument prototype would still apply. */
10321 char gethostbyname();
10322
10323 int main() {
10324
10325 /* The GNU C library defines this for functions which it implements
10326 to always fail with ENOSYS. Some functions are actually named
10327 something starting with __ and the normal name is an alias. */
10328 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10329 choke me
10330 #else
10331 gethostbyname();
10332 #endif
10333
10334 ; return 0; }
10335 EOF
10336 if { (eval echo configure:10337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10337 rm -rf conftest*
10338 eval "ac_cv_func_gethostbyname=yes"
10339 else
10340 echo "configure: failed program was:" >&5
10341 cat conftest.$ac_ext >&5
10342 rm -rf conftest*
10343 eval "ac_cv_func_gethostbyname=no"
10344 fi
10345 rm -f conftest*
10346 fi
10347
10348 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
10349 echo "$ac_t""yes" 1>&6
10350 :
10351 else
10352 echo "$ac_t""no" 1>&6
10353 fi
10354
10355 if test $ac_cv_func_gethostbyname = no; then
10356 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
10357 echo "configure:10358: checking for gethostbyname in -lnsl" >&5
10358 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
10359 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10360 echo $ac_n "(cached) $ac_c" 1>&6
10361 else
10362 ac_save_LIBS="$LIBS"
10363 LIBS="-lnsl $LIBS"
10364 cat > conftest.$ac_ext <<EOF
10365 #line 10366 "configure"
10366 #include "confdefs.h"
10367 /* Override any gcc2 internal prototype to avoid an error. */
10368 /* We use char because int might match the return type of a gcc2
10369 builtin and then its argument prototype would still apply. */
10370 char gethostbyname();
10371
10372 int main() {
10373 gethostbyname()
10374 ; return 0; }
10375 EOF
10376 if { (eval echo configure:10377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10377 rm -rf conftest*
10378 eval "ac_cv_lib_$ac_lib_var=yes"
10379 else
10380 echo "configure: failed program was:" >&5
10381 cat conftest.$ac_ext >&5
10382 rm -rf conftest*
10383 eval "ac_cv_lib_$ac_lib_var=no"
10384 fi
10385 rm -f conftest*
10386 LIBS="$ac_save_LIBS"
10387
10388 fi
10389 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10390 echo "$ac_t""yes" 1>&6
10391 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10392 else
10393 echo "$ac_t""no" 1>&6
10394 fi
10395
10396 fi
10397
10398 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10399 # socket/setsockopt and other routines are undefined under SCO ODT
10400 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10401 # on later versions), says simon@lia.di.epfl.ch: it contains
10402 # gethostby* variants that don't use the nameserver (or something).
10403 # -lsocket must be given before -lnsl if both are needed.
10404 # We assume that if connect needs -lnsl, so does gethostbyname.
10405 echo $ac_n "checking for connect""... $ac_c" 1>&6
10406 echo "configure:10407: checking for connect" >&5
10407 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
10408 echo $ac_n "(cached) $ac_c" 1>&6
10409 else
10410 cat > conftest.$ac_ext <<EOF
10411 #line 10412 "configure"
10412 #include "confdefs.h"
10413 /* System header to define __stub macros and hopefully few prototypes,
10414 which can conflict with char connect(); below. */
10415 #include <assert.h>
10416 /* Override any gcc2 internal prototype to avoid an error. */
10417 /* We use char because int might match the return type of a gcc2
10418 builtin and then its argument prototype would still apply. */
10419 char connect();
10420
10421 int main() {
10422
10423 /* The GNU C library defines this for functions which it implements
10424 to always fail with ENOSYS. Some functions are actually named
10425 something starting with __ and the normal name is an alias. */
10426 #if defined (__stub_connect) || defined (__stub___connect)
10427 choke me
10428 #else
10429 connect();
10430 #endif
10431
10432 ; return 0; }
10433 EOF
10434 if { (eval echo configure:10435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10435 rm -rf conftest*
10436 eval "ac_cv_func_connect=yes"
10437 else
10438 echo "configure: failed program was:" >&5
10439 cat conftest.$ac_ext >&5
10440 rm -rf conftest*
10441 eval "ac_cv_func_connect=no"
10442 fi
10443 rm -f conftest*
10444 fi
10445
10446 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
10447 echo "$ac_t""yes" 1>&6
10448 :
10449 else
10450 echo "$ac_t""no" 1>&6
10451 fi
10452
10453 if test $ac_cv_func_connect = no; then
10454 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
10455 echo "configure:10456: checking for connect in -lsocket" >&5
10456 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
10457 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10458 echo $ac_n "(cached) $ac_c" 1>&6
10459 else
10460 ac_save_LIBS="$LIBS"
10461 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10462 cat > conftest.$ac_ext <<EOF
10463 #line 10464 "configure"
10464 #include "confdefs.h"
10465 /* Override any gcc2 internal prototype to avoid an error. */
10466 /* We use char because int might match the return type of a gcc2
10467 builtin and then its argument prototype would still apply. */
10468 char connect();
10469
10470 int main() {
10471 connect()
10472 ; return 0; }
10473 EOF
10474 if { (eval echo configure:10475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10475 rm -rf conftest*
10476 eval "ac_cv_lib_$ac_lib_var=yes"
10477 else
10478 echo "configure: failed program was:" >&5
10479 cat conftest.$ac_ext >&5
10480 rm -rf conftest*
10481 eval "ac_cv_lib_$ac_lib_var=no"
10482 fi
10483 rm -f conftest*
10484 LIBS="$ac_save_LIBS"
10485
10486 fi
10487 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10488 echo "$ac_t""yes" 1>&6
10489 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10490 else
10491 echo "$ac_t""no" 1>&6
10492 fi
10493
10494 fi
10495
10496 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
10497 echo $ac_n "checking for remove""... $ac_c" 1>&6
10498 echo "configure:10499: checking for remove" >&5
10499 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
10500 echo $ac_n "(cached) $ac_c" 1>&6
10501 else
10502 cat > conftest.$ac_ext <<EOF
10503 #line 10504 "configure"
10504 #include "confdefs.h"
10505 /* System header to define __stub macros and hopefully few prototypes,
10506 which can conflict with char remove(); below. */
10507 #include <assert.h>
10508 /* Override any gcc2 internal prototype to avoid an error. */
10509 /* We use char because int might match the return type of a gcc2
10510 builtin and then its argument prototype would still apply. */
10511 char remove();
10512
10513 int main() {
10514
10515 /* The GNU C library defines this for functions which it implements
10516 to always fail with ENOSYS. Some functions are actually named
10517 something starting with __ and the normal name is an alias. */
10518 #if defined (__stub_remove) || defined (__stub___remove)
10519 choke me
10520 #else
10521 remove();
10522 #endif
10523
10524 ; return 0; }
10525 EOF
10526 if { (eval echo configure:10527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10527 rm -rf conftest*
10528 eval "ac_cv_func_remove=yes"
10529 else
10530 echo "configure: failed program was:" >&5
10531 cat conftest.$ac_ext >&5
10532 rm -rf conftest*
10533 eval "ac_cv_func_remove=no"
10534 fi
10535 rm -f conftest*
10536 fi
10537
10538 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
10539 echo "$ac_t""yes" 1>&6
10540 :
10541 else
10542 echo "$ac_t""no" 1>&6
10543 fi
10544
10545 if test $ac_cv_func_remove = no; then
10546 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
10547 echo "configure:10548: checking for remove in -lposix" >&5
10548 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
10549 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10550 echo $ac_n "(cached) $ac_c" 1>&6
10551 else
10552 ac_save_LIBS="$LIBS"
10553 LIBS="-lposix $LIBS"
10554 cat > conftest.$ac_ext <<EOF
10555 #line 10556 "configure"
10556 #include "confdefs.h"
10557 /* Override any gcc2 internal prototype to avoid an error. */
10558 /* We use char because int might match the return type of a gcc2
10559 builtin and then its argument prototype would still apply. */
10560 char remove();
10561
10562 int main() {
10563 remove()
10564 ; return 0; }
10565 EOF
10566 if { (eval echo configure:10567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10567 rm -rf conftest*
10568 eval "ac_cv_lib_$ac_lib_var=yes"
10569 else
10570 echo "configure: failed program was:" >&5
10571 cat conftest.$ac_ext >&5
10572 rm -rf conftest*
10573 eval "ac_cv_lib_$ac_lib_var=no"
10574 fi
10575 rm -f conftest*
10576 LIBS="$ac_save_LIBS"
10577
10578 fi
10579 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10580 echo "$ac_t""yes" 1>&6
10581 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10582 else
10583 echo "$ac_t""no" 1>&6
10584 fi
10585
10586 fi
10587
10588 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10589 echo $ac_n "checking for shmat""... $ac_c" 1>&6
10590 echo "configure:10591: checking for shmat" >&5
10591 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
10592 echo $ac_n "(cached) $ac_c" 1>&6
10593 else
10594 cat > conftest.$ac_ext <<EOF
10595 #line 10596 "configure"
10596 #include "confdefs.h"
10597 /* System header to define __stub macros and hopefully few prototypes,
10598 which can conflict with char shmat(); below. */
10599 #include <assert.h>
10600 /* Override any gcc2 internal prototype to avoid an error. */
10601 /* We use char because int might match the return type of a gcc2
10602 builtin and then its argument prototype would still apply. */
10603 char shmat();
10604
10605 int main() {
10606
10607 /* The GNU C library defines this for functions which it implements
10608 to always fail with ENOSYS. Some functions are actually named
10609 something starting with __ and the normal name is an alias. */
10610 #if defined (__stub_shmat) || defined (__stub___shmat)
10611 choke me
10612 #else
10613 shmat();
10614 #endif
10615
10616 ; return 0; }
10617 EOF
10618 if { (eval echo configure:10619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10619 rm -rf conftest*
10620 eval "ac_cv_func_shmat=yes"
10621 else
10622 echo "configure: failed program was:" >&5
10623 cat conftest.$ac_ext >&5
10624 rm -rf conftest*
10625 eval "ac_cv_func_shmat=no"
10626 fi
10627 rm -f conftest*
10628 fi
10629
10630 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
10631 echo "$ac_t""yes" 1>&6
10632 :
10633 else
10634 echo "$ac_t""no" 1>&6
10635 fi
10636
10637 if test $ac_cv_func_shmat = no; then
10638 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
10639 echo "configure:10640: checking for shmat in -lipc" >&5
10640 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
10641 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10642 echo $ac_n "(cached) $ac_c" 1>&6
10643 else
10644 ac_save_LIBS="$LIBS"
10645 LIBS="-lipc $LIBS"
10646 cat > conftest.$ac_ext <<EOF
10647 #line 10648 "configure"
10648 #include "confdefs.h"
10649 /* Override any gcc2 internal prototype to avoid an error. */
10650 /* We use char because int might match the return type of a gcc2
10651 builtin and then its argument prototype would still apply. */
10652 char shmat();
10653
10654 int main() {
10655 shmat()
10656 ; return 0; }
10657 EOF
10658 if { (eval echo configure:10659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10659 rm -rf conftest*
10660 eval "ac_cv_lib_$ac_lib_var=yes"
10661 else
10662 echo "configure: failed program was:" >&5
10663 cat conftest.$ac_ext >&5
10664 rm -rf conftest*
10665 eval "ac_cv_lib_$ac_lib_var=no"
10666 fi
10667 rm -f conftest*
10668 LIBS="$ac_save_LIBS"
10669
10670 fi
10671 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10672 echo "$ac_t""yes" 1>&6
10673 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10674 else
10675 echo "$ac_t""no" 1>&6
10676 fi
10677
10678 fi
10679 fi
10680
10681 # Check for libraries that X11R6 Xt/Xaw programs need.
10682 ac_save_LDFLAGS="$LDFLAGS"
10683 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10684 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10685 # check for ICE first), but we must link in the order -lSM -lICE or
10686 # we get undefined symbols. So assume we have SM if we have ICE.
10687 # These have to be linked with before -lX11, unlike the other
10688 # libraries we check for below, so use a different variable.
10689 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10690 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10691 echo "configure:10692: checking for IceConnectionNumber in -lICE" >&5
10692 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10693 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10694 echo $ac_n "(cached) $ac_c" 1>&6
10695 else
10696 ac_save_LIBS="$LIBS"
10697 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10698 cat > conftest.$ac_ext <<EOF
10699 #line 10700 "configure"
10700 #include "confdefs.h"
10701 /* Override any gcc2 internal prototype to avoid an error. */
10702 /* We use char because int might match the return type of a gcc2
10703 builtin and then its argument prototype would still apply. */
10704 char IceConnectionNumber();
10705
10706 int main() {
10707 IceConnectionNumber()
10708 ; return 0; }
10709 EOF
10710 if { (eval echo configure:10711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10711 rm -rf conftest*
10712 eval "ac_cv_lib_$ac_lib_var=yes"
10713 else
10714 echo "configure: failed program was:" >&5
10715 cat conftest.$ac_ext >&5
10716 rm -rf conftest*
10717 eval "ac_cv_lib_$ac_lib_var=no"
10718 fi
10719 rm -f conftest*
10720 LIBS="$ac_save_LIBS"
10721
10722 fi
10723 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10724 echo "$ac_t""yes" 1>&6
10725 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10726 else
10727 echo "$ac_t""no" 1>&6
10728 fi
10729
10730 LDFLAGS="$ac_save_LDFLAGS"
10731
10732 fi
10733
10734
10735 if test "$no_x" = "yes"; then
10736 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10737 fi
10738
10739 GUI_TK_LIBRARY="$X_LIBS"
10740 TOOLKIT_INCLUDE="$X_CFLAGS"
10741 AFMINSTALL=afminstall
10742 COMPILED_X_PROGRAM=0
10743
10744 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10745 echo "configure:10746: checking for Motif/Lesstif headers" >&5
10746
10747 ac_find_includes=
10748 for ac_dir in $SEARCH_INCLUDE;
10749 do
10750 if test -f "$ac_dir/Xm/Xm.h"; then
10751 ac_find_includes=$ac_dir
10752 break
10753 fi
10754 done
10755
10756 if test "$ac_find_includes" != "" ; then
10757 echo "$ac_t""found $ac_find_includes" 1>&6
10758 else
10759 cat > conftest.$ac_ext <<EOF
10760 #line 10761 "configure"
10761 #include "confdefs.h"
10762
10763 #include <Xm/Xm.h>
10764
10765 int main() {
10766
10767 int version;
10768 version = xmUseVersion;
10769
10770 ; return 0; }
10771 EOF
10772 if { (eval echo configure:10773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10773 rm -rf conftest*
10774
10775 echo "$ac_t""found in default search path" 1>&6
10776 COMPILED_X_PROGRAM=1
10777
10778 else
10779 echo "configure: failed program was:" >&5
10780 cat conftest.$ac_ext >&5
10781 rm -rf conftest*
10782
10783 echo "$ac_t""no" 1>&6
10784 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10785
10786
10787 fi
10788 rm -f conftest*
10789 fi
10790
10791 if test "$COMPILED_X_PROGRAM" = 0; then
10792 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10793 echo "configure:10794: checking for Motif/Lesstif library" >&5
10794
10795 ac_find_libraries=
10796 for ac_dir in $SEARCH_LIB;
10797 do
10798 for ac_extension in a so sl dylib; do
10799 if test -f "$ac_dir/libXm.$ac_extension"; then
10800 ac_find_libraries=$ac_dir
10801 break 2
10802 fi
10803 done
10804 done
10805
10806 if test "$ac_find_libraries" != "" ; then
10807
10808 ac_path_to_include=$ac_find_includes
10809 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
10810 result=$?
10811 if test $result = 0; then
10812 ac_path_to_include=""
10813 else
10814 ac_path_to_include="-I$ac_find_includes"
10815 fi
10816
10817
10818 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
10819 result=$?
10820 if test $result = 0; then
10821 ac_path_to_link=""
10822 else
10823 ac_path_to_link="-L$ac_find_libraries"
10824 fi
10825
10826
10827 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $ac_path_to_link"
10828 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE $ac_path_to_include"
10829 echo "$ac_t""found at $ac_find_libraries" 1>&6
10830 else
10831 cat > conftest.$ac_ext <<EOF
10832 #line 10833 "configure"
10833 #include "confdefs.h"
10834
10835 #include <Xm/Xm.h>
10836
10837 int main() {
10838
10839 int version;
10840 version = xmUseVersion;
10841
10842 ; return 0; }
10843 EOF
10844 if { (eval echo configure:10845: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10845 rm -rf conftest*
10846
10847 echo "$ac_t""found in default search path" 1>&6
10848 COMPILED_X_PROGRAM=1
10849
10850 else
10851 echo "configure: failed program was:" >&5
10852 cat conftest.$ac_ext >&5
10853 rm -rf conftest*
10854
10855 echo "$ac_t""no" 1>&6
10856 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10857
10858
10859 fi
10860 rm -f conftest*
10861 fi
10862 fi
10863
10864 xpm_link=""
10865 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10866 echo "configure:10867: checking for Xpm library" >&5
10867
10868 ac_find_libraries=
10869 for ac_dir in $SEARCH_LIB;
10870 do
10871 for ac_extension in a so sl dylib; do
10872 if test -f "$ac_dir/libXpm.$ac_extension"; then
10873 ac_find_libraries=$ac_dir
10874 break 2
10875 fi
10876 done
10877 done
10878
10879 if test "$ac_find_libraries" != "" ; then
10880
10881 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
10882 result=$?
10883 if test $result = 0; then
10884 ac_path_to_link=""
10885 else
10886 ac_path_to_link="-L$ac_find_libraries"
10887 fi
10888
10889 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $ac_path_to_link"
10890 xpm_link="-lXpm "
10891 cat >> confdefs.h <<\EOF
10892 #define wxHAVE_LIB_XPM 1
10893 EOF
10894
10895 echo "$ac_t""found at $ac_find_libraries" 1>&6
10896 else
10897 cat > conftest.$ac_ext <<EOF
10898 #line 10899 "configure"
10899 #include "confdefs.h"
10900
10901 #include <X11/xpm.h>
10902
10903 int main() {
10904
10905 int version;
10906 version = XpmLibraryVersion();
10907
10908 ; return 0; }
10909 EOF
10910 if { (eval echo configure:10911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10911 rm -rf conftest*
10912
10913 xpm_link="-lXpm "
10914 cat >> confdefs.h <<\EOF
10915 #define wxHAVE_LIB_XPM 1
10916 EOF
10917
10918 echo "$ac_t""found in default search path" 1>&6
10919 COMPILED_X_PROGRAM=0
10920
10921 else
10922 echo "configure: failed program was:" >&5
10923 cat conftest.$ac_ext >&5
10924 rm -rf conftest*
10925
10926 echo "$ac_t""no" 1>&6
10927 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10928
10929
10930 fi
10931 rm -f conftest*
10932 fi
10933
10934 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm $xpm_link -lXmu -lXext -lXt -lX11"
10935 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10936 TOOLKIT=MOTIF
10937 GUIDIST=MOTIF_DIST
10938 fi
10939
10940 if test "$wxUSE_MAC" = 1; then
10941 if test "$wxUSE_PRECOMP" = "yes"; then
10942 CPPFLAGS="${CPPFLAGS} -cpp-precomp"
10943 fi
10944 CPPFLAGS="${CPPFLAGS} -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
10945 CFLAGS="${CFLAGS} -fpascal-strings"
10946 CXXFLAGS="${CXXFLAGS} -fpascal-strings"
10947 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -DTARGET_CARBON"
10948
10949 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
10950 TOOLKIT=MAC
10951 GUIDIST=MACX_DIST
10952 fi
10953
10954 if test "$wxUSE_PM" = 1; then
10955 TOOLKIT=PM
10956 GUIDIST=GTK_DIST
10957 fi
10958
10959 if test "$TOOLKIT" = "PM" ; then
10960 TOOLKIT_DIR="os2"
10961 else
10962 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10963 fi
10964
10965 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
10966
10967 if test "$wxUSE_UNIVERSAL" = "yes"; then
10968 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10969 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10970 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
10971 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
10972 WIDGET_SET=univ
10973 else
10974 ALL_OBJECTS="\$(GUIOBJS)"
10975 fi
10976
10977 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10978
10979 if test "$TOOLKIT" != "MSW"; then
10980 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
10981 fi
10982
10983 if test "$wxUSE_HTML" = "yes"; then
10984 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
10985 fi
10986
10987 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
10988 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
10989 fi
10990 if test "$wxUSE_LIBJPEG" = "yes" ; then
10991 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
10992 fi
10993 if test "$wxUSE_LIBTIFF" = "yes" ; then
10994 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
10995 fi
10996 if test "$wxUSE_LIBPNG" = "yes" ; then
10997 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
10998 fi
10999 if test "$wxUSE_FREETYPE" = "yes" ; then
11000 ALL_OBJECTS="${ALL_OBJECTS} \$(FREETYPEOBJS)"
11001 fi
11002
11003 RPM_FILES="src/\$(TOOLKITDIR)/rpmfiles.lst"
11004 RPM_SPEC="wx\$(TOOLKIT).spec"
11005
11006 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
11007 DISTDIR="wx\$(TOOLKIT)"
11008 else
11009 USE_GUI=0
11010
11011 TOOLKIT_DIR="base"
11012
11013 if test "$USE_WIN32" = 1 ; then
11014 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
11015 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
11016
11017 TOOLKIT="MSW"
11018 else
11019 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
11020 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
11021 fi
11022
11023 PORT_FILES="\${top_srcdir}/src/files.lst"
11024 RPM_FILES="src/rpmfiles.lst"
11025 RPM_SPEC="wxBase.spec"
11026
11027 GUIDIST="BASE_DIST"
11028 DISTDIR="wxBase"
11029 fi
11030
11031 if test "x$REGEX_INCLUDE" != "x" ; then
11032 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
11033 fi
11034 if test "$wxUSE_ZLIB" = "yes" ; then
11035 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
11036 fi
11037
11038 if test "$wxUSE_OPENGL" = "yes"; then
11039 if test "$wxUSE_MAC" = 1; then
11040 cat >> confdefs.h <<\EOF
11041 #define wxUSE_OPENGL 1
11042 EOF
11043
11044 cat >> confdefs.h <<\EOF
11045 #define wxUSE_GLCANVAS 1
11046 EOF
11047
11048 OPENGL_LIBS="-framework OpenGL -framework AGL"
11049 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
11050 else
11051 ac_safe=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11052 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11053 echo "configure:11054: checking for GL/gl.h" >&5
11054 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11055 echo $ac_n "(cached) $ac_c" 1>&6
11056 else
11057 cat > conftest.$ac_ext <<EOF
11058 #line 11059 "configure"
11059 #include "confdefs.h"
11060 #include <GL/gl.h>
11061 EOF
11062 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11063 { (eval echo configure:11064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11064 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11065 if test -z "$ac_err"; then
11066 rm -rf conftest*
11067 eval "ac_cv_header_$ac_safe=yes"
11068 else
11069 echo "$ac_err" >&5
11070 echo "configure: failed program was:" >&5
11071 cat conftest.$ac_ext >&5
11072 rm -rf conftest*
11073 eval "ac_cv_header_$ac_safe=no"
11074 fi
11075 rm -f conftest*
11076 fi
11077 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11078 echo "$ac_t""yes" 1>&6
11079
11080 cat >> confdefs.h <<\EOF
11081 #define wxUSE_OPENGL 1
11082 EOF
11083
11084 cat >> confdefs.h <<\EOF
11085 #define wxUSE_GLCANVAS 1
11086 EOF
11087
11088 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
11089 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
11090 echo "configure:11091: checking for glFlush in -lGL" >&5
11091 ac_lib_var=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
11092 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11093 echo $ac_n "(cached) $ac_c" 1>&6
11094 else
11095 ac_save_LIBS="$LIBS"
11096 LIBS="-lGL $LIBS"
11097 cat > conftest.$ac_ext <<EOF
11098 #line 11099 "configure"
11099 #include "confdefs.h"
11100 /* Override any gcc2 internal prototype to avoid an error. */
11101 /* We use char because int might match the return type of a gcc2
11102 builtin and then its argument prototype would still apply. */
11103 char glFlush();
11104
11105 int main() {
11106 glFlush()
11107 ; return 0; }
11108 EOF
11109 if { (eval echo configure:11110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11110 rm -rf conftest*
11111 eval "ac_cv_lib_$ac_lib_var=yes"
11112 else
11113 echo "configure: failed program was:" >&5
11114 cat conftest.$ac_ext >&5
11115 rm -rf conftest*
11116 eval "ac_cv_lib_$ac_lib_var=no"
11117 fi
11118 rm -f conftest*
11119 LIBS="$ac_save_LIBS"
11120
11121 fi
11122 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11123 echo "$ac_t""yes" 1>&6
11124
11125 OPENGL_LIBS="-lGL -lGLU"
11126
11127 else
11128 echo "$ac_t""no" 1>&6
11129
11130 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
11131 echo "configure:11132: checking for glFlush in -lMesaGL" >&5
11132 ac_lib_var=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
11133 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11134 echo $ac_n "(cached) $ac_c" 1>&6
11135 else
11136 ac_save_LIBS="$LIBS"
11137 LIBS="-lMesaGL $LIBS"
11138 cat > conftest.$ac_ext <<EOF
11139 #line 11140 "configure"
11140 #include "confdefs.h"
11141 /* Override any gcc2 internal prototype to avoid an error. */
11142 /* We use char because int might match the return type of a gcc2
11143 builtin and then its argument prototype would still apply. */
11144 char glFlush();
11145
11146 int main() {
11147 glFlush()
11148 ; return 0; }
11149 EOF
11150 if { (eval echo configure:11151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11151 rm -rf conftest*
11152 eval "ac_cv_lib_$ac_lib_var=yes"
11153 else
11154 echo "configure: failed program was:" >&5
11155 cat conftest.$ac_ext >&5
11156 rm -rf conftest*
11157 eval "ac_cv_lib_$ac_lib_var=no"
11158 fi
11159 rm -f conftest*
11160 LIBS="$ac_save_LIBS"
11161
11162 fi
11163 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11164 echo "$ac_t""yes" 1>&6
11165
11166 OPENGL_LIBS="-lMesaGL -lMesaGLU"
11167
11168 else
11169 echo "$ac_t""no" 1>&6
11170 fi
11171
11172
11173 fi
11174
11175
11176 else
11177 echo "$ac_t""no" 1>&6
11178 wxUSE_OPENGL=0
11179 fi
11180
11181 fi
11182 fi
11183
11184 if test -z "$TOOLKIT_VPATH" ; then
11185 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
11186 fi
11187
11188 if test -n "$TOOLKIT" ; then
11189 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
11190 fi
11191
11192 if test "$wxUSE_CYGWIN" = 1 ; then
11193 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
11194 fi
11195
11196 lib_debug_suffix=
11197 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
11198 lib_debug_suffix=d
11199 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}d"
11200 fi
11201
11202 TOOLCHAIN_NAME="${TOOLKIT_DIR}${WIDGET_SET}${lib_debug_suffix}-${WX_RELEASE}"
11203 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${WIDGET_SET}${lib_debug_suffix}_gl-${WX_RELEASE}"
11204
11205 if test "$cross_compiling" = "yes"; then
11206 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
11207 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
11208 fi
11209
11210 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
11211 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
11212
11213 WXCONFIG_LIBS="-l${WX_LIBRARY}"
11214
11215 if test "$wxUSE_OPENGL" = "yes"; then
11216 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} $OPENGL_LIBS"
11217 fi
11218
11219 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
11220 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
11221
11222 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11223 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11224
11225 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
11226 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
11227 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
11228 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
11229
11230 WX_RESOURCES_MACOSX="lib${WX_LIBRARY}.rsrc"
11231 WX_RESOURCES_MACOSX_COMPILED="lib${WX_LIBRARY}.r"
11232
11233
11234 if test "$wxUSE_SHARED" = "yes"; then
11235
11236 if test "$wxUSE_OPENGL" = "yes"; then
11237 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11238 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
11239 else
11240 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
11241 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1}"
11242 fi
11243
11244 if test "$GCC" = "yes"; then
11245 PIC_FLAG="-fPIC"
11246 fi
11247
11248 SHARED_LD="${CXX} -shared -o"
11249
11250 case "${host}" in
11251 *-hp-hpux* )
11252 if test "$GCC" != "yes"; then
11253 LDFLAGS="-L/usr/lib"
11254
11255 SHARED_LD="${CXX} -b -o"
11256 PIC_FLAG="+Z"
11257 fi
11258
11259 if test "$wxUSE_OPENGL" = "yes"; then
11260 WX_ALL_INSTALLED="preinstall_gl"
11261 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
11262 else
11263 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
11264 fi
11265 ;;
11266
11267 *-*-linux* )
11268 if test "$GCC" != "yes"; then
11269 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
11270 echo "configure:11271: checking for Intel compiler" >&5
11271 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
11272 echo $ac_n "(cached) $ac_c" 1>&6
11273 else
11274
11275 cat > conftest.$ac_ext <<EOF
11276 #line 11277 "configure"
11277 #include "confdefs.h"
11278
11279 int main() {
11280
11281 #ifndef __INTEL_COMPILER
11282 #error Not icc
11283 #endif
11284
11285 ; return 0; }
11286 EOF
11287 if { (eval echo configure:11288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11288 rm -rf conftest*
11289 wx_cv_prog_icc=yes
11290 else
11291 echo "configure: failed program was:" >&5
11292 cat conftest.$ac_ext >&5
11293 rm -rf conftest*
11294 wx_cv_prog_icc=no
11295
11296 fi
11297 rm -f conftest*
11298
11299 fi
11300
11301 echo "$ac_t""$wx_cv_prog_icc" 1>&6
11302 if test "$wx_cv_prog_icc" = "yes"; then
11303 PIC_FLAG="-KPIC"
11304 fi
11305 fi
11306
11307 if test "$wxUSE_SONAME" = "yes" ; then
11308 SONAME_FLAGS="-Wl,-soname,${WX_LIBRARY_LINK1}"
11309 SONAME_FLAGS_GL="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
11310 WX_TARGET_LIBRARY_SONAME="-Wl,-soname,\$(TARGETLIB_LINK1)"
11311 fi
11312 ;;
11313
11314 *-*-solaris2* )
11315 if test "$GCC" = yes ; then
11316 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
11317 else
11318 SHARED_LD="${CXX} -G -o"
11319 PIC_FLAG="-KPIC"
11320 SONAME_FLAGS="-h ${WX_LIBRARY_NAME_SHARED}"
11321 SONAME_FLAGS_GL="-h ${WX_LIBRARY_NAME_SHARED}"
11322 fi
11323 ;;
11324
11325 *-*-darwin* )
11326 CFLAGS="${CFLAGS} -fno-common"
11327 CXXFLAGS="${CXXFLAGS} -fno-common"
11328 SHARED_LD="${CXX} -dynamiclib -o"
11329 PIC_FLAG="-dynamic -fPIC"
11330 ;;
11331
11332 *-*-aix* )
11333 SHARED_LD="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
11334 ;;
11335
11336 *-*-cygwin* | *-*-mingw32* )
11337 SHARED_LD="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_NAME_STATIC} -o"
11338 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -DWXUSINGDLL=1"
11339 WXMSW_DLL_DEFINES="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
11340
11341 if test "$wxUSE_OPENGL" = "yes"; then
11342 WX_ALL_INSTALLED="preinstall_gl"
11343 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
11344 else
11345 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
11346 fi
11347 PIC_FLAG=
11348 ;;
11349
11350 *-pc-os2_emx )
11351 wxUSE_SHARED=no
11352 ;;
11353
11354 *-*-beos* )
11355 SHARED_LD="${LD} -shared -o"
11356 ;;
11357
11358 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
11359 *-*-sunos4* | \
11360 *-*-irix5* | *-*-irix6* | \
11361 *-*-osf* | \
11362 *-*-dgux5* | \
11363 *-*-sysv5* )
11364 ;;
11365
11366 *)
11367 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
11368 esac
11369
11370 if test "x$WX_TARGET_LIBRARY" = "x"; then
11371 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
11372 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
11373 fi
11374
11375 WX_TARGET_LIBRARY_TYPE="so"
11376 fi
11377
11378 if test "$wxUSE_SHARED" = "no"; then
11379
11380 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
11381 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
11382 fi
11383
11384 if test "$wxUSE_OPENGL" = "yes"; then
11385 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
11386 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
11387 else
11388 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
11389 fi
11390
11391 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
11392 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
11393
11394 WX_TARGET_LIBRARY_TYPE="a"
11395 fi
11396
11397 if test "$wxUSE_MAC" = 1; then
11398 WX_ALL="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
11399 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
11400 # Extract the first word of "Rez", so it can be a program name with args.
11401 set dummy Rez; ac_word=$2
11402 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11403 echo "configure:11404: checking for $ac_word" >&5
11404 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
11405 echo $ac_n "(cached) $ac_c" 1>&6
11406 else
11407 if test -n "$RESCOMP"; then
11408 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
11409 else
11410 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
11411 ac_dummy="$PATH"
11412 for ac_dir in $ac_dummy; do
11413 test -z "$ac_dir" && ac_dir=.
11414 if test -f $ac_dir/$ac_word; then
11415 ac_cv_prog_RESCOMP="Rez"
11416 break
11417 fi
11418 done
11419 IFS="$ac_save_ifs"
11420 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
11421 fi
11422 fi
11423 RESCOMP="$ac_cv_prog_RESCOMP"
11424 if test -n "$RESCOMP"; then
11425 echo "$ac_t""$RESCOMP" 1>&6
11426 else
11427 echo "$ac_t""no" 1>&6
11428 fi
11429
11430 # Extract the first word of "Derez", so it can be a program name with args.
11431 set dummy Derez; ac_word=$2
11432 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11433 echo "configure:11434: checking for $ac_word" >&5
11434 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
11435 echo $ac_n "(cached) $ac_c" 1>&6
11436 else
11437 if test -n "$DEREZ"; then
11438 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
11439 else
11440 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
11441 ac_dummy="$PATH"
11442 for ac_dir in $ac_dummy; do
11443 test -z "$ac_dir" && ac_dir=.
11444 if test -f $ac_dir/$ac_word; then
11445 ac_cv_prog_DEREZ="Derez"
11446 break
11447 fi
11448 done
11449 IFS="$ac_save_ifs"
11450 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/Derez"
11451 fi
11452 fi
11453 DEREZ="$ac_cv_prog_DEREZ"
11454 if test -n "$DEREZ"; then
11455 echo "$ac_t""$DEREZ" 1>&6
11456 else
11457 echo "$ac_t""no" 1>&6
11458 fi
11459
11460 LIBWXMACRES="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
11461 LIBWXMACRESCOMP="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
11462 LIBWXMACRESWXCONFIG="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
11463 fi
11464
11465
11466 if test "$wxUSE_MAC" != 1; then
11467 for ac_hdr in strings.h
11468 do
11469 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11470 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11471 echo "configure:11472: checking for $ac_hdr" >&5
11472 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11473 echo $ac_n "(cached) $ac_c" 1>&6
11474 else
11475 cat > conftest.$ac_ext <<EOF
11476 #line 11477 "configure"
11477 #include "confdefs.h"
11478 #include <$ac_hdr>
11479 EOF
11480 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11481 { (eval echo configure:11482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11482 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11483 if test -z "$ac_err"; then
11484 rm -rf conftest*
11485 eval "ac_cv_header_$ac_safe=yes"
11486 else
11487 echo "$ac_err" >&5
11488 echo "configure: failed program was:" >&5
11489 cat conftest.$ac_ext >&5
11490 rm -rf conftest*
11491 eval "ac_cv_header_$ac_safe=no"
11492 fi
11493 rm -f conftest*
11494 fi
11495 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11496 echo "$ac_t""yes" 1>&6
11497 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11498 cat >> confdefs.h <<EOF
11499 #define $ac_tr_hdr 1
11500 EOF
11501
11502 else
11503 echo "$ac_t""no" 1>&6
11504 fi
11505 done
11506
11507 fi
11508
11509 for ac_hdr in stdlib.h
11510 do
11511 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11512 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11513 echo "configure:11514: checking for $ac_hdr" >&5
11514 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11515 echo $ac_n "(cached) $ac_c" 1>&6
11516 else
11517 cat > conftest.$ac_ext <<EOF
11518 #line 11519 "configure"
11519 #include "confdefs.h"
11520 #include <$ac_hdr>
11521 EOF
11522 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11523 { (eval echo configure:11524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11524 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11525 if test -z "$ac_err"; then
11526 rm -rf conftest*
11527 eval "ac_cv_header_$ac_safe=yes"
11528 else
11529 echo "$ac_err" >&5
11530 echo "configure: failed program was:" >&5
11531 cat conftest.$ac_ext >&5
11532 rm -rf conftest*
11533 eval "ac_cv_header_$ac_safe=no"
11534 fi
11535 rm -f conftest*
11536 fi
11537 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11538 echo "$ac_t""yes" 1>&6
11539 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11540 cat >> confdefs.h <<EOF
11541 #define $ac_tr_hdr 1
11542 EOF
11543
11544 else
11545 echo "$ac_t""no" 1>&6
11546 fi
11547 done
11548
11549 for ac_hdr in unistd.h
11550 do
11551 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11552 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11553 echo "configure:11554: checking for $ac_hdr" >&5
11554 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11555 echo $ac_n "(cached) $ac_c" 1>&6
11556 else
11557 cat > conftest.$ac_ext <<EOF
11558 #line 11559 "configure"
11559 #include "confdefs.h"
11560 #include <$ac_hdr>
11561 EOF
11562 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11563 { (eval echo configure:11564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11564 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11565 if test -z "$ac_err"; then
11566 rm -rf conftest*
11567 eval "ac_cv_header_$ac_safe=yes"
11568 else
11569 echo "$ac_err" >&5
11570 echo "configure: failed program was:" >&5
11571 cat conftest.$ac_ext >&5
11572 rm -rf conftest*
11573 eval "ac_cv_header_$ac_safe=no"
11574 fi
11575 rm -f conftest*
11576 fi
11577 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11578 echo "$ac_t""yes" 1>&6
11579 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11580 cat >> confdefs.h <<EOF
11581 #define $ac_tr_hdr 1
11582 EOF
11583
11584 else
11585 echo "$ac_t""no" 1>&6
11586 fi
11587 done
11588
11589 for ac_hdr in wchar.h
11590 do
11591 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11592 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11593 echo "configure:11594: checking for $ac_hdr" >&5
11594 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11595 echo $ac_n "(cached) $ac_c" 1>&6
11596 else
11597 cat > conftest.$ac_ext <<EOF
11598 #line 11599 "configure"
11599 #include "confdefs.h"
11600 #include <$ac_hdr>
11601 EOF
11602 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11603 { (eval echo configure:11604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11604 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11605 if test -z "$ac_err"; then
11606 rm -rf conftest*
11607 eval "ac_cv_header_$ac_safe=yes"
11608 else
11609 echo "$ac_err" >&5
11610 echo "configure: failed program was:" >&5
11611 cat conftest.$ac_ext >&5
11612 rm -rf conftest*
11613 eval "ac_cv_header_$ac_safe=no"
11614 fi
11615 rm -f conftest*
11616 fi
11617 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11618 echo "$ac_t""yes" 1>&6
11619 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11620 cat >> confdefs.h <<EOF
11621 #define $ac_tr_hdr 1
11622 EOF
11623
11624 else
11625 echo "$ac_t""no" 1>&6
11626 fi
11627 done
11628
11629 for ac_hdr in wcstr.h
11630 do
11631 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11632 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11633 echo "configure:11634: checking for $ac_hdr" >&5
11634 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11635 echo $ac_n "(cached) $ac_c" 1>&6
11636 else
11637 cat > conftest.$ac_ext <<EOF
11638 #line 11639 "configure"
11639 #include "confdefs.h"
11640 #include <$ac_hdr>
11641 EOF
11642 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11643 { (eval echo configure:11644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11644 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11645 if test -z "$ac_err"; then
11646 rm -rf conftest*
11647 eval "ac_cv_header_$ac_safe=yes"
11648 else
11649 echo "$ac_err" >&5
11650 echo "configure: failed program was:" >&5
11651 cat conftest.$ac_ext >&5
11652 rm -rf conftest*
11653 eval "ac_cv_header_$ac_safe=no"
11654 fi
11655 rm -f conftest*
11656 fi
11657 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11658 echo "$ac_t""yes" 1>&6
11659 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11660 cat >> confdefs.h <<EOF
11661 #define $ac_tr_hdr 1
11662 EOF
11663
11664 else
11665 echo "$ac_t""no" 1>&6
11666 fi
11667 done
11668
11669 for ac_hdr in fnmatch.h
11670 do
11671 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11672 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11673 echo "configure:11674: checking for $ac_hdr" >&5
11674 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11675 echo $ac_n "(cached) $ac_c" 1>&6
11676 else
11677 cat > conftest.$ac_ext <<EOF
11678 #line 11679 "configure"
11679 #include "confdefs.h"
11680 #include <$ac_hdr>
11681 EOF
11682 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11683 { (eval echo configure:11684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11684 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11685 if test -z "$ac_err"; then
11686 rm -rf conftest*
11687 eval "ac_cv_header_$ac_safe=yes"
11688 else
11689 echo "$ac_err" >&5
11690 echo "configure: failed program was:" >&5
11691 cat conftest.$ac_ext >&5
11692 rm -rf conftest*
11693 eval "ac_cv_header_$ac_safe=no"
11694 fi
11695 rm -f conftest*
11696 fi
11697 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11698 echo "$ac_t""yes" 1>&6
11699 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11700 cat >> confdefs.h <<EOF
11701 #define $ac_tr_hdr 1
11702 EOF
11703
11704 else
11705 echo "$ac_t""no" 1>&6
11706 fi
11707 done
11708
11709 for ac_hdr in iconv.h
11710 do
11711 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11712 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11713 echo "configure:11714: checking for $ac_hdr" >&5
11714 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11715 echo $ac_n "(cached) $ac_c" 1>&6
11716 else
11717 cat > conftest.$ac_ext <<EOF
11718 #line 11719 "configure"
11719 #include "confdefs.h"
11720 #include <$ac_hdr>
11721 EOF
11722 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11723 { (eval echo configure:11724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11724 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11725 if test -z "$ac_err"; then
11726 rm -rf conftest*
11727 eval "ac_cv_header_$ac_safe=yes"
11728 else
11729 echo "$ac_err" >&5
11730 echo "configure: failed program was:" >&5
11731 cat conftest.$ac_ext >&5
11732 rm -rf conftest*
11733 eval "ac_cv_header_$ac_safe=no"
11734 fi
11735 rm -f conftest*
11736 fi
11737 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11738 echo "$ac_t""yes" 1>&6
11739 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11740 cat >> confdefs.h <<EOF
11741 #define $ac_tr_hdr 1
11742 EOF
11743
11744 else
11745 echo "$ac_t""no" 1>&6
11746 fi
11747 done
11748
11749 for ac_hdr in langinfo.h
11750 do
11751 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11752 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11753 echo "configure:11754: checking for $ac_hdr" >&5
11754 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11755 echo $ac_n "(cached) $ac_c" 1>&6
11756 else
11757 cat > conftest.$ac_ext <<EOF
11758 #line 11759 "configure"
11759 #include "confdefs.h"
11760 #include <$ac_hdr>
11761 EOF
11762 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11763 { (eval echo configure:11764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11764 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11765 if test -z "$ac_err"; then
11766 rm -rf conftest*
11767 eval "ac_cv_header_$ac_safe=yes"
11768 else
11769 echo "$ac_err" >&5
11770 echo "configure: failed program was:" >&5
11771 cat conftest.$ac_ext >&5
11772 rm -rf conftest*
11773 eval "ac_cv_header_$ac_safe=no"
11774 fi
11775 rm -f conftest*
11776 fi
11777 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11778 echo "$ac_t""yes" 1>&6
11779 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11780 cat >> confdefs.h <<EOF
11781 #define $ac_tr_hdr 1
11782 EOF
11783
11784 else
11785 echo "$ac_t""no" 1>&6
11786 fi
11787 done
11788
11789
11790 if test "$wxUSE_GUI" = "yes"; then
11791 if test "$wxUSE_UNIX" = "yes"; then
11792 for ac_hdr in X11/XKBlib.h
11793 do
11794 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11795 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11796 echo "configure:11797: checking for $ac_hdr" >&5
11797 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11798 echo $ac_n "(cached) $ac_c" 1>&6
11799 else
11800 cat > conftest.$ac_ext <<EOF
11801 #line 11802 "configure"
11802 #include "confdefs.h"
11803 #include <$ac_hdr>
11804 EOF
11805 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11806 { (eval echo configure:11807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11807 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11808 if test -z "$ac_err"; then
11809 rm -rf conftest*
11810 eval "ac_cv_header_$ac_safe=yes"
11811 else
11812 echo "$ac_err" >&5
11813 echo "configure: failed program was:" >&5
11814 cat conftest.$ac_ext >&5
11815 rm -rf conftest*
11816 eval "ac_cv_header_$ac_safe=no"
11817 fi
11818 rm -f conftest*
11819 fi
11820 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11821 echo "$ac_t""yes" 1>&6
11822 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11823 cat >> confdefs.h <<EOF
11824 #define $ac_tr_hdr 1
11825 EOF
11826
11827 else
11828 echo "$ac_t""no" 1>&6
11829 fi
11830 done
11831
11832 fi
11833 fi
11834
11835
11836 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
11837 echo "configure:11838: checking for ANSI C header files" >&5
11838 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
11839 echo $ac_n "(cached) $ac_c" 1>&6
11840 else
11841 cat > conftest.$ac_ext <<EOF
11842 #line 11843 "configure"
11843 #include "confdefs.h"
11844 #include <stdlib.h>
11845 #include <stdarg.h>
11846 #include <string.h>
11847 #include <float.h>
11848 EOF
11849 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11850 { (eval echo configure:11851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11851 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11852 if test -z "$ac_err"; then
11853 rm -rf conftest*
11854 ac_cv_header_stdc=yes
11855 else
11856 echo "$ac_err" >&5
11857 echo "configure: failed program was:" >&5
11858 cat conftest.$ac_ext >&5
11859 rm -rf conftest*
11860 ac_cv_header_stdc=no
11861 fi
11862 rm -f conftest*
11863
11864 if test $ac_cv_header_stdc = yes; then
11865 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11866 cat > conftest.$ac_ext <<EOF
11867 #line 11868 "configure"
11868 #include "confdefs.h"
11869 #include <string.h>
11870 EOF
11871 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11872 egrep "memchr" >/dev/null 2>&1; then
11873 :
11874 else
11875 rm -rf conftest*
11876 ac_cv_header_stdc=no
11877 fi
11878 rm -f conftest*
11879
11880 fi
11881
11882 if test $ac_cv_header_stdc = yes; then
11883 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11884 cat > conftest.$ac_ext <<EOF
11885 #line 11886 "configure"
11886 #include "confdefs.h"
11887 #include <stdlib.h>
11888 EOF
11889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11890 egrep "free" >/dev/null 2>&1; then
11891 :
11892 else
11893 rm -rf conftest*
11894 ac_cv_header_stdc=no
11895 fi
11896 rm -f conftest*
11897
11898 fi
11899
11900 if test $ac_cv_header_stdc = yes; then
11901 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11902 if test "$cross_compiling" = yes; then
11903 :
11904 else
11905 cat > conftest.$ac_ext <<EOF
11906 #line 11907 "configure"
11907 #include "confdefs.h"
11908 #include <ctype.h>
11909 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11910 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11911 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11912 int main () { int i; for (i = 0; i < 256; i++)
11913 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11914 exit (0); }
11915
11916 EOF
11917 if { (eval echo configure:11918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11918 then
11919 :
11920 else
11921 echo "configure: failed program was:" >&5
11922 cat conftest.$ac_ext >&5
11923 rm -fr conftest*
11924 ac_cv_header_stdc=no
11925 fi
11926 rm -fr conftest*
11927 fi
11928
11929 fi
11930 fi
11931
11932 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11933 if test $ac_cv_header_stdc = yes; then
11934 cat >> confdefs.h <<\EOF
11935 #define STDC_HEADERS 1
11936 EOF
11937
11938 fi
11939
11940 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11941 echo "configure:11942: checking for mode_t" >&5
11942 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11943 echo $ac_n "(cached) $ac_c" 1>&6
11944 else
11945 cat > conftest.$ac_ext <<EOF
11946 #line 11947 "configure"
11947 #include "confdefs.h"
11948 #include <sys/types.h>
11949 #if STDC_HEADERS
11950 #include <stdlib.h>
11951 #include <stddef.h>
11952 #endif
11953 EOF
11954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11955 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
11956 rm -rf conftest*
11957 ac_cv_type_mode_t=yes
11958 else
11959 rm -rf conftest*
11960 ac_cv_type_mode_t=no
11961 fi
11962 rm -f conftest*
11963
11964 fi
11965 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11966 if test $ac_cv_type_mode_t = no; then
11967 cat >> confdefs.h <<\EOF
11968 #define mode_t int
11969 EOF
11970
11971 fi
11972
11973 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11974 echo "configure:11975: checking for off_t" >&5
11975 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11976 echo $ac_n "(cached) $ac_c" 1>&6
11977 else
11978 cat > conftest.$ac_ext <<EOF
11979 #line 11980 "configure"
11980 #include "confdefs.h"
11981 #include <sys/types.h>
11982 #if STDC_HEADERS
11983 #include <stdlib.h>
11984 #include <stddef.h>
11985 #endif
11986 EOF
11987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11988 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
11989 rm -rf conftest*
11990 ac_cv_type_off_t=yes
11991 else
11992 rm -rf conftest*
11993 ac_cv_type_off_t=no
11994 fi
11995 rm -f conftest*
11996
11997 fi
11998 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11999 if test $ac_cv_type_off_t = no; then
12000 cat >> confdefs.h <<\EOF
12001 #define off_t long
12002 EOF
12003
12004 fi
12005
12006 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
12007 echo "configure:12008: checking for pid_t" >&5
12008 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
12009 echo $ac_n "(cached) $ac_c" 1>&6
12010 else
12011 cat > conftest.$ac_ext <<EOF
12012 #line 12013 "configure"
12013 #include "confdefs.h"
12014 #include <sys/types.h>
12015 #if STDC_HEADERS
12016 #include <stdlib.h>
12017 #include <stddef.h>
12018 #endif
12019 EOF
12020 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12021 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
12022 rm -rf conftest*
12023 ac_cv_type_pid_t=yes
12024 else
12025 rm -rf conftest*
12026 ac_cv_type_pid_t=no
12027 fi
12028 rm -f conftest*
12029
12030 fi
12031 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
12032 if test $ac_cv_type_pid_t = no; then
12033 cat >> confdefs.h <<\EOF
12034 #define pid_t int
12035 EOF
12036
12037 fi
12038
12039 echo $ac_n "checking for size_t""... $ac_c" 1>&6
12040 echo "configure:12041: checking for size_t" >&5
12041 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
12042 echo $ac_n "(cached) $ac_c" 1>&6
12043 else
12044 cat > conftest.$ac_ext <<EOF
12045 #line 12046 "configure"
12046 #include "confdefs.h"
12047 #include <sys/types.h>
12048 #if STDC_HEADERS
12049 #include <stdlib.h>
12050 #include <stddef.h>
12051 #endif
12052 EOF
12053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12054 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
12055 rm -rf conftest*
12056 ac_cv_type_size_t=yes
12057 else
12058 rm -rf conftest*
12059 ac_cv_type_size_t=no
12060 fi
12061 rm -f conftest*
12062
12063 fi
12064 echo "$ac_t""$ac_cv_type_size_t" 1>&6
12065 if test $ac_cv_type_size_t = no; then
12066 cat >> confdefs.h <<\EOF
12067 #define size_t unsigned
12068 EOF
12069
12070 fi
12071
12072 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
12073 echo "configure:12074: checking for uid_t in sys/types.h" >&5
12074 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
12075 echo $ac_n "(cached) $ac_c" 1>&6
12076 else
12077 cat > conftest.$ac_ext <<EOF
12078 #line 12079 "configure"
12079 #include "confdefs.h"
12080 #include <sys/types.h>
12081 EOF
12082 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12083 egrep "uid_t" >/dev/null 2>&1; then
12084 rm -rf conftest*
12085 ac_cv_type_uid_t=yes
12086 else
12087 rm -rf conftest*
12088 ac_cv_type_uid_t=no
12089 fi
12090 rm -f conftest*
12091
12092 fi
12093
12094 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
12095 if test $ac_cv_type_uid_t = no; then
12096 cat >> confdefs.h <<\EOF
12097 #define uid_t int
12098 EOF
12099
12100 cat >> confdefs.h <<\EOF
12101 #define gid_t int
12102 EOF
12103
12104 fi
12105
12106
12107 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
12108 echo "configure:12109: checking for wchar_t" >&5
12109 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
12110 echo $ac_n "(cached) $ac_c" 1>&6
12111 else
12112
12113 cat > conftest.$ac_ext <<EOF
12114 #line 12115 "configure"
12115 #include "confdefs.h"
12116 #include <wchar.h>
12117 int main() {
12118
12119 wchar_t wc, *ws;
12120 wc = L'a';
12121 ws = L"Hello, world!";
12122
12123 ; return 0; }
12124 EOF
12125 if { (eval echo configure:12126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12126 rm -rf conftest*
12127 wx_cv_type_wchar_t=yes
12128 else
12129 echo "configure: failed program was:" >&5
12130 cat conftest.$ac_ext >&5
12131 rm -rf conftest*
12132 cat > conftest.$ac_ext <<EOF
12133 #line 12134 "configure"
12134 #include "confdefs.h"
12135 #include <stdlib.h>
12136 int main() {
12137
12138 wchar_t wc, *ws;
12139 wc = L'a';
12140 ws = L"Hello, world!";
12141
12142 ; return 0; }
12143 EOF
12144 if { (eval echo configure:12145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12145 rm -rf conftest*
12146 wx_cv_type_wchar_t=yes
12147 else
12148 echo "configure: failed program was:" >&5
12149 cat conftest.$ac_ext >&5
12150 rm -rf conftest*
12151 wx_cv_type_wchar_t=no
12152 fi
12153 rm -f conftest*
12154
12155 fi
12156 rm -f conftest*
12157
12158 fi
12159
12160 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
12161
12162 if test "$wx_cv_type_wchar_t" = "yes"; then
12163 cat >> confdefs.h <<\EOF
12164 #define wxUSE_WCHAR_T 1
12165 EOF
12166
12167 fi
12168
12169
12170 ac_ext=C
12171 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12172 ac_cpp='$CXXCPP $CPPFLAGS'
12173 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12174 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12175 cross_compiling=$ac_cv_prog_cxx_cross
12176
12177 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
12178 echo "configure:12179: checking if size_t is unsigned int" >&5
12179 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
12180 echo $ac_n "(cached) $ac_c" 1>&6
12181 else
12182 cat > conftest.$ac_ext <<EOF
12183 #line 12184 "configure"
12184 #include "confdefs.h"
12185 #include <stddef.h>
12186 int main() {
12187
12188 return 0; }
12189
12190 struct Foo { void foo(size_t); void foo(unsigned int); };
12191
12192 int bar() {
12193
12194 ; return 0; }
12195 EOF
12196 if { (eval echo configure:12197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12197 rm -rf conftest*
12198 wx_cv_size_t_is_uint=no
12199 else
12200 echo "configure: failed program was:" >&5
12201 cat conftest.$ac_ext >&5
12202 rm -rf conftest*
12203 wx_cv_size_t_is_uint=yes
12204
12205 fi
12206 rm -f conftest*
12207
12208 fi
12209
12210 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
12211
12212 if test "$wx_cv_size_t_is_uint" = "yes"; then
12213 cat >> confdefs.h <<\EOF
12214 #define wxSIZE_T_IS_UINT 1
12215 EOF
12216
12217 else
12218 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
12219 echo "configure:12220: checking if size_t is unsigned long" >&5
12220 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
12221 echo $ac_n "(cached) $ac_c" 1>&6
12222 else
12223 cat > conftest.$ac_ext <<EOF
12224 #line 12225 "configure"
12225 #include "confdefs.h"
12226 #include <stddef.h>
12227 int main() {
12228
12229 return 0; }
12230
12231 struct Foo { void foo(size_t); void foo(unsigned long); };
12232
12233 int bar() {
12234
12235 ; return 0; }
12236 EOF
12237 if { (eval echo configure:12238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12238 rm -rf conftest*
12239 wx_cv_size_t_is_ulong=no
12240 else
12241 echo "configure: failed program was:" >&5
12242 cat conftest.$ac_ext >&5
12243 rm -rf conftest*
12244 wx_cv_size_t_is_ulong=yes
12245
12246 fi
12247 rm -f conftest*
12248
12249 fi
12250
12251 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
12252
12253 if test "$wx_cv_size_t_is_ulong" = "yes"; then
12254 cat >> confdefs.h <<\EOF
12255 #define wxSIZE_T_IS_ULONG 1
12256 EOF
12257
12258 fi
12259 fi
12260
12261 ac_ext=c
12262 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12263 ac_cpp='$CPP $CPPFLAGS'
12264 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12265 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12266 cross_compiling=$ac_cv_prog_cc_cross
12267
12268
12269
12270 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
12271 echo "configure:12272: checking for pw_gecos in struct passwd" >&5
12272 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
12273 echo $ac_n "(cached) $ac_c" 1>&6
12274 else
12275
12276 cat > conftest.$ac_ext <<EOF
12277 #line 12278 "configure"
12278 #include "confdefs.h"
12279 #include <pwd.h>
12280 int main() {
12281
12282 char *p;
12283 struct passwd *pw;
12284 p = pw->pw_gecos;
12285
12286 ; return 0; }
12287 EOF
12288 if { (eval echo configure:12289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12289 rm -rf conftest*
12290
12291 wx_cv_struct_pw_gecos=yes
12292
12293 else
12294 echo "configure: failed program was:" >&5
12295 cat conftest.$ac_ext >&5
12296 rm -rf conftest*
12297
12298 wx_cv_struct_pw_gecos=no
12299
12300
12301 fi
12302 rm -f conftest*
12303
12304
12305 fi
12306
12307 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
12308
12309 if test "$wx_cv_struct_pw_gecos" = "yes"; then
12310 cat >> confdefs.h <<\EOF
12311 #define HAVE_PW_GECOS 1
12312 EOF
12313
12314 fi
12315
12316
12317 echo $ac_n "checking for working const""... $ac_c" 1>&6
12318 echo "configure:12319: checking for working const" >&5
12319 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
12320 echo $ac_n "(cached) $ac_c" 1>&6
12321 else
12322 cat > conftest.$ac_ext <<EOF
12323 #line 12324 "configure"
12324 #include "confdefs.h"
12325
12326 int main() {
12327
12328 /* Ultrix mips cc rejects this. */
12329 typedef int charset[2]; const charset x;
12330 /* SunOS 4.1.1 cc rejects this. */
12331 char const *const *ccp;
12332 char **p;
12333 /* NEC SVR4.0.2 mips cc rejects this. */
12334 struct point {int x, y;};
12335 static struct point const zero = {0,0};
12336 /* AIX XL C 1.02.0.0 rejects this.
12337 It does not let you subtract one const X* pointer from another in an arm
12338 of an if-expression whose if-part is not a constant expression */
12339 const char *g = "string";
12340 ccp = &g + (g ? g-g : 0);
12341 /* HPUX 7.0 cc rejects these. */
12342 ++ccp;
12343 p = (char**) ccp;
12344 ccp = (char const *const *) p;
12345 { /* SCO 3.2v4 cc rejects this. */
12346 char *t;
12347 char const *s = 0 ? (char *) 0 : (char const *) 0;
12348
12349 *t++ = 0;
12350 }
12351 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12352 int x[] = {25, 17};
12353 const int *foo = &x[0];
12354 ++foo;
12355 }
12356 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12357 typedef const int *iptr;
12358 iptr p = 0;
12359 ++p;
12360 }
12361 { /* AIX XL C 1.02.0.0 rejects this saying
12362 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12363 struct s { int j; const int *ap[3]; };
12364 struct s *b; b->j = 5;
12365 }
12366 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12367 const int foo = 10;
12368 }
12369
12370 ; return 0; }
12371 EOF
12372 if { (eval echo configure:12373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12373 rm -rf conftest*
12374 ac_cv_c_const=yes
12375 else
12376 echo "configure: failed program was:" >&5
12377 cat conftest.$ac_ext >&5
12378 rm -rf conftest*
12379 ac_cv_c_const=no
12380 fi
12381 rm -f conftest*
12382 fi
12383
12384 echo "$ac_t""$ac_cv_c_const" 1>&6
12385 if test $ac_cv_c_const = no; then
12386 cat >> confdefs.h <<\EOF
12387 #define const
12388 EOF
12389
12390 fi
12391
12392 echo $ac_n "checking for inline""... $ac_c" 1>&6
12393 echo "configure:12394: checking for inline" >&5
12394 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
12395 echo $ac_n "(cached) $ac_c" 1>&6
12396 else
12397 ac_cv_c_inline=no
12398 for ac_kw in inline __inline__ __inline; do
12399 cat > conftest.$ac_ext <<EOF
12400 #line 12401 "configure"
12401 #include "confdefs.h"
12402
12403 int main() {
12404 } $ac_kw foo() {
12405 ; return 0; }
12406 EOF
12407 if { (eval echo configure:12408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12408 rm -rf conftest*
12409 ac_cv_c_inline=$ac_kw; break
12410 else
12411 echo "configure: failed program was:" >&5
12412 cat conftest.$ac_ext >&5
12413 fi
12414 rm -f conftest*
12415 done
12416
12417 fi
12418
12419 echo "$ac_t""$ac_cv_c_inline" 1>&6
12420 case "$ac_cv_c_inline" in
12421 inline | yes) ;;
12422 no) cat >> confdefs.h <<\EOF
12423 #define inline
12424 EOF
12425 ;;
12426 *) cat >> confdefs.h <<EOF
12427 #define inline $ac_cv_c_inline
12428 EOF
12429 ;;
12430 esac
12431
12432
12433 echo $ac_n "checking size of char""... $ac_c" 1>&6
12434 echo "configure:12435: checking size of char" >&5
12435 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
12436 echo $ac_n "(cached) $ac_c" 1>&6
12437 else
12438 if test "$cross_compiling" = yes; then
12439 ac_cv_sizeof_char=1
12440 else
12441 cat > conftest.$ac_ext <<EOF
12442 #line 12443 "configure"
12443 #include "confdefs.h"
12444 #include <stdio.h>
12445 main()
12446 {
12447 FILE *f=fopen("conftestval", "w");
12448 if (!f) exit(1);
12449 fprintf(f, "%d\n", sizeof(char));
12450 exit(0);
12451 }
12452 EOF
12453 if { (eval echo configure:12454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12454 then
12455 ac_cv_sizeof_char=`cat conftestval`
12456 else
12457 echo "configure: failed program was:" >&5
12458 cat conftest.$ac_ext >&5
12459 rm -fr conftest*
12460 ac_cv_sizeof_char=0
12461 fi
12462 rm -fr conftest*
12463 fi
12464
12465 fi
12466 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
12467 cat >> confdefs.h <<EOF
12468 #define SIZEOF_CHAR $ac_cv_sizeof_char
12469 EOF
12470
12471
12472 echo $ac_n "checking size of short""... $ac_c" 1>&6
12473 echo "configure:12474: checking size of short" >&5
12474 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
12475 echo $ac_n "(cached) $ac_c" 1>&6
12476 else
12477 if test "$cross_compiling" = yes; then
12478 ac_cv_sizeof_short=2
12479 else
12480 cat > conftest.$ac_ext <<EOF
12481 #line 12482 "configure"
12482 #include "confdefs.h"
12483 #include <stdio.h>
12484 main()
12485 {
12486 FILE *f=fopen("conftestval", "w");
12487 if (!f) exit(1);
12488 fprintf(f, "%d\n", sizeof(short));
12489 exit(0);
12490 }
12491 EOF
12492 if { (eval echo configure:12493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12493 then
12494 ac_cv_sizeof_short=`cat conftestval`
12495 else
12496 echo "configure: failed program was:" >&5
12497 cat conftest.$ac_ext >&5
12498 rm -fr conftest*
12499 ac_cv_sizeof_short=0
12500 fi
12501 rm -fr conftest*
12502 fi
12503
12504 fi
12505 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
12506 cat >> confdefs.h <<EOF
12507 #define SIZEOF_SHORT $ac_cv_sizeof_short
12508 EOF
12509
12510
12511 echo $ac_n "checking size of int *""... $ac_c" 1>&6
12512 echo "configure:12513: checking size of int *" >&5
12513 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
12514 echo $ac_n "(cached) $ac_c" 1>&6
12515 else
12516 if test "$cross_compiling" = yes; then
12517 ac_cv_sizeof_int_p=4
12518 else
12519 cat > conftest.$ac_ext <<EOF
12520 #line 12521 "configure"
12521 #include "confdefs.h"
12522 #include <stdio.h>
12523 main()
12524 {
12525 FILE *f=fopen("conftestval", "w");
12526 if (!f) exit(1);
12527 fprintf(f, "%d\n", sizeof(int *));
12528 exit(0);
12529 }
12530 EOF
12531 if { (eval echo configure:12532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12532 then
12533 ac_cv_sizeof_int_p=`cat conftestval`
12534 else
12535 echo "configure: failed program was:" >&5
12536 cat conftest.$ac_ext >&5
12537 rm -fr conftest*
12538 ac_cv_sizeof_int_p=0
12539 fi
12540 rm -fr conftest*
12541 fi
12542
12543 fi
12544 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
12545 cat >> confdefs.h <<EOF
12546 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
12547 EOF
12548
12549
12550 echo $ac_n "checking size of int""... $ac_c" 1>&6
12551 echo "configure:12552: checking size of int" >&5
12552 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
12553 echo $ac_n "(cached) $ac_c" 1>&6
12554 else
12555 if test "$cross_compiling" = yes; then
12556 ac_cv_sizeof_int=4
12557 else
12558 cat > conftest.$ac_ext <<EOF
12559 #line 12560 "configure"
12560 #include "confdefs.h"
12561 #include <stdio.h>
12562 main()
12563 {
12564 FILE *f=fopen("conftestval", "w");
12565 if (!f) exit(1);
12566 fprintf(f, "%d\n", sizeof(int));
12567 exit(0);
12568 }
12569 EOF
12570 if { (eval echo configure:12571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12571 then
12572 ac_cv_sizeof_int=`cat conftestval`
12573 else
12574 echo "configure: failed program was:" >&5
12575 cat conftest.$ac_ext >&5
12576 rm -fr conftest*
12577 ac_cv_sizeof_int=0
12578 fi
12579 rm -fr conftest*
12580 fi
12581
12582 fi
12583 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
12584 cat >> confdefs.h <<EOF
12585 #define SIZEOF_INT $ac_cv_sizeof_int
12586 EOF
12587
12588
12589 echo $ac_n "checking size of long""... $ac_c" 1>&6
12590 echo "configure:12591: checking size of long" >&5
12591 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
12592 echo $ac_n "(cached) $ac_c" 1>&6
12593 else
12594 if test "$cross_compiling" = yes; then
12595 ac_cv_sizeof_long=4
12596 else
12597 cat > conftest.$ac_ext <<EOF
12598 #line 12599 "configure"
12599 #include "confdefs.h"
12600 #include <stdio.h>
12601 main()
12602 {
12603 FILE *f=fopen("conftestval", "w");
12604 if (!f) exit(1);
12605 fprintf(f, "%d\n", sizeof(long));
12606 exit(0);
12607 }
12608 EOF
12609 if { (eval echo configure:12610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12610 then
12611 ac_cv_sizeof_long=`cat conftestval`
12612 else
12613 echo "configure: failed program was:" >&5
12614 cat conftest.$ac_ext >&5
12615 rm -fr conftest*
12616 ac_cv_sizeof_long=0
12617 fi
12618 rm -fr conftest*
12619 fi
12620
12621 fi
12622 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
12623 cat >> confdefs.h <<EOF
12624 #define SIZEOF_LONG $ac_cv_sizeof_long
12625 EOF
12626
12627
12628 echo $ac_n "checking size of long long""... $ac_c" 1>&6
12629 echo "configure:12630: checking size of long long" >&5
12630 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
12631 echo $ac_n "(cached) $ac_c" 1>&6
12632 else
12633 if test "$cross_compiling" = yes; then
12634 ac_cv_sizeof_long_long=0
12635 else
12636 cat > conftest.$ac_ext <<EOF
12637 #line 12638 "configure"
12638 #include "confdefs.h"
12639 #include <stdio.h>
12640 main()
12641 {
12642 FILE *f=fopen("conftestval", "w");
12643 if (!f) exit(1);
12644 fprintf(f, "%d\n", sizeof(long long));
12645 exit(0);
12646 }
12647 EOF
12648 if { (eval echo configure:12649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12649 then
12650 ac_cv_sizeof_long_long=`cat conftestval`
12651 else
12652 echo "configure: failed program was:" >&5
12653 cat conftest.$ac_ext >&5
12654 rm -fr conftest*
12655 ac_cv_sizeof_long_long=0
12656 fi
12657 rm -fr conftest*
12658 fi
12659
12660 fi
12661 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
12662 cat >> confdefs.h <<EOF
12663 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12664 EOF
12665
12666
12667
12668 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
12669 echo "configure:12670: checking size of wchar_t" >&5
12670 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
12671 echo $ac_n "(cached) $ac_c" 1>&6
12672 else
12673
12674 if test "$cross_compiling" = yes; then
12675 wx_cv_sizeof_wchar_t=4
12676
12677 else
12678 cat > conftest.$ac_ext <<EOF
12679 #line 12680 "configure"
12680 #include "confdefs.h"
12681
12682 #ifdef HAVE_WCHAR_H
12683 # include <wchar.h>
12684 #endif
12685 #ifdef HAVE_STDLIB_H
12686 # include <stdlib.h>
12687 #endif
12688 #include <stdio.h>
12689 int main()
12690 {
12691 FILE *f=fopen("conftestval", "w");
12692 if (!f) exit(1);
12693 fprintf(f, "%i", sizeof(wchar_t));
12694 exit(0);
12695 }
12696
12697 EOF
12698 if { (eval echo configure:12699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12699 then
12700 wx_cv_sizeof_wchar_t=`cat conftestval`
12701 else
12702 echo "configure: failed program was:" >&5
12703 cat conftest.$ac_ext >&5
12704 rm -fr conftest*
12705 wx_cv_sizeof_wchar_t=0
12706 fi
12707 rm -fr conftest*
12708 fi
12709
12710
12711 fi
12712
12713 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
12714
12715 cat >> confdefs.h <<EOF
12716 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
12717 EOF
12718
12719
12720 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
12721 echo "configure:12722: checking whether byte ordering is bigendian" >&5
12722 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
12723 echo $ac_n "(cached) $ac_c" 1>&6
12724 else
12725 ac_cv_c_bigendian=unknown
12726 # See if sys/param.h defines the BYTE_ORDER macro.
12727 cat > conftest.$ac_ext <<EOF
12728 #line 12729 "configure"
12729 #include "confdefs.h"
12730 #include <sys/types.h>
12731 #include <sys/param.h>
12732 int main() {
12733
12734 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
12735 bogus endian macros
12736 #endif
12737 ; return 0; }
12738 EOF
12739 if { (eval echo configure:12740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12740 rm -rf conftest*
12741 # It does; now see whether it defined to BIG_ENDIAN or not.
12742 cat > conftest.$ac_ext <<EOF
12743 #line 12744 "configure"
12744 #include "confdefs.h"
12745 #include <sys/types.h>
12746 #include <sys/param.h>
12747 int main() {
12748
12749 #if BYTE_ORDER != BIG_ENDIAN
12750 not big endian
12751 #endif
12752 ; return 0; }
12753 EOF
12754 if { (eval echo configure:12755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12755 rm -rf conftest*
12756 ac_cv_c_bigendian=yes
12757 else
12758 echo "configure: failed program was:" >&5
12759 cat conftest.$ac_ext >&5
12760 rm -rf conftest*
12761 ac_cv_c_bigendian=no
12762 fi
12763 rm -f conftest*
12764 else
12765 echo "configure: failed program was:" >&5
12766 cat conftest.$ac_ext >&5
12767 fi
12768 rm -f conftest*
12769 if test $ac_cv_c_bigendian = unknown; then
12770 if test "$cross_compiling" = yes; then
12771 ac_cv_c_bigendian=unknown
12772 else
12773 cat > conftest.$ac_ext <<EOF
12774 #line 12775 "configure"
12775 #include "confdefs.h"
12776 main () {
12777 /* Are we little or big endian? From Harbison&Steele. */
12778 union
12779 {
12780 long l;
12781 char c[sizeof (long)];
12782 } u;
12783 u.l = 1;
12784 exit (u.c[sizeof (long) - 1] == 1);
12785 }
12786 EOF
12787 if { (eval echo configure:12788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12788 then
12789 ac_cv_c_bigendian=no
12790 else
12791 echo "configure: failed program was:" >&5
12792 cat conftest.$ac_ext >&5
12793 rm -fr conftest*
12794 ac_cv_c_bigendian=yes
12795 fi
12796 rm -fr conftest*
12797 fi
12798
12799 fi
12800 fi
12801
12802 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
12803 if test $ac_cv_c_bigendian = unknown; then
12804 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
12805 fi
12806 if test $ac_cv_c_bigendian = yes; then
12807 cat >> confdefs.h <<\EOF
12808 #define WORDS_BIGENDIAN 1
12809 EOF
12810
12811 fi
12812
12813
12814 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
12815 echo "configure:12816: checking how to run the C++ preprocessor" >&5
12816 if test -z "$CXXCPP"; then
12817 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
12818 echo $ac_n "(cached) $ac_c" 1>&6
12819 else
12820 ac_ext=C
12821 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12822 ac_cpp='$CXXCPP $CPPFLAGS'
12823 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12824 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12825 cross_compiling=$ac_cv_prog_cxx_cross
12826 CXXCPP="${CXX-g++} -E"
12827 cat > conftest.$ac_ext <<EOF
12828 #line 12829 "configure"
12829 #include "confdefs.h"
12830 #include <stdlib.h>
12831 EOF
12832 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12833 { (eval echo configure:12834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12834 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12835 if test -z "$ac_err"; then
12836 :
12837 else
12838 echo "$ac_err" >&5
12839 echo "configure: failed program was:" >&5
12840 cat conftest.$ac_ext >&5
12841 rm -rf conftest*
12842 CXXCPP=/lib/cpp
12843 fi
12844 rm -f conftest*
12845 ac_cv_prog_CXXCPP="$CXXCPP"
12846 ac_ext=C
12847 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12848 ac_cpp='$CXXCPP $CPPFLAGS'
12849 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12850 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12851 cross_compiling=$ac_cv_prog_cxx_cross
12852 fi
12853 fi
12854 CXXCPP="$ac_cv_prog_CXXCPP"
12855 echo "$ac_t""$CXXCPP" 1>&6
12856
12857
12858 if test "$cross_compiling" = "yes"; then
12859 cat >> confdefs.h <<\EOF
12860 #define wxUSE_IOSTREAMH 1
12861 EOF
12862
12863 else
12864
12865 ac_ext=C
12866 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12867 ac_cpp='$CXXCPP $CPPFLAGS'
12868 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12869 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12870 cross_compiling=$ac_cv_prog_cxx_cross
12871
12872
12873 for ac_hdr in iostream
12874 do
12875 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12876 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12877 echo "configure:12878: checking for $ac_hdr" >&5
12878 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12879 echo $ac_n "(cached) $ac_c" 1>&6
12880 else
12881 cat > conftest.$ac_ext <<EOF
12882 #line 12883 "configure"
12883 #include "confdefs.h"
12884 #include <$ac_hdr>
12885 EOF
12886 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12887 { (eval echo configure:12888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12888 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12889 if test -z "$ac_err"; then
12890 rm -rf conftest*
12891 eval "ac_cv_header_$ac_safe=yes"
12892 else
12893 echo "$ac_err" >&5
12894 echo "configure: failed program was:" >&5
12895 cat conftest.$ac_ext >&5
12896 rm -rf conftest*
12897 eval "ac_cv_header_$ac_safe=no"
12898 fi
12899 rm -f conftest*
12900 fi
12901 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12902 echo "$ac_t""yes" 1>&6
12903 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12904 cat >> confdefs.h <<EOF
12905 #define $ac_tr_hdr 1
12906 EOF
12907
12908 else
12909 echo "$ac_t""no" 1>&6
12910 fi
12911 done
12912
12913
12914 if test "$ac_cv_header_iostream" = "yes" ; then
12915 :
12916 else
12917 cat >> confdefs.h <<\EOF
12918 #define wxUSE_IOSTREAMH 1
12919 EOF
12920
12921 fi
12922
12923 ac_ext=c
12924 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12925 ac_cpp='$CPP $CPPFLAGS'
12926 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12927 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12928 cross_compiling=$ac_cv_prog_cc_cross
12929
12930 fi
12931
12932
12933
12934 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12935 echo "configure:12936: checking if C++ compiler supports bool" >&5
12936 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12937 echo $ac_n "(cached) $ac_c" 1>&6
12938 else
12939
12940
12941 ac_ext=C
12942 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12943 ac_cpp='$CXXCPP $CPPFLAGS'
12944 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12945 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12946 cross_compiling=$ac_cv_prog_cxx_cross
12947
12948
12949 cat > conftest.$ac_ext <<EOF
12950 #line 12951 "configure"
12951 #include "confdefs.h"
12952
12953
12954 int main() {
12955
12956 bool b = true;
12957
12958 return 0;
12959
12960 ; return 0; }
12961 EOF
12962 if { (eval echo configure:12963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12963 rm -rf conftest*
12964
12965 wx_cv_cpp_bool=yes
12966
12967 else
12968 echo "configure: failed program was:" >&5
12969 cat conftest.$ac_ext >&5
12970 rm -rf conftest*
12971
12972 wx_cv_cpp_bool=no
12973
12974
12975 fi
12976 rm -f conftest*
12977
12978 ac_ext=c
12979 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12980 ac_cpp='$CPP $CPPFLAGS'
12981 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12982 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12983 cross_compiling=$ac_cv_prog_cc_cross
12984
12985
12986 fi
12987
12988 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12989
12990 if test "$wx_cv_cpp_bool" = "yes"; then
12991 cat >> confdefs.h <<\EOF
12992 #define HAVE_BOOL 1
12993 EOF
12994
12995 fi
12996
12997
12998
12999 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
13000 echo "configure:13001: checking for wcslen in -lc" >&5
13001 ac_lib_var=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
13002 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13003 echo $ac_n "(cached) $ac_c" 1>&6
13004 else
13005 ac_save_LIBS="$LIBS"
13006 LIBS="-lc $LIBS"
13007 cat > conftest.$ac_ext <<EOF
13008 #line 13009 "configure"
13009 #include "confdefs.h"
13010 /* Override any gcc2 internal prototype to avoid an error. */
13011 /* We use char because int might match the return type of a gcc2
13012 builtin and then its argument prototype would still apply. */
13013 char wcslen();
13014
13015 int main() {
13016 wcslen()
13017 ; return 0; }
13018 EOF
13019 if { (eval echo configure:13020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13020 rm -rf conftest*
13021 eval "ac_cv_lib_$ac_lib_var=yes"
13022 else
13023 echo "configure: failed program was:" >&5
13024 cat conftest.$ac_ext >&5
13025 rm -rf conftest*
13026 eval "ac_cv_lib_$ac_lib_var=no"
13027 fi
13028 rm -f conftest*
13029 LIBS="$ac_save_LIBS"
13030
13031 fi
13032 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13033 echo "$ac_t""yes" 1>&6
13034
13035 cat >> confdefs.h <<\EOF
13036 #define HAVE_WCSLEN 1
13037 EOF
13038
13039 WCHAR_LINK=""
13040
13041 else
13042 echo "$ac_t""no" 1>&6
13043
13044 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
13045 echo "configure:13046: checking for wcslen in -lw" >&5
13046 ac_lib_var=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
13047 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13048 echo $ac_n "(cached) $ac_c" 1>&6
13049 else
13050 ac_save_LIBS="$LIBS"
13051 LIBS="-lw $LIBS"
13052 cat > conftest.$ac_ext <<EOF
13053 #line 13054 "configure"
13054 #include "confdefs.h"
13055 /* Override any gcc2 internal prototype to avoid an error. */
13056 /* We use char because int might match the return type of a gcc2
13057 builtin and then its argument prototype would still apply. */
13058 char wcslen();
13059
13060 int main() {
13061 wcslen()
13062 ; return 0; }
13063 EOF
13064 if { (eval echo configure:13065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13065 rm -rf conftest*
13066 eval "ac_cv_lib_$ac_lib_var=yes"
13067 else
13068 echo "configure: failed program was:" >&5
13069 cat conftest.$ac_ext >&5
13070 rm -rf conftest*
13071 eval "ac_cv_lib_$ac_lib_var=no"
13072 fi
13073 rm -f conftest*
13074 LIBS="$ac_save_LIBS"
13075
13076 fi
13077 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13078 echo "$ac_t""yes" 1>&6
13079
13080 cat >> confdefs.h <<\EOF
13081 #define HAVE_WCSLEN 1
13082 EOF
13083
13084 WCHAR_LINK="-lw"
13085
13086 else
13087 echo "$ac_t""no" 1>&6
13088
13089 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
13090 echo "configure:13091: checking for wcslen in -lmsvcrt" >&5
13091 ac_lib_var=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
13092 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13093 echo $ac_n "(cached) $ac_c" 1>&6
13094 else
13095 ac_save_LIBS="$LIBS"
13096 LIBS="-lmsvcrt $LIBS"
13097 cat > conftest.$ac_ext <<EOF
13098 #line 13099 "configure"
13099 #include "confdefs.h"
13100 /* Override any gcc2 internal prototype to avoid an error. */
13101 /* We use char because int might match the return type of a gcc2
13102 builtin and then its argument prototype would still apply. */
13103 char wcslen();
13104
13105 int main() {
13106 wcslen()
13107 ; return 0; }
13108 EOF
13109 if { (eval echo configure:13110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13110 rm -rf conftest*
13111 eval "ac_cv_lib_$ac_lib_var=yes"
13112 else
13113 echo "configure: failed program was:" >&5
13114 cat conftest.$ac_ext >&5
13115 rm -rf conftest*
13116 eval "ac_cv_lib_$ac_lib_var=no"
13117 fi
13118 rm -f conftest*
13119 LIBS="$ac_save_LIBS"
13120
13121 fi
13122 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13123 echo "$ac_t""yes" 1>&6
13124
13125 cat >> confdefs.h <<\EOF
13126 #define HAVE_WCSLEN 1
13127 EOF
13128
13129 WCHAR_LINK=""
13130
13131 else
13132 echo "$ac_t""no" 1>&6
13133 fi
13134
13135
13136 fi
13137
13138
13139 fi
13140
13141
13142 for ac_func in wcsrtombs
13143 do
13144 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13145 echo "configure:13146: checking for $ac_func" >&5
13146 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13147 echo $ac_n "(cached) $ac_c" 1>&6
13148 else
13149 cat > conftest.$ac_ext <<EOF
13150 #line 13151 "configure"
13151 #include "confdefs.h"
13152 /* System header to define __stub macros and hopefully few prototypes,
13153 which can conflict with char $ac_func(); below. */
13154 #include <assert.h>
13155 /* Override any gcc2 internal prototype to avoid an error. */
13156 /* We use char because int might match the return type of a gcc2
13157 builtin and then its argument prototype would still apply. */
13158 char $ac_func();
13159
13160 int main() {
13161
13162 /* The GNU C library defines this for functions which it implements
13163 to always fail with ENOSYS. Some functions are actually named
13164 something starting with __ and the normal name is an alias. */
13165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13166 choke me
13167 #else
13168 $ac_func();
13169 #endif
13170
13171 ; return 0; }
13172 EOF
13173 if { (eval echo configure:13174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13174 rm -rf conftest*
13175 eval "ac_cv_func_$ac_func=yes"
13176 else
13177 echo "configure: failed program was:" >&5
13178 cat conftest.$ac_ext >&5
13179 rm -rf conftest*
13180 eval "ac_cv_func_$ac_func=no"
13181 fi
13182 rm -f conftest*
13183 fi
13184
13185 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13186 echo "$ac_t""yes" 1>&6
13187 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13188 cat >> confdefs.h <<EOF
13189 #define $ac_tr_func 1
13190 EOF
13191
13192 else
13193 echo "$ac_t""no" 1>&6
13194 fi
13195 done
13196
13197
13198 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
13199 echo "configure:13200: checking for vprintf" >&5
13200 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
13201 echo $ac_n "(cached) $ac_c" 1>&6
13202 else
13203 cat > conftest.$ac_ext <<EOF
13204 #line 13205 "configure"
13205 #include "confdefs.h"
13206 /* System header to define __stub macros and hopefully few prototypes,
13207 which can conflict with char vprintf(); below. */
13208 #include <assert.h>
13209 /* Override any gcc2 internal prototype to avoid an error. */
13210 /* We use char because int might match the return type of a gcc2
13211 builtin and then its argument prototype would still apply. */
13212 char vprintf();
13213
13214 int main() {
13215
13216 /* The GNU C library defines this for functions which it implements
13217 to always fail with ENOSYS. Some functions are actually named
13218 something starting with __ and the normal name is an alias. */
13219 #if defined (__stub_vprintf) || defined (__stub___vprintf)
13220 choke me
13221 #else
13222 vprintf();
13223 #endif
13224
13225 ; return 0; }
13226 EOF
13227 if { (eval echo configure:13228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13228 rm -rf conftest*
13229 eval "ac_cv_func_vprintf=yes"
13230 else
13231 echo "configure: failed program was:" >&5
13232 cat conftest.$ac_ext >&5
13233 rm -rf conftest*
13234 eval "ac_cv_func_vprintf=no"
13235 fi
13236 rm -f conftest*
13237 fi
13238
13239 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
13240 echo "$ac_t""yes" 1>&6
13241 cat >> confdefs.h <<\EOF
13242 #define HAVE_VPRINTF 1
13243 EOF
13244
13245 else
13246 echo "$ac_t""no" 1>&6
13247 fi
13248
13249 if test "$ac_cv_func_vprintf" != yes; then
13250 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
13251 echo "configure:13252: checking for _doprnt" >&5
13252 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
13253 echo $ac_n "(cached) $ac_c" 1>&6
13254 else
13255 cat > conftest.$ac_ext <<EOF
13256 #line 13257 "configure"
13257 #include "confdefs.h"
13258 /* System header to define __stub macros and hopefully few prototypes,
13259 which can conflict with char _doprnt(); below. */
13260 #include <assert.h>
13261 /* Override any gcc2 internal prototype to avoid an error. */
13262 /* We use char because int might match the return type of a gcc2
13263 builtin and then its argument prototype would still apply. */
13264 char _doprnt();
13265
13266 int main() {
13267
13268 /* The GNU C library defines this for functions which it implements
13269 to always fail with ENOSYS. Some functions are actually named
13270 something starting with __ and the normal name is an alias. */
13271 #if defined (__stub__doprnt) || defined (__stub____doprnt)
13272 choke me
13273 #else
13274 _doprnt();
13275 #endif
13276
13277 ; return 0; }
13278 EOF
13279 if { (eval echo configure:13280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13280 rm -rf conftest*
13281 eval "ac_cv_func__doprnt=yes"
13282 else
13283 echo "configure: failed program was:" >&5
13284 cat conftest.$ac_ext >&5
13285 rm -rf conftest*
13286 eval "ac_cv_func__doprnt=no"
13287 fi
13288 rm -f conftest*
13289 fi
13290
13291 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
13292 echo "$ac_t""yes" 1>&6
13293 cat >> confdefs.h <<\EOF
13294 #define HAVE_DOPRNT 1
13295 EOF
13296
13297 else
13298 echo "$ac_t""no" 1>&6
13299 fi
13300
13301 fi
13302
13303
13304
13305
13306
13307
13308 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
13309 echo "configure:13310: checking for vsnprintf" >&5
13310 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
13311 echo $ac_n "(cached) $ac_c" 1>&6
13312 else
13313
13314 cat > conftest.$ac_ext <<EOF
13315 #line 13316 "configure"
13316 #include "confdefs.h"
13317
13318 #include <stdio.h>
13319 #include <stdarg.h>
13320
13321 int main() {
13322
13323 int wx_test_vsnprintf(const char *, ...);
13324
13325 wx_test_vsnprintf("%s");
13326 return 0;
13327 }
13328
13329 int wx_test_vsnprintf(const char *fmt, ...)
13330 {
13331 char *s;
13332
13333 va_list argp;
13334 va_start(argp, fmt);
13335 vsnprintf(s, 42, fmt, argp);
13336 va_end(argp);
13337
13338 ; return 0; }
13339 EOF
13340 if { (eval echo configure:13341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13341 rm -rf conftest*
13342
13343 wx_cv_func_vsnprintf=yes
13344
13345 else
13346 echo "configure: failed program was:" >&5
13347 cat conftest.$ac_ext >&5
13348 rm -rf conftest*
13349
13350 cat > conftest.$ac_ext <<EOF
13351 #line 13352 "configure"
13352 #include "confdefs.h"
13353
13354 #include <stdio.h>
13355 #include <stdarg.h>
13356
13357 int main() {
13358
13359 int wx_test_vsnprintf(const char *, ...);
13360
13361 wx_test_vsnprintf("%s");
13362 return 0;
13363 }
13364
13365 int wx_test_vsnprintf(const char *fmt, ...)
13366 {
13367 char *s;
13368
13369 va_list argp;
13370 va_start(argp, fmt);
13371 _vsnprintf(s, 42, fmt, argp);
13372 va_end(argp);
13373
13374 ; return 0; }
13375 EOF
13376 if { (eval echo configure:13377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13377 rm -rf conftest*
13378
13379 wx_cv_func_vsnprintf=yes
13380
13381 else
13382 echo "configure: failed program was:" >&5
13383 cat conftest.$ac_ext >&5
13384 rm -rf conftest*
13385
13386 wx_cv_func_vsnprintf=no
13387
13388 fi
13389 rm -f conftest*
13390
13391 fi
13392 rm -f conftest*
13393
13394 fi
13395
13396 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
13397
13398 if test "$wx_cv_func_vsnprintf" = yes; then
13399 cat >> confdefs.h <<\EOF
13400 #define HAVE_VSNPRINTF 1
13401 EOF
13402
13403 else
13404 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
13405 fi
13406
13407 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
13408 echo "configure:13409: checking for vsscanf" >&5
13409 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
13410 echo $ac_n "(cached) $ac_c" 1>&6
13411 else
13412
13413 cat > conftest.$ac_ext <<EOF
13414 #line 13415 "configure"
13415 #include "confdefs.h"
13416
13417 #include <stdio.h>
13418 #include <stdarg.h>
13419
13420 int main() {
13421
13422 int wx_test_vsscanf(const char *, ...);
13423
13424 wx_test_vsscanf("%d");
13425 return 0;
13426 }
13427
13428 int wx_test_vsscanf(const char *fmt, ...)
13429 {
13430 va_list argp;
13431 va_start(argp, fmt);
13432 vsscanf("42", fmt, argp);
13433 va_end(argp);
13434
13435 ; return 0; }
13436 EOF
13437 if { (eval echo configure:13438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13438 rm -rf conftest*
13439
13440 wx_cv_func_vsscanf=yes
13441
13442 else
13443 echo "configure: failed program was:" >&5
13444 cat conftest.$ac_ext >&5
13445 rm -rf conftest*
13446
13447 wx_cv_func_vsscanf=no
13448
13449 fi
13450 rm -f conftest*
13451
13452 fi
13453
13454 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
13455
13456 if test "$wx_cv_func_vsscanf" = yes; then
13457 cat >> confdefs.h <<\EOF
13458 #define HAVE_VSSCANF 1
13459 EOF
13460
13461 fi
13462
13463 if test "$TOOLKIT" != "MSW"; then
13464
13465
13466
13467 ac_ext=C
13468 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13469 ac_cpp='$CXXCPP $CPPFLAGS'
13470 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13471 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13472 cross_compiling=$ac_cv_prog_cxx_cross
13473
13474 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
13475 echo "configure:13476: checking if iconv() takes char**" >&5
13476 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
13477 echo $ac_n "(cached) $ac_c" 1>&6
13478 else
13479
13480 cat > conftest.$ac_ext <<EOF
13481 #line 13482 "configure"
13482 #include "confdefs.h"
13483 #include <iconv.h>
13484 int main() {
13485
13486 char **inbuf, **outbuf;
13487 iconv_t cd;
13488 size_t insz, outsz;
13489 iconv(cd, inbuf, &insz, outbuf, &outsz);
13490
13491 ; return 0; }
13492 EOF
13493 if { (eval echo configure:13494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13494 rm -rf conftest*
13495 wx_cv_iconv_takes_char=yes
13496 else
13497 echo "configure: failed program was:" >&5
13498 cat conftest.$ac_ext >&5
13499 rm -rf conftest*
13500 wx_cv_iconv_takes_char=no
13501 fi
13502 rm -f conftest*
13503
13504 fi
13505
13506 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
13507 ac_ext=c
13508 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13509 ac_cpp='$CPP $CPPFLAGS'
13510 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13511 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13512 cross_compiling=$ac_cv_prog_cc_cross
13513
13514 if test "$wx_cv_iconv_takes_char" = yes ; then
13515 cat >> confdefs.h <<\EOF
13516 #define WX_ICONV_TAKES_CHAR 1
13517 EOF
13518
13519 fi
13520
13521
13522 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
13523 for ac_func in sigaction
13524 do
13525 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13526 echo "configure:13527: checking for $ac_func" >&5
13527 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13528 echo $ac_n "(cached) $ac_c" 1>&6
13529 else
13530 cat > conftest.$ac_ext <<EOF
13531 #line 13532 "configure"
13532 #include "confdefs.h"
13533 /* System header to define __stub macros and hopefully few prototypes,
13534 which can conflict with char $ac_func(); below. */
13535 #include <assert.h>
13536 /* Override any gcc2 internal prototype to avoid an error. */
13537 /* We use char because int might match the return type of a gcc2
13538 builtin and then its argument prototype would still apply. */
13539 char $ac_func();
13540
13541 int main() {
13542
13543 /* The GNU C library defines this for functions which it implements
13544 to always fail with ENOSYS. Some functions are actually named
13545 something starting with __ and the normal name is an alias. */
13546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13547 choke me
13548 #else
13549 $ac_func();
13550 #endif
13551
13552 ; return 0; }
13553 EOF
13554 if { (eval echo configure:13555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13555 rm -rf conftest*
13556 eval "ac_cv_func_$ac_func=yes"
13557 else
13558 echo "configure: failed program was:" >&5
13559 cat conftest.$ac_ext >&5
13560 rm -rf conftest*
13561 eval "ac_cv_func_$ac_func=no"
13562 fi
13563 rm -f conftest*
13564 fi
13565
13566 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13567 echo "$ac_t""yes" 1>&6
13568 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13569 cat >> confdefs.h <<EOF
13570 #define $ac_tr_func 1
13571 EOF
13572
13573 else
13574 echo "$ac_t""no" 1>&6
13575 fi
13576 done
13577
13578
13579 if test "$ac_cv_func_sigaction" = "no"; then
13580 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
13581 wxUSE_ON_FATAL_EXCEPTION=no
13582 fi
13583
13584 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
13585
13586 ac_ext=C
13587 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13588 ac_cpp='$CXXCPP $CPPFLAGS'
13589 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13590 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13591 cross_compiling=$ac_cv_prog_cxx_cross
13592
13593
13594 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
13595 echo "configure:13596: checking for sa_handler type" >&5
13596 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
13597 echo $ac_n "(cached) $ac_c" 1>&6
13598 else
13599
13600 cat > conftest.$ac_ext <<EOF
13601 #line 13602 "configure"
13602 #include "confdefs.h"
13603 #include <signal.h>
13604 int main() {
13605
13606 extern void testSigHandler(int);
13607
13608 struct sigaction sa;
13609 sa.sa_handler = testSigHandler;
13610
13611 ; return 0; }
13612 EOF
13613 if { (eval echo configure:13614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13614 rm -rf conftest*
13615
13616 wx_cv_type_sa_handler=int
13617
13618 else
13619 echo "configure: failed program was:" >&5
13620 cat conftest.$ac_ext >&5
13621 rm -rf conftest*
13622
13623 wx_cv_type_sa_handler=void
13624
13625 fi
13626 rm -f conftest*
13627
13628 fi
13629
13630 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
13631
13632 ac_ext=c
13633 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13634 ac_cpp='$CPP $CPPFLAGS'
13635 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13636 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13637 cross_compiling=$ac_cv_prog_cc_cross
13638
13639
13640 cat >> confdefs.h <<EOF
13641 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
13642 EOF
13643
13644 fi
13645 fi
13646
13647 for ac_func in vfork
13648 do
13649 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13650 echo "configure:13651: checking for $ac_func" >&5
13651 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13652 echo $ac_n "(cached) $ac_c" 1>&6
13653 else
13654 cat > conftest.$ac_ext <<EOF
13655 #line 13656 "configure"
13656 #include "confdefs.h"
13657 /* System header to define __stub macros and hopefully few prototypes,
13658 which can conflict with char $ac_func(); below. */
13659 #include <assert.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 $ac_func();
13664
13665 int main() {
13666
13667 /* The GNU C library defines this for functions which it implements
13668 to always fail with ENOSYS. Some functions are actually named
13669 something starting with __ and the normal name is an alias. */
13670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13671 choke me
13672 #else
13673 $ac_func();
13674 #endif
13675
13676 ; return 0; }
13677 EOF
13678 if { (eval echo configure:13679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13679 rm -rf conftest*
13680 eval "ac_cv_func_$ac_func=yes"
13681 else
13682 echo "configure: failed program was:" >&5
13683 cat conftest.$ac_ext >&5
13684 rm -rf conftest*
13685 eval "ac_cv_func_$ac_func=no"
13686 fi
13687 rm -f conftest*
13688 fi
13689
13690 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13691 echo "$ac_t""yes" 1>&6
13692 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13693 cat >> confdefs.h <<EOF
13694 #define $ac_tr_func 1
13695 EOF
13696
13697 else
13698 echo "$ac_t""no" 1>&6
13699 fi
13700 done
13701
13702
13703 echo $ac_n "checking for statfs""... $ac_c" 1>&6
13704 echo "configure:13705: checking for statfs" >&5
13705 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
13706 echo $ac_n "(cached) $ac_c" 1>&6
13707 else
13708 cat > conftest.$ac_ext <<EOF
13709 #line 13710 "configure"
13710 #include "confdefs.h"
13711
13712 #ifdef __BSD__
13713 #include <sys/param.h>
13714 #include <sys/mount.h>
13715 #else
13716 #include <sys/vfs.h>
13717 #endif
13718
13719 int main() {
13720
13721 long l;
13722 struct statfs fs;
13723 statfs("/", &fs);
13724 l = fs.f_bsize;
13725 l += fs.f_blocks;
13726 l += fs.f_bavail;
13727
13728 ; return 0; }
13729 EOF
13730 if { (eval echo configure:13731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13731 rm -rf conftest*
13732
13733 wx_cv_func_statfs=yes
13734
13735 else
13736 echo "configure: failed program was:" >&5
13737 cat conftest.$ac_ext >&5
13738 rm -rf conftest*
13739
13740 wx_cv_func_statfs=no
13741
13742
13743 fi
13744 rm -f conftest*
13745
13746 fi
13747
13748 echo "$ac_t""$wx_cv_func_statfs" 1>&6
13749
13750 if test "$wx_cv_func_statfs" = "yes"; then
13751 cat >> confdefs.h <<\EOF
13752 #define HAVE_STATFS 1
13753 EOF
13754
13755 else
13756 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
13757 fi
13758
13759 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
13760 for ac_func in fcntl flock
13761 do
13762 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13763 echo "configure:13764: checking for $ac_func" >&5
13764 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13765 echo $ac_n "(cached) $ac_c" 1>&6
13766 else
13767 cat > conftest.$ac_ext <<EOF
13768 #line 13769 "configure"
13769 #include "confdefs.h"
13770 /* System header to define __stub macros and hopefully few prototypes,
13771 which can conflict with char $ac_func(); below. */
13772 #include <assert.h>
13773 /* Override any gcc2 internal prototype to avoid an error. */
13774 /* We use char because int might match the return type of a gcc2
13775 builtin and then its argument prototype would still apply. */
13776 char $ac_func();
13777
13778 int main() {
13779
13780 /* The GNU C library defines this for functions which it implements
13781 to always fail with ENOSYS. Some functions are actually named
13782 something starting with __ and the normal name is an alias. */
13783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13784 choke me
13785 #else
13786 $ac_func();
13787 #endif
13788
13789 ; return 0; }
13790 EOF
13791 if { (eval echo configure:13792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13792 rm -rf conftest*
13793 eval "ac_cv_func_$ac_func=yes"
13794 else
13795 echo "configure: failed program was:" >&5
13796 cat conftest.$ac_ext >&5
13797 rm -rf conftest*
13798 eval "ac_cv_func_$ac_func=no"
13799 fi
13800 rm -f conftest*
13801 fi
13802
13803 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13804 echo "$ac_t""yes" 1>&6
13805 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13806 cat >> confdefs.h <<EOF
13807 #define $ac_tr_func 1
13808 EOF
13809 break
13810 else
13811 echo "$ac_t""no" 1>&6
13812 fi
13813 done
13814
13815
13816 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
13817 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
13818 wxUSE_SNGLINST_CHECKER=no
13819 fi
13820 fi
13821
13822 for ac_func in timegm
13823 do
13824 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13825 echo "configure:13826: checking for $ac_func" >&5
13826 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13827 echo $ac_n "(cached) $ac_c" 1>&6
13828 else
13829 cat > conftest.$ac_ext <<EOF
13830 #line 13831 "configure"
13831 #include "confdefs.h"
13832 /* System header to define __stub macros and hopefully few prototypes,
13833 which can conflict with char $ac_func(); below. */
13834 #include <assert.h>
13835 /* Override any gcc2 internal prototype to avoid an error. */
13836 /* We use char because int might match the return type of a gcc2
13837 builtin and then its argument prototype would still apply. */
13838 char $ac_func();
13839
13840 int main() {
13841
13842 /* The GNU C library defines this for functions which it implements
13843 to always fail with ENOSYS. Some functions are actually named
13844 something starting with __ and the normal name is an alias. */
13845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13846 choke me
13847 #else
13848 $ac_func();
13849 #endif
13850
13851 ; return 0; }
13852 EOF
13853 if { (eval echo configure:13854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13854 rm -rf conftest*
13855 eval "ac_cv_func_$ac_func=yes"
13856 else
13857 echo "configure: failed program was:" >&5
13858 cat conftest.$ac_ext >&5
13859 rm -rf conftest*
13860 eval "ac_cv_func_$ac_func=no"
13861 fi
13862 rm -f conftest*
13863 fi
13864
13865 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13866 echo "$ac_t""yes" 1>&6
13867 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13868 cat >> confdefs.h <<EOF
13869 #define $ac_tr_func 1
13870 EOF
13871
13872 else
13873 echo "$ac_t""no" 1>&6
13874 fi
13875 done
13876
13877
13878 for ac_func in putenv setenv
13879 do
13880 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13881 echo "configure:13882: checking for $ac_func" >&5
13882 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13883 echo $ac_n "(cached) $ac_c" 1>&6
13884 else
13885 cat > conftest.$ac_ext <<EOF
13886 #line 13887 "configure"
13887 #include "confdefs.h"
13888 /* System header to define __stub macros and hopefully few prototypes,
13889 which can conflict with char $ac_func(); below. */
13890 #include <assert.h>
13891 /* Override any gcc2 internal prototype to avoid an error. */
13892 /* We use char because int might match the return type of a gcc2
13893 builtin and then its argument prototype would still apply. */
13894 char $ac_func();
13895
13896 int main() {
13897
13898 /* The GNU C library defines this for functions which it implements
13899 to always fail with ENOSYS. Some functions are actually named
13900 something starting with __ and the normal name is an alias. */
13901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13902 choke me
13903 #else
13904 $ac_func();
13905 #endif
13906
13907 ; return 0; }
13908 EOF
13909 if { (eval echo configure:13910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13910 rm -rf conftest*
13911 eval "ac_cv_func_$ac_func=yes"
13912 else
13913 echo "configure: failed program was:" >&5
13914 cat conftest.$ac_ext >&5
13915 rm -rf conftest*
13916 eval "ac_cv_func_$ac_func=no"
13917 fi
13918 rm -f conftest*
13919 fi
13920
13921 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13922 echo "$ac_t""yes" 1>&6
13923 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13924 cat >> confdefs.h <<EOF
13925 #define $ac_tr_func 1
13926 EOF
13927 break
13928 else
13929 echo "$ac_t""no" 1>&6
13930 fi
13931 done
13932
13933
13934 HAVE_SOME_SLEEP_FUNC=0
13935 if test "$USE_BEOS" = 1; then
13936 cat >> confdefs.h <<\EOF
13937 #define HAVE_SLEEP 1
13938 EOF
13939
13940 HAVE_SOME_SLEEP_FUNC=1
13941 fi
13942
13943 if test "$USE_DARWIN" = 1; then
13944 cat >> confdefs.h <<\EOF
13945 #define HAVE_USLEEP 1
13946 EOF
13947
13948 HAVE_SOME_SLEEP_FUNC=1
13949 fi
13950
13951 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
13952 POSIX4_LINK=
13953 for ac_func in nanosleep
13954 do
13955 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13956 echo "configure:13957: checking for $ac_func" >&5
13957 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13958 echo $ac_n "(cached) $ac_c" 1>&6
13959 else
13960 cat > conftest.$ac_ext <<EOF
13961 #line 13962 "configure"
13962 #include "confdefs.h"
13963 /* System header to define __stub macros and hopefully few prototypes,
13964 which can conflict with char $ac_func(); below. */
13965 #include <assert.h>
13966 /* Override any gcc2 internal prototype to avoid an error. */
13967 /* We use char because int might match the return type of a gcc2
13968 builtin and then its argument prototype would still apply. */
13969 char $ac_func();
13970
13971 int main() {
13972
13973 /* The GNU C library defines this for functions which it implements
13974 to always fail with ENOSYS. Some functions are actually named
13975 something starting with __ and the normal name is an alias. */
13976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13977 choke me
13978 #else
13979 $ac_func();
13980 #endif
13981
13982 ; return 0; }
13983 EOF
13984 if { (eval echo configure:13985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13985 rm -rf conftest*
13986 eval "ac_cv_func_$ac_func=yes"
13987 else
13988 echo "configure: failed program was:" >&5
13989 cat conftest.$ac_ext >&5
13990 rm -rf conftest*
13991 eval "ac_cv_func_$ac_func=no"
13992 fi
13993 rm -f conftest*
13994 fi
13995
13996 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13997 echo "$ac_t""yes" 1>&6
13998 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13999 cat >> confdefs.h <<EOF
14000 #define $ac_tr_func 1
14001 EOF
14002 cat >> confdefs.h <<\EOF
14003 #define HAVE_NANOSLEEP 1
14004 EOF
14005
14006 else
14007 echo "$ac_t""no" 1>&6
14008 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
14009 echo "configure:14010: checking for nanosleep in -lposix4" >&5
14010 ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
14011 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14012 echo $ac_n "(cached) $ac_c" 1>&6
14013 else
14014 ac_save_LIBS="$LIBS"
14015 LIBS="-lposix4 $LIBS"
14016 cat > conftest.$ac_ext <<EOF
14017 #line 14018 "configure"
14018 #include "confdefs.h"
14019 /* Override any gcc2 internal prototype to avoid an error. */
14020 /* We use char because int might match the return type of a gcc2
14021 builtin and then its argument prototype would still apply. */
14022 char nanosleep();
14023
14024 int main() {
14025 nanosleep()
14026 ; return 0; }
14027 EOF
14028 if { (eval echo configure:14029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14029 rm -rf conftest*
14030 eval "ac_cv_lib_$ac_lib_var=yes"
14031 else
14032 echo "configure: failed program was:" >&5
14033 cat conftest.$ac_ext >&5
14034 rm -rf conftest*
14035 eval "ac_cv_lib_$ac_lib_var=no"
14036 fi
14037 rm -f conftest*
14038 LIBS="$ac_save_LIBS"
14039
14040 fi
14041 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14042 echo "$ac_t""yes" 1>&6
14043
14044 cat >> confdefs.h <<\EOF
14045 #define HAVE_NANOSLEEP 1
14046 EOF
14047
14048 POSIX4_LINK="-lposix4"
14049
14050 else
14051 echo "$ac_t""no" 1>&6
14052
14053 for ac_func in usleep
14054 do
14055 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14056 echo "configure:14057: checking for $ac_func" >&5
14057 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14058 echo $ac_n "(cached) $ac_c" 1>&6
14059 else
14060 cat > conftest.$ac_ext <<EOF
14061 #line 14062 "configure"
14062 #include "confdefs.h"
14063 /* System header to define __stub macros and hopefully few prototypes,
14064 which can conflict with char $ac_func(); below. */
14065 #include <assert.h>
14066 /* Override any gcc2 internal prototype to avoid an error. */
14067 /* We use char because int might match the return type of a gcc2
14068 builtin and then its argument prototype would still apply. */
14069 char $ac_func();
14070
14071 int main() {
14072
14073 /* The GNU C library defines this for functions which it implements
14074 to always fail with ENOSYS. Some functions are actually named
14075 something starting with __ and the normal name is an alias. */
14076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14077 choke me
14078 #else
14079 $ac_func();
14080 #endif
14081
14082 ; return 0; }
14083 EOF
14084 if { (eval echo configure:14085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14085 rm -rf conftest*
14086 eval "ac_cv_func_$ac_func=yes"
14087 else
14088 echo "configure: failed program was:" >&5
14089 cat conftest.$ac_ext >&5
14090 rm -rf conftest*
14091 eval "ac_cv_func_$ac_func=no"
14092 fi
14093 rm -f conftest*
14094 fi
14095
14096 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14097 echo "$ac_t""yes" 1>&6
14098 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14099 cat >> confdefs.h <<EOF
14100 #define $ac_tr_func 1
14101 EOF
14102 cat >> confdefs.h <<\EOF
14103 #define HAVE_USLEEP 1
14104 EOF
14105
14106 else
14107 echo "$ac_t""no" 1>&6
14108 echo "configure: warning: wxSleep() function will not work" 1>&2
14109
14110 fi
14111 done
14112
14113
14114
14115 fi
14116
14117
14118
14119 fi
14120 done
14121
14122 fi
14123
14124 for ac_func in uname gethostname
14125 do
14126 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14127 echo "configure:14128: checking for $ac_func" >&5
14128 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14129 echo $ac_n "(cached) $ac_c" 1>&6
14130 else
14131 cat > conftest.$ac_ext <<EOF
14132 #line 14133 "configure"
14133 #include "confdefs.h"
14134 /* System header to define __stub macros and hopefully few prototypes,
14135 which can conflict with char $ac_func(); below. */
14136 #include <assert.h>
14137 /* Override any gcc2 internal prototype to avoid an error. */
14138 /* We use char because int might match the return type of a gcc2
14139 builtin and then its argument prototype would still apply. */
14140 char $ac_func();
14141
14142 int main() {
14143
14144 /* The GNU C library defines this for functions which it implements
14145 to always fail with ENOSYS. Some functions are actually named
14146 something starting with __ and the normal name is an alias. */
14147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14148 choke me
14149 #else
14150 $ac_func();
14151 #endif
14152
14153 ; return 0; }
14154 EOF
14155 if { (eval echo configure:14156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14156 rm -rf conftest*
14157 eval "ac_cv_func_$ac_func=yes"
14158 else
14159 echo "configure: failed program was:" >&5
14160 cat conftest.$ac_ext >&5
14161 rm -rf conftest*
14162 eval "ac_cv_func_$ac_func=no"
14163 fi
14164 rm -f conftest*
14165 fi
14166
14167 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14168 echo "$ac_t""yes" 1>&6
14169 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14170 cat >> confdefs.h <<EOF
14171 #define $ac_tr_func 1
14172 EOF
14173 break
14174 else
14175 echo "$ac_t""no" 1>&6
14176 fi
14177 done
14178
14179
14180
14181 ac_ext=C
14182 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14183 ac_cpp='$CXXCPP $CPPFLAGS'
14184 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14185 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14186 cross_compiling=$ac_cv_prog_cxx_cross
14187
14188
14189 for ac_func in strtok_r
14190 do
14191 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14192 echo "configure:14193: checking for $ac_func" >&5
14193 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14194 echo $ac_n "(cached) $ac_c" 1>&6
14195 else
14196 cat > conftest.$ac_ext <<EOF
14197 #line 14198 "configure"
14198 #include "confdefs.h"
14199 /* System header to define __stub macros and hopefully few prototypes,
14200 which can conflict with char $ac_func(); below. */
14201 #include <assert.h>
14202 /* Override any gcc2 internal prototype to avoid an error. */
14203 #ifdef __cplusplus
14204 extern "C"
14205 #endif
14206 /* We use char because int might match the return type of a gcc2
14207 builtin and then its argument prototype would still apply. */
14208 char $ac_func();
14209
14210 int main() {
14211
14212 /* The GNU C library defines this for functions which it implements
14213 to always fail with ENOSYS. Some functions are actually named
14214 something starting with __ and the normal name is an alias. */
14215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14216 choke me
14217 #else
14218 $ac_func();
14219 #endif
14220
14221 ; return 0; }
14222 EOF
14223 if { (eval echo configure:14224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14224 rm -rf conftest*
14225 eval "ac_cv_func_$ac_func=yes"
14226 else
14227 echo "configure: failed program was:" >&5
14228 cat conftest.$ac_ext >&5
14229 rm -rf conftest*
14230 eval "ac_cv_func_$ac_func=no"
14231 fi
14232 rm -f conftest*
14233 fi
14234
14235 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14236 echo "$ac_t""yes" 1>&6
14237 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14238 cat >> confdefs.h <<EOF
14239 #define $ac_tr_func 1
14240 EOF
14241
14242 else
14243 echo "$ac_t""no" 1>&6
14244 fi
14245 done
14246
14247
14248 ac_ext=c
14249 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14250 ac_cpp='$CPP $CPPFLAGS'
14251 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14252 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14253 cross_compiling=$ac_cv_prog_cc_cross
14254
14255
14256 INET_LINK=
14257 for ac_func in inet_addr
14258 do
14259 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14260 echo "configure:14261: checking for $ac_func" >&5
14261 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14262 echo $ac_n "(cached) $ac_c" 1>&6
14263 else
14264 cat > conftest.$ac_ext <<EOF
14265 #line 14266 "configure"
14266 #include "confdefs.h"
14267 /* System header to define __stub macros and hopefully few prototypes,
14268 which can conflict with char $ac_func(); below. */
14269 #include <assert.h>
14270 /* Override any gcc2 internal prototype to avoid an error. */
14271 /* We use char because int might match the return type of a gcc2
14272 builtin and then its argument prototype would still apply. */
14273 char $ac_func();
14274
14275 int main() {
14276
14277 /* The GNU C library defines this for functions which it implements
14278 to always fail with ENOSYS. Some functions are actually named
14279 something starting with __ and the normal name is an alias. */
14280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14281 choke me
14282 #else
14283 $ac_func();
14284 #endif
14285
14286 ; return 0; }
14287 EOF
14288 if { (eval echo configure:14289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14289 rm -rf conftest*
14290 eval "ac_cv_func_$ac_func=yes"
14291 else
14292 echo "configure: failed program was:" >&5
14293 cat conftest.$ac_ext >&5
14294 rm -rf conftest*
14295 eval "ac_cv_func_$ac_func=no"
14296 fi
14297 rm -f conftest*
14298 fi
14299
14300 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14301 echo "$ac_t""yes" 1>&6
14302 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14303 cat >> confdefs.h <<EOF
14304 #define $ac_tr_func 1
14305 EOF
14306 cat >> confdefs.h <<\EOF
14307 #define HAVE_INET_ADDR 1
14308 EOF
14309
14310 else
14311 echo "$ac_t""no" 1>&6
14312 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
14313 echo "configure:14314: checking for inet_addr in -lnsl" >&5
14314 ac_lib_var=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
14315 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14316 echo $ac_n "(cached) $ac_c" 1>&6
14317 else
14318 ac_save_LIBS="$LIBS"
14319 LIBS="-lnsl $LIBS"
14320 cat > conftest.$ac_ext <<EOF
14321 #line 14322 "configure"
14322 #include "confdefs.h"
14323 /* Override any gcc2 internal prototype to avoid an error. */
14324 /* We use char because int might match the return type of a gcc2
14325 builtin and then its argument prototype would still apply. */
14326 char inet_addr();
14327
14328 int main() {
14329 inet_addr()
14330 ; return 0; }
14331 EOF
14332 if { (eval echo configure:14333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14333 rm -rf conftest*
14334 eval "ac_cv_lib_$ac_lib_var=yes"
14335 else
14336 echo "configure: failed program was:" >&5
14337 cat conftest.$ac_ext >&5
14338 rm -rf conftest*
14339 eval "ac_cv_lib_$ac_lib_var=no"
14340 fi
14341 rm -f conftest*
14342 LIBS="$ac_save_LIBS"
14343
14344 fi
14345 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14346 echo "$ac_t""yes" 1>&6
14347 INET_LINK="nsl"
14348 else
14349 echo "$ac_t""no" 1>&6
14350 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
14351 echo "configure:14352: checking for inet_addr in -lresolv" >&5
14352 ac_lib_var=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
14353 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14354 echo $ac_n "(cached) $ac_c" 1>&6
14355 else
14356 ac_save_LIBS="$LIBS"
14357 LIBS="-lresolv $LIBS"
14358 cat > conftest.$ac_ext <<EOF
14359 #line 14360 "configure"
14360 #include "confdefs.h"
14361 /* Override any gcc2 internal prototype to avoid an error. */
14362 /* We use char because int might match the return type of a gcc2
14363 builtin and then its argument prototype would still apply. */
14364 char inet_addr();
14365
14366 int main() {
14367 inet_addr()
14368 ; return 0; }
14369 EOF
14370 if { (eval echo configure:14371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14371 rm -rf conftest*
14372 eval "ac_cv_lib_$ac_lib_var=yes"
14373 else
14374 echo "configure: failed program was:" >&5
14375 cat conftest.$ac_ext >&5
14376 rm -rf conftest*
14377 eval "ac_cv_lib_$ac_lib_var=no"
14378 fi
14379 rm -f conftest*
14380 LIBS="$ac_save_LIBS"
14381
14382 fi
14383 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14384 echo "$ac_t""yes" 1>&6
14385 INET_LINK="resolv"
14386
14387 else
14388 echo "$ac_t""no" 1>&6
14389 fi
14390
14391
14392 fi
14393
14394
14395
14396 fi
14397 done
14398
14399
14400 for ac_func in inet_aton
14401 do
14402 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14403 echo "configure:14404: checking for $ac_func" >&5
14404 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14405 echo $ac_n "(cached) $ac_c" 1>&6
14406 else
14407 cat > conftest.$ac_ext <<EOF
14408 #line 14409 "configure"
14409 #include "confdefs.h"
14410 /* System header to define __stub macros and hopefully few prototypes,
14411 which can conflict with char $ac_func(); below. */
14412 #include <assert.h>
14413 /* Override any gcc2 internal prototype to avoid an error. */
14414 /* We use char because int might match the return type of a gcc2
14415 builtin and then its argument prototype would still apply. */
14416 char $ac_func();
14417
14418 int main() {
14419
14420 /* The GNU C library defines this for functions which it implements
14421 to always fail with ENOSYS. Some functions are actually named
14422 something starting with __ and the normal name is an alias. */
14423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14424 choke me
14425 #else
14426 $ac_func();
14427 #endif
14428
14429 ; return 0; }
14430 EOF
14431 if { (eval echo configure:14432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14432 rm -rf conftest*
14433 eval "ac_cv_func_$ac_func=yes"
14434 else
14435 echo "configure: failed program was:" >&5
14436 cat conftest.$ac_ext >&5
14437 rm -rf conftest*
14438 eval "ac_cv_func_$ac_func=no"
14439 fi
14440 rm -f conftest*
14441 fi
14442
14443 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14444 echo "$ac_t""yes" 1>&6
14445 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14446 cat >> confdefs.h <<EOF
14447 #define $ac_tr_func 1
14448 EOF
14449 cat >> confdefs.h <<\EOF
14450 #define HAVE_INET_ATON 1
14451 EOF
14452
14453 else
14454 echo "$ac_t""no" 1>&6
14455 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
14456 echo "configure:14457: checking for inet_aton in -l$INET_LINK" >&5
14457 ac_lib_var=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
14458 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14459 echo $ac_n "(cached) $ac_c" 1>&6
14460 else
14461 ac_save_LIBS="$LIBS"
14462 LIBS="-l$INET_LINK $LIBS"
14463 cat > conftest.$ac_ext <<EOF
14464 #line 14465 "configure"
14465 #include "confdefs.h"
14466 /* Override any gcc2 internal prototype to avoid an error. */
14467 /* We use char because int might match the return type of a gcc2
14468 builtin and then its argument prototype would still apply. */
14469 char inet_aton();
14470
14471 int main() {
14472 inet_aton()
14473 ; return 0; }
14474 EOF
14475 if { (eval echo configure:14476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14476 rm -rf conftest*
14477 eval "ac_cv_lib_$ac_lib_var=yes"
14478 else
14479 echo "configure: failed program was:" >&5
14480 cat conftest.$ac_ext >&5
14481 rm -rf conftest*
14482 eval "ac_cv_lib_$ac_lib_var=no"
14483 fi
14484 rm -f conftest*
14485 LIBS="$ac_save_LIBS"
14486
14487 fi
14488 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14489 echo "$ac_t""yes" 1>&6
14490 cat >> confdefs.h <<\EOF
14491 #define HAVE_INET_ATON 1
14492 EOF
14493
14494 else
14495 echo "$ac_t""no" 1>&6
14496 fi
14497
14498
14499 fi
14500 done
14501
14502
14503 if test "x$INET_LINK" != "x"; then
14504 cat >> confdefs.h <<\EOF
14505 #define HAVE_INET_ADDR 1
14506 EOF
14507
14508 INET_LINK="-l$INET_LINK"
14509 fi
14510
14511 fi
14512
14513
14514 cat > confcache <<\EOF
14515 # This file is a shell script that caches the results of configure
14516 # tests run on this system so they can be shared between configure
14517 # scripts and configure runs. It is not useful on other systems.
14518 # If it contains results you don't want to keep, you may remove or edit it.
14519 #
14520 # By default, configure uses ./config.cache as the cache file,
14521 # creating it if it does not exist already. You can give configure
14522 # the --cache-file=FILE option to use a different cache file; that is
14523 # what configure does when it calls configure scripts in
14524 # subdirectories, so they share the cache.
14525 # Giving --cache-file=/dev/null disables caching, for debugging configure.
14526 # config.status only pays attention to the cache file if you give it the
14527 # --recheck option to rerun configure.
14528 #
14529 EOF
14530 # The following way of writing the cache mishandles newlines in values,
14531 # but we know of no workaround that is simple, portable, and efficient.
14532 # So, don't put newlines in cache variables' values.
14533 # Ultrix sh set writes to stderr and can't be redirected directly,
14534 # and sets the high bit in the cache file unless we assign to the vars.
14535 (set) 2>&1 |
14536 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14537 *ac_space=\ *)
14538 # `set' does not quote correctly, so add quotes (double-quote substitution
14539 # turns \\\\ into \\, and sed turns \\ into \).
14540 sed -n \
14541 -e "s/'/'\\\\''/g" \
14542 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
14543 ;;
14544 *)
14545 # `set' quotes correctly as required by POSIX, so do not add quotes.
14546 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
14547 ;;
14548 esac >> confcache
14549 if cmp -s $cache_file confcache; then
14550 :
14551 else
14552 if test -w $cache_file; then
14553 echo "updating cache $cache_file"
14554 cat confcache > $cache_file
14555 else
14556 echo "not updating unwritable cache $cache_file"
14557 fi
14558 fi
14559 rm -f confcache
14560
14561
14562
14563 if test "$TOOLKIT" != "MSW"; then
14564
14565
14566 THREADS_LINK=
14567 THREADS_OBJ=
14568 CODE_GEN_FLAGS=
14569 CODE_GEN_FLAGS_CXX=
14570
14571 if test "$wxUSE_THREADS" = "yes" ; then
14572 if test "$wxUSE_WINE" = 1 ; then
14573 echo "configure: warning: Threads are not supported under WINE" 1>&2
14574 wxUSE_THREADS="no"
14575 elif test "$USE_BEOS" = 1; then
14576 echo "configure: warning: BeOS threads are not yet supported" 1>&2
14577 wxUSE_THREADS="no"
14578 fi
14579 fi
14580
14581 if test "$wxUSE_THREADS" = "yes" ; then
14582
14583 if test "$USE_AIX" = 1; then
14584 THREADS_LIB=pthreads
14585 else
14586 THREADS_LIB=pthread
14587 fi
14588
14589 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
14590 echo "configure:14591: checking for pthread_create in -l$THREADS_LIB" >&5
14591 ac_lib_var=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
14592 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14593 echo $ac_n "(cached) $ac_c" 1>&6
14594 else
14595 ac_save_LIBS="$LIBS"
14596 LIBS="-l$THREADS_LIB $LIBS"
14597 cat > conftest.$ac_ext <<EOF
14598 #line 14599 "configure"
14599 #include "confdefs.h"
14600 /* Override any gcc2 internal prototype to avoid an error. */
14601 /* We use char because int might match the return type of a gcc2
14602 builtin and then its argument prototype would still apply. */
14603 char pthread_create();
14604
14605 int main() {
14606 pthread_create()
14607 ; return 0; }
14608 EOF
14609 if { (eval echo configure:14610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14610 rm -rf conftest*
14611 eval "ac_cv_lib_$ac_lib_var=yes"
14612 else
14613 echo "configure: failed program was:" >&5
14614 cat conftest.$ac_ext >&5
14615 rm -rf conftest*
14616 eval "ac_cv_lib_$ac_lib_var=no"
14617 fi
14618 rm -f conftest*
14619 LIBS="$ac_save_LIBS"
14620
14621 fi
14622 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14623 echo "$ac_t""yes" 1>&6
14624
14625 THREADS_OBJ="threadpsx.lo"
14626 THREADS_LINK=$THREADS_LIB
14627
14628 else
14629 echo "$ac_t""no" 1>&6
14630
14631 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
14632 echo "configure:14633: checking for pthread_create in -lc_r" >&5
14633 ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
14634 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14635 echo $ac_n "(cached) $ac_c" 1>&6
14636 else
14637 ac_save_LIBS="$LIBS"
14638 LIBS="-lc_r $LIBS"
14639 cat > conftest.$ac_ext <<EOF
14640 #line 14641 "configure"
14641 #include "confdefs.h"
14642 /* Override any gcc2 internal prototype to avoid an error. */
14643 /* We use char because int might match the return type of a gcc2
14644 builtin and then its argument prototype would still apply. */
14645 char pthread_create();
14646
14647 int main() {
14648 pthread_create()
14649 ; return 0; }
14650 EOF
14651 if { (eval echo configure:14652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14652 rm -rf conftest*
14653 eval "ac_cv_lib_$ac_lib_var=yes"
14654 else
14655 echo "configure: failed program was:" >&5
14656 cat conftest.$ac_ext >&5
14657 rm -rf conftest*
14658 eval "ac_cv_lib_$ac_lib_var=no"
14659 fi
14660 rm -f conftest*
14661 LIBS="$ac_save_LIBS"
14662
14663 fi
14664 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14665 echo "$ac_t""yes" 1>&6
14666
14667 THREADS_OBJ="threadpsx.lo"
14668 THREADS_LINK="c_r"
14669
14670 else
14671 echo "$ac_t""no" 1>&6
14672
14673 ac_safe=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
14674 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
14675 echo "configure:14676: checking for sys/prctl.h" >&5
14676 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14677 echo $ac_n "(cached) $ac_c" 1>&6
14678 else
14679 cat > conftest.$ac_ext <<EOF
14680 #line 14681 "configure"
14681 #include "confdefs.h"
14682 #include <sys/prctl.h>
14683 EOF
14684 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14685 { (eval echo configure:14686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14686 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14687 if test -z "$ac_err"; then
14688 rm -rf conftest*
14689 eval "ac_cv_header_$ac_safe=yes"
14690 else
14691 echo "$ac_err" >&5
14692 echo "configure: failed program was:" >&5
14693 cat conftest.$ac_ext >&5
14694 rm -rf conftest*
14695 eval "ac_cv_header_$ac_safe=no"
14696 fi
14697 rm -f conftest*
14698 fi
14699 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14700 echo "$ac_t""yes" 1>&6
14701
14702 THREADS_OBJ="threadsgi.lo"
14703
14704 else
14705 echo "$ac_t""no" 1>&6
14706 fi
14707
14708
14709 fi
14710
14711
14712 fi
14713
14714
14715 if test -z "$THREADS_OBJ" ; then
14716 wxUSE_THREADS=no
14717 echo "configure: warning: No thread support on this system" 1>&2
14718 fi
14719 fi
14720
14721 if test "$wxUSE_THREADS" = "yes" ; then
14722 for ac_func in thr_setconcurrency
14723 do
14724 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14725 echo "configure:14726: checking for $ac_func" >&5
14726 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14727 echo $ac_n "(cached) $ac_c" 1>&6
14728 else
14729 cat > conftest.$ac_ext <<EOF
14730 #line 14731 "configure"
14731 #include "confdefs.h"
14732 /* System header to define __stub macros and hopefully few prototypes,
14733 which can conflict with char $ac_func(); below. */
14734 #include <assert.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 $ac_func();
14739
14740 int main() {
14741
14742 /* The GNU C library defines this for functions which it implements
14743 to always fail with ENOSYS. Some functions are actually named
14744 something starting with __ and the normal name is an alias. */
14745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14746 choke me
14747 #else
14748 $ac_func();
14749 #endif
14750
14751 ; return 0; }
14752 EOF
14753 if { (eval echo configure:14754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14754 rm -rf conftest*
14755 eval "ac_cv_func_$ac_func=yes"
14756 else
14757 echo "configure: failed program was:" >&5
14758 cat conftest.$ac_ext >&5
14759 rm -rf conftest*
14760 eval "ac_cv_func_$ac_func=no"
14761 fi
14762 rm -f conftest*
14763 fi
14764
14765 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14766 echo "$ac_t""yes" 1>&6
14767 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14768 cat >> confdefs.h <<EOF
14769 #define $ac_tr_func 1
14770 EOF
14771
14772 else
14773 echo "$ac_t""no" 1>&6
14774 fi
14775 done
14776
14777
14778
14779 for ac_hdr in sched.h
14780 do
14781 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14782 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14783 echo "configure:14784: checking for $ac_hdr" >&5
14784 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14785 echo $ac_n "(cached) $ac_c" 1>&6
14786 else
14787 cat > conftest.$ac_ext <<EOF
14788 #line 14789 "configure"
14789 #include "confdefs.h"
14790 #include <$ac_hdr>
14791 EOF
14792 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14793 { (eval echo configure:14794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14794 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14795 if test -z "$ac_err"; then
14796 rm -rf conftest*
14797 eval "ac_cv_header_$ac_safe=yes"
14798 else
14799 echo "$ac_err" >&5
14800 echo "configure: failed program was:" >&5
14801 cat conftest.$ac_ext >&5
14802 rm -rf conftest*
14803 eval "ac_cv_header_$ac_safe=no"
14804 fi
14805 rm -f conftest*
14806 fi
14807 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14808 echo "$ac_t""yes" 1>&6
14809 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14810 cat >> confdefs.h <<EOF
14811 #define $ac_tr_hdr 1
14812 EOF
14813
14814 else
14815 echo "$ac_t""no" 1>&6
14816 fi
14817 done
14818
14819
14820 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
14821 echo "configure:14822: checking for sched_yield in -l$THREADS_LINK" >&5
14822 ac_lib_var=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
14823 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14824 echo $ac_n "(cached) $ac_c" 1>&6
14825 else
14826 ac_save_LIBS="$LIBS"
14827 LIBS="-l$THREADS_LINK $LIBS"
14828 cat > conftest.$ac_ext <<EOF
14829 #line 14830 "configure"
14830 #include "confdefs.h"
14831 /* Override any gcc2 internal prototype to avoid an error. */
14832 /* We use char because int might match the return type of a gcc2
14833 builtin and then its argument prototype would still apply. */
14834 char sched_yield();
14835
14836 int main() {
14837 sched_yield()
14838 ; return 0; }
14839 EOF
14840 if { (eval echo configure:14841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14841 rm -rf conftest*
14842 eval "ac_cv_lib_$ac_lib_var=yes"
14843 else
14844 echo "configure: failed program was:" >&5
14845 cat conftest.$ac_ext >&5
14846 rm -rf conftest*
14847 eval "ac_cv_lib_$ac_lib_var=no"
14848 fi
14849 rm -f conftest*
14850 LIBS="$ac_save_LIBS"
14851
14852 fi
14853 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14854 echo "$ac_t""yes" 1>&6
14855 cat >> confdefs.h <<\EOF
14856 #define HAVE_SCHED_YIELD 1
14857 EOF
14858
14859 else
14860 echo "$ac_t""no" 1>&6
14861 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
14862 echo "configure:14863: checking for sched_yield in -lposix4" >&5
14863 ac_lib_var=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
14864 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14865 echo $ac_n "(cached) $ac_c" 1>&6
14866 else
14867 ac_save_LIBS="$LIBS"
14868 LIBS="-lposix4 $LIBS"
14869 cat > conftest.$ac_ext <<EOF
14870 #line 14871 "configure"
14871 #include "confdefs.h"
14872 /* Override any gcc2 internal prototype to avoid an error. */
14873 /* We use char because int might match the return type of a gcc2
14874 builtin and then its argument prototype would still apply. */
14875 char sched_yield();
14876
14877 int main() {
14878 sched_yield()
14879 ; return 0; }
14880 EOF
14881 if { (eval echo configure:14882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14882 rm -rf conftest*
14883 eval "ac_cv_lib_$ac_lib_var=yes"
14884 else
14885 echo "configure: failed program was:" >&5
14886 cat conftest.$ac_ext >&5
14887 rm -rf conftest*
14888 eval "ac_cv_lib_$ac_lib_var=no"
14889 fi
14890 rm -f conftest*
14891 LIBS="$ac_save_LIBS"
14892
14893 fi
14894 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14895 echo "$ac_t""yes" 1>&6
14896 cat >> confdefs.h <<\EOF
14897 #define HAVE_SCHED_YIELD 1
14898 EOF
14899 POSIX4_LINK="-lposix4"
14900 else
14901 echo "$ac_t""no" 1>&6
14902 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
14903
14904 fi
14905
14906
14907 fi
14908
14909
14910 HAVE_PRIOR_FUNCS=0
14911 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
14912 echo "configure:14913: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
14913 ac_lib_var=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
14914 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14915 echo $ac_n "(cached) $ac_c" 1>&6
14916 else
14917 ac_save_LIBS="$LIBS"
14918 LIBS="-l$THREADS_LINK $LIBS"
14919 cat > conftest.$ac_ext <<EOF
14920 #line 14921 "configure"
14921 #include "confdefs.h"
14922 /* Override any gcc2 internal prototype to avoid an error. */
14923 /* We use char because int might match the return type of a gcc2
14924 builtin and then its argument prototype would still apply. */
14925 char pthread_attr_getschedpolicy();
14926
14927 int main() {
14928 pthread_attr_getschedpolicy()
14929 ; return 0; }
14930 EOF
14931 if { (eval echo configure:14932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14932 rm -rf conftest*
14933 eval "ac_cv_lib_$ac_lib_var=yes"
14934 else
14935 echo "configure: failed program was:" >&5
14936 cat conftest.$ac_ext >&5
14937 rm -rf conftest*
14938 eval "ac_cv_lib_$ac_lib_var=no"
14939 fi
14940 rm -f conftest*
14941 LIBS="$ac_save_LIBS"
14942
14943 fi
14944 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14945 echo "$ac_t""yes" 1>&6
14946 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
14947 echo "configure:14948: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
14948 ac_lib_var=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
14949 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14950 echo $ac_n "(cached) $ac_c" 1>&6
14951 else
14952 ac_save_LIBS="$LIBS"
14953 LIBS="-l$THREADS_LINK $LIBS"
14954 cat > conftest.$ac_ext <<EOF
14955 #line 14956 "configure"
14956 #include "confdefs.h"
14957 /* Override any gcc2 internal prototype to avoid an error. */
14958 /* We use char because int might match the return type of a gcc2
14959 builtin and then its argument prototype would still apply. */
14960 char pthread_attr_setschedparam();
14961
14962 int main() {
14963 pthread_attr_setschedparam()
14964 ; return 0; }
14965 EOF
14966 if { (eval echo configure:14967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14967 rm -rf conftest*
14968 eval "ac_cv_lib_$ac_lib_var=yes"
14969 else
14970 echo "configure: failed program was:" >&5
14971 cat conftest.$ac_ext >&5
14972 rm -rf conftest*
14973 eval "ac_cv_lib_$ac_lib_var=no"
14974 fi
14975 rm -f conftest*
14976 LIBS="$ac_save_LIBS"
14977
14978 fi
14979 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14980 echo "$ac_t""yes" 1>&6
14981 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
14982 echo "configure:14983: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
14983 ac_lib_var=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14984 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14985 echo $ac_n "(cached) $ac_c" 1>&6
14986 else
14987 ac_save_LIBS="$LIBS"
14988 LIBS="-l$THREADS_LINK $LIBS"
14989 cat > conftest.$ac_ext <<EOF
14990 #line 14991 "configure"
14991 #include "confdefs.h"
14992 /* Override any gcc2 internal prototype to avoid an error. */
14993 /* We use char because int might match the return type of a gcc2
14994 builtin and then its argument prototype would still apply. */
14995 char sched_get_priority_max();
14996
14997 int main() {
14998 sched_get_priority_max()
14999 ; return 0; }
15000 EOF
15001 if { (eval echo configure:15002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15002 rm -rf conftest*
15003 eval "ac_cv_lib_$ac_lib_var=yes"
15004 else
15005 echo "configure: failed program was:" >&5
15006 cat conftest.$ac_ext >&5
15007 rm -rf conftest*
15008 eval "ac_cv_lib_$ac_lib_var=no"
15009 fi
15010 rm -f conftest*
15011 LIBS="$ac_save_LIBS"
15012
15013 fi
15014 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15015 echo "$ac_t""yes" 1>&6
15016 HAVE_PRIOR_FUNCS=1
15017 else
15018 echo "$ac_t""no" 1>&6
15019 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
15020 echo "configure:15021: checking for sched_get_priority_max in -lposix4" >&5
15021 ac_lib_var=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
15022 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15023 echo $ac_n "(cached) $ac_c" 1>&6
15024 else
15025 ac_save_LIBS="$LIBS"
15026 LIBS="-lposix4 $LIBS"
15027 cat > conftest.$ac_ext <<EOF
15028 #line 15029 "configure"
15029 #include "confdefs.h"
15030 /* Override any gcc2 internal prototype to avoid an error. */
15031 /* We use char because int might match the return type of a gcc2
15032 builtin and then its argument prototype would still apply. */
15033 char sched_get_priority_max();
15034
15035 int main() {
15036 sched_get_priority_max()
15037 ; return 0; }
15038 EOF
15039 if { (eval echo configure:15040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15040 rm -rf conftest*
15041 eval "ac_cv_lib_$ac_lib_var=yes"
15042 else
15043 echo "configure: failed program was:" >&5
15044 cat conftest.$ac_ext >&5
15045 rm -rf conftest*
15046 eval "ac_cv_lib_$ac_lib_var=no"
15047 fi
15048 rm -f conftest*
15049 LIBS="$ac_save_LIBS"
15050
15051 fi
15052 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15053 echo "$ac_t""yes" 1>&6
15054
15055 HAVE_PRIOR_FUNCS=1
15056 POSIX4_LINK="-lposix4"
15057
15058 else
15059 echo "$ac_t""no" 1>&6
15060 fi
15061
15062
15063 fi
15064
15065
15066 else
15067 echo "$ac_t""no" 1>&6
15068 fi
15069
15070
15071 else
15072 echo "$ac_t""no" 1>&6
15073 fi
15074
15075
15076 if test "$HAVE_PRIOR_FUNCS" = 1; then
15077 cat >> confdefs.h <<\EOF
15078 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
15079 EOF
15080
15081 else
15082 echo "configure: warning: Setting thread priority will not work" 1>&2
15083 fi
15084
15085 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
15086 echo "configure:15087: checking for pthread_cancel in -l$THREADS_LINK" >&5
15087 ac_lib_var=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
15088 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15089 echo $ac_n "(cached) $ac_c" 1>&6
15090 else
15091 ac_save_LIBS="$LIBS"
15092 LIBS="-l$THREADS_LINK $LIBS"
15093 cat > conftest.$ac_ext <<EOF
15094 #line 15095 "configure"
15095 #include "confdefs.h"
15096 /* Override any gcc2 internal prototype to avoid an error. */
15097 /* We use char because int might match the return type of a gcc2
15098 builtin and then its argument prototype would still apply. */
15099 char pthread_cancel();
15100
15101 int main() {
15102 pthread_cancel()
15103 ; return 0; }
15104 EOF
15105 if { (eval echo configure:15106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15106 rm -rf conftest*
15107 eval "ac_cv_lib_$ac_lib_var=yes"
15108 else
15109 echo "configure: failed program was:" >&5
15110 cat conftest.$ac_ext >&5
15111 rm -rf conftest*
15112 eval "ac_cv_lib_$ac_lib_var=no"
15113 fi
15114 rm -f conftest*
15115 LIBS="$ac_save_LIBS"
15116
15117 fi
15118 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15119 echo "$ac_t""yes" 1>&6
15120 cat >> confdefs.h <<\EOF
15121 #define HAVE_PTHREAD_CANCEL 1
15122 EOF
15123
15124 else
15125 echo "$ac_t""no" 1>&6
15126 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
15127 fi
15128
15129
15130 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
15131 echo "configure:15132: checking for pthread_cleanup_push/pop" >&5
15132 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
15133 echo $ac_n "(cached) $ac_c" 1>&6
15134 else
15135
15136 cat > conftest.$ac_ext <<EOF
15137 #line 15138 "configure"
15138 #include "confdefs.h"
15139 #include <pthread.h>
15140 int main() {
15141
15142 pthread_cleanup_push(NULL, NULL);
15143 pthread_cleanup_pop(0);
15144
15145 ; return 0; }
15146 EOF
15147 if { (eval echo configure:15148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15148 rm -rf conftest*
15149
15150 wx_cv_func_pthread_cleanup_push=yes
15151
15152 else
15153 echo "configure: failed program was:" >&5
15154 cat conftest.$ac_ext >&5
15155 rm -rf conftest*
15156
15157 wx_cv_func_pthread_cleanup_push=no
15158
15159 fi
15160 rm -f conftest*
15161
15162 fi
15163
15164 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
15165
15166 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
15167 cat >> confdefs.h <<\EOF
15168 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
15169 EOF
15170
15171 fi
15172
15173
15174 if test "x$wx_lib_glibc21" = "xyes"; then
15175 CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
15176 fi
15177
15178 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
15179 echo "configure:15180: checking for pthread_mutexattr_t" >&5
15180 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
15181 echo $ac_n "(cached) $ac_c" 1>&6
15182 else
15183
15184 cat > conftest.$ac_ext <<EOF
15185 #line 15186 "configure"
15186 #include "confdefs.h"
15187 #include <pthread.h>
15188 int main() {
15189
15190 pthread_mutexattr_t attr;
15191 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
15192
15193 ; return 0; }
15194 EOF
15195 if { (eval echo configure:15196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15196 rm -rf conftest*
15197
15198 wx_cv_type_pthread_mutexattr_t=yes
15199
15200 else
15201 echo "configure: failed program was:" >&5
15202 cat conftest.$ac_ext >&5
15203 rm -rf conftest*
15204
15205 wx_cv_type_pthread_mutexattr_t=no
15206
15207
15208 fi
15209 rm -f conftest*
15210
15211 fi
15212
15213 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
15214
15215 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
15216 cat >> confdefs.h <<\EOF
15217 #define HAVE_PTHREAD_MUTEXATTR_T 1
15218 EOF
15219
15220 else
15221 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
15222 echo "configure:15223: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
15223 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
15224 echo $ac_n "(cached) $ac_c" 1>&6
15225 else
15226
15227 cat > conftest.$ac_ext <<EOF
15228 #line 15229 "configure"
15229 #include "confdefs.h"
15230 #include <pthread.h>
15231 int main() {
15232
15233 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
15234
15235 ; return 0; }
15236 EOF
15237 if { (eval echo configure:15238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15238 rm -rf conftest*
15239
15240 wx_cv_type_pthread_rec_mutex_init=yes
15241
15242 else
15243 echo "configure: failed program was:" >&5
15244 cat conftest.$ac_ext >&5
15245 rm -rf conftest*
15246
15247 wx_cv_type_pthread_rec_mutex_init=no
15248
15249
15250 fi
15251 rm -f conftest*
15252
15253 fi
15254
15255 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
15256 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
15257 cat >> confdefs.h <<\EOF
15258 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
15259 EOF
15260
15261 else
15262 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
15263 fi
15264 fi
15265
15266 THREADS_LINK="-l$THREADS_LINK"
15267
15268 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
15269 CPPFLAGS="${CFLAGS} -mt"
15270 CXXFLAGS="${CXXFLAGS} -mt"
15271 LDFLAGS="${LDFLAGS} -mt"
15272 fi
15273 fi
15274
15275 fi
15276
15277 if test "$wxUSE_THREADS" = "yes"; then
15278 cat >> confdefs.h <<\EOF
15279 #define wxUSE_THREADS 1
15280 EOF
15281
15282
15283 if test "$USE_DARWIN" != 1; then
15284 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
15285 fi
15286
15287 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
15288 else
15289 if test "$ac_cv_func_strtok_r" = "yes"; then
15290 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
15291 echo "configure:15292: checking if -D_REENTRANT is needed" >&5
15292 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
15293 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
15294 echo "$ac_t""yes" 1>&6
15295 else
15296 echo "$ac_t""no" 1>&6
15297 fi
15298 fi
15299 fi
15300
15301 if test "$WXGTK20" = 1 ; then
15302 cat >> confdefs.h <<EOF
15303 #define __WXGTK20__ $WXGTK20
15304 EOF
15305
15306 WXGTK12=1
15307 fi
15308
15309 if test "$WXGTK12" = 1 ; then
15310 cat >> confdefs.h <<EOF
15311 #define __WXGTK12__ $WXGTK12
15312 EOF
15313
15314 fi
15315
15316 if test "$WXGTK127" = 1 ; then
15317 cat >> confdefs.h <<EOF
15318 #define __WXGTK127__ $WXGTK127
15319 EOF
15320
15321 fi
15322
15323 WXDEBUG=
15324
15325 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
15326 WXDEBUG="-g"
15327 wxUSE_OPTIMISE=no
15328 fi
15329
15330 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
15331 wxUSE_DEBUG_INFO=yes
15332 WXDEBUG="-ggdb"
15333 fi
15334
15335 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
15336 cat >> confdefs.h <<\EOF
15337 #define WXDEBUG 1
15338 EOF
15339
15340 WXDEBUG_DEFINE="-D__WXDEBUG__"
15341 else
15342 if test "$wxUSE_GTK" = 1 ; then
15343 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
15344 fi
15345 fi
15346
15347 if test "$wxUSE_MEM_TRACING" = "yes" ; then
15348 cat >> confdefs.h <<\EOF
15349 #define wxUSE_MEMORY_TRACING 1
15350 EOF
15351
15352 cat >> confdefs.h <<\EOF
15353 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
15354 EOF
15355
15356 cat >> confdefs.h <<\EOF
15357 #define wxUSE_DEBUG_NEW_ALWAYS 1
15358 EOF
15359
15360 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
15361 fi
15362
15363 if test "$wxUSE_DMALLOC" = "yes" ; then
15364 DMALLOC_LINK="-ldmalloc"
15365 fi
15366
15367 PROFILE=
15368 if test "$wxUSE_PROFILE" = "yes" ; then
15369 PROFILE="-pg"
15370 fi
15371
15372 if test "$GCC" = yes ; then
15373 if test "$wxUSE_NO_RTTI" = "yes" ; then
15374 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
15375 fi
15376 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
15377 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
15378 fi
15379 if test "$wxUSE_PERMISSIVE" = "yes" ; then
15380 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
15381 fi
15382 if test "$wxUSE_NO_DEPS" = "no" ; then
15383 CFLAGS="-MMD ${CFLAGS}"
15384 CXXFLAGS="-MMD ${CXXFLAGS}"
15385 fi
15386 if test "$USE_WIN32" = 1 ; then
15387 # I'm not even really sure what this was ever added to solve,
15388 # but someone added it for mingw native builds, so I guess
15389 # they had a reason, right??
15390 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fno-pcc-struct-return"
15391 fi
15392 fi
15393
15394
15395 CXXFLAGS=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
15396 CFLAGS=`echo "${CFLAGS}" | sed "s/\-O.//g" `
15397 if test "$wxUSE_OPTIMISE" = "no" ; then
15398 OPTIMISE=
15399 else
15400 if test "$GCC" = yes ; then
15401 OPTIMISE="-O2"
15402 case "${host}" in
15403 i586-*-*|i686-*-* )
15404 OPTIMISE="${OPTIMISE} "
15405 ;;
15406 esac
15407 else
15408 OPTIMISE="-O"
15409 fi
15410 fi
15411
15412 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
15413 cat >> confdefs.h <<\EOF
15414 #define WXWIN_COMPATIBILITY_2 1
15415 EOF
15416
15417
15418 WXWIN_COMPATIBILITY_2_2="yes"
15419 fi
15420
15421 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
15422 cat >> confdefs.h <<\EOF
15423 #define WXWIN_COMPATIBILITY_2_2 1
15424 EOF
15425
15426 fi
15427
15428
15429 ZLIB_INCLUDE=
15430 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
15431 cat >> confdefs.h <<\EOF
15432 #define wxUSE_ZLIB 1
15433 EOF
15434
15435 if test "$wxUSE_ZLIB" = "yes" ; then
15436 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
15437 else
15438 ZLIB_LINK=
15439 ac_safe=`echo "zlib.h" | sed 'y%./+-%__p_%'`
15440 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
15441 echo "configure:15442: checking for zlib.h" >&5
15442 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15443 echo $ac_n "(cached) $ac_c" 1>&6
15444 else
15445 cat > conftest.$ac_ext <<EOF
15446 #line 15447 "configure"
15447 #include "confdefs.h"
15448 #include <zlib.h>
15449 EOF
15450 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15451 { (eval echo configure:15452: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15452 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15453 if test -z "$ac_err"; then
15454 rm -rf conftest*
15455 eval "ac_cv_header_$ac_safe=yes"
15456 else
15457 echo "$ac_err" >&5
15458 echo "configure: failed program was:" >&5
15459 cat conftest.$ac_ext >&5
15460 rm -rf conftest*
15461 eval "ac_cv_header_$ac_safe=no"
15462 fi
15463 rm -f conftest*
15464 fi
15465 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15466 echo "$ac_t""yes" 1>&6
15467 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
15468 echo "configure:15469: checking for deflate in -lz" >&5
15469 ac_lib_var=`echo z'_'deflate | sed 'y%./+-%__p_%'`
15470 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15471 echo $ac_n "(cached) $ac_c" 1>&6
15472 else
15473 ac_save_LIBS="$LIBS"
15474 LIBS="-lz $LIBS"
15475 cat > conftest.$ac_ext <<EOF
15476 #line 15477 "configure"
15477 #include "confdefs.h"
15478 /* Override any gcc2 internal prototype to avoid an error. */
15479 /* We use char because int might match the return type of a gcc2
15480 builtin and then its argument prototype would still apply. */
15481 char deflate();
15482
15483 int main() {
15484 deflate()
15485 ; return 0; }
15486 EOF
15487 if { (eval echo configure:15488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15488 rm -rf conftest*
15489 eval "ac_cv_lib_$ac_lib_var=yes"
15490 else
15491 echo "configure: failed program was:" >&5
15492 cat conftest.$ac_ext >&5
15493 rm -rf conftest*
15494 eval "ac_cv_lib_$ac_lib_var=no"
15495 fi
15496 rm -f conftest*
15497 LIBS="$ac_save_LIBS"
15498
15499 fi
15500 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15501 echo "$ac_t""yes" 1>&6
15502 ZLIB_LINK="-lz"
15503 else
15504 echo "$ac_t""no" 1>&6
15505 fi
15506
15507 else
15508 echo "$ac_t""no" 1>&6
15509 fi
15510
15511 if test "x$ZLIB_LINK" = "x" ; then
15512 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
15513 fi
15514 fi
15515 fi
15516
15517 PNG_INCLUDE=
15518 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
15519 cat >> confdefs.h <<\EOF
15520 #define wxUSE_LIBPNG 1
15521 EOF
15522
15523 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
15524 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
15525 wxUSE_LIBPNG=yes
15526 fi
15527
15528 if test "$wxUSE_LIBPNG" = "yes" ; then
15529 PNG_INCLUDE="-I\${top_srcdir}/src/png"
15530 else
15531 PNG_LINK=
15532 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
15533 echo $ac_n "checking for png.h""... $ac_c" 1>&6
15534 echo "configure:15535: checking for png.h" >&5
15535 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15536 echo $ac_n "(cached) $ac_c" 1>&6
15537 else
15538 cat > conftest.$ac_ext <<EOF
15539 #line 15540 "configure"
15540 #include "confdefs.h"
15541 #include <png.h>
15542 EOF
15543 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15544 { (eval echo configure:15545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15545 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15546 if test -z "$ac_err"; then
15547 rm -rf conftest*
15548 eval "ac_cv_header_$ac_safe=yes"
15549 else
15550 echo "$ac_err" >&5
15551 echo "configure: failed program was:" >&5
15552 cat conftest.$ac_ext >&5
15553 rm -rf conftest*
15554 eval "ac_cv_header_$ac_safe=no"
15555 fi
15556 rm -f conftest*
15557 fi
15558 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15559 echo "$ac_t""yes" 1>&6
15560 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
15561 echo "configure:15562: checking for png_check_sig in -lpng" >&5
15562 ac_lib_var=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
15563 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15564 echo $ac_n "(cached) $ac_c" 1>&6
15565 else
15566 ac_save_LIBS="$LIBS"
15567 LIBS="-lpng -lz -lm $LIBS"
15568 cat > conftest.$ac_ext <<EOF
15569 #line 15570 "configure"
15570 #include "confdefs.h"
15571 /* Override any gcc2 internal prototype to avoid an error. */
15572 /* We use char because int might match the return type of a gcc2
15573 builtin and then its argument prototype would still apply. */
15574 char png_check_sig();
15575
15576 int main() {
15577 png_check_sig()
15578 ; return 0; }
15579 EOF
15580 if { (eval echo configure:15581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15581 rm -rf conftest*
15582 eval "ac_cv_lib_$ac_lib_var=yes"
15583 else
15584 echo "configure: failed program was:" >&5
15585 cat conftest.$ac_ext >&5
15586 rm -rf conftest*
15587 eval "ac_cv_lib_$ac_lib_var=no"
15588 fi
15589 rm -f conftest*
15590 LIBS="$ac_save_LIBS"
15591
15592 fi
15593 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15594 echo "$ac_t""yes" 1>&6
15595 PNG_LINK="-lpng"
15596 else
15597 echo "$ac_t""no" 1>&6
15598 fi
15599
15600
15601 else
15602 echo "$ac_t""no" 1>&6
15603 fi
15604
15605 if test "x$PNG_LINK" = "x" ; then
15606 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
15607 fi
15608 fi
15609
15610 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
15611 fi
15612
15613 JPEG_INCLUDE=
15614 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
15615 cat >> confdefs.h <<\EOF
15616 #define wxUSE_LIBJPEG 1
15617 EOF
15618
15619 if test "$wxUSE_LIBJPEG" = "yes" ; then
15620 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
15621 else
15622 JPEG_LINK=
15623 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
15624 echo "configure:15625: checking for jpeglib.h" >&5
15625 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
15626 echo $ac_n "(cached) $ac_c" 1>&6
15627 else
15628 cat > conftest.$ac_ext <<EOF
15629 #line 15630 "configure"
15630 #include "confdefs.h"
15631
15632 #undef HAVE_STDLIB_H
15633 #include <stdio.h>
15634 #include <jpeglib.h>
15635
15636 int main() {
15637
15638
15639 ; return 0; }
15640 EOF
15641 if { (eval echo configure:15642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15642 rm -rf conftest*
15643 ac_cv_header_jpeglib_h=yes
15644 else
15645 echo "configure: failed program was:" >&5
15646 cat conftest.$ac_ext >&5
15647 rm -rf conftest*
15648 ac_cv_header_jpeglib_h=no
15649
15650 fi
15651 rm -f conftest*
15652
15653 fi
15654
15655 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
15656
15657 if test "$ac_cv_header_jpeglib_h" = "yes"; then
15658 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
15659 echo "configure:15660: checking for jpeg_read_header in -ljpeg" >&5
15660 ac_lib_var=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
15661 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15662 echo $ac_n "(cached) $ac_c" 1>&6
15663 else
15664 ac_save_LIBS="$LIBS"
15665 LIBS="-ljpeg $LIBS"
15666 cat > conftest.$ac_ext <<EOF
15667 #line 15668 "configure"
15668 #include "confdefs.h"
15669 /* Override any gcc2 internal prototype to avoid an error. */
15670 /* We use char because int might match the return type of a gcc2
15671 builtin and then its argument prototype would still apply. */
15672 char jpeg_read_header();
15673
15674 int main() {
15675 jpeg_read_header()
15676 ; return 0; }
15677 EOF
15678 if { (eval echo configure:15679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15679 rm -rf conftest*
15680 eval "ac_cv_lib_$ac_lib_var=yes"
15681 else
15682 echo "configure: failed program was:" >&5
15683 cat conftest.$ac_ext >&5
15684 rm -rf conftest*
15685 eval "ac_cv_lib_$ac_lib_var=no"
15686 fi
15687 rm -f conftest*
15688 LIBS="$ac_save_LIBS"
15689
15690 fi
15691 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15692 echo "$ac_t""yes" 1>&6
15693 JPEG_LINK="-ljpeg"
15694 else
15695 echo "$ac_t""no" 1>&6
15696 fi
15697
15698 fi
15699
15700 if test "x$JPEG_LINK" = "x" ; then
15701 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
15702 fi
15703 fi
15704 fi
15705
15706 TIFF_INCLUDE=
15707 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
15708 cat >> confdefs.h <<\EOF
15709 #define wxUSE_LIBTIFF 1
15710 EOF
15711
15712 if test "$wxUSE_LIBTIFF" = "yes" ; then
15713 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
15714 else
15715 TIFF_LINK=
15716 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
15717 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
15718 echo "configure:15719: checking for tiffio.h" >&5
15719 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15720 echo $ac_n "(cached) $ac_c" 1>&6
15721 else
15722 cat > conftest.$ac_ext <<EOF
15723 #line 15724 "configure"
15724 #include "confdefs.h"
15725 #include <tiffio.h>
15726 EOF
15727 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15728 { (eval echo configure:15729: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15729 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15730 if test -z "$ac_err"; then
15731 rm -rf conftest*
15732 eval "ac_cv_header_$ac_safe=yes"
15733 else
15734 echo "$ac_err" >&5
15735 echo "configure: failed program was:" >&5
15736 cat conftest.$ac_ext >&5
15737 rm -rf conftest*
15738 eval "ac_cv_header_$ac_safe=no"
15739 fi
15740 rm -f conftest*
15741 fi
15742 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15743 echo "$ac_t""yes" 1>&6
15744 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
15745 echo "configure:15746: checking for TIFFError in -ltiff" >&5
15746 ac_lib_var=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
15747 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15748 echo $ac_n "(cached) $ac_c" 1>&6
15749 else
15750 ac_save_LIBS="$LIBS"
15751 LIBS="-ltiff -lm $LIBS"
15752 cat > conftest.$ac_ext <<EOF
15753 #line 15754 "configure"
15754 #include "confdefs.h"
15755 /* Override any gcc2 internal prototype to avoid an error. */
15756 /* We use char because int might match the return type of a gcc2
15757 builtin and then its argument prototype would still apply. */
15758 char TIFFError();
15759
15760 int main() {
15761 TIFFError()
15762 ; return 0; }
15763 EOF
15764 if { (eval echo configure:15765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15765 rm -rf conftest*
15766 eval "ac_cv_lib_$ac_lib_var=yes"
15767 else
15768 echo "configure: failed program was:" >&5
15769 cat conftest.$ac_ext >&5
15770 rm -rf conftest*
15771 eval "ac_cv_lib_$ac_lib_var=no"
15772 fi
15773 rm -f conftest*
15774 LIBS="$ac_save_LIBS"
15775
15776 fi
15777 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15778 echo "$ac_t""yes" 1>&6
15779 TIFF_LINK="-ltiff"
15780 else
15781 echo "$ac_t""no" 1>&6
15782 fi
15783
15784 else
15785 echo "$ac_t""no" 1>&6
15786 fi
15787
15788 if test "x$TIFF_LINK" = "x" ; then
15789 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
15790 fi
15791 fi
15792 fi
15793
15794 FREETYPE_INCLUDE=
15795 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
15796 cat >> confdefs.h <<\EOF
15797 #define wxUSE_FREETYPE 1
15798 EOF
15799
15800 if test "$wxUSE_FREETYPE" = "yes" ; then
15801 FREETYPE_INCLUDE="-I\${top_srcdir}/src/freetype"
15802 else
15803 FREETYPE_LINK=
15804 ac_safe=`echo "freetype.h" | sed 'y%./+-%__p_%'`
15805 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
15806 echo "configure:15807: checking for freetype.h" >&5
15807 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15808 echo $ac_n "(cached) $ac_c" 1>&6
15809 else
15810 cat > conftest.$ac_ext <<EOF
15811 #line 15812 "configure"
15812 #include "confdefs.h"
15813 #include <freetype.h>
15814 EOF
15815 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15816 { (eval echo configure:15817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15817 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15818 if test -z "$ac_err"; then
15819 rm -rf conftest*
15820 eval "ac_cv_header_$ac_safe=yes"
15821 else
15822 echo "$ac_err" >&5
15823 echo "configure: failed program was:" >&5
15824 cat conftest.$ac_ext >&5
15825 rm -rf conftest*
15826 eval "ac_cv_header_$ac_safe=no"
15827 fi
15828 rm -f conftest*
15829 fi
15830 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15831 echo "$ac_t""yes" 1>&6
15832 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
15833 echo "configure:15834: checking for FT_Render_Glyph in -lfreetype" >&5
15834 ac_lib_var=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
15835 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15836 echo $ac_n "(cached) $ac_c" 1>&6
15837 else
15838 ac_save_LIBS="$LIBS"
15839 LIBS="-lfreetype -lm $LIBS"
15840 cat > conftest.$ac_ext <<EOF
15841 #line 15842 "configure"
15842 #include "confdefs.h"
15843 /* Override any gcc2 internal prototype to avoid an error. */
15844 /* We use char because int might match the return type of a gcc2
15845 builtin and then its argument prototype would still apply. */
15846 char FT_Render_Glyph();
15847
15848 int main() {
15849 FT_Render_Glyph()
15850 ; return 0; }
15851 EOF
15852 if { (eval echo configure:15853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15853 rm -rf conftest*
15854 eval "ac_cv_lib_$ac_lib_var=yes"
15855 else
15856 echo "configure: failed program was:" >&5
15857 cat conftest.$ac_ext >&5
15858 rm -rf conftest*
15859 eval "ac_cv_lib_$ac_lib_var=no"
15860 fi
15861 rm -f conftest*
15862 LIBS="$ac_save_LIBS"
15863
15864 fi
15865 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15866 echo "$ac_t""yes" 1>&6
15867 FREETYPE_LINK="-lfreetype"
15868 else
15869 echo "$ac_t""no" 1>&6
15870 fi
15871
15872
15873 else
15874 echo "$ac_t""no" 1>&6
15875 fi
15876
15877 if test "x$FREETYPE_LINK" = "x" ; then
15878 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
15879 fi
15880 fi
15881 fi
15882
15883
15884 if test "$wxUSE_GUI" = "yes"; then
15885 cat >> confdefs.h <<\EOF
15886 #define wxUSE_GUI 1
15887 EOF
15888
15889
15890 else
15891 cat >> confdefs.h <<\EOF
15892 #define wxUSE_NOGUI 1
15893 EOF
15894
15895 fi
15896
15897
15898 if test "$wxUSE_UNIX" = "yes"; then
15899 cat >> confdefs.h <<\EOF
15900 #define wxUSE_UNIX 1
15901 EOF
15902
15903 fi
15904
15905
15906 if test "$wxUSE_APPLE_IEEE" = "yes"; then
15907 cat >> confdefs.h <<\EOF
15908 #define wxUSE_APPLE_IEEE 1
15909 EOF
15910
15911 fi
15912
15913 if test "$wxUSE_TIMER" = "yes"; then
15914 cat >> confdefs.h <<\EOF
15915 #define wxUSE_TIMER 1
15916 EOF
15917
15918 fi
15919
15920 if test "$wxUSE_WAVE" = "yes"; then
15921 cat >> confdefs.h <<\EOF
15922 #define wxUSE_WAVE 1
15923 EOF
15924
15925 fi
15926
15927 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15928 cat >> confdefs.h <<\EOF
15929 #define wxUSE_CMDLINE_PARSER 1
15930 EOF
15931
15932 fi
15933
15934 if test "$wxUSE_STOPWATCH" = "yes"; then
15935 cat >> confdefs.h <<\EOF
15936 #define wxUSE_STOPWATCH 1
15937 EOF
15938
15939 fi
15940
15941 if test "$wxUSE_DATETIME" = "yes"; then
15942 cat >> confdefs.h <<\EOF
15943 #define wxUSE_DATETIME 1
15944 EOF
15945
15946 fi
15947
15948 if test "$wxUSE_TIMEDATE" = "yes"; then
15949 cat >> confdefs.h <<\EOF
15950 #define wxUSE_TIMEDATE 1
15951 EOF
15952
15953 fi
15954
15955 if test "$wxUSE_FILE" = "yes"; then
15956 cat >> confdefs.h <<\EOF
15957 #define wxUSE_FILE 1
15958 EOF
15959
15960 fi
15961
15962 if test "$wxUSE_FFILE" = "yes"; then
15963 cat >> confdefs.h <<\EOF
15964 #define wxUSE_FFILE 1
15965 EOF
15966
15967 fi
15968
15969 if test "$wxUSE_FILESYSTEM" = "yes"; then
15970 cat >> confdefs.h <<\EOF
15971 #define wxUSE_FILESYSTEM 1
15972 EOF
15973
15974 fi
15975
15976 if test "$wxUSE_FS_INET" = "yes"; then
15977 cat >> confdefs.h <<\EOF
15978 #define wxUSE_FS_INET 1
15979 EOF
15980
15981 fi
15982
15983 if test "$wxUSE_FS_ZIP" = "yes"; then
15984 cat >> confdefs.h <<\EOF
15985 #define wxUSE_FS_ZIP 1
15986 EOF
15987
15988 fi
15989
15990 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15991 cat >> confdefs.h <<\EOF
15992 #define wxUSE_ZIPSTREAM 1
15993 EOF
15994
15995 fi
15996
15997 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15998 cat >> confdefs.h <<\EOF
15999 #define wxUSE_ON_FATAL_EXCEPTION 1
16000 EOF
16001
16002 fi
16003
16004 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16005 cat >> confdefs.h <<\EOF
16006 #define wxUSE_SNGLINST_CHECKER 1
16007 EOF
16008
16009 fi
16010
16011 if test "$wxUSE_BUSYINFO" = "yes"; then
16012 cat >> confdefs.h <<\EOF
16013 #define wxUSE_BUSYINFO 1
16014 EOF
16015
16016 fi
16017
16018 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
16019 cat >> confdefs.h <<\EOF
16020 #define wxUSE_STD_IOSTREAM 1
16021 EOF
16022
16023 fi
16024
16025 if test "$wxUSE_TEXTFILE" = "yes"; then
16026 if test "$wxUSE_FILE" != "yes"; then
16027 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
16028 else
16029 cat >> confdefs.h <<\EOF
16030 #define wxUSE_TEXTFILE 1
16031 EOF
16032
16033 fi
16034 fi
16035
16036 if test "$wxUSE_CONFIG" = "yes" ; then
16037 if test "$wxUSE_TEXTFILE" != "yes"; then
16038 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
16039 else
16040 cat >> confdefs.h <<\EOF
16041 #define wxUSE_CONFIG 1
16042 EOF
16043
16044 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
16045 fi
16046 fi
16047
16048 if test "$wxUSE_INTL" = "yes" ; then
16049 if test "$wxUSE_FILE" != "yes"; then
16050 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
16051 else
16052 cat >> confdefs.h <<\EOF
16053 #define wxUSE_INTL 1
16054 EOF
16055
16056 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
16057 GUIDIST="$GUIDIST INTL_DIST"
16058 fi
16059 fi
16060
16061 if test "$wxUSE_LOG" = "yes"; then
16062 cat >> confdefs.h <<\EOF
16063 #define wxUSE_LOG 1
16064 EOF
16065
16066
16067 if test "$wxUSE_LOGGUI" = "yes"; then
16068 cat >> confdefs.h <<\EOF
16069 #define wxUSE_LOGGUI 1
16070 EOF
16071
16072 fi
16073
16074 if test "$wxUSE_LOGWINDOW" = "yes"; then
16075 cat >> confdefs.h <<\EOF
16076 #define wxUSE_LOGWINDOW 1
16077 EOF
16078
16079 fi
16080 fi
16081
16082 if test "$wxUSE_LONGLONG" = "yes"; then
16083 cat >> confdefs.h <<\EOF
16084 #define wxUSE_LONGLONG 1
16085 EOF
16086
16087 fi
16088
16089 if test "$wxUSE_GEOMETRY" = "yes"; then
16090 cat >> confdefs.h <<\EOF
16091 #define wxUSE_GEOMETRY 1
16092 EOF
16093
16094 fi
16095
16096 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
16097 cat >> confdefs.h <<\EOF
16098 #define wxUSE_DIALUP_MANAGER 1
16099 EOF
16100
16101 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
16102 fi
16103
16104 if test "$wxUSE_STREAMS" = "yes" ; then
16105 cat >> confdefs.h <<\EOF
16106 #define wxUSE_STREAMS 1
16107 EOF
16108
16109 fi
16110
16111
16112 if test "$wxUSE_DATETIME" = "yes"; then
16113 for ac_func in strptime
16114 do
16115 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16116 echo "configure:16117: checking for $ac_func" >&5
16117 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16118 echo $ac_n "(cached) $ac_c" 1>&6
16119 else
16120 cat > conftest.$ac_ext <<EOF
16121 #line 16122 "configure"
16122 #include "confdefs.h"
16123 /* System header to define __stub macros and hopefully few prototypes,
16124 which can conflict with char $ac_func(); below. */
16125 #include <assert.h>
16126 /* Override any gcc2 internal prototype to avoid an error. */
16127 /* We use char because int might match the return type of a gcc2
16128 builtin and then its argument prototype would still apply. */
16129 char $ac_func();
16130
16131 int main() {
16132
16133 /* The GNU C library defines this for functions which it implements
16134 to always fail with ENOSYS. Some functions are actually named
16135 something starting with __ and the normal name is an alias. */
16136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16137 choke me
16138 #else
16139 $ac_func();
16140 #endif
16141
16142 ; return 0; }
16143 EOF
16144 if { (eval echo configure:16145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16145 rm -rf conftest*
16146 eval "ac_cv_func_$ac_func=yes"
16147 else
16148 echo "configure: failed program was:" >&5
16149 cat conftest.$ac_ext >&5
16150 rm -rf conftest*
16151 eval "ac_cv_func_$ac_func=no"
16152 fi
16153 rm -f conftest*
16154 fi
16155
16156 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16157 echo "$ac_t""yes" 1>&6
16158 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16159 cat >> confdefs.h <<EOF
16160 #define $ac_tr_func 1
16161 EOF
16162
16163 else
16164 echo "$ac_t""no" 1>&6
16165 fi
16166 done
16167
16168
16169 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
16170 echo "configure:16171: checking for timezone variable in <time.h>" >&5
16171 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
16172 echo $ac_n "(cached) $ac_c" 1>&6
16173 else
16174
16175 cat > conftest.$ac_ext <<EOF
16176 #line 16177 "configure"
16177 #include "confdefs.h"
16178
16179 #include <time.h>
16180
16181 int main() {
16182
16183 int tz;
16184 tz = timezone;
16185
16186 ; return 0; }
16187 EOF
16188 if { (eval echo configure:16189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16189 rm -rf conftest*
16190
16191 wx_cv_var_timezone=timezone
16192
16193 else
16194 echo "configure: failed program was:" >&5
16195 cat conftest.$ac_ext >&5
16196 rm -rf conftest*
16197
16198 cat > conftest.$ac_ext <<EOF
16199 #line 16200 "configure"
16200 #include "confdefs.h"
16201
16202 #include <time.h>
16203
16204 int main() {
16205
16206 int tz;
16207 tz = _timezone;
16208
16209 ; return 0; }
16210 EOF
16211 if { (eval echo configure:16212: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16212 rm -rf conftest*
16213
16214 wx_cv_var_timezone=_timezone
16215
16216 else
16217 echo "configure: failed program was:" >&5
16218 cat conftest.$ac_ext >&5
16219 rm -rf conftest*
16220
16221 cat > conftest.$ac_ext <<EOF
16222 #line 16223 "configure"
16223 #include "confdefs.h"
16224
16225 #include <time.h>
16226
16227 int main() {
16228
16229 int tz;
16230 tz = __timezone;
16231
16232 ; return 0; }
16233 EOF
16234 if { (eval echo configure:16235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16235 rm -rf conftest*
16236
16237 wx_cv_var_timezone=__timezone
16238
16239 else
16240 echo "configure: failed program was:" >&5
16241 cat conftest.$ac_ext >&5
16242 rm -rf conftest*
16243 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
16244
16245 fi
16246 rm -f conftest*
16247
16248
16249 fi
16250 rm -f conftest*
16251
16252
16253 fi
16254 rm -f conftest*
16255
16256
16257 fi
16258
16259 echo "$ac_t""$wx_cv_var_timezone" 1>&6
16260
16261 cat >> confdefs.h <<EOF
16262 #define WX_TIMEZONE $wx_cv_var_timezone
16263 EOF
16264
16265
16266 for ac_func in localtime
16267 do
16268 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16269 echo "configure:16270: checking for $ac_func" >&5
16270 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16271 echo $ac_n "(cached) $ac_c" 1>&6
16272 else
16273 cat > conftest.$ac_ext <<EOF
16274 #line 16275 "configure"
16275 #include "confdefs.h"
16276 /* System header to define __stub macros and hopefully few prototypes,
16277 which can conflict with char $ac_func(); below. */
16278 #include <assert.h>
16279 /* Override any gcc2 internal prototype to avoid an error. */
16280 /* We use char because int might match the return type of a gcc2
16281 builtin and then its argument prototype would still apply. */
16282 char $ac_func();
16283
16284 int main() {
16285
16286 /* The GNU C library defines this for functions which it implements
16287 to always fail with ENOSYS. Some functions are actually named
16288 something starting with __ and the normal name is an alias. */
16289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16290 choke me
16291 #else
16292 $ac_func();
16293 #endif
16294
16295 ; return 0; }
16296 EOF
16297 if { (eval echo configure:16298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16298 rm -rf conftest*
16299 eval "ac_cv_func_$ac_func=yes"
16300 else
16301 echo "configure: failed program was:" >&5
16302 cat conftest.$ac_ext >&5
16303 rm -rf conftest*
16304 eval "ac_cv_func_$ac_func=no"
16305 fi
16306 rm -f conftest*
16307 fi
16308
16309 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16310 echo "$ac_t""yes" 1>&6
16311 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16312 cat >> confdefs.h <<EOF
16313 #define $ac_tr_func 1
16314 EOF
16315
16316 else
16317 echo "$ac_t""no" 1>&6
16318 fi
16319 done
16320
16321
16322 if test "$ac_cv_func_localtime" = "yes"; then
16323 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
16324 echo "configure:16325: checking for tm_gmtoff in struct tm" >&5
16325 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
16326 echo $ac_n "(cached) $ac_c" 1>&6
16327 else
16328
16329 cat > conftest.$ac_ext <<EOF
16330 #line 16331 "configure"
16331 #include "confdefs.h"
16332
16333 #include <time.h>
16334
16335 int main() {
16336
16337 struct tm tm;
16338 tm.tm_gmtoff++;
16339
16340 ; return 0; }
16341 EOF
16342 if { (eval echo configure:16343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16343 rm -rf conftest*
16344
16345 wx_cv_struct_tm_has_gmtoff=yes
16346
16347 else
16348 echo "configure: failed program was:" >&5
16349 cat conftest.$ac_ext >&5
16350 rm -rf conftest*
16351 wx_cv_struct_tm_has_gmtoff=no
16352
16353 fi
16354 rm -f conftest*
16355
16356 fi
16357
16358 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
16359 fi
16360
16361 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
16362 cat >> confdefs.h <<\EOF
16363 #define WX_GMTOFF_IN_TM 1
16364 EOF
16365
16366 fi
16367
16368 for ac_func in gettimeofday ftime
16369 do
16370 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16371 echo "configure:16372: checking for $ac_func" >&5
16372 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16373 echo $ac_n "(cached) $ac_c" 1>&6
16374 else
16375 cat > conftest.$ac_ext <<EOF
16376 #line 16377 "configure"
16377 #include "confdefs.h"
16378 /* System header to define __stub macros and hopefully few prototypes,
16379 which can conflict with char $ac_func(); below. */
16380 #include <assert.h>
16381 /* Override any gcc2 internal prototype to avoid an error. */
16382 /* We use char because int might match the return type of a gcc2
16383 builtin and then its argument prototype would still apply. */
16384 char $ac_func();
16385
16386 int main() {
16387
16388 /* The GNU C library defines this for functions which it implements
16389 to always fail with ENOSYS. Some functions are actually named
16390 something starting with __ and the normal name is an alias. */
16391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16392 choke me
16393 #else
16394 $ac_func();
16395 #endif
16396
16397 ; return 0; }
16398 EOF
16399 if { (eval echo configure:16400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16400 rm -rf conftest*
16401 eval "ac_cv_func_$ac_func=yes"
16402 else
16403 echo "configure: failed program was:" >&5
16404 cat conftest.$ac_ext >&5
16405 rm -rf conftest*
16406 eval "ac_cv_func_$ac_func=no"
16407 fi
16408 rm -f conftest*
16409 fi
16410
16411 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16412 echo "$ac_t""yes" 1>&6
16413 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16414 cat >> confdefs.h <<EOF
16415 #define $ac_tr_func 1
16416 EOF
16417 break
16418 else
16419 echo "$ac_t""no" 1>&6
16420 fi
16421 done
16422
16423
16424 if test "$ac_cv_func_gettimeofday" = "yes"; then
16425 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
16426 echo "configure:16427: checking whether gettimeofday takes two arguments" >&5
16427 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
16428 echo $ac_n "(cached) $ac_c" 1>&6
16429 else
16430
16431
16432 ac_ext=C
16433 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16434 ac_cpp='$CXXCPP $CPPFLAGS'
16435 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16436 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16437 cross_compiling=$ac_cv_prog_cxx_cross
16438
16439
16440 cat > conftest.$ac_ext <<EOF
16441 #line 16442 "configure"
16442 #include "confdefs.h"
16443
16444 #include <sys/time.h>
16445 #include <unistd.h>
16446
16447 int main() {
16448
16449 struct timeval tv;
16450 gettimeofday(&tv, NULL);
16451
16452 ; return 0; }
16453 EOF
16454 if { (eval echo configure:16455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16455 rm -rf conftest*
16456 wx_cv_func_gettimeofday_has_2_args=yes
16457 else
16458 echo "configure: failed program was:" >&5
16459 cat conftest.$ac_ext >&5
16460 rm -rf conftest*
16461 cat > conftest.$ac_ext <<EOF
16462 #line 16463 "configure"
16463 #include "confdefs.h"
16464
16465 #include <sys/time.h>
16466 #include <unistd.h>
16467
16468 int main() {
16469
16470 struct timeval tv;
16471 gettimeofday(&tv);
16472
16473 ; return 0; }
16474 EOF
16475 if { (eval echo configure:16476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16476 rm -rf conftest*
16477 wx_cv_func_gettimeofday_has_2_args=no
16478 else
16479 echo "configure: failed program was:" >&5
16480 cat conftest.$ac_ext >&5
16481 rm -rf conftest*
16482
16483 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
16484 wx_cv_func_gettimeofday_has_2_args=unknown
16485
16486
16487 fi
16488 rm -f conftest*
16489
16490 fi
16491 rm -f conftest*
16492 ac_ext=c
16493 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16494 ac_cpp='$CPP $CPPFLAGS'
16495 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16496 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16497 cross_compiling=$ac_cv_prog_cc_cross
16498
16499
16500 fi
16501
16502 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
16503
16504 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
16505 cat >> confdefs.h <<\EOF
16506 #define WX_GETTIMEOFDAY_NO_TZ 1
16507 EOF
16508
16509 fi
16510 fi
16511
16512 cat >> confdefs.h <<\EOF
16513 #define wxUSE_TIMEDATE 1
16514 EOF
16515
16516 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
16517 fi
16518
16519
16520 if test "$TOOLKIT" != "MSW"; then
16521
16522 if test "$wxUSE_SOCKETS" = "yes"; then
16523 echo $ac_n "checking for socket""... $ac_c" 1>&6
16524 echo "configure:16525: checking for socket" >&5
16525 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
16526 echo $ac_n "(cached) $ac_c" 1>&6
16527 else
16528 cat > conftest.$ac_ext <<EOF
16529 #line 16530 "configure"
16530 #include "confdefs.h"
16531 /* System header to define __stub macros and hopefully few prototypes,
16532 which can conflict with char socket(); below. */
16533 #include <assert.h>
16534 /* Override any gcc2 internal prototype to avoid an error. */
16535 /* We use char because int might match the return type of a gcc2
16536 builtin and then its argument prototype would still apply. */
16537 char socket();
16538
16539 int main() {
16540
16541 /* The GNU C library defines this for functions which it implements
16542 to always fail with ENOSYS. Some functions are actually named
16543 something starting with __ and the normal name is an alias. */
16544 #if defined (__stub_socket) || defined (__stub___socket)
16545 choke me
16546 #else
16547 socket();
16548 #endif
16549
16550 ; return 0; }
16551 EOF
16552 if { (eval echo configure:16553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16553 rm -rf conftest*
16554 eval "ac_cv_func_socket=yes"
16555 else
16556 echo "configure: failed program was:" >&5
16557 cat conftest.$ac_ext >&5
16558 rm -rf conftest*
16559 eval "ac_cv_func_socket=no"
16560 fi
16561 rm -f conftest*
16562 fi
16563
16564 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16565 echo "$ac_t""yes" 1>&6
16566 :
16567 else
16568 echo "$ac_t""no" 1>&6
16569 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16570 echo "configure:16571: checking for socket in -lsocket" >&5
16571 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16572 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16573 echo $ac_n "(cached) $ac_c" 1>&6
16574 else
16575 ac_save_LIBS="$LIBS"
16576 LIBS="-lsocket $LIBS"
16577 cat > conftest.$ac_ext <<EOF
16578 #line 16579 "configure"
16579 #include "confdefs.h"
16580 /* Override any gcc2 internal prototype to avoid an error. */
16581 /* We use char because int might match the return type of a gcc2
16582 builtin and then its argument prototype would still apply. */
16583 char socket();
16584
16585 int main() {
16586 socket()
16587 ; return 0; }
16588 EOF
16589 if { (eval echo configure:16590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16590 rm -rf conftest*
16591 eval "ac_cv_lib_$ac_lib_var=yes"
16592 else
16593 echo "configure: failed program was:" >&5
16594 cat conftest.$ac_ext >&5
16595 rm -rf conftest*
16596 eval "ac_cv_lib_$ac_lib_var=no"
16597 fi
16598 rm -f conftest*
16599 LIBS="$ac_save_LIBS"
16600
16601 fi
16602 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16603 echo "$ac_t""yes" 1>&6
16604 INET_LINK="$INET_LINK -lsocket"
16605 else
16606 echo "$ac_t""no" 1>&6
16607
16608 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
16609 wxUSE_SOCKETS=no
16610
16611
16612 fi
16613
16614
16615 fi
16616
16617 fi
16618
16619
16620 if test "$wxUSE_SOCKETS" = "yes" ; then
16621 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
16622 echo "configure:16623: checking what is the type of the third argument of getsockname" >&5
16623 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
16624 echo $ac_n "(cached) $ac_c" 1>&6
16625 else
16626
16627
16628 ac_ext=C
16629 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16630 ac_cpp='$CXXCPP $CPPFLAGS'
16631 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16632 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16633 cross_compiling=$ac_cv_prog_cxx_cross
16634
16635
16636 cat > conftest.$ac_ext <<EOF
16637 #line 16638 "configure"
16638 #include "confdefs.h"
16639
16640 #include <sys/types.h>
16641 #include <sys/socket.h>
16642
16643 int main() {
16644
16645 socklen_t len;
16646 getsockname(0, 0, &len);
16647
16648 ; return 0; }
16649 EOF
16650 if { (eval echo configure:16651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16651 rm -rf conftest*
16652 wx_cv_type_getsockname3=socklen_t
16653 else
16654 echo "configure: failed program was:" >&5
16655 cat conftest.$ac_ext >&5
16656 rm -rf conftest*
16657 cat > conftest.$ac_ext <<EOF
16658 #line 16659 "configure"
16659 #include "confdefs.h"
16660
16661 #include <sys/types.h>
16662 #include <sys/socket.h>
16663
16664 int main() {
16665
16666 size_t len;
16667 getsockname(0, 0, &len);
16668
16669 ; return 0; }
16670 EOF
16671 if { (eval echo configure:16672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16672 rm -rf conftest*
16673 wx_cv_type_getsockname3=size_t
16674 else
16675 echo "configure: failed program was:" >&5
16676 cat conftest.$ac_ext >&5
16677 rm -rf conftest*
16678 cat > conftest.$ac_ext <<EOF
16679 #line 16680 "configure"
16680 #include "confdefs.h"
16681
16682 #include <sys/types.h>
16683 #include <sys/socket.h>
16684
16685 int main() {
16686
16687 int len;
16688 getsockname(0, 0, &len);
16689
16690 ; return 0; }
16691 EOF
16692 if { (eval echo configure:16693: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16693 rm -rf conftest*
16694 wx_cv_type_getsockname3=int
16695 else
16696 echo "configure: failed program was:" >&5
16697 cat conftest.$ac_ext >&5
16698 rm -rf conftest*
16699 wx_cv_type_getsockname3=unknown
16700
16701 fi
16702 rm -f conftest*
16703
16704 fi
16705 rm -f conftest*
16706
16707 fi
16708 rm -f conftest*
16709
16710 ac_ext=c
16711 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16712 ac_cpp='$CPP $CPPFLAGS'
16713 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16714 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16715 cross_compiling=$ac_cv_prog_cc_cross
16716
16717
16718 fi
16719
16720 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
16721
16722 if test "$wx_cv_type_getsockname3" = "unknown"; then
16723 wxUSE_SOCKETS=no
16724 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
16725 else
16726 cat >> confdefs.h <<EOF
16727 #define SOCKLEN_T $wx_cv_type_getsockname3
16728 EOF
16729
16730 fi
16731 fi
16732 fi
16733
16734 if test "$wxUSE_SOCKETS" = "yes" ; then
16735 cat >> confdefs.h <<\EOF
16736 #define wxUSE_SOCKETS 1
16737 EOF
16738
16739 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
16740 fi
16741
16742
16743 if test "$wxUSE_GUI" = "yes"; then
16744
16745 if test "$TOOLKIT" != "MSW"; then
16746 if test "$wxUSE_JOYSTICK" = "yes"; then
16747 for ac_hdr in linux/joystick.h
16748 do
16749 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16750 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16751 echo "configure:16752: checking for $ac_hdr" >&5
16752 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16753 echo $ac_n "(cached) $ac_c" 1>&6
16754 else
16755 cat > conftest.$ac_ext <<EOF
16756 #line 16757 "configure"
16757 #include "confdefs.h"
16758 #include <$ac_hdr>
16759 EOF
16760 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16761 { (eval echo configure:16762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16762 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16763 if test -z "$ac_err"; then
16764 rm -rf conftest*
16765 eval "ac_cv_header_$ac_safe=yes"
16766 else
16767 echo "$ac_err" >&5
16768 echo "configure: failed program was:" >&5
16769 cat conftest.$ac_ext >&5
16770 rm -rf conftest*
16771 eval "ac_cv_header_$ac_safe=no"
16772 fi
16773 rm -f conftest*
16774 fi
16775 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16776 echo "$ac_t""yes" 1>&6
16777 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16778 cat >> confdefs.h <<EOF
16779 #define $ac_tr_hdr 1
16780 EOF
16781
16782 else
16783 echo "$ac_t""no" 1>&6
16784 fi
16785 done
16786
16787 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
16788 wxUSE_JOYSTICK=no
16789 echo "configure: warning: Joystick not supported by this system" 1>&2
16790 fi
16791 fi
16792 fi
16793
16794 if test "$wxUSE_JOYSTICK" = "yes"; then
16795 cat >> confdefs.h <<\EOF
16796 #define wxUSE_JOYSTICK 1
16797 EOF
16798
16799 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
16800 fi
16801 fi
16802
16803
16804 if test "$TOOLKIT" != "MSW"; then
16805
16806 HAVE_DL_FUNCS=0
16807 HAVE_SHL_FUNCS=0
16808 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16809 if test "$USE_DARWIN" = 1; then
16810 HAVE_DL_FUNCS=1
16811 else
16812 for ac_func in dlopen
16813 do
16814 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16815 echo "configure:16816: checking for $ac_func" >&5
16816 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16817 echo $ac_n "(cached) $ac_c" 1>&6
16818 else
16819 cat > conftest.$ac_ext <<EOF
16820 #line 16821 "configure"
16821 #include "confdefs.h"
16822 /* System header to define __stub macros and hopefully few prototypes,
16823 which can conflict with char $ac_func(); below. */
16824 #include <assert.h>
16825 /* Override any gcc2 internal prototype to avoid an error. */
16826 /* We use char because int might match the return type of a gcc2
16827 builtin and then its argument prototype would still apply. */
16828 char $ac_func();
16829
16830 int main() {
16831
16832 /* The GNU C library defines this for functions which it implements
16833 to always fail with ENOSYS. Some functions are actually named
16834 something starting with __ and the normal name is an alias. */
16835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16836 choke me
16837 #else
16838 $ac_func();
16839 #endif
16840
16841 ; return 0; }
16842 EOF
16843 if { (eval echo configure:16844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16844 rm -rf conftest*
16845 eval "ac_cv_func_$ac_func=yes"
16846 else
16847 echo "configure: failed program was:" >&5
16848 cat conftest.$ac_ext >&5
16849 rm -rf conftest*
16850 eval "ac_cv_func_$ac_func=no"
16851 fi
16852 rm -f conftest*
16853 fi
16854
16855 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16856 echo "$ac_t""yes" 1>&6
16857 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16858 cat >> confdefs.h <<EOF
16859 #define $ac_tr_func 1
16860 EOF
16861
16862 cat >> confdefs.h <<\EOF
16863 #define HAVE_DLOPEN 1
16864 EOF
16865
16866 HAVE_DL_FUNCS=1
16867
16868 else
16869 echo "$ac_t""no" 1>&6
16870 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16871 echo "configure:16872: checking for dlopen in -ldl" >&5
16872 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16873 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16874 echo $ac_n "(cached) $ac_c" 1>&6
16875 else
16876 ac_save_LIBS="$LIBS"
16877 LIBS="-ldl $LIBS"
16878 cat > conftest.$ac_ext <<EOF
16879 #line 16880 "configure"
16880 #include "confdefs.h"
16881 /* Override any gcc2 internal prototype to avoid an error. */
16882 /* We use char because int might match the return type of a gcc2
16883 builtin and then its argument prototype would still apply. */
16884 char dlopen();
16885
16886 int main() {
16887 dlopen()
16888 ; return 0; }
16889 EOF
16890 if { (eval echo configure:16891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16891 rm -rf conftest*
16892 eval "ac_cv_lib_$ac_lib_var=yes"
16893 else
16894 echo "configure: failed program was:" >&5
16895 cat conftest.$ac_ext >&5
16896 rm -rf conftest*
16897 eval "ac_cv_lib_$ac_lib_var=no"
16898 fi
16899 rm -f conftest*
16900 LIBS="$ac_save_LIBS"
16901
16902 fi
16903 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16904 echo "$ac_t""yes" 1>&6
16905
16906 cat >> confdefs.h <<\EOF
16907 #define HAVE_DLOPEN 1
16908 EOF
16909
16910 HAVE_DL_FUNCS=1
16911 LIBS="$LIBS -ldl"
16912
16913 else
16914 echo "$ac_t""no" 1>&6
16915
16916 for ac_func in shl_load
16917 do
16918 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16919 echo "configure:16920: checking for $ac_func" >&5
16920 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16921 echo $ac_n "(cached) $ac_c" 1>&6
16922 else
16923 cat > conftest.$ac_ext <<EOF
16924 #line 16925 "configure"
16925 #include "confdefs.h"
16926 /* System header to define __stub macros and hopefully few prototypes,
16927 which can conflict with char $ac_func(); below. */
16928 #include <assert.h>
16929 /* Override any gcc2 internal prototype to avoid an error. */
16930 /* We use char because int might match the return type of a gcc2
16931 builtin and then its argument prototype would still apply. */
16932 char $ac_func();
16933
16934 int main() {
16935
16936 /* The GNU C library defines this for functions which it implements
16937 to always fail with ENOSYS. Some functions are actually named
16938 something starting with __ and the normal name is an alias. */
16939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16940 choke me
16941 #else
16942 $ac_func();
16943 #endif
16944
16945 ; return 0; }
16946 EOF
16947 if { (eval echo configure:16948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16948 rm -rf conftest*
16949 eval "ac_cv_func_$ac_func=yes"
16950 else
16951 echo "configure: failed program was:" >&5
16952 cat conftest.$ac_ext >&5
16953 rm -rf conftest*
16954 eval "ac_cv_func_$ac_func=no"
16955 fi
16956 rm -f conftest*
16957 fi
16958
16959 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16960 echo "$ac_t""yes" 1>&6
16961 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16962 cat >> confdefs.h <<EOF
16963 #define $ac_tr_func 1
16964 EOF
16965
16966 cat >> confdefs.h <<\EOF
16967 #define HAVE_SHL_LOAD 1
16968 EOF
16969
16970 HAVE_SHL_FUNCS=1
16971
16972 else
16973 echo "$ac_t""no" 1>&6
16974 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16975 echo "configure:16976: checking for dld in -lshl_load" >&5
16976 ac_lib_var=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16977 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16978 echo $ac_n "(cached) $ac_c" 1>&6
16979 else
16980 ac_save_LIBS="$LIBS"
16981 LIBS="-lshl_load $LIBS"
16982 cat > conftest.$ac_ext <<EOF
16983 #line 16984 "configure"
16984 #include "confdefs.h"
16985 /* Override any gcc2 internal prototype to avoid an error. */
16986 /* We use char because int might match the return type of a gcc2
16987 builtin and then its argument prototype would still apply. */
16988 char dld();
16989
16990 int main() {
16991 dld()
16992 ; return 0; }
16993 EOF
16994 if { (eval echo configure:16995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16995 rm -rf conftest*
16996 eval "ac_cv_lib_$ac_lib_var=yes"
16997 else
16998 echo "configure: failed program was:" >&5
16999 cat conftest.$ac_ext >&5
17000 rm -rf conftest*
17001 eval "ac_cv_lib_$ac_lib_var=no"
17002 fi
17003 rm -f conftest*
17004 LIBS="$ac_save_LIBS"
17005
17006 fi
17007 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17008 echo "$ac_t""yes" 1>&6
17009
17010 HAVE_SHL_FUNCS=1
17011 LIBS="$LIBS -ldld"
17012
17013 else
17014 echo "$ac_t""no" 1>&6
17015 fi
17016
17017
17018 fi
17019 done
17020
17021
17022 fi
17023
17024
17025 fi
17026 done
17027
17028
17029 if test "$HAVE_DL_FUNCS" = 1; then
17030 for ac_func in dlerror
17031 do
17032 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17033 echo "configure:17034: checking for $ac_func" >&5
17034 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17035 echo $ac_n "(cached) $ac_c" 1>&6
17036 else
17037 cat > conftest.$ac_ext <<EOF
17038 #line 17039 "configure"
17039 #include "confdefs.h"
17040 /* System header to define __stub macros and hopefully few prototypes,
17041 which can conflict with char $ac_func(); below. */
17042 #include <assert.h>
17043 /* Override any gcc2 internal prototype to avoid an error. */
17044 /* We use char because int might match the return type of a gcc2
17045 builtin and then its argument prototype would still apply. */
17046 char $ac_func();
17047
17048 int main() {
17049
17050 /* The GNU C library defines this for functions which it implements
17051 to always fail with ENOSYS. Some functions are actually named
17052 something starting with __ and the normal name is an alias. */
17053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17054 choke me
17055 #else
17056 $ac_func();
17057 #endif
17058
17059 ; return 0; }
17060 EOF
17061 if { (eval echo configure:17062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17062 rm -rf conftest*
17063 eval "ac_cv_func_$ac_func=yes"
17064 else
17065 echo "configure: failed program was:" >&5
17066 cat conftest.$ac_ext >&5
17067 rm -rf conftest*
17068 eval "ac_cv_func_$ac_func=no"
17069 fi
17070 rm -f conftest*
17071 fi
17072
17073 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17074 echo "$ac_t""yes" 1>&6
17075 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17076 cat >> confdefs.h <<EOF
17077 #define $ac_tr_func 1
17078 EOF
17079 cat >> confdefs.h <<\EOF
17080 #define HAVE_DLERROR 1
17081 EOF
17082
17083 else
17084 echo "$ac_t""no" 1>&6
17085 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
17086 echo "configure:17087: checking for dlerror in -ldl" >&5
17087 ac_lib_var=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
17088 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17089 echo $ac_n "(cached) $ac_c" 1>&6
17090 else
17091 ac_save_LIBS="$LIBS"
17092 LIBS="-ldl $LIBS"
17093 cat > conftest.$ac_ext <<EOF
17094 #line 17095 "configure"
17095 #include "confdefs.h"
17096 /* Override any gcc2 internal prototype to avoid an error. */
17097 /* We use char because int might match the return type of a gcc2
17098 builtin and then its argument prototype would still apply. */
17099 char dlerror();
17100
17101 int main() {
17102 dlerror()
17103 ; return 0; }
17104 EOF
17105 if { (eval echo configure:17106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17106 rm -rf conftest*
17107 eval "ac_cv_lib_$ac_lib_var=yes"
17108 else
17109 echo "configure: failed program was:" >&5
17110 cat conftest.$ac_ext >&5
17111 rm -rf conftest*
17112 eval "ac_cv_lib_$ac_lib_var=no"
17113 fi
17114 rm -f conftest*
17115 LIBS="$ac_save_LIBS"
17116
17117 fi
17118 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17119 echo "$ac_t""yes" 1>&6
17120 cat >> confdefs.h <<\EOF
17121 #define HAVE_DLERROR 1
17122 EOF
17123
17124 else
17125 echo "$ac_t""no" 1>&6
17126 fi
17127
17128 fi
17129 done
17130
17131 fi
17132 fi
17133
17134 if test "$HAVE_DL_FUNCS" = 0; then
17135 if test "$HAVE_SHL_FUNCS" = 0; then
17136 if test "$USE_UNIX" = 1; then
17137 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
17138 wxUSE_DYNLIB_CLASS=no
17139 else
17140 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
17141 fi
17142 fi
17143 fi
17144 fi
17145 fi
17146
17147 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17148 cat >> confdefs.h <<\EOF
17149 #define wxUSE_DYNLIB_CLASS 1
17150 EOF
17151
17152 else
17153 wxUSE_ODBC=no
17154 wxUSE_SERIAL=no
17155 fi
17156
17157
17158 if test "$wxUSE_FONTMAP" = "yes" ; then
17159 cat >> confdefs.h <<\EOF
17160 #define wxUSE_FONTMAP 1
17161 EOF
17162
17163 fi
17164
17165 if test "$wxUSE_UNICODE" = "yes" ; then
17166 cat >> confdefs.h <<\EOF
17167 #define wxUSE_UNICODE 1
17168 EOF
17169
17170 fi
17171
17172 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
17173 cat >> confdefs.h <<\EOF
17174 #define wxUSE_EXPERIMENTAL_PRINTF 1
17175 EOF
17176
17177 fi
17178
17179
17180 if test "$wxUSE_SERIAL" = "yes" ; then
17181 cat >> confdefs.h <<\EOF
17182 #define wxUSE_SERIAL 1
17183 EOF
17184
17185 fi
17186
17187
17188 IODBC_C_SRC=""
17189 if test "$wxUSE_ODBC" = "yes" ; then
17190 cat >> confdefs.h <<\EOF
17191 #define wxUSE_ODBC 1
17192 EOF
17193
17194 WXODBCFLAG="-D_IODBC_"
17195 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
17196 fi
17197
17198
17199 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
17200 cat >> confdefs.h <<\EOF
17201 #define wxUSE_POSTSCRIPT 1
17202 EOF
17203
17204 fi
17205
17206 cat >> confdefs.h <<\EOF
17207 #define wxUSE_AFM_FOR_POSTSCRIPT 1
17208 EOF
17209
17210
17211 cat >> confdefs.h <<\EOF
17212 #define wxUSE_NORMALIZED_PS_FONTS 1
17213 EOF
17214
17215
17216
17217 if test "$wxUSE_CONSTRAINTS" = "yes"; then
17218 cat >> confdefs.h <<\EOF
17219 #define wxUSE_CONSTRAINTS 1
17220 EOF
17221
17222 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
17223 fi
17224
17225 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17226 if test "$wxUSE_UNIVERSAL" = "yes"; then
17227 echo "configure: warning: MDI is not supported for wxUNIVERSAL yet... disabled" 1>&2
17228 wxUSE_MDI_ARCHITECTURE=no
17229 fi
17230
17231 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17232 cat >> confdefs.h <<\EOF
17233 #define wxUSE_MDI_ARCHITECTURE 1
17234 EOF
17235
17236 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
17237 fi
17238 fi
17239
17240 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
17241 cat >> confdefs.h <<\EOF
17242 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
17243 EOF
17244
17245 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
17246 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17247 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
17248 fi
17249 fi
17250
17251 if test "$wxUSE_HELP" = "yes"; then
17252 cat >> confdefs.h <<\EOF
17253 #define wxUSE_HELP 1
17254 EOF
17255
17256 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
17257
17258 if test "$USE_WIN32" = 1; then
17259 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
17260 ac_safe=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
17261 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
17262 echo "configure:17263: checking for htmlhelp.h" >&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 <htmlhelp.h>
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
17289 cat >> confdefs.h <<\EOF
17290 #define wxUSE_MS_HTML_HELP 1
17291 EOF
17292
17293
17294 else
17295 echo "$ac_t""no" 1>&6
17296
17297 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
17298 wxUSE_MS_HTML_HELP=no
17299
17300 fi
17301
17302 fi
17303 fi
17304
17305 if test "$wxUSE_WXHTML_HELP" = "yes"; then
17306 if test "$wxUSE_HTML" = "yes"; then
17307 cat >> confdefs.h <<\EOF
17308 #define wxUSE_WXHTML_HELP 1
17309 EOF
17310
17311 else
17312 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
17313 wxUSE_WXHTML_HELP=no
17314 fi
17315 fi
17316 fi
17317
17318 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
17319 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17320 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
17321 else
17322 cat >> confdefs.h <<\EOF
17323 #define wxUSE_PRINTING_ARCHITECTURE 1
17324 EOF
17325
17326 fi
17327 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
17328 fi
17329
17330 if test "$wxUSE_PROLOGIO" = "yes" ; then
17331 cat >> confdefs.h <<\EOF
17332 #define wxUSE_PROLOGIO 1
17333 EOF
17334
17335 fi
17336
17337 if test "$wxUSE_RESOURCES" = "yes" ; then
17338 cat >> confdefs.h <<\EOF
17339 #define wxUSE_RESOURCES 1
17340 EOF
17341
17342 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS resource"
17343 fi
17344
17345 if test "$wxUSE_X_RESOURCES" = "yes"; then
17346 cat >> confdefs.h <<\EOF
17347 #define wxUSE_X_RESOURCES 1
17348 EOF
17349
17350 fi
17351
17352
17353 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
17354 -o "$wxUSE_CLIPBOARD" = "yes" \
17355 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
17356 for ac_hdr in ole2.h
17357 do
17358 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17359 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17360 echo "configure:17361: checking for $ac_hdr" >&5
17361 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17362 echo $ac_n "(cached) $ac_c" 1>&6
17363 else
17364 cat > conftest.$ac_ext <<EOF
17365 #line 17366 "configure"
17366 #include "confdefs.h"
17367 #include <$ac_hdr>
17368 EOF
17369 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17370 { (eval echo configure:17371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17371 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17372 if test -z "$ac_err"; then
17373 rm -rf conftest*
17374 eval "ac_cv_header_$ac_safe=yes"
17375 else
17376 echo "$ac_err" >&5
17377 echo "configure: failed program was:" >&5
17378 cat conftest.$ac_ext >&5
17379 rm -rf conftest*
17380 eval "ac_cv_header_$ac_safe=no"
17381 fi
17382 rm -f conftest*
17383 fi
17384 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17385 echo "$ac_t""yes" 1>&6
17386 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17387 cat >> confdefs.h <<EOF
17388 #define $ac_tr_hdr 1
17389 EOF
17390
17391 else
17392 echo "$ac_t""no" 1>&6
17393 fi
17394 done
17395
17396
17397 if test "$ac_cv_header_ole2_h" = "yes" ; then
17398 if test "$GCC" = yes ; then
17399 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
17400 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
17401 LIBS="$LIBS -lrpcrt4 -loleaut32 -lole32 -luuid"
17402 cat >> confdefs.h <<\EOF
17403 #define wxUSE_OLE 1
17404 EOF
17405
17406
17407 fi
17408
17409 cat >> confdefs.h <<\EOF
17410 #define wxUSE_DATAOBJ 1
17411 EOF
17412
17413 else
17414 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
17415
17416 wxUSE_CLIPBOARD=no
17417 wxUSE_DRAG_AND_DROP=no
17418 wxUSE_DATAOBJ=no
17419 fi
17420
17421 if test "$wxUSE_METAFILE" = "yes"; then
17422 cat >> confdefs.h <<\EOF
17423 #define wxUSE_METAFILE 1
17424 EOF
17425
17426
17427 cat >> confdefs.h <<\EOF
17428 #define wxUSE_ENH_METAFILE 1
17429 EOF
17430
17431 fi
17432 fi
17433
17434 if test "$wxUSE_IPC" = "yes"; then
17435 if test "$wxUSE_SOCKETS" != "yes"; then
17436 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
17437 fi
17438
17439 cat >> confdefs.h <<\EOF
17440 #define wxUSE_IPC 1
17441 EOF
17442
17443 fi
17444
17445 if test "$wxUSE_CLIPBOARD" = "yes"; then
17446 cat >> confdefs.h <<\EOF
17447 #define wxUSE_CLIPBOARD 1
17448 EOF
17449
17450
17451 cat >> confdefs.h <<\EOF
17452 #define wxUSE_DATAOBJ 1
17453 EOF
17454
17455 fi
17456
17457 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
17458 if test "$wxUSE_GTK" = 1; then
17459 if test "$WXGTK12" != 1; then
17460 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
17461 wxUSE_DRAG_AND_DROP=no
17462 fi
17463 fi
17464
17465 if test "$wxUSE_MOTIF" = 1; then
17466 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
17467 wxUSE_DRAG_AND_DROP=no
17468 fi
17469
17470 if test "$wxUSE_MAC" = 1; then
17471 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
17472 wxUSE_DRAG_AND_DROP=no
17473 fi
17474
17475 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
17476 cat >> confdefs.h <<\EOF
17477 #define wxUSE_DRAG_AND_DROP 1
17478 EOF
17479
17480 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
17481 fi
17482
17483 fi
17484
17485 if test "$wxUSE_SPLINES" = "yes" ; then
17486 cat >> confdefs.h <<\EOF
17487 #define wxUSE_SPLINES 1
17488 EOF
17489
17490 fi
17491
17492
17493 USES_CONTROLS=0
17494 if test "$wxUSE_CONTROLS" = "yes"; then
17495 USES_CONTROLS=1
17496 fi
17497
17498 if test "$wxUSE_ACCEL" = "yes"; then
17499 cat >> confdefs.h <<\EOF
17500 #define wxUSE_ACCEL 1
17501 EOF
17502
17503 USES_CONTROLS=1
17504 fi
17505
17506 if test "$wxUSE_BUTTON" = "yes"; then
17507 cat >> confdefs.h <<\EOF
17508 #define wxUSE_BUTTON 1
17509 EOF
17510
17511 USES_CONTROLS=1
17512 fi
17513
17514 if test "$wxUSE_BMPBUTTON" = "yes"; then
17515 cat >> confdefs.h <<\EOF
17516 #define wxUSE_BMPBUTTON 1
17517 EOF
17518
17519 USES_CONTROLS=1
17520 fi
17521
17522 if test "$wxUSE_CALCTRL" = "yes"; then
17523 cat >> confdefs.h <<\EOF
17524 #define wxUSE_CALENDARCTRL 1
17525 EOF
17526
17527 USES_CONTROLS=1
17528 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
17529 fi
17530
17531 if test "$wxUSE_CARET" = "yes"; then
17532 cat >> confdefs.h <<\EOF
17533 #define wxUSE_CARET 1
17534 EOF
17535
17536 USES_CONTROLS=1
17537 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
17538 fi
17539
17540 if test "$wxUSE_COMBOBOX" = "yes"; then
17541 cat >> confdefs.h <<\EOF
17542 #define wxUSE_COMBOBOX 1
17543 EOF
17544
17545 USES_CONTROLS=1
17546 fi
17547
17548 if test "$wxUSE_CHOICE" = "yes"; then
17549 cat >> confdefs.h <<\EOF
17550 #define wxUSE_CHOICE 1
17551 EOF
17552
17553 USES_CONTROLS=1
17554 fi
17555
17556 if test "$wxUSE_CHECKBOX" = "yes"; then
17557 cat >> confdefs.h <<\EOF
17558 #define wxUSE_CHECKBOX 1
17559 EOF
17560
17561 USES_CONTROLS=1
17562 fi
17563
17564 if test "$wxUSE_CHECKLST" = "yes"; then
17565 cat >> confdefs.h <<\EOF
17566 #define wxUSE_CHECKLISTBOX 1
17567 EOF
17568
17569 USES_CONTROLS=1
17570 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
17571 fi
17572
17573 if test "$wxUSE_GAUGE" = "yes"; then
17574 cat >> confdefs.h <<\EOF
17575 #define wxUSE_GAUGE 1
17576 EOF
17577
17578 USES_CONTROLS=1
17579 fi
17580
17581 if test "$wxUSE_NEW_GRID" = "yes"; then
17582 wxUSE_GRID="yes"
17583 cat >> confdefs.h <<\EOF
17584 #define wxUSE_NEW_GRID 1
17585 EOF
17586
17587 USES_CONTROLS=1
17588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS newgrid"
17589 fi
17590
17591 if test "$wxUSE_GRID" = "yes"; then
17592 cat >> confdefs.h <<\EOF
17593 #define wxUSE_GRID 1
17594 EOF
17595
17596 USES_CONTROLS=1
17597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
17598 fi
17599
17600 if test "$wxUSE_IMAGLIST" = "yes"; then
17601 cat >> confdefs.h <<\EOF
17602 #define wxUSE_IMAGLIST 1
17603 EOF
17604
17605 fi
17606
17607 if test "$wxUSE_LISTBOX" = "yes"; then
17608 cat >> confdefs.h <<\EOF
17609 #define wxUSE_LISTBOX 1
17610 EOF
17611
17612 USES_CONTROLS=1
17613 fi
17614
17615 if test "$wxUSE_LISTCTRL" = "yes"; then
17616 if test "$wxUSE_IMAGLIST" = "yes"; then
17617 cat >> confdefs.h <<\EOF
17618 #define wxUSE_LISTCTRL 1
17619 EOF
17620
17621 USES_CONTROLS=1
17622 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
17623 else
17624 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
17625 fi
17626 fi
17627
17628 if test "$wxUSE_NOTEBOOK" = "yes"; then
17629 cat >> confdefs.h <<\EOF
17630 #define wxUSE_NOTEBOOK 1
17631 EOF
17632
17633 USES_CONTROLS=1
17634 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
17635 fi
17636
17637 if test "$wxUSE_PROPSHEET" = "yes"; then
17638 cat >> confdefs.h <<\EOF
17639 #define wxUSE_PROPSHEET 1
17640 EOF
17641
17642 USES_CONTROLS=1
17643 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS proplist"
17644 fi
17645
17646 if test "$wxUSE_RADIOBOX" = "yes"; then
17647 cat >> confdefs.h <<\EOF
17648 #define wxUSE_RADIOBOX 1
17649 EOF
17650
17651 USES_CONTROLS=1
17652 fi
17653
17654 if test "$wxUSE_RADIOBTN" = "yes"; then
17655 cat >> confdefs.h <<\EOF
17656 #define wxUSE_RADIOBTN 1
17657 EOF
17658
17659 USES_CONTROLS=1
17660 fi
17661
17662 if test "$wxUSE_SASH" = "yes"; then
17663 cat >> confdefs.h <<\EOF
17664 #define wxUSE_SASH 1
17665 EOF
17666
17667 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
17668 fi
17669
17670 if test "$wxUSE_SCROLLBAR" = "yes"; then
17671 cat >> confdefs.h <<\EOF
17672 #define wxUSE_SCROLLBAR 1
17673 EOF
17674
17675 USES_CONTROLS=1
17676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
17677 fi
17678
17679 if test "$wxUSE_SLIDER" = "yes"; then
17680 cat >> confdefs.h <<\EOF
17681 #define wxUSE_SLIDER 1
17682 EOF
17683
17684 USES_CONTROLS=1
17685 fi
17686
17687 if test "$wxUSE_SPINBTN" = "yes"; then
17688 cat >> confdefs.h <<\EOF
17689 #define wxUSE_SPINBTN 1
17690 EOF
17691
17692 USES_CONTROLS=1
17693 fi
17694
17695 if test "$wxUSE_SPINCTRL" = "yes"; then
17696 cat >> confdefs.h <<\EOF
17697 #define wxUSE_SPINCTRL 1
17698 EOF
17699
17700 USES_CONTROLS=1
17701 fi
17702
17703 if test "$wxUSE_SPLITTER" = "yes"; then
17704 cat >> confdefs.h <<\EOF
17705 #define wxUSE_SPLITTER 1
17706 EOF
17707
17708 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
17709 fi
17710
17711 if test "$wxUSE_STATBMP" = "yes"; then
17712 cat >> confdefs.h <<\EOF
17713 #define wxUSE_STATBMP 1
17714 EOF
17715
17716 USES_CONTROLS=1
17717 fi
17718
17719 if test "$wxUSE_STATBOX" = "yes"; then
17720 cat >> confdefs.h <<\EOF
17721 #define wxUSE_STATBOX 1
17722 EOF
17723
17724 USES_CONTROLS=1
17725 fi
17726
17727 if test "$wxUSE_STATTEXT" = "yes"; then
17728 cat >> confdefs.h <<\EOF
17729 #define wxUSE_STATTEXT 1
17730 EOF
17731
17732 USES_CONTROLS=1
17733 fi
17734
17735 if test "$wxUSE_STATLINE" = "yes"; then
17736 if test "$wxUSE_WINE" = 1 ; then
17737 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
17738 else
17739 cat >> confdefs.h <<\EOF
17740 #define wxUSE_STATLINE 1
17741 EOF
17742
17743 USES_CONTROLS=1
17744 fi
17745 fi
17746
17747 if test "$wxUSE_STATUSBAR" = "yes"; then
17748 cat >> confdefs.h <<\EOF
17749 #define wxUSE_STATUSBAR 1
17750 EOF
17751
17752 USES_CONTROLS=1
17753
17754 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
17755 fi
17756
17757 if test "$wxUSE_TABDIALOG" = "yes"; then
17758 cat >> confdefs.h <<\EOF
17759 #define wxUSE_TAB_DIALOG 1
17760 EOF
17761
17762 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
17763 fi
17764
17765 if test "$wxUSE_TEXTCTRL" = "yes"; then
17766 cat >> confdefs.h <<\EOF
17767 #define wxUSE_TEXTCTRL 1
17768 EOF
17769
17770 USES_CONTROLS=1
17771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
17772 fi
17773
17774 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17775 if test "$wxUSE_MAC" = 1 -o "$wxUSE_UNIVERSAL" = "yes"; then
17776 echo "configure: warning: Toggle button not yet supported under Mac OS X or wxUNIVERSAL... disabled" 1>&2
17777 wxUSE_TOGGLEBTN=no
17778 fi
17779
17780 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17781 cat >> confdefs.h <<\EOF
17782 #define wxUSE_TOGGLEBTN 1
17783 EOF
17784
17785 USES_CONTROLS=1
17786 fi
17787 fi
17788
17789 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
17790 cat >> confdefs.h <<\EOF
17791 #define wxUSE_TOOLBAR_SIMPLE 1
17792 EOF
17793
17794 wxUSE_TOOLBAR="yes"
17795 USES_CONTROLS=1
17796 fi
17797
17798 if test "$wxUSE_TOOLBAR" = "yes"; then
17799 cat >> confdefs.h <<\EOF
17800 #define wxUSE_TOOLBAR 1
17801 EOF
17802
17803 USES_CONTROLS=1
17804
17805 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
17806 wxUSE_TOOLBAR_NATIVE="yes"
17807 fi
17808
17809 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
17810 cat >> confdefs.h <<\EOF
17811 #define wxUSE_TOOLBAR_NATIVE 1
17812 EOF
17813
17814 USES_CONTROLS=1
17815 fi
17816
17817 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
17818 fi
17819
17820 if test "$wxUSE_TOOLTIPS" = "yes"; then
17821 if test "$wxUSE_MOTIF" = 1; then
17822 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
17823 else
17824 if test "$wxUSE_WINE" = 1; then
17825 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
17826 else
17827 cat >> confdefs.h <<\EOF
17828 #define wxUSE_TOOLTIPS 1
17829 EOF
17830
17831 fi
17832 fi
17833 fi
17834
17835 if test "$wxUSE_TREECTRL" = "yes"; then
17836 if test "$wxUSE_IMAGLIST" = "yes"; then
17837 cat >> confdefs.h <<\EOF
17838 #define wxUSE_TREECTRL 1
17839 EOF
17840
17841 USES_CONTROLS=1
17842 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
17843 else
17844 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
17845 fi
17846 fi
17847
17848 if test "$wxUSE_POPUPWIN" = "yes"; then
17849 if test "$wxUSE_MAC" = 1; then
17850 echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2
17851 else
17852 cat >> confdefs.h <<\EOF
17853 #define wxUSE_POPUPWIN 1
17854 EOF
17855
17856 USES_CONTROLS=1
17857 fi
17858 fi
17859
17860 if test "$USES_CONTROLS" = 1; then
17861 cat >> confdefs.h <<\EOF
17862 #define wxUSE_CONTROLS 1
17863 EOF
17864
17865 fi
17866
17867
17868 if test "$wxUSE_TREELAYOUT" = "yes"; then
17869 cat >> confdefs.h <<\EOF
17870 #define wxUSE_TREELAYOUT 1
17871 EOF
17872
17873 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelay"
17874 fi
17875
17876 if test "$wxUSE_DRAGIMAGE" = "yes"; then
17877 cat >> confdefs.h <<\EOF
17878 #define wxUSE_DRAGIMAGE 1
17879 EOF
17880
17881 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
17882 fi
17883
17884 if test "$wxUSE_MENUS" = "yes"; then
17885 cat >> confdefs.h <<\EOF
17886 #define wxUSE_MENUS 1
17887 EOF
17888
17889 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
17890 fi
17891
17892 if test "$wxUSE_METAFILE" = "yes"; then
17893 cat >> confdefs.h <<\EOF
17894 #define wxUSE_METAFILE 1
17895 EOF
17896
17897 fi
17898
17899 if test "$wxUSE_MIMETYPE" = "yes"; then
17900 cat >> confdefs.h <<\EOF
17901 #define wxUSE_MIMETYPE 1
17902 EOF
17903
17904 fi
17905
17906 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
17907 cat >> confdefs.h <<\EOF
17908 #define wxUSE_SYSTEM_OPTIONS 1
17909 EOF
17910
17911 fi
17912
17913 if test "$wxUSE_MINIFRAME" = "yes"; then
17914 cat >> confdefs.h <<\EOF
17915 #define wxUSE_MINIFRAME 1
17916 EOF
17917
17918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
17919 fi
17920
17921 if test "$wxUSE_HTML" = "yes"; then
17922 cat >> confdefs.h <<\EOF
17923 #define wxUSE_HTML 1
17924 EOF
17925
17926 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html"
17927 fi
17928
17929 if test "$wxUSE_VALIDATORS" = "yes"; then
17930 cat >> confdefs.h <<\EOF
17931 #define wxUSE_VALIDATORS 1
17932 EOF
17933
17934 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
17935 fi
17936
17937 if test "$wxUSE_PALETTE" = "yes" ; then
17938 cat >> confdefs.h <<\EOF
17939 #define wxUSE_PALETTE 1
17940 EOF
17941
17942 fi
17943
17944 if test "$wxUSE_IMAGE" = "yes" ; then
17945 cat >> confdefs.h <<\EOF
17946 #define wxUSE_IMAGE 1
17947 EOF
17948
17949 fi
17950
17951 if test "$wxUSE_GIF" = "yes" ; then
17952 cat >> confdefs.h <<\EOF
17953 #define wxUSE_GIF 1
17954 EOF
17955
17956 fi
17957
17958 if test "$wxUSE_PCX" = "yes" ; then
17959 cat >> confdefs.h <<\EOF
17960 #define wxUSE_PCX 1
17961 EOF
17962
17963 fi
17964
17965 if test "$wxUSE_PNM" = "yes" ; then
17966 cat >> confdefs.h <<\EOF
17967 #define wxUSE_PNM 1
17968 EOF
17969
17970 fi
17971
17972 if test "$wxUSE_XPM" = "yes" ; then
17973 cat >> confdefs.h <<\EOF
17974 #define wxUSE_XPM 1
17975 EOF
17976
17977 fi
17978
17979
17980 if test "$wxUSE_CHOICEDLG" = "yes"; then
17981 cat >> confdefs.h <<\EOF
17982 #define wxUSE_CHOICEDLG 1
17983 EOF
17984
17985 fi
17986
17987 if test "$wxUSE_COLOURDLG" = "yes"; then
17988 cat >> confdefs.h <<\EOF
17989 #define wxUSE_COLOURDLG 1
17990 EOF
17991
17992 fi
17993
17994 if test "$wxUSE_FILEDLG" = "yes"; then
17995 cat >> confdefs.h <<\EOF
17996 #define wxUSE_FILEDLG 1
17997 EOF
17998
17999 fi
18000
18001 if test "$wxUSE_FINDREPLDLG" = "yes"; then
18002 cat >> confdefs.h <<\EOF
18003 #define wxUSE_FINDREPLDLG 1
18004 EOF
18005
18006 fi
18007
18008 if test "$wxUSE_FONTDLG" = "yes"; then
18009 cat >> confdefs.h <<\EOF
18010 #define wxUSE_FONTDLG 1
18011 EOF
18012
18013 fi
18014
18015 if test "$wxUSE_DIRDLG" = "yes"; then
18016 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18017 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
18018 else
18019 if test "$wxUSE_TREECTRL" != "yes"; then
18020 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
18021 else
18022 cat >> confdefs.h <<\EOF
18023 #define wxUSE_DIRDLG 1
18024 EOF
18025
18026 fi
18027 fi
18028 fi
18029
18030 if test "$wxUSE_MSGDLG" = "yes"; then
18031 cat >> confdefs.h <<\EOF
18032 #define wxUSE_MSGDLG 1
18033 EOF
18034
18035 fi
18036
18037 if test "$wxUSE_NUMBERDLG" = "yes"; then
18038 cat >> confdefs.h <<\EOF
18039 #define wxUSE_NUMBERDLG 1
18040 EOF
18041
18042 fi
18043
18044 if test "$wxUSE_PROGRESSDLG" = "yes"; then
18045 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18046 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
18047 else
18048 cat >> confdefs.h <<\EOF
18049 #define wxUSE_PROGRESSDLG 1
18050 EOF
18051
18052 fi
18053 fi
18054
18055 if test "$wxUSE_SPLASH" = "yes"; then
18056 cat >> confdefs.h <<\EOF
18057 #define wxUSE_SPLASH 1
18058 EOF
18059
18060 fi
18061
18062 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
18063 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18064 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
18065 else
18066 cat >> confdefs.h <<\EOF
18067 #define wxUSE_STARTUP_TIPS 1
18068 EOF
18069
18070 fi
18071 fi
18072
18073 if test "$wxUSE_TEXTDLG" = "yes"; then
18074 cat >> confdefs.h <<\EOF
18075 #define wxUSE_TEXTDLG 1
18076 EOF
18077
18078 fi
18079
18080 if test "$wxUSE_WIZARDDLG" = "yes"; then
18081 cat >> confdefs.h <<\EOF
18082 #define wxUSE_WIZARDDLG 1
18083 EOF
18084
18085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
18086 fi
18087
18088
18089 if test "$cross_compiling" = "yes"; then
18090 OSINFO="\"$host\""
18091 else
18092 OSINFO=`uname -s -r -m`
18093 OSINFO="\"$OSINFO\""
18094 fi
18095
18096 cat >> confdefs.h <<EOF
18097 #define WXWIN_OS_DESCRIPTION $OSINFO
18098 EOF
18099
18100
18101
18102 if test "x$prefix" != "xNONE"; then
18103 wxPREFIX=$prefix
18104 else
18105 wxPREFIX=$ac_default_prefix
18106 fi
18107
18108 cat >> confdefs.h <<EOF
18109 #define wxINSTALL_PREFIX "$wxPREFIX"
18110 EOF
18111
18112
18113
18114 GUILIBS="$GUI_TK_LIBRARY $TOOLKIT_LINK"
18115
18116 EXTRA_LIBS="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
18117
18118 if test "$wxUSE_MAC" = 1 ; then
18119 EXTRA_LIBS="$EXTRA_LIBS -framework Carbon -framework System"
18120 fi
18121
18122 if test "$wxUSE_GUI" = "yes"; then
18123 EXTRA_LIBS="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
18124
18125
18126 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS controls dialogs \
18127 drawing dynamic erase event exec font image \
18128 minimal richedit rotate widgets"
18129
18130 CPPFLAGS="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
18131 else
18132 SAMPLES_SUBDIRS="console"
18133 fi
18134
18135 LD_LIBS="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
18136
18137 INCLUDES="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
18138 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
18139 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
18140
18141 if test "$wxUSE_GTK" = 1; then
18142 WXCONFIG_INCLUDE=""
18143 else
18144 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
18145 fi
18146
18147 if test "$GXX" = yes ; then
18148 CXXWARNINGS="-Wall"
18149 fi
18150 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
18151
18152 CFLAGS=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
18153 CXXFLAGS=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
18154
18155 LDFLAGS="$LDFLAGS $PROFILE"
18156
18157 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
18243 echo "configure:18244: checking whether ${MAKE-make} sets \${MAKE}" >&5
18244 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
18245 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
18246 echo $ac_n "(cached) $ac_c" 1>&6
18247 else
18248 cat > conftestmake <<\EOF
18249 all:
18250 @echo 'ac_maketemp="${MAKE}"'
18251 EOF
18252 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18253 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
18254 if test -n "$ac_maketemp"; then
18255 eval ac_cv_prog_make_${ac_make}_set=yes
18256 else
18257 eval ac_cv_prog_make_${ac_make}_set=no
18258 fi
18259 rm -f conftestmake
18260 fi
18261 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
18262 echo "$ac_t""yes" 1>&6
18263 SET_MAKE=
18264 else
18265 echo "$ac_t""no" 1>&6
18266 SET_MAKE="MAKE=${MAKE-make}"
18267 fi
18268
18269
18270 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
18271 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
18272 fi
18273
18274
18275
18276 if test "$wxUSE_GUI" = "yes"; then
18277 wx_cv_path_samplesubdirs=$SAMPLES_SUBDIRS
18278 wx_cv_path_ifs=$PATH_IFS
18279 wx_cv_program_ext=$PROGRAM_EXT
18280 wx_cv_target_library=$WX_TARGET_LIBRARY
18281 wx_cv_target_library_gl=$WX_TARGET_LIBRARY_GL
18282 wx_cv_target_libtype=$WX_TARGET_LIBRARY_TYPE
18283 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
18284 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
18285 subdirs="demos samples utils contrib"
18286
18287 fi
18288
18289 trap '' 1 2 15
18290 cat > confcache <<\EOF
18291 # This file is a shell script that caches the results of configure
18292 # tests run on this system so they can be shared between configure
18293 # scripts and configure runs. It is not useful on other systems.
18294 # If it contains results you don't want to keep, you may remove or edit it.
18295 #
18296 # By default, configure uses ./config.cache as the cache file,
18297 # creating it if it does not exist already. You can give configure
18298 # the --cache-file=FILE option to use a different cache file; that is
18299 # what configure does when it calls configure scripts in
18300 # subdirectories, so they share the cache.
18301 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18302 # config.status only pays attention to the cache file if you give it the
18303 # --recheck option to rerun configure.
18304 #
18305 EOF
18306 # The following way of writing the cache mishandles newlines in values,
18307 # but we know of no workaround that is simple, portable, and efficient.
18308 # So, don't put newlines in cache variables' values.
18309 # Ultrix sh set writes to stderr and can't be redirected directly,
18310 # and sets the high bit in the cache file unless we assign to the vars.
18311 (set) 2>&1 |
18312 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18313 *ac_space=\ *)
18314 # `set' does not quote correctly, so add quotes (double-quote substitution
18315 # turns \\\\ into \\, and sed turns \\ into \).
18316 sed -n \
18317 -e "s/'/'\\\\''/g" \
18318 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18319 ;;
18320 *)
18321 # `set' quotes correctly as required by POSIX, so do not add quotes.
18322 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18323 ;;
18324 esac >> confcache
18325 if cmp -s $cache_file confcache; then
18326 :
18327 else
18328 if test -w $cache_file; then
18329 echo "updating cache $cache_file"
18330 cat confcache > $cache_file
18331 else
18332 echo "not updating unwritable cache $cache_file"
18333 fi
18334 fi
18335 rm -f confcache
18336
18337 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18338
18339 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18340 # Let make expand exec_prefix.
18341 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18342
18343 # Any assignment to VPATH causes Sun make to only execute
18344 # the first set of double-colon rules, so remove it if not needed.
18345 # If there is a colon in the path, we need to keep it.
18346 if test "x$srcdir" = x.; then
18347 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
18348 fi
18349
18350 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18351
18352 DEFS=-DHAVE_CONFIG_H
18353
18354 # Without the "./", some shells look in PATH for config.status.
18355 : ${CONFIG_STATUS=./config.status}
18356
18357 echo creating $CONFIG_STATUS
18358 rm -f $CONFIG_STATUS
18359 cat > $CONFIG_STATUS <<EOF
18360 #! /bin/sh
18361 # Generated automatically by configure.
18362 # Run this file to recreate the current configuration.
18363 # This directory was configured as follows,
18364 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18365 #
18366 # $0 $ac_configure_args
18367 #
18368 # Compiler output produced by configure, useful for debugging
18369 # configure, is in ./config.log if it exists.
18370
18371 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18372 for ac_option
18373 do
18374 case "\$ac_option" in
18375 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18376 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18377 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18378 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18379 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18380 exit 0 ;;
18381 -help | --help | --hel | --he | --h)
18382 echo "\$ac_cs_usage"; exit 0 ;;
18383 *) echo "\$ac_cs_usage"; exit 1 ;;
18384 esac
18385 done
18386
18387 ac_given_srcdir=$srcdir
18388 ac_given_INSTALL="$INSTALL"
18389
18390 trap 'rm -fr `echo "
18391 wx-config
18392 src/make.env
18393 src/makeprog.env
18394 src/makelib.env
18395 Makefile
18396 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18397 EOF
18398 cat >> $CONFIG_STATUS <<EOF
18399
18400 # Protect against being on the right side of a sed subst in config.status.
18401 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18402 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18403 $ac_vpsub
18404 $extrasub
18405 s%@SHELL@%$SHELL%g
18406 s%@CFLAGS@%$CFLAGS%g
18407 s%@CPPFLAGS@%$CPPFLAGS%g
18408 s%@CXXFLAGS@%$CXXFLAGS%g
18409 s%@FFLAGS@%$FFLAGS%g
18410 s%@DEFS@%$DEFS%g
18411 s%@LDFLAGS@%$LDFLAGS%g
18412 s%@LIBS@%$LIBS%g
18413 s%@exec_prefix@%$exec_prefix%g
18414 s%@prefix@%$prefix%g
18415 s%@program_transform_name@%$program_transform_name%g
18416 s%@bindir@%$bindir%g
18417 s%@sbindir@%$sbindir%g
18418 s%@libexecdir@%$libexecdir%g
18419 s%@datadir@%$datadir%g
18420 s%@sysconfdir@%$sysconfdir%g
18421 s%@sharedstatedir@%$sharedstatedir%g
18422 s%@localstatedir@%$localstatedir%g
18423 s%@libdir@%$libdir%g
18424 s%@includedir@%$includedir%g
18425 s%@oldincludedir@%$oldincludedir%g
18426 s%@infodir@%$infodir%g
18427 s%@mandir@%$mandir%g
18428 s%@host@%$host%g
18429 s%@host_alias@%$host_alias%g
18430 s%@host_cpu@%$host_cpu%g
18431 s%@host_vendor@%$host_vendor%g
18432 s%@host_os@%$host_os%g
18433 s%@target@%$target%g
18434 s%@target_alias@%$target_alias%g
18435 s%@target_cpu@%$target_cpu%g
18436 s%@target_vendor@%$target_vendor%g
18437 s%@target_os@%$target_os%g
18438 s%@build@%$build%g
18439 s%@build_alias@%$build_alias%g
18440 s%@build_cpu@%$build_cpu%g
18441 s%@build_vendor@%$build_vendor%g
18442 s%@build_os@%$build_os%g
18443 s%@CC@%$CC%g
18444 s%@CPP@%$CPP%g
18445 s%@CXX@%$CXX%g
18446 s%@RANLIB@%$RANLIB%g
18447 s%@AR@%$AR%g
18448 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18449 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18450 s%@INSTALL_DATA@%$INSTALL_DATA%g
18451 s%@STRIP@%$STRIP%g
18452 s%@YACC@%$YACC%g
18453 s%@LEX@%$LEX%g
18454 s%@LEXLIB@%$LEXLIB%g
18455 s%@LN_S@%$LN_S%g
18456 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
18457 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
18458 s%@GTK_LIBS@%$GTK_LIBS%g
18459 s%@GTK_CONFIG@%$GTK_CONFIG%g
18460 s%@X_CFLAGS@%$X_CFLAGS%g
18461 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
18462 s%@X_LIBS@%$X_LIBS%g
18463 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
18464 s%@RESCOMP@%$RESCOMP%g
18465 s%@DEREZ@%$DEREZ%g
18466 s%@CXXCPP@%$CXXCPP%g
18467 s%@LEX_STEM@%$LEX_STEM%g
18468 s%@PATH_IFS@%$PATH_IFS%g
18469 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
18470 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
18471 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
18472 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
18473 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
18474 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
18475 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
18476 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
18477 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
18478 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
18479 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
18480 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
18481 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
18482 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
18483 s%@WX_ALL@%$WX_ALL%g
18484 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
18485 s%@SHARED_LD@%$SHARED_LD%g
18486 s%@PIC_FLAG@%$PIC_FLAG%g
18487 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
18488 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
18489 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
18490 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
18491 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
18492 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
18493 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
18494 s%@USE_GUI@%$USE_GUI%g
18495 s%@AFMINSTALL@%$AFMINSTALL%g
18496 s%@TOOLKIT@%$TOOLKIT%g
18497 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
18498 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
18499 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
18500 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
18501 s%@cross_compiling@%$cross_compiling%g
18502 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
18503 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
18504 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
18505 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
18506 s%@GUIDIST@%$GUIDIST%g
18507 s%@PORT_FILES@%$PORT_FILES%g
18508 s%@DISTDIR@%$DISTDIR%g
18509 s%@RPM_SPEC@%$RPM_SPEC%g
18510 s%@RPM_FILES@%$RPM_FILES%g
18511 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
18512 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
18513 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
18514 s%@EXTRADEFS@%$EXTRADEFS%g
18515 s%@LD_LIBS@%$LD_LIBS%g
18516 s%@WXMSW_DLL_DEFINES@%$WXMSW_DLL_DEFINES%g
18517 s%@RESFLAGS@%$RESFLAGS%g
18518 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
18519 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
18520 s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
18521 s%@LIBWXMACRES@%$LIBWXMACRES%g
18522 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
18523 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
18524 s%@DLLTOOL@%$DLLTOOL%g
18525 s%@AS@%$AS%g
18526 s%@NM@%$NM%g
18527 s%@LD@%$LD%g
18528 s%@MAKEINFO@%$MAKEINFO%g
18529 s%@SET_MAKE@%$SET_MAKE%g
18530 s%@subdirs@%$subdirs%g
18531
18532 CEOF
18533 EOF
18534
18535 cat >> $CONFIG_STATUS <<\EOF
18536
18537 # Split the substitutions into bite-sized pieces for seds with
18538 # small command number limits, like on Digital OSF/1 and HP-UX.
18539 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
18540 ac_file=1 # Number of current file.
18541 ac_beg=1 # First line for current file.
18542 ac_end=$ac_max_sed_cmds # Line after last line for current file.
18543 ac_more_lines=:
18544 ac_sed_cmds=""
18545 while $ac_more_lines; do
18546 if test $ac_beg -gt 1; then
18547 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
18548 else
18549 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
18550 fi
18551 if test ! -s conftest.s$ac_file; then
18552 ac_more_lines=false
18553 rm -f conftest.s$ac_file
18554 else
18555 if test -z "$ac_sed_cmds"; then
18556 ac_sed_cmds="sed -f conftest.s$ac_file"
18557 else
18558 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
18559 fi
18560 ac_file=`expr $ac_file + 1`
18561 ac_beg=$ac_end
18562 ac_end=`expr $ac_end + $ac_max_sed_cmds`
18563 fi
18564 done
18565 if test -z "$ac_sed_cmds"; then
18566 ac_sed_cmds=cat
18567 fi
18568 EOF
18569
18570 cat >> $CONFIG_STATUS <<EOF
18571
18572 CONFIG_FILES=\${CONFIG_FILES-"wx-config
18573 src/make.env
18574 src/makeprog.env
18575 src/makelib.env
18576 Makefile
18577 "}
18578 EOF
18579 cat >> $CONFIG_STATUS <<\EOF
18580 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
18581 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18582 case "$ac_file" in
18583 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18584 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18585 *) ac_file_in="${ac_file}.in" ;;
18586 esac
18587
18588 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18589
18590 # Remove last slash and all that follows it. Not all systems have dirname.
18591 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18592 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18593 # The file is in a subdirectory.
18594 test ! -d "$ac_dir" && mkdir "$ac_dir"
18595 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
18596 # A "../" for each directory in $ac_dir_suffix.
18597 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18598 else
18599 ac_dir_suffix= ac_dots=
18600 fi
18601
18602 case "$ac_given_srcdir" in
18603 .) srcdir=.
18604 if test -z "$ac_dots"; then top_srcdir=.
18605 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18606 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
18607 *) # Relative path.
18608 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18609 top_srcdir="$ac_dots$ac_given_srcdir" ;;
18610 esac
18611
18612 case "$ac_given_INSTALL" in
18613 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18614 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18615 esac
18616
18617 echo creating "$ac_file"
18618 rm -f "$ac_file"
18619 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18620 case "$ac_file" in
18621 *Makefile*) ac_comsub="1i\\
18622 # $configure_input" ;;
18623 *) ac_comsub= ;;
18624 esac
18625
18626 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18627 sed -e "$ac_comsub
18628 s%@configure_input@%$configure_input%g
18629 s%@srcdir@%$srcdir%g
18630 s%@top_srcdir@%$top_srcdir%g
18631 s%@INSTALL@%$INSTALL%g
18632 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18633 fi; done
18634 rm -f conftest.s*
18635
18636 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18637 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18638 #
18639 # ac_d sets the value in "#define NAME VALUE" lines.
18640 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18641 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
18642 ac_dC='\3'
18643 ac_dD='%g'
18644 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18645 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18646 ac_uB='\([ ]\)%\1#\2define\3'
18647 ac_uC=' '
18648 ac_uD='\4%g'
18649 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18650 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18651 ac_eB='$%\1#\2define\3'
18652 ac_eC=' '
18653 ac_eD='%g'
18654
18655 if test "${CONFIG_HEADERS+set}" != set; then
18656 EOF
18657 cat >> $CONFIG_STATUS <<EOF
18658 CONFIG_HEADERS="setup.h:setup.h.in"
18659 EOF
18660 cat >> $CONFIG_STATUS <<\EOF
18661 fi
18662 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
18663 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18664 case "$ac_file" in
18665 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18666 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18667 *) ac_file_in="${ac_file}.in" ;;
18668 esac
18669
18670 echo creating $ac_file
18671
18672 rm -f conftest.frag conftest.in conftest.out
18673 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18674 cat $ac_file_inputs > conftest.in
18675
18676 EOF
18677
18678 # Transform confdefs.h into a sed script conftest.vals that substitutes
18679 # the proper values into config.h.in to produce config.h. And first:
18680 # Protect against being on the right side of a sed subst in config.status.
18681 # Protect against being in an unquoted here document in config.status.
18682 rm -f conftest.vals
18683 cat > conftest.hdr <<\EOF
18684 s/[\\&%]/\\&/g
18685 s%[\\$`]%\\&%g
18686 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18687 s%ac_d%ac_u%gp
18688 s%ac_u%ac_e%gp
18689 EOF
18690 sed -n -f conftest.hdr confdefs.h > conftest.vals
18691 rm -f conftest.hdr
18692
18693 # This sed command replaces #undef with comments. This is necessary, for
18694 # example, in the case of _POSIX_SOURCE, which is predefined and required
18695 # on some systems where configure will not decide to define it.
18696 cat >> conftest.vals <<\EOF
18697 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18698 EOF
18699
18700 # Break up conftest.vals because some shells have a limit on
18701 # the size of here documents, and old seds have small limits too.
18702
18703 rm -f conftest.tail
18704 while :
18705 do
18706 ac_lines=`grep -c . conftest.vals`
18707 # grep -c gives empty output for an empty file on some AIX systems.
18708 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18709 # Write a limited-size here document to conftest.frag.
18710 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18711 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18712 echo 'CEOF
18713 sed -f conftest.frag conftest.in > conftest.out
18714 rm -f conftest.in
18715 mv conftest.out conftest.in
18716 ' >> $CONFIG_STATUS
18717 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18718 rm -f conftest.vals
18719 mv conftest.tail conftest.vals
18720 done
18721 rm -f conftest.vals
18722
18723 cat >> $CONFIG_STATUS <<\EOF
18724 rm -f conftest.frag conftest.h
18725 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18726 cat conftest.in >> conftest.h
18727 rm -f conftest.in
18728 if cmp -s $ac_file conftest.h 2>/dev/null; then
18729 echo "$ac_file is unchanged"
18730 rm -f conftest.h
18731 else
18732 # Remove last slash and all that follows it. Not all systems have dirname.
18733 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18734 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18735 # The file is in a subdirectory.
18736 test ! -d "$ac_dir" && mkdir "$ac_dir"
18737 fi
18738 rm -f $ac_file
18739 mv conftest.h $ac_file
18740 fi
18741 fi; done
18742
18743 EOF
18744 cat >> $CONFIG_STATUS <<EOF
18745
18746 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
18747 LN_S="${LN_S}"
18748
18749
18750 EOF
18751 cat >> $CONFIG_STATUS <<\EOF
18752
18753 if test ! -h wx-config; then
18754 chmod +x wx-config
18755 mv wx-config wx${TOOLCHAIN_NAME}-config
18756 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
18757 fi
18758
18759 if test ! -d lib; then
18760 mkdir lib
18761 fi
18762 if test ! -d lib/wx; then
18763 mkdir lib/wx
18764 fi
18765 if test ! -d lib/wx/include; then
18766 mkdir lib/wx/include
18767 fi
18768 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
18769 mkdir lib/wx/include/${TOOLCHAIN_NAME}
18770 fi
18771 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
18772 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
18773 fi
18774 if test -f setup.h; then
18775 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
18776 fi
18777
18778 exit 0
18779 EOF
18780 chmod +x $CONFIG_STATUS
18781 rm -fr confdefs* $ac_clean_files
18782 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18783
18784 if test "$no_recursion" != yes; then
18785
18786 # Remove --cache-file and --srcdir arguments so they do not pile up.
18787 ac_sub_configure_args=
18788 ac_prev=
18789 for ac_arg in $ac_configure_args; do
18790 if test -n "$ac_prev"; then
18791 ac_prev=
18792 continue
18793 fi
18794 case "$ac_arg" in
18795 -cache-file | --cache-file | --cache-fil | --cache-fi \
18796 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
18797 ac_prev=cache_file ;;
18798 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
18799 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
18800 ;;
18801 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
18802 ac_prev=srcdir ;;
18803 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
18804 ;;
18805 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
18806 esac
18807 done
18808
18809 for ac_config_dir in demos samples utils contrib; do
18810
18811 # Do not complain, so a configure script can configure whichever
18812 # parts of a large source tree are present.
18813 if test ! -d $srcdir/$ac_config_dir; then
18814 continue
18815 fi
18816
18817 echo configuring in $ac_config_dir
18818
18819 case "$srcdir" in
18820 .) ;;
18821 *)
18822 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
18823 else
18824 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
18825 fi
18826 ;;
18827 esac
18828
18829 ac_popdir=`pwd`
18830 cd $ac_config_dir
18831
18832 # A "../" for each directory in /$ac_config_dir.
18833 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
18834
18835 case "$srcdir" in
18836 .) # No --srcdir option. We are building in place.
18837 ac_sub_srcdir=$srcdir ;;
18838 /*) # Absolute path.
18839 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
18840 *) # Relative path.
18841 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
18842 esac
18843
18844 # Check for guested configure; otherwise get Cygnus style configure.
18845 if test -f $ac_sub_srcdir/configure; then
18846 ac_sub_configure=$ac_sub_srcdir/configure
18847 elif test -f $ac_sub_srcdir/configure.in; then
18848 ac_sub_configure=$ac_configure
18849 else
18850 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
18851 ac_sub_configure=
18852 fi
18853
18854 # The recursion is here.
18855 if test -n "$ac_sub_configure"; then
18856
18857 # Make the cache file name correct relative to the subdirectory.
18858 case "$cache_file" in
18859 /*) ac_sub_cache_file=$cache_file ;;
18860 *) # Relative path.
18861 ac_sub_cache_file="$ac_dots$cache_file" ;;
18862 esac
18863 case "$ac_given_INSTALL" in
18864 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18865 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18866 esac
18867
18868 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
18869 # The eval makes quoting arguments work.
18870 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
18871 then :
18872 else
18873 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
18874 fi
18875 fi
18876
18877 cd $ac_popdir
18878 done
18879 fi
18880
18881