]> git.saurik.com Git - wxWidgets.git/blob - configure
changed wxUSE_DRAGIMAG to wxUSE_DRAGIMAGE and use it everywhere now
[wxWidgets.git] / configure
1 #! /bin/sh
2
3 # From configure.in Id: configure.in
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39 # Configure paths for GTK+
40 # Owen Taylor 97-11-3
41
42
43
44
45
46
47 # Guess values for system-dependent variables and create Makefiles.
48 # Generated automatically using autoconf version 2.13
49 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
50 #
51 # This configure script is free software; the Free Software Foundation
52 # gives unlimited permission to copy, distribute and modify it.
53
54 # Defaults:
55 ac_help=
56 ac_default_prefix=/usr/local
57 # Any additions from configure.in:
58 ac_help="$ac_help
59 --enable-gui use GUI classes"
60 ac_help="$ac_help
61 --enable-universal use wxWindows GUI controls instead of native ones"
62 ac_help="$ac_help
63 --with-gtk use GTK+"
64 ac_help="$ac_help
65 --with-motif use Motif/Lesstif"
66 ac_help="$ac_help
67 --with-mac use Mac OS X"
68 ac_help="$ac_help
69 --with-wine use WINE"
70 ac_help="$ac_help
71 --with-cygwin use Cygwin for MS-Windows"
72 ac_help="$ac_help
73 --with-mingw use GCC Minimal MS-Windows"
74 ac_help="$ac_help
75 --with-pm use OS/2 Presentation Manager"
76 ac_help="$ac_help
77 --with-mgl use MGL"
78 ac_help="$ac_help
79 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
80 ac_help="$ac_help
81 --with-libpng use libpng (PNG image format)"
82 ac_help="$ac_help
83 --with-libjpeg use libjpeg (JPEG file format)"
84 ac_help="$ac_help
85 --with-libtiff use libtiff (TIFF file format)"
86 ac_help="$ac_help
87 --with-freetype use freetype (font rasterizer)"
88 ac_help="$ac_help
89 --with-opengl use OpenGL (or Mesa)"
90 ac_help="$ac_help
91 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
92 ac_help="$ac_help
93 --with-zlib use zlib for LZW compression"
94 ac_help="$ac_help
95 --with-odbc use the IODBC and wxODBC classes"
96 ac_help="$ac_help
97 --enable-shared create shared library code"
98 ac_help="$ac_help
99 --enable-burnt_name create set name in shared library "
100 ac_help="$ac_help
101 --enable-optimise create optimised code"
102 ac_help="$ac_help
103 --enable-debug same as debug_flag and debug_info"
104 ac_help="$ac_help
105 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
106 ac_help="$ac_help
107 --enable-debug_info create code with debugging information"
108 ac_help="$ac_help
109 --enable-debug_gdb create code with extra GDB debugging information"
110 ac_help="$ac_help
111 --enable-debug_cntxt use wxDebugContext"
112 ac_help="$ac_help
113 --enable-mem_tracing create code with memory tracing"
114 ac_help="$ac_help
115 --enable-profile create code with profiling information"
116 ac_help="$ac_help
117 --enable-no_rtti create code without RTTI information"
118 ac_help="$ac_help
119 --enable-no_exceptions create code without exceptions information"
120 ac_help="$ac_help
121 --enable-permissive compile code disregarding strict ANSI"
122 ac_help="$ac_help
123 --enable-no_deps create code without dependency information"
124 ac_help="$ac_help
125 --enable-compat20 enable wxWin 2.0 compatibility"
126 ac_help="$ac_help
127 --enable-compat22 enable wxWin 2.2 compatibility"
128 ac_help="$ac_help
129 --enable-intl use internationalization system"
130 ac_help="$ac_help
131 --enable-config use wxConfig (and derived) classes"
132 ac_help="$ac_help
133 --enable-sockets use socket/network classes"
134 ac_help="$ac_help
135 --enable-ipc use interprocess communication (wxSocket etc.)"
136 ac_help="$ac_help
137 --enable-cmdline use wxCmdLineParser class"
138 ac_help="$ac_help
139 --enable-datetime use wxDateTime class"
140 ac_help="$ac_help
141 --enable-timedate use obsolete wxDate/wxTime classes"
142 ac_help="$ac_help
143 --enable-stopwatch use wxStopWatch class"
144 ac_help="$ac_help
145 --enable-dialupman use dialup network classes"
146 ac_help="$ac_help
147 --enable-apple_ieee use the Apple IEEE codec"
148 ac_help="$ac_help
149 --enable-timer use wxTimer class"
150 ac_help="$ac_help
151 --enable-wave use wxWave class"
152 ac_help="$ac_help
153 --enable-fraction use wxFraction class"
154 ac_help="$ac_help
155 --enable-dynlib use wxLibrary class for DLL loading"
156 ac_help="$ac_help
157 --enable-longlong use wxLongLong class"
158 ac_help="$ac_help
159 --enable-geometry use geometry class"
160 ac_help="$ac_help
161 --enable-log use logging system"
162 ac_help="$ac_help
163 --enable-streams use wxStream etc classes"
164 ac_help="$ac_help
165 --enable-file use wxFile classes"
166 ac_help="$ac_help
167 --enable-ffile use wxFFile classes"
168 ac_help="$ac_help
169 --enable-textfile use wxTextFile classes"
170 ac_help="$ac_help
171 --enable-fontmap use font encodings conversion classes"
172 ac_help="$ac_help
173 --enable-unicode compile wxString with Unicode support"
174 ac_help="$ac_help
175 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
176 ac_help="$ac_help
177 --enable-wxprintfv use wxWindows implementation of vprintf()"
178 ac_help="$ac_help
179 --enable-std_iostreams use standard C++ stream classes"
180 ac_help="$ac_help
181 --enable-filesystem use virtual file systems classes"
182 ac_help="$ac_help
183 --enable-fs_inet use virtual HTTP/FTP filesystems"
184 ac_help="$ac_help
185 --enable-fs_zip use virtual ZIP filesystems"
186 ac_help="$ac_help
187 --enable-zipstream use wxZipInputStream"
188 ac_help="$ac_help
189 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
190 ac_help="$ac_help
191 --enable-snglinst use wxSingleInstanceChecker class"
192 ac_help="$ac_help
193 --enable-mimetypes use wxMimeTypesManager"
194 ac_help="$ac_help
195 --enable-threads use threads"
196 ac_help="$ac_help
197 --enable-serial use class serialization"
198 ac_help="$ac_help
199 --enable-docview use document view architecture"
200 ac_help="$ac_help
201 --enable-help use help (using external browser at present)"
202 ac_help="$ac_help
203 --enable-constraints use layout-constraints system"
204 ac_help="$ac_help
205 --enable-printarch use printing architecture"
206 ac_help="$ac_help
207 --enable-mdi use multiple document interface architecture"
208 ac_help="$ac_help
209 --enable-loggui use standard GUI logger"
210 ac_help="$ac_help
211 --enable-logwin use wxLogWindow"
212 ac_help="$ac_help
213 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
214 ac_help="$ac_help
215 --enable-prologio use Prolog IO library"
216 ac_help="$ac_help
217 --enable-resources use wxWindows resources"
218 ac_help="$ac_help
219 --enable-xresources use X resources for save (default for gtk+)"
220 ac_help="$ac_help
221 --enable-clipboard use wxClipboard classes"
222 ac_help="$ac_help
223 --enable-dnd use Drag'n'Drop classes"
224 ac_help="$ac_help
225 --enable-metafile use win32 metafiles"
226 ac_help="$ac_help
227 --enable-wxtree make wxTree library"
228 ac_help="$ac_help
229 --enable-controls use all usual controls"
230 ac_help="$ac_help
231 --enable-accel use accelerators"
232 ac_help="$ac_help
233 --enable-button use wxButton class"
234 ac_help="$ac_help
235 --enable-bmpbutton use wxBitmapButton class"
236 ac_help="$ac_help
237 --enable-calendar use wxCalendarCtrl class"
238 ac_help="$ac_help
239 --enable-caret use wxCaret class"
240 ac_help="$ac_help
241 --enable-checkbox use wxCheckBox class"
242 ac_help="$ac_help
243 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
244 ac_help="$ac_help
245 --enable-choice use wxChoice class"
246 ac_help="$ac_help
247 --enable-combobox use wxComboBox classes"
248 ac_help="$ac_help
249 --enable-gauge use wxGauge class"
250 ac_help="$ac_help
251 --enable-grid use wxGrid class"
252 ac_help="$ac_help
253 --enable-newgrid use new wxGrid class"
254 ac_help="$ac_help
255 --enable-imaglist use wxImageList class"
256 ac_help="$ac_help
257 --enable-listbox use wxListBox class"
258 ac_help="$ac_help
259 --enable-listctrl use wxListCtrl class"
260 ac_help="$ac_help
261 --enable-notebook use wxNotebook class"
262 ac_help="$ac_help
263 --enable-radiobox use wxRadioBox class"
264 ac_help="$ac_help
265 --enable-radiobtn use wxRadioButton class"
266 ac_help="$ac_help
267 --enable-sash use wxSashWindow class"
268 ac_help="$ac_help
269 --enable-scrollbar use wxScrollBar class and scrollable windows"
270 ac_help="$ac_help
271 --enable-slider use wxSlider class"
272 ac_help="$ac_help
273 --enable-spinbtn use wxSpinButton class"
274 ac_help="$ac_help
275 --enable-spinctrl use wxSpinCtrl class"
276 ac_help="$ac_help
277 --enable-splitter use wxSplitterWindow class"
278 ac_help="$ac_help
279 --enable-statbmp use wxStaticBitmap class"
280 ac_help="$ac_help
281 --enable-statbox use wxStaticBox class"
282 ac_help="$ac_help
283 --enable-statline use wxStaticLine class"
284 ac_help="$ac_help
285 --enable-stattext use wxStaticText class"
286 ac_help="$ac_help
287 --enable-statusbar use wxStatusBar class"
288 ac_help="$ac_help
289 --enable-tabdialog use wxTabControl class"
290 ac_help="$ac_help
291 --enable-textctrl use wxTextCtrl class"
292 ac_help="$ac_help
293 --enable-togglebtn use wxToggleButton class"
294 ac_help="$ac_help
295 --enable-toolbar use wxToolBar class"
296 ac_help="$ac_help
297 --enable-tbarnative use native wxToolBar class"
298 ac_help="$ac_help
299 --enable-tbarsmpl use wxToolBarSimple class"
300 ac_help="$ac_help
301 --enable-treectrl use wxTreeCtrl class"
302 ac_help="$ac_help
303 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
304 ac_help="$ac_help
305 --enable-choicedlg use wxChoiceDialog"
306 ac_help="$ac_help
307 --enable-coldlg use wxColourDialog"
308 ac_help="$ac_help
309 --enable-filedlg use wxFileDialog"
310 ac_help="$ac_help
311 --enable-fontdlg use wxFontDialog"
312 ac_help="$ac_help
313 --enable-dirdlg use wxDirDialog"
314 ac_help="$ac_help
315 --enable-msgdlg use wxMessageDialog"
316 ac_help="$ac_help
317 --enable-numberdlg use wxNumberEntryDialog"
318 ac_help="$ac_help
319 --enable-textdlg use wxTextDialog"
320 ac_help="$ac_help
321 --enable-tipdlg use startup tips"
322 ac_help="$ac_help
323 --enable-progressdlg use wxProgressDialog"
324 ac_help="$ac_help
325 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
326 ac_help="$ac_help
327 --enable-miniframe use wxMiniFrame class"
328 ac_help="$ac_help
329 --enable-html use wxHTML sub-library"
330 ac_help="$ac_help
331 --enable-tooltips use wxToolTip class"
332 ac_help="$ac_help
333 --enable-splines use spline drawing code"
334 ac_help="$ac_help
335 --enable-validators use wxValidator and derived classes"
336 ac_help="$ac_help
337 --enable-busyinfo use wxBusyInfo"
338 ac_help="$ac_help
339 --enable-joystick compile in joystick support (Linux only)"
340 ac_help="$ac_help
341 --enable-metafiles use wxMetaFile (Windows only)"
342 ac_help="$ac_help
343 --enable-dragimage use wxDragImage"
344 ac_help="$ac_help
345 --enable-image use wxImage class"
346 ac_help="$ac_help
347 --enable-gif use gif images (GIF file format)"
348 ac_help="$ac_help
349 --enable-pcx use pcx images (PCX file format)"
350 ac_help="$ac_help
351 --enable-pnm use pnm images (PNM file format)"
352 ac_help="$ac_help
353 --enable-xpm use xpm images (XPM file format)"
354 ac_help="$ac_help
355 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
356 ac_help="$ac_help
357 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
358 ac_help="$ac_help
359 --disable-gtktest Do not try to compile and run a test GTK program"
360 ac_help="$ac_help
361 --with-x use the X Window System"
362
363 # Initialize some variables set by options.
364 # The variables have the same names as the options, with
365 # dashes changed to underlines.
366 build=NONE
367 cache_file=./config.cache
368 exec_prefix=NONE
369 host=NONE
370 no_create=
371 nonopt=NONE
372 no_recursion=
373 prefix=NONE
374 program_prefix=NONE
375 program_suffix=NONE
376 program_transform_name=s,x,x,
377 silent=
378 site=
379 srcdir=
380 target=NONE
381 verbose=
382 x_includes=NONE
383 x_libraries=NONE
384 bindir='${exec_prefix}/bin'
385 sbindir='${exec_prefix}/sbin'
386 libexecdir='${exec_prefix}/libexec'
387 datadir='${prefix}/share'
388 sysconfdir='${prefix}/etc'
389 sharedstatedir='${prefix}/com'
390 localstatedir='${prefix}/var'
391 libdir='${exec_prefix}/lib'
392 includedir='${prefix}/include'
393 oldincludedir='/usr/include'
394 infodir='${prefix}/info'
395 mandir='${prefix}/man'
396
397 # Initialize some other variables.
398 subdirs=
399 MFLAGS= MAKEFLAGS=
400 SHELL=${CONFIG_SHELL-/bin/sh}
401 # Maximum number of lines to put in a shell here document.
402 ac_max_here_lines=12
403
404 ac_prev=
405 for ac_option
406 do
407
408 # If the previous option needs an argument, assign it.
409 if test -n "$ac_prev"; then
410 eval "$ac_prev=\$ac_option"
411 ac_prev=
412 continue
413 fi
414
415 case "$ac_option" in
416 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
417 *) ac_optarg= ;;
418 esac
419
420 # Accept the important Cygnus configure options, so we can diagnose typos.
421
422 case "$ac_option" in
423
424 -bindir | --bindir | --bindi | --bind | --bin | --bi)
425 ac_prev=bindir ;;
426 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
427 bindir="$ac_optarg" ;;
428
429 -build | --build | --buil | --bui | --bu)
430 ac_prev=build ;;
431 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
432 build="$ac_optarg" ;;
433
434 -cache-file | --cache-file | --cache-fil | --cache-fi \
435 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
436 ac_prev=cache_file ;;
437 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
438 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
439 cache_file="$ac_optarg" ;;
440
441 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
442 ac_prev=datadir ;;
443 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
444 | --da=*)
445 datadir="$ac_optarg" ;;
446
447 -disable-* | --disable-*)
448 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
449 # Reject names that are not valid shell variable names.
450 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
451 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
452 fi
453 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
454 eval "enable_${ac_feature}=no" ;;
455
456 -enable-* | --enable-*)
457 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
458 # Reject names that are not valid shell variable names.
459 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
460 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
461 fi
462 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
463 case "$ac_option" in
464 *=*) ;;
465 *) ac_optarg=yes ;;
466 esac
467 eval "enable_${ac_feature}='$ac_optarg'" ;;
468
469 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
470 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
471 | --exec | --exe | --ex)
472 ac_prev=exec_prefix ;;
473 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
474 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
475 | --exec=* | --exe=* | --ex=*)
476 exec_prefix="$ac_optarg" ;;
477
478 -gas | --gas | --ga | --g)
479 # Obsolete; use --with-gas.
480 with_gas=yes ;;
481
482 -help | --help | --hel | --he)
483 # Omit some internal or obsolete options to make the list less imposing.
484 # This message is too long to be a string in the A/UX 3.1 sh.
485 cat << EOF
486 Usage: configure [options] [host]
487 Options: [defaults in brackets after descriptions]
488 Configuration:
489 --cache-file=FILE cache test results in FILE
490 --help print this message
491 --no-create do not create output files
492 --quiet, --silent do not print \`checking...' messages
493 --version print the version of autoconf that created configure
494 Directory and file names:
495 --prefix=PREFIX install architecture-independent files in PREFIX
496 [$ac_default_prefix]
497 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
498 [same as prefix]
499 --bindir=DIR user executables in DIR [EPREFIX/bin]
500 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
501 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
502 --datadir=DIR read-only architecture-independent data in DIR
503 [PREFIX/share]
504 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
505 --sharedstatedir=DIR modifiable architecture-independent data in DIR
506 [PREFIX/com]
507 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
508 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
509 --includedir=DIR C header files in DIR [PREFIX/include]
510 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
511 --infodir=DIR info documentation in DIR [PREFIX/info]
512 --mandir=DIR man documentation in DIR [PREFIX/man]
513 --srcdir=DIR find the sources in DIR [configure dir or ..]
514 --program-prefix=PREFIX prepend PREFIX to installed program names
515 --program-suffix=SUFFIX append SUFFIX to installed program names
516 --program-transform-name=PROGRAM
517 run sed PROGRAM on installed program names
518 EOF
519 cat << EOF
520 Host type:
521 --build=BUILD configure for building on BUILD [BUILD=HOST]
522 --host=HOST configure for HOST [guessed]
523 --target=TARGET configure for TARGET [TARGET=HOST]
524 Features and packages:
525 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
526 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
527 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
528 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
529 --x-includes=DIR X include files are in DIR
530 --x-libraries=DIR X library files are in DIR
531 EOF
532 if test -n "$ac_help"; then
533 echo "--enable and --with options recognized:$ac_help"
534 fi
535 exit 0 ;;
536
537 -host | --host | --hos | --ho)
538 ac_prev=host ;;
539 -host=* | --host=* | --hos=* | --ho=*)
540 host="$ac_optarg" ;;
541
542 -includedir | --includedir | --includedi | --included | --include \
543 | --includ | --inclu | --incl | --inc)
544 ac_prev=includedir ;;
545 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
546 | --includ=* | --inclu=* | --incl=* | --inc=*)
547 includedir="$ac_optarg" ;;
548
549 -infodir | --infodir | --infodi | --infod | --info | --inf)
550 ac_prev=infodir ;;
551 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
552 infodir="$ac_optarg" ;;
553
554 -libdir | --libdir | --libdi | --libd)
555 ac_prev=libdir ;;
556 -libdir=* | --libdir=* | --libdi=* | --libd=*)
557 libdir="$ac_optarg" ;;
558
559 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
560 | --libexe | --libex | --libe)
561 ac_prev=libexecdir ;;
562 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
563 | --libexe=* | --libex=* | --libe=*)
564 libexecdir="$ac_optarg" ;;
565
566 -localstatedir | --localstatedir | --localstatedi | --localstated \
567 | --localstate | --localstat | --localsta | --localst \
568 | --locals | --local | --loca | --loc | --lo)
569 ac_prev=localstatedir ;;
570 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
571 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
572 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
573 localstatedir="$ac_optarg" ;;
574
575 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
576 ac_prev=mandir ;;
577 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
578 mandir="$ac_optarg" ;;
579
580 -nfp | --nfp | --nf)
581 # Obsolete; use --without-fp.
582 with_fp=no ;;
583
584 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
585 | --no-cr | --no-c)
586 no_create=yes ;;
587
588 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
589 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
590 no_recursion=yes ;;
591
592 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
593 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
594 | --oldin | --oldi | --old | --ol | --o)
595 ac_prev=oldincludedir ;;
596 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
597 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
598 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
599 oldincludedir="$ac_optarg" ;;
600
601 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
602 ac_prev=prefix ;;
603 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
604 prefix="$ac_optarg" ;;
605
606 -program-prefix | --program-prefix | --program-prefi | --program-pref \
607 | --program-pre | --program-pr | --program-p)
608 ac_prev=program_prefix ;;
609 -program-prefix=* | --program-prefix=* | --program-prefi=* \
610 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
611 program_prefix="$ac_optarg" ;;
612
613 -program-suffix | --program-suffix | --program-suffi | --program-suff \
614 | --program-suf | --program-su | --program-s)
615 ac_prev=program_suffix ;;
616 -program-suffix=* | --program-suffix=* | --program-suffi=* \
617 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
618 program_suffix="$ac_optarg" ;;
619
620 -program-transform-name | --program-transform-name \
621 | --program-transform-nam | --program-transform-na \
622 | --program-transform-n | --program-transform- \
623 | --program-transform | --program-transfor \
624 | --program-transfo | --program-transf \
625 | --program-trans | --program-tran \
626 | --progr-tra | --program-tr | --program-t)
627 ac_prev=program_transform_name ;;
628 -program-transform-name=* | --program-transform-name=* \
629 | --program-transform-nam=* | --program-transform-na=* \
630 | --program-transform-n=* | --program-transform-=* \
631 | --program-transform=* | --program-transfor=* \
632 | --program-transfo=* | --program-transf=* \
633 | --program-trans=* | --program-tran=* \
634 | --progr-tra=* | --program-tr=* | --program-t=*)
635 program_transform_name="$ac_optarg" ;;
636
637 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
638 | -silent | --silent | --silen | --sile | --sil)
639 silent=yes ;;
640
641 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
642 ac_prev=sbindir ;;
643 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
644 | --sbi=* | --sb=*)
645 sbindir="$ac_optarg" ;;
646
647 -sharedstatedir | --sharedstatedir | --sharedstatedi \
648 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
649 | --sharedst | --shareds | --shared | --share | --shar \
650 | --sha | --sh)
651 ac_prev=sharedstatedir ;;
652 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
653 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
654 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
655 | --sha=* | --sh=*)
656 sharedstatedir="$ac_optarg" ;;
657
658 -site | --site | --sit)
659 ac_prev=site ;;
660 -site=* | --site=* | --sit=*)
661 site="$ac_optarg" ;;
662
663 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
664 ac_prev=srcdir ;;
665 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
666 srcdir="$ac_optarg" ;;
667
668 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
669 | --syscon | --sysco | --sysc | --sys | --sy)
670 ac_prev=sysconfdir ;;
671 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
672 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
673 sysconfdir="$ac_optarg" ;;
674
675 -target | --target | --targe | --targ | --tar | --ta | --t)
676 ac_prev=target ;;
677 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
678 target="$ac_optarg" ;;
679
680 -v | -verbose | --verbose | --verbos | --verbo | --verb)
681 verbose=yes ;;
682
683 -version | --version | --versio | --versi | --vers)
684 echo "configure generated by autoconf version 2.13"
685 exit 0 ;;
686
687 -with-* | --with-*)
688 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
689 # Reject names that are not valid shell variable names.
690 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
691 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
692 fi
693 ac_package=`echo $ac_package| sed 's/-/_/g'`
694 case "$ac_option" in
695 *=*) ;;
696 *) ac_optarg=yes ;;
697 esac
698 eval "with_${ac_package}='$ac_optarg'" ;;
699
700 -without-* | --without-*)
701 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
702 # Reject names that are not valid shell variable names.
703 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
704 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
705 fi
706 ac_package=`echo $ac_package| sed 's/-/_/g'`
707 eval "with_${ac_package}=no" ;;
708
709 --x)
710 # Obsolete; use --with-x.
711 with_x=yes ;;
712
713 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
714 | --x-incl | --x-inc | --x-in | --x-i)
715 ac_prev=x_includes ;;
716 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
717 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
718 x_includes="$ac_optarg" ;;
719
720 -x-libraries | --x-libraries | --x-librarie | --x-librari \
721 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
722 ac_prev=x_libraries ;;
723 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
724 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
725 x_libraries="$ac_optarg" ;;
726
727 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
728 ;;
729
730 *)
731 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
732 echo "configure: warning: $ac_option: invalid host type" 1>&2
733 fi
734 if test "x$nonopt" != xNONE; then
735 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
736 fi
737 nonopt="$ac_option"
738 ;;
739
740 esac
741 done
742
743 if test -n "$ac_prev"; then
744 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
745 fi
746
747 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
748
749 # File descriptor usage:
750 # 0 standard input
751 # 1 file creation
752 # 2 errors and warnings
753 # 3 some systems may open it to /dev/tty
754 # 4 used on the Kubota Titan
755 # 6 checking for... messages and results
756 # 5 compiler messages saved in config.log
757 if test "$silent" = yes; then
758 exec 6>/dev/null
759 else
760 exec 6>&1
761 fi
762 exec 5>./config.log
763
764 echo "\
765 This file contains any messages produced by compilers while
766 running configure, to aid debugging if configure makes a mistake.
767 " 1>&5
768
769 # Strip out --no-create and --no-recursion so they do not pile up.
770 # Also quote any args containing shell metacharacters.
771 ac_configure_args=
772 for ac_arg
773 do
774 case "$ac_arg" in
775 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
776 | --no-cr | --no-c) ;;
777 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
778 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
779 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
780 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
781 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
782 esac
783 done
784
785 # NLS nuisances.
786 # Only set these to C if already set. These must not be set unconditionally
787 # because not all systems understand e.g. LANG=C (notably SCO).
788 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
789 # Non-C LC_CTYPE values break the ctype check.
790 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
791 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
792 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
793 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
794
795 # confdefs.h avoids OS command line length limits that DEFS can exceed.
796 rm -rf conftest* confdefs.h
797 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
798 echo > confdefs.h
799
800 # A filename unique to this package, relative to the directory that
801 # configure is in, which we can look for to find out if srcdir is correct.
802 ac_unique_file=wx-config.in
803
804 # Find the source files, if location was not specified.
805 if test -z "$srcdir"; then
806 ac_srcdir_defaulted=yes
807 # Try the directory containing this script, then its parent.
808 ac_prog=$0
809 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
810 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
811 srcdir=$ac_confdir
812 if test ! -r $srcdir/$ac_unique_file; then
813 srcdir=..
814 fi
815 else
816 ac_srcdir_defaulted=no
817 fi
818 if test ! -r $srcdir/$ac_unique_file; then
819 if test "$ac_srcdir_defaulted" = yes; then
820 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
821 else
822 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
823 fi
824 fi
825 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
826
827 # Prefer explicitly selected file to automatically selected ones.
828 if test -z "$CONFIG_SITE"; then
829 if test "x$prefix" != xNONE; then
830 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
831 else
832 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
833 fi
834 fi
835 for ac_site_file in $CONFIG_SITE; do
836 if test -r "$ac_site_file"; then
837 echo "loading site script $ac_site_file"
838 . "$ac_site_file"
839 fi
840 done
841
842 if test -r "$cache_file"; then
843 echo "loading cache $cache_file"
844 . $cache_file
845 else
846 echo "creating cache $cache_file"
847 > $cache_file
848 fi
849
850 ac_ext=c
851 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
852 ac_cpp='$CPP $CPPFLAGS'
853 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
854 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
855 cross_compiling=$ac_cv_prog_cc_cross
856
857 ac_exeext=
858 ac_objext=o
859 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
860 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
861 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
862 ac_n= ac_c='
863 ' ac_t=' '
864 else
865 ac_n=-n ac_c= ac_t=
866 fi
867 else
868 ac_n= ac_c='\c' ac_t=
869 fi
870
871
872
873 ac_aux_dir=
874 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
875 if test -f $ac_dir/install-sh; then
876 ac_aux_dir=$ac_dir
877 ac_install_sh="$ac_aux_dir/install-sh -c"
878 break
879 elif test -f $ac_dir/install.sh; then
880 ac_aux_dir=$ac_dir
881 ac_install_sh="$ac_aux_dir/install.sh -c"
882 break
883 fi
884 done
885 if test -z "$ac_aux_dir"; then
886 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
887 fi
888 ac_config_guess=$ac_aux_dir/config.guess
889 ac_config_sub=$ac_aux_dir/config.sub
890 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
891
892
893 # Do some error checking and defaulting for the host and target type.
894 # The inputs are:
895 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
896 #
897 # The rules are:
898 # 1. You are not allowed to specify --host, --target, and nonopt at the
899 # same time.
900 # 2. Host defaults to nonopt.
901 # 3. If nonopt is not specified, then host defaults to the current host,
902 # as determined by config.guess.
903 # 4. Target and build default to nonopt.
904 # 5. If nonopt is not specified, then target and build default to host.
905
906 # The aliases save the names the user supplied, while $host etc.
907 # will get canonicalized.
908 case $host---$target---$nonopt in
909 NONE---*---* | *---NONE---* | *---*---NONE) ;;
910 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
911 esac
912
913
914 # Make sure we can run config.sub.
915 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
916 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
917 fi
918
919 echo $ac_n "checking host system type""... $ac_c" 1>&6
920 echo "configure:921: checking host system type" >&5
921
922 host_alias=$host
923 case "$host_alias" in
924 NONE)
925 case $nonopt in
926 NONE)
927 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
928 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
929 fi ;;
930 *) host_alias=$nonopt ;;
931 esac ;;
932 esac
933
934 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
935 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
936 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
937 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
938 echo "$ac_t""$host" 1>&6
939
940 echo $ac_n "checking target system type""... $ac_c" 1>&6
941 echo "configure:942: checking target system type" >&5
942
943 target_alias=$target
944 case "$target_alias" in
945 NONE)
946 case $nonopt in
947 NONE) target_alias=$host_alias ;;
948 *) target_alias=$nonopt ;;
949 esac ;;
950 esac
951
952 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
953 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
954 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
955 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
956 echo "$ac_t""$target" 1>&6
957
958 echo $ac_n "checking build system type""... $ac_c" 1>&6
959 echo "configure:960: checking build system type" >&5
960
961 build_alias=$build
962 case "$build_alias" in
963 NONE)
964 case $nonopt in
965 NONE) build_alias=$host_alias ;;
966 *) build_alias=$nonopt ;;
967 esac ;;
968 esac
969
970 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
971 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
972 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
973 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
974 echo "$ac_t""$build" 1>&6
975
976 test "$host_alias" != "$target_alias" &&
977 test "$program_prefix$program_suffix$program_transform_name" = \
978 NONENONEs,x,x, &&
979 program_prefix=${target_alias}-
980
981
982
983 WX_MAJOR_VERSION_NUMBER=2
984 WX_MINOR_VERSION_NUMBER=3
985 WX_RELEASE_NUMBER=1
986
987 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
988 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
989
990 WX_CURRENT=0
991 WX_REVISION=0
992 WX_AGE=0
993
994
995
996 USE_UNIX=1
997 USE_WIN32=0
998 USE_BEOS=0
999 USE_MAC=0
1000
1001 USE_LINUX=
1002 USE_SGI=
1003 USE_HPUX=
1004 USE_SYSV=
1005 USE_SVR4=
1006 USE_AIX=
1007 USE_SUN=
1008 USE_SOLARIS=
1009 USE_SUNOS=
1010 USE_ALPHA=
1011 USE_OSF=
1012 USE_BSD=
1013 USE_FREEBSD=
1014 USE_OPENBSD=
1015 USE_NETBSD=
1016 USE_VMS=
1017 USE_ULTRIX=
1018 USE_CYGWIN=
1019 USE_MINGW=
1020 USE_DATA_GENERAL=
1021
1022 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1023
1024 ALL_TOOLKITS="CYGWIN GTK MAC MGL MINGW MOTIF PM WINE"
1025
1026 DEFAULT_wxUSE_GTK=0
1027 DEFAULT_wxUSE_MAC=0
1028 DEFAULT_wxUSE_MGL=0
1029 DEFAULT_wxUSE_MOTIF=0
1030 DEFAULT_wxUSE_MSW=0
1031 DEFAULT_wxUSE_PM=0
1032 DEFAULT_wxUSE_WINE=0
1033
1034 DEFAULT_DEFAULT_wxUSE_GTK=0
1035 DEFAULT_DEFAULT_wxUSE_MAC=0
1036 DEFAULT_DEFAULT_wxUSE_MGL=0
1037 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1038 DEFAULT_DEFAULT_wxUSE_MSW=0
1039 DEFAULT_DEFAULT_wxUSE_PM=0
1040 DEFAULT_DEFAULT_wxUSE_WINE=0
1041
1042 PROGRAM_EXT=
1043
1044 case "${host}" in
1045 *-hp-hpux* )
1046 USE_HPUX=1
1047 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1048 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1049 cat >> confdefs.h <<\EOF
1050 #define __HPUX__ 1
1051 EOF
1052
1053 ;;
1054 *-*-linux* )
1055 USE_LINUX=1
1056 cat >> confdefs.h <<\EOF
1057 #define __LINUX__ 1
1058 EOF
1059
1060 TMP=`uname -m`
1061 if test "x$TMP" = "xalpha"; then
1062 USE_ALPHA=1
1063 cat >> confdefs.h <<\EOF
1064 #define __ALPHA__ 1
1065 EOF
1066
1067 fi
1068 DEFAULT_DEFAULT_wxUSE_GTK=1
1069 ;;
1070 *-*-irix5* | *-*-irix6* )
1071 USE_SGI=1
1072 USE_SVR4=1
1073 cat >> confdefs.h <<\EOF
1074 #define __SGI__ 1
1075 EOF
1076
1077 cat >> confdefs.h <<\EOF
1078 #define __SVR4__ 1
1079 EOF
1080
1081 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1082 ;;
1083 *-*-solaris2* )
1084 USE_SUN=1
1085 USE_SOLARIS=1
1086 USE_SVR4=1
1087 cat >> confdefs.h <<\EOF
1088 #define __SUN__ 1
1089 EOF
1090
1091 cat >> confdefs.h <<\EOF
1092 #define __SOLARIS__ 1
1093 EOF
1094
1095 cat >> confdefs.h <<\EOF
1096 #define __SVR4__ 1
1097 EOF
1098
1099 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1100 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1101 ;;
1102 *-*-sunos4* )
1103 USE_SUN=1
1104 USE_SUNOS=1
1105 USE_BSD=1
1106 cat >> confdefs.h <<\EOF
1107 #define __SUN__ 1
1108 EOF
1109
1110 cat >> confdefs.h <<\EOF
1111 #define __SUNOS__ 1
1112 EOF
1113
1114 cat >> confdefs.h <<\EOF
1115 #define __BSD__ 1
1116 EOF
1117
1118 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1119 ;;
1120 *-*-freebsd*)
1121 USE_BSD=1
1122 USE_FREEBSD=1
1123 cat >> confdefs.h <<\EOF
1124 #define __FREEBSD__ 1
1125 EOF
1126
1127 cat >> confdefs.h <<\EOF
1128 #define __BSD__ 1
1129 EOF
1130
1131 DEFAULT_DEFAULT_wxUSE_GTK=1
1132 ;;
1133 *-*-openbsd*)
1134 USE_BSD=1
1135 USE_OPENBSD=1
1136 cat >> confdefs.h <<\EOF
1137 #define __FREEBSD__ 1
1138 EOF
1139
1140 cat >> confdefs.h <<\EOF
1141 #define __OPENBSD__ 1
1142 EOF
1143
1144 DEFAULT_DEFAULT_wxUSE_GTK=1
1145 ;;
1146 *-*-netbsd*)
1147 USE_BSD=1
1148 USE_NETBSD=1
1149 cat >> confdefs.h <<\EOF
1150 #define __FREEBSD__ 1
1151 EOF
1152
1153 cat >> confdefs.h <<\EOF
1154 #define __NETBSD__ 1
1155 EOF
1156
1157 DEFAULT_DEFAULT_wxUSE_GTK=1
1158 ;;
1159 *-*-osf* )
1160 USE_ALPHA=1
1161 USE_OSF=1
1162 cat >> confdefs.h <<\EOF
1163 #define __ALPHA__ 1
1164 EOF
1165
1166 cat >> confdefs.h <<\EOF
1167 #define __OSF__ 1
1168 EOF
1169
1170 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1171 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1172 ;;
1173 *-*-dgux5* )
1174 USE_ALPHA=1
1175 USE_SVR4=1
1176 cat >> confdefs.h <<\EOF
1177 #define __ALPHA__ 1
1178 EOF
1179
1180 cat >> confdefs.h <<\EOF
1181 #define __SVR4__ 1
1182 EOF
1183
1184 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1185 ;;
1186 *-*-sysv5* )
1187 USE_SYSV=1
1188 USE_SVR4=1
1189 cat >> confdefs.h <<\EOF
1190 #define __SYSV__ 1
1191 EOF
1192
1193 cat >> confdefs.h <<\EOF
1194 #define __SVR4__ 1
1195 EOF
1196
1197 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1198 ;;
1199 *-*-aix* )
1200 USE_AIX=1
1201 USE_SYSV=1
1202 USE_SVR4=1
1203 cat >> confdefs.h <<\EOF
1204 #define __AIX__ 1
1205 EOF
1206
1207 cat >> confdefs.h <<\EOF
1208 #define __SYSV__ 1
1209 EOF
1210
1211 cat >> confdefs.h <<\EOF
1212 #define __SVR4__ 1
1213 EOF
1214
1215 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1216 ;;
1217
1218 *-*-cygwin* | *-*-mingw32* )
1219 USE_UNIX=0
1220 USE_WIN32=1
1221 cat >> confdefs.h <<\EOF
1222 #define __WIN32__ 1
1223 EOF
1224
1225 cat >> confdefs.h <<\EOF
1226 #define __WIN95__ 1
1227 EOF
1228
1229 cat >> confdefs.h <<\EOF
1230 #define __WINDOWS__ 1
1231 EOF
1232
1233 cat >> confdefs.h <<\EOF
1234 #define __GNUWIN32__ 1
1235 EOF
1236
1237 cat >> confdefs.h <<\EOF
1238 #define STRICT 1
1239 EOF
1240
1241 cat >> confdefs.h <<\EOF
1242 #define WINVER 0x0400
1243 EOF
1244
1245 PROGRAM_EXT=".exe"
1246 DEFAULT_DEFAULT_wxUSE_MSW=1
1247 ;;
1248
1249 *-pc-os2_emx )
1250 cat >> confdefs.h <<\EOF
1251 #define __EMX__ 1
1252 EOF
1253
1254 PROGRAM_EXT=".exe"
1255 DEFAULT_DEFAULT_wxUSE_PM=1
1256 ;;
1257
1258 *-*-darwin* )
1259 USE_BSD=1
1260 USE_MAC=1
1261 cat >> confdefs.h <<\EOF
1262 #define __MAC__ 1
1263 EOF
1264
1265 cat >> confdefs.h <<\EOF
1266 #define __BSD__ 1
1267 EOF
1268
1269 cat >> confdefs.h <<\EOF
1270 #define __UNIX__ 1
1271 EOF
1272
1273 DEFAULT_DEFAULT_wxUSE_MAC=1
1274 ;;
1275
1276 *-*-beos* )
1277 USE_BEOS=1
1278 cat >> confdefs.h <<\EOF
1279 #define __BEOS__ 1
1280 EOF
1281
1282 ;;
1283
1284 *)
1285 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1286 esac
1287
1288 if test "$USE_UNIX" = 1 ; then
1289 wxUSE_UNIX=yes
1290 cat >> confdefs.h <<\EOF
1291 #define __UNIX__ 1
1292 EOF
1293
1294
1295 SRC_SUBDIRS="$SRC_SUBDIRS unix"
1296 INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS unix"
1297 fi
1298
1299 if test "$USE_BEOS" = 1; then
1300 SRC_SUBDIRS="$SRC_SUBDIRS be"
1301 INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS be"
1302 fi
1303
1304 if test "$USE_LINUX" = 1; then
1305 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1306 echo "configure:1307: checking for gettext in -lc" >&5
1307 ac_lib_var=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1308 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1309 echo $ac_n "(cached) $ac_c" 1>&6
1310 else
1311 ac_save_LIBS="$LIBS"
1312 LIBS="-lc $LIBS"
1313 cat > conftest.$ac_ext <<EOF
1314 #line 1315 "configure"
1315 #include "confdefs.h"
1316 /* Override any gcc2 internal prototype to avoid an error. */
1317 /* We use char because int might match the return type of a gcc2
1318 builtin and then its argument prototype would still apply. */
1319 char gettext();
1320
1321 int main() {
1322 gettext()
1323 ; return 0; }
1324 EOF
1325 if { (eval echo configure:1326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1326 rm -rf conftest*
1327 eval "ac_cv_lib_$ac_lib_var=yes"
1328 else
1329 echo "configure: failed program was:" >&5
1330 cat conftest.$ac_ext >&5
1331 rm -rf conftest*
1332 eval "ac_cv_lib_$ac_lib_var=no"
1333 fi
1334 rm -f conftest*
1335 LIBS="$ac_save_LIBS"
1336
1337 fi
1338 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1339 echo "$ac_t""yes" 1>&6
1340 cat >> confdefs.h <<\EOF
1341 #define wxHAVE_GLIBC2 1
1342 EOF
1343
1344 else
1345 echo "$ac_t""no" 1>&6
1346 fi
1347
1348 fi
1349
1350
1351
1352
1353 wx_arg_cache_file="configarg.cache"
1354 echo "loading argument cache $wx_arg_cache_file"
1355 rm -f ${wx_arg_cache_file}.tmp
1356 touch ${wx_arg_cache_file}.tmp
1357 touch ${wx_arg_cache_file}
1358
1359
1360 DEBUG_CONFIGURE=0
1361 if test $DEBUG_CONFIGURE = 1; then
1362 DEFAULT_wxUSE_UNIVERSAL=no
1363
1364 DEFAULT_wxUSE_THREADS=yes
1365
1366 DEFAULT_wxUSE_SHARED=yes
1367 DEFAULT_wxUSE_BURNT_NAME=no
1368 DEFAULT_wxUSE_OPTIMISE=no
1369 DEFAULT_wxUSE_PROFILE=no
1370 DEFAULT_wxUSE_NO_DEPS=no
1371 DEFAULT_wxUSE_NO_RTTI=no
1372 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1373 DEFAULT_wxUSE_PERMISSIVE=no
1374 DEFAULT_wxUSE_DEBUG_FLAG=yes
1375 DEFAULT_wxUSE_DEBUG_INFO=yes
1376 DEFAULT_wxUSE_DEBUG_GDB=yes
1377 DEFAULT_wxUSE_MEM_TRACING=no
1378 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1379 DEFAULT_wxUSE_DMALLOC=no
1380 DEFAULT_wxUSE_APPLE_IEEE=no
1381
1382 DEFAULT_wxUSE_LOG=yes
1383 DEFAULT_wxUSE_LOGWINDOW=no
1384 DEFAULT_wxUSE_LOGGUI=no
1385
1386 DEFAULT_wxUSE_GUI=yes
1387 DEFAULT_wxUSE_CONTROLS=no
1388
1389 DEFAULT_wxUSE_ZLIB=no
1390 DEFAULT_wxUSE_LIBPNG=no
1391 DEFAULT_wxUSE_LIBJPEG=no
1392 DEFAULT_wxUSE_LIBTIFF=no
1393 DEFAULT_wxUSE_ODBC=no
1394 DEFAULT_wxUSE_FREETYPE=no
1395 DEFAULT_wxUSE_OPENGL=no
1396
1397 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1398 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1399 DEFAULT_wxUSE_STD_IOSTREAM=no
1400 DEFAULT_wxUSE_CMDLINE_PARSER=no
1401 DEFAULT_wxUSE_DATETIME=no
1402 DEFAULT_wxUSE_TIMEDATE=no
1403 DEFAULT_wxUSE_TIMER=no
1404 DEFAULT_wxUSE_STOPWATCH=no
1405 DEFAULT_wxUSE_FILE=no
1406 DEFAULT_wxUSE_FFILE=no
1407 DEFAULT_wxUSE_TEXTFILE=no
1408 DEFAULT_wxUSE_WAVE=no
1409 DEFAULT_wxUSE_INTL=no
1410 DEFAULT_wxUSE_CONFIG=no
1411 DEFAULT_wxUSE_FONTMAP=no
1412 DEFAULT_wxUSE_STREAMS=no
1413 DEFAULT_wxUSE_SOCKETS=no
1414 DEFAULT_wxUSE_DIALUP_MANAGER=no
1415 DEFAULT_wxUSE_SERIAL=no
1416 DEFAULT_wxUSE_JOYSTICK=no
1417 DEFAULT_wxUSE_DYNLIB_CLASS=no
1418 DEFAULT_wxUSE_LONGLONG=no
1419 DEFAULT_wxUSE_GEOMETRY=no
1420
1421 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
1422 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
1423 DEFAULT_wxUSE_POSTSCRIPT=no
1424
1425 DEFAULT_wxUSE_X_RESOURCES=no
1426 DEFAULT_wxUSE_CLIPBOARD=no
1427 DEFAULT_wxUSE_TOOLTIPS=no
1428 DEFAULT_wxUSE_DRAG_AND_DROP=no
1429 DEFAULT_wxUSE_DRAGIMAGE=no
1430 DEFAULT_wxUSE_SPLINES=no
1431
1432 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
1433 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
1434 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
1435
1436 DEFAULT_wxUSE_PROLOGIO=no
1437 DEFAULT_wxUSE_RESOURCES=no
1438 DEFAULT_wxUSE_CONSTRAINTS=no
1439 DEFAULT_wxUSE_IPC=no
1440 DEFAULT_wxUSE_HELP=no
1441 DEFAULT_wxUSE_WXTREE=no
1442 DEFAULT_wxUSE_METAFILE=no
1443 DEFAULT_wxUSE_MIMETYPE=no
1444
1445 DEFAULT_wxUSE_COMMONDLGS=no
1446 DEFAULT_wxUSE_CHOICEDLG=no
1447 DEFAULT_wxUSE_COLOURDLG=no
1448 DEFAULT_wxUSE_DIRDLG=no
1449 DEFAULT_wxUSE_FILEDLG=no
1450 DEFAULT_wxUSE_FONTDLG=no
1451 DEFAULT_wxUSE_MSGDLG=no
1452 DEFAULT_wxUSE_NUMBERDLG=no
1453 DEFAULT_wxUSE_TEXTDLG=no
1454 DEFAULT_wxUSE_STARTUP_TIPS=no
1455 DEFAULT_wxUSE_PROGRESSDLG=no
1456 DEFAULT_wxUSE_MENUS=no
1457 DEFAULT_wxUSE_MINIFRAME=no
1458 DEFAULT_wxUSE_HTML=no
1459 DEFAULT_wxUSE_FILESYSTEM=no
1460 DEFAULT_wxUSE_FS_INET=no
1461 DEFAULT_wxUSE_FS_ZIP=no
1462 DEFAULT_wxUSE_BUSYINFO=no
1463 DEFAULT_wxUSE_ZIPSTREAM=no
1464 DEFAULT_wxUSE_VALIDATORS=no
1465
1466 DEFAULT_wxUSE_ACCEL=no
1467 DEFAULT_wxUSE_BUTTON=no
1468 DEFAULT_wxUSE_BMPBUTTON=no
1469 DEFAULT_wxUSE_CALCTRL=no
1470 DEFAULT_wxUSE_CARET=no
1471 DEFAULT_wxUSE_CHECKBOX=no
1472 DEFAULT_wxUSE_CHECKLST=no
1473 DEFAULT_wxUSE_CHOICE=no
1474 DEFAULT_wxUSE_COMBOBOX=no
1475 DEFAULT_wxUSE_GAUGE=no
1476 DEFAULT_wxUSE_GRID=no
1477 DEFAULT_wxUSE_NEW_GRID=no
1478 DEFAULT_wxUSE_IMAGLIST=no
1479 DEFAULT_wxUSE_LISTBOX=no
1480 DEFAULT_wxUSE_LISTCTRL=no
1481 DEFAULT_wxUSE_NOTEBOOK=no
1482 DEFAULT_wxUSE_RADIOBOX=no
1483 DEFAULT_wxUSE_RADIOBTN=no
1484 DEFAULT_wxUSE_SASH=no
1485 DEFAULT_wxUSE_SCROLLBAR=no
1486 DEFAULT_wxUSE_SLIDER=no
1487 DEFAULT_wxUSE_SPINBTN=no
1488 DEFAULT_wxUSE_SPINCTRL=no
1489 DEFAULT_wxUSE_SPLITTER=no
1490 DEFAULT_wxUSE_STATBMP=no
1491 DEFAULT_wxUSE_STATBOX=no
1492 DEFAULT_wxUSE_STATLINE=no
1493 DEFAULT_wxUSE_STATTEXT=no
1494 DEFAULT_wxUSE_STATUSBAR=yes
1495 DEFAULT_wxUSE_TABDIALOG=no
1496 DEFAULT_wxUSE_TEXTCTRL=no
1497 DEFAULT_wxUSE_TOGGLEBTN=no
1498 DEFAULT_wxUSE_TOOLBAR=no
1499 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
1500 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
1501 DEFAULT_wxUSE_TREECTRL=no
1502
1503 DEFAULT_wxUSE_UNICODE=no
1504 DEFAULT_wxUSE_WCSRTOMBS=no
1505
1506 DEFAULT_wxUSE_IMAGE=no
1507 DEFAULT_wxUSE_GIF=no
1508 DEFAULT_wxUSE_PCX=no
1509 DEFAULT_wxUSE_PNM=no
1510 DEFAULT_wxUSE_XPM=no
1511 else
1512 DEFAULT_wxUSE_UNIVERSAL=no
1513
1514 DEFAULT_wxUSE_THREADS=yes
1515
1516 DEFAULT_wxUSE_SHARED=yes
1517 DEFAULT_wxUSE_BURNT_NAME=no
1518 DEFAULT_wxUSE_OPTIMISE=yes
1519 DEFAULT_wxUSE_PROFILE=no
1520 DEFAULT_wxUSE_NO_DEPS=no
1521 DEFAULT_wxUSE_NO_RTTI=no
1522 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1523 DEFAULT_wxUSE_PERMISSIVE=no
1524 DEFAULT_wxUSE_DEBUG_FLAG=no
1525 DEFAULT_wxUSE_DEBUG_INFO=no
1526 DEFAULT_wxUSE_DEBUG_GDB=no
1527 DEFAULT_wxUSE_MEM_TRACING=no
1528 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1529 DEFAULT_wxUSE_DMALLOC=no
1530 DEFAULT_wxUSE_APPLE_IEEE=yes
1531
1532 DEFAULT_wxUSE_LOG=yes
1533 DEFAULT_wxUSE_LOGWINDOW=yes
1534 DEFAULT_wxUSE_LOGGUI=yes
1535
1536 DEFAULT_wxUSE_GUI=yes
1537
1538 DEFAULT_wxUSE_ZLIB=yes
1539 DEFAULT_wxUSE_LIBPNG=yes
1540 DEFAULT_wxUSE_LIBJPEG=yes
1541 DEFAULT_wxUSE_LIBTIFF=yes
1542 DEFAULT_wxUSE_ODBC=no
1543 DEFAULT_wxUSE_FREETYPE=no
1544 DEFAULT_wxUSE_OPENGL=no
1545
1546 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
1547 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
1548 DEFAULT_wxUSE_STD_IOSTREAM=no
1549 DEFAULT_wxUSE_CMDLINE_PARSER=yes
1550 DEFAULT_wxUSE_DATETIME=yes
1551 DEFAULT_wxUSE_TIMEDATE=no
1552 DEFAULT_wxUSE_TIMER=yes
1553 DEFAULT_wxUSE_STOPWATCH=yes
1554 DEFAULT_wxUSE_FILE=yes
1555 DEFAULT_wxUSE_FFILE=yes
1556 DEFAULT_wxUSE_TEXTFILE=yes
1557 DEFAULT_wxUSE_WAVE=no
1558 DEFAULT_wxUSE_INTL=yes
1559 DEFAULT_wxUSE_CONFIG=yes
1560 DEFAULT_wxUSE_FONTMAP=yes
1561 DEFAULT_wxUSE_STREAMS=yes
1562 DEFAULT_wxUSE_SOCKETS=yes
1563 DEFAULT_wxUSE_DIALUP_MANAGER=yes
1564 DEFAULT_wxUSE_SERIAL=yes
1565 DEFAULT_wxUSE_JOYSTICK=yes
1566 DEFAULT_wxUSE_DYNLIB_CLASS=yes
1567 DEFAULT_wxUSE_LONGLONG=yes
1568 DEFAULT_wxUSE_GEOMETRY=yes
1569
1570 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
1571 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
1572 DEFAULT_wxUSE_POSTSCRIPT=yes
1573
1574 DEFAULT_wxUSE_X_RESOURCES=no
1575 DEFAULT_wxUSE_CLIPBOARD=yes
1576 DEFAULT_wxUSE_TOOLTIPS=yes
1577 DEFAULT_wxUSE_DRAG_AND_DROP=yes
1578 DEFAULT_wxUSE_DRAGIMAGE=yes
1579 DEFAULT_wxUSE_SPLINES=yes
1580
1581 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
1582 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
1583 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
1584
1585 DEFAULT_wxUSE_PROLOGIO=yes
1586 DEFAULT_wxUSE_RESOURCES=yes
1587 DEFAULT_wxUSE_CONSTRAINTS=yes
1588 DEFAULT_wxUSE_IPC=yes
1589 DEFAULT_wxUSE_HELP=yes
1590 DEFAULT_wxUSE_WXTREE=yes
1591 DEFAULT_wxUSE_METAFILE=yes
1592 DEFAULT_wxUSE_MIMETYPE=yes
1593
1594 DEFAULT_wxUSE_COMMONDLGS=yes
1595 DEFAULT_wxUSE_CHOICEDLG=yes
1596 DEFAULT_wxUSE_COLOURDLG=yes
1597 DEFAULT_wxUSE_DIRDLG=yes
1598 DEFAULT_wxUSE_FILEDLG=yes
1599 DEFAULT_wxUSE_FONTDLG=yes
1600 DEFAULT_wxUSE_MSGDLG=yes
1601 DEFAULT_wxUSE_NUMBERDLG=yes
1602 DEFAULT_wxUSE_TEXTDLG=yes
1603 DEFAULT_wxUSE_STARTUP_TIPS=yes
1604 DEFAULT_wxUSE_PROGRESSDLG=yes
1605 DEFAULT_wxUSE_MENUS=yes
1606 DEFAULT_wxUSE_MINIFRAME=yes
1607 DEFAULT_wxUSE_HTML=yes
1608 DEFAULT_wxUSE_FILESYSTEM=yes
1609 DEFAULT_wxUSE_FS_INET=yes
1610 DEFAULT_wxUSE_FS_ZIP=yes
1611 DEFAULT_wxUSE_BUSYINFO=yes
1612 DEFAULT_wxUSE_ZIPSTREAM=yes
1613 DEFAULT_wxUSE_VALIDATORS=yes
1614
1615 DEFAULT_wxUSE_ACCEL=yes
1616 DEFAULT_wxUSE_BUTTON=yes
1617 DEFAULT_wxUSE_BMPBUTTON=yes
1618 DEFAULT_wxUSE_CALCTRL=yes
1619 DEFAULT_wxUSE_CARET=yes
1620 DEFAULT_wxUSE_CHECKBOX=yes
1621 DEFAULT_wxUSE_CHECKLST=yes
1622 DEFAULT_wxUSE_CHOICE=yes
1623 DEFAULT_wxUSE_COMBOBOX=yes
1624 DEFAULT_wxUSE_GAUGE=yes
1625 DEFAULT_wxUSE_GRID=yes
1626 DEFAULT_wxUSE_NEW_GRID=yes
1627 DEFAULT_wxUSE_IMAGLIST=yes
1628 DEFAULT_wxUSE_LISTBOX=yes
1629 DEFAULT_wxUSE_LISTCTRL=yes
1630 DEFAULT_wxUSE_NOTEBOOK=yes
1631 DEFAULT_wxUSE_RADIOBOX=yes
1632 DEFAULT_wxUSE_RADIOBTN=yes
1633 DEFAULT_wxUSE_SASH=yes
1634 DEFAULT_wxUSE_SCROLLBAR=yes
1635 DEFAULT_wxUSE_SLIDER=yes
1636 DEFAULT_wxUSE_SPINBTN=yes
1637 DEFAULT_wxUSE_SPINCTRL=yes
1638 DEFAULT_wxUSE_SPLITTER=yes
1639 DEFAULT_wxUSE_STATBMP=yes
1640 DEFAULT_wxUSE_STATBOX=yes
1641 DEFAULT_wxUSE_STATLINE=yes
1642 DEFAULT_wxUSE_STATTEXT=yes
1643 DEFAULT_wxUSE_STATUSBAR=yes
1644 DEFAULT_wxUSE_TABDIALOG=no
1645 DEFAULT_wxUSE_TEXTCTRL=yes
1646 DEFAULT_wxUSE_TOGGLEBTN=yes
1647 DEFAULT_wxUSE_TOOLBAR=yes
1648 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
1649 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
1650 DEFAULT_wxUSE_TREECTRL=yes
1651
1652 DEFAULT_wxUSE_UNICODE=no
1653 DEFAULT_wxUSE_WCSRTOMBS=no
1654
1655 DEFAULT_wxUSE_IMAGE=yes
1656 DEFAULT_wxUSE_GIF=yes
1657 DEFAULT_wxUSE_PCX=yes
1658 DEFAULT_wxUSE_PNM=yes
1659 DEFAULT_wxUSE_XPM=yes
1660 fi
1661
1662
1663
1664 for toolkit in `echo $ALL_TOOLKITS`; do
1665 LINE=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1666 if test "x$LINE" != x ; then
1667 has_toolkit_in_cache=1
1668 eval "DEFAULT_$LINE"
1669 eval "CACHE_$toolkit=1"
1670 fi
1671 done
1672
1673
1674
1675 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1676 echo "configure:1677: checking for --enable-gui" >&5
1677 no_cache=0
1678 # Check whether --enable-gui or --disable-gui was given.
1679 if test "${enable_gui+set}" = set; then
1680 enableval="$enable_gui"
1681
1682 if test "$enableval" = yes; then
1683 ac_cv_use_gui='wxUSE_GUI=yes'
1684 else
1685 ac_cv_use_gui='wxUSE_GUI=no'
1686 fi
1687
1688 else
1689
1690 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1691 if test "x$LINE" != x ; then
1692 eval "DEFAULT_$LINE"
1693 else
1694 no_cache=1
1695 fi
1696
1697 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1698
1699 fi
1700
1701
1702 eval "$ac_cv_use_gui"
1703 if test "$no_cache" != 1; then
1704 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1705 fi
1706
1707 if test "$wxUSE_GUI" = yes; then
1708 echo "$ac_t""yes" 1>&6
1709 else
1710 echo "$ac_t""no" 1>&6
1711 fi
1712
1713
1714 if test "$wxUSE_GUI" = "yes"; then
1715
1716
1717 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1718 echo "configure:1719: checking for --enable-universal" >&5
1719 no_cache=0
1720 # Check whether --enable-universal or --disable-universal was given.
1721 if test "${enable_universal+set}" = set; then
1722 enableval="$enable_universal"
1723
1724 if test "$enableval" = yes; then
1725 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
1726 else
1727 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
1728 fi
1729
1730 else
1731
1732 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1733 if test "x$LINE" != x ; then
1734 eval "DEFAULT_$LINE"
1735 else
1736 no_cache=1
1737 fi
1738
1739 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1740
1741 fi
1742
1743
1744 eval "$ac_cv_use_universal"
1745 if test "$no_cache" != 1; then
1746 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1747 fi
1748
1749 if test "$wxUSE_UNIVERSAL" = yes; then
1750 echo "$ac_t""yes" 1>&6
1751 else
1752 echo "$ac_t""no" 1>&6
1753 fi
1754
1755 # Check whether --with-gtk or --without-gtk was given.
1756 if test "${with_gtk+set}" = set; then
1757 withval="$with_gtk"
1758 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
1759 fi
1760
1761 # Check whether --with-motif or --without-motif was given.
1762 if test "${with_motif+set}" = set; then
1763 withval="$with_motif"
1764 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
1765 fi
1766
1767 # Check whether --with-mac or --without-mac was given.
1768 if test "${with_mac+set}" = set; then
1769 withval="$with_mac"
1770 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
1771 fi
1772
1773 # Check whether --with-wine or --without-wine was given.
1774 if test "${with_wine+set}" = set; then
1775 withval="$with_wine"
1776 wxUSE_WINE="$withval" CACHE_WINE=1 TOOLKIT_GIVEN=1
1777 fi
1778
1779 # Check whether --with-cygwin or --without-cygwin was given.
1780 if test "${with_cygwin+set}" = set; then
1781 withval="$with_cygwin"
1782 wxUSE_CYGWIN="$withval" CACHE_CYGWIN=1 TOOLKIT_GIVEN=1
1783 fi
1784
1785 # Check whether --with-mingw or --without-mingw was given.
1786 if test "${with_mingw+set}" = set; then
1787 withval="$with_mingw"
1788 wxUSE_MINGW="$withval" CACHE_MINGW=1 TOOLKIT_GIVEN=1
1789 fi
1790
1791 # Check whether --with-pm or --without-pm was given.
1792 if test "${with_pm+set}" = set; then
1793 withval="$with_pm"
1794 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
1795 fi
1796
1797 # Check whether --with-mgl or --without-mgl was given.
1798 if test "${with_mgl+set}" = set; then
1799 withval="$with_mgl"
1800 wxUSE_MGL="$withval" CACHE_MGL=1 TOOLKIT_GIVEN=1
1801 fi
1802
1803
1804 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1805 if test "${enable_gtk2+set}" = set; then
1806 enableval="$enable_gtk2"
1807 wxUSE_GTK2=1
1808 else
1809 wxUSE_GTK2=0
1810 fi
1811
1812
1813
1814 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1815 echo "configure:1816: checking for --with-libpng" >&5
1816 no_cache=0
1817 # Check whether --with-libpng or --without-libpng was given.
1818 if test "${with_libpng+set}" = set; then
1819 withval="$with_libpng"
1820
1821 if test "$withval" = yes; then
1822 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
1823 elif test "$withval" = no; then
1824 ac_cv_use_libpng='wxUSE_LIBPNG=no'
1825 elif test "$withval" = sys; then
1826 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
1827 else
1828 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1829 fi
1830
1831 else
1832
1833 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1834 if test "x$LINE" != x ; then
1835 eval "DEFAULT_$LINE"
1836 else
1837 no_cache=1
1838 fi
1839
1840 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1841
1842 fi
1843
1844
1845 eval "$ac_cv_use_libpng"
1846 if test "$no_cache" != 1; then
1847 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1848 fi
1849
1850 if test "$wxUSE_LIBPNG" = yes; then
1851 echo "$ac_t""yes" 1>&6
1852 elif test "$wxUSE_LIBPNG" = no; then
1853 echo "$ac_t""no" 1>&6
1854 elif test "$wxUSE_LIBPNG" = sys; then
1855 echo "$ac_t""system version" 1>&6
1856 else
1857 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1858 fi
1859
1860
1861 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1862 echo "configure:1863: checking for --with-libjpeg" >&5
1863 no_cache=0
1864 # Check whether --with-libjpeg or --without-libjpeg was given.
1865 if test "${with_libjpeg+set}" = set; then
1866 withval="$with_libjpeg"
1867
1868 if test "$withval" = yes; then
1869 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
1870 elif test "$withval" = no; then
1871 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
1872 elif test "$withval" = sys; then
1873 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
1874 else
1875 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1876 fi
1877
1878 else
1879
1880 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1881 if test "x$LINE" != x ; then
1882 eval "DEFAULT_$LINE"
1883 else
1884 no_cache=1
1885 fi
1886
1887 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1888
1889 fi
1890
1891
1892 eval "$ac_cv_use_libjpeg"
1893 if test "$no_cache" != 1; then
1894 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1895 fi
1896
1897 if test "$wxUSE_LIBJPEG" = yes; then
1898 echo "$ac_t""yes" 1>&6
1899 elif test "$wxUSE_LIBJPEG" = no; then
1900 echo "$ac_t""no" 1>&6
1901 elif test "$wxUSE_LIBJPEG" = sys; then
1902 echo "$ac_t""system version" 1>&6
1903 else
1904 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1905 fi
1906
1907
1908 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1909 echo "configure:1910: checking for --with-libtiff" >&5
1910 no_cache=0
1911 # Check whether --with-libtiff or --without-libtiff was given.
1912 if test "${with_libtiff+set}" = set; then
1913 withval="$with_libtiff"
1914
1915 if test "$withval" = yes; then
1916 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
1917 elif test "$withval" = no; then
1918 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
1919 elif test "$withval" = sys; then
1920 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
1921 else
1922 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1923 fi
1924
1925 else
1926
1927 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1928 if test "x$LINE" != x ; then
1929 eval "DEFAULT_$LINE"
1930 else
1931 no_cache=1
1932 fi
1933
1934 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1935
1936 fi
1937
1938
1939 eval "$ac_cv_use_libtiff"
1940 if test "$no_cache" != 1; then
1941 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1942 fi
1943
1944 if test "$wxUSE_LIBTIFF" = yes; then
1945 echo "$ac_t""yes" 1>&6
1946 elif test "$wxUSE_LIBTIFF" = no; then
1947 echo "$ac_t""no" 1>&6
1948 elif test "$wxUSE_LIBTIFF" = sys; then
1949 echo "$ac_t""system version" 1>&6
1950 else
1951 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1952 fi
1953
1954
1955 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1956 echo "configure:1957: checking for --with-freetype" >&5
1957 no_cache=0
1958 # Check whether --with-freetype or --without-freetype was given.
1959 if test "${with_freetype+set}" = set; then
1960 withval="$with_freetype"
1961
1962 if test "$withval" = yes; then
1963 ac_cv_use_freetype='wxUSE_FREETYPE=yes'
1964 elif test "$withval" = no; then
1965 ac_cv_use_freetype='wxUSE_FREETYPE=no'
1966 elif test "$withval" = sys; then
1967 ac_cv_use_freetype='wxUSE_FREETYPE=sys'
1968 else
1969 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1970 fi
1971
1972 else
1973
1974 LINE=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
1975 if test "x$LINE" != x ; then
1976 eval "DEFAULT_$LINE"
1977 else
1978 no_cache=1
1979 fi
1980
1981 ac_cv_use_freetype='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
1982
1983 fi
1984
1985
1986 eval "$ac_cv_use_freetype"
1987 if test "$no_cache" != 1; then
1988 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
1989 fi
1990
1991 if test "$wxUSE_FREETYPE" = yes; then
1992 echo "$ac_t""yes" 1>&6
1993 elif test "$wxUSE_FREETYPE" = no; then
1994 echo "$ac_t""no" 1>&6
1995 elif test "$wxUSE_FREETYPE" = sys; then
1996 echo "$ac_t""system version" 1>&6
1997 else
1998 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1999 fi
2000
2001
2002 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2003 echo "configure:2004: checking for --with-opengl" >&5
2004 no_cache=0
2005 # Check whether --with-opengl or --without-opengl was given.
2006 if test "${with_opengl+set}" = set; then
2007 withval="$with_opengl"
2008
2009 if test "$withval" = yes; then
2010 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2011 else
2012 ac_cv_use_opengl='wxUSE_OPENGL=no'
2013 fi
2014
2015 else
2016
2017 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2018 if test "x$LINE" != x ; then
2019 eval "DEFAULT_$LINE"
2020 else
2021 no_cache=1
2022 fi
2023
2024 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2025
2026 fi
2027
2028
2029 eval "$ac_cv_use_opengl"
2030 if test "$no_cache" != 1; then
2031 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2032 fi
2033
2034 if test "$wxUSE_OPENGL" = yes; then
2035 echo "$ac_t""yes" 1>&6
2036 else
2037 echo "$ac_t""no" 1>&6
2038 fi
2039
2040
2041 fi
2042
2043
2044 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2045 echo "configure:2046: checking for --with-dmalloc" >&5
2046 no_cache=0
2047 # Check whether --with-dmalloc or --without-dmalloc was given.
2048 if test "${with_dmalloc+set}" = set; then
2049 withval="$with_dmalloc"
2050
2051 if test "$withval" = yes; then
2052 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2053 else
2054 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2055 fi
2056
2057 else
2058
2059 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2060 if test "x$LINE" != x ; then
2061 eval "DEFAULT_$LINE"
2062 else
2063 no_cache=1
2064 fi
2065
2066 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2067
2068 fi
2069
2070
2071 eval "$ac_cv_use_dmalloc"
2072 if test "$no_cache" != 1; then
2073 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2074 fi
2075
2076 if test "$wxUSE_DMALLOC" = yes; then
2077 echo "$ac_t""yes" 1>&6
2078 else
2079 echo "$ac_t""no" 1>&6
2080 fi
2081
2082
2083 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2084 echo "configure:2085: checking for --with-zlib" >&5
2085 no_cache=0
2086 # Check whether --with-zlib or --without-zlib was given.
2087 if test "${with_zlib+set}" = set; then
2088 withval="$with_zlib"
2089
2090 if test "$withval" = yes; then
2091 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2092 elif test "$withval" = no; then
2093 ac_cv_use_zlib='wxUSE_ZLIB=no'
2094 elif test "$withval" = sys; then
2095 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2096 else
2097 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2098 fi
2099
2100 else
2101
2102 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2103 if test "x$LINE" != x ; then
2104 eval "DEFAULT_$LINE"
2105 else
2106 no_cache=1
2107 fi
2108
2109 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2110
2111 fi
2112
2113
2114 eval "$ac_cv_use_zlib"
2115 if test "$no_cache" != 1; then
2116 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2117 fi
2118
2119 if test "$wxUSE_ZLIB" = yes; then
2120 echo "$ac_t""yes" 1>&6
2121 elif test "$wxUSE_ZLIB" = no; then
2122 echo "$ac_t""no" 1>&6
2123 elif test "$wxUSE_ZLIB" = sys; then
2124 echo "$ac_t""system version" 1>&6
2125 else
2126 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2127 fi
2128
2129
2130 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2131 echo "configure:2132: checking for --with-odbc" >&5
2132 no_cache=0
2133 # Check whether --with-odbc or --without-odbc was given.
2134 if test "${with_odbc+set}" = set; then
2135 withval="$with_odbc"
2136
2137 if test "$withval" = yes; then
2138 ac_cv_use_odbc='wxUSE_ODBC=yes'
2139 else
2140 ac_cv_use_odbc='wxUSE_ODBC=no'
2141 fi
2142
2143 else
2144
2145 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2146 if test "x$LINE" != x ; then
2147 eval "DEFAULT_$LINE"
2148 else
2149 no_cache=1
2150 fi
2151
2152 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2153
2154 fi
2155
2156
2157 eval "$ac_cv_use_odbc"
2158 if test "$no_cache" != 1; then
2159 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2160 fi
2161
2162 if test "$wxUSE_ODBC" = yes; then
2163 echo "$ac_t""yes" 1>&6
2164 else
2165 echo "$ac_t""no" 1>&6
2166 fi
2167
2168
2169
2170
2171
2172 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2173 echo "configure:2174: checking for --enable-shared" >&5
2174 no_cache=0
2175 # Check whether --enable-shared or --disable-shared was given.
2176 if test "${enable_shared+set}" = set; then
2177 enableval="$enable_shared"
2178
2179 if test "$enableval" = yes; then
2180 ac_cv_use_shared='wxUSE_SHARED=yes'
2181 else
2182 ac_cv_use_shared='wxUSE_SHARED=no'
2183 fi
2184
2185 else
2186
2187 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2188 if test "x$LINE" != x ; then
2189 eval "DEFAULT_$LINE"
2190 else
2191 no_cache=1
2192 fi
2193
2194 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2195
2196 fi
2197
2198
2199 eval "$ac_cv_use_shared"
2200 if test "$no_cache" != 1; then
2201 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2202 fi
2203
2204 if test "$wxUSE_SHARED" = yes; then
2205 echo "$ac_t""yes" 1>&6
2206 else
2207 echo "$ac_t""no" 1>&6
2208 fi
2209
2210
2211 echo $ac_n "checking for --enable-burnt_name""... $ac_c" 1>&6
2212 echo "configure:2213: checking for --enable-burnt_name" >&5
2213 no_cache=0
2214 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2215 if test "${enable_burnt_name+set}" = set; then
2216 enableval="$enable_burnt_name"
2217
2218 if test "$enableval" = yes; then
2219 ac_cv_use_burnt_name='wxUSE_BURNT_NAME=yes'
2220 else
2221 ac_cv_use_burnt_name='wxUSE_BURNT_NAME=no'
2222 fi
2223
2224 else
2225
2226 LINE=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2227 if test "x$LINE" != x ; then
2228 eval "DEFAULT_$LINE"
2229 else
2230 no_cache=1
2231 fi
2232
2233 ac_cv_use_burnt_name='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2234
2235 fi
2236
2237
2238 eval "$ac_cv_use_burnt_name"
2239 if test "$no_cache" != 1; then
2240 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2241 fi
2242
2243 if test "$wxUSE_BURNT_NAME" = yes; then
2244 echo "$ac_t""yes" 1>&6
2245 else
2246 echo "$ac_t""no" 1>&6
2247 fi
2248
2249
2250 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2251 echo "configure:2252: checking for --enable-optimise" >&5
2252 no_cache=0
2253 # Check whether --enable-optimise or --disable-optimise was given.
2254 if test "${enable_optimise+set}" = set; then
2255 enableval="$enable_optimise"
2256
2257 if test "$enableval" = yes; then
2258 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
2259 else
2260 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
2261 fi
2262
2263 else
2264
2265 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2266 if test "x$LINE" != x ; then
2267 eval "DEFAULT_$LINE"
2268 else
2269 no_cache=1
2270 fi
2271
2272 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2273
2274 fi
2275
2276
2277 eval "$ac_cv_use_optimise"
2278 if test "$no_cache" != 1; then
2279 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2280 fi
2281
2282 if test "$wxUSE_OPTIMISE" = yes; then
2283 echo "$ac_t""yes" 1>&6
2284 else
2285 echo "$ac_t""no" 1>&6
2286 fi
2287
2288
2289 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2290 echo "configure:2291: checking for --enable-debug" >&5
2291 no_cache=0
2292 # Check whether --enable-debug or --disable-debug was given.
2293 if test "${enable_debug+set}" = set; then
2294 enableval="$enable_debug"
2295
2296 if test "$enableval" = yes; then
2297 ac_cv_use_debug='wxUSE_DEBUG=yes'
2298 else
2299 ac_cv_use_debug='wxUSE_DEBUG=no'
2300 fi
2301
2302 else
2303
2304 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2305 if test "x$LINE" != x ; then
2306 eval "DEFAULT_$LINE"
2307 else
2308 no_cache=1
2309 fi
2310
2311 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2312
2313 fi
2314
2315
2316 eval "$ac_cv_use_debug"
2317 if test "$no_cache" != 1; then
2318 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2319 fi
2320
2321 if test "$wxUSE_DEBUG" = yes; then
2322 echo "$ac_t""yes" 1>&6
2323 else
2324 echo "$ac_t""no" 1>&6
2325 fi
2326
2327
2328 if test "$wxUSE_DEBUG" = "yes"; then
2329 DEFAULT_wxUSE_DEBUG_FLAG=yes
2330 DEFAULT_wxUSE_DEBUG_INFO=yes
2331 elif test "$wxUSE_DEBUG" = "no"; then
2332 DEFAULT_wxUSE_DEBUG_FLAG=no
2333 DEFAULT_wxUSE_DEBUG_INFO=no
2334 fi
2335
2336
2337 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2338 echo "configure:2339: checking for --enable-debug_flag" >&5
2339 no_cache=0
2340 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2341 if test "${enable_debug_flag+set}" = set; then
2342 enableval="$enable_debug_flag"
2343
2344 if test "$enableval" = yes; then
2345 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
2346 else
2347 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
2348 fi
2349
2350 else
2351
2352 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2353 if test "x$LINE" != x ; then
2354 eval "DEFAULT_$LINE"
2355 else
2356 no_cache=1
2357 fi
2358
2359 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2360
2361 fi
2362
2363
2364 eval "$ac_cv_use_debug_flag"
2365 if test "$no_cache" != 1; then
2366 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2367 fi
2368
2369 if test "$wxUSE_DEBUG_FLAG" = yes; then
2370 echo "$ac_t""yes" 1>&6
2371 else
2372 echo "$ac_t""no" 1>&6
2373 fi
2374
2375
2376 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2377 echo "configure:2378: checking for --enable-debug_info" >&5
2378 no_cache=0
2379 # Check whether --enable-debug_info or --disable-debug_info was given.
2380 if test "${enable_debug_info+set}" = set; then
2381 enableval="$enable_debug_info"
2382
2383 if test "$enableval" = yes; then
2384 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
2385 else
2386 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
2387 fi
2388
2389 else
2390
2391 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2392 if test "x$LINE" != x ; then
2393 eval "DEFAULT_$LINE"
2394 else
2395 no_cache=1
2396 fi
2397
2398 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2399
2400 fi
2401
2402
2403 eval "$ac_cv_use_debug_info"
2404 if test "$no_cache" != 1; then
2405 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2406 fi
2407
2408 if test "$wxUSE_DEBUG_INFO" = yes; then
2409 echo "$ac_t""yes" 1>&6
2410 else
2411 echo "$ac_t""no" 1>&6
2412 fi
2413
2414
2415 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2416 echo "configure:2417: checking for --enable-debug_gdb" >&5
2417 no_cache=0
2418 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2419 if test "${enable_debug_gdb+set}" = set; then
2420 enableval="$enable_debug_gdb"
2421
2422 if test "$enableval" = yes; then
2423 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
2424 else
2425 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
2426 fi
2427
2428 else
2429
2430 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2431 if test "x$LINE" != x ; then
2432 eval "DEFAULT_$LINE"
2433 else
2434 no_cache=1
2435 fi
2436
2437 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2438
2439 fi
2440
2441
2442 eval "$ac_cv_use_debug_gdb"
2443 if test "$no_cache" != 1; then
2444 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2445 fi
2446
2447 if test "$wxUSE_DEBUG_GDB" = yes; then
2448 echo "$ac_t""yes" 1>&6
2449 else
2450 echo "$ac_t""no" 1>&6
2451 fi
2452
2453
2454 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2455 echo "configure:2456: checking for --enable-debug_cntxt" >&5
2456 no_cache=0
2457 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2458 if test "${enable_debug_cntxt+set}" = set; then
2459 enableval="$enable_debug_cntxt"
2460
2461 if test "$enableval" = yes; then
2462 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
2463 else
2464 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
2465 fi
2466
2467 else
2468
2469 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2470 if test "x$LINE" != x ; then
2471 eval "DEFAULT_$LINE"
2472 else
2473 no_cache=1
2474 fi
2475
2476 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2477
2478 fi
2479
2480
2481 eval "$ac_cv_use_debug_cntxt"
2482 if test "$no_cache" != 1; then
2483 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2484 fi
2485
2486 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2487 echo "$ac_t""yes" 1>&6
2488 else
2489 echo "$ac_t""no" 1>&6
2490 fi
2491
2492
2493 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2494 echo "configure:2495: checking for --enable-mem_tracing" >&5
2495 no_cache=0
2496 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2497 if test "${enable_mem_tracing+set}" = set; then
2498 enableval="$enable_mem_tracing"
2499
2500 if test "$enableval" = yes; then
2501 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
2502 else
2503 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
2504 fi
2505
2506 else
2507
2508 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2509 if test "x$LINE" != x ; then
2510 eval "DEFAULT_$LINE"
2511 else
2512 no_cache=1
2513 fi
2514
2515 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2516
2517 fi
2518
2519
2520 eval "$ac_cv_use_mem_tracing"
2521 if test "$no_cache" != 1; then
2522 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2523 fi
2524
2525 if test "$wxUSE_MEM_TRACING" = yes; then
2526 echo "$ac_t""yes" 1>&6
2527 else
2528 echo "$ac_t""no" 1>&6
2529 fi
2530
2531
2532 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2533 echo "configure:2534: checking for --enable-profile" >&5
2534 no_cache=0
2535 # Check whether --enable-profile or --disable-profile was given.
2536 if test "${enable_profile+set}" = set; then
2537 enableval="$enable_profile"
2538
2539 if test "$enableval" = yes; then
2540 ac_cv_use_profile='wxUSE_PROFILE=yes'
2541 else
2542 ac_cv_use_profile='wxUSE_PROFILE=no'
2543 fi
2544
2545 else
2546
2547 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2548 if test "x$LINE" != x ; then
2549 eval "DEFAULT_$LINE"
2550 else
2551 no_cache=1
2552 fi
2553
2554 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2555
2556 fi
2557
2558
2559 eval "$ac_cv_use_profile"
2560 if test "$no_cache" != 1; then
2561 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2562 fi
2563
2564 if test "$wxUSE_PROFILE" = yes; then
2565 echo "$ac_t""yes" 1>&6
2566 else
2567 echo "$ac_t""no" 1>&6
2568 fi
2569
2570
2571 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2572 echo "configure:2573: checking for --enable-no_rtti" >&5
2573 no_cache=0
2574 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2575 if test "${enable_no_rtti+set}" = set; then
2576 enableval="$enable_no_rtti"
2577
2578 if test "$enableval" = yes; then
2579 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
2580 else
2581 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
2582 fi
2583
2584 else
2585
2586 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2587 if test "x$LINE" != x ; then
2588 eval "DEFAULT_$LINE"
2589 else
2590 no_cache=1
2591 fi
2592
2593 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2594
2595 fi
2596
2597
2598 eval "$ac_cv_use_no_rtti"
2599 if test "$no_cache" != 1; then
2600 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2601 fi
2602
2603 if test "$wxUSE_NO_RTTI" = yes; then
2604 echo "$ac_t""yes" 1>&6
2605 else
2606 echo "$ac_t""no" 1>&6
2607 fi
2608
2609
2610 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2611 echo "configure:2612: checking for --enable-no_exceptions" >&5
2612 no_cache=0
2613 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2614 if test "${enable_no_exceptions+set}" = set; then
2615 enableval="$enable_no_exceptions"
2616
2617 if test "$enableval" = yes; then
2618 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
2619 else
2620 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
2621 fi
2622
2623 else
2624
2625 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2626 if test "x$LINE" != x ; then
2627 eval "DEFAULT_$LINE"
2628 else
2629 no_cache=1
2630 fi
2631
2632 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2633
2634 fi
2635
2636
2637 eval "$ac_cv_use_no_exceptions"
2638 if test "$no_cache" != 1; then
2639 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2640 fi
2641
2642 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2643 echo "$ac_t""yes" 1>&6
2644 else
2645 echo "$ac_t""no" 1>&6
2646 fi
2647
2648
2649 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2650 echo "configure:2651: checking for --enable-permissive" >&5
2651 no_cache=0
2652 # Check whether --enable-permissive or --disable-permissive was given.
2653 if test "${enable_permissive+set}" = set; then
2654 enableval="$enable_permissive"
2655
2656 if test "$enableval" = yes; then
2657 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
2658 else
2659 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
2660 fi
2661
2662 else
2663
2664 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2665 if test "x$LINE" != x ; then
2666 eval "DEFAULT_$LINE"
2667 else
2668 no_cache=1
2669 fi
2670
2671 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2672
2673 fi
2674
2675
2676 eval "$ac_cv_use_permissive"
2677 if test "$no_cache" != 1; then
2678 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2679 fi
2680
2681 if test "$wxUSE_PERMISSIVE" = yes; then
2682 echo "$ac_t""yes" 1>&6
2683 else
2684 echo "$ac_t""no" 1>&6
2685 fi
2686
2687
2688 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2689 echo "configure:2690: checking for --enable-no_deps" >&5
2690 no_cache=0
2691 # Check whether --enable-no_deps or --disable-no_deps was given.
2692 if test "${enable_no_deps+set}" = set; then
2693 enableval="$enable_no_deps"
2694
2695 if test "$enableval" = yes; then
2696 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
2697 else
2698 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
2699 fi
2700
2701 else
2702
2703 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2704 if test "x$LINE" != x ; then
2705 eval "DEFAULT_$LINE"
2706 else
2707 no_cache=1
2708 fi
2709
2710 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2711
2712 fi
2713
2714
2715 eval "$ac_cv_use_no_deps"
2716 if test "$no_cache" != 1; then
2717 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2718 fi
2719
2720 if test "$wxUSE_NO_DEPS" = yes; then
2721 echo "$ac_t""yes" 1>&6
2722 else
2723 echo "$ac_t""no" 1>&6
2724 fi
2725
2726
2727
2728 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2729 echo "configure:2730: checking for --enable-compat20" >&5
2730 no_cache=0
2731 # Check whether --enable-compat20 or --disable-compat20 was given.
2732 if test "${enable_compat20+set}" = set; then
2733 enableval="$enable_compat20"
2734
2735 if test "$enableval" = yes; then
2736 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
2737 else
2738 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
2739 fi
2740
2741 else
2742
2743 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2744 if test "x$LINE" != x ; then
2745 eval "DEFAULT_$LINE"
2746 else
2747 no_cache=1
2748 fi
2749
2750 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2751
2752 fi
2753
2754
2755 eval "$ac_cv_use_compat20"
2756 if test "$no_cache" != 1; then
2757 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2758 fi
2759
2760 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2761 echo "$ac_t""yes" 1>&6
2762 else
2763 echo "$ac_t""no" 1>&6
2764 fi
2765
2766
2767 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2768 echo "configure:2769: checking for --enable-compat22" >&5
2769 no_cache=0
2770 # Check whether --enable-compat22 or --disable-compat22 was given.
2771 if test "${enable_compat22+set}" = set; then
2772 enableval="$enable_compat22"
2773
2774 if test "$enableval" = yes; then
2775 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
2776 else
2777 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
2778 fi
2779
2780 else
2781
2782 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2783 if test "x$LINE" != x ; then
2784 eval "DEFAULT_$LINE"
2785 else
2786 no_cache=1
2787 fi
2788
2789 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2790
2791 fi
2792
2793
2794 eval "$ac_cv_use_compat22"
2795 if test "$no_cache" != 1; then
2796 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2797 fi
2798
2799 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2800 echo "$ac_t""yes" 1>&6
2801 else
2802 echo "$ac_t""no" 1>&6
2803 fi
2804
2805
2806
2807
2808 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2809 echo "configure:2810: checking for --enable-intl" >&5
2810 no_cache=0
2811 # Check whether --enable-intl or --disable-intl was given.
2812 if test "${enable_intl+set}" = set; then
2813 enableval="$enable_intl"
2814
2815 if test "$enableval" = yes; then
2816 ac_cv_use_intl='wxUSE_INTL=yes'
2817 else
2818 ac_cv_use_intl='wxUSE_INTL=no'
2819 fi
2820
2821 else
2822
2823 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2824 if test "x$LINE" != x ; then
2825 eval "DEFAULT_$LINE"
2826 else
2827 no_cache=1
2828 fi
2829
2830 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2831
2832 fi
2833
2834
2835 eval "$ac_cv_use_intl"
2836 if test "$no_cache" != 1; then
2837 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2838 fi
2839
2840 if test "$wxUSE_INTL" = yes; then
2841 echo "$ac_t""yes" 1>&6
2842 else
2843 echo "$ac_t""no" 1>&6
2844 fi
2845
2846
2847 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2848 echo "configure:2849: checking for --enable-config" >&5
2849 no_cache=0
2850 # Check whether --enable-config or --disable-config was given.
2851 if test "${enable_config+set}" = set; then
2852 enableval="$enable_config"
2853
2854 if test "$enableval" = yes; then
2855 ac_cv_use_config='wxUSE_CONFIG=yes'
2856 else
2857 ac_cv_use_config='wxUSE_CONFIG=no'
2858 fi
2859
2860 else
2861
2862 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2863 if test "x$LINE" != x ; then
2864 eval "DEFAULT_$LINE"
2865 else
2866 no_cache=1
2867 fi
2868
2869 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2870
2871 fi
2872
2873
2874 eval "$ac_cv_use_config"
2875 if test "$no_cache" != 1; then
2876 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2877 fi
2878
2879 if test "$wxUSE_CONFIG" = yes; then
2880 echo "$ac_t""yes" 1>&6
2881 else
2882 echo "$ac_t""no" 1>&6
2883 fi
2884
2885
2886
2887 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2888 echo "configure:2889: checking for --enable-sockets" >&5
2889 no_cache=0
2890 # Check whether --enable-sockets or --disable-sockets was given.
2891 if test "${enable_sockets+set}" = set; then
2892 enableval="$enable_sockets"
2893
2894 if test "$enableval" = yes; then
2895 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
2896 else
2897 ac_cv_use_sockets='wxUSE_SOCKETS=no'
2898 fi
2899
2900 else
2901
2902 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2903 if test "x$LINE" != x ; then
2904 eval "DEFAULT_$LINE"
2905 else
2906 no_cache=1
2907 fi
2908
2909 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2910
2911 fi
2912
2913
2914 eval "$ac_cv_use_sockets"
2915 if test "$no_cache" != 1; then
2916 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2917 fi
2918
2919 if test "$wxUSE_SOCKETS" = yes; then
2920 echo "$ac_t""yes" 1>&6
2921 else
2922 echo "$ac_t""no" 1>&6
2923 fi
2924
2925
2926
2927 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
2928 echo "configure:2929: checking for --enable-ipc" >&5
2929 no_cache=0
2930 # Check whether --enable-ipc or --disable-ipc was given.
2931 if test "${enable_ipc+set}" = set; then
2932 enableval="$enable_ipc"
2933
2934 if test "$enableval" = yes; then
2935 ac_cv_use_ipc='wxUSE_IPC=yes'
2936 else
2937 ac_cv_use_ipc='wxUSE_IPC=no'
2938 fi
2939
2940 else
2941
2942 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2943 if test "x$LINE" != x ; then
2944 eval "DEFAULT_$LINE"
2945 else
2946 no_cache=1
2947 fi
2948
2949 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2950
2951 fi
2952
2953
2954 eval "$ac_cv_use_ipc"
2955 if test "$no_cache" != 1; then
2956 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2957 fi
2958
2959 if test "$wxUSE_IPC" = yes; then
2960 echo "$ac_t""yes" 1>&6
2961 else
2962 echo "$ac_t""no" 1>&6
2963 fi
2964
2965
2966
2967 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
2968 echo "configure:2969: checking for --enable-cmdline" >&5
2969 no_cache=0
2970 # Check whether --enable-cmdline or --disable-cmdline was given.
2971 if test "${enable_cmdline+set}" = set; then
2972 enableval="$enable_cmdline"
2973
2974 if test "$enableval" = yes; then
2975 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
2976 else
2977 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
2978 fi
2979
2980 else
2981
2982 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
2983 if test "x$LINE" != x ; then
2984 eval "DEFAULT_$LINE"
2985 else
2986 no_cache=1
2987 fi
2988
2989 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
2990
2991 fi
2992
2993
2994 eval "$ac_cv_use_cmdline"
2995 if test "$no_cache" != 1; then
2996 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
2997 fi
2998
2999 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3000 echo "$ac_t""yes" 1>&6
3001 else
3002 echo "$ac_t""no" 1>&6
3003 fi
3004
3005
3006 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3007 echo "configure:3008: checking for --enable-datetime" >&5
3008 no_cache=0
3009 # Check whether --enable-datetime or --disable-datetime was given.
3010 if test "${enable_datetime+set}" = set; then
3011 enableval="$enable_datetime"
3012
3013 if test "$enableval" = yes; then
3014 ac_cv_use_datetime='wxUSE_DATETIME=yes'
3015 else
3016 ac_cv_use_datetime='wxUSE_DATETIME=no'
3017 fi
3018
3019 else
3020
3021 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3022 if test "x$LINE" != x ; then
3023 eval "DEFAULT_$LINE"
3024 else
3025 no_cache=1
3026 fi
3027
3028 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3029
3030 fi
3031
3032
3033 eval "$ac_cv_use_datetime"
3034 if test "$no_cache" != 1; then
3035 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3036 fi
3037
3038 if test "$wxUSE_DATETIME" = yes; then
3039 echo "$ac_t""yes" 1>&6
3040 else
3041 echo "$ac_t""no" 1>&6
3042 fi
3043
3044
3045 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3046 echo "configure:3047: checking for --enable-timedate" >&5
3047 no_cache=0
3048 # Check whether --enable-timedate or --disable-timedate was given.
3049 if test "${enable_timedate+set}" = set; then
3050 enableval="$enable_timedate"
3051
3052 if test "$enableval" = yes; then
3053 ac_cv_use_timedate='wxUSE_TIMEDATE=yes'
3054 else
3055 ac_cv_use_timedate='wxUSE_TIMEDATE=no'
3056 fi
3057
3058 else
3059
3060 LINE=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3061 if test "x$LINE" != x ; then
3062 eval "DEFAULT_$LINE"
3063 else
3064 no_cache=1
3065 fi
3066
3067 ac_cv_use_timedate='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3068
3069 fi
3070
3071
3072 eval "$ac_cv_use_timedate"
3073 if test "$no_cache" != 1; then
3074 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3075 fi
3076
3077 if test "$wxUSE_TIMEDATE" = yes; then
3078 echo "$ac_t""yes" 1>&6
3079 else
3080 echo "$ac_t""no" 1>&6
3081 fi
3082
3083
3084 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3085 echo "configure:3086: checking for --enable-stopwatch" >&5
3086 no_cache=0
3087 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3088 if test "${enable_stopwatch+set}" = set; then
3089 enableval="$enable_stopwatch"
3090
3091 if test "$enableval" = yes; then
3092 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
3093 else
3094 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
3095 fi
3096
3097 else
3098
3099 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3100 if test "x$LINE" != x ; then
3101 eval "DEFAULT_$LINE"
3102 else
3103 no_cache=1
3104 fi
3105
3106 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3107
3108 fi
3109
3110
3111 eval "$ac_cv_use_stopwatch"
3112 if test "$no_cache" != 1; then
3113 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3114 fi
3115
3116 if test "$wxUSE_STOPWATCH" = yes; then
3117 echo "$ac_t""yes" 1>&6
3118 else
3119 echo "$ac_t""no" 1>&6
3120 fi
3121
3122
3123 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3124 echo "configure:3125: checking for --enable-dialupman" >&5
3125 no_cache=0
3126 # Check whether --enable-dialupman or --disable-dialupman was given.
3127 if test "${enable_dialupman+set}" = set; then
3128 enableval="$enable_dialupman"
3129
3130 if test "$enableval" = yes; then
3131 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
3132 else
3133 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
3134 fi
3135
3136 else
3137
3138 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3139 if test "x$LINE" != x ; then
3140 eval "DEFAULT_$LINE"
3141 else
3142 no_cache=1
3143 fi
3144
3145 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3146
3147 fi
3148
3149
3150 eval "$ac_cv_use_dialupman"
3151 if test "$no_cache" != 1; then
3152 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3153 fi
3154
3155 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3156 echo "$ac_t""yes" 1>&6
3157 else
3158 echo "$ac_t""no" 1>&6
3159 fi
3160
3161
3162 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3163 echo "configure:3164: checking for --enable-apple_ieee" >&5
3164 no_cache=0
3165 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3166 if test "${enable_apple_ieee+set}" = set; then
3167 enableval="$enable_apple_ieee"
3168
3169 if test "$enableval" = yes; then
3170 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
3171 else
3172 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
3173 fi
3174
3175 else
3176
3177 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3178 if test "x$LINE" != x ; then
3179 eval "DEFAULT_$LINE"
3180 else
3181 no_cache=1
3182 fi
3183
3184 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3185
3186 fi
3187
3188
3189 eval "$ac_cv_use_apple_ieee"
3190 if test "$no_cache" != 1; then
3191 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3192 fi
3193
3194 if test "$wxUSE_APPLE_IEEE" = yes; then
3195 echo "$ac_t""yes" 1>&6
3196 else
3197 echo "$ac_t""no" 1>&6
3198 fi
3199
3200
3201 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3202 echo "configure:3203: checking for --enable-timer" >&5
3203 no_cache=0
3204 # Check whether --enable-timer or --disable-timer was given.
3205 if test "${enable_timer+set}" = set; then
3206 enableval="$enable_timer"
3207
3208 if test "$enableval" = yes; then
3209 ac_cv_use_timer='wxUSE_TIMER=yes'
3210 else
3211 ac_cv_use_timer='wxUSE_TIMER=no'
3212 fi
3213
3214 else
3215
3216 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3217 if test "x$LINE" != x ; then
3218 eval "DEFAULT_$LINE"
3219 else
3220 no_cache=1
3221 fi
3222
3223 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3224
3225 fi
3226
3227
3228 eval "$ac_cv_use_timer"
3229 if test "$no_cache" != 1; then
3230 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3231 fi
3232
3233 if test "$wxUSE_TIMER" = yes; then
3234 echo "$ac_t""yes" 1>&6
3235 else
3236 echo "$ac_t""no" 1>&6
3237 fi
3238
3239
3240 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3241 echo "configure:3242: checking for --enable-wave" >&5
3242 no_cache=0
3243 # Check whether --enable-wave or --disable-wave was given.
3244 if test "${enable_wave+set}" = set; then
3245 enableval="$enable_wave"
3246
3247 if test "$enableval" = yes; then
3248 ac_cv_use_wave='wxUSE_WAVE=yes'
3249 else
3250 ac_cv_use_wave='wxUSE_WAVE=no'
3251 fi
3252
3253 else
3254
3255 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3256 if test "x$LINE" != x ; then
3257 eval "DEFAULT_$LINE"
3258 else
3259 no_cache=1
3260 fi
3261
3262 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3263
3264 fi
3265
3266
3267 eval "$ac_cv_use_wave"
3268 if test "$no_cache" != 1; then
3269 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3270 fi
3271
3272 if test "$wxUSE_WAVE" = yes; then
3273 echo "$ac_t""yes" 1>&6
3274 else
3275 echo "$ac_t""no" 1>&6
3276 fi
3277
3278
3279 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3280 echo "configure:3281: checking for --enable-fraction" >&5
3281 no_cache=0
3282 # Check whether --enable-fraction or --disable-fraction was given.
3283 if test "${enable_fraction+set}" = set; then
3284 enableval="$enable_fraction"
3285
3286 if test "$enableval" = yes; then
3287 ac_cv_use_fraction='wxUSE_FRACTION=yes'
3288 else
3289 ac_cv_use_fraction='wxUSE_FRACTION=no'
3290 fi
3291
3292 else
3293
3294 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3295 if test "x$LINE" != x ; then
3296 eval "DEFAULT_$LINE"
3297 else
3298 no_cache=1
3299 fi
3300
3301 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3302
3303 fi
3304
3305
3306 eval "$ac_cv_use_fraction"
3307 if test "$no_cache" != 1; then
3308 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3309 fi
3310
3311 if test "$wxUSE_FRACTION" = yes; then
3312 echo "$ac_t""yes" 1>&6
3313 else
3314 echo "$ac_t""no" 1>&6
3315 fi
3316
3317
3318 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3319 echo "configure:3320: checking for --enable-dynlib" >&5
3320 no_cache=0
3321 # Check whether --enable-dynlib or --disable-dynlib was given.
3322 if test "${enable_dynlib+set}" = set; then
3323 enableval="$enable_dynlib"
3324
3325 if test "$enableval" = yes; then
3326 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
3327 else
3328 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
3329 fi
3330
3331 else
3332
3333 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3334 if test "x$LINE" != x ; then
3335 eval "DEFAULT_$LINE"
3336 else
3337 no_cache=1
3338 fi
3339
3340 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3341
3342 fi
3343
3344
3345 eval "$ac_cv_use_dynlib"
3346 if test "$no_cache" != 1; then
3347 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3348 fi
3349
3350 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3351 echo "$ac_t""yes" 1>&6
3352 else
3353 echo "$ac_t""no" 1>&6
3354 fi
3355
3356
3357 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3358 echo "configure:3359: checking for --enable-longlong" >&5
3359 no_cache=0
3360 # Check whether --enable-longlong or --disable-longlong was given.
3361 if test "${enable_longlong+set}" = set; then
3362 enableval="$enable_longlong"
3363
3364 if test "$enableval" = yes; then
3365 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
3366 else
3367 ac_cv_use_longlong='wxUSE_LONGLONG=no'
3368 fi
3369
3370 else
3371
3372 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3373 if test "x$LINE" != x ; then
3374 eval "DEFAULT_$LINE"
3375 else
3376 no_cache=1
3377 fi
3378
3379 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3380
3381 fi
3382
3383
3384 eval "$ac_cv_use_longlong"
3385 if test "$no_cache" != 1; then
3386 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3387 fi
3388
3389 if test "$wxUSE_LONGLONG" = yes; then
3390 echo "$ac_t""yes" 1>&6
3391 else
3392 echo "$ac_t""no" 1>&6
3393 fi
3394
3395
3396 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3397 echo "configure:3398: checking for --enable-geometry" >&5
3398 no_cache=0
3399 # Check whether --enable-geometry or --disable-geometry was given.
3400 if test "${enable_geometry+set}" = set; then
3401 enableval="$enable_geometry"
3402
3403 if test "$enableval" = yes; then
3404 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
3405 else
3406 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
3407 fi
3408
3409 else
3410
3411 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3412 if test "x$LINE" != x ; then
3413 eval "DEFAULT_$LINE"
3414 else
3415 no_cache=1
3416 fi
3417
3418 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3419
3420 fi
3421
3422
3423 eval "$ac_cv_use_geometry"
3424 if test "$no_cache" != 1; then
3425 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3426 fi
3427
3428 if test "$wxUSE_GEOMETRY" = yes; then
3429 echo "$ac_t""yes" 1>&6
3430 else
3431 echo "$ac_t""no" 1>&6
3432 fi
3433
3434
3435 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3436 echo "configure:3437: checking for --enable-log" >&5
3437 no_cache=0
3438 # Check whether --enable-log or --disable-log was given.
3439 if test "${enable_log+set}" = set; then
3440 enableval="$enable_log"
3441
3442 if test "$enableval" = yes; then
3443 ac_cv_use_log='wxUSE_LOG=yes'
3444 else
3445 ac_cv_use_log='wxUSE_LOG=no'
3446 fi
3447
3448 else
3449
3450 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3451 if test "x$LINE" != x ; then
3452 eval "DEFAULT_$LINE"
3453 else
3454 no_cache=1
3455 fi
3456
3457 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3458
3459 fi
3460
3461
3462 eval "$ac_cv_use_log"
3463 if test "$no_cache" != 1; then
3464 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3465 fi
3466
3467 if test "$wxUSE_LOG" = yes; then
3468 echo "$ac_t""yes" 1>&6
3469 else
3470 echo "$ac_t""no" 1>&6
3471 fi
3472
3473
3474 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3475 echo "configure:3476: checking for --enable-streams" >&5
3476 no_cache=0
3477 # Check whether --enable-streams or --disable-streams was given.
3478 if test "${enable_streams+set}" = set; then
3479 enableval="$enable_streams"
3480
3481 if test "$enableval" = yes; then
3482 ac_cv_use_streams='wxUSE_STREAMS=yes'
3483 else
3484 ac_cv_use_streams='wxUSE_STREAMS=no'
3485 fi
3486
3487 else
3488
3489 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3490 if test "x$LINE" != x ; then
3491 eval "DEFAULT_$LINE"
3492 else
3493 no_cache=1
3494 fi
3495
3496 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3497
3498 fi
3499
3500
3501 eval "$ac_cv_use_streams"
3502 if test "$no_cache" != 1; then
3503 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3504 fi
3505
3506 if test "$wxUSE_STREAMS" = yes; then
3507 echo "$ac_t""yes" 1>&6
3508 else
3509 echo "$ac_t""no" 1>&6
3510 fi
3511
3512
3513 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3514 echo "configure:3515: checking for --enable-file" >&5
3515 no_cache=0
3516 # Check whether --enable-file or --disable-file was given.
3517 if test "${enable_file+set}" = set; then
3518 enableval="$enable_file"
3519
3520 if test "$enableval" = yes; then
3521 ac_cv_use_file='wxUSE_FILE=yes'
3522 else
3523 ac_cv_use_file='wxUSE_FILE=no'
3524 fi
3525
3526 else
3527
3528 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3529 if test "x$LINE" != x ; then
3530 eval "DEFAULT_$LINE"
3531 else
3532 no_cache=1
3533 fi
3534
3535 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3536
3537 fi
3538
3539
3540 eval "$ac_cv_use_file"
3541 if test "$no_cache" != 1; then
3542 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3543 fi
3544
3545 if test "$wxUSE_FILE" = yes; then
3546 echo "$ac_t""yes" 1>&6
3547 else
3548 echo "$ac_t""no" 1>&6
3549 fi
3550
3551
3552 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3553 echo "configure:3554: checking for --enable-ffile" >&5
3554 no_cache=0
3555 # Check whether --enable-ffile or --disable-ffile was given.
3556 if test "${enable_ffile+set}" = set; then
3557 enableval="$enable_ffile"
3558
3559 if test "$enableval" = yes; then
3560 ac_cv_use_ffile='wxUSE_FFILE=yes'
3561 else
3562 ac_cv_use_ffile='wxUSE_FFILE=no'
3563 fi
3564
3565 else
3566
3567 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3568 if test "x$LINE" != x ; then
3569 eval "DEFAULT_$LINE"
3570 else
3571 no_cache=1
3572 fi
3573
3574 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3575
3576 fi
3577
3578
3579 eval "$ac_cv_use_ffile"
3580 if test "$no_cache" != 1; then
3581 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3582 fi
3583
3584 if test "$wxUSE_FFILE" = yes; then
3585 echo "$ac_t""yes" 1>&6
3586 else
3587 echo "$ac_t""no" 1>&6
3588 fi
3589
3590
3591 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3592 echo "configure:3593: checking for --enable-textfile" >&5
3593 no_cache=0
3594 # Check whether --enable-textfile or --disable-textfile was given.
3595 if test "${enable_textfile+set}" = set; then
3596 enableval="$enable_textfile"
3597
3598 if test "$enableval" = yes; then
3599 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
3600 else
3601 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
3602 fi
3603
3604 else
3605
3606 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3607 if test "x$LINE" != x ; then
3608 eval "DEFAULT_$LINE"
3609 else
3610 no_cache=1
3611 fi
3612
3613 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3614
3615 fi
3616
3617
3618 eval "$ac_cv_use_textfile"
3619 if test "$no_cache" != 1; then
3620 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3621 fi
3622
3623 if test "$wxUSE_TEXTFILE" = yes; then
3624 echo "$ac_t""yes" 1>&6
3625 else
3626 echo "$ac_t""no" 1>&6
3627 fi
3628
3629
3630 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3631 echo "configure:3632: checking for --enable-fontmap" >&5
3632 no_cache=0
3633 # Check whether --enable-fontmap or --disable-fontmap was given.
3634 if test "${enable_fontmap+set}" = set; then
3635 enableval="$enable_fontmap"
3636
3637 if test "$enableval" = yes; then
3638 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
3639 else
3640 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
3641 fi
3642
3643 else
3644
3645 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3646 if test "x$LINE" != x ; then
3647 eval "DEFAULT_$LINE"
3648 else
3649 no_cache=1
3650 fi
3651
3652 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3653
3654 fi
3655
3656
3657 eval "$ac_cv_use_fontmap"
3658 if test "$no_cache" != 1; then
3659 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3660 fi
3661
3662 if test "$wxUSE_FONTMAP" = yes; then
3663 echo "$ac_t""yes" 1>&6
3664 else
3665 echo "$ac_t""no" 1>&6
3666 fi
3667
3668
3669 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3670 echo "configure:3671: checking for --enable-unicode" >&5
3671 no_cache=0
3672 # Check whether --enable-unicode or --disable-unicode was given.
3673 if test "${enable_unicode+set}" = set; then
3674 enableval="$enable_unicode"
3675
3676 if test "$enableval" = yes; then
3677 ac_cv_use_unicode='wxUSE_UNICODE=yes'
3678 else
3679 ac_cv_use_unicode='wxUSE_UNICODE=no'
3680 fi
3681
3682 else
3683
3684 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3685 if test "x$LINE" != x ; then
3686 eval "DEFAULT_$LINE"
3687 else
3688 no_cache=1
3689 fi
3690
3691 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3692
3693 fi
3694
3695
3696 eval "$ac_cv_use_unicode"
3697 if test "$no_cache" != 1; then
3698 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3699 fi
3700
3701 if test "$wxUSE_UNICODE" = yes; then
3702 echo "$ac_t""yes" 1>&6
3703 else
3704 echo "$ac_t""no" 1>&6
3705 fi
3706
3707
3708 echo $ac_n "checking for --enable-wcsrtombs""... $ac_c" 1>&6
3709 echo "configure:3710: checking for --enable-wcsrtombs" >&5
3710 no_cache=0
3711 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3712 if test "${enable_wcsrtombs+set}" = set; then
3713 enableval="$enable_wcsrtombs"
3714
3715 if test "$enableval" = yes; then
3716 ac_cv_use_wcsrtombs='wxUSE_WCSRTOMBS=yes'
3717 else
3718 ac_cv_use_wcsrtombs='wxUSE_WCSRTOMBS=no'
3719 fi
3720
3721 else
3722
3723 LINE=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3724 if test "x$LINE" != x ; then
3725 eval "DEFAULT_$LINE"
3726 else
3727 no_cache=1
3728 fi
3729
3730 ac_cv_use_wcsrtombs='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3731
3732 fi
3733
3734
3735 eval "$ac_cv_use_wcsrtombs"
3736 if test "$no_cache" != 1; then
3737 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3738 fi
3739
3740 if test "$wxUSE_WCSRTOMBS" = yes; then
3741 echo "$ac_t""yes" 1>&6
3742 else
3743 echo "$ac_t""no" 1>&6
3744 fi
3745
3746
3747 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3748 echo "configure:3749: checking for --enable-wxprintfv" >&5
3749 no_cache=0
3750 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3751 if test "${enable_wxprintfv+set}" = set; then
3752 enableval="$enable_wxprintfv"
3753
3754 if test "$enableval" = yes; then
3755 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
3756 else
3757 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
3758 fi
3759
3760 else
3761
3762 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3763 if test "x$LINE" != x ; then
3764 eval "DEFAULT_$LINE"
3765 else
3766 no_cache=1
3767 fi
3768
3769 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3770
3771 fi
3772
3773
3774 eval "$ac_cv_use_wxprintfv"
3775 if test "$no_cache" != 1; then
3776 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3777 fi
3778
3779 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3780 echo "$ac_t""yes" 1>&6
3781 else
3782 echo "$ac_t""no" 1>&6
3783 fi
3784
3785
3786 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3787 echo "configure:3788: checking for --enable-std_iostreams" >&5
3788 no_cache=0
3789 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3790 if test "${enable_std_iostreams+set}" = set; then
3791 enableval="$enable_std_iostreams"
3792
3793 if test "$enableval" = yes; then
3794 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
3795 else
3796 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
3797 fi
3798
3799 else
3800
3801 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3802 if test "x$LINE" != x ; then
3803 eval "DEFAULT_$LINE"
3804 else
3805 no_cache=1
3806 fi
3807
3808 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3809
3810 fi
3811
3812
3813 eval "$ac_cv_use_std_iostreams"
3814 if test "$no_cache" != 1; then
3815 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3816 fi
3817
3818 if test "$wxUSE_STD_IOSTREAM" = yes; then
3819 echo "$ac_t""yes" 1>&6
3820 else
3821 echo "$ac_t""no" 1>&6
3822 fi
3823
3824
3825 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3826 echo "configure:3827: checking for --enable-filesystem" >&5
3827 no_cache=0
3828 # Check whether --enable-filesystem or --disable-filesystem was given.
3829 if test "${enable_filesystem+set}" = set; then
3830 enableval="$enable_filesystem"
3831
3832 if test "$enableval" = yes; then
3833 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
3834 else
3835 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
3836 fi
3837
3838 else
3839
3840 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3841 if test "x$LINE" != x ; then
3842 eval "DEFAULT_$LINE"
3843 else
3844 no_cache=1
3845 fi
3846
3847 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3848
3849 fi
3850
3851
3852 eval "$ac_cv_use_filesystem"
3853 if test "$no_cache" != 1; then
3854 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3855 fi
3856
3857 if test "$wxUSE_FILESYSTEM" = yes; then
3858 echo "$ac_t""yes" 1>&6
3859 else
3860 echo "$ac_t""no" 1>&6
3861 fi
3862
3863
3864 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3865 echo "configure:3866: checking for --enable-fs_inet" >&5
3866 no_cache=0
3867 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3868 if test "${enable_fs_inet+set}" = set; then
3869 enableval="$enable_fs_inet"
3870
3871 if test "$enableval" = yes; then
3872 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
3873 else
3874 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
3875 fi
3876
3877 else
3878
3879 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3880 if test "x$LINE" != x ; then
3881 eval "DEFAULT_$LINE"
3882 else
3883 no_cache=1
3884 fi
3885
3886 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3887
3888 fi
3889
3890
3891 eval "$ac_cv_use_fs_inet"
3892 if test "$no_cache" != 1; then
3893 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3894 fi
3895
3896 if test "$wxUSE_FS_INET" = yes; then
3897 echo "$ac_t""yes" 1>&6
3898 else
3899 echo "$ac_t""no" 1>&6
3900 fi
3901
3902
3903 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3904 echo "configure:3905: checking for --enable-fs_zip" >&5
3905 no_cache=0
3906 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3907 if test "${enable_fs_zip+set}" = set; then
3908 enableval="$enable_fs_zip"
3909
3910 if test "$enableval" = yes; then
3911 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
3912 else
3913 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
3914 fi
3915
3916 else
3917
3918 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3919 if test "x$LINE" != x ; then
3920 eval "DEFAULT_$LINE"
3921 else
3922 no_cache=1
3923 fi
3924
3925 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3926
3927 fi
3928
3929
3930 eval "$ac_cv_use_fs_zip"
3931 if test "$no_cache" != 1; then
3932 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3933 fi
3934
3935 if test "$wxUSE_FS_ZIP" = yes; then
3936 echo "$ac_t""yes" 1>&6
3937 else
3938 echo "$ac_t""no" 1>&6
3939 fi
3940
3941
3942 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
3943 echo "configure:3944: checking for --enable-zipstream" >&5
3944 no_cache=0
3945 # Check whether --enable-zipstream or --disable-zipstream was given.
3946 if test "${enable_zipstream+set}" = set; then
3947 enableval="$enable_zipstream"
3948
3949 if test "$enableval" = yes; then
3950 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
3951 else
3952 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
3953 fi
3954
3955 else
3956
3957 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3958 if test "x$LINE" != x ; then
3959 eval "DEFAULT_$LINE"
3960 else
3961 no_cache=1
3962 fi
3963
3964 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3965
3966 fi
3967
3968
3969 eval "$ac_cv_use_zipstream"
3970 if test "$no_cache" != 1; then
3971 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3972 fi
3973
3974 if test "$wxUSE_ZIPSTREAM" = yes; then
3975 echo "$ac_t""yes" 1>&6
3976 else
3977 echo "$ac_t""no" 1>&6
3978 fi
3979
3980
3981
3982 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
3983 echo "configure:3984: checking for --enable-catch_segvs" >&5
3984 no_cache=0
3985 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
3986 if test "${enable_catch_segvs+set}" = set; then
3987 enableval="$enable_catch_segvs"
3988
3989 if test "$enableval" = yes; then
3990 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
3991 else
3992 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
3993 fi
3994
3995 else
3996
3997 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
3998 if test "x$LINE" != x ; then
3999 eval "DEFAULT_$LINE"
4000 else
4001 no_cache=1
4002 fi
4003
4004 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4005
4006 fi
4007
4008
4009 eval "$ac_cv_use_catch_segvs"
4010 if test "$no_cache" != 1; then
4011 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4012 fi
4013
4014 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4015 echo "$ac_t""yes" 1>&6
4016 else
4017 echo "$ac_t""no" 1>&6
4018 fi
4019
4020
4021 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4022 echo "configure:4023: checking for --enable-snglinst" >&5
4023 no_cache=0
4024 # Check whether --enable-snglinst or --disable-snglinst was given.
4025 if test "${enable_snglinst+set}" = set; then
4026 enableval="$enable_snglinst"
4027
4028 if test "$enableval" = yes; then
4029 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
4030 else
4031 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
4032 fi
4033
4034 else
4035
4036 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4037 if test "x$LINE" != x ; then
4038 eval "DEFAULT_$LINE"
4039 else
4040 no_cache=1
4041 fi
4042
4043 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4044
4045 fi
4046
4047
4048 eval "$ac_cv_use_snglinst"
4049 if test "$no_cache" != 1; then
4050 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4051 fi
4052
4053 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4054 echo "$ac_t""yes" 1>&6
4055 else
4056 echo "$ac_t""no" 1>&6
4057 fi
4058
4059
4060
4061 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4062 echo "configure:4063: checking for --enable-mimetype" >&5
4063 no_cache=0
4064 # Check whether --enable-mimetype or --disable-mimetype was given.
4065 if test "${enable_mimetype+set}" = set; then
4066 enableval="$enable_mimetype"
4067
4068 if test "$enableval" = yes; then
4069 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
4070 else
4071 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
4072 fi
4073
4074 else
4075
4076 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4077 if test "x$LINE" != x ; then
4078 eval "DEFAULT_$LINE"
4079 else
4080 no_cache=1
4081 fi
4082
4083 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4084
4085 fi
4086
4087
4088 eval "$ac_cv_use_mimetype"
4089 if test "$no_cache" != 1; then
4090 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4091 fi
4092
4093 if test "$wxUSE_MIMETYPE" = yes; then
4094 echo "$ac_t""yes" 1>&6
4095 else
4096 echo "$ac_t""no" 1>&6
4097 fi
4098
4099
4100
4101
4102 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4103 echo "configure:4104: checking for --enable-threads" >&5
4104 no_cache=0
4105 # Check whether --enable-threads or --disable-threads was given.
4106 if test "${enable_threads+set}" = set; then
4107 enableval="$enable_threads"
4108
4109 if test "$enableval" = yes; then
4110 ac_cv_use_threads='wxUSE_THREADS=yes'
4111 else
4112 ac_cv_use_threads='wxUSE_THREADS=no'
4113 fi
4114
4115 else
4116
4117 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4118 if test "x$LINE" != x ; then
4119 eval "DEFAULT_$LINE"
4120 else
4121 no_cache=1
4122 fi
4123
4124 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4125
4126 fi
4127
4128
4129 eval "$ac_cv_use_threads"
4130 if test "$no_cache" != 1; then
4131 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4132 fi
4133
4134 if test "$wxUSE_THREADS" = yes; then
4135 echo "$ac_t""yes" 1>&6
4136 else
4137 echo "$ac_t""no" 1>&6
4138 fi
4139
4140
4141 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4142 echo "configure:4143: checking for --enable-serial" >&5
4143 no_cache=0
4144 # Check whether --enable-serial or --disable-serial was given.
4145 if test "${enable_serial+set}" = set; then
4146 enableval="$enable_serial"
4147
4148 if test "$enableval" = yes; then
4149 ac_cv_use_serial='wxUSE_SERIAL=yes'
4150 else
4151 ac_cv_use_serial='wxUSE_SERIAL=no'
4152 fi
4153
4154 else
4155
4156 LINE=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4157 if test "x$LINE" != x ; then
4158 eval "DEFAULT_$LINE"
4159 else
4160 no_cache=1
4161 fi
4162
4163 ac_cv_use_serial='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4164
4165 fi
4166
4167
4168 eval "$ac_cv_use_serial"
4169 if test "$no_cache" != 1; then
4170 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4171 fi
4172
4173 if test "$wxUSE_SERIAL" = yes; then
4174 echo "$ac_t""yes" 1>&6
4175 else
4176 echo "$ac_t""no" 1>&6
4177 fi
4178
4179
4180 if test "$wxUSE_GUI" = "yes"; then
4181
4182
4183
4184 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4185 echo "configure:4186: checking for --enable-docview" >&5
4186 no_cache=0
4187 # Check whether --enable-docview or --disable-docview was given.
4188 if test "${enable_docview+set}" = set; then
4189 enableval="$enable_docview"
4190
4191 if test "$enableval" = yes; then
4192 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4193 else
4194 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4195 fi
4196
4197 else
4198
4199 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4200 if test "x$LINE" != x ; then
4201 eval "DEFAULT_$LINE"
4202 else
4203 no_cache=1
4204 fi
4205
4206 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4207
4208 fi
4209
4210
4211 eval "$ac_cv_use_docview"
4212 if test "$no_cache" != 1; then
4213 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4214 fi
4215
4216 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4217 echo "$ac_t""yes" 1>&6
4218 else
4219 echo "$ac_t""no" 1>&6
4220 fi
4221
4222
4223 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4224 echo "configure:4225: checking for --enable-help" >&5
4225 no_cache=0
4226 # Check whether --enable-help or --disable-help was given.
4227 if test "${enable_help+set}" = set; then
4228 enableval="$enable_help"
4229
4230 if test "$enableval" = yes; then
4231 ac_cv_use_help='wxUSE_HELP=yes'
4232 else
4233 ac_cv_use_help='wxUSE_HELP=no'
4234 fi
4235
4236 else
4237
4238 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4239 if test "x$LINE" != x ; then
4240 eval "DEFAULT_$LINE"
4241 else
4242 no_cache=1
4243 fi
4244
4245 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4246
4247 fi
4248
4249
4250 eval "$ac_cv_use_help"
4251 if test "$no_cache" != 1; then
4252 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4253 fi
4254
4255 if test "$wxUSE_HELP" = yes; then
4256 echo "$ac_t""yes" 1>&6
4257 else
4258 echo "$ac_t""no" 1>&6
4259 fi
4260
4261
4262 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4263 echo "configure:4264: checking for --enable-constraints" >&5
4264 no_cache=0
4265 # Check whether --enable-constraints or --disable-constraints was given.
4266 if test "${enable_constraints+set}" = set; then
4267 enableval="$enable_constraints"
4268
4269 if test "$enableval" = yes; then
4270 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
4271 else
4272 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
4273 fi
4274
4275 else
4276
4277 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4278 if test "x$LINE" != x ; then
4279 eval "DEFAULT_$LINE"
4280 else
4281 no_cache=1
4282 fi
4283
4284 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4285
4286 fi
4287
4288
4289 eval "$ac_cv_use_constraints"
4290 if test "$no_cache" != 1; then
4291 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4292 fi
4293
4294 if test "$wxUSE_CONSTRAINTS" = yes; then
4295 echo "$ac_t""yes" 1>&6
4296 else
4297 echo "$ac_t""no" 1>&6
4298 fi
4299
4300
4301 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4302 echo "configure:4303: checking for --enable-printarch" >&5
4303 no_cache=0
4304 # Check whether --enable-printarch or --disable-printarch was given.
4305 if test "${enable_printarch+set}" = set; then
4306 enableval="$enable_printarch"
4307
4308 if test "$enableval" = yes; then
4309 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
4310 else
4311 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
4312 fi
4313
4314 else
4315
4316 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4317 if test "x$LINE" != x ; then
4318 eval "DEFAULT_$LINE"
4319 else
4320 no_cache=1
4321 fi
4322
4323 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4324
4325 fi
4326
4327
4328 eval "$ac_cv_use_printarch"
4329 if test "$no_cache" != 1; then
4330 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4331 fi
4332
4333 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4334 echo "$ac_t""yes" 1>&6
4335 else
4336 echo "$ac_t""no" 1>&6
4337 fi
4338
4339
4340 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4341 echo "configure:4342: checking for --enable-mdi" >&5
4342 no_cache=0
4343 # Check whether --enable-mdi or --disable-mdi was given.
4344 if test "${enable_mdi+set}" = set; then
4345 enableval="$enable_mdi"
4346
4347 if test "$enableval" = yes; then
4348 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
4349 else
4350 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
4351 fi
4352
4353 else
4354
4355 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4356 if test "x$LINE" != x ; then
4357 eval "DEFAULT_$LINE"
4358 else
4359 no_cache=1
4360 fi
4361
4362 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4363
4364 fi
4365
4366
4367 eval "$ac_cv_use_mdi"
4368 if test "$no_cache" != 1; then
4369 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4370 fi
4371
4372 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4373 echo "$ac_t""yes" 1>&6
4374 else
4375 echo "$ac_t""no" 1>&6
4376 fi
4377
4378
4379 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4380 echo "configure:4381: checking for --enable-loggui" >&5
4381 no_cache=0
4382 # Check whether --enable-loggui or --disable-loggui was given.
4383 if test "${enable_loggui+set}" = set; then
4384 enableval="$enable_loggui"
4385
4386 if test "$enableval" = yes; then
4387 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
4388 else
4389 ac_cv_use_loggui='wxUSE_LOGGUI=no'
4390 fi
4391
4392 else
4393
4394 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4395 if test "x$LINE" != x ; then
4396 eval "DEFAULT_$LINE"
4397 else
4398 no_cache=1
4399 fi
4400
4401 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4402
4403 fi
4404
4405
4406 eval "$ac_cv_use_loggui"
4407 if test "$no_cache" != 1; then
4408 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4409 fi
4410
4411 if test "$wxUSE_LOGGUI" = yes; then
4412 echo "$ac_t""yes" 1>&6
4413 else
4414 echo "$ac_t""no" 1>&6
4415 fi
4416
4417
4418 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4419 echo "configure:4420: checking for --enable-logwin" >&5
4420 no_cache=0
4421 # Check whether --enable-logwin or --disable-logwin was given.
4422 if test "${enable_logwin+set}" = set; then
4423 enableval="$enable_logwin"
4424
4425 if test "$enableval" = yes; then
4426 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
4427 else
4428 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
4429 fi
4430
4431 else
4432
4433 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4434 if test "x$LINE" != x ; then
4435 eval "DEFAULT_$LINE"
4436 else
4437 no_cache=1
4438 fi
4439
4440 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4441
4442 fi
4443
4444
4445 eval "$ac_cv_use_logwin"
4446 if test "$no_cache" != 1; then
4447 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4448 fi
4449
4450 if test "$wxUSE_LOGWINDOW" = yes; then
4451 echo "$ac_t""yes" 1>&6
4452 else
4453 echo "$ac_t""no" 1>&6
4454 fi
4455
4456
4457
4458 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4459 echo "configure:4460: checking for --enable-postscript" >&5
4460 no_cache=0
4461 # Check whether --enable-postscript or --disable-postscript was given.
4462 if test "${enable_postscript+set}" = set; then
4463 enableval="$enable_postscript"
4464
4465 if test "$enableval" = yes; then
4466 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
4467 else
4468 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
4469 fi
4470
4471 else
4472
4473 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4474 if test "x$LINE" != x ; then
4475 eval "DEFAULT_$LINE"
4476 else
4477 no_cache=1
4478 fi
4479
4480 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4481
4482 fi
4483
4484
4485 eval "$ac_cv_use_postscript"
4486 if test "$no_cache" != 1; then
4487 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4488 fi
4489
4490 if test "$wxUSE_POSTSCRIPT" = yes; then
4491 echo "$ac_t""yes" 1>&6
4492 else
4493 echo "$ac_t""no" 1>&6
4494 fi
4495
4496
4497
4498
4499
4500 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4501 echo "configure:4502: checking for --enable-prologio" >&5
4502 no_cache=0
4503 # Check whether --enable-prologio or --disable-prologio was given.
4504 if test "${enable_prologio+set}" = set; then
4505 enableval="$enable_prologio"
4506
4507 if test "$enableval" = yes; then
4508 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
4509 else
4510 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
4511 fi
4512
4513 else
4514
4515 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4516 if test "x$LINE" != x ; then
4517 eval "DEFAULT_$LINE"
4518 else
4519 no_cache=1
4520 fi
4521
4522 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4523
4524 fi
4525
4526
4527 eval "$ac_cv_use_prologio"
4528 if test "$no_cache" != 1; then
4529 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4530 fi
4531
4532 if test "$wxUSE_PROLOGIO" = yes; then
4533 echo "$ac_t""yes" 1>&6
4534 else
4535 echo "$ac_t""no" 1>&6
4536 fi
4537
4538
4539 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4540 echo "configure:4541: checking for --enable-resources" >&5
4541 no_cache=0
4542 # Check whether --enable-resources or --disable-resources was given.
4543 if test "${enable_resources+set}" = set; then
4544 enableval="$enable_resources"
4545
4546 if test "$enableval" = yes; then
4547 ac_cv_use_resources='wxUSE_RESOURCES=yes'
4548 else
4549 ac_cv_use_resources='wxUSE_RESOURCES=no'
4550 fi
4551
4552 else
4553
4554 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4555 if test "x$LINE" != x ; then
4556 eval "DEFAULT_$LINE"
4557 else
4558 no_cache=1
4559 fi
4560
4561 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4562
4563 fi
4564
4565
4566 eval "$ac_cv_use_resources"
4567 if test "$no_cache" != 1; then
4568 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4569 fi
4570
4571 if test "$wxUSE_RESOURCES" = yes; then
4572 echo "$ac_t""yes" 1>&6
4573 else
4574 echo "$ac_t""no" 1>&6
4575 fi
4576
4577
4578
4579 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4580 echo "configure:4581: checking for --enable-xresources" >&5
4581 no_cache=0
4582 # Check whether --enable-xresources or --disable-xresources was given.
4583 if test "${enable_xresources+set}" = set; then
4584 enableval="$enable_xresources"
4585
4586 if test "$enableval" = yes; then
4587 ac_cv_use_xresources='wxUSE_X_RESOURCES=yes'
4588 else
4589 ac_cv_use_xresources='wxUSE_X_RESOURCES=no'
4590 fi
4591
4592 else
4593
4594 LINE=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4595 if test "x$LINE" != x ; then
4596 eval "DEFAULT_$LINE"
4597 else
4598 no_cache=1
4599 fi
4600
4601 ac_cv_use_xresources='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4602
4603 fi
4604
4605
4606 eval "$ac_cv_use_xresources"
4607 if test "$no_cache" != 1; then
4608 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4609 fi
4610
4611 if test "$wxUSE_X_RESOURCES" = yes; then
4612 echo "$ac_t""yes" 1>&6
4613 else
4614 echo "$ac_t""no" 1>&6
4615 fi
4616
4617
4618
4619
4620 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4621 echo "configure:4622: checking for --enable-clipboard" >&5
4622 no_cache=0
4623 # Check whether --enable-clipboard or --disable-clipboard was given.
4624 if test "${enable_clipboard+set}" = set; then
4625 enableval="$enable_clipboard"
4626
4627 if test "$enableval" = yes; then
4628 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
4629 else
4630 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
4631 fi
4632
4633 else
4634
4635 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4636 if test "x$LINE" != x ; then
4637 eval "DEFAULT_$LINE"
4638 else
4639 no_cache=1
4640 fi
4641
4642 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4643
4644 fi
4645
4646
4647 eval "$ac_cv_use_clipboard"
4648 if test "$no_cache" != 1; then
4649 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4650 fi
4651
4652 if test "$wxUSE_CLIPBOARD" = yes; then
4653 echo "$ac_t""yes" 1>&6
4654 else
4655 echo "$ac_t""no" 1>&6
4656 fi
4657
4658
4659 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4660 echo "configure:4661: checking for --enable-dnd" >&5
4661 no_cache=0
4662 # Check whether --enable-dnd or --disable-dnd was given.
4663 if test "${enable_dnd+set}" = set; then
4664 enableval="$enable_dnd"
4665
4666 if test "$enableval" = yes; then
4667 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
4668 else
4669 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
4670 fi
4671
4672 else
4673
4674 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4675 if test "x$LINE" != x ; then
4676 eval "DEFAULT_$LINE"
4677 else
4678 no_cache=1
4679 fi
4680
4681 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4682
4683 fi
4684
4685
4686 eval "$ac_cv_use_dnd"
4687 if test "$no_cache" != 1; then
4688 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4689 fi
4690
4691 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4692 echo "$ac_t""yes" 1>&6
4693 else
4694 echo "$ac_t""no" 1>&6
4695 fi
4696
4697
4698 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4699 echo "configure:4700: checking for --enable-metafile" >&5
4700 no_cache=0
4701 # Check whether --enable-metafile or --disable-metafile was given.
4702 if test "${enable_metafile+set}" = set; then
4703 enableval="$enable_metafile"
4704
4705 if test "$enableval" = yes; then
4706 ac_cv_use_metafile='wxUSE_METAFILE=yes'
4707 else
4708 ac_cv_use_metafile='wxUSE_METAFILE=no'
4709 fi
4710
4711 else
4712
4713 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4714 if test "x$LINE" != x ; then
4715 eval "DEFAULT_$LINE"
4716 else
4717 no_cache=1
4718 fi
4719
4720 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4721
4722 fi
4723
4724
4725 eval "$ac_cv_use_metafile"
4726 if test "$no_cache" != 1; then
4727 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4728 fi
4729
4730 if test "$wxUSE_METAFILE" = yes; then
4731 echo "$ac_t""yes" 1>&6
4732 else
4733 echo "$ac_t""no" 1>&6
4734 fi
4735
4736
4737
4738 echo $ac_n "checking for --enable-wxtree""... $ac_c" 1>&6
4739 echo "configure:4740: checking for --enable-wxtree" >&5
4740 no_cache=0
4741 # Check whether --enable-wxtree or --disable-wxtree was given.
4742 if test "${enable_wxtree+set}" = set; then
4743 enableval="$enable_wxtree"
4744
4745 if test "$enableval" = yes; then
4746 ac_cv_use_wxtree='wxUSE_WXTREE=yes'
4747 else
4748 ac_cv_use_wxtree='wxUSE_WXTREE=no'
4749 fi
4750
4751 else
4752
4753 LINE=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
4754 if test "x$LINE" != x ; then
4755 eval "DEFAULT_$LINE"
4756 else
4757 no_cache=1
4758 fi
4759
4760 ac_cv_use_wxtree='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
4761
4762 fi
4763
4764
4765 eval "$ac_cv_use_wxtree"
4766 if test "$no_cache" != 1; then
4767 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
4768 fi
4769
4770 if test "$wxUSE_WXTREE" = yes; then
4771 echo "$ac_t""yes" 1>&6
4772 else
4773 echo "$ac_t""no" 1>&6
4774 fi
4775
4776
4777
4778
4779 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
4780 echo "configure:4781: checking for --enable-controls" >&5
4781 no_cache=0
4782 # Check whether --enable-controls or --disable-controls was given.
4783 if test "${enable_controls+set}" = set; then
4784 enableval="$enable_controls"
4785
4786 if test "$enableval" = yes; then
4787 ac_cv_use_controls='wxUSE_CONTROLS=yes'
4788 else
4789 ac_cv_use_controls='wxUSE_CONTROLS=no'
4790 fi
4791
4792 else
4793
4794 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
4795 if test "x$LINE" != x ; then
4796 eval "DEFAULT_$LINE"
4797 else
4798 no_cache=1
4799 fi
4800
4801 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
4802
4803 fi
4804
4805
4806 eval "$ac_cv_use_controls"
4807 if test "$no_cache" != 1; then
4808 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
4809 fi
4810
4811 if test "$wxUSE_CONTROLS" = yes; then
4812 echo "$ac_t""yes" 1>&6
4813 else
4814 echo "$ac_t""no" 1>&6
4815 fi
4816
4817
4818 if test "$wxUSE_CONTROLS" = "yes"; then
4819 DEFAULT_wxUSE_ACCEL=yes
4820 DEFAULT_wxUSE_BMPBUTTON=yes
4821 DEFAULT_wxUSE_BUTTON=yes
4822 DEFAULT_wxUSE_CALCTRL=no
4823 DEFAULT_wxUSE_CARET=yes
4824 DEFAULT_wxUSE_COMBOBOX=yes
4825 DEFAULT_wxUSE_CHECKBOX=yes
4826 DEFAULT_wxUSE_CHECKLISTBOX=yes
4827 DEFAULT_wxUSE_CHOICE=yes
4828 DEFAULT_wxUSE_GAUGE=yes
4829 DEFAULT_wxUSE_GRID=yes
4830 DEFAULT_wxUSE_NEW_GRID=yes
4831 DEFAULT_wxUSE_IMAGLIST=yes
4832 DEFAULT_wxUSE_LISTBOX=yes
4833 DEFAULT_wxUSE_LISTCTRL=yes
4834 DEFAULT_wxUSE_NOTEBOOK=yes
4835 DEFAULT_wxUSE_RADIOBOX=yes
4836 DEFAULT_wxUSE_RADIOBTN=yes
4837 DEFAULT_wxUSE_SASH=yes
4838 DEFAULT_wxUSE_SCROLLBAR=yes
4839 DEFAULT_wxUSE_SLIDER=yes
4840 DEFAULT_wxUSE_SPINBTN=yes
4841 DEFAULT_wxUSE_SPINCTRL=yes
4842 DEFAULT_wxUSE_SPLITTER=yes
4843 DEFAULT_wxUSE_STATBMP=yes
4844 DEFAULT_wxUSE_STATBOX=yes
4845 DEFAULT_wxUSE_STATLINE=yes
4846 DEFAULT_wxUSE_STATUSBAR=yes
4847 DEFAULT_wxUSE_TAB_DIALOG=yes
4848 DEFAULT_wxUSE_TOGGLEBTN=yes
4849 DEFAULT_wxUSE_TOOLBAR=yes
4850 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
4851 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
4852 DEFAULT_wxUSE_TOOLTIPS=yes
4853 DEFAULT_wxUSE_TREECTRL=yes
4854 elif test "$wxUSE_CONTROLS" = "no"; then
4855 DEFAULT_wxUSE_ACCEL=no
4856 DEFAULT_wxUSE_BMPBUTTON=no
4857 DEFAULT_wxUSE_BUTTON=no
4858 DEFAULT_wxUSE_CALCTRL=no
4859 DEFAULT_wxUSE_CARET=no
4860 DEFAULT_wxUSE_COMBOBOX=no
4861 DEFAULT_wxUSE_CHECKBOX=no
4862 DEFAULT_wxUSE_CHECKLISTBOX=no
4863 DEFAULT_wxUSE_CHOICE=no
4864 DEFAULT_wxUSE_GAUGE=no
4865 DEFAULT_wxUSE_GRID=no
4866 DEFAULT_wxUSE_NEW_GRID=no
4867 DEFAULT_wxUSE_IMAGLIST=no
4868 DEFAULT_wxUSE_LISTBOX=no
4869 DEFAULT_wxUSE_LISTCTRL=no
4870 DEFAULT_wxUSE_NOTEBOOK=no
4871 DEFAULT_wxUSE_RADIOBOX=no
4872 DEFAULT_wxUSE_RADIOBTN=no
4873 DEFAULT_wxUSE_SASH=no
4874 DEFAULT_wxUSE_SCROLLBAR=no
4875 DEFAULT_wxUSE_SLIDER=no
4876 DEFAULT_wxUSE_SPINBTN=no
4877 DEFAULT_wxUSE_SPINCTRL=no
4878 DEFAULT_wxUSE_SPLITTER=no
4879 DEFAULT_wxUSE_STATBMP=no
4880 DEFAULT_wxUSE_STATBOX=no
4881 DEFAULT_wxUSE_STATLINE=no
4882 DEFAULT_wxUSE_STATUSBAR=no
4883 DEFAULT_wxUSE_TAB_DIALOG=no
4884 DEFAULT_wxUSE_TOGGLEBTN=no
4885 DEFAULT_wxUSE_TOOLBAR=no
4886 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
4887 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
4888 DEFAULT_wxUSE_TOOLTIPS=no
4889 DEFAULT_wxUSE_TREECTRL=no
4890 fi
4891
4892
4893 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
4894 echo "configure:4895: checking for --enable-accel" >&5
4895 no_cache=0
4896 # Check whether --enable-accel or --disable-accel was given.
4897 if test "${enable_accel+set}" = set; then
4898 enableval="$enable_accel"
4899
4900 if test "$enableval" = yes; then
4901 ac_cv_use_accel='wxUSE_ACCEL=yes'
4902 else
4903 ac_cv_use_accel='wxUSE_ACCEL=no'
4904 fi
4905
4906 else
4907
4908 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
4909 if test "x$LINE" != x ; then
4910 eval "DEFAULT_$LINE"
4911 else
4912 no_cache=1
4913 fi
4914
4915 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
4916
4917 fi
4918
4919
4920 eval "$ac_cv_use_accel"
4921 if test "$no_cache" != 1; then
4922 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
4923 fi
4924
4925 if test "$wxUSE_ACCEL" = yes; then
4926 echo "$ac_t""yes" 1>&6
4927 else
4928 echo "$ac_t""no" 1>&6
4929 fi
4930
4931
4932 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
4933 echo "configure:4934: checking for --enable-button" >&5
4934 no_cache=0
4935 # Check whether --enable-button or --disable-button was given.
4936 if test "${enable_button+set}" = set; then
4937 enableval="$enable_button"
4938
4939 if test "$enableval" = yes; then
4940 ac_cv_use_button='wxUSE_BUTTON=yes'
4941 else
4942 ac_cv_use_button='wxUSE_BUTTON=no'
4943 fi
4944
4945 else
4946
4947 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
4948 if test "x$LINE" != x ; then
4949 eval "DEFAULT_$LINE"
4950 else
4951 no_cache=1
4952 fi
4953
4954 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
4955
4956 fi
4957
4958
4959 eval "$ac_cv_use_button"
4960 if test "$no_cache" != 1; then
4961 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
4962 fi
4963
4964 if test "$wxUSE_BUTTON" = yes; then
4965 echo "$ac_t""yes" 1>&6
4966 else
4967 echo "$ac_t""no" 1>&6
4968 fi
4969
4970
4971 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
4972 echo "configure:4973: checking for --enable-bmpbutton" >&5
4973 no_cache=0
4974 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4975 if test "${enable_bmpbutton+set}" = set; then
4976 enableval="$enable_bmpbutton"
4977
4978 if test "$enableval" = yes; then
4979 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
4980 else
4981 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
4982 fi
4983
4984 else
4985
4986 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4987 if test "x$LINE" != x ; then
4988 eval "DEFAULT_$LINE"
4989 else
4990 no_cache=1
4991 fi
4992
4993 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4994
4995 fi
4996
4997
4998 eval "$ac_cv_use_bmpbutton"
4999 if test "$no_cache" != 1; then
5000 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5001 fi
5002
5003 if test "$wxUSE_BMPBUTTON" = yes; then
5004 echo "$ac_t""yes" 1>&6
5005 else
5006 echo "$ac_t""no" 1>&6
5007 fi
5008
5009
5010 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5011 echo "configure:5012: checking for --enable-calendar" >&5
5012 no_cache=0
5013 # Check whether --enable-calendar or --disable-calendar was given.
5014 if test "${enable_calendar+set}" = set; then
5015 enableval="$enable_calendar"
5016
5017 if test "$enableval" = yes; then
5018 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
5019 else
5020 ac_cv_use_calendar='wxUSE_CALCTRL=no'
5021 fi
5022
5023 else
5024
5025 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5026 if test "x$LINE" != x ; then
5027 eval "DEFAULT_$LINE"
5028 else
5029 no_cache=1
5030 fi
5031
5032 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5033
5034 fi
5035
5036
5037 eval "$ac_cv_use_calendar"
5038 if test "$no_cache" != 1; then
5039 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5040 fi
5041
5042 if test "$wxUSE_CALCTRL" = yes; then
5043 echo "$ac_t""yes" 1>&6
5044 else
5045 echo "$ac_t""no" 1>&6
5046 fi
5047
5048
5049 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5050 echo "configure:5051: checking for --enable-caret" >&5
5051 no_cache=0
5052 # Check whether --enable-caret or --disable-caret was given.
5053 if test "${enable_caret+set}" = set; then
5054 enableval="$enable_caret"
5055
5056 if test "$enableval" = yes; then
5057 ac_cv_use_caret='wxUSE_CARET=yes'
5058 else
5059 ac_cv_use_caret='wxUSE_CARET=no'
5060 fi
5061
5062 else
5063
5064 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5065 if test "x$LINE" != x ; then
5066 eval "DEFAULT_$LINE"
5067 else
5068 no_cache=1
5069 fi
5070
5071 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5072
5073 fi
5074
5075
5076 eval "$ac_cv_use_caret"
5077 if test "$no_cache" != 1; then
5078 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5079 fi
5080
5081 if test "$wxUSE_CARET" = yes; then
5082 echo "$ac_t""yes" 1>&6
5083 else
5084 echo "$ac_t""no" 1>&6
5085 fi
5086
5087
5088 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5089 echo "configure:5090: checking for --enable-checkbox" >&5
5090 no_cache=0
5091 # Check whether --enable-checkbox or --disable-checkbox was given.
5092 if test "${enable_checkbox+set}" = set; then
5093 enableval="$enable_checkbox"
5094
5095 if test "$enableval" = yes; then
5096 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
5097 else
5098 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
5099 fi
5100
5101 else
5102
5103 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5104 if test "x$LINE" != x ; then
5105 eval "DEFAULT_$LINE"
5106 else
5107 no_cache=1
5108 fi
5109
5110 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5111
5112 fi
5113
5114
5115 eval "$ac_cv_use_checkbox"
5116 if test "$no_cache" != 1; then
5117 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5118 fi
5119
5120 if test "$wxUSE_CHECKBOX" = yes; then
5121 echo "$ac_t""yes" 1>&6
5122 else
5123 echo "$ac_t""no" 1>&6
5124 fi
5125
5126
5127 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5128 echo "configure:5129: checking for --enable-checklst" >&5
5129 no_cache=0
5130 # Check whether --enable-checklst or --disable-checklst was given.
5131 if test "${enable_checklst+set}" = set; then
5132 enableval="$enable_checklst"
5133
5134 if test "$enableval" = yes; then
5135 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
5136 else
5137 ac_cv_use_checklst='wxUSE_CHECKLST=no'
5138 fi
5139
5140 else
5141
5142 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5143 if test "x$LINE" != x ; then
5144 eval "DEFAULT_$LINE"
5145 else
5146 no_cache=1
5147 fi
5148
5149 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5150
5151 fi
5152
5153
5154 eval "$ac_cv_use_checklst"
5155 if test "$no_cache" != 1; then
5156 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5157 fi
5158
5159 if test "$wxUSE_CHECKLST" = yes; then
5160 echo "$ac_t""yes" 1>&6
5161 else
5162 echo "$ac_t""no" 1>&6
5163 fi
5164
5165
5166 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5167 echo "configure:5168: checking for --enable-choice" >&5
5168 no_cache=0
5169 # Check whether --enable-choice or --disable-choice was given.
5170 if test "${enable_choice+set}" = set; then
5171 enableval="$enable_choice"
5172
5173 if test "$enableval" = yes; then
5174 ac_cv_use_choice='wxUSE_CHOICE=yes'
5175 else
5176 ac_cv_use_choice='wxUSE_CHOICE=no'
5177 fi
5178
5179 else
5180
5181 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5182 if test "x$LINE" != x ; then
5183 eval "DEFAULT_$LINE"
5184 else
5185 no_cache=1
5186 fi
5187
5188 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5189
5190 fi
5191
5192
5193 eval "$ac_cv_use_choice"
5194 if test "$no_cache" != 1; then
5195 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5196 fi
5197
5198 if test "$wxUSE_CHOICE" = yes; then
5199 echo "$ac_t""yes" 1>&6
5200 else
5201 echo "$ac_t""no" 1>&6
5202 fi
5203
5204
5205 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5206 echo "configure:5207: checking for --enable-combobox" >&5
5207 no_cache=0
5208 # Check whether --enable-combobox or --disable-combobox was given.
5209 if test "${enable_combobox+set}" = set; then
5210 enableval="$enable_combobox"
5211
5212 if test "$enableval" = yes; then
5213 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
5214 else
5215 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
5216 fi
5217
5218 else
5219
5220 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5221 if test "x$LINE" != x ; then
5222 eval "DEFAULT_$LINE"
5223 else
5224 no_cache=1
5225 fi
5226
5227 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5228
5229 fi
5230
5231
5232 eval "$ac_cv_use_combobox"
5233 if test "$no_cache" != 1; then
5234 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5235 fi
5236
5237 if test "$wxUSE_COMBOBOX" = yes; then
5238 echo "$ac_t""yes" 1>&6
5239 else
5240 echo "$ac_t""no" 1>&6
5241 fi
5242
5243
5244 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5245 echo "configure:5246: checking for --enable-gauge" >&5
5246 no_cache=0
5247 # Check whether --enable-gauge or --disable-gauge was given.
5248 if test "${enable_gauge+set}" = set; then
5249 enableval="$enable_gauge"
5250
5251 if test "$enableval" = yes; then
5252 ac_cv_use_gauge='wxUSE_GAUGE=yes'
5253 else
5254 ac_cv_use_gauge='wxUSE_GAUGE=no'
5255 fi
5256
5257 else
5258
5259 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5260 if test "x$LINE" != x ; then
5261 eval "DEFAULT_$LINE"
5262 else
5263 no_cache=1
5264 fi
5265
5266 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5267
5268 fi
5269
5270
5271 eval "$ac_cv_use_gauge"
5272 if test "$no_cache" != 1; then
5273 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5274 fi
5275
5276 if test "$wxUSE_GAUGE" = yes; then
5277 echo "$ac_t""yes" 1>&6
5278 else
5279 echo "$ac_t""no" 1>&6
5280 fi
5281
5282
5283 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5284 echo "configure:5285: checking for --enable-grid" >&5
5285 no_cache=0
5286 # Check whether --enable-grid or --disable-grid was given.
5287 if test "${enable_grid+set}" = set; then
5288 enableval="$enable_grid"
5289
5290 if test "$enableval" = yes; then
5291 ac_cv_use_grid='wxUSE_GRID=yes'
5292 else
5293 ac_cv_use_grid='wxUSE_GRID=no'
5294 fi
5295
5296 else
5297
5298 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5299 if test "x$LINE" != x ; then
5300 eval "DEFAULT_$LINE"
5301 else
5302 no_cache=1
5303 fi
5304
5305 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5306
5307 fi
5308
5309
5310 eval "$ac_cv_use_grid"
5311 if test "$no_cache" != 1; then
5312 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5313 fi
5314
5315 if test "$wxUSE_GRID" = yes; then
5316 echo "$ac_t""yes" 1>&6
5317 else
5318 echo "$ac_t""no" 1>&6
5319 fi
5320
5321
5322 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5323 echo "configure:5324: checking for --enable-newgrid" >&5
5324 no_cache=0
5325 # Check whether --enable-newgrid or --disable-newgrid was given.
5326 if test "${enable_newgrid+set}" = set; then
5327 enableval="$enable_newgrid"
5328
5329 if test "$enableval" = yes; then
5330 ac_cv_use_newgrid='wxUSE_NEW_GRID=yes'
5331 else
5332 ac_cv_use_newgrid='wxUSE_NEW_GRID=no'
5333 fi
5334
5335 else
5336
5337 LINE=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5338 if test "x$LINE" != x ; then
5339 eval "DEFAULT_$LINE"
5340 else
5341 no_cache=1
5342 fi
5343
5344 ac_cv_use_newgrid='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5345
5346 fi
5347
5348
5349 eval "$ac_cv_use_newgrid"
5350 if test "$no_cache" != 1; then
5351 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5352 fi
5353
5354 if test "$wxUSE_NEW_GRID" = yes; then
5355 echo "$ac_t""yes" 1>&6
5356 else
5357 echo "$ac_t""no" 1>&6
5358 fi
5359
5360
5361 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5362 echo "configure:5363: checking for --enable-imaglist" >&5
5363 no_cache=0
5364 # Check whether --enable-imaglist or --disable-imaglist was given.
5365 if test "${enable_imaglist+set}" = set; then
5366 enableval="$enable_imaglist"
5367
5368 if test "$enableval" = yes; then
5369 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
5370 else
5371 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
5372 fi
5373
5374 else
5375
5376 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5377 if test "x$LINE" != x ; then
5378 eval "DEFAULT_$LINE"
5379 else
5380 no_cache=1
5381 fi
5382
5383 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5384
5385 fi
5386
5387
5388 eval "$ac_cv_use_imaglist"
5389 if test "$no_cache" != 1; then
5390 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5391 fi
5392
5393 if test "$wxUSE_IMAGLIST" = yes; then
5394 echo "$ac_t""yes" 1>&6
5395 else
5396 echo "$ac_t""no" 1>&6
5397 fi
5398
5399
5400 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5401 echo "configure:5402: checking for --enable-listbox" >&5
5402 no_cache=0
5403 # Check whether --enable-listbox or --disable-listbox was given.
5404 if test "${enable_listbox+set}" = set; then
5405 enableval="$enable_listbox"
5406
5407 if test "$enableval" = yes; then
5408 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
5409 else
5410 ac_cv_use_listbox='wxUSE_LISTBOX=no'
5411 fi
5412
5413 else
5414
5415 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5416 if test "x$LINE" != x ; then
5417 eval "DEFAULT_$LINE"
5418 else
5419 no_cache=1
5420 fi
5421
5422 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5423
5424 fi
5425
5426
5427 eval "$ac_cv_use_listbox"
5428 if test "$no_cache" != 1; then
5429 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5430 fi
5431
5432 if test "$wxUSE_LISTBOX" = yes; then
5433 echo "$ac_t""yes" 1>&6
5434 else
5435 echo "$ac_t""no" 1>&6
5436 fi
5437
5438
5439 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5440 echo "configure:5441: checking for --enable-listctrl" >&5
5441 no_cache=0
5442 # Check whether --enable-listctrl or --disable-listctrl was given.
5443 if test "${enable_listctrl+set}" = set; then
5444 enableval="$enable_listctrl"
5445
5446 if test "$enableval" = yes; then
5447 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
5448 else
5449 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
5450 fi
5451
5452 else
5453
5454 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5455 if test "x$LINE" != x ; then
5456 eval "DEFAULT_$LINE"
5457 else
5458 no_cache=1
5459 fi
5460
5461 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5462
5463 fi
5464
5465
5466 eval "$ac_cv_use_listctrl"
5467 if test "$no_cache" != 1; then
5468 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5469 fi
5470
5471 if test "$wxUSE_LISTCTRL" = yes; then
5472 echo "$ac_t""yes" 1>&6
5473 else
5474 echo "$ac_t""no" 1>&6
5475 fi
5476
5477
5478 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5479 echo "configure:5480: checking for --enable-notebook" >&5
5480 no_cache=0
5481 # Check whether --enable-notebook or --disable-notebook was given.
5482 if test "${enable_notebook+set}" = set; then
5483 enableval="$enable_notebook"
5484
5485 if test "$enableval" = yes; then
5486 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
5487 else
5488 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
5489 fi
5490
5491 else
5492
5493 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5494 if test "x$LINE" != x ; then
5495 eval "DEFAULT_$LINE"
5496 else
5497 no_cache=1
5498 fi
5499
5500 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5501
5502 fi
5503
5504
5505 eval "$ac_cv_use_notebook"
5506 if test "$no_cache" != 1; then
5507 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5508 fi
5509
5510 if test "$wxUSE_NOTEBOOK" = yes; then
5511 echo "$ac_t""yes" 1>&6
5512 else
5513 echo "$ac_t""no" 1>&6
5514 fi
5515
5516
5517 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5518 echo "configure:5519: checking for --enable-radiobox" >&5
5519 no_cache=0
5520 # Check whether --enable-radiobox or --disable-radiobox was given.
5521 if test "${enable_radiobox+set}" = set; then
5522 enableval="$enable_radiobox"
5523
5524 if test "$enableval" = yes; then
5525 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
5526 else
5527 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
5528 fi
5529
5530 else
5531
5532 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5533 if test "x$LINE" != x ; then
5534 eval "DEFAULT_$LINE"
5535 else
5536 no_cache=1
5537 fi
5538
5539 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5540
5541 fi
5542
5543
5544 eval "$ac_cv_use_radiobox"
5545 if test "$no_cache" != 1; then
5546 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5547 fi
5548
5549 if test "$wxUSE_RADIOBOX" = yes; then
5550 echo "$ac_t""yes" 1>&6
5551 else
5552 echo "$ac_t""no" 1>&6
5553 fi
5554
5555
5556 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5557 echo "configure:5558: checking for --enable-radiobtn" >&5
5558 no_cache=0
5559 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5560 if test "${enable_radiobtn+set}" = set; then
5561 enableval="$enable_radiobtn"
5562
5563 if test "$enableval" = yes; then
5564 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
5565 else
5566 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
5567 fi
5568
5569 else
5570
5571 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5572 if test "x$LINE" != x ; then
5573 eval "DEFAULT_$LINE"
5574 else
5575 no_cache=1
5576 fi
5577
5578 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5579
5580 fi
5581
5582
5583 eval "$ac_cv_use_radiobtn"
5584 if test "$no_cache" != 1; then
5585 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5586 fi
5587
5588 if test "$wxUSE_RADIOBTN" = yes; then
5589 echo "$ac_t""yes" 1>&6
5590 else
5591 echo "$ac_t""no" 1>&6
5592 fi
5593
5594
5595 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5596 echo "configure:5597: checking for --enable-sash" >&5
5597 no_cache=0
5598 # Check whether --enable-sash or --disable-sash was given.
5599 if test "${enable_sash+set}" = set; then
5600 enableval="$enable_sash"
5601
5602 if test "$enableval" = yes; then
5603 ac_cv_use_sash='wxUSE_SASH=yes'
5604 else
5605 ac_cv_use_sash='wxUSE_SASH=no'
5606 fi
5607
5608 else
5609
5610 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5611 if test "x$LINE" != x ; then
5612 eval "DEFAULT_$LINE"
5613 else
5614 no_cache=1
5615 fi
5616
5617 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5618
5619 fi
5620
5621
5622 eval "$ac_cv_use_sash"
5623 if test "$no_cache" != 1; then
5624 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5625 fi
5626
5627 if test "$wxUSE_SASH" = yes; then
5628 echo "$ac_t""yes" 1>&6
5629 else
5630 echo "$ac_t""no" 1>&6
5631 fi
5632
5633
5634 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5635 echo "configure:5636: checking for --enable-scrollbar" >&5
5636 no_cache=0
5637 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5638 if test "${enable_scrollbar+set}" = set; then
5639 enableval="$enable_scrollbar"
5640
5641 if test "$enableval" = yes; then
5642 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
5643 else
5644 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
5645 fi
5646
5647 else
5648
5649 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5650 if test "x$LINE" != x ; then
5651 eval "DEFAULT_$LINE"
5652 else
5653 no_cache=1
5654 fi
5655
5656 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5657
5658 fi
5659
5660
5661 eval "$ac_cv_use_scrollbar"
5662 if test "$no_cache" != 1; then
5663 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5664 fi
5665
5666 if test "$wxUSE_SCROLLBAR" = yes; then
5667 echo "$ac_t""yes" 1>&6
5668 else
5669 echo "$ac_t""no" 1>&6
5670 fi
5671
5672
5673 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5674 echo "configure:5675: checking for --enable-slider" >&5
5675 no_cache=0
5676 # Check whether --enable-slider or --disable-slider was given.
5677 if test "${enable_slider+set}" = set; then
5678 enableval="$enable_slider"
5679
5680 if test "$enableval" = yes; then
5681 ac_cv_use_slider='wxUSE_SLIDER=yes'
5682 else
5683 ac_cv_use_slider='wxUSE_SLIDER=no'
5684 fi
5685
5686 else
5687
5688 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5689 if test "x$LINE" != x ; then
5690 eval "DEFAULT_$LINE"
5691 else
5692 no_cache=1
5693 fi
5694
5695 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5696
5697 fi
5698
5699
5700 eval "$ac_cv_use_slider"
5701 if test "$no_cache" != 1; then
5702 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5703 fi
5704
5705 if test "$wxUSE_SLIDER" = yes; then
5706 echo "$ac_t""yes" 1>&6
5707 else
5708 echo "$ac_t""no" 1>&6
5709 fi
5710
5711
5712 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5713 echo "configure:5714: checking for --enable-spinbtn" >&5
5714 no_cache=0
5715 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5716 if test "${enable_spinbtn+set}" = set; then
5717 enableval="$enable_spinbtn"
5718
5719 if test "$enableval" = yes; then
5720 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
5721 else
5722 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
5723 fi
5724
5725 else
5726
5727 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
5728 if test "x$LINE" != x ; then
5729 eval "DEFAULT_$LINE"
5730 else
5731 no_cache=1
5732 fi
5733
5734 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
5735
5736 fi
5737
5738
5739 eval "$ac_cv_use_spinbtn"
5740 if test "$no_cache" != 1; then
5741 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
5742 fi
5743
5744 if test "$wxUSE_SPINBTN" = yes; then
5745 echo "$ac_t""yes" 1>&6
5746 else
5747 echo "$ac_t""no" 1>&6
5748 fi
5749
5750
5751 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
5752 echo "configure:5753: checking for --enable-spinctrl" >&5
5753 no_cache=0
5754 # Check whether --enable-spinctrl or --disable-spinctrl was given.
5755 if test "${enable_spinctrl+set}" = set; then
5756 enableval="$enable_spinctrl"
5757
5758 if test "$enableval" = yes; then
5759 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
5760 else
5761 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
5762 fi
5763
5764 else
5765
5766 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
5767 if test "x$LINE" != x ; then
5768 eval "DEFAULT_$LINE"
5769 else
5770 no_cache=1
5771 fi
5772
5773 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
5774
5775 fi
5776
5777
5778 eval "$ac_cv_use_spinctrl"
5779 if test "$no_cache" != 1; then
5780 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
5781 fi
5782
5783 if test "$wxUSE_SPINCTRL" = yes; then
5784 echo "$ac_t""yes" 1>&6
5785 else
5786 echo "$ac_t""no" 1>&6
5787 fi
5788
5789
5790 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
5791 echo "configure:5792: checking for --enable-splitter" >&5
5792 no_cache=0
5793 # Check whether --enable-splitter or --disable-splitter was given.
5794 if test "${enable_splitter+set}" = set; then
5795 enableval="$enable_splitter"
5796
5797 if test "$enableval" = yes; then
5798 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
5799 else
5800 ac_cv_use_splitter='wxUSE_SPLITTER=no'
5801 fi
5802
5803 else
5804
5805 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
5806 if test "x$LINE" != x ; then
5807 eval "DEFAULT_$LINE"
5808 else
5809 no_cache=1
5810 fi
5811
5812 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
5813
5814 fi
5815
5816
5817 eval "$ac_cv_use_splitter"
5818 if test "$no_cache" != 1; then
5819 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
5820 fi
5821
5822 if test "$wxUSE_SPLITTER" = yes; then
5823 echo "$ac_t""yes" 1>&6
5824 else
5825 echo "$ac_t""no" 1>&6
5826 fi
5827
5828
5829 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
5830 echo "configure:5831: checking for --enable-statbmp" >&5
5831 no_cache=0
5832 # Check whether --enable-statbmp or --disable-statbmp was given.
5833 if test "${enable_statbmp+set}" = set; then
5834 enableval="$enable_statbmp"
5835
5836 if test "$enableval" = yes; then
5837 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
5838 else
5839 ac_cv_use_statbmp='wxUSE_STATBMP=no'
5840 fi
5841
5842 else
5843
5844 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
5845 if test "x$LINE" != x ; then
5846 eval "DEFAULT_$LINE"
5847 else
5848 no_cache=1
5849 fi
5850
5851 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
5852
5853 fi
5854
5855
5856 eval "$ac_cv_use_statbmp"
5857 if test "$no_cache" != 1; then
5858 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
5859 fi
5860
5861 if test "$wxUSE_STATBMP" = yes; then
5862 echo "$ac_t""yes" 1>&6
5863 else
5864 echo "$ac_t""no" 1>&6
5865 fi
5866
5867
5868 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
5869 echo "configure:5870: checking for --enable-statbox" >&5
5870 no_cache=0
5871 # Check whether --enable-statbox or --disable-statbox was given.
5872 if test "${enable_statbox+set}" = set; then
5873 enableval="$enable_statbox"
5874
5875 if test "$enableval" = yes; then
5876 ac_cv_use_statbox='wxUSE_STATBOX=yes'
5877 else
5878 ac_cv_use_statbox='wxUSE_STATBOX=no'
5879 fi
5880
5881 else
5882
5883 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
5884 if test "x$LINE" != x ; then
5885 eval "DEFAULT_$LINE"
5886 else
5887 no_cache=1
5888 fi
5889
5890 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
5891
5892 fi
5893
5894
5895 eval "$ac_cv_use_statbox"
5896 if test "$no_cache" != 1; then
5897 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
5898 fi
5899
5900 if test "$wxUSE_STATBOX" = yes; then
5901 echo "$ac_t""yes" 1>&6
5902 else
5903 echo "$ac_t""no" 1>&6
5904 fi
5905
5906
5907 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
5908 echo "configure:5909: checking for --enable-statline" >&5
5909 no_cache=0
5910 # Check whether --enable-statline or --disable-statline was given.
5911 if test "${enable_statline+set}" = set; then
5912 enableval="$enable_statline"
5913
5914 if test "$enableval" = yes; then
5915 ac_cv_use_statline='wxUSE_STATLINE=yes'
5916 else
5917 ac_cv_use_statline='wxUSE_STATLINE=no'
5918 fi
5919
5920 else
5921
5922 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
5923 if test "x$LINE" != x ; then
5924 eval "DEFAULT_$LINE"
5925 else
5926 no_cache=1
5927 fi
5928
5929 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
5930
5931 fi
5932
5933
5934 eval "$ac_cv_use_statline"
5935 if test "$no_cache" != 1; then
5936 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
5937 fi
5938
5939 if test "$wxUSE_STATLINE" = yes; then
5940 echo "$ac_t""yes" 1>&6
5941 else
5942 echo "$ac_t""no" 1>&6
5943 fi
5944
5945
5946 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
5947 echo "configure:5948: checking for --enable-stattext" >&5
5948 no_cache=0
5949 # Check whether --enable-stattext or --disable-stattext was given.
5950 if test "${enable_stattext+set}" = set; then
5951 enableval="$enable_stattext"
5952
5953 if test "$enableval" = yes; then
5954 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
5955 else
5956 ac_cv_use_stattext='wxUSE_STATTEXT=no'
5957 fi
5958
5959 else
5960
5961 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
5962 if test "x$LINE" != x ; then
5963 eval "DEFAULT_$LINE"
5964 else
5965 no_cache=1
5966 fi
5967
5968 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
5969
5970 fi
5971
5972
5973 eval "$ac_cv_use_stattext"
5974 if test "$no_cache" != 1; then
5975 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
5976 fi
5977
5978 if test "$wxUSE_STATTEXT" = yes; then
5979 echo "$ac_t""yes" 1>&6
5980 else
5981 echo "$ac_t""no" 1>&6
5982 fi
5983
5984
5985 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
5986 echo "configure:5987: checking for --enable-statusbar" >&5
5987 no_cache=0
5988 # Check whether --enable-statusbar or --disable-statusbar was given.
5989 if test "${enable_statusbar+set}" = set; then
5990 enableval="$enable_statusbar"
5991
5992 if test "$enableval" = yes; then
5993 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
5994 else
5995 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
5996 fi
5997
5998 else
5999
6000 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6001 if test "x$LINE" != x ; then
6002 eval "DEFAULT_$LINE"
6003 else
6004 no_cache=1
6005 fi
6006
6007 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6008
6009 fi
6010
6011
6012 eval "$ac_cv_use_statusbar"
6013 if test "$no_cache" != 1; then
6014 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6015 fi
6016
6017 if test "$wxUSE_STATUSBAR" = yes; then
6018 echo "$ac_t""yes" 1>&6
6019 else
6020 echo "$ac_t""no" 1>&6
6021 fi
6022
6023
6024 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6025 echo "configure:6026: checking for --enable-tabdialog" >&5
6026 no_cache=0
6027 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6028 if test "${enable_tabdialog+set}" = set; then
6029 enableval="$enable_tabdialog"
6030
6031 if test "$enableval" = yes; then
6032 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
6033 else
6034 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
6035 fi
6036
6037 else
6038
6039 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6040 if test "x$LINE" != x ; then
6041 eval "DEFAULT_$LINE"
6042 else
6043 no_cache=1
6044 fi
6045
6046 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6047
6048 fi
6049
6050
6051 eval "$ac_cv_use_tabdialog"
6052 if test "$no_cache" != 1; then
6053 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6054 fi
6055
6056 if test "$wxUSE_TABDIALOG" = yes; then
6057 echo "$ac_t""yes" 1>&6
6058 else
6059 echo "$ac_t""no" 1>&6
6060 fi
6061
6062
6063 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6064 echo "configure:6065: checking for --enable-textctrl" >&5
6065 no_cache=0
6066 # Check whether --enable-textctrl or --disable-textctrl was given.
6067 if test "${enable_textctrl+set}" = set; then
6068 enableval="$enable_textctrl"
6069
6070 if test "$enableval" = yes; then
6071 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
6072 else
6073 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
6074 fi
6075
6076 else
6077
6078 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6079 if test "x$LINE" != x ; then
6080 eval "DEFAULT_$LINE"
6081 else
6082 no_cache=1
6083 fi
6084
6085 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6086
6087 fi
6088
6089
6090 eval "$ac_cv_use_textctrl"
6091 if test "$no_cache" != 1; then
6092 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6093 fi
6094
6095 if test "$wxUSE_TEXTCTRL" = yes; then
6096 echo "$ac_t""yes" 1>&6
6097 else
6098 echo "$ac_t""no" 1>&6
6099 fi
6100
6101
6102 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6103 echo "configure:6104: checking for --enable-togglebtn" >&5
6104 no_cache=0
6105 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6106 if test "${enable_togglebtn+set}" = set; then
6107 enableval="$enable_togglebtn"
6108
6109 if test "$enableval" = yes; then
6110 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
6111 else
6112 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
6113 fi
6114
6115 else
6116
6117 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6118 if test "x$LINE" != x ; then
6119 eval "DEFAULT_$LINE"
6120 else
6121 no_cache=1
6122 fi
6123
6124 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6125
6126 fi
6127
6128
6129 eval "$ac_cv_use_togglebtn"
6130 if test "$no_cache" != 1; then
6131 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6132 fi
6133
6134 if test "$wxUSE_TOGGLEBTN" = yes; then
6135 echo "$ac_t""yes" 1>&6
6136 else
6137 echo "$ac_t""no" 1>&6
6138 fi
6139
6140
6141 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6142 echo "configure:6143: checking for --enable-toolbar" >&5
6143 no_cache=0
6144 # Check whether --enable-toolbar or --disable-toolbar was given.
6145 if test "${enable_toolbar+set}" = set; then
6146 enableval="$enable_toolbar"
6147
6148 if test "$enableval" = yes; then
6149 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
6150 else
6151 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
6152 fi
6153
6154 else
6155
6156 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6157 if test "x$LINE" != x ; then
6158 eval "DEFAULT_$LINE"
6159 else
6160 no_cache=1
6161 fi
6162
6163 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6164
6165 fi
6166
6167
6168 eval "$ac_cv_use_toolbar"
6169 if test "$no_cache" != 1; then
6170 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6171 fi
6172
6173 if test "$wxUSE_TOOLBAR" = yes; then
6174 echo "$ac_t""yes" 1>&6
6175 else
6176 echo "$ac_t""no" 1>&6
6177 fi
6178
6179
6180 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6181 echo "configure:6182: checking for --enable-tbarnative" >&5
6182 no_cache=0
6183 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6184 if test "${enable_tbarnative+set}" = set; then
6185 enableval="$enable_tbarnative"
6186
6187 if test "$enableval" = yes; then
6188 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
6189 else
6190 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
6191 fi
6192
6193 else
6194
6195 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6196 if test "x$LINE" != x ; then
6197 eval "DEFAULT_$LINE"
6198 else
6199 no_cache=1
6200 fi
6201
6202 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6203
6204 fi
6205
6206
6207 eval "$ac_cv_use_tbarnative"
6208 if test "$no_cache" != 1; then
6209 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6210 fi
6211
6212 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6213 echo "$ac_t""yes" 1>&6
6214 else
6215 echo "$ac_t""no" 1>&6
6216 fi
6217
6218
6219 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6220 echo "configure:6221: checking for --enable-tbarsmpl" >&5
6221 no_cache=0
6222 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6223 if test "${enable_tbarsmpl+set}" = set; then
6224 enableval="$enable_tbarsmpl"
6225
6226 if test "$enableval" = yes; then
6227 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
6228 else
6229 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
6230 fi
6231
6232 else
6233
6234 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6235 if test "x$LINE" != x ; then
6236 eval "DEFAULT_$LINE"
6237 else
6238 no_cache=1
6239 fi
6240
6241 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6242
6243 fi
6244
6245
6246 eval "$ac_cv_use_tbarsmpl"
6247 if test "$no_cache" != 1; then
6248 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6249 fi
6250
6251 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6252 echo "$ac_t""yes" 1>&6
6253 else
6254 echo "$ac_t""no" 1>&6
6255 fi
6256
6257
6258 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6259 echo "configure:6260: checking for --enable-treectrl" >&5
6260 no_cache=0
6261 # Check whether --enable-treectrl or --disable-treectrl was given.
6262 if test "${enable_treectrl+set}" = set; then
6263 enableval="$enable_treectrl"
6264
6265 if test "$enableval" = yes; then
6266 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
6267 else
6268 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
6269 fi
6270
6271 else
6272
6273 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6274 if test "x$LINE" != x ; then
6275 eval "DEFAULT_$LINE"
6276 else
6277 no_cache=1
6278 fi
6279
6280 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6281
6282 fi
6283
6284
6285 eval "$ac_cv_use_treectrl"
6286 if test "$no_cache" != 1; then
6287 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6288 fi
6289
6290 if test "$wxUSE_TREECTRL" = yes; then
6291 echo "$ac_t""yes" 1>&6
6292 else
6293 echo "$ac_t""no" 1>&6
6294 fi
6295
6296
6297
6298
6299 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6300 echo "configure:6301: checking for --enable-commondlg" >&5
6301 no_cache=0
6302 # Check whether --enable-commondlg or --disable-commondlg was given.
6303 if test "${enable_commondlg+set}" = set; then
6304 enableval="$enable_commondlg"
6305
6306 if test "$enableval" = yes; then
6307 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
6308 else
6309 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
6310 fi
6311
6312 else
6313
6314 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6315 if test "x$LINE" != x ; then
6316 eval "DEFAULT_$LINE"
6317 else
6318 no_cache=1
6319 fi
6320
6321 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6322
6323 fi
6324
6325
6326 eval "$ac_cv_use_commondlg"
6327 if test "$no_cache" != 1; then
6328 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6329 fi
6330
6331 if test "$wxUSE_COMMONDLGS" = yes; then
6332 echo "$ac_t""yes" 1>&6
6333 else
6334 echo "$ac_t""no" 1>&6
6335 fi
6336
6337
6338 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6339 echo "configure:6340: checking for --enable-choicedlg" >&5
6340 no_cache=0
6341 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6342 if test "${enable_choicedlg+set}" = set; then
6343 enableval="$enable_choicedlg"
6344
6345 if test "$enableval" = yes; then
6346 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
6347 else
6348 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
6349 fi
6350
6351 else
6352
6353 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6354 if test "x$LINE" != x ; then
6355 eval "DEFAULT_$LINE"
6356 else
6357 no_cache=1
6358 fi
6359
6360 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6361
6362 fi
6363
6364
6365 eval "$ac_cv_use_choicedlg"
6366 if test "$no_cache" != 1; then
6367 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6368 fi
6369
6370 if test "$wxUSE_CHOICEDLG" = yes; then
6371 echo "$ac_t""yes" 1>&6
6372 else
6373 echo "$ac_t""no" 1>&6
6374 fi
6375
6376
6377 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6378 echo "configure:6379: checking for --enable-coldlg" >&5
6379 no_cache=0
6380 # Check whether --enable-coldlg or --disable-coldlg was given.
6381 if test "${enable_coldlg+set}" = set; then
6382 enableval="$enable_coldlg"
6383
6384 if test "$enableval" = yes; then
6385 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
6386 else
6387 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
6388 fi
6389
6390 else
6391
6392 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6393 if test "x$LINE" != x ; then
6394 eval "DEFAULT_$LINE"
6395 else
6396 no_cache=1
6397 fi
6398
6399 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6400
6401 fi
6402
6403
6404 eval "$ac_cv_use_coldlg"
6405 if test "$no_cache" != 1; then
6406 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6407 fi
6408
6409 if test "$wxUSE_COLOURDLG" = yes; then
6410 echo "$ac_t""yes" 1>&6
6411 else
6412 echo "$ac_t""no" 1>&6
6413 fi
6414
6415
6416 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6417 echo "configure:6418: checking for --enable-filedlg" >&5
6418 no_cache=0
6419 # Check whether --enable-filedlg or --disable-filedlg was given.
6420 if test "${enable_filedlg+set}" = set; then
6421 enableval="$enable_filedlg"
6422
6423 if test "$enableval" = yes; then
6424 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
6425 else
6426 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
6427 fi
6428
6429 else
6430
6431 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6432 if test "x$LINE" != x ; then
6433 eval "DEFAULT_$LINE"
6434 else
6435 no_cache=1
6436 fi
6437
6438 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6439
6440 fi
6441
6442
6443 eval "$ac_cv_use_filedlg"
6444 if test "$no_cache" != 1; then
6445 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6446 fi
6447
6448 if test "$wxUSE_FILEDLG" = yes; then
6449 echo "$ac_t""yes" 1>&6
6450 else
6451 echo "$ac_t""no" 1>&6
6452 fi
6453
6454
6455 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6456 echo "configure:6457: checking for --enable-fontdlg" >&5
6457 no_cache=0
6458 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6459 if test "${enable_fontdlg+set}" = set; then
6460 enableval="$enable_fontdlg"
6461
6462 if test "$enableval" = yes; then
6463 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
6464 else
6465 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
6466 fi
6467
6468 else
6469
6470 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6471 if test "x$LINE" != x ; then
6472 eval "DEFAULT_$LINE"
6473 else
6474 no_cache=1
6475 fi
6476
6477 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6478
6479 fi
6480
6481
6482 eval "$ac_cv_use_fontdlg"
6483 if test "$no_cache" != 1; then
6484 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6485 fi
6486
6487 if test "$wxUSE_FONTDLG" = yes; then
6488 echo "$ac_t""yes" 1>&6
6489 else
6490 echo "$ac_t""no" 1>&6
6491 fi
6492
6493
6494 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6495 echo "configure:6496: checking for --enable-dirdlg" >&5
6496 no_cache=0
6497 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6498 if test "${enable_dirdlg+set}" = set; then
6499 enableval="$enable_dirdlg"
6500
6501 if test "$enableval" = yes; then
6502 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
6503 else
6504 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
6505 fi
6506
6507 else
6508
6509 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6510 if test "x$LINE" != x ; then
6511 eval "DEFAULT_$LINE"
6512 else
6513 no_cache=1
6514 fi
6515
6516 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6517
6518 fi
6519
6520
6521 eval "$ac_cv_use_dirdlg"
6522 if test "$no_cache" != 1; then
6523 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6524 fi
6525
6526 if test "$wxUSE_DIRDLG" = yes; then
6527 echo "$ac_t""yes" 1>&6
6528 else
6529 echo "$ac_t""no" 1>&6
6530 fi
6531
6532
6533 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6534 echo "configure:6535: checking for --enable-msgdlg" >&5
6535 no_cache=0
6536 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6537 if test "${enable_msgdlg+set}" = set; then
6538 enableval="$enable_msgdlg"
6539
6540 if test "$enableval" = yes; then
6541 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
6542 else
6543 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
6544 fi
6545
6546 else
6547
6548 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6549 if test "x$LINE" != x ; then
6550 eval "DEFAULT_$LINE"
6551 else
6552 no_cache=1
6553 fi
6554
6555 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6556
6557 fi
6558
6559
6560 eval "$ac_cv_use_msgdlg"
6561 if test "$no_cache" != 1; then
6562 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6563 fi
6564
6565 if test "$wxUSE_MSGDLG" = yes; then
6566 echo "$ac_t""yes" 1>&6
6567 else
6568 echo "$ac_t""no" 1>&6
6569 fi
6570
6571
6572 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6573 echo "configure:6574: checking for --enable-numberdlg" >&5
6574 no_cache=0
6575 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6576 if test "${enable_numberdlg+set}" = set; then
6577 enableval="$enable_numberdlg"
6578
6579 if test "$enableval" = yes; then
6580 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
6581 else
6582 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
6583 fi
6584
6585 else
6586
6587 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6588 if test "x$LINE" != x ; then
6589 eval "DEFAULT_$LINE"
6590 else
6591 no_cache=1
6592 fi
6593
6594 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6595
6596 fi
6597
6598
6599 eval "$ac_cv_use_numberdlg"
6600 if test "$no_cache" != 1; then
6601 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6602 fi
6603
6604 if test "$wxUSE_NUMBERDLG" = yes; then
6605 echo "$ac_t""yes" 1>&6
6606 else
6607 echo "$ac_t""no" 1>&6
6608 fi
6609
6610
6611 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
6612 echo "configure:6613: checking for --enable-textdlg" >&5
6613 no_cache=0
6614 # Check whether --enable-textdlg or --disable-textdlg was given.
6615 if test "${enable_textdlg+set}" = set; then
6616 enableval="$enable_textdlg"
6617
6618 if test "$enableval" = yes; then
6619 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
6620 else
6621 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
6622 fi
6623
6624 else
6625
6626 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
6627 if test "x$LINE" != x ; then
6628 eval "DEFAULT_$LINE"
6629 else
6630 no_cache=1
6631 fi
6632
6633 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
6634
6635 fi
6636
6637
6638 eval "$ac_cv_use_textdlg"
6639 if test "$no_cache" != 1; then
6640 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
6641 fi
6642
6643 if test "$wxUSE_TEXTDLG" = yes; then
6644 echo "$ac_t""yes" 1>&6
6645 else
6646 echo "$ac_t""no" 1>&6
6647 fi
6648
6649
6650 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
6651 echo "configure:6652: checking for --enable-tipdlg" >&5
6652 no_cache=0
6653 # Check whether --enable-tipdlg or --disable-tipdlg was given.
6654 if test "${enable_tipdlg+set}" = set; then
6655 enableval="$enable_tipdlg"
6656
6657 if test "$enableval" = yes; then
6658 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
6659 else
6660 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
6661 fi
6662
6663 else
6664
6665 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
6666 if test "x$LINE" != x ; then
6667 eval "DEFAULT_$LINE"
6668 else
6669 no_cache=1
6670 fi
6671
6672 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
6673
6674 fi
6675
6676
6677 eval "$ac_cv_use_tipdlg"
6678 if test "$no_cache" != 1; then
6679 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
6680 fi
6681
6682 if test "$wxUSE_STARTUP_TIPS" = yes; then
6683 echo "$ac_t""yes" 1>&6
6684 else
6685 echo "$ac_t""no" 1>&6
6686 fi
6687
6688
6689 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
6690 echo "configure:6691: checking for --enable-progressdlg" >&5
6691 no_cache=0
6692 # Check whether --enable-progressdlg or --disable-progressdlg was given.
6693 if test "${enable_progressdlg+set}" = set; then
6694 enableval="$enable_progressdlg"
6695
6696 if test "$enableval" = yes; then
6697 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
6698 else
6699 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
6700 fi
6701
6702 else
6703
6704 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
6705 if test "x$LINE" != x ; then
6706 eval "DEFAULT_$LINE"
6707 else
6708 no_cache=1
6709 fi
6710
6711 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
6712
6713 fi
6714
6715
6716 eval "$ac_cv_use_progressdlg"
6717 if test "$no_cache" != 1; then
6718 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
6719 fi
6720
6721 if test "$wxUSE_PROGRESSDLG" = yes; then
6722 echo "$ac_t""yes" 1>&6
6723 else
6724 echo "$ac_t""no" 1>&6
6725 fi
6726
6727
6728 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
6729 echo "configure:6730: checking for --enable-menus" >&5
6730 no_cache=0
6731 # Check whether --enable-menus or --disable-menus was given.
6732 if test "${enable_menus+set}" = set; then
6733 enableval="$enable_menus"
6734
6735 if test "$enableval" = yes; then
6736 ac_cv_use_menus='wxUSE_MENUS=yes'
6737 else
6738 ac_cv_use_menus='wxUSE_MENUS=no'
6739 fi
6740
6741 else
6742
6743 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
6744 if test "x$LINE" != x ; then
6745 eval "DEFAULT_$LINE"
6746 else
6747 no_cache=1
6748 fi
6749
6750 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
6751
6752 fi
6753
6754
6755 eval "$ac_cv_use_menus"
6756 if test "$no_cache" != 1; then
6757 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
6758 fi
6759
6760 if test "$wxUSE_MENUS" = yes; then
6761 echo "$ac_t""yes" 1>&6
6762 else
6763 echo "$ac_t""no" 1>&6
6764 fi
6765
6766
6767 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
6768 echo "configure:6769: checking for --enable-miniframe" >&5
6769 no_cache=0
6770 # Check whether --enable-miniframe or --disable-miniframe was given.
6771 if test "${enable_miniframe+set}" = set; then
6772 enableval="$enable_miniframe"
6773
6774 if test "$enableval" = yes; then
6775 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
6776 else
6777 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
6778 fi
6779
6780 else
6781
6782 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
6783 if test "x$LINE" != x ; then
6784 eval "DEFAULT_$LINE"
6785 else
6786 no_cache=1
6787 fi
6788
6789 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
6790
6791 fi
6792
6793
6794 eval "$ac_cv_use_miniframe"
6795 if test "$no_cache" != 1; then
6796 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
6797 fi
6798
6799 if test "$wxUSE_MINIFRAME" = yes; then
6800 echo "$ac_t""yes" 1>&6
6801 else
6802 echo "$ac_t""no" 1>&6
6803 fi
6804
6805
6806 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
6807 echo "configure:6808: checking for --enable-html" >&5
6808 no_cache=0
6809 # Check whether --enable-html or --disable-html was given.
6810 if test "${enable_html+set}" = set; then
6811 enableval="$enable_html"
6812
6813 if test "$enableval" = yes; then
6814 ac_cv_use_html='wxUSE_HTML=yes'
6815 else
6816 ac_cv_use_html='wxUSE_HTML=no'
6817 fi
6818
6819 else
6820
6821 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6822 if test "x$LINE" != x ; then
6823 eval "DEFAULT_$LINE"
6824 else
6825 no_cache=1
6826 fi
6827
6828 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6829
6830 fi
6831
6832
6833 eval "$ac_cv_use_html"
6834 if test "$no_cache" != 1; then
6835 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6836 fi
6837
6838 if test "$wxUSE_HTML" = yes; then
6839 echo "$ac_t""yes" 1>&6
6840 else
6841 echo "$ac_t""no" 1>&6
6842 fi
6843
6844
6845 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
6846 echo "configure:6847: checking for --enable-tooltips" >&5
6847 no_cache=0
6848 # Check whether --enable-tooltips or --disable-tooltips was given.
6849 if test "${enable_tooltips+set}" = set; then
6850 enableval="$enable_tooltips"
6851
6852 if test "$enableval" = yes; then
6853 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
6854 else
6855 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
6856 fi
6857
6858 else
6859
6860 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
6861 if test "x$LINE" != x ; then
6862 eval "DEFAULT_$LINE"
6863 else
6864 no_cache=1
6865 fi
6866
6867 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
6868
6869 fi
6870
6871
6872 eval "$ac_cv_use_tooltips"
6873 if test "$no_cache" != 1; then
6874 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
6875 fi
6876
6877 if test "$wxUSE_TOOLTIPS" = yes; then
6878 echo "$ac_t""yes" 1>&6
6879 else
6880 echo "$ac_t""no" 1>&6
6881 fi
6882
6883
6884 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
6885 echo "configure:6886: checking for --enable-splines" >&5
6886 no_cache=0
6887 # Check whether --enable-splines or --disable-splines was given.
6888 if test "${enable_splines+set}" = set; then
6889 enableval="$enable_splines"
6890
6891 if test "$enableval" = yes; then
6892 ac_cv_use_splines='wxUSE_SPLINES=yes'
6893 else
6894 ac_cv_use_splines='wxUSE_SPLINES=no'
6895 fi
6896
6897 else
6898
6899 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
6900 if test "x$LINE" != x ; then
6901 eval "DEFAULT_$LINE"
6902 else
6903 no_cache=1
6904 fi
6905
6906 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
6907
6908 fi
6909
6910
6911 eval "$ac_cv_use_splines"
6912 if test "$no_cache" != 1; then
6913 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
6914 fi
6915
6916 if test "$wxUSE_SPLINES" = yes; then
6917 echo "$ac_t""yes" 1>&6
6918 else
6919 echo "$ac_t""no" 1>&6
6920 fi
6921
6922
6923 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
6924 echo "configure:6925: checking for --enable-validators" >&5
6925 no_cache=0
6926 # Check whether --enable-validators or --disable-validators was given.
6927 if test "${enable_validators+set}" = set; then
6928 enableval="$enable_validators"
6929
6930 if test "$enableval" = yes; then
6931 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
6932 else
6933 ac_cv_use_validators='wxUSE_VALIDATORS=no'
6934 fi
6935
6936 else
6937
6938 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
6939 if test "x$LINE" != x ; then
6940 eval "DEFAULT_$LINE"
6941 else
6942 no_cache=1
6943 fi
6944
6945 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
6946
6947 fi
6948
6949
6950 eval "$ac_cv_use_validators"
6951 if test "$no_cache" != 1; then
6952 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
6953 fi
6954
6955 if test "$wxUSE_VALIDATORS" = yes; then
6956 echo "$ac_t""yes" 1>&6
6957 else
6958 echo "$ac_t""no" 1>&6
6959 fi
6960
6961
6962 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
6963 echo "configure:6964: checking for --enable-busyinfo" >&5
6964 no_cache=0
6965 # Check whether --enable-busyinfo or --disable-busyinfo was given.
6966 if test "${enable_busyinfo+set}" = set; then
6967 enableval="$enable_busyinfo"
6968
6969 if test "$enableval" = yes; then
6970 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
6971 else
6972 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
6973 fi
6974
6975 else
6976
6977 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
6978 if test "x$LINE" != x ; then
6979 eval "DEFAULT_$LINE"
6980 else
6981 no_cache=1
6982 fi
6983
6984 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
6985
6986 fi
6987
6988
6989 eval "$ac_cv_use_busyinfo"
6990 if test "$no_cache" != 1; then
6991 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
6992 fi
6993
6994 if test "$wxUSE_BUSYINFO" = yes; then
6995 echo "$ac_t""yes" 1>&6
6996 else
6997 echo "$ac_t""no" 1>&6
6998 fi
6999
7000
7001 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7002 echo "configure:7003: checking for --enable-joystick" >&5
7003 no_cache=0
7004 # Check whether --enable-joystick or --disable-joystick was given.
7005 if test "${enable_joystick+set}" = set; then
7006 enableval="$enable_joystick"
7007
7008 if test "$enableval" = yes; then
7009 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
7010 else
7011 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
7012 fi
7013
7014 else
7015
7016 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7017 if test "x$LINE" != x ; then
7018 eval "DEFAULT_$LINE"
7019 else
7020 no_cache=1
7021 fi
7022
7023 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7024
7025 fi
7026
7027
7028 eval "$ac_cv_use_joystick"
7029 if test "$no_cache" != 1; then
7030 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7031 fi
7032
7033 if test "$wxUSE_JOYSTICK" = yes; then
7034 echo "$ac_t""yes" 1>&6
7035 else
7036 echo "$ac_t""no" 1>&6
7037 fi
7038
7039
7040 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7041 echo "configure:7042: checking for --enable-metafile" >&5
7042 no_cache=0
7043 # Check whether --enable-metafile or --disable-metafile was given.
7044 if test "${enable_metafile+set}" = set; then
7045 enableval="$enable_metafile"
7046
7047 if test "$enableval" = yes; then
7048 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7049 else
7050 ac_cv_use_metafile='wxUSE_METAFILE=no'
7051 fi
7052
7053 else
7054
7055 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7056 if test "x$LINE" != x ; then
7057 eval "DEFAULT_$LINE"
7058 else
7059 no_cache=1
7060 fi
7061
7062 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7063
7064 fi
7065
7066
7067 eval "$ac_cv_use_metafile"
7068 if test "$no_cache" != 1; then
7069 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7070 fi
7071
7072 if test "$wxUSE_METAFILE" = yes; then
7073 echo "$ac_t""yes" 1>&6
7074 else
7075 echo "$ac_t""no" 1>&6
7076 fi
7077
7078
7079 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7080 echo "configure:7081: checking for --enable-dragimage" >&5
7081 no_cache=0
7082 # Check whether --enable-dragimage or --disable-dragimage was given.
7083 if test "${enable_dragimage+set}" = set; then
7084 enableval="$enable_dragimage"
7085
7086 if test "$enableval" = yes; then
7087 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
7088 else
7089 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
7090 fi
7091
7092 else
7093
7094 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7095 if test "x$LINE" != x ; then
7096 eval "DEFAULT_$LINE"
7097 else
7098 no_cache=1
7099 fi
7100
7101 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7102
7103 fi
7104
7105
7106 eval "$ac_cv_use_dragimage"
7107 if test "$no_cache" != 1; then
7108 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7109 fi
7110
7111 if test "$wxUSE_DRAGIMAGE" = yes; then
7112 echo "$ac_t""yes" 1>&6
7113 else
7114 echo "$ac_t""no" 1>&6
7115 fi
7116
7117
7118
7119
7120 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7121 echo "configure:7122: checking for --enable-image" >&5
7122 no_cache=0
7123 # Check whether --enable-image or --disable-image was given.
7124 if test "${enable_image+set}" = set; then
7125 enableval="$enable_image"
7126
7127 if test "$enableval" = yes; then
7128 ac_cv_use_image='wxUSE_IMAGE=yes'
7129 else
7130 ac_cv_use_image='wxUSE_IMAGE=no'
7131 fi
7132
7133 else
7134
7135 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7136 if test "x$LINE" != x ; then
7137 eval "DEFAULT_$LINE"
7138 else
7139 no_cache=1
7140 fi
7141
7142 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7143
7144 fi
7145
7146
7147 eval "$ac_cv_use_image"
7148 if test "$no_cache" != 1; then
7149 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7150 fi
7151
7152 if test "$wxUSE_IMAGE" = yes; then
7153 echo "$ac_t""yes" 1>&6
7154 else
7155 echo "$ac_t""no" 1>&6
7156 fi
7157
7158
7159 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7160 echo "configure:7161: checking for --enable-gif" >&5
7161 no_cache=0
7162 # Check whether --enable-gif or --disable-gif was given.
7163 if test "${enable_gif+set}" = set; then
7164 enableval="$enable_gif"
7165
7166 if test "$enableval" = yes; then
7167 ac_cv_use_gif='wxUSE_GIF=yes'
7168 else
7169 ac_cv_use_gif='wxUSE_GIF=no'
7170 fi
7171
7172 else
7173
7174 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7175 if test "x$LINE" != x ; then
7176 eval "DEFAULT_$LINE"
7177 else
7178 no_cache=1
7179 fi
7180
7181 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7182
7183 fi
7184
7185
7186 eval "$ac_cv_use_gif"
7187 if test "$no_cache" != 1; then
7188 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7189 fi
7190
7191 if test "$wxUSE_GIF" = yes; then
7192 echo "$ac_t""yes" 1>&6
7193 else
7194 echo "$ac_t""no" 1>&6
7195 fi
7196
7197
7198 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7199 echo "configure:7200: checking for --enable-pcx" >&5
7200 no_cache=0
7201 # Check whether --enable-pcx or --disable-pcx was given.
7202 if test "${enable_pcx+set}" = set; then
7203 enableval="$enable_pcx"
7204
7205 if test "$enableval" = yes; then
7206 ac_cv_use_pcx='wxUSE_PCX=yes'
7207 else
7208 ac_cv_use_pcx='wxUSE_PCX=no'
7209 fi
7210
7211 else
7212
7213 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7214 if test "x$LINE" != x ; then
7215 eval "DEFAULT_$LINE"
7216 else
7217 no_cache=1
7218 fi
7219
7220 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7221
7222 fi
7223
7224
7225 eval "$ac_cv_use_pcx"
7226 if test "$no_cache" != 1; then
7227 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7228 fi
7229
7230 if test "$wxUSE_PCX" = yes; then
7231 echo "$ac_t""yes" 1>&6
7232 else
7233 echo "$ac_t""no" 1>&6
7234 fi
7235
7236
7237 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7238 echo "configure:7239: checking for --enable-pnm" >&5
7239 no_cache=0
7240 # Check whether --enable-pnm or --disable-pnm was given.
7241 if test "${enable_pnm+set}" = set; then
7242 enableval="$enable_pnm"
7243
7244 if test "$enableval" = yes; then
7245 ac_cv_use_pnm='wxUSE_PNM=yes'
7246 else
7247 ac_cv_use_pnm='wxUSE_PNM=no'
7248 fi
7249
7250 else
7251
7252 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7253 if test "x$LINE" != x ; then
7254 eval "DEFAULT_$LINE"
7255 else
7256 no_cache=1
7257 fi
7258
7259 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7260
7261 fi
7262
7263
7264 eval "$ac_cv_use_pnm"
7265 if test "$no_cache" != 1; then
7266 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7267 fi
7268
7269 if test "$wxUSE_PNM" = yes; then
7270 echo "$ac_t""yes" 1>&6
7271 else
7272 echo "$ac_t""no" 1>&6
7273 fi
7274
7275
7276 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7277 echo "configure:7278: checking for --enable-pnm" >&5
7278 no_cache=0
7279 # Check whether --enable-pnm or --disable-pnm was given.
7280 if test "${enable_pnm+set}" = set; then
7281 enableval="$enable_pnm"
7282
7283 if test "$enableval" = yes; then
7284 ac_cv_use_pnm='wxUSE_XPM=yes'
7285 else
7286 ac_cv_use_pnm='wxUSE_XPM=no'
7287 fi
7288
7289 else
7290
7291 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7292 if test "x$LINE" != x ; then
7293 eval "DEFAULT_$LINE"
7294 else
7295 no_cache=1
7296 fi
7297
7298 ac_cv_use_pnm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7299
7300 fi
7301
7302
7303 eval "$ac_cv_use_pnm"
7304 if test "$no_cache" != 1; then
7305 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7306 fi
7307
7308 if test "$wxUSE_XPM" = yes; then
7309 echo "$ac_t""yes" 1>&6
7310 else
7311 echo "$ac_t""no" 1>&6
7312 fi
7313
7314
7315 fi
7316
7317
7318 echo "saving argument cache $wx_arg_cache_file"
7319 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
7320
7321
7322
7323 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7324 echo "configure:7325: checking for toolkit" >&5
7325
7326 if test "$wxUSE_GUI" = "yes"; then
7327
7328 if test "$USE_BEOS" = 1; then
7329 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7330 fi
7331
7332 if test "$TOOLKIT_GIVEN" = 1; then
7333 for toolkit in `echo $ALL_TOOLKITS`; do
7334 var=wxUSE_$toolkit
7335 eval "value=\$${var}"
7336 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
7337 done
7338 else
7339 for toolkit in `echo $ALL_TOOLKITS`; do
7340 if test "$has_toolkit_in_cache" != 1; then
7341 var=DEFAULT_DEFAULT_wxUSE_$toolkit
7342 else
7343 var=DEFAULT_wxUSE_$toolkit
7344 fi
7345 eval "wxUSE_$toolkit=\$${var}"
7346 done
7347 fi
7348
7349 NUM_TOOLKITS=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} + ${wxUSE_MGL:-0}`
7350
7351 case "${host}" in
7352 *-pc-os2_emx )
7353 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7354 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7355 LEX_STEM="lexyy"
7356 ;;
7357 *)
7358 PATH_IFS=':'
7359 LEX_STEM="lex.yy"
7360 ;;
7361 esac
7362
7363 case "$NUM_TOOLKITS" in
7364 1)
7365 ;;
7366 0)
7367 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7368 ;;
7369 *)
7370 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7371 esac
7372
7373 for toolkit in `echo $ALL_TOOLKITS`; do
7374 var=wxUSE_$toolkit
7375 eval "value=\$${var}"
7376 if test "x$value" != x; then
7377 cache_var=CACHE_$toolkit
7378 eval "cache=\$${cache_var}"
7379 if test "$cache" = 1; then
7380 echo "$var=$value" >> ${wx_arg_cache_file}
7381 fi
7382 if test "$value" = 1; then
7383 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
7384 echo "$ac_t""$toolkit_echo" 1>&6
7385 fi
7386 fi
7387 done
7388
7389 else
7390 PATH_IFS=':'
7391 echo "$ac_t""base only" 1>&6
7392 fi
7393
7394
7395 cat > confcache <<\EOF
7396 # This file is a shell script that caches the results of configure
7397 # tests run on this system so they can be shared between configure
7398 # scripts and configure runs. It is not useful on other systems.
7399 # If it contains results you don't want to keep, you may remove or edit it.
7400 #
7401 # By default, configure uses ./config.cache as the cache file,
7402 # creating it if it does not exist already. You can give configure
7403 # the --cache-file=FILE option to use a different cache file; that is
7404 # what configure does when it calls configure scripts in
7405 # subdirectories, so they share the cache.
7406 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7407 # config.status only pays attention to the cache file if you give it the
7408 # --recheck option to rerun configure.
7409 #
7410 EOF
7411 # The following way of writing the cache mishandles newlines in values,
7412 # but we know of no workaround that is simple, portable, and efficient.
7413 # So, don't put newlines in cache variables' values.
7414 # Ultrix sh set writes to stderr and can't be redirected directly,
7415 # and sets the high bit in the cache file unless we assign to the vars.
7416 (set) 2>&1 |
7417 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7418 *ac_space=\ *)
7419 # `set' does not quote correctly, so add quotes (double-quote substitution
7420 # turns \\\\ into \\, and sed turns \\ into \).
7421 sed -n \
7422 -e "s/'/'\\\\''/g" \
7423 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7424 ;;
7425 *)
7426 # `set' quotes correctly as required by POSIX, so do not add quotes.
7427 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7428 ;;
7429 esac >> confcache
7430 if cmp -s $cache_file confcache; then
7431 :
7432 else
7433 if test -w $cache_file; then
7434 echo "updating cache $cache_file"
7435 cat confcache > $cache_file
7436 else
7437 echo "not updating unwritable cache $cache_file"
7438 fi
7439 fi
7440 rm -f confcache
7441
7442
7443 if test "$build" != "$host" ; then
7444 CC=$host_alias-gcc
7445 CXX=$host_alias-c++
7446 AR=$host_alias-ar
7447 RANLIB=$host_alias-ranlib
7448 DLLTOOL=$host_alias-dlltool
7449 RESCOMP=$host_alias-windres
7450 LD=$host_alias-ld
7451 NM=$host_alias-nm
7452 STRIP=$host_alias-strip
7453 fi
7454
7455 # Extract the first word of "gcc", so it can be a program name with args.
7456 set dummy gcc; ac_word=$2
7457 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7458 echo "configure:7459: checking for $ac_word" >&5
7459 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7460 echo $ac_n "(cached) $ac_c" 1>&6
7461 else
7462 if test -n "$CC"; then
7463 ac_cv_prog_CC="$CC" # Let the user override the test.
7464 else
7465 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
7466 ac_dummy="$PATH"
7467 for ac_dir in $ac_dummy; do
7468 test -z "$ac_dir" && ac_dir=.
7469 if test -f $ac_dir/$ac_word; then
7470 ac_cv_prog_CC="gcc"
7471 break
7472 fi
7473 done
7474 IFS="$ac_save_ifs"
7475 fi
7476 fi
7477 CC="$ac_cv_prog_CC"
7478 if test -n "$CC"; then
7479 echo "$ac_t""$CC" 1>&6
7480 else
7481 echo "$ac_t""no" 1>&6
7482 fi
7483
7484 if test -z "$CC"; then
7485 # Extract the first word of "cc", so it can be a program name with args.
7486 set dummy cc; ac_word=$2
7487 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7488 echo "configure:7489: checking for $ac_word" >&5
7489 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7490 echo $ac_n "(cached) $ac_c" 1>&6
7491 else
7492 if test -n "$CC"; then
7493 ac_cv_prog_CC="$CC" # Let the user override the test.
7494 else
7495 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
7496 ac_prog_rejected=no
7497 ac_dummy="$PATH"
7498 for ac_dir in $ac_dummy; do
7499 test -z "$ac_dir" && ac_dir=.
7500 if test -f $ac_dir/$ac_word; then
7501 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7502 ac_prog_rejected=yes
7503 continue
7504 fi
7505 ac_cv_prog_CC="cc"
7506 break
7507 fi
7508 done
7509 IFS="$ac_save_ifs"
7510 if test $ac_prog_rejected = yes; then
7511 # We found a bogon in the path, so make sure we never use it.
7512 set dummy $ac_cv_prog_CC
7513 shift
7514 if test $# -gt 0; then
7515 # We chose a different compiler from the bogus one.
7516 # However, it has the same basename, so the bogon will be chosen
7517 # first if we set CC to just the basename; use the full file name.
7518 shift
7519 set dummy "$ac_dir/$ac_word" "$@"
7520 shift
7521 ac_cv_prog_CC="$@"
7522 fi
7523 fi
7524 fi
7525 fi
7526 CC="$ac_cv_prog_CC"
7527 if test -n "$CC"; then
7528 echo "$ac_t""$CC" 1>&6
7529 else
7530 echo "$ac_t""no" 1>&6
7531 fi
7532
7533 if test -z "$CC"; then
7534 case "`uname -s`" in
7535 *win32* | *WIN32*)
7536 # Extract the first word of "cl", so it can be a program name with args.
7537 set dummy cl; ac_word=$2
7538 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7539 echo "configure:7540: checking for $ac_word" >&5
7540 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7541 echo $ac_n "(cached) $ac_c" 1>&6
7542 else
7543 if test -n "$CC"; then
7544 ac_cv_prog_CC="$CC" # Let the user override the test.
7545 else
7546 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
7547 ac_dummy="$PATH"
7548 for ac_dir in $ac_dummy; do
7549 test -z "$ac_dir" && ac_dir=.
7550 if test -f $ac_dir/$ac_word; then
7551 ac_cv_prog_CC="cl"
7552 break
7553 fi
7554 done
7555 IFS="$ac_save_ifs"
7556 fi
7557 fi
7558 CC="$ac_cv_prog_CC"
7559 if test -n "$CC"; then
7560 echo "$ac_t""$CC" 1>&6
7561 else
7562 echo "$ac_t""no" 1>&6
7563 fi
7564 ;;
7565 esac
7566 fi
7567 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7568 fi
7569
7570 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7571 echo "configure:7572: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
7572
7573 ac_ext=c
7574 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7575 ac_cpp='$CPP $CPPFLAGS'
7576 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7577 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7578 cross_compiling=$ac_cv_prog_cc_cross
7579
7580 cat > conftest.$ac_ext << EOF
7581
7582 #line 7583 "configure"
7583 #include "confdefs.h"
7584
7585 main(){return(0);}
7586 EOF
7587 if { (eval echo configure:7588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7588 ac_cv_prog_cc_works=yes
7589 # If we can't run a trivial program, we are probably using a cross compiler.
7590 if (./conftest; exit) 2>/dev/null; then
7591 ac_cv_prog_cc_cross=no
7592 else
7593 ac_cv_prog_cc_cross=yes
7594 fi
7595 else
7596 echo "configure: failed program was:" >&5
7597 cat conftest.$ac_ext >&5
7598 ac_cv_prog_cc_works=no
7599 fi
7600 rm -fr conftest*
7601 ac_ext=c
7602 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7603 ac_cpp='$CPP $CPPFLAGS'
7604 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7605 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7606 cross_compiling=$ac_cv_prog_cc_cross
7607
7608 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
7609 if test $ac_cv_prog_cc_works = no; then
7610 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
7611 fi
7612 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7613 echo "configure:7614: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
7614 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
7615 cross_compiling=$ac_cv_prog_cc_cross
7616
7617 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
7618 echo "configure:7619: checking whether we are using GNU C" >&5
7619 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
7620 echo $ac_n "(cached) $ac_c" 1>&6
7621 else
7622 cat > conftest.c <<EOF
7623 #ifdef __GNUC__
7624 yes;
7625 #endif
7626 EOF
7627 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:7628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
7628 ac_cv_prog_gcc=yes
7629 else
7630 ac_cv_prog_gcc=no
7631 fi
7632 fi
7633
7634 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
7635
7636 if test $ac_cv_prog_gcc = yes; then
7637 GCC=yes
7638 else
7639 GCC=
7640 fi
7641
7642 ac_test_CFLAGS="${CFLAGS+set}"
7643 ac_save_CFLAGS="$CFLAGS"
7644 CFLAGS=
7645 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
7646 echo "configure:7647: checking whether ${CC-cc} accepts -g" >&5
7647 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
7648 echo $ac_n "(cached) $ac_c" 1>&6
7649 else
7650 echo 'void f(){}' > conftest.c
7651 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
7652 ac_cv_prog_cc_g=yes
7653 else
7654 ac_cv_prog_cc_g=no
7655 fi
7656 rm -f conftest*
7657
7658 fi
7659
7660 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
7661 if test "$ac_test_CFLAGS" = set; then
7662 CFLAGS="$ac_save_CFLAGS"
7663 elif test $ac_cv_prog_cc_g = yes; then
7664 if test "$GCC" = yes; then
7665 CFLAGS="-g -O2"
7666 else
7667 CFLAGS="-g"
7668 fi
7669 else
7670 if test "$GCC" = yes; then
7671 CFLAGS="-O2"
7672 else
7673 CFLAGS=
7674 fi
7675 fi
7676
7677
7678 CFLAGS=`echo "$CFLAGS" | sed 's/-g//g'`
7679
7680 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
7681 echo "configure:7682: checking how to run the C preprocessor" >&5
7682 # On Suns, sometimes $CPP names a directory.
7683 if test -n "$CPP" && test -d "$CPP"; then
7684 CPP=
7685 fi
7686 if test -z "$CPP"; then
7687 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
7688 echo $ac_n "(cached) $ac_c" 1>&6
7689 else
7690 # This must be in double quotes, not single quotes, because CPP may get
7691 # substituted into the Makefile and "${CC-cc}" will confuse make.
7692 CPP="${CC-cc} -E"
7693 # On the NeXT, cc -E runs the code through the compiler's parser,
7694 # not just through cpp.
7695 cat > conftest.$ac_ext <<EOF
7696 #line 7697 "configure"
7697 #include "confdefs.h"
7698 #include <assert.h>
7699 Syntax Error
7700 EOF
7701 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7702 { (eval echo configure:7703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7703 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7704 if test -z "$ac_err"; then
7705 :
7706 else
7707 echo "$ac_err" >&5
7708 echo "configure: failed program was:" >&5
7709 cat conftest.$ac_ext >&5
7710 rm -rf conftest*
7711 CPP="${CC-cc} -E -traditional-cpp"
7712 cat > conftest.$ac_ext <<EOF
7713 #line 7714 "configure"
7714 #include "confdefs.h"
7715 #include <assert.h>
7716 Syntax Error
7717 EOF
7718 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7719 { (eval echo configure:7720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7720 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7721 if test -z "$ac_err"; then
7722 :
7723 else
7724 echo "$ac_err" >&5
7725 echo "configure: failed program was:" >&5
7726 cat conftest.$ac_ext >&5
7727 rm -rf conftest*
7728 CPP="${CC-cc} -nologo -E"
7729 cat > conftest.$ac_ext <<EOF
7730 #line 7731 "configure"
7731 #include "confdefs.h"
7732 #include <assert.h>
7733 Syntax Error
7734 EOF
7735 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7736 { (eval echo configure:7737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7737 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7738 if test -z "$ac_err"; then
7739 :
7740 else
7741 echo "$ac_err" >&5
7742 echo "configure: failed program was:" >&5
7743 cat conftest.$ac_ext >&5
7744 rm -rf conftest*
7745 CPP=/lib/cpp
7746 fi
7747 rm -f conftest*
7748 fi
7749 rm -f conftest*
7750 fi
7751 rm -f conftest*
7752 ac_cv_prog_CPP="$CPP"
7753 fi
7754 CPP="$ac_cv_prog_CPP"
7755 else
7756 ac_cv_prog_CPP="$CPP"
7757 fi
7758 echo "$ac_t""$CPP" 1>&6
7759
7760
7761 if test $ac_cv_prog_gcc = yes; then
7762 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
7763 echo "configure:7764: checking whether ${CC-cc} needs -traditional" >&5
7764 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
7765 echo $ac_n "(cached) $ac_c" 1>&6
7766 else
7767 ac_pattern="Autoconf.*'x'"
7768 cat > conftest.$ac_ext <<EOF
7769 #line 7770 "configure"
7770 #include "confdefs.h"
7771 #include <sgtty.h>
7772 Autoconf TIOCGETP
7773 EOF
7774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7775 egrep "$ac_pattern" >/dev/null 2>&1; then
7776 rm -rf conftest*
7777 ac_cv_prog_gcc_traditional=yes
7778 else
7779 rm -rf conftest*
7780 ac_cv_prog_gcc_traditional=no
7781 fi
7782 rm -f conftest*
7783
7784
7785 if test $ac_cv_prog_gcc_traditional = no; then
7786 cat > conftest.$ac_ext <<EOF
7787 #line 7788 "configure"
7788 #include "confdefs.h"
7789 #include <termio.h>
7790 Autoconf TCGETA
7791 EOF
7792 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7793 egrep "$ac_pattern" >/dev/null 2>&1; then
7794 rm -rf conftest*
7795 ac_cv_prog_gcc_traditional=yes
7796 fi
7797 rm -f conftest*
7798
7799 fi
7800 fi
7801
7802 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
7803 if test $ac_cv_prog_gcc_traditional = yes; then
7804 CC="$CC -traditional"
7805 fi
7806 fi
7807
7808
7809
7810 ac_ext=C
7811 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7812 ac_cpp='$CXXCPP $CPPFLAGS'
7813 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7814 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7815 cross_compiling=$ac_cv_prog_cxx_cross
7816
7817
7818 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
7819 do
7820 # Extract the first word of "$ac_prog", so it can be a program name with args.
7821 set dummy $ac_prog; ac_word=$2
7822 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7823 echo "configure:7824: checking for $ac_word" >&5
7824 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
7825 echo $ac_n "(cached) $ac_c" 1>&6
7826 else
7827 if test -n "$CXX"; then
7828 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7829 else
7830 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
7831 ac_dummy="$PATH"
7832 for ac_dir in $ac_dummy; do
7833 test -z "$ac_dir" && ac_dir=.
7834 if test -f $ac_dir/$ac_word; then
7835 ac_cv_prog_CXX="$ac_prog"
7836 break
7837 fi
7838 done
7839 IFS="$ac_save_ifs"
7840 fi
7841 fi
7842 CXX="$ac_cv_prog_CXX"
7843 if test -n "$CXX"; then
7844 echo "$ac_t""$CXX" 1>&6
7845 else
7846 echo "$ac_t""no" 1>&6
7847 fi
7848
7849 test -n "$CXX" && break
7850 done
7851 test -n "$CXX" || CXX="gcc"
7852
7853
7854 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7855 echo "configure:7856: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
7856
7857 ac_ext=C
7858 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7859 ac_cpp='$CXXCPP $CPPFLAGS'
7860 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7861 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7862 cross_compiling=$ac_cv_prog_cxx_cross
7863
7864 cat > conftest.$ac_ext << EOF
7865
7866 #line 7867 "configure"
7867 #include "confdefs.h"
7868
7869 int main(){return(0);}
7870 EOF
7871 if { (eval echo configure:7872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7872 ac_cv_prog_cxx_works=yes
7873 # If we can't run a trivial program, we are probably using a cross compiler.
7874 if (./conftest; exit) 2>/dev/null; then
7875 ac_cv_prog_cxx_cross=no
7876 else
7877 ac_cv_prog_cxx_cross=yes
7878 fi
7879 else
7880 echo "configure: failed program was:" >&5
7881 cat conftest.$ac_ext >&5
7882 ac_cv_prog_cxx_works=no
7883 fi
7884 rm -fr conftest*
7885 ac_ext=C
7886 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7887 ac_cpp='$CXXCPP $CPPFLAGS'
7888 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7889 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7890 cross_compiling=$ac_cv_prog_cxx_cross
7891
7892 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
7893 if test $ac_cv_prog_cxx_works = no; then
7894 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
7895 fi
7896 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7897 echo "configure:7898: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
7898 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
7899 cross_compiling=$ac_cv_prog_cxx_cross
7900
7901 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
7902 echo "configure:7903: checking whether we are using GNU C++" >&5
7903 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
7904 echo $ac_n "(cached) $ac_c" 1>&6
7905 else
7906 cat > conftest.C <<EOF
7907 #ifdef __GNUC__
7908 yes;
7909 #endif
7910 EOF
7911 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:7912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
7912 ac_cv_prog_gxx=yes
7913 else
7914 ac_cv_prog_gxx=no
7915 fi
7916 fi
7917
7918 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
7919
7920 if test $ac_cv_prog_gxx = yes; then
7921 GXX=yes
7922 else
7923 GXX=
7924 fi
7925
7926 ac_test_CXXFLAGS="${CXXFLAGS+set}"
7927 ac_save_CXXFLAGS="$CXXFLAGS"
7928 CXXFLAGS=
7929 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
7930 echo "configure:7931: checking whether ${CXX-g++} accepts -g" >&5
7931 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
7932 echo $ac_n "(cached) $ac_c" 1>&6
7933 else
7934 echo 'void f(){}' > conftest.cc
7935 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
7936 ac_cv_prog_cxx_g=yes
7937 else
7938 ac_cv_prog_cxx_g=no
7939 fi
7940 rm -f conftest*
7941
7942 fi
7943
7944 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
7945 if test "$ac_test_CXXFLAGS" = set; then
7946 CXXFLAGS="$ac_save_CXXFLAGS"
7947 elif test $ac_cv_prog_cxx_g = yes; then
7948 if test "$GXX" = yes; then
7949 CXXFLAGS="-g -O2"
7950 else
7951 CXXFLAGS="-g"
7952 fi
7953 else
7954 if test "$GXX" = yes; then
7955 CXXFLAGS="-O2"
7956 else
7957 CXXFLAGS=
7958 fi
7959 fi
7960
7961
7962 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
7963 echo "configure:7964: checking how to run the C++ preprocessor" >&5
7964 if test -z "$CXXCPP"; then
7965 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
7966 echo $ac_n "(cached) $ac_c" 1>&6
7967 else
7968 ac_ext=C
7969 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7970 ac_cpp='$CXXCPP $CPPFLAGS'
7971 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7972 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7973 cross_compiling=$ac_cv_prog_cxx_cross
7974 CXXCPP="${CXX-g++} -E"
7975 cat > conftest.$ac_ext <<EOF
7976 #line 7977 "configure"
7977 #include "confdefs.h"
7978 #include <stdlib.h>
7979 EOF
7980 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7981 { (eval echo configure:7982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7982 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7983 if test -z "$ac_err"; then
7984 :
7985 else
7986 echo "$ac_err" >&5
7987 echo "configure: failed program was:" >&5
7988 cat conftest.$ac_ext >&5
7989 rm -rf conftest*
7990 CXXCPP=/lib/cpp
7991 fi
7992 rm -f conftest*
7993 ac_cv_prog_CXXCPP="$CXXCPP"
7994 ac_ext=C
7995 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7996 ac_cpp='$CXXCPP $CPPFLAGS'
7997 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7998 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7999 cross_compiling=$ac_cv_prog_cxx_cross
8000 fi
8001 fi
8002 CXXCPP="$ac_cv_prog_CXXCPP"
8003 echo "$ac_t""$CXXCPP" 1>&6
8004
8005
8006 CXXFLAGS=`echo "$CXXFLAGS" | sed 's/-g//g'`
8007
8008 ac_ext=c
8009 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8010 ac_cpp='$CPP $CPPFLAGS'
8011 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8012 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8013 cross_compiling=$ac_cv_prog_cc_cross
8014
8015
8016 # Extract the first word of "ranlib", so it can be a program name with args.
8017 set dummy ranlib; ac_word=$2
8018 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8019 echo "configure:8020: checking for $ac_word" >&5
8020 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8021 echo $ac_n "(cached) $ac_c" 1>&6
8022 else
8023 if test -n "$RANLIB"; then
8024 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8025 else
8026 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8027 ac_dummy="$PATH"
8028 for ac_dir in $ac_dummy; do
8029 test -z "$ac_dir" && ac_dir=.
8030 if test -f $ac_dir/$ac_word; then
8031 ac_cv_prog_RANLIB="ranlib"
8032 break
8033 fi
8034 done
8035 IFS="$ac_save_ifs"
8036 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
8037 fi
8038 fi
8039 RANLIB="$ac_cv_prog_RANLIB"
8040 if test -n "$RANLIB"; then
8041 echo "$ac_t""$RANLIB" 1>&6
8042 else
8043 echo "$ac_t""no" 1>&6
8044 fi
8045
8046
8047 # Extract the first word of "ar", so it can be a program name with args.
8048 set dummy ar; ac_word=$2
8049 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8050 echo "configure:8051: checking for $ac_word" >&5
8051 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8052 echo $ac_n "(cached) $ac_c" 1>&6
8053 else
8054 if test -n "$AR"; then
8055 ac_cv_prog_AR="$AR" # Let the user override the test.
8056 else
8057 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8058 ac_dummy="$PATH"
8059 for ac_dir in $ac_dummy; do
8060 test -z "$ac_dir" && ac_dir=.
8061 if test -f $ac_dir/$ac_word; then
8062 ac_cv_prog_AR="ar"
8063 break
8064 fi
8065 done
8066 IFS="$ac_save_ifs"
8067 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
8068 fi
8069 fi
8070 AR="$ac_cv_prog_AR"
8071 if test -n "$AR"; then
8072 echo "$ac_t""$AR" 1>&6
8073 else
8074 echo "$ac_t""no" 1>&6
8075 fi
8076
8077
8078 # Find a good install program. We prefer a C program (faster),
8079 # so one script is as good as another. But avoid the broken or
8080 # incompatible versions:
8081 # SysV /etc/install, /usr/sbin/install
8082 # SunOS /usr/etc/install
8083 # IRIX /sbin/install
8084 # AIX /bin/install
8085 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8086 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8087 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8088 # ./install, which can be erroneously created by make from ./install.sh.
8089 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8090 echo "configure:8091: checking for a BSD compatible install" >&5
8091 if test -z "$INSTALL"; then
8092 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8093 echo $ac_n "(cached) $ac_c" 1>&6
8094 else
8095 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
8096 for ac_dir in $PATH; do
8097 # Account for people who put trailing slashes in PATH elements.
8098 case "$ac_dir/" in
8099 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
8100 *)
8101 # OSF1 and SCO ODT 3.0 have their own names for install.
8102 # Don't use installbsd from OSF since it installs stuff as root
8103 # by default.
8104 for ac_prog in ginstall scoinst install; do
8105 if test -f $ac_dir/$ac_prog; then
8106 if test $ac_prog = install &&
8107 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
8108 # AIX install. It has an incompatible calling convention.
8109 :
8110 else
8111 ac_cv_path_install="$ac_dir/$ac_prog -c"
8112 break 2
8113 fi
8114 fi
8115 done
8116 ;;
8117 esac
8118 done
8119 IFS="$ac_save_IFS"
8120
8121 fi
8122 if test "${ac_cv_path_install+set}" = set; then
8123 INSTALL="$ac_cv_path_install"
8124 else
8125 # As a last resort, use the slow shell script. We don't cache a
8126 # path for INSTALL within a source directory, because that will
8127 # break other packages using the cache if that directory is
8128 # removed, or if the path is relative.
8129 INSTALL="$ac_install_sh"
8130 fi
8131 fi
8132 echo "$ac_t""$INSTALL" 1>&6
8133
8134 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8135 # It thinks the first close brace ends the variable substitution.
8136 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
8137
8138 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
8139
8140 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
8141
8142
8143 # Extract the first word of "strip", so it can be a program name with args.
8144 set dummy strip; ac_word=$2
8145 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8146 echo "configure:8147: checking for $ac_word" >&5
8147 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8148 echo $ac_n "(cached) $ac_c" 1>&6
8149 else
8150 if test -n "$STRIP"; then
8151 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8152 else
8153 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8154 ac_dummy="$PATH"
8155 for ac_dir in $ac_dummy; do
8156 test -z "$ac_dir" && ac_dir=.
8157 if test -f $ac_dir/$ac_word; then
8158 ac_cv_prog_STRIP="strip"
8159 break
8160 fi
8161 done
8162 IFS="$ac_save_ifs"
8163 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
8164 fi
8165 fi
8166 STRIP="$ac_cv_prog_STRIP"
8167 if test -n "$STRIP"; then
8168 echo "$ac_t""$STRIP" 1>&6
8169 else
8170 echo "$ac_t""no" 1>&6
8171 fi
8172
8173
8174 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8175 echo "configure:8176: checking make for VPATH support" >&5
8176 cat - << EOF > confMake
8177 check : file
8178 cp \$? \$@
8179 cp \$? final_file
8180 EOF
8181
8182 if test ! -d sub ; then
8183 mkdir sub
8184 fi
8185 echo dummy > sub/file
8186 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
8187 RESULT=$?
8188 rm -f sub/file check final_file confMake
8189 rmdir sub
8190 if test "$RESULT" = 0; then
8191 echo "$ac_t""yes" 1>&6
8192 else
8193 echo "$ac_t""no" 1>&6
8194 { echo "configure: error:
8195 You need a make-utility that is able to use the variable
8196 VPATH correctly.
8197 If your version of make does not support VPATH correctly,
8198 please install GNU-make (possibly as gmake), and start
8199 configure with the following command:
8200 export MAKE=gmake; ./configure for sh-type shells
8201 setenv MAKE gmake; ./configure for csh-type shells
8202 Also please do remember to use gmake in this case every time
8203 you are trying to compile.
8204 " 1>&2; exit 1; }
8205 fi
8206
8207 for ac_prog in 'bison -y' byacc
8208 do
8209 # Extract the first word of "$ac_prog", so it can be a program name with args.
8210 set dummy $ac_prog; ac_word=$2
8211 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8212 echo "configure:8213: checking for $ac_word" >&5
8213 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8214 echo $ac_n "(cached) $ac_c" 1>&6
8215 else
8216 if test -n "$YACC"; then
8217 ac_cv_prog_YACC="$YACC" # Let the user override the test.
8218 else
8219 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8220 ac_dummy="$PATH"
8221 for ac_dir in $ac_dummy; do
8222 test -z "$ac_dir" && ac_dir=.
8223 if test -f $ac_dir/$ac_word; then
8224 ac_cv_prog_YACC="$ac_prog"
8225 break
8226 fi
8227 done
8228 IFS="$ac_save_ifs"
8229 fi
8230 fi
8231 YACC="$ac_cv_prog_YACC"
8232 if test -n "$YACC"; then
8233 echo "$ac_t""$YACC" 1>&6
8234 else
8235 echo "$ac_t""no" 1>&6
8236 fi
8237
8238 test -n "$YACC" && break
8239 done
8240 test -n "$YACC" || YACC="yacc"
8241
8242
8243 # Extract the first word of "flex", so it can be a program name with args.
8244 set dummy flex; ac_word=$2
8245 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8246 echo "configure:8247: checking for $ac_word" >&5
8247 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8248 echo $ac_n "(cached) $ac_c" 1>&6
8249 else
8250 if test -n "$LEX"; then
8251 ac_cv_prog_LEX="$LEX" # Let the user override the test.
8252 else
8253 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8254 ac_dummy="$PATH"
8255 for ac_dir in $ac_dummy; do
8256 test -z "$ac_dir" && ac_dir=.
8257 if test -f $ac_dir/$ac_word; then
8258 ac_cv_prog_LEX="flex"
8259 break
8260 fi
8261 done
8262 IFS="$ac_save_ifs"
8263 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"
8264 fi
8265 fi
8266 LEX="$ac_cv_prog_LEX"
8267 if test -n "$LEX"; then
8268 echo "$ac_t""$LEX" 1>&6
8269 else
8270 echo "$ac_t""no" 1>&6
8271 fi
8272
8273 if test -z "$LEXLIB"
8274 then
8275 case "$LEX" in
8276 flex*) ac_lib=fl ;;
8277 *) ac_lib=l ;;
8278 esac
8279 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8280 echo "configure:8281: checking for yywrap in -l$ac_lib" >&5
8281 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8282 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8283 echo $ac_n "(cached) $ac_c" 1>&6
8284 else
8285 ac_save_LIBS="$LIBS"
8286 LIBS="-l$ac_lib $LIBS"
8287 cat > conftest.$ac_ext <<EOF
8288 #line 8289 "configure"
8289 #include "confdefs.h"
8290 /* Override any gcc2 internal prototype to avoid an error. */
8291 /* We use char because int might match the return type of a gcc2
8292 builtin and then its argument prototype would still apply. */
8293 char yywrap();
8294
8295 int main() {
8296 yywrap()
8297 ; return 0; }
8298 EOF
8299 if { (eval echo configure:8300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8300 rm -rf conftest*
8301 eval "ac_cv_lib_$ac_lib_var=yes"
8302 else
8303 echo "configure: failed program was:" >&5
8304 cat conftest.$ac_ext >&5
8305 rm -rf conftest*
8306 eval "ac_cv_lib_$ac_lib_var=no"
8307 fi
8308 rm -f conftest*
8309 LIBS="$ac_save_LIBS"
8310
8311 fi
8312 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8313 echo "$ac_t""yes" 1>&6
8314 LEXLIB="-l$ac_lib"
8315 else
8316 echo "$ac_t""no" 1>&6
8317 fi
8318
8319 fi
8320
8321
8322 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8323 echo "configure:8324: checking whether ln -s works" >&5
8324 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8325 echo $ac_n "(cached) $ac_c" 1>&6
8326 else
8327 rm -f conftestdata
8328 if ln -s X conftestdata 2>/dev/null
8329 then
8330 rm -f conftestdata
8331 ac_cv_prog_LN_S="ln -s"
8332 else
8333 ac_cv_prog_LN_S=ln
8334 fi
8335 fi
8336 LN_S="$ac_cv_prog_LN_S"
8337 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8338 echo "$ac_t""yes" 1>&6
8339 else
8340 echo "$ac_t""no" 1>&6
8341 fi
8342
8343
8344
8345 SEARCH_INCLUDE="\
8346 /usr/local/include \
8347 \
8348 /usr/Motif-1.2/include \
8349 /usr/Motif-2.1/include \
8350 \
8351 /usr/include/Motif1.2 \
8352 /opt/xpm/include/X11 \
8353 /opt/GBxpm/include/ \
8354 /opt/GBxpm/X11/include/ \
8355 \
8356 /usr/Motif1.2/include \
8357 /usr/dt/include \
8358 /usr/openwin/include \
8359 \
8360 /usr/include/Xm \
8361 \
8362 /usr/X11R6/include \
8363 /usr/X11R6.4/include \
8364 /usr/X11R5/include \
8365 /usr/X11R4/include \
8366 \
8367 /usr/include/X11R6 \
8368 /usr/include/X11R5 \
8369 /usr/include/X11R4 \
8370 \
8371 /usr/local/X11R6/include \
8372 /usr/local/X11R5/include \
8373 /usr/local/X11R4/include \
8374 \
8375 /usr/local/include/X11R6 \
8376 /usr/local/include/X11R5 \
8377 /usr/local/include/X11R4 \
8378 \
8379 /usr/X11/include \
8380 /usr/include/X11 \
8381 /usr/local/X11/include \
8382 /usr/local/include/X11 \
8383 \
8384 /usr/X386/include \
8385 /usr/x386/include \
8386 /usr/XFree86/include/X11 \
8387 \
8388 X:/XFree86/include \
8389 X:/XFree86/include/X11 \
8390 \
8391 /usr/include/gtk \
8392 /usr/local/include/gtk \
8393 /usr/include/glib \
8394 /usr/local/include/glib \
8395 \
8396 /usr/include/qt \
8397 /usr/local/include/qt \
8398 \
8399 /usr/include/windows \
8400 /usr/include/wine \
8401 /usr/local/include/wine \
8402 \
8403 /usr/unsupported/include \
8404 /usr/athena/include \
8405 /usr/local/x11r5/include \
8406 /usr/lpp/Xamples/include \
8407 \
8408 /usr/openwin/share/include \
8409 \
8410 /usr/include"
8411
8412 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8413
8414
8415 cat > confcache <<\EOF
8416 # This file is a shell script that caches the results of configure
8417 # tests run on this system so they can be shared between configure
8418 # scripts and configure runs. It is not useful on other systems.
8419 # If it contains results you don't want to keep, you may remove or edit it.
8420 #
8421 # By default, configure uses ./config.cache as the cache file,
8422 # creating it if it does not exist already. You can give configure
8423 # the --cache-file=FILE option to use a different cache file; that is
8424 # what configure does when it calls configure scripts in
8425 # subdirectories, so they share the cache.
8426 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8427 # config.status only pays attention to the cache file if you give it the
8428 # --recheck option to rerun configure.
8429 #
8430 EOF
8431 # The following way of writing the cache mishandles newlines in values,
8432 # but we know of no workaround that is simple, portable, and efficient.
8433 # So, don't put newlines in cache variables' values.
8434 # Ultrix sh set writes to stderr and can't be redirected directly,
8435 # and sets the high bit in the cache file unless we assign to the vars.
8436 (set) 2>&1 |
8437 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8438 *ac_space=\ *)
8439 # `set' does not quote correctly, so add quotes (double-quote substitution
8440 # turns \\\\ into \\, and sed turns \\ into \).
8441 sed -n \
8442 -e "s/'/'\\\\''/g" \
8443 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8444 ;;
8445 *)
8446 # `set' quotes correctly as required by POSIX, so do not add quotes.
8447 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8448 ;;
8449 esac >> confcache
8450 if cmp -s $cache_file confcache; then
8451 :
8452 else
8453 if test -w $cache_file; then
8454 echo "updating cache $cache_file"
8455 cat confcache > $cache_file
8456 else
8457 echo "not updating unwritable cache $cache_file"
8458 fi
8459 fi
8460 rm -f confcache
8461
8462
8463
8464 AFMINSTALL=
8465
8466 if test "$wxUSE_GUI" = "yes"; then
8467 USE_GUI=1
8468
8469 TOOLKIT=
8470 TOOLKIT_INCLUDE=
8471
8472 GUI_TK_LIBRARY=
8473 GUI_TK_LINK=
8474
8475 WXGTK12=
8476 WXGTK127=
8477 WXGTK20=
8478
8479 WXWINE=
8480
8481 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
8482 if test "$cross_compiling" = "yes" ; then
8483 echo "configure: warning: skipping windows.h check for cross-compilation" 1>&2
8484 else
8485 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
8486 echo "configure:8487: checking for Windows headers" >&5
8487
8488 ac_find_includes=
8489 for ac_dir in $SEARCH_INCLUDE;
8490 do
8491 if test -f "$ac_dir/windows.h"; then
8492 ac_find_includes=$ac_dir
8493 break
8494 fi
8495 done
8496
8497 if test "$ac_find_includes" != "" ; then
8498 echo "$ac_t""found $ac_find_includes" 1>&6
8499 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -I$ac_find_includes"
8500 else
8501 echo "$ac_t""no" 1>&6
8502 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
8503 fi
8504 fi
8505
8506 INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS msw"
8507 LIBS="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
8508
8509 if test "$wxUSE_ODBC" = "yes" ; then
8510 LIBS="$LIBS -lodbc32 -lole32 -loleaut32"
8511 fi
8512
8513 if test "$wxUSE_MINGW" = 1; then
8514 LDFLAGS="$LDFLAGS -mwindows"
8515 fi
8516
8517 TOOLKIT=MSW
8518 GUIDIST=MSW_DIST
8519
8520 RCINCSWITCH="--include-dir"
8521 RCDEFSWITCH="--define"
8522 RCPREPROCESSOR="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
8523 RCINPUTSWITCH="-i"
8524 RCOUTPUTSWITCH="-o"
8525 RESFLAGS="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
8526
8527 RESPROGRAM="\$(RES_PROGRAM)"
8528 fi
8529
8530 if test "$wxUSE_GTK" = 1; then
8531 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
8532 echo "configure:8533: checking for GTK+ version" >&5
8533
8534 gtk_version_cached=1
8535 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
8536 echo $ac_n "(cached) $ac_c" 1>&6
8537 else
8538
8539 gtk_version_cached=0
8540 echo "$ac_t""""" 1>&6
8541
8542 wx_cv_lib_gtk=
8543 if test "x$wxUSE_GTK2" = "xyes"; then
8544 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
8545 if test "${with_gtk_prefix+set}" = set; then
8546 withval="$with_gtk_prefix"
8547 gtk_config_prefix="$withval"
8548 else
8549 gtk_config_prefix=""
8550 fi
8551
8552 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
8553 if test "${with_gtk_exec_prefix+set}" = set; then
8554 withval="$with_gtk_exec_prefix"
8555 gtk_config_exec_prefix="$withval"
8556 else
8557 gtk_config_exec_prefix=""
8558 fi
8559
8560 # Check whether --enable-gtktest or --disable-gtktest was given.
8561 if test "${enable_gtktest+set}" = set; then
8562 enableval="$enable_gtktest"
8563 :
8564 else
8565 enable_gtktest=yes
8566 fi
8567
8568
8569 for module in .
8570 do
8571 case "$module" in
8572 gthread)
8573 gtk_config_args="$gtk_config_args gthread"
8574 ;;
8575 esac
8576 done
8577
8578 if test x$gtk_config_exec_prefix != x ; then
8579 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8580 if test x${GTK_CONFIG_2_0+set} != xset ; then
8581 GTK_CONFIG_2_0=$gtk_config_exec_prefix/bin/gtk-config-2.0
8582 fi
8583 fi
8584 if test x$gtk_config_prefix != x ; then
8585 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
8586 if test x${GTK_CONFIG_2_0+set} != xset ; then
8587 GTK_CONFIG_2_0=$gtk_config_prefix/bin/gtk-config-2.0
8588 fi
8589 fi
8590
8591 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
8592 set dummy gtk-config-2.0; ac_word=$2
8593 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8594 echo "configure:8595: checking for $ac_word" >&5
8595 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
8596 echo $ac_n "(cached) $ac_c" 1>&6
8597 else
8598 case "$GTK_CONFIG_2_0" in
8599 /*)
8600 ac_cv_path_GTK_CONFIG_2_0="$GTK_CONFIG_2_0" # Let the user override the test with a path.
8601 ;;
8602 ?:/*)
8603 ac_cv_path_GTK_CONFIG_2_0="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
8604 ;;
8605 *)
8606 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8607 ac_dummy="$PATH"
8608 for ac_dir in $ac_dummy; do
8609 test -z "$ac_dir" && ac_dir=.
8610 if test -f $ac_dir/$ac_word; then
8611 ac_cv_path_GTK_CONFIG_2_0="$ac_dir/$ac_word"
8612 break
8613 fi
8614 done
8615 IFS="$ac_save_ifs"
8616 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0="no"
8617 ;;
8618 esac
8619 fi
8620 GTK_CONFIG_2_0="$ac_cv_path_GTK_CONFIG_2_0"
8621 if test -n "$GTK_CONFIG_2_0"; then
8622 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
8623 else
8624 echo "$ac_t""no" 1>&6
8625 fi
8626
8627 min_gtk_version=1.3.1
8628 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8629 echo "configure:8630: checking for GTK - version >= $min_gtk_version" >&5
8630 no_gtk=""
8631 if test "$GTK_CONFIG_2_0" = "no" ; then
8632 no_gtk=yes
8633 else
8634 GTK_CFLAGS=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
8635 GTK_LIBS=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
8636 gtk_config_major_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8637 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
8638 gtk_config_minor_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8639 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8640 gtk_config_micro_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8641 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
8642 if test "x$enable_gtktest" = "xyes" ; then
8643 ac_save_CFLAGS="$CFLAGS"
8644 ac_save_LIBS="$LIBS"
8645 CFLAGS="$CFLAGS $GTK_CFLAGS"
8646 LIBS="$GTK_LIBS $LIBS"
8647 rm -f conf.gtktest
8648 if test "$cross_compiling" = yes; then
8649 echo $ac_n "cross compiling; assumed OK... $ac_c"
8650 else
8651 cat > conftest.$ac_ext <<EOF
8652 #line 8653 "configure"
8653 #include "confdefs.h"
8654
8655 #include <gtk/gtk.h>
8656 #include <stdio.h>
8657 #include <stdlib.h>
8658
8659 int
8660 main ()
8661 {
8662 int major, minor, micro;
8663 char *tmp_version;
8664
8665 system ("touch conf.gtktest");
8666
8667 /* HP/UX 9 (%@#!) writes to sscanf strings */
8668 tmp_version = g_strdup("$min_gtk_version");
8669 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
8670 printf("%s, bad version string\n", "$min_gtk_version");
8671 exit(1);
8672 }
8673
8674 if ((gtk_major_version != $gtk_config_major_version) ||
8675 (gtk_minor_version != $gtk_config_minor_version) ||
8676 (gtk_micro_version != $gtk_config_micro_version))
8677 {
8678 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
8679 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
8680 gtk_major_version, gtk_minor_version, gtk_micro_version);
8681 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
8682 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
8683 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
8684 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
8685 printf("*** required on your system.\n");
8686 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
8687 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
8688 printf("*** before re-running configure\n");
8689 }
8690 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
8691 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
8692 (gtk_minor_version != GTK_MINOR_VERSION) ||
8693 (gtk_micro_version != GTK_MICRO_VERSION))
8694 {
8695 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
8696 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
8697 printf("*** library (version %d.%d.%d)\n",
8698 gtk_major_version, gtk_minor_version, gtk_micro_version);
8699 }
8700 #endif /* defined (GTK_MAJOR_VERSION) ... */
8701 else
8702 {
8703 if ((gtk_major_version > major) ||
8704 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8705 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
8706 {
8707 return 0;
8708 }
8709 else
8710 {
8711 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
8712 gtk_major_version, gtk_minor_version, gtk_micro_version);
8713 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
8714 major, minor, micro);
8715 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
8716 printf("***\n");
8717 printf("*** If you have already installed a sufficiently new version, this error\n");
8718 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
8719 printf("*** being found. The easiest way to fix this is to remove the old version\n");
8720 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
8721 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
8722 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
8723 printf("*** so that the correct libraries are found at run-time))\n");
8724 }
8725 }
8726 return 1;
8727 }
8728
8729 EOF
8730 if { (eval echo configure:8731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8731 then
8732 :
8733 else
8734 echo "configure: failed program was:" >&5
8735 cat conftest.$ac_ext >&5
8736 rm -fr conftest*
8737 no_gtk=yes
8738 fi
8739 rm -fr conftest*
8740 fi
8741
8742 CFLAGS="$ac_save_CFLAGS"
8743 LIBS="$ac_save_LIBS"
8744 fi
8745 fi
8746 if test "x$no_gtk" = x ; then
8747 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
8748 wx_cv_lib_gtk=2.0
8749 else
8750 echo "$ac_t""no" 1>&6
8751 if test "$GTK_CONFIG_2_0" = "no" ; then
8752 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
8753 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
8754 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
8755 echo "*** full path to gtk-config-2.0."
8756 else
8757 if test -f conf.gtktest ; then
8758 :
8759 else
8760 echo "*** Could not run GTK test program, checking why..."
8761 CFLAGS="$CFLAGS $GTK_CFLAGS"
8762 LIBS="$LIBS $GTK_LIBS"
8763 cat > conftest.$ac_ext <<EOF
8764 #line 8765 "configure"
8765 #include "confdefs.h"
8766
8767 #include <gtk/gtk.h>
8768 #include <stdio.h>
8769
8770 int main() {
8771 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
8772 ; return 0; }
8773 EOF
8774 if { (eval echo configure:8775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8775 rm -rf conftest*
8776 echo "*** The test program compiled, but did not run. This usually means"
8777 echo "*** that the run-time linker is not finding GTK or finding the wrong"
8778 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
8779 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
8780 echo "*** to the installed location Also, make sure you have run ldconfig if that"
8781 echo "*** is required on your system"
8782 echo "***"
8783 echo "*** If you have an old version installed, it is best to remove it, although"
8784 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
8785 echo "***"
8786 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
8787 echo "*** came with the system with the command"
8788 echo "***"
8789 echo "*** rpm --erase --nodeps gtk gtk-devel"
8790 else
8791 echo "configure: failed program was:" >&5
8792 cat conftest.$ac_ext >&5
8793 rm -rf conftest*
8794 echo "*** The test program failed to compile or link. See the file config.log for the"
8795 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
8796 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
8797 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
8798 fi
8799 rm -f conftest*
8800 CFLAGS="$ac_save_CFLAGS"
8801 LIBS="$ac_save_LIBS"
8802 fi
8803 fi
8804 GTK_CFLAGS=""
8805 GTK_LIBS=""
8806 gthread
8807 fi
8808
8809
8810 rm -f conf.gtktest
8811
8812 fi
8813
8814 if test -z "$wx_cv_lib_gtk"; then
8815
8816 if test x$gtk_config_exec_prefix != x ; then
8817 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8818 if test x${GTK_CONFIG+set} != xset ; then
8819 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
8820 fi
8821 fi
8822 if test x$gtk_config_prefix != x ; then
8823 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
8824 if test x${GTK_CONFIG+set} != xset ; then
8825 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
8826 fi
8827 fi
8828
8829 # Extract the first word of "gtk-config", so it can be a program name with args.
8830 set dummy gtk-config; ac_word=$2
8831 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8832 echo "configure:8833: checking for $ac_word" >&5
8833 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
8834 echo $ac_n "(cached) $ac_c" 1>&6
8835 else
8836 case "$GTK_CONFIG" in
8837 /*)
8838 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
8839 ;;
8840 ?:/*)
8841 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
8842 ;;
8843 *)
8844 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8845 ac_dummy="$PATH"
8846 for ac_dir in $ac_dummy; do
8847 test -z "$ac_dir" && ac_dir=.
8848 if test -f $ac_dir/$ac_word; then
8849 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
8850 break
8851 fi
8852 done
8853 IFS="$ac_save_ifs"
8854 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
8855 ;;
8856 esac
8857 fi
8858 GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
8859 if test -n "$GTK_CONFIG"; then
8860 echo "$ac_t""$GTK_CONFIG" 1>&6
8861 else
8862 echo "$ac_t""no" 1>&6
8863 fi
8864
8865 min_gtk_version=1.2.7
8866 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8867 echo "configure:8868: checking for GTK - version >= $min_gtk_version" >&5
8868 no_gtk=""
8869 if test "$GTK_CONFIG" != "no" ; then
8870 GTK_CFLAGS=`$GTK_CONFIG --cflags`
8871 GTK_LIBS=`$GTK_CONFIG --libs gthread`
8872 ac_save_CFLAGS="$CFLAGS"
8873 ac_save_LIBS="$LIBS"
8874 CFLAGS="$CFLAGS $GTK_CFLAGS"
8875 LIBS="$LIBS $GTK_LIBS"
8876 if test "$cross_compiling" = yes; then
8877 echo $ac_n "cross compiling; assumed OK... $ac_c"
8878 else
8879 cat > conftest.$ac_ext <<EOF
8880 #line 8881 "configure"
8881 #include "confdefs.h"
8882
8883 #include <gtk/gtk.h>
8884 #include <gtk/gtkfeatures.h>
8885 #include <stdio.h>
8886 #include <stdlib.h>
8887
8888 int
8889 main ()
8890 {
8891 int major, minor, micro;
8892
8893 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, &micro) != 3) {
8894 printf("%s, bad version string\n", "$min_gtk_version");
8895 exit(1);
8896 }
8897
8898 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
8899 (GTK_MINOR_VERSION != gtk_minor_version) ||
8900 (GTK_MICRO_VERSION != gtk_micro_version)) {
8901 printf("Headers vs. library version mismatch!\n");
8902 exit(1);
8903 }
8904
8905 if (gtk_minor_version == 1) return FALSE;
8906
8907 return !((gtk_major_version > major) ||
8908 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8909 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
8910 }
8911
8912 EOF
8913 if { (eval echo configure:8914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8914 then
8915 :
8916 else
8917 echo "configure: failed program was:" >&5
8918 cat conftest.$ac_ext >&5
8919 rm -fr conftest*
8920 no_gtk=yes
8921 fi
8922 rm -fr conftest*
8923 fi
8924
8925 CFLAGS="$ac_save_CFLAGS"
8926 LIBS="$ac_save_LIBS"
8927 else
8928 no_gtk=yes
8929 fi
8930 if test "x$no_gtk" = x ; then
8931 echo "$ac_t""yes" 1>&6
8932 wx_cv_lib_gtk=1.2.7
8933 else
8934 echo "$ac_t""no" 1>&6
8935 GTK_CFLAGS=""
8936 GTK_LIBS=""
8937 :
8938 fi
8939
8940
8941
8942 fi
8943
8944 if test -z "$wx_cv_lib_gtk"; then
8945
8946 if test x$gtk_config_exec_prefix != x ; then
8947 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8948 if test x${GTK_CONFIG+set} != xset ; then
8949 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
8950 fi
8951 fi
8952 if test x$gtk_config_prefix != x ; then
8953 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
8954 if test x${GTK_CONFIG+set} != xset ; then
8955 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
8956 fi
8957 fi
8958
8959 # Extract the first word of "gtk-config", so it can be a program name with args.
8960 set dummy gtk-config; ac_word=$2
8961 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8962 echo "configure:8963: checking for $ac_word" >&5
8963 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
8964 echo $ac_n "(cached) $ac_c" 1>&6
8965 else
8966 case "$GTK_CONFIG" in
8967 /*)
8968 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
8969 ;;
8970 ?:/*)
8971 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
8972 ;;
8973 *)
8974 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8975 ac_dummy="$PATH"
8976 for ac_dir in $ac_dummy; do
8977 test -z "$ac_dir" && ac_dir=.
8978 if test -f $ac_dir/$ac_word; then
8979 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
8980 break
8981 fi
8982 done
8983 IFS="$ac_save_ifs"
8984 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
8985 ;;
8986 esac
8987 fi
8988 GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
8989 if test -n "$GTK_CONFIG"; then
8990 echo "$ac_t""$GTK_CONFIG" 1>&6
8991 else
8992 echo "$ac_t""no" 1>&6
8993 fi
8994
8995 min_gtk_version=1.2.3
8996 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8997 echo "configure:8998: checking for GTK - version >= $min_gtk_version" >&5
8998 no_gtk=""
8999 if test "$GTK_CONFIG" != "no" ; then
9000 GTK_CFLAGS=`$GTK_CONFIG --cflags`
9001 GTK_LIBS=`$GTK_CONFIG --libs gthread`
9002 ac_save_CFLAGS="$CFLAGS"
9003 ac_save_LIBS="$LIBS"
9004 CFLAGS="$CFLAGS $GTK_CFLAGS"
9005 LIBS="$LIBS $GTK_LIBS"
9006 if test "$cross_compiling" = yes; then
9007 echo $ac_n "cross compiling; assumed OK... $ac_c"
9008 else
9009 cat > conftest.$ac_ext <<EOF
9010 #line 9011 "configure"
9011 #include "confdefs.h"
9012
9013 #include <gtk/gtk.h>
9014 #include <gtk/gtkfeatures.h>
9015 #include <stdio.h>
9016 #include <stdlib.h>
9017
9018 int
9019 main ()
9020 {
9021 int major, minor, micro;
9022
9023 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, &micro) != 3) {
9024 printf("%s, bad version string\n", "$min_gtk_version");
9025 exit(1);
9026 }
9027
9028 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9029 (GTK_MINOR_VERSION != gtk_minor_version) ||
9030 (GTK_MICRO_VERSION != gtk_micro_version)) {
9031 printf("Headers vs. library version mismatch!\n");
9032 exit(1);
9033 }
9034
9035 if (gtk_minor_version == 1) return FALSE;
9036
9037 return !((gtk_major_version > major) ||
9038 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9039 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9040 }
9041
9042 EOF
9043 if { (eval echo configure:9044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9044 then
9045 :
9046 else
9047 echo "configure: failed program was:" >&5
9048 cat conftest.$ac_ext >&5
9049 rm -fr conftest*
9050 no_gtk=yes
9051 fi
9052 rm -fr conftest*
9053 fi
9054
9055 CFLAGS="$ac_save_CFLAGS"
9056 LIBS="$ac_save_LIBS"
9057 else
9058 no_gtk=yes
9059 fi
9060 if test "x$no_gtk" = x ; then
9061 echo "$ac_t""yes" 1>&6
9062 wx_cv_lib_gtk=1.2.3
9063 else
9064 echo "$ac_t""no" 1>&6
9065 GTK_CFLAGS=""
9066 GTK_LIBS=""
9067 :
9068 fi
9069
9070
9071
9072 fi
9073
9074 if test -z "$wx_cv_lib_gtk"; then
9075 wx_cv_lib_gtk=none
9076 else
9077 wx_cv_cflags_gtk=$GTK_CFLAGS
9078 wx_cv_libs_gtk=$GTK_LIBS
9079 fi
9080
9081
9082 fi
9083
9084
9085 if test "$gtk_version_cached" = 1; then
9086 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9087 fi
9088
9089 case "$wx_cv_lib_gtk" in
9090 2.0) WXGTK20=1
9091 ;;
9092 1.2.7) WXGTK127=1
9093 ;;
9094 1.2.3) WXGTK12=1
9095 ;;
9096 *) { echo "configure: error:
9097 Please check that gtk-config is in path, the directory
9098 where GTK+ libraries are installed (returned by
9099 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9100 equivalent variable and GTK+ is version 1.2.3 or above.
9101 " 1>&2; exit 1; }
9102 ;;
9103 esac
9104
9105 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
9106 GUI_TK_LIBRARY="$wx_cv_libs_gtk"
9107
9108 AFMINSTALL=afminstall
9109 TOOLKIT=GTK
9110 GUIDIST=GTK_DIST
9111
9112 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9113 echo "configure:9114: checking for gdk_im_open in -lgdk" >&5
9114 ac_lib_var=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9115 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9116 echo $ac_n "(cached) $ac_c" 1>&6
9117 else
9118 ac_save_LIBS="$LIBS"
9119 LIBS="-lgdk $LIBS"
9120 cat > conftest.$ac_ext <<EOF
9121 #line 9122 "configure"
9122 #include "confdefs.h"
9123 /* Override any gcc2 internal prototype to avoid an error. */
9124 /* We use char because int might match the return type of a gcc2
9125 builtin and then its argument prototype would still apply. */
9126 char gdk_im_open();
9127
9128 int main() {
9129 gdk_im_open()
9130 ; return 0; }
9131 EOF
9132 if { (eval echo configure:9133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9133 rm -rf conftest*
9134 eval "ac_cv_lib_$ac_lib_var=yes"
9135 else
9136 echo "configure: failed program was:" >&5
9137 cat conftest.$ac_ext >&5
9138 rm -rf conftest*
9139 eval "ac_cv_lib_$ac_lib_var=no"
9140 fi
9141 rm -f conftest*
9142 LIBS="$ac_save_LIBS"
9143
9144 fi
9145 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9146 echo "$ac_t""yes" 1>&6
9147 cat >> confdefs.h <<\EOF
9148 #define HAVE_XIM 1
9149 EOF
9150
9151 else
9152 echo "$ac_t""no" 1>&6
9153 fi
9154
9155 fi
9156
9157 if test "$wxUSE_MGL" = 1; then
9158
9159 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9160 echo "configure:9161: checking for SciTech MGL library" >&5
9161 if test "x$MGL_ROOT" = x ; then
9162 echo "$ac_t""not found" 1>&6
9163 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9164 else
9165 echo "$ac_t""$MGL_ROOT" 1>&6
9166 fi
9167
9168 MGL_OS=linux/gcc/glibc
9169 MGL_LIB_TYPE=""
9170
9171 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9172 if test -f $MGL_ROOT/lib/debug/$MGL_OS/libmgl.a ; then
9173 MGL_LIB_TYPE=debug
9174 fi
9175 fi
9176 if test "x$MGL_LIB_TYPE" = x ; then
9177 if test -f $MGL_ROOT/lib/release/$MGL_OS/libmgl.a ; then
9178 MGL_LIB_TYPE=release
9179 else
9180 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9181 fi
9182 fi
9183
9184 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
9185 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$MGL_LIB_TYPE/$MGL_OS -lmgl -lmglcpp -lpm"
9186
9187 AFMINSTALL=afminstall
9188 TOOLKIT=MGL
9189 GUIDIST=MGL_DIST
9190 fi
9191
9192 if test "$wxUSE_WINE" = 1; then
9193 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
9194 echo "configure:9195: checking for WINE includes" >&5
9195
9196 ac_find_includes=
9197 for ac_dir in $SEARCH_INCLUDE;
9198 do
9199 if test -f "$ac_dir/windows.h"; then
9200 ac_find_includes=$ac_dir
9201 break
9202 fi
9203 done
9204
9205 if test "$ac_find_includes" != "" ; then
9206 echo "$ac_t""found $ac_find_includes" 1>&6
9207 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -I$ac_find_includes"
9208 else
9209 echo "$ac_t""no" 1>&6
9210 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9211 fi
9212
9213 XPM_LINK=""
9214 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9215 echo "configure:9216: checking for Xpm library" >&5
9216
9217 ac_find_libraries=
9218 for ac_dir in $SEARCH_LIB;
9219 do
9220 for ac_extension in a so sl; do
9221 if test -f "$ac_dir/libXpm.$ac_extension"; then
9222 ac_find_libraries=$ac_dir
9223 break 2
9224 fi
9225 done
9226 done
9227
9228 if test "$ac_find_libraries" != "" ; then
9229 GUI_TK_LIBRARY="-L$ac_find_libraries"
9230 XPM_LINK="-lXpm"
9231 cat >> confdefs.h <<\EOF
9232 #define wxHAVE_LIB_XPM 1
9233 EOF
9234
9235 echo "$ac_t""found at $ac_find_libraries" 1>&6
9236 else
9237 echo "$ac_t""no" 1>&6
9238 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9239 fi
9240
9241 MESA_LINK=""
9242 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9243 echo "configure:9244: checking for Mesa library" >&5
9244
9245 ac_find_libraries=
9246 for ac_dir in $SEARCH_LIB;
9247 do
9248 for ac_extension in a so sl; do
9249 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9250 ac_find_libraries=$ac_dir
9251 break 2
9252 fi
9253 done
9254 done
9255
9256 if test "$ac_find_libraries" != "" ; then
9257 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -L$ac_find_libraries"
9258 MESA_LINK="-lMesaGL"
9259 echo "$ac_t""found at $ac_find_libraries" 1>&6
9260 else
9261 { echo "configure: error: no" 1>&2; exit 1; }
9262 fi
9263
9264 GUI_TK_LINK="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9265 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GUI_TK_LINK"
9266 WXWINE=1
9267 TOOLKIT=MSW
9268 GUIDIST=MSW_DIST
9269 fi
9270
9271
9272 # If we find X, set shell vars x_includes and x_libraries to the
9273 # paths, otherwise set no_x=yes.
9274 # Uses ac_ vars as temps to allow command line to override cache and checks.
9275 # --without-x overrides everything else, but does not touch the cache.
9276 echo $ac_n "checking for X""... $ac_c" 1>&6
9277 echo "configure:9278: checking for X" >&5
9278
9279 # Check whether --with-x or --without-x was given.
9280 if test "${with_x+set}" = set; then
9281 withval="$with_x"
9282 :
9283 fi
9284
9285 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9286 if test "x$with_x" = xno; then
9287 # The user explicitly disabled X.
9288 have_x=disabled
9289 else
9290 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
9291 # Both variables are already set.
9292 have_x=yes
9293 else
9294 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9295 echo $ac_n "(cached) $ac_c" 1>&6
9296 else
9297 # One or both of the vars are not set, and there is no cached value.
9298 ac_x_includes=NO ac_x_libraries=NO
9299 rm -fr conftestdir
9300 if mkdir conftestdir; then
9301 cd conftestdir
9302 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9303 cat > Imakefile <<'EOF'
9304 acfindx:
9305 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9306 EOF
9307 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
9308 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9309 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9310 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9311 for ac_extension in a so sl; do
9312 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
9313 test -f $ac_im_libdir/libX11.$ac_extension; then
9314 ac_im_usrlibdir=$ac_im_libdir; break
9315 fi
9316 done
9317 # Screen out bogus values from the imake configuration. They are
9318 # bogus both because they are the default anyway, and because
9319 # using them would break gcc on systems where it needs fixed includes.
9320 case "$ac_im_incroot" in
9321 /usr/include) ;;
9322 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
9323 esac
9324 case "$ac_im_usrlibdir" in
9325 /usr/lib | /lib) ;;
9326 *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
9327 esac
9328 fi
9329 cd ..
9330 rm -fr conftestdir
9331 fi
9332
9333 if test "$ac_x_includes" = NO; then
9334 # Guess where to find include files, by looking for this one X11 .h file.
9335 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
9336
9337 # First, try using that file with no special directory specified.
9338 cat > conftest.$ac_ext <<EOF
9339 #line 9340 "configure"
9340 #include "confdefs.h"
9341 #include <$x_direct_test_include>
9342 EOF
9343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9344 { (eval echo configure:9345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9345 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9346 if test -z "$ac_err"; then
9347 rm -rf conftest*
9348 # We can compile using X headers with no special include directory.
9349 ac_x_includes=
9350 else
9351 echo "$ac_err" >&5
9352 echo "configure: failed program was:" >&5
9353 cat conftest.$ac_ext >&5
9354 rm -rf conftest*
9355 # Look for the header file in a standard set of common directories.
9356 # Check X11 before X11Rn because it is often a symlink to the current release.
9357 for ac_dir in \
9358 /usr/X11/include \
9359 /usr/X11R6/include \
9360 /usr/X11R5/include \
9361 /usr/X11R4/include \
9362 \
9363 /usr/include/X11 \
9364 /usr/include/X11R6 \
9365 /usr/include/X11R5 \
9366 /usr/include/X11R4 \
9367 \
9368 /usr/local/X11/include \
9369 /usr/local/X11R6/include \
9370 /usr/local/X11R5/include \
9371 /usr/local/X11R4/include \
9372 \
9373 /usr/local/include/X11 \
9374 /usr/local/include/X11R6 \
9375 /usr/local/include/X11R5 \
9376 /usr/local/include/X11R4 \
9377 \
9378 /usr/X386/include \
9379 /usr/x386/include \
9380 /usr/XFree86/include/X11 \
9381 \
9382 /usr/include \
9383 /usr/local/include \
9384 /usr/unsupported/include \
9385 /usr/athena/include \
9386 /usr/local/x11r5/include \
9387 /usr/lpp/Xamples/include \
9388 \
9389 /usr/openwin/include \
9390 /usr/openwin/share/include \
9391 ; \
9392 do
9393 if test -r "$ac_dir/$x_direct_test_include"; then
9394 ac_x_includes=$ac_dir
9395 break
9396 fi
9397 done
9398 fi
9399 rm -f conftest*
9400 fi # $ac_x_includes = NO
9401
9402 if test "$ac_x_libraries" = NO; then
9403 # Check for the libraries.
9404
9405 test -z "$x_direct_test_library" && x_direct_test_library=Xt
9406 test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
9407
9408 # See if we find them without any special options.
9409 # Don't add to $LIBS permanently.
9410 ac_save_LIBS="$LIBS"
9411 LIBS="-l$x_direct_test_library $LIBS"
9412 cat > conftest.$ac_ext <<EOF
9413 #line 9414 "configure"
9414 #include "confdefs.h"
9415
9416 int main() {
9417 ${x_direct_test_function}()
9418 ; return 0; }
9419 EOF
9420 if { (eval echo configure:9421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9421 rm -rf conftest*
9422 LIBS="$ac_save_LIBS"
9423 # We can link X programs with no special library path.
9424 ac_x_libraries=
9425 else
9426 echo "configure: failed program was:" >&5
9427 cat conftest.$ac_ext >&5
9428 rm -rf conftest*
9429 LIBS="$ac_save_LIBS"
9430 # First see if replacing the include by lib works.
9431 # Check X11 before X11Rn because it is often a symlink to the current release.
9432 for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
9433 /usr/X11/lib \
9434 /usr/X11R6/lib \
9435 /usr/X11R5/lib \
9436 /usr/X11R4/lib \
9437 \
9438 /usr/lib/X11 \
9439 /usr/lib/X11R6 \
9440 /usr/lib/X11R5 \
9441 /usr/lib/X11R4 \
9442 \
9443 /usr/local/X11/lib \
9444 /usr/local/X11R6/lib \
9445 /usr/local/X11R5/lib \
9446 /usr/local/X11R4/lib \
9447 \
9448 /usr/local/lib/X11 \
9449 /usr/local/lib/X11R6 \
9450 /usr/local/lib/X11R5 \
9451 /usr/local/lib/X11R4 \
9452 \
9453 /usr/X386/lib \
9454 /usr/x386/lib \
9455 /usr/XFree86/lib/X11 \
9456 \
9457 /usr/lib \
9458 /usr/local/lib \
9459 /usr/unsupported/lib \
9460 /usr/athena/lib \
9461 /usr/local/x11r5/lib \
9462 /usr/lpp/Xamples/lib \
9463 /lib/usr/lib/X11 \
9464 \
9465 /usr/openwin/lib \
9466 /usr/openwin/share/lib \
9467 ; \
9468 do
9469 for ac_extension in a so sl; do
9470 if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
9471 ac_x_libraries=$ac_dir
9472 break 2
9473 fi
9474 done
9475 done
9476 fi
9477 rm -f conftest*
9478 fi # $ac_x_libraries = NO
9479
9480 if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then
9481 # Didn't find X anywhere. Cache the known absence of X.
9482 ac_cv_have_x="have_x=no"
9483 else
9484 # Record where we found X for the cache.
9485 ac_cv_have_x="have_x=yes \
9486 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9487 fi
9488 fi
9489 fi
9490 eval "$ac_cv_have_x"
9491 fi # $with_x != no
9492
9493 if test "$have_x" != yes; then
9494 echo "$ac_t""$have_x" 1>&6
9495 no_x=yes
9496 else
9497 # If each of the values was on the command line, it overrides each guess.
9498 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9499 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9500 # Update the cache value to reflect the command line values.
9501 ac_cv_have_x="have_x=yes \
9502 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9503 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
9504 fi
9505
9506 if test "$no_x" = yes; then
9507 # Not all programs may use this symbol, but it does not hurt to define it.
9508 cat >> confdefs.h <<\EOF
9509 #define X_DISPLAY_MISSING 1
9510 EOF
9511
9512 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9513 else
9514 if test -n "$x_includes"; then
9515 X_CFLAGS="$X_CFLAGS -I$x_includes"
9516 fi
9517
9518 # It would also be nice to do this for all -L options, not just this one.
9519 if test -n "$x_libraries"; then
9520 X_LIBS="$X_LIBS -L$x_libraries"
9521 # For Solaris; some versions of Sun CC require a space after -R and
9522 # others require no space. Words are not sufficient . . . .
9523 case "`(uname -sr) 2>/dev/null`" in
9524 "SunOS 5"*)
9525 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
9526 echo "configure:9527: checking whether -R must be followed by a space" >&5
9527 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
9528 cat > conftest.$ac_ext <<EOF
9529 #line 9530 "configure"
9530 #include "confdefs.h"
9531
9532 int main() {
9533
9534 ; return 0; }
9535 EOF
9536 if { (eval echo configure:9537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9537 rm -rf conftest*
9538 ac_R_nospace=yes
9539 else
9540 echo "configure: failed program was:" >&5
9541 cat conftest.$ac_ext >&5
9542 rm -rf conftest*
9543 ac_R_nospace=no
9544 fi
9545 rm -f conftest*
9546 if test $ac_R_nospace = yes; then
9547 echo "$ac_t""no" 1>&6
9548 X_LIBS="$X_LIBS -R$x_libraries"
9549 else
9550 LIBS="$ac_xsave_LIBS -R $x_libraries"
9551 cat > conftest.$ac_ext <<EOF
9552 #line 9553 "configure"
9553 #include "confdefs.h"
9554
9555 int main() {
9556
9557 ; return 0; }
9558 EOF
9559 if { (eval echo configure:9560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9560 rm -rf conftest*
9561 ac_R_space=yes
9562 else
9563 echo "configure: failed program was:" >&5
9564 cat conftest.$ac_ext >&5
9565 rm -rf conftest*
9566 ac_R_space=no
9567 fi
9568 rm -f conftest*
9569 if test $ac_R_space = yes; then
9570 echo "$ac_t""yes" 1>&6
9571 X_LIBS="$X_LIBS -R $x_libraries"
9572 else
9573 echo "$ac_t""neither works" 1>&6
9574 fi
9575 fi
9576 LIBS="$ac_xsave_LIBS"
9577 esac
9578 fi
9579
9580 # Check for system-dependent libraries X programs must link with.
9581 # Do this before checking for the system-independent R6 libraries
9582 # (-lICE), since we may need -lsocket or whatever for X linking.
9583
9584 if test "$ISC" = yes; then
9585 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9586 else
9587 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
9588 # libraries were built with DECnet support. And karl@cs.umb.edu says
9589 # the Alpha needs dnet_stub (dnet does not exist).
9590 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
9591 echo "configure:9592: checking for dnet_ntoa in -ldnet" >&5
9592 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9593 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9594 echo $ac_n "(cached) $ac_c" 1>&6
9595 else
9596 ac_save_LIBS="$LIBS"
9597 LIBS="-ldnet $LIBS"
9598 cat > conftest.$ac_ext <<EOF
9599 #line 9600 "configure"
9600 #include "confdefs.h"
9601 /* Override any gcc2 internal prototype to avoid an error. */
9602 /* We use char because int might match the return type of a gcc2
9603 builtin and then its argument prototype would still apply. */
9604 char dnet_ntoa();
9605
9606 int main() {
9607 dnet_ntoa()
9608 ; return 0; }
9609 EOF
9610 if { (eval echo configure:9611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9611 rm -rf conftest*
9612 eval "ac_cv_lib_$ac_lib_var=yes"
9613 else
9614 echo "configure: failed program was:" >&5
9615 cat conftest.$ac_ext >&5
9616 rm -rf conftest*
9617 eval "ac_cv_lib_$ac_lib_var=no"
9618 fi
9619 rm -f conftest*
9620 LIBS="$ac_save_LIBS"
9621
9622 fi
9623 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9624 echo "$ac_t""yes" 1>&6
9625 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9626 else
9627 echo "$ac_t""no" 1>&6
9628 fi
9629
9630 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9631 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
9632 echo "configure:9633: checking for dnet_ntoa in -ldnet_stub" >&5
9633 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9634 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9635 echo $ac_n "(cached) $ac_c" 1>&6
9636 else
9637 ac_save_LIBS="$LIBS"
9638 LIBS="-ldnet_stub $LIBS"
9639 cat > conftest.$ac_ext <<EOF
9640 #line 9641 "configure"
9641 #include "confdefs.h"
9642 /* Override any gcc2 internal prototype to avoid an error. */
9643 /* We use char because int might match the return type of a gcc2
9644 builtin and then its argument prototype would still apply. */
9645 char dnet_ntoa();
9646
9647 int main() {
9648 dnet_ntoa()
9649 ; return 0; }
9650 EOF
9651 if { (eval echo configure:9652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9652 rm -rf conftest*
9653 eval "ac_cv_lib_$ac_lib_var=yes"
9654 else
9655 echo "configure: failed program was:" >&5
9656 cat conftest.$ac_ext >&5
9657 rm -rf conftest*
9658 eval "ac_cv_lib_$ac_lib_var=no"
9659 fi
9660 rm -f conftest*
9661 LIBS="$ac_save_LIBS"
9662
9663 fi
9664 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9665 echo "$ac_t""yes" 1>&6
9666 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9667 else
9668 echo "$ac_t""no" 1>&6
9669 fi
9670
9671 fi
9672
9673 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9674 # to get the SysV transport functions.
9675 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
9676 # needs -lnsl.
9677 # The nsl library prevents programs from opening the X display
9678 # on Irix 5.2, according to dickey@clark.net.
9679 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
9680 echo "configure:9681: checking for gethostbyname" >&5
9681 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
9682 echo $ac_n "(cached) $ac_c" 1>&6
9683 else
9684 cat > conftest.$ac_ext <<EOF
9685 #line 9686 "configure"
9686 #include "confdefs.h"
9687 /* System header to define __stub macros and hopefully few prototypes,
9688 which can conflict with char gethostbyname(); below. */
9689 #include <assert.h>
9690 /* Override any gcc2 internal prototype to avoid an error. */
9691 /* We use char because int might match the return type of a gcc2
9692 builtin and then its argument prototype would still apply. */
9693 char gethostbyname();
9694
9695 int main() {
9696
9697 /* The GNU C library defines this for functions which it implements
9698 to always fail with ENOSYS. Some functions are actually named
9699 something starting with __ and the normal name is an alias. */
9700 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
9701 choke me
9702 #else
9703 gethostbyname();
9704 #endif
9705
9706 ; return 0; }
9707 EOF
9708 if { (eval echo configure:9709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9709 rm -rf conftest*
9710 eval "ac_cv_func_gethostbyname=yes"
9711 else
9712 echo "configure: failed program was:" >&5
9713 cat conftest.$ac_ext >&5
9714 rm -rf conftest*
9715 eval "ac_cv_func_gethostbyname=no"
9716 fi
9717 rm -f conftest*
9718 fi
9719
9720 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
9721 echo "$ac_t""yes" 1>&6
9722 :
9723 else
9724 echo "$ac_t""no" 1>&6
9725 fi
9726
9727 if test $ac_cv_func_gethostbyname = no; then
9728 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
9729 echo "configure:9730: checking for gethostbyname in -lnsl" >&5
9730 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
9731 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9732 echo $ac_n "(cached) $ac_c" 1>&6
9733 else
9734 ac_save_LIBS="$LIBS"
9735 LIBS="-lnsl $LIBS"
9736 cat > conftest.$ac_ext <<EOF
9737 #line 9738 "configure"
9738 #include "confdefs.h"
9739 /* Override any gcc2 internal prototype to avoid an error. */
9740 /* We use char because int might match the return type of a gcc2
9741 builtin and then its argument prototype would still apply. */
9742 char gethostbyname();
9743
9744 int main() {
9745 gethostbyname()
9746 ; return 0; }
9747 EOF
9748 if { (eval echo configure:9749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9749 rm -rf conftest*
9750 eval "ac_cv_lib_$ac_lib_var=yes"
9751 else
9752 echo "configure: failed program was:" >&5
9753 cat conftest.$ac_ext >&5
9754 rm -rf conftest*
9755 eval "ac_cv_lib_$ac_lib_var=no"
9756 fi
9757 rm -f conftest*
9758 LIBS="$ac_save_LIBS"
9759
9760 fi
9761 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9762 echo "$ac_t""yes" 1>&6
9763 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9764 else
9765 echo "$ac_t""no" 1>&6
9766 fi
9767
9768 fi
9769
9770 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9771 # socket/setsockopt and other routines are undefined under SCO ODT
9772 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9773 # on later versions), says simon@lia.di.epfl.ch: it contains
9774 # gethostby* variants that don't use the nameserver (or something).
9775 # -lsocket must be given before -lnsl if both are needed.
9776 # We assume that if connect needs -lnsl, so does gethostbyname.
9777 echo $ac_n "checking for connect""... $ac_c" 1>&6
9778 echo "configure:9779: checking for connect" >&5
9779 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
9780 echo $ac_n "(cached) $ac_c" 1>&6
9781 else
9782 cat > conftest.$ac_ext <<EOF
9783 #line 9784 "configure"
9784 #include "confdefs.h"
9785 /* System header to define __stub macros and hopefully few prototypes,
9786 which can conflict with char connect(); below. */
9787 #include <assert.h>
9788 /* Override any gcc2 internal prototype to avoid an error. */
9789 /* We use char because int might match the return type of a gcc2
9790 builtin and then its argument prototype would still apply. */
9791 char connect();
9792
9793 int main() {
9794
9795 /* The GNU C library defines this for functions which it implements
9796 to always fail with ENOSYS. Some functions are actually named
9797 something starting with __ and the normal name is an alias. */
9798 #if defined (__stub_connect) || defined (__stub___connect)
9799 choke me
9800 #else
9801 connect();
9802 #endif
9803
9804 ; return 0; }
9805 EOF
9806 if { (eval echo configure:9807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9807 rm -rf conftest*
9808 eval "ac_cv_func_connect=yes"
9809 else
9810 echo "configure: failed program was:" >&5
9811 cat conftest.$ac_ext >&5
9812 rm -rf conftest*
9813 eval "ac_cv_func_connect=no"
9814 fi
9815 rm -f conftest*
9816 fi
9817
9818 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
9819 echo "$ac_t""yes" 1>&6
9820 :
9821 else
9822 echo "$ac_t""no" 1>&6
9823 fi
9824
9825 if test $ac_cv_func_connect = no; then
9826 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
9827 echo "configure:9828: checking for connect in -lsocket" >&5
9828 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
9829 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9830 echo $ac_n "(cached) $ac_c" 1>&6
9831 else
9832 ac_save_LIBS="$LIBS"
9833 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9834 cat > conftest.$ac_ext <<EOF
9835 #line 9836 "configure"
9836 #include "confdefs.h"
9837 /* Override any gcc2 internal prototype to avoid an error. */
9838 /* We use char because int might match the return type of a gcc2
9839 builtin and then its argument prototype would still apply. */
9840 char connect();
9841
9842 int main() {
9843 connect()
9844 ; return 0; }
9845 EOF
9846 if { (eval echo configure:9847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9847 rm -rf conftest*
9848 eval "ac_cv_lib_$ac_lib_var=yes"
9849 else
9850 echo "configure: failed program was:" >&5
9851 cat conftest.$ac_ext >&5
9852 rm -rf conftest*
9853 eval "ac_cv_lib_$ac_lib_var=no"
9854 fi
9855 rm -f conftest*
9856 LIBS="$ac_save_LIBS"
9857
9858 fi
9859 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9860 echo "$ac_t""yes" 1>&6
9861 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9862 else
9863 echo "$ac_t""no" 1>&6
9864 fi
9865
9866 fi
9867
9868 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
9869 echo $ac_n "checking for remove""... $ac_c" 1>&6
9870 echo "configure:9871: checking for remove" >&5
9871 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
9872 echo $ac_n "(cached) $ac_c" 1>&6
9873 else
9874 cat > conftest.$ac_ext <<EOF
9875 #line 9876 "configure"
9876 #include "confdefs.h"
9877 /* System header to define __stub macros and hopefully few prototypes,
9878 which can conflict with char remove(); below. */
9879 #include <assert.h>
9880 /* Override any gcc2 internal prototype to avoid an error. */
9881 /* We use char because int might match the return type of a gcc2
9882 builtin and then its argument prototype would still apply. */
9883 char remove();
9884
9885 int main() {
9886
9887 /* The GNU C library defines this for functions which it implements
9888 to always fail with ENOSYS. Some functions are actually named
9889 something starting with __ and the normal name is an alias. */
9890 #if defined (__stub_remove) || defined (__stub___remove)
9891 choke me
9892 #else
9893 remove();
9894 #endif
9895
9896 ; return 0; }
9897 EOF
9898 if { (eval echo configure:9899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9899 rm -rf conftest*
9900 eval "ac_cv_func_remove=yes"
9901 else
9902 echo "configure: failed program was:" >&5
9903 cat conftest.$ac_ext >&5
9904 rm -rf conftest*
9905 eval "ac_cv_func_remove=no"
9906 fi
9907 rm -f conftest*
9908 fi
9909
9910 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
9911 echo "$ac_t""yes" 1>&6
9912 :
9913 else
9914 echo "$ac_t""no" 1>&6
9915 fi
9916
9917 if test $ac_cv_func_remove = no; then
9918 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
9919 echo "configure:9920: checking for remove in -lposix" >&5
9920 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
9921 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9922 echo $ac_n "(cached) $ac_c" 1>&6
9923 else
9924 ac_save_LIBS="$LIBS"
9925 LIBS="-lposix $LIBS"
9926 cat > conftest.$ac_ext <<EOF
9927 #line 9928 "configure"
9928 #include "confdefs.h"
9929 /* Override any gcc2 internal prototype to avoid an error. */
9930 /* We use char because int might match the return type of a gcc2
9931 builtin and then its argument prototype would still apply. */
9932 char remove();
9933
9934 int main() {
9935 remove()
9936 ; return 0; }
9937 EOF
9938 if { (eval echo configure:9939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9939 rm -rf conftest*
9940 eval "ac_cv_lib_$ac_lib_var=yes"
9941 else
9942 echo "configure: failed program was:" >&5
9943 cat conftest.$ac_ext >&5
9944 rm -rf conftest*
9945 eval "ac_cv_lib_$ac_lib_var=no"
9946 fi
9947 rm -f conftest*
9948 LIBS="$ac_save_LIBS"
9949
9950 fi
9951 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9952 echo "$ac_t""yes" 1>&6
9953 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9954 else
9955 echo "$ac_t""no" 1>&6
9956 fi
9957
9958 fi
9959
9960 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9961 echo $ac_n "checking for shmat""... $ac_c" 1>&6
9962 echo "configure:9963: checking for shmat" >&5
9963 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
9964 echo $ac_n "(cached) $ac_c" 1>&6
9965 else
9966 cat > conftest.$ac_ext <<EOF
9967 #line 9968 "configure"
9968 #include "confdefs.h"
9969 /* System header to define __stub macros and hopefully few prototypes,
9970 which can conflict with char shmat(); below. */
9971 #include <assert.h>
9972 /* Override any gcc2 internal prototype to avoid an error. */
9973 /* We use char because int might match the return type of a gcc2
9974 builtin and then its argument prototype would still apply. */
9975 char shmat();
9976
9977 int main() {
9978
9979 /* The GNU C library defines this for functions which it implements
9980 to always fail with ENOSYS. Some functions are actually named
9981 something starting with __ and the normal name is an alias. */
9982 #if defined (__stub_shmat) || defined (__stub___shmat)
9983 choke me
9984 #else
9985 shmat();
9986 #endif
9987
9988 ; return 0; }
9989 EOF
9990 if { (eval echo configure:9991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9991 rm -rf conftest*
9992 eval "ac_cv_func_shmat=yes"
9993 else
9994 echo "configure: failed program was:" >&5
9995 cat conftest.$ac_ext >&5
9996 rm -rf conftest*
9997 eval "ac_cv_func_shmat=no"
9998 fi
9999 rm -f conftest*
10000 fi
10001
10002 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
10003 echo "$ac_t""yes" 1>&6
10004 :
10005 else
10006 echo "$ac_t""no" 1>&6
10007 fi
10008
10009 if test $ac_cv_func_shmat = no; then
10010 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
10011 echo "configure:10012: checking for shmat in -lipc" >&5
10012 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
10013 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10014 echo $ac_n "(cached) $ac_c" 1>&6
10015 else
10016 ac_save_LIBS="$LIBS"
10017 LIBS="-lipc $LIBS"
10018 cat > conftest.$ac_ext <<EOF
10019 #line 10020 "configure"
10020 #include "confdefs.h"
10021 /* Override any gcc2 internal prototype to avoid an error. */
10022 /* We use char because int might match the return type of a gcc2
10023 builtin and then its argument prototype would still apply. */
10024 char shmat();
10025
10026 int main() {
10027 shmat()
10028 ; return 0; }
10029 EOF
10030 if { (eval echo configure:10031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10031 rm -rf conftest*
10032 eval "ac_cv_lib_$ac_lib_var=yes"
10033 else
10034 echo "configure: failed program was:" >&5
10035 cat conftest.$ac_ext >&5
10036 rm -rf conftest*
10037 eval "ac_cv_lib_$ac_lib_var=no"
10038 fi
10039 rm -f conftest*
10040 LIBS="$ac_save_LIBS"
10041
10042 fi
10043 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10044 echo "$ac_t""yes" 1>&6
10045 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10046 else
10047 echo "$ac_t""no" 1>&6
10048 fi
10049
10050 fi
10051 fi
10052
10053 # Check for libraries that X11R6 Xt/Xaw programs need.
10054 ac_save_LDFLAGS="$LDFLAGS"
10055 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10056 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10057 # check for ICE first), but we must link in the order -lSM -lICE or
10058 # we get undefined symbols. So assume we have SM if we have ICE.
10059 # These have to be linked with before -lX11, unlike the other
10060 # libraries we check for below, so use a different variable.
10061 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10062 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10063 echo "configure:10064: checking for IceConnectionNumber in -lICE" >&5
10064 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10065 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10066 echo $ac_n "(cached) $ac_c" 1>&6
10067 else
10068 ac_save_LIBS="$LIBS"
10069 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10070 cat > conftest.$ac_ext <<EOF
10071 #line 10072 "configure"
10072 #include "confdefs.h"
10073 /* Override any gcc2 internal prototype to avoid an error. */
10074 /* We use char because int might match the return type of a gcc2
10075 builtin and then its argument prototype would still apply. */
10076 char IceConnectionNumber();
10077
10078 int main() {
10079 IceConnectionNumber()
10080 ; return 0; }
10081 EOF
10082 if { (eval echo configure:10083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10083 rm -rf conftest*
10084 eval "ac_cv_lib_$ac_lib_var=yes"
10085 else
10086 echo "configure: failed program was:" >&5
10087 cat conftest.$ac_ext >&5
10088 rm -rf conftest*
10089 eval "ac_cv_lib_$ac_lib_var=no"
10090 fi
10091 rm -f conftest*
10092 LIBS="$ac_save_LIBS"
10093
10094 fi
10095 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10096 echo "$ac_t""yes" 1>&6
10097 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10098 else
10099 echo "$ac_t""no" 1>&6
10100 fi
10101
10102 LDFLAGS="$ac_save_LDFLAGS"
10103
10104 fi
10105
10106 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10107 LDFLAGS="$LDFLAGS $X_LIBS"
10108
10109 if test "$wxUSE_MOTIF" = 1; then
10110 if test "$no_x" = "yes"; then
10111 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10112 fi
10113
10114 GUI_TK_LIBRARY="$X_LIBS"
10115 TOOLKIT_INCLUDE="$X_CFLAGS"
10116
10117 AFMINSTALL=afminstall
10118
10119
10120 COMPILED_X_PROGRAM=0
10121
10122 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10123 echo "configure:10124: checking for Motif/Lesstif headers" >&5
10124
10125 ac_find_includes=
10126 for ac_dir in $SEARCH_INCLUDE;
10127 do
10128 if test -f "$ac_dir/Xm/Xm.h"; then
10129 ac_find_includes=$ac_dir
10130 break
10131 fi
10132 done
10133
10134 if test "$ac_find_includes" != "" ; then
10135 echo "$ac_t""found $ac_find_includes" 1>&6
10136 else
10137 cat > conftest.$ac_ext <<EOF
10138 #line 10139 "configure"
10139 #include "confdefs.h"
10140
10141 #include <Xm/Xm.h>
10142
10143 int main() {
10144
10145 int version;
10146
10147 version = xmUseVersion;
10148
10149 ; return 0; }
10150 EOF
10151 if { (eval echo configure:10152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10152 rm -rf conftest*
10153
10154 echo "$ac_t""found in default search path" 1>&6
10155 COMPILED_X_PROGRAM=1
10156
10157 else
10158 echo "configure: failed program was:" >&5
10159 cat conftest.$ac_ext >&5
10160 rm -rf conftest*
10161
10162 echo "$ac_t""no" 1>&6
10163 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10164
10165
10166 fi
10167 rm -f conftest*
10168 fi
10169
10170 if test "$COMPILED_X_PROGRAM" = 0; then
10171 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10172 echo "configure:10173: checking for Motif/Lesstif library" >&5
10173
10174 ac_find_libraries=
10175 for ac_dir in $SEARCH_LIB;
10176 do
10177 for ac_extension in a so sl; do
10178 if test -f "$ac_dir/libXm.$ac_extension"; then
10179 ac_find_libraries=$ac_dir
10180 break 2
10181 fi
10182 done
10183 done
10184
10185 if test "$ac_find_libraries" != "" ; then
10186
10187 ac_path_to_include=$ac_find_includes
10188 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
10189 result=$?
10190 if test $result = 0; then
10191 ac_path_to_include=""
10192 else
10193 ac_path_to_include="-I$ac_find_includes"
10194 fi
10195
10196
10197 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
10198 result=$?
10199 if test $result = 0; then
10200 ac_path_to_link=""
10201 else
10202 ac_path_to_link="-L$ac_find_libraries"
10203 fi
10204
10205
10206 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $ac_path_to_link"
10207 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE $ac_path_to_include"
10208 echo "$ac_t""found at $ac_find_libraries" 1>&6
10209 else
10210 cat > conftest.$ac_ext <<EOF
10211 #line 10212 "configure"
10212 #include "confdefs.h"
10213
10214 #include <Xm/Xm.h>
10215
10216 int main() {
10217
10218 int version;
10219
10220 version = xmUseVersion;
10221
10222 ; return 0; }
10223 EOF
10224 if { (eval echo configure:10225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10225 rm -rf conftest*
10226
10227 echo "$ac_t""found in default search path" 1>&6
10228 COMPILED_X_PROGRAM=1
10229
10230 else
10231 echo "configure: failed program was:" >&5
10232 cat conftest.$ac_ext >&5
10233 rm -rf conftest*
10234
10235 echo "$ac_t""no" 1>&6
10236 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10237
10238
10239 fi
10240 rm -f conftest*
10241 fi
10242 fi
10243
10244
10245 XPM_LINK=""
10246 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10247 echo "configure:10248: checking for Xpm library" >&5
10248
10249 ac_find_libraries=
10250 for ac_dir in $SEARCH_LIB;
10251 do
10252 for ac_extension in a so sl; do
10253 if test -f "$ac_dir/libXpm.$ac_extension"; then
10254 ac_find_libraries=$ac_dir
10255 break 2
10256 fi
10257 done
10258 done
10259
10260 if test "$ac_find_libraries" != "" ; then
10261
10262 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
10263 result=$?
10264 if test $result = 0; then
10265 ac_path_to_link=""
10266 else
10267 ac_path_to_link="-L$ac_find_libraries"
10268 fi
10269
10270 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $ac_path_to_link"
10271 XPM_LINK="-lXpm "
10272 cat >> confdefs.h <<\EOF
10273 #define wxHAVE_LIB_XPM 1
10274 EOF
10275
10276 echo "$ac_t""found at $ac_find_libraries" 1>&6
10277 else
10278 cat > conftest.$ac_ext <<EOF
10279 #line 10280 "configure"
10280 #include "confdefs.h"
10281
10282 #include <X11/xpm.h>
10283
10284 int main() {
10285
10286 int version;
10287
10288 version = XpmLibraryVersion();
10289
10290 ; return 0; }
10291 EOF
10292 if { (eval echo configure:10293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10293 rm -rf conftest*
10294
10295 XPM_LINK="-lXpm "
10296 cat >> confdefs.h <<\EOF
10297 #define wxHAVE_LIB_XPM 1
10298 EOF
10299
10300 echo "$ac_t""found in default search path" 1>&6
10301 COMPILED_X_PROGRAM=0
10302
10303 else
10304 echo "configure: failed program was:" >&5
10305 cat conftest.$ac_ext >&5
10306 rm -rf conftest*
10307
10308 echo "$ac_t""no" 1>&6
10309 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10310
10311
10312 fi
10313 rm -f conftest*
10314 fi
10315
10316 GUI_TK_LINK="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
10317 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GUI_TK_LINK"
10318 TOOLKIT=MOTIF
10319 GUIDIST=MOTIF_DIST
10320 fi
10321
10322 if test "$wxUSE_MAC" = 1; then
10323 TOOLKIT=MAC
10324 GUIDIST=MACX_DIST
10325 fi
10326
10327 if test "$wxUSE_PM" = 1; then
10328 TOOLKIT=PM
10329 GUIDIST=GTK_DIST
10330 fi
10331
10332 if test "$TOOLKIT" != "PM" ; then
10333 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10334 else
10335 TOOLKIT_DIR="os2"
10336 fi
10337
10338 TOOLKIT_NAME="${TOOLKIT_DIR}"
10339
10340 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
10341
10342 if test "$TOOLKIT_NAME" = "motif"; then
10343 TOOLKIT_VPATH="${TOOLKIT_VPATH}${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10344 fi
10345
10346 if test "$wxUSE_UNIVERSAL" = "yes"; then
10347 TOOLKIT_NAME="${TOOLKIT_NAME}univ"
10348 UNIV_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
10349 TOOLKIT_VPATH="${UNIV_VPATH}${PATH_IFS}${TOOLKIT_VPATH}"
10350 SETUPH_DIR="univ"
10351 else
10352 SETUPH_DIR="${TOOLKIT_DIR}"
10353 fi
10354
10355 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10356 TOOLKIT_NAME="${TOOLKIT_NAME}d"
10357 fi
10358
10359 TOOLKIT_DEF="-D__WX${TOOLKIT}__"
10360 if test "$wxUSE_UNIVERSAL" = "yes"; then
10361 TOOLKIT_DEF="${TOOLKIT_DEF} -D__WXUNIVERSAL__"
10362 fi
10363
10364 WX_LIBRARY="wx_${TOOLKIT_NAME}"
10365
10366 if test "$wxUSE_UNIVERSAL" = "yes"; then
10367 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10368 else
10369 ALL_OBJECTS="\$(GUIOBJS)"
10370 fi
10371
10372 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10373
10374 if test "$TOOLKIT" != "MSW"; then
10375 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
10376 fi
10377
10378 if test "$wxUSE_HTML" = "yes"; then
10379 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
10380 fi
10381
10382 if test "$TOOLKIT" != "MSW"; then
10383 if test "$wxUSE_ODBC" = "yes" ; then
10384 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
10385 fi
10386 fi
10387
10388 if test "$wxUSE_LIBJPEG" = "yes" ; then
10389 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
10390 fi
10391 if test "$wxUSE_LIBTIFF" = "yes" ; then
10392 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
10393 fi
10394 if test "$wxUSE_LIBPNG" = "yes" ; then
10395 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
10396 fi
10397 if test "$wxUSE_ZLIB" = "yes" ; then
10398 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
10399 fi
10400 if test "$wxUSE_FREETYPE" = "yes" ; then
10401 ALL_OBJECTS="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10402 fi
10403
10404 if test "$wxUSE_UNIVERSAL" = "yes"; then
10405 ALL_DEPFILES="\$(GUI_LOWLEVEL_DEPS) \$(UNIVDEPS)"
10406 else
10407 ALL_DEPFILES="\$(GUIDEPS)"
10408 fi
10409
10410 ALL_DEPFILES="${ALL_DEPFILES} \$(COMMONDEPS) \$(GENERICDEPS)"
10411
10412 if test "$TOOLKIT" != "MSW"; then
10413 ALL_DEPFILES="${ALL_DEPFILES} \$(UNIXDEPS)"
10414 fi
10415
10416 if test "$wxUSE_HTML" = "yes"; then
10417 ALL_DEPFILES="${ALL_DEPFILES} \$(HTMLDEPS)"
10418 fi
10419
10420 PORT_FILES="src/\$(TOOLKITDIR)/files.lst"
10421 if test "$wxUSE_UNIVERSAL" = "yes"; then
10422 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10423 fi
10424 RPM_FILES="src/\$(TOOLKITDIR)/rpmfiles.lst"
10425 RPM_SPEC="wx\$(TOOLKIT).spec"
10426
10427 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
10428 DISTDIR="wx\$(TOOLKIT)"
10429 else
10430 USE_GUI=0
10431
10432 TOOLKIT_DIR="base"
10433
10434 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10435 TOOLKIT_NAME="${TOOLKIT_DIR}d"
10436 else
10437 TOOLKIT_NAME="${TOOLKIT_DIR}"
10438 fi
10439
10440 TOOLKIT_DEF="-D__WXBASE__"
10441
10442 ALL_OBJECTS="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
10443 ALL_DEPFILES="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
10444
10445 if test "$wxUSE_ZLIB" = "yes" ; then
10446 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
10447 fi
10448
10449 WX_LIBRARY="wx_${TOOLKIT_NAME}"
10450
10451 PORT_FILES="src/files.lst"
10452 RPM_FILES="src/rpmfiles.lst"
10453 RPM_SPEC="wxBase.spec"
10454
10455 GUIDIST="BASE_DIST"
10456 DISTDIR="wxBase"
10457 fi
10458
10459 WX_LIBRARY_NAME="lib${WX_LIBRARY}.la"
10460 WX_LIBRARY_NAME_GL="lib${WX_LIBRARY}_gl.la"
10461
10462 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
10463 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY}_gl.a"
10464
10465 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10466 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10467
10468 WX_LIBRARY_LINK1="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
10469 WX_LIBRARY_LINK2="lib${WX_LIBRARY}-${WX_RELEASE}.so"
10470 WX_LIBRARY_LINK3="lib${WX_LIBRARY}.so"
10471 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
10472 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
10473 WX_LIBRARY_LINK3_GL="lib${WX_LIBRARY}_gl.so"
10474
10475 SHARED_LD=
10476 PIC_FLAG=
10477 WX_ALL=
10478 WX_ALL_INSTALLED=
10479 BURNT_LIBRARY_NAME=
10480 WX_TARGET_LIBRARY_SONAME=
10481
10482
10483 if test "$wxUSE_SHARED" = "yes"; then
10484 case "${host}" in
10485 *-hp-hpux* )
10486 if test "$GCC" = yes ; then
10487 SHARED_LD="${CC} -shared -fPIC -o"
10488 PIC_FLAG="-fPIC"
10489 else
10490 LDFLAGS="-L/usr/lib"
10491
10492 SHARED_LD="${CXX} -b -o"
10493 PIC_FLAG="+Z"
10494 fi
10495 WX_LIBRARY_NAME_SHARED="libwx_${TOOLKIT_NAME}.sl"
10496 WX_LIBRARY_NAME_SHARED_GL="libwx_${TOOLKIT_NAME}_gl.sl"
10497 if test "$wxUSE_OPENGL" = "yes"; then
10498 WX_ALL_INSTALLED="preinstall_gl"
10499 WX_ALL="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
10500 else
10501 WX_ALL="${WX_LIBRARY_NAME_SHARED}"
10502 fi
10503 ;;
10504
10505 *-*-linux* )
10506 SHARED_LD="${CC} -shared -o"
10507 PIC_FLAG="-fPIC"
10508 if test "$wxUSE_BURNT_NAME" = "yes" ; then
10509 BURNT_LIBRARY_NAME="-Wl,-soname,${WX_LIBRARY_LINK1}"
10510 BURNT_LIBRARY_NAME_GL="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
10511 WX_TARGET_LIBRARY_SONAME="-Wl,-soname,\$(TARGETLIB_LINK1)"
10512 fi
10513 if test "$wxUSE_OPENGL" = "yes"; then
10514 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10515 WX_ALL="CREATE_LINKS CREATE_LINKS_GL"
10516 else
10517 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
10518 WX_ALL="CREATE_LINKS"
10519 fi
10520 ;;
10521 *-*-irix5* | *-*-irix6* )
10522 if test "$GCC" = yes ; then
10523 SHARED_LD="${CC} -shared -o"
10524 PIC_FLAG="-fPIC"
10525 else
10526 SHARED_LD="${CXX} -shared -o"
10527 fi
10528 if test "$wxUSE_OPENGL" = "yes"; then
10529 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10530 WX_ALL="CREATE_LINKS CREATE_LINKS_GL"
10531 else
10532 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
10533 WX_ALL="CREATE_LINKS"
10534 fi
10535 ;;
10536 *-*-solaris2* )
10537 if test "$GCC" = yes ; then
10538 SHARED_LD="${CC} -shared -o"
10539 PIC_FLAG="-fPIC"
10540
10541 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
10542 else
10543 SHARED_LD="${CXX} -G -o"
10544 PIC_FLAG="-KPIC"
10545 fi
10546 if test "$wxUSE_OPENGL" = "yes"; then
10547 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10548 WX_ALL="CREATE_LINKS CREATE_LINKS_GL"
10549 else
10550 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
10551 WX_ALL="CREATE_LINKS"
10552 fi
10553 ;;
10554 *-*-sunos4* )
10555 SHARED_LD="${CC} -shared -o"
10556 PIC_FLAG="-fPIC"
10557 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
10558 WX_ALL="CREATE_LINKS"
10559 ;;
10560 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* )
10561 SHARED_LD="${CC} -shared -o"
10562 PIC_FLAG="-fPIC"
10563 if test "$wxUSE_OPENGL" = "yes"; then
10564 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10565 WX_ALL="CREATE_LINKS CREATE_LINKS_GL"
10566 else
10567 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
10568 WX_ALL="CREATE_LINKS"
10569 fi
10570 ;;
10571 *-*-darwin* )
10572 SHARED_LD="${CXX} -dynamiclib -o"
10573 PIC_FLAG="-dynamic -fPIC"
10574 if test "$wxUSE_OPENGL" = "yes"; then
10575 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10576 WX_ALL="CREATE_LINKS CREATE_LINKS_GL"
10577 else
10578 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
10579 WX_ALL="CREATE_LINKS"
10580 fi
10581 WX_ALL="${WX_ALL} ./lib/lib${WX_LIBRARY}-${WX_RELEASE}.r"
10582 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10583 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10584 WX_LIBRARY_LINK1="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}"
10585 WX_LIBRARY_LINK2="lib${WX_LIBRARY}-${WX_RELEASE}.dylib"
10586 WX_LIBRARY_LINK3="lib${WX_LIBRARY}.dylib"
10587 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}"
10588 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib"
10589 WX_LIBRARY_LINK3_GL="lib${WX_LIBRARY}_gl.dylib"
10590 ;;
10591 *-*-osf* )
10592 SHARED_LD="${CXX} -shared -o"
10593 PIC_FLAG="-fPIC"
10594 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
10595 WX_ALL="CREATE_LINKS"
10596 ;;
10597 *-*-dgux5* )
10598 SHARED_LD="${CXX} -shared -o"
10599 PIC_FLAG="-fPIC"
10600 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
10601 WX_ALL="CREATE_LINKS"
10602 ;;
10603 *-*-sysv5* )
10604 SHARED_LD="${CC} -shared -o"
10605 PIC_FLAG="-fPIC"
10606 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
10607 WX_ALL="CREATE_LINKS"
10608 ;;
10609 *-*-aix* )
10610 SHARED_LD="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
10611 WX_ALL=${WX_LIBRARY_NAME_SHARED}
10612 ;;
10613 *-*-cygwin* )
10614 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
10615 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
10616 if test "$wxUSE_OPENGL" = "yes"; then
10617 WX_ALL_INSTALLED="preinstall_gl"
10618 WX_ALL="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10619 else
10620 WX_ALL="${WX_LIBRARY_NAME_STATIC}"
10621 fi
10622 ;;
10623 *-*-mingw32* )
10624 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
10625 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
10626 if test "$wxUSE_OPENGL" = "yes"; then
10627 WX_ALL_INSTALLED="preinstall_gl"
10628 WX_ALL="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10629 else
10630 WX_ALL="${WX_LIBRARY_NAME_STATIC}"
10631 fi
10632 ;;
10633 *-pc-os2_emx )
10634 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
10635 WX_ALL="${WX_LIBRARY_NAME_STATIC}"
10636 ;;
10637 *-*-beos* )
10638 SHARED_LD="${LD} -shared -o"
10639 PIC_FLAG="-fPIC"
10640 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
10641 WX_ALL="CREATE_LINKS"
10642 ;;
10643 *)
10644 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
10645 esac
10646
10647 if test "x$WX_TARGET_LIBRARY" = "x"; then
10648 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
10649 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
10650 fi
10651 WX_TARGET_LIBRARY_TYPE="so"
10652 else
10653 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
10654 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
10655
10656 if test "$wxUSE_OPENGL" = "yes"; then
10657 WX_ALL_INSTALLED="preinstall_gl"
10658 WX_ALL="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10659 else
10660 WX_ALL="${WX_LIBRARY_NAME_STATIC}"
10661 fi
10662
10663 if test "$wxUSE_GUI" = "no"; then
10664 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
10665 fi
10666
10667 WX_TARGET_LIBRARY_TYPE="a"
10668 fi
10669
10670
10671 for ac_hdr in strings.h
10672 do
10673 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10674 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10675 echo "configure:10676: checking for $ac_hdr" >&5
10676 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10677 echo $ac_n "(cached) $ac_c" 1>&6
10678 else
10679 cat > conftest.$ac_ext <<EOF
10680 #line 10681 "configure"
10681 #include "confdefs.h"
10682 #include <$ac_hdr>
10683 EOF
10684 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10685 { (eval echo configure:10686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10686 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10687 if test -z "$ac_err"; then
10688 rm -rf conftest*
10689 eval "ac_cv_header_$ac_safe=yes"
10690 else
10691 echo "$ac_err" >&5
10692 echo "configure: failed program was:" >&5
10693 cat conftest.$ac_ext >&5
10694 rm -rf conftest*
10695 eval "ac_cv_header_$ac_safe=no"
10696 fi
10697 rm -f conftest*
10698 fi
10699 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10700 echo "$ac_t""yes" 1>&6
10701 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10702 cat >> confdefs.h <<EOF
10703 #define $ac_tr_hdr 1
10704 EOF
10705
10706 else
10707 echo "$ac_t""no" 1>&6
10708 fi
10709 done
10710
10711 for ac_hdr in stdlib.h
10712 do
10713 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10714 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10715 echo "configure:10716: checking for $ac_hdr" >&5
10716 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10717 echo $ac_n "(cached) $ac_c" 1>&6
10718 else
10719 cat > conftest.$ac_ext <<EOF
10720 #line 10721 "configure"
10721 #include "confdefs.h"
10722 #include <$ac_hdr>
10723 EOF
10724 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10725 { (eval echo configure:10726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10726 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10727 if test -z "$ac_err"; then
10728 rm -rf conftest*
10729 eval "ac_cv_header_$ac_safe=yes"
10730 else
10731 echo "$ac_err" >&5
10732 echo "configure: failed program was:" >&5
10733 cat conftest.$ac_ext >&5
10734 rm -rf conftest*
10735 eval "ac_cv_header_$ac_safe=no"
10736 fi
10737 rm -f conftest*
10738 fi
10739 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10740 echo "$ac_t""yes" 1>&6
10741 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10742 cat >> confdefs.h <<EOF
10743 #define $ac_tr_hdr 1
10744 EOF
10745
10746 else
10747 echo "$ac_t""no" 1>&6
10748 fi
10749 done
10750
10751 for ac_hdr in unistd.h
10752 do
10753 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10754 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10755 echo "configure:10756: checking for $ac_hdr" >&5
10756 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10757 echo $ac_n "(cached) $ac_c" 1>&6
10758 else
10759 cat > conftest.$ac_ext <<EOF
10760 #line 10761 "configure"
10761 #include "confdefs.h"
10762 #include <$ac_hdr>
10763 EOF
10764 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10765 { (eval echo configure:10766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10766 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10767 if test -z "$ac_err"; then
10768 rm -rf conftest*
10769 eval "ac_cv_header_$ac_safe=yes"
10770 else
10771 echo "$ac_err" >&5
10772 echo "configure: failed program was:" >&5
10773 cat conftest.$ac_ext >&5
10774 rm -rf conftest*
10775 eval "ac_cv_header_$ac_safe=no"
10776 fi
10777 rm -f conftest*
10778 fi
10779 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10780 echo "$ac_t""yes" 1>&6
10781 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10782 cat >> confdefs.h <<EOF
10783 #define $ac_tr_hdr 1
10784 EOF
10785
10786 else
10787 echo "$ac_t""no" 1>&6
10788 fi
10789 done
10790
10791 for ac_hdr in wchar.h
10792 do
10793 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10794 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10795 echo "configure:10796: checking for $ac_hdr" >&5
10796 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10797 echo $ac_n "(cached) $ac_c" 1>&6
10798 else
10799 cat > conftest.$ac_ext <<EOF
10800 #line 10801 "configure"
10801 #include "confdefs.h"
10802 #include <$ac_hdr>
10803 EOF
10804 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10805 { (eval echo configure:10806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10806 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10807 if test -z "$ac_err"; then
10808 rm -rf conftest*
10809 eval "ac_cv_header_$ac_safe=yes"
10810 else
10811 echo "$ac_err" >&5
10812 echo "configure: failed program was:" >&5
10813 cat conftest.$ac_ext >&5
10814 rm -rf conftest*
10815 eval "ac_cv_header_$ac_safe=no"
10816 fi
10817 rm -f conftest*
10818 fi
10819 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10820 echo "$ac_t""yes" 1>&6
10821 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10822 cat >> confdefs.h <<EOF
10823 #define $ac_tr_hdr 1
10824 EOF
10825
10826 else
10827 echo "$ac_t""no" 1>&6
10828 fi
10829 done
10830
10831 for ac_hdr in wcstr.h
10832 do
10833 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10834 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10835 echo "configure:10836: checking for $ac_hdr" >&5
10836 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10837 echo $ac_n "(cached) $ac_c" 1>&6
10838 else
10839 cat > conftest.$ac_ext <<EOF
10840 #line 10841 "configure"
10841 #include "confdefs.h"
10842 #include <$ac_hdr>
10843 EOF
10844 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10845 { (eval echo configure:10846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10846 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10847 if test -z "$ac_err"; then
10848 rm -rf conftest*
10849 eval "ac_cv_header_$ac_safe=yes"
10850 else
10851 echo "$ac_err" >&5
10852 echo "configure: failed program was:" >&5
10853 cat conftest.$ac_ext >&5
10854 rm -rf conftest*
10855 eval "ac_cv_header_$ac_safe=no"
10856 fi
10857 rm -f conftest*
10858 fi
10859 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10860 echo "$ac_t""yes" 1>&6
10861 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10862 cat >> confdefs.h <<EOF
10863 #define $ac_tr_hdr 1
10864 EOF
10865
10866 else
10867 echo "$ac_t""no" 1>&6
10868 fi
10869 done
10870
10871 for ac_hdr in fnmatch.h
10872 do
10873 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10874 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10875 echo "configure:10876: checking for $ac_hdr" >&5
10876 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10877 echo $ac_n "(cached) $ac_c" 1>&6
10878 else
10879 cat > conftest.$ac_ext <<EOF
10880 #line 10881 "configure"
10881 #include "confdefs.h"
10882 #include <$ac_hdr>
10883 EOF
10884 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10885 { (eval echo configure:10886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10886 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10887 if test -z "$ac_err"; then
10888 rm -rf conftest*
10889 eval "ac_cv_header_$ac_safe=yes"
10890 else
10891 echo "$ac_err" >&5
10892 echo "configure: failed program was:" >&5
10893 cat conftest.$ac_ext >&5
10894 rm -rf conftest*
10895 eval "ac_cv_header_$ac_safe=no"
10896 fi
10897 rm -f conftest*
10898 fi
10899 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10900 echo "$ac_t""yes" 1>&6
10901 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10902 cat >> confdefs.h <<EOF
10903 #define $ac_tr_hdr 1
10904 EOF
10905
10906 else
10907 echo "$ac_t""no" 1>&6
10908 fi
10909 done
10910
10911 for ac_hdr in iconv.h
10912 do
10913 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10914 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10915 echo "configure:10916: checking for $ac_hdr" >&5
10916 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10917 echo $ac_n "(cached) $ac_c" 1>&6
10918 else
10919 cat > conftest.$ac_ext <<EOF
10920 #line 10921 "configure"
10921 #include "confdefs.h"
10922 #include <$ac_hdr>
10923 EOF
10924 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10925 { (eval echo configure:10926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10926 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10927 if test -z "$ac_err"; then
10928 rm -rf conftest*
10929 eval "ac_cv_header_$ac_safe=yes"
10930 else
10931 echo "$ac_err" >&5
10932 echo "configure: failed program was:" >&5
10933 cat conftest.$ac_ext >&5
10934 rm -rf conftest*
10935 eval "ac_cv_header_$ac_safe=no"
10936 fi
10937 rm -f conftest*
10938 fi
10939 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10940 echo "$ac_t""yes" 1>&6
10941 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10942 cat >> confdefs.h <<EOF
10943 #define $ac_tr_hdr 1
10944 EOF
10945
10946 else
10947 echo "$ac_t""no" 1>&6
10948 fi
10949 done
10950
10951 for ac_hdr in langinfo.h
10952 do
10953 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10954 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10955 echo "configure:10956: checking for $ac_hdr" >&5
10956 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10957 echo $ac_n "(cached) $ac_c" 1>&6
10958 else
10959 cat > conftest.$ac_ext <<EOF
10960 #line 10961 "configure"
10961 #include "confdefs.h"
10962 #include <$ac_hdr>
10963 EOF
10964 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10965 { (eval echo configure:10966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10966 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10967 if test -z "$ac_err"; then
10968 rm -rf conftest*
10969 eval "ac_cv_header_$ac_safe=yes"
10970 else
10971 echo "$ac_err" >&5
10972 echo "configure: failed program was:" >&5
10973 cat conftest.$ac_ext >&5
10974 rm -rf conftest*
10975 eval "ac_cv_header_$ac_safe=no"
10976 fi
10977 rm -f conftest*
10978 fi
10979 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10980 echo "$ac_t""yes" 1>&6
10981 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10982 cat >> confdefs.h <<EOF
10983 #define $ac_tr_hdr 1
10984 EOF
10985
10986 else
10987 echo "$ac_t""no" 1>&6
10988 fi
10989 done
10990
10991
10992 if test "$wxUSE_GUI" = "yes"; then
10993 if test "$wxUSE_UNIX" = "yes"; then
10994 for ac_hdr in X11/XKBlib.h
10995 do
10996 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10997 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10998 echo "configure:10999: checking for $ac_hdr" >&5
10999 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11000 echo $ac_n "(cached) $ac_c" 1>&6
11001 else
11002 cat > conftest.$ac_ext <<EOF
11003 #line 11004 "configure"
11004 #include "confdefs.h"
11005 #include <$ac_hdr>
11006 EOF
11007 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11008 { (eval echo configure:11009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11009 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11010 if test -z "$ac_err"; then
11011 rm -rf conftest*
11012 eval "ac_cv_header_$ac_safe=yes"
11013 else
11014 echo "$ac_err" >&5
11015 echo "configure: failed program was:" >&5
11016 cat conftest.$ac_ext >&5
11017 rm -rf conftest*
11018 eval "ac_cv_header_$ac_safe=no"
11019 fi
11020 rm -f conftest*
11021 fi
11022 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11023 echo "$ac_t""yes" 1>&6
11024 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11025 cat >> confdefs.h <<EOF
11026 #define $ac_tr_hdr 1
11027 EOF
11028
11029 else
11030 echo "$ac_t""no" 1>&6
11031 fi
11032 done
11033
11034 fi
11035 fi
11036
11037
11038 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
11039 echo "configure:11040: checking for ANSI C header files" >&5
11040 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
11041 echo $ac_n "(cached) $ac_c" 1>&6
11042 else
11043 cat > conftest.$ac_ext <<EOF
11044 #line 11045 "configure"
11045 #include "confdefs.h"
11046 #include <stdlib.h>
11047 #include <stdarg.h>
11048 #include <string.h>
11049 #include <float.h>
11050 EOF
11051 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11052 { (eval echo configure:11053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11053 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11054 if test -z "$ac_err"; then
11055 rm -rf conftest*
11056 ac_cv_header_stdc=yes
11057 else
11058 echo "$ac_err" >&5
11059 echo "configure: failed program was:" >&5
11060 cat conftest.$ac_ext >&5
11061 rm -rf conftest*
11062 ac_cv_header_stdc=no
11063 fi
11064 rm -f conftest*
11065
11066 if test $ac_cv_header_stdc = yes; then
11067 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11068 cat > conftest.$ac_ext <<EOF
11069 #line 11070 "configure"
11070 #include "confdefs.h"
11071 #include <string.h>
11072 EOF
11073 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11074 egrep "memchr" >/dev/null 2>&1; then
11075 :
11076 else
11077 rm -rf conftest*
11078 ac_cv_header_stdc=no
11079 fi
11080 rm -f conftest*
11081
11082 fi
11083
11084 if test $ac_cv_header_stdc = yes; then
11085 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11086 cat > conftest.$ac_ext <<EOF
11087 #line 11088 "configure"
11088 #include "confdefs.h"
11089 #include <stdlib.h>
11090 EOF
11091 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11092 egrep "free" >/dev/null 2>&1; then
11093 :
11094 else
11095 rm -rf conftest*
11096 ac_cv_header_stdc=no
11097 fi
11098 rm -f conftest*
11099
11100 fi
11101
11102 if test $ac_cv_header_stdc = yes; then
11103 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11104 if test "$cross_compiling" = yes; then
11105 :
11106 else
11107 cat > conftest.$ac_ext <<EOF
11108 #line 11109 "configure"
11109 #include "confdefs.h"
11110 #include <ctype.h>
11111 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11112 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11113 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11114 int main () { int i; for (i = 0; i < 256; i++)
11115 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11116 exit (0); }
11117
11118 EOF
11119 if { (eval echo configure:11120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11120 then
11121 :
11122 else
11123 echo "configure: failed program was:" >&5
11124 cat conftest.$ac_ext >&5
11125 rm -fr conftest*
11126 ac_cv_header_stdc=no
11127 fi
11128 rm -fr conftest*
11129 fi
11130
11131 fi
11132 fi
11133
11134 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11135 if test $ac_cv_header_stdc = yes; then
11136 cat >> confdefs.h <<\EOF
11137 #define STDC_HEADERS 1
11138 EOF
11139
11140 fi
11141
11142 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11143 echo "configure:11144: checking for mode_t" >&5
11144 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11145 echo $ac_n "(cached) $ac_c" 1>&6
11146 else
11147 cat > conftest.$ac_ext <<EOF
11148 #line 11149 "configure"
11149 #include "confdefs.h"
11150 #include <sys/types.h>
11151 #if STDC_HEADERS
11152 #include <stdlib.h>
11153 #include <stddef.h>
11154 #endif
11155 EOF
11156 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11157 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
11158 rm -rf conftest*
11159 ac_cv_type_mode_t=yes
11160 else
11161 rm -rf conftest*
11162 ac_cv_type_mode_t=no
11163 fi
11164 rm -f conftest*
11165
11166 fi
11167 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11168 if test $ac_cv_type_mode_t = no; then
11169 cat >> confdefs.h <<\EOF
11170 #define mode_t int
11171 EOF
11172
11173 fi
11174
11175 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11176 echo "configure:11177: checking for off_t" >&5
11177 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11178 echo $ac_n "(cached) $ac_c" 1>&6
11179 else
11180 cat > conftest.$ac_ext <<EOF
11181 #line 11182 "configure"
11182 #include "confdefs.h"
11183 #include <sys/types.h>
11184 #if STDC_HEADERS
11185 #include <stdlib.h>
11186 #include <stddef.h>
11187 #endif
11188 EOF
11189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11190 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
11191 rm -rf conftest*
11192 ac_cv_type_off_t=yes
11193 else
11194 rm -rf conftest*
11195 ac_cv_type_off_t=no
11196 fi
11197 rm -f conftest*
11198
11199 fi
11200 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11201 if test $ac_cv_type_off_t = no; then
11202 cat >> confdefs.h <<\EOF
11203 #define off_t long
11204 EOF
11205
11206 fi
11207
11208 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11209 echo "configure:11210: checking for pid_t" >&5
11210 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11211 echo $ac_n "(cached) $ac_c" 1>&6
11212 else
11213 cat > conftest.$ac_ext <<EOF
11214 #line 11215 "configure"
11215 #include "confdefs.h"
11216 #include <sys/types.h>
11217 #if STDC_HEADERS
11218 #include <stdlib.h>
11219 #include <stddef.h>
11220 #endif
11221 EOF
11222 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11223 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
11224 rm -rf conftest*
11225 ac_cv_type_pid_t=yes
11226 else
11227 rm -rf conftest*
11228 ac_cv_type_pid_t=no
11229 fi
11230 rm -f conftest*
11231
11232 fi
11233 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
11234 if test $ac_cv_type_pid_t = no; then
11235 cat >> confdefs.h <<\EOF
11236 #define pid_t int
11237 EOF
11238
11239 fi
11240
11241 echo $ac_n "checking for size_t""... $ac_c" 1>&6
11242 echo "configure:11243: checking for size_t" >&5
11243 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
11244 echo $ac_n "(cached) $ac_c" 1>&6
11245 else
11246 cat > conftest.$ac_ext <<EOF
11247 #line 11248 "configure"
11248 #include "confdefs.h"
11249 #include <sys/types.h>
11250 #if STDC_HEADERS
11251 #include <stdlib.h>
11252 #include <stddef.h>
11253 #endif
11254 EOF
11255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11256 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
11257 rm -rf conftest*
11258 ac_cv_type_size_t=yes
11259 else
11260 rm -rf conftest*
11261 ac_cv_type_size_t=no
11262 fi
11263 rm -f conftest*
11264
11265 fi
11266 echo "$ac_t""$ac_cv_type_size_t" 1>&6
11267 if test $ac_cv_type_size_t = no; then
11268 cat >> confdefs.h <<\EOF
11269 #define size_t unsigned
11270 EOF
11271
11272 fi
11273
11274 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
11275 echo "configure:11276: checking for uid_t in sys/types.h" >&5
11276 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
11277 echo $ac_n "(cached) $ac_c" 1>&6
11278 else
11279 cat > conftest.$ac_ext <<EOF
11280 #line 11281 "configure"
11281 #include "confdefs.h"
11282 #include <sys/types.h>
11283 EOF
11284 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11285 egrep "uid_t" >/dev/null 2>&1; then
11286 rm -rf conftest*
11287 ac_cv_type_uid_t=yes
11288 else
11289 rm -rf conftest*
11290 ac_cv_type_uid_t=no
11291 fi
11292 rm -f conftest*
11293
11294 fi
11295
11296 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
11297 if test $ac_cv_type_uid_t = no; then
11298 cat >> confdefs.h <<\EOF
11299 #define uid_t int
11300 EOF
11301
11302 cat >> confdefs.h <<\EOF
11303 #define gid_t int
11304 EOF
11305
11306 fi
11307
11308
11309 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
11310 echo "configure:11311: checking for wchar_t" >&5
11311 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
11312 echo $ac_n "(cached) $ac_c" 1>&6
11313 else
11314
11315 cat > conftest.$ac_ext <<EOF
11316 #line 11317 "configure"
11317 #include "confdefs.h"
11318 #include <wchar.h>
11319 int main() {
11320
11321 wchar_t wc, *ws;
11322 wc = L'a';
11323 ws = L"Hello, world!";
11324
11325 ; return 0; }
11326 EOF
11327 if { (eval echo configure:11328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11328 rm -rf conftest*
11329 wx_cv_type_wchar_t=yes
11330 else
11331 echo "configure: failed program was:" >&5
11332 cat conftest.$ac_ext >&5
11333 rm -rf conftest*
11334 cat > conftest.$ac_ext <<EOF
11335 #line 11336 "configure"
11336 #include "confdefs.h"
11337 #include <stdlib.h>
11338 int main() {
11339
11340 wchar_t wc, *ws;
11341 wc = L'a';
11342 ws = L"Hello, world!";
11343
11344 ; return 0; }
11345 EOF
11346 if { (eval echo configure:11347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11347 rm -rf conftest*
11348 wx_cv_type_wchar_t=yes
11349 else
11350 echo "configure: failed program was:" >&5
11351 cat conftest.$ac_ext >&5
11352 rm -rf conftest*
11353 wx_cv_type_wchar_t=no
11354 fi
11355 rm -f conftest*
11356
11357 fi
11358 rm -f conftest*
11359
11360 fi
11361
11362 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
11363
11364 if test "$wx_cv_type_wchar_t" = "yes"; then
11365 cat >> confdefs.h <<\EOF
11366 #define wxUSE_WCHAR_T 1
11367 EOF
11368
11369 fi
11370
11371
11372 ac_ext=C
11373 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11374 ac_cpp='$CXXCPP $CPPFLAGS'
11375 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11376 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11377 cross_compiling=$ac_cv_prog_cxx_cross
11378
11379 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
11380 echo "configure:11381: checking if size_t is unsigned int" >&5
11381 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
11382 echo $ac_n "(cached) $ac_c" 1>&6
11383 else
11384 cat > conftest.$ac_ext <<EOF
11385 #line 11386 "configure"
11386 #include "confdefs.h"
11387 #include <stddef.h>
11388 int main() {
11389
11390 return 0; }
11391
11392 struct Foo { void foo(size_t); void foo(unsigned int); };
11393
11394 int bar() {
11395
11396 ; return 0; }
11397 EOF
11398 if { (eval echo configure:11399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11399 rm -rf conftest*
11400 wx_cv_size_t_is_uint=no
11401 else
11402 echo "configure: failed program was:" >&5
11403 cat conftest.$ac_ext >&5
11404 rm -rf conftest*
11405 wx_cv_size_t_is_uint=yes
11406
11407 fi
11408 rm -f conftest*
11409
11410 fi
11411
11412 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
11413
11414 if test "$wx_cv_size_t_is_uint" = "yes"; then
11415 cat >> confdefs.h <<\EOF
11416 #define wxSIZE_T_IS_UINT 1
11417 EOF
11418
11419 else
11420 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
11421 echo "configure:11422: checking if size_t is unsigned long" >&5
11422 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
11423 echo $ac_n "(cached) $ac_c" 1>&6
11424 else
11425 cat > conftest.$ac_ext <<EOF
11426 #line 11427 "configure"
11427 #include "confdefs.h"
11428 #include <stddef.h>
11429 int main() {
11430
11431 return 0; }
11432
11433 struct Foo { void foo(size_t); void foo(unsigned long); };
11434
11435 int bar() {
11436
11437 ; return 0; }
11438 EOF
11439 if { (eval echo configure:11440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11440 rm -rf conftest*
11441 wx_cv_size_t_is_ulong=no
11442 else
11443 echo "configure: failed program was:" >&5
11444 cat conftest.$ac_ext >&5
11445 rm -rf conftest*
11446 wx_cv_size_t_is_ulong=yes
11447
11448 fi
11449 rm -f conftest*
11450
11451 fi
11452
11453 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
11454
11455 if test "$wx_cv_size_t_is_ulong" = "yes"; then
11456 cat >> confdefs.h <<\EOF
11457 #define wxSIZE_T_IS_ULONG 1
11458 EOF
11459
11460 fi
11461 fi
11462
11463 ac_ext=c
11464 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11465 ac_cpp='$CPP $CPPFLAGS'
11466 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11467 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11468 cross_compiling=$ac_cv_prog_cc_cross
11469
11470
11471
11472 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
11473 echo "configure:11474: checking for pw_gecos in struct passwd" >&5
11474 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
11475 echo $ac_n "(cached) $ac_c" 1>&6
11476 else
11477
11478 cat > conftest.$ac_ext <<EOF
11479 #line 11480 "configure"
11480 #include "confdefs.h"
11481 #include <pwd.h>
11482 int main() {
11483
11484 char *p;
11485 struct passwd *pw;
11486 p = pw->pw_gecos;
11487
11488 ; return 0; }
11489 EOF
11490 if { (eval echo configure:11491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11491 rm -rf conftest*
11492
11493 wx_cv_struct_pw_gecos=yes
11494
11495 else
11496 echo "configure: failed program was:" >&5
11497 cat conftest.$ac_ext >&5
11498 rm -rf conftest*
11499
11500 wx_cv_struct_pw_gecos=no
11501
11502
11503 fi
11504 rm -f conftest*
11505
11506
11507 fi
11508
11509 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
11510
11511 if test "$wx_cv_struct_pw_gecos" = "yes"; then
11512 cat >> confdefs.h <<\EOF
11513 #define HAVE_PW_GECOS 1
11514 EOF
11515
11516 fi
11517
11518
11519 echo $ac_n "checking for working const""... $ac_c" 1>&6
11520 echo "configure:11521: checking for working const" >&5
11521 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
11522 echo $ac_n "(cached) $ac_c" 1>&6
11523 else
11524 cat > conftest.$ac_ext <<EOF
11525 #line 11526 "configure"
11526 #include "confdefs.h"
11527
11528 int main() {
11529
11530 /* Ultrix mips cc rejects this. */
11531 typedef int charset[2]; const charset x;
11532 /* SunOS 4.1.1 cc rejects this. */
11533 char const *const *ccp;
11534 char **p;
11535 /* NEC SVR4.0.2 mips cc rejects this. */
11536 struct point {int x, y;};
11537 static struct point const zero = {0,0};
11538 /* AIX XL C 1.02.0.0 rejects this.
11539 It does not let you subtract one const X* pointer from another in an arm
11540 of an if-expression whose if-part is not a constant expression */
11541 const char *g = "string";
11542 ccp = &g + (g ? g-g : 0);
11543 /* HPUX 7.0 cc rejects these. */
11544 ++ccp;
11545 p = (char**) ccp;
11546 ccp = (char const *const *) p;
11547 { /* SCO 3.2v4 cc rejects this. */
11548 char *t;
11549 char const *s = 0 ? (char *) 0 : (char const *) 0;
11550
11551 *t++ = 0;
11552 }
11553 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11554 int x[] = {25, 17};
11555 const int *foo = &x[0];
11556 ++foo;
11557 }
11558 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11559 typedef const int *iptr;
11560 iptr p = 0;
11561 ++p;
11562 }
11563 { /* AIX XL C 1.02.0.0 rejects this saying
11564 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11565 struct s { int j; const int *ap[3]; };
11566 struct s *b; b->j = 5;
11567 }
11568 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11569 const int foo = 10;
11570 }
11571
11572 ; return 0; }
11573 EOF
11574 if { (eval echo configure:11575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11575 rm -rf conftest*
11576 ac_cv_c_const=yes
11577 else
11578 echo "configure: failed program was:" >&5
11579 cat conftest.$ac_ext >&5
11580 rm -rf conftest*
11581 ac_cv_c_const=no
11582 fi
11583 rm -f conftest*
11584 fi
11585
11586 echo "$ac_t""$ac_cv_c_const" 1>&6
11587 if test $ac_cv_c_const = no; then
11588 cat >> confdefs.h <<\EOF
11589 #define const
11590 EOF
11591
11592 fi
11593
11594 echo $ac_n "checking for inline""... $ac_c" 1>&6
11595 echo "configure:11596: checking for inline" >&5
11596 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
11597 echo $ac_n "(cached) $ac_c" 1>&6
11598 else
11599 ac_cv_c_inline=no
11600 for ac_kw in inline __inline__ __inline; do
11601 cat > conftest.$ac_ext <<EOF
11602 #line 11603 "configure"
11603 #include "confdefs.h"
11604
11605 int main() {
11606 } $ac_kw foo() {
11607 ; return 0; }
11608 EOF
11609 if { (eval echo configure:11610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11610 rm -rf conftest*
11611 ac_cv_c_inline=$ac_kw; break
11612 else
11613 echo "configure: failed program was:" >&5
11614 cat conftest.$ac_ext >&5
11615 fi
11616 rm -f conftest*
11617 done
11618
11619 fi
11620
11621 echo "$ac_t""$ac_cv_c_inline" 1>&6
11622 case "$ac_cv_c_inline" in
11623 inline | yes) ;;
11624 no) cat >> confdefs.h <<\EOF
11625 #define inline
11626 EOF
11627 ;;
11628 *) cat >> confdefs.h <<EOF
11629 #define inline $ac_cv_c_inline
11630 EOF
11631 ;;
11632 esac
11633
11634
11635 echo $ac_n "checking size of char""... $ac_c" 1>&6
11636 echo "configure:11637: checking size of char" >&5
11637 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
11638 echo $ac_n "(cached) $ac_c" 1>&6
11639 else
11640 if test "$cross_compiling" = yes; then
11641 ac_cv_sizeof_char=1
11642 else
11643 cat > conftest.$ac_ext <<EOF
11644 #line 11645 "configure"
11645 #include "confdefs.h"
11646 #include <stdio.h>
11647 main()
11648 {
11649 FILE *f=fopen("conftestval", "w");
11650 if (!f) exit(1);
11651 fprintf(f, "%d\n", sizeof(char));
11652 exit(0);
11653 }
11654 EOF
11655 if { (eval echo configure:11656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11656 then
11657 ac_cv_sizeof_char=`cat conftestval`
11658 else
11659 echo "configure: failed program was:" >&5
11660 cat conftest.$ac_ext >&5
11661 rm -fr conftest*
11662 ac_cv_sizeof_char=0
11663 fi
11664 rm -fr conftest*
11665 fi
11666
11667 fi
11668 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
11669 cat >> confdefs.h <<EOF
11670 #define SIZEOF_CHAR $ac_cv_sizeof_char
11671 EOF
11672
11673
11674 echo $ac_n "checking size of short""... $ac_c" 1>&6
11675 echo "configure:11676: checking size of short" >&5
11676 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
11677 echo $ac_n "(cached) $ac_c" 1>&6
11678 else
11679 if test "$cross_compiling" = yes; then
11680 ac_cv_sizeof_short=2
11681 else
11682 cat > conftest.$ac_ext <<EOF
11683 #line 11684 "configure"
11684 #include "confdefs.h"
11685 #include <stdio.h>
11686 main()
11687 {
11688 FILE *f=fopen("conftestval", "w");
11689 if (!f) exit(1);
11690 fprintf(f, "%d\n", sizeof(short));
11691 exit(0);
11692 }
11693 EOF
11694 if { (eval echo configure:11695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11695 then
11696 ac_cv_sizeof_short=`cat conftestval`
11697 else
11698 echo "configure: failed program was:" >&5
11699 cat conftest.$ac_ext >&5
11700 rm -fr conftest*
11701 ac_cv_sizeof_short=0
11702 fi
11703 rm -fr conftest*
11704 fi
11705
11706 fi
11707 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
11708 cat >> confdefs.h <<EOF
11709 #define SIZEOF_SHORT $ac_cv_sizeof_short
11710 EOF
11711
11712
11713 echo $ac_n "checking size of int *""... $ac_c" 1>&6
11714 echo "configure:11715: checking size of int *" >&5
11715 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
11716 echo $ac_n "(cached) $ac_c" 1>&6
11717 else
11718 if test "$cross_compiling" = yes; then
11719 ac_cv_sizeof_int_p=4
11720 else
11721 cat > conftest.$ac_ext <<EOF
11722 #line 11723 "configure"
11723 #include "confdefs.h"
11724 #include <stdio.h>
11725 main()
11726 {
11727 FILE *f=fopen("conftestval", "w");
11728 if (!f) exit(1);
11729 fprintf(f, "%d\n", sizeof(int *));
11730 exit(0);
11731 }
11732 EOF
11733 if { (eval echo configure:11734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11734 then
11735 ac_cv_sizeof_int_p=`cat conftestval`
11736 else
11737 echo "configure: failed program was:" >&5
11738 cat conftest.$ac_ext >&5
11739 rm -fr conftest*
11740 ac_cv_sizeof_int_p=0
11741 fi
11742 rm -fr conftest*
11743 fi
11744
11745 fi
11746 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
11747 cat >> confdefs.h <<EOF
11748 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
11749 EOF
11750
11751
11752 echo $ac_n "checking size of int""... $ac_c" 1>&6
11753 echo "configure:11754: checking size of int" >&5
11754 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
11755 echo $ac_n "(cached) $ac_c" 1>&6
11756 else
11757 if test "$cross_compiling" = yes; then
11758 ac_cv_sizeof_int=4
11759 else
11760 cat > conftest.$ac_ext <<EOF
11761 #line 11762 "configure"
11762 #include "confdefs.h"
11763 #include <stdio.h>
11764 main()
11765 {
11766 FILE *f=fopen("conftestval", "w");
11767 if (!f) exit(1);
11768 fprintf(f, "%d\n", sizeof(int));
11769 exit(0);
11770 }
11771 EOF
11772 if { (eval echo configure:11773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11773 then
11774 ac_cv_sizeof_int=`cat conftestval`
11775 else
11776 echo "configure: failed program was:" >&5
11777 cat conftest.$ac_ext >&5
11778 rm -fr conftest*
11779 ac_cv_sizeof_int=0
11780 fi
11781 rm -fr conftest*
11782 fi
11783
11784 fi
11785 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
11786 cat >> confdefs.h <<EOF
11787 #define SIZEOF_INT $ac_cv_sizeof_int
11788 EOF
11789
11790
11791 echo $ac_n "checking size of long""... $ac_c" 1>&6
11792 echo "configure:11793: checking size of long" >&5
11793 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
11794 echo $ac_n "(cached) $ac_c" 1>&6
11795 else
11796 if test "$cross_compiling" = yes; then
11797 ac_cv_sizeof_long=4
11798 else
11799 cat > conftest.$ac_ext <<EOF
11800 #line 11801 "configure"
11801 #include "confdefs.h"
11802 #include <stdio.h>
11803 main()
11804 {
11805 FILE *f=fopen("conftestval", "w");
11806 if (!f) exit(1);
11807 fprintf(f, "%d\n", sizeof(long));
11808 exit(0);
11809 }
11810 EOF
11811 if { (eval echo configure:11812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11812 then
11813 ac_cv_sizeof_long=`cat conftestval`
11814 else
11815 echo "configure: failed program was:" >&5
11816 cat conftest.$ac_ext >&5
11817 rm -fr conftest*
11818 ac_cv_sizeof_long=0
11819 fi
11820 rm -fr conftest*
11821 fi
11822
11823 fi
11824 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
11825 cat >> confdefs.h <<EOF
11826 #define SIZEOF_LONG $ac_cv_sizeof_long
11827 EOF
11828
11829
11830 echo $ac_n "checking size of long long""... $ac_c" 1>&6
11831 echo "configure:11832: checking size of long long" >&5
11832 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
11833 echo $ac_n "(cached) $ac_c" 1>&6
11834 else
11835 if test "$cross_compiling" = yes; then
11836 ac_cv_sizeof_long_long=0
11837 else
11838 cat > conftest.$ac_ext <<EOF
11839 #line 11840 "configure"
11840 #include "confdefs.h"
11841 #include <stdio.h>
11842 main()
11843 {
11844 FILE *f=fopen("conftestval", "w");
11845 if (!f) exit(1);
11846 fprintf(f, "%d\n", sizeof(long long));
11847 exit(0);
11848 }
11849 EOF
11850 if { (eval echo configure:11851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11851 then
11852 ac_cv_sizeof_long_long=`cat conftestval`
11853 else
11854 echo "configure: failed program was:" >&5
11855 cat conftest.$ac_ext >&5
11856 rm -fr conftest*
11857 ac_cv_sizeof_long_long=0
11858 fi
11859 rm -fr conftest*
11860 fi
11861
11862 fi
11863 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
11864 cat >> confdefs.h <<EOF
11865 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
11866 EOF
11867
11868
11869
11870 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
11871 echo "configure:11872: checking size of wchar_t" >&5
11872 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
11873 echo $ac_n "(cached) $ac_c" 1>&6
11874 else
11875
11876 if test "$cross_compiling" = yes; then
11877 wx_cv_sizeof_wchar_t=4
11878
11879 else
11880 cat > conftest.$ac_ext <<EOF
11881 #line 11882 "configure"
11882 #include "confdefs.h"
11883
11884 #ifdef HAVE_WCHAR_H
11885 # include <wchar.h>
11886 #endif
11887 #ifdef HAVE_STDLIB_H
11888 # include <stdlib.h>
11889 #endif
11890 #include <stdio.h>
11891 int main()
11892 {
11893 FILE *f=fopen("conftestval", "w");
11894 if (!f) exit(1);
11895 fprintf(f, "%i", sizeof(wchar_t));
11896 exit(0);
11897 }
11898
11899 EOF
11900 if { (eval echo configure:11901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11901 then
11902 wx_cv_sizeof_wchar_t=`cat conftestval`
11903 else
11904 echo "configure: failed program was:" >&5
11905 cat conftest.$ac_ext >&5
11906 rm -fr conftest*
11907 wx_cv_sizeof_wchar_t=0
11908 fi
11909 rm -fr conftest*
11910 fi
11911
11912
11913 fi
11914
11915 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
11916
11917 cat >> confdefs.h <<EOF
11918 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
11919 EOF
11920
11921
11922 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
11923 echo "configure:11924: checking whether byte ordering is bigendian" >&5
11924 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
11925 echo $ac_n "(cached) $ac_c" 1>&6
11926 else
11927 ac_cv_c_bigendian=unknown
11928 # See if sys/param.h defines the BYTE_ORDER macro.
11929 cat > conftest.$ac_ext <<EOF
11930 #line 11931 "configure"
11931 #include "confdefs.h"
11932 #include <sys/types.h>
11933 #include <sys/param.h>
11934 int main() {
11935
11936 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
11937 bogus endian macros
11938 #endif
11939 ; return 0; }
11940 EOF
11941 if { (eval echo configure:11942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11942 rm -rf conftest*
11943 # It does; now see whether it defined to BIG_ENDIAN or not.
11944 cat > conftest.$ac_ext <<EOF
11945 #line 11946 "configure"
11946 #include "confdefs.h"
11947 #include <sys/types.h>
11948 #include <sys/param.h>
11949 int main() {
11950
11951 #if BYTE_ORDER != BIG_ENDIAN
11952 not big endian
11953 #endif
11954 ; return 0; }
11955 EOF
11956 if { (eval echo configure:11957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11957 rm -rf conftest*
11958 ac_cv_c_bigendian=yes
11959 else
11960 echo "configure: failed program was:" >&5
11961 cat conftest.$ac_ext >&5
11962 rm -rf conftest*
11963 ac_cv_c_bigendian=no
11964 fi
11965 rm -f conftest*
11966 else
11967 echo "configure: failed program was:" >&5
11968 cat conftest.$ac_ext >&5
11969 fi
11970 rm -f conftest*
11971 if test $ac_cv_c_bigendian = unknown; then
11972 if test "$cross_compiling" = yes; then
11973 ac_cv_c_bigendian=unknown
11974 else
11975 cat > conftest.$ac_ext <<EOF
11976 #line 11977 "configure"
11977 #include "confdefs.h"
11978 main () {
11979 /* Are we little or big endian? From Harbison&Steele. */
11980 union
11981 {
11982 long l;
11983 char c[sizeof (long)];
11984 } u;
11985 u.l = 1;
11986 exit (u.c[sizeof (long) - 1] == 1);
11987 }
11988 EOF
11989 if { (eval echo configure:11990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11990 then
11991 ac_cv_c_bigendian=no
11992 else
11993 echo "configure: failed program was:" >&5
11994 cat conftest.$ac_ext >&5
11995 rm -fr conftest*
11996 ac_cv_c_bigendian=yes
11997 fi
11998 rm -fr conftest*
11999 fi
12000
12001 fi
12002 fi
12003
12004 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
12005 if test $ac_cv_c_bigendian = unknown; then
12006 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
12007 fi
12008 if test $ac_cv_c_bigendian = yes; then
12009 cat >> confdefs.h <<\EOF
12010 #define WORDS_BIGENDIAN 1
12011 EOF
12012
12013 fi
12014
12015
12016
12017 if test "$cross_compiling" = "yes"; then
12018 cat >> confdefs.h <<\EOF
12019 #define wxUSE_IOSTREAMH 1
12020 EOF
12021
12022 else
12023
12024 ac_ext=C
12025 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12026 ac_cpp='$CXXCPP $CPPFLAGS'
12027 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12028 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12029 cross_compiling=$ac_cv_prog_cxx_cross
12030
12031
12032 for ac_hdr in iostream
12033 do
12034 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12035 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12036 echo "configure:12037: checking for $ac_hdr" >&5
12037 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12038 echo $ac_n "(cached) $ac_c" 1>&6
12039 else
12040 cat > conftest.$ac_ext <<EOF
12041 #line 12042 "configure"
12042 #include "confdefs.h"
12043 #include <$ac_hdr>
12044 EOF
12045 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12046 { (eval echo configure:12047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12047 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12048 if test -z "$ac_err"; then
12049 rm -rf conftest*
12050 eval "ac_cv_header_$ac_safe=yes"
12051 else
12052 echo "$ac_err" >&5
12053 echo "configure: failed program was:" >&5
12054 cat conftest.$ac_ext >&5
12055 rm -rf conftest*
12056 eval "ac_cv_header_$ac_safe=no"
12057 fi
12058 rm -f conftest*
12059 fi
12060 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12061 echo "$ac_t""yes" 1>&6
12062 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12063 cat >> confdefs.h <<EOF
12064 #define $ac_tr_hdr 1
12065 EOF
12066
12067 else
12068 echo "$ac_t""no" 1>&6
12069 fi
12070 done
12071
12072
12073 if test "$ac_cv_header_iostream" = "yes" ; then
12074 :
12075 else
12076 cat >> confdefs.h <<\EOF
12077 #define wxUSE_IOSTREAMH 1
12078 EOF
12079
12080 fi
12081
12082 ac_ext=c
12083 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12084 ac_cpp='$CPP $CPPFLAGS'
12085 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12086 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12087 cross_compiling=$ac_cv_prog_cc_cross
12088
12089 fi
12090
12091
12092
12093 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12094 echo "configure:12095: checking if C++ compiler supports bool" >&5
12095 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12096 echo $ac_n "(cached) $ac_c" 1>&6
12097 else
12098
12099
12100 ac_ext=C
12101 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12102 ac_cpp='$CXXCPP $CPPFLAGS'
12103 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12104 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12105 cross_compiling=$ac_cv_prog_cxx_cross
12106
12107
12108 cat > conftest.$ac_ext <<EOF
12109 #line 12110 "configure"
12110 #include "confdefs.h"
12111
12112
12113 int main() {
12114
12115 bool b = true;
12116
12117 return 0;
12118
12119 ; return 0; }
12120 EOF
12121 if { (eval echo configure:12122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12122 rm -rf conftest*
12123
12124 wx_cv_cpp_bool=yes
12125
12126 else
12127 echo "configure: failed program was:" >&5
12128 cat conftest.$ac_ext >&5
12129 rm -rf conftest*
12130
12131 wx_cv_cpp_bool=no
12132
12133
12134 fi
12135 rm -f conftest*
12136
12137 ac_ext=c
12138 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12139 ac_cpp='$CPP $CPPFLAGS'
12140 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12141 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12142 cross_compiling=$ac_cv_prog_cc_cross
12143
12144
12145 fi
12146
12147 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12148
12149 if test "$wx_cv_cpp_bool" = "yes"; then
12150 cat >> confdefs.h <<\EOF
12151 #define HAVE_BOOL 1
12152 EOF
12153
12154 fi
12155
12156
12157
12158 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12159 echo "configure:12160: checking for wcslen in -lc" >&5
12160 ac_lib_var=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
12161 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12162 echo $ac_n "(cached) $ac_c" 1>&6
12163 else
12164 ac_save_LIBS="$LIBS"
12165 LIBS="-lc $LIBS"
12166 cat > conftest.$ac_ext <<EOF
12167 #line 12168 "configure"
12168 #include "confdefs.h"
12169 /* Override any gcc2 internal prototype to avoid an error. */
12170 /* We use char because int might match the return type of a gcc2
12171 builtin and then its argument prototype would still apply. */
12172 char wcslen();
12173
12174 int main() {
12175 wcslen()
12176 ; return 0; }
12177 EOF
12178 if { (eval echo configure:12179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12179 rm -rf conftest*
12180 eval "ac_cv_lib_$ac_lib_var=yes"
12181 else
12182 echo "configure: failed program was:" >&5
12183 cat conftest.$ac_ext >&5
12184 rm -rf conftest*
12185 eval "ac_cv_lib_$ac_lib_var=no"
12186 fi
12187 rm -f conftest*
12188 LIBS="$ac_save_LIBS"
12189
12190 fi
12191 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12192 echo "$ac_t""yes" 1>&6
12193
12194 cat >> confdefs.h <<\EOF
12195 #define HAVE_WCSLEN 1
12196 EOF
12197
12198 WCHAR_LINK=""
12199
12200 else
12201 echo "$ac_t""no" 1>&6
12202
12203 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
12204 echo "configure:12205: checking for wcslen in -lw" >&5
12205 ac_lib_var=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
12206 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12207 echo $ac_n "(cached) $ac_c" 1>&6
12208 else
12209 ac_save_LIBS="$LIBS"
12210 LIBS="-lw $LIBS"
12211 cat > conftest.$ac_ext <<EOF
12212 #line 12213 "configure"
12213 #include "confdefs.h"
12214 /* Override any gcc2 internal prototype to avoid an error. */
12215 /* We use char because int might match the return type of a gcc2
12216 builtin and then its argument prototype would still apply. */
12217 char wcslen();
12218
12219 int main() {
12220 wcslen()
12221 ; return 0; }
12222 EOF
12223 if { (eval echo configure:12224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12224 rm -rf conftest*
12225 eval "ac_cv_lib_$ac_lib_var=yes"
12226 else
12227 echo "configure: failed program was:" >&5
12228 cat conftest.$ac_ext >&5
12229 rm -rf conftest*
12230 eval "ac_cv_lib_$ac_lib_var=no"
12231 fi
12232 rm -f conftest*
12233 LIBS="$ac_save_LIBS"
12234
12235 fi
12236 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12237 echo "$ac_t""yes" 1>&6
12238
12239 cat >> confdefs.h <<\EOF
12240 #define HAVE_WCSLEN 1
12241 EOF
12242
12243 WCHAR_LINK="-lw"
12244
12245 else
12246 echo "$ac_t""no" 1>&6
12247 fi
12248
12249
12250 fi
12251
12252
12253 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
12254 echo "configure:12255: checking for vprintf" >&5
12255 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
12256 echo $ac_n "(cached) $ac_c" 1>&6
12257 else
12258 cat > conftest.$ac_ext <<EOF
12259 #line 12260 "configure"
12260 #include "confdefs.h"
12261 /* System header to define __stub macros and hopefully few prototypes,
12262 which can conflict with char vprintf(); below. */
12263 #include <assert.h>
12264 /* Override any gcc2 internal prototype to avoid an error. */
12265 /* We use char because int might match the return type of a gcc2
12266 builtin and then its argument prototype would still apply. */
12267 char vprintf();
12268
12269 int main() {
12270
12271 /* The GNU C library defines this for functions which it implements
12272 to always fail with ENOSYS. Some functions are actually named
12273 something starting with __ and the normal name is an alias. */
12274 #if defined (__stub_vprintf) || defined (__stub___vprintf)
12275 choke me
12276 #else
12277 vprintf();
12278 #endif
12279
12280 ; return 0; }
12281 EOF
12282 if { (eval echo configure:12283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12283 rm -rf conftest*
12284 eval "ac_cv_func_vprintf=yes"
12285 else
12286 echo "configure: failed program was:" >&5
12287 cat conftest.$ac_ext >&5
12288 rm -rf conftest*
12289 eval "ac_cv_func_vprintf=no"
12290 fi
12291 rm -f conftest*
12292 fi
12293
12294 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
12295 echo "$ac_t""yes" 1>&6
12296 cat >> confdefs.h <<\EOF
12297 #define HAVE_VPRINTF 1
12298 EOF
12299
12300 else
12301 echo "$ac_t""no" 1>&6
12302 fi
12303
12304 if test "$ac_cv_func_vprintf" != yes; then
12305 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
12306 echo "configure:12307: checking for _doprnt" >&5
12307 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
12308 echo $ac_n "(cached) $ac_c" 1>&6
12309 else
12310 cat > conftest.$ac_ext <<EOF
12311 #line 12312 "configure"
12312 #include "confdefs.h"
12313 /* System header to define __stub macros and hopefully few prototypes,
12314 which can conflict with char _doprnt(); below. */
12315 #include <assert.h>
12316 /* Override any gcc2 internal prototype to avoid an error. */
12317 /* We use char because int might match the return type of a gcc2
12318 builtin and then its argument prototype would still apply. */
12319 char _doprnt();
12320
12321 int main() {
12322
12323 /* The GNU C library defines this for functions which it implements
12324 to always fail with ENOSYS. Some functions are actually named
12325 something starting with __ and the normal name is an alias. */
12326 #if defined (__stub__doprnt) || defined (__stub____doprnt)
12327 choke me
12328 #else
12329 _doprnt();
12330 #endif
12331
12332 ; return 0; }
12333 EOF
12334 if { (eval echo configure:12335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12335 rm -rf conftest*
12336 eval "ac_cv_func__doprnt=yes"
12337 else
12338 echo "configure: failed program was:" >&5
12339 cat conftest.$ac_ext >&5
12340 rm -rf conftest*
12341 eval "ac_cv_func__doprnt=no"
12342 fi
12343 rm -f conftest*
12344 fi
12345
12346 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
12347 echo "$ac_t""yes" 1>&6
12348 cat >> confdefs.h <<\EOF
12349 #define HAVE_DOPRNT 1
12350 EOF
12351
12352 else
12353 echo "$ac_t""no" 1>&6
12354 fi
12355
12356 fi
12357
12358
12359
12360
12361
12362
12363
12364 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
12365 echo "configure:12366: checking for vsnprintf" >&5
12366 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
12367 echo $ac_n "(cached) $ac_c" 1>&6
12368 else
12369
12370 cat > conftest.$ac_ext <<EOF
12371 #line 12372 "configure"
12372 #include "confdefs.h"
12373
12374 #include <stdio.h>
12375 #include <stdarg.h>
12376
12377 int main() {
12378
12379 int wx_test_vsnprintf(const char *, ...);
12380
12381 wx_test_vsnprintf("%s");
12382 return 0;
12383 }
12384
12385 int wx_test_vsnprintf(const char *fmt, ...)
12386 {
12387 char *s;
12388
12389 va_list argp;
12390 va_start(argp, fmt);
12391 vsnprintf(s, 42, fmt, argp);
12392 va_end(argp);
12393
12394 ; return 0; }
12395 EOF
12396 if { (eval echo configure:12397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12397 rm -rf conftest*
12398
12399 wx_cv_func_vsnprintf=yes
12400
12401 else
12402 echo "configure: failed program was:" >&5
12403 cat conftest.$ac_ext >&5
12404 rm -rf conftest*
12405
12406 cat > conftest.$ac_ext <<EOF
12407 #line 12408 "configure"
12408 #include "confdefs.h"
12409
12410 #include <stdio.h>
12411 #include <stdarg.h>
12412
12413 int main() {
12414
12415 int wx_test_vsnprintf(const char *, ...);
12416
12417 wx_test_vsnprintf("%s");
12418 return 0;
12419 }
12420
12421 int wx_test_vsnprintf(const char *fmt, ...)
12422 {
12423 char *s;
12424
12425 va_list argp;
12426 va_start(argp, fmt);
12427 _vsnprintf(s, 42, fmt, argp);
12428 va_end(argp);
12429
12430 ; return 0; }
12431 EOF
12432 if { (eval echo configure:12433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12433 rm -rf conftest*
12434
12435 wx_cv_func_vsnprintf=yes
12436
12437 else
12438 echo "configure: failed program was:" >&5
12439 cat conftest.$ac_ext >&5
12440 rm -rf conftest*
12441
12442 wx_cv_func_vsnprintf=no
12443
12444 fi
12445 rm -f conftest*
12446
12447 fi
12448 rm -f conftest*
12449
12450 fi
12451
12452 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
12453
12454 if test "$wx_cv_func_vsnprintf" = yes; then
12455 cat >> confdefs.h <<\EOF
12456 #define HAVE_VSNPRINTF 1
12457 EOF
12458
12459 else
12460 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
12461 fi
12462
12463 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
12464 echo "configure:12465: checking for vsscanf" >&5
12465 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
12466 echo $ac_n "(cached) $ac_c" 1>&6
12467 else
12468
12469 cat > conftest.$ac_ext <<EOF
12470 #line 12471 "configure"
12471 #include "confdefs.h"
12472
12473 #include <stdio.h>
12474 #include <stdarg.h>
12475
12476 int main() {
12477
12478 int wx_test_vsscanf(const char *, ...);
12479
12480 wx_test_vsscanf("%d");
12481 return 0;
12482 }
12483
12484 int wx_test_vsscanf(const char *fmt, ...)
12485 {
12486 va_list argp;
12487 va_start(argp, fmt);
12488 vsscanf("42", fmt, argp);
12489 va_end(argp);
12490
12491 ; return 0; }
12492 EOF
12493 if { (eval echo configure:12494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12494 rm -rf conftest*
12495
12496 wx_cv_func_vsscanf=yes
12497
12498 else
12499 echo "configure: failed program was:" >&5
12500 cat conftest.$ac_ext >&5
12501 rm -rf conftest*
12502
12503 wx_cv_func_vsscanf=no
12504
12505 fi
12506 rm -f conftest*
12507
12508 fi
12509
12510 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
12511
12512 if test "$wx_cv_func_vsscanf" = yes; then
12513 cat >> confdefs.h <<\EOF
12514 #define HAVE_VSSCANF 1
12515 EOF
12516
12517 fi
12518
12519 if test "$TOOLKIT" != "MSW"; then
12520
12521
12522
12523 ac_ext=C
12524 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12525 ac_cpp='$CXXCPP $CPPFLAGS'
12526 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12527 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12528 cross_compiling=$ac_cv_prog_cxx_cross
12529
12530 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
12531 echo "configure:12532: checking if iconv() takes char**" >&5
12532 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
12533 echo $ac_n "(cached) $ac_c" 1>&6
12534 else
12535
12536 cat > conftest.$ac_ext <<EOF
12537 #line 12538 "configure"
12538 #include "confdefs.h"
12539 #include <iconv.h>
12540 int main() {
12541
12542 char **inbuf, **outbuf;
12543 iconv_t cd;
12544 size_t insz, outsz;
12545 iconv(cd, inbuf, &insz, outbuf, &outsz);
12546
12547 ; return 0; }
12548 EOF
12549 if { (eval echo configure:12550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12550 rm -rf conftest*
12551 wx_cv_iconv_takes_char=yes
12552 else
12553 echo "configure: failed program was:" >&5
12554 cat conftest.$ac_ext >&5
12555 rm -rf conftest*
12556 wx_cv_iconv_takes_char=no
12557 fi
12558 rm -f conftest*
12559
12560 fi
12561
12562 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
12563 ac_ext=c
12564 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12565 ac_cpp='$CPP $CPPFLAGS'
12566 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12567 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12568 cross_compiling=$ac_cv_prog_cc_cross
12569
12570 if test "$wx_cv_iconv_takes_char" = yes ; then
12571 cat >> confdefs.h <<\EOF
12572 #define WX_ICONV_TAKES_CHAR 1
12573 EOF
12574
12575 fi
12576
12577
12578 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
12579 for ac_func in sigaction
12580 do
12581 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12582 echo "configure:12583: checking for $ac_func" >&5
12583 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12584 echo $ac_n "(cached) $ac_c" 1>&6
12585 else
12586 cat > conftest.$ac_ext <<EOF
12587 #line 12588 "configure"
12588 #include "confdefs.h"
12589 /* System header to define __stub macros and hopefully few prototypes,
12590 which can conflict with char $ac_func(); below. */
12591 #include <assert.h>
12592 /* Override any gcc2 internal prototype to avoid an error. */
12593 /* We use char because int might match the return type of a gcc2
12594 builtin and then its argument prototype would still apply. */
12595 char $ac_func();
12596
12597 int main() {
12598
12599 /* The GNU C library defines this for functions which it implements
12600 to always fail with ENOSYS. Some functions are actually named
12601 something starting with __ and the normal name is an alias. */
12602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12603 choke me
12604 #else
12605 $ac_func();
12606 #endif
12607
12608 ; return 0; }
12609 EOF
12610 if { (eval echo configure:12611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12611 rm -rf conftest*
12612 eval "ac_cv_func_$ac_func=yes"
12613 else
12614 echo "configure: failed program was:" >&5
12615 cat conftest.$ac_ext >&5
12616 rm -rf conftest*
12617 eval "ac_cv_func_$ac_func=no"
12618 fi
12619 rm -f conftest*
12620 fi
12621
12622 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12623 echo "$ac_t""yes" 1>&6
12624 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12625 cat >> confdefs.h <<EOF
12626 #define $ac_tr_func 1
12627 EOF
12628
12629 else
12630 echo "$ac_t""no" 1>&6
12631 fi
12632 done
12633
12634
12635 if test "$ac_cv_func_sigaction" = "no"; then
12636 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
12637 wxUSE_ON_FATAL_EXCEPTION=no
12638 fi
12639
12640 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
12641
12642 ac_ext=C
12643 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12644 ac_cpp='$CXXCPP $CPPFLAGS'
12645 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12646 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12647 cross_compiling=$ac_cv_prog_cxx_cross
12648
12649
12650 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
12651 echo "configure:12652: checking for sa_handler type" >&5
12652 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
12653 echo $ac_n "(cached) $ac_c" 1>&6
12654 else
12655
12656 cat > conftest.$ac_ext <<EOF
12657 #line 12658 "configure"
12658 #include "confdefs.h"
12659 #include <signal.h>
12660 int main() {
12661
12662 extern void testSigHandler(int);
12663
12664 struct sigaction sa;
12665 sa.sa_handler = testSigHandler;
12666
12667 ; return 0; }
12668 EOF
12669 if { (eval echo configure:12670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12670 rm -rf conftest*
12671
12672 wx_cv_type_sa_handler=int
12673
12674 else
12675 echo "configure: failed program was:" >&5
12676 cat conftest.$ac_ext >&5
12677 rm -rf conftest*
12678
12679 wx_cv_type_sa_handler=void
12680
12681 fi
12682 rm -f conftest*
12683
12684 fi
12685
12686 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
12687
12688 ac_ext=c
12689 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12690 ac_cpp='$CPP $CPPFLAGS'
12691 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12692 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12693 cross_compiling=$ac_cv_prog_cc_cross
12694
12695
12696 cat >> confdefs.h <<EOF
12697 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
12698 EOF
12699
12700 fi
12701 fi
12702
12703 for ac_func in vfork
12704 do
12705 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12706 echo "configure:12707: checking for $ac_func" >&5
12707 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12708 echo $ac_n "(cached) $ac_c" 1>&6
12709 else
12710 cat > conftest.$ac_ext <<EOF
12711 #line 12712 "configure"
12712 #include "confdefs.h"
12713 /* System header to define __stub macros and hopefully few prototypes,
12714 which can conflict with char $ac_func(); below. */
12715 #include <assert.h>
12716 /* Override any gcc2 internal prototype to avoid an error. */
12717 /* We use char because int might match the return type of a gcc2
12718 builtin and then its argument prototype would still apply. */
12719 char $ac_func();
12720
12721 int main() {
12722
12723 /* The GNU C library defines this for functions which it implements
12724 to always fail with ENOSYS. Some functions are actually named
12725 something starting with __ and the normal name is an alias. */
12726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12727 choke me
12728 #else
12729 $ac_func();
12730 #endif
12731
12732 ; return 0; }
12733 EOF
12734 if { (eval echo configure:12735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12735 rm -rf conftest*
12736 eval "ac_cv_func_$ac_func=yes"
12737 else
12738 echo "configure: failed program was:" >&5
12739 cat conftest.$ac_ext >&5
12740 rm -rf conftest*
12741 eval "ac_cv_func_$ac_func=no"
12742 fi
12743 rm -f conftest*
12744 fi
12745
12746 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12747 echo "$ac_t""yes" 1>&6
12748 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12749 cat >> confdefs.h <<EOF
12750 #define $ac_tr_func 1
12751 EOF
12752
12753 else
12754 echo "$ac_t""no" 1>&6
12755 fi
12756 done
12757
12758
12759 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
12760 for ac_func in fcntl flock
12761 do
12762 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12763 echo "configure:12764: checking for $ac_func" >&5
12764 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12765 echo $ac_n "(cached) $ac_c" 1>&6
12766 else
12767 cat > conftest.$ac_ext <<EOF
12768 #line 12769 "configure"
12769 #include "confdefs.h"
12770 /* System header to define __stub macros and hopefully few prototypes,
12771 which can conflict with char $ac_func(); below. */
12772 #include <assert.h>
12773 /* Override any gcc2 internal prototype to avoid an error. */
12774 /* We use char because int might match the return type of a gcc2
12775 builtin and then its argument prototype would still apply. */
12776 char $ac_func();
12777
12778 int main() {
12779
12780 /* The GNU C library defines this for functions which it implements
12781 to always fail with ENOSYS. Some functions are actually named
12782 something starting with __ and the normal name is an alias. */
12783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12784 choke me
12785 #else
12786 $ac_func();
12787 #endif
12788
12789 ; return 0; }
12790 EOF
12791 if { (eval echo configure:12792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12792 rm -rf conftest*
12793 eval "ac_cv_func_$ac_func=yes"
12794 else
12795 echo "configure: failed program was:" >&5
12796 cat conftest.$ac_ext >&5
12797 rm -rf conftest*
12798 eval "ac_cv_func_$ac_func=no"
12799 fi
12800 rm -f conftest*
12801 fi
12802
12803 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12804 echo "$ac_t""yes" 1>&6
12805 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12806 cat >> confdefs.h <<EOF
12807 #define $ac_tr_func 1
12808 EOF
12809 break
12810 else
12811 echo "$ac_t""no" 1>&6
12812 fi
12813 done
12814
12815
12816 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
12817 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
12818 wxUSE_SNGLINST_CHECKER=no
12819 fi
12820 fi
12821
12822 for ac_func in timegm
12823 do
12824 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12825 echo "configure:12826: checking for $ac_func" >&5
12826 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12827 echo $ac_n "(cached) $ac_c" 1>&6
12828 else
12829 cat > conftest.$ac_ext <<EOF
12830 #line 12831 "configure"
12831 #include "confdefs.h"
12832 /* System header to define __stub macros and hopefully few prototypes,
12833 which can conflict with char $ac_func(); below. */
12834 #include <assert.h>
12835 /* Override any gcc2 internal prototype to avoid an error. */
12836 /* We use char because int might match the return type of a gcc2
12837 builtin and then its argument prototype would still apply. */
12838 char $ac_func();
12839
12840 int main() {
12841
12842 /* The GNU C library defines this for functions which it implements
12843 to always fail with ENOSYS. Some functions are actually named
12844 something starting with __ and the normal name is an alias. */
12845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12846 choke me
12847 #else
12848 $ac_func();
12849 #endif
12850
12851 ; return 0; }
12852 EOF
12853 if { (eval echo configure:12854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12854 rm -rf conftest*
12855 eval "ac_cv_func_$ac_func=yes"
12856 else
12857 echo "configure: failed program was:" >&5
12858 cat conftest.$ac_ext >&5
12859 rm -rf conftest*
12860 eval "ac_cv_func_$ac_func=no"
12861 fi
12862 rm -f conftest*
12863 fi
12864
12865 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12866 echo "$ac_t""yes" 1>&6
12867 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12868 cat >> confdefs.h <<EOF
12869 #define $ac_tr_func 1
12870 EOF
12871
12872 else
12873 echo "$ac_t""no" 1>&6
12874 fi
12875 done
12876
12877
12878 for ac_func in putenv setenv
12879 do
12880 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12881 echo "configure:12882: checking for $ac_func" >&5
12882 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12883 echo $ac_n "(cached) $ac_c" 1>&6
12884 else
12885 cat > conftest.$ac_ext <<EOF
12886 #line 12887 "configure"
12887 #include "confdefs.h"
12888 /* System header to define __stub macros and hopefully few prototypes,
12889 which can conflict with char $ac_func(); below. */
12890 #include <assert.h>
12891 /* Override any gcc2 internal prototype to avoid an error. */
12892 /* We use char because int might match the return type of a gcc2
12893 builtin and then its argument prototype would still apply. */
12894 char $ac_func();
12895
12896 int main() {
12897
12898 /* The GNU C library defines this for functions which it implements
12899 to always fail with ENOSYS. Some functions are actually named
12900 something starting with __ and the normal name is an alias. */
12901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12902 choke me
12903 #else
12904 $ac_func();
12905 #endif
12906
12907 ; return 0; }
12908 EOF
12909 if { (eval echo configure:12910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12910 rm -rf conftest*
12911 eval "ac_cv_func_$ac_func=yes"
12912 else
12913 echo "configure: failed program was:" >&5
12914 cat conftest.$ac_ext >&5
12915 rm -rf conftest*
12916 eval "ac_cv_func_$ac_func=no"
12917 fi
12918 rm -f conftest*
12919 fi
12920
12921 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12922 echo "$ac_t""yes" 1>&6
12923 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12924 cat >> confdefs.h <<EOF
12925 #define $ac_tr_func 1
12926 EOF
12927 break
12928 else
12929 echo "$ac_t""no" 1>&6
12930 fi
12931 done
12932
12933
12934 HAVE_SOME_SLEEP_FUNC=0
12935 if test "$USE_BEOS" = 1; then
12936 cat >> confdefs.h <<\EOF
12937 #define HAVE_SLEEP 1
12938 EOF
12939
12940 HAVE_SOME_SLEEP_FUNC=1
12941 fi
12942
12943 if test "$USE_MAC" = 1; then
12944 cat >> confdefs.h <<\EOF
12945 #define HAVE_USLEEP 1
12946 EOF
12947
12948 HAVE_SOME_SLEEP_FUNC=1
12949 fi
12950
12951 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
12952 POSIX4_LINK=
12953 for ac_func in nanosleep
12954 do
12955 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12956 echo "configure:12957: checking for $ac_func" >&5
12957 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12958 echo $ac_n "(cached) $ac_c" 1>&6
12959 else
12960 cat > conftest.$ac_ext <<EOF
12961 #line 12962 "configure"
12962 #include "confdefs.h"
12963 /* System header to define __stub macros and hopefully few prototypes,
12964 which can conflict with char $ac_func(); below. */
12965 #include <assert.h>
12966 /* Override any gcc2 internal prototype to avoid an error. */
12967 /* We use char because int might match the return type of a gcc2
12968 builtin and then its argument prototype would still apply. */
12969 char $ac_func();
12970
12971 int main() {
12972
12973 /* The GNU C library defines this for functions which it implements
12974 to always fail with ENOSYS. Some functions are actually named
12975 something starting with __ and the normal name is an alias. */
12976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12977 choke me
12978 #else
12979 $ac_func();
12980 #endif
12981
12982 ; return 0; }
12983 EOF
12984 if { (eval echo configure:12985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12985 rm -rf conftest*
12986 eval "ac_cv_func_$ac_func=yes"
12987 else
12988 echo "configure: failed program was:" >&5
12989 cat conftest.$ac_ext >&5
12990 rm -rf conftest*
12991 eval "ac_cv_func_$ac_func=no"
12992 fi
12993 rm -f conftest*
12994 fi
12995
12996 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12997 echo "$ac_t""yes" 1>&6
12998 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12999 cat >> confdefs.h <<EOF
13000 #define $ac_tr_func 1
13001 EOF
13002 cat >> confdefs.h <<\EOF
13003 #define HAVE_NANOSLEEP 1
13004 EOF
13005
13006 else
13007 echo "$ac_t""no" 1>&6
13008 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
13009 echo "configure:13010: checking for nanosleep in -lposix4" >&5
13010 ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
13011 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13012 echo $ac_n "(cached) $ac_c" 1>&6
13013 else
13014 ac_save_LIBS="$LIBS"
13015 LIBS="-lposix4 $LIBS"
13016 cat > conftest.$ac_ext <<EOF
13017 #line 13018 "configure"
13018 #include "confdefs.h"
13019 /* Override any gcc2 internal prototype to avoid an error. */
13020 /* We use char because int might match the return type of a gcc2
13021 builtin and then its argument prototype would still apply. */
13022 char nanosleep();
13023
13024 int main() {
13025 nanosleep()
13026 ; return 0; }
13027 EOF
13028 if { (eval echo configure:13029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13029 rm -rf conftest*
13030 eval "ac_cv_lib_$ac_lib_var=yes"
13031 else
13032 echo "configure: failed program was:" >&5
13033 cat conftest.$ac_ext >&5
13034 rm -rf conftest*
13035 eval "ac_cv_lib_$ac_lib_var=no"
13036 fi
13037 rm -f conftest*
13038 LIBS="$ac_save_LIBS"
13039
13040 fi
13041 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13042 echo "$ac_t""yes" 1>&6
13043
13044 cat >> confdefs.h <<\EOF
13045 #define HAVE_NANOSLEEP 1
13046 EOF
13047
13048 POSIX4_LINK="-lposix4"
13049
13050 else
13051 echo "$ac_t""no" 1>&6
13052
13053 for ac_func in usleep
13054 do
13055 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13056 echo "configure:13057: checking for $ac_func" >&5
13057 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13058 echo $ac_n "(cached) $ac_c" 1>&6
13059 else
13060 cat > conftest.$ac_ext <<EOF
13061 #line 13062 "configure"
13062 #include "confdefs.h"
13063 /* System header to define __stub macros and hopefully few prototypes,
13064 which can conflict with char $ac_func(); below. */
13065 #include <assert.h>
13066 /* Override any gcc2 internal prototype to avoid an error. */
13067 /* We use char because int might match the return type of a gcc2
13068 builtin and then its argument prototype would still apply. */
13069 char $ac_func();
13070
13071 int main() {
13072
13073 /* The GNU C library defines this for functions which it implements
13074 to always fail with ENOSYS. Some functions are actually named
13075 something starting with __ and the normal name is an alias. */
13076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13077 choke me
13078 #else
13079 $ac_func();
13080 #endif
13081
13082 ; return 0; }
13083 EOF
13084 if { (eval echo configure:13085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13085 rm -rf conftest*
13086 eval "ac_cv_func_$ac_func=yes"
13087 else
13088 echo "configure: failed program was:" >&5
13089 cat conftest.$ac_ext >&5
13090 rm -rf conftest*
13091 eval "ac_cv_func_$ac_func=no"
13092 fi
13093 rm -f conftest*
13094 fi
13095
13096 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13097 echo "$ac_t""yes" 1>&6
13098 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13099 cat >> confdefs.h <<EOF
13100 #define $ac_tr_func 1
13101 EOF
13102 cat >> confdefs.h <<\EOF
13103 #define HAVE_USLEEP 1
13104 EOF
13105
13106 else
13107 echo "$ac_t""no" 1>&6
13108 echo "configure: warning: wxSleep() function will not work" 1>&2
13109
13110 fi
13111 done
13112
13113
13114
13115 fi
13116
13117
13118
13119 fi
13120 done
13121
13122 fi
13123
13124 for ac_func in uname gethostname
13125 do
13126 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13127 echo "configure:13128: checking for $ac_func" >&5
13128 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13129 echo $ac_n "(cached) $ac_c" 1>&6
13130 else
13131 cat > conftest.$ac_ext <<EOF
13132 #line 13133 "configure"
13133 #include "confdefs.h"
13134 /* System header to define __stub macros and hopefully few prototypes,
13135 which can conflict with char $ac_func(); below. */
13136 #include <assert.h>
13137 /* Override any gcc2 internal prototype to avoid an error. */
13138 /* We use char because int might match the return type of a gcc2
13139 builtin and then its argument prototype would still apply. */
13140 char $ac_func();
13141
13142 int main() {
13143
13144 /* The GNU C library defines this for functions which it implements
13145 to always fail with ENOSYS. Some functions are actually named
13146 something starting with __ and the normal name is an alias. */
13147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13148 choke me
13149 #else
13150 $ac_func();
13151 #endif
13152
13153 ; return 0; }
13154 EOF
13155 if { (eval echo configure:13156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13156 rm -rf conftest*
13157 eval "ac_cv_func_$ac_func=yes"
13158 else
13159 echo "configure: failed program was:" >&5
13160 cat conftest.$ac_ext >&5
13161 rm -rf conftest*
13162 eval "ac_cv_func_$ac_func=no"
13163 fi
13164 rm -f conftest*
13165 fi
13166
13167 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13168 echo "$ac_t""yes" 1>&6
13169 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13170 cat >> confdefs.h <<EOF
13171 #define $ac_tr_func 1
13172 EOF
13173 break
13174 else
13175 echo "$ac_t""no" 1>&6
13176 fi
13177 done
13178
13179
13180
13181 ac_ext=C
13182 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13183 ac_cpp='$CXXCPP $CPPFLAGS'
13184 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13185 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13186 cross_compiling=$ac_cv_prog_cxx_cross
13187
13188
13189 for ac_func in strtok_r
13190 do
13191 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13192 echo "configure:13193: checking for $ac_func" >&5
13193 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13194 echo $ac_n "(cached) $ac_c" 1>&6
13195 else
13196 cat > conftest.$ac_ext <<EOF
13197 #line 13198 "configure"
13198 #include "confdefs.h"
13199 /* System header to define __stub macros and hopefully few prototypes,
13200 which can conflict with char $ac_func(); below. */
13201 #include <assert.h>
13202 /* Override any gcc2 internal prototype to avoid an error. */
13203 #ifdef __cplusplus
13204 extern "C"
13205 #endif
13206 /* We use char because int might match the return type of a gcc2
13207 builtin and then its argument prototype would still apply. */
13208 char $ac_func();
13209
13210 int main() {
13211
13212 /* The GNU C library defines this for functions which it implements
13213 to always fail with ENOSYS. Some functions are actually named
13214 something starting with __ and the normal name is an alias. */
13215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13216 choke me
13217 #else
13218 $ac_func();
13219 #endif
13220
13221 ; return 0; }
13222 EOF
13223 if { (eval echo configure:13224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13224 rm -rf conftest*
13225 eval "ac_cv_func_$ac_func=yes"
13226 else
13227 echo "configure: failed program was:" >&5
13228 cat conftest.$ac_ext >&5
13229 rm -rf conftest*
13230 eval "ac_cv_func_$ac_func=no"
13231 fi
13232 rm -f conftest*
13233 fi
13234
13235 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13236 echo "$ac_t""yes" 1>&6
13237 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13238 cat >> confdefs.h <<EOF
13239 #define $ac_tr_func 1
13240 EOF
13241
13242 else
13243 echo "$ac_t""no" 1>&6
13244 fi
13245 done
13246
13247
13248 ac_ext=c
13249 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13250 ac_cpp='$CPP $CPPFLAGS'
13251 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13252 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13253 cross_compiling=$ac_cv_prog_cc_cross
13254
13255
13256 INET_LINK=
13257 for ac_func in inet_addr
13258 do
13259 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13260 echo "configure:13261: checking for $ac_func" >&5
13261 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13262 echo $ac_n "(cached) $ac_c" 1>&6
13263 else
13264 cat > conftest.$ac_ext <<EOF
13265 #line 13266 "configure"
13266 #include "confdefs.h"
13267 /* System header to define __stub macros and hopefully few prototypes,
13268 which can conflict with char $ac_func(); below. */
13269 #include <assert.h>
13270 /* Override any gcc2 internal prototype to avoid an error. */
13271 /* We use char because int might match the return type of a gcc2
13272 builtin and then its argument prototype would still apply. */
13273 char $ac_func();
13274
13275 int main() {
13276
13277 /* The GNU C library defines this for functions which it implements
13278 to always fail with ENOSYS. Some functions are actually named
13279 something starting with __ and the normal name is an alias. */
13280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13281 choke me
13282 #else
13283 $ac_func();
13284 #endif
13285
13286 ; return 0; }
13287 EOF
13288 if { (eval echo configure:13289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13289 rm -rf conftest*
13290 eval "ac_cv_func_$ac_func=yes"
13291 else
13292 echo "configure: failed program was:" >&5
13293 cat conftest.$ac_ext >&5
13294 rm -rf conftest*
13295 eval "ac_cv_func_$ac_func=no"
13296 fi
13297 rm -f conftest*
13298 fi
13299
13300 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13301 echo "$ac_t""yes" 1>&6
13302 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13303 cat >> confdefs.h <<EOF
13304 #define $ac_tr_func 1
13305 EOF
13306 cat >> confdefs.h <<\EOF
13307 #define HAVE_INET_ADDR 1
13308 EOF
13309
13310 else
13311 echo "$ac_t""no" 1>&6
13312 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
13313 echo "configure:13314: checking for inet_addr in -lnsl" >&5
13314 ac_lib_var=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
13315 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13316 echo $ac_n "(cached) $ac_c" 1>&6
13317 else
13318 ac_save_LIBS="$LIBS"
13319 LIBS="-lnsl $LIBS"
13320 cat > conftest.$ac_ext <<EOF
13321 #line 13322 "configure"
13322 #include "confdefs.h"
13323 /* Override any gcc2 internal prototype to avoid an error. */
13324 /* We use char because int might match the return type of a gcc2
13325 builtin and then its argument prototype would still apply. */
13326 char inet_addr();
13327
13328 int main() {
13329 inet_addr()
13330 ; return 0; }
13331 EOF
13332 if { (eval echo configure:13333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13333 rm -rf conftest*
13334 eval "ac_cv_lib_$ac_lib_var=yes"
13335 else
13336 echo "configure: failed program was:" >&5
13337 cat conftest.$ac_ext >&5
13338 rm -rf conftest*
13339 eval "ac_cv_lib_$ac_lib_var=no"
13340 fi
13341 rm -f conftest*
13342 LIBS="$ac_save_LIBS"
13343
13344 fi
13345 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13346 echo "$ac_t""yes" 1>&6
13347 INET_LINK="nsl"
13348 else
13349 echo "$ac_t""no" 1>&6
13350 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
13351 echo "configure:13352: checking for inet_addr in -lresolv" >&5
13352 ac_lib_var=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
13353 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13354 echo $ac_n "(cached) $ac_c" 1>&6
13355 else
13356 ac_save_LIBS="$LIBS"
13357 LIBS="-lresolv $LIBS"
13358 cat > conftest.$ac_ext <<EOF
13359 #line 13360 "configure"
13360 #include "confdefs.h"
13361 /* Override any gcc2 internal prototype to avoid an error. */
13362 /* We use char because int might match the return type of a gcc2
13363 builtin and then its argument prototype would still apply. */
13364 char inet_addr();
13365
13366 int main() {
13367 inet_addr()
13368 ; return 0; }
13369 EOF
13370 if { (eval echo configure:13371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13371 rm -rf conftest*
13372 eval "ac_cv_lib_$ac_lib_var=yes"
13373 else
13374 echo "configure: failed program was:" >&5
13375 cat conftest.$ac_ext >&5
13376 rm -rf conftest*
13377 eval "ac_cv_lib_$ac_lib_var=no"
13378 fi
13379 rm -f conftest*
13380 LIBS="$ac_save_LIBS"
13381
13382 fi
13383 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13384 echo "$ac_t""yes" 1>&6
13385 INET_LINK="resolv"
13386
13387 else
13388 echo "$ac_t""no" 1>&6
13389 fi
13390
13391
13392 fi
13393
13394
13395
13396 fi
13397 done
13398
13399
13400 for ac_func in inet_aton
13401 do
13402 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13403 echo "configure:13404: checking for $ac_func" >&5
13404 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13405 echo $ac_n "(cached) $ac_c" 1>&6
13406 else
13407 cat > conftest.$ac_ext <<EOF
13408 #line 13409 "configure"
13409 #include "confdefs.h"
13410 /* System header to define __stub macros and hopefully few prototypes,
13411 which can conflict with char $ac_func(); below. */
13412 #include <assert.h>
13413 /* Override any gcc2 internal prototype to avoid an error. */
13414 /* We use char because int might match the return type of a gcc2
13415 builtin and then its argument prototype would still apply. */
13416 char $ac_func();
13417
13418 int main() {
13419
13420 /* The GNU C library defines this for functions which it implements
13421 to always fail with ENOSYS. Some functions are actually named
13422 something starting with __ and the normal name is an alias. */
13423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13424 choke me
13425 #else
13426 $ac_func();
13427 #endif
13428
13429 ; return 0; }
13430 EOF
13431 if { (eval echo configure:13432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13432 rm -rf conftest*
13433 eval "ac_cv_func_$ac_func=yes"
13434 else
13435 echo "configure: failed program was:" >&5
13436 cat conftest.$ac_ext >&5
13437 rm -rf conftest*
13438 eval "ac_cv_func_$ac_func=no"
13439 fi
13440 rm -f conftest*
13441 fi
13442
13443 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13444 echo "$ac_t""yes" 1>&6
13445 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13446 cat >> confdefs.h <<EOF
13447 #define $ac_tr_func 1
13448 EOF
13449 cat >> confdefs.h <<\EOF
13450 #define HAVE_INET_ATON 1
13451 EOF
13452
13453 else
13454 echo "$ac_t""no" 1>&6
13455 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
13456 echo "configure:13457: checking for inet_aton in -l$INET_LINK" >&5
13457 ac_lib_var=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
13458 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13459 echo $ac_n "(cached) $ac_c" 1>&6
13460 else
13461 ac_save_LIBS="$LIBS"
13462 LIBS="-l$INET_LINK $LIBS"
13463 cat > conftest.$ac_ext <<EOF
13464 #line 13465 "configure"
13465 #include "confdefs.h"
13466 /* Override any gcc2 internal prototype to avoid an error. */
13467 /* We use char because int might match the return type of a gcc2
13468 builtin and then its argument prototype would still apply. */
13469 char inet_aton();
13470
13471 int main() {
13472 inet_aton()
13473 ; return 0; }
13474 EOF
13475 if { (eval echo configure:13476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13476 rm -rf conftest*
13477 eval "ac_cv_lib_$ac_lib_var=yes"
13478 else
13479 echo "configure: failed program was:" >&5
13480 cat conftest.$ac_ext >&5
13481 rm -rf conftest*
13482 eval "ac_cv_lib_$ac_lib_var=no"
13483 fi
13484 rm -f conftest*
13485 LIBS="$ac_save_LIBS"
13486
13487 fi
13488 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13489 echo "$ac_t""yes" 1>&6
13490 cat >> confdefs.h <<\EOF
13491 #define HAVE_INET_ATON 1
13492 EOF
13493
13494 else
13495 echo "$ac_t""no" 1>&6
13496 fi
13497
13498
13499 fi
13500 done
13501
13502
13503 if test "x$INET_LINK" != "x"; then
13504 cat >> confdefs.h <<\EOF
13505 #define HAVE_INET_ADDR 1
13506 EOF
13507
13508 INET_LINK="-l$INET_LINK"
13509 fi
13510
13511 fi
13512
13513
13514 cat > confcache <<\EOF
13515 # This file is a shell script that caches the results of configure
13516 # tests run on this system so they can be shared between configure
13517 # scripts and configure runs. It is not useful on other systems.
13518 # If it contains results you don't want to keep, you may remove or edit it.
13519 #
13520 # By default, configure uses ./config.cache as the cache file,
13521 # creating it if it does not exist already. You can give configure
13522 # the --cache-file=FILE option to use a different cache file; that is
13523 # what configure does when it calls configure scripts in
13524 # subdirectories, so they share the cache.
13525 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13526 # config.status only pays attention to the cache file if you give it the
13527 # --recheck option to rerun configure.
13528 #
13529 EOF
13530 # The following way of writing the cache mishandles newlines in values,
13531 # but we know of no workaround that is simple, portable, and efficient.
13532 # So, don't put newlines in cache variables' values.
13533 # Ultrix sh set writes to stderr and can't be redirected directly,
13534 # and sets the high bit in the cache file unless we assign to the vars.
13535 (set) 2>&1 |
13536 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13537 *ac_space=\ *)
13538 # `set' does not quote correctly, so add quotes (double-quote substitution
13539 # turns \\\\ into \\, and sed turns \\ into \).
13540 sed -n \
13541 -e "s/'/'\\\\''/g" \
13542 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13543 ;;
13544 *)
13545 # `set' quotes correctly as required by POSIX, so do not add quotes.
13546 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13547 ;;
13548 esac >> confcache
13549 if cmp -s $cache_file confcache; then
13550 :
13551 else
13552 if test -w $cache_file; then
13553 echo "updating cache $cache_file"
13554 cat confcache > $cache_file
13555 else
13556 echo "not updating unwritable cache $cache_file"
13557 fi
13558 fi
13559 rm -f confcache
13560
13561
13562
13563 if test "$TOOLKIT" != "MSW"; then
13564
13565
13566 THREADS_LINK=""
13567 THREADS_OBJ=""
13568
13569 if test "$wxUSE_THREADS" = "yes" ; then
13570 if test "$wxUSE_WINE" = 1 ; then
13571 echo "configure: warning: Threads are not supported under WINE" 1>&2
13572 wxUSE_THREADS="no"
13573 elif test "$USE_BEOS" = 1; then
13574 echo "configure: warning: BeOS threads are not yet supported" 1>&2
13575 wxUSE_THREADS="no"
13576 fi
13577 fi
13578
13579 if test "$wxUSE_THREADS" = "yes" ; then
13580
13581 if test "$USE_AIX" = 1; then
13582 THREADS_LIB=pthreads
13583 else
13584 THREADS_LIB=pthread
13585 fi
13586
13587 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
13588 echo "configure:13589: checking for pthread_create in -l$THREADS_LIB" >&5
13589 ac_lib_var=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
13590 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13591 echo $ac_n "(cached) $ac_c" 1>&6
13592 else
13593 ac_save_LIBS="$LIBS"
13594 LIBS="-l$THREADS_LIB $LIBS"
13595 cat > conftest.$ac_ext <<EOF
13596 #line 13597 "configure"
13597 #include "confdefs.h"
13598 /* Override any gcc2 internal prototype to avoid an error. */
13599 /* We use char because int might match the return type of a gcc2
13600 builtin and then its argument prototype would still apply. */
13601 char pthread_create();
13602
13603 int main() {
13604 pthread_create()
13605 ; return 0; }
13606 EOF
13607 if { (eval echo configure:13608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13608 rm -rf conftest*
13609 eval "ac_cv_lib_$ac_lib_var=yes"
13610 else
13611 echo "configure: failed program was:" >&5
13612 cat conftest.$ac_ext >&5
13613 rm -rf conftest*
13614 eval "ac_cv_lib_$ac_lib_var=no"
13615 fi
13616 rm -f conftest*
13617 LIBS="$ac_save_LIBS"
13618
13619 fi
13620 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13621 echo "$ac_t""yes" 1>&6
13622
13623 THREADS_OBJ="threadpsx.lo"
13624 THREADS_LINK=$THREADS_LIB
13625
13626 else
13627 echo "$ac_t""no" 1>&6
13628
13629 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
13630 echo "configure:13631: checking for pthread_create in -lc_r" >&5
13631 ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
13632 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13633 echo $ac_n "(cached) $ac_c" 1>&6
13634 else
13635 ac_save_LIBS="$LIBS"
13636 LIBS="-lc_r $LIBS"
13637 cat > conftest.$ac_ext <<EOF
13638 #line 13639 "configure"
13639 #include "confdefs.h"
13640 /* Override any gcc2 internal prototype to avoid an error. */
13641 /* We use char because int might match the return type of a gcc2
13642 builtin and then its argument prototype would still apply. */
13643 char pthread_create();
13644
13645 int main() {
13646 pthread_create()
13647 ; return 0; }
13648 EOF
13649 if { (eval echo configure:13650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13650 rm -rf conftest*
13651 eval "ac_cv_lib_$ac_lib_var=yes"
13652 else
13653 echo "configure: failed program was:" >&5
13654 cat conftest.$ac_ext >&5
13655 rm -rf conftest*
13656 eval "ac_cv_lib_$ac_lib_var=no"
13657 fi
13658 rm -f conftest*
13659 LIBS="$ac_save_LIBS"
13660
13661 fi
13662 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13663 echo "$ac_t""yes" 1>&6
13664
13665 THREADS_OBJ="threadpsx.lo"
13666 THREADS_LINK="c_r"
13667
13668 else
13669 echo "$ac_t""no" 1>&6
13670
13671 ac_safe=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
13672 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
13673 echo "configure:13674: checking for sys/prctl.h" >&5
13674 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13675 echo $ac_n "(cached) $ac_c" 1>&6
13676 else
13677 cat > conftest.$ac_ext <<EOF
13678 #line 13679 "configure"
13679 #include "confdefs.h"
13680 #include <sys/prctl.h>
13681 EOF
13682 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13683 { (eval echo configure:13684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13684 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13685 if test -z "$ac_err"; then
13686 rm -rf conftest*
13687 eval "ac_cv_header_$ac_safe=yes"
13688 else
13689 echo "$ac_err" >&5
13690 echo "configure: failed program was:" >&5
13691 cat conftest.$ac_ext >&5
13692 rm -rf conftest*
13693 eval "ac_cv_header_$ac_safe=no"
13694 fi
13695 rm -f conftest*
13696 fi
13697 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13698 echo "$ac_t""yes" 1>&6
13699
13700 THREADS_OBJ="threadsgi.lo"
13701
13702 else
13703 echo "$ac_t""no" 1>&6
13704 fi
13705
13706
13707 fi
13708
13709
13710 fi
13711
13712
13713 if test -z "$THREADS_OBJ" ; then
13714 wxUSE_THREADS=no
13715 echo "configure: warning: No thread support on this system" 1>&2
13716 fi
13717 fi
13718
13719 if test "$wxUSE_THREADS" = "yes" ; then
13720 for ac_func in thr_setconcurrency
13721 do
13722 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13723 echo "configure:13724: checking for $ac_func" >&5
13724 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13725 echo $ac_n "(cached) $ac_c" 1>&6
13726 else
13727 cat > conftest.$ac_ext <<EOF
13728 #line 13729 "configure"
13729 #include "confdefs.h"
13730 /* System header to define __stub macros and hopefully few prototypes,
13731 which can conflict with char $ac_func(); below. */
13732 #include <assert.h>
13733 /* Override any gcc2 internal prototype to avoid an error. */
13734 /* We use char because int might match the return type of a gcc2
13735 builtin and then its argument prototype would still apply. */
13736 char $ac_func();
13737
13738 int main() {
13739
13740 /* The GNU C library defines this for functions which it implements
13741 to always fail with ENOSYS. Some functions are actually named
13742 something starting with __ and the normal name is an alias. */
13743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13744 choke me
13745 #else
13746 $ac_func();
13747 #endif
13748
13749 ; return 0; }
13750 EOF
13751 if { (eval echo configure:13752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13752 rm -rf conftest*
13753 eval "ac_cv_func_$ac_func=yes"
13754 else
13755 echo "configure: failed program was:" >&5
13756 cat conftest.$ac_ext >&5
13757 rm -rf conftest*
13758 eval "ac_cv_func_$ac_func=no"
13759 fi
13760 rm -f conftest*
13761 fi
13762
13763 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13764 echo "$ac_t""yes" 1>&6
13765 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13766 cat >> confdefs.h <<EOF
13767 #define $ac_tr_func 1
13768 EOF
13769
13770 else
13771 echo "$ac_t""no" 1>&6
13772 fi
13773 done
13774
13775
13776
13777 for ac_hdr in sched.h
13778 do
13779 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13780 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13781 echo "configure:13782: checking for $ac_hdr" >&5
13782 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13783 echo $ac_n "(cached) $ac_c" 1>&6
13784 else
13785 cat > conftest.$ac_ext <<EOF
13786 #line 13787 "configure"
13787 #include "confdefs.h"
13788 #include <$ac_hdr>
13789 EOF
13790 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13791 { (eval echo configure:13792: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13792 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13793 if test -z "$ac_err"; then
13794 rm -rf conftest*
13795 eval "ac_cv_header_$ac_safe=yes"
13796 else
13797 echo "$ac_err" >&5
13798 echo "configure: failed program was:" >&5
13799 cat conftest.$ac_ext >&5
13800 rm -rf conftest*
13801 eval "ac_cv_header_$ac_safe=no"
13802 fi
13803 rm -f conftest*
13804 fi
13805 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13806 echo "$ac_t""yes" 1>&6
13807 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13808 cat >> confdefs.h <<EOF
13809 #define $ac_tr_hdr 1
13810 EOF
13811
13812 else
13813 echo "$ac_t""no" 1>&6
13814 fi
13815 done
13816
13817
13818 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
13819 echo "configure:13820: checking for sched_yield in -l$THREADS_LINK" >&5
13820 ac_lib_var=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
13821 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13822 echo $ac_n "(cached) $ac_c" 1>&6
13823 else
13824 ac_save_LIBS="$LIBS"
13825 LIBS="-l$THREADS_LINK $LIBS"
13826 cat > conftest.$ac_ext <<EOF
13827 #line 13828 "configure"
13828 #include "confdefs.h"
13829 /* Override any gcc2 internal prototype to avoid an error. */
13830 /* We use char because int might match the return type of a gcc2
13831 builtin and then its argument prototype would still apply. */
13832 char sched_yield();
13833
13834 int main() {
13835 sched_yield()
13836 ; return 0; }
13837 EOF
13838 if { (eval echo configure:13839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13839 rm -rf conftest*
13840 eval "ac_cv_lib_$ac_lib_var=yes"
13841 else
13842 echo "configure: failed program was:" >&5
13843 cat conftest.$ac_ext >&5
13844 rm -rf conftest*
13845 eval "ac_cv_lib_$ac_lib_var=no"
13846 fi
13847 rm -f conftest*
13848 LIBS="$ac_save_LIBS"
13849
13850 fi
13851 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13852 echo "$ac_t""yes" 1>&6
13853 cat >> confdefs.h <<\EOF
13854 #define HAVE_SCHED_YIELD 1
13855 EOF
13856
13857 else
13858 echo "$ac_t""no" 1>&6
13859 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
13860 echo "configure:13861: checking for sched_yield in -lposix4" >&5
13861 ac_lib_var=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
13862 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13863 echo $ac_n "(cached) $ac_c" 1>&6
13864 else
13865 ac_save_LIBS="$LIBS"
13866 LIBS="-lposix4 $LIBS"
13867 cat > conftest.$ac_ext <<EOF
13868 #line 13869 "configure"
13869 #include "confdefs.h"
13870 /* Override any gcc2 internal prototype to avoid an error. */
13871 /* We use char because int might match the return type of a gcc2
13872 builtin and then its argument prototype would still apply. */
13873 char sched_yield();
13874
13875 int main() {
13876 sched_yield()
13877 ; return 0; }
13878 EOF
13879 if { (eval echo configure:13880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13880 rm -rf conftest*
13881 eval "ac_cv_lib_$ac_lib_var=yes"
13882 else
13883 echo "configure: failed program was:" >&5
13884 cat conftest.$ac_ext >&5
13885 rm -rf conftest*
13886 eval "ac_cv_lib_$ac_lib_var=no"
13887 fi
13888 rm -f conftest*
13889 LIBS="$ac_save_LIBS"
13890
13891 fi
13892 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13893 echo "$ac_t""yes" 1>&6
13894 cat >> confdefs.h <<\EOF
13895 #define HAVE_SCHED_YIELD 1
13896 EOF
13897 POSIX4_LINK="-lposix4"
13898 else
13899 echo "$ac_t""no" 1>&6
13900 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
13901
13902 fi
13903
13904
13905 fi
13906
13907
13908 HAVE_PRIOR_FUNCS=0
13909 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
13910 echo "configure:13911: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
13911 ac_lib_var=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
13912 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13913 echo $ac_n "(cached) $ac_c" 1>&6
13914 else
13915 ac_save_LIBS="$LIBS"
13916 LIBS="-l$THREADS_LINK $LIBS"
13917 cat > conftest.$ac_ext <<EOF
13918 #line 13919 "configure"
13919 #include "confdefs.h"
13920 /* Override any gcc2 internal prototype to avoid an error. */
13921 /* We use char because int might match the return type of a gcc2
13922 builtin and then its argument prototype would still apply. */
13923 char pthread_attr_getschedpolicy();
13924
13925 int main() {
13926 pthread_attr_getschedpolicy()
13927 ; return 0; }
13928 EOF
13929 if { (eval echo configure:13930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13930 rm -rf conftest*
13931 eval "ac_cv_lib_$ac_lib_var=yes"
13932 else
13933 echo "configure: failed program was:" >&5
13934 cat conftest.$ac_ext >&5
13935 rm -rf conftest*
13936 eval "ac_cv_lib_$ac_lib_var=no"
13937 fi
13938 rm -f conftest*
13939 LIBS="$ac_save_LIBS"
13940
13941 fi
13942 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13943 echo "$ac_t""yes" 1>&6
13944 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
13945 echo "configure:13946: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
13946 ac_lib_var=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
13947 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13948 echo $ac_n "(cached) $ac_c" 1>&6
13949 else
13950 ac_save_LIBS="$LIBS"
13951 LIBS="-l$THREADS_LINK $LIBS"
13952 cat > conftest.$ac_ext <<EOF
13953 #line 13954 "configure"
13954 #include "confdefs.h"
13955 /* Override any gcc2 internal prototype to avoid an error. */
13956 /* We use char because int might match the return type of a gcc2
13957 builtin and then its argument prototype would still apply. */
13958 char pthread_attr_setschedparam();
13959
13960 int main() {
13961 pthread_attr_setschedparam()
13962 ; return 0; }
13963 EOF
13964 if { (eval echo configure:13965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13965 rm -rf conftest*
13966 eval "ac_cv_lib_$ac_lib_var=yes"
13967 else
13968 echo "configure: failed program was:" >&5
13969 cat conftest.$ac_ext >&5
13970 rm -rf conftest*
13971 eval "ac_cv_lib_$ac_lib_var=no"
13972 fi
13973 rm -f conftest*
13974 LIBS="$ac_save_LIBS"
13975
13976 fi
13977 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13978 echo "$ac_t""yes" 1>&6
13979 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
13980 echo "configure:13981: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
13981 ac_lib_var=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
13982 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13983 echo $ac_n "(cached) $ac_c" 1>&6
13984 else
13985 ac_save_LIBS="$LIBS"
13986 LIBS="-l$THREADS_LINK $LIBS"
13987 cat > conftest.$ac_ext <<EOF
13988 #line 13989 "configure"
13989 #include "confdefs.h"
13990 /* Override any gcc2 internal prototype to avoid an error. */
13991 /* We use char because int might match the return type of a gcc2
13992 builtin and then its argument prototype would still apply. */
13993 char sched_get_priority_max();
13994
13995 int main() {
13996 sched_get_priority_max()
13997 ; return 0; }
13998 EOF
13999 if { (eval echo configure:14000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14000 rm -rf conftest*
14001 eval "ac_cv_lib_$ac_lib_var=yes"
14002 else
14003 echo "configure: failed program was:" >&5
14004 cat conftest.$ac_ext >&5
14005 rm -rf conftest*
14006 eval "ac_cv_lib_$ac_lib_var=no"
14007 fi
14008 rm -f conftest*
14009 LIBS="$ac_save_LIBS"
14010
14011 fi
14012 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14013 echo "$ac_t""yes" 1>&6
14014 HAVE_PRIOR_FUNCS=1
14015 else
14016 echo "$ac_t""no" 1>&6
14017 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
14018 echo "configure:14019: checking for sched_get_priority_max in -lposix4" >&5
14019 ac_lib_var=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14020 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14021 echo $ac_n "(cached) $ac_c" 1>&6
14022 else
14023 ac_save_LIBS="$LIBS"
14024 LIBS="-lposix4 $LIBS"
14025 cat > conftest.$ac_ext <<EOF
14026 #line 14027 "configure"
14027 #include "confdefs.h"
14028 /* Override any gcc2 internal prototype to avoid an error. */
14029 /* We use char because int might match the return type of a gcc2
14030 builtin and then its argument prototype would still apply. */
14031 char sched_get_priority_max();
14032
14033 int main() {
14034 sched_get_priority_max()
14035 ; return 0; }
14036 EOF
14037 if { (eval echo configure:14038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14038 rm -rf conftest*
14039 eval "ac_cv_lib_$ac_lib_var=yes"
14040 else
14041 echo "configure: failed program was:" >&5
14042 cat conftest.$ac_ext >&5
14043 rm -rf conftest*
14044 eval "ac_cv_lib_$ac_lib_var=no"
14045 fi
14046 rm -f conftest*
14047 LIBS="$ac_save_LIBS"
14048
14049 fi
14050 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14051 echo "$ac_t""yes" 1>&6
14052
14053 HAVE_PRIOR_FUNCS=1
14054 POSIX4_LINK="-lposix4"
14055
14056 else
14057 echo "$ac_t""no" 1>&6
14058 fi
14059
14060
14061 fi
14062
14063
14064 else
14065 echo "$ac_t""no" 1>&6
14066 fi
14067
14068
14069 else
14070 echo "$ac_t""no" 1>&6
14071 fi
14072
14073
14074 if test "$HAVE_PRIOR_FUNCS" = 1; then
14075 cat >> confdefs.h <<\EOF
14076 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
14077 EOF
14078
14079 else
14080 echo "configure: warning: Setting thread priority will not work" 1>&2
14081 fi
14082
14083 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
14084 echo "configure:14085: checking for pthread_cancel in -l$THREADS_LINK" >&5
14085 ac_lib_var=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
14086 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14087 echo $ac_n "(cached) $ac_c" 1>&6
14088 else
14089 ac_save_LIBS="$LIBS"
14090 LIBS="-l$THREADS_LINK $LIBS"
14091 cat > conftest.$ac_ext <<EOF
14092 #line 14093 "configure"
14093 #include "confdefs.h"
14094 /* Override any gcc2 internal prototype to avoid an error. */
14095 /* We use char because int might match the return type of a gcc2
14096 builtin and then its argument prototype would still apply. */
14097 char pthread_cancel();
14098
14099 int main() {
14100 pthread_cancel()
14101 ; return 0; }
14102 EOF
14103 if { (eval echo configure:14104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14104 rm -rf conftest*
14105 eval "ac_cv_lib_$ac_lib_var=yes"
14106 else
14107 echo "configure: failed program was:" >&5
14108 cat conftest.$ac_ext >&5
14109 rm -rf conftest*
14110 eval "ac_cv_lib_$ac_lib_var=no"
14111 fi
14112 rm -f conftest*
14113 LIBS="$ac_save_LIBS"
14114
14115 fi
14116 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14117 echo "$ac_t""yes" 1>&6
14118 cat >> confdefs.h <<\EOF
14119 #define HAVE_PTHREAD_CANCEL 1
14120 EOF
14121
14122 else
14123 echo "$ac_t""no" 1>&6
14124 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
14125 fi
14126
14127
14128 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
14129 echo "configure:14130: checking for pthread_cleanup_push/pop" >&5
14130 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
14131 echo $ac_n "(cached) $ac_c" 1>&6
14132 else
14133
14134 cat > conftest.$ac_ext <<EOF
14135 #line 14136 "configure"
14136 #include "confdefs.h"
14137 #include <pthread.h>
14138 int main() {
14139
14140 pthread_cleanup_push(NULL, NULL);
14141 pthread_cleanup_pop(0);
14142
14143 ; return 0; }
14144 EOF
14145 if { (eval echo configure:14146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14146 rm -rf conftest*
14147
14148 wx_cv_func_pthread_cleanup_push=yes
14149
14150 else
14151 echo "configure: failed program was:" >&5
14152 cat conftest.$ac_ext >&5
14153 rm -rf conftest*
14154
14155 wx_cv_func_pthread_cleanup_push=no
14156
14157 fi
14158 rm -f conftest*
14159
14160 fi
14161
14162 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
14163
14164 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
14165 cat >> confdefs.h <<\EOF
14166 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
14167 EOF
14168
14169 fi
14170
14171
14172 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
14173 echo "configure:14174: checking for pthread_mutexattr_t" >&5
14174 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
14175 echo $ac_n "(cached) $ac_c" 1>&6
14176 else
14177
14178 cat > conftest.$ac_ext <<EOF
14179 #line 14180 "configure"
14180 #include "confdefs.h"
14181 #include <pthread.h>
14182 int main() {
14183
14184 pthread_mutexattr_t attr;
14185 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
14186
14187 ; return 0; }
14188 EOF
14189 if { (eval echo configure:14190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14190 rm -rf conftest*
14191
14192 wx_cv_type_pthread_mutexattr_t=yes
14193
14194 else
14195 echo "configure: failed program was:" >&5
14196 cat conftest.$ac_ext >&5
14197 rm -rf conftest*
14198
14199 wx_cv_type_pthread_mutexattr_t=no
14200
14201
14202 fi
14203 rm -f conftest*
14204
14205 fi
14206
14207 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
14208
14209 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
14210 cat >> confdefs.h <<\EOF
14211 #define HAVE_PTHREAD_MUTEXATTR_T 1
14212 EOF
14213
14214 else
14215 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
14216 echo "configure:14217: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
14217 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
14218 echo $ac_n "(cached) $ac_c" 1>&6
14219 else
14220
14221 cat > conftest.$ac_ext <<EOF
14222 #line 14223 "configure"
14223 #include "confdefs.h"
14224 #include <pthread.h>
14225 int main() {
14226
14227 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
14228
14229 ; return 0; }
14230 EOF
14231 if { (eval echo configure:14232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14232 rm -rf conftest*
14233
14234 wx_cv_type_pthread_rec_mutex_init=yes
14235
14236 else
14237 echo "configure: failed program was:" >&5
14238 cat conftest.$ac_ext >&5
14239 rm -rf conftest*
14240
14241 wx_cv_type_pthread_rec_mutex_init=no
14242
14243
14244 fi
14245 rm -f conftest*
14246
14247 fi
14248
14249 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
14250 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
14251 cat >> confdefs.h <<\EOF
14252 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
14253 EOF
14254
14255 else
14256 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
14257 fi
14258 fi
14259
14260 THREADS_LINK="-l$THREADS_LINK"
14261
14262 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
14263 CFLAGS="${CFLAGS} -mt"
14264 CXXFLAGS="${CXXFLAGS} -mt"
14265 LDFLAGS="${LDFLAGS} -mt"
14266 fi
14267 fi
14268
14269 fi
14270
14271 if test "$wxUSE_THREADS" = "yes"; then
14272 cat >> confdefs.h <<\EOF
14273 #define wxUSE_THREADS 1
14274 EOF
14275
14276
14277 if test "$wxUSE_MAC" = "0"; then
14278 CFLAGS="${CFLAGS} -D_REENTRANT"
14279 CXXFLAGS="${CXXFLAGS} -D_REENTRANT"
14280 fi
14281
14282 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
14283 else
14284 if test "$ac_cv_func_strtok_r" = "yes"; then
14285 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
14286 echo "configure:14287: checking if -D_REENTRANT is needed" >&5
14287 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
14288 CFLAGS="${CFLAGS} -D_REENTRANT"
14289 CXXFLAGS="${CXXFLAGS} -D_REENTRANT"
14290 echo "$ac_t""yes" 1>&6
14291 else
14292 echo "$ac_t""no" 1>&6
14293 fi
14294 fi
14295 fi
14296
14297 if test "$WXGTK20" = 1 ; then
14298 cat >> confdefs.h <<EOF
14299 #define __WXGTK20__ $WXGTK20
14300 EOF
14301
14302 WXGTK12=1
14303 fi
14304
14305 if test "$WXGTK12" = 1 ; then
14306 cat >> confdefs.h <<EOF
14307 #define __WXGTK12__ $WXGTK12
14308 EOF
14309
14310 fi
14311
14312 if test "$WXGTK127" = 1 ; then
14313 cat >> confdefs.h <<EOF
14314 #define __WXGTK127__ $WXGTK127
14315 EOF
14316
14317 fi
14318
14319 if test "$WXWINE" = 1 ; then
14320 TOOLKIT_DEF="${TOOLKIT_DEF} -D__WXWINE__"
14321 fi
14322
14323 if test "$wxUSE_MAC" = 1 ; then
14324 TOOLKIT_DEF="${TOOLKIT_DEF} -D__UNIX__ -D__POWERPC__ -DTARGET_CARBON"
14325 CFLAGS="${CFLAGS} -fno-common -fpascal-strings"
14326 CPPFLAGS="${CPPFLAGS} -cpp-precomp -fno-common -fpascal-strings"
14327 # Extract the first word of "Rez", so it can be a program name with args.
14328 set dummy Rez; ac_word=$2
14329 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14330 echo "configure:14331: checking for $ac_word" >&5
14331 if eval "test \"`echo '$''{'ac_cv_prog_REZ'+set}'`\" = set"; then
14332 echo $ac_n "(cached) $ac_c" 1>&6
14333 else
14334 if test -n "$REZ"; then
14335 ac_cv_prog_REZ="$REZ" # Let the user override the test.
14336 else
14337 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
14338 ac_dummy="$PATH"
14339 for ac_dir in $ac_dummy; do
14340 test -z "$ac_dir" && ac_dir=.
14341 if test -f $ac_dir/$ac_word; then
14342 ac_cv_prog_REZ="Rez"
14343 break
14344 fi
14345 done
14346 IFS="$ac_save_ifs"
14347 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
14348 fi
14349 fi
14350 REZ="$ac_cv_prog_REZ"
14351 if test -n "$REZ"; then
14352 echo "$ac_t""$REZ" 1>&6
14353 else
14354 echo "$ac_t""no" 1>&6
14355 fi
14356
14357 # Extract the first word of "Derez", so it can be a program name with args.
14358 set dummy Derez; ac_word=$2
14359 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14360 echo "configure:14361: checking for $ac_word" >&5
14361 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
14362 echo $ac_n "(cached) $ac_c" 1>&6
14363 else
14364 if test -n "$DEREZ"; then
14365 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
14366 else
14367 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
14368 ac_dummy="$PATH"
14369 for ac_dir in $ac_dummy; do
14370 test -z "$ac_dir" && ac_dir=.
14371 if test -f $ac_dir/$ac_word; then
14372 ac_cv_prog_DEREZ="Derez"
14373 break
14374 fi
14375 done
14376 IFS="$ac_save_ifs"
14377 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/Derez"
14378 fi
14379 fi
14380 DEREZ="$ac_cv_prog_DEREZ"
14381 if test -n "$DEREZ"; then
14382 echo "$ac_t""$DEREZ" 1>&6
14383 else
14384 echo "$ac_t""no" 1>&6
14385 fi
14386
14387 RESCOMP=${REZ}
14388 REZFLAGS="-d __UNIX__ -useDF"
14389 DEREZFLAGS="Carbon.r -useDF"
14390 RESFLAGS="Carbon.r -t APPL"
14391 LIBWXMACRES="\$(LIBWX_MACRES)"
14392 LIBWXMACRESCOMP="\$(LIBWX_MACRESCOMP)"
14393 fi
14394
14395 if test "$wxUSE_CYGWIN" = 1 ; then
14396 TOOLKIT_DEF="${TOOLKIT_DEF} -D__WIN95__"
14397 fi
14398
14399 WXDEBUG=
14400
14401 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
14402 WXDEBUG="-g"
14403 wxUSE_OPTIMISE=no
14404 fi
14405
14406 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
14407 wxUSE_DEBUG_INFO=yes
14408 WXDEBUG="-ggdb"
14409 fi
14410
14411 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
14412 cat >> confdefs.h <<\EOF
14413 #define WXDEBUG 1
14414 EOF
14415
14416 WXDEBUG_DEFINE="-D__WXDEBUG__"
14417 else
14418 if test "$wxUSE_GTK" = 1 ; then
14419 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
14420 fi
14421 fi
14422
14423 if test "$wxUSE_MEM_TRACING" = "yes" ; then
14424 cat >> confdefs.h <<\EOF
14425 #define wxUSE_MEMORY_TRACING 1
14426 EOF
14427
14428 cat >> confdefs.h <<\EOF
14429 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
14430 EOF
14431
14432 cat >> confdefs.h <<\EOF
14433 #define wxUSE_DEBUG_NEW_ALWAYS 1
14434 EOF
14435
14436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
14437 fi
14438
14439 if test "$wxUSE_DMALLOC" = "yes" ; then
14440 DMALLOC_LINK="-ldmalloc"
14441 fi
14442
14443 PROFILE=
14444 if test "$wxUSE_PROFILE" = "yes" ; then
14445 PROFILE="-pg"
14446 fi
14447
14448 DEP_INFO_FLAGS=
14449 CODE_GEN_FLAGS=
14450 CODE_GEN_FLAGS_CXX=
14451 if test "$GCC" = yes ; then
14452 if test "$wxUSE_NO_RTTI" = "yes" ; then
14453 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS -fno-rtti"
14454 fi
14455 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
14456 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS -fno-exceptions"
14457 fi
14458 if test "$wxUSE_PERMISSIVE" = "yes" ; then
14459 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
14460 fi
14461 if test "$wxUSE_NO_DEPS" = "no" ; then
14462 DEP_INFO_FLAGS="-MMD"
14463 fi
14464 fi
14465
14466
14467 CXXFLAGS=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
14468 CFLAGS=`echo "${CFLAGS}" | sed "s/\-O.//g" `
14469 if test "$wxUSE_OPTIMISE" = "no" ; then
14470 OPTIMISE=
14471 else
14472 if test "$GCC" = yes ; then
14473 OPTIMISE="-O2"
14474 case "${host}" in
14475 i586-*-*|i686-*-* )
14476 OPTIMISE="${OPTIMISE} "
14477 ;;
14478 esac
14479 else
14480 OPTIMISE="-O"
14481 fi
14482 fi
14483
14484 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
14485 cat >> confdefs.h <<\EOF
14486 #define WXWIN_COMPATIBILITY_2 1
14487 EOF
14488
14489
14490 WXWIN_COMPATIBILITY_2_2="yes"
14491 fi
14492
14493 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
14494 cat >> confdefs.h <<\EOF
14495 #define WXWIN_COMPATIBILITY_2_2 1
14496 EOF
14497
14498 fi
14499
14500
14501 ZLIB_INCLUDE=
14502 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
14503 cat >> confdefs.h <<\EOF
14504 #define wxUSE_ZLIB 1
14505 EOF
14506
14507 if test "$wxUSE_ZLIB" = "yes" ; then
14508 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
14509 else
14510 ZLIB_LINK=
14511 ac_safe=`echo "zlib.h" | sed 'y%./+-%__p_%'`
14512 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
14513 echo "configure:14514: checking for zlib.h" >&5
14514 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14515 echo $ac_n "(cached) $ac_c" 1>&6
14516 else
14517 cat > conftest.$ac_ext <<EOF
14518 #line 14519 "configure"
14519 #include "confdefs.h"
14520 #include <zlib.h>
14521 EOF
14522 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14523 { (eval echo configure:14524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14524 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14525 if test -z "$ac_err"; then
14526 rm -rf conftest*
14527 eval "ac_cv_header_$ac_safe=yes"
14528 else
14529 echo "$ac_err" >&5
14530 echo "configure: failed program was:" >&5
14531 cat conftest.$ac_ext >&5
14532 rm -rf conftest*
14533 eval "ac_cv_header_$ac_safe=no"
14534 fi
14535 rm -f conftest*
14536 fi
14537 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14538 echo "$ac_t""yes" 1>&6
14539 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
14540 echo "configure:14541: checking for deflate in -lz" >&5
14541 ac_lib_var=`echo z'_'deflate | sed 'y%./+-%__p_%'`
14542 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14543 echo $ac_n "(cached) $ac_c" 1>&6
14544 else
14545 ac_save_LIBS="$LIBS"
14546 LIBS="-lz $LIBS"
14547 cat > conftest.$ac_ext <<EOF
14548 #line 14549 "configure"
14549 #include "confdefs.h"
14550 /* Override any gcc2 internal prototype to avoid an error. */
14551 /* We use char because int might match the return type of a gcc2
14552 builtin and then its argument prototype would still apply. */
14553 char deflate();
14554
14555 int main() {
14556 deflate()
14557 ; return 0; }
14558 EOF
14559 if { (eval echo configure:14560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14560 rm -rf conftest*
14561 eval "ac_cv_lib_$ac_lib_var=yes"
14562 else
14563 echo "configure: failed program was:" >&5
14564 cat conftest.$ac_ext >&5
14565 rm -rf conftest*
14566 eval "ac_cv_lib_$ac_lib_var=no"
14567 fi
14568 rm -f conftest*
14569 LIBS="$ac_save_LIBS"
14570
14571 fi
14572 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14573 echo "$ac_t""yes" 1>&6
14574 ZLIB_LINK="-lz"
14575 else
14576 echo "$ac_t""no" 1>&6
14577 fi
14578
14579 else
14580 echo "$ac_t""no" 1>&6
14581 fi
14582
14583 if test "x$ZLIB_LINK" = "x" ; then
14584 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
14585 fi
14586 fi
14587 fi
14588
14589 PNG_INCLUDE=
14590 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
14591 cat >> confdefs.h <<\EOF
14592 #define wxUSE_LIBPNG 1
14593 EOF
14594
14595 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
14596 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
14597 wxUSE_LIBPNG=yes
14598 fi
14599
14600 if test "$wxUSE_LIBPNG" = "yes" ; then
14601 PNG_INCLUDE="-I\${top_srcdir}/src/png"
14602 else
14603 PNG_LINK=
14604 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
14605 echo $ac_n "checking for png.h""... $ac_c" 1>&6
14606 echo "configure:14607: checking for png.h" >&5
14607 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14608 echo $ac_n "(cached) $ac_c" 1>&6
14609 else
14610 cat > conftest.$ac_ext <<EOF
14611 #line 14612 "configure"
14612 #include "confdefs.h"
14613 #include <png.h>
14614 EOF
14615 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14616 { (eval echo configure:14617: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14617 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14618 if test -z "$ac_err"; then
14619 rm -rf conftest*
14620 eval "ac_cv_header_$ac_safe=yes"
14621 else
14622 echo "$ac_err" >&5
14623 echo "configure: failed program was:" >&5
14624 cat conftest.$ac_ext >&5
14625 rm -rf conftest*
14626 eval "ac_cv_header_$ac_safe=no"
14627 fi
14628 rm -f conftest*
14629 fi
14630 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14631 echo "$ac_t""yes" 1>&6
14632 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
14633 echo "configure:14634: checking for png_check_sig in -lpng" >&5
14634 ac_lib_var=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
14635 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14636 echo $ac_n "(cached) $ac_c" 1>&6
14637 else
14638 ac_save_LIBS="$LIBS"
14639 LIBS="-lpng -lz -lm $LIBS"
14640 cat > conftest.$ac_ext <<EOF
14641 #line 14642 "configure"
14642 #include "confdefs.h"
14643 /* Override any gcc2 internal prototype to avoid an error. */
14644 /* We use char because int might match the return type of a gcc2
14645 builtin and then its argument prototype would still apply. */
14646 char png_check_sig();
14647
14648 int main() {
14649 png_check_sig()
14650 ; return 0; }
14651 EOF
14652 if { (eval echo configure:14653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14653 rm -rf conftest*
14654 eval "ac_cv_lib_$ac_lib_var=yes"
14655 else
14656 echo "configure: failed program was:" >&5
14657 cat conftest.$ac_ext >&5
14658 rm -rf conftest*
14659 eval "ac_cv_lib_$ac_lib_var=no"
14660 fi
14661 rm -f conftest*
14662 LIBS="$ac_save_LIBS"
14663
14664 fi
14665 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14666 echo "$ac_t""yes" 1>&6
14667 PNG_LINK="-lpng"
14668 else
14669 echo "$ac_t""no" 1>&6
14670 fi
14671
14672
14673 else
14674 echo "$ac_t""no" 1>&6
14675 fi
14676
14677 if test "x$PNG_LINK" = "x" ; then
14678 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
14679 fi
14680 fi
14681
14682 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
14683 fi
14684
14685 JPEG_INCLUDE=
14686 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
14687 cat >> confdefs.h <<\EOF
14688 #define wxUSE_LIBJPEG 1
14689 EOF
14690
14691 if test "$wxUSE_LIBJPEG" = "yes" ; then
14692 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
14693 else
14694 JPEG_LINK=
14695 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
14696 echo "configure:14697: checking for jpeglib.h" >&5
14697 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
14698 echo $ac_n "(cached) $ac_c" 1>&6
14699 else
14700 cat > conftest.$ac_ext <<EOF
14701 #line 14702 "configure"
14702 #include "confdefs.h"
14703
14704 #undef HAVE_STDLIB_H
14705 #include <stdio.h>
14706 #include <jpeglib.h>
14707
14708 int main() {
14709
14710
14711 ; return 0; }
14712 EOF
14713 if { (eval echo configure:14714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14714 rm -rf conftest*
14715 ac_cv_header_jpeglib_h=yes
14716 else
14717 echo "configure: failed program was:" >&5
14718 cat conftest.$ac_ext >&5
14719 rm -rf conftest*
14720 ac_cv_header_jpeglib_h=no
14721
14722 fi
14723 rm -f conftest*
14724
14725 fi
14726
14727 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
14728
14729 if test "$ac_cv_header_jpeglib_h" = "yes"; then
14730 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
14731 echo "configure:14732: checking for jpeg_read_header in -ljpeg" >&5
14732 ac_lib_var=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
14733 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14734 echo $ac_n "(cached) $ac_c" 1>&6
14735 else
14736 ac_save_LIBS="$LIBS"
14737 LIBS="-ljpeg $LIBS"
14738 cat > conftest.$ac_ext <<EOF
14739 #line 14740 "configure"
14740 #include "confdefs.h"
14741 /* Override any gcc2 internal prototype to avoid an error. */
14742 /* We use char because int might match the return type of a gcc2
14743 builtin and then its argument prototype would still apply. */
14744 char jpeg_read_header();
14745
14746 int main() {
14747 jpeg_read_header()
14748 ; return 0; }
14749 EOF
14750 if { (eval echo configure:14751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14751 rm -rf conftest*
14752 eval "ac_cv_lib_$ac_lib_var=yes"
14753 else
14754 echo "configure: failed program was:" >&5
14755 cat conftest.$ac_ext >&5
14756 rm -rf conftest*
14757 eval "ac_cv_lib_$ac_lib_var=no"
14758 fi
14759 rm -f conftest*
14760 LIBS="$ac_save_LIBS"
14761
14762 fi
14763 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14764 echo "$ac_t""yes" 1>&6
14765 JPEG_LINK="-ljpeg"
14766 else
14767 echo "$ac_t""no" 1>&6
14768 fi
14769
14770 fi
14771
14772 if test "x$JPEG_LINK" = "x" ; then
14773 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
14774 fi
14775 fi
14776 fi
14777
14778 TIFF_INCLUDE=
14779 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
14780 cat >> confdefs.h <<\EOF
14781 #define wxUSE_LIBTIFF 1
14782 EOF
14783
14784 if test "$wxUSE_LIBTIFF" = "yes" ; then
14785 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
14786 else
14787 TIFF_LINK=
14788 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
14789 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
14790 echo "configure:14791: checking for tiffio.h" >&5
14791 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14792 echo $ac_n "(cached) $ac_c" 1>&6
14793 else
14794 cat > conftest.$ac_ext <<EOF
14795 #line 14796 "configure"
14796 #include "confdefs.h"
14797 #include <tiffio.h>
14798 EOF
14799 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14800 { (eval echo configure:14801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14801 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14802 if test -z "$ac_err"; then
14803 rm -rf conftest*
14804 eval "ac_cv_header_$ac_safe=yes"
14805 else
14806 echo "$ac_err" >&5
14807 echo "configure: failed program was:" >&5
14808 cat conftest.$ac_ext >&5
14809 rm -rf conftest*
14810 eval "ac_cv_header_$ac_safe=no"
14811 fi
14812 rm -f conftest*
14813 fi
14814 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14815 echo "$ac_t""yes" 1>&6
14816 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
14817 echo "configure:14818: checking for TIFFError in -ltiff" >&5
14818 ac_lib_var=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
14819 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14820 echo $ac_n "(cached) $ac_c" 1>&6
14821 else
14822 ac_save_LIBS="$LIBS"
14823 LIBS="-ltiff -lm $LIBS"
14824 cat > conftest.$ac_ext <<EOF
14825 #line 14826 "configure"
14826 #include "confdefs.h"
14827 /* Override any gcc2 internal prototype to avoid an error. */
14828 /* We use char because int might match the return type of a gcc2
14829 builtin and then its argument prototype would still apply. */
14830 char TIFFError();
14831
14832 int main() {
14833 TIFFError()
14834 ; return 0; }
14835 EOF
14836 if { (eval echo configure:14837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14837 rm -rf conftest*
14838 eval "ac_cv_lib_$ac_lib_var=yes"
14839 else
14840 echo "configure: failed program was:" >&5
14841 cat conftest.$ac_ext >&5
14842 rm -rf conftest*
14843 eval "ac_cv_lib_$ac_lib_var=no"
14844 fi
14845 rm -f conftest*
14846 LIBS="$ac_save_LIBS"
14847
14848 fi
14849 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14850 echo "$ac_t""yes" 1>&6
14851 TIFF_LINK="-ltiff"
14852 else
14853 echo "$ac_t""no" 1>&6
14854 fi
14855
14856 else
14857 echo "$ac_t""no" 1>&6
14858 fi
14859
14860 if test "x$TIFF_LINK" = "x" ; then
14861 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
14862 fi
14863 fi
14864 fi
14865
14866 FREETYPE_INCLUDE=
14867 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
14868 cat >> confdefs.h <<\EOF
14869 #define wxUSE_FREETYPE 1
14870 EOF
14871
14872 if test "$wxUSE_FREETYPE" = "yes" ; then
14873 FREETYPE_INCLUDE="-I\${top_srcdir}/src/freetype"
14874 else
14875 FREETYPE_LINK=
14876 ac_safe=`echo "freetype.h" | sed 'y%./+-%__p_%'`
14877 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
14878 echo "configure:14879: checking for freetype.h" >&5
14879 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14880 echo $ac_n "(cached) $ac_c" 1>&6
14881 else
14882 cat > conftest.$ac_ext <<EOF
14883 #line 14884 "configure"
14884 #include "confdefs.h"
14885 #include <freetype.h>
14886 EOF
14887 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14888 { (eval echo configure:14889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14889 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14890 if test -z "$ac_err"; then
14891 rm -rf conftest*
14892 eval "ac_cv_header_$ac_safe=yes"
14893 else
14894 echo "$ac_err" >&5
14895 echo "configure: failed program was:" >&5
14896 cat conftest.$ac_ext >&5
14897 rm -rf conftest*
14898 eval "ac_cv_header_$ac_safe=no"
14899 fi
14900 rm -f conftest*
14901 fi
14902 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14903 echo "$ac_t""yes" 1>&6
14904 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
14905 echo "configure:14906: checking for FT_Render_Glyph in -lfreetype" >&5
14906 ac_lib_var=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
14907 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14908 echo $ac_n "(cached) $ac_c" 1>&6
14909 else
14910 ac_save_LIBS="$LIBS"
14911 LIBS="-lfreetype -lm $LIBS"
14912 cat > conftest.$ac_ext <<EOF
14913 #line 14914 "configure"
14914 #include "confdefs.h"
14915 /* Override any gcc2 internal prototype to avoid an error. */
14916 /* We use char because int might match the return type of a gcc2
14917 builtin and then its argument prototype would still apply. */
14918 char FT_Render_Glyph();
14919
14920 int main() {
14921 FT_Render_Glyph()
14922 ; return 0; }
14923 EOF
14924 if { (eval echo configure:14925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14925 rm -rf conftest*
14926 eval "ac_cv_lib_$ac_lib_var=yes"
14927 else
14928 echo "configure: failed program was:" >&5
14929 cat conftest.$ac_ext >&5
14930 rm -rf conftest*
14931 eval "ac_cv_lib_$ac_lib_var=no"
14932 fi
14933 rm -f conftest*
14934 LIBS="$ac_save_LIBS"
14935
14936 fi
14937 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14938 echo "$ac_t""yes" 1>&6
14939 FREETYPE_LINK="-lfreetype"
14940 else
14941 echo "$ac_t""no" 1>&6
14942 fi
14943
14944
14945 else
14946 echo "$ac_t""no" 1>&6
14947 fi
14948
14949 if test "x$FREETYPE_LINK" = "x" ; then
14950 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
14951 fi
14952 fi
14953 fi
14954
14955 if test "$wxUSE_OPENGL" = "yes"; then
14956 ac_safe=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
14957 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
14958 echo "configure:14959: checking for GL/gl.h" >&5
14959 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14960 echo $ac_n "(cached) $ac_c" 1>&6
14961 else
14962 cat > conftest.$ac_ext <<EOF
14963 #line 14964 "configure"
14964 #include "confdefs.h"
14965 #include <GL/gl.h>
14966 EOF
14967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14968 { (eval echo configure:14969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14969 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14970 if test -z "$ac_err"; then
14971 rm -rf conftest*
14972 eval "ac_cv_header_$ac_safe=yes"
14973 else
14974 echo "$ac_err" >&5
14975 echo "configure: failed program was:" >&5
14976 cat conftest.$ac_ext >&5
14977 rm -rf conftest*
14978 eval "ac_cv_header_$ac_safe=no"
14979 fi
14980 rm -f conftest*
14981 fi
14982 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14983 echo "$ac_t""yes" 1>&6
14984
14985 cat >> confdefs.h <<\EOF
14986 #define wxUSE_OPENGL 1
14987 EOF
14988
14989 cat >> confdefs.h <<\EOF
14990 #define wxUSE_GLCANVAS 1
14991 EOF
14992
14993 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
14994 echo "configure:14995: checking for glFlush in -lGL" >&5
14995 ac_lib_var=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
14996 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14997 echo $ac_n "(cached) $ac_c" 1>&6
14998 else
14999 ac_save_LIBS="$LIBS"
15000 LIBS="-lGL $LIBS"
15001 cat > conftest.$ac_ext <<EOF
15002 #line 15003 "configure"
15003 #include "confdefs.h"
15004 /* Override any gcc2 internal prototype to avoid an error. */
15005 /* We use char because int might match the return type of a gcc2
15006 builtin and then its argument prototype would still apply. */
15007 char glFlush();
15008
15009 int main() {
15010 glFlush()
15011 ; return 0; }
15012 EOF
15013 if { (eval echo configure:15014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15014 rm -rf conftest*
15015 eval "ac_cv_lib_$ac_lib_var=yes"
15016 else
15017 echo "configure: failed program was:" >&5
15018 cat conftest.$ac_ext >&5
15019 rm -rf conftest*
15020 eval "ac_cv_lib_$ac_lib_var=no"
15021 fi
15022 rm -f conftest*
15023 LIBS="$ac_save_LIBS"
15024
15025 fi
15026 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15027 echo "$ac_t""yes" 1>&6
15028
15029 OPENGL_LINK="-lGL -lGLU"
15030
15031 else
15032 echo "$ac_t""no" 1>&6
15033
15034 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
15035 echo "configure:15036: checking for glFlush in -lMesaGL" >&5
15036 ac_lib_var=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
15037 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15038 echo $ac_n "(cached) $ac_c" 1>&6
15039 else
15040 ac_save_LIBS="$LIBS"
15041 LIBS="-lMesaGL $LIBS"
15042 cat > conftest.$ac_ext <<EOF
15043 #line 15044 "configure"
15044 #include "confdefs.h"
15045 /* Override any gcc2 internal prototype to avoid an error. */
15046 /* We use char because int might match the return type of a gcc2
15047 builtin and then its argument prototype would still apply. */
15048 char glFlush();
15049
15050 int main() {
15051 glFlush()
15052 ; return 0; }
15053 EOF
15054 if { (eval echo configure:15055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15055 rm -rf conftest*
15056 eval "ac_cv_lib_$ac_lib_var=yes"
15057 else
15058 echo "configure: failed program was:" >&5
15059 cat conftest.$ac_ext >&5
15060 rm -rf conftest*
15061 eval "ac_cv_lib_$ac_lib_var=no"
15062 fi
15063 rm -f conftest*
15064 LIBS="$ac_save_LIBS"
15065
15066 fi
15067 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15068 echo "$ac_t""yes" 1>&6
15069
15070 OPENGL_LINK="-lMesaGL -lMesaGLU"
15071
15072 else
15073 echo "$ac_t""no" 1>&6
15074 fi
15075
15076
15077 fi
15078
15079
15080 else
15081 echo "$ac_t""no" 1>&6
15082 wxUSE_OPENGL=0
15083 fi
15084
15085 fi
15086
15087
15088 if test "$wxUSE_GUI" = "yes"; then
15089 cat >> confdefs.h <<\EOF
15090 #define wxUSE_GUI 1
15091 EOF
15092
15093
15094 else
15095 cat >> confdefs.h <<\EOF
15096 #define wxUSE_NOGUI 1
15097 EOF
15098
15099 fi
15100
15101
15102 if test "$wxUSE_UNIX" = "yes"; then
15103 cat >> confdefs.h <<\EOF
15104 #define wxUSE_UNIX 1
15105 EOF
15106
15107 fi
15108
15109
15110 if test "$wxUSE_APPLE_IEEE" = "yes"; then
15111 cat >> confdefs.h <<\EOF
15112 #define wxUSE_APPLE_IEEE 1
15113 EOF
15114
15115 fi
15116
15117 if test "$wxUSE_TIMER" = "yes"; then
15118 cat >> confdefs.h <<\EOF
15119 #define wxUSE_TIMER 1
15120 EOF
15121
15122 fi
15123
15124 if test "$wxUSE_WAVE" = "yes"; then
15125 cat >> confdefs.h <<\EOF
15126 #define wxUSE_WAVE 1
15127 EOF
15128
15129 fi
15130
15131 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15132 cat >> confdefs.h <<\EOF
15133 #define wxUSE_CMDLINE_PARSER 1
15134 EOF
15135
15136 fi
15137
15138 if test "$wxUSE_STOPWATCH" = "yes"; then
15139 cat >> confdefs.h <<\EOF
15140 #define wxUSE_STOPWATCH 1
15141 EOF
15142
15143 fi
15144
15145 if test "$wxUSE_DATETIME" = "yes"; then
15146 cat >> confdefs.h <<\EOF
15147 #define wxUSE_DATETIME 1
15148 EOF
15149
15150 fi
15151
15152 if test "$wxUSE_TIMEDATE" = "yes"; then
15153 cat >> confdefs.h <<\EOF
15154 #define wxUSE_TIMEDATE 1
15155 EOF
15156
15157 fi
15158
15159 if test "$wxUSE_FILE" = "yes"; then
15160 cat >> confdefs.h <<\EOF
15161 #define wxUSE_FILE 1
15162 EOF
15163
15164 fi
15165
15166 if test "$wxUSE_FFILE" = "yes"; then
15167 cat >> confdefs.h <<\EOF
15168 #define wxUSE_FFILE 1
15169 EOF
15170
15171 fi
15172
15173 if test "$wxUSE_FILESYSTEM" = "yes"; then
15174 cat >> confdefs.h <<\EOF
15175 #define wxUSE_FILESYSTEM 1
15176 EOF
15177
15178 fi
15179
15180 if test "$wxUSE_FS_INET" = "yes"; then
15181 cat >> confdefs.h <<\EOF
15182 #define wxUSE_FS_INET 1
15183 EOF
15184
15185 fi
15186
15187 if test "$wxUSE_FS_ZIP" = "yes"; then
15188 cat >> confdefs.h <<\EOF
15189 #define wxUSE_FS_ZIP 1
15190 EOF
15191
15192 fi
15193
15194 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15195 cat >> confdefs.h <<\EOF
15196 #define wxUSE_ZIPSTREAM 1
15197 EOF
15198
15199 fi
15200
15201 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15202 cat >> confdefs.h <<\EOF
15203 #define wxUSE_ON_FATAL_EXCEPTION 1
15204 EOF
15205
15206 fi
15207
15208 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15209 cat >> confdefs.h <<\EOF
15210 #define wxUSE_SNGLINST_CHECKER 1
15211 EOF
15212
15213 fi
15214
15215 if test "$wxUSE_BUSYINFO" = "yes"; then
15216 cat >> confdefs.h <<\EOF
15217 #define wxUSE_BUSYINFO 1
15218 EOF
15219
15220 fi
15221
15222 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
15223 cat >> confdefs.h <<\EOF
15224 #define wxUSE_STD_IOSTREAM 1
15225 EOF
15226
15227 fi
15228
15229 if test "$wxUSE_TEXTFILE" = "yes"; then
15230 if test "$wxUSE_FILE" != "yes"; then
15231 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
15232 else
15233 cat >> confdefs.h <<\EOF
15234 #define wxUSE_TEXTFILE 1
15235 EOF
15236
15237 fi
15238 fi
15239
15240 if test "$wxUSE_CONFIG" = "yes" ; then
15241 if test "$wxUSE_TEXTFILE" != "yes"; then
15242 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
15243 else
15244 cat >> confdefs.h <<\EOF
15245 #define wxUSE_CONFIG 1
15246 EOF
15247
15248 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
15249 fi
15250 fi
15251
15252 if test "$wxUSE_INTL" = "yes" ; then
15253 if test "$wxUSE_FILE" != "yes"; then
15254 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
15255 else
15256 cat >> confdefs.h <<\EOF
15257 #define wxUSE_INTL 1
15258 EOF
15259
15260 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
15261 GUIDIST="$GUIDIST INTL_DIST"
15262 fi
15263 fi
15264
15265 if test "$wxUSE_LOG" = "yes"; then
15266 cat >> confdefs.h <<\EOF
15267 #define wxUSE_LOG 1
15268 EOF
15269
15270
15271 if test "$wxUSE_LOGGUI" = "yes"; then
15272 cat >> confdefs.h <<\EOF
15273 #define wxUSE_LOGGUI 1
15274 EOF
15275
15276 fi
15277
15278 if test "$wxUSE_LOGWINDOW" = "yes"; then
15279 cat >> confdefs.h <<\EOF
15280 #define wxUSE_LOGWINDOW 1
15281 EOF
15282
15283 fi
15284 fi
15285
15286 if test "$wxUSE_LONGLONG" = "yes"; then
15287 cat >> confdefs.h <<\EOF
15288 #define wxUSE_LONGLONG 1
15289 EOF
15290
15291 fi
15292
15293 if test "$wxUSE_GEOMETRY" = "yes"; then
15294 cat >> confdefs.h <<\EOF
15295 #define wxUSE_GEOMETRY 1
15296 EOF
15297
15298 fi
15299
15300 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
15301 cat >> confdefs.h <<\EOF
15302 #define wxUSE_DIALUP_MANAGER 1
15303 EOF
15304
15305 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
15306 fi
15307
15308 if test "$wxUSE_STREAMS" = "yes" ; then
15309 cat >> confdefs.h <<\EOF
15310 #define wxUSE_STREAMS 1
15311 EOF
15312
15313 fi
15314
15315
15316 if test "$wxUSE_DATETIME" = "yes"; then
15317 for ac_func in strptime
15318 do
15319 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15320 echo "configure:15321: checking for $ac_func" >&5
15321 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15322 echo $ac_n "(cached) $ac_c" 1>&6
15323 else
15324 cat > conftest.$ac_ext <<EOF
15325 #line 15326 "configure"
15326 #include "confdefs.h"
15327 /* System header to define __stub macros and hopefully few prototypes,
15328 which can conflict with char $ac_func(); below. */
15329 #include <assert.h>
15330 /* Override any gcc2 internal prototype to avoid an error. */
15331 /* We use char because int might match the return type of a gcc2
15332 builtin and then its argument prototype would still apply. */
15333 char $ac_func();
15334
15335 int main() {
15336
15337 /* The GNU C library defines this for functions which it implements
15338 to always fail with ENOSYS. Some functions are actually named
15339 something starting with __ and the normal name is an alias. */
15340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15341 choke me
15342 #else
15343 $ac_func();
15344 #endif
15345
15346 ; return 0; }
15347 EOF
15348 if { (eval echo configure:15349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15349 rm -rf conftest*
15350 eval "ac_cv_func_$ac_func=yes"
15351 else
15352 echo "configure: failed program was:" >&5
15353 cat conftest.$ac_ext >&5
15354 rm -rf conftest*
15355 eval "ac_cv_func_$ac_func=no"
15356 fi
15357 rm -f conftest*
15358 fi
15359
15360 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15361 echo "$ac_t""yes" 1>&6
15362 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15363 cat >> confdefs.h <<EOF
15364 #define $ac_tr_func 1
15365 EOF
15366
15367 else
15368 echo "$ac_t""no" 1>&6
15369 fi
15370 done
15371
15372
15373 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
15374 echo "configure:15375: checking for timezone variable in <time.h>" >&5
15375 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
15376 echo $ac_n "(cached) $ac_c" 1>&6
15377 else
15378
15379 cat > conftest.$ac_ext <<EOF
15380 #line 15381 "configure"
15381 #include "confdefs.h"
15382
15383 #include <time.h>
15384
15385 int main() {
15386
15387 int tz;
15388 tz = __timezone;
15389
15390 ; return 0; }
15391 EOF
15392 if { (eval echo configure:15393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15393 rm -rf conftest*
15394
15395 wx_cv_var_timezone=__timezone
15396
15397 else
15398 echo "configure: failed program was:" >&5
15399 cat conftest.$ac_ext >&5
15400 rm -rf conftest*
15401
15402 cat > conftest.$ac_ext <<EOF
15403 #line 15404 "configure"
15404 #include "confdefs.h"
15405
15406 #include <time.h>
15407
15408 int main() {
15409
15410 int tz;
15411 tz = _timezone;
15412
15413 ; return 0; }
15414 EOF
15415 if { (eval echo configure:15416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15416 rm -rf conftest*
15417
15418 wx_cv_var_timezone=_timezone
15419
15420 else
15421 echo "configure: failed program was:" >&5
15422 cat conftest.$ac_ext >&5
15423 rm -rf conftest*
15424
15425 cat > conftest.$ac_ext <<EOF
15426 #line 15427 "configure"
15427 #include "confdefs.h"
15428
15429 #include <time.h>
15430
15431 int main() {
15432
15433 int tz;
15434 tz = timezone;
15435
15436 ; return 0; }
15437 EOF
15438 if { (eval echo configure:15439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15439 rm -rf conftest*
15440
15441 wx_cv_var_timezone=timezone
15442
15443 else
15444 echo "configure: failed program was:" >&5
15445 cat conftest.$ac_ext >&5
15446 rm -rf conftest*
15447 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
15448
15449 fi
15450 rm -f conftest*
15451
15452
15453 fi
15454 rm -f conftest*
15455
15456
15457 fi
15458 rm -f conftest*
15459
15460
15461 fi
15462
15463 echo "$ac_t""$wx_cv_var_timezone" 1>&6
15464
15465 cat >> confdefs.h <<EOF
15466 #define WX_TIMEZONE $wx_cv_var_timezone
15467 EOF
15468
15469
15470 for ac_func in localtime
15471 do
15472 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15473 echo "configure:15474: checking for $ac_func" >&5
15474 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15475 echo $ac_n "(cached) $ac_c" 1>&6
15476 else
15477 cat > conftest.$ac_ext <<EOF
15478 #line 15479 "configure"
15479 #include "confdefs.h"
15480 /* System header to define __stub macros and hopefully few prototypes,
15481 which can conflict with char $ac_func(); below. */
15482 #include <assert.h>
15483 /* Override any gcc2 internal prototype to avoid an error. */
15484 /* We use char because int might match the return type of a gcc2
15485 builtin and then its argument prototype would still apply. */
15486 char $ac_func();
15487
15488 int main() {
15489
15490 /* The GNU C library defines this for functions which it implements
15491 to always fail with ENOSYS. Some functions are actually named
15492 something starting with __ and the normal name is an alias. */
15493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15494 choke me
15495 #else
15496 $ac_func();
15497 #endif
15498
15499 ; return 0; }
15500 EOF
15501 if { (eval echo configure:15502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15502 rm -rf conftest*
15503 eval "ac_cv_func_$ac_func=yes"
15504 else
15505 echo "configure: failed program was:" >&5
15506 cat conftest.$ac_ext >&5
15507 rm -rf conftest*
15508 eval "ac_cv_func_$ac_func=no"
15509 fi
15510 rm -f conftest*
15511 fi
15512
15513 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15514 echo "$ac_t""yes" 1>&6
15515 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15516 cat >> confdefs.h <<EOF
15517 #define $ac_tr_func 1
15518 EOF
15519
15520 else
15521 echo "$ac_t""no" 1>&6
15522 fi
15523 done
15524
15525
15526 if test "$ac_cv_func_localtime" = "yes"; then
15527 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
15528 echo "configure:15529: checking for tm_gmtoff in struct tm" >&5
15529 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
15530 echo $ac_n "(cached) $ac_c" 1>&6
15531 else
15532
15533 cat > conftest.$ac_ext <<EOF
15534 #line 15535 "configure"
15535 #include "confdefs.h"
15536
15537 #include <time.h>
15538
15539 int main() {
15540
15541 struct tm tm;
15542 tm.tm_gmtoff++;
15543
15544 ; return 0; }
15545 EOF
15546 if { (eval echo configure:15547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15547 rm -rf conftest*
15548
15549 wx_cv_struct_tm_has_gmtoff=yes
15550
15551 else
15552 echo "configure: failed program was:" >&5
15553 cat conftest.$ac_ext >&5
15554 rm -rf conftest*
15555 wx_cv_struct_tm_has_gmtoff=no
15556
15557 fi
15558 rm -f conftest*
15559
15560 fi
15561
15562 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
15563 fi
15564
15565 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
15566 cat >> confdefs.h <<\EOF
15567 #define WX_GMTOFF_IN_TM 1
15568 EOF
15569
15570 fi
15571
15572 for ac_func in gettimeofday ftime
15573 do
15574 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15575 echo "configure:15576: checking for $ac_func" >&5
15576 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15577 echo $ac_n "(cached) $ac_c" 1>&6
15578 else
15579 cat > conftest.$ac_ext <<EOF
15580 #line 15581 "configure"
15581 #include "confdefs.h"
15582 /* System header to define __stub macros and hopefully few prototypes,
15583 which can conflict with char $ac_func(); below. */
15584 #include <assert.h>
15585 /* Override any gcc2 internal prototype to avoid an error. */
15586 /* We use char because int might match the return type of a gcc2
15587 builtin and then its argument prototype would still apply. */
15588 char $ac_func();
15589
15590 int main() {
15591
15592 /* The GNU C library defines this for functions which it implements
15593 to always fail with ENOSYS. Some functions are actually named
15594 something starting with __ and the normal name is an alias. */
15595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15596 choke me
15597 #else
15598 $ac_func();
15599 #endif
15600
15601 ; return 0; }
15602 EOF
15603 if { (eval echo configure:15604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15604 rm -rf conftest*
15605 eval "ac_cv_func_$ac_func=yes"
15606 else
15607 echo "configure: failed program was:" >&5
15608 cat conftest.$ac_ext >&5
15609 rm -rf conftest*
15610 eval "ac_cv_func_$ac_func=no"
15611 fi
15612 rm -f conftest*
15613 fi
15614
15615 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15616 echo "$ac_t""yes" 1>&6
15617 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15618 cat >> confdefs.h <<EOF
15619 #define $ac_tr_func 1
15620 EOF
15621 break
15622 else
15623 echo "$ac_t""no" 1>&6
15624 fi
15625 done
15626
15627
15628 if test "$ac_cv_func_gettimeofday" = "yes"; then
15629 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
15630 echo "configure:15631: checking whether gettimeofday takes two arguments" >&5
15631 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
15632 echo $ac_n "(cached) $ac_c" 1>&6
15633 else
15634
15635
15636 ac_ext=C
15637 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15638 ac_cpp='$CXXCPP $CPPFLAGS'
15639 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15640 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15641 cross_compiling=$ac_cv_prog_cxx_cross
15642
15643
15644 cat > conftest.$ac_ext <<EOF
15645 #line 15646 "configure"
15646 #include "confdefs.h"
15647
15648 #include <sys/time.h>
15649 #include <unistd.h>
15650
15651 int main() {
15652
15653 struct timeval tv;
15654 struct timezone tz;
15655 gettimeofday(&tv, &tz);
15656
15657 ; return 0; }
15658 EOF
15659 if { (eval echo configure:15660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15660 rm -rf conftest*
15661 wx_cv_func_gettimeofday_has_2_args=yes
15662 else
15663 echo "configure: failed program was:" >&5
15664 cat conftest.$ac_ext >&5
15665 rm -rf conftest*
15666 cat > conftest.$ac_ext <<EOF
15667 #line 15668 "configure"
15668 #include "confdefs.h"
15669
15670 #include <sys/time.h>
15671 #include <unistd.h>
15672
15673 int main() {
15674
15675 struct timeval tv;
15676 gettimeofday(&tv);
15677
15678 ; return 0; }
15679 EOF
15680 if { (eval echo configure:15681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15681 rm -rf conftest*
15682 wx_cv_func_gettimeofday_has_2_args=no
15683 else
15684 echo "configure: failed program was:" >&5
15685 cat conftest.$ac_ext >&5
15686 rm -rf conftest*
15687 wx_cv_func_gettimeofday_has_2_args=unknown
15688
15689 fi
15690 rm -f conftest*
15691
15692 fi
15693 rm -f conftest*
15694 ac_ext=c
15695 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15696 ac_cpp='$CPP $CPPFLAGS'
15697 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15698 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15699 cross_compiling=$ac_cv_prog_cc_cross
15700
15701
15702 fi
15703
15704 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
15705
15706 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
15707 cat >> confdefs.h <<\EOF
15708 #define WX_GETTIMEOFDAY_NO_TZ 1
15709 EOF
15710
15711 fi
15712 fi
15713
15714 cat >> confdefs.h <<\EOF
15715 #define wxUSE_TIMEDATE 1
15716 EOF
15717
15718 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
15719 fi
15720
15721
15722 if test "$TOOLKIT" != "MSW"; then
15723
15724 if test "$wxUSE_SOCKETS" = "yes"; then
15725 echo $ac_n "checking for socket""... $ac_c" 1>&6
15726 echo "configure:15727: checking for socket" >&5
15727 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
15728 echo $ac_n "(cached) $ac_c" 1>&6
15729 else
15730 cat > conftest.$ac_ext <<EOF
15731 #line 15732 "configure"
15732 #include "confdefs.h"
15733 /* System header to define __stub macros and hopefully few prototypes,
15734 which can conflict with char socket(); below. */
15735 #include <assert.h>
15736 /* Override any gcc2 internal prototype to avoid an error. */
15737 /* We use char because int might match the return type of a gcc2
15738 builtin and then its argument prototype would still apply. */
15739 char socket();
15740
15741 int main() {
15742
15743 /* The GNU C library defines this for functions which it implements
15744 to always fail with ENOSYS. Some functions are actually named
15745 something starting with __ and the normal name is an alias. */
15746 #if defined (__stub_socket) || defined (__stub___socket)
15747 choke me
15748 #else
15749 socket();
15750 #endif
15751
15752 ; return 0; }
15753 EOF
15754 if { (eval echo configure:15755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15755 rm -rf conftest*
15756 eval "ac_cv_func_socket=yes"
15757 else
15758 echo "configure: failed program was:" >&5
15759 cat conftest.$ac_ext >&5
15760 rm -rf conftest*
15761 eval "ac_cv_func_socket=no"
15762 fi
15763 rm -f conftest*
15764 fi
15765
15766 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
15767 echo "$ac_t""yes" 1>&6
15768 :
15769 else
15770 echo "$ac_t""no" 1>&6
15771 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
15772 echo "configure:15773: checking for socket in -lsocket" >&5
15773 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
15774 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15775 echo $ac_n "(cached) $ac_c" 1>&6
15776 else
15777 ac_save_LIBS="$LIBS"
15778 LIBS="-lsocket $LIBS"
15779 cat > conftest.$ac_ext <<EOF
15780 #line 15781 "configure"
15781 #include "confdefs.h"
15782 /* Override any gcc2 internal prototype to avoid an error. */
15783 /* We use char because int might match the return type of a gcc2
15784 builtin and then its argument prototype would still apply. */
15785 char socket();
15786
15787 int main() {
15788 socket()
15789 ; return 0; }
15790 EOF
15791 if { (eval echo configure:15792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15792 rm -rf conftest*
15793 eval "ac_cv_lib_$ac_lib_var=yes"
15794 else
15795 echo "configure: failed program was:" >&5
15796 cat conftest.$ac_ext >&5
15797 rm -rf conftest*
15798 eval "ac_cv_lib_$ac_lib_var=no"
15799 fi
15800 rm -f conftest*
15801 LIBS="$ac_save_LIBS"
15802
15803 fi
15804 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15805 echo "$ac_t""yes" 1>&6
15806 INET_LINK="$INET_LINK -lsocket"
15807 else
15808 echo "$ac_t""no" 1>&6
15809
15810 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
15811 wxUSE_SOCKETS=no
15812
15813
15814 fi
15815
15816
15817 fi
15818
15819 fi
15820
15821
15822 if test "$wxUSE_SOCKETS" = "yes" ; then
15823 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
15824 echo "configure:15825: checking what is the type of the third argument of getsockname" >&5
15825 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
15826 echo $ac_n "(cached) $ac_c" 1>&6
15827 else
15828
15829
15830 ac_ext=C
15831 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15832 ac_cpp='$CXXCPP $CPPFLAGS'
15833 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15834 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15835 cross_compiling=$ac_cv_prog_cxx_cross
15836
15837
15838 cat > conftest.$ac_ext <<EOF
15839 #line 15840 "configure"
15840 #include "confdefs.h"
15841
15842 #include <sys/types.h>
15843 #include <sys/socket.h>
15844
15845 int main() {
15846
15847 socklen_t len;
15848 getsockname(0, 0, &len);
15849
15850 ; return 0; }
15851 EOF
15852 if { (eval echo configure:15853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15853 rm -rf conftest*
15854 wx_cv_type_getsockname3=socklen_t
15855 else
15856 echo "configure: failed program was:" >&5
15857 cat conftest.$ac_ext >&5
15858 rm -rf conftest*
15859 cat > conftest.$ac_ext <<EOF
15860 #line 15861 "configure"
15861 #include "confdefs.h"
15862
15863 #include <sys/types.h>
15864 #include <sys/socket.h>
15865
15866 int main() {
15867
15868 size_t len;
15869 getsockname(0, 0, &len);
15870
15871 ; return 0; }
15872 EOF
15873 if { (eval echo configure:15874: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15874 rm -rf conftest*
15875 wx_cv_type_getsockname3=size_t
15876 else
15877 echo "configure: failed program was:" >&5
15878 cat conftest.$ac_ext >&5
15879 rm -rf conftest*
15880 cat > conftest.$ac_ext <<EOF
15881 #line 15882 "configure"
15882 #include "confdefs.h"
15883
15884 #include <sys/types.h>
15885 #include <sys/socket.h>
15886
15887 int main() {
15888
15889 int len;
15890 getsockname(0, 0, &len);
15891
15892 ; return 0; }
15893 EOF
15894 if { (eval echo configure:15895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15895 rm -rf conftest*
15896 wx_cv_type_getsockname3=int
15897 else
15898 echo "configure: failed program was:" >&5
15899 cat conftest.$ac_ext >&5
15900 rm -rf conftest*
15901 wx_cv_type_getsockname3=unknown
15902
15903 fi
15904 rm -f conftest*
15905
15906 fi
15907 rm -f conftest*
15908
15909 fi
15910 rm -f conftest*
15911
15912 ac_ext=c
15913 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15914 ac_cpp='$CPP $CPPFLAGS'
15915 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15916 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15917 cross_compiling=$ac_cv_prog_cc_cross
15918
15919
15920 fi
15921
15922 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
15923
15924 if test "$wx_cv_type_getsockname3" = "unknown"; then
15925 wxUSE_SOCKETS=no
15926 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
15927 else
15928 cat >> confdefs.h <<EOF
15929 #define SOCKLEN_T $wx_cv_type_getsockname3
15930 EOF
15931
15932 fi
15933 fi
15934
15935 fi
15936
15937 if test "$wxUSE_SOCKETS" = "yes" ; then
15938 cat >> confdefs.h <<\EOF
15939 #define wxUSE_SOCKETS 1
15940 EOF
15941
15942 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
15943 INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS protocol"
15944 fi
15945
15946
15947 if test "$wxUSE_GUI" = "yes"; then
15948
15949 if test "$TOOLKIT" != "MSW"; then
15950
15951 if test "$wxUSE_JOYSTICK" = "yes"; then
15952 for ac_hdr in linux/joystick.h
15953 do
15954 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15955 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15956 echo "configure:15957: checking for $ac_hdr" >&5
15957 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15958 echo $ac_n "(cached) $ac_c" 1>&6
15959 else
15960 cat > conftest.$ac_ext <<EOF
15961 #line 15962 "configure"
15962 #include "confdefs.h"
15963 #include <$ac_hdr>
15964 EOF
15965 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15966 { (eval echo configure:15967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15967 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15968 if test -z "$ac_err"; then
15969 rm -rf conftest*
15970 eval "ac_cv_header_$ac_safe=yes"
15971 else
15972 echo "$ac_err" >&5
15973 echo "configure: failed program was:" >&5
15974 cat conftest.$ac_ext >&5
15975 rm -rf conftest*
15976 eval "ac_cv_header_$ac_safe=no"
15977 fi
15978 rm -f conftest*
15979 fi
15980 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15981 echo "$ac_t""yes" 1>&6
15982 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15983 cat >> confdefs.h <<EOF
15984 #define $ac_tr_hdr 1
15985 EOF
15986
15987 else
15988 echo "$ac_t""no" 1>&6
15989 fi
15990 done
15991
15992 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
15993 wxUSE_JOYSTICK=no
15994 echo "configure: warning: Joystick not supported by this system" 1>&2
15995 fi
15996 fi
15997
15998 fi
15999
16000 if test "$wxUSE_JOYSTICK" = "yes"; then
16001 cat >> confdefs.h <<\EOF
16002 #define wxUSE_JOYSTICK 1
16003 EOF
16004
16005 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
16006 fi
16007
16008 fi
16009
16010
16011 if test "$TOOLKIT" != "MSW"; then
16012
16013 HAVE_DL_FUNCS=0
16014 HAVE_SHL_FUNCS=0
16015 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16016 if test "$USE_MAC" = 1; then
16017 HAVE_DL_FUNCS=1
16018 else
16019 for ac_func in dlopen
16020 do
16021 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16022 echo "configure:16023: checking for $ac_func" >&5
16023 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16024 echo $ac_n "(cached) $ac_c" 1>&6
16025 else
16026 cat > conftest.$ac_ext <<EOF
16027 #line 16028 "configure"
16028 #include "confdefs.h"
16029 /* System header to define __stub macros and hopefully few prototypes,
16030 which can conflict with char $ac_func(); below. */
16031 #include <assert.h>
16032 /* Override any gcc2 internal prototype to avoid an error. */
16033 /* We use char because int might match the return type of a gcc2
16034 builtin and then its argument prototype would still apply. */
16035 char $ac_func();
16036
16037 int main() {
16038
16039 /* The GNU C library defines this for functions which it implements
16040 to always fail with ENOSYS. Some functions are actually named
16041 something starting with __ and the normal name is an alias. */
16042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16043 choke me
16044 #else
16045 $ac_func();
16046 #endif
16047
16048 ; return 0; }
16049 EOF
16050 if { (eval echo configure:16051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16051 rm -rf conftest*
16052 eval "ac_cv_func_$ac_func=yes"
16053 else
16054 echo "configure: failed program was:" >&5
16055 cat conftest.$ac_ext >&5
16056 rm -rf conftest*
16057 eval "ac_cv_func_$ac_func=no"
16058 fi
16059 rm -f conftest*
16060 fi
16061
16062 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16063 echo "$ac_t""yes" 1>&6
16064 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16065 cat >> confdefs.h <<EOF
16066 #define $ac_tr_func 1
16067 EOF
16068
16069 cat >> confdefs.h <<\EOF
16070 #define HAVE_DLOPEN 1
16071 EOF
16072
16073 HAVE_DL_FUNCS=1
16074
16075 else
16076 echo "$ac_t""no" 1>&6
16077 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16078 echo "configure:16079: checking for dlopen in -ldl" >&5
16079 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16080 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16081 echo $ac_n "(cached) $ac_c" 1>&6
16082 else
16083 ac_save_LIBS="$LIBS"
16084 LIBS="-ldl $LIBS"
16085 cat > conftest.$ac_ext <<EOF
16086 #line 16087 "configure"
16087 #include "confdefs.h"
16088 /* Override any gcc2 internal prototype to avoid an error. */
16089 /* We use char because int might match the return type of a gcc2
16090 builtin and then its argument prototype would still apply. */
16091 char dlopen();
16092
16093 int main() {
16094 dlopen()
16095 ; return 0; }
16096 EOF
16097 if { (eval echo configure:16098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16098 rm -rf conftest*
16099 eval "ac_cv_lib_$ac_lib_var=yes"
16100 else
16101 echo "configure: failed program was:" >&5
16102 cat conftest.$ac_ext >&5
16103 rm -rf conftest*
16104 eval "ac_cv_lib_$ac_lib_var=no"
16105 fi
16106 rm -f conftest*
16107 LIBS="$ac_save_LIBS"
16108
16109 fi
16110 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16111 echo "$ac_t""yes" 1>&6
16112
16113 cat >> confdefs.h <<\EOF
16114 #define HAVE_DLOPEN 1
16115 EOF
16116
16117 HAVE_DL_FUNCS=1
16118 LIBS="$LIBS -ldl"
16119
16120 else
16121 echo "$ac_t""no" 1>&6
16122
16123 for ac_func in shl_load
16124 do
16125 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16126 echo "configure:16127: checking for $ac_func" >&5
16127 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16128 echo $ac_n "(cached) $ac_c" 1>&6
16129 else
16130 cat > conftest.$ac_ext <<EOF
16131 #line 16132 "configure"
16132 #include "confdefs.h"
16133 /* System header to define __stub macros and hopefully few prototypes,
16134 which can conflict with char $ac_func(); below. */
16135 #include <assert.h>
16136 /* Override any gcc2 internal prototype to avoid an error. */
16137 /* We use char because int might match the return type of a gcc2
16138 builtin and then its argument prototype would still apply. */
16139 char $ac_func();
16140
16141 int main() {
16142
16143 /* The GNU C library defines this for functions which it implements
16144 to always fail with ENOSYS. Some functions are actually named
16145 something starting with __ and the normal name is an alias. */
16146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16147 choke me
16148 #else
16149 $ac_func();
16150 #endif
16151
16152 ; return 0; }
16153 EOF
16154 if { (eval echo configure:16155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16155 rm -rf conftest*
16156 eval "ac_cv_func_$ac_func=yes"
16157 else
16158 echo "configure: failed program was:" >&5
16159 cat conftest.$ac_ext >&5
16160 rm -rf conftest*
16161 eval "ac_cv_func_$ac_func=no"
16162 fi
16163 rm -f conftest*
16164 fi
16165
16166 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16167 echo "$ac_t""yes" 1>&6
16168 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16169 cat >> confdefs.h <<EOF
16170 #define $ac_tr_func 1
16171 EOF
16172
16173 cat >> confdefs.h <<\EOF
16174 #define HAVE_SHL_LOAD 1
16175 EOF
16176
16177 HAVE_SHL_FUNCS=1
16178
16179 else
16180 echo "$ac_t""no" 1>&6
16181 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16182 echo "configure:16183: checking for dld in -lshl_load" >&5
16183 ac_lib_var=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16184 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16185 echo $ac_n "(cached) $ac_c" 1>&6
16186 else
16187 ac_save_LIBS="$LIBS"
16188 LIBS="-lshl_load $LIBS"
16189 cat > conftest.$ac_ext <<EOF
16190 #line 16191 "configure"
16191 #include "confdefs.h"
16192 /* Override any gcc2 internal prototype to avoid an error. */
16193 /* We use char because int might match the return type of a gcc2
16194 builtin and then its argument prototype would still apply. */
16195 char dld();
16196
16197 int main() {
16198 dld()
16199 ; return 0; }
16200 EOF
16201 if { (eval echo configure:16202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16202 rm -rf conftest*
16203 eval "ac_cv_lib_$ac_lib_var=yes"
16204 else
16205 echo "configure: failed program was:" >&5
16206 cat conftest.$ac_ext >&5
16207 rm -rf conftest*
16208 eval "ac_cv_lib_$ac_lib_var=no"
16209 fi
16210 rm -f conftest*
16211 LIBS="$ac_save_LIBS"
16212
16213 fi
16214 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16215 echo "$ac_t""yes" 1>&6
16216
16217 HAVE_SHL_FUNCS=1
16218 LIBS="$LIBS -ldld"
16219
16220 else
16221 echo "$ac_t""no" 1>&6
16222 fi
16223
16224
16225 fi
16226 done
16227
16228
16229 fi
16230
16231
16232 fi
16233 done
16234
16235
16236 if test "$HAVE_DL_FUNCS" = 1; then
16237 for ac_func in dlerror
16238 do
16239 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16240 echo "configure:16241: checking for $ac_func" >&5
16241 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16242 echo $ac_n "(cached) $ac_c" 1>&6
16243 else
16244 cat > conftest.$ac_ext <<EOF
16245 #line 16246 "configure"
16246 #include "confdefs.h"
16247 /* System header to define __stub macros and hopefully few prototypes,
16248 which can conflict with char $ac_func(); below. */
16249 #include <assert.h>
16250 /* Override any gcc2 internal prototype to avoid an error. */
16251 /* We use char because int might match the return type of a gcc2
16252 builtin and then its argument prototype would still apply. */
16253 char $ac_func();
16254
16255 int main() {
16256
16257 /* The GNU C library defines this for functions which it implements
16258 to always fail with ENOSYS. Some functions are actually named
16259 something starting with __ and the normal name is an alias. */
16260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16261 choke me
16262 #else
16263 $ac_func();
16264 #endif
16265
16266 ; return 0; }
16267 EOF
16268 if { (eval echo configure:16269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16269 rm -rf conftest*
16270 eval "ac_cv_func_$ac_func=yes"
16271 else
16272 echo "configure: failed program was:" >&5
16273 cat conftest.$ac_ext >&5
16274 rm -rf conftest*
16275 eval "ac_cv_func_$ac_func=no"
16276 fi
16277 rm -f conftest*
16278 fi
16279
16280 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16281 echo "$ac_t""yes" 1>&6
16282 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16283 cat >> confdefs.h <<EOF
16284 #define $ac_tr_func 1
16285 EOF
16286 cat >> confdefs.h <<\EOF
16287 #define HAVE_DLERROR 1
16288 EOF
16289
16290 else
16291 echo "$ac_t""no" 1>&6
16292 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
16293 echo "configure:16294: checking for dlerror in -ldl" >&5
16294 ac_lib_var=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
16295 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16296 echo $ac_n "(cached) $ac_c" 1>&6
16297 else
16298 ac_save_LIBS="$LIBS"
16299 LIBS="-ldl $LIBS"
16300 cat > conftest.$ac_ext <<EOF
16301 #line 16302 "configure"
16302 #include "confdefs.h"
16303 /* Override any gcc2 internal prototype to avoid an error. */
16304 /* We use char because int might match the return type of a gcc2
16305 builtin and then its argument prototype would still apply. */
16306 char dlerror();
16307
16308 int main() {
16309 dlerror()
16310 ; return 0; }
16311 EOF
16312 if { (eval echo configure:16313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16313 rm -rf conftest*
16314 eval "ac_cv_lib_$ac_lib_var=yes"
16315 else
16316 echo "configure: failed program was:" >&5
16317 cat conftest.$ac_ext >&5
16318 rm -rf conftest*
16319 eval "ac_cv_lib_$ac_lib_var=no"
16320 fi
16321 rm -f conftest*
16322 LIBS="$ac_save_LIBS"
16323
16324 fi
16325 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16326 echo "$ac_t""yes" 1>&6
16327 cat >> confdefs.h <<\EOF
16328 #define HAVE_DLERROR 1
16329 EOF
16330
16331 else
16332 echo "$ac_t""no" 1>&6
16333 fi
16334
16335 fi
16336 done
16337
16338 fi
16339 fi
16340
16341 if test "$HAVE_DL_FUNCS" = 0; then
16342 if test "$HAVE_SHL_FUNCS" = 0; then
16343 if test "$USE_UNIX" = 1; then
16344 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
16345 wxUSE_DYNLIB_CLASS=no
16346 else
16347 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
16348 fi
16349 fi
16350 fi
16351 fi
16352
16353 fi
16354
16355 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
16356 cat >> confdefs.h <<\EOF
16357 #define wxUSE_DYNLIB_CLASS 1
16358 EOF
16359
16360 else
16361 wxUSE_ODBC=no
16362 wxUSE_SERIAL=no
16363 fi
16364
16365
16366 if test "$wxUSE_FONTMAP" = "yes" ; then
16367 cat >> confdefs.h <<\EOF
16368 #define wxUSE_FONTMAP 1
16369 EOF
16370
16371 fi
16372
16373 if test "$wxUSE_UNICODE" = "yes" ; then
16374 cat >> confdefs.h <<\EOF
16375 #define wxUSE_UNICODE 1
16376 EOF
16377
16378 fi
16379
16380 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
16381 cat >> confdefs.h <<\EOF
16382 #define wxUSE_WCSRTOMBS 1
16383 EOF
16384
16385 fi
16386
16387 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
16388 cat >> confdefs.h <<\EOF
16389 #define wxUSE_EXPERIMENTAL_PRINTF 1
16390 EOF
16391
16392 fi
16393
16394
16395 if test "$wxUSE_SERIAL" = "yes" ; then
16396 cat >> confdefs.h <<\EOF
16397 #define wxUSE_SERIAL 1
16398 EOF
16399
16400 fi
16401
16402
16403 IODBC_C_SRC=""
16404 if test "$wxUSE_ODBC" = "yes" ; then
16405 cat >> confdefs.h <<\EOF
16406 #define wxUSE_ODBC 1
16407 EOF
16408
16409 WXODBCFLAG="-D_IODBC_"
16410 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
16411 fi
16412
16413
16414 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
16415 cat >> confdefs.h <<\EOF
16416 #define wxUSE_POSTSCRIPT 1
16417 EOF
16418
16419 fi
16420
16421 cat >> confdefs.h <<\EOF
16422 #define wxUSE_AFM_FOR_POSTSCRIPT 1
16423 EOF
16424
16425
16426 cat >> confdefs.h <<\EOF
16427 #define wxUSE_NORMALIZED_PS_FONTS 1
16428 EOF
16429
16430
16431
16432 if test "$wxUSE_CONSTRAINTS" = "yes"; then
16433 cat >> confdefs.h <<\EOF
16434 #define wxUSE_CONSTRAINTS 1
16435 EOF
16436
16437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
16438 fi
16439
16440 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16441 cat >> confdefs.h <<\EOF
16442 #define wxUSE_MDI_ARCHITECTURE 1
16443 EOF
16444
16445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
16446 fi
16447
16448 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
16449 cat >> confdefs.h <<\EOF
16450 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
16451 EOF
16452
16453 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
16454 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16455 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
16456 fi
16457 fi
16458
16459 if test "$wxUSE_HELP" = "yes"; then
16460 cat >> confdefs.h <<\EOF
16461 #define wxUSE_HELP 1
16462 EOF
16463
16464 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
16465 fi
16466
16467 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
16468 if test "$wxUSE_CONSTRAINTS" != "yes"; then
16469 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
16470 else
16471 cat >> confdefs.h <<\EOF
16472 #define wxUSE_PRINTING_ARCHITECTURE 1
16473 EOF
16474
16475 fi
16476 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
16477 fi
16478
16479 if test "$wxUSE_PROLOGIO" = "yes" ; then
16480 cat >> confdefs.h <<\EOF
16481 #define wxUSE_PROLOGIO 1
16482 EOF
16483
16484 fi
16485
16486 if test "$wxUSE_RESOURCES" = "yes" ; then
16487 if test "$wxUSE_PROLOGIO" = "yes" ; then
16488 cat >> confdefs.h <<\EOF
16489 #define wxUSE_RESOURCES 1
16490 EOF
16491
16492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS resource"
16493 else
16494 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
16495 fi
16496 fi
16497
16498 if test "$wxUSE_X_RESOURCES" = "yes"; then
16499 cat >> confdefs.h <<\EOF
16500 #define wxUSE_X_RESOURCES 1
16501 EOF
16502
16503 fi
16504
16505
16506 if test "$wxUSE_IPC" = "yes"; then
16507 if test "$wxUSE_SOCKETS" != "yes"; then
16508 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
16509 fi
16510
16511 cat >> confdefs.h <<\EOF
16512 #define wxUSE_IPC 1
16513 EOF
16514
16515 fi
16516
16517 if test "$wxUSE_CLIPBOARD" = "yes"; then
16518 cat >> confdefs.h <<\EOF
16519 #define wxUSE_CLIPBOARD 1
16520 EOF
16521
16522 cat >> confdefs.h <<\EOF
16523 #define wxUSE_DATAOBJ 1
16524 EOF
16525
16526 fi
16527
16528 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
16529 if test "$wxUSE_GTK" = 1; then
16530 if test "$WXGTK12" != 1; then
16531 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
16532 wxUSE_DRAG_AND_DROP=no
16533 fi
16534 fi
16535
16536 if test "$wxUSE_MOTIF" = 1; then
16537 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
16538 wxUSE_DRAG_AND_DROP=no
16539 fi
16540
16541 if test "$wxUSE_MAC" = 1; then
16542 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
16543 wxUSE_DRAG_AND_DROP=no
16544 fi
16545
16546 if test "$USE_WIN32" = 1; then
16547
16548 for ac_hdr in ole2.h
16549 do
16550 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16551 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16552 echo "configure:16553: checking for $ac_hdr" >&5
16553 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16554 echo $ac_n "(cached) $ac_c" 1>&6
16555 else
16556 cat > conftest.$ac_ext <<EOF
16557 #line 16558 "configure"
16558 #include "confdefs.h"
16559 #include <$ac_hdr>
16560 EOF
16561 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16562 { (eval echo configure:16563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16563 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16564 if test -z "$ac_err"; then
16565 rm -rf conftest*
16566 eval "ac_cv_header_$ac_safe=yes"
16567 else
16568 echo "$ac_err" >&5
16569 echo "configure: failed program was:" >&5
16570 cat conftest.$ac_ext >&5
16571 rm -rf conftest*
16572 eval "ac_cv_header_$ac_safe=no"
16573 fi
16574 rm -f conftest*
16575 fi
16576 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16577 echo "$ac_t""yes" 1>&6
16578 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16579 cat >> confdefs.h <<EOF
16580 #define $ac_tr_hdr 1
16581 EOF
16582
16583 else
16584 echo "$ac_t""no" 1>&6
16585 fi
16586 done
16587
16588
16589 if test "$ac_cv_header_ole2_h" = "yes" ; then
16590 if test "$GCC" = yes ; then
16591 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
16592 ALL_DEPFILES="$ALL_DEPFILES \$(OLEDEPS)"
16593 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
16594 LIBS="$LIBS -lole32 -luuid"
16595
16596 if test "$wxUSE_METAFILE" = "yes"; then
16597 cat >> confdefs.h <<\EOF
16598 #define wxUSE_METAFILE 1
16599 EOF
16600
16601 cat >> confdefs.h <<\EOF
16602 #define wxUSE_ENH_METAFILE 1
16603 EOF
16604
16605 fi
16606 fi
16607 else
16608 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
16609 wxUSE_DRAG_AND_DROP=no
16610 fi
16611 fi
16612
16613 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
16614 cat >> confdefs.h <<\EOF
16615 #define wxUSE_DRAG_AND_DROP 1
16616 EOF
16617
16618 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
16619 fi
16620
16621 fi
16622
16623 if test "$wxUSE_SPLINES" = "yes" ; then
16624 cat >> confdefs.h <<\EOF
16625 #define wxUSE_SPLINES 1
16626 EOF
16627
16628 fi
16629
16630
16631 USES_CONTROLS=0
16632 if test "$wxUSE_CONTROLS" = "yes"; then
16633 USES_CONTROLS=1
16634 fi
16635
16636 if test "$wxUSE_ACCEL" = "yes"; then
16637 cat >> confdefs.h <<\EOF
16638 #define wxUSE_ACCEL 1
16639 EOF
16640
16641 USES_CONTROLS=1
16642 fi
16643
16644 if test "$wxUSE_BUTTON" = "yes"; then
16645 cat >> confdefs.h <<\EOF
16646 #define wxUSE_BUTTON 1
16647 EOF
16648
16649 USES_CONTROLS=1
16650 fi
16651
16652 if test "$wxUSE_BMPBUTTON" = "yes"; then
16653 cat >> confdefs.h <<\EOF
16654 #define wxUSE_BMPBUTTON 1
16655 EOF
16656
16657 USES_CONTROLS=1
16658 fi
16659
16660 if test "$wxUSE_CALCTRL" = "yes"; then
16661 cat >> confdefs.h <<\EOF
16662 #define wxUSE_CALENDARCTRL 1
16663 EOF
16664
16665 USES_CONTROLS=1
16666 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
16667 fi
16668
16669 if test "$wxUSE_CARET" = "yes"; then
16670 cat >> confdefs.h <<\EOF
16671 #define wxUSE_CARET 1
16672 EOF
16673
16674 USES_CONTROLS=1
16675 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
16676 fi
16677
16678 if test "$wxUSE_COMBOBOX" = "yes"; then
16679 cat >> confdefs.h <<\EOF
16680 #define wxUSE_COMBOBOX 1
16681 EOF
16682
16683 USES_CONTROLS=1
16684 fi
16685
16686 if test "$wxUSE_CHOICE" = "yes"; then
16687 cat >> confdefs.h <<\EOF
16688 #define wxUSE_CHOICE 1
16689 EOF
16690
16691 USES_CONTROLS=1
16692 fi
16693
16694 if test "$wxUSE_CHECKBOX" = "yes"; then
16695 cat >> confdefs.h <<\EOF
16696 #define wxUSE_CHECKBOX 1
16697 EOF
16698
16699 USES_CONTROLS=1
16700 fi
16701
16702 if test "$wxUSE_CHECKLST" = "yes"; then
16703 cat >> confdefs.h <<\EOF
16704 #define wxUSE_CHECKLISTBOX 1
16705 EOF
16706
16707 USES_CONTROLS=1
16708 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
16709 fi
16710
16711 if test "$wxUSE_GAUGE" = "yes"; then
16712 cat >> confdefs.h <<\EOF
16713 #define wxUSE_GAUGE 1
16714 EOF
16715
16716 USES_CONTROLS=1
16717 fi
16718
16719 if test "$wxUSE_NEW_GRID" = "yes"; then
16720 wxUSE_GRID="yes"
16721 cat >> confdefs.h <<\EOF
16722 #define wxUSE_NEW_GRID 1
16723 EOF
16724
16725 USES_CONTROLS=1
16726 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS newgrid"
16727 fi
16728
16729 if test "$wxUSE_GRID" = "yes"; then
16730 cat >> confdefs.h <<\EOF
16731 #define wxUSE_GRID 1
16732 EOF
16733
16734 USES_CONTROLS=1
16735 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
16736 fi
16737
16738 if test "$wxUSE_IMAGLIST" = "yes"; then
16739 cat >> confdefs.h <<\EOF
16740 #define wxUSE_IMAGLIST 1
16741 EOF
16742
16743 fi
16744
16745 if test "$wxUSE_LISTBOX" = "yes"; then
16746 cat >> confdefs.h <<\EOF
16747 #define wxUSE_LISTBOX 1
16748 EOF
16749
16750 USES_CONTROLS=1
16751 fi
16752
16753 if test "$wxUSE_LISTCTRL" = "yes"; then
16754 if test "$wxUSE_IMAGLIST" = "yes"; then
16755 cat >> confdefs.h <<\EOF
16756 #define wxUSE_LISTCTRL 1
16757 EOF
16758
16759 USES_CONTROLS=1
16760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
16761 else
16762 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
16763 fi
16764 fi
16765
16766 if test "$wxUSE_NOTEBOOK" = "yes"; then
16767 cat >> confdefs.h <<\EOF
16768 #define wxUSE_NOTEBOOK 1
16769 EOF
16770
16771 USES_CONTROLS=1
16772 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
16773 fi
16774
16775 if test "$wxUSE_RADIOBOX" = "yes"; then
16776 cat >> confdefs.h <<\EOF
16777 #define wxUSE_RADIOBOX 1
16778 EOF
16779
16780 USES_CONTROLS=1
16781 fi
16782
16783 if test "$wxUSE_RADIOBTN" = "yes"; then
16784 cat >> confdefs.h <<\EOF
16785 #define wxUSE_RADIOBTN 1
16786 EOF
16787
16788 USES_CONTROLS=1
16789 fi
16790
16791 if test "$wxUSE_SASH" = "yes"; then
16792 cat >> confdefs.h <<\EOF
16793 #define wxUSE_SASH 1
16794 EOF
16795
16796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
16797 fi
16798
16799 if test "$wxUSE_SCROLLBAR" = "yes"; then
16800 cat >> confdefs.h <<\EOF
16801 #define wxUSE_SCROLLBAR 1
16802 EOF
16803
16804 USES_CONTROLS=1
16805 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
16806 fi
16807
16808 if test "$wxUSE_SLIDER" = "yes"; then
16809 cat >> confdefs.h <<\EOF
16810 #define wxUSE_SLIDER 1
16811 EOF
16812
16813 USES_CONTROLS=1
16814 fi
16815
16816 if test "$wxUSE_SPINBTN" = "yes"; then
16817 cat >> confdefs.h <<\EOF
16818 #define wxUSE_SPINBTN 1
16819 EOF
16820
16821 USES_CONTROLS=1
16822 fi
16823
16824 if test "$wxUSE_SPINCTRL" = "yes"; then
16825 cat >> confdefs.h <<\EOF
16826 #define wxUSE_SPINCTRL 1
16827 EOF
16828
16829 USES_CONTROLS=1
16830 fi
16831
16832 if test "$wxUSE_SPLITTER" = "yes"; then
16833 cat >> confdefs.h <<\EOF
16834 #define wxUSE_SPLITTER 1
16835 EOF
16836
16837 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
16838 fi
16839
16840 if test "$wxUSE_STATBMP" = "yes"; then
16841 cat >> confdefs.h <<\EOF
16842 #define wxUSE_STATBMP 1
16843 EOF
16844
16845 USES_CONTROLS=1
16846 fi
16847
16848 if test "$wxUSE_STATBOX" = "yes"; then
16849 cat >> confdefs.h <<\EOF
16850 #define wxUSE_STATBOX 1
16851 EOF
16852
16853 USES_CONTROLS=1
16854 fi
16855
16856 if test "$wxUSE_STATTEXT" = "yes"; then
16857 cat >> confdefs.h <<\EOF
16858 #define wxUSE_STATTEXT 1
16859 EOF
16860
16861 USES_CONTROLS=1
16862 fi
16863
16864 if test "$wxUSE_STATLINE" = "yes"; then
16865 if test "$wxUSE_WINE" = 1 ; then
16866 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
16867 else
16868 cat >> confdefs.h <<\EOF
16869 #define wxUSE_STATLINE 1
16870 EOF
16871
16872 USES_CONTROLS=1
16873 fi
16874 fi
16875
16876 if test "$wxUSE_STATUSBAR" = "yes"; then
16877 cat >> confdefs.h <<\EOF
16878 #define wxUSE_STATUSBAR 1
16879 EOF
16880
16881 USES_CONTROLS=1
16882
16883 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
16884 fi
16885
16886 if test "$wxUSE_TABDIALOG" = "yes"; then
16887 cat >> confdefs.h <<\EOF
16888 #define wxUSE_TAB_DIALOG 1
16889 EOF
16890
16891 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
16892 fi
16893
16894 if test "$wxUSE_TEXTCTRL" = "yes"; then
16895 cat >> confdefs.h <<\EOF
16896 #define wxUSE_TEXTCTRL 1
16897 EOF
16898
16899 USES_CONTROLS=1
16900 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
16901 fi
16902
16903 if test "$wxUSE_TOGGLEBTN" = "yes"; then
16904 if test "$wxUSE_MAC" = 1; then
16905 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
16906 wxUSE_TOGGLEBTN=no
16907 fi
16908
16909 if test "$wxUSE_TOGGLEBTN" = "yes"; then
16910 cat >> confdefs.h <<\EOF
16911 #define wxUSE_TOGGLEBTN 1
16912 EOF
16913
16914 USES_CONTROLS=1
16915 fi
16916 fi
16917
16918 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
16919 cat >> confdefs.h <<\EOF
16920 #define wxUSE_TOOLBAR_SIMPLE 1
16921 EOF
16922
16923 wxUSE_TOOLBAR="yes"
16924 USES_CONTROLS=1
16925 fi
16926
16927 if test "$wxUSE_TOOLBAR" = "yes"; then
16928 cat >> confdefs.h <<\EOF
16929 #define wxUSE_TOOLBAR 1
16930 EOF
16931
16932 USES_CONTROLS=1
16933
16934 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
16935 wxUSE_TOOLBAR_NATIVE="yes"
16936 fi
16937
16938 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
16939 cat >> confdefs.h <<\EOF
16940 #define wxUSE_TOOLBAR_NATIVE 1
16941 EOF
16942
16943 USES_CONTROLS=1
16944 fi
16945
16946 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
16947 fi
16948
16949 if test "$wxUSE_TOOLTIPS" = "yes"; then
16950 if test "$wxUSE_MOTIF" = 1; then
16951 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
16952 else
16953 if test "$wxUSE_WINE" = 1; then
16954 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
16955 else
16956 cat >> confdefs.h <<\EOF
16957 #define wxUSE_TOOLTIPS 1
16958 EOF
16959
16960 fi
16961 fi
16962 fi
16963
16964 if test "$wxUSE_TREECTRL" = "yes"; then
16965 if test "$wxUSE_IMAGLIST" = "yes"; then
16966 cat >> confdefs.h <<\EOF
16967 #define wxUSE_TREECTRL 1
16968 EOF
16969
16970 USES_CONTROLS=1
16971 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
16972 else
16973 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
16974 fi
16975 fi
16976
16977 if test "$USES_CONTROLS" = 1; then
16978 cat >> confdefs.h <<\EOF
16979 #define wxUSE_CONTROLS 1
16980 EOF
16981
16982 fi
16983
16984
16985
16986 if test "$wxUSE_DRAGIMAGE" = "yes"; then
16987 cat >> confdefs.h <<\EOF
16988 #define wxUSE_DRAGIMAGE 1
16989 EOF
16990
16991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
16992 fi
16993
16994 if test "$wxUSE_MENUS" = "yes"; then
16995 cat >> confdefs.h <<\EOF
16996 #define wxUSE_MENUS 1
16997 EOF
16998
16999 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
17000 fi
17001
17002 if test "$wxUSE_METAFILE" = "yes"; then
17003 cat >> confdefs.h <<\EOF
17004 #define wxUSE_METAFILE 1
17005 EOF
17006
17007 fi
17008
17009 if test "$wxUSE_MIMETYPE" = "yes"; then
17010 cat >> confdefs.h <<\EOF
17011 #define wxUSE_MIMETYPE 1
17012 EOF
17013
17014 fi
17015
17016 if test "$wxUSE_MINIFRAME" = "yes"; then
17017 cat >> confdefs.h <<\EOF
17018 #define wxUSE_MINIFRAME 1
17019 EOF
17020
17021 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
17022 fi
17023
17024 if test "$wxUSE_HTML" = "yes"; then
17025 cat >> confdefs.h <<\EOF
17026 #define wxUSE_HTML 1
17027 EOF
17028
17029 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html"
17030 INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS html"
17031 fi
17032
17033 if test "$wxUSE_VALIDATORS" = "yes"; then
17034 cat >> confdefs.h <<\EOF
17035 #define wxUSE_VALIDATORS 1
17036 EOF
17037
17038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
17039 fi
17040
17041 if test "$wxUSE_IMAGE" = "yes" ; then
17042 cat >> confdefs.h <<\EOF
17043 #define wxUSE_IMAGE 1
17044 EOF
17045
17046 fi
17047
17048 if test "$wxUSE_GIF" = "yes" ; then
17049 cat >> confdefs.h <<\EOF
17050 #define wxUSE_GIF 1
17051 EOF
17052
17053 fi
17054
17055 if test "$wxUSE_PCX" = "yes" ; then
17056 cat >> confdefs.h <<\EOF
17057 #define wxUSE_PCX 1
17058 EOF
17059
17060 fi
17061
17062 if test "$wxUSE_PNM" = "yes" ; then
17063 cat >> confdefs.h <<\EOF
17064 #define wxUSE_PNM 1
17065 EOF
17066
17067 fi
17068
17069 if test "$wxUSE_XPM" = "yes" ; then
17070 cat >> confdefs.h <<\EOF
17071 #define wxUSE_XPM 1
17072 EOF
17073
17074 fi
17075
17076
17077 if test "$wxUSE_CHOICEDLG" = "yes"; then
17078 cat >> confdefs.h <<\EOF
17079 #define wxUSE_CHOICEDLG 1
17080 EOF
17081
17082 fi
17083
17084 if test "$wxUSE_COLOURDLG" = "yes"; then
17085 cat >> confdefs.h <<\EOF
17086 #define wxUSE_COLOURDLG 1
17087 EOF
17088
17089 fi
17090
17091 if test "$wxUSE_FILEDLG" = "yes"; then
17092 cat >> confdefs.h <<\EOF
17093 #define wxUSE_FILEDLG 1
17094 EOF
17095
17096 fi
17097
17098 if test "$wxUSE_FONTDLG" = "yes"; then
17099 cat >> confdefs.h <<\EOF
17100 #define wxUSE_FONTDLG 1
17101 EOF
17102
17103 fi
17104
17105 if test "$wxUSE_DIRDLG" = "yes"; then
17106 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17107 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
17108 else
17109 if test "$wxUSE_TREECTRL" != "yes"; then
17110 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
17111 else
17112 cat >> confdefs.h <<\EOF
17113 #define wxUSE_DIRDLG 1
17114 EOF
17115
17116 fi
17117 fi
17118 fi
17119
17120 if test "$wxUSE_MSGDLG" = "yes"; then
17121 cat >> confdefs.h <<\EOF
17122 #define wxUSE_MSGDLG 1
17123 EOF
17124
17125 fi
17126
17127 if test "$wxUSE_NUMBERDLG" = "yes"; then
17128 cat >> confdefs.h <<\EOF
17129 #define wxUSE_NUMBERDLG 1
17130 EOF
17131
17132 fi
17133
17134 if test "$wxUSE_PROGRESSDLG" = "yes"; then
17135 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17136 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
17137 else
17138 cat >> confdefs.h <<\EOF
17139 #define wxUSE_PROGRESSDLG 1
17140 EOF
17141
17142 fi
17143 fi
17144
17145 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
17146 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17147 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
17148 else
17149 cat >> confdefs.h <<\EOF
17150 #define wxUSE_STARTUP_TIPS 1
17151 EOF
17152
17153 fi
17154 fi
17155
17156 if test "$wxUSE_TEXTDLG" = "yes"; then
17157 cat >> confdefs.h <<\EOF
17158 #define wxUSE_TEXTDLG 1
17159 EOF
17160
17161 fi
17162
17163
17164 if test "$cross_compiling" = "yes"; then
17165 OSINFO="\"$host\""
17166 else
17167 OSINFO=`uname -s -r -m`
17168 OSINFO="\"$OSINFO\""
17169 fi
17170
17171 cat >> confdefs.h <<EOF
17172 #define WXWIN_OS_DESCRIPTION $OSINFO
17173 EOF
17174
17175
17176
17177 GUILIBS="$GUI_TK_LIBRARY $TOOLKIT_LINK"
17178 OPENGL_LIBS="$OPENGL_LINK"
17179
17180 EXTRA_LIBS="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
17181 if test "$USE_MAC" = 1 ; then
17182 EXTRA_LIBS="$EXTRA_LIBS -framework Carbon -framework System"
17183 fi
17184 if test "$wxUSE_GUI" = "yes"; then
17185 EXTRA_LIBS="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
17186 fi
17187
17188 LD_LIBS="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
17189
17190 INCLUDES="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
17191
17192 if test "$wxUSE_GTK" = 1; then
17193 WXCONFIG_INCLUDE=""
17194 else
17195 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
17196 fi
17197
17198 if test "$GXX" = yes ; then
17199 CXXWARNINGS="-Wall"
17200 fi
17201 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
17202
17203 CFLAGS=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
17204 CXXFLAGS=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
17205
17206 LDFLAGS="$LDFLAGS $PROFILE"
17207
17208 if test "$wxUSE_GUI" = "yes"; then
17209
17210 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS controls dialogs \
17211 drawing dynamic event font fractal image \
17212 minimal richedit widgets"
17213
17214 if test "$wxUSE_UNIVERSAL" = "yes" ; then
17215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS univ"
17216 fi
17217
17218 CPPFLAGS="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
17219 else
17220 SAMPLES_SUBDIRS=""
17221 fi
17222
17223 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
17319 echo "configure:17320: checking whether ${MAKE-make} sets \${MAKE}" >&5
17320 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
17321 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
17322 echo $ac_n "(cached) $ac_c" 1>&6
17323 else
17324 cat > conftestmake <<\EOF
17325 all:
17326 @echo 'ac_maketemp="${MAKE}"'
17327 EOF
17328 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
17329 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
17330 if test -n "$ac_maketemp"; then
17331 eval ac_cv_prog_make_${ac_make}_set=yes
17332 else
17333 eval ac_cv_prog_make_${ac_make}_set=no
17334 fi
17335 rm -f conftestmake
17336 fi
17337 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
17338 echo "$ac_t""yes" 1>&6
17339 SET_MAKE=
17340 else
17341 echo "$ac_t""no" 1>&6
17342 SET_MAKE="MAKE=${MAKE-make}"
17343 fi
17344
17345
17346 if test -d include; then
17347 if test -d include/wx; then
17348 if test -d include/wx/${SETUPH_DIR}; then
17349 if test -f include/wx/${SETUPH_DIR}/setup.h; then
17350 mv -f include/wx/${SETUPH_DIR}/setup.h setup.h
17351 fi
17352 fi
17353 fi
17354 fi
17355
17356
17357
17358 if test "$wxUSE_GUI" = "yes"; then
17359 wx_cv_path_samplesubdirs=$SAMPLES_SUBDIRS
17360 wx_cv_path_ifs=$PATH_IFS
17361 wx_cv_program_ext=$PROGRAM_EXT
17362 wx_cv_target_library=$WX_TARGET_LIBRARY
17363 wx_cv_target_libtype=$WX_TARGET_LIBRARY_TYPE
17364 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
17365 wx_cv_target_library wx_cv_target_libtype
17366 subdirs="demos samples utils contrib"
17367
17368 fi
17369
17370 trap '' 1 2 15
17371 cat > confcache <<\EOF
17372 # This file is a shell script that caches the results of configure
17373 # tests run on this system so they can be shared between configure
17374 # scripts and configure runs. It is not useful on other systems.
17375 # If it contains results you don't want to keep, you may remove or edit it.
17376 #
17377 # By default, configure uses ./config.cache as the cache file,
17378 # creating it if it does not exist already. You can give configure
17379 # the --cache-file=FILE option to use a different cache file; that is
17380 # what configure does when it calls configure scripts in
17381 # subdirectories, so they share the cache.
17382 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17383 # config.status only pays attention to the cache file if you give it the
17384 # --recheck option to rerun configure.
17385 #
17386 EOF
17387 # The following way of writing the cache mishandles newlines in values,
17388 # but we know of no workaround that is simple, portable, and efficient.
17389 # So, don't put newlines in cache variables' values.
17390 # Ultrix sh set writes to stderr and can't be redirected directly,
17391 # and sets the high bit in the cache file unless we assign to the vars.
17392 (set) 2>&1 |
17393 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17394 *ac_space=\ *)
17395 # `set' does not quote correctly, so add quotes (double-quote substitution
17396 # turns \\\\ into \\, and sed turns \\ into \).
17397 sed -n \
17398 -e "s/'/'\\\\''/g" \
17399 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17400 ;;
17401 *)
17402 # `set' quotes correctly as required by POSIX, so do not add quotes.
17403 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17404 ;;
17405 esac >> confcache
17406 if cmp -s $cache_file confcache; then
17407 :
17408 else
17409 if test -w $cache_file; then
17410 echo "updating cache $cache_file"
17411 cat confcache > $cache_file
17412 else
17413 echo "not updating unwritable cache $cache_file"
17414 fi
17415 fi
17416 rm -f confcache
17417
17418 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
17419
17420 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17421 # Let make expand exec_prefix.
17422 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17423
17424 # Any assignment to VPATH causes Sun make to only execute
17425 # the first set of double-colon rules, so remove it if not needed.
17426 # If there is a colon in the path, we need to keep it.
17427 if test "x$srcdir" = x.; then
17428 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
17429 fi
17430
17431 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
17432
17433 DEFS=-DHAVE_CONFIG_H
17434
17435 # Without the "./", some shells look in PATH for config.status.
17436 : ${CONFIG_STATUS=./config.status}
17437
17438 echo creating $CONFIG_STATUS
17439 rm -f $CONFIG_STATUS
17440 cat > $CONFIG_STATUS <<EOF
17441 #! /bin/sh
17442 # Generated automatically by configure.
17443 # Run this file to recreate the current configuration.
17444 # This directory was configured as follows,
17445 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17446 #
17447 # $0 $ac_configure_args
17448 #
17449 # Compiler output produced by configure, useful for debugging
17450 # configure, is in ./config.log if it exists.
17451
17452 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
17453 for ac_option
17454 do
17455 case "\$ac_option" in
17456 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17457 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
17458 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
17459 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
17460 echo "$CONFIG_STATUS generated by autoconf version 2.13"
17461 exit 0 ;;
17462 -help | --help | --hel | --he | --h)
17463 echo "\$ac_cs_usage"; exit 0 ;;
17464 *) echo "\$ac_cs_usage"; exit 1 ;;
17465 esac
17466 done
17467
17468 ac_given_srcdir=$srcdir
17469 ac_given_INSTALL="$INSTALL"
17470
17471 trap 'rm -fr `echo "
17472 wx-config
17473 src/make.env
17474 src/makeprog.env
17475 src/makelib.env
17476 Makefile
17477 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
17478 EOF
17479 cat >> $CONFIG_STATUS <<EOF
17480
17481 # Protect against being on the right side of a sed subst in config.status.
17482 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
17483 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
17484 $ac_vpsub
17485 $extrasub
17486 s%@SHELL@%$SHELL%g
17487 s%@CFLAGS@%$CFLAGS%g
17488 s%@CPPFLAGS@%$CPPFLAGS%g
17489 s%@CXXFLAGS@%$CXXFLAGS%g
17490 s%@FFLAGS@%$FFLAGS%g
17491 s%@DEFS@%$DEFS%g
17492 s%@LDFLAGS@%$LDFLAGS%g
17493 s%@LIBS@%$LIBS%g
17494 s%@exec_prefix@%$exec_prefix%g
17495 s%@prefix@%$prefix%g
17496 s%@program_transform_name@%$program_transform_name%g
17497 s%@bindir@%$bindir%g
17498 s%@sbindir@%$sbindir%g
17499 s%@libexecdir@%$libexecdir%g
17500 s%@datadir@%$datadir%g
17501 s%@sysconfdir@%$sysconfdir%g
17502 s%@sharedstatedir@%$sharedstatedir%g
17503 s%@localstatedir@%$localstatedir%g
17504 s%@libdir@%$libdir%g
17505 s%@includedir@%$includedir%g
17506 s%@oldincludedir@%$oldincludedir%g
17507 s%@infodir@%$infodir%g
17508 s%@mandir@%$mandir%g
17509 s%@host@%$host%g
17510 s%@host_alias@%$host_alias%g
17511 s%@host_cpu@%$host_cpu%g
17512 s%@host_vendor@%$host_vendor%g
17513 s%@host_os@%$host_os%g
17514 s%@target@%$target%g
17515 s%@target_alias@%$target_alias%g
17516 s%@target_cpu@%$target_cpu%g
17517 s%@target_vendor@%$target_vendor%g
17518 s%@target_os@%$target_os%g
17519 s%@build@%$build%g
17520 s%@build_alias@%$build_alias%g
17521 s%@build_cpu@%$build_cpu%g
17522 s%@build_vendor@%$build_vendor%g
17523 s%@build_os@%$build_os%g
17524 s%@CC@%$CC%g
17525 s%@CPP@%$CPP%g
17526 s%@CXX@%$CXX%g
17527 s%@CXXCPP@%$CXXCPP%g
17528 s%@RANLIB@%$RANLIB%g
17529 s%@AR@%$AR%g
17530 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
17531 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
17532 s%@INSTALL_DATA@%$INSTALL_DATA%g
17533 s%@STRIP@%$STRIP%g
17534 s%@YACC@%$YACC%g
17535 s%@LEX@%$LEX%g
17536 s%@LEXLIB@%$LEXLIB%g
17537 s%@LN_S@%$LN_S%g
17538 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
17539 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
17540 s%@GTK_LIBS@%$GTK_LIBS%g
17541 s%@GTK_CONFIG@%$GTK_CONFIG%g
17542 s%@X_CFLAGS@%$X_CFLAGS%g
17543 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
17544 s%@X_LIBS@%$X_LIBS%g
17545 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
17546 s%@REZ@%$REZ%g
17547 s%@DEREZ@%$DEREZ%g
17548 s%@LEX_STEM@%$LEX_STEM%g
17549 s%@PATH_IFS@%$PATH_IFS%g
17550 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
17551 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
17552 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
17553 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
17554 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
17555 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
17556 s%@WX_LIBRARY@%$WX_LIBRARY%g
17557 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
17558 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
17559 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
17560 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
17561 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
17562 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
17563 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
17564 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
17565 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
17566 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
17567 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
17568 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
17569 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
17570 s%@WX_ALL@%$WX_ALL%g
17571 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
17572 s%@SHARED_LD@%$SHARED_LD%g
17573 s%@PIC_FLAG@%$PIC_FLAG%g
17574 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
17575 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
17576 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
17577 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
17578 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
17579 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
17580 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
17581 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
17582 s%@USE_GUI@%$USE_GUI%g
17583 s%@AFMINSTALL@%$AFMINSTALL%g
17584 s%@SETUPH_DIR@%$SETUPH_DIR%g
17585 s%@TOOLKIT@%$TOOLKIT%g
17586 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
17587 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
17588 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
17589 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
17590 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
17591 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
17592 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
17593 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
17594 s%@GUIDIST@%$GUIDIST%g
17595 s%@PORT_FILES@%$PORT_FILES%g
17596 s%@DISTDIR@%$DISTDIR%g
17597 s%@RPM_SPEC@%$RPM_SPEC%g
17598 s%@RPM_FILES@%$RPM_FILES%g
17599 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
17600 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
17601 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
17602 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
17603 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
17604 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
17605 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
17606 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
17607 s%@EXTRADEFS@%$EXTRADEFS%g
17608 s%@LD_LIBS@%$LD_LIBS%g
17609 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
17610 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
17611 s%@RESPROGRAM@%$RESPROGRAM%g
17612 s%@RESCOMP@%$RESCOMP%g
17613 s%@RESFLAGS@%$RESFLAGS%g
17614 s%@REZFLAGS@%$REZFLAGS%g
17615 s%@DEREZFLAGS@%$DEREZFLAGS%g
17616 s%@LIBWXMACRES@%$LIBWXMACRES%g
17617 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
17618 s%@DLLTOOL@%$DLLTOOL%g
17619 s%@AS@%$AS%g
17620 s%@NM@%$NM%g
17621 s%@LD@%$LD%g
17622 s%@MAKEINFO@%$MAKEINFO%g
17623 s%@SET_MAKE@%$SET_MAKE%g
17624 s%@subdirs@%$subdirs%g
17625
17626 CEOF
17627 EOF
17628
17629 cat >> $CONFIG_STATUS <<\EOF
17630
17631 # Split the substitutions into bite-sized pieces for seds with
17632 # small command number limits, like on Digital OSF/1 and HP-UX.
17633 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
17634 ac_file=1 # Number of current file.
17635 ac_beg=1 # First line for current file.
17636 ac_end=$ac_max_sed_cmds # Line after last line for current file.
17637 ac_more_lines=:
17638 ac_sed_cmds=""
17639 while $ac_more_lines; do
17640 if test $ac_beg -gt 1; then
17641 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
17642 else
17643 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
17644 fi
17645 if test ! -s conftest.s$ac_file; then
17646 ac_more_lines=false
17647 rm -f conftest.s$ac_file
17648 else
17649 if test -z "$ac_sed_cmds"; then
17650 ac_sed_cmds="sed -f conftest.s$ac_file"
17651 else
17652 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
17653 fi
17654 ac_file=`expr $ac_file + 1`
17655 ac_beg=$ac_end
17656 ac_end=`expr $ac_end + $ac_max_sed_cmds`
17657 fi
17658 done
17659 if test -z "$ac_sed_cmds"; then
17660 ac_sed_cmds=cat
17661 fi
17662 EOF
17663
17664 cat >> $CONFIG_STATUS <<EOF
17665
17666 CONFIG_FILES=\${CONFIG_FILES-"wx-config
17667 src/make.env
17668 src/makeprog.env
17669 src/makelib.env
17670 Makefile
17671 "}
17672 EOF
17673 cat >> $CONFIG_STATUS <<\EOF
17674 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
17675 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17676 case "$ac_file" in
17677 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
17678 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
17679 *) ac_file_in="${ac_file}.in" ;;
17680 esac
17681
17682 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
17683
17684 # Remove last slash and all that follows it. Not all systems have dirname.
17685 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17686 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
17687 # The file is in a subdirectory.
17688 test ! -d "$ac_dir" && mkdir "$ac_dir"
17689 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
17690 # A "../" for each directory in $ac_dir_suffix.
17691 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
17692 else
17693 ac_dir_suffix= ac_dots=
17694 fi
17695
17696 case "$ac_given_srcdir" in
17697 .) srcdir=.
17698 if test -z "$ac_dots"; then top_srcdir=.
17699 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
17700 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
17701 *) # Relative path.
17702 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
17703 top_srcdir="$ac_dots$ac_given_srcdir" ;;
17704 esac
17705
17706 case "$ac_given_INSTALL" in
17707 [/$]*) INSTALL="$ac_given_INSTALL" ;;
17708 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
17709 esac
17710
17711 echo creating "$ac_file"
17712 rm -f "$ac_file"
17713 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
17714 case "$ac_file" in
17715 *Makefile*) ac_comsub="1i\\
17716 # $configure_input" ;;
17717 *) ac_comsub= ;;
17718 esac
17719
17720 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17721 sed -e "$ac_comsub
17722 s%@configure_input@%$configure_input%g
17723 s%@srcdir@%$srcdir%g
17724 s%@top_srcdir@%$top_srcdir%g
17725 s%@INSTALL@%$INSTALL%g
17726 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
17727 fi; done
17728 rm -f conftest.s*
17729
17730 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
17731 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17732 #
17733 # ac_d sets the value in "#define NAME VALUE" lines.
17734 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17735 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
17736 ac_dC='\3'
17737 ac_dD='%g'
17738 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
17739 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17740 ac_uB='\([ ]\)%\1#\2define\3'
17741 ac_uC=' '
17742 ac_uD='\4%g'
17743 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17744 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17745 ac_eB='$%\1#\2define\3'
17746 ac_eC=' '
17747 ac_eD='%g'
17748
17749 if test "${CONFIG_HEADERS+set}" != set; then
17750 EOF
17751 cat >> $CONFIG_STATUS <<EOF
17752 CONFIG_HEADERS="setup.h:setup.h.in"
17753 EOF
17754 cat >> $CONFIG_STATUS <<\EOF
17755 fi
17756 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
17757 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17758 case "$ac_file" in
17759 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
17760 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
17761 *) ac_file_in="${ac_file}.in" ;;
17762 esac
17763
17764 echo creating $ac_file
17765
17766 rm -f conftest.frag conftest.in conftest.out
17767 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17768 cat $ac_file_inputs > conftest.in
17769
17770 EOF
17771
17772 # Transform confdefs.h into a sed script conftest.vals that substitutes
17773 # the proper values into config.h.in to produce config.h. And first:
17774 # Protect against being on the right side of a sed subst in config.status.
17775 # Protect against being in an unquoted here document in config.status.
17776 rm -f conftest.vals
17777 cat > conftest.hdr <<\EOF
17778 s/[\\&%]/\\&/g
17779 s%[\\$`]%\\&%g
17780 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
17781 s%ac_d%ac_u%gp
17782 s%ac_u%ac_e%gp
17783 EOF
17784 sed -n -f conftest.hdr confdefs.h > conftest.vals
17785 rm -f conftest.hdr
17786
17787 # This sed command replaces #undef with comments. This is necessary, for
17788 # example, in the case of _POSIX_SOURCE, which is predefined and required
17789 # on some systems where configure will not decide to define it.
17790 cat >> conftest.vals <<\EOF
17791 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
17792 EOF
17793
17794 # Break up conftest.vals because some shells have a limit on
17795 # the size of here documents, and old seds have small limits too.
17796
17797 rm -f conftest.tail
17798 while :
17799 do
17800 ac_lines=`grep -c . conftest.vals`
17801 # grep -c gives empty output for an empty file on some AIX systems.
17802 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
17803 # Write a limited-size here document to conftest.frag.
17804 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
17805 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
17806 echo 'CEOF
17807 sed -f conftest.frag conftest.in > conftest.out
17808 rm -f conftest.in
17809 mv conftest.out conftest.in
17810 ' >> $CONFIG_STATUS
17811 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
17812 rm -f conftest.vals
17813 mv conftest.tail conftest.vals
17814 done
17815 rm -f conftest.vals
17816
17817 cat >> $CONFIG_STATUS <<\EOF
17818 rm -f conftest.frag conftest.h
17819 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
17820 cat conftest.in >> conftest.h
17821 rm -f conftest.in
17822 if cmp -s $ac_file conftest.h 2>/dev/null; then
17823 echo "$ac_file is unchanged"
17824 rm -f conftest.h
17825 else
17826 # Remove last slash and all that follows it. Not all systems have dirname.
17827 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17828 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
17829 # The file is in a subdirectory.
17830 test ! -d "$ac_dir" && mkdir "$ac_dir"
17831 fi
17832 rm -f $ac_file
17833 mv conftest.h $ac_file
17834 fi
17835 fi; done
17836
17837 EOF
17838 cat >> $CONFIG_STATUS <<EOF
17839
17840 SETUPH_DIR="${SETUPH_DIR}"
17841 TOOLKIT_NAME="${TOOLKIT_NAME}"
17842 LN_S="${LN_S}"
17843
17844
17845 EOF
17846 cat >> $CONFIG_STATUS <<\EOF
17847
17848 if test ! -f wx${TOOLKIT_NAME}-config; then
17849 chmod +x wx-config
17850 mv wx-config wx${TOOLKIT_NAME}-config
17851 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
17852 fi
17853
17854
17855 if test ! -d lib; then
17856 mkdir lib
17857 fi
17858 if test ! -d lib/wx; then
17859 mkdir lib/wx
17860 fi
17861 if test ! -d lib/wx/include; then
17862 mkdir lib/wx/include
17863 fi
17864 if test ! -d lib/wx/include/wx; then
17865 mkdir lib/wx/include/wx
17866 fi
17867 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
17868 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
17869 fi
17870 if test -f setup.h; then
17871 cp -fp setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
17872 fi
17873
17874
17875 if test ! -d include; then
17876 mkdir include
17877 fi
17878 if test ! -d include/wx; then
17879 mkdir include/wx
17880 fi
17881 if test ! -d include/wx/${SETUPH_DIR}; then
17882 mkdir include/wx/${SETUPH_DIR}
17883 fi
17884 if test -f setup.h; then
17885 cp -fp setup.h include/wx/${SETUPH_DIR}/setup.h
17886 fi
17887
17888
17889 exit 0
17890 EOF
17891 chmod +x $CONFIG_STATUS
17892 rm -fr confdefs* $ac_clean_files
17893 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
17894
17895 if test "$no_recursion" != yes; then
17896
17897 # Remove --cache-file and --srcdir arguments so they do not pile up.
17898 ac_sub_configure_args=
17899 ac_prev=
17900 for ac_arg in $ac_configure_args; do
17901 if test -n "$ac_prev"; then
17902 ac_prev=
17903 continue
17904 fi
17905 case "$ac_arg" in
17906 -cache-file | --cache-file | --cache-fil | --cache-fi \
17907 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
17908 ac_prev=cache_file ;;
17909 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
17910 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
17911 ;;
17912 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
17913 ac_prev=srcdir ;;
17914 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
17915 ;;
17916 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
17917 esac
17918 done
17919
17920 for ac_config_dir in demos samples utils contrib; do
17921
17922 # Do not complain, so a configure script can configure whichever
17923 # parts of a large source tree are present.
17924 if test ! -d $srcdir/$ac_config_dir; then
17925 continue
17926 fi
17927
17928 echo configuring in $ac_config_dir
17929
17930 case "$srcdir" in
17931 .) ;;
17932 *)
17933 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
17934 else
17935 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
17936 fi
17937 ;;
17938 esac
17939
17940 ac_popdir=`pwd`
17941 cd $ac_config_dir
17942
17943 # A "../" for each directory in /$ac_config_dir.
17944 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
17945
17946 case "$srcdir" in
17947 .) # No --srcdir option. We are building in place.
17948 ac_sub_srcdir=$srcdir ;;
17949 /*) # Absolute path.
17950 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
17951 *) # Relative path.
17952 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
17953 esac
17954
17955 # Check for guested configure; otherwise get Cygnus style configure.
17956 if test -f $ac_sub_srcdir/configure; then
17957 ac_sub_configure=$ac_sub_srcdir/configure
17958 elif test -f $ac_sub_srcdir/configure.in; then
17959 ac_sub_configure=$ac_configure
17960 else
17961 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
17962 ac_sub_configure=
17963 fi
17964
17965 # The recursion is here.
17966 if test -n "$ac_sub_configure"; then
17967
17968 # Make the cache file name correct relative to the subdirectory.
17969 case "$cache_file" in
17970 /*) ac_sub_cache_file=$cache_file ;;
17971 *) # Relative path.
17972 ac_sub_cache_file="$ac_dots$cache_file" ;;
17973 esac
17974 case "$ac_given_INSTALL" in
17975 [/$]*) INSTALL="$ac_given_INSTALL" ;;
17976 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
17977 esac
17978
17979 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
17980 # The eval makes quoting arguments work.
17981 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
17982 then :
17983 else
17984 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
17985 fi
17986 fi
17987
17988 cd $ac_popdir
17989 done
17990 fi
17991
17992