]> git.saurik.com Git - wxWidgets.git/blame_incremental - configure
new VC++ project files
[wxWidgets.git] / configure
... / ...
CommitLineData
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:
55ac_help=
56ac_default_prefix=/usr/local
57# Any additions from configure.in:
58ac_help="$ac_help
59 --enable-gui use GUI classes"
60ac_help="$ac_help
61 --enable-universal use wxWindows GUI controls instead of native ones"
62ac_help="$ac_help
63 --with-gtk use GTK+"
64ac_help="$ac_help
65 --with-motif use Motif/Lesstif"
66ac_help="$ac_help
67 --with-mac use Mac OS X"
68ac_help="$ac_help
69 --with-wine use WINE"
70ac_help="$ac_help
71 --with-cygwin use Cygwin for MS-Windows"
72ac_help="$ac_help
73 --with-mingw use GCC Minimal MS-Windows"
74ac_help="$ac_help
75 --with-pm use OS/2 Presentation Manager"
76ac_help="$ac_help
77 --with-mgl use SciTech MGL"
78ac_help="$ac_help
79 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
80ac_help="$ac_help
81 --with-libpng use libpng (PNG image format)"
82ac_help="$ac_help
83 --with-libjpeg use libjpeg (JPEG file format)"
84ac_help="$ac_help
85 --with-libtiff use libtiff (TIFF file format)"
86ac_help="$ac_help
87 --with-freetype use freetype (font rasterizer)"
88ac_help="$ac_help
89 --with-opengl use OpenGL (or Mesa)"
90ac_help="$ac_help
91 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
92ac_help="$ac_help
93 --with-regex enable support for wxRegEx class"
94ac_help="$ac_help
95 --with-zlib use zlib for LZW compression"
96ac_help="$ac_help
97 --with-odbc use the IODBC and wxODBC classes"
98ac_help="$ac_help
99 --enable-shared create shared library code"
100ac_help="$ac_help
101 --enable-soname set the DT_SONAME field in ELF shared libraries"
102ac_help="$ac_help
103 --enable-optimise create optimised code"
104ac_help="$ac_help
105 --enable-debug same as debug_flag and debug_info"
106ac_help="$ac_help
107 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
108ac_help="$ac_help
109 --enable-debug_info create code with debugging information"
110ac_help="$ac_help
111 --enable-debug_gdb create code with extra GDB debugging information"
112ac_help="$ac_help
113 --enable-debug_cntxt use wxDebugContext"
114ac_help="$ac_help
115 --enable-mem_tracing create code with memory tracing"
116ac_help="$ac_help
117 --enable-profile create code with profiling information"
118ac_help="$ac_help
119 --enable-no_rtti create code without RTTI information"
120ac_help="$ac_help
121 --enable-no_exceptions create code without C++ exceptions handling"
122ac_help="$ac_help
123 --enable-permissive compile code disregarding strict ANSI"
124ac_help="$ac_help
125 --enable-no_deps create code without dependency information"
126ac_help="$ac_help
127 --enable-compat20 enable wxWindows 2.0 compatibility"
128ac_help="$ac_help
129 --enable-compat22 enable wxWindows 2.2 compatibility"
130ac_help="$ac_help
131 --enable-intl use internationalization system"
132ac_help="$ac_help
133 --enable-config use wxConfig (and derived) classes"
134ac_help="$ac_help
135 --enable-sockets use socket/network classes"
136ac_help="$ac_help
137 --enable-ipc use interprocess communication (wxSocket etc.)"
138ac_help="$ac_help
139 --enable-cmdline use wxCmdLineParser class"
140ac_help="$ac_help
141 --enable-datetime use wxDateTime class"
142ac_help="$ac_help
143 --enable-timedate use obsolete wxDate/wxTime classes"
144ac_help="$ac_help
145 --enable-stopwatch use wxStopWatch class"
146ac_help="$ac_help
147 --enable-dialupman use dialup network classes"
148ac_help="$ac_help
149 --enable-apple_ieee use the Apple IEEE codec"
150ac_help="$ac_help
151 --enable-timer use wxTimer class"
152ac_help="$ac_help
153 --enable-wave use wxWave class"
154ac_help="$ac_help
155 --enable-fraction use wxFraction class"
156ac_help="$ac_help
157 --enable-dynlib use wxLibrary class for DLL loading"
158ac_help="$ac_help
159 --enable-longlong use wxLongLong class"
160ac_help="$ac_help
161 --enable-geometry use geometry class"
162ac_help="$ac_help
163 --enable-log use logging system"
164ac_help="$ac_help
165 --enable-streams use wxStream etc classes"
166ac_help="$ac_help
167 --enable-file use wxFile classes"
168ac_help="$ac_help
169 --enable-ffile use wxFFile classes"
170ac_help="$ac_help
171 --enable-textfile use wxTextFile classes"
172ac_help="$ac_help
173 --enable-fontmap use font encodings conversion classes"
174ac_help="$ac_help
175 --enable-unicode compile wxString with Unicode support"
176ac_help="$ac_help
177 --enable-wxprintfv use wxWindows implementation of vprintf()"
178ac_help="$ac_help
179 --enable-std_iostreams use standard C++ stream classes"
180ac_help="$ac_help
181 --enable-filesystem use virtual file systems classes"
182ac_help="$ac_help
183 --enable-fs_inet use virtual HTTP/FTP filesystems"
184ac_help="$ac_help
185 --enable-fs_zip use virtual ZIP filesystems"
186ac_help="$ac_help
187 --enable-zipstream use wxZipInputStream"
188ac_help="$ac_help
189 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
190ac_help="$ac_help
191 --enable-snglinst use wxSingleInstanceChecker class"
192ac_help="$ac_help
193 --enable-mimetypes use wxMimeTypesManager"
194ac_help="$ac_help
195 --enable-sysoptions use wxSystemOptions"
196ac_help="$ac_help
197 --enable-threads use threads"
198ac_help="$ac_help
199 --enable-serial use class serialization"
200ac_help="$ac_help
201 --enable-docview use document view architecture"
202ac_help="$ac_help
203 --enable-help use help subsystem"
204ac_help="$ac_help
205 --enable-mshtmlhelp use MS HTML Help (win32)"
206ac_help="$ac_help
207 --enable-html use wxHTML sub-library"
208ac_help="$ac_help
209 --enable-htmlhelp use wxHTML-based help"
210ac_help="$ac_help
211 --enable-constraints use layout-constraints system"
212ac_help="$ac_help
213 --enable-printarch use printing architecture"
214ac_help="$ac_help
215 --enable-mdi use multiple document interface architecture"
216ac_help="$ac_help
217 --enable-loggui use standard GUI logger"
218ac_help="$ac_help
219 --enable-logwin use wxLogWindow"
220ac_help="$ac_help
221 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
222ac_help="$ac_help
223 --enable-prologio use Prolog IO library"
224ac_help="$ac_help
225 --enable-resources use wxWindows resources"
226ac_help="$ac_help
227 --enable-xresources use X resources for save (default for gtk+)"
228ac_help="$ac_help
229 --enable-clipboard use wxClipboard classes"
230ac_help="$ac_help
231 --enable-dnd use Drag'n'Drop classes"
232ac_help="$ac_help
233 --enable-metafile use win32 metafiles"
234ac_help="$ac_help
235 --enable-treelayout use wxTreeLayout classes"
236ac_help="$ac_help
237 --enable-controls use all usual controls"
238ac_help="$ac_help
239 --enable-accel use accelerators"
240ac_help="$ac_help
241 --enable-button use wxButton class"
242ac_help="$ac_help
243 --enable-bmpbutton use wxBitmapButton class"
244ac_help="$ac_help
245 --enable-calendar use wxCalendarCtrl class"
246ac_help="$ac_help
247 --enable-caret use wxCaret class"
248ac_help="$ac_help
249 --enable-checkbox use wxCheckBox class"
250ac_help="$ac_help
251 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
252ac_help="$ac_help
253 --enable-choice use wxChoice class"
254ac_help="$ac_help
255 --enable-combobox use wxComboBox classes"
256ac_help="$ac_help
257 --enable-gauge use wxGauge class"
258ac_help="$ac_help
259 --enable-grid use wxGrid class"
260ac_help="$ac_help
261 --enable-newgrid use new wxGrid class"
262ac_help="$ac_help
263 --enable-imaglist use wxImageList class"
264ac_help="$ac_help
265 --enable-listbox use wxListBox class"
266ac_help="$ac_help
267 --enable-listctrl use wxListCtrl class"
268ac_help="$ac_help
269 --enable-notebook use wxNotebook class"
270ac_help="$ac_help
271 --enable-propsheet use wxPropertySheet class"
272ac_help="$ac_help
273 --enable-radiobox use wxRadioBox class"
274ac_help="$ac_help
275 --enable-radiobtn use wxRadioButton class"
276ac_help="$ac_help
277 --enable-sash use wxSashWindow class"
278ac_help="$ac_help
279 --enable-scrollbar use wxScrollBar class and scrollable windows"
280ac_help="$ac_help
281 --enable-slider use wxSlider class"
282ac_help="$ac_help
283 --enable-spinbtn use wxSpinButton class"
284ac_help="$ac_help
285 --enable-spinctrl use wxSpinCtrl class"
286ac_help="$ac_help
287 --enable-splitter use wxSplitterWindow class"
288ac_help="$ac_help
289 --enable-statbmp use wxStaticBitmap class"
290ac_help="$ac_help
291 --enable-statbox use wxStaticBox class"
292ac_help="$ac_help
293 --enable-statline use wxStaticLine class"
294ac_help="$ac_help
295 --enable-stattext use wxStaticText class"
296ac_help="$ac_help
297 --enable-statusbar use wxStatusBar class"
298ac_help="$ac_help
299 --enable-tabdialog use wxTabControl class"
300ac_help="$ac_help
301 --enable-textctrl use wxTextCtrl class"
302ac_help="$ac_help
303 --enable-togglebtn use wxToggleButton class"
304ac_help="$ac_help
305 --enable-toolbar use wxToolBar class"
306ac_help="$ac_help
307 --enable-tbarnative use native wxToolBar class"
308ac_help="$ac_help
309 --enable-tbarsmpl use wxToolBarSimple class"
310ac_help="$ac_help
311 --enable-treectrl use wxTreeCtrl class"
312ac_help="$ac_help
313 --enable-popupwin use wxPopUpWindow class"
314ac_help="$ac_help
315 --enable-commondlg use all common dialogs"
316ac_help="$ac_help
317 --enable-choicedlg use wxChoiceDialog"
318ac_help="$ac_help
319 --enable-coldlg use wxColourDialog"
320ac_help="$ac_help
321 --enable-filedlg use wxFileDialog"
322ac_help="$ac_help
323 --enable-finddlg use wxFindReplaceDialog"
324ac_help="$ac_help
325 --enable-fontdlg use wxFontDialog"
326ac_help="$ac_help
327 --enable-dirdlg use wxDirDialog"
328ac_help="$ac_help
329 --enable-msgdlg use wxMessageDialog"
330ac_help="$ac_help
331 --enable-numberdlg use wxNumberEntryDialog"
332ac_help="$ac_help
333 --enable-splash use wxSplashScreen"
334ac_help="$ac_help
335 --enable-textdlg use wxTextDialog"
336ac_help="$ac_help
337 --enable-tipdlg use startup tips"
338ac_help="$ac_help
339 --enable-progressdlg use wxProgressDialog"
340ac_help="$ac_help
341 --enable-wizarddlg use wxWizard"
342ac_help="$ac_help
343 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
344ac_help="$ac_help
345 --enable-miniframe use wxMiniFrame class"
346ac_help="$ac_help
347 --enable-tooltips use wxToolTip class"
348ac_help="$ac_help
349 --enable-splines use spline drawing code"
350ac_help="$ac_help
351 --enable-validators use wxValidator and derived classes"
352ac_help="$ac_help
353 --enable-busyinfo use wxBusyInfo"
354ac_help="$ac_help
355 --enable-joystick use wxJoystick (Linux only)"
356ac_help="$ac_help
357 --enable-metafiles use wxMetaFile (Windows only)"
358ac_help="$ac_help
359 --enable-dragimage use wxDragImage"
360ac_help="$ac_help
361 --enable-image use wxImage class"
362ac_help="$ac_help
363 --enable-gif use gif images (GIF file format)"
364ac_help="$ac_help
365 --enable-pcx use pcx images (PCX file format)"
366ac_help="$ac_help
367 --enable-pnm use pnm images (PNM file format)"
368ac_help="$ac_help
369 --enable-xpm use xpm images (XPM file format)"
370ac_help="$ac_help
371 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
372ac_help="$ac_help
373 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
374ac_help="$ac_help
375 --disable-gtktest Do not try to compile and run a test GTK program"
376ac_help="$ac_help
377 --with-x use the X Window System"
378
379# Initialize some variables set by options.
380# The variables have the same names as the options, with
381# dashes changed to underlines.
382build=NONE
383cache_file=./config.cache
384exec_prefix=NONE
385host=NONE
386no_create=
387nonopt=NONE
388no_recursion=
389prefix=NONE
390program_prefix=NONE
391program_suffix=NONE
392program_transform_name=s,x,x,
393silent=
394site=
395srcdir=
396target=NONE
397verbose=
398x_includes=NONE
399x_libraries=NONE
400bindir='${exec_prefix}/bin'
401sbindir='${exec_prefix}/sbin'
402libexecdir='${exec_prefix}/libexec'
403datadir='${prefix}/share'
404sysconfdir='${prefix}/etc'
405sharedstatedir='${prefix}/com'
406localstatedir='${prefix}/var'
407libdir='${exec_prefix}/lib'
408includedir='${prefix}/include'
409oldincludedir='/usr/include'
410infodir='${prefix}/info'
411mandir='${prefix}/man'
412
413# Initialize some other variables.
414subdirs=
415MFLAGS= MAKEFLAGS=
416SHELL=${CONFIG_SHELL-/bin/sh}
417# Maximum number of lines to put in a shell here document.
418ac_max_here_lines=12
419
420ac_prev=
421for ac_option
422do
423
424 # If the previous option needs an argument, assign it.
425 if test -n "$ac_prev"; then
426 eval "$ac_prev=\$ac_option"
427 ac_prev=
428 continue
429 fi
430
431 case "$ac_option" in
432 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
433 *) ac_optarg= ;;
434 esac
435
436 # Accept the important Cygnus configure options, so we can diagnose typos.
437
438 case "$ac_option" in
439
440 -bindir | --bindir | --bindi | --bind | --bin | --bi)
441 ac_prev=bindir ;;
442 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
443 bindir="$ac_optarg" ;;
444
445 -build | --build | --buil | --bui | --bu)
446 ac_prev=build ;;
447 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
448 build="$ac_optarg" ;;
449
450 -cache-file | --cache-file | --cache-fil | --cache-fi \
451 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
452 ac_prev=cache_file ;;
453 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
454 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
455 cache_file="$ac_optarg" ;;
456
457 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
458 ac_prev=datadir ;;
459 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
460 | --da=*)
461 datadir="$ac_optarg" ;;
462
463 -disable-* | --disable-*)
464 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
465 # Reject names that are not valid shell variable names.
466 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
467 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
468 fi
469 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
470 eval "enable_${ac_feature}=no" ;;
471
472 -enable-* | --enable-*)
473 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
474 # Reject names that are not valid shell variable names.
475 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
476 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
477 fi
478 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
479 case "$ac_option" in
480 *=*) ;;
481 *) ac_optarg=yes ;;
482 esac
483 eval "enable_${ac_feature}='$ac_optarg'" ;;
484
485 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
486 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
487 | --exec | --exe | --ex)
488 ac_prev=exec_prefix ;;
489 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
490 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
491 | --exec=* | --exe=* | --ex=*)
492 exec_prefix="$ac_optarg" ;;
493
494 -gas | --gas | --ga | --g)
495 # Obsolete; use --with-gas.
496 with_gas=yes ;;
497
498 -help | --help | --hel | --he)
499 # Omit some internal or obsolete options to make the list less imposing.
500 # This message is too long to be a string in the A/UX 3.1 sh.
501 cat << EOF
502Usage: configure [options] [host]
503Options: [defaults in brackets after descriptions]
504Configuration:
505 --cache-file=FILE cache test results in FILE
506 --help print this message
507 --no-create do not create output files
508 --quiet, --silent do not print \`checking...' messages
509 --version print the version of autoconf that created configure
510Directory and file names:
511 --prefix=PREFIX install architecture-independent files in PREFIX
512 [$ac_default_prefix]
513 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
514 [same as prefix]
515 --bindir=DIR user executables in DIR [EPREFIX/bin]
516 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
517 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
518 --datadir=DIR read-only architecture-independent data in DIR
519 [PREFIX/share]
520 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
521 --sharedstatedir=DIR modifiable architecture-independent data in DIR
522 [PREFIX/com]
523 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
524 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
525 --includedir=DIR C header files in DIR [PREFIX/include]
526 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
527 --infodir=DIR info documentation in DIR [PREFIX/info]
528 --mandir=DIR man documentation in DIR [PREFIX/man]
529 --srcdir=DIR find the sources in DIR [configure dir or ..]
530 --program-prefix=PREFIX prepend PREFIX to installed program names
531 --program-suffix=SUFFIX append SUFFIX to installed program names
532 --program-transform-name=PROGRAM
533 run sed PROGRAM on installed program names
534EOF
535 cat << EOF
536Host type:
537 --build=BUILD configure for building on BUILD [BUILD=HOST]
538 --host=HOST configure for HOST [guessed]
539 --target=TARGET configure for TARGET [TARGET=HOST]
540Features and packages:
541 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
542 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
543 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
544 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
545 --x-includes=DIR X include files are in DIR
546 --x-libraries=DIR X library files are in DIR
547EOF
548 if test -n "$ac_help"; then
549 echo "--enable and --with options recognized:$ac_help"
550 fi
551 exit 0 ;;
552
553 -host | --host | --hos | --ho)
554 ac_prev=host ;;
555 -host=* | --host=* | --hos=* | --ho=*)
556 host="$ac_optarg" ;;
557
558 -includedir | --includedir | --includedi | --included | --include \
559 | --includ | --inclu | --incl | --inc)
560 ac_prev=includedir ;;
561 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
562 | --includ=* | --inclu=* | --incl=* | --inc=*)
563 includedir="$ac_optarg" ;;
564
565 -infodir | --infodir | --infodi | --infod | --info | --inf)
566 ac_prev=infodir ;;
567 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
568 infodir="$ac_optarg" ;;
569
570 -libdir | --libdir | --libdi | --libd)
571 ac_prev=libdir ;;
572 -libdir=* | --libdir=* | --libdi=* | --libd=*)
573 libdir="$ac_optarg" ;;
574
575 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
576 | --libexe | --libex | --libe)
577 ac_prev=libexecdir ;;
578 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
579 | --libexe=* | --libex=* | --libe=*)
580 libexecdir="$ac_optarg" ;;
581
582 -localstatedir | --localstatedir | --localstatedi | --localstated \
583 | --localstate | --localstat | --localsta | --localst \
584 | --locals | --local | --loca | --loc | --lo)
585 ac_prev=localstatedir ;;
586 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
587 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
588 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
589 localstatedir="$ac_optarg" ;;
590
591 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
592 ac_prev=mandir ;;
593 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
594 mandir="$ac_optarg" ;;
595
596 -nfp | --nfp | --nf)
597 # Obsolete; use --without-fp.
598 with_fp=no ;;
599
600 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
601 | --no-cr | --no-c)
602 no_create=yes ;;
603
604 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
605 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
606 no_recursion=yes ;;
607
608 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
609 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
610 | --oldin | --oldi | --old | --ol | --o)
611 ac_prev=oldincludedir ;;
612 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
613 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
614 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
615 oldincludedir="$ac_optarg" ;;
616
617 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
618 ac_prev=prefix ;;
619 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
620 prefix="$ac_optarg" ;;
621
622 -program-prefix | --program-prefix | --program-prefi | --program-pref \
623 | --program-pre | --program-pr | --program-p)
624 ac_prev=program_prefix ;;
625 -program-prefix=* | --program-prefix=* | --program-prefi=* \
626 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
627 program_prefix="$ac_optarg" ;;
628
629 -program-suffix | --program-suffix | --program-suffi | --program-suff \
630 | --program-suf | --program-su | --program-s)
631 ac_prev=program_suffix ;;
632 -program-suffix=* | --program-suffix=* | --program-suffi=* \
633 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
634 program_suffix="$ac_optarg" ;;
635
636 -program-transform-name | --program-transform-name \
637 | --program-transform-nam | --program-transform-na \
638 | --program-transform-n | --program-transform- \
639 | --program-transform | --program-transfor \
640 | --program-transfo | --program-transf \
641 | --program-trans | --program-tran \
642 | --progr-tra | --program-tr | --program-t)
643 ac_prev=program_transform_name ;;
644 -program-transform-name=* | --program-transform-name=* \
645 | --program-transform-nam=* | --program-transform-na=* \
646 | --program-transform-n=* | --program-transform-=* \
647 | --program-transform=* | --program-transfor=* \
648 | --program-transfo=* | --program-transf=* \
649 | --program-trans=* | --program-tran=* \
650 | --progr-tra=* | --program-tr=* | --program-t=*)
651 program_transform_name="$ac_optarg" ;;
652
653 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
654 | -silent | --silent | --silen | --sile | --sil)
655 silent=yes ;;
656
657 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
658 ac_prev=sbindir ;;
659 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
660 | --sbi=* | --sb=*)
661 sbindir="$ac_optarg" ;;
662
663 -sharedstatedir | --sharedstatedir | --sharedstatedi \
664 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
665 | --sharedst | --shareds | --shared | --share | --shar \
666 | --sha | --sh)
667 ac_prev=sharedstatedir ;;
668 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
669 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
670 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
671 | --sha=* | --sh=*)
672 sharedstatedir="$ac_optarg" ;;
673
674 -site | --site | --sit)
675 ac_prev=site ;;
676 -site=* | --site=* | --sit=*)
677 site="$ac_optarg" ;;
678
679 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
680 ac_prev=srcdir ;;
681 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
682 srcdir="$ac_optarg" ;;
683
684 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
685 | --syscon | --sysco | --sysc | --sys | --sy)
686 ac_prev=sysconfdir ;;
687 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
688 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
689 sysconfdir="$ac_optarg" ;;
690
691 -target | --target | --targe | --targ | --tar | --ta | --t)
692 ac_prev=target ;;
693 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
694 target="$ac_optarg" ;;
695
696 -v | -verbose | --verbose | --verbos | --verbo | --verb)
697 verbose=yes ;;
698
699 -version | --version | --versio | --versi | --vers)
700 echo "configure generated by autoconf version 2.13"
701 exit 0 ;;
702
703 -with-* | --with-*)
704 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
705 # Reject names that are not valid shell variable names.
706 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
707 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
708 fi
709 ac_package=`echo $ac_package| sed 's/-/_/g'`
710 case "$ac_option" in
711 *=*) ;;
712 *) ac_optarg=yes ;;
713 esac
714 eval "with_${ac_package}='$ac_optarg'" ;;
715
716 -without-* | --without-*)
717 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
718 # Reject names that are not valid shell variable names.
719 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
720 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
721 fi
722 ac_package=`echo $ac_package| sed 's/-/_/g'`
723 eval "with_${ac_package}=no" ;;
724
725 --x)
726 # Obsolete; use --with-x.
727 with_x=yes ;;
728
729 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
730 | --x-incl | --x-inc | --x-in | --x-i)
731 ac_prev=x_includes ;;
732 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
733 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
734 x_includes="$ac_optarg" ;;
735
736 -x-libraries | --x-libraries | --x-librarie | --x-librari \
737 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
738 ac_prev=x_libraries ;;
739 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
740 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
741 x_libraries="$ac_optarg" ;;
742
743 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
744 ;;
745
746 *)
747 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
748 echo "configure: warning: $ac_option: invalid host type" 1>&2
749 fi
750 if test "x$nonopt" != xNONE; then
751 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
752 fi
753 nonopt="$ac_option"
754 ;;
755
756 esac
757done
758
759if test -n "$ac_prev"; then
760 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
761fi
762
763trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
764
765# File descriptor usage:
766# 0 standard input
767# 1 file creation
768# 2 errors and warnings
769# 3 some systems may open it to /dev/tty
770# 4 used on the Kubota Titan
771# 6 checking for... messages and results
772# 5 compiler messages saved in config.log
773if test "$silent" = yes; then
774 exec 6>/dev/null
775else
776 exec 6>&1
777fi
778exec 5>./config.log
779
780echo "\
781This file contains any messages produced by compilers while
782running configure, to aid debugging if configure makes a mistake.
783" 1>&5
784
785# Strip out --no-create and --no-recursion so they do not pile up.
786# Also quote any args containing shell metacharacters.
787ac_configure_args=
788for ac_arg
789do
790 case "$ac_arg" in
791 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
792 | --no-cr | --no-c) ;;
793 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
794 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
795 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
796 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
797 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
798 esac
799done
800
801# NLS nuisances.
802# Only set these to C if already set. These must not be set unconditionally
803# because not all systems understand e.g. LANG=C (notably SCO).
804# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
805# Non-C LC_CTYPE values break the ctype check.
806if test "${LANG+set}" = set; then LANG=C; export LANG; fi
807if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
808if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
809if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
810
811# confdefs.h avoids OS command line length limits that DEFS can exceed.
812rm -rf conftest* confdefs.h
813# AIX cpp loses on an empty file, so make sure it contains at least a newline.
814echo > confdefs.h
815
816# A filename unique to this package, relative to the directory that
817# configure is in, which we can look for to find out if srcdir is correct.
818ac_unique_file=wx-config.in
819
820# Find the source files, if location was not specified.
821if test -z "$srcdir"; then
822 ac_srcdir_defaulted=yes
823 # Try the directory containing this script, then its parent.
824 ac_prog=$0
825 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
826 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
827 srcdir=$ac_confdir
828 if test ! -r $srcdir/$ac_unique_file; then
829 srcdir=..
830 fi
831else
832 ac_srcdir_defaulted=no
833fi
834if test ! -r $srcdir/$ac_unique_file; then
835 if test "$ac_srcdir_defaulted" = yes; then
836 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
837 else
838 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
839 fi
840fi
841srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
842
843# Prefer explicitly selected file to automatically selected ones.
844if test -z "$CONFIG_SITE"; then
845 if test "x$prefix" != xNONE; then
846 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
847 else
848 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
849 fi
850fi
851for ac_site_file in $CONFIG_SITE; do
852 if test -r "$ac_site_file"; then
853 echo "loading site script $ac_site_file"
854 . "$ac_site_file"
855 fi
856done
857
858if test -r "$cache_file"; then
859 echo "loading cache $cache_file"
860 . $cache_file
861else
862 echo "creating cache $cache_file"
863 > $cache_file
864fi
865
866ac_ext=c
867# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
868ac_cpp='$CPP $CPPFLAGS'
869ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
870ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
871cross_compiling=$ac_cv_prog_cc_cross
872
873ac_exeext=
874ac_objext=o
875if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
876 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
877 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
878 ac_n= ac_c='
879' ac_t=' '
880 else
881 ac_n=-n ac_c= ac_t=
882 fi
883else
884 ac_n= ac_c='\c' ac_t=
885fi
886
887
888
889ac_aux_dir=
890for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
891 if test -f $ac_dir/install-sh; then
892 ac_aux_dir=$ac_dir
893 ac_install_sh="$ac_aux_dir/install-sh -c"
894 break
895 elif test -f $ac_dir/install.sh; then
896 ac_aux_dir=$ac_dir
897 ac_install_sh="$ac_aux_dir/install.sh -c"
898 break
899 fi
900done
901if test -z "$ac_aux_dir"; then
902 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
903fi
904ac_config_guess=$ac_aux_dir/config.guess
905ac_config_sub=$ac_aux_dir/config.sub
906ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
907
908
909# Do some error checking and defaulting for the host and target type.
910# The inputs are:
911# configure --host=HOST --target=TARGET --build=BUILD NONOPT
912#
913# The rules are:
914# 1. You are not allowed to specify --host, --target, and nonopt at the
915# same time.
916# 2. Host defaults to nonopt.
917# 3. If nonopt is not specified, then host defaults to the current host,
918# as determined by config.guess.
919# 4. Target and build default to nonopt.
920# 5. If nonopt is not specified, then target and build default to host.
921
922# The aliases save the names the user supplied, while $host etc.
923# will get canonicalized.
924case $host---$target---$nonopt in
925NONE---*---* | *---NONE---* | *---*---NONE) ;;
926*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
927esac
928
929
930# Make sure we can run config.sub.
931if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
932else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
933fi
934
935echo $ac_n "checking host system type""... $ac_c" 1>&6
936echo "configure:937: checking host system type" >&5
937
938host_alias=$host
939case "$host_alias" in
940NONE)
941 case $nonopt in
942 NONE)
943 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
944 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
945 fi ;;
946 *) host_alias=$nonopt ;;
947 esac ;;
948esac
949
950host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
951host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
952host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
953host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
954echo "$ac_t""$host" 1>&6
955
956echo $ac_n "checking target system type""... $ac_c" 1>&6
957echo "configure:958: checking target system type" >&5
958
959target_alias=$target
960case "$target_alias" in
961NONE)
962 case $nonopt in
963 NONE) target_alias=$host_alias ;;
964 *) target_alias=$nonopt ;;
965 esac ;;
966esac
967
968target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
969target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
970target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
971target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
972echo "$ac_t""$target" 1>&6
973
974echo $ac_n "checking build system type""... $ac_c" 1>&6
975echo "configure:976: checking build system type" >&5
976
977build_alias=$build
978case "$build_alias" in
979NONE)
980 case $nonopt in
981 NONE) build_alias=$host_alias ;;
982 *) build_alias=$nonopt ;;
983 esac ;;
984esac
985
986build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
987build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
988build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
989build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
990echo "$ac_t""$build" 1>&6
991
992test "$host_alias" != "$target_alias" &&
993 test "$program_prefix$program_suffix$program_transform_name" = \
994 NONENONEs,x,x, &&
995 program_prefix=${target_alias}-
996
997
998
999WX_MAJOR_VERSION_NUMBER=2
1000WX_MINOR_VERSION_NUMBER=3
1001WX_RELEASE_NUMBER=2
1002
1003WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1004WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1005
1006WX_CURRENT=1
1007WX_REVISION=0
1008WX_AGE=0
1009
1010
1011
1012USE_UNIX=1
1013USE_WIN32=0
1014USE_BEOS=0
1015USE_MAC=0
1016
1017USE_LINUX=
1018USE_SGI=
1019USE_HPUX=
1020USE_SYSV=
1021USE_SVR4=
1022USE_AIX=
1023USE_SUN=
1024USE_SOLARIS=
1025USE_SUNOS=
1026USE_ALPHA=
1027USE_OSF=
1028USE_BSD=
1029USE_DARWIN=
1030USE_FREEBSD=
1031USE_OPENBSD=
1032USE_NETBSD=
1033USE_VMS=
1034USE_ULTRIX=
1035USE_CYGWIN=
1036USE_MINGW=
1037USE_DATA_GENERAL=
1038
1039NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1040
1041ALL_TOOLKITS="CYGWIN GTK MAC MGL MINGW MOTIF PM WINE"
1042
1043DEFAULT_wxUSE_GTK=0
1044DEFAULT_wxUSE_MAC=0
1045DEFAULT_wxUSE_MGL=0
1046DEFAULT_wxUSE_MOTIF=0
1047DEFAULT_wxUSE_MSW=0
1048DEFAULT_wxUSE_PM=0
1049DEFAULT_wxUSE_WINE=0
1050
1051DEFAULT_DEFAULT_wxUSE_GTK=0
1052DEFAULT_DEFAULT_wxUSE_MAC=0
1053DEFAULT_DEFAULT_wxUSE_MGL=0
1054DEFAULT_DEFAULT_wxUSE_MOTIF=0
1055DEFAULT_DEFAULT_wxUSE_MSW=0
1056DEFAULT_DEFAULT_wxUSE_PM=0
1057DEFAULT_DEFAULT_wxUSE_WINE=0
1058
1059PROGRAM_EXT=
1060SO_SUFFIX=so
1061
1062case "${host}" in
1063 *-hp-hpux* )
1064 USE_HPUX=1
1065 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1066 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1067 SO_SUFFIX=sl
1068 cat >> confdefs.h <<\EOF
1069#define __HPUX__ 1
1070EOF
1071
1072 ;;
1073 *-*-linux* )
1074 USE_LINUX=1
1075 cat >> confdefs.h <<\EOF
1076#define __LINUX__ 1
1077EOF
1078
1079 TMP=`uname -m`
1080 if test "x$TMP" = "xalpha"; then
1081 USE_ALPHA=1
1082 cat >> confdefs.h <<\EOF
1083#define __ALPHA__ 1
1084EOF
1085
1086 fi
1087 DEFAULT_DEFAULT_wxUSE_GTK=1
1088 ;;
1089 *-*-irix5* | *-*-irix6* )
1090 USE_SGI=1
1091 USE_SVR4=1
1092 cat >> confdefs.h <<\EOF
1093#define __SGI__ 1
1094EOF
1095
1096 cat >> confdefs.h <<\EOF
1097#define __SVR4__ 1
1098EOF
1099
1100 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1101 ;;
1102 *-*-solaris2* )
1103 USE_SUN=1
1104 USE_SOLARIS=1
1105 USE_SVR4=1
1106 cat >> confdefs.h <<\EOF
1107#define __SUN__ 1
1108EOF
1109
1110 cat >> confdefs.h <<\EOF
1111#define __SOLARIS__ 1
1112EOF
1113
1114 cat >> confdefs.h <<\EOF
1115#define __SVR4__ 1
1116EOF
1117
1118 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1119 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1120 ;;
1121 *-*-sunos4* )
1122 USE_SUN=1
1123 USE_SUNOS=1
1124 USE_BSD=1
1125 cat >> confdefs.h <<\EOF
1126#define __SUN__ 1
1127EOF
1128
1129 cat >> confdefs.h <<\EOF
1130#define __SUNOS__ 1
1131EOF
1132
1133 cat >> confdefs.h <<\EOF
1134#define __BSD__ 1
1135EOF
1136
1137 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1138 ;;
1139 *-*-freebsd*)
1140 USE_BSD=1
1141 USE_FREEBSD=1
1142 cat >> confdefs.h <<\EOF
1143#define __FREEBSD__ 1
1144EOF
1145
1146 cat >> confdefs.h <<\EOF
1147#define __BSD__ 1
1148EOF
1149
1150 DEFAULT_DEFAULT_wxUSE_GTK=1
1151 ;;
1152 *-*-openbsd*)
1153 USE_BSD=1
1154 USE_OPENBSD=1
1155 cat >> confdefs.h <<\EOF
1156#define __FREEBSD__ 1
1157EOF
1158
1159 cat >> confdefs.h <<\EOF
1160#define __OPENBSD__ 1
1161EOF
1162
1163 DEFAULT_DEFAULT_wxUSE_GTK=1
1164 ;;
1165 *-*-netbsd*)
1166 USE_BSD=1
1167 USE_NETBSD=1
1168 cat >> confdefs.h <<\EOF
1169#define __FREEBSD__ 1
1170EOF
1171
1172 cat >> confdefs.h <<\EOF
1173#define __NETBSD__ 1
1174EOF
1175
1176 DEFAULT_DEFAULT_wxUSE_GTK=1
1177 ;;
1178 *-*-osf* )
1179 USE_ALPHA=1
1180 USE_OSF=1
1181 cat >> confdefs.h <<\EOF
1182#define __ALPHA__ 1
1183EOF
1184
1185 cat >> confdefs.h <<\EOF
1186#define __OSF__ 1
1187EOF
1188
1189 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1190 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1191 ;;
1192 *-*-dgux5* )
1193 USE_ALPHA=1
1194 USE_SVR4=1
1195 cat >> confdefs.h <<\EOF
1196#define __ALPHA__ 1
1197EOF
1198
1199 cat >> confdefs.h <<\EOF
1200#define __SVR4__ 1
1201EOF
1202
1203 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1204 ;;
1205 *-*-sysv5* )
1206 USE_SYSV=1
1207 USE_SVR4=1
1208 cat >> confdefs.h <<\EOF
1209#define __SYSV__ 1
1210EOF
1211
1212 cat >> confdefs.h <<\EOF
1213#define __SVR4__ 1
1214EOF
1215
1216 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1217 ;;
1218 *-*-aix* )
1219 USE_AIX=1
1220 USE_SYSV=1
1221 USE_SVR4=1
1222 cat >> confdefs.h <<\EOF
1223#define __AIX__ 1
1224EOF
1225
1226 cat >> confdefs.h <<\EOF
1227#define __SYSV__ 1
1228EOF
1229
1230 cat >> confdefs.h <<\EOF
1231#define __SVR4__ 1
1232EOF
1233
1234 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1235 ;;
1236
1237 *-*-cygwin* | *-*-mingw32* )
1238 USE_UNIX=0
1239 USE_WIN32=1
1240 SO_SUFFIX=dll
1241 cat >> confdefs.h <<\EOF
1242#define __WIN32__ 1
1243EOF
1244
1245 cat >> confdefs.h <<\EOF
1246#define __WIN95__ 1
1247EOF
1248
1249 cat >> confdefs.h <<\EOF
1250#define __WINDOWS__ 1
1251EOF
1252
1253 cat >> confdefs.h <<\EOF
1254#define __GNUWIN32__ 1
1255EOF
1256
1257 cat >> confdefs.h <<\EOF
1258#define STRICT 1
1259EOF
1260
1261 cat >> confdefs.h <<\EOF
1262#define WINVER 0x0400
1263EOF
1264
1265 PROGRAM_EXT=".exe"
1266 DEFAULT_DEFAULT_wxUSE_MSW=1
1267 ;;
1268
1269 *-pc-os2_emx )
1270 cat >> confdefs.h <<\EOF
1271#define __EMX__ 1
1272EOF
1273
1274 PROGRAM_EXT=".exe"
1275 DEFAULT_DEFAULT_wxUSE_PM=1
1276 ;;
1277
1278 *-*-darwin* )
1279 USE_BSD=1
1280 USE_DARWIN=1
1281 SO_SUFFIX=dylib
1282 cat >> confdefs.h <<\EOF
1283#define __BSD__ 1
1284EOF
1285
1286 cat >> confdefs.h <<\EOF
1287#define __DARWIN__ 1
1288EOF
1289
1290 DEFAULT_DEFAULT_wxUSE_MAC=1
1291 ;;
1292
1293 *-*-beos* )
1294 USE_BEOS=1
1295 cat >> confdefs.h <<\EOF
1296#define __BEOS__ 1
1297EOF
1298
1299 ;;
1300
1301 *)
1302 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1303esac
1304
1305if test "$USE_UNIX" = 1 ; then
1306 wxUSE_UNIX=yes
1307 cat >> confdefs.h <<\EOF
1308#define __UNIX__ 1
1309EOF
1310
1311fi
1312
1313if test "$USE_LINUX" = 1; then
1314 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1315echo "configure:1316: checking for glibc 2.1 or later" >&5
1316if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1317 echo $ac_n "(cached) $ac_c" 1>&6
1318else
1319 cat > conftest.$ac_ext <<EOF
1320#line 1321 "configure"
1321#include "confdefs.h"
1322#include <features.h>
1323int main() {
1324
1325 #if !__GLIBC_PREREQ(2, 1)
1326 #error not glibc2.1
1327 #endif
1328
1329; return 0; }
1330EOF
1331if { (eval echo configure:1332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1332 rm -rf conftest*
1333
1334 wx_lib_glibc21=yes
1335
1336else
1337 echo "configure: failed program was:" >&5
1338 cat conftest.$ac_ext >&5
1339 rm -rf conftest*
1340
1341 wx_lib_glibc21=no
1342
1343
1344fi
1345rm -f conftest*
1346
1347fi
1348
1349echo "$ac_t""$wx_lib_glibc21" 1>&6
1350 if test "$wx_lib_glibc21" = "yes"; then
1351 cat >> confdefs.h <<\EOF
1352#define wxHAVE_GLIBC2 1
1353EOF
1354
1355 fi
1356fi
1357
1358
1359
1360
1361 wx_arg_cache_file="configarg.cache"
1362 echo "loading argument cache $wx_arg_cache_file"
1363 rm -f ${wx_arg_cache_file}.tmp
1364 touch ${wx_arg_cache_file}.tmp
1365 touch ${wx_arg_cache_file}
1366
1367
1368DEBUG_CONFIGURE=0
1369if test $DEBUG_CONFIGURE = 1; then
1370 DEFAULT_wxUSE_UNIVERSAL=no
1371
1372 DEFAULT_wxUSE_THREADS=yes
1373
1374 DEFAULT_wxUSE_SHARED=yes
1375 DEFAULT_wxUSE_SONAME=no
1376 DEFAULT_wxUSE_OPTIMISE=no
1377 DEFAULT_wxUSE_PROFILE=no
1378 DEFAULT_wxUSE_NO_DEPS=no
1379 DEFAULT_wxUSE_NO_RTTI=no
1380 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1381 DEFAULT_wxUSE_PERMISSIVE=no
1382 DEFAULT_wxUSE_DEBUG_FLAG=yes
1383 DEFAULT_wxUSE_DEBUG_INFO=yes
1384 DEFAULT_wxUSE_DEBUG_GDB=yes
1385 DEFAULT_wxUSE_MEM_TRACING=no
1386 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1387 DEFAULT_wxUSE_DMALLOC=no
1388 DEFAULT_wxUSE_APPLE_IEEE=no
1389
1390 DEFAULT_wxUSE_LOG=yes
1391 DEFAULT_wxUSE_LOGWINDOW=no
1392 DEFAULT_wxUSE_LOGGUI=no
1393
1394 DEFAULT_wxUSE_GUI=yes
1395 DEFAULT_wxUSE_CONTROLS=no
1396
1397 DEFAULT_wxUSE_REGEX=no
1398 DEFAULT_wxUSE_ZLIB=no
1399 DEFAULT_wxUSE_LIBPNG=no
1400 DEFAULT_wxUSE_LIBJPEG=no
1401 DEFAULT_wxUSE_LIBTIFF=no
1402 DEFAULT_wxUSE_ODBC=no
1403 DEFAULT_wxUSE_FREETYPE=no
1404 DEFAULT_wxUSE_OPENGL=no
1405
1406 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1407 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1408 DEFAULT_wxUSE_STD_IOSTREAM=no
1409 DEFAULT_wxUSE_CMDLINE_PARSER=no
1410 DEFAULT_wxUSE_DATETIME=no
1411 DEFAULT_wxUSE_TIMEDATE=no
1412 DEFAULT_wxUSE_TIMER=no
1413 DEFAULT_wxUSE_STOPWATCH=no
1414 DEFAULT_wxUSE_FILE=no
1415 DEFAULT_wxUSE_FFILE=no
1416 DEFAULT_wxUSE_TEXTFILE=no
1417 DEFAULT_wxUSE_WAVE=no
1418 DEFAULT_wxUSE_INTL=no
1419 DEFAULT_wxUSE_CONFIG=no
1420 DEFAULT_wxUSE_FONTMAP=no
1421 DEFAULT_wxUSE_STREAMS=no
1422 DEFAULT_wxUSE_SOCKETS=no
1423 DEFAULT_wxUSE_DIALUP_MANAGER=no
1424 DEFAULT_wxUSE_SERIAL=no
1425 DEFAULT_wxUSE_JOYSTICK=no
1426 DEFAULT_wxUSE_DYNLIB_CLASS=no
1427 DEFAULT_wxUSE_LONGLONG=no
1428 DEFAULT_wxUSE_GEOMETRY=no
1429
1430 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
1431 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
1432 DEFAULT_wxUSE_POSTSCRIPT=no
1433
1434 DEFAULT_wxUSE_X_RESOURCES=no
1435 DEFAULT_wxUSE_CLIPBOARD=no
1436 DEFAULT_wxUSE_TOOLTIPS=no
1437 DEFAULT_wxUSE_DRAG_AND_DROP=no
1438 DEFAULT_wxUSE_DRAGIMAGE=no
1439 DEFAULT_wxUSE_SPLINES=no
1440
1441 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
1442 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
1443 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
1444
1445 DEFAULT_wxUSE_PROLOGIO=no
1446 DEFAULT_wxUSE_RESOURCES=no
1447 DEFAULT_wxUSE_CONSTRAINTS=no
1448 DEFAULT_wxUSE_IPC=no
1449 DEFAULT_wxUSE_HELP=no
1450 DEFAULT_wxUSE_MS_HTML_HELP=no
1451 DEFAULT_wxUSE_WXHTML_HELP=no
1452 DEFAULT_wxUSE_TREELAYOUT=no
1453 DEFAULT_wxUSE_METAFILE=no
1454 DEFAULT_wxUSE_MIMETYPE=no
1455 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
1456
1457 DEFAULT_wxUSE_COMMONDLGS=no
1458 DEFAULT_wxUSE_CHOICEDLG=no
1459 DEFAULT_wxUSE_COLOURDLG=no
1460 DEFAULT_wxUSE_DIRDLG=no
1461 DEFAULT_wxUSE_FILEDLG=no
1462 DEFAULT_wxUSE_FINDREPLDLG=no
1463 DEFAULT_wxUSE_FONTDLG=no
1464 DEFAULT_wxUSE_MSGDLG=no
1465 DEFAULT_wxUSE_NUMBERDLG=no
1466 DEFAULT_wxUSE_TEXTDLG=no
1467 DEFAULT_wxUSE_SPLASH=no
1468 DEFAULT_wxUSE_STARTUP_TIPS=no
1469 DEFAULT_wxUSE_PROGRESSDLG=no
1470 DEFAULT_wxUSE_WIZARDDLG=no
1471
1472 DEFAULT_wxUSE_MENUS=no
1473 DEFAULT_wxUSE_MINIFRAME=no
1474 DEFAULT_wxUSE_HTML=no
1475 DEFAULT_wxUSE_FILESYSTEM=no
1476 DEFAULT_wxUSE_FS_INET=no
1477 DEFAULT_wxUSE_FS_ZIP=no
1478 DEFAULT_wxUSE_BUSYINFO=no
1479 DEFAULT_wxUSE_ZIPSTREAM=no
1480 DEFAULT_wxUSE_VALIDATORS=no
1481
1482 DEFAULT_wxUSE_ACCEL=no
1483 DEFAULT_wxUSE_BUTTON=no
1484 DEFAULT_wxUSE_BMPBUTTON=no
1485 DEFAULT_wxUSE_CALCTRL=no
1486 DEFAULT_wxUSE_CARET=no
1487 DEFAULT_wxUSE_CHECKBOX=no
1488 DEFAULT_wxUSE_CHECKLST=no
1489 DEFAULT_wxUSE_CHOICE=no
1490 DEFAULT_wxUSE_COMBOBOX=no
1491 DEFAULT_wxUSE_GAUGE=no
1492 DEFAULT_wxUSE_GRID=no
1493 DEFAULT_wxUSE_NEW_GRID=no
1494 DEFAULT_wxUSE_IMAGLIST=no
1495 DEFAULT_wxUSE_LISTBOX=no
1496 DEFAULT_wxUSE_LISTCTRL=no
1497 DEFAULT_wxUSE_NOTEBOOK=no
1498 DEFAULT_wxUSE_PROPSHEET=no
1499 DEFAULT_wxUSE_RADIOBOX=no
1500 DEFAULT_wxUSE_RADIOBTN=no
1501 DEFAULT_wxUSE_SASH=no
1502 DEFAULT_wxUSE_SCROLLBAR=no
1503 DEFAULT_wxUSE_SLIDER=no
1504 DEFAULT_wxUSE_SPINBTN=no
1505 DEFAULT_wxUSE_SPINCTRL=no
1506 DEFAULT_wxUSE_SPLITTER=no
1507 DEFAULT_wxUSE_STATBMP=no
1508 DEFAULT_wxUSE_STATBOX=no
1509 DEFAULT_wxUSE_STATLINE=no
1510 DEFAULT_wxUSE_STATTEXT=no
1511 DEFAULT_wxUSE_STATUSBAR=yes
1512 DEFAULT_wxUSE_TABDIALOG=no
1513 DEFAULT_wxUSE_TEXTCTRL=no
1514 DEFAULT_wxUSE_TOGGLEBTN=no
1515 DEFAULT_wxUSE_TOOLBAR=no
1516 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
1517 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
1518 DEFAULT_wxUSE_TREECTRL=no
1519 DEFAULT_wxUSE_POPUPWIN=no
1520
1521 DEFAULT_wxUSE_UNICODE=no
1522 DEFAULT_wxUSE_WCSRTOMBS=no
1523
1524 DEFAULT_wxUSE_IMAGE=no
1525 DEFAULT_wxUSE_GIF=no
1526 DEFAULT_wxUSE_PCX=no
1527 DEFAULT_wxUSE_PNM=no
1528 DEFAULT_wxUSE_XPM=no
1529else
1530 DEFAULT_wxUSE_UNIVERSAL=no
1531
1532 DEFAULT_wxUSE_THREADS=yes
1533
1534 DEFAULT_wxUSE_SHARED=yes
1535 DEFAULT_wxUSE_SONAME=no
1536 DEFAULT_wxUSE_OPTIMISE=yes
1537 DEFAULT_wxUSE_PROFILE=no
1538 DEFAULT_wxUSE_NO_DEPS=no
1539 DEFAULT_wxUSE_NO_RTTI=no
1540 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1541 DEFAULT_wxUSE_PERMISSIVE=no
1542 DEFAULT_wxUSE_DEBUG_FLAG=no
1543 DEFAULT_wxUSE_DEBUG_INFO=no
1544 DEFAULT_wxUSE_DEBUG_GDB=no
1545 DEFAULT_wxUSE_MEM_TRACING=no
1546 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1547 DEFAULT_wxUSE_DMALLOC=no
1548 DEFAULT_wxUSE_APPLE_IEEE=yes
1549
1550 DEFAULT_wxUSE_LOG=yes
1551 DEFAULT_wxUSE_LOGWINDOW=yes
1552 DEFAULT_wxUSE_LOGGUI=yes
1553
1554 DEFAULT_wxUSE_GUI=yes
1555
1556 DEFAULT_wxUSE_REGEX=yes
1557 DEFAULT_wxUSE_ZLIB=yes
1558 DEFAULT_wxUSE_LIBPNG=yes
1559 DEFAULT_wxUSE_LIBJPEG=yes
1560 DEFAULT_wxUSE_LIBTIFF=yes
1561 DEFAULT_wxUSE_ODBC=no
1562 DEFAULT_wxUSE_FREETYPE=no
1563 DEFAULT_wxUSE_OPENGL=no
1564
1565 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
1566 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
1567 DEFAULT_wxUSE_STD_IOSTREAM=no
1568 DEFAULT_wxUSE_CMDLINE_PARSER=yes
1569 DEFAULT_wxUSE_DATETIME=yes
1570 DEFAULT_wxUSE_TIMEDATE=no
1571 DEFAULT_wxUSE_TIMER=yes
1572 DEFAULT_wxUSE_STOPWATCH=yes
1573 DEFAULT_wxUSE_FILE=yes
1574 DEFAULT_wxUSE_FFILE=yes
1575 DEFAULT_wxUSE_TEXTFILE=yes
1576 DEFAULT_wxUSE_WAVE=no
1577 DEFAULT_wxUSE_INTL=yes
1578 DEFAULT_wxUSE_CONFIG=yes
1579 DEFAULT_wxUSE_FONTMAP=yes
1580 DEFAULT_wxUSE_STREAMS=yes
1581 DEFAULT_wxUSE_SOCKETS=yes
1582 DEFAULT_wxUSE_DIALUP_MANAGER=yes
1583 DEFAULT_wxUSE_SERIAL=yes
1584 DEFAULT_wxUSE_JOYSTICK=yes
1585 DEFAULT_wxUSE_DYNLIB_CLASS=yes
1586 DEFAULT_wxUSE_LONGLONG=yes
1587 DEFAULT_wxUSE_GEOMETRY=yes
1588
1589 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
1590 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
1591 DEFAULT_wxUSE_POSTSCRIPT=yes
1592
1593 DEFAULT_wxUSE_X_RESOURCES=no
1594 DEFAULT_wxUSE_CLIPBOARD=yes
1595 DEFAULT_wxUSE_TOOLTIPS=yes
1596 DEFAULT_wxUSE_DRAG_AND_DROP=yes
1597 DEFAULT_wxUSE_DRAGIMAGE=yes
1598 DEFAULT_wxUSE_SPLINES=yes
1599
1600 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
1601 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
1602 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
1603
1604 DEFAULT_wxUSE_PROLOGIO=yes
1605 DEFAULT_wxUSE_RESOURCES=yes
1606 DEFAULT_wxUSE_CONSTRAINTS=yes
1607 DEFAULT_wxUSE_IPC=yes
1608 DEFAULT_wxUSE_HELP=yes
1609 DEFAULT_wxUSE_MS_HTML_HELP=yes
1610 DEFAULT_wxUSE_WXHTML_HELP=yes
1611 DEFAULT_wxUSE_TREELAYOUT=yes
1612 DEFAULT_wxUSE_METAFILE=yes
1613 DEFAULT_wxUSE_MIMETYPE=yes
1614 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
1615
1616 DEFAULT_wxUSE_COMMONDLGS=yes
1617 DEFAULT_wxUSE_CHOICEDLG=yes
1618 DEFAULT_wxUSE_COLOURDLG=yes
1619 DEFAULT_wxUSE_DIRDLG=yes
1620 DEFAULT_wxUSE_FILEDLG=yes
1621 DEFAULT_wxUSE_FINDREPLDLG=yes
1622 DEFAULT_wxUSE_FONTDLG=yes
1623 DEFAULT_wxUSE_MSGDLG=yes
1624 DEFAULT_wxUSE_NUMBERDLG=yes
1625 DEFAULT_wxUSE_TEXTDLG=yes
1626 DEFAULT_wxUSE_SPLASH=yes
1627 DEFAULT_wxUSE_STARTUP_TIPS=yes
1628 DEFAULT_wxUSE_PROGRESSDLG=yes
1629 DEFAULT_wxUSE_WIZARDDLG=yes
1630
1631 DEFAULT_wxUSE_MENUS=yes
1632 DEFAULT_wxUSE_MINIFRAME=yes
1633 DEFAULT_wxUSE_HTML=yes
1634 DEFAULT_wxUSE_FILESYSTEM=yes
1635 DEFAULT_wxUSE_FS_INET=yes
1636 DEFAULT_wxUSE_FS_ZIP=yes
1637 DEFAULT_wxUSE_BUSYINFO=yes
1638 DEFAULT_wxUSE_ZIPSTREAM=yes
1639 DEFAULT_wxUSE_VALIDATORS=yes
1640
1641 DEFAULT_wxUSE_ACCEL=yes
1642 DEFAULT_wxUSE_BUTTON=yes
1643 DEFAULT_wxUSE_BMPBUTTON=yes
1644 DEFAULT_wxUSE_CALCTRL=yes
1645 DEFAULT_wxUSE_CARET=yes
1646 DEFAULT_wxUSE_CHECKBOX=yes
1647 DEFAULT_wxUSE_CHECKLST=yes
1648 DEFAULT_wxUSE_CHOICE=yes
1649 DEFAULT_wxUSE_COMBOBOX=yes
1650 DEFAULT_wxUSE_GAUGE=yes
1651 DEFAULT_wxUSE_GRID=yes
1652 DEFAULT_wxUSE_NEW_GRID=yes
1653 DEFAULT_wxUSE_IMAGLIST=yes
1654 DEFAULT_wxUSE_LISTBOX=yes
1655 DEFAULT_wxUSE_LISTCTRL=yes
1656 DEFAULT_wxUSE_NOTEBOOK=yes
1657 DEFAULT_wxUSE_PROPSHEET=yes
1658 DEFAULT_wxUSE_RADIOBOX=yes
1659 DEFAULT_wxUSE_RADIOBTN=yes
1660 DEFAULT_wxUSE_SASH=yes
1661 DEFAULT_wxUSE_SCROLLBAR=yes
1662 DEFAULT_wxUSE_SLIDER=yes
1663 DEFAULT_wxUSE_SPINBTN=yes
1664 DEFAULT_wxUSE_SPINCTRL=yes
1665 DEFAULT_wxUSE_SPLITTER=yes
1666 DEFAULT_wxUSE_STATBMP=yes
1667 DEFAULT_wxUSE_STATBOX=yes
1668 DEFAULT_wxUSE_STATLINE=yes
1669 DEFAULT_wxUSE_STATTEXT=yes
1670 DEFAULT_wxUSE_STATUSBAR=yes
1671 DEFAULT_wxUSE_TABDIALOG=no
1672 DEFAULT_wxUSE_TEXTCTRL=yes
1673 DEFAULT_wxUSE_TOGGLEBTN=yes
1674 DEFAULT_wxUSE_TOOLBAR=yes
1675 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
1676 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
1677 DEFAULT_wxUSE_TREECTRL=yes
1678 DEFAULT_wxUSE_POPUPWIN=yes
1679
1680 DEFAULT_wxUSE_UNICODE=no
1681 DEFAULT_wxUSE_WCSRTOMBS=no
1682
1683 DEFAULT_wxUSE_IMAGE=yes
1684 DEFAULT_wxUSE_GIF=yes
1685 DEFAULT_wxUSE_PCX=yes
1686 DEFAULT_wxUSE_PNM=yes
1687 DEFAULT_wxUSE_XPM=yes
1688fi
1689
1690
1691
1692for toolkit in `echo $ALL_TOOLKITS`; do
1693 LINE=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1694 if test "x$LINE" != x ; then
1695 has_toolkit_in_cache=1
1696 eval "DEFAULT_$LINE"
1697 eval "CACHE_$toolkit=1"
1698 fi
1699done
1700
1701
1702
1703 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1704echo "configure:1705: checking for --enable-gui" >&5
1705 no_cache=0
1706 # Check whether --enable-gui or --disable-gui was given.
1707if test "${enable_gui+set}" = set; then
1708 enableval="$enable_gui"
1709
1710 if test "$enableval" = yes; then
1711 ac_cv_use_gui='wxUSE_GUI=yes'
1712 else
1713 ac_cv_use_gui='wxUSE_GUI=no'
1714 fi
1715
1716else
1717
1718 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1719 if test "x$LINE" != x ; then
1720 eval "DEFAULT_$LINE"
1721 else
1722 no_cache=1
1723 fi
1724
1725 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1726
1727fi
1728
1729
1730 eval "$ac_cv_use_gui"
1731 if test "$no_cache" != 1; then
1732 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1733 fi
1734
1735 if test "$wxUSE_GUI" = yes; then
1736 echo "$ac_t""yes" 1>&6
1737 else
1738 echo "$ac_t""no" 1>&6
1739 fi
1740
1741
1742if test "$wxUSE_GUI" = "yes"; then
1743
1744
1745 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1746echo "configure:1747: checking for --enable-universal" >&5
1747 no_cache=0
1748 # Check whether --enable-universal or --disable-universal was given.
1749if test "${enable_universal+set}" = set; then
1750 enableval="$enable_universal"
1751
1752 if test "$enableval" = yes; then
1753 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
1754 else
1755 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
1756 fi
1757
1758else
1759
1760 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1761 if test "x$LINE" != x ; then
1762 eval "DEFAULT_$LINE"
1763 else
1764 no_cache=1
1765 fi
1766
1767 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1768
1769fi
1770
1771
1772 eval "$ac_cv_use_universal"
1773 if test "$no_cache" != 1; then
1774 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1775 fi
1776
1777 if test "$wxUSE_UNIVERSAL" = yes; then
1778 echo "$ac_t""yes" 1>&6
1779 else
1780 echo "$ac_t""no" 1>&6
1781 fi
1782
1783# Check whether --with-gtk or --without-gtk was given.
1784if test "${with_gtk+set}" = set; then
1785 withval="$with_gtk"
1786 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
1787fi
1788
1789# Check whether --with-motif or --without-motif was given.
1790if test "${with_motif+set}" = set; then
1791 withval="$with_motif"
1792 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
1793fi
1794
1795# Check whether --with-mac or --without-mac was given.
1796if test "${with_mac+set}" = set; then
1797 withval="$with_mac"
1798 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
1799fi
1800
1801# Check whether --with-wine or --without-wine was given.
1802if test "${with_wine+set}" = set; then
1803 withval="$with_wine"
1804 wxUSE_WINE="$withval" CACHE_WINE=1 TOOLKIT_GIVEN=1
1805fi
1806
1807# Check whether --with-cygwin or --without-cygwin was given.
1808if test "${with_cygwin+set}" = set; then
1809 withval="$with_cygwin"
1810 wxUSE_CYGWIN="$withval" CACHE_CYGWIN=1 TOOLKIT_GIVEN=1
1811fi
1812
1813# Check whether --with-mingw or --without-mingw was given.
1814if test "${with_mingw+set}" = set; then
1815 withval="$with_mingw"
1816 wxUSE_MINGW="$withval" CACHE_MINGW=1 TOOLKIT_GIVEN=1
1817fi
1818
1819# Check whether --with-pm or --without-pm was given.
1820if test "${with_pm+set}" = set; then
1821 withval="$with_pm"
1822 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
1823fi
1824
1825# Check whether --with-mgl or --without-mgl was given.
1826if test "${with_mgl+set}" = set; then
1827 withval="$with_mgl"
1828 wxUSE_MGL="$withval" CACHE_MGL=1 TOOLKIT_GIVEN=1
1829fi
1830
1831
1832# Check whether --enable-gtk2 or --disable-gtk2 was given.
1833if test "${enable_gtk2+set}" = set; then
1834 enableval="$enable_gtk2"
1835 wxUSE_GTK2=1
1836else
1837 wxUSE_GTK2=0
1838fi
1839
1840
1841
1842 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1843echo "configure:1844: checking for --with-libpng" >&5
1844 no_cache=0
1845 # Check whether --with-libpng or --without-libpng was given.
1846if test "${with_libpng+set}" = set; then
1847 withval="$with_libpng"
1848
1849 if test "$withval" = yes; then
1850 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
1851 elif test "$withval" = no; then
1852 ac_cv_use_libpng='wxUSE_LIBPNG=no'
1853 elif test "$withval" = sys; then
1854 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
1855 else
1856 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1857 fi
1858
1859else
1860
1861 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1862 if test "x$LINE" != x ; then
1863 eval "DEFAULT_$LINE"
1864 else
1865 no_cache=1
1866 fi
1867
1868 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1869
1870fi
1871
1872
1873 eval "$ac_cv_use_libpng"
1874 if test "$no_cache" != 1; then
1875 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1876 fi
1877
1878 if test "$wxUSE_LIBPNG" = yes; then
1879 echo "$ac_t""yes" 1>&6
1880 elif test "$wxUSE_LIBPNG" = no; then
1881 echo "$ac_t""no" 1>&6
1882 elif test "$wxUSE_LIBPNG" = sys; then
1883 echo "$ac_t""system version" 1>&6
1884 else
1885 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1886 fi
1887
1888
1889 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1890echo "configure:1891: checking for --with-libjpeg" >&5
1891 no_cache=0
1892 # Check whether --with-libjpeg or --without-libjpeg was given.
1893if test "${with_libjpeg+set}" = set; then
1894 withval="$with_libjpeg"
1895
1896 if test "$withval" = yes; then
1897 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
1898 elif test "$withval" = no; then
1899 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
1900 elif test "$withval" = sys; then
1901 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
1902 else
1903 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1904 fi
1905
1906else
1907
1908 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1909 if test "x$LINE" != x ; then
1910 eval "DEFAULT_$LINE"
1911 else
1912 no_cache=1
1913 fi
1914
1915 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1916
1917fi
1918
1919
1920 eval "$ac_cv_use_libjpeg"
1921 if test "$no_cache" != 1; then
1922 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1923 fi
1924
1925 if test "$wxUSE_LIBJPEG" = yes; then
1926 echo "$ac_t""yes" 1>&6
1927 elif test "$wxUSE_LIBJPEG" = no; then
1928 echo "$ac_t""no" 1>&6
1929 elif test "$wxUSE_LIBJPEG" = sys; then
1930 echo "$ac_t""system version" 1>&6
1931 else
1932 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1933 fi
1934
1935
1936 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1937echo "configure:1938: checking for --with-libtiff" >&5
1938 no_cache=0
1939 # Check whether --with-libtiff or --without-libtiff was given.
1940if test "${with_libtiff+set}" = set; then
1941 withval="$with_libtiff"
1942
1943 if test "$withval" = yes; then
1944 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
1945 elif test "$withval" = no; then
1946 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
1947 elif test "$withval" = sys; then
1948 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
1949 else
1950 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1951 fi
1952
1953else
1954
1955 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1956 if test "x$LINE" != x ; then
1957 eval "DEFAULT_$LINE"
1958 else
1959 no_cache=1
1960 fi
1961
1962 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1963
1964fi
1965
1966
1967 eval "$ac_cv_use_libtiff"
1968 if test "$no_cache" != 1; then
1969 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1970 fi
1971
1972 if test "$wxUSE_LIBTIFF" = yes; then
1973 echo "$ac_t""yes" 1>&6
1974 elif test "$wxUSE_LIBTIFF" = no; then
1975 echo "$ac_t""no" 1>&6
1976 elif test "$wxUSE_LIBTIFF" = sys; then
1977 echo "$ac_t""system version" 1>&6
1978 else
1979 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1980 fi
1981
1982
1983 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1984echo "configure:1985: checking for --with-freetype" >&5
1985 no_cache=0
1986 # Check whether --with-freetype or --without-freetype was given.
1987if test "${with_freetype+set}" = set; then
1988 withval="$with_freetype"
1989
1990 if test "$withval" = yes; then
1991 ac_cv_use_freetype='wxUSE_FREETYPE=yes'
1992 elif test "$withval" = no; then
1993 ac_cv_use_freetype='wxUSE_FREETYPE=no'
1994 elif test "$withval" = sys; then
1995 ac_cv_use_freetype='wxUSE_FREETYPE=sys'
1996 else
1997 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1998 fi
1999
2000else
2001
2002 LINE=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2003 if test "x$LINE" != x ; then
2004 eval "DEFAULT_$LINE"
2005 else
2006 no_cache=1
2007 fi
2008
2009 ac_cv_use_freetype='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2010
2011fi
2012
2013
2014 eval "$ac_cv_use_freetype"
2015 if test "$no_cache" != 1; then
2016 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2017 fi
2018
2019 if test "$wxUSE_FREETYPE" = yes; then
2020 echo "$ac_t""yes" 1>&6
2021 elif test "$wxUSE_FREETYPE" = no; then
2022 echo "$ac_t""no" 1>&6
2023 elif test "$wxUSE_FREETYPE" = sys; then
2024 echo "$ac_t""system version" 1>&6
2025 else
2026 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2027 fi
2028
2029
2030 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2031echo "configure:2032: checking for --with-opengl" >&5
2032 no_cache=0
2033 # Check whether --with-opengl or --without-opengl was given.
2034if test "${with_opengl+set}" = set; then
2035 withval="$with_opengl"
2036
2037 if test "$withval" = yes; then
2038 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2039 else
2040 ac_cv_use_opengl='wxUSE_OPENGL=no'
2041 fi
2042
2043else
2044
2045 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2046 if test "x$LINE" != x ; then
2047 eval "DEFAULT_$LINE"
2048 else
2049 no_cache=1
2050 fi
2051
2052 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2053
2054fi
2055
2056
2057 eval "$ac_cv_use_opengl"
2058 if test "$no_cache" != 1; then
2059 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2060 fi
2061
2062 if test "$wxUSE_OPENGL" = yes; then
2063 echo "$ac_t""yes" 1>&6
2064 else
2065 echo "$ac_t""no" 1>&6
2066 fi
2067
2068
2069fi
2070
2071
2072 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2073echo "configure:2074: checking for --with-dmalloc" >&5
2074 no_cache=0
2075 # Check whether --with-dmalloc or --without-dmalloc was given.
2076if test "${with_dmalloc+set}" = set; then
2077 withval="$with_dmalloc"
2078
2079 if test "$withval" = yes; then
2080 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2081 else
2082 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2083 fi
2084
2085else
2086
2087 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2088 if test "x$LINE" != x ; then
2089 eval "DEFAULT_$LINE"
2090 else
2091 no_cache=1
2092 fi
2093
2094 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2095
2096fi
2097
2098
2099 eval "$ac_cv_use_dmalloc"
2100 if test "$no_cache" != 1; then
2101 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2102 fi
2103
2104 if test "$wxUSE_DMALLOC" = yes; then
2105 echo "$ac_t""yes" 1>&6
2106 else
2107 echo "$ac_t""no" 1>&6
2108 fi
2109
2110
2111 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2112echo "configure:2113: checking for --with-regex" >&5
2113 no_cache=0
2114 # Check whether --with-regex or --without-regex was given.
2115if test "${with_regex+set}" = set; then
2116 withval="$with_regex"
2117
2118 if test "$withval" = yes; then
2119 ac_cv_use_regex='wxUSE_REGEX=yes'
2120 elif test "$withval" = no; then
2121 ac_cv_use_regex='wxUSE_REGEX=no'
2122 elif test "$withval" = sys; then
2123 ac_cv_use_regex='wxUSE_REGEX=sys'
2124 else
2125 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2126 fi
2127
2128else
2129
2130 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2131 if test "x$LINE" != x ; then
2132 eval "DEFAULT_$LINE"
2133 else
2134 no_cache=1
2135 fi
2136
2137 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2138
2139fi
2140
2141
2142 eval "$ac_cv_use_regex"
2143 if test "$no_cache" != 1; then
2144 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2145 fi
2146
2147 if test "$wxUSE_REGEX" = yes; then
2148 echo "$ac_t""yes" 1>&6
2149 elif test "$wxUSE_REGEX" = no; then
2150 echo "$ac_t""no" 1>&6
2151 elif test "$wxUSE_REGEX" = sys; then
2152 echo "$ac_t""system version" 1>&6
2153 else
2154 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2155 fi
2156
2157
2158 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2159echo "configure:2160: checking for --with-zlib" >&5
2160 no_cache=0
2161 # Check whether --with-zlib or --without-zlib was given.
2162if test "${with_zlib+set}" = set; then
2163 withval="$with_zlib"
2164
2165 if test "$withval" = yes; then
2166 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2167 elif test "$withval" = no; then
2168 ac_cv_use_zlib='wxUSE_ZLIB=no'
2169 elif test "$withval" = sys; then
2170 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2171 else
2172 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2173 fi
2174
2175else
2176
2177 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2178 if test "x$LINE" != x ; then
2179 eval "DEFAULT_$LINE"
2180 else
2181 no_cache=1
2182 fi
2183
2184 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2185
2186fi
2187
2188
2189 eval "$ac_cv_use_zlib"
2190 if test "$no_cache" != 1; then
2191 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2192 fi
2193
2194 if test "$wxUSE_ZLIB" = yes; then
2195 echo "$ac_t""yes" 1>&6
2196 elif test "$wxUSE_ZLIB" = no; then
2197 echo "$ac_t""no" 1>&6
2198 elif test "$wxUSE_ZLIB" = sys; then
2199 echo "$ac_t""system version" 1>&6
2200 else
2201 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2202 fi
2203
2204
2205 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2206echo "configure:2207: checking for --with-odbc" >&5
2207 no_cache=0
2208 # Check whether --with-odbc or --without-odbc was given.
2209if test "${with_odbc+set}" = set; then
2210 withval="$with_odbc"
2211
2212 if test "$withval" = yes; then
2213 ac_cv_use_odbc='wxUSE_ODBC=yes'
2214 else
2215 ac_cv_use_odbc='wxUSE_ODBC=no'
2216 fi
2217
2218else
2219
2220 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2221 if test "x$LINE" != x ; then
2222 eval "DEFAULT_$LINE"
2223 else
2224 no_cache=1
2225 fi
2226
2227 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2228
2229fi
2230
2231
2232 eval "$ac_cv_use_odbc"
2233 if test "$no_cache" != 1; then
2234 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2235 fi
2236
2237 if test "$wxUSE_ODBC" = yes; then
2238 echo "$ac_t""yes" 1>&6
2239 else
2240 echo "$ac_t""no" 1>&6
2241 fi
2242
2243
2244
2245
2246
2247 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2248echo "configure:2249: checking for --enable-shared" >&5
2249 no_cache=0
2250 # Check whether --enable-shared or --disable-shared was given.
2251if test "${enable_shared+set}" = set; then
2252 enableval="$enable_shared"
2253
2254 if test "$enableval" = yes; then
2255 ac_cv_use_shared='wxUSE_SHARED=yes'
2256 else
2257 ac_cv_use_shared='wxUSE_SHARED=no'
2258 fi
2259
2260else
2261
2262 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2263 if test "x$LINE" != x ; then
2264 eval "DEFAULT_$LINE"
2265 else
2266 no_cache=1
2267 fi
2268
2269 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2270
2271fi
2272
2273
2274 eval "$ac_cv_use_shared"
2275 if test "$no_cache" != 1; then
2276 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2277 fi
2278
2279 if test "$wxUSE_SHARED" = yes; then
2280 echo "$ac_t""yes" 1>&6
2281 else
2282 echo "$ac_t""no" 1>&6
2283 fi
2284
2285
2286 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2287echo "configure:2288: checking for --enable-soname" >&5
2288 no_cache=0
2289 # Check whether --enable-soname or --disable-soname was given.
2290if test "${enable_soname+set}" = set; then
2291 enableval="$enable_soname"
2292
2293 if test "$enableval" = yes; then
2294 ac_cv_use_soname='wxUSE_SONAME=yes'
2295 else
2296 ac_cv_use_soname='wxUSE_SONAME=no'
2297 fi
2298
2299else
2300
2301 LINE=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2302 if test "x$LINE" != x ; then
2303 eval "DEFAULT_$LINE"
2304 else
2305 no_cache=1
2306 fi
2307
2308 ac_cv_use_soname='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2309
2310fi
2311
2312
2313 eval "$ac_cv_use_soname"
2314 if test "$no_cache" != 1; then
2315 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2316 fi
2317
2318 if test "$wxUSE_SONAME" = yes; then
2319 echo "$ac_t""yes" 1>&6
2320 else
2321 echo "$ac_t""no" 1>&6
2322 fi
2323
2324
2325 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2326echo "configure:2327: checking for --enable-optimise" >&5
2327 no_cache=0
2328 # Check whether --enable-optimise or --disable-optimise was given.
2329if test "${enable_optimise+set}" = set; then
2330 enableval="$enable_optimise"
2331
2332 if test "$enableval" = yes; then
2333 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
2334 else
2335 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
2336 fi
2337
2338else
2339
2340 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2341 if test "x$LINE" != x ; then
2342 eval "DEFAULT_$LINE"
2343 else
2344 no_cache=1
2345 fi
2346
2347 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2348
2349fi
2350
2351
2352 eval "$ac_cv_use_optimise"
2353 if test "$no_cache" != 1; then
2354 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2355 fi
2356
2357 if test "$wxUSE_OPTIMISE" = yes; then
2358 echo "$ac_t""yes" 1>&6
2359 else
2360 echo "$ac_t""no" 1>&6
2361 fi
2362
2363
2364 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2365echo "configure:2366: checking for --enable-debug" >&5
2366 no_cache=0
2367 # Check whether --enable-debug or --disable-debug was given.
2368if test "${enable_debug+set}" = set; then
2369 enableval="$enable_debug"
2370
2371 if test "$enableval" = yes; then
2372 ac_cv_use_debug='wxUSE_DEBUG=yes'
2373 else
2374 ac_cv_use_debug='wxUSE_DEBUG=no'
2375 fi
2376
2377else
2378
2379 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2380 if test "x$LINE" != x ; then
2381 eval "DEFAULT_$LINE"
2382 else
2383 no_cache=1
2384 fi
2385
2386 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2387
2388fi
2389
2390
2391 eval "$ac_cv_use_debug"
2392 if test "$no_cache" != 1; then
2393 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2394 fi
2395
2396 if test "$wxUSE_DEBUG" = yes; then
2397 echo "$ac_t""yes" 1>&6
2398 else
2399 echo "$ac_t""no" 1>&6
2400 fi
2401
2402
2403if test "$wxUSE_DEBUG" = "yes"; then
2404 DEFAULT_wxUSE_DEBUG_FLAG=yes
2405 DEFAULT_wxUSE_DEBUG_INFO=yes
2406elif test "$wxUSE_DEBUG" = "no"; then
2407 DEFAULT_wxUSE_DEBUG_FLAG=no
2408 DEFAULT_wxUSE_DEBUG_INFO=no
2409fi
2410
2411
2412 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2413echo "configure:2414: checking for --enable-debug_flag" >&5
2414 no_cache=0
2415 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2416if test "${enable_debug_flag+set}" = set; then
2417 enableval="$enable_debug_flag"
2418
2419 if test "$enableval" = yes; then
2420 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
2421 else
2422 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
2423 fi
2424
2425else
2426
2427 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2428 if test "x$LINE" != x ; then
2429 eval "DEFAULT_$LINE"
2430 else
2431 no_cache=1
2432 fi
2433
2434 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2435
2436fi
2437
2438
2439 eval "$ac_cv_use_debug_flag"
2440 if test "$no_cache" != 1; then
2441 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2442 fi
2443
2444 if test "$wxUSE_DEBUG_FLAG" = yes; then
2445 echo "$ac_t""yes" 1>&6
2446 else
2447 echo "$ac_t""no" 1>&6
2448 fi
2449
2450
2451 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2452echo "configure:2453: checking for --enable-debug_info" >&5
2453 no_cache=0
2454 # Check whether --enable-debug_info or --disable-debug_info was given.
2455if test "${enable_debug_info+set}" = set; then
2456 enableval="$enable_debug_info"
2457
2458 if test "$enableval" = yes; then
2459 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
2460 else
2461 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
2462 fi
2463
2464else
2465
2466 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2467 if test "x$LINE" != x ; then
2468 eval "DEFAULT_$LINE"
2469 else
2470 no_cache=1
2471 fi
2472
2473 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2474
2475fi
2476
2477
2478 eval "$ac_cv_use_debug_info"
2479 if test "$no_cache" != 1; then
2480 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2481 fi
2482
2483 if test "$wxUSE_DEBUG_INFO" = yes; then
2484 echo "$ac_t""yes" 1>&6
2485 else
2486 echo "$ac_t""no" 1>&6
2487 fi
2488
2489
2490 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2491echo "configure:2492: checking for --enable-debug_gdb" >&5
2492 no_cache=0
2493 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2494if test "${enable_debug_gdb+set}" = set; then
2495 enableval="$enable_debug_gdb"
2496
2497 if test "$enableval" = yes; then
2498 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
2499 else
2500 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
2501 fi
2502
2503else
2504
2505 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2506 if test "x$LINE" != x ; then
2507 eval "DEFAULT_$LINE"
2508 else
2509 no_cache=1
2510 fi
2511
2512 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2513
2514fi
2515
2516
2517 eval "$ac_cv_use_debug_gdb"
2518 if test "$no_cache" != 1; then
2519 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2520 fi
2521
2522 if test "$wxUSE_DEBUG_GDB" = yes; then
2523 echo "$ac_t""yes" 1>&6
2524 else
2525 echo "$ac_t""no" 1>&6
2526 fi
2527
2528
2529 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2530echo "configure:2531: checking for --enable-debug_cntxt" >&5
2531 no_cache=0
2532 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2533if test "${enable_debug_cntxt+set}" = set; then
2534 enableval="$enable_debug_cntxt"
2535
2536 if test "$enableval" = yes; then
2537 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
2538 else
2539 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
2540 fi
2541
2542else
2543
2544 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2545 if test "x$LINE" != x ; then
2546 eval "DEFAULT_$LINE"
2547 else
2548 no_cache=1
2549 fi
2550
2551 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2552
2553fi
2554
2555
2556 eval "$ac_cv_use_debug_cntxt"
2557 if test "$no_cache" != 1; then
2558 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2559 fi
2560
2561 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2562 echo "$ac_t""yes" 1>&6
2563 else
2564 echo "$ac_t""no" 1>&6
2565 fi
2566
2567
2568 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2569echo "configure:2570: checking for --enable-mem_tracing" >&5
2570 no_cache=0
2571 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2572if test "${enable_mem_tracing+set}" = set; then
2573 enableval="$enable_mem_tracing"
2574
2575 if test "$enableval" = yes; then
2576 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
2577 else
2578 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
2579 fi
2580
2581else
2582
2583 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2584 if test "x$LINE" != x ; then
2585 eval "DEFAULT_$LINE"
2586 else
2587 no_cache=1
2588 fi
2589
2590 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2591
2592fi
2593
2594
2595 eval "$ac_cv_use_mem_tracing"
2596 if test "$no_cache" != 1; then
2597 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2598 fi
2599
2600 if test "$wxUSE_MEM_TRACING" = yes; then
2601 echo "$ac_t""yes" 1>&6
2602 else
2603 echo "$ac_t""no" 1>&6
2604 fi
2605
2606
2607 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2608echo "configure:2609: checking for --enable-profile" >&5
2609 no_cache=0
2610 # Check whether --enable-profile or --disable-profile was given.
2611if test "${enable_profile+set}" = set; then
2612 enableval="$enable_profile"
2613
2614 if test "$enableval" = yes; then
2615 ac_cv_use_profile='wxUSE_PROFILE=yes'
2616 else
2617 ac_cv_use_profile='wxUSE_PROFILE=no'
2618 fi
2619
2620else
2621
2622 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2623 if test "x$LINE" != x ; then
2624 eval "DEFAULT_$LINE"
2625 else
2626 no_cache=1
2627 fi
2628
2629 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2630
2631fi
2632
2633
2634 eval "$ac_cv_use_profile"
2635 if test "$no_cache" != 1; then
2636 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2637 fi
2638
2639 if test "$wxUSE_PROFILE" = yes; then
2640 echo "$ac_t""yes" 1>&6
2641 else
2642 echo "$ac_t""no" 1>&6
2643 fi
2644
2645
2646 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2647echo "configure:2648: checking for --enable-no_rtti" >&5
2648 no_cache=0
2649 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2650if test "${enable_no_rtti+set}" = set; then
2651 enableval="$enable_no_rtti"
2652
2653 if test "$enableval" = yes; then
2654 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
2655 else
2656 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
2657 fi
2658
2659else
2660
2661 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2662 if test "x$LINE" != x ; then
2663 eval "DEFAULT_$LINE"
2664 else
2665 no_cache=1
2666 fi
2667
2668 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2669
2670fi
2671
2672
2673 eval "$ac_cv_use_no_rtti"
2674 if test "$no_cache" != 1; then
2675 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2676 fi
2677
2678 if test "$wxUSE_NO_RTTI" = yes; then
2679 echo "$ac_t""yes" 1>&6
2680 else
2681 echo "$ac_t""no" 1>&6
2682 fi
2683
2684
2685 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2686echo "configure:2687: checking for --enable-no_exceptions" >&5
2687 no_cache=0
2688 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2689if test "${enable_no_exceptions+set}" = set; then
2690 enableval="$enable_no_exceptions"
2691
2692 if test "$enableval" = yes; then
2693 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
2694 else
2695 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
2696 fi
2697
2698else
2699
2700 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2701 if test "x$LINE" != x ; then
2702 eval "DEFAULT_$LINE"
2703 else
2704 no_cache=1
2705 fi
2706
2707 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2708
2709fi
2710
2711
2712 eval "$ac_cv_use_no_exceptions"
2713 if test "$no_cache" != 1; then
2714 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2715 fi
2716
2717 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2718 echo "$ac_t""yes" 1>&6
2719 else
2720 echo "$ac_t""no" 1>&6
2721 fi
2722
2723
2724 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2725echo "configure:2726: checking for --enable-permissive" >&5
2726 no_cache=0
2727 # Check whether --enable-permissive or --disable-permissive was given.
2728if test "${enable_permissive+set}" = set; then
2729 enableval="$enable_permissive"
2730
2731 if test "$enableval" = yes; then
2732 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
2733 else
2734 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
2735 fi
2736
2737else
2738
2739 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2740 if test "x$LINE" != x ; then
2741 eval "DEFAULT_$LINE"
2742 else
2743 no_cache=1
2744 fi
2745
2746 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2747
2748fi
2749
2750
2751 eval "$ac_cv_use_permissive"
2752 if test "$no_cache" != 1; then
2753 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2754 fi
2755
2756 if test "$wxUSE_PERMISSIVE" = yes; then
2757 echo "$ac_t""yes" 1>&6
2758 else
2759 echo "$ac_t""no" 1>&6
2760 fi
2761
2762
2763 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2764echo "configure:2765: checking for --enable-no_deps" >&5
2765 no_cache=0
2766 # Check whether --enable-no_deps or --disable-no_deps was given.
2767if test "${enable_no_deps+set}" = set; then
2768 enableval="$enable_no_deps"
2769
2770 if test "$enableval" = yes; then
2771 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
2772 else
2773 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
2774 fi
2775
2776else
2777
2778 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2779 if test "x$LINE" != x ; then
2780 eval "DEFAULT_$LINE"
2781 else
2782 no_cache=1
2783 fi
2784
2785 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2786
2787fi
2788
2789
2790 eval "$ac_cv_use_no_deps"
2791 if test "$no_cache" != 1; then
2792 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2793 fi
2794
2795 if test "$wxUSE_NO_DEPS" = yes; then
2796 echo "$ac_t""yes" 1>&6
2797 else
2798 echo "$ac_t""no" 1>&6
2799 fi
2800
2801
2802
2803 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2804echo "configure:2805: checking for --enable-compat20" >&5
2805 no_cache=0
2806 # Check whether --enable-compat20 or --disable-compat20 was given.
2807if test "${enable_compat20+set}" = set; then
2808 enableval="$enable_compat20"
2809
2810 if test "$enableval" = yes; then
2811 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
2812 else
2813 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
2814 fi
2815
2816else
2817
2818 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2819 if test "x$LINE" != x ; then
2820 eval "DEFAULT_$LINE"
2821 else
2822 no_cache=1
2823 fi
2824
2825 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2826
2827fi
2828
2829
2830 eval "$ac_cv_use_compat20"
2831 if test "$no_cache" != 1; then
2832 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2833 fi
2834
2835 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2836 echo "$ac_t""yes" 1>&6
2837 else
2838 echo "$ac_t""no" 1>&6
2839 fi
2840
2841
2842 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2843echo "configure:2844: checking for --enable-compat22" >&5
2844 no_cache=0
2845 # Check whether --enable-compat22 or --disable-compat22 was given.
2846if test "${enable_compat22+set}" = set; then
2847 enableval="$enable_compat22"
2848
2849 if test "$enableval" = yes; then
2850 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
2851 else
2852 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
2853 fi
2854
2855else
2856
2857 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2858 if test "x$LINE" != x ; then
2859 eval "DEFAULT_$LINE"
2860 else
2861 no_cache=1
2862 fi
2863
2864 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2865
2866fi
2867
2868
2869 eval "$ac_cv_use_compat22"
2870 if test "$no_cache" != 1; then
2871 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2872 fi
2873
2874 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2875 echo "$ac_t""yes" 1>&6
2876 else
2877 echo "$ac_t""no" 1>&6
2878 fi
2879
2880
2881
2882
2883 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2884echo "configure:2885: checking for --enable-intl" >&5
2885 no_cache=0
2886 # Check whether --enable-intl or --disable-intl was given.
2887if test "${enable_intl+set}" = set; then
2888 enableval="$enable_intl"
2889
2890 if test "$enableval" = yes; then
2891 ac_cv_use_intl='wxUSE_INTL=yes'
2892 else
2893 ac_cv_use_intl='wxUSE_INTL=no'
2894 fi
2895
2896else
2897
2898 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2899 if test "x$LINE" != x ; then
2900 eval "DEFAULT_$LINE"
2901 else
2902 no_cache=1
2903 fi
2904
2905 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2906
2907fi
2908
2909
2910 eval "$ac_cv_use_intl"
2911 if test "$no_cache" != 1; then
2912 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2913 fi
2914
2915 if test "$wxUSE_INTL" = yes; then
2916 echo "$ac_t""yes" 1>&6
2917 else
2918 echo "$ac_t""no" 1>&6
2919 fi
2920
2921
2922 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2923echo "configure:2924: checking for --enable-config" >&5
2924 no_cache=0
2925 # Check whether --enable-config or --disable-config was given.
2926if test "${enable_config+set}" = set; then
2927 enableval="$enable_config"
2928
2929 if test "$enableval" = yes; then
2930 ac_cv_use_config='wxUSE_CONFIG=yes'
2931 else
2932 ac_cv_use_config='wxUSE_CONFIG=no'
2933 fi
2934
2935else
2936
2937 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2938 if test "x$LINE" != x ; then
2939 eval "DEFAULT_$LINE"
2940 else
2941 no_cache=1
2942 fi
2943
2944 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2945
2946fi
2947
2948
2949 eval "$ac_cv_use_config"
2950 if test "$no_cache" != 1; then
2951 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2952 fi
2953
2954 if test "$wxUSE_CONFIG" = yes; then
2955 echo "$ac_t""yes" 1>&6
2956 else
2957 echo "$ac_t""no" 1>&6
2958 fi
2959
2960
2961
2962 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2963echo "configure:2964: checking for --enable-sockets" >&5
2964 no_cache=0
2965 # Check whether --enable-sockets or --disable-sockets was given.
2966if test "${enable_sockets+set}" = set; then
2967 enableval="$enable_sockets"
2968
2969 if test "$enableval" = yes; then
2970 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
2971 else
2972 ac_cv_use_sockets='wxUSE_SOCKETS=no'
2973 fi
2974
2975else
2976
2977 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2978 if test "x$LINE" != x ; then
2979 eval "DEFAULT_$LINE"
2980 else
2981 no_cache=1
2982 fi
2983
2984 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2985
2986fi
2987
2988
2989 eval "$ac_cv_use_sockets"
2990 if test "$no_cache" != 1; then
2991 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2992 fi
2993
2994 if test "$wxUSE_SOCKETS" = yes; then
2995 echo "$ac_t""yes" 1>&6
2996 else
2997 echo "$ac_t""no" 1>&6
2998 fi
2999
3000
3001
3002 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3003echo "configure:3004: checking for --enable-ipc" >&5
3004 no_cache=0
3005 # Check whether --enable-ipc or --disable-ipc was given.
3006if test "${enable_ipc+set}" = set; then
3007 enableval="$enable_ipc"
3008
3009 if test "$enableval" = yes; then
3010 ac_cv_use_ipc='wxUSE_IPC=yes'
3011 else
3012 ac_cv_use_ipc='wxUSE_IPC=no'
3013 fi
3014
3015else
3016
3017 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3018 if test "x$LINE" != x ; then
3019 eval "DEFAULT_$LINE"
3020 else
3021 no_cache=1
3022 fi
3023
3024 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3025
3026fi
3027
3028
3029 eval "$ac_cv_use_ipc"
3030 if test "$no_cache" != 1; then
3031 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3032 fi
3033
3034 if test "$wxUSE_IPC" = yes; then
3035 echo "$ac_t""yes" 1>&6
3036 else
3037 echo "$ac_t""no" 1>&6
3038 fi
3039
3040
3041
3042 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3043echo "configure:3044: checking for --enable-cmdline" >&5
3044 no_cache=0
3045 # Check whether --enable-cmdline or --disable-cmdline was given.
3046if test "${enable_cmdline+set}" = set; then
3047 enableval="$enable_cmdline"
3048
3049 if test "$enableval" = yes; then
3050 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
3051 else
3052 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
3053 fi
3054
3055else
3056
3057 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3058 if test "x$LINE" != x ; then
3059 eval "DEFAULT_$LINE"
3060 else
3061 no_cache=1
3062 fi
3063
3064 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3065
3066fi
3067
3068
3069 eval "$ac_cv_use_cmdline"
3070 if test "$no_cache" != 1; then
3071 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3072 fi
3073
3074 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3075 echo "$ac_t""yes" 1>&6
3076 else
3077 echo "$ac_t""no" 1>&6
3078 fi
3079
3080
3081 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3082echo "configure:3083: checking for --enable-datetime" >&5
3083 no_cache=0
3084 # Check whether --enable-datetime or --disable-datetime was given.
3085if test "${enable_datetime+set}" = set; then
3086 enableval="$enable_datetime"
3087
3088 if test "$enableval" = yes; then
3089 ac_cv_use_datetime='wxUSE_DATETIME=yes'
3090 else
3091 ac_cv_use_datetime='wxUSE_DATETIME=no'
3092 fi
3093
3094else
3095
3096 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3097 if test "x$LINE" != x ; then
3098 eval "DEFAULT_$LINE"
3099 else
3100 no_cache=1
3101 fi
3102
3103 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3104
3105fi
3106
3107
3108 eval "$ac_cv_use_datetime"
3109 if test "$no_cache" != 1; then
3110 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3111 fi
3112
3113 if test "$wxUSE_DATETIME" = yes; then
3114 echo "$ac_t""yes" 1>&6
3115 else
3116 echo "$ac_t""no" 1>&6
3117 fi
3118
3119
3120 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3121echo "configure:3122: checking for --enable-timedate" >&5
3122 no_cache=0
3123 # Check whether --enable-timedate or --disable-timedate was given.
3124if test "${enable_timedate+set}" = set; then
3125 enableval="$enable_timedate"
3126
3127 if test "$enableval" = yes; then
3128 ac_cv_use_timedate='wxUSE_TIMEDATE=yes'
3129 else
3130 ac_cv_use_timedate='wxUSE_TIMEDATE=no'
3131 fi
3132
3133else
3134
3135 LINE=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3136 if test "x$LINE" != x ; then
3137 eval "DEFAULT_$LINE"
3138 else
3139 no_cache=1
3140 fi
3141
3142 ac_cv_use_timedate='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3143
3144fi
3145
3146
3147 eval "$ac_cv_use_timedate"
3148 if test "$no_cache" != 1; then
3149 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3150 fi
3151
3152 if test "$wxUSE_TIMEDATE" = yes; then
3153 echo "$ac_t""yes" 1>&6
3154 else
3155 echo "$ac_t""no" 1>&6
3156 fi
3157
3158
3159 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3160echo "configure:3161: checking for --enable-stopwatch" >&5
3161 no_cache=0
3162 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3163if test "${enable_stopwatch+set}" = set; then
3164 enableval="$enable_stopwatch"
3165
3166 if test "$enableval" = yes; then
3167 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
3168 else
3169 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
3170 fi
3171
3172else
3173
3174 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3175 if test "x$LINE" != x ; then
3176 eval "DEFAULT_$LINE"
3177 else
3178 no_cache=1
3179 fi
3180
3181 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3182
3183fi
3184
3185
3186 eval "$ac_cv_use_stopwatch"
3187 if test "$no_cache" != 1; then
3188 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3189 fi
3190
3191 if test "$wxUSE_STOPWATCH" = yes; then
3192 echo "$ac_t""yes" 1>&6
3193 else
3194 echo "$ac_t""no" 1>&6
3195 fi
3196
3197
3198 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3199echo "configure:3200: checking for --enable-dialupman" >&5
3200 no_cache=0
3201 # Check whether --enable-dialupman or --disable-dialupman was given.
3202if test "${enable_dialupman+set}" = set; then
3203 enableval="$enable_dialupman"
3204
3205 if test "$enableval" = yes; then
3206 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
3207 else
3208 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
3209 fi
3210
3211else
3212
3213 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3214 if test "x$LINE" != x ; then
3215 eval "DEFAULT_$LINE"
3216 else
3217 no_cache=1
3218 fi
3219
3220 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3221
3222fi
3223
3224
3225 eval "$ac_cv_use_dialupman"
3226 if test "$no_cache" != 1; then
3227 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3228 fi
3229
3230 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3231 echo "$ac_t""yes" 1>&6
3232 else
3233 echo "$ac_t""no" 1>&6
3234 fi
3235
3236
3237 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3238echo "configure:3239: checking for --enable-apple_ieee" >&5
3239 no_cache=0
3240 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3241if test "${enable_apple_ieee+set}" = set; then
3242 enableval="$enable_apple_ieee"
3243
3244 if test "$enableval" = yes; then
3245 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
3246 else
3247 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
3248 fi
3249
3250else
3251
3252 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3253 if test "x$LINE" != x ; then
3254 eval "DEFAULT_$LINE"
3255 else
3256 no_cache=1
3257 fi
3258
3259 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3260
3261fi
3262
3263
3264 eval "$ac_cv_use_apple_ieee"
3265 if test "$no_cache" != 1; then
3266 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3267 fi
3268
3269 if test "$wxUSE_APPLE_IEEE" = yes; then
3270 echo "$ac_t""yes" 1>&6
3271 else
3272 echo "$ac_t""no" 1>&6
3273 fi
3274
3275
3276 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3277echo "configure:3278: checking for --enable-timer" >&5
3278 no_cache=0
3279 # Check whether --enable-timer or --disable-timer was given.
3280if test "${enable_timer+set}" = set; then
3281 enableval="$enable_timer"
3282
3283 if test "$enableval" = yes; then
3284 ac_cv_use_timer='wxUSE_TIMER=yes'
3285 else
3286 ac_cv_use_timer='wxUSE_TIMER=no'
3287 fi
3288
3289else
3290
3291 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3292 if test "x$LINE" != x ; then
3293 eval "DEFAULT_$LINE"
3294 else
3295 no_cache=1
3296 fi
3297
3298 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3299
3300fi
3301
3302
3303 eval "$ac_cv_use_timer"
3304 if test "$no_cache" != 1; then
3305 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3306 fi
3307
3308 if test "$wxUSE_TIMER" = yes; then
3309 echo "$ac_t""yes" 1>&6
3310 else
3311 echo "$ac_t""no" 1>&6
3312 fi
3313
3314
3315 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3316echo "configure:3317: checking for --enable-wave" >&5
3317 no_cache=0
3318 # Check whether --enable-wave or --disable-wave was given.
3319if test "${enable_wave+set}" = set; then
3320 enableval="$enable_wave"
3321
3322 if test "$enableval" = yes; then
3323 ac_cv_use_wave='wxUSE_WAVE=yes'
3324 else
3325 ac_cv_use_wave='wxUSE_WAVE=no'
3326 fi
3327
3328else
3329
3330 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3331 if test "x$LINE" != x ; then
3332 eval "DEFAULT_$LINE"
3333 else
3334 no_cache=1
3335 fi
3336
3337 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3338
3339fi
3340
3341
3342 eval "$ac_cv_use_wave"
3343 if test "$no_cache" != 1; then
3344 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3345 fi
3346
3347 if test "$wxUSE_WAVE" = yes; then
3348 echo "$ac_t""yes" 1>&6
3349 else
3350 echo "$ac_t""no" 1>&6
3351 fi
3352
3353
3354 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3355echo "configure:3356: checking for --enable-fraction" >&5
3356 no_cache=0
3357 # Check whether --enable-fraction or --disable-fraction was given.
3358if test "${enable_fraction+set}" = set; then
3359 enableval="$enable_fraction"
3360
3361 if test "$enableval" = yes; then
3362 ac_cv_use_fraction='wxUSE_FRACTION=yes'
3363 else
3364 ac_cv_use_fraction='wxUSE_FRACTION=no'
3365 fi
3366
3367else
3368
3369 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3370 if test "x$LINE" != x ; then
3371 eval "DEFAULT_$LINE"
3372 else
3373 no_cache=1
3374 fi
3375
3376 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3377
3378fi
3379
3380
3381 eval "$ac_cv_use_fraction"
3382 if test "$no_cache" != 1; then
3383 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3384 fi
3385
3386 if test "$wxUSE_FRACTION" = yes; then
3387 echo "$ac_t""yes" 1>&6
3388 else
3389 echo "$ac_t""no" 1>&6
3390 fi
3391
3392
3393 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3394echo "configure:3395: checking for --enable-dynlib" >&5
3395 no_cache=0
3396 # Check whether --enable-dynlib or --disable-dynlib was given.
3397if test "${enable_dynlib+set}" = set; then
3398 enableval="$enable_dynlib"
3399
3400 if test "$enableval" = yes; then
3401 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
3402 else
3403 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
3404 fi
3405
3406else
3407
3408 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3409 if test "x$LINE" != x ; then
3410 eval "DEFAULT_$LINE"
3411 else
3412 no_cache=1
3413 fi
3414
3415 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3416
3417fi
3418
3419
3420 eval "$ac_cv_use_dynlib"
3421 if test "$no_cache" != 1; then
3422 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3423 fi
3424
3425 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3426 echo "$ac_t""yes" 1>&6
3427 else
3428 echo "$ac_t""no" 1>&6
3429 fi
3430
3431
3432 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3433echo "configure:3434: checking for --enable-longlong" >&5
3434 no_cache=0
3435 # Check whether --enable-longlong or --disable-longlong was given.
3436if test "${enable_longlong+set}" = set; then
3437 enableval="$enable_longlong"
3438
3439 if test "$enableval" = yes; then
3440 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
3441 else
3442 ac_cv_use_longlong='wxUSE_LONGLONG=no'
3443 fi
3444
3445else
3446
3447 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3448 if test "x$LINE" != x ; then
3449 eval "DEFAULT_$LINE"
3450 else
3451 no_cache=1
3452 fi
3453
3454 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3455
3456fi
3457
3458
3459 eval "$ac_cv_use_longlong"
3460 if test "$no_cache" != 1; then
3461 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3462 fi
3463
3464 if test "$wxUSE_LONGLONG" = yes; then
3465 echo "$ac_t""yes" 1>&6
3466 else
3467 echo "$ac_t""no" 1>&6
3468 fi
3469
3470
3471 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3472echo "configure:3473: checking for --enable-geometry" >&5
3473 no_cache=0
3474 # Check whether --enable-geometry or --disable-geometry was given.
3475if test "${enable_geometry+set}" = set; then
3476 enableval="$enable_geometry"
3477
3478 if test "$enableval" = yes; then
3479 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
3480 else
3481 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
3482 fi
3483
3484else
3485
3486 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3487 if test "x$LINE" != x ; then
3488 eval "DEFAULT_$LINE"
3489 else
3490 no_cache=1
3491 fi
3492
3493 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3494
3495fi
3496
3497
3498 eval "$ac_cv_use_geometry"
3499 if test "$no_cache" != 1; then
3500 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3501 fi
3502
3503 if test "$wxUSE_GEOMETRY" = yes; then
3504 echo "$ac_t""yes" 1>&6
3505 else
3506 echo "$ac_t""no" 1>&6
3507 fi
3508
3509
3510 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3511echo "configure:3512: checking for --enable-log" >&5
3512 no_cache=0
3513 # Check whether --enable-log or --disable-log was given.
3514if test "${enable_log+set}" = set; then
3515 enableval="$enable_log"
3516
3517 if test "$enableval" = yes; then
3518 ac_cv_use_log='wxUSE_LOG=yes'
3519 else
3520 ac_cv_use_log='wxUSE_LOG=no'
3521 fi
3522
3523else
3524
3525 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3526 if test "x$LINE" != x ; then
3527 eval "DEFAULT_$LINE"
3528 else
3529 no_cache=1
3530 fi
3531
3532 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3533
3534fi
3535
3536
3537 eval "$ac_cv_use_log"
3538 if test "$no_cache" != 1; then
3539 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3540 fi
3541
3542 if test "$wxUSE_LOG" = yes; then
3543 echo "$ac_t""yes" 1>&6
3544 else
3545 echo "$ac_t""no" 1>&6
3546 fi
3547
3548
3549 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3550echo "configure:3551: checking for --enable-streams" >&5
3551 no_cache=0
3552 # Check whether --enable-streams or --disable-streams was given.
3553if test "${enable_streams+set}" = set; then
3554 enableval="$enable_streams"
3555
3556 if test "$enableval" = yes; then
3557 ac_cv_use_streams='wxUSE_STREAMS=yes'
3558 else
3559 ac_cv_use_streams='wxUSE_STREAMS=no'
3560 fi
3561
3562else
3563
3564 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3565 if test "x$LINE" != x ; then
3566 eval "DEFAULT_$LINE"
3567 else
3568 no_cache=1
3569 fi
3570
3571 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3572
3573fi
3574
3575
3576 eval "$ac_cv_use_streams"
3577 if test "$no_cache" != 1; then
3578 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3579 fi
3580
3581 if test "$wxUSE_STREAMS" = yes; then
3582 echo "$ac_t""yes" 1>&6
3583 else
3584 echo "$ac_t""no" 1>&6
3585 fi
3586
3587
3588 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3589echo "configure:3590: checking for --enable-file" >&5
3590 no_cache=0
3591 # Check whether --enable-file or --disable-file was given.
3592if test "${enable_file+set}" = set; then
3593 enableval="$enable_file"
3594
3595 if test "$enableval" = yes; then
3596 ac_cv_use_file='wxUSE_FILE=yes'
3597 else
3598 ac_cv_use_file='wxUSE_FILE=no'
3599 fi
3600
3601else
3602
3603 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3604 if test "x$LINE" != x ; then
3605 eval "DEFAULT_$LINE"
3606 else
3607 no_cache=1
3608 fi
3609
3610 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3611
3612fi
3613
3614
3615 eval "$ac_cv_use_file"
3616 if test "$no_cache" != 1; then
3617 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3618 fi
3619
3620 if test "$wxUSE_FILE" = yes; then
3621 echo "$ac_t""yes" 1>&6
3622 else
3623 echo "$ac_t""no" 1>&6
3624 fi
3625
3626
3627 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3628echo "configure:3629: checking for --enable-ffile" >&5
3629 no_cache=0
3630 # Check whether --enable-ffile or --disable-ffile was given.
3631if test "${enable_ffile+set}" = set; then
3632 enableval="$enable_ffile"
3633
3634 if test "$enableval" = yes; then
3635 ac_cv_use_ffile='wxUSE_FFILE=yes'
3636 else
3637 ac_cv_use_ffile='wxUSE_FFILE=no'
3638 fi
3639
3640else
3641
3642 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3643 if test "x$LINE" != x ; then
3644 eval "DEFAULT_$LINE"
3645 else
3646 no_cache=1
3647 fi
3648
3649 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3650
3651fi
3652
3653
3654 eval "$ac_cv_use_ffile"
3655 if test "$no_cache" != 1; then
3656 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3657 fi
3658
3659 if test "$wxUSE_FFILE" = yes; then
3660 echo "$ac_t""yes" 1>&6
3661 else
3662 echo "$ac_t""no" 1>&6
3663 fi
3664
3665
3666 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3667echo "configure:3668: checking for --enable-textfile" >&5
3668 no_cache=0
3669 # Check whether --enable-textfile or --disable-textfile was given.
3670if test "${enable_textfile+set}" = set; then
3671 enableval="$enable_textfile"
3672
3673 if test "$enableval" = yes; then
3674 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
3675 else
3676 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
3677 fi
3678
3679else
3680
3681 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3682 if test "x$LINE" != x ; then
3683 eval "DEFAULT_$LINE"
3684 else
3685 no_cache=1
3686 fi
3687
3688 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3689
3690fi
3691
3692
3693 eval "$ac_cv_use_textfile"
3694 if test "$no_cache" != 1; then
3695 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3696 fi
3697
3698 if test "$wxUSE_TEXTFILE" = yes; then
3699 echo "$ac_t""yes" 1>&6
3700 else
3701 echo "$ac_t""no" 1>&6
3702 fi
3703
3704
3705 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3706echo "configure:3707: checking for --enable-fontmap" >&5
3707 no_cache=0
3708 # Check whether --enable-fontmap or --disable-fontmap was given.
3709if test "${enable_fontmap+set}" = set; then
3710 enableval="$enable_fontmap"
3711
3712 if test "$enableval" = yes; then
3713 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
3714 else
3715 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
3716 fi
3717
3718else
3719
3720 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3721 if test "x$LINE" != x ; then
3722 eval "DEFAULT_$LINE"
3723 else
3724 no_cache=1
3725 fi
3726
3727 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3728
3729fi
3730
3731
3732 eval "$ac_cv_use_fontmap"
3733 if test "$no_cache" != 1; then
3734 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3735 fi
3736
3737 if test "$wxUSE_FONTMAP" = yes; then
3738 echo "$ac_t""yes" 1>&6
3739 else
3740 echo "$ac_t""no" 1>&6
3741 fi
3742
3743
3744 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3745echo "configure:3746: checking for --enable-unicode" >&5
3746 no_cache=0
3747 # Check whether --enable-unicode or --disable-unicode was given.
3748if test "${enable_unicode+set}" = set; then
3749 enableval="$enable_unicode"
3750
3751 if test "$enableval" = yes; then
3752 ac_cv_use_unicode='wxUSE_UNICODE=yes'
3753 else
3754 ac_cv_use_unicode='wxUSE_UNICODE=no'
3755 fi
3756
3757else
3758
3759 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3760 if test "x$LINE" != x ; then
3761 eval "DEFAULT_$LINE"
3762 else
3763 no_cache=1
3764 fi
3765
3766 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3767
3768fi
3769
3770
3771 eval "$ac_cv_use_unicode"
3772 if test "$no_cache" != 1; then
3773 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3774 fi
3775
3776 if test "$wxUSE_UNICODE" = yes; then
3777 echo "$ac_t""yes" 1>&6
3778 else
3779 echo "$ac_t""no" 1>&6
3780 fi
3781
3782
3783 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3784echo "configure:3785: checking for --enable-wxprintfv" >&5
3785 no_cache=0
3786 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3787if test "${enable_wxprintfv+set}" = set; then
3788 enableval="$enable_wxprintfv"
3789
3790 if test "$enableval" = yes; then
3791 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
3792 else
3793 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
3794 fi
3795
3796else
3797
3798 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3799 if test "x$LINE" != x ; then
3800 eval "DEFAULT_$LINE"
3801 else
3802 no_cache=1
3803 fi
3804
3805 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3806
3807fi
3808
3809
3810 eval "$ac_cv_use_wxprintfv"
3811 if test "$no_cache" != 1; then
3812 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3813 fi
3814
3815 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3816 echo "$ac_t""yes" 1>&6
3817 else
3818 echo "$ac_t""no" 1>&6
3819 fi
3820
3821
3822 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3823echo "configure:3824: checking for --enable-std_iostreams" >&5
3824 no_cache=0
3825 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3826if test "${enable_std_iostreams+set}" = set; then
3827 enableval="$enable_std_iostreams"
3828
3829 if test "$enableval" = yes; then
3830 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
3831 else
3832 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
3833 fi
3834
3835else
3836
3837 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3838 if test "x$LINE" != x ; then
3839 eval "DEFAULT_$LINE"
3840 else
3841 no_cache=1
3842 fi
3843
3844 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3845
3846fi
3847
3848
3849 eval "$ac_cv_use_std_iostreams"
3850 if test "$no_cache" != 1; then
3851 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3852 fi
3853
3854 if test "$wxUSE_STD_IOSTREAM" = yes; then
3855 echo "$ac_t""yes" 1>&6
3856 else
3857 echo "$ac_t""no" 1>&6
3858 fi
3859
3860
3861 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3862echo "configure:3863: checking for --enable-filesystem" >&5
3863 no_cache=0
3864 # Check whether --enable-filesystem or --disable-filesystem was given.
3865if test "${enable_filesystem+set}" = set; then
3866 enableval="$enable_filesystem"
3867
3868 if test "$enableval" = yes; then
3869 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
3870 else
3871 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
3872 fi
3873
3874else
3875
3876 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3877 if test "x$LINE" != x ; then
3878 eval "DEFAULT_$LINE"
3879 else
3880 no_cache=1
3881 fi
3882
3883 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3884
3885fi
3886
3887
3888 eval "$ac_cv_use_filesystem"
3889 if test "$no_cache" != 1; then
3890 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3891 fi
3892
3893 if test "$wxUSE_FILESYSTEM" = yes; then
3894 echo "$ac_t""yes" 1>&6
3895 else
3896 echo "$ac_t""no" 1>&6
3897 fi
3898
3899
3900 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3901echo "configure:3902: checking for --enable-fs_inet" >&5
3902 no_cache=0
3903 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3904if test "${enable_fs_inet+set}" = set; then
3905 enableval="$enable_fs_inet"
3906
3907 if test "$enableval" = yes; then
3908 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
3909 else
3910 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
3911 fi
3912
3913else
3914
3915 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3916 if test "x$LINE" != x ; then
3917 eval "DEFAULT_$LINE"
3918 else
3919 no_cache=1
3920 fi
3921
3922 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3923
3924fi
3925
3926
3927 eval "$ac_cv_use_fs_inet"
3928 if test "$no_cache" != 1; then
3929 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3930 fi
3931
3932 if test "$wxUSE_FS_INET" = yes; then
3933 echo "$ac_t""yes" 1>&6
3934 else
3935 echo "$ac_t""no" 1>&6
3936 fi
3937
3938
3939 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3940echo "configure:3941: checking for --enable-fs_zip" >&5
3941 no_cache=0
3942 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3943if test "${enable_fs_zip+set}" = set; then
3944 enableval="$enable_fs_zip"
3945
3946 if test "$enableval" = yes; then
3947 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
3948 else
3949 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
3950 fi
3951
3952else
3953
3954 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3955 if test "x$LINE" != x ; then
3956 eval "DEFAULT_$LINE"
3957 else
3958 no_cache=1
3959 fi
3960
3961 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3962
3963fi
3964
3965
3966 eval "$ac_cv_use_fs_zip"
3967 if test "$no_cache" != 1; then
3968 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3969 fi
3970
3971 if test "$wxUSE_FS_ZIP" = yes; then
3972 echo "$ac_t""yes" 1>&6
3973 else
3974 echo "$ac_t""no" 1>&6
3975 fi
3976
3977
3978 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
3979echo "configure:3980: checking for --enable-zipstream" >&5
3980 no_cache=0
3981 # Check whether --enable-zipstream or --disable-zipstream was given.
3982if test "${enable_zipstream+set}" = set; then
3983 enableval="$enable_zipstream"
3984
3985 if test "$enableval" = yes; then
3986 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
3987 else
3988 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
3989 fi
3990
3991else
3992
3993 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3994 if test "x$LINE" != x ; then
3995 eval "DEFAULT_$LINE"
3996 else
3997 no_cache=1
3998 fi
3999
4000 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4001
4002fi
4003
4004
4005 eval "$ac_cv_use_zipstream"
4006 if test "$no_cache" != 1; then
4007 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4008 fi
4009
4010 if test "$wxUSE_ZIPSTREAM" = yes; then
4011 echo "$ac_t""yes" 1>&6
4012 else
4013 echo "$ac_t""no" 1>&6
4014 fi
4015
4016
4017
4018 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4019echo "configure:4020: checking for --enable-catch_segvs" >&5
4020 no_cache=0
4021 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4022if test "${enable_catch_segvs+set}" = set; then
4023 enableval="$enable_catch_segvs"
4024
4025 if test "$enableval" = yes; then
4026 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4027 else
4028 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4029 fi
4030
4031else
4032
4033 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4034 if test "x$LINE" != x ; then
4035 eval "DEFAULT_$LINE"
4036 else
4037 no_cache=1
4038 fi
4039
4040 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4041
4042fi
4043
4044
4045 eval "$ac_cv_use_catch_segvs"
4046 if test "$no_cache" != 1; then
4047 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4048 fi
4049
4050 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4051 echo "$ac_t""yes" 1>&6
4052 else
4053 echo "$ac_t""no" 1>&6
4054 fi
4055
4056
4057 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4058echo "configure:4059: checking for --enable-snglinst" >&5
4059 no_cache=0
4060 # Check whether --enable-snglinst or --disable-snglinst was given.
4061if test "${enable_snglinst+set}" = set; then
4062 enableval="$enable_snglinst"
4063
4064 if test "$enableval" = yes; then
4065 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
4066 else
4067 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
4068 fi
4069
4070else
4071
4072 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4073 if test "x$LINE" != x ; then
4074 eval "DEFAULT_$LINE"
4075 else
4076 no_cache=1
4077 fi
4078
4079 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4080
4081fi
4082
4083
4084 eval "$ac_cv_use_snglinst"
4085 if test "$no_cache" != 1; then
4086 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4087 fi
4088
4089 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4090 echo "$ac_t""yes" 1>&6
4091 else
4092 echo "$ac_t""no" 1>&6
4093 fi
4094
4095
4096
4097 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4098echo "configure:4099: checking for --enable-mimetype" >&5
4099 no_cache=0
4100 # Check whether --enable-mimetype or --disable-mimetype was given.
4101if test "${enable_mimetype+set}" = set; then
4102 enableval="$enable_mimetype"
4103
4104 if test "$enableval" = yes; then
4105 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
4106 else
4107 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
4108 fi
4109
4110else
4111
4112 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4113 if test "x$LINE" != x ; then
4114 eval "DEFAULT_$LINE"
4115 else
4116 no_cache=1
4117 fi
4118
4119 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4120
4121fi
4122
4123
4124 eval "$ac_cv_use_mimetype"
4125 if test "$no_cache" != 1; then
4126 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4127 fi
4128
4129 if test "$wxUSE_MIMETYPE" = yes; then
4130 echo "$ac_t""yes" 1>&6
4131 else
4132 echo "$ac_t""no" 1>&6
4133 fi
4134
4135
4136 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4137echo "configure:4138: checking for --enable-system_options" >&5
4138 no_cache=0
4139 # Check whether --enable-system_options or --disable-system_options was given.
4140if test "${enable_system_options+set}" = set; then
4141 enableval="$enable_system_options"
4142
4143 if test "$enableval" = yes; then
4144 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
4145 else
4146 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
4147 fi
4148
4149else
4150
4151 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4152 if test "x$LINE" != x ; then
4153 eval "DEFAULT_$LINE"
4154 else
4155 no_cache=1
4156 fi
4157
4158 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4159
4160fi
4161
4162
4163 eval "$ac_cv_use_system_options"
4164 if test "$no_cache" != 1; then
4165 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4166 fi
4167
4168 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4169 echo "$ac_t""yes" 1>&6
4170 else
4171 echo "$ac_t""no" 1>&6
4172 fi
4173
4174
4175
4176
4177 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4178echo "configure:4179: checking for --enable-threads" >&5
4179 no_cache=0
4180 # Check whether --enable-threads or --disable-threads was given.
4181if test "${enable_threads+set}" = set; then
4182 enableval="$enable_threads"
4183
4184 if test "$enableval" = yes; then
4185 ac_cv_use_threads='wxUSE_THREADS=yes'
4186 else
4187 ac_cv_use_threads='wxUSE_THREADS=no'
4188 fi
4189
4190else
4191
4192 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4193 if test "x$LINE" != x ; then
4194 eval "DEFAULT_$LINE"
4195 else
4196 no_cache=1
4197 fi
4198
4199 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4200
4201fi
4202
4203
4204 eval "$ac_cv_use_threads"
4205 if test "$no_cache" != 1; then
4206 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4207 fi
4208
4209 if test "$wxUSE_THREADS" = yes; then
4210 echo "$ac_t""yes" 1>&6
4211 else
4212 echo "$ac_t""no" 1>&6
4213 fi
4214
4215
4216 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4217echo "configure:4218: checking for --enable-serial" >&5
4218 no_cache=0
4219 # Check whether --enable-serial or --disable-serial was given.
4220if test "${enable_serial+set}" = set; then
4221 enableval="$enable_serial"
4222
4223 if test "$enableval" = yes; then
4224 ac_cv_use_serial='wxUSE_SERIAL=yes'
4225 else
4226 ac_cv_use_serial='wxUSE_SERIAL=no'
4227 fi
4228
4229else
4230
4231 LINE=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4232 if test "x$LINE" != x ; then
4233 eval "DEFAULT_$LINE"
4234 else
4235 no_cache=1
4236 fi
4237
4238 ac_cv_use_serial='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4239
4240fi
4241
4242
4243 eval "$ac_cv_use_serial"
4244 if test "$no_cache" != 1; then
4245 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4246 fi
4247
4248 if test "$wxUSE_SERIAL" = yes; then
4249 echo "$ac_t""yes" 1>&6
4250 else
4251 echo "$ac_t""no" 1>&6
4252 fi
4253
4254
4255if test "$wxUSE_GUI" = "yes"; then
4256
4257
4258
4259 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4260echo "configure:4261: checking for --enable-docview" >&5
4261 no_cache=0
4262 # Check whether --enable-docview or --disable-docview was given.
4263if test "${enable_docview+set}" = set; then
4264 enableval="$enable_docview"
4265
4266 if test "$enableval" = yes; then
4267 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4268 else
4269 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4270 fi
4271
4272else
4273
4274 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4275 if test "x$LINE" != x ; then
4276 eval "DEFAULT_$LINE"
4277 else
4278 no_cache=1
4279 fi
4280
4281 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4282
4283fi
4284
4285
4286 eval "$ac_cv_use_docview"
4287 if test "$no_cache" != 1; then
4288 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4289 fi
4290
4291 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4292 echo "$ac_t""yes" 1>&6
4293 else
4294 echo "$ac_t""no" 1>&6
4295 fi
4296
4297
4298 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4299echo "configure:4300: checking for --enable-help" >&5
4300 no_cache=0
4301 # Check whether --enable-help or --disable-help was given.
4302if test "${enable_help+set}" = set; then
4303 enableval="$enable_help"
4304
4305 if test "$enableval" = yes; then
4306 ac_cv_use_help='wxUSE_HELP=yes'
4307 else
4308 ac_cv_use_help='wxUSE_HELP=no'
4309 fi
4310
4311else
4312
4313 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4314 if test "x$LINE" != x ; then
4315 eval "DEFAULT_$LINE"
4316 else
4317 no_cache=1
4318 fi
4319
4320 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4321
4322fi
4323
4324
4325 eval "$ac_cv_use_help"
4326 if test "$no_cache" != 1; then
4327 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4328 fi
4329
4330 if test "$wxUSE_HELP" = yes; then
4331 echo "$ac_t""yes" 1>&6
4332 else
4333 echo "$ac_t""no" 1>&6
4334 fi
4335
4336
4337 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4338echo "configure:4339: checking for --enable-mshtmlhelp" >&5
4339 no_cache=0
4340 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4341if test "${enable_mshtmlhelp+set}" = set; then
4342 enableval="$enable_mshtmlhelp"
4343
4344 if test "$enableval" = yes; then
4345 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
4346 else
4347 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
4348 fi
4349
4350else
4351
4352 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4353 if test "x$LINE" != x ; then
4354 eval "DEFAULT_$LINE"
4355 else
4356 no_cache=1
4357 fi
4358
4359 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4360
4361fi
4362
4363
4364 eval "$ac_cv_use_mshtmlhelp"
4365 if test "$no_cache" != 1; then
4366 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4367 fi
4368
4369 if test "$wxUSE_MS_HTML_HELP" = yes; then
4370 echo "$ac_t""yes" 1>&6
4371 else
4372 echo "$ac_t""no" 1>&6
4373 fi
4374
4375
4376 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4377echo "configure:4378: checking for --enable-html" >&5
4378 no_cache=0
4379 # Check whether --enable-html or --disable-html was given.
4380if test "${enable_html+set}" = set; then
4381 enableval="$enable_html"
4382
4383 if test "$enableval" = yes; then
4384 ac_cv_use_html='wxUSE_HTML=yes'
4385 else
4386 ac_cv_use_html='wxUSE_HTML=no'
4387 fi
4388
4389else
4390
4391 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4392 if test "x$LINE" != x ; then
4393 eval "DEFAULT_$LINE"
4394 else
4395 no_cache=1
4396 fi
4397
4398 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4399
4400fi
4401
4402
4403 eval "$ac_cv_use_html"
4404 if test "$no_cache" != 1; then
4405 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4406 fi
4407
4408 if test "$wxUSE_HTML" = yes; then
4409 echo "$ac_t""yes" 1>&6
4410 else
4411 echo "$ac_t""no" 1>&6
4412 fi
4413
4414
4415 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4416echo "configure:4417: checking for --enable-htmlhelp" >&5
4417 no_cache=0
4418 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4419if test "${enable_htmlhelp+set}" = set; then
4420 enableval="$enable_htmlhelp"
4421
4422 if test "$enableval" = yes; then
4423 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
4424 else
4425 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
4426 fi
4427
4428else
4429
4430 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4431 if test "x$LINE" != x ; then
4432 eval "DEFAULT_$LINE"
4433 else
4434 no_cache=1
4435 fi
4436
4437 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4438
4439fi
4440
4441
4442 eval "$ac_cv_use_htmlhelp"
4443 if test "$no_cache" != 1; then
4444 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4445 fi
4446
4447 if test "$wxUSE_WXHTML_HELP" = yes; then
4448 echo "$ac_t""yes" 1>&6
4449 else
4450 echo "$ac_t""no" 1>&6
4451 fi
4452
4453
4454 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4455echo "configure:4456: checking for --enable-constraints" >&5
4456 no_cache=0
4457 # Check whether --enable-constraints or --disable-constraints was given.
4458if test "${enable_constraints+set}" = set; then
4459 enableval="$enable_constraints"
4460
4461 if test "$enableval" = yes; then
4462 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
4463 else
4464 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
4465 fi
4466
4467else
4468
4469 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4470 if test "x$LINE" != x ; then
4471 eval "DEFAULT_$LINE"
4472 else
4473 no_cache=1
4474 fi
4475
4476 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4477
4478fi
4479
4480
4481 eval "$ac_cv_use_constraints"
4482 if test "$no_cache" != 1; then
4483 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4484 fi
4485
4486 if test "$wxUSE_CONSTRAINTS" = yes; then
4487 echo "$ac_t""yes" 1>&6
4488 else
4489 echo "$ac_t""no" 1>&6
4490 fi
4491
4492
4493 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4494echo "configure:4495: checking for --enable-printarch" >&5
4495 no_cache=0
4496 # Check whether --enable-printarch or --disable-printarch was given.
4497if test "${enable_printarch+set}" = set; then
4498 enableval="$enable_printarch"
4499
4500 if test "$enableval" = yes; then
4501 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
4502 else
4503 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
4504 fi
4505
4506else
4507
4508 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4509 if test "x$LINE" != x ; then
4510 eval "DEFAULT_$LINE"
4511 else
4512 no_cache=1
4513 fi
4514
4515 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4516
4517fi
4518
4519
4520 eval "$ac_cv_use_printarch"
4521 if test "$no_cache" != 1; then
4522 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4523 fi
4524
4525 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4526 echo "$ac_t""yes" 1>&6
4527 else
4528 echo "$ac_t""no" 1>&6
4529 fi
4530
4531
4532 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4533echo "configure:4534: checking for --enable-mdi" >&5
4534 no_cache=0
4535 # Check whether --enable-mdi or --disable-mdi was given.
4536if test "${enable_mdi+set}" = set; then
4537 enableval="$enable_mdi"
4538
4539 if test "$enableval" = yes; then
4540 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
4541 else
4542 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
4543 fi
4544
4545else
4546
4547 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4548 if test "x$LINE" != x ; then
4549 eval "DEFAULT_$LINE"
4550 else
4551 no_cache=1
4552 fi
4553
4554 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4555
4556fi
4557
4558
4559 eval "$ac_cv_use_mdi"
4560 if test "$no_cache" != 1; then
4561 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4562 fi
4563
4564 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4565 echo "$ac_t""yes" 1>&6
4566 else
4567 echo "$ac_t""no" 1>&6
4568 fi
4569
4570
4571 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4572echo "configure:4573: checking for --enable-loggui" >&5
4573 no_cache=0
4574 # Check whether --enable-loggui or --disable-loggui was given.
4575if test "${enable_loggui+set}" = set; then
4576 enableval="$enable_loggui"
4577
4578 if test "$enableval" = yes; then
4579 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
4580 else
4581 ac_cv_use_loggui='wxUSE_LOGGUI=no'
4582 fi
4583
4584else
4585
4586 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4587 if test "x$LINE" != x ; then
4588 eval "DEFAULT_$LINE"
4589 else
4590 no_cache=1
4591 fi
4592
4593 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4594
4595fi
4596
4597
4598 eval "$ac_cv_use_loggui"
4599 if test "$no_cache" != 1; then
4600 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4601 fi
4602
4603 if test "$wxUSE_LOGGUI" = yes; then
4604 echo "$ac_t""yes" 1>&6
4605 else
4606 echo "$ac_t""no" 1>&6
4607 fi
4608
4609
4610 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4611echo "configure:4612: checking for --enable-logwin" >&5
4612 no_cache=0
4613 # Check whether --enable-logwin or --disable-logwin was given.
4614if test "${enable_logwin+set}" = set; then
4615 enableval="$enable_logwin"
4616
4617 if test "$enableval" = yes; then
4618 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
4619 else
4620 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
4621 fi
4622
4623else
4624
4625 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4626 if test "x$LINE" != x ; then
4627 eval "DEFAULT_$LINE"
4628 else
4629 no_cache=1
4630 fi
4631
4632 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4633
4634fi
4635
4636
4637 eval "$ac_cv_use_logwin"
4638 if test "$no_cache" != 1; then
4639 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4640 fi
4641
4642 if test "$wxUSE_LOGWINDOW" = yes; then
4643 echo "$ac_t""yes" 1>&6
4644 else
4645 echo "$ac_t""no" 1>&6
4646 fi
4647
4648
4649
4650 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4651echo "configure:4652: checking for --enable-postscript" >&5
4652 no_cache=0
4653 # Check whether --enable-postscript or --disable-postscript was given.
4654if test "${enable_postscript+set}" = set; then
4655 enableval="$enable_postscript"
4656
4657 if test "$enableval" = yes; then
4658 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
4659 else
4660 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
4661 fi
4662
4663else
4664
4665 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4666 if test "x$LINE" != x ; then
4667 eval "DEFAULT_$LINE"
4668 else
4669 no_cache=1
4670 fi
4671
4672 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4673
4674fi
4675
4676
4677 eval "$ac_cv_use_postscript"
4678 if test "$no_cache" != 1; then
4679 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4680 fi
4681
4682 if test "$wxUSE_POSTSCRIPT" = yes; then
4683 echo "$ac_t""yes" 1>&6
4684 else
4685 echo "$ac_t""no" 1>&6
4686 fi
4687
4688
4689
4690
4691
4692 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4693echo "configure:4694: checking for --enable-prologio" >&5
4694 no_cache=0
4695 # Check whether --enable-prologio or --disable-prologio was given.
4696if test "${enable_prologio+set}" = set; then
4697 enableval="$enable_prologio"
4698
4699 if test "$enableval" = yes; then
4700 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
4701 else
4702 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
4703 fi
4704
4705else
4706
4707 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4708 if test "x$LINE" != x ; then
4709 eval "DEFAULT_$LINE"
4710 else
4711 no_cache=1
4712 fi
4713
4714 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4715
4716fi
4717
4718
4719 eval "$ac_cv_use_prologio"
4720 if test "$no_cache" != 1; then
4721 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4722 fi
4723
4724 if test "$wxUSE_PROLOGIO" = yes; then
4725 echo "$ac_t""yes" 1>&6
4726 else
4727 echo "$ac_t""no" 1>&6
4728 fi
4729
4730
4731 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4732echo "configure:4733: checking for --enable-resources" >&5
4733 no_cache=0
4734 # Check whether --enable-resources or --disable-resources was given.
4735if test "${enable_resources+set}" = set; then
4736 enableval="$enable_resources"
4737
4738 if test "$enableval" = yes; then
4739 ac_cv_use_resources='wxUSE_RESOURCES=yes'
4740 else
4741 ac_cv_use_resources='wxUSE_RESOURCES=no'
4742 fi
4743
4744else
4745
4746 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4747 if test "x$LINE" != x ; then
4748 eval "DEFAULT_$LINE"
4749 else
4750 no_cache=1
4751 fi
4752
4753 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4754
4755fi
4756
4757
4758 eval "$ac_cv_use_resources"
4759 if test "$no_cache" != 1; then
4760 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4761 fi
4762
4763 if test "$wxUSE_RESOURCES" = yes; then
4764 echo "$ac_t""yes" 1>&6
4765 else
4766 echo "$ac_t""no" 1>&6
4767 fi
4768
4769
4770
4771 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4772echo "configure:4773: checking for --enable-xresources" >&5
4773 no_cache=0
4774 # Check whether --enable-xresources or --disable-xresources was given.
4775if test "${enable_xresources+set}" = set; then
4776 enableval="$enable_xresources"
4777
4778 if test "$enableval" = yes; then
4779 ac_cv_use_xresources='wxUSE_X_RESOURCES=yes'
4780 else
4781 ac_cv_use_xresources='wxUSE_X_RESOURCES=no'
4782 fi
4783
4784else
4785
4786 LINE=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4787 if test "x$LINE" != x ; then
4788 eval "DEFAULT_$LINE"
4789 else
4790 no_cache=1
4791 fi
4792
4793 ac_cv_use_xresources='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4794
4795fi
4796
4797
4798 eval "$ac_cv_use_xresources"
4799 if test "$no_cache" != 1; then
4800 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4801 fi
4802
4803 if test "$wxUSE_X_RESOURCES" = yes; then
4804 echo "$ac_t""yes" 1>&6
4805 else
4806 echo "$ac_t""no" 1>&6
4807 fi
4808
4809
4810
4811
4812 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4813echo "configure:4814: checking for --enable-clipboard" >&5
4814 no_cache=0
4815 # Check whether --enable-clipboard or --disable-clipboard was given.
4816if test "${enable_clipboard+set}" = set; then
4817 enableval="$enable_clipboard"
4818
4819 if test "$enableval" = yes; then
4820 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
4821 else
4822 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
4823 fi
4824
4825else
4826
4827 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4828 if test "x$LINE" != x ; then
4829 eval "DEFAULT_$LINE"
4830 else
4831 no_cache=1
4832 fi
4833
4834 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4835
4836fi
4837
4838
4839 eval "$ac_cv_use_clipboard"
4840 if test "$no_cache" != 1; then
4841 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4842 fi
4843
4844 if test "$wxUSE_CLIPBOARD" = yes; then
4845 echo "$ac_t""yes" 1>&6
4846 else
4847 echo "$ac_t""no" 1>&6
4848 fi
4849
4850
4851 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4852echo "configure:4853: checking for --enable-dnd" >&5
4853 no_cache=0
4854 # Check whether --enable-dnd or --disable-dnd was given.
4855if test "${enable_dnd+set}" = set; then
4856 enableval="$enable_dnd"
4857
4858 if test "$enableval" = yes; then
4859 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
4860 else
4861 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
4862 fi
4863
4864else
4865
4866 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4867 if test "x$LINE" != x ; then
4868 eval "DEFAULT_$LINE"
4869 else
4870 no_cache=1
4871 fi
4872
4873 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4874
4875fi
4876
4877
4878 eval "$ac_cv_use_dnd"
4879 if test "$no_cache" != 1; then
4880 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4881 fi
4882
4883 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4884 echo "$ac_t""yes" 1>&6
4885 else
4886 echo "$ac_t""no" 1>&6
4887 fi
4888
4889
4890 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4891echo "configure:4892: checking for --enable-metafile" >&5
4892 no_cache=0
4893 # Check whether --enable-metafile or --disable-metafile was given.
4894if test "${enable_metafile+set}" = set; then
4895 enableval="$enable_metafile"
4896
4897 if test "$enableval" = yes; then
4898 ac_cv_use_metafile='wxUSE_METAFILE=yes'
4899 else
4900 ac_cv_use_metafile='wxUSE_METAFILE=no'
4901 fi
4902
4903else
4904
4905 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4906 if test "x$LINE" != x ; then
4907 eval "DEFAULT_$LINE"
4908 else
4909 no_cache=1
4910 fi
4911
4912 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4913
4914fi
4915
4916
4917 eval "$ac_cv_use_metafile"
4918 if test "$no_cache" != 1; then
4919 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4920 fi
4921
4922 if test "$wxUSE_METAFILE" = yes; then
4923 echo "$ac_t""yes" 1>&6
4924 else
4925 echo "$ac_t""no" 1>&6
4926 fi
4927
4928
4929
4930 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
4931echo "configure:4932: checking for --enable-treelayout" >&5
4932 no_cache=0
4933 # Check whether --enable-treelayout or --disable-treelayout was given.
4934if test "${enable_treelayout+set}" = set; then
4935 enableval="$enable_treelayout"
4936
4937 if test "$enableval" = yes; then
4938 ac_cv_use_treelayout='wxUSE_TREELAYOUT=yes'
4939 else
4940 ac_cv_use_treelayout='wxUSE_TREELAYOUT=no'
4941 fi
4942
4943else
4944
4945 LINE=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
4946 if test "x$LINE" != x ; then
4947 eval "DEFAULT_$LINE"
4948 else
4949 no_cache=1
4950 fi
4951
4952 ac_cv_use_treelayout='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
4953
4954fi
4955
4956
4957 eval "$ac_cv_use_treelayout"
4958 if test "$no_cache" != 1; then
4959 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
4960 fi
4961
4962 if test "$wxUSE_TREELAYOUT" = yes; then
4963 echo "$ac_t""yes" 1>&6
4964 else
4965 echo "$ac_t""no" 1>&6
4966 fi
4967
4968
4969
4970
4971 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
4972echo "configure:4973: checking for --enable-controls" >&5
4973 no_cache=0
4974 # Check whether --enable-controls or --disable-controls was given.
4975if test "${enable_controls+set}" = set; then
4976 enableval="$enable_controls"
4977
4978 if test "$enableval" = yes; then
4979 ac_cv_use_controls='wxUSE_CONTROLS=yes'
4980 else
4981 ac_cv_use_controls='wxUSE_CONTROLS=no'
4982 fi
4983
4984else
4985
4986 LINE=`grep "wxUSE_CONTROLS" ${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_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
4994
4995fi
4996
4997
4998 eval "$ac_cv_use_controls"
4999 if test "$no_cache" != 1; then
5000 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5001 fi
5002
5003 if test "$wxUSE_CONTROLS" = yes; then
5004 echo "$ac_t""yes" 1>&6
5005 else
5006 echo "$ac_t""no" 1>&6
5007 fi
5008
5009
5010if test "$wxUSE_CONTROLS" = "yes"; then
5011 DEFAULT_wxUSE_ACCEL=yes
5012 DEFAULT_wxUSE_BMPBUTTON=yes
5013 DEFAULT_wxUSE_BUTTON=yes
5014 DEFAULT_wxUSE_CALCTRL=no
5015 DEFAULT_wxUSE_CARET=yes
5016 DEFAULT_wxUSE_COMBOBOX=yes
5017 DEFAULT_wxUSE_CHECKBOX=yes
5018 DEFAULT_wxUSE_CHECKLISTBOX=yes
5019 DEFAULT_wxUSE_CHOICE=yes
5020 DEFAULT_wxUSE_GAUGE=yes
5021 DEFAULT_wxUSE_GRID=yes
5022 DEFAULT_wxUSE_NEW_GRID=yes
5023 DEFAULT_wxUSE_IMAGLIST=yes
5024 DEFAULT_wxUSE_LISTBOX=yes
5025 DEFAULT_wxUSE_LISTCTRL=yes
5026 DEFAULT_wxUSE_NOTEBOOK=yes
5027 DEFAULT_wxUSE_PROPSHEET=yes
5028 DEFAULT_wxUSE_RADIOBOX=yes
5029 DEFAULT_wxUSE_RADIOBTN=yes
5030 DEFAULT_wxUSE_SASH=yes
5031 DEFAULT_wxUSE_SCROLLBAR=yes
5032 DEFAULT_wxUSE_SLIDER=yes
5033 DEFAULT_wxUSE_SPINBTN=yes
5034 DEFAULT_wxUSE_SPINCTRL=yes
5035 DEFAULT_wxUSE_SPLITTER=yes
5036 DEFAULT_wxUSE_STATBMP=yes
5037 DEFAULT_wxUSE_STATBOX=yes
5038 DEFAULT_wxUSE_STATLINE=yes
5039 DEFAULT_wxUSE_STATUSBAR=yes
5040 DEFAULT_wxUSE_TAB_DIALOG=yes
5041 DEFAULT_wxUSE_TOGGLEBTN=yes
5042 DEFAULT_wxUSE_TOOLBAR=yes
5043 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
5044 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
5045 DEFAULT_wxUSE_TOOLTIPS=yes
5046 DEFAULT_wxUSE_TREECTRL=yes
5047 DEFAULT_wxUSE_POPUPWIN=yes
5048elif test "$wxUSE_CONTROLS" = "no"; then
5049 DEFAULT_wxUSE_ACCEL=no
5050 DEFAULT_wxUSE_BMPBUTTON=no
5051 DEFAULT_wxUSE_BUTTON=no
5052 DEFAULT_wxUSE_CALCTRL=no
5053 DEFAULT_wxUSE_CARET=no
5054 DEFAULT_wxUSE_COMBOBOX=no
5055 DEFAULT_wxUSE_CHECKBOX=no
5056 DEFAULT_wxUSE_CHECKLISTBOX=no
5057 DEFAULT_wxUSE_CHOICE=no
5058 DEFAULT_wxUSE_GAUGE=no
5059 DEFAULT_wxUSE_GRID=no
5060 DEFAULT_wxUSE_NEW_GRID=no
5061 DEFAULT_wxUSE_IMAGLIST=no
5062 DEFAULT_wxUSE_LISTBOX=no
5063 DEFAULT_wxUSE_LISTCTRL=no
5064 DEFAULT_wxUSE_NOTEBOOK=no
5065 DEFAULT_wxUSE_PROPSHEET=no
5066 DEFAULT_wxUSE_RADIOBOX=no
5067 DEFAULT_wxUSE_RADIOBTN=no
5068 DEFAULT_wxUSE_SASH=no
5069 DEFAULT_wxUSE_SCROLLBAR=no
5070 DEFAULT_wxUSE_SLIDER=no
5071 DEFAULT_wxUSE_SPINBTN=no
5072 DEFAULT_wxUSE_SPINCTRL=no
5073 DEFAULT_wxUSE_SPLITTER=no
5074 DEFAULT_wxUSE_STATBMP=no
5075 DEFAULT_wxUSE_STATBOX=no
5076 DEFAULT_wxUSE_STATLINE=no
5077 DEFAULT_wxUSE_STATUSBAR=no
5078 DEFAULT_wxUSE_TAB_DIALOG=no
5079 DEFAULT_wxUSE_TOGGLEBTN=no
5080 DEFAULT_wxUSE_TOOLBAR=no
5081 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
5082 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
5083 DEFAULT_wxUSE_TOOLTIPS=no
5084 DEFAULT_wxUSE_TREECTRL=no
5085 DEFAULT_wxUSE_POPUPWIN=no
5086fi
5087
5088
5089 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5090echo "configure:5091: checking for --enable-accel" >&5
5091 no_cache=0
5092 # Check whether --enable-accel or --disable-accel was given.
5093if test "${enable_accel+set}" = set; then
5094 enableval="$enable_accel"
5095
5096 if test "$enableval" = yes; then
5097 ac_cv_use_accel='wxUSE_ACCEL=yes'
5098 else
5099 ac_cv_use_accel='wxUSE_ACCEL=no'
5100 fi
5101
5102else
5103
5104 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5105 if test "x$LINE" != x ; then
5106 eval "DEFAULT_$LINE"
5107 else
5108 no_cache=1
5109 fi
5110
5111 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5112
5113fi
5114
5115
5116 eval "$ac_cv_use_accel"
5117 if test "$no_cache" != 1; then
5118 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5119 fi
5120
5121 if test "$wxUSE_ACCEL" = yes; then
5122 echo "$ac_t""yes" 1>&6
5123 else
5124 echo "$ac_t""no" 1>&6
5125 fi
5126
5127
5128 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5129echo "configure:5130: checking for --enable-button" >&5
5130 no_cache=0
5131 # Check whether --enable-button or --disable-button was given.
5132if test "${enable_button+set}" = set; then
5133 enableval="$enable_button"
5134
5135 if test "$enableval" = yes; then
5136 ac_cv_use_button='wxUSE_BUTTON=yes'
5137 else
5138 ac_cv_use_button='wxUSE_BUTTON=no'
5139 fi
5140
5141else
5142
5143 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5144 if test "x$LINE" != x ; then
5145 eval "DEFAULT_$LINE"
5146 else
5147 no_cache=1
5148 fi
5149
5150 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5151
5152fi
5153
5154
5155 eval "$ac_cv_use_button"
5156 if test "$no_cache" != 1; then
5157 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5158 fi
5159
5160 if test "$wxUSE_BUTTON" = yes; then
5161 echo "$ac_t""yes" 1>&6
5162 else
5163 echo "$ac_t""no" 1>&6
5164 fi
5165
5166
5167 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5168echo "configure:5169: checking for --enable-bmpbutton" >&5
5169 no_cache=0
5170 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5171if test "${enable_bmpbutton+set}" = set; then
5172 enableval="$enable_bmpbutton"
5173
5174 if test "$enableval" = yes; then
5175 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
5176 else
5177 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
5178 fi
5179
5180else
5181
5182 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5183 if test "x$LINE" != x ; then
5184 eval "DEFAULT_$LINE"
5185 else
5186 no_cache=1
5187 fi
5188
5189 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5190
5191fi
5192
5193
5194 eval "$ac_cv_use_bmpbutton"
5195 if test "$no_cache" != 1; then
5196 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5197 fi
5198
5199 if test "$wxUSE_BMPBUTTON" = yes; then
5200 echo "$ac_t""yes" 1>&6
5201 else
5202 echo "$ac_t""no" 1>&6
5203 fi
5204
5205
5206 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5207echo "configure:5208: checking for --enable-calendar" >&5
5208 no_cache=0
5209 # Check whether --enable-calendar or --disable-calendar was given.
5210if test "${enable_calendar+set}" = set; then
5211 enableval="$enable_calendar"
5212
5213 if test "$enableval" = yes; then
5214 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
5215 else
5216 ac_cv_use_calendar='wxUSE_CALCTRL=no'
5217 fi
5218
5219else
5220
5221 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5222 if test "x$LINE" != x ; then
5223 eval "DEFAULT_$LINE"
5224 else
5225 no_cache=1
5226 fi
5227
5228 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5229
5230fi
5231
5232
5233 eval "$ac_cv_use_calendar"
5234 if test "$no_cache" != 1; then
5235 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5236 fi
5237
5238 if test "$wxUSE_CALCTRL" = yes; then
5239 echo "$ac_t""yes" 1>&6
5240 else
5241 echo "$ac_t""no" 1>&6
5242 fi
5243
5244
5245 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5246echo "configure:5247: checking for --enable-caret" >&5
5247 no_cache=0
5248 # Check whether --enable-caret or --disable-caret was given.
5249if test "${enable_caret+set}" = set; then
5250 enableval="$enable_caret"
5251
5252 if test "$enableval" = yes; then
5253 ac_cv_use_caret='wxUSE_CARET=yes'
5254 else
5255 ac_cv_use_caret='wxUSE_CARET=no'
5256 fi
5257
5258else
5259
5260 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5261 if test "x$LINE" != x ; then
5262 eval "DEFAULT_$LINE"
5263 else
5264 no_cache=1
5265 fi
5266
5267 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5268
5269fi
5270
5271
5272 eval "$ac_cv_use_caret"
5273 if test "$no_cache" != 1; then
5274 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5275 fi
5276
5277 if test "$wxUSE_CARET" = yes; then
5278 echo "$ac_t""yes" 1>&6
5279 else
5280 echo "$ac_t""no" 1>&6
5281 fi
5282
5283
5284 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5285echo "configure:5286: checking for --enable-checkbox" >&5
5286 no_cache=0
5287 # Check whether --enable-checkbox or --disable-checkbox was given.
5288if test "${enable_checkbox+set}" = set; then
5289 enableval="$enable_checkbox"
5290
5291 if test "$enableval" = yes; then
5292 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
5293 else
5294 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
5295 fi
5296
5297else
5298
5299 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5300 if test "x$LINE" != x ; then
5301 eval "DEFAULT_$LINE"
5302 else
5303 no_cache=1
5304 fi
5305
5306 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5307
5308fi
5309
5310
5311 eval "$ac_cv_use_checkbox"
5312 if test "$no_cache" != 1; then
5313 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5314 fi
5315
5316 if test "$wxUSE_CHECKBOX" = yes; then
5317 echo "$ac_t""yes" 1>&6
5318 else
5319 echo "$ac_t""no" 1>&6
5320 fi
5321
5322
5323 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5324echo "configure:5325: checking for --enable-checklst" >&5
5325 no_cache=0
5326 # Check whether --enable-checklst or --disable-checklst was given.
5327if test "${enable_checklst+set}" = set; then
5328 enableval="$enable_checklst"
5329
5330 if test "$enableval" = yes; then
5331 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
5332 else
5333 ac_cv_use_checklst='wxUSE_CHECKLST=no'
5334 fi
5335
5336else
5337
5338 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5339 if test "x$LINE" != x ; then
5340 eval "DEFAULT_$LINE"
5341 else
5342 no_cache=1
5343 fi
5344
5345 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5346
5347fi
5348
5349
5350 eval "$ac_cv_use_checklst"
5351 if test "$no_cache" != 1; then
5352 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5353 fi
5354
5355 if test "$wxUSE_CHECKLST" = yes; then
5356 echo "$ac_t""yes" 1>&6
5357 else
5358 echo "$ac_t""no" 1>&6
5359 fi
5360
5361
5362 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5363echo "configure:5364: checking for --enable-choice" >&5
5364 no_cache=0
5365 # Check whether --enable-choice or --disable-choice was given.
5366if test "${enable_choice+set}" = set; then
5367 enableval="$enable_choice"
5368
5369 if test "$enableval" = yes; then
5370 ac_cv_use_choice='wxUSE_CHOICE=yes'
5371 else
5372 ac_cv_use_choice='wxUSE_CHOICE=no'
5373 fi
5374
5375else
5376
5377 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5378 if test "x$LINE" != x ; then
5379 eval "DEFAULT_$LINE"
5380 else
5381 no_cache=1
5382 fi
5383
5384 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5385
5386fi
5387
5388
5389 eval "$ac_cv_use_choice"
5390 if test "$no_cache" != 1; then
5391 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5392 fi
5393
5394 if test "$wxUSE_CHOICE" = yes; then
5395 echo "$ac_t""yes" 1>&6
5396 else
5397 echo "$ac_t""no" 1>&6
5398 fi
5399
5400
5401 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5402echo "configure:5403: checking for --enable-combobox" >&5
5403 no_cache=0
5404 # Check whether --enable-combobox or --disable-combobox was given.
5405if test "${enable_combobox+set}" = set; then
5406 enableval="$enable_combobox"
5407
5408 if test "$enableval" = yes; then
5409 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
5410 else
5411 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
5412 fi
5413
5414else
5415
5416 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5417 if test "x$LINE" != x ; then
5418 eval "DEFAULT_$LINE"
5419 else
5420 no_cache=1
5421 fi
5422
5423 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5424
5425fi
5426
5427
5428 eval "$ac_cv_use_combobox"
5429 if test "$no_cache" != 1; then
5430 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5431 fi
5432
5433 if test "$wxUSE_COMBOBOX" = yes; then
5434 echo "$ac_t""yes" 1>&6
5435 else
5436 echo "$ac_t""no" 1>&6
5437 fi
5438
5439
5440 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5441echo "configure:5442: checking for --enable-gauge" >&5
5442 no_cache=0
5443 # Check whether --enable-gauge or --disable-gauge was given.
5444if test "${enable_gauge+set}" = set; then
5445 enableval="$enable_gauge"
5446
5447 if test "$enableval" = yes; then
5448 ac_cv_use_gauge='wxUSE_GAUGE=yes'
5449 else
5450 ac_cv_use_gauge='wxUSE_GAUGE=no'
5451 fi
5452
5453else
5454
5455 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5456 if test "x$LINE" != x ; then
5457 eval "DEFAULT_$LINE"
5458 else
5459 no_cache=1
5460 fi
5461
5462 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5463
5464fi
5465
5466
5467 eval "$ac_cv_use_gauge"
5468 if test "$no_cache" != 1; then
5469 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5470 fi
5471
5472 if test "$wxUSE_GAUGE" = yes; then
5473 echo "$ac_t""yes" 1>&6
5474 else
5475 echo "$ac_t""no" 1>&6
5476 fi
5477
5478
5479 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5480echo "configure:5481: checking for --enable-grid" >&5
5481 no_cache=0
5482 # Check whether --enable-grid or --disable-grid was given.
5483if test "${enable_grid+set}" = set; then
5484 enableval="$enable_grid"
5485
5486 if test "$enableval" = yes; then
5487 ac_cv_use_grid='wxUSE_GRID=yes'
5488 else
5489 ac_cv_use_grid='wxUSE_GRID=no'
5490 fi
5491
5492else
5493
5494 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5495 if test "x$LINE" != x ; then
5496 eval "DEFAULT_$LINE"
5497 else
5498 no_cache=1
5499 fi
5500
5501 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5502
5503fi
5504
5505
5506 eval "$ac_cv_use_grid"
5507 if test "$no_cache" != 1; then
5508 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5509 fi
5510
5511 if test "$wxUSE_GRID" = yes; then
5512 echo "$ac_t""yes" 1>&6
5513 else
5514 echo "$ac_t""no" 1>&6
5515 fi
5516
5517
5518 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5519echo "configure:5520: checking for --enable-newgrid" >&5
5520 no_cache=0
5521 # Check whether --enable-newgrid or --disable-newgrid was given.
5522if test "${enable_newgrid+set}" = set; then
5523 enableval="$enable_newgrid"
5524
5525 if test "$enableval" = yes; then
5526 ac_cv_use_newgrid='wxUSE_NEW_GRID=yes'
5527 else
5528 ac_cv_use_newgrid='wxUSE_NEW_GRID=no'
5529 fi
5530
5531else
5532
5533 LINE=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5534 if test "x$LINE" != x ; then
5535 eval "DEFAULT_$LINE"
5536 else
5537 no_cache=1
5538 fi
5539
5540 ac_cv_use_newgrid='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5541
5542fi
5543
5544
5545 eval "$ac_cv_use_newgrid"
5546 if test "$no_cache" != 1; then
5547 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5548 fi
5549
5550 if test "$wxUSE_NEW_GRID" = yes; then
5551 echo "$ac_t""yes" 1>&6
5552 else
5553 echo "$ac_t""no" 1>&6
5554 fi
5555
5556
5557 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5558echo "configure:5559: checking for --enable-imaglist" >&5
5559 no_cache=0
5560 # Check whether --enable-imaglist or --disable-imaglist was given.
5561if test "${enable_imaglist+set}" = set; then
5562 enableval="$enable_imaglist"
5563
5564 if test "$enableval" = yes; then
5565 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
5566 else
5567 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
5568 fi
5569
5570else
5571
5572 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5573 if test "x$LINE" != x ; then
5574 eval "DEFAULT_$LINE"
5575 else
5576 no_cache=1
5577 fi
5578
5579 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5580
5581fi
5582
5583
5584 eval "$ac_cv_use_imaglist"
5585 if test "$no_cache" != 1; then
5586 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5587 fi
5588
5589 if test "$wxUSE_IMAGLIST" = yes; then
5590 echo "$ac_t""yes" 1>&6
5591 else
5592 echo "$ac_t""no" 1>&6
5593 fi
5594
5595
5596 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5597echo "configure:5598: checking for --enable-listbox" >&5
5598 no_cache=0
5599 # Check whether --enable-listbox or --disable-listbox was given.
5600if test "${enable_listbox+set}" = set; then
5601 enableval="$enable_listbox"
5602
5603 if test "$enableval" = yes; then
5604 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
5605 else
5606 ac_cv_use_listbox='wxUSE_LISTBOX=no'
5607 fi
5608
5609else
5610
5611 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5612 if test "x$LINE" != x ; then
5613 eval "DEFAULT_$LINE"
5614 else
5615 no_cache=1
5616 fi
5617
5618 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5619
5620fi
5621
5622
5623 eval "$ac_cv_use_listbox"
5624 if test "$no_cache" != 1; then
5625 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5626 fi
5627
5628 if test "$wxUSE_LISTBOX" = yes; then
5629 echo "$ac_t""yes" 1>&6
5630 else
5631 echo "$ac_t""no" 1>&6
5632 fi
5633
5634
5635 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5636echo "configure:5637: checking for --enable-listctrl" >&5
5637 no_cache=0
5638 # Check whether --enable-listctrl or --disable-listctrl was given.
5639if test "${enable_listctrl+set}" = set; then
5640 enableval="$enable_listctrl"
5641
5642 if test "$enableval" = yes; then
5643 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
5644 else
5645 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
5646 fi
5647
5648else
5649
5650 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5651 if test "x$LINE" != x ; then
5652 eval "DEFAULT_$LINE"
5653 else
5654 no_cache=1
5655 fi
5656
5657 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5658
5659fi
5660
5661
5662 eval "$ac_cv_use_listctrl"
5663 if test "$no_cache" != 1; then
5664 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5665 fi
5666
5667 if test "$wxUSE_LISTCTRL" = yes; then
5668 echo "$ac_t""yes" 1>&6
5669 else
5670 echo "$ac_t""no" 1>&6
5671 fi
5672
5673
5674 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5675echo "configure:5676: checking for --enable-notebook" >&5
5676 no_cache=0
5677 # Check whether --enable-notebook or --disable-notebook was given.
5678if test "${enable_notebook+set}" = set; then
5679 enableval="$enable_notebook"
5680
5681 if test "$enableval" = yes; then
5682 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
5683 else
5684 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
5685 fi
5686
5687else
5688
5689 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5690 if test "x$LINE" != x ; then
5691 eval "DEFAULT_$LINE"
5692 else
5693 no_cache=1
5694 fi
5695
5696 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5697
5698fi
5699
5700
5701 eval "$ac_cv_use_notebook"
5702 if test "$no_cache" != 1; then
5703 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5704 fi
5705
5706 if test "$wxUSE_NOTEBOOK" = yes; then
5707 echo "$ac_t""yes" 1>&6
5708 else
5709 echo "$ac_t""no" 1>&6
5710 fi
5711
5712
5713 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5714echo "configure:5715: checking for --enable-propsheet" >&5
5715 no_cache=0
5716 # Check whether --enable-propsheet or --disable-propsheet was given.
5717if test "${enable_propsheet+set}" = set; then
5718 enableval="$enable_propsheet"
5719
5720 if test "$enableval" = yes; then
5721 ac_cv_use_propsheet='wxUSE_PROPSHEET=yes'
5722 else
5723 ac_cv_use_propsheet='wxUSE_PROPSHEET=no'
5724 fi
5725
5726else
5727
5728 LINE=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5729 if test "x$LINE" != x ; then
5730 eval "DEFAULT_$LINE"
5731 else
5732 no_cache=1
5733 fi
5734
5735 ac_cv_use_propsheet='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5736
5737fi
5738
5739
5740 eval "$ac_cv_use_propsheet"
5741 if test "$no_cache" != 1; then
5742 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5743 fi
5744
5745 if test "$wxUSE_PROPSHEET" = yes; then
5746 echo "$ac_t""yes" 1>&6
5747 else
5748 echo "$ac_t""no" 1>&6
5749 fi
5750
5751
5752 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5753echo "configure:5754: checking for --enable-radiobox" >&5
5754 no_cache=0
5755 # Check whether --enable-radiobox or --disable-radiobox was given.
5756if test "${enable_radiobox+set}" = set; then
5757 enableval="$enable_radiobox"
5758
5759 if test "$enableval" = yes; then
5760 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
5761 else
5762 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
5763 fi
5764
5765else
5766
5767 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5768 if test "x$LINE" != x ; then
5769 eval "DEFAULT_$LINE"
5770 else
5771 no_cache=1
5772 fi
5773
5774 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5775
5776fi
5777
5778
5779 eval "$ac_cv_use_radiobox"
5780 if test "$no_cache" != 1; then
5781 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5782 fi
5783
5784 if test "$wxUSE_RADIOBOX" = yes; then
5785 echo "$ac_t""yes" 1>&6
5786 else
5787 echo "$ac_t""no" 1>&6
5788 fi
5789
5790
5791 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5792echo "configure:5793: checking for --enable-radiobtn" >&5
5793 no_cache=0
5794 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5795if test "${enable_radiobtn+set}" = set; then
5796 enableval="$enable_radiobtn"
5797
5798 if test "$enableval" = yes; then
5799 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
5800 else
5801 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
5802 fi
5803
5804else
5805
5806 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5807 if test "x$LINE" != x ; then
5808 eval "DEFAULT_$LINE"
5809 else
5810 no_cache=1
5811 fi
5812
5813 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5814
5815fi
5816
5817
5818 eval "$ac_cv_use_radiobtn"
5819 if test "$no_cache" != 1; then
5820 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5821 fi
5822
5823 if test "$wxUSE_RADIOBTN" = yes; then
5824 echo "$ac_t""yes" 1>&6
5825 else
5826 echo "$ac_t""no" 1>&6
5827 fi
5828
5829
5830 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5831echo "configure:5832: checking for --enable-sash" >&5
5832 no_cache=0
5833 # Check whether --enable-sash or --disable-sash was given.
5834if test "${enable_sash+set}" = set; then
5835 enableval="$enable_sash"
5836
5837 if test "$enableval" = yes; then
5838 ac_cv_use_sash='wxUSE_SASH=yes'
5839 else
5840 ac_cv_use_sash='wxUSE_SASH=no'
5841 fi
5842
5843else
5844
5845 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5846 if test "x$LINE" != x ; then
5847 eval "DEFAULT_$LINE"
5848 else
5849 no_cache=1
5850 fi
5851
5852 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5853
5854fi
5855
5856
5857 eval "$ac_cv_use_sash"
5858 if test "$no_cache" != 1; then
5859 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5860 fi
5861
5862 if test "$wxUSE_SASH" = yes; then
5863 echo "$ac_t""yes" 1>&6
5864 else
5865 echo "$ac_t""no" 1>&6
5866 fi
5867
5868
5869 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5870echo "configure:5871: checking for --enable-scrollbar" >&5
5871 no_cache=0
5872 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5873if test "${enable_scrollbar+set}" = set; then
5874 enableval="$enable_scrollbar"
5875
5876 if test "$enableval" = yes; then
5877 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
5878 else
5879 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
5880 fi
5881
5882else
5883
5884 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5885 if test "x$LINE" != x ; then
5886 eval "DEFAULT_$LINE"
5887 else
5888 no_cache=1
5889 fi
5890
5891 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5892
5893fi
5894
5895
5896 eval "$ac_cv_use_scrollbar"
5897 if test "$no_cache" != 1; then
5898 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5899 fi
5900
5901 if test "$wxUSE_SCROLLBAR" = yes; then
5902 echo "$ac_t""yes" 1>&6
5903 else
5904 echo "$ac_t""no" 1>&6
5905 fi
5906
5907
5908 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5909echo "configure:5910: checking for --enable-slider" >&5
5910 no_cache=0
5911 # Check whether --enable-slider or --disable-slider was given.
5912if test "${enable_slider+set}" = set; then
5913 enableval="$enable_slider"
5914
5915 if test "$enableval" = yes; then
5916 ac_cv_use_slider='wxUSE_SLIDER=yes'
5917 else
5918 ac_cv_use_slider='wxUSE_SLIDER=no'
5919 fi
5920
5921else
5922
5923 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5924 if test "x$LINE" != x ; then
5925 eval "DEFAULT_$LINE"
5926 else
5927 no_cache=1
5928 fi
5929
5930 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5931
5932fi
5933
5934
5935 eval "$ac_cv_use_slider"
5936 if test "$no_cache" != 1; then
5937 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5938 fi
5939
5940 if test "$wxUSE_SLIDER" = yes; then
5941 echo "$ac_t""yes" 1>&6
5942 else
5943 echo "$ac_t""no" 1>&6
5944 fi
5945
5946
5947 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5948echo "configure:5949: checking for --enable-spinbtn" >&5
5949 no_cache=0
5950 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5951if test "${enable_spinbtn+set}" = set; then
5952 enableval="$enable_spinbtn"
5953
5954 if test "$enableval" = yes; then
5955 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
5956 else
5957 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
5958 fi
5959
5960else
5961
5962 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
5963 if test "x$LINE" != x ; then
5964 eval "DEFAULT_$LINE"
5965 else
5966 no_cache=1
5967 fi
5968
5969 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
5970
5971fi
5972
5973
5974 eval "$ac_cv_use_spinbtn"
5975 if test "$no_cache" != 1; then
5976 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
5977 fi
5978
5979 if test "$wxUSE_SPINBTN" = yes; then
5980 echo "$ac_t""yes" 1>&6
5981 else
5982 echo "$ac_t""no" 1>&6
5983 fi
5984
5985
5986 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
5987echo "configure:5988: checking for --enable-spinctrl" >&5
5988 no_cache=0
5989 # Check whether --enable-spinctrl or --disable-spinctrl was given.
5990if test "${enable_spinctrl+set}" = set; then
5991 enableval="$enable_spinctrl"
5992
5993 if test "$enableval" = yes; then
5994 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
5995 else
5996 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
5997 fi
5998
5999else
6000
6001 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6002 if test "x$LINE" != x ; then
6003 eval "DEFAULT_$LINE"
6004 else
6005 no_cache=1
6006 fi
6007
6008 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6009
6010fi
6011
6012
6013 eval "$ac_cv_use_spinctrl"
6014 if test "$no_cache" != 1; then
6015 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6016 fi
6017
6018 if test "$wxUSE_SPINCTRL" = yes; then
6019 echo "$ac_t""yes" 1>&6
6020 else
6021 echo "$ac_t""no" 1>&6
6022 fi
6023
6024
6025 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6026echo "configure:6027: checking for --enable-splitter" >&5
6027 no_cache=0
6028 # Check whether --enable-splitter or --disable-splitter was given.
6029if test "${enable_splitter+set}" = set; then
6030 enableval="$enable_splitter"
6031
6032 if test "$enableval" = yes; then
6033 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
6034 else
6035 ac_cv_use_splitter='wxUSE_SPLITTER=no'
6036 fi
6037
6038else
6039
6040 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6041 if test "x$LINE" != x ; then
6042 eval "DEFAULT_$LINE"
6043 else
6044 no_cache=1
6045 fi
6046
6047 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6048
6049fi
6050
6051
6052 eval "$ac_cv_use_splitter"
6053 if test "$no_cache" != 1; then
6054 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6055 fi
6056
6057 if test "$wxUSE_SPLITTER" = yes; then
6058 echo "$ac_t""yes" 1>&6
6059 else
6060 echo "$ac_t""no" 1>&6
6061 fi
6062
6063
6064 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6065echo "configure:6066: checking for --enable-statbmp" >&5
6066 no_cache=0
6067 # Check whether --enable-statbmp or --disable-statbmp was given.
6068if test "${enable_statbmp+set}" = set; then
6069 enableval="$enable_statbmp"
6070
6071 if test "$enableval" = yes; then
6072 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
6073 else
6074 ac_cv_use_statbmp='wxUSE_STATBMP=no'
6075 fi
6076
6077else
6078
6079 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6080 if test "x$LINE" != x ; then
6081 eval "DEFAULT_$LINE"
6082 else
6083 no_cache=1
6084 fi
6085
6086 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6087
6088fi
6089
6090
6091 eval "$ac_cv_use_statbmp"
6092 if test "$no_cache" != 1; then
6093 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6094 fi
6095
6096 if test "$wxUSE_STATBMP" = yes; then
6097 echo "$ac_t""yes" 1>&6
6098 else
6099 echo "$ac_t""no" 1>&6
6100 fi
6101
6102
6103 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6104echo "configure:6105: checking for --enable-statbox" >&5
6105 no_cache=0
6106 # Check whether --enable-statbox or --disable-statbox was given.
6107if test "${enable_statbox+set}" = set; then
6108 enableval="$enable_statbox"
6109
6110 if test "$enableval" = yes; then
6111 ac_cv_use_statbox='wxUSE_STATBOX=yes'
6112 else
6113 ac_cv_use_statbox='wxUSE_STATBOX=no'
6114 fi
6115
6116else
6117
6118 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6119 if test "x$LINE" != x ; then
6120 eval "DEFAULT_$LINE"
6121 else
6122 no_cache=1
6123 fi
6124
6125 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6126
6127fi
6128
6129
6130 eval "$ac_cv_use_statbox"
6131 if test "$no_cache" != 1; then
6132 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6133 fi
6134
6135 if test "$wxUSE_STATBOX" = yes; then
6136 echo "$ac_t""yes" 1>&6
6137 else
6138 echo "$ac_t""no" 1>&6
6139 fi
6140
6141
6142 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6143echo "configure:6144: checking for --enable-statline" >&5
6144 no_cache=0
6145 # Check whether --enable-statline or --disable-statline was given.
6146if test "${enable_statline+set}" = set; then
6147 enableval="$enable_statline"
6148
6149 if test "$enableval" = yes; then
6150 ac_cv_use_statline='wxUSE_STATLINE=yes'
6151 else
6152 ac_cv_use_statline='wxUSE_STATLINE=no'
6153 fi
6154
6155else
6156
6157 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6158 if test "x$LINE" != x ; then
6159 eval "DEFAULT_$LINE"
6160 else
6161 no_cache=1
6162 fi
6163
6164 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6165
6166fi
6167
6168
6169 eval "$ac_cv_use_statline"
6170 if test "$no_cache" != 1; then
6171 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6172 fi
6173
6174 if test "$wxUSE_STATLINE" = yes; then
6175 echo "$ac_t""yes" 1>&6
6176 else
6177 echo "$ac_t""no" 1>&6
6178 fi
6179
6180
6181 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6182echo "configure:6183: checking for --enable-stattext" >&5
6183 no_cache=0
6184 # Check whether --enable-stattext or --disable-stattext was given.
6185if test "${enable_stattext+set}" = set; then
6186 enableval="$enable_stattext"
6187
6188 if test "$enableval" = yes; then
6189 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
6190 else
6191 ac_cv_use_stattext='wxUSE_STATTEXT=no'
6192 fi
6193
6194else
6195
6196 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6197 if test "x$LINE" != x ; then
6198 eval "DEFAULT_$LINE"
6199 else
6200 no_cache=1
6201 fi
6202
6203 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6204
6205fi
6206
6207
6208 eval "$ac_cv_use_stattext"
6209 if test "$no_cache" != 1; then
6210 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6211 fi
6212
6213 if test "$wxUSE_STATTEXT" = yes; then
6214 echo "$ac_t""yes" 1>&6
6215 else
6216 echo "$ac_t""no" 1>&6
6217 fi
6218
6219
6220 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6221echo "configure:6222: checking for --enable-statusbar" >&5
6222 no_cache=0
6223 # Check whether --enable-statusbar or --disable-statusbar was given.
6224if test "${enable_statusbar+set}" = set; then
6225 enableval="$enable_statusbar"
6226
6227 if test "$enableval" = yes; then
6228 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
6229 else
6230 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
6231 fi
6232
6233else
6234
6235 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6236 if test "x$LINE" != x ; then
6237 eval "DEFAULT_$LINE"
6238 else
6239 no_cache=1
6240 fi
6241
6242 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6243
6244fi
6245
6246
6247 eval "$ac_cv_use_statusbar"
6248 if test "$no_cache" != 1; then
6249 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6250 fi
6251
6252 if test "$wxUSE_STATUSBAR" = yes; then
6253 echo "$ac_t""yes" 1>&6
6254 else
6255 echo "$ac_t""no" 1>&6
6256 fi
6257
6258
6259 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6260echo "configure:6261: checking for --enable-tabdialog" >&5
6261 no_cache=0
6262 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6263if test "${enable_tabdialog+set}" = set; then
6264 enableval="$enable_tabdialog"
6265
6266 if test "$enableval" = yes; then
6267 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
6268 else
6269 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
6270 fi
6271
6272else
6273
6274 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6275 if test "x$LINE" != x ; then
6276 eval "DEFAULT_$LINE"
6277 else
6278 no_cache=1
6279 fi
6280
6281 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6282
6283fi
6284
6285
6286 eval "$ac_cv_use_tabdialog"
6287 if test "$no_cache" != 1; then
6288 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6289 fi
6290
6291 if test "$wxUSE_TABDIALOG" = yes; then
6292 echo "$ac_t""yes" 1>&6
6293 else
6294 echo "$ac_t""no" 1>&6
6295 fi
6296
6297
6298 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6299echo "configure:6300: checking for --enable-textctrl" >&5
6300 no_cache=0
6301 # Check whether --enable-textctrl or --disable-textctrl was given.
6302if test "${enable_textctrl+set}" = set; then
6303 enableval="$enable_textctrl"
6304
6305 if test "$enableval" = yes; then
6306 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
6307 else
6308 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
6309 fi
6310
6311else
6312
6313 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6314 if test "x$LINE" != x ; then
6315 eval "DEFAULT_$LINE"
6316 else
6317 no_cache=1
6318 fi
6319
6320 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6321
6322fi
6323
6324
6325 eval "$ac_cv_use_textctrl"
6326 if test "$no_cache" != 1; then
6327 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6328 fi
6329
6330 if test "$wxUSE_TEXTCTRL" = yes; then
6331 echo "$ac_t""yes" 1>&6
6332 else
6333 echo "$ac_t""no" 1>&6
6334 fi
6335
6336
6337 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6338echo "configure:6339: checking for --enable-togglebtn" >&5
6339 no_cache=0
6340 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6341if test "${enable_togglebtn+set}" = set; then
6342 enableval="$enable_togglebtn"
6343
6344 if test "$enableval" = yes; then
6345 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
6346 else
6347 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
6348 fi
6349
6350else
6351
6352 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6353 if test "x$LINE" != x ; then
6354 eval "DEFAULT_$LINE"
6355 else
6356 no_cache=1
6357 fi
6358
6359 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6360
6361fi
6362
6363
6364 eval "$ac_cv_use_togglebtn"
6365 if test "$no_cache" != 1; then
6366 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6367 fi
6368
6369 if test "$wxUSE_TOGGLEBTN" = yes; then
6370 echo "$ac_t""yes" 1>&6
6371 else
6372 echo "$ac_t""no" 1>&6
6373 fi
6374
6375
6376 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6377echo "configure:6378: checking for --enable-toolbar" >&5
6378 no_cache=0
6379 # Check whether --enable-toolbar or --disable-toolbar was given.
6380if test "${enable_toolbar+set}" = set; then
6381 enableval="$enable_toolbar"
6382
6383 if test "$enableval" = yes; then
6384 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
6385 else
6386 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
6387 fi
6388
6389else
6390
6391 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6392 if test "x$LINE" != x ; then
6393 eval "DEFAULT_$LINE"
6394 else
6395 no_cache=1
6396 fi
6397
6398 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6399
6400fi
6401
6402
6403 eval "$ac_cv_use_toolbar"
6404 if test "$no_cache" != 1; then
6405 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6406 fi
6407
6408 if test "$wxUSE_TOOLBAR" = yes; then
6409 echo "$ac_t""yes" 1>&6
6410 else
6411 echo "$ac_t""no" 1>&6
6412 fi
6413
6414
6415 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6416echo "configure:6417: checking for --enable-tbarnative" >&5
6417 no_cache=0
6418 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6419if test "${enable_tbarnative+set}" = set; then
6420 enableval="$enable_tbarnative"
6421
6422 if test "$enableval" = yes; then
6423 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
6424 else
6425 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
6426 fi
6427
6428else
6429
6430 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6431 if test "x$LINE" != x ; then
6432 eval "DEFAULT_$LINE"
6433 else
6434 no_cache=1
6435 fi
6436
6437 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6438
6439fi
6440
6441
6442 eval "$ac_cv_use_tbarnative"
6443 if test "$no_cache" != 1; then
6444 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6445 fi
6446
6447 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6448 echo "$ac_t""yes" 1>&6
6449 else
6450 echo "$ac_t""no" 1>&6
6451 fi
6452
6453
6454 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6455echo "configure:6456: checking for --enable-tbarsmpl" >&5
6456 no_cache=0
6457 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6458if test "${enable_tbarsmpl+set}" = set; then
6459 enableval="$enable_tbarsmpl"
6460
6461 if test "$enableval" = yes; then
6462 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
6463 else
6464 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
6465 fi
6466
6467else
6468
6469 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6470 if test "x$LINE" != x ; then
6471 eval "DEFAULT_$LINE"
6472 else
6473 no_cache=1
6474 fi
6475
6476 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6477
6478fi
6479
6480
6481 eval "$ac_cv_use_tbarsmpl"
6482 if test "$no_cache" != 1; then
6483 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6484 fi
6485
6486 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6487 echo "$ac_t""yes" 1>&6
6488 else
6489 echo "$ac_t""no" 1>&6
6490 fi
6491
6492
6493 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6494echo "configure:6495: checking for --enable-treectrl" >&5
6495 no_cache=0
6496 # Check whether --enable-treectrl or --disable-treectrl was given.
6497if test "${enable_treectrl+set}" = set; then
6498 enableval="$enable_treectrl"
6499
6500 if test "$enableval" = yes; then
6501 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
6502 else
6503 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
6504 fi
6505
6506else
6507
6508 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6509 if test "x$LINE" != x ; then
6510 eval "DEFAULT_$LINE"
6511 else
6512 no_cache=1
6513 fi
6514
6515 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6516
6517fi
6518
6519
6520 eval "$ac_cv_use_treectrl"
6521 if test "$no_cache" != 1; then
6522 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6523 fi
6524
6525 if test "$wxUSE_TREECTRL" = yes; then
6526 echo "$ac_t""yes" 1>&6
6527 else
6528 echo "$ac_t""no" 1>&6
6529 fi
6530
6531
6532 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6533echo "configure:6534: checking for --enable-popupwin" >&5
6534 no_cache=0
6535 # Check whether --enable-popupwin or --disable-popupwin was given.
6536if test "${enable_popupwin+set}" = set; then
6537 enableval="$enable_popupwin"
6538
6539 if test "$enableval" = yes; then
6540 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
6541 else
6542 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
6543 fi
6544
6545else
6546
6547 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6548 if test "x$LINE" != x ; then
6549 eval "DEFAULT_$LINE"
6550 else
6551 no_cache=1
6552 fi
6553
6554 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6555
6556fi
6557
6558
6559 eval "$ac_cv_use_popupwin"
6560 if test "$no_cache" != 1; then
6561 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6562 fi
6563
6564 if test "$wxUSE_POPUPWIN" = yes; then
6565 echo "$ac_t""yes" 1>&6
6566 else
6567 echo "$ac_t""no" 1>&6
6568 fi
6569
6570
6571
6572
6573 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6574echo "configure:6575: checking for --enable-commondlg" >&5
6575 no_cache=0
6576 # Check whether --enable-commondlg or --disable-commondlg was given.
6577if test "${enable_commondlg+set}" = set; then
6578 enableval="$enable_commondlg"
6579
6580 if test "$enableval" = yes; then
6581 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
6582 else
6583 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
6584 fi
6585
6586else
6587
6588 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6589 if test "x$LINE" != x ; then
6590 eval "DEFAULT_$LINE"
6591 else
6592 no_cache=1
6593 fi
6594
6595 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6596
6597fi
6598
6599
6600 eval "$ac_cv_use_commondlg"
6601 if test "$no_cache" != 1; then
6602 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6603 fi
6604
6605 if test "$wxUSE_COMMONDLGS" = yes; then
6606 echo "$ac_t""yes" 1>&6
6607 else
6608 echo "$ac_t""no" 1>&6
6609 fi
6610
6611
6612 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6613echo "configure:6614: checking for --enable-choicedlg" >&5
6614 no_cache=0
6615 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6616if test "${enable_choicedlg+set}" = set; then
6617 enableval="$enable_choicedlg"
6618
6619 if test "$enableval" = yes; then
6620 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
6621 else
6622 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
6623 fi
6624
6625else
6626
6627 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6628 if test "x$LINE" != x ; then
6629 eval "DEFAULT_$LINE"
6630 else
6631 no_cache=1
6632 fi
6633
6634 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6635
6636fi
6637
6638
6639 eval "$ac_cv_use_choicedlg"
6640 if test "$no_cache" != 1; then
6641 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6642 fi
6643
6644 if test "$wxUSE_CHOICEDLG" = yes; then
6645 echo "$ac_t""yes" 1>&6
6646 else
6647 echo "$ac_t""no" 1>&6
6648 fi
6649
6650
6651 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6652echo "configure:6653: checking for --enable-coldlg" >&5
6653 no_cache=0
6654 # Check whether --enable-coldlg or --disable-coldlg was given.
6655if test "${enable_coldlg+set}" = set; then
6656 enableval="$enable_coldlg"
6657
6658 if test "$enableval" = yes; then
6659 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
6660 else
6661 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
6662 fi
6663
6664else
6665
6666 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6667 if test "x$LINE" != x ; then
6668 eval "DEFAULT_$LINE"
6669 else
6670 no_cache=1
6671 fi
6672
6673 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6674
6675fi
6676
6677
6678 eval "$ac_cv_use_coldlg"
6679 if test "$no_cache" != 1; then
6680 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6681 fi
6682
6683 if test "$wxUSE_COLOURDLG" = yes; then
6684 echo "$ac_t""yes" 1>&6
6685 else
6686 echo "$ac_t""no" 1>&6
6687 fi
6688
6689
6690 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6691echo "configure:6692: checking for --enable-filedlg" >&5
6692 no_cache=0
6693 # Check whether --enable-filedlg or --disable-filedlg was given.
6694if test "${enable_filedlg+set}" = set; then
6695 enableval="$enable_filedlg"
6696
6697 if test "$enableval" = yes; then
6698 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
6699 else
6700 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
6701 fi
6702
6703else
6704
6705 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6706 if test "x$LINE" != x ; then
6707 eval "DEFAULT_$LINE"
6708 else
6709 no_cache=1
6710 fi
6711
6712 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6713
6714fi
6715
6716
6717 eval "$ac_cv_use_filedlg"
6718 if test "$no_cache" != 1; then
6719 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6720 fi
6721
6722 if test "$wxUSE_FILEDLG" = yes; then
6723 echo "$ac_t""yes" 1>&6
6724 else
6725 echo "$ac_t""no" 1>&6
6726 fi
6727
6728
6729 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6730echo "configure:6731: checking for --enable-filedlg" >&5
6731 no_cache=0
6732 # Check whether --enable-filedlg or --disable-filedlg was given.
6733if test "${enable_filedlg+set}" = set; then
6734 enableval="$enable_filedlg"
6735
6736 if test "$enableval" = yes; then
6737 ac_cv_use_filedlg='wxUSE_FINDREPLDLG=yes'
6738 else
6739 ac_cv_use_filedlg='wxUSE_FINDREPLDLG=no'
6740 fi
6741
6742else
6743
6744 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
6745 if test "x$LINE" != x ; then
6746 eval "DEFAULT_$LINE"
6747 else
6748 no_cache=1
6749 fi
6750
6751 ac_cv_use_filedlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
6752
6753fi
6754
6755
6756 eval "$ac_cv_use_filedlg"
6757 if test "$no_cache" != 1; then
6758 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6759 fi
6760
6761 if test "$wxUSE_FINDREPLDLG" = yes; then
6762 echo "$ac_t""yes" 1>&6
6763 else
6764 echo "$ac_t""no" 1>&6
6765 fi
6766
6767
6768 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6769echo "configure:6770: checking for --enable-fontdlg" >&5
6770 no_cache=0
6771 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6772if test "${enable_fontdlg+set}" = set; then
6773 enableval="$enable_fontdlg"
6774
6775 if test "$enableval" = yes; then
6776 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
6777 else
6778 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
6779 fi
6780
6781else
6782
6783 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6784 if test "x$LINE" != x ; then
6785 eval "DEFAULT_$LINE"
6786 else
6787 no_cache=1
6788 fi
6789
6790 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6791
6792fi
6793
6794
6795 eval "$ac_cv_use_fontdlg"
6796 if test "$no_cache" != 1; then
6797 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6798 fi
6799
6800 if test "$wxUSE_FONTDLG" = yes; then
6801 echo "$ac_t""yes" 1>&6
6802 else
6803 echo "$ac_t""no" 1>&6
6804 fi
6805
6806
6807 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6808echo "configure:6809: checking for --enable-dirdlg" >&5
6809 no_cache=0
6810 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6811if test "${enable_dirdlg+set}" = set; then
6812 enableval="$enable_dirdlg"
6813
6814 if test "$enableval" = yes; then
6815 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
6816 else
6817 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
6818 fi
6819
6820else
6821
6822 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6823 if test "x$LINE" != x ; then
6824 eval "DEFAULT_$LINE"
6825 else
6826 no_cache=1
6827 fi
6828
6829 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6830
6831fi
6832
6833
6834 eval "$ac_cv_use_dirdlg"
6835 if test "$no_cache" != 1; then
6836 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6837 fi
6838
6839 if test "$wxUSE_DIRDLG" = yes; then
6840 echo "$ac_t""yes" 1>&6
6841 else
6842 echo "$ac_t""no" 1>&6
6843 fi
6844
6845
6846 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6847echo "configure:6848: checking for --enable-msgdlg" >&5
6848 no_cache=0
6849 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6850if test "${enable_msgdlg+set}" = set; then
6851 enableval="$enable_msgdlg"
6852
6853 if test "$enableval" = yes; then
6854 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
6855 else
6856 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
6857 fi
6858
6859else
6860
6861 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6862 if test "x$LINE" != x ; then
6863 eval "DEFAULT_$LINE"
6864 else
6865 no_cache=1
6866 fi
6867
6868 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6869
6870fi
6871
6872
6873 eval "$ac_cv_use_msgdlg"
6874 if test "$no_cache" != 1; then
6875 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6876 fi
6877
6878 if test "$wxUSE_MSGDLG" = yes; then
6879 echo "$ac_t""yes" 1>&6
6880 else
6881 echo "$ac_t""no" 1>&6
6882 fi
6883
6884
6885 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6886echo "configure:6887: checking for --enable-numberdlg" >&5
6887 no_cache=0
6888 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6889if test "${enable_numberdlg+set}" = set; then
6890 enableval="$enable_numberdlg"
6891
6892 if test "$enableval" = yes; then
6893 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
6894 else
6895 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
6896 fi
6897
6898else
6899
6900 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6901 if test "x$LINE" != x ; then
6902 eval "DEFAULT_$LINE"
6903 else
6904 no_cache=1
6905 fi
6906
6907 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6908
6909fi
6910
6911
6912 eval "$ac_cv_use_numberdlg"
6913 if test "$no_cache" != 1; then
6914 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6915 fi
6916
6917 if test "$wxUSE_NUMBERDLG" = yes; then
6918 echo "$ac_t""yes" 1>&6
6919 else
6920 echo "$ac_t""no" 1>&6
6921 fi
6922
6923
6924 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
6925echo "configure:6926: checking for --enable-splash" >&5
6926 no_cache=0
6927 # Check whether --enable-splash or --disable-splash was given.
6928if test "${enable_splash+set}" = set; then
6929 enableval="$enable_splash"
6930
6931 if test "$enableval" = yes; then
6932 ac_cv_use_splash='wxUSE_SPLASH=yes'
6933 else
6934 ac_cv_use_splash='wxUSE_SPLASH=no'
6935 fi
6936
6937else
6938
6939 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
6940 if test "x$LINE" != x ; then
6941 eval "DEFAULT_$LINE"
6942 else
6943 no_cache=1
6944 fi
6945
6946 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
6947
6948fi
6949
6950
6951 eval "$ac_cv_use_splash"
6952 if test "$no_cache" != 1; then
6953 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
6954 fi
6955
6956 if test "$wxUSE_SPLASH" = yes; then
6957 echo "$ac_t""yes" 1>&6
6958 else
6959 echo "$ac_t""no" 1>&6
6960 fi
6961
6962
6963 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
6964echo "configure:6965: checking for --enable-textdlg" >&5
6965 no_cache=0
6966 # Check whether --enable-textdlg or --disable-textdlg was given.
6967if test "${enable_textdlg+set}" = set; then
6968 enableval="$enable_textdlg"
6969
6970 if test "$enableval" = yes; then
6971 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
6972 else
6973 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
6974 fi
6975
6976else
6977
6978 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
6979 if test "x$LINE" != x ; then
6980 eval "DEFAULT_$LINE"
6981 else
6982 no_cache=1
6983 fi
6984
6985 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
6986
6987fi
6988
6989
6990 eval "$ac_cv_use_textdlg"
6991 if test "$no_cache" != 1; then
6992 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
6993 fi
6994
6995 if test "$wxUSE_TEXTDLG" = yes; then
6996 echo "$ac_t""yes" 1>&6
6997 else
6998 echo "$ac_t""no" 1>&6
6999 fi
7000
7001
7002 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7003echo "configure:7004: checking for --enable-tipdlg" >&5
7004 no_cache=0
7005 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7006if test "${enable_tipdlg+set}" = set; then
7007 enableval="$enable_tipdlg"
7008
7009 if test "$enableval" = yes; then
7010 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
7011 else
7012 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
7013 fi
7014
7015else
7016
7017 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7018 if test "x$LINE" != x ; then
7019 eval "DEFAULT_$LINE"
7020 else
7021 no_cache=1
7022 fi
7023
7024 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7025
7026fi
7027
7028
7029 eval "$ac_cv_use_tipdlg"
7030 if test "$no_cache" != 1; then
7031 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7032 fi
7033
7034 if test "$wxUSE_STARTUP_TIPS" = yes; then
7035 echo "$ac_t""yes" 1>&6
7036 else
7037 echo "$ac_t""no" 1>&6
7038 fi
7039
7040
7041 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7042echo "configure:7043: checking for --enable-progressdlg" >&5
7043 no_cache=0
7044 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7045if test "${enable_progressdlg+set}" = set; then
7046 enableval="$enable_progressdlg"
7047
7048 if test "$enableval" = yes; then
7049 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
7050 else
7051 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
7052 fi
7053
7054else
7055
7056 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7057 if test "x$LINE" != x ; then
7058 eval "DEFAULT_$LINE"
7059 else
7060 no_cache=1
7061 fi
7062
7063 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7064
7065fi
7066
7067
7068 eval "$ac_cv_use_progressdlg"
7069 if test "$no_cache" != 1; then
7070 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7071 fi
7072
7073 if test "$wxUSE_PROGRESSDLG" = yes; then
7074 echo "$ac_t""yes" 1>&6
7075 else
7076 echo "$ac_t""no" 1>&6
7077 fi
7078
7079
7080 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7081echo "configure:7082: checking for --enable-wizarddlg" >&5
7082 no_cache=0
7083 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7084if test "${enable_wizarddlg+set}" = set; then
7085 enableval="$enable_wizarddlg"
7086
7087 if test "$enableval" = yes; then
7088 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
7089 else
7090 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
7091 fi
7092
7093else
7094
7095 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7096 if test "x$LINE" != x ; then
7097 eval "DEFAULT_$LINE"
7098 else
7099 no_cache=1
7100 fi
7101
7102 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7103
7104fi
7105
7106
7107 eval "$ac_cv_use_wizarddlg"
7108 if test "$no_cache" != 1; then
7109 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7110 fi
7111
7112 if test "$wxUSE_WIZARDDLG" = yes; then
7113 echo "$ac_t""yes" 1>&6
7114 else
7115 echo "$ac_t""no" 1>&6
7116 fi
7117
7118
7119
7120
7121 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7122echo "configure:7123: checking for --enable-menus" >&5
7123 no_cache=0
7124 # Check whether --enable-menus or --disable-menus was given.
7125if test "${enable_menus+set}" = set; then
7126 enableval="$enable_menus"
7127
7128 if test "$enableval" = yes; then
7129 ac_cv_use_menus='wxUSE_MENUS=yes'
7130 else
7131 ac_cv_use_menus='wxUSE_MENUS=no'
7132 fi
7133
7134else
7135
7136 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7137 if test "x$LINE" != x ; then
7138 eval "DEFAULT_$LINE"
7139 else
7140 no_cache=1
7141 fi
7142
7143 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7144
7145fi
7146
7147
7148 eval "$ac_cv_use_menus"
7149 if test "$no_cache" != 1; then
7150 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7151 fi
7152
7153 if test "$wxUSE_MENUS" = yes; then
7154 echo "$ac_t""yes" 1>&6
7155 else
7156 echo "$ac_t""no" 1>&6
7157 fi
7158
7159
7160 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7161echo "configure:7162: checking for --enable-miniframe" >&5
7162 no_cache=0
7163 # Check whether --enable-miniframe or --disable-miniframe was given.
7164if test "${enable_miniframe+set}" = set; then
7165 enableval="$enable_miniframe"
7166
7167 if test "$enableval" = yes; then
7168 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
7169 else
7170 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
7171 fi
7172
7173else
7174
7175 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7176 if test "x$LINE" != x ; then
7177 eval "DEFAULT_$LINE"
7178 else
7179 no_cache=1
7180 fi
7181
7182 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7183
7184fi
7185
7186
7187 eval "$ac_cv_use_miniframe"
7188 if test "$no_cache" != 1; then
7189 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7190 fi
7191
7192 if test "$wxUSE_MINIFRAME" = yes; then
7193 echo "$ac_t""yes" 1>&6
7194 else
7195 echo "$ac_t""no" 1>&6
7196 fi
7197
7198
7199 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7200echo "configure:7201: checking for --enable-tooltips" >&5
7201 no_cache=0
7202 # Check whether --enable-tooltips or --disable-tooltips was given.
7203if test "${enable_tooltips+set}" = set; then
7204 enableval="$enable_tooltips"
7205
7206 if test "$enableval" = yes; then
7207 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
7208 else
7209 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
7210 fi
7211
7212else
7213
7214 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7215 if test "x$LINE" != x ; then
7216 eval "DEFAULT_$LINE"
7217 else
7218 no_cache=1
7219 fi
7220
7221 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7222
7223fi
7224
7225
7226 eval "$ac_cv_use_tooltips"
7227 if test "$no_cache" != 1; then
7228 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7229 fi
7230
7231 if test "$wxUSE_TOOLTIPS" = yes; then
7232 echo "$ac_t""yes" 1>&6
7233 else
7234 echo "$ac_t""no" 1>&6
7235 fi
7236
7237
7238 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7239echo "configure:7240: checking for --enable-splines" >&5
7240 no_cache=0
7241 # Check whether --enable-splines or --disable-splines was given.
7242if test "${enable_splines+set}" = set; then
7243 enableval="$enable_splines"
7244
7245 if test "$enableval" = yes; then
7246 ac_cv_use_splines='wxUSE_SPLINES=yes'
7247 else
7248 ac_cv_use_splines='wxUSE_SPLINES=no'
7249 fi
7250
7251else
7252
7253 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7254 if test "x$LINE" != x ; then
7255 eval "DEFAULT_$LINE"
7256 else
7257 no_cache=1
7258 fi
7259
7260 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7261
7262fi
7263
7264
7265 eval "$ac_cv_use_splines"
7266 if test "$no_cache" != 1; then
7267 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7268 fi
7269
7270 if test "$wxUSE_SPLINES" = yes; then
7271 echo "$ac_t""yes" 1>&6
7272 else
7273 echo "$ac_t""no" 1>&6
7274 fi
7275
7276
7277 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7278echo "configure:7279: checking for --enable-validators" >&5
7279 no_cache=0
7280 # Check whether --enable-validators or --disable-validators was given.
7281if test "${enable_validators+set}" = set; then
7282 enableval="$enable_validators"
7283
7284 if test "$enableval" = yes; then
7285 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
7286 else
7287 ac_cv_use_validators='wxUSE_VALIDATORS=no'
7288 fi
7289
7290else
7291
7292 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7293 if test "x$LINE" != x ; then
7294 eval "DEFAULT_$LINE"
7295 else
7296 no_cache=1
7297 fi
7298
7299 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7300
7301fi
7302
7303
7304 eval "$ac_cv_use_validators"
7305 if test "$no_cache" != 1; then
7306 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7307 fi
7308
7309 if test "$wxUSE_VALIDATORS" = yes; then
7310 echo "$ac_t""yes" 1>&6
7311 else
7312 echo "$ac_t""no" 1>&6
7313 fi
7314
7315
7316 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7317echo "configure:7318: checking for --enable-busyinfo" >&5
7318 no_cache=0
7319 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7320if test "${enable_busyinfo+set}" = set; then
7321 enableval="$enable_busyinfo"
7322
7323 if test "$enableval" = yes; then
7324 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
7325 else
7326 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
7327 fi
7328
7329else
7330
7331 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7332 if test "x$LINE" != x ; then
7333 eval "DEFAULT_$LINE"
7334 else
7335 no_cache=1
7336 fi
7337
7338 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7339
7340fi
7341
7342
7343 eval "$ac_cv_use_busyinfo"
7344 if test "$no_cache" != 1; then
7345 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7346 fi
7347
7348 if test "$wxUSE_BUSYINFO" = yes; then
7349 echo "$ac_t""yes" 1>&6
7350 else
7351 echo "$ac_t""no" 1>&6
7352 fi
7353
7354
7355 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7356echo "configure:7357: checking for --enable-joystick" >&5
7357 no_cache=0
7358 # Check whether --enable-joystick or --disable-joystick was given.
7359if test "${enable_joystick+set}" = set; then
7360 enableval="$enable_joystick"
7361
7362 if test "$enableval" = yes; then
7363 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
7364 else
7365 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
7366 fi
7367
7368else
7369
7370 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7371 if test "x$LINE" != x ; then
7372 eval "DEFAULT_$LINE"
7373 else
7374 no_cache=1
7375 fi
7376
7377 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7378
7379fi
7380
7381
7382 eval "$ac_cv_use_joystick"
7383 if test "$no_cache" != 1; then
7384 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7385 fi
7386
7387 if test "$wxUSE_JOYSTICK" = yes; then
7388 echo "$ac_t""yes" 1>&6
7389 else
7390 echo "$ac_t""no" 1>&6
7391 fi
7392
7393
7394 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7395echo "configure:7396: checking for --enable-metafile" >&5
7396 no_cache=0
7397 # Check whether --enable-metafile or --disable-metafile was given.
7398if test "${enable_metafile+set}" = set; then
7399 enableval="$enable_metafile"
7400
7401 if test "$enableval" = yes; then
7402 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7403 else
7404 ac_cv_use_metafile='wxUSE_METAFILE=no'
7405 fi
7406
7407else
7408
7409 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7410 if test "x$LINE" != x ; then
7411 eval "DEFAULT_$LINE"
7412 else
7413 no_cache=1
7414 fi
7415
7416 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7417
7418fi
7419
7420
7421 eval "$ac_cv_use_metafile"
7422 if test "$no_cache" != 1; then
7423 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7424 fi
7425
7426 if test "$wxUSE_METAFILE" = yes; then
7427 echo "$ac_t""yes" 1>&6
7428 else
7429 echo "$ac_t""no" 1>&6
7430 fi
7431
7432
7433 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7434echo "configure:7435: checking for --enable-dragimage" >&5
7435 no_cache=0
7436 # Check whether --enable-dragimage or --disable-dragimage was given.
7437if test "${enable_dragimage+set}" = set; then
7438 enableval="$enable_dragimage"
7439
7440 if test "$enableval" = yes; then
7441 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
7442 else
7443 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
7444 fi
7445
7446else
7447
7448 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7449 if test "x$LINE" != x ; then
7450 eval "DEFAULT_$LINE"
7451 else
7452 no_cache=1
7453 fi
7454
7455 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7456
7457fi
7458
7459
7460 eval "$ac_cv_use_dragimage"
7461 if test "$no_cache" != 1; then
7462 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7463 fi
7464
7465 if test "$wxUSE_DRAGIMAGE" = yes; then
7466 echo "$ac_t""yes" 1>&6
7467 else
7468 echo "$ac_t""no" 1>&6
7469 fi
7470
7471
7472
7473
7474 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7475echo "configure:7476: checking for --enable-image" >&5
7476 no_cache=0
7477 # Check whether --enable-image or --disable-image was given.
7478if test "${enable_image+set}" = set; then
7479 enableval="$enable_image"
7480
7481 if test "$enableval" = yes; then
7482 ac_cv_use_image='wxUSE_IMAGE=yes'
7483 else
7484 ac_cv_use_image='wxUSE_IMAGE=no'
7485 fi
7486
7487else
7488
7489 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7490 if test "x$LINE" != x ; then
7491 eval "DEFAULT_$LINE"
7492 else
7493 no_cache=1
7494 fi
7495
7496 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7497
7498fi
7499
7500
7501 eval "$ac_cv_use_image"
7502 if test "$no_cache" != 1; then
7503 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7504 fi
7505
7506 if test "$wxUSE_IMAGE" = yes; then
7507 echo "$ac_t""yes" 1>&6
7508 else
7509 echo "$ac_t""no" 1>&6
7510 fi
7511
7512
7513 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7514echo "configure:7515: checking for --enable-gif" >&5
7515 no_cache=0
7516 # Check whether --enable-gif or --disable-gif was given.
7517if test "${enable_gif+set}" = set; then
7518 enableval="$enable_gif"
7519
7520 if test "$enableval" = yes; then
7521 ac_cv_use_gif='wxUSE_GIF=yes'
7522 else
7523 ac_cv_use_gif='wxUSE_GIF=no'
7524 fi
7525
7526else
7527
7528 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7529 if test "x$LINE" != x ; then
7530 eval "DEFAULT_$LINE"
7531 else
7532 no_cache=1
7533 fi
7534
7535 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7536
7537fi
7538
7539
7540 eval "$ac_cv_use_gif"
7541 if test "$no_cache" != 1; then
7542 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7543 fi
7544
7545 if test "$wxUSE_GIF" = yes; then
7546 echo "$ac_t""yes" 1>&6
7547 else
7548 echo "$ac_t""no" 1>&6
7549 fi
7550
7551
7552 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7553echo "configure:7554: checking for --enable-pcx" >&5
7554 no_cache=0
7555 # Check whether --enable-pcx or --disable-pcx was given.
7556if test "${enable_pcx+set}" = set; then
7557 enableval="$enable_pcx"
7558
7559 if test "$enableval" = yes; then
7560 ac_cv_use_pcx='wxUSE_PCX=yes'
7561 else
7562 ac_cv_use_pcx='wxUSE_PCX=no'
7563 fi
7564
7565else
7566
7567 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7568 if test "x$LINE" != x ; then
7569 eval "DEFAULT_$LINE"
7570 else
7571 no_cache=1
7572 fi
7573
7574 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7575
7576fi
7577
7578
7579 eval "$ac_cv_use_pcx"
7580 if test "$no_cache" != 1; then
7581 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7582 fi
7583
7584 if test "$wxUSE_PCX" = yes; then
7585 echo "$ac_t""yes" 1>&6
7586 else
7587 echo "$ac_t""no" 1>&6
7588 fi
7589
7590
7591 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7592echo "configure:7593: checking for --enable-pnm" >&5
7593 no_cache=0
7594 # Check whether --enable-pnm or --disable-pnm was given.
7595if test "${enable_pnm+set}" = set; then
7596 enableval="$enable_pnm"
7597
7598 if test "$enableval" = yes; then
7599 ac_cv_use_pnm='wxUSE_PNM=yes'
7600 else
7601 ac_cv_use_pnm='wxUSE_PNM=no'
7602 fi
7603
7604else
7605
7606 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7607 if test "x$LINE" != x ; then
7608 eval "DEFAULT_$LINE"
7609 else
7610 no_cache=1
7611 fi
7612
7613 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7614
7615fi
7616
7617
7618 eval "$ac_cv_use_pnm"
7619 if test "$no_cache" != 1; then
7620 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7621 fi
7622
7623 if test "$wxUSE_PNM" = yes; then
7624 echo "$ac_t""yes" 1>&6
7625 else
7626 echo "$ac_t""no" 1>&6
7627 fi
7628
7629
7630 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7631echo "configure:7632: checking for --enable-pnm" >&5
7632 no_cache=0
7633 # Check whether --enable-pnm or --disable-pnm was given.
7634if test "${enable_pnm+set}" = set; then
7635 enableval="$enable_pnm"
7636
7637 if test "$enableval" = yes; then
7638 ac_cv_use_pnm='wxUSE_XPM=yes'
7639 else
7640 ac_cv_use_pnm='wxUSE_XPM=no'
7641 fi
7642
7643else
7644
7645 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7646 if test "x$LINE" != x ; then
7647 eval "DEFAULT_$LINE"
7648 else
7649 no_cache=1
7650 fi
7651
7652 ac_cv_use_pnm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7653
7654fi
7655
7656
7657 eval "$ac_cv_use_pnm"
7658 if test "$no_cache" != 1; then
7659 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7660 fi
7661
7662 if test "$wxUSE_XPM" = yes; then
7663 echo "$ac_t""yes" 1>&6
7664 else
7665 echo "$ac_t""no" 1>&6
7666 fi
7667
7668
7669fi
7670
7671
7672 echo "saving argument cache $wx_arg_cache_file"
7673 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
7674
7675
7676
7677echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7678echo "configure:7679: checking for toolkit" >&5
7679
7680if test "$wxUSE_GUI" = "yes"; then
7681
7682 if test "$USE_BEOS" = 1; then
7683 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7684 fi
7685
7686 if test "$TOOLKIT_GIVEN" = 1; then
7687 for toolkit in `echo $ALL_TOOLKITS`; do
7688 var=wxUSE_$toolkit
7689 eval "value=\$${var}"
7690 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
7691 done
7692 else
7693 for toolkit in `echo $ALL_TOOLKITS`; do
7694 if test "$has_toolkit_in_cache" != 1; then
7695 var=DEFAULT_DEFAULT_wxUSE_$toolkit
7696 else
7697 var=DEFAULT_wxUSE_$toolkit
7698 fi
7699 eval "wxUSE_$toolkit=\$${var}"
7700 done
7701 fi
7702
7703 NUM_TOOLKITS=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
7704 + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} \
7705 + ${wxUSE_MGL:-0}`
7706
7707 case "${host}" in
7708 *-pc-os2_emx )
7709 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7710 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7711 LEX_STEM="lexyy"
7712 ;;
7713 *)
7714 PATH_IFS=':'
7715 LEX_STEM="lex.yy"
7716 ;;
7717 esac
7718
7719 case "$NUM_TOOLKITS" in
7720 1)
7721 ;;
7722 0)
7723 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7724 ;;
7725 *)
7726 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7727 esac
7728
7729 for toolkit in `echo $ALL_TOOLKITS`; do
7730 var=wxUSE_$toolkit
7731 eval "value=\$${var}"
7732 if test "x$value" != x; then
7733 cache_var=CACHE_$toolkit
7734 eval "cache=\$${cache_var}"
7735 if test "$cache" = 1; then
7736 echo "$var=$value" >> ${wx_arg_cache_file}
7737 fi
7738 if test "$value" = 1; then
7739 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
7740 echo "$ac_t""$toolkit_echo" 1>&6
7741 fi
7742 fi
7743 done
7744else
7745 PATH_IFS=':'
7746 echo "$ac_t""base ($host_alias hosted) only" 1>&6
7747fi
7748
7749
7750cat > confcache <<\EOF
7751# This file is a shell script that caches the results of configure
7752# tests run on this system so they can be shared between configure
7753# scripts and configure runs. It is not useful on other systems.
7754# If it contains results you don't want to keep, you may remove or edit it.
7755#
7756# By default, configure uses ./config.cache as the cache file,
7757# creating it if it does not exist already. You can give configure
7758# the --cache-file=FILE option to use a different cache file; that is
7759# what configure does when it calls configure scripts in
7760# subdirectories, so they share the cache.
7761# Giving --cache-file=/dev/null disables caching, for debugging configure.
7762# config.status only pays attention to the cache file if you give it the
7763# --recheck option to rerun configure.
7764#
7765EOF
7766# The following way of writing the cache mishandles newlines in values,
7767# but we know of no workaround that is simple, portable, and efficient.
7768# So, don't put newlines in cache variables' values.
7769# Ultrix sh set writes to stderr and can't be redirected directly,
7770# and sets the high bit in the cache file unless we assign to the vars.
7771(set) 2>&1 |
7772 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7773 *ac_space=\ *)
7774 # `set' does not quote correctly, so add quotes (double-quote substitution
7775 # turns \\\\ into \\, and sed turns \\ into \).
7776 sed -n \
7777 -e "s/'/'\\\\''/g" \
7778 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7779 ;;
7780 *)
7781 # `set' quotes correctly as required by POSIX, so do not add quotes.
7782 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7783 ;;
7784 esac >> confcache
7785if cmp -s $cache_file confcache; then
7786 :
7787else
7788 if test -w $cache_file; then
7789 echo "updating cache $cache_file"
7790 cat confcache > $cache_file
7791 else
7792 echo "not updating unwritable cache $cache_file"
7793 fi
7794fi
7795rm -f confcache
7796
7797
7798if test "$build" != "$host" ; then
7799 if test "$USE_WIN32" = 1 ; then
7800 CC=$host_alias-gcc
7801 CXX=$host_alias-c++
7802 AR=$host_alias-ar
7803 RANLIB=$host_alias-ranlib
7804 DLLTOOL=$host_alias-dlltool
7805 RESCOMP=$host_alias-windres
7806 LD=$host_alias-ld
7807 NM=$host_alias-nm
7808 STRIP=$host_alias-strip
7809 else
7810 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
7811 fi
7812fi
7813
7814# Extract the first word of "gcc", so it can be a program name with args.
7815set dummy gcc; ac_word=$2
7816echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7817echo "configure:7818: checking for $ac_word" >&5
7818if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7819 echo $ac_n "(cached) $ac_c" 1>&6
7820else
7821 if test -n "$CC"; then
7822 ac_cv_prog_CC="$CC" # Let the user override the test.
7823else
7824 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
7825 ac_dummy="$PATH"
7826 for ac_dir in $ac_dummy; do
7827 test -z "$ac_dir" && ac_dir=.
7828 if test -f $ac_dir/$ac_word; then
7829 ac_cv_prog_CC="gcc"
7830 break
7831 fi
7832 done
7833 IFS="$ac_save_ifs"
7834fi
7835fi
7836CC="$ac_cv_prog_CC"
7837if test -n "$CC"; then
7838 echo "$ac_t""$CC" 1>&6
7839else
7840 echo "$ac_t""no" 1>&6
7841fi
7842
7843if test -z "$CC"; then
7844 # Extract the first word of "cc", so it can be a program name with args.
7845set dummy cc; ac_word=$2
7846echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7847echo "configure:7848: checking for $ac_word" >&5
7848if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7849 echo $ac_n "(cached) $ac_c" 1>&6
7850else
7851 if test -n "$CC"; then
7852 ac_cv_prog_CC="$CC" # Let the user override the test.
7853else
7854 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
7855 ac_prog_rejected=no
7856 ac_dummy="$PATH"
7857 for ac_dir in $ac_dummy; do
7858 test -z "$ac_dir" && ac_dir=.
7859 if test -f $ac_dir/$ac_word; then
7860 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7861 ac_prog_rejected=yes
7862 continue
7863 fi
7864 ac_cv_prog_CC="cc"
7865 break
7866 fi
7867 done
7868 IFS="$ac_save_ifs"
7869if test $ac_prog_rejected = yes; then
7870 # We found a bogon in the path, so make sure we never use it.
7871 set dummy $ac_cv_prog_CC
7872 shift
7873 if test $# -gt 0; then
7874 # We chose a different compiler from the bogus one.
7875 # However, it has the same basename, so the bogon will be chosen
7876 # first if we set CC to just the basename; use the full file name.
7877 shift
7878 set dummy "$ac_dir/$ac_word" "$@"
7879 shift
7880 ac_cv_prog_CC="$@"
7881 fi
7882fi
7883fi
7884fi
7885CC="$ac_cv_prog_CC"
7886if test -n "$CC"; then
7887 echo "$ac_t""$CC" 1>&6
7888else
7889 echo "$ac_t""no" 1>&6
7890fi
7891
7892 if test -z "$CC"; then
7893 case "`uname -s`" in
7894 *win32* | *WIN32*)
7895 # Extract the first word of "cl", so it can be a program name with args.
7896set dummy cl; ac_word=$2
7897echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7898echo "configure:7899: checking for $ac_word" >&5
7899if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7900 echo $ac_n "(cached) $ac_c" 1>&6
7901else
7902 if test -n "$CC"; then
7903 ac_cv_prog_CC="$CC" # Let the user override the test.
7904else
7905 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
7906 ac_dummy="$PATH"
7907 for ac_dir in $ac_dummy; do
7908 test -z "$ac_dir" && ac_dir=.
7909 if test -f $ac_dir/$ac_word; then
7910 ac_cv_prog_CC="cl"
7911 break
7912 fi
7913 done
7914 IFS="$ac_save_ifs"
7915fi
7916fi
7917CC="$ac_cv_prog_CC"
7918if test -n "$CC"; then
7919 echo "$ac_t""$CC" 1>&6
7920else
7921 echo "$ac_t""no" 1>&6
7922fi
7923 ;;
7924 esac
7925 fi
7926 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7927fi
7928
7929echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7930echo "configure:7931: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
7931
7932ac_ext=c
7933# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7934ac_cpp='$CPP $CPPFLAGS'
7935ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7936ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7937cross_compiling=$ac_cv_prog_cc_cross
7938
7939cat > conftest.$ac_ext << EOF
7940
7941#line 7942 "configure"
7942#include "confdefs.h"
7943
7944main(){return(0);}
7945EOF
7946if { (eval echo configure:7947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7947 ac_cv_prog_cc_works=yes
7948 # If we can't run a trivial program, we are probably using a cross compiler.
7949 if (./conftest; exit) 2>/dev/null; then
7950 ac_cv_prog_cc_cross=no
7951 else
7952 ac_cv_prog_cc_cross=yes
7953 fi
7954else
7955 echo "configure: failed program was:" >&5
7956 cat conftest.$ac_ext >&5
7957 ac_cv_prog_cc_works=no
7958fi
7959rm -fr conftest*
7960ac_ext=c
7961# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7962ac_cpp='$CPP $CPPFLAGS'
7963ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7964ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7965cross_compiling=$ac_cv_prog_cc_cross
7966
7967echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
7968if test $ac_cv_prog_cc_works = no; then
7969 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
7970fi
7971echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7972echo "configure:7973: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
7973echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
7974cross_compiling=$ac_cv_prog_cc_cross
7975
7976echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
7977echo "configure:7978: checking whether we are using GNU C" >&5
7978if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
7979 echo $ac_n "(cached) $ac_c" 1>&6
7980else
7981 cat > conftest.c <<EOF
7982#ifdef __GNUC__
7983 yes;
7984#endif
7985EOF
7986if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:7987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
7987 ac_cv_prog_gcc=yes
7988else
7989 ac_cv_prog_gcc=no
7990fi
7991fi
7992
7993echo "$ac_t""$ac_cv_prog_gcc" 1>&6
7994
7995if test $ac_cv_prog_gcc = yes; then
7996 GCC=yes
7997else
7998 GCC=
7999fi
8000
8001ac_test_CFLAGS="${CFLAGS+set}"
8002ac_save_CFLAGS="$CFLAGS"
8003CFLAGS=
8004echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8005echo "configure:8006: checking whether ${CC-cc} accepts -g" >&5
8006if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8007 echo $ac_n "(cached) $ac_c" 1>&6
8008else
8009 echo 'void f(){}' > conftest.c
8010if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8011 ac_cv_prog_cc_g=yes
8012else
8013 ac_cv_prog_cc_g=no
8014fi
8015rm -f conftest*
8016
8017fi
8018
8019echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8020if test "$ac_test_CFLAGS" = set; then
8021 CFLAGS="$ac_save_CFLAGS"
8022elif test $ac_cv_prog_cc_g = yes; then
8023 if test "$GCC" = yes; then
8024 CFLAGS="-g -O2"
8025 else
8026 CFLAGS="-g"
8027 fi
8028else
8029 if test "$GCC" = yes; then
8030 CFLAGS="-O2"
8031 else
8032 CFLAGS=
8033 fi
8034fi
8035
8036
8037CFLAGS=`echo "$CFLAGS" | sed 's/-g//g'`
8038
8039echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8040echo "configure:8041: checking how to run the C preprocessor" >&5
8041# On Suns, sometimes $CPP names a directory.
8042if test -n "$CPP" && test -d "$CPP"; then
8043 CPP=
8044fi
8045if test -z "$CPP"; then
8046if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8047 echo $ac_n "(cached) $ac_c" 1>&6
8048else
8049 # This must be in double quotes, not single quotes, because CPP may get
8050 # substituted into the Makefile and "${CC-cc}" will confuse make.
8051 CPP="${CC-cc} -E"
8052 # On the NeXT, cc -E runs the code through the compiler's parser,
8053 # not just through cpp.
8054 cat > conftest.$ac_ext <<EOF
8055#line 8056 "configure"
8056#include "confdefs.h"
8057#include <assert.h>
8058Syntax Error
8059EOF
8060ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8061{ (eval echo configure:8062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8062ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8063if test -z "$ac_err"; then
8064 :
8065else
8066 echo "$ac_err" >&5
8067 echo "configure: failed program was:" >&5
8068 cat conftest.$ac_ext >&5
8069 rm -rf conftest*
8070 CPP="${CC-cc} -E -traditional-cpp"
8071 cat > conftest.$ac_ext <<EOF
8072#line 8073 "configure"
8073#include "confdefs.h"
8074#include <assert.h>
8075Syntax Error
8076EOF
8077ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8078{ (eval echo configure:8079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8079ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8080if test -z "$ac_err"; then
8081 :
8082else
8083 echo "$ac_err" >&5
8084 echo "configure: failed program was:" >&5
8085 cat conftest.$ac_ext >&5
8086 rm -rf conftest*
8087 CPP="${CC-cc} -nologo -E"
8088 cat > conftest.$ac_ext <<EOF
8089#line 8090 "configure"
8090#include "confdefs.h"
8091#include <assert.h>
8092Syntax Error
8093EOF
8094ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8095{ (eval echo configure:8096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8096ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8097if test -z "$ac_err"; then
8098 :
8099else
8100 echo "$ac_err" >&5
8101 echo "configure: failed program was:" >&5
8102 cat conftest.$ac_ext >&5
8103 rm -rf conftest*
8104 CPP=/lib/cpp
8105fi
8106rm -f conftest*
8107fi
8108rm -f conftest*
8109fi
8110rm -f conftest*
8111 ac_cv_prog_CPP="$CPP"
8112fi
8113 CPP="$ac_cv_prog_CPP"
8114else
8115 ac_cv_prog_CPP="$CPP"
8116fi
8117echo "$ac_t""$CPP" 1>&6
8118
8119if test $ac_cv_prog_gcc = yes; then
8120 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8121echo "configure:8122: checking whether ${CC-cc} needs -traditional" >&5
8122if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8123 echo $ac_n "(cached) $ac_c" 1>&6
8124else
8125 ac_pattern="Autoconf.*'x'"
8126 cat > conftest.$ac_ext <<EOF
8127#line 8128 "configure"
8128#include "confdefs.h"
8129#include <sgtty.h>
8130Autoconf TIOCGETP
8131EOF
8132if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8133 egrep "$ac_pattern" >/dev/null 2>&1; then
8134 rm -rf conftest*
8135 ac_cv_prog_gcc_traditional=yes
8136else
8137 rm -rf conftest*
8138 ac_cv_prog_gcc_traditional=no
8139fi
8140rm -f conftest*
8141
8142
8143 if test $ac_cv_prog_gcc_traditional = no; then
8144 cat > conftest.$ac_ext <<EOF
8145#line 8146 "configure"
8146#include "confdefs.h"
8147#include <termio.h>
8148Autoconf TCGETA
8149EOF
8150if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8151 egrep "$ac_pattern" >/dev/null 2>&1; then
8152 rm -rf conftest*
8153 ac_cv_prog_gcc_traditional=yes
8154fi
8155rm -f conftest*
8156
8157 fi
8158fi
8159
8160echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8161 if test $ac_cv_prog_gcc_traditional = yes; then
8162 CC="$CC -traditional"
8163 fi
8164fi
8165
8166
8167
8168ac_ext=C
8169# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8170ac_cpp='$CXXCPP $CPPFLAGS'
8171ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8172ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8173cross_compiling=$ac_cv_prog_cxx_cross
8174
8175
8176for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
8177do
8178# Extract the first word of "$ac_prog", so it can be a program name with args.
8179set dummy $ac_prog; ac_word=$2
8180echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8181echo "configure:8182: checking for $ac_word" >&5
8182if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8183 echo $ac_n "(cached) $ac_c" 1>&6
8184else
8185 if test -n "$CXX"; then
8186 ac_cv_prog_CXX="$CXX" # Let the user override the test.
8187else
8188 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8189 ac_dummy="$PATH"
8190 for ac_dir in $ac_dummy; do
8191 test -z "$ac_dir" && ac_dir=.
8192 if test -f $ac_dir/$ac_word; then
8193 ac_cv_prog_CXX="$ac_prog"
8194 break
8195 fi
8196 done
8197 IFS="$ac_save_ifs"
8198fi
8199fi
8200CXX="$ac_cv_prog_CXX"
8201if test -n "$CXX"; then
8202 echo "$ac_t""$CXX" 1>&6
8203else
8204 echo "$ac_t""no" 1>&6
8205fi
8206
8207test -n "$CXX" && break
8208done
8209test -n "$CXX" || CXX="gcc"
8210
8211
8212echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8213echo "configure:8214: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8214
8215ac_ext=C
8216# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8217ac_cpp='$CXXCPP $CPPFLAGS'
8218ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8219ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8220cross_compiling=$ac_cv_prog_cxx_cross
8221
8222cat > conftest.$ac_ext << EOF
8223
8224#line 8225 "configure"
8225#include "confdefs.h"
8226
8227int main(){return(0);}
8228EOF
8229if { (eval echo configure:8230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8230 ac_cv_prog_cxx_works=yes
8231 # If we can't run a trivial program, we are probably using a cross compiler.
8232 if (./conftest; exit) 2>/dev/null; then
8233 ac_cv_prog_cxx_cross=no
8234 else
8235 ac_cv_prog_cxx_cross=yes
8236 fi
8237else
8238 echo "configure: failed program was:" >&5
8239 cat conftest.$ac_ext >&5
8240 ac_cv_prog_cxx_works=no
8241fi
8242rm -fr conftest*
8243ac_ext=C
8244# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8245ac_cpp='$CXXCPP $CPPFLAGS'
8246ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8247ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8248cross_compiling=$ac_cv_prog_cxx_cross
8249
8250echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8251if test $ac_cv_prog_cxx_works = no; then
8252 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8253fi
8254echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8255echo "configure:8256: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8256echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8257cross_compiling=$ac_cv_prog_cxx_cross
8258
8259echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8260echo "configure:8261: checking whether we are using GNU C++" >&5
8261if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8262 echo $ac_n "(cached) $ac_c" 1>&6
8263else
8264 cat > conftest.C <<EOF
8265#ifdef __GNUC__
8266 yes;
8267#endif
8268EOF
8269if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:8270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
8270 ac_cv_prog_gxx=yes
8271else
8272 ac_cv_prog_gxx=no
8273fi
8274fi
8275
8276echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8277
8278if test $ac_cv_prog_gxx = yes; then
8279 GXX=yes
8280else
8281 GXX=
8282fi
8283
8284ac_test_CXXFLAGS="${CXXFLAGS+set}"
8285ac_save_CXXFLAGS="$CXXFLAGS"
8286CXXFLAGS=
8287echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8288echo "configure:8289: checking whether ${CXX-g++} accepts -g" >&5
8289if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8290 echo $ac_n "(cached) $ac_c" 1>&6
8291else
8292 echo 'void f(){}' > conftest.cc
8293if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8294 ac_cv_prog_cxx_g=yes
8295else
8296 ac_cv_prog_cxx_g=no
8297fi
8298rm -f conftest*
8299
8300fi
8301
8302echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8303if test "$ac_test_CXXFLAGS" = set; then
8304 CXXFLAGS="$ac_save_CXXFLAGS"
8305elif test $ac_cv_prog_cxx_g = yes; then
8306 if test "$GXX" = yes; then
8307 CXXFLAGS="-g -O2"
8308 else
8309 CXXFLAGS="-g"
8310 fi
8311else
8312 if test "$GXX" = yes; then
8313 CXXFLAGS="-O2"
8314 else
8315 CXXFLAGS=
8316 fi
8317fi
8318
8319
8320CXXFLAGS=`echo "$CXXFLAGS" | sed 's/-g//g'`
8321
8322ac_ext=c
8323# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8324ac_cpp='$CPP $CPPFLAGS'
8325ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8326ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8327cross_compiling=$ac_cv_prog_cc_cross
8328
8329
8330# Extract the first word of "ranlib", so it can be a program name with args.
8331set dummy ranlib; ac_word=$2
8332echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8333echo "configure:8334: checking for $ac_word" >&5
8334if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8335 echo $ac_n "(cached) $ac_c" 1>&6
8336else
8337 if test -n "$RANLIB"; then
8338 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8339else
8340 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8341 ac_dummy="$PATH"
8342 for ac_dir in $ac_dummy; do
8343 test -z "$ac_dir" && ac_dir=.
8344 if test -f $ac_dir/$ac_word; then
8345 ac_cv_prog_RANLIB="ranlib"
8346 break
8347 fi
8348 done
8349 IFS="$ac_save_ifs"
8350 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
8351fi
8352fi
8353RANLIB="$ac_cv_prog_RANLIB"
8354if test -n "$RANLIB"; then
8355 echo "$ac_t""$RANLIB" 1>&6
8356else
8357 echo "$ac_t""no" 1>&6
8358fi
8359
8360
8361# Extract the first word of "ar", so it can be a program name with args.
8362set dummy ar; ac_word=$2
8363echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8364echo "configure:8365: checking for $ac_word" >&5
8365if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8366 echo $ac_n "(cached) $ac_c" 1>&6
8367else
8368 if test -n "$AR"; then
8369 ac_cv_prog_AR="$AR" # Let the user override the test.
8370else
8371 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8372 ac_dummy="$PATH"
8373 for ac_dir in $ac_dummy; do
8374 test -z "$ac_dir" && ac_dir=.
8375 if test -f $ac_dir/$ac_word; then
8376 ac_cv_prog_AR="ar"
8377 break
8378 fi
8379 done
8380 IFS="$ac_save_ifs"
8381 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
8382fi
8383fi
8384AR="$ac_cv_prog_AR"
8385if test -n "$AR"; then
8386 echo "$ac_t""$AR" 1>&6
8387else
8388 echo "$ac_t""no" 1>&6
8389fi
8390
8391
8392# Find a good install program. We prefer a C program (faster),
8393# so one script is as good as another. But avoid the broken or
8394# incompatible versions:
8395# SysV /etc/install, /usr/sbin/install
8396# SunOS /usr/etc/install
8397# IRIX /sbin/install
8398# AIX /bin/install
8399# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8400# AFS /usr/afsws/bin/install, which mishandles nonexistent args
8401# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8402# ./install, which can be erroneously created by make from ./install.sh.
8403echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8404echo "configure:8405: checking for a BSD compatible install" >&5
8405if test -z "$INSTALL"; then
8406if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8407 echo $ac_n "(cached) $ac_c" 1>&6
8408else
8409 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
8410 for ac_dir in $PATH; do
8411 # Account for people who put trailing slashes in PATH elements.
8412 case "$ac_dir/" in
8413 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
8414 *)
8415 # OSF1 and SCO ODT 3.0 have their own names for install.
8416 # Don't use installbsd from OSF since it installs stuff as root
8417 # by default.
8418 for ac_prog in ginstall scoinst install; do
8419 if test -f $ac_dir/$ac_prog; then
8420 if test $ac_prog = install &&
8421 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
8422 # AIX install. It has an incompatible calling convention.
8423 :
8424 else
8425 ac_cv_path_install="$ac_dir/$ac_prog -c"
8426 break 2
8427 fi
8428 fi
8429 done
8430 ;;
8431 esac
8432 done
8433 IFS="$ac_save_IFS"
8434
8435fi
8436 if test "${ac_cv_path_install+set}" = set; then
8437 INSTALL="$ac_cv_path_install"
8438 else
8439 # As a last resort, use the slow shell script. We don't cache a
8440 # path for INSTALL within a source directory, because that will
8441 # break other packages using the cache if that directory is
8442 # removed, or if the path is relative.
8443 INSTALL="$ac_install_sh"
8444 fi
8445fi
8446echo "$ac_t""$INSTALL" 1>&6
8447
8448# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8449# It thinks the first close brace ends the variable substitution.
8450test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
8451
8452test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
8453
8454test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
8455
8456
8457# Extract the first word of "strip", so it can be a program name with args.
8458set dummy strip; ac_word=$2
8459echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8460echo "configure:8461: checking for $ac_word" >&5
8461if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8462 echo $ac_n "(cached) $ac_c" 1>&6
8463else
8464 if test -n "$STRIP"; then
8465 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8466else
8467 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8468 ac_dummy="$PATH"
8469 for ac_dir in $ac_dummy; do
8470 test -z "$ac_dir" && ac_dir=.
8471 if test -f $ac_dir/$ac_word; then
8472 ac_cv_prog_STRIP="strip"
8473 break
8474 fi
8475 done
8476 IFS="$ac_save_ifs"
8477 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
8478fi
8479fi
8480STRIP="$ac_cv_prog_STRIP"
8481if test -n "$STRIP"; then
8482 echo "$ac_t""$STRIP" 1>&6
8483else
8484 echo "$ac_t""no" 1>&6
8485fi
8486
8487
8488echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8489echo "configure:8490: checking make for VPATH support" >&5
8490cat - << EOF > confMake
8491check : file
8492 cp \$? \$@
8493 cp \$? final_file
8494EOF
8495
8496if test ! -d sub ; then
8497 mkdir sub
8498fi
8499echo dummy > sub/file
8500${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
8501RESULT=$?
8502rm -f sub/file check final_file confMake
8503rmdir sub
8504if test "$RESULT" = 0; then
8505 echo "$ac_t""yes" 1>&6
8506else
8507 echo "$ac_t""no" 1>&6
8508 { echo "configure: error:
8509You need a make-utility that is able to use the variable
8510VPATH correctly.
8511If your version of make does not support VPATH correctly,
8512please install GNU-make (possibly as gmake), and start
8513configure with the following command:
8514export MAKE=gmake; ./configure for sh-type shells
8515setenv MAKE gmake; ./configure for csh-type shells
8516Also please do remember to use gmake in this case every time
8517you are trying to compile.
8518" 1>&2; exit 1; }
8519fi
8520
8521for ac_prog in 'bison -y' byacc
8522do
8523# Extract the first word of "$ac_prog", so it can be a program name with args.
8524set dummy $ac_prog; ac_word=$2
8525echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8526echo "configure:8527: checking for $ac_word" >&5
8527if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8528 echo $ac_n "(cached) $ac_c" 1>&6
8529else
8530 if test -n "$YACC"; then
8531 ac_cv_prog_YACC="$YACC" # Let the user override the test.
8532else
8533 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8534 ac_dummy="$PATH"
8535 for ac_dir in $ac_dummy; do
8536 test -z "$ac_dir" && ac_dir=.
8537 if test -f $ac_dir/$ac_word; then
8538 ac_cv_prog_YACC="$ac_prog"
8539 break
8540 fi
8541 done
8542 IFS="$ac_save_ifs"
8543fi
8544fi
8545YACC="$ac_cv_prog_YACC"
8546if test -n "$YACC"; then
8547 echo "$ac_t""$YACC" 1>&6
8548else
8549 echo "$ac_t""no" 1>&6
8550fi
8551
8552test -n "$YACC" && break
8553done
8554test -n "$YACC" || YACC="yacc"
8555
8556
8557# Extract the first word of "flex", so it can be a program name with args.
8558set dummy flex; ac_word=$2
8559echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8560echo "configure:8561: checking for $ac_word" >&5
8561if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8562 echo $ac_n "(cached) $ac_c" 1>&6
8563else
8564 if test -n "$LEX"; then
8565 ac_cv_prog_LEX="$LEX" # Let the user override the test.
8566else
8567 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8568 ac_dummy="$PATH"
8569 for ac_dir in $ac_dummy; do
8570 test -z "$ac_dir" && ac_dir=.
8571 if test -f $ac_dir/$ac_word; then
8572 ac_cv_prog_LEX="flex"
8573 break
8574 fi
8575 done
8576 IFS="$ac_save_ifs"
8577 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"
8578fi
8579fi
8580LEX="$ac_cv_prog_LEX"
8581if test -n "$LEX"; then
8582 echo "$ac_t""$LEX" 1>&6
8583else
8584 echo "$ac_t""no" 1>&6
8585fi
8586
8587if test -z "$LEXLIB"
8588then
8589 case "$LEX" in
8590 flex*) ac_lib=fl ;;
8591 *) ac_lib=l ;;
8592 esac
8593 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8594echo "configure:8595: checking for yywrap in -l$ac_lib" >&5
8595ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8596if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8597 echo $ac_n "(cached) $ac_c" 1>&6
8598else
8599 ac_save_LIBS="$LIBS"
8600LIBS="-l$ac_lib $LIBS"
8601cat > conftest.$ac_ext <<EOF
8602#line 8603 "configure"
8603#include "confdefs.h"
8604/* Override any gcc2 internal prototype to avoid an error. */
8605/* We use char because int might match the return type of a gcc2
8606 builtin and then its argument prototype would still apply. */
8607char yywrap();
8608
8609int main() {
8610yywrap()
8611; return 0; }
8612EOF
8613if { (eval echo configure:8614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8614 rm -rf conftest*
8615 eval "ac_cv_lib_$ac_lib_var=yes"
8616else
8617 echo "configure: failed program was:" >&5
8618 cat conftest.$ac_ext >&5
8619 rm -rf conftest*
8620 eval "ac_cv_lib_$ac_lib_var=no"
8621fi
8622rm -f conftest*
8623LIBS="$ac_save_LIBS"
8624
8625fi
8626if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8627 echo "$ac_t""yes" 1>&6
8628 LEXLIB="-l$ac_lib"
8629else
8630 echo "$ac_t""no" 1>&6
8631fi
8632
8633fi
8634
8635
8636echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8637echo "configure:8638: checking whether ln -s works" >&5
8638if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8639 echo $ac_n "(cached) $ac_c" 1>&6
8640else
8641 rm -f conftestdata
8642if ln -s X conftestdata 2>/dev/null
8643then
8644 rm -f conftestdata
8645 ac_cv_prog_LN_S="ln -s"
8646else
8647 ac_cv_prog_LN_S=ln
8648fi
8649fi
8650LN_S="$ac_cv_prog_LN_S"
8651if test "$ac_cv_prog_LN_S" = "ln -s"; then
8652 echo "$ac_t""yes" 1>&6
8653else
8654 echo "$ac_t""no" 1>&6
8655fi
8656
8657
8658
8659SEARCH_INCLUDE="\
8660 /usr/local/include \
8661 \
8662 /usr/Motif-1.2/include \
8663 /usr/Motif-2.1/include \
8664 \
8665 /usr/include/Motif1.2 \
8666 /opt/xpm/include/X11 \
8667 /opt/GBxpm/include/ \
8668 /opt/GBxpm/X11/include/ \
8669 \
8670 /usr/Motif1.2/include \
8671 /usr/dt/include \
8672 /usr/openwin/include \
8673 \
8674 /usr/include/Xm \
8675 \
8676 /usr/X11R6/include \
8677 /usr/X11R6.4/include \
8678 /usr/X11R5/include \
8679 /usr/X11R4/include \
8680 \
8681 /usr/include/X11R6 \
8682 /usr/include/X11R5 \
8683 /usr/include/X11R4 \
8684 \
8685 /usr/local/X11R6/include \
8686 /usr/local/X11R5/include \
8687 /usr/local/X11R4/include \
8688 \
8689 /usr/local/include/X11R6 \
8690 /usr/local/include/X11R5 \
8691 /usr/local/include/X11R4 \
8692 \
8693 /usr/X11/include \
8694 /usr/include/X11 \
8695 /usr/local/X11/include \
8696 /usr/local/include/X11 \
8697 \
8698 /usr/X386/include \
8699 /usr/x386/include \
8700 /usr/XFree86/include/X11 \
8701 \
8702 X:/XFree86/include \
8703 X:/XFree86/include/X11 \
8704 \
8705 /usr/include/gtk \
8706 /usr/local/include/gtk \
8707 /usr/include/glib \
8708 /usr/local/include/glib \
8709 \
8710 /usr/include/qt \
8711 /usr/local/include/qt \
8712 \
8713 /usr/include/windows \
8714 /usr/include/wine \
8715 /usr/local/include/wine \
8716 \
8717 /usr/unsupported/include \
8718 /usr/athena/include \
8719 /usr/local/x11r5/include \
8720 /usr/lpp/Xamples/include \
8721 \
8722 /usr/openwin/share/include \
8723 \
8724 /usr/include"
8725
8726SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8727
8728
8729cat > confcache <<\EOF
8730# This file is a shell script that caches the results of configure
8731# tests run on this system so they can be shared between configure
8732# scripts and configure runs. It is not useful on other systems.
8733# If it contains results you don't want to keep, you may remove or edit it.
8734#
8735# By default, configure uses ./config.cache as the cache file,
8736# creating it if it does not exist already. You can give configure
8737# the --cache-file=FILE option to use a different cache file; that is
8738# what configure does when it calls configure scripts in
8739# subdirectories, so they share the cache.
8740# Giving --cache-file=/dev/null disables caching, for debugging configure.
8741# config.status only pays attention to the cache file if you give it the
8742# --recheck option to rerun configure.
8743#
8744EOF
8745# The following way of writing the cache mishandles newlines in values,
8746# but we know of no workaround that is simple, portable, and efficient.
8747# So, don't put newlines in cache variables' values.
8748# Ultrix sh set writes to stderr and can't be redirected directly,
8749# and sets the high bit in the cache file unless we assign to the vars.
8750(set) 2>&1 |
8751 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8752 *ac_space=\ *)
8753 # `set' does not quote correctly, so add quotes (double-quote substitution
8754 # turns \\\\ into \\, and sed turns \\ into \).
8755 sed -n \
8756 -e "s/'/'\\\\''/g" \
8757 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8758 ;;
8759 *)
8760 # `set' quotes correctly as required by POSIX, so do not add quotes.
8761 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8762 ;;
8763 esac >> confcache
8764if cmp -s $cache_file confcache; then
8765 :
8766else
8767 if test -w $cache_file; then
8768 echo "updating cache $cache_file"
8769 cat confcache > $cache_file
8770 else
8771 echo "not updating unwritable cache $cache_file"
8772 fi
8773fi
8774rm -f confcache
8775
8776
8777
8778REGEX_INCLUDE=
8779if test "$wxUSE_REGEX" != "no"; then
8780 ac_safe=`echo "regex.h" | sed 'y%./+-%__p_%'`
8781echo $ac_n "checking for regex.h""... $ac_c" 1>&6
8782echo "configure:8783: checking for regex.h" >&5
8783if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8784 echo $ac_n "(cached) $ac_c" 1>&6
8785else
8786 cat > conftest.$ac_ext <<EOF
8787#line 8788 "configure"
8788#include "confdefs.h"
8789#include <regex.h>
8790EOF
8791ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8792{ (eval echo configure:8793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8793ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8794if test -z "$ac_err"; then
8795 rm -rf conftest*
8796 eval "ac_cv_header_$ac_safe=yes"
8797else
8798 echo "$ac_err" >&5
8799 echo "configure: failed program was:" >&5
8800 cat conftest.$ac_ext >&5
8801 rm -rf conftest*
8802 eval "ac_cv_header_$ac_safe=no"
8803fi
8804rm -f conftest*
8805fi
8806if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8807 echo "$ac_t""yes" 1>&6
8808 for ac_func in regcomp
8809do
8810echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8811echo "configure:8812: checking for $ac_func" >&5
8812if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8813 echo $ac_n "(cached) $ac_c" 1>&6
8814else
8815 cat > conftest.$ac_ext <<EOF
8816#line 8817 "configure"
8817#include "confdefs.h"
8818/* System header to define __stub macros and hopefully few prototypes,
8819 which can conflict with char $ac_func(); below. */
8820#include <assert.h>
8821/* Override any gcc2 internal prototype to avoid an error. */
8822/* We use char because int might match the return type of a gcc2
8823 builtin and then its argument prototype would still apply. */
8824char $ac_func();
8825
8826int main() {
8827
8828/* The GNU C library defines this for functions which it implements
8829 to always fail with ENOSYS. Some functions are actually named
8830 something starting with __ and the normal name is an alias. */
8831#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8832choke me
8833#else
8834$ac_func();
8835#endif
8836
8837; return 0; }
8838EOF
8839if { (eval echo configure:8840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8840 rm -rf conftest*
8841 eval "ac_cv_func_$ac_func=yes"
8842else
8843 echo "configure: failed program was:" >&5
8844 cat conftest.$ac_ext >&5
8845 rm -rf conftest*
8846 eval "ac_cv_func_$ac_func=no"
8847fi
8848rm -f conftest*
8849fi
8850
8851if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8852 echo "$ac_t""yes" 1>&6
8853 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8854 cat >> confdefs.h <<EOF
8855#define $ac_tr_func 1
8856EOF
8857
8858else
8859 echo "$ac_t""no" 1>&6
8860fi
8861done
8862
8863else
8864 echo "$ac_t""no" 1>&6
8865fi
8866
8867
8868 if test "x$ac_cv_func_regcomp" != "xyes"; then
8869 if test "$wxUSE_REGEX" = "sys"; then
8870 { echo "configure: error: system regex library not found! Use --with-regex to use the built-in regex library." 1>&2; exit 1; }
8871 fi
8872
8873 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
8874 fi
8875
8876 cat >> confdefs.h <<\EOF
8877#define wxUSE_REGEX 1
8878EOF
8879
8880fi
8881
8882
8883AFMINSTALL=
8884
8885TOOLKIT=
8886TOOLKIT_INCLUDE=
8887WIDGET_SET=
8888
8889if test "$USE_WIN32" = 1 ; then
8890 for ac_hdr in w32api.h
8891do
8892ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8893echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8894echo "configure:8895: checking for $ac_hdr" >&5
8895if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8896 echo $ac_n "(cached) $ac_c" 1>&6
8897else
8898 cat > conftest.$ac_ext <<EOF
8899#line 8900 "configure"
8900#include "confdefs.h"
8901#include <$ac_hdr>
8902EOF
8903ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8904{ (eval echo configure:8905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8905ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8906if test -z "$ac_err"; then
8907 rm -rf conftest*
8908 eval "ac_cv_header_$ac_safe=yes"
8909else
8910 echo "$ac_err" >&5
8911 echo "configure: failed program was:" >&5
8912 cat conftest.$ac_ext >&5
8913 rm -rf conftest*
8914 eval "ac_cv_header_$ac_safe=no"
8915fi
8916rm -f conftest*
8917fi
8918if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8919 echo "$ac_t""yes" 1>&6
8920 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8921 cat >> confdefs.h <<EOF
8922#define $ac_tr_hdr 1
8923EOF
8924
8925else
8926 echo "$ac_t""no" 1>&6
8927fi
8928done
8929
8930 ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'`
8931echo $ac_n "checking for windows.h""... $ac_c" 1>&6
8932echo "configure:8933: checking for windows.h" >&5
8933if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8934 echo $ac_n "(cached) $ac_c" 1>&6
8935else
8936 cat > conftest.$ac_ext <<EOF
8937#line 8938 "configure"
8938#include "confdefs.h"
8939#include <windows.h>
8940EOF
8941ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8942{ (eval echo configure:8943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8943ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8944if test -z "$ac_err"; then
8945 rm -rf conftest*
8946 eval "ac_cv_header_$ac_safe=yes"
8947else
8948 echo "$ac_err" >&5
8949 echo "configure: failed program was:" >&5
8950 cat conftest.$ac_ext >&5
8951 rm -rf conftest*
8952 eval "ac_cv_header_$ac_safe=no"
8953fi
8954rm -f conftest*
8955fi
8956if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8957 echo "$ac_t""yes" 1>&6
8958 :
8959else
8960 echo "$ac_t""no" 1>&6
8961
8962 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
8963
8964fi
8965
8966
8967 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
8968echo "configure:8969: checking if w32api has good enough MSIE support" >&5
8969if eval "test \"`echo '$''{'wx_cv_w32api_win_ie'+set}'`\" = set"; then
8970 echo $ac_n "(cached) $ac_c" 1>&6
8971else
8972
8973 cat > conftest.$ac_ext <<EOF
8974#line 8975 "configure"
8975#include "confdefs.h"
8976#include <w32api.h>
8977int main() {
8978
8979 #define wxCHECK_W32API_VERSION( major, minor ) \
8980 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
8981 && ( ( __W32API_MAJOR_VERSION > (major) ) \
8982 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
8983
8984 #if !wxCHECK_W32API_VERSION(1,1)
8985 #error You need w32api 1.1 or newer
8986 #endif
8987
8988; return 0; }
8989EOF
8990if { (eval echo configure:8991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8991 rm -rf conftest*
8992
8993 wx_cv_w32api_win_ie=yes
8994 CPPFLAGS="$CPPFLAGS -D_WIN_IE=0x400"
8995
8996else
8997 echo "configure: failed program was:" >&5
8998 cat conftest.$ac_ext >&5
8999 rm -rf conftest*
9000
9001 wx_cv_w32api_win_ie=no
9002
9003fi
9004rm -f conftest*
9005
9006fi
9007
9008echo "$ac_t""$wx_cv_w32api_win_ie" 1>&6
9009
9010 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
9011
9012 if test "$wxUSE_ODBC" = "yes" ; then
9013 LIBS="$LIBS -lodbc32 -lole32 -loleaut32"
9014 fi
9015
9016 if test "$wxUSE_MINGW" = 1; then
9017 LDFLAGS="$LDFLAGS -mwindows"
9018 fi
9019
9020 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
9021 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
9022fi
9023
9024if test "$wxUSE_GUI" = "yes"; then
9025 USE_GUI=1
9026
9027 GUI_TK_LIBRARY=
9028
9029 WXGTK12=
9030 WXGTK127=
9031 WXGTK20=
9032
9033 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
9034 TOOLKIT=MSW
9035 GUIDIST=MSW_DIST
9036 fi
9037
9038 if test "$wxUSE_GTK" = 1; then
9039 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
9040echo "configure:9041: checking for GTK+ version" >&5
9041
9042 gtk_version_cached=1
9043 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
9044 echo $ac_n "(cached) $ac_c" 1>&6
9045else
9046
9047 gtk_version_cached=0
9048 echo "$ac_t""""" 1>&6
9049
9050 wx_cv_lib_gtk=
9051 if test "x$wxUSE_GTK2" = "xyes"; then
9052 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9053if test "${with_gtk_prefix+set}" = set; then
9054 withval="$with_gtk_prefix"
9055 gtk_config_prefix="$withval"
9056else
9057 gtk_config_prefix=""
9058fi
9059
9060# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9061if test "${with_gtk_exec_prefix+set}" = set; then
9062 withval="$with_gtk_exec_prefix"
9063 gtk_config_exec_prefix="$withval"
9064else
9065 gtk_config_exec_prefix=""
9066fi
9067
9068# Check whether --enable-gtktest or --disable-gtktest was given.
9069if test "${enable_gtktest+set}" = set; then
9070 enableval="$enable_gtktest"
9071 :
9072else
9073 enable_gtktest=yes
9074fi
9075
9076
9077 for module in .
9078 do
9079 case "$module" in
9080 gthread)
9081 gtk_config_args="$gtk_config_args gthread"
9082 ;;
9083 esac
9084 done
9085
9086 if test x$gtk_config_exec_prefix != x ; then
9087 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9088 if test x${GTK_CONFIG_2_0+set} != xset ; then
9089 GTK_CONFIG_2_0=$gtk_config_exec_prefix/bin/gtk-config-2.0
9090 fi
9091 fi
9092 if test x$gtk_config_prefix != x ; then
9093 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
9094 if test x${GTK_CONFIG_2_0+set} != xset ; then
9095 GTK_CONFIG_2_0=$gtk_config_prefix/bin/gtk-config-2.0
9096 fi
9097 fi
9098
9099 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
9100set dummy gtk-config-2.0; ac_word=$2
9101echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9102echo "configure:9103: checking for $ac_word" >&5
9103if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
9104 echo $ac_n "(cached) $ac_c" 1>&6
9105else
9106 case "$GTK_CONFIG_2_0" in
9107 /*)
9108 ac_cv_path_GTK_CONFIG_2_0="$GTK_CONFIG_2_0" # Let the user override the test with a path.
9109 ;;
9110 ?:/*)
9111 ac_cv_path_GTK_CONFIG_2_0="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
9112 ;;
9113 *)
9114 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9115 ac_dummy="$PATH"
9116 for ac_dir in $ac_dummy; do
9117 test -z "$ac_dir" && ac_dir=.
9118 if test -f $ac_dir/$ac_word; then
9119 ac_cv_path_GTK_CONFIG_2_0="$ac_dir/$ac_word"
9120 break
9121 fi
9122 done
9123 IFS="$ac_save_ifs"
9124 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0="no"
9125 ;;
9126esac
9127fi
9128GTK_CONFIG_2_0="$ac_cv_path_GTK_CONFIG_2_0"
9129if test -n "$GTK_CONFIG_2_0"; then
9130 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
9131else
9132 echo "$ac_t""no" 1>&6
9133fi
9134
9135 min_gtk_version=1.3.1
9136 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9137echo "configure:9138: checking for GTK - version >= $min_gtk_version" >&5
9138 no_gtk=""
9139 if test "$GTK_CONFIG_2_0" = "no" ; then
9140 no_gtk=yes
9141 else
9142 GTK_CFLAGS=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
9143 GTK_LIBS=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
9144 gtk_config_major_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9145 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9146 gtk_config_minor_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9147 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9148 gtk_config_micro_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9149 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9150 if test "x$enable_gtktest" = "xyes" ; then
9151 ac_save_CFLAGS="$CFLAGS"
9152 ac_save_LIBS="$LIBS"
9153 CFLAGS="$CFLAGS $GTK_CFLAGS"
9154 LIBS="$GTK_LIBS $LIBS"
9155 rm -f conf.gtktest
9156 if test "$cross_compiling" = yes; then
9157 echo $ac_n "cross compiling; assumed OK... $ac_c"
9158else
9159 cat > conftest.$ac_ext <<EOF
9160#line 9161 "configure"
9161#include "confdefs.h"
9162
9163#include <gtk/gtk.h>
9164#include <stdio.h>
9165#include <stdlib.h>
9166
9167int
9168main ()
9169{
9170 int major, minor, micro;
9171 char *tmp_version;
9172
9173 system ("touch conf.gtktest");
9174
9175 /* HP/UX 9 (%@#!) writes to sscanf strings */
9176 tmp_version = g_strdup("$min_gtk_version");
9177 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
9178 printf("%s, bad version string\n", "$min_gtk_version");
9179 exit(1);
9180 }
9181
9182 if ((gtk_major_version != $gtk_config_major_version) ||
9183 (gtk_minor_version != $gtk_config_minor_version) ||
9184 (gtk_micro_version != $gtk_config_micro_version))
9185 {
9186 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9187 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9188 gtk_major_version, gtk_minor_version, gtk_micro_version);
9189 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
9190 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9191 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9192 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9193 printf("*** required on your system.\n");
9194 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
9195 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
9196 printf("*** before re-running configure\n");
9197 }
9198#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
9199 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9200 (gtk_minor_version != GTK_MINOR_VERSION) ||
9201 (gtk_micro_version != GTK_MICRO_VERSION))
9202 {
9203 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9204 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9205 printf("*** library (version %d.%d.%d)\n",
9206 gtk_major_version, gtk_minor_version, gtk_micro_version);
9207 }
9208#endif /* defined (GTK_MAJOR_VERSION) ... */
9209 else
9210 {
9211 if ((gtk_major_version > major) ||
9212 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9213 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9214 {
9215 return 0;
9216 }
9217 else
9218 {
9219 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
9220 gtk_major_version, gtk_minor_version, gtk_micro_version);
9221 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
9222 major, minor, micro);
9223 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
9224 printf("***\n");
9225 printf("*** If you have already installed a sufficiently new version, this error\n");
9226 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
9227 printf("*** being found. The easiest way to fix this is to remove the old version\n");
9228 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
9229 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
9230 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9231 printf("*** so that the correct libraries are found at run-time))\n");
9232 }
9233 }
9234 return 1;
9235}
9236
9237EOF
9238if { (eval echo configure:9239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9239then
9240 :
9241else
9242 echo "configure: failed program was:" >&5
9243 cat conftest.$ac_ext >&5
9244 rm -fr conftest*
9245 no_gtk=yes
9246fi
9247rm -fr conftest*
9248fi
9249
9250 CFLAGS="$ac_save_CFLAGS"
9251 LIBS="$ac_save_LIBS"
9252 fi
9253 fi
9254 if test "x$no_gtk" = x ; then
9255 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
9256 wx_cv_lib_gtk=2.0
9257 else
9258 echo "$ac_t""no" 1>&6
9259 if test "$GTK_CONFIG_2_0" = "no" ; then
9260 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
9261 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
9262 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
9263 echo "*** full path to gtk-config-2.0."
9264 else
9265 if test -f conf.gtktest ; then
9266 :
9267 else
9268 echo "*** Could not run GTK test program, checking why..."
9269 CFLAGS="$CFLAGS $GTK_CFLAGS"
9270 LIBS="$LIBS $GTK_LIBS"
9271 cat > conftest.$ac_ext <<EOF
9272#line 9273 "configure"
9273#include "confdefs.h"
9274
9275#include <gtk/gtk.h>
9276#include <stdio.h>
9277
9278int main() {
9279 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
9280; return 0; }
9281EOF
9282if { (eval echo configure:9283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9283 rm -rf conftest*
9284 echo "*** The test program compiled, but did not run. This usually means"
9285 echo "*** that the run-time linker is not finding GTK or finding the wrong"
9286 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
9287 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9288 echo "*** to the installed location Also, make sure you have run ldconfig if that"
9289 echo "*** is required on your system"
9290 echo "***"
9291 echo "*** If you have an old version installed, it is best to remove it, although"
9292 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9293 echo "***"
9294 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
9295 echo "*** came with the system with the command"
9296 echo "***"
9297 echo "*** rpm --erase --nodeps gtk gtk-devel"
9298else
9299 echo "configure: failed program was:" >&5
9300 cat conftest.$ac_ext >&5
9301 rm -rf conftest*
9302 echo "*** The test program failed to compile or link. See the file config.log for the"
9303 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
9304 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
9305 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
9306fi
9307rm -f conftest*
9308 CFLAGS="$ac_save_CFLAGS"
9309 LIBS="$ac_save_LIBS"
9310 fi
9311 fi
9312 GTK_CFLAGS=""
9313 GTK_LIBS=""
9314 gthread
9315 fi
9316
9317
9318 rm -f conf.gtktest
9319
9320 fi
9321
9322 if test -z "$wx_cv_lib_gtk"; then
9323
9324 if test x$gtk_config_exec_prefix != x ; then
9325 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9326 if test x${GTK_CONFIG+set} != xset ; then
9327 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
9328 fi
9329 fi
9330 if test x$gtk_config_prefix != x ; then
9331 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
9332 if test x${GTK_CONFIG+set} != xset ; then
9333 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
9334 fi
9335 fi
9336
9337 # Extract the first word of "gtk-config", so it can be a program name with args.
9338set dummy gtk-config; ac_word=$2
9339echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9340echo "configure:9341: checking for $ac_word" >&5
9341if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9342 echo $ac_n "(cached) $ac_c" 1>&6
9343else
9344 case "$GTK_CONFIG" in
9345 /*)
9346 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
9347 ;;
9348 ?:/*)
9349 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
9350 ;;
9351 *)
9352 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9353 ac_dummy="$PATH"
9354 for ac_dir in $ac_dummy; do
9355 test -z "$ac_dir" && ac_dir=.
9356 if test -f $ac_dir/$ac_word; then
9357 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
9358 break
9359 fi
9360 done
9361 IFS="$ac_save_ifs"
9362 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
9363 ;;
9364esac
9365fi
9366GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
9367if test -n "$GTK_CONFIG"; then
9368 echo "$ac_t""$GTK_CONFIG" 1>&6
9369else
9370 echo "$ac_t""no" 1>&6
9371fi
9372
9373 min_gtk_version=1.2.7
9374 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9375echo "configure:9376: checking for GTK - version >= $min_gtk_version" >&5
9376 no_gtk=""
9377 if test "$GTK_CONFIG" != "no" ; then
9378 GTK_CFLAGS=`$GTK_CONFIG --cflags`
9379 GTK_LIBS=`$GTK_CONFIG --libs gthread`
9380 ac_save_CFLAGS="$CFLAGS"
9381 ac_save_LIBS="$LIBS"
9382 CFLAGS="$CFLAGS $GTK_CFLAGS"
9383 LIBS="$LIBS $GTK_LIBS"
9384 if test "$cross_compiling" = yes; then
9385 echo $ac_n "cross compiling; assumed OK... $ac_c"
9386else
9387 cat > conftest.$ac_ext <<EOF
9388#line 9389 "configure"
9389#include "confdefs.h"
9390
9391#include <gtk/gtk.h>
9392#include <gtk/gtkfeatures.h>
9393#include <stdio.h>
9394#include <stdlib.h>
9395
9396int
9397main ()
9398{
9399 int major, minor, micro;
9400
9401 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, &micro) != 3) {
9402 printf("%s, bad version string\n", "$min_gtk_version");
9403 exit(1);
9404 }
9405
9406 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9407 (GTK_MINOR_VERSION != gtk_minor_version) ||
9408 (GTK_MICRO_VERSION != gtk_micro_version)) {
9409 printf("Headers vs. library version mismatch!\n");
9410 exit(1);
9411 }
9412
9413 if (gtk_minor_version == 1) return FALSE;
9414
9415 return !((gtk_major_version > major) ||
9416 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9417 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9418}
9419
9420EOF
9421if { (eval echo configure:9422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9422then
9423 :
9424else
9425 echo "configure: failed program was:" >&5
9426 cat conftest.$ac_ext >&5
9427 rm -fr conftest*
9428 no_gtk=yes
9429fi
9430rm -fr conftest*
9431fi
9432
9433 CFLAGS="$ac_save_CFLAGS"
9434 LIBS="$ac_save_LIBS"
9435 else
9436 no_gtk=yes
9437 fi
9438 if test "x$no_gtk" = x ; then
9439 echo "$ac_t""yes" 1>&6
9440 wx_cv_lib_gtk=1.2.7
9441 else
9442 echo "$ac_t""no" 1>&6
9443 GTK_CFLAGS=""
9444 GTK_LIBS=""
9445 :
9446 fi
9447
9448
9449
9450 fi
9451
9452 if test -z "$wx_cv_lib_gtk"; then
9453
9454 if test x$gtk_config_exec_prefix != x ; then
9455 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9456 if test x${GTK_CONFIG+set} != xset ; then
9457 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
9458 fi
9459 fi
9460 if test x$gtk_config_prefix != x ; then
9461 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
9462 if test x${GTK_CONFIG+set} != xset ; then
9463 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
9464 fi
9465 fi
9466
9467 # Extract the first word of "gtk-config", so it can be a program name with args.
9468set dummy gtk-config; ac_word=$2
9469echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9470echo "configure:9471: checking for $ac_word" >&5
9471if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9472 echo $ac_n "(cached) $ac_c" 1>&6
9473else
9474 case "$GTK_CONFIG" in
9475 /*)
9476 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
9477 ;;
9478 ?:/*)
9479 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
9480 ;;
9481 *)
9482 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9483 ac_dummy="$PATH"
9484 for ac_dir in $ac_dummy; do
9485 test -z "$ac_dir" && ac_dir=.
9486 if test -f $ac_dir/$ac_word; then
9487 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
9488 break
9489 fi
9490 done
9491 IFS="$ac_save_ifs"
9492 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
9493 ;;
9494esac
9495fi
9496GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
9497if test -n "$GTK_CONFIG"; then
9498 echo "$ac_t""$GTK_CONFIG" 1>&6
9499else
9500 echo "$ac_t""no" 1>&6
9501fi
9502
9503 min_gtk_version=1.2.3
9504 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9505echo "configure:9506: checking for GTK - version >= $min_gtk_version" >&5
9506 no_gtk=""
9507 if test "$GTK_CONFIG" != "no" ; then
9508 GTK_CFLAGS=`$GTK_CONFIG --cflags`
9509 GTK_LIBS=`$GTK_CONFIG --libs gthread`
9510 ac_save_CFLAGS="$CFLAGS"
9511 ac_save_LIBS="$LIBS"
9512 CFLAGS="$CFLAGS $GTK_CFLAGS"
9513 LIBS="$LIBS $GTK_LIBS"
9514 if test "$cross_compiling" = yes; then
9515 echo $ac_n "cross compiling; assumed OK... $ac_c"
9516else
9517 cat > conftest.$ac_ext <<EOF
9518#line 9519 "configure"
9519#include "confdefs.h"
9520
9521#include <gtk/gtk.h>
9522#include <gtk/gtkfeatures.h>
9523#include <stdio.h>
9524#include <stdlib.h>
9525
9526int
9527main ()
9528{
9529 int major, minor, micro;
9530
9531 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, &micro) != 3) {
9532 printf("%s, bad version string\n", "$min_gtk_version");
9533 exit(1);
9534 }
9535
9536 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9537 (GTK_MINOR_VERSION != gtk_minor_version) ||
9538 (GTK_MICRO_VERSION != gtk_micro_version)) {
9539 printf("Headers vs. library version mismatch!\n");
9540 exit(1);
9541 }
9542
9543 if (gtk_minor_version == 1) return FALSE;
9544
9545 return !((gtk_major_version > major) ||
9546 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9547 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9548}
9549
9550EOF
9551if { (eval echo configure:9552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9552then
9553 :
9554else
9555 echo "configure: failed program was:" >&5
9556 cat conftest.$ac_ext >&5
9557 rm -fr conftest*
9558 no_gtk=yes
9559fi
9560rm -fr conftest*
9561fi
9562
9563 CFLAGS="$ac_save_CFLAGS"
9564 LIBS="$ac_save_LIBS"
9565 else
9566 no_gtk=yes
9567 fi
9568 if test "x$no_gtk" = x ; then
9569 echo "$ac_t""yes" 1>&6
9570 wx_cv_lib_gtk=1.2.3
9571 else
9572 echo "$ac_t""no" 1>&6
9573 GTK_CFLAGS=""
9574 GTK_LIBS=""
9575 :
9576 fi
9577
9578
9579
9580 fi
9581
9582 if test -z "$wx_cv_lib_gtk"; then
9583 wx_cv_lib_gtk=none
9584 else
9585 wx_cv_cflags_gtk=$GTK_CFLAGS
9586 wx_cv_libs_gtk=$GTK_LIBS
9587 fi
9588
9589
9590fi
9591
9592
9593 if test "$gtk_version_cached" = 1; then
9594 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9595 fi
9596
9597 case "$wx_cv_lib_gtk" in
9598 2.0) WXGTK20=1
9599 ;;
9600 1.2.7) WXGTK127=1
9601 WXGTK12=1
9602 ;;
9603 1.2.3) WXGTK12=1
9604 ;;
9605 *) { echo "configure: error:
9606Please check that gtk-config is in path, the directory
9607where GTK+ libraries are installed (returned by
9608'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9609equivalent variable and GTK+ is version 1.2.3 or above.
9610 " 1>&2; exit 1; }
9611 ;;
9612 esac
9613
9614 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
9615 GUI_TK_LIBRARY="$wx_cv_libs_gtk"
9616
9617 AFMINSTALL=afminstall
9618 TOOLKIT=GTK
9619 GUIDIST=GTK_DIST
9620
9621 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9622echo "configure:9623: checking for gdk_im_open in -lgdk" >&5
9623ac_lib_var=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9624if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9625 echo $ac_n "(cached) $ac_c" 1>&6
9626else
9627 ac_save_LIBS="$LIBS"
9628LIBS="-lgdk $LIBS"
9629cat > conftest.$ac_ext <<EOF
9630#line 9631 "configure"
9631#include "confdefs.h"
9632/* Override any gcc2 internal prototype to avoid an error. */
9633/* We use char because int might match the return type of a gcc2
9634 builtin and then its argument prototype would still apply. */
9635char gdk_im_open();
9636
9637int main() {
9638gdk_im_open()
9639; return 0; }
9640EOF
9641if { (eval echo configure:9642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9642 rm -rf conftest*
9643 eval "ac_cv_lib_$ac_lib_var=yes"
9644else
9645 echo "configure: failed program was:" >&5
9646 cat conftest.$ac_ext >&5
9647 rm -rf conftest*
9648 eval "ac_cv_lib_$ac_lib_var=no"
9649fi
9650rm -f conftest*
9651LIBS="$ac_save_LIBS"
9652
9653fi
9654if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9655 echo "$ac_t""yes" 1>&6
9656 cat >> confdefs.h <<\EOF
9657#define HAVE_XIM 1
9658EOF
9659
9660else
9661 echo "$ac_t""no" 1>&6
9662fi
9663
9664 fi
9665
9666 if test "$wxUSE_MGL" = 1; then
9667
9668 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9669echo "configure:9670: checking for SciTech MGL library" >&5
9670 if test "x$MGL_ROOT" = x ; then
9671 echo "$ac_t""not found" 1>&6
9672 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9673 else
9674 echo "$ac_t""$MGL_ROOT" 1>&6
9675 fi
9676
9677 mgl_os=linux/gcc/glibc
9678 mgl_lib_type=""
9679
9680 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9681 if test -f $MGL_ROOT/lib/debug/$mgl_os/libmgl.a ; then
9682 mgl_lib_type=debug
9683 fi
9684 fi
9685 if test "x$mgl_lib_type" = x ; then
9686 if test -f $MGL_ROOT/lib/release/$mgl_os/libmgl.a ; then
9687 mgl_lib_type=release
9688 else
9689 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9690 fi
9691 fi
9692
9693 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
9694 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
9695
9696 AFMINSTALL=afminstall
9697 TOOLKIT=MGL
9698 GUIDIST=MGL_DIST
9699 fi
9700
9701 if test "$wxUSE_WINE" = 1; then
9702 ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'`
9703echo $ac_n "checking for windows.h""... $ac_c" 1>&6
9704echo "configure:9705: checking for windows.h" >&5
9705if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9706 echo $ac_n "(cached) $ac_c" 1>&6
9707else
9708 cat > conftest.$ac_ext <<EOF
9709#line 9710 "configure"
9710#include "confdefs.h"
9711#include <windows.h>
9712EOF
9713ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9714{ (eval echo configure:9715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9715ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9716if test -z "$ac_err"; then
9717 rm -rf conftest*
9718 eval "ac_cv_header_$ac_safe=yes"
9719else
9720 echo "$ac_err" >&5
9721 echo "configure: failed program was:" >&5
9722 cat conftest.$ac_ext >&5
9723 rm -rf conftest*
9724 eval "ac_cv_header_$ac_safe=no"
9725fi
9726rm -f conftest*
9727fi
9728if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9729 echo "$ac_t""yes" 1>&6
9730 :
9731else
9732 echo "$ac_t""no" 1>&6
9733
9734 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9735
9736fi
9737
9738
9739 xpm_link=""
9740 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9741echo "configure:9742: checking for Xpm library" >&5
9742
9743ac_find_libraries=
9744for ac_dir in $SEARCH_LIB;
9745 do
9746 for ac_extension in a so sl dylib; do
9747 if test -f "$ac_dir/libXpm.$ac_extension"; then
9748 ac_find_libraries=$ac_dir
9749 break 2
9750 fi
9751 done
9752 done
9753
9754 if test "$ac_find_libraries" != "" ; then
9755 GUI_TK_LIBRARY="-L$ac_find_libraries"
9756 xpm_link="-lXpm"
9757 cat >> confdefs.h <<\EOF
9758#define wxHAVE_LIB_XPM 1
9759EOF
9760
9761 echo "$ac_t""found at $ac_find_libraries" 1>&6
9762 else
9763 echo "$ac_t""no" 1>&6
9764 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9765 fi
9766
9767 mesa_link=""
9768 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9769echo "configure:9770: checking for Mesa library" >&5
9770
9771ac_find_libraries=
9772for ac_dir in $SEARCH_LIB;
9773 do
9774 for ac_extension in a so sl dylib; do
9775 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9776 ac_find_libraries=$ac_dir
9777 break 2
9778 fi
9779 done
9780 done
9781
9782 if test "$ac_find_libraries" != "" ; then
9783 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -L$ac_find_libraries"
9784 mesa_link="-lMesaGL"
9785 echo "$ac_t""found at $ac_find_libraries" 1>&6
9786 else
9787 { echo "configure: error: no" 1>&2; exit 1; }
9788 fi
9789
9790 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwine $mesa_link $xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9791 TOOLKIT=MSW
9792 GUIDIST=MSW_DIST
9793 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXWINE__"
9794 fi
9795
9796
9797 # If we find X, set shell vars x_includes and x_libraries to the
9798# paths, otherwise set no_x=yes.
9799# Uses ac_ vars as temps to allow command line to override cache and checks.
9800# --without-x overrides everything else, but does not touch the cache.
9801echo $ac_n "checking for X""... $ac_c" 1>&6
9802echo "configure:9803: checking for X" >&5
9803
9804# Check whether --with-x or --without-x was given.
9805if test "${with_x+set}" = set; then
9806 withval="$with_x"
9807 :
9808fi
9809
9810# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9811if test "x$with_x" = xno; then
9812 # The user explicitly disabled X.
9813 have_x=disabled
9814else
9815 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
9816 # Both variables are already set.
9817 have_x=yes
9818 else
9819if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9820 echo $ac_n "(cached) $ac_c" 1>&6
9821else
9822 # One or both of the vars are not set, and there is no cached value.
9823ac_x_includes=NO ac_x_libraries=NO
9824rm -fr conftestdir
9825if mkdir conftestdir; then
9826 cd conftestdir
9827 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9828 cat > Imakefile <<'EOF'
9829acfindx:
9830 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9831EOF
9832 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
9833 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9834 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9835 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9836 for ac_extension in a so sl; do
9837 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
9838 test -f $ac_im_libdir/libX11.$ac_extension; then
9839 ac_im_usrlibdir=$ac_im_libdir; break
9840 fi
9841 done
9842 # Screen out bogus values from the imake configuration. They are
9843 # bogus both because they are the default anyway, and because
9844 # using them would break gcc on systems where it needs fixed includes.
9845 case "$ac_im_incroot" in
9846 /usr/include) ;;
9847 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
9848 esac
9849 case "$ac_im_usrlibdir" in
9850 /usr/lib | /lib) ;;
9851 *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
9852 esac
9853 fi
9854 cd ..
9855 rm -fr conftestdir
9856fi
9857
9858if test "$ac_x_includes" = NO; then
9859 # Guess where to find include files, by looking for this one X11 .h file.
9860 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
9861
9862 # First, try using that file with no special directory specified.
9863cat > conftest.$ac_ext <<EOF
9864#line 9865 "configure"
9865#include "confdefs.h"
9866#include <$x_direct_test_include>
9867EOF
9868ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9869{ (eval echo configure:9870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9870ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9871if test -z "$ac_err"; then
9872 rm -rf conftest*
9873 # We can compile using X headers with no special include directory.
9874ac_x_includes=
9875else
9876 echo "$ac_err" >&5
9877 echo "configure: failed program was:" >&5
9878 cat conftest.$ac_ext >&5
9879 rm -rf conftest*
9880 # Look for the header file in a standard set of common directories.
9881# Check X11 before X11Rn because it is often a symlink to the current release.
9882 for ac_dir in \
9883 /usr/X11/include \
9884 /usr/X11R6/include \
9885 /usr/X11R5/include \
9886 /usr/X11R4/include \
9887 \
9888 /usr/include/X11 \
9889 /usr/include/X11R6 \
9890 /usr/include/X11R5 \
9891 /usr/include/X11R4 \
9892 \
9893 /usr/local/X11/include \
9894 /usr/local/X11R6/include \
9895 /usr/local/X11R5/include \
9896 /usr/local/X11R4/include \
9897 \
9898 /usr/local/include/X11 \
9899 /usr/local/include/X11R6 \
9900 /usr/local/include/X11R5 \
9901 /usr/local/include/X11R4 \
9902 \
9903 /usr/X386/include \
9904 /usr/x386/include \
9905 /usr/XFree86/include/X11 \
9906 \
9907 /usr/include \
9908 /usr/local/include \
9909 /usr/unsupported/include \
9910 /usr/athena/include \
9911 /usr/local/x11r5/include \
9912 /usr/lpp/Xamples/include \
9913 \
9914 /usr/openwin/include \
9915 /usr/openwin/share/include \
9916 ; \
9917 do
9918 if test -r "$ac_dir/$x_direct_test_include"; then
9919 ac_x_includes=$ac_dir
9920 break
9921 fi
9922 done
9923fi
9924rm -f conftest*
9925fi # $ac_x_includes = NO
9926
9927if test "$ac_x_libraries" = NO; then
9928 # Check for the libraries.
9929
9930 test -z "$x_direct_test_library" && x_direct_test_library=Xt
9931 test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
9932
9933 # See if we find them without any special options.
9934 # Don't add to $LIBS permanently.
9935 ac_save_LIBS="$LIBS"
9936 LIBS="-l$x_direct_test_library $LIBS"
9937cat > conftest.$ac_ext <<EOF
9938#line 9939 "configure"
9939#include "confdefs.h"
9940
9941int main() {
9942${x_direct_test_function}()
9943; return 0; }
9944EOF
9945if { (eval echo configure:9946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9946 rm -rf conftest*
9947 LIBS="$ac_save_LIBS"
9948# We can link X programs with no special library path.
9949ac_x_libraries=
9950else
9951 echo "configure: failed program was:" >&5
9952 cat conftest.$ac_ext >&5
9953 rm -rf conftest*
9954 LIBS="$ac_save_LIBS"
9955# First see if replacing the include by lib works.
9956# Check X11 before X11Rn because it is often a symlink to the current release.
9957for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
9958 /usr/X11/lib \
9959 /usr/X11R6/lib \
9960 /usr/X11R5/lib \
9961 /usr/X11R4/lib \
9962 \
9963 /usr/lib/X11 \
9964 /usr/lib/X11R6 \
9965 /usr/lib/X11R5 \
9966 /usr/lib/X11R4 \
9967 \
9968 /usr/local/X11/lib \
9969 /usr/local/X11R6/lib \
9970 /usr/local/X11R5/lib \
9971 /usr/local/X11R4/lib \
9972 \
9973 /usr/local/lib/X11 \
9974 /usr/local/lib/X11R6 \
9975 /usr/local/lib/X11R5 \
9976 /usr/local/lib/X11R4 \
9977 \
9978 /usr/X386/lib \
9979 /usr/x386/lib \
9980 /usr/XFree86/lib/X11 \
9981 \
9982 /usr/lib \
9983 /usr/local/lib \
9984 /usr/unsupported/lib \
9985 /usr/athena/lib \
9986 /usr/local/x11r5/lib \
9987 /usr/lpp/Xamples/lib \
9988 /lib/usr/lib/X11 \
9989 \
9990 /usr/openwin/lib \
9991 /usr/openwin/share/lib \
9992 ; \
9993do
9994 for ac_extension in a so sl; do
9995 if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
9996 ac_x_libraries=$ac_dir
9997 break 2
9998 fi
9999 done
10000done
10001fi
10002rm -f conftest*
10003fi # $ac_x_libraries = NO
10004
10005if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then
10006 # Didn't find X anywhere. Cache the known absence of X.
10007 ac_cv_have_x="have_x=no"
10008else
10009 # Record where we found X for the cache.
10010 ac_cv_have_x="have_x=yes \
10011 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10012fi
10013fi
10014 fi
10015 eval "$ac_cv_have_x"
10016fi # $with_x != no
10017
10018if test "$have_x" != yes; then
10019 echo "$ac_t""$have_x" 1>&6
10020 no_x=yes
10021else
10022 # If each of the values was on the command line, it overrides each guess.
10023 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10024 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10025 # Update the cache value to reflect the command line values.
10026 ac_cv_have_x="have_x=yes \
10027 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10028 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
10029fi
10030
10031if test "$no_x" = yes; then
10032 # Not all programs may use this symbol, but it does not hurt to define it.
10033 cat >> confdefs.h <<\EOF
10034#define X_DISPLAY_MISSING 1
10035EOF
10036
10037 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10038else
10039 if test -n "$x_includes"; then
10040 X_CFLAGS="$X_CFLAGS -I$x_includes"
10041 fi
10042
10043 # It would also be nice to do this for all -L options, not just this one.
10044 if test -n "$x_libraries"; then
10045 X_LIBS="$X_LIBS -L$x_libraries"
10046 # For Solaris; some versions of Sun CC require a space after -R and
10047 # others require no space. Words are not sufficient . . . .
10048 case "`(uname -sr) 2>/dev/null`" in
10049 "SunOS 5"*)
10050 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
10051echo "configure:10052: checking whether -R must be followed by a space" >&5
10052 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
10053 cat > conftest.$ac_ext <<EOF
10054#line 10055 "configure"
10055#include "confdefs.h"
10056
10057int main() {
10058
10059; return 0; }
10060EOF
10061if { (eval echo configure:10062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10062 rm -rf conftest*
10063 ac_R_nospace=yes
10064else
10065 echo "configure: failed program was:" >&5
10066 cat conftest.$ac_ext >&5
10067 rm -rf conftest*
10068 ac_R_nospace=no
10069fi
10070rm -f conftest*
10071 if test $ac_R_nospace = yes; then
10072 echo "$ac_t""no" 1>&6
10073 X_LIBS="$X_LIBS -R$x_libraries"
10074 else
10075 LIBS="$ac_xsave_LIBS -R $x_libraries"
10076 cat > conftest.$ac_ext <<EOF
10077#line 10078 "configure"
10078#include "confdefs.h"
10079
10080int main() {
10081
10082; return 0; }
10083EOF
10084if { (eval echo configure:10085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10085 rm -rf conftest*
10086 ac_R_space=yes
10087else
10088 echo "configure: failed program was:" >&5
10089 cat conftest.$ac_ext >&5
10090 rm -rf conftest*
10091 ac_R_space=no
10092fi
10093rm -f conftest*
10094 if test $ac_R_space = yes; then
10095 echo "$ac_t""yes" 1>&6
10096 X_LIBS="$X_LIBS -R $x_libraries"
10097 else
10098 echo "$ac_t""neither works" 1>&6
10099 fi
10100 fi
10101 LIBS="$ac_xsave_LIBS"
10102 esac
10103 fi
10104
10105 # Check for system-dependent libraries X programs must link with.
10106 # Do this before checking for the system-independent R6 libraries
10107 # (-lICE), since we may need -lsocket or whatever for X linking.
10108
10109 if test "$ISC" = yes; then
10110 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10111 else
10112 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
10113 # libraries were built with DECnet support. And karl@cs.umb.edu says
10114 # the Alpha needs dnet_stub (dnet does not exist).
10115 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
10116echo "configure:10117: checking for dnet_ntoa in -ldnet" >&5
10117ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10118if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10119 echo $ac_n "(cached) $ac_c" 1>&6
10120else
10121 ac_save_LIBS="$LIBS"
10122LIBS="-ldnet $LIBS"
10123cat > conftest.$ac_ext <<EOF
10124#line 10125 "configure"
10125#include "confdefs.h"
10126/* Override any gcc2 internal prototype to avoid an error. */
10127/* We use char because int might match the return type of a gcc2
10128 builtin and then its argument prototype would still apply. */
10129char dnet_ntoa();
10130
10131int main() {
10132dnet_ntoa()
10133; return 0; }
10134EOF
10135if { (eval echo configure:10136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10136 rm -rf conftest*
10137 eval "ac_cv_lib_$ac_lib_var=yes"
10138else
10139 echo "configure: failed program was:" >&5
10140 cat conftest.$ac_ext >&5
10141 rm -rf conftest*
10142 eval "ac_cv_lib_$ac_lib_var=no"
10143fi
10144rm -f conftest*
10145LIBS="$ac_save_LIBS"
10146
10147fi
10148if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10149 echo "$ac_t""yes" 1>&6
10150 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10151else
10152 echo "$ac_t""no" 1>&6
10153fi
10154
10155 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10156 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
10157echo "configure:10158: checking for dnet_ntoa in -ldnet_stub" >&5
10158ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10159if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10160 echo $ac_n "(cached) $ac_c" 1>&6
10161else
10162 ac_save_LIBS="$LIBS"
10163LIBS="-ldnet_stub $LIBS"
10164cat > conftest.$ac_ext <<EOF
10165#line 10166 "configure"
10166#include "confdefs.h"
10167/* Override any gcc2 internal prototype to avoid an error. */
10168/* We use char because int might match the return type of a gcc2
10169 builtin and then its argument prototype would still apply. */
10170char dnet_ntoa();
10171
10172int main() {
10173dnet_ntoa()
10174; return 0; }
10175EOF
10176if { (eval echo configure:10177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10177 rm -rf conftest*
10178 eval "ac_cv_lib_$ac_lib_var=yes"
10179else
10180 echo "configure: failed program was:" >&5
10181 cat conftest.$ac_ext >&5
10182 rm -rf conftest*
10183 eval "ac_cv_lib_$ac_lib_var=no"
10184fi
10185rm -f conftest*
10186LIBS="$ac_save_LIBS"
10187
10188fi
10189if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10190 echo "$ac_t""yes" 1>&6
10191 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10192else
10193 echo "$ac_t""no" 1>&6
10194fi
10195
10196 fi
10197
10198 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10199 # to get the SysV transport functions.
10200 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
10201 # needs -lnsl.
10202 # The nsl library prevents programs from opening the X display
10203 # on Irix 5.2, according to dickey@clark.net.
10204 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
10205echo "configure:10206: checking for gethostbyname" >&5
10206if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
10207 echo $ac_n "(cached) $ac_c" 1>&6
10208else
10209 cat > conftest.$ac_ext <<EOF
10210#line 10211 "configure"
10211#include "confdefs.h"
10212/* System header to define __stub macros and hopefully few prototypes,
10213 which can conflict with char gethostbyname(); below. */
10214#include <assert.h>
10215/* Override any gcc2 internal prototype to avoid an error. */
10216/* We use char because int might match the return type of a gcc2
10217 builtin and then its argument prototype would still apply. */
10218char gethostbyname();
10219
10220int main() {
10221
10222/* The GNU C library defines this for functions which it implements
10223 to always fail with ENOSYS. Some functions are actually named
10224 something starting with __ and the normal name is an alias. */
10225#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10226choke me
10227#else
10228gethostbyname();
10229#endif
10230
10231; return 0; }
10232EOF
10233if { (eval echo configure:10234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10234 rm -rf conftest*
10235 eval "ac_cv_func_gethostbyname=yes"
10236else
10237 echo "configure: failed program was:" >&5
10238 cat conftest.$ac_ext >&5
10239 rm -rf conftest*
10240 eval "ac_cv_func_gethostbyname=no"
10241fi
10242rm -f conftest*
10243fi
10244
10245if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
10246 echo "$ac_t""yes" 1>&6
10247 :
10248else
10249 echo "$ac_t""no" 1>&6
10250fi
10251
10252 if test $ac_cv_func_gethostbyname = no; then
10253 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
10254echo "configure:10255: checking for gethostbyname in -lnsl" >&5
10255ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
10256if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10257 echo $ac_n "(cached) $ac_c" 1>&6
10258else
10259 ac_save_LIBS="$LIBS"
10260LIBS="-lnsl $LIBS"
10261cat > conftest.$ac_ext <<EOF
10262#line 10263 "configure"
10263#include "confdefs.h"
10264/* Override any gcc2 internal prototype to avoid an error. */
10265/* We use char because int might match the return type of a gcc2
10266 builtin and then its argument prototype would still apply. */
10267char gethostbyname();
10268
10269int main() {
10270gethostbyname()
10271; return 0; }
10272EOF
10273if { (eval echo configure:10274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10274 rm -rf conftest*
10275 eval "ac_cv_lib_$ac_lib_var=yes"
10276else
10277 echo "configure: failed program was:" >&5
10278 cat conftest.$ac_ext >&5
10279 rm -rf conftest*
10280 eval "ac_cv_lib_$ac_lib_var=no"
10281fi
10282rm -f conftest*
10283LIBS="$ac_save_LIBS"
10284
10285fi
10286if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10287 echo "$ac_t""yes" 1>&6
10288 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10289else
10290 echo "$ac_t""no" 1>&6
10291fi
10292
10293 fi
10294
10295 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10296 # socket/setsockopt and other routines are undefined under SCO ODT
10297 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10298 # on later versions), says simon@lia.di.epfl.ch: it contains
10299 # gethostby* variants that don't use the nameserver (or something).
10300 # -lsocket must be given before -lnsl if both are needed.
10301 # We assume that if connect needs -lnsl, so does gethostbyname.
10302 echo $ac_n "checking for connect""... $ac_c" 1>&6
10303echo "configure:10304: checking for connect" >&5
10304if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
10305 echo $ac_n "(cached) $ac_c" 1>&6
10306else
10307 cat > conftest.$ac_ext <<EOF
10308#line 10309 "configure"
10309#include "confdefs.h"
10310/* System header to define __stub macros and hopefully few prototypes,
10311 which can conflict with char connect(); below. */
10312#include <assert.h>
10313/* Override any gcc2 internal prototype to avoid an error. */
10314/* We use char because int might match the return type of a gcc2
10315 builtin and then its argument prototype would still apply. */
10316char connect();
10317
10318int main() {
10319
10320/* The GNU C library defines this for functions which it implements
10321 to always fail with ENOSYS. Some functions are actually named
10322 something starting with __ and the normal name is an alias. */
10323#if defined (__stub_connect) || defined (__stub___connect)
10324choke me
10325#else
10326connect();
10327#endif
10328
10329; return 0; }
10330EOF
10331if { (eval echo configure:10332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10332 rm -rf conftest*
10333 eval "ac_cv_func_connect=yes"
10334else
10335 echo "configure: failed program was:" >&5
10336 cat conftest.$ac_ext >&5
10337 rm -rf conftest*
10338 eval "ac_cv_func_connect=no"
10339fi
10340rm -f conftest*
10341fi
10342
10343if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
10344 echo "$ac_t""yes" 1>&6
10345 :
10346else
10347 echo "$ac_t""no" 1>&6
10348fi
10349
10350 if test $ac_cv_func_connect = no; then
10351 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
10352echo "configure:10353: checking for connect in -lsocket" >&5
10353ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
10354if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10355 echo $ac_n "(cached) $ac_c" 1>&6
10356else
10357 ac_save_LIBS="$LIBS"
10358LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10359cat > conftest.$ac_ext <<EOF
10360#line 10361 "configure"
10361#include "confdefs.h"
10362/* Override any gcc2 internal prototype to avoid an error. */
10363/* We use char because int might match the return type of a gcc2
10364 builtin and then its argument prototype would still apply. */
10365char connect();
10366
10367int main() {
10368connect()
10369; return 0; }
10370EOF
10371if { (eval echo configure:10372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10372 rm -rf conftest*
10373 eval "ac_cv_lib_$ac_lib_var=yes"
10374else
10375 echo "configure: failed program was:" >&5
10376 cat conftest.$ac_ext >&5
10377 rm -rf conftest*
10378 eval "ac_cv_lib_$ac_lib_var=no"
10379fi
10380rm -f conftest*
10381LIBS="$ac_save_LIBS"
10382
10383fi
10384if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10385 echo "$ac_t""yes" 1>&6
10386 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10387else
10388 echo "$ac_t""no" 1>&6
10389fi
10390
10391 fi
10392
10393 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
10394 echo $ac_n "checking for remove""... $ac_c" 1>&6
10395echo "configure:10396: checking for remove" >&5
10396if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
10397 echo $ac_n "(cached) $ac_c" 1>&6
10398else
10399 cat > conftest.$ac_ext <<EOF
10400#line 10401 "configure"
10401#include "confdefs.h"
10402/* System header to define __stub macros and hopefully few prototypes,
10403 which can conflict with char remove(); below. */
10404#include <assert.h>
10405/* Override any gcc2 internal prototype to avoid an error. */
10406/* We use char because int might match the return type of a gcc2
10407 builtin and then its argument prototype would still apply. */
10408char remove();
10409
10410int main() {
10411
10412/* The GNU C library defines this for functions which it implements
10413 to always fail with ENOSYS. Some functions are actually named
10414 something starting with __ and the normal name is an alias. */
10415#if defined (__stub_remove) || defined (__stub___remove)
10416choke me
10417#else
10418remove();
10419#endif
10420
10421; return 0; }
10422EOF
10423if { (eval echo configure:10424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10424 rm -rf conftest*
10425 eval "ac_cv_func_remove=yes"
10426else
10427 echo "configure: failed program was:" >&5
10428 cat conftest.$ac_ext >&5
10429 rm -rf conftest*
10430 eval "ac_cv_func_remove=no"
10431fi
10432rm -f conftest*
10433fi
10434
10435if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
10436 echo "$ac_t""yes" 1>&6
10437 :
10438else
10439 echo "$ac_t""no" 1>&6
10440fi
10441
10442 if test $ac_cv_func_remove = no; then
10443 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
10444echo "configure:10445: checking for remove in -lposix" >&5
10445ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
10446if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10447 echo $ac_n "(cached) $ac_c" 1>&6
10448else
10449 ac_save_LIBS="$LIBS"
10450LIBS="-lposix $LIBS"
10451cat > conftest.$ac_ext <<EOF
10452#line 10453 "configure"
10453#include "confdefs.h"
10454/* Override any gcc2 internal prototype to avoid an error. */
10455/* We use char because int might match the return type of a gcc2
10456 builtin and then its argument prototype would still apply. */
10457char remove();
10458
10459int main() {
10460remove()
10461; return 0; }
10462EOF
10463if { (eval echo configure:10464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10464 rm -rf conftest*
10465 eval "ac_cv_lib_$ac_lib_var=yes"
10466else
10467 echo "configure: failed program was:" >&5
10468 cat conftest.$ac_ext >&5
10469 rm -rf conftest*
10470 eval "ac_cv_lib_$ac_lib_var=no"
10471fi
10472rm -f conftest*
10473LIBS="$ac_save_LIBS"
10474
10475fi
10476if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10477 echo "$ac_t""yes" 1>&6
10478 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10479else
10480 echo "$ac_t""no" 1>&6
10481fi
10482
10483 fi
10484
10485 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10486 echo $ac_n "checking for shmat""... $ac_c" 1>&6
10487echo "configure:10488: checking for shmat" >&5
10488if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
10489 echo $ac_n "(cached) $ac_c" 1>&6
10490else
10491 cat > conftest.$ac_ext <<EOF
10492#line 10493 "configure"
10493#include "confdefs.h"
10494/* System header to define __stub macros and hopefully few prototypes,
10495 which can conflict with char shmat(); below. */
10496#include <assert.h>
10497/* Override any gcc2 internal prototype to avoid an error. */
10498/* We use char because int might match the return type of a gcc2
10499 builtin and then its argument prototype would still apply. */
10500char shmat();
10501
10502int main() {
10503
10504/* The GNU C library defines this for functions which it implements
10505 to always fail with ENOSYS. Some functions are actually named
10506 something starting with __ and the normal name is an alias. */
10507#if defined (__stub_shmat) || defined (__stub___shmat)
10508choke me
10509#else
10510shmat();
10511#endif
10512
10513; return 0; }
10514EOF
10515if { (eval echo configure:10516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10516 rm -rf conftest*
10517 eval "ac_cv_func_shmat=yes"
10518else
10519 echo "configure: failed program was:" >&5
10520 cat conftest.$ac_ext >&5
10521 rm -rf conftest*
10522 eval "ac_cv_func_shmat=no"
10523fi
10524rm -f conftest*
10525fi
10526
10527if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
10528 echo "$ac_t""yes" 1>&6
10529 :
10530else
10531 echo "$ac_t""no" 1>&6
10532fi
10533
10534 if test $ac_cv_func_shmat = no; then
10535 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
10536echo "configure:10537: checking for shmat in -lipc" >&5
10537ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
10538if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10539 echo $ac_n "(cached) $ac_c" 1>&6
10540else
10541 ac_save_LIBS="$LIBS"
10542LIBS="-lipc $LIBS"
10543cat > conftest.$ac_ext <<EOF
10544#line 10545 "configure"
10545#include "confdefs.h"
10546/* Override any gcc2 internal prototype to avoid an error. */
10547/* We use char because int might match the return type of a gcc2
10548 builtin and then its argument prototype would still apply. */
10549char shmat();
10550
10551int main() {
10552shmat()
10553; return 0; }
10554EOF
10555if { (eval echo configure:10556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10556 rm -rf conftest*
10557 eval "ac_cv_lib_$ac_lib_var=yes"
10558else
10559 echo "configure: failed program was:" >&5
10560 cat conftest.$ac_ext >&5
10561 rm -rf conftest*
10562 eval "ac_cv_lib_$ac_lib_var=no"
10563fi
10564rm -f conftest*
10565LIBS="$ac_save_LIBS"
10566
10567fi
10568if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10569 echo "$ac_t""yes" 1>&6
10570 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10571else
10572 echo "$ac_t""no" 1>&6
10573fi
10574
10575 fi
10576 fi
10577
10578 # Check for libraries that X11R6 Xt/Xaw programs need.
10579 ac_save_LDFLAGS="$LDFLAGS"
10580 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10581 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10582 # check for ICE first), but we must link in the order -lSM -lICE or
10583 # we get undefined symbols. So assume we have SM if we have ICE.
10584 # These have to be linked with before -lX11, unlike the other
10585 # libraries we check for below, so use a different variable.
10586 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10587 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10588echo "configure:10589: checking for IceConnectionNumber in -lICE" >&5
10589ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10590if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10591 echo $ac_n "(cached) $ac_c" 1>&6
10592else
10593 ac_save_LIBS="$LIBS"
10594LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10595cat > conftest.$ac_ext <<EOF
10596#line 10597 "configure"
10597#include "confdefs.h"
10598/* Override any gcc2 internal prototype to avoid an error. */
10599/* We use char because int might match the return type of a gcc2
10600 builtin and then its argument prototype would still apply. */
10601char IceConnectionNumber();
10602
10603int main() {
10604IceConnectionNumber()
10605; return 0; }
10606EOF
10607if { (eval echo configure:10608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10608 rm -rf conftest*
10609 eval "ac_cv_lib_$ac_lib_var=yes"
10610else
10611 echo "configure: failed program was:" >&5
10612 cat conftest.$ac_ext >&5
10613 rm -rf conftest*
10614 eval "ac_cv_lib_$ac_lib_var=no"
10615fi
10616rm -f conftest*
10617LIBS="$ac_save_LIBS"
10618
10619fi
10620if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10621 echo "$ac_t""yes" 1>&6
10622 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10623else
10624 echo "$ac_t""no" 1>&6
10625fi
10626
10627 LDFLAGS="$ac_save_LDFLAGS"
10628
10629fi
10630
10631 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10632 LDFLAGS="$LDFLAGS $X_LIBS"
10633
10634 if test "$wxUSE_MOTIF" = 1; then
10635 if test "$no_x" = "yes"; then
10636 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10637 fi
10638
10639 GUI_TK_LIBRARY="$X_LIBS"
10640 TOOLKIT_INCLUDE="$X_CFLAGS"
10641 AFMINSTALL=afminstall
10642 COMPILED_X_PROGRAM=0
10643
10644 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10645echo "configure:10646: checking for Motif/Lesstif headers" >&5
10646
10647ac_find_includes=
10648for ac_dir in $SEARCH_INCLUDE;
10649 do
10650 if test -f "$ac_dir/Xm/Xm.h"; then
10651 ac_find_includes=$ac_dir
10652 break
10653 fi
10654 done
10655
10656 if test "$ac_find_includes" != "" ; then
10657 echo "$ac_t""found $ac_find_includes" 1>&6
10658 else
10659 cat > conftest.$ac_ext <<EOF
10660#line 10661 "configure"
10661#include "confdefs.h"
10662
10663 #include <Xm/Xm.h>
10664
10665int main() {
10666
10667 int version;
10668 version = xmUseVersion;
10669
10670; return 0; }
10671EOF
10672if { (eval echo configure:10673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10673 rm -rf conftest*
10674
10675 echo "$ac_t""found in default search path" 1>&6
10676 COMPILED_X_PROGRAM=1
10677
10678else
10679 echo "configure: failed program was:" >&5
10680 cat conftest.$ac_ext >&5
10681 rm -rf conftest*
10682
10683 echo "$ac_t""no" 1>&6
10684 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10685
10686
10687fi
10688rm -f conftest*
10689 fi
10690
10691 if test "$COMPILED_X_PROGRAM" = 0; then
10692 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10693echo "configure:10694: checking for Motif/Lesstif library" >&5
10694
10695ac_find_libraries=
10696for ac_dir in $SEARCH_LIB;
10697 do
10698 for ac_extension in a so sl dylib; do
10699 if test -f "$ac_dir/libXm.$ac_extension"; then
10700 ac_find_libraries=$ac_dir
10701 break 2
10702 fi
10703 done
10704 done
10705
10706 if test "$ac_find_libraries" != "" ; then
10707
10708 ac_path_to_include=$ac_find_includes
10709 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
10710 result=$?
10711 if test $result = 0; then
10712 ac_path_to_include=""
10713 else
10714 ac_path_to_include="-I$ac_find_includes"
10715 fi
10716
10717
10718 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
10719 result=$?
10720 if test $result = 0; then
10721 ac_path_to_link=""
10722 else
10723 ac_path_to_link="-L$ac_find_libraries"
10724 fi
10725
10726
10727 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $ac_path_to_link"
10728 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE $ac_path_to_include"
10729 echo "$ac_t""found at $ac_find_libraries" 1>&6
10730 else
10731 cat > conftest.$ac_ext <<EOF
10732#line 10733 "configure"
10733#include "confdefs.h"
10734
10735 #include <Xm/Xm.h>
10736
10737int main() {
10738
10739 int version;
10740 version = xmUseVersion;
10741
10742; return 0; }
10743EOF
10744if { (eval echo configure:10745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10745 rm -rf conftest*
10746
10747 echo "$ac_t""found in default search path" 1>&6
10748 COMPILED_X_PROGRAM=1
10749
10750else
10751 echo "configure: failed program was:" >&5
10752 cat conftest.$ac_ext >&5
10753 rm -rf conftest*
10754
10755 echo "$ac_t""no" 1>&6
10756 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10757
10758
10759fi
10760rm -f conftest*
10761 fi
10762 fi
10763
10764 xpm_link=""
10765 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10766echo "configure:10767: checking for Xpm library" >&5
10767
10768ac_find_libraries=
10769for ac_dir in $SEARCH_LIB;
10770 do
10771 for ac_extension in a so sl dylib; do
10772 if test -f "$ac_dir/libXpm.$ac_extension"; then
10773 ac_find_libraries=$ac_dir
10774 break 2
10775 fi
10776 done
10777 done
10778
10779 if test "$ac_find_libraries" != "" ; then
10780
10781 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
10782 result=$?
10783 if test $result = 0; then
10784 ac_path_to_link=""
10785 else
10786 ac_path_to_link="-L$ac_find_libraries"
10787 fi
10788
10789 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $ac_path_to_link"
10790 xpm_link="-lXpm "
10791 cat >> confdefs.h <<\EOF
10792#define wxHAVE_LIB_XPM 1
10793EOF
10794
10795 echo "$ac_t""found at $ac_find_libraries" 1>&6
10796 else
10797 cat > conftest.$ac_ext <<EOF
10798#line 10799 "configure"
10799#include "confdefs.h"
10800
10801 #include <X11/xpm.h>
10802
10803int main() {
10804
10805 int version;
10806 version = XpmLibraryVersion();
10807
10808; return 0; }
10809EOF
10810if { (eval echo configure:10811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10811 rm -rf conftest*
10812
10813 xpm_link="-lXpm "
10814 cat >> confdefs.h <<\EOF
10815#define wxHAVE_LIB_XPM 1
10816EOF
10817
10818 echo "$ac_t""found in default search path" 1>&6
10819 COMPILED_X_PROGRAM=0
10820
10821else
10822 echo "configure: failed program was:" >&5
10823 cat conftest.$ac_ext >&5
10824 rm -rf conftest*
10825
10826 echo "$ac_t""no" 1>&6
10827 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10828
10829
10830fi
10831rm -f conftest*
10832 fi
10833
10834 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm $xpm_link -lXmu -lXext -lXt -lX11"
10835 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10836 TOOLKIT=MOTIF
10837 GUIDIST=MOTIF_DIST
10838 fi
10839
10840 if test "$wxUSE_MAC" = 1; then
10841 TOOLKIT=MAC
10842 GUIDIST=MACX_DIST
10843 fi
10844
10845 if test "$wxUSE_PM" = 1; then
10846 TOOLKIT=PM
10847 GUIDIST=GTK_DIST
10848 fi
10849
10850 if test "$TOOLKIT" = "PM" ; then
10851 TOOLKIT_DIR="os2"
10852 else
10853 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10854 fi
10855
10856 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
10857
10858 if test "$wxUSE_UNIVERSAL" = "yes"; then
10859 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10860 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10861 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
10862 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
10863 WIDGET_SET=univ
10864 else
10865 ALL_OBJECTS="\$(GUIOBJS)"
10866 fi
10867
10868 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10869
10870 if test "$TOOLKIT" != "MSW"; then
10871 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
10872 fi
10873
10874 if test "$wxUSE_HTML" = "yes"; then
10875 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
10876 fi
10877
10878 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
10879 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
10880 fi
10881 if test "$wxUSE_LIBJPEG" = "yes" ; then
10882 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
10883 fi
10884 if test "$wxUSE_LIBTIFF" = "yes" ; then
10885 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
10886 fi
10887 if test "$wxUSE_LIBPNG" = "yes" ; then
10888 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
10889 fi
10890 if test "$wxUSE_FREETYPE" = "yes" ; then
10891 ALL_OBJECTS="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10892 fi
10893
10894 RPM_FILES="src/\$(TOOLKITDIR)/rpmfiles.lst"
10895 RPM_SPEC="wx\$(TOOLKIT).spec"
10896
10897 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
10898 DISTDIR="wx\$(TOOLKIT)"
10899else
10900 USE_GUI=0
10901
10902 TOOLKIT_DIR="base"
10903
10904 if test "$USE_WIN32" = 1 ; then
10905 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
10906 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
10907
10908 TOOLKIT="MSW"
10909 else
10910 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
10911 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
10912 fi
10913
10914 PORT_FILES="\${top_srcdir}/src/files.lst"
10915 RPM_FILES="src/rpmfiles.lst"
10916 RPM_SPEC="wxBase.spec"
10917
10918 GUIDIST="BASE_DIST"
10919 DISTDIR="wxBase"
10920fi
10921
10922if test "x$REGEX_INCLUDE" != "x" ; then
10923 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
10924fi
10925if test "$wxUSE_ZLIB" = "yes" ; then
10926 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
10927fi
10928
10929if test "$wxUSE_OPENGL" = "yes"; then
10930 if test "$wxUSE_MAC" = 1; then
10931 cat >> confdefs.h <<\EOF
10932#define wxUSE_OPENGL 1
10933EOF
10934
10935 cat >> confdefs.h <<\EOF
10936#define wxUSE_GLCANVAS 1
10937EOF
10938
10939 OPENGL_LIBS="-framework OpenGL -framework AGL"
10940 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
10941 else
10942 ac_safe=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
10943echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
10944echo "configure:10945: checking for GL/gl.h" >&5
10945if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10946 echo $ac_n "(cached) $ac_c" 1>&6
10947else
10948 cat > conftest.$ac_ext <<EOF
10949#line 10950 "configure"
10950#include "confdefs.h"
10951#include <GL/gl.h>
10952EOF
10953ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10954{ (eval echo configure:10955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10955ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10956if test -z "$ac_err"; then
10957 rm -rf conftest*
10958 eval "ac_cv_header_$ac_safe=yes"
10959else
10960 echo "$ac_err" >&5
10961 echo "configure: failed program was:" >&5
10962 cat conftest.$ac_ext >&5
10963 rm -rf conftest*
10964 eval "ac_cv_header_$ac_safe=no"
10965fi
10966rm -f conftest*
10967fi
10968if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10969 echo "$ac_t""yes" 1>&6
10970
10971 cat >> confdefs.h <<\EOF
10972#define wxUSE_OPENGL 1
10973EOF
10974
10975 cat >> confdefs.h <<\EOF
10976#define wxUSE_GLCANVAS 1
10977EOF
10978
10979 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
10980 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
10981echo "configure:10982: checking for glFlush in -lGL" >&5
10982ac_lib_var=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
10983if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10984 echo $ac_n "(cached) $ac_c" 1>&6
10985else
10986 ac_save_LIBS="$LIBS"
10987LIBS="-lGL $LIBS"
10988cat > conftest.$ac_ext <<EOF
10989#line 10990 "configure"
10990#include "confdefs.h"
10991/* Override any gcc2 internal prototype to avoid an error. */
10992/* We use char because int might match the return type of a gcc2
10993 builtin and then its argument prototype would still apply. */
10994char glFlush();
10995
10996int main() {
10997glFlush()
10998; return 0; }
10999EOF
11000if { (eval echo configure:11001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11001 rm -rf conftest*
11002 eval "ac_cv_lib_$ac_lib_var=yes"
11003else
11004 echo "configure: failed program was:" >&5
11005 cat conftest.$ac_ext >&5
11006 rm -rf conftest*
11007 eval "ac_cv_lib_$ac_lib_var=no"
11008fi
11009rm -f conftest*
11010LIBS="$ac_save_LIBS"
11011
11012fi
11013if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11014 echo "$ac_t""yes" 1>&6
11015
11016 OPENGL_LIBS="-lGL -lGLU"
11017
11018else
11019 echo "$ac_t""no" 1>&6
11020
11021 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
11022echo "configure:11023: checking for glFlush in -lMesaGL" >&5
11023ac_lib_var=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
11024if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11025 echo $ac_n "(cached) $ac_c" 1>&6
11026else
11027 ac_save_LIBS="$LIBS"
11028LIBS="-lMesaGL $LIBS"
11029cat > conftest.$ac_ext <<EOF
11030#line 11031 "configure"
11031#include "confdefs.h"
11032/* Override any gcc2 internal prototype to avoid an error. */
11033/* We use char because int might match the return type of a gcc2
11034 builtin and then its argument prototype would still apply. */
11035char glFlush();
11036
11037int main() {
11038glFlush()
11039; return 0; }
11040EOF
11041if { (eval echo configure:11042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11042 rm -rf conftest*
11043 eval "ac_cv_lib_$ac_lib_var=yes"
11044else
11045 echo "configure: failed program was:" >&5
11046 cat conftest.$ac_ext >&5
11047 rm -rf conftest*
11048 eval "ac_cv_lib_$ac_lib_var=no"
11049fi
11050rm -f conftest*
11051LIBS="$ac_save_LIBS"
11052
11053fi
11054if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11055 echo "$ac_t""yes" 1>&6
11056
11057 OPENGL_LIBS="-lMesaGL -lMesaGLU"
11058
11059else
11060 echo "$ac_t""no" 1>&6
11061fi
11062
11063
11064fi
11065
11066
11067else
11068 echo "$ac_t""no" 1>&6
11069wxUSE_OPENGL=0
11070fi
11071
11072 fi
11073fi
11074
11075if test -z "$TOOLKIT_VPATH" ; then
11076 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
11077fi
11078
11079if test -n "$TOOLKIT" ; then
11080 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
11081fi
11082
11083if test "$wxUSE_CYGWIN" = 1 ; then
11084 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
11085fi
11086
11087lib_debug_suffix=
11088if test "$wxUSE_DEBUG_FLAG" = "yes"; then
11089 lib_debug_suffix=d
11090 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}d"
11091fi
11092
11093TOOLCHAIN_NAME="${TOOLKIT_DIR}${WIDGET_SET}${lib_debug_suffix}-${WX_RELEASE}"
11094TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${WIDGET_SET}${lib_debug_suffix}_gl-${WX_RELEASE}"
11095
11096if test "$cross_compiling" = "yes"; then
11097 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
11098 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
11099fi
11100
11101WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
11102WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
11103
11104WXCONFIG_LIBS="-l${WX_LIBRARY}"
11105
11106if test "$wxUSE_OPENGL" = "yes"; then
11107 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} $OPENGL_LIBS"
11108fi
11109
11110WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
11111WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
11112
11113WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11114WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11115
11116WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
11117WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
11118WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
11119WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
11120
11121WX_RESOURCES_DARWIN="lib${WX_LIBRARY}.rsrc"
11122
11123
11124
11125if test "$wxUSE_SHARED" = "yes"; then
11126
11127 if test "$wxUSE_OPENGL" = "yes"; then
11128 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11129 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
11130 else
11131 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
11132 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1}"
11133 fi
11134
11135 if test "$GCC" = "yes"; then
11136 PIC_FLAG="-fPIC"
11137 fi
11138
11139 SHARED_LD="${CXX} -shared -o"
11140
11141 case "${host}" in
11142 *-hp-hpux* )
11143 if test "$GCC" != "yes"; then
11144 LDFLAGS="-L/usr/lib"
11145
11146 SHARED_LD="${CXX} -b -o"
11147 PIC_FLAG="+Z"
11148 fi
11149
11150 ;;
11151
11152 *-*-linux* )
11153 if test "$GCC" != "yes"; then
11154 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
11155echo "configure:11156: checking for Intel compiler" >&5
11156if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
11157 echo $ac_n "(cached) $ac_c" 1>&6
11158else
11159
11160 cat > conftest.$ac_ext <<EOF
11161#line 11162 "configure"
11162#include "confdefs.h"
11163
11164int main() {
11165
11166 #ifndef __INTEL_COMPILER
11167 #error Not icc
11168 #endif
11169
11170; return 0; }
11171EOF
11172if { (eval echo configure:11173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11173 rm -rf conftest*
11174 wx_cv_prog_icc=yes
11175else
11176 echo "configure: failed program was:" >&5
11177 cat conftest.$ac_ext >&5
11178 rm -rf conftest*
11179 wx_cv_prog_icc=no
11180
11181fi
11182rm -f conftest*
11183
11184fi
11185
11186echo "$ac_t""$wx_cv_prog_icc" 1>&6
11187 if test "$wx_cv_prog_icc" = "yes"; then
11188 PIC_FLAG="-KPIC"
11189 fi
11190 fi
11191
11192 if test "$wxUSE_SONAME" = "yes" ; then
11193 SONAME_FLAGS="-Wl,-soname,${WX_LIBRARY_LINK1}"
11194 SONAME_FLAGS_GL="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
11195 WX_TARGET_LIBRARY_SONAME="-Wl,-soname,\$(TARGETLIB_LINK1)"
11196 fi
11197 ;;
11198
11199 *-*-solaris2* )
11200 if test "$GCC" = yes ; then
11201 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
11202 else
11203 SHARED_LD="${CXX} -G -o"
11204 PIC_FLAG="-KPIC"
11205 fi
11206 ;;
11207
11208 *-*-darwin* )
11209 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__UNIX__ -D__DARWIN__ -D__POWERPC__"
11210 CPPFLAGS="${CPPFLAGS} -fno-common"
11211 SHARED_LD="${CXX} -dynamiclib -o"
11212 PIC_FLAG="-dynamic -fPIC"
11213
11214 if test "$wxUSE_MAC" = 1 ; then
11215 WX_ALL="${WX_ALL} lib${WX_LIBRARY}.r"
11216 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -DTARGET_CARBON"
11217 CPPFLAGS="${CPPFLAGS} -fpascal-strings"
11218 CXXFLAGS="${CXXFLAGS} -cpp-precomp"
11219 # Extract the first word of "Rez", so it can be a program name with args.
11220set dummy Rez; ac_word=$2
11221echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11222echo "configure:11223: checking for $ac_word" >&5
11223if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
11224 echo $ac_n "(cached) $ac_c" 1>&6
11225else
11226 if test -n "$RESCOMP"; then
11227 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
11228else
11229 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
11230 ac_dummy="$PATH"
11231 for ac_dir in $ac_dummy; do
11232 test -z "$ac_dir" && ac_dir=.
11233 if test -f $ac_dir/$ac_word; then
11234 ac_cv_prog_RESCOMP="Rez"
11235 break
11236 fi
11237 done
11238 IFS="$ac_save_ifs"
11239 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
11240fi
11241fi
11242RESCOMP="$ac_cv_prog_RESCOMP"
11243if test -n "$RESCOMP"; then
11244 echo "$ac_t""$RESCOMP" 1>&6
11245else
11246 echo "$ac_t""no" 1>&6
11247fi
11248
11249 # Extract the first word of "Derez", so it can be a program name with args.
11250set dummy Derez; ac_word=$2
11251echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11252echo "configure:11253: checking for $ac_word" >&5
11253if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
11254 echo $ac_n "(cached) $ac_c" 1>&6
11255else
11256 if test -n "$DEREZ"; then
11257 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
11258else
11259 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
11260 ac_dummy="$PATH"
11261 for ac_dir in $ac_dummy; do
11262 test -z "$ac_dir" && ac_dir=.
11263 if test -f $ac_dir/$ac_word; then
11264 ac_cv_prog_DEREZ="Derez"
11265 break
11266 fi
11267 done
11268 IFS="$ac_save_ifs"
11269 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/Derez"
11270fi
11271fi
11272DEREZ="$ac_cv_prog_DEREZ"
11273if test -n "$DEREZ"; then
11274 echo "$ac_t""$DEREZ" 1>&6
11275else
11276 echo "$ac_t""no" 1>&6
11277fi
11278
11279 LIBWXMACRES="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
11280 LIBWXMACRESCOMP="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
11281 fi
11282 ;;
11283
11284 *-*-aix* )
11285 SHARED_LD="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
11286 ;;
11287
11288 *-*-cygwin* )
11289 echo "configure: warning: Shared libs unsupported for $host_alias -- forcing static build." 1>&2
11290 wxUSE_SHARED=no
11291 ;;
11292
11293 *-*-mingw32* )
11294 SHARED_LD="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_NAME_STATIC} -o"
11295 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -DWXUSINGDLL=1"
11296 WXMSW_DLL_DEFINES="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
11297 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
11298 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
11299 if test "$wxUSE_OPENGL" = "yes"; then
11300 WX_ALL_INSTALLED="preinstall_gl"
11301 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
11302 else
11303 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
11304 fi
11305 ;;
11306
11307 *-pc-os2_emx )
11308 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
11309 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
11310 ;;
11311
11312 *-*-beos* )
11313 SHARED_LD="${LD} -shared -o"
11314 ;;
11315
11316 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
11317 *-*-sunos4* | \
11318 *-*-irix5* | *-*-irix6* | \
11319 *-*-osf* | \
11320 *-*-dgux5* | \
11321 *-*-sysv5* )
11322 ;;
11323
11324 *)
11325 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
11326 esac
11327
11328 if test "x$WX_TARGET_LIBRARY" = "x"; then
11329 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
11330 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
11331 fi
11332
11333 WX_TARGET_LIBRARY_TYPE="so"
11334fi
11335
11336if test "$wxUSE_SHARED" = "no"; then
11337
11338 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
11339 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
11340 fi
11341
11342 if test "$wxUSE_OPENGL" = "yes"; then
11343 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
11344 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
11345 else
11346 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
11347 fi
11348
11349 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
11350 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
11351
11352 WX_TARGET_LIBRARY_TYPE="a"
11353fi
11354
11355
11356for ac_hdr in strings.h
11357do
11358ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11359echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11360echo "configure:11361: checking for $ac_hdr" >&5
11361if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11362 echo $ac_n "(cached) $ac_c" 1>&6
11363else
11364 cat > conftest.$ac_ext <<EOF
11365#line 11366 "configure"
11366#include "confdefs.h"
11367#include <$ac_hdr>
11368EOF
11369ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11370{ (eval echo configure:11371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11371ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11372if test -z "$ac_err"; then
11373 rm -rf conftest*
11374 eval "ac_cv_header_$ac_safe=yes"
11375else
11376 echo "$ac_err" >&5
11377 echo "configure: failed program was:" >&5
11378 cat conftest.$ac_ext >&5
11379 rm -rf conftest*
11380 eval "ac_cv_header_$ac_safe=no"
11381fi
11382rm -f conftest*
11383fi
11384if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11385 echo "$ac_t""yes" 1>&6
11386 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11387 cat >> confdefs.h <<EOF
11388#define $ac_tr_hdr 1
11389EOF
11390
11391else
11392 echo "$ac_t""no" 1>&6
11393fi
11394done
11395
11396for ac_hdr in stdlib.h
11397do
11398ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11399echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11400echo "configure:11401: checking for $ac_hdr" >&5
11401if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11402 echo $ac_n "(cached) $ac_c" 1>&6
11403else
11404 cat > conftest.$ac_ext <<EOF
11405#line 11406 "configure"
11406#include "confdefs.h"
11407#include <$ac_hdr>
11408EOF
11409ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11410{ (eval echo configure:11411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11411ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11412if test -z "$ac_err"; then
11413 rm -rf conftest*
11414 eval "ac_cv_header_$ac_safe=yes"
11415else
11416 echo "$ac_err" >&5
11417 echo "configure: failed program was:" >&5
11418 cat conftest.$ac_ext >&5
11419 rm -rf conftest*
11420 eval "ac_cv_header_$ac_safe=no"
11421fi
11422rm -f conftest*
11423fi
11424if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11425 echo "$ac_t""yes" 1>&6
11426 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11427 cat >> confdefs.h <<EOF
11428#define $ac_tr_hdr 1
11429EOF
11430
11431else
11432 echo "$ac_t""no" 1>&6
11433fi
11434done
11435
11436for ac_hdr in unistd.h
11437do
11438ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11439echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11440echo "configure:11441: checking for $ac_hdr" >&5
11441if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11442 echo $ac_n "(cached) $ac_c" 1>&6
11443else
11444 cat > conftest.$ac_ext <<EOF
11445#line 11446 "configure"
11446#include "confdefs.h"
11447#include <$ac_hdr>
11448EOF
11449ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11450{ (eval echo configure:11451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11451ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11452if test -z "$ac_err"; then
11453 rm -rf conftest*
11454 eval "ac_cv_header_$ac_safe=yes"
11455else
11456 echo "$ac_err" >&5
11457 echo "configure: failed program was:" >&5
11458 cat conftest.$ac_ext >&5
11459 rm -rf conftest*
11460 eval "ac_cv_header_$ac_safe=no"
11461fi
11462rm -f conftest*
11463fi
11464if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11465 echo "$ac_t""yes" 1>&6
11466 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11467 cat >> confdefs.h <<EOF
11468#define $ac_tr_hdr 1
11469EOF
11470
11471else
11472 echo "$ac_t""no" 1>&6
11473fi
11474done
11475
11476for ac_hdr in wchar.h
11477do
11478ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11479echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11480echo "configure:11481: checking for $ac_hdr" >&5
11481if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11482 echo $ac_n "(cached) $ac_c" 1>&6
11483else
11484 cat > conftest.$ac_ext <<EOF
11485#line 11486 "configure"
11486#include "confdefs.h"
11487#include <$ac_hdr>
11488EOF
11489ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11490{ (eval echo configure:11491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11491ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11492if test -z "$ac_err"; then
11493 rm -rf conftest*
11494 eval "ac_cv_header_$ac_safe=yes"
11495else
11496 echo "$ac_err" >&5
11497 echo "configure: failed program was:" >&5
11498 cat conftest.$ac_ext >&5
11499 rm -rf conftest*
11500 eval "ac_cv_header_$ac_safe=no"
11501fi
11502rm -f conftest*
11503fi
11504if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11505 echo "$ac_t""yes" 1>&6
11506 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11507 cat >> confdefs.h <<EOF
11508#define $ac_tr_hdr 1
11509EOF
11510
11511else
11512 echo "$ac_t""no" 1>&6
11513fi
11514done
11515
11516for ac_hdr in wcstr.h
11517do
11518ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11519echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11520echo "configure:11521: checking for $ac_hdr" >&5
11521if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11522 echo $ac_n "(cached) $ac_c" 1>&6
11523else
11524 cat > conftest.$ac_ext <<EOF
11525#line 11526 "configure"
11526#include "confdefs.h"
11527#include <$ac_hdr>
11528EOF
11529ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11530{ (eval echo configure:11531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11531ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11532if test -z "$ac_err"; then
11533 rm -rf conftest*
11534 eval "ac_cv_header_$ac_safe=yes"
11535else
11536 echo "$ac_err" >&5
11537 echo "configure: failed program was:" >&5
11538 cat conftest.$ac_ext >&5
11539 rm -rf conftest*
11540 eval "ac_cv_header_$ac_safe=no"
11541fi
11542rm -f conftest*
11543fi
11544if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11545 echo "$ac_t""yes" 1>&6
11546 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11547 cat >> confdefs.h <<EOF
11548#define $ac_tr_hdr 1
11549EOF
11550
11551else
11552 echo "$ac_t""no" 1>&6
11553fi
11554done
11555
11556for ac_hdr in fnmatch.h
11557do
11558ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11559echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11560echo "configure:11561: checking for $ac_hdr" >&5
11561if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11562 echo $ac_n "(cached) $ac_c" 1>&6
11563else
11564 cat > conftest.$ac_ext <<EOF
11565#line 11566 "configure"
11566#include "confdefs.h"
11567#include <$ac_hdr>
11568EOF
11569ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11570{ (eval echo configure:11571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11571ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11572if test -z "$ac_err"; then
11573 rm -rf conftest*
11574 eval "ac_cv_header_$ac_safe=yes"
11575else
11576 echo "$ac_err" >&5
11577 echo "configure: failed program was:" >&5
11578 cat conftest.$ac_ext >&5
11579 rm -rf conftest*
11580 eval "ac_cv_header_$ac_safe=no"
11581fi
11582rm -f conftest*
11583fi
11584if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11585 echo "$ac_t""yes" 1>&6
11586 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11587 cat >> confdefs.h <<EOF
11588#define $ac_tr_hdr 1
11589EOF
11590
11591else
11592 echo "$ac_t""no" 1>&6
11593fi
11594done
11595
11596for ac_hdr in iconv.h
11597do
11598ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11599echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11600echo "configure:11601: checking for $ac_hdr" >&5
11601if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11602 echo $ac_n "(cached) $ac_c" 1>&6
11603else
11604 cat > conftest.$ac_ext <<EOF
11605#line 11606 "configure"
11606#include "confdefs.h"
11607#include <$ac_hdr>
11608EOF
11609ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11610{ (eval echo configure:11611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11611ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11612if test -z "$ac_err"; then
11613 rm -rf conftest*
11614 eval "ac_cv_header_$ac_safe=yes"
11615else
11616 echo "$ac_err" >&5
11617 echo "configure: failed program was:" >&5
11618 cat conftest.$ac_ext >&5
11619 rm -rf conftest*
11620 eval "ac_cv_header_$ac_safe=no"
11621fi
11622rm -f conftest*
11623fi
11624if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11625 echo "$ac_t""yes" 1>&6
11626 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11627 cat >> confdefs.h <<EOF
11628#define $ac_tr_hdr 1
11629EOF
11630
11631else
11632 echo "$ac_t""no" 1>&6
11633fi
11634done
11635
11636for ac_hdr in langinfo.h
11637do
11638ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11639echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11640echo "configure:11641: checking for $ac_hdr" >&5
11641if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11642 echo $ac_n "(cached) $ac_c" 1>&6
11643else
11644 cat > conftest.$ac_ext <<EOF
11645#line 11646 "configure"
11646#include "confdefs.h"
11647#include <$ac_hdr>
11648EOF
11649ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11650{ (eval echo configure:11651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11651ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11652if test -z "$ac_err"; then
11653 rm -rf conftest*
11654 eval "ac_cv_header_$ac_safe=yes"
11655else
11656 echo "$ac_err" >&5
11657 echo "configure: failed program was:" >&5
11658 cat conftest.$ac_ext >&5
11659 rm -rf conftest*
11660 eval "ac_cv_header_$ac_safe=no"
11661fi
11662rm -f conftest*
11663fi
11664if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11665 echo "$ac_t""yes" 1>&6
11666 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11667 cat >> confdefs.h <<EOF
11668#define $ac_tr_hdr 1
11669EOF
11670
11671else
11672 echo "$ac_t""no" 1>&6
11673fi
11674done
11675
11676
11677if test "$wxUSE_GUI" = "yes"; then
11678 if test "$wxUSE_UNIX" = "yes"; then
11679 for ac_hdr in X11/XKBlib.h
11680do
11681ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11682echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11683echo "configure:11684: checking for $ac_hdr" >&5
11684if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11685 echo $ac_n "(cached) $ac_c" 1>&6
11686else
11687 cat > conftest.$ac_ext <<EOF
11688#line 11689 "configure"
11689#include "confdefs.h"
11690#include <$ac_hdr>
11691EOF
11692ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11693{ (eval echo configure:11694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11694ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11695if test -z "$ac_err"; then
11696 rm -rf conftest*
11697 eval "ac_cv_header_$ac_safe=yes"
11698else
11699 echo "$ac_err" >&5
11700 echo "configure: failed program was:" >&5
11701 cat conftest.$ac_ext >&5
11702 rm -rf conftest*
11703 eval "ac_cv_header_$ac_safe=no"
11704fi
11705rm -f conftest*
11706fi
11707if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11708 echo "$ac_t""yes" 1>&6
11709 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11710 cat >> confdefs.h <<EOF
11711#define $ac_tr_hdr 1
11712EOF
11713
11714else
11715 echo "$ac_t""no" 1>&6
11716fi
11717done
11718
11719 fi
11720fi
11721
11722
11723echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
11724echo "configure:11725: checking for ANSI C header files" >&5
11725if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
11726 echo $ac_n "(cached) $ac_c" 1>&6
11727else
11728 cat > conftest.$ac_ext <<EOF
11729#line 11730 "configure"
11730#include "confdefs.h"
11731#include <stdlib.h>
11732#include <stdarg.h>
11733#include <string.h>
11734#include <float.h>
11735EOF
11736ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11737{ (eval echo configure:11738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11738ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11739if test -z "$ac_err"; then
11740 rm -rf conftest*
11741 ac_cv_header_stdc=yes
11742else
11743 echo "$ac_err" >&5
11744 echo "configure: failed program was:" >&5
11745 cat conftest.$ac_ext >&5
11746 rm -rf conftest*
11747 ac_cv_header_stdc=no
11748fi
11749rm -f conftest*
11750
11751if test $ac_cv_header_stdc = yes; then
11752 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11753cat > conftest.$ac_ext <<EOF
11754#line 11755 "configure"
11755#include "confdefs.h"
11756#include <string.h>
11757EOF
11758if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11759 egrep "memchr" >/dev/null 2>&1; then
11760 :
11761else
11762 rm -rf conftest*
11763 ac_cv_header_stdc=no
11764fi
11765rm -f conftest*
11766
11767fi
11768
11769if test $ac_cv_header_stdc = yes; then
11770 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11771cat > conftest.$ac_ext <<EOF
11772#line 11773 "configure"
11773#include "confdefs.h"
11774#include <stdlib.h>
11775EOF
11776if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11777 egrep "free" >/dev/null 2>&1; then
11778 :
11779else
11780 rm -rf conftest*
11781 ac_cv_header_stdc=no
11782fi
11783rm -f conftest*
11784
11785fi
11786
11787if test $ac_cv_header_stdc = yes; then
11788 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11789if test "$cross_compiling" = yes; then
11790 :
11791else
11792 cat > conftest.$ac_ext <<EOF
11793#line 11794 "configure"
11794#include "confdefs.h"
11795#include <ctype.h>
11796#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11797#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11798#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11799int main () { int i; for (i = 0; i < 256; i++)
11800if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11801exit (0); }
11802
11803EOF
11804if { (eval echo configure:11805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11805then
11806 :
11807else
11808 echo "configure: failed program was:" >&5
11809 cat conftest.$ac_ext >&5
11810 rm -fr conftest*
11811 ac_cv_header_stdc=no
11812fi
11813rm -fr conftest*
11814fi
11815
11816fi
11817fi
11818
11819echo "$ac_t""$ac_cv_header_stdc" 1>&6
11820if test $ac_cv_header_stdc = yes; then
11821 cat >> confdefs.h <<\EOF
11822#define STDC_HEADERS 1
11823EOF
11824
11825fi
11826
11827echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11828echo "configure:11829: checking for mode_t" >&5
11829if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11830 echo $ac_n "(cached) $ac_c" 1>&6
11831else
11832 cat > conftest.$ac_ext <<EOF
11833#line 11834 "configure"
11834#include "confdefs.h"
11835#include <sys/types.h>
11836#if STDC_HEADERS
11837#include <stdlib.h>
11838#include <stddef.h>
11839#endif
11840EOF
11841if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11842 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
11843 rm -rf conftest*
11844 ac_cv_type_mode_t=yes
11845else
11846 rm -rf conftest*
11847 ac_cv_type_mode_t=no
11848fi
11849rm -f conftest*
11850
11851fi
11852echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11853if test $ac_cv_type_mode_t = no; then
11854 cat >> confdefs.h <<\EOF
11855#define mode_t int
11856EOF
11857
11858fi
11859
11860echo $ac_n "checking for off_t""... $ac_c" 1>&6
11861echo "configure:11862: checking for off_t" >&5
11862if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11863 echo $ac_n "(cached) $ac_c" 1>&6
11864else
11865 cat > conftest.$ac_ext <<EOF
11866#line 11867 "configure"
11867#include "confdefs.h"
11868#include <sys/types.h>
11869#if STDC_HEADERS
11870#include <stdlib.h>
11871#include <stddef.h>
11872#endif
11873EOF
11874if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11875 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
11876 rm -rf conftest*
11877 ac_cv_type_off_t=yes
11878else
11879 rm -rf conftest*
11880 ac_cv_type_off_t=no
11881fi
11882rm -f conftest*
11883
11884fi
11885echo "$ac_t""$ac_cv_type_off_t" 1>&6
11886if test $ac_cv_type_off_t = no; then
11887 cat >> confdefs.h <<\EOF
11888#define off_t long
11889EOF
11890
11891fi
11892
11893echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11894echo "configure:11895: checking for pid_t" >&5
11895if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11896 echo $ac_n "(cached) $ac_c" 1>&6
11897else
11898 cat > conftest.$ac_ext <<EOF
11899#line 11900 "configure"
11900#include "confdefs.h"
11901#include <sys/types.h>
11902#if STDC_HEADERS
11903#include <stdlib.h>
11904#include <stddef.h>
11905#endif
11906EOF
11907if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11908 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
11909 rm -rf conftest*
11910 ac_cv_type_pid_t=yes
11911else
11912 rm -rf conftest*
11913 ac_cv_type_pid_t=no
11914fi
11915rm -f conftest*
11916
11917fi
11918echo "$ac_t""$ac_cv_type_pid_t" 1>&6
11919if test $ac_cv_type_pid_t = no; then
11920 cat >> confdefs.h <<\EOF
11921#define pid_t int
11922EOF
11923
11924fi
11925
11926echo $ac_n "checking for size_t""... $ac_c" 1>&6
11927echo "configure:11928: checking for size_t" >&5
11928if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
11929 echo $ac_n "(cached) $ac_c" 1>&6
11930else
11931 cat > conftest.$ac_ext <<EOF
11932#line 11933 "configure"
11933#include "confdefs.h"
11934#include <sys/types.h>
11935#if STDC_HEADERS
11936#include <stdlib.h>
11937#include <stddef.h>
11938#endif
11939EOF
11940if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11941 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
11942 rm -rf conftest*
11943 ac_cv_type_size_t=yes
11944else
11945 rm -rf conftest*
11946 ac_cv_type_size_t=no
11947fi
11948rm -f conftest*
11949
11950fi
11951echo "$ac_t""$ac_cv_type_size_t" 1>&6
11952if test $ac_cv_type_size_t = no; then
11953 cat >> confdefs.h <<\EOF
11954#define size_t unsigned
11955EOF
11956
11957fi
11958
11959echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
11960echo "configure:11961: checking for uid_t in sys/types.h" >&5
11961if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
11962 echo $ac_n "(cached) $ac_c" 1>&6
11963else
11964 cat > conftest.$ac_ext <<EOF
11965#line 11966 "configure"
11966#include "confdefs.h"
11967#include <sys/types.h>
11968EOF
11969if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11970 egrep "uid_t" >/dev/null 2>&1; then
11971 rm -rf conftest*
11972 ac_cv_type_uid_t=yes
11973else
11974 rm -rf conftest*
11975 ac_cv_type_uid_t=no
11976fi
11977rm -f conftest*
11978
11979fi
11980
11981echo "$ac_t""$ac_cv_type_uid_t" 1>&6
11982if test $ac_cv_type_uid_t = no; then
11983 cat >> confdefs.h <<\EOF
11984#define uid_t int
11985EOF
11986
11987 cat >> confdefs.h <<\EOF
11988#define gid_t int
11989EOF
11990
11991fi
11992
11993
11994echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
11995echo "configure:11996: checking for wchar_t" >&5
11996if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
11997 echo $ac_n "(cached) $ac_c" 1>&6
11998else
11999
12000 cat > conftest.$ac_ext <<EOF
12001#line 12002 "configure"
12002#include "confdefs.h"
12003#include <wchar.h>
12004int main() {
12005
12006 wchar_t wc, *ws;
12007 wc = L'a';
12008 ws = L"Hello, world!";
12009
12010; return 0; }
12011EOF
12012if { (eval echo configure:12013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12013 rm -rf conftest*
12014 wx_cv_type_wchar_t=yes
12015else
12016 echo "configure: failed program was:" >&5
12017 cat conftest.$ac_ext >&5
12018 rm -rf conftest*
12019 cat > conftest.$ac_ext <<EOF
12020#line 12021 "configure"
12021#include "confdefs.h"
12022#include <stdlib.h>
12023int main() {
12024
12025 wchar_t wc, *ws;
12026 wc = L'a';
12027 ws = L"Hello, world!";
12028
12029; return 0; }
12030EOF
12031if { (eval echo configure:12032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12032 rm -rf conftest*
12033 wx_cv_type_wchar_t=yes
12034else
12035 echo "configure: failed program was:" >&5
12036 cat conftest.$ac_ext >&5
12037 rm -rf conftest*
12038 wx_cv_type_wchar_t=no
12039fi
12040rm -f conftest*
12041
12042fi
12043rm -f conftest*
12044
12045fi
12046
12047echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
12048
12049if test "$wx_cv_type_wchar_t" = "yes"; then
12050 cat >> confdefs.h <<\EOF
12051#define wxUSE_WCHAR_T 1
12052EOF
12053
12054fi
12055
12056
12057ac_ext=C
12058# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12059ac_cpp='$CXXCPP $CPPFLAGS'
12060ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12061ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12062cross_compiling=$ac_cv_prog_cxx_cross
12063
12064echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
12065echo "configure:12066: checking if size_t is unsigned int" >&5
12066if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
12067 echo $ac_n "(cached) $ac_c" 1>&6
12068else
12069 cat > conftest.$ac_ext <<EOF
12070#line 12071 "configure"
12071#include "confdefs.h"
12072#include <stddef.h>
12073int main() {
12074
12075 return 0; }
12076
12077 struct Foo { void foo(size_t); void foo(unsigned int); };
12078
12079 int bar() {
12080
12081; return 0; }
12082EOF
12083if { (eval echo configure:12084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12084 rm -rf conftest*
12085 wx_cv_size_t_is_uint=no
12086else
12087 echo "configure: failed program was:" >&5
12088 cat conftest.$ac_ext >&5
12089 rm -rf conftest*
12090 wx_cv_size_t_is_uint=yes
12091
12092fi
12093rm -f conftest*
12094
12095fi
12096
12097echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
12098
12099if test "$wx_cv_size_t_is_uint" = "yes"; then
12100 cat >> confdefs.h <<\EOF
12101#define wxSIZE_T_IS_UINT 1
12102EOF
12103
12104else
12105 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
12106echo "configure:12107: checking if size_t is unsigned long" >&5
12107if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
12108 echo $ac_n "(cached) $ac_c" 1>&6
12109else
12110 cat > conftest.$ac_ext <<EOF
12111#line 12112 "configure"
12112#include "confdefs.h"
12113#include <stddef.h>
12114int main() {
12115
12116 return 0; }
12117
12118 struct Foo { void foo(size_t); void foo(unsigned long); };
12119
12120 int bar() {
12121
12122; return 0; }
12123EOF
12124if { (eval echo configure:12125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12125 rm -rf conftest*
12126 wx_cv_size_t_is_ulong=no
12127else
12128 echo "configure: failed program was:" >&5
12129 cat conftest.$ac_ext >&5
12130 rm -rf conftest*
12131 wx_cv_size_t_is_ulong=yes
12132
12133fi
12134rm -f conftest*
12135
12136fi
12137
12138echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
12139
12140 if test "$wx_cv_size_t_is_ulong" = "yes"; then
12141 cat >> confdefs.h <<\EOF
12142#define wxSIZE_T_IS_ULONG 1
12143EOF
12144
12145 fi
12146fi
12147
12148ac_ext=c
12149# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12150ac_cpp='$CPP $CPPFLAGS'
12151ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12152ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12153cross_compiling=$ac_cv_prog_cc_cross
12154
12155
12156
12157echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
12158echo "configure:12159: checking for pw_gecos in struct passwd" >&5
12159if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
12160 echo $ac_n "(cached) $ac_c" 1>&6
12161else
12162
12163 cat > conftest.$ac_ext <<EOF
12164#line 12165 "configure"
12165#include "confdefs.h"
12166#include <pwd.h>
12167int main() {
12168
12169 char *p;
12170 struct passwd *pw;
12171 p = pw->pw_gecos;
12172
12173; return 0; }
12174EOF
12175if { (eval echo configure:12176: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12176 rm -rf conftest*
12177
12178 wx_cv_struct_pw_gecos=yes
12179
12180else
12181 echo "configure: failed program was:" >&5
12182 cat conftest.$ac_ext >&5
12183 rm -rf conftest*
12184
12185 wx_cv_struct_pw_gecos=no
12186
12187
12188fi
12189rm -f conftest*
12190
12191
12192fi
12193
12194echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
12195
12196if test "$wx_cv_struct_pw_gecos" = "yes"; then
12197 cat >> confdefs.h <<\EOF
12198#define HAVE_PW_GECOS 1
12199EOF
12200
12201fi
12202
12203
12204echo $ac_n "checking for working const""... $ac_c" 1>&6
12205echo "configure:12206: checking for working const" >&5
12206if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
12207 echo $ac_n "(cached) $ac_c" 1>&6
12208else
12209 cat > conftest.$ac_ext <<EOF
12210#line 12211 "configure"
12211#include "confdefs.h"
12212
12213int main() {
12214
12215/* Ultrix mips cc rejects this. */
12216typedef int charset[2]; const charset x;
12217/* SunOS 4.1.1 cc rejects this. */
12218char const *const *ccp;
12219char **p;
12220/* NEC SVR4.0.2 mips cc rejects this. */
12221struct point {int x, y;};
12222static struct point const zero = {0,0};
12223/* AIX XL C 1.02.0.0 rejects this.
12224 It does not let you subtract one const X* pointer from another in an arm
12225 of an if-expression whose if-part is not a constant expression */
12226const char *g = "string";
12227ccp = &g + (g ? g-g : 0);
12228/* HPUX 7.0 cc rejects these. */
12229++ccp;
12230p = (char**) ccp;
12231ccp = (char const *const *) p;
12232{ /* SCO 3.2v4 cc rejects this. */
12233 char *t;
12234 char const *s = 0 ? (char *) 0 : (char const *) 0;
12235
12236 *t++ = 0;
12237}
12238{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12239 int x[] = {25, 17};
12240 const int *foo = &x[0];
12241 ++foo;
12242}
12243{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12244 typedef const int *iptr;
12245 iptr p = 0;
12246 ++p;
12247}
12248{ /* AIX XL C 1.02.0.0 rejects this saying
12249 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12250 struct s { int j; const int *ap[3]; };
12251 struct s *b; b->j = 5;
12252}
12253{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12254 const int foo = 10;
12255}
12256
12257; return 0; }
12258EOF
12259if { (eval echo configure:12260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12260 rm -rf conftest*
12261 ac_cv_c_const=yes
12262else
12263 echo "configure: failed program was:" >&5
12264 cat conftest.$ac_ext >&5
12265 rm -rf conftest*
12266 ac_cv_c_const=no
12267fi
12268rm -f conftest*
12269fi
12270
12271echo "$ac_t""$ac_cv_c_const" 1>&6
12272if test $ac_cv_c_const = no; then
12273 cat >> confdefs.h <<\EOF
12274#define const
12275EOF
12276
12277fi
12278
12279echo $ac_n "checking for inline""... $ac_c" 1>&6
12280echo "configure:12281: checking for inline" >&5
12281if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
12282 echo $ac_n "(cached) $ac_c" 1>&6
12283else
12284 ac_cv_c_inline=no
12285for ac_kw in inline __inline__ __inline; do
12286 cat > conftest.$ac_ext <<EOF
12287#line 12288 "configure"
12288#include "confdefs.h"
12289
12290int main() {
12291} $ac_kw foo() {
12292; return 0; }
12293EOF
12294if { (eval echo configure:12295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12295 rm -rf conftest*
12296 ac_cv_c_inline=$ac_kw; break
12297else
12298 echo "configure: failed program was:" >&5
12299 cat conftest.$ac_ext >&5
12300fi
12301rm -f conftest*
12302done
12303
12304fi
12305
12306echo "$ac_t""$ac_cv_c_inline" 1>&6
12307case "$ac_cv_c_inline" in
12308 inline | yes) ;;
12309 no) cat >> confdefs.h <<\EOF
12310#define inline
12311EOF
12312 ;;
12313 *) cat >> confdefs.h <<EOF
12314#define inline $ac_cv_c_inline
12315EOF
12316 ;;
12317esac
12318
12319
12320echo $ac_n "checking size of char""... $ac_c" 1>&6
12321echo "configure:12322: checking size of char" >&5
12322if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
12323 echo $ac_n "(cached) $ac_c" 1>&6
12324else
12325 if test "$cross_compiling" = yes; then
12326 ac_cv_sizeof_char=1
12327else
12328 cat > conftest.$ac_ext <<EOF
12329#line 12330 "configure"
12330#include "confdefs.h"
12331#include <stdio.h>
12332main()
12333{
12334 FILE *f=fopen("conftestval", "w");
12335 if (!f) exit(1);
12336 fprintf(f, "%d\n", sizeof(char));
12337 exit(0);
12338}
12339EOF
12340if { (eval echo configure:12341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12341then
12342 ac_cv_sizeof_char=`cat conftestval`
12343else
12344 echo "configure: failed program was:" >&5
12345 cat conftest.$ac_ext >&5
12346 rm -fr conftest*
12347 ac_cv_sizeof_char=0
12348fi
12349rm -fr conftest*
12350fi
12351
12352fi
12353echo "$ac_t""$ac_cv_sizeof_char" 1>&6
12354cat >> confdefs.h <<EOF
12355#define SIZEOF_CHAR $ac_cv_sizeof_char
12356EOF
12357
12358
12359echo $ac_n "checking size of short""... $ac_c" 1>&6
12360echo "configure:12361: checking size of short" >&5
12361if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
12362 echo $ac_n "(cached) $ac_c" 1>&6
12363else
12364 if test "$cross_compiling" = yes; then
12365 ac_cv_sizeof_short=2
12366else
12367 cat > conftest.$ac_ext <<EOF
12368#line 12369 "configure"
12369#include "confdefs.h"
12370#include <stdio.h>
12371main()
12372{
12373 FILE *f=fopen("conftestval", "w");
12374 if (!f) exit(1);
12375 fprintf(f, "%d\n", sizeof(short));
12376 exit(0);
12377}
12378EOF
12379if { (eval echo configure:12380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12380then
12381 ac_cv_sizeof_short=`cat conftestval`
12382else
12383 echo "configure: failed program was:" >&5
12384 cat conftest.$ac_ext >&5
12385 rm -fr conftest*
12386 ac_cv_sizeof_short=0
12387fi
12388rm -fr conftest*
12389fi
12390
12391fi
12392echo "$ac_t""$ac_cv_sizeof_short" 1>&6
12393cat >> confdefs.h <<EOF
12394#define SIZEOF_SHORT $ac_cv_sizeof_short
12395EOF
12396
12397
12398echo $ac_n "checking size of int *""... $ac_c" 1>&6
12399echo "configure:12400: checking size of int *" >&5
12400if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
12401 echo $ac_n "(cached) $ac_c" 1>&6
12402else
12403 if test "$cross_compiling" = yes; then
12404 ac_cv_sizeof_int_p=4
12405else
12406 cat > conftest.$ac_ext <<EOF
12407#line 12408 "configure"
12408#include "confdefs.h"
12409#include <stdio.h>
12410main()
12411{
12412 FILE *f=fopen("conftestval", "w");
12413 if (!f) exit(1);
12414 fprintf(f, "%d\n", sizeof(int *));
12415 exit(0);
12416}
12417EOF
12418if { (eval echo configure:12419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12419then
12420 ac_cv_sizeof_int_p=`cat conftestval`
12421else
12422 echo "configure: failed program was:" >&5
12423 cat conftest.$ac_ext >&5
12424 rm -fr conftest*
12425 ac_cv_sizeof_int_p=0
12426fi
12427rm -fr conftest*
12428fi
12429
12430fi
12431echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
12432cat >> confdefs.h <<EOF
12433#define SIZEOF_INT_P $ac_cv_sizeof_int_p
12434EOF
12435
12436
12437echo $ac_n "checking size of int""... $ac_c" 1>&6
12438echo "configure:12439: checking size of int" >&5
12439if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
12440 echo $ac_n "(cached) $ac_c" 1>&6
12441else
12442 if test "$cross_compiling" = yes; then
12443 ac_cv_sizeof_int=4
12444else
12445 cat > conftest.$ac_ext <<EOF
12446#line 12447 "configure"
12447#include "confdefs.h"
12448#include <stdio.h>
12449main()
12450{
12451 FILE *f=fopen("conftestval", "w");
12452 if (!f) exit(1);
12453 fprintf(f, "%d\n", sizeof(int));
12454 exit(0);
12455}
12456EOF
12457if { (eval echo configure:12458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12458then
12459 ac_cv_sizeof_int=`cat conftestval`
12460else
12461 echo "configure: failed program was:" >&5
12462 cat conftest.$ac_ext >&5
12463 rm -fr conftest*
12464 ac_cv_sizeof_int=0
12465fi
12466rm -fr conftest*
12467fi
12468
12469fi
12470echo "$ac_t""$ac_cv_sizeof_int" 1>&6
12471cat >> confdefs.h <<EOF
12472#define SIZEOF_INT $ac_cv_sizeof_int
12473EOF
12474
12475
12476echo $ac_n "checking size of long""... $ac_c" 1>&6
12477echo "configure:12478: checking size of long" >&5
12478if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
12479 echo $ac_n "(cached) $ac_c" 1>&6
12480else
12481 if test "$cross_compiling" = yes; then
12482 ac_cv_sizeof_long=4
12483else
12484 cat > conftest.$ac_ext <<EOF
12485#line 12486 "configure"
12486#include "confdefs.h"
12487#include <stdio.h>
12488main()
12489{
12490 FILE *f=fopen("conftestval", "w");
12491 if (!f) exit(1);
12492 fprintf(f, "%d\n", sizeof(long));
12493 exit(0);
12494}
12495EOF
12496if { (eval echo configure:12497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12497then
12498 ac_cv_sizeof_long=`cat conftestval`
12499else
12500 echo "configure: failed program was:" >&5
12501 cat conftest.$ac_ext >&5
12502 rm -fr conftest*
12503 ac_cv_sizeof_long=0
12504fi
12505rm -fr conftest*
12506fi
12507
12508fi
12509echo "$ac_t""$ac_cv_sizeof_long" 1>&6
12510cat >> confdefs.h <<EOF
12511#define SIZEOF_LONG $ac_cv_sizeof_long
12512EOF
12513
12514
12515echo $ac_n "checking size of long long""... $ac_c" 1>&6
12516echo "configure:12517: checking size of long long" >&5
12517if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
12518 echo $ac_n "(cached) $ac_c" 1>&6
12519else
12520 if test "$cross_compiling" = yes; then
12521 ac_cv_sizeof_long_long=0
12522else
12523 cat > conftest.$ac_ext <<EOF
12524#line 12525 "configure"
12525#include "confdefs.h"
12526#include <stdio.h>
12527main()
12528{
12529 FILE *f=fopen("conftestval", "w");
12530 if (!f) exit(1);
12531 fprintf(f, "%d\n", sizeof(long long));
12532 exit(0);
12533}
12534EOF
12535if { (eval echo configure:12536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12536then
12537 ac_cv_sizeof_long_long=`cat conftestval`
12538else
12539 echo "configure: failed program was:" >&5
12540 cat conftest.$ac_ext >&5
12541 rm -fr conftest*
12542 ac_cv_sizeof_long_long=0
12543fi
12544rm -fr conftest*
12545fi
12546
12547fi
12548echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
12549cat >> confdefs.h <<EOF
12550#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12551EOF
12552
12553
12554
12555echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
12556echo "configure:12557: checking size of wchar_t" >&5
12557if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
12558 echo $ac_n "(cached) $ac_c" 1>&6
12559else
12560
12561 if test "$cross_compiling" = yes; then
12562 wx_cv_sizeof_wchar_t=4
12563
12564else
12565 cat > conftest.$ac_ext <<EOF
12566#line 12567 "configure"
12567#include "confdefs.h"
12568
12569 #ifdef HAVE_WCHAR_H
12570 # include <wchar.h>
12571 #endif
12572 #ifdef HAVE_STDLIB_H
12573 # include <stdlib.h>
12574 #endif
12575 #include <stdio.h>
12576 int main()
12577 {
12578 FILE *f=fopen("conftestval", "w");
12579 if (!f) exit(1);
12580 fprintf(f, "%i", sizeof(wchar_t));
12581 exit(0);
12582 }
12583
12584EOF
12585if { (eval echo configure:12586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12586then
12587 wx_cv_sizeof_wchar_t=`cat conftestval`
12588else
12589 echo "configure: failed program was:" >&5
12590 cat conftest.$ac_ext >&5
12591 rm -fr conftest*
12592 wx_cv_sizeof_wchar_t=0
12593fi
12594rm -fr conftest*
12595fi
12596
12597
12598fi
12599
12600echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
12601
12602cat >> confdefs.h <<EOF
12603#define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
12604EOF
12605
12606
12607echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
12608echo "configure:12609: checking whether byte ordering is bigendian" >&5
12609if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
12610 echo $ac_n "(cached) $ac_c" 1>&6
12611else
12612 ac_cv_c_bigendian=unknown
12613# See if sys/param.h defines the BYTE_ORDER macro.
12614cat > conftest.$ac_ext <<EOF
12615#line 12616 "configure"
12616#include "confdefs.h"
12617#include <sys/types.h>
12618#include <sys/param.h>
12619int main() {
12620
12621#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
12622 bogus endian macros
12623#endif
12624; return 0; }
12625EOF
12626if { (eval echo configure:12627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12627 rm -rf conftest*
12628 # It does; now see whether it defined to BIG_ENDIAN or not.
12629cat > conftest.$ac_ext <<EOF
12630#line 12631 "configure"
12631#include "confdefs.h"
12632#include <sys/types.h>
12633#include <sys/param.h>
12634int main() {
12635
12636#if BYTE_ORDER != BIG_ENDIAN
12637 not big endian
12638#endif
12639; return 0; }
12640EOF
12641if { (eval echo configure:12642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12642 rm -rf conftest*
12643 ac_cv_c_bigendian=yes
12644else
12645 echo "configure: failed program was:" >&5
12646 cat conftest.$ac_ext >&5
12647 rm -rf conftest*
12648 ac_cv_c_bigendian=no
12649fi
12650rm -f conftest*
12651else
12652 echo "configure: failed program was:" >&5
12653 cat conftest.$ac_ext >&5
12654fi
12655rm -f conftest*
12656if test $ac_cv_c_bigendian = unknown; then
12657if test "$cross_compiling" = yes; then
12658 ac_cv_c_bigendian=unknown
12659else
12660 cat > conftest.$ac_ext <<EOF
12661#line 12662 "configure"
12662#include "confdefs.h"
12663main () {
12664 /* Are we little or big endian? From Harbison&Steele. */
12665 union
12666 {
12667 long l;
12668 char c[sizeof (long)];
12669 } u;
12670 u.l = 1;
12671 exit (u.c[sizeof (long) - 1] == 1);
12672}
12673EOF
12674if { (eval echo configure:12675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12675then
12676 ac_cv_c_bigendian=no
12677else
12678 echo "configure: failed program was:" >&5
12679 cat conftest.$ac_ext >&5
12680 rm -fr conftest*
12681 ac_cv_c_bigendian=yes
12682fi
12683rm -fr conftest*
12684fi
12685
12686fi
12687fi
12688
12689echo "$ac_t""$ac_cv_c_bigendian" 1>&6
12690if test $ac_cv_c_bigendian = unknown; then
12691 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
12692fi
12693if test $ac_cv_c_bigendian = yes; then
12694 cat >> confdefs.h <<\EOF
12695#define WORDS_BIGENDIAN 1
12696EOF
12697
12698fi
12699
12700
12701echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
12702echo "configure:12703: checking how to run the C++ preprocessor" >&5
12703if test -z "$CXXCPP"; then
12704if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
12705 echo $ac_n "(cached) $ac_c" 1>&6
12706else
12707 ac_ext=C
12708# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12709ac_cpp='$CXXCPP $CPPFLAGS'
12710ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12711ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12712cross_compiling=$ac_cv_prog_cxx_cross
12713 CXXCPP="${CXX-g++} -E"
12714 cat > conftest.$ac_ext <<EOF
12715#line 12716 "configure"
12716#include "confdefs.h"
12717#include <stdlib.h>
12718EOF
12719ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12720{ (eval echo configure:12721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12721ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12722if test -z "$ac_err"; then
12723 :
12724else
12725 echo "$ac_err" >&5
12726 echo "configure: failed program was:" >&5
12727 cat conftest.$ac_ext >&5
12728 rm -rf conftest*
12729 CXXCPP=/lib/cpp
12730fi
12731rm -f conftest*
12732 ac_cv_prog_CXXCPP="$CXXCPP"
12733ac_ext=C
12734# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12735ac_cpp='$CXXCPP $CPPFLAGS'
12736ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12737ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12738cross_compiling=$ac_cv_prog_cxx_cross
12739fi
12740fi
12741CXXCPP="$ac_cv_prog_CXXCPP"
12742echo "$ac_t""$CXXCPP" 1>&6
12743
12744
12745 if test "$cross_compiling" = "yes"; then
12746 cat >> confdefs.h <<\EOF
12747#define wxUSE_IOSTREAMH 1
12748EOF
12749
12750 else
12751
12752 ac_ext=C
12753# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12754ac_cpp='$CXXCPP $CPPFLAGS'
12755ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12756ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12757cross_compiling=$ac_cv_prog_cxx_cross
12758
12759
12760 for ac_hdr in iostream
12761do
12762ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12763echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12764echo "configure:12765: checking for $ac_hdr" >&5
12765if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12766 echo $ac_n "(cached) $ac_c" 1>&6
12767else
12768 cat > conftest.$ac_ext <<EOF
12769#line 12770 "configure"
12770#include "confdefs.h"
12771#include <$ac_hdr>
12772EOF
12773ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12774{ (eval echo configure:12775: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12775ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12776if test -z "$ac_err"; then
12777 rm -rf conftest*
12778 eval "ac_cv_header_$ac_safe=yes"
12779else
12780 echo "$ac_err" >&5
12781 echo "configure: failed program was:" >&5
12782 cat conftest.$ac_ext >&5
12783 rm -rf conftest*
12784 eval "ac_cv_header_$ac_safe=no"
12785fi
12786rm -f conftest*
12787fi
12788if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12789 echo "$ac_t""yes" 1>&6
12790 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12791 cat >> confdefs.h <<EOF
12792#define $ac_tr_hdr 1
12793EOF
12794
12795else
12796 echo "$ac_t""no" 1>&6
12797fi
12798done
12799
12800
12801 if test "$ac_cv_header_iostream" = "yes" ; then
12802 :
12803 else
12804 cat >> confdefs.h <<\EOF
12805#define wxUSE_IOSTREAMH 1
12806EOF
12807
12808 fi
12809
12810 ac_ext=c
12811# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12812ac_cpp='$CPP $CPPFLAGS'
12813ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12814ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12815cross_compiling=$ac_cv_prog_cc_cross
12816
12817 fi
12818
12819
12820
12821 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12822echo "configure:12823: checking if C++ compiler supports bool" >&5
12823if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12824 echo $ac_n "(cached) $ac_c" 1>&6
12825else
12826
12827
12828 ac_ext=C
12829# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12830ac_cpp='$CXXCPP $CPPFLAGS'
12831ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12832ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12833cross_compiling=$ac_cv_prog_cxx_cross
12834
12835
12836 cat > conftest.$ac_ext <<EOF
12837#line 12838 "configure"
12838#include "confdefs.h"
12839
12840
12841int main() {
12842
12843 bool b = true;
12844
12845 return 0;
12846
12847; return 0; }
12848EOF
12849if { (eval echo configure:12850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12850 rm -rf conftest*
12851
12852 wx_cv_cpp_bool=yes
12853
12854else
12855 echo "configure: failed program was:" >&5
12856 cat conftest.$ac_ext >&5
12857 rm -rf conftest*
12858
12859 wx_cv_cpp_bool=no
12860
12861
12862fi
12863rm -f conftest*
12864
12865 ac_ext=c
12866# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12867ac_cpp='$CPP $CPPFLAGS'
12868ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12869ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12870cross_compiling=$ac_cv_prog_cc_cross
12871
12872
12873fi
12874
12875echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12876
12877 if test "$wx_cv_cpp_bool" = "yes"; then
12878 cat >> confdefs.h <<\EOF
12879#define HAVE_BOOL 1
12880EOF
12881
12882 fi
12883
12884
12885
12886echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12887echo "configure:12888: checking for wcslen in -lc" >&5
12888ac_lib_var=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
12889if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12890 echo $ac_n "(cached) $ac_c" 1>&6
12891else
12892 ac_save_LIBS="$LIBS"
12893LIBS="-lc $LIBS"
12894cat > conftest.$ac_ext <<EOF
12895#line 12896 "configure"
12896#include "confdefs.h"
12897/* Override any gcc2 internal prototype to avoid an error. */
12898/* We use char because int might match the return type of a gcc2
12899 builtin and then its argument prototype would still apply. */
12900char wcslen();
12901
12902int main() {
12903wcslen()
12904; return 0; }
12905EOF
12906if { (eval echo configure:12907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12907 rm -rf conftest*
12908 eval "ac_cv_lib_$ac_lib_var=yes"
12909else
12910 echo "configure: failed program was:" >&5
12911 cat conftest.$ac_ext >&5
12912 rm -rf conftest*
12913 eval "ac_cv_lib_$ac_lib_var=no"
12914fi
12915rm -f conftest*
12916LIBS="$ac_save_LIBS"
12917
12918fi
12919if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12920 echo "$ac_t""yes" 1>&6
12921
12922 cat >> confdefs.h <<\EOF
12923#define HAVE_WCSLEN 1
12924EOF
12925
12926 WCHAR_LINK=""
12927
12928else
12929 echo "$ac_t""no" 1>&6
12930
12931 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
12932echo "configure:12933: checking for wcslen in -lw" >&5
12933ac_lib_var=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
12934if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12935 echo $ac_n "(cached) $ac_c" 1>&6
12936else
12937 ac_save_LIBS="$LIBS"
12938LIBS="-lw $LIBS"
12939cat > conftest.$ac_ext <<EOF
12940#line 12941 "configure"
12941#include "confdefs.h"
12942/* Override any gcc2 internal prototype to avoid an error. */
12943/* We use char because int might match the return type of a gcc2
12944 builtin and then its argument prototype would still apply. */
12945char wcslen();
12946
12947int main() {
12948wcslen()
12949; return 0; }
12950EOF
12951if { (eval echo configure:12952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12952 rm -rf conftest*
12953 eval "ac_cv_lib_$ac_lib_var=yes"
12954else
12955 echo "configure: failed program was:" >&5
12956 cat conftest.$ac_ext >&5
12957 rm -rf conftest*
12958 eval "ac_cv_lib_$ac_lib_var=no"
12959fi
12960rm -f conftest*
12961LIBS="$ac_save_LIBS"
12962
12963fi
12964if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12965 echo "$ac_t""yes" 1>&6
12966
12967 cat >> confdefs.h <<\EOF
12968#define HAVE_WCSLEN 1
12969EOF
12970
12971 WCHAR_LINK="-lw"
12972
12973else
12974 echo "$ac_t""no" 1>&6
12975
12976 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
12977echo "configure:12978: checking for wcslen in -lmsvcrt" >&5
12978ac_lib_var=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
12979if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12980 echo $ac_n "(cached) $ac_c" 1>&6
12981else
12982 ac_save_LIBS="$LIBS"
12983LIBS="-lmsvcrt $LIBS"
12984cat > conftest.$ac_ext <<EOF
12985#line 12986 "configure"
12986#include "confdefs.h"
12987/* Override any gcc2 internal prototype to avoid an error. */
12988/* We use char because int might match the return type of a gcc2
12989 builtin and then its argument prototype would still apply. */
12990char wcslen();
12991
12992int main() {
12993wcslen()
12994; return 0; }
12995EOF
12996if { (eval echo configure:12997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12997 rm -rf conftest*
12998 eval "ac_cv_lib_$ac_lib_var=yes"
12999else
13000 echo "configure: failed program was:" >&5
13001 cat conftest.$ac_ext >&5
13002 rm -rf conftest*
13003 eval "ac_cv_lib_$ac_lib_var=no"
13004fi
13005rm -f conftest*
13006LIBS="$ac_save_LIBS"
13007
13008fi
13009if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13010 echo "$ac_t""yes" 1>&6
13011
13012 cat >> confdefs.h <<\EOF
13013#define HAVE_WCSLEN 1
13014EOF
13015
13016 WCHAR_LINK=""
13017
13018else
13019 echo "$ac_t""no" 1>&6
13020fi
13021
13022
13023fi
13024
13025
13026fi
13027
13028
13029for ac_func in wcsrtombs
13030do
13031echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13032echo "configure:13033: checking for $ac_func" >&5
13033if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13034 echo $ac_n "(cached) $ac_c" 1>&6
13035else
13036 cat > conftest.$ac_ext <<EOF
13037#line 13038 "configure"
13038#include "confdefs.h"
13039/* System header to define __stub macros and hopefully few prototypes,
13040 which can conflict with char $ac_func(); below. */
13041#include <assert.h>
13042/* Override any gcc2 internal prototype to avoid an error. */
13043/* We use char because int might match the return type of a gcc2
13044 builtin and then its argument prototype would still apply. */
13045char $ac_func();
13046
13047int main() {
13048
13049/* The GNU C library defines this for functions which it implements
13050 to always fail with ENOSYS. Some functions are actually named
13051 something starting with __ and the normal name is an alias. */
13052#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13053choke me
13054#else
13055$ac_func();
13056#endif
13057
13058; return 0; }
13059EOF
13060if { (eval echo configure:13061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13061 rm -rf conftest*
13062 eval "ac_cv_func_$ac_func=yes"
13063else
13064 echo "configure: failed program was:" >&5
13065 cat conftest.$ac_ext >&5
13066 rm -rf conftest*
13067 eval "ac_cv_func_$ac_func=no"
13068fi
13069rm -f conftest*
13070fi
13071
13072if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13073 echo "$ac_t""yes" 1>&6
13074 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13075 cat >> confdefs.h <<EOF
13076#define $ac_tr_func 1
13077EOF
13078
13079else
13080 echo "$ac_t""no" 1>&6
13081fi
13082done
13083
13084
13085echo $ac_n "checking for vprintf""... $ac_c" 1>&6
13086echo "configure:13087: checking for vprintf" >&5
13087if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
13088 echo $ac_n "(cached) $ac_c" 1>&6
13089else
13090 cat > conftest.$ac_ext <<EOF
13091#line 13092 "configure"
13092#include "confdefs.h"
13093/* System header to define __stub macros and hopefully few prototypes,
13094 which can conflict with char vprintf(); below. */
13095#include <assert.h>
13096/* Override any gcc2 internal prototype to avoid an error. */
13097/* We use char because int might match the return type of a gcc2
13098 builtin and then its argument prototype would still apply. */
13099char vprintf();
13100
13101int main() {
13102
13103/* The GNU C library defines this for functions which it implements
13104 to always fail with ENOSYS. Some functions are actually named
13105 something starting with __ and the normal name is an alias. */
13106#if defined (__stub_vprintf) || defined (__stub___vprintf)
13107choke me
13108#else
13109vprintf();
13110#endif
13111
13112; return 0; }
13113EOF
13114if { (eval echo configure:13115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13115 rm -rf conftest*
13116 eval "ac_cv_func_vprintf=yes"
13117else
13118 echo "configure: failed program was:" >&5
13119 cat conftest.$ac_ext >&5
13120 rm -rf conftest*
13121 eval "ac_cv_func_vprintf=no"
13122fi
13123rm -f conftest*
13124fi
13125
13126if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
13127 echo "$ac_t""yes" 1>&6
13128 cat >> confdefs.h <<\EOF
13129#define HAVE_VPRINTF 1
13130EOF
13131
13132else
13133 echo "$ac_t""no" 1>&6
13134fi
13135
13136if test "$ac_cv_func_vprintf" != yes; then
13137echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
13138echo "configure:13139: checking for _doprnt" >&5
13139if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
13140 echo $ac_n "(cached) $ac_c" 1>&6
13141else
13142 cat > conftest.$ac_ext <<EOF
13143#line 13144 "configure"
13144#include "confdefs.h"
13145/* System header to define __stub macros and hopefully few prototypes,
13146 which can conflict with char _doprnt(); below. */
13147#include <assert.h>
13148/* Override any gcc2 internal prototype to avoid an error. */
13149/* We use char because int might match the return type of a gcc2
13150 builtin and then its argument prototype would still apply. */
13151char _doprnt();
13152
13153int main() {
13154
13155/* The GNU C library defines this for functions which it implements
13156 to always fail with ENOSYS. Some functions are actually named
13157 something starting with __ and the normal name is an alias. */
13158#if defined (__stub__doprnt) || defined (__stub____doprnt)
13159choke me
13160#else
13161_doprnt();
13162#endif
13163
13164; return 0; }
13165EOF
13166if { (eval echo configure:13167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13167 rm -rf conftest*
13168 eval "ac_cv_func__doprnt=yes"
13169else
13170 echo "configure: failed program was:" >&5
13171 cat conftest.$ac_ext >&5
13172 rm -rf conftest*
13173 eval "ac_cv_func__doprnt=no"
13174fi
13175rm -f conftest*
13176fi
13177
13178if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
13179 echo "$ac_t""yes" 1>&6
13180 cat >> confdefs.h <<\EOF
13181#define HAVE_DOPRNT 1
13182EOF
13183
13184else
13185 echo "$ac_t""no" 1>&6
13186fi
13187
13188fi
13189
13190
13191
13192
13193
13194
13195echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
13196echo "configure:13197: checking for vsnprintf" >&5
13197if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
13198 echo $ac_n "(cached) $ac_c" 1>&6
13199else
13200
13201 cat > conftest.$ac_ext <<EOF
13202#line 13203 "configure"
13203#include "confdefs.h"
13204
13205 #include <stdio.h>
13206 #include <stdarg.h>
13207
13208int main() {
13209
13210 int wx_test_vsnprintf(const char *, ...);
13211
13212 wx_test_vsnprintf("%s");
13213 return 0;
13214 }
13215
13216 int wx_test_vsnprintf(const char *fmt, ...)
13217 {
13218 char *s;
13219
13220 va_list argp;
13221 va_start(argp, fmt);
13222 vsnprintf(s, 42, fmt, argp);
13223 va_end(argp);
13224
13225; return 0; }
13226EOF
13227if { (eval echo configure:13228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13228 rm -rf conftest*
13229
13230 wx_cv_func_vsnprintf=yes
13231
13232else
13233 echo "configure: failed program was:" >&5
13234 cat conftest.$ac_ext >&5
13235 rm -rf conftest*
13236
13237 cat > conftest.$ac_ext <<EOF
13238#line 13239 "configure"
13239#include "confdefs.h"
13240
13241 #include <stdio.h>
13242 #include <stdarg.h>
13243
13244int main() {
13245
13246 int wx_test_vsnprintf(const char *, ...);
13247
13248 wx_test_vsnprintf("%s");
13249 return 0;
13250 }
13251
13252 int wx_test_vsnprintf(const char *fmt, ...)
13253 {
13254 char *s;
13255
13256 va_list argp;
13257 va_start(argp, fmt);
13258 _vsnprintf(s, 42, fmt, argp);
13259 va_end(argp);
13260
13261; return 0; }
13262EOF
13263if { (eval echo configure:13264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13264 rm -rf conftest*
13265
13266 wx_cv_func_vsnprintf=yes
13267
13268else
13269 echo "configure: failed program was:" >&5
13270 cat conftest.$ac_ext >&5
13271 rm -rf conftest*
13272
13273 wx_cv_func_vsnprintf=no
13274
13275fi
13276rm -f conftest*
13277
13278fi
13279rm -f conftest*
13280
13281fi
13282
13283echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
13284
13285if test "$wx_cv_func_vsnprintf" = yes; then
13286 cat >> confdefs.h <<\EOF
13287#define HAVE_VSNPRINTF 1
13288EOF
13289
13290else
13291 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
13292fi
13293
13294echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
13295echo "configure:13296: checking for vsscanf" >&5
13296if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
13297 echo $ac_n "(cached) $ac_c" 1>&6
13298else
13299
13300 cat > conftest.$ac_ext <<EOF
13301#line 13302 "configure"
13302#include "confdefs.h"
13303
13304 #include <stdio.h>
13305 #include <stdarg.h>
13306
13307int main() {
13308
13309 int wx_test_vsscanf(const char *, ...);
13310
13311 wx_test_vsscanf("%d");
13312 return 0;
13313 }
13314
13315 int wx_test_vsscanf(const char *fmt, ...)
13316 {
13317 va_list argp;
13318 va_start(argp, fmt);
13319 vsscanf("42", fmt, argp);
13320 va_end(argp);
13321
13322; return 0; }
13323EOF
13324if { (eval echo configure:13325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13325 rm -rf conftest*
13326
13327 wx_cv_func_vsscanf=yes
13328
13329else
13330 echo "configure: failed program was:" >&5
13331 cat conftest.$ac_ext >&5
13332 rm -rf conftest*
13333
13334 wx_cv_func_vsscanf=no
13335
13336fi
13337rm -f conftest*
13338
13339fi
13340
13341echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
13342
13343if test "$wx_cv_func_vsscanf" = yes; then
13344 cat >> confdefs.h <<\EOF
13345#define HAVE_VSSCANF 1
13346EOF
13347
13348fi
13349
13350if test "$TOOLKIT" != "MSW"; then
13351
13352
13353
13354ac_ext=C
13355# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13356ac_cpp='$CXXCPP $CPPFLAGS'
13357ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13358ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13359cross_compiling=$ac_cv_prog_cxx_cross
13360
13361echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
13362echo "configure:13363: checking if iconv() takes char**" >&5
13363if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
13364 echo $ac_n "(cached) $ac_c" 1>&6
13365else
13366
13367 cat > conftest.$ac_ext <<EOF
13368#line 13369 "configure"
13369#include "confdefs.h"
13370#include <iconv.h>
13371int main() {
13372
13373 char **inbuf, **outbuf;
13374 iconv_t cd;
13375 size_t insz, outsz;
13376 iconv(cd, inbuf, &insz, outbuf, &outsz);
13377
13378; return 0; }
13379EOF
13380if { (eval echo configure:13381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13381 rm -rf conftest*
13382 wx_cv_iconv_takes_char=yes
13383else
13384 echo "configure: failed program was:" >&5
13385 cat conftest.$ac_ext >&5
13386 rm -rf conftest*
13387 wx_cv_iconv_takes_char=no
13388fi
13389rm -f conftest*
13390
13391fi
13392
13393echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
13394ac_ext=c
13395# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13396ac_cpp='$CPP $CPPFLAGS'
13397ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13398ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13399cross_compiling=$ac_cv_prog_cc_cross
13400
13401if test "$wx_cv_iconv_takes_char" = yes ; then
13402 cat >> confdefs.h <<\EOF
13403#define WX_ICONV_TAKES_CHAR 1
13404EOF
13405
13406fi
13407
13408
13409if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
13410 for ac_func in sigaction
13411do
13412echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13413echo "configure:13414: checking for $ac_func" >&5
13414if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13415 echo $ac_n "(cached) $ac_c" 1>&6
13416else
13417 cat > conftest.$ac_ext <<EOF
13418#line 13419 "configure"
13419#include "confdefs.h"
13420/* System header to define __stub macros and hopefully few prototypes,
13421 which can conflict with char $ac_func(); below. */
13422#include <assert.h>
13423/* Override any gcc2 internal prototype to avoid an error. */
13424/* We use char because int might match the return type of a gcc2
13425 builtin and then its argument prototype would still apply. */
13426char $ac_func();
13427
13428int main() {
13429
13430/* The GNU C library defines this for functions which it implements
13431 to always fail with ENOSYS. Some functions are actually named
13432 something starting with __ and the normal name is an alias. */
13433#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13434choke me
13435#else
13436$ac_func();
13437#endif
13438
13439; return 0; }
13440EOF
13441if { (eval echo configure:13442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13442 rm -rf conftest*
13443 eval "ac_cv_func_$ac_func=yes"
13444else
13445 echo "configure: failed program was:" >&5
13446 cat conftest.$ac_ext >&5
13447 rm -rf conftest*
13448 eval "ac_cv_func_$ac_func=no"
13449fi
13450rm -f conftest*
13451fi
13452
13453if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13454 echo "$ac_t""yes" 1>&6
13455 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13456 cat >> confdefs.h <<EOF
13457#define $ac_tr_func 1
13458EOF
13459
13460else
13461 echo "$ac_t""no" 1>&6
13462fi
13463done
13464
13465
13466 if test "$ac_cv_func_sigaction" = "no"; then
13467 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
13468 wxUSE_ON_FATAL_EXCEPTION=no
13469 fi
13470
13471 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
13472
13473 ac_ext=C
13474# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13475ac_cpp='$CXXCPP $CPPFLAGS'
13476ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13477ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13478cross_compiling=$ac_cv_prog_cxx_cross
13479
13480
13481 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
13482echo "configure:13483: checking for sa_handler type" >&5
13483if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
13484 echo $ac_n "(cached) $ac_c" 1>&6
13485else
13486
13487 cat > conftest.$ac_ext <<EOF
13488#line 13489 "configure"
13489#include "confdefs.h"
13490#include <signal.h>
13491int main() {
13492
13493 extern void testSigHandler(int);
13494
13495 struct sigaction sa;
13496 sa.sa_handler = testSigHandler;
13497
13498; return 0; }
13499EOF
13500if { (eval echo configure:13501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13501 rm -rf conftest*
13502
13503 wx_cv_type_sa_handler=int
13504
13505else
13506 echo "configure: failed program was:" >&5
13507 cat conftest.$ac_ext >&5
13508 rm -rf conftest*
13509
13510 wx_cv_type_sa_handler=void
13511
13512fi
13513rm -f conftest*
13514
13515fi
13516
13517echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
13518
13519 ac_ext=c
13520# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13521ac_cpp='$CPP $CPPFLAGS'
13522ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13523ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13524cross_compiling=$ac_cv_prog_cc_cross
13525
13526
13527 cat >> confdefs.h <<EOF
13528#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
13529EOF
13530
13531 fi
13532fi
13533
13534for ac_func in vfork
13535do
13536echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13537echo "configure:13538: checking for $ac_func" >&5
13538if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13539 echo $ac_n "(cached) $ac_c" 1>&6
13540else
13541 cat > conftest.$ac_ext <<EOF
13542#line 13543 "configure"
13543#include "confdefs.h"
13544/* System header to define __stub macros and hopefully few prototypes,
13545 which can conflict with char $ac_func(); below. */
13546#include <assert.h>
13547/* Override any gcc2 internal prototype to avoid an error. */
13548/* We use char because int might match the return type of a gcc2
13549 builtin and then its argument prototype would still apply. */
13550char $ac_func();
13551
13552int main() {
13553
13554/* The GNU C library defines this for functions which it implements
13555 to always fail with ENOSYS. Some functions are actually named
13556 something starting with __ and the normal name is an alias. */
13557#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13558choke me
13559#else
13560$ac_func();
13561#endif
13562
13563; return 0; }
13564EOF
13565if { (eval echo configure:13566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13566 rm -rf conftest*
13567 eval "ac_cv_func_$ac_func=yes"
13568else
13569 echo "configure: failed program was:" >&5
13570 cat conftest.$ac_ext >&5
13571 rm -rf conftest*
13572 eval "ac_cv_func_$ac_func=no"
13573fi
13574rm -f conftest*
13575fi
13576
13577if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13578 echo "$ac_t""yes" 1>&6
13579 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13580 cat >> confdefs.h <<EOF
13581#define $ac_tr_func 1
13582EOF
13583
13584else
13585 echo "$ac_t""no" 1>&6
13586fi
13587done
13588
13589
13590echo $ac_n "checking for statfs""... $ac_c" 1>&6
13591echo "configure:13592: checking for statfs" >&5
13592if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
13593 echo $ac_n "(cached) $ac_c" 1>&6
13594else
13595 cat > conftest.$ac_ext <<EOF
13596#line 13597 "configure"
13597#include "confdefs.h"
13598
13599 #include <sys/vfs.h>
13600
13601int main() {
13602
13603 long l;
13604 struct statfs fs;
13605 statfs("/", &fs);
13606 l = fs.f_bsize;
13607 l += fs.f_blocks;
13608 l += fs.f_bavail;
13609
13610; return 0; }
13611EOF
13612if { (eval echo configure:13613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13613 rm -rf conftest*
13614
13615 wx_cv_func_statfs=yes
13616
13617else
13618 echo "configure: failed program was:" >&5
13619 cat conftest.$ac_ext >&5
13620 rm -rf conftest*
13621
13622 wx_cv_func_statfs=no
13623
13624
13625fi
13626rm -f conftest*
13627
13628fi
13629
13630echo "$ac_t""$wx_cv_func_statfs" 1>&6
13631
13632if test "$wx_cv_func_statfs" = "yes"; then
13633 cat >> confdefs.h <<\EOF
13634#define HAVE_STATFS 1
13635EOF
13636
13637else
13638 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
13639fi
13640
13641if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
13642 for ac_func in fcntl flock
13643do
13644echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13645echo "configure:13646: checking for $ac_func" >&5
13646if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13647 echo $ac_n "(cached) $ac_c" 1>&6
13648else
13649 cat > conftest.$ac_ext <<EOF
13650#line 13651 "configure"
13651#include "confdefs.h"
13652/* System header to define __stub macros and hopefully few prototypes,
13653 which can conflict with char $ac_func(); below. */
13654#include <assert.h>
13655/* Override any gcc2 internal prototype to avoid an error. */
13656/* We use char because int might match the return type of a gcc2
13657 builtin and then its argument prototype would still apply. */
13658char $ac_func();
13659
13660int main() {
13661
13662/* The GNU C library defines this for functions which it implements
13663 to always fail with ENOSYS. Some functions are actually named
13664 something starting with __ and the normal name is an alias. */
13665#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13666choke me
13667#else
13668$ac_func();
13669#endif
13670
13671; return 0; }
13672EOF
13673if { (eval echo configure:13674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13674 rm -rf conftest*
13675 eval "ac_cv_func_$ac_func=yes"
13676else
13677 echo "configure: failed program was:" >&5
13678 cat conftest.$ac_ext >&5
13679 rm -rf conftest*
13680 eval "ac_cv_func_$ac_func=no"
13681fi
13682rm -f conftest*
13683fi
13684
13685if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13686 echo "$ac_t""yes" 1>&6
13687 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13688 cat >> confdefs.h <<EOF
13689#define $ac_tr_func 1
13690EOF
13691 break
13692else
13693 echo "$ac_t""no" 1>&6
13694fi
13695done
13696
13697
13698 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
13699 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
13700 wxUSE_SNGLINST_CHECKER=no
13701 fi
13702fi
13703
13704for ac_func in timegm
13705do
13706echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13707echo "configure:13708: checking for $ac_func" >&5
13708if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13709 echo $ac_n "(cached) $ac_c" 1>&6
13710else
13711 cat > conftest.$ac_ext <<EOF
13712#line 13713 "configure"
13713#include "confdefs.h"
13714/* System header to define __stub macros and hopefully few prototypes,
13715 which can conflict with char $ac_func(); below. */
13716#include <assert.h>
13717/* Override any gcc2 internal prototype to avoid an error. */
13718/* We use char because int might match the return type of a gcc2
13719 builtin and then its argument prototype would still apply. */
13720char $ac_func();
13721
13722int main() {
13723
13724/* The GNU C library defines this for functions which it implements
13725 to always fail with ENOSYS. Some functions are actually named
13726 something starting with __ and the normal name is an alias. */
13727#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13728choke me
13729#else
13730$ac_func();
13731#endif
13732
13733; return 0; }
13734EOF
13735if { (eval echo configure:13736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13736 rm -rf conftest*
13737 eval "ac_cv_func_$ac_func=yes"
13738else
13739 echo "configure: failed program was:" >&5
13740 cat conftest.$ac_ext >&5
13741 rm -rf conftest*
13742 eval "ac_cv_func_$ac_func=no"
13743fi
13744rm -f conftest*
13745fi
13746
13747if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13748 echo "$ac_t""yes" 1>&6
13749 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13750 cat >> confdefs.h <<EOF
13751#define $ac_tr_func 1
13752EOF
13753
13754else
13755 echo "$ac_t""no" 1>&6
13756fi
13757done
13758
13759
13760for ac_func in putenv setenv
13761do
13762echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13763echo "configure:13764: checking for $ac_func" >&5
13764if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13765 echo $ac_n "(cached) $ac_c" 1>&6
13766else
13767 cat > conftest.$ac_ext <<EOF
13768#line 13769 "configure"
13769#include "confdefs.h"
13770/* System header to define __stub macros and hopefully few prototypes,
13771 which can conflict with char $ac_func(); below. */
13772#include <assert.h>
13773/* Override any gcc2 internal prototype to avoid an error. */
13774/* We use char because int might match the return type of a gcc2
13775 builtin and then its argument prototype would still apply. */
13776char $ac_func();
13777
13778int main() {
13779
13780/* The GNU C library defines this for functions which it implements
13781 to always fail with ENOSYS. Some functions are actually named
13782 something starting with __ and the normal name is an alias. */
13783#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13784choke me
13785#else
13786$ac_func();
13787#endif
13788
13789; return 0; }
13790EOF
13791if { (eval echo configure:13792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13792 rm -rf conftest*
13793 eval "ac_cv_func_$ac_func=yes"
13794else
13795 echo "configure: failed program was:" >&5
13796 cat conftest.$ac_ext >&5
13797 rm -rf conftest*
13798 eval "ac_cv_func_$ac_func=no"
13799fi
13800rm -f conftest*
13801fi
13802
13803if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13804 echo "$ac_t""yes" 1>&6
13805 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13806 cat >> confdefs.h <<EOF
13807#define $ac_tr_func 1
13808EOF
13809 break
13810else
13811 echo "$ac_t""no" 1>&6
13812fi
13813done
13814
13815
13816HAVE_SOME_SLEEP_FUNC=0
13817if test "$USE_BEOS" = 1; then
13818 cat >> confdefs.h <<\EOF
13819#define HAVE_SLEEP 1
13820EOF
13821
13822 HAVE_SOME_SLEEP_FUNC=1
13823fi
13824
13825if test "$USE_DARWIN" = 1; then
13826 cat >> confdefs.h <<\EOF
13827#define HAVE_USLEEP 1
13828EOF
13829
13830 HAVE_SOME_SLEEP_FUNC=1
13831fi
13832
13833if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
13834 POSIX4_LINK=
13835 for ac_func in nanosleep
13836do
13837echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13838echo "configure:13839: checking for $ac_func" >&5
13839if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13840 echo $ac_n "(cached) $ac_c" 1>&6
13841else
13842 cat > conftest.$ac_ext <<EOF
13843#line 13844 "configure"
13844#include "confdefs.h"
13845/* System header to define __stub macros and hopefully few prototypes,
13846 which can conflict with char $ac_func(); below. */
13847#include <assert.h>
13848/* Override any gcc2 internal prototype to avoid an error. */
13849/* We use char because int might match the return type of a gcc2
13850 builtin and then its argument prototype would still apply. */
13851char $ac_func();
13852
13853int main() {
13854
13855/* The GNU C library defines this for functions which it implements
13856 to always fail with ENOSYS. Some functions are actually named
13857 something starting with __ and the normal name is an alias. */
13858#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13859choke me
13860#else
13861$ac_func();
13862#endif
13863
13864; return 0; }
13865EOF
13866if { (eval echo configure:13867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13867 rm -rf conftest*
13868 eval "ac_cv_func_$ac_func=yes"
13869else
13870 echo "configure: failed program was:" >&5
13871 cat conftest.$ac_ext >&5
13872 rm -rf conftest*
13873 eval "ac_cv_func_$ac_func=no"
13874fi
13875rm -f conftest*
13876fi
13877
13878if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13879 echo "$ac_t""yes" 1>&6
13880 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13881 cat >> confdefs.h <<EOF
13882#define $ac_tr_func 1
13883EOF
13884 cat >> confdefs.h <<\EOF
13885#define HAVE_NANOSLEEP 1
13886EOF
13887
13888else
13889 echo "$ac_t""no" 1>&6
13890echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
13891echo "configure:13892: checking for nanosleep in -lposix4" >&5
13892ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
13893if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13894 echo $ac_n "(cached) $ac_c" 1>&6
13895else
13896 ac_save_LIBS="$LIBS"
13897LIBS="-lposix4 $LIBS"
13898cat > conftest.$ac_ext <<EOF
13899#line 13900 "configure"
13900#include "confdefs.h"
13901/* Override any gcc2 internal prototype to avoid an error. */
13902/* We use char because int might match the return type of a gcc2
13903 builtin and then its argument prototype would still apply. */
13904char nanosleep();
13905
13906int main() {
13907nanosleep()
13908; return 0; }
13909EOF
13910if { (eval echo configure:13911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13911 rm -rf conftest*
13912 eval "ac_cv_lib_$ac_lib_var=yes"
13913else
13914 echo "configure: failed program was:" >&5
13915 cat conftest.$ac_ext >&5
13916 rm -rf conftest*
13917 eval "ac_cv_lib_$ac_lib_var=no"
13918fi
13919rm -f conftest*
13920LIBS="$ac_save_LIBS"
13921
13922fi
13923if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13924 echo "$ac_t""yes" 1>&6
13925
13926 cat >> confdefs.h <<\EOF
13927#define HAVE_NANOSLEEP 1
13928EOF
13929
13930 POSIX4_LINK="-lposix4"
13931
13932else
13933 echo "$ac_t""no" 1>&6
13934
13935 for ac_func in usleep
13936do
13937echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13938echo "configure:13939: checking for $ac_func" >&5
13939if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13940 echo $ac_n "(cached) $ac_c" 1>&6
13941else
13942 cat > conftest.$ac_ext <<EOF
13943#line 13944 "configure"
13944#include "confdefs.h"
13945/* System header to define __stub macros and hopefully few prototypes,
13946 which can conflict with char $ac_func(); below. */
13947#include <assert.h>
13948/* Override any gcc2 internal prototype to avoid an error. */
13949/* We use char because int might match the return type of a gcc2
13950 builtin and then its argument prototype would still apply. */
13951char $ac_func();
13952
13953int main() {
13954
13955/* The GNU C library defines this for functions which it implements
13956 to always fail with ENOSYS. Some functions are actually named
13957 something starting with __ and the normal name is an alias. */
13958#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13959choke me
13960#else
13961$ac_func();
13962#endif
13963
13964; return 0; }
13965EOF
13966if { (eval echo configure:13967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13967 rm -rf conftest*
13968 eval "ac_cv_func_$ac_func=yes"
13969else
13970 echo "configure: failed program was:" >&5
13971 cat conftest.$ac_ext >&5
13972 rm -rf conftest*
13973 eval "ac_cv_func_$ac_func=no"
13974fi
13975rm -f conftest*
13976fi
13977
13978if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13979 echo "$ac_t""yes" 1>&6
13980 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13981 cat >> confdefs.h <<EOF
13982#define $ac_tr_func 1
13983EOF
13984 cat >> confdefs.h <<\EOF
13985#define HAVE_USLEEP 1
13986EOF
13987
13988else
13989 echo "$ac_t""no" 1>&6
13990echo "configure: warning: wxSleep() function will not work" 1>&2
13991
13992fi
13993done
13994
13995
13996
13997fi
13998
13999
14000
14001fi
14002done
14003
14004fi
14005
14006for ac_func in uname gethostname
14007do
14008echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14009echo "configure:14010: checking for $ac_func" >&5
14010if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14011 echo $ac_n "(cached) $ac_c" 1>&6
14012else
14013 cat > conftest.$ac_ext <<EOF
14014#line 14015 "configure"
14015#include "confdefs.h"
14016/* System header to define __stub macros and hopefully few prototypes,
14017 which can conflict with char $ac_func(); below. */
14018#include <assert.h>
14019/* Override any gcc2 internal prototype to avoid an error. */
14020/* We use char because int might match the return type of a gcc2
14021 builtin and then its argument prototype would still apply. */
14022char $ac_func();
14023
14024int main() {
14025
14026/* The GNU C library defines this for functions which it implements
14027 to always fail with ENOSYS. Some functions are actually named
14028 something starting with __ and the normal name is an alias. */
14029#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14030choke me
14031#else
14032$ac_func();
14033#endif
14034
14035; return 0; }
14036EOF
14037if { (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_func_$ac_func=yes"
14040else
14041 echo "configure: failed program was:" >&5
14042 cat conftest.$ac_ext >&5
14043 rm -rf conftest*
14044 eval "ac_cv_func_$ac_func=no"
14045fi
14046rm -f conftest*
14047fi
14048
14049if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14050 echo "$ac_t""yes" 1>&6
14051 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14052 cat >> confdefs.h <<EOF
14053#define $ac_tr_func 1
14054EOF
14055 break
14056else
14057 echo "$ac_t""no" 1>&6
14058fi
14059done
14060
14061
14062
14063ac_ext=C
14064# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14065ac_cpp='$CXXCPP $CPPFLAGS'
14066ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14067ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14068cross_compiling=$ac_cv_prog_cxx_cross
14069
14070
14071for ac_func in strtok_r
14072do
14073echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14074echo "configure:14075: checking for $ac_func" >&5
14075if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14076 echo $ac_n "(cached) $ac_c" 1>&6
14077else
14078 cat > conftest.$ac_ext <<EOF
14079#line 14080 "configure"
14080#include "confdefs.h"
14081/* System header to define __stub macros and hopefully few prototypes,
14082 which can conflict with char $ac_func(); below. */
14083#include <assert.h>
14084/* Override any gcc2 internal prototype to avoid an error. */
14085#ifdef __cplusplus
14086extern "C"
14087#endif
14088/* We use char because int might match the return type of a gcc2
14089 builtin and then its argument prototype would still apply. */
14090char $ac_func();
14091
14092int main() {
14093
14094/* The GNU C library defines this for functions which it implements
14095 to always fail with ENOSYS. Some functions are actually named
14096 something starting with __ and the normal name is an alias. */
14097#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14098choke me
14099#else
14100$ac_func();
14101#endif
14102
14103; return 0; }
14104EOF
14105if { (eval echo configure:14106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14106 rm -rf conftest*
14107 eval "ac_cv_func_$ac_func=yes"
14108else
14109 echo "configure: failed program was:" >&5
14110 cat conftest.$ac_ext >&5
14111 rm -rf conftest*
14112 eval "ac_cv_func_$ac_func=no"
14113fi
14114rm -f conftest*
14115fi
14116
14117if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14118 echo "$ac_t""yes" 1>&6
14119 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14120 cat >> confdefs.h <<EOF
14121#define $ac_tr_func 1
14122EOF
14123
14124else
14125 echo "$ac_t""no" 1>&6
14126fi
14127done
14128
14129
14130ac_ext=c
14131# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14132ac_cpp='$CPP $CPPFLAGS'
14133ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14134ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14135cross_compiling=$ac_cv_prog_cc_cross
14136
14137
14138INET_LINK=
14139for ac_func in inet_addr
14140do
14141echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14142echo "configure:14143: checking for $ac_func" >&5
14143if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14144 echo $ac_n "(cached) $ac_c" 1>&6
14145else
14146 cat > conftest.$ac_ext <<EOF
14147#line 14148 "configure"
14148#include "confdefs.h"
14149/* System header to define __stub macros and hopefully few prototypes,
14150 which can conflict with char $ac_func(); below. */
14151#include <assert.h>
14152/* Override any gcc2 internal prototype to avoid an error. */
14153/* We use char because int might match the return type of a gcc2
14154 builtin and then its argument prototype would still apply. */
14155char $ac_func();
14156
14157int main() {
14158
14159/* The GNU C library defines this for functions which it implements
14160 to always fail with ENOSYS. Some functions are actually named
14161 something starting with __ and the normal name is an alias. */
14162#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14163choke me
14164#else
14165$ac_func();
14166#endif
14167
14168; return 0; }
14169EOF
14170if { (eval echo configure:14171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14171 rm -rf conftest*
14172 eval "ac_cv_func_$ac_func=yes"
14173else
14174 echo "configure: failed program was:" >&5
14175 cat conftest.$ac_ext >&5
14176 rm -rf conftest*
14177 eval "ac_cv_func_$ac_func=no"
14178fi
14179rm -f conftest*
14180fi
14181
14182if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14183 echo "$ac_t""yes" 1>&6
14184 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14185 cat >> confdefs.h <<EOF
14186#define $ac_tr_func 1
14187EOF
14188 cat >> confdefs.h <<\EOF
14189#define HAVE_INET_ADDR 1
14190EOF
14191
14192else
14193 echo "$ac_t""no" 1>&6
14194echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
14195echo "configure:14196: checking for inet_addr in -lnsl" >&5
14196ac_lib_var=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
14197if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14198 echo $ac_n "(cached) $ac_c" 1>&6
14199else
14200 ac_save_LIBS="$LIBS"
14201LIBS="-lnsl $LIBS"
14202cat > conftest.$ac_ext <<EOF
14203#line 14204 "configure"
14204#include "confdefs.h"
14205/* Override any gcc2 internal prototype to avoid an error. */
14206/* We use char because int might match the return type of a gcc2
14207 builtin and then its argument prototype would still apply. */
14208char inet_addr();
14209
14210int main() {
14211inet_addr()
14212; return 0; }
14213EOF
14214if { (eval echo configure:14215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14215 rm -rf conftest*
14216 eval "ac_cv_lib_$ac_lib_var=yes"
14217else
14218 echo "configure: failed program was:" >&5
14219 cat conftest.$ac_ext >&5
14220 rm -rf conftest*
14221 eval "ac_cv_lib_$ac_lib_var=no"
14222fi
14223rm -f conftest*
14224LIBS="$ac_save_LIBS"
14225
14226fi
14227if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14228 echo "$ac_t""yes" 1>&6
14229 INET_LINK="nsl"
14230else
14231 echo "$ac_t""no" 1>&6
14232echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
14233echo "configure:14234: checking for inet_addr in -lresolv" >&5
14234ac_lib_var=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
14235if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14236 echo $ac_n "(cached) $ac_c" 1>&6
14237else
14238 ac_save_LIBS="$LIBS"
14239LIBS="-lresolv $LIBS"
14240cat > conftest.$ac_ext <<EOF
14241#line 14242 "configure"
14242#include "confdefs.h"
14243/* Override any gcc2 internal prototype to avoid an error. */
14244/* We use char because int might match the return type of a gcc2
14245 builtin and then its argument prototype would still apply. */
14246char inet_addr();
14247
14248int main() {
14249inet_addr()
14250; return 0; }
14251EOF
14252if { (eval echo configure:14253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14253 rm -rf conftest*
14254 eval "ac_cv_lib_$ac_lib_var=yes"
14255else
14256 echo "configure: failed program was:" >&5
14257 cat conftest.$ac_ext >&5
14258 rm -rf conftest*
14259 eval "ac_cv_lib_$ac_lib_var=no"
14260fi
14261rm -f conftest*
14262LIBS="$ac_save_LIBS"
14263
14264fi
14265if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14266 echo "$ac_t""yes" 1>&6
14267 INET_LINK="resolv"
14268
14269else
14270 echo "$ac_t""no" 1>&6
14271fi
14272
14273
14274fi
14275
14276
14277
14278fi
14279done
14280
14281
14282for ac_func in inet_aton
14283do
14284echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14285echo "configure:14286: checking for $ac_func" >&5
14286if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14287 echo $ac_n "(cached) $ac_c" 1>&6
14288else
14289 cat > conftest.$ac_ext <<EOF
14290#line 14291 "configure"
14291#include "confdefs.h"
14292/* System header to define __stub macros and hopefully few prototypes,
14293 which can conflict with char $ac_func(); below. */
14294#include <assert.h>
14295/* Override any gcc2 internal prototype to avoid an error. */
14296/* We use char because int might match the return type of a gcc2
14297 builtin and then its argument prototype would still apply. */
14298char $ac_func();
14299
14300int main() {
14301
14302/* The GNU C library defines this for functions which it implements
14303 to always fail with ENOSYS. Some functions are actually named
14304 something starting with __ and the normal name is an alias. */
14305#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14306choke me
14307#else
14308$ac_func();
14309#endif
14310
14311; return 0; }
14312EOF
14313if { (eval echo configure:14314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14314 rm -rf conftest*
14315 eval "ac_cv_func_$ac_func=yes"
14316else
14317 echo "configure: failed program was:" >&5
14318 cat conftest.$ac_ext >&5
14319 rm -rf conftest*
14320 eval "ac_cv_func_$ac_func=no"
14321fi
14322rm -f conftest*
14323fi
14324
14325if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14326 echo "$ac_t""yes" 1>&6
14327 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14328 cat >> confdefs.h <<EOF
14329#define $ac_tr_func 1
14330EOF
14331 cat >> confdefs.h <<\EOF
14332#define HAVE_INET_ATON 1
14333EOF
14334
14335else
14336 echo "$ac_t""no" 1>&6
14337 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
14338echo "configure:14339: checking for inet_aton in -l$INET_LINK" >&5
14339ac_lib_var=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
14340if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14341 echo $ac_n "(cached) $ac_c" 1>&6
14342else
14343 ac_save_LIBS="$LIBS"
14344LIBS="-l$INET_LINK $LIBS"
14345cat > conftest.$ac_ext <<EOF
14346#line 14347 "configure"
14347#include "confdefs.h"
14348/* Override any gcc2 internal prototype to avoid an error. */
14349/* We use char because int might match the return type of a gcc2
14350 builtin and then its argument prototype would still apply. */
14351char inet_aton();
14352
14353int main() {
14354inet_aton()
14355; return 0; }
14356EOF
14357if { (eval echo configure:14358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14358 rm -rf conftest*
14359 eval "ac_cv_lib_$ac_lib_var=yes"
14360else
14361 echo "configure: failed program was:" >&5
14362 cat conftest.$ac_ext >&5
14363 rm -rf conftest*
14364 eval "ac_cv_lib_$ac_lib_var=no"
14365fi
14366rm -f conftest*
14367LIBS="$ac_save_LIBS"
14368
14369fi
14370if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14371 echo "$ac_t""yes" 1>&6
14372 cat >> confdefs.h <<\EOF
14373#define HAVE_INET_ATON 1
14374EOF
14375
14376else
14377 echo "$ac_t""no" 1>&6
14378fi
14379
14380
14381fi
14382done
14383
14384
14385if test "x$INET_LINK" != "x"; then
14386 cat >> confdefs.h <<\EOF
14387#define HAVE_INET_ADDR 1
14388EOF
14389
14390 INET_LINK="-l$INET_LINK"
14391fi
14392
14393fi
14394
14395
14396cat > confcache <<\EOF
14397# This file is a shell script that caches the results of configure
14398# tests run on this system so they can be shared between configure
14399# scripts and configure runs. It is not useful on other systems.
14400# If it contains results you don't want to keep, you may remove or edit it.
14401#
14402# By default, configure uses ./config.cache as the cache file,
14403# creating it if it does not exist already. You can give configure
14404# the --cache-file=FILE option to use a different cache file; that is
14405# what configure does when it calls configure scripts in
14406# subdirectories, so they share the cache.
14407# Giving --cache-file=/dev/null disables caching, for debugging configure.
14408# config.status only pays attention to the cache file if you give it the
14409# --recheck option to rerun configure.
14410#
14411EOF
14412# The following way of writing the cache mishandles newlines in values,
14413# but we know of no workaround that is simple, portable, and efficient.
14414# So, don't put newlines in cache variables' values.
14415# Ultrix sh set writes to stderr and can't be redirected directly,
14416# and sets the high bit in the cache file unless we assign to the vars.
14417(set) 2>&1 |
14418 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14419 *ac_space=\ *)
14420 # `set' does not quote correctly, so add quotes (double-quote substitution
14421 # turns \\\\ into \\, and sed turns \\ into \).
14422 sed -n \
14423 -e "s/'/'\\\\''/g" \
14424 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
14425 ;;
14426 *)
14427 # `set' quotes correctly as required by POSIX, so do not add quotes.
14428 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
14429 ;;
14430 esac >> confcache
14431if cmp -s $cache_file confcache; then
14432 :
14433else
14434 if test -w $cache_file; then
14435 echo "updating cache $cache_file"
14436 cat confcache > $cache_file
14437 else
14438 echo "not updating unwritable cache $cache_file"
14439 fi
14440fi
14441rm -f confcache
14442
14443
14444
14445if test "$TOOLKIT" != "MSW"; then
14446
14447
14448THREADS_LINK=
14449THREADS_OBJ=
14450CODE_GEN_FLAGS=
14451CODE_GEN_FLAGS_CXX=
14452
14453if test "$wxUSE_THREADS" = "yes" ; then
14454 if test "$wxUSE_WINE" = 1 ; then
14455 echo "configure: warning: Threads are not supported under WINE" 1>&2
14456 wxUSE_THREADS="no"
14457 elif test "$USE_BEOS" = 1; then
14458 echo "configure: warning: BeOS threads are not yet supported" 1>&2
14459 wxUSE_THREADS="no"
14460 fi
14461fi
14462
14463if test "$wxUSE_THREADS" = "yes" ; then
14464
14465 if test "$USE_AIX" = 1; then
14466 THREADS_LIB=pthreads
14467 else
14468 THREADS_LIB=pthread
14469 fi
14470
14471 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
14472echo "configure:14473: checking for pthread_create in -l$THREADS_LIB" >&5
14473ac_lib_var=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
14474if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14475 echo $ac_n "(cached) $ac_c" 1>&6
14476else
14477 ac_save_LIBS="$LIBS"
14478LIBS="-l$THREADS_LIB $LIBS"
14479cat > conftest.$ac_ext <<EOF
14480#line 14481 "configure"
14481#include "confdefs.h"
14482/* Override any gcc2 internal prototype to avoid an error. */
14483/* We use char because int might match the return type of a gcc2
14484 builtin and then its argument prototype would still apply. */
14485char pthread_create();
14486
14487int main() {
14488pthread_create()
14489; return 0; }
14490EOF
14491if { (eval echo configure:14492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14492 rm -rf conftest*
14493 eval "ac_cv_lib_$ac_lib_var=yes"
14494else
14495 echo "configure: failed program was:" >&5
14496 cat conftest.$ac_ext >&5
14497 rm -rf conftest*
14498 eval "ac_cv_lib_$ac_lib_var=no"
14499fi
14500rm -f conftest*
14501LIBS="$ac_save_LIBS"
14502
14503fi
14504if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14505 echo "$ac_t""yes" 1>&6
14506
14507 THREADS_OBJ="threadpsx.lo"
14508 THREADS_LINK=$THREADS_LIB
14509
14510else
14511 echo "$ac_t""no" 1>&6
14512
14513 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
14514echo "configure:14515: checking for pthread_create in -lc_r" >&5
14515ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
14516if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14517 echo $ac_n "(cached) $ac_c" 1>&6
14518else
14519 ac_save_LIBS="$LIBS"
14520LIBS="-lc_r $LIBS"
14521cat > conftest.$ac_ext <<EOF
14522#line 14523 "configure"
14523#include "confdefs.h"
14524/* Override any gcc2 internal prototype to avoid an error. */
14525/* We use char because int might match the return type of a gcc2
14526 builtin and then its argument prototype would still apply. */
14527char pthread_create();
14528
14529int main() {
14530pthread_create()
14531; return 0; }
14532EOF
14533if { (eval echo configure:14534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14534 rm -rf conftest*
14535 eval "ac_cv_lib_$ac_lib_var=yes"
14536else
14537 echo "configure: failed program was:" >&5
14538 cat conftest.$ac_ext >&5
14539 rm -rf conftest*
14540 eval "ac_cv_lib_$ac_lib_var=no"
14541fi
14542rm -f conftest*
14543LIBS="$ac_save_LIBS"
14544
14545fi
14546if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14547 echo "$ac_t""yes" 1>&6
14548
14549 THREADS_OBJ="threadpsx.lo"
14550 THREADS_LINK="c_r"
14551
14552else
14553 echo "$ac_t""no" 1>&6
14554
14555 ac_safe=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
14556echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
14557echo "configure:14558: checking for sys/prctl.h" >&5
14558if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14559 echo $ac_n "(cached) $ac_c" 1>&6
14560else
14561 cat > conftest.$ac_ext <<EOF
14562#line 14563 "configure"
14563#include "confdefs.h"
14564#include <sys/prctl.h>
14565EOF
14566ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14567{ (eval echo configure:14568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14568ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14569if test -z "$ac_err"; then
14570 rm -rf conftest*
14571 eval "ac_cv_header_$ac_safe=yes"
14572else
14573 echo "$ac_err" >&5
14574 echo "configure: failed program was:" >&5
14575 cat conftest.$ac_ext >&5
14576 rm -rf conftest*
14577 eval "ac_cv_header_$ac_safe=no"
14578fi
14579rm -f conftest*
14580fi
14581if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14582 echo "$ac_t""yes" 1>&6
14583
14584 THREADS_OBJ="threadsgi.lo"
14585
14586else
14587 echo "$ac_t""no" 1>&6
14588fi
14589
14590
14591fi
14592
14593
14594fi
14595
14596
14597 if test -z "$THREADS_OBJ" ; then
14598 wxUSE_THREADS=no
14599 echo "configure: warning: No thread support on this system" 1>&2
14600 fi
14601fi
14602
14603if test "$wxUSE_THREADS" = "yes" ; then
14604 for ac_func in thr_setconcurrency
14605do
14606echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14607echo "configure:14608: checking for $ac_func" >&5
14608if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14609 echo $ac_n "(cached) $ac_c" 1>&6
14610else
14611 cat > conftest.$ac_ext <<EOF
14612#line 14613 "configure"
14613#include "confdefs.h"
14614/* System header to define __stub macros and hopefully few prototypes,
14615 which can conflict with char $ac_func(); below. */
14616#include <assert.h>
14617/* Override any gcc2 internal prototype to avoid an error. */
14618/* We use char because int might match the return type of a gcc2
14619 builtin and then its argument prototype would still apply. */
14620char $ac_func();
14621
14622int main() {
14623
14624/* The GNU C library defines this for functions which it implements
14625 to always fail with ENOSYS. Some functions are actually named
14626 something starting with __ and the normal name is an alias. */
14627#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14628choke me
14629#else
14630$ac_func();
14631#endif
14632
14633; return 0; }
14634EOF
14635if { (eval echo configure:14636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14636 rm -rf conftest*
14637 eval "ac_cv_func_$ac_func=yes"
14638else
14639 echo "configure: failed program was:" >&5
14640 cat conftest.$ac_ext >&5
14641 rm -rf conftest*
14642 eval "ac_cv_func_$ac_func=no"
14643fi
14644rm -f conftest*
14645fi
14646
14647if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14648 echo "$ac_t""yes" 1>&6
14649 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14650 cat >> confdefs.h <<EOF
14651#define $ac_tr_func 1
14652EOF
14653
14654else
14655 echo "$ac_t""no" 1>&6
14656fi
14657done
14658
14659
14660
14661 for ac_hdr in sched.h
14662do
14663ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14664echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14665echo "configure:14666: checking for $ac_hdr" >&5
14666if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14667 echo $ac_n "(cached) $ac_c" 1>&6
14668else
14669 cat > conftest.$ac_ext <<EOF
14670#line 14671 "configure"
14671#include "confdefs.h"
14672#include <$ac_hdr>
14673EOF
14674ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14675{ (eval echo configure:14676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14676ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14677if test -z "$ac_err"; then
14678 rm -rf conftest*
14679 eval "ac_cv_header_$ac_safe=yes"
14680else
14681 echo "$ac_err" >&5
14682 echo "configure: failed program was:" >&5
14683 cat conftest.$ac_ext >&5
14684 rm -rf conftest*
14685 eval "ac_cv_header_$ac_safe=no"
14686fi
14687rm -f conftest*
14688fi
14689if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14690 echo "$ac_t""yes" 1>&6
14691 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14692 cat >> confdefs.h <<EOF
14693#define $ac_tr_hdr 1
14694EOF
14695
14696else
14697 echo "$ac_t""no" 1>&6
14698fi
14699done
14700
14701
14702 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
14703echo "configure:14704: checking for sched_yield in -l$THREADS_LINK" >&5
14704ac_lib_var=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
14705if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14706 echo $ac_n "(cached) $ac_c" 1>&6
14707else
14708 ac_save_LIBS="$LIBS"
14709LIBS="-l$THREADS_LINK $LIBS"
14710cat > conftest.$ac_ext <<EOF
14711#line 14712 "configure"
14712#include "confdefs.h"
14713/* Override any gcc2 internal prototype to avoid an error. */
14714/* We use char because int might match the return type of a gcc2
14715 builtin and then its argument prototype would still apply. */
14716char sched_yield();
14717
14718int main() {
14719sched_yield()
14720; return 0; }
14721EOF
14722if { (eval echo configure:14723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14723 rm -rf conftest*
14724 eval "ac_cv_lib_$ac_lib_var=yes"
14725else
14726 echo "configure: failed program was:" >&5
14727 cat conftest.$ac_ext >&5
14728 rm -rf conftest*
14729 eval "ac_cv_lib_$ac_lib_var=no"
14730fi
14731rm -f conftest*
14732LIBS="$ac_save_LIBS"
14733
14734fi
14735if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14736 echo "$ac_t""yes" 1>&6
14737 cat >> confdefs.h <<\EOF
14738#define HAVE_SCHED_YIELD 1
14739EOF
14740
14741else
14742 echo "$ac_t""no" 1>&6
14743echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
14744echo "configure:14745: checking for sched_yield in -lposix4" >&5
14745ac_lib_var=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
14746if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14747 echo $ac_n "(cached) $ac_c" 1>&6
14748else
14749 ac_save_LIBS="$LIBS"
14750LIBS="-lposix4 $LIBS"
14751cat > conftest.$ac_ext <<EOF
14752#line 14753 "configure"
14753#include "confdefs.h"
14754/* Override any gcc2 internal prototype to avoid an error. */
14755/* We use char because int might match the return type of a gcc2
14756 builtin and then its argument prototype would still apply. */
14757char sched_yield();
14758
14759int main() {
14760sched_yield()
14761; return 0; }
14762EOF
14763if { (eval echo configure:14764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14764 rm -rf conftest*
14765 eval "ac_cv_lib_$ac_lib_var=yes"
14766else
14767 echo "configure: failed program was:" >&5
14768 cat conftest.$ac_ext >&5
14769 rm -rf conftest*
14770 eval "ac_cv_lib_$ac_lib_var=no"
14771fi
14772rm -f conftest*
14773LIBS="$ac_save_LIBS"
14774
14775fi
14776if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14777 echo "$ac_t""yes" 1>&6
14778 cat >> confdefs.h <<\EOF
14779#define HAVE_SCHED_YIELD 1
14780EOF
14781 POSIX4_LINK="-lposix4"
14782else
14783 echo "$ac_t""no" 1>&6
14784echo "configure: warning: wxThread::Yield will not work properly" 1>&2
14785
14786fi
14787
14788
14789fi
14790
14791
14792 HAVE_PRIOR_FUNCS=0
14793 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
14794echo "configure:14795: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
14795ac_lib_var=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
14796if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14797 echo $ac_n "(cached) $ac_c" 1>&6
14798else
14799 ac_save_LIBS="$LIBS"
14800LIBS="-l$THREADS_LINK $LIBS"
14801cat > conftest.$ac_ext <<EOF
14802#line 14803 "configure"
14803#include "confdefs.h"
14804/* Override any gcc2 internal prototype to avoid an error. */
14805/* We use char because int might match the return type of a gcc2
14806 builtin and then its argument prototype would still apply. */
14807char pthread_attr_getschedpolicy();
14808
14809int main() {
14810pthread_attr_getschedpolicy()
14811; return 0; }
14812EOF
14813if { (eval echo configure:14814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14814 rm -rf conftest*
14815 eval "ac_cv_lib_$ac_lib_var=yes"
14816else
14817 echo "configure: failed program was:" >&5
14818 cat conftest.$ac_ext >&5
14819 rm -rf conftest*
14820 eval "ac_cv_lib_$ac_lib_var=no"
14821fi
14822rm -f conftest*
14823LIBS="$ac_save_LIBS"
14824
14825fi
14826if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14827 echo "$ac_t""yes" 1>&6
14828 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
14829echo "configure:14830: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
14830ac_lib_var=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
14831if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14832 echo $ac_n "(cached) $ac_c" 1>&6
14833else
14834 ac_save_LIBS="$LIBS"
14835LIBS="-l$THREADS_LINK $LIBS"
14836cat > conftest.$ac_ext <<EOF
14837#line 14838 "configure"
14838#include "confdefs.h"
14839/* Override any gcc2 internal prototype to avoid an error. */
14840/* We use char because int might match the return type of a gcc2
14841 builtin and then its argument prototype would still apply. */
14842char pthread_attr_setschedparam();
14843
14844int main() {
14845pthread_attr_setschedparam()
14846; return 0; }
14847EOF
14848if { (eval echo configure:14849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14849 rm -rf conftest*
14850 eval "ac_cv_lib_$ac_lib_var=yes"
14851else
14852 echo "configure: failed program was:" >&5
14853 cat conftest.$ac_ext >&5
14854 rm -rf conftest*
14855 eval "ac_cv_lib_$ac_lib_var=no"
14856fi
14857rm -f conftest*
14858LIBS="$ac_save_LIBS"
14859
14860fi
14861if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14862 echo "$ac_t""yes" 1>&6
14863 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
14864echo "configure:14865: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
14865ac_lib_var=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14866if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14867 echo $ac_n "(cached) $ac_c" 1>&6
14868else
14869 ac_save_LIBS="$LIBS"
14870LIBS="-l$THREADS_LINK $LIBS"
14871cat > conftest.$ac_ext <<EOF
14872#line 14873 "configure"
14873#include "confdefs.h"
14874/* Override any gcc2 internal prototype to avoid an error. */
14875/* We use char because int might match the return type of a gcc2
14876 builtin and then its argument prototype would still apply. */
14877char sched_get_priority_max();
14878
14879int main() {
14880sched_get_priority_max()
14881; return 0; }
14882EOF
14883if { (eval echo configure:14884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14884 rm -rf conftest*
14885 eval "ac_cv_lib_$ac_lib_var=yes"
14886else
14887 echo "configure: failed program was:" >&5
14888 cat conftest.$ac_ext >&5
14889 rm -rf conftest*
14890 eval "ac_cv_lib_$ac_lib_var=no"
14891fi
14892rm -f conftest*
14893LIBS="$ac_save_LIBS"
14894
14895fi
14896if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14897 echo "$ac_t""yes" 1>&6
14898 HAVE_PRIOR_FUNCS=1
14899else
14900 echo "$ac_t""no" 1>&6
14901echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
14902echo "configure:14903: checking for sched_get_priority_max in -lposix4" >&5
14903ac_lib_var=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14904if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14905 echo $ac_n "(cached) $ac_c" 1>&6
14906else
14907 ac_save_LIBS="$LIBS"
14908LIBS="-lposix4 $LIBS"
14909cat > conftest.$ac_ext <<EOF
14910#line 14911 "configure"
14911#include "confdefs.h"
14912/* Override any gcc2 internal prototype to avoid an error. */
14913/* We use char because int might match the return type of a gcc2
14914 builtin and then its argument prototype would still apply. */
14915char sched_get_priority_max();
14916
14917int main() {
14918sched_get_priority_max()
14919; return 0; }
14920EOF
14921if { (eval echo configure:14922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14922 rm -rf conftest*
14923 eval "ac_cv_lib_$ac_lib_var=yes"
14924else
14925 echo "configure: failed program was:" >&5
14926 cat conftest.$ac_ext >&5
14927 rm -rf conftest*
14928 eval "ac_cv_lib_$ac_lib_var=no"
14929fi
14930rm -f conftest*
14931LIBS="$ac_save_LIBS"
14932
14933fi
14934if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14935 echo "$ac_t""yes" 1>&6
14936
14937 HAVE_PRIOR_FUNCS=1
14938 POSIX4_LINK="-lposix4"
14939
14940else
14941 echo "$ac_t""no" 1>&6
14942fi
14943
14944
14945fi
14946
14947
14948else
14949 echo "$ac_t""no" 1>&6
14950fi
14951
14952
14953else
14954 echo "$ac_t""no" 1>&6
14955fi
14956
14957
14958 if test "$HAVE_PRIOR_FUNCS" = 1; then
14959 cat >> confdefs.h <<\EOF
14960#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
14961EOF
14962
14963 else
14964 echo "configure: warning: Setting thread priority will not work" 1>&2
14965 fi
14966
14967 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
14968echo "configure:14969: checking for pthread_cancel in -l$THREADS_LINK" >&5
14969ac_lib_var=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
14970if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14971 echo $ac_n "(cached) $ac_c" 1>&6
14972else
14973 ac_save_LIBS="$LIBS"
14974LIBS="-l$THREADS_LINK $LIBS"
14975cat > conftest.$ac_ext <<EOF
14976#line 14977 "configure"
14977#include "confdefs.h"
14978/* Override any gcc2 internal prototype to avoid an error. */
14979/* We use char because int might match the return type of a gcc2
14980 builtin and then its argument prototype would still apply. */
14981char pthread_cancel();
14982
14983int main() {
14984pthread_cancel()
14985; return 0; }
14986EOF
14987if { (eval echo configure:14988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14988 rm -rf conftest*
14989 eval "ac_cv_lib_$ac_lib_var=yes"
14990else
14991 echo "configure: failed program was:" >&5
14992 cat conftest.$ac_ext >&5
14993 rm -rf conftest*
14994 eval "ac_cv_lib_$ac_lib_var=no"
14995fi
14996rm -f conftest*
14997LIBS="$ac_save_LIBS"
14998
14999fi
15000if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15001 echo "$ac_t""yes" 1>&6
15002 cat >> confdefs.h <<\EOF
15003#define HAVE_PTHREAD_CANCEL 1
15004EOF
15005
15006else
15007 echo "$ac_t""no" 1>&6
15008echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
15009fi
15010
15011
15012 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
15013echo "configure:15014: checking for pthread_cleanup_push/pop" >&5
15014if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
15015 echo $ac_n "(cached) $ac_c" 1>&6
15016else
15017
15018 cat > conftest.$ac_ext <<EOF
15019#line 15020 "configure"
15020#include "confdefs.h"
15021#include <pthread.h>
15022int main() {
15023
15024 pthread_cleanup_push(NULL, NULL);
15025 pthread_cleanup_pop(0);
15026
15027; return 0; }
15028EOF
15029if { (eval echo configure:15030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15030 rm -rf conftest*
15031
15032 wx_cv_func_pthread_cleanup_push=yes
15033
15034else
15035 echo "configure: failed program was:" >&5
15036 cat conftest.$ac_ext >&5
15037 rm -rf conftest*
15038
15039 wx_cv_func_pthread_cleanup_push=no
15040
15041fi
15042rm -f conftest*
15043
15044fi
15045
15046echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
15047
15048 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
15049 cat >> confdefs.h <<\EOF
15050#define HAVE_THREAD_CLEANUP_FUNCTIONS 1
15051EOF
15052
15053 fi
15054
15055
15056 if test "x$wx_lib_glibc21" = "xyes"; then
15057 CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
15058 fi
15059
15060 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
15061echo "configure:15062: checking for pthread_mutexattr_t" >&5
15062if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
15063 echo $ac_n "(cached) $ac_c" 1>&6
15064else
15065
15066 cat > conftest.$ac_ext <<EOF
15067#line 15068 "configure"
15068#include "confdefs.h"
15069#include <pthread.h>
15070int main() {
15071
15072 pthread_mutexattr_t attr;
15073 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
15074
15075; return 0; }
15076EOF
15077if { (eval echo configure:15078: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15078 rm -rf conftest*
15079
15080 wx_cv_type_pthread_mutexattr_t=yes
15081
15082else
15083 echo "configure: failed program was:" >&5
15084 cat conftest.$ac_ext >&5
15085 rm -rf conftest*
15086
15087 wx_cv_type_pthread_mutexattr_t=no
15088
15089
15090fi
15091rm -f conftest*
15092
15093fi
15094
15095echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
15096
15097 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
15098 cat >> confdefs.h <<\EOF
15099#define HAVE_PTHREAD_MUTEXATTR_T 1
15100EOF
15101
15102 else
15103 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
15104echo "configure:15105: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
15105if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
15106 echo $ac_n "(cached) $ac_c" 1>&6
15107else
15108
15109 cat > conftest.$ac_ext <<EOF
15110#line 15111 "configure"
15111#include "confdefs.h"
15112#include <pthread.h>
15113int main() {
15114
15115 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
15116
15117; return 0; }
15118EOF
15119if { (eval echo configure:15120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15120 rm -rf conftest*
15121
15122 wx_cv_type_pthread_rec_mutex_init=yes
15123
15124else
15125 echo "configure: failed program was:" >&5
15126 cat conftest.$ac_ext >&5
15127 rm -rf conftest*
15128
15129 wx_cv_type_pthread_rec_mutex_init=no
15130
15131
15132fi
15133rm -f conftest*
15134
15135fi
15136
15137echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
15138 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
15139 cat >> confdefs.h <<\EOF
15140#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
15141EOF
15142
15143 else
15144 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
15145 fi
15146 fi
15147
15148 THREADS_LINK="-l$THREADS_LINK"
15149
15150 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
15151 CPPFLAGS="${CFLAGS} -mt"
15152 CXXFLAGS="${CXXFLAGS} -mt"
15153 LDFLAGS="${LDFLAGS} -mt"
15154 fi
15155fi
15156
15157fi
15158
15159if test "$wxUSE_THREADS" = "yes"; then
15160 cat >> confdefs.h <<\EOF
15161#define wxUSE_THREADS 1
15162EOF
15163
15164
15165 if test "$USE_DARWIN" != 1; then
15166 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
15167 fi
15168
15169 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
15170else
15171 if test "$ac_cv_func_strtok_r" = "yes"; then
15172 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
15173echo "configure:15174: checking if -D_REENTRANT is needed" >&5
15174 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
15175 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
15176 echo "$ac_t""yes" 1>&6
15177 else
15178 echo "$ac_t""no" 1>&6
15179 fi
15180 fi
15181fi
15182
15183if test "$WXGTK20" = 1 ; then
15184 cat >> confdefs.h <<EOF
15185#define __WXGTK20__ $WXGTK20
15186EOF
15187
15188 WXGTK12=1
15189fi
15190
15191if test "$WXGTK12" = 1 ; then
15192 cat >> confdefs.h <<EOF
15193#define __WXGTK12__ $WXGTK12
15194EOF
15195
15196fi
15197
15198if test "$WXGTK127" = 1 ; then
15199 cat >> confdefs.h <<EOF
15200#define __WXGTK127__ $WXGTK127
15201EOF
15202
15203fi
15204
15205WXDEBUG=
15206
15207if test "$wxUSE_DEBUG_INFO" = "yes" ; then
15208 WXDEBUG="-g"
15209 wxUSE_OPTIMISE=no
15210fi
15211
15212if test "$wxUSE_DEBUG_GDB" = "yes" ; then
15213 wxUSE_DEBUG_INFO=yes
15214 WXDEBUG="-ggdb"
15215fi
15216
15217if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
15218 cat >> confdefs.h <<\EOF
15219#define WXDEBUG 1
15220EOF
15221
15222 WXDEBUG_DEFINE="-D__WXDEBUG__"
15223else
15224 if test "$wxUSE_GTK" = 1 ; then
15225 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
15226 fi
15227fi
15228
15229if test "$wxUSE_MEM_TRACING" = "yes" ; then
15230 cat >> confdefs.h <<\EOF
15231#define wxUSE_MEMORY_TRACING 1
15232EOF
15233
15234 cat >> confdefs.h <<\EOF
15235#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
15236EOF
15237
15238 cat >> confdefs.h <<\EOF
15239#define wxUSE_DEBUG_NEW_ALWAYS 1
15240EOF
15241
15242 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
15243fi
15244
15245if test "$wxUSE_DMALLOC" = "yes" ; then
15246 DMALLOC_LINK="-ldmalloc"
15247fi
15248
15249PROFILE=
15250if test "$wxUSE_PROFILE" = "yes" ; then
15251 PROFILE="-pg"
15252fi
15253
15254if test "$GCC" = yes ; then
15255 if test "$wxUSE_NO_RTTI" = "yes" ; then
15256 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
15257 fi
15258 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
15259 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
15260 fi
15261 if test "$wxUSE_PERMISSIVE" = "yes" ; then
15262 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
15263 fi
15264 if test "$wxUSE_NO_DEPS" = "no" ; then
15265 CFLAGS="-MMD ${CFLAGS}"
15266 CXXFLAGS="-MMD ${CXXFLAGS}"
15267 fi
15268 if test "$USE_WIN32" = 1 ; then
15269 # I'm not even really sure what this was ever added to solve,
15270 # but someone added it for mingw native builds, so I guess
15271 # they had a reason, right??
15272 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fno-pcc-struct-return"
15273 fi
15274fi
15275
15276
15277CXXFLAGS=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
15278CFLAGS=`echo "${CFLAGS}" | sed "s/\-O.//g" `
15279if test "$wxUSE_OPTIMISE" = "no" ; then
15280 OPTIMISE=
15281else
15282 if test "$GCC" = yes ; then
15283 OPTIMISE="-O2"
15284 case "${host}" in
15285 i586-*-*|i686-*-* )
15286 OPTIMISE="${OPTIMISE} "
15287 ;;
15288 esac
15289 else
15290 OPTIMISE="-O"
15291 fi
15292fi
15293
15294if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
15295 cat >> confdefs.h <<\EOF
15296#define WXWIN_COMPATIBILITY_2 1
15297EOF
15298
15299
15300 WXWIN_COMPATIBILITY_2_2="yes"
15301fi
15302
15303if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
15304 cat >> confdefs.h <<\EOF
15305#define WXWIN_COMPATIBILITY_2_2 1
15306EOF
15307
15308fi
15309
15310
15311ZLIB_INCLUDE=
15312if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
15313 cat >> confdefs.h <<\EOF
15314#define wxUSE_ZLIB 1
15315EOF
15316
15317 if test "$wxUSE_ZLIB" = "yes" ; then
15318 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
15319 else
15320 ZLIB_LINK=
15321 ac_safe=`echo "zlib.h" | sed 'y%./+-%__p_%'`
15322echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
15323echo "configure:15324: checking for zlib.h" >&5
15324if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15325 echo $ac_n "(cached) $ac_c" 1>&6
15326else
15327 cat > conftest.$ac_ext <<EOF
15328#line 15329 "configure"
15329#include "confdefs.h"
15330#include <zlib.h>
15331EOF
15332ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15333{ (eval echo configure:15334: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15334ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15335if test -z "$ac_err"; then
15336 rm -rf conftest*
15337 eval "ac_cv_header_$ac_safe=yes"
15338else
15339 echo "$ac_err" >&5
15340 echo "configure: failed program was:" >&5
15341 cat conftest.$ac_ext >&5
15342 rm -rf conftest*
15343 eval "ac_cv_header_$ac_safe=no"
15344fi
15345rm -f conftest*
15346fi
15347if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15348 echo "$ac_t""yes" 1>&6
15349 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
15350echo "configure:15351: checking for deflate in -lz" >&5
15351ac_lib_var=`echo z'_'deflate | sed 'y%./+-%__p_%'`
15352if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15353 echo $ac_n "(cached) $ac_c" 1>&6
15354else
15355 ac_save_LIBS="$LIBS"
15356LIBS="-lz $LIBS"
15357cat > conftest.$ac_ext <<EOF
15358#line 15359 "configure"
15359#include "confdefs.h"
15360/* Override any gcc2 internal prototype to avoid an error. */
15361/* We use char because int might match the return type of a gcc2
15362 builtin and then its argument prototype would still apply. */
15363char deflate();
15364
15365int main() {
15366deflate()
15367; return 0; }
15368EOF
15369if { (eval echo configure:15370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15370 rm -rf conftest*
15371 eval "ac_cv_lib_$ac_lib_var=yes"
15372else
15373 echo "configure: failed program was:" >&5
15374 cat conftest.$ac_ext >&5
15375 rm -rf conftest*
15376 eval "ac_cv_lib_$ac_lib_var=no"
15377fi
15378rm -f conftest*
15379LIBS="$ac_save_LIBS"
15380
15381fi
15382if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15383 echo "$ac_t""yes" 1>&6
15384 ZLIB_LINK="-lz"
15385else
15386 echo "$ac_t""no" 1>&6
15387fi
15388
15389else
15390 echo "$ac_t""no" 1>&6
15391fi
15392
15393 if test "x$ZLIB_LINK" = "x" ; then
15394 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
15395 fi
15396 fi
15397fi
15398
15399PNG_INCLUDE=
15400if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
15401 cat >> confdefs.h <<\EOF
15402#define wxUSE_LIBPNG 1
15403EOF
15404
15405 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
15406 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
15407 wxUSE_LIBPNG=yes
15408 fi
15409
15410 if test "$wxUSE_LIBPNG" = "yes" ; then
15411 PNG_INCLUDE="-I\${top_srcdir}/src/png"
15412 else
15413 PNG_LINK=
15414 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
15415echo $ac_n "checking for png.h""... $ac_c" 1>&6
15416echo "configure:15417: checking for png.h" >&5
15417if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15418 echo $ac_n "(cached) $ac_c" 1>&6
15419else
15420 cat > conftest.$ac_ext <<EOF
15421#line 15422 "configure"
15422#include "confdefs.h"
15423#include <png.h>
15424EOF
15425ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15426{ (eval echo configure:15427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15427ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15428if test -z "$ac_err"; then
15429 rm -rf conftest*
15430 eval "ac_cv_header_$ac_safe=yes"
15431else
15432 echo "$ac_err" >&5
15433 echo "configure: failed program was:" >&5
15434 cat conftest.$ac_ext >&5
15435 rm -rf conftest*
15436 eval "ac_cv_header_$ac_safe=no"
15437fi
15438rm -f conftest*
15439fi
15440if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15441 echo "$ac_t""yes" 1>&6
15442 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
15443echo "configure:15444: checking for png_check_sig in -lpng" >&5
15444ac_lib_var=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
15445if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15446 echo $ac_n "(cached) $ac_c" 1>&6
15447else
15448 ac_save_LIBS="$LIBS"
15449LIBS="-lpng -lz -lm $LIBS"
15450cat > conftest.$ac_ext <<EOF
15451#line 15452 "configure"
15452#include "confdefs.h"
15453/* Override any gcc2 internal prototype to avoid an error. */
15454/* We use char because int might match the return type of a gcc2
15455 builtin and then its argument prototype would still apply. */
15456char png_check_sig();
15457
15458int main() {
15459png_check_sig()
15460; return 0; }
15461EOF
15462if { (eval echo configure:15463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15463 rm -rf conftest*
15464 eval "ac_cv_lib_$ac_lib_var=yes"
15465else
15466 echo "configure: failed program was:" >&5
15467 cat conftest.$ac_ext >&5
15468 rm -rf conftest*
15469 eval "ac_cv_lib_$ac_lib_var=no"
15470fi
15471rm -f conftest*
15472LIBS="$ac_save_LIBS"
15473
15474fi
15475if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15476 echo "$ac_t""yes" 1>&6
15477 PNG_LINK="-lpng"
15478else
15479 echo "$ac_t""no" 1>&6
15480fi
15481
15482
15483else
15484 echo "$ac_t""no" 1>&6
15485fi
15486
15487 if test "x$PNG_LINK" = "x" ; then
15488 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
15489 fi
15490 fi
15491
15492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
15493fi
15494
15495JPEG_INCLUDE=
15496if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
15497 cat >> confdefs.h <<\EOF
15498#define wxUSE_LIBJPEG 1
15499EOF
15500
15501 if test "$wxUSE_LIBJPEG" = "yes" ; then
15502 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
15503 else
15504 JPEG_LINK=
15505 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
15506echo "configure:15507: checking for jpeglib.h" >&5
15507 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
15508 echo $ac_n "(cached) $ac_c" 1>&6
15509else
15510 cat > conftest.$ac_ext <<EOF
15511#line 15512 "configure"
15512#include "confdefs.h"
15513
15514 #undef HAVE_STDLIB_H
15515 #include <stdio.h>
15516 #include <jpeglib.h>
15517
15518int main() {
15519
15520
15521; return 0; }
15522EOF
15523if { (eval echo configure:15524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15524 rm -rf conftest*
15525 ac_cv_header_jpeglib_h=yes
15526else
15527 echo "configure: failed program was:" >&5
15528 cat conftest.$ac_ext >&5
15529 rm -rf conftest*
15530 ac_cv_header_jpeglib_h=no
15531
15532fi
15533rm -f conftest*
15534
15535fi
15536
15537 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
15538
15539 if test "$ac_cv_header_jpeglib_h" = "yes"; then
15540 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
15541echo "configure:15542: checking for jpeg_read_header in -ljpeg" >&5
15542ac_lib_var=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
15543if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15544 echo $ac_n "(cached) $ac_c" 1>&6
15545else
15546 ac_save_LIBS="$LIBS"
15547LIBS="-ljpeg $LIBS"
15548cat > conftest.$ac_ext <<EOF
15549#line 15550 "configure"
15550#include "confdefs.h"
15551/* Override any gcc2 internal prototype to avoid an error. */
15552/* We use char because int might match the return type of a gcc2
15553 builtin and then its argument prototype would still apply. */
15554char jpeg_read_header();
15555
15556int main() {
15557jpeg_read_header()
15558; return 0; }
15559EOF
15560if { (eval echo configure:15561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15561 rm -rf conftest*
15562 eval "ac_cv_lib_$ac_lib_var=yes"
15563else
15564 echo "configure: failed program was:" >&5
15565 cat conftest.$ac_ext >&5
15566 rm -rf conftest*
15567 eval "ac_cv_lib_$ac_lib_var=no"
15568fi
15569rm -f conftest*
15570LIBS="$ac_save_LIBS"
15571
15572fi
15573if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15574 echo "$ac_t""yes" 1>&6
15575 JPEG_LINK="-ljpeg"
15576else
15577 echo "$ac_t""no" 1>&6
15578fi
15579
15580 fi
15581
15582 if test "x$JPEG_LINK" = "x" ; then
15583 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
15584 fi
15585 fi
15586fi
15587
15588TIFF_INCLUDE=
15589if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
15590 cat >> confdefs.h <<\EOF
15591#define wxUSE_LIBTIFF 1
15592EOF
15593
15594 if test "$wxUSE_LIBTIFF" = "yes" ; then
15595 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
15596 else
15597 TIFF_LINK=
15598 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
15599echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
15600echo "configure:15601: checking for tiffio.h" >&5
15601if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15602 echo $ac_n "(cached) $ac_c" 1>&6
15603else
15604 cat > conftest.$ac_ext <<EOF
15605#line 15606 "configure"
15606#include "confdefs.h"
15607#include <tiffio.h>
15608EOF
15609ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15610{ (eval echo configure:15611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15611ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15612if test -z "$ac_err"; then
15613 rm -rf conftest*
15614 eval "ac_cv_header_$ac_safe=yes"
15615else
15616 echo "$ac_err" >&5
15617 echo "configure: failed program was:" >&5
15618 cat conftest.$ac_ext >&5
15619 rm -rf conftest*
15620 eval "ac_cv_header_$ac_safe=no"
15621fi
15622rm -f conftest*
15623fi
15624if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15625 echo "$ac_t""yes" 1>&6
15626 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
15627echo "configure:15628: checking for TIFFError in -ltiff" >&5
15628ac_lib_var=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
15629if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15630 echo $ac_n "(cached) $ac_c" 1>&6
15631else
15632 ac_save_LIBS="$LIBS"
15633LIBS="-ltiff -lm $LIBS"
15634cat > conftest.$ac_ext <<EOF
15635#line 15636 "configure"
15636#include "confdefs.h"
15637/* Override any gcc2 internal prototype to avoid an error. */
15638/* We use char because int might match the return type of a gcc2
15639 builtin and then its argument prototype would still apply. */
15640char TIFFError();
15641
15642int main() {
15643TIFFError()
15644; return 0; }
15645EOF
15646if { (eval echo configure:15647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15647 rm -rf conftest*
15648 eval "ac_cv_lib_$ac_lib_var=yes"
15649else
15650 echo "configure: failed program was:" >&5
15651 cat conftest.$ac_ext >&5
15652 rm -rf conftest*
15653 eval "ac_cv_lib_$ac_lib_var=no"
15654fi
15655rm -f conftest*
15656LIBS="$ac_save_LIBS"
15657
15658fi
15659if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15660 echo "$ac_t""yes" 1>&6
15661 TIFF_LINK="-ltiff"
15662else
15663 echo "$ac_t""no" 1>&6
15664fi
15665
15666else
15667 echo "$ac_t""no" 1>&6
15668fi
15669
15670 if test "x$TIFF_LINK" = "x" ; then
15671 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
15672 fi
15673 fi
15674fi
15675
15676FREETYPE_INCLUDE=
15677if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
15678 cat >> confdefs.h <<\EOF
15679#define wxUSE_FREETYPE 1
15680EOF
15681
15682 if test "$wxUSE_FREETYPE" = "yes" ; then
15683 FREETYPE_INCLUDE="-I\${top_srcdir}/src/freetype"
15684 else
15685 FREETYPE_LINK=
15686 ac_safe=`echo "freetype.h" | sed 'y%./+-%__p_%'`
15687echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
15688echo "configure:15689: checking for freetype.h" >&5
15689if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15690 echo $ac_n "(cached) $ac_c" 1>&6
15691else
15692 cat > conftest.$ac_ext <<EOF
15693#line 15694 "configure"
15694#include "confdefs.h"
15695#include <freetype.h>
15696EOF
15697ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15698{ (eval echo configure:15699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15699ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15700if test -z "$ac_err"; then
15701 rm -rf conftest*
15702 eval "ac_cv_header_$ac_safe=yes"
15703else
15704 echo "$ac_err" >&5
15705 echo "configure: failed program was:" >&5
15706 cat conftest.$ac_ext >&5
15707 rm -rf conftest*
15708 eval "ac_cv_header_$ac_safe=no"
15709fi
15710rm -f conftest*
15711fi
15712if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15713 echo "$ac_t""yes" 1>&6
15714 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
15715echo "configure:15716: checking for FT_Render_Glyph in -lfreetype" >&5
15716ac_lib_var=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
15717if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15718 echo $ac_n "(cached) $ac_c" 1>&6
15719else
15720 ac_save_LIBS="$LIBS"
15721LIBS="-lfreetype -lm $LIBS"
15722cat > conftest.$ac_ext <<EOF
15723#line 15724 "configure"
15724#include "confdefs.h"
15725/* Override any gcc2 internal prototype to avoid an error. */
15726/* We use char because int might match the return type of a gcc2
15727 builtin and then its argument prototype would still apply. */
15728char FT_Render_Glyph();
15729
15730int main() {
15731FT_Render_Glyph()
15732; return 0; }
15733EOF
15734if { (eval echo configure:15735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15735 rm -rf conftest*
15736 eval "ac_cv_lib_$ac_lib_var=yes"
15737else
15738 echo "configure: failed program was:" >&5
15739 cat conftest.$ac_ext >&5
15740 rm -rf conftest*
15741 eval "ac_cv_lib_$ac_lib_var=no"
15742fi
15743rm -f conftest*
15744LIBS="$ac_save_LIBS"
15745
15746fi
15747if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15748 echo "$ac_t""yes" 1>&6
15749 FREETYPE_LINK="-lfreetype"
15750else
15751 echo "$ac_t""no" 1>&6
15752fi
15753
15754
15755else
15756 echo "$ac_t""no" 1>&6
15757fi
15758
15759 if test "x$FREETYPE_LINK" = "x" ; then
15760 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
15761 fi
15762 fi
15763fi
15764
15765
15766if test "$wxUSE_GUI" = "yes"; then
15767 cat >> confdefs.h <<\EOF
15768#define wxUSE_GUI 1
15769EOF
15770
15771
15772 else
15773 cat >> confdefs.h <<\EOF
15774#define wxUSE_NOGUI 1
15775EOF
15776
15777fi
15778
15779
15780if test "$wxUSE_UNIX" = "yes"; then
15781 cat >> confdefs.h <<\EOF
15782#define wxUSE_UNIX 1
15783EOF
15784
15785fi
15786
15787
15788if test "$wxUSE_APPLE_IEEE" = "yes"; then
15789 cat >> confdefs.h <<\EOF
15790#define wxUSE_APPLE_IEEE 1
15791EOF
15792
15793fi
15794
15795if test "$wxUSE_TIMER" = "yes"; then
15796 cat >> confdefs.h <<\EOF
15797#define wxUSE_TIMER 1
15798EOF
15799
15800fi
15801
15802if test "$wxUSE_WAVE" = "yes"; then
15803 cat >> confdefs.h <<\EOF
15804#define wxUSE_WAVE 1
15805EOF
15806
15807fi
15808
15809if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15810 cat >> confdefs.h <<\EOF
15811#define wxUSE_CMDLINE_PARSER 1
15812EOF
15813
15814fi
15815
15816if test "$wxUSE_STOPWATCH" = "yes"; then
15817 cat >> confdefs.h <<\EOF
15818#define wxUSE_STOPWATCH 1
15819EOF
15820
15821fi
15822
15823if test "$wxUSE_DATETIME" = "yes"; then
15824 cat >> confdefs.h <<\EOF
15825#define wxUSE_DATETIME 1
15826EOF
15827
15828fi
15829
15830if test "$wxUSE_TIMEDATE" = "yes"; then
15831 cat >> confdefs.h <<\EOF
15832#define wxUSE_TIMEDATE 1
15833EOF
15834
15835fi
15836
15837if test "$wxUSE_FILE" = "yes"; then
15838 cat >> confdefs.h <<\EOF
15839#define wxUSE_FILE 1
15840EOF
15841
15842fi
15843
15844if test "$wxUSE_FFILE" = "yes"; then
15845 cat >> confdefs.h <<\EOF
15846#define wxUSE_FFILE 1
15847EOF
15848
15849fi
15850
15851if test "$wxUSE_FILESYSTEM" = "yes"; then
15852 cat >> confdefs.h <<\EOF
15853#define wxUSE_FILESYSTEM 1
15854EOF
15855
15856fi
15857
15858if test "$wxUSE_FS_INET" = "yes"; then
15859 cat >> confdefs.h <<\EOF
15860#define wxUSE_FS_INET 1
15861EOF
15862
15863fi
15864
15865if test "$wxUSE_FS_ZIP" = "yes"; then
15866 cat >> confdefs.h <<\EOF
15867#define wxUSE_FS_ZIP 1
15868EOF
15869
15870fi
15871
15872if test "$wxUSE_ZIPSTREAM" = "yes"; then
15873 cat >> confdefs.h <<\EOF
15874#define wxUSE_ZIPSTREAM 1
15875EOF
15876
15877fi
15878
15879if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15880 cat >> confdefs.h <<\EOF
15881#define wxUSE_ON_FATAL_EXCEPTION 1
15882EOF
15883
15884fi
15885
15886if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15887 cat >> confdefs.h <<\EOF
15888#define wxUSE_SNGLINST_CHECKER 1
15889EOF
15890
15891fi
15892
15893if test "$wxUSE_BUSYINFO" = "yes"; then
15894 cat >> confdefs.h <<\EOF
15895#define wxUSE_BUSYINFO 1
15896EOF
15897
15898fi
15899
15900if test "$wxUSE_STD_IOSTREAM" = "yes"; then
15901 cat >> confdefs.h <<\EOF
15902#define wxUSE_STD_IOSTREAM 1
15903EOF
15904
15905fi
15906
15907if test "$wxUSE_TEXTFILE" = "yes"; then
15908 if test "$wxUSE_FILE" != "yes"; then
15909 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
15910 else
15911 cat >> confdefs.h <<\EOF
15912#define wxUSE_TEXTFILE 1
15913EOF
15914
15915 fi
15916fi
15917
15918if test "$wxUSE_CONFIG" = "yes" ; then
15919 if test "$wxUSE_TEXTFILE" != "yes"; then
15920 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
15921 else
15922 cat >> confdefs.h <<\EOF
15923#define wxUSE_CONFIG 1
15924EOF
15925
15926 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
15927 fi
15928fi
15929
15930if test "$wxUSE_INTL" = "yes" ; then
15931 if test "$wxUSE_FILE" != "yes"; then
15932 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
15933 else
15934 cat >> confdefs.h <<\EOF
15935#define wxUSE_INTL 1
15936EOF
15937
15938 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
15939 GUIDIST="$GUIDIST INTL_DIST"
15940 fi
15941fi
15942
15943if test "$wxUSE_LOG" = "yes"; then
15944 cat >> confdefs.h <<\EOF
15945#define wxUSE_LOG 1
15946EOF
15947
15948
15949 if test "$wxUSE_LOGGUI" = "yes"; then
15950 cat >> confdefs.h <<\EOF
15951#define wxUSE_LOGGUI 1
15952EOF
15953
15954 fi
15955
15956 if test "$wxUSE_LOGWINDOW" = "yes"; then
15957 cat >> confdefs.h <<\EOF
15958#define wxUSE_LOGWINDOW 1
15959EOF
15960
15961 fi
15962fi
15963
15964if test "$wxUSE_LONGLONG" = "yes"; then
15965 cat >> confdefs.h <<\EOF
15966#define wxUSE_LONGLONG 1
15967EOF
15968
15969fi
15970
15971if test "$wxUSE_GEOMETRY" = "yes"; then
15972 cat >> confdefs.h <<\EOF
15973#define wxUSE_GEOMETRY 1
15974EOF
15975
15976fi
15977
15978if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
15979 cat >> confdefs.h <<\EOF
15980#define wxUSE_DIALUP_MANAGER 1
15981EOF
15982
15983 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
15984fi
15985
15986if test "$wxUSE_STREAMS" = "yes" ; then
15987 cat >> confdefs.h <<\EOF
15988#define wxUSE_STREAMS 1
15989EOF
15990
15991fi
15992
15993
15994if test "$wxUSE_DATETIME" = "yes"; then
15995 for ac_func in strptime
15996do
15997echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15998echo "configure:15999: checking for $ac_func" >&5
15999if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16000 echo $ac_n "(cached) $ac_c" 1>&6
16001else
16002 cat > conftest.$ac_ext <<EOF
16003#line 16004 "configure"
16004#include "confdefs.h"
16005/* System header to define __stub macros and hopefully few prototypes,
16006 which can conflict with char $ac_func(); below. */
16007#include <assert.h>
16008/* Override any gcc2 internal prototype to avoid an error. */
16009/* We use char because int might match the return type of a gcc2
16010 builtin and then its argument prototype would still apply. */
16011char $ac_func();
16012
16013int main() {
16014
16015/* The GNU C library defines this for functions which it implements
16016 to always fail with ENOSYS. Some functions are actually named
16017 something starting with __ and the normal name is an alias. */
16018#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16019choke me
16020#else
16021$ac_func();
16022#endif
16023
16024; return 0; }
16025EOF
16026if { (eval echo configure:16027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16027 rm -rf conftest*
16028 eval "ac_cv_func_$ac_func=yes"
16029else
16030 echo "configure: failed program was:" >&5
16031 cat conftest.$ac_ext >&5
16032 rm -rf conftest*
16033 eval "ac_cv_func_$ac_func=no"
16034fi
16035rm -f conftest*
16036fi
16037
16038if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16039 echo "$ac_t""yes" 1>&6
16040 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16041 cat >> confdefs.h <<EOF
16042#define $ac_tr_func 1
16043EOF
16044
16045else
16046 echo "$ac_t""no" 1>&6
16047fi
16048done
16049
16050
16051 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
16052echo "configure:16053: checking for timezone variable in <time.h>" >&5
16053if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
16054 echo $ac_n "(cached) $ac_c" 1>&6
16055else
16056
16057 cat > conftest.$ac_ext <<EOF
16058#line 16059 "configure"
16059#include "confdefs.h"
16060
16061 #include <time.h>
16062
16063int main() {
16064
16065 int tz;
16066 tz = timezone;
16067
16068; return 0; }
16069EOF
16070if { (eval echo configure:16071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16071 rm -rf conftest*
16072
16073 wx_cv_var_timezone=timezone
16074
16075else
16076 echo "configure: failed program was:" >&5
16077 cat conftest.$ac_ext >&5
16078 rm -rf conftest*
16079
16080 cat > conftest.$ac_ext <<EOF
16081#line 16082 "configure"
16082#include "confdefs.h"
16083
16084 #include <time.h>
16085
16086int main() {
16087
16088 int tz;
16089 tz = _timezone;
16090
16091; return 0; }
16092EOF
16093if { (eval echo configure:16094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16094 rm -rf conftest*
16095
16096 wx_cv_var_timezone=_timezone
16097
16098else
16099 echo "configure: failed program was:" >&5
16100 cat conftest.$ac_ext >&5
16101 rm -rf conftest*
16102
16103 cat > conftest.$ac_ext <<EOF
16104#line 16105 "configure"
16105#include "confdefs.h"
16106
16107 #include <time.h>
16108
16109int main() {
16110
16111 int tz;
16112 tz = __timezone;
16113
16114; return 0; }
16115EOF
16116if { (eval echo configure:16117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16117 rm -rf conftest*
16118
16119 wx_cv_var_timezone=__timezone
16120
16121else
16122 echo "configure: failed program was:" >&5
16123 cat conftest.$ac_ext >&5
16124 rm -rf conftest*
16125 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
16126
16127fi
16128rm -f conftest*
16129
16130
16131fi
16132rm -f conftest*
16133
16134
16135fi
16136rm -f conftest*
16137
16138
16139fi
16140
16141echo "$ac_t""$wx_cv_var_timezone" 1>&6
16142
16143 cat >> confdefs.h <<EOF
16144#define WX_TIMEZONE $wx_cv_var_timezone
16145EOF
16146
16147
16148 for ac_func in localtime
16149do
16150echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16151echo "configure:16152: checking for $ac_func" >&5
16152if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16153 echo $ac_n "(cached) $ac_c" 1>&6
16154else
16155 cat > conftest.$ac_ext <<EOF
16156#line 16157 "configure"
16157#include "confdefs.h"
16158/* System header to define __stub macros and hopefully few prototypes,
16159 which can conflict with char $ac_func(); below. */
16160#include <assert.h>
16161/* Override any gcc2 internal prototype to avoid an error. */
16162/* We use char because int might match the return type of a gcc2
16163 builtin and then its argument prototype would still apply. */
16164char $ac_func();
16165
16166int main() {
16167
16168/* The GNU C library defines this for functions which it implements
16169 to always fail with ENOSYS. Some functions are actually named
16170 something starting with __ and the normal name is an alias. */
16171#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16172choke me
16173#else
16174$ac_func();
16175#endif
16176
16177; return 0; }
16178EOF
16179if { (eval echo configure:16180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16180 rm -rf conftest*
16181 eval "ac_cv_func_$ac_func=yes"
16182else
16183 echo "configure: failed program was:" >&5
16184 cat conftest.$ac_ext >&5
16185 rm -rf conftest*
16186 eval "ac_cv_func_$ac_func=no"
16187fi
16188rm -f conftest*
16189fi
16190
16191if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16192 echo "$ac_t""yes" 1>&6
16193 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16194 cat >> confdefs.h <<EOF
16195#define $ac_tr_func 1
16196EOF
16197
16198else
16199 echo "$ac_t""no" 1>&6
16200fi
16201done
16202
16203
16204 if test "$ac_cv_func_localtime" = "yes"; then
16205 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
16206echo "configure:16207: checking for tm_gmtoff in struct tm" >&5
16207if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
16208 echo $ac_n "(cached) $ac_c" 1>&6
16209else
16210
16211 cat > conftest.$ac_ext <<EOF
16212#line 16213 "configure"
16213#include "confdefs.h"
16214
16215 #include <time.h>
16216
16217int main() {
16218
16219 struct tm tm;
16220 tm.tm_gmtoff++;
16221
16222; return 0; }
16223EOF
16224if { (eval echo configure:16225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16225 rm -rf conftest*
16226
16227 wx_cv_struct_tm_has_gmtoff=yes
16228
16229else
16230 echo "configure: failed program was:" >&5
16231 cat conftest.$ac_ext >&5
16232 rm -rf conftest*
16233 wx_cv_struct_tm_has_gmtoff=no
16234
16235fi
16236rm -f conftest*
16237
16238fi
16239
16240echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
16241 fi
16242
16243 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
16244 cat >> confdefs.h <<\EOF
16245#define WX_GMTOFF_IN_TM 1
16246EOF
16247
16248 fi
16249
16250 for ac_func in gettimeofday ftime
16251do
16252echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16253echo "configure:16254: checking for $ac_func" >&5
16254if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16255 echo $ac_n "(cached) $ac_c" 1>&6
16256else
16257 cat > conftest.$ac_ext <<EOF
16258#line 16259 "configure"
16259#include "confdefs.h"
16260/* System header to define __stub macros and hopefully few prototypes,
16261 which can conflict with char $ac_func(); below. */
16262#include <assert.h>
16263/* Override any gcc2 internal prototype to avoid an error. */
16264/* We use char because int might match the return type of a gcc2
16265 builtin and then its argument prototype would still apply. */
16266char $ac_func();
16267
16268int main() {
16269
16270/* The GNU C library defines this for functions which it implements
16271 to always fail with ENOSYS. Some functions are actually named
16272 something starting with __ and the normal name is an alias. */
16273#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16274choke me
16275#else
16276$ac_func();
16277#endif
16278
16279; return 0; }
16280EOF
16281if { (eval echo configure:16282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16282 rm -rf conftest*
16283 eval "ac_cv_func_$ac_func=yes"
16284else
16285 echo "configure: failed program was:" >&5
16286 cat conftest.$ac_ext >&5
16287 rm -rf conftest*
16288 eval "ac_cv_func_$ac_func=no"
16289fi
16290rm -f conftest*
16291fi
16292
16293if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16294 echo "$ac_t""yes" 1>&6
16295 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16296 cat >> confdefs.h <<EOF
16297#define $ac_tr_func 1
16298EOF
16299 break
16300else
16301 echo "$ac_t""no" 1>&6
16302fi
16303done
16304
16305
16306 if test "$ac_cv_func_gettimeofday" = "yes"; then
16307 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
16308echo "configure:16309: checking whether gettimeofday takes two arguments" >&5
16309if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
16310 echo $ac_n "(cached) $ac_c" 1>&6
16311else
16312
16313
16314 ac_ext=C
16315# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16316ac_cpp='$CXXCPP $CPPFLAGS'
16317ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16318ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16319cross_compiling=$ac_cv_prog_cxx_cross
16320
16321
16322 cat > conftest.$ac_ext <<EOF
16323#line 16324 "configure"
16324#include "confdefs.h"
16325
16326 #include <sys/time.h>
16327 #include <unistd.h>
16328
16329int main() {
16330
16331 struct timeval tv;
16332 gettimeofday(&tv, NULL);
16333
16334; return 0; }
16335EOF
16336if { (eval echo configure:16337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16337 rm -rf conftest*
16338 wx_cv_func_gettimeofday_has_2_args=yes
16339else
16340 echo "configure: failed program was:" >&5
16341 cat conftest.$ac_ext >&5
16342 rm -rf conftest*
16343 cat > conftest.$ac_ext <<EOF
16344#line 16345 "configure"
16345#include "confdefs.h"
16346
16347 #include <sys/time.h>
16348 #include <unistd.h>
16349
16350int main() {
16351
16352 struct timeval tv;
16353 gettimeofday(&tv);
16354
16355; return 0; }
16356EOF
16357if { (eval echo configure:16358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16358 rm -rf conftest*
16359 wx_cv_func_gettimeofday_has_2_args=no
16360else
16361 echo "configure: failed program was:" >&5
16362 cat conftest.$ac_ext >&5
16363 rm -rf conftest*
16364
16365 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
16366 wx_cv_func_gettimeofday_has_2_args=unknown
16367
16368
16369fi
16370rm -f conftest*
16371
16372fi
16373rm -f conftest*
16374 ac_ext=c
16375# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16376ac_cpp='$CPP $CPPFLAGS'
16377ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16378ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16379cross_compiling=$ac_cv_prog_cc_cross
16380
16381
16382fi
16383
16384echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
16385
16386 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
16387 cat >> confdefs.h <<\EOF
16388#define WX_GETTIMEOFDAY_NO_TZ 1
16389EOF
16390
16391 fi
16392 fi
16393
16394 cat >> confdefs.h <<\EOF
16395#define wxUSE_TIMEDATE 1
16396EOF
16397
16398 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
16399fi
16400
16401
16402if test "$TOOLKIT" != "MSW"; then
16403
16404 if test "$wxUSE_SOCKETS" = "yes"; then
16405 echo $ac_n "checking for socket""... $ac_c" 1>&6
16406echo "configure:16407: checking for socket" >&5
16407if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
16408 echo $ac_n "(cached) $ac_c" 1>&6
16409else
16410 cat > conftest.$ac_ext <<EOF
16411#line 16412 "configure"
16412#include "confdefs.h"
16413/* System header to define __stub macros and hopefully few prototypes,
16414 which can conflict with char socket(); below. */
16415#include <assert.h>
16416/* Override any gcc2 internal prototype to avoid an error. */
16417/* We use char because int might match the return type of a gcc2
16418 builtin and then its argument prototype would still apply. */
16419char socket();
16420
16421int main() {
16422
16423/* The GNU C library defines this for functions which it implements
16424 to always fail with ENOSYS. Some functions are actually named
16425 something starting with __ and the normal name is an alias. */
16426#if defined (__stub_socket) || defined (__stub___socket)
16427choke me
16428#else
16429socket();
16430#endif
16431
16432; return 0; }
16433EOF
16434if { (eval echo configure:16435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16435 rm -rf conftest*
16436 eval "ac_cv_func_socket=yes"
16437else
16438 echo "configure: failed program was:" >&5
16439 cat conftest.$ac_ext >&5
16440 rm -rf conftest*
16441 eval "ac_cv_func_socket=no"
16442fi
16443rm -f conftest*
16444fi
16445
16446if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16447 echo "$ac_t""yes" 1>&6
16448 :
16449else
16450 echo "$ac_t""no" 1>&6
16451echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16452echo "configure:16453: checking for socket in -lsocket" >&5
16453ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16454if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16455 echo $ac_n "(cached) $ac_c" 1>&6
16456else
16457 ac_save_LIBS="$LIBS"
16458LIBS="-lsocket $LIBS"
16459cat > conftest.$ac_ext <<EOF
16460#line 16461 "configure"
16461#include "confdefs.h"
16462/* Override any gcc2 internal prototype to avoid an error. */
16463/* We use char because int might match the return type of a gcc2
16464 builtin and then its argument prototype would still apply. */
16465char socket();
16466
16467int main() {
16468socket()
16469; return 0; }
16470EOF
16471if { (eval echo configure:16472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16472 rm -rf conftest*
16473 eval "ac_cv_lib_$ac_lib_var=yes"
16474else
16475 echo "configure: failed program was:" >&5
16476 cat conftest.$ac_ext >&5
16477 rm -rf conftest*
16478 eval "ac_cv_lib_$ac_lib_var=no"
16479fi
16480rm -f conftest*
16481LIBS="$ac_save_LIBS"
16482
16483fi
16484if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16485 echo "$ac_t""yes" 1>&6
16486 INET_LINK="$INET_LINK -lsocket"
16487else
16488 echo "$ac_t""no" 1>&6
16489
16490 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
16491 wxUSE_SOCKETS=no
16492
16493
16494fi
16495
16496
16497fi
16498
16499 fi
16500
16501
16502 if test "$wxUSE_SOCKETS" = "yes" ; then
16503 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
16504echo "configure:16505: checking what is the type of the third argument of getsockname" >&5
16505if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
16506 echo $ac_n "(cached) $ac_c" 1>&6
16507else
16508
16509
16510 ac_ext=C
16511# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16512ac_cpp='$CXXCPP $CPPFLAGS'
16513ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16514ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16515cross_compiling=$ac_cv_prog_cxx_cross
16516
16517
16518 cat > conftest.$ac_ext <<EOF
16519#line 16520 "configure"
16520#include "confdefs.h"
16521
16522 #include <sys/types.h>
16523 #include <sys/socket.h>
16524
16525int main() {
16526
16527 socklen_t len;
16528 getsockname(0, 0, &len);
16529
16530; return 0; }
16531EOF
16532if { (eval echo configure:16533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16533 rm -rf conftest*
16534 wx_cv_type_getsockname3=socklen_t
16535else
16536 echo "configure: failed program was:" >&5
16537 cat conftest.$ac_ext >&5
16538 rm -rf conftest*
16539 cat > conftest.$ac_ext <<EOF
16540#line 16541 "configure"
16541#include "confdefs.h"
16542
16543 #include <sys/types.h>
16544 #include <sys/socket.h>
16545
16546int main() {
16547
16548 size_t len;
16549 getsockname(0, 0, &len);
16550
16551; return 0; }
16552EOF
16553if { (eval echo configure:16554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16554 rm -rf conftest*
16555 wx_cv_type_getsockname3=size_t
16556else
16557 echo "configure: failed program was:" >&5
16558 cat conftest.$ac_ext >&5
16559 rm -rf conftest*
16560 cat > conftest.$ac_ext <<EOF
16561#line 16562 "configure"
16562#include "confdefs.h"
16563
16564 #include <sys/types.h>
16565 #include <sys/socket.h>
16566
16567int main() {
16568
16569 int len;
16570 getsockname(0, 0, &len);
16571
16572; return 0; }
16573EOF
16574if { (eval echo configure:16575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16575 rm -rf conftest*
16576 wx_cv_type_getsockname3=int
16577else
16578 echo "configure: failed program was:" >&5
16579 cat conftest.$ac_ext >&5
16580 rm -rf conftest*
16581 wx_cv_type_getsockname3=unknown
16582
16583fi
16584rm -f conftest*
16585
16586fi
16587rm -f conftest*
16588
16589fi
16590rm -f conftest*
16591
16592 ac_ext=c
16593# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16594ac_cpp='$CPP $CPPFLAGS'
16595ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16596ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16597cross_compiling=$ac_cv_prog_cc_cross
16598
16599
16600fi
16601
16602echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
16603
16604 if test "$wx_cv_type_getsockname3" = "unknown"; then
16605 wxUSE_SOCKETS=no
16606 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
16607 else
16608 cat >> confdefs.h <<EOF
16609#define SOCKLEN_T $wx_cv_type_getsockname3
16610EOF
16611
16612 fi
16613 fi
16614fi
16615
16616if test "$wxUSE_SOCKETS" = "yes" ; then
16617 cat >> confdefs.h <<\EOF
16618#define wxUSE_SOCKETS 1
16619EOF
16620
16621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
16622fi
16623
16624
16625if test "$wxUSE_GUI" = "yes"; then
16626
16627 if test "$TOOLKIT" != "MSW"; then
16628 if test "$wxUSE_JOYSTICK" = "yes"; then
16629 for ac_hdr in linux/joystick.h
16630do
16631ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16632echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16633echo "configure:16634: checking for $ac_hdr" >&5
16634if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16635 echo $ac_n "(cached) $ac_c" 1>&6
16636else
16637 cat > conftest.$ac_ext <<EOF
16638#line 16639 "configure"
16639#include "confdefs.h"
16640#include <$ac_hdr>
16641EOF
16642ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16643{ (eval echo configure:16644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16644ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16645if test -z "$ac_err"; then
16646 rm -rf conftest*
16647 eval "ac_cv_header_$ac_safe=yes"
16648else
16649 echo "$ac_err" >&5
16650 echo "configure: failed program was:" >&5
16651 cat conftest.$ac_ext >&5
16652 rm -rf conftest*
16653 eval "ac_cv_header_$ac_safe=no"
16654fi
16655rm -f conftest*
16656fi
16657if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16658 echo "$ac_t""yes" 1>&6
16659 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16660 cat >> confdefs.h <<EOF
16661#define $ac_tr_hdr 1
16662EOF
16663
16664else
16665 echo "$ac_t""no" 1>&6
16666fi
16667done
16668
16669 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
16670 wxUSE_JOYSTICK=no
16671 echo "configure: warning: Joystick not supported by this system" 1>&2
16672 fi
16673 fi
16674 fi
16675
16676 if test "$wxUSE_JOYSTICK" = "yes"; then
16677 cat >> confdefs.h <<\EOF
16678#define wxUSE_JOYSTICK 1
16679EOF
16680
16681 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
16682 fi
16683fi
16684
16685
16686if test "$TOOLKIT" != "MSW"; then
16687
16688 HAVE_DL_FUNCS=0
16689 HAVE_SHL_FUNCS=0
16690 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16691 if test "$USE_DARWIN" = 1; then
16692 HAVE_DL_FUNCS=1
16693 else
16694 for ac_func in dlopen
16695do
16696echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16697echo "configure:16698: checking for $ac_func" >&5
16698if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16699 echo $ac_n "(cached) $ac_c" 1>&6
16700else
16701 cat > conftest.$ac_ext <<EOF
16702#line 16703 "configure"
16703#include "confdefs.h"
16704/* System header to define __stub macros and hopefully few prototypes,
16705 which can conflict with char $ac_func(); below. */
16706#include <assert.h>
16707/* Override any gcc2 internal prototype to avoid an error. */
16708/* We use char because int might match the return type of a gcc2
16709 builtin and then its argument prototype would still apply. */
16710char $ac_func();
16711
16712int main() {
16713
16714/* The GNU C library defines this for functions which it implements
16715 to always fail with ENOSYS. Some functions are actually named
16716 something starting with __ and the normal name is an alias. */
16717#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16718choke me
16719#else
16720$ac_func();
16721#endif
16722
16723; return 0; }
16724EOF
16725if { (eval echo configure:16726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16726 rm -rf conftest*
16727 eval "ac_cv_func_$ac_func=yes"
16728else
16729 echo "configure: failed program was:" >&5
16730 cat conftest.$ac_ext >&5
16731 rm -rf conftest*
16732 eval "ac_cv_func_$ac_func=no"
16733fi
16734rm -f conftest*
16735fi
16736
16737if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16738 echo "$ac_t""yes" 1>&6
16739 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16740 cat >> confdefs.h <<EOF
16741#define $ac_tr_func 1
16742EOF
16743
16744 cat >> confdefs.h <<\EOF
16745#define HAVE_DLOPEN 1
16746EOF
16747
16748 HAVE_DL_FUNCS=1
16749
16750else
16751 echo "$ac_t""no" 1>&6
16752echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16753echo "configure:16754: checking for dlopen in -ldl" >&5
16754ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16755if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16756 echo $ac_n "(cached) $ac_c" 1>&6
16757else
16758 ac_save_LIBS="$LIBS"
16759LIBS="-ldl $LIBS"
16760cat > conftest.$ac_ext <<EOF
16761#line 16762 "configure"
16762#include "confdefs.h"
16763/* Override any gcc2 internal prototype to avoid an error. */
16764/* We use char because int might match the return type of a gcc2
16765 builtin and then its argument prototype would still apply. */
16766char dlopen();
16767
16768int main() {
16769dlopen()
16770; return 0; }
16771EOF
16772if { (eval echo configure:16773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16773 rm -rf conftest*
16774 eval "ac_cv_lib_$ac_lib_var=yes"
16775else
16776 echo "configure: failed program was:" >&5
16777 cat conftest.$ac_ext >&5
16778 rm -rf conftest*
16779 eval "ac_cv_lib_$ac_lib_var=no"
16780fi
16781rm -f conftest*
16782LIBS="$ac_save_LIBS"
16783
16784fi
16785if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16786 echo "$ac_t""yes" 1>&6
16787
16788 cat >> confdefs.h <<\EOF
16789#define HAVE_DLOPEN 1
16790EOF
16791
16792 HAVE_DL_FUNCS=1
16793 LIBS="$LIBS -ldl"
16794
16795else
16796 echo "$ac_t""no" 1>&6
16797
16798 for ac_func in shl_load
16799do
16800echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16801echo "configure:16802: checking for $ac_func" >&5
16802if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16803 echo $ac_n "(cached) $ac_c" 1>&6
16804else
16805 cat > conftest.$ac_ext <<EOF
16806#line 16807 "configure"
16807#include "confdefs.h"
16808/* System header to define __stub macros and hopefully few prototypes,
16809 which can conflict with char $ac_func(); below. */
16810#include <assert.h>
16811/* Override any gcc2 internal prototype to avoid an error. */
16812/* We use char because int might match the return type of a gcc2
16813 builtin and then its argument prototype would still apply. */
16814char $ac_func();
16815
16816int main() {
16817
16818/* The GNU C library defines this for functions which it implements
16819 to always fail with ENOSYS. Some functions are actually named
16820 something starting with __ and the normal name is an alias. */
16821#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16822choke me
16823#else
16824$ac_func();
16825#endif
16826
16827; return 0; }
16828EOF
16829if { (eval echo configure:16830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16830 rm -rf conftest*
16831 eval "ac_cv_func_$ac_func=yes"
16832else
16833 echo "configure: failed program was:" >&5
16834 cat conftest.$ac_ext >&5
16835 rm -rf conftest*
16836 eval "ac_cv_func_$ac_func=no"
16837fi
16838rm -f conftest*
16839fi
16840
16841if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16842 echo "$ac_t""yes" 1>&6
16843 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16844 cat >> confdefs.h <<EOF
16845#define $ac_tr_func 1
16846EOF
16847
16848 cat >> confdefs.h <<\EOF
16849#define HAVE_SHL_LOAD 1
16850EOF
16851
16852 HAVE_SHL_FUNCS=1
16853
16854else
16855 echo "$ac_t""no" 1>&6
16856echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16857echo "configure:16858: checking for dld in -lshl_load" >&5
16858ac_lib_var=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16859if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16860 echo $ac_n "(cached) $ac_c" 1>&6
16861else
16862 ac_save_LIBS="$LIBS"
16863LIBS="-lshl_load $LIBS"
16864cat > conftest.$ac_ext <<EOF
16865#line 16866 "configure"
16866#include "confdefs.h"
16867/* Override any gcc2 internal prototype to avoid an error. */
16868/* We use char because int might match the return type of a gcc2
16869 builtin and then its argument prototype would still apply. */
16870char dld();
16871
16872int main() {
16873dld()
16874; return 0; }
16875EOF
16876if { (eval echo configure:16877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16877 rm -rf conftest*
16878 eval "ac_cv_lib_$ac_lib_var=yes"
16879else
16880 echo "configure: failed program was:" >&5
16881 cat conftest.$ac_ext >&5
16882 rm -rf conftest*
16883 eval "ac_cv_lib_$ac_lib_var=no"
16884fi
16885rm -f conftest*
16886LIBS="$ac_save_LIBS"
16887
16888fi
16889if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16890 echo "$ac_t""yes" 1>&6
16891
16892 HAVE_SHL_FUNCS=1
16893 LIBS="$LIBS -ldld"
16894
16895else
16896 echo "$ac_t""no" 1>&6
16897fi
16898
16899
16900fi
16901done
16902
16903
16904fi
16905
16906
16907fi
16908done
16909
16910
16911 if test "$HAVE_DL_FUNCS" = 1; then
16912 for ac_func in dlerror
16913do
16914echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16915echo "configure:16916: checking for $ac_func" >&5
16916if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16917 echo $ac_n "(cached) $ac_c" 1>&6
16918else
16919 cat > conftest.$ac_ext <<EOF
16920#line 16921 "configure"
16921#include "confdefs.h"
16922/* System header to define __stub macros and hopefully few prototypes,
16923 which can conflict with char $ac_func(); below. */
16924#include <assert.h>
16925/* Override any gcc2 internal prototype to avoid an error. */
16926/* We use char because int might match the return type of a gcc2
16927 builtin and then its argument prototype would still apply. */
16928char $ac_func();
16929
16930int main() {
16931
16932/* The GNU C library defines this for functions which it implements
16933 to always fail with ENOSYS. Some functions are actually named
16934 something starting with __ and the normal name is an alias. */
16935#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16936choke me
16937#else
16938$ac_func();
16939#endif
16940
16941; return 0; }
16942EOF
16943if { (eval echo configure:16944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16944 rm -rf conftest*
16945 eval "ac_cv_func_$ac_func=yes"
16946else
16947 echo "configure: failed program was:" >&5
16948 cat conftest.$ac_ext >&5
16949 rm -rf conftest*
16950 eval "ac_cv_func_$ac_func=no"
16951fi
16952rm -f conftest*
16953fi
16954
16955if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16956 echo "$ac_t""yes" 1>&6
16957 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16958 cat >> confdefs.h <<EOF
16959#define $ac_tr_func 1
16960EOF
16961 cat >> confdefs.h <<\EOF
16962#define HAVE_DLERROR 1
16963EOF
16964
16965else
16966 echo "$ac_t""no" 1>&6
16967echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
16968echo "configure:16969: checking for dlerror in -ldl" >&5
16969ac_lib_var=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
16970if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16971 echo $ac_n "(cached) $ac_c" 1>&6
16972else
16973 ac_save_LIBS="$LIBS"
16974LIBS="-ldl $LIBS"
16975cat > conftest.$ac_ext <<EOF
16976#line 16977 "configure"
16977#include "confdefs.h"
16978/* Override any gcc2 internal prototype to avoid an error. */
16979/* We use char because int might match the return type of a gcc2
16980 builtin and then its argument prototype would still apply. */
16981char dlerror();
16982
16983int main() {
16984dlerror()
16985; return 0; }
16986EOF
16987if { (eval echo configure:16988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16988 rm -rf conftest*
16989 eval "ac_cv_lib_$ac_lib_var=yes"
16990else
16991 echo "configure: failed program was:" >&5
16992 cat conftest.$ac_ext >&5
16993 rm -rf conftest*
16994 eval "ac_cv_lib_$ac_lib_var=no"
16995fi
16996rm -f conftest*
16997LIBS="$ac_save_LIBS"
16998
16999fi
17000if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17001 echo "$ac_t""yes" 1>&6
17002 cat >> confdefs.h <<\EOF
17003#define HAVE_DLERROR 1
17004EOF
17005
17006else
17007 echo "$ac_t""no" 1>&6
17008fi
17009
17010fi
17011done
17012
17013 fi
17014 fi
17015
17016 if test "$HAVE_DL_FUNCS" = 0; then
17017 if test "$HAVE_SHL_FUNCS" = 0; then
17018 if test "$USE_UNIX" = 1; then
17019 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
17020 wxUSE_DYNLIB_CLASS=no
17021 else
17022 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
17023 fi
17024 fi
17025 fi
17026 fi
17027fi
17028
17029if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17030 cat >> confdefs.h <<\EOF
17031#define wxUSE_DYNLIB_CLASS 1
17032EOF
17033
17034else
17035 wxUSE_ODBC=no
17036 wxUSE_SERIAL=no
17037fi
17038
17039
17040if test "$wxUSE_FONTMAP" = "yes" ; then
17041 cat >> confdefs.h <<\EOF
17042#define wxUSE_FONTMAP 1
17043EOF
17044
17045fi
17046
17047if test "$wxUSE_UNICODE" = "yes" ; then
17048 cat >> confdefs.h <<\EOF
17049#define wxUSE_UNICODE 1
17050EOF
17051
17052fi
17053
17054if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
17055 cat >> confdefs.h <<\EOF
17056#define wxUSE_EXPERIMENTAL_PRINTF 1
17057EOF
17058
17059fi
17060
17061
17062if test "$wxUSE_SERIAL" = "yes" ; then
17063 cat >> confdefs.h <<\EOF
17064#define wxUSE_SERIAL 1
17065EOF
17066
17067fi
17068
17069
17070IODBC_C_SRC=""
17071if test "$wxUSE_ODBC" = "yes" ; then
17072 cat >> confdefs.h <<\EOF
17073#define wxUSE_ODBC 1
17074EOF
17075
17076 WXODBCFLAG="-D_IODBC_"
17077 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
17078fi
17079
17080
17081if test "$wxUSE_POSTSCRIPT" = "yes" ; then
17082 cat >> confdefs.h <<\EOF
17083#define wxUSE_POSTSCRIPT 1
17084EOF
17085
17086fi
17087
17088cat >> confdefs.h <<\EOF
17089#define wxUSE_AFM_FOR_POSTSCRIPT 1
17090EOF
17091
17092
17093cat >> confdefs.h <<\EOF
17094#define wxUSE_NORMALIZED_PS_FONTS 1
17095EOF
17096
17097
17098
17099if test "$wxUSE_CONSTRAINTS" = "yes"; then
17100 cat >> confdefs.h <<\EOF
17101#define wxUSE_CONSTRAINTS 1
17102EOF
17103
17104 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
17105fi
17106
17107if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17108 cat >> confdefs.h <<\EOF
17109#define wxUSE_MDI_ARCHITECTURE 1
17110EOF
17111
17112 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
17113fi
17114
17115if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
17116 cat >> confdefs.h <<\EOF
17117#define wxUSE_DOC_VIEW_ARCHITECTURE 1
17118EOF
17119
17120 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
17121 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17122 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
17123 fi
17124fi
17125
17126if test "$wxUSE_HELP" = "yes"; then
17127 cat >> confdefs.h <<\EOF
17128#define wxUSE_HELP 1
17129EOF
17130
17131 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
17132
17133 if test "$USE_WIN32" = 1; then
17134 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
17135 ac_safe=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
17136echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
17137echo "configure:17138: checking for htmlhelp.h" >&5
17138if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17139 echo $ac_n "(cached) $ac_c" 1>&6
17140else
17141 cat > conftest.$ac_ext <<EOF
17142#line 17143 "configure"
17143#include "confdefs.h"
17144#include <htmlhelp.h>
17145EOF
17146ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17147{ (eval echo configure:17148: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17148ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17149if test -z "$ac_err"; then
17150 rm -rf conftest*
17151 eval "ac_cv_header_$ac_safe=yes"
17152else
17153 echo "$ac_err" >&5
17154 echo "configure: failed program was:" >&5
17155 cat conftest.$ac_ext >&5
17156 rm -rf conftest*
17157 eval "ac_cv_header_$ac_safe=no"
17158fi
17159rm -f conftest*
17160fi
17161if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17162 echo "$ac_t""yes" 1>&6
17163
17164 cat >> confdefs.h <<\EOF
17165#define wxUSE_MS_HTML_HELP 1
17166EOF
17167
17168
17169else
17170 echo "$ac_t""no" 1>&6
17171
17172 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h, disabled" 1>&2
17173 wxUSE_MS_HTML_HELP=no
17174
17175fi
17176
17177 fi
17178 fi
17179
17180 if test "$wxUSE_WXHTML_HELP" = "yes"; then
17181 if test "$wxUSE_HTML" = "yes"; then
17182 cat >> confdefs.h <<\EOF
17183#define wxUSE_WXHTML_HELP 1
17184EOF
17185
17186 else
17187 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
17188 wxUSE_WXHTML_HELP=no
17189 fi
17190 fi
17191fi
17192
17193if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
17194 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17195 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
17196 else
17197 cat >> confdefs.h <<\EOF
17198#define wxUSE_PRINTING_ARCHITECTURE 1
17199EOF
17200
17201 fi
17202 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
17203fi
17204
17205if test "$wxUSE_PROLOGIO" = "yes" ; then
17206 cat >> confdefs.h <<\EOF
17207#define wxUSE_PROLOGIO 1
17208EOF
17209
17210fi
17211
17212if test "$wxUSE_RESOURCES" = "yes" ; then
17213 cat >> confdefs.h <<\EOF
17214#define wxUSE_RESOURCES 1
17215EOF
17216
17217 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS resource"
17218fi
17219
17220if test "$wxUSE_X_RESOURCES" = "yes"; then
17221 cat >> confdefs.h <<\EOF
17222#define wxUSE_X_RESOURCES 1
17223EOF
17224
17225fi
17226
17227
17228if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
17229 -o "$wxUSE_CLIPBOARD" = "yes" \
17230 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
17231 for ac_hdr in ole2.h
17232do
17233ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17234echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17235echo "configure:17236: checking for $ac_hdr" >&5
17236if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17237 echo $ac_n "(cached) $ac_c" 1>&6
17238else
17239 cat > conftest.$ac_ext <<EOF
17240#line 17241 "configure"
17241#include "confdefs.h"
17242#include <$ac_hdr>
17243EOF
17244ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17245{ (eval echo configure:17246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17246ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17247if test -z "$ac_err"; then
17248 rm -rf conftest*
17249 eval "ac_cv_header_$ac_safe=yes"
17250else
17251 echo "$ac_err" >&5
17252 echo "configure: failed program was:" >&5
17253 cat conftest.$ac_ext >&5
17254 rm -rf conftest*
17255 eval "ac_cv_header_$ac_safe=no"
17256fi
17257rm -f conftest*
17258fi
17259if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17260 echo "$ac_t""yes" 1>&6
17261 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17262 cat >> confdefs.h <<EOF
17263#define $ac_tr_hdr 1
17264EOF
17265
17266else
17267 echo "$ac_t""no" 1>&6
17268fi
17269done
17270
17271
17272 if test "$ac_cv_header_ole2_h" = "yes" ; then
17273 if test "$GCC" = yes ; then
17274 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
17275 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
17276 LIBS="$LIBS -lrpcrt4 -loleaut32 -lole32 -luuid"
17277 cat >> confdefs.h <<\EOF
17278#define wxUSE_OLE 1
17279EOF
17280
17281
17282 fi
17283
17284 cat >> confdefs.h <<\EOF
17285#define wxUSE_DATAOBJ 1
17286EOF
17287
17288 else
17289 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
17290
17291 wxUSE_CLIPBOARD=no
17292 wxUSE_DRAG_AND_DROP=no
17293 wxUSE_DATAOBJ=no
17294 fi
17295
17296 if test "$wxUSE_METAFILE" = "yes"; then
17297 cat >> confdefs.h <<\EOF
17298#define wxUSE_METAFILE 1
17299EOF
17300
17301
17302 cat >> confdefs.h <<\EOF
17303#define wxUSE_ENH_METAFILE 1
17304EOF
17305
17306 fi
17307fi
17308
17309if test "$wxUSE_IPC" = "yes"; then
17310 if test "$wxUSE_SOCKETS" != "yes"; then
17311 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
17312 fi
17313
17314 cat >> confdefs.h <<\EOF
17315#define wxUSE_IPC 1
17316EOF
17317
17318fi
17319
17320if test "$wxUSE_CLIPBOARD" = "yes"; then
17321 cat >> confdefs.h <<\EOF
17322#define wxUSE_CLIPBOARD 1
17323EOF
17324
17325
17326 cat >> confdefs.h <<\EOF
17327#define wxUSE_DATAOBJ 1
17328EOF
17329
17330fi
17331
17332if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
17333 if test "$wxUSE_GTK" = 1; then
17334 if test "$WXGTK12" != 1; then
17335 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
17336 wxUSE_DRAG_AND_DROP=no
17337 fi
17338 fi
17339
17340 if test "$wxUSE_MOTIF" = 1; then
17341 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
17342 wxUSE_DRAG_AND_DROP=no
17343 fi
17344
17345 if test "$wxUSE_MAC" = 1; then
17346 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
17347 wxUSE_DRAG_AND_DROP=no
17348 fi
17349
17350 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
17351 cat >> confdefs.h <<\EOF
17352#define wxUSE_DRAG_AND_DROP 1
17353EOF
17354
17355 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
17356 fi
17357
17358fi
17359
17360if test "$wxUSE_SPLINES" = "yes" ; then
17361 cat >> confdefs.h <<\EOF
17362#define wxUSE_SPLINES 1
17363EOF
17364
17365fi
17366
17367
17368USES_CONTROLS=0
17369if test "$wxUSE_CONTROLS" = "yes"; then
17370 USES_CONTROLS=1
17371fi
17372
17373if test "$wxUSE_ACCEL" = "yes"; then
17374 cat >> confdefs.h <<\EOF
17375#define wxUSE_ACCEL 1
17376EOF
17377
17378 USES_CONTROLS=1
17379fi
17380
17381if test "$wxUSE_BUTTON" = "yes"; then
17382 cat >> confdefs.h <<\EOF
17383#define wxUSE_BUTTON 1
17384EOF
17385
17386 USES_CONTROLS=1
17387fi
17388
17389if test "$wxUSE_BMPBUTTON" = "yes"; then
17390 cat >> confdefs.h <<\EOF
17391#define wxUSE_BMPBUTTON 1
17392EOF
17393
17394 USES_CONTROLS=1
17395fi
17396
17397if test "$wxUSE_CALCTRL" = "yes"; then
17398 cat >> confdefs.h <<\EOF
17399#define wxUSE_CALENDARCTRL 1
17400EOF
17401
17402 USES_CONTROLS=1
17403 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
17404fi
17405
17406if test "$wxUSE_CARET" = "yes"; then
17407 cat >> confdefs.h <<\EOF
17408#define wxUSE_CARET 1
17409EOF
17410
17411 USES_CONTROLS=1
17412 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
17413fi
17414
17415if test "$wxUSE_COMBOBOX" = "yes"; then
17416 cat >> confdefs.h <<\EOF
17417#define wxUSE_COMBOBOX 1
17418EOF
17419
17420 USES_CONTROLS=1
17421fi
17422
17423if test "$wxUSE_CHOICE" = "yes"; then
17424 cat >> confdefs.h <<\EOF
17425#define wxUSE_CHOICE 1
17426EOF
17427
17428 USES_CONTROLS=1
17429fi
17430
17431if test "$wxUSE_CHECKBOX" = "yes"; then
17432 cat >> confdefs.h <<\EOF
17433#define wxUSE_CHECKBOX 1
17434EOF
17435
17436 USES_CONTROLS=1
17437fi
17438
17439if test "$wxUSE_CHECKLST" = "yes"; then
17440 cat >> confdefs.h <<\EOF
17441#define wxUSE_CHECKLISTBOX 1
17442EOF
17443
17444 USES_CONTROLS=1
17445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
17446fi
17447
17448if test "$wxUSE_GAUGE" = "yes"; then
17449 cat >> confdefs.h <<\EOF
17450#define wxUSE_GAUGE 1
17451EOF
17452
17453 USES_CONTROLS=1
17454fi
17455
17456if test "$wxUSE_NEW_GRID" = "yes"; then
17457 wxUSE_GRID="yes"
17458 cat >> confdefs.h <<\EOF
17459#define wxUSE_NEW_GRID 1
17460EOF
17461
17462 USES_CONTROLS=1
17463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS newgrid"
17464fi
17465
17466if test "$wxUSE_GRID" = "yes"; then
17467 cat >> confdefs.h <<\EOF
17468#define wxUSE_GRID 1
17469EOF
17470
17471 USES_CONTROLS=1
17472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
17473fi
17474
17475if test "$wxUSE_IMAGLIST" = "yes"; then
17476 cat >> confdefs.h <<\EOF
17477#define wxUSE_IMAGLIST 1
17478EOF
17479
17480fi
17481
17482if test "$wxUSE_LISTBOX" = "yes"; then
17483 cat >> confdefs.h <<\EOF
17484#define wxUSE_LISTBOX 1
17485EOF
17486
17487 USES_CONTROLS=1
17488fi
17489
17490if test "$wxUSE_LISTCTRL" = "yes"; then
17491 if test "$wxUSE_IMAGLIST" = "yes"; then
17492 cat >> confdefs.h <<\EOF
17493#define wxUSE_LISTCTRL 1
17494EOF
17495
17496 USES_CONTROLS=1
17497 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
17498 else
17499 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
17500 fi
17501fi
17502
17503if test "$wxUSE_NOTEBOOK" = "yes"; then
17504 cat >> confdefs.h <<\EOF
17505#define wxUSE_NOTEBOOK 1
17506EOF
17507
17508 USES_CONTROLS=1
17509 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
17510fi
17511
17512if test "$wxUSE_PROPSHEET" = "yes"; then
17513 cat >> confdefs.h <<\EOF
17514#define wxUSE_PROPSHEET 1
17515EOF
17516
17517 USES_CONTROLS=1
17518 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS proplist"
17519fi
17520
17521if test "$wxUSE_RADIOBOX" = "yes"; then
17522 cat >> confdefs.h <<\EOF
17523#define wxUSE_RADIOBOX 1
17524EOF
17525
17526 USES_CONTROLS=1
17527fi
17528
17529if test "$wxUSE_RADIOBTN" = "yes"; then
17530 cat >> confdefs.h <<\EOF
17531#define wxUSE_RADIOBTN 1
17532EOF
17533
17534 USES_CONTROLS=1
17535fi
17536
17537if test "$wxUSE_SASH" = "yes"; then
17538 cat >> confdefs.h <<\EOF
17539#define wxUSE_SASH 1
17540EOF
17541
17542 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
17543fi
17544
17545if test "$wxUSE_SCROLLBAR" = "yes"; then
17546 cat >> confdefs.h <<\EOF
17547#define wxUSE_SCROLLBAR 1
17548EOF
17549
17550 USES_CONTROLS=1
17551 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
17552fi
17553
17554if test "$wxUSE_SLIDER" = "yes"; then
17555 cat >> confdefs.h <<\EOF
17556#define wxUSE_SLIDER 1
17557EOF
17558
17559 USES_CONTROLS=1
17560fi
17561
17562if test "$wxUSE_SPINBTN" = "yes"; then
17563 cat >> confdefs.h <<\EOF
17564#define wxUSE_SPINBTN 1
17565EOF
17566
17567 USES_CONTROLS=1
17568fi
17569
17570if test "$wxUSE_SPINCTRL" = "yes"; then
17571 cat >> confdefs.h <<\EOF
17572#define wxUSE_SPINCTRL 1
17573EOF
17574
17575 USES_CONTROLS=1
17576fi
17577
17578if test "$wxUSE_SPLITTER" = "yes"; then
17579 cat >> confdefs.h <<\EOF
17580#define wxUSE_SPLITTER 1
17581EOF
17582
17583 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
17584fi
17585
17586if test "$wxUSE_STATBMP" = "yes"; then
17587 cat >> confdefs.h <<\EOF
17588#define wxUSE_STATBMP 1
17589EOF
17590
17591 USES_CONTROLS=1
17592fi
17593
17594if test "$wxUSE_STATBOX" = "yes"; then
17595 cat >> confdefs.h <<\EOF
17596#define wxUSE_STATBOX 1
17597EOF
17598
17599 USES_CONTROLS=1
17600fi
17601
17602if test "$wxUSE_STATTEXT" = "yes"; then
17603 cat >> confdefs.h <<\EOF
17604#define wxUSE_STATTEXT 1
17605EOF
17606
17607 USES_CONTROLS=1
17608fi
17609
17610if test "$wxUSE_STATLINE" = "yes"; then
17611 if test "$wxUSE_WINE" = 1 ; then
17612 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
17613 else
17614 cat >> confdefs.h <<\EOF
17615#define wxUSE_STATLINE 1
17616EOF
17617
17618 USES_CONTROLS=1
17619 fi
17620fi
17621
17622if test "$wxUSE_STATUSBAR" = "yes"; then
17623 cat >> confdefs.h <<\EOF
17624#define wxUSE_STATUSBAR 1
17625EOF
17626
17627 USES_CONTROLS=1
17628
17629 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
17630fi
17631
17632if test "$wxUSE_TABDIALOG" = "yes"; then
17633 cat >> confdefs.h <<\EOF
17634#define wxUSE_TAB_DIALOG 1
17635EOF
17636
17637 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
17638fi
17639
17640if test "$wxUSE_TEXTCTRL" = "yes"; then
17641 cat >> confdefs.h <<\EOF
17642#define wxUSE_TEXTCTRL 1
17643EOF
17644
17645 USES_CONTROLS=1
17646 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
17647fi
17648
17649if test "$wxUSE_TOGGLEBTN" = "yes"; then
17650 if test "$wxUSE_MAC" = 1; then
17651 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
17652 wxUSE_TOGGLEBTN=no
17653 fi
17654
17655 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17656 cat >> confdefs.h <<\EOF
17657#define wxUSE_TOGGLEBTN 1
17658EOF
17659
17660 USES_CONTROLS=1
17661 fi
17662fi
17663
17664if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
17665 cat >> confdefs.h <<\EOF
17666#define wxUSE_TOOLBAR_SIMPLE 1
17667EOF
17668
17669 wxUSE_TOOLBAR="yes"
17670 USES_CONTROLS=1
17671fi
17672
17673if test "$wxUSE_TOOLBAR" = "yes"; then
17674 cat >> confdefs.h <<\EOF
17675#define wxUSE_TOOLBAR 1
17676EOF
17677
17678 USES_CONTROLS=1
17679
17680 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
17681 wxUSE_TOOLBAR_NATIVE="yes"
17682 fi
17683
17684 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
17685 cat >> confdefs.h <<\EOF
17686#define wxUSE_TOOLBAR_NATIVE 1
17687EOF
17688
17689 USES_CONTROLS=1
17690 fi
17691
17692 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
17693fi
17694
17695if test "$wxUSE_TOOLTIPS" = "yes"; then
17696 if test "$wxUSE_MOTIF" = 1; then
17697 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
17698 else
17699 if test "$wxUSE_WINE" = 1; then
17700 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
17701 else
17702 cat >> confdefs.h <<\EOF
17703#define wxUSE_TOOLTIPS 1
17704EOF
17705
17706 fi
17707 fi
17708fi
17709
17710if test "$wxUSE_TREECTRL" = "yes"; then
17711 if test "$wxUSE_IMAGLIST" = "yes"; then
17712 cat >> confdefs.h <<\EOF
17713#define wxUSE_TREECTRL 1
17714EOF
17715
17716 USES_CONTROLS=1
17717 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
17718 else
17719 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
17720 fi
17721fi
17722
17723if test "$wxUSE_POPUPWIN" = "yes"; then
17724 if test "$wxUSE_MAC" = 1; then
17725 echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2
17726 else
17727 cat >> confdefs.h <<\EOF
17728#define wxUSE_POPUPWIN 1
17729EOF
17730
17731 USES_CONTROLS=1
17732 fi
17733fi
17734
17735if test "$USES_CONTROLS" = 1; then
17736 cat >> confdefs.h <<\EOF
17737#define wxUSE_CONTROLS 1
17738EOF
17739
17740fi
17741
17742
17743if test "$wxUSE_TREELAYOUT" = "yes"; then
17744 cat >> confdefs.h <<\EOF
17745#define wxUSE_TREELAYOUT 1
17746EOF
17747
17748 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelay"
17749fi
17750
17751if test "$wxUSE_DRAGIMAGE" = "yes"; then
17752 cat >> confdefs.h <<\EOF
17753#define wxUSE_DRAGIMAGE 1
17754EOF
17755
17756 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
17757fi
17758
17759if test "$wxUSE_MENUS" = "yes"; then
17760 cat >> confdefs.h <<\EOF
17761#define wxUSE_MENUS 1
17762EOF
17763
17764 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
17765fi
17766
17767if test "$wxUSE_METAFILE" = "yes"; then
17768 cat >> confdefs.h <<\EOF
17769#define wxUSE_METAFILE 1
17770EOF
17771
17772fi
17773
17774if test "$wxUSE_MIMETYPE" = "yes"; then
17775 cat >> confdefs.h <<\EOF
17776#define wxUSE_MIMETYPE 1
17777EOF
17778
17779fi
17780
17781if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
17782 cat >> confdefs.h <<\EOF
17783#define wxUSE_SYSTEM_OPTIONS 1
17784EOF
17785
17786fi
17787
17788if test "$wxUSE_MINIFRAME" = "yes"; then
17789 cat >> confdefs.h <<\EOF
17790#define wxUSE_MINIFRAME 1
17791EOF
17792
17793 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
17794fi
17795
17796if test "$wxUSE_HTML" = "yes"; then
17797 cat >> confdefs.h <<\EOF
17798#define wxUSE_HTML 1
17799EOF
17800
17801 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html"
17802fi
17803
17804if test "$wxUSE_VALIDATORS" = "yes"; then
17805 cat >> confdefs.h <<\EOF
17806#define wxUSE_VALIDATORS 1
17807EOF
17808
17809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
17810fi
17811
17812if test "$wxUSE_IMAGE" = "yes" ; then
17813 cat >> confdefs.h <<\EOF
17814#define wxUSE_IMAGE 1
17815EOF
17816
17817fi
17818
17819if test "$wxUSE_GIF" = "yes" ; then
17820 cat >> confdefs.h <<\EOF
17821#define wxUSE_GIF 1
17822EOF
17823
17824fi
17825
17826if test "$wxUSE_PCX" = "yes" ; then
17827 cat >> confdefs.h <<\EOF
17828#define wxUSE_PCX 1
17829EOF
17830
17831fi
17832
17833if test "$wxUSE_PNM" = "yes" ; then
17834 cat >> confdefs.h <<\EOF
17835#define wxUSE_PNM 1
17836EOF
17837
17838fi
17839
17840if test "$wxUSE_XPM" = "yes" ; then
17841 cat >> confdefs.h <<\EOF
17842#define wxUSE_XPM 1
17843EOF
17844
17845fi
17846
17847
17848if test "$wxUSE_CHOICEDLG" = "yes"; then
17849 cat >> confdefs.h <<\EOF
17850#define wxUSE_CHOICEDLG 1
17851EOF
17852
17853fi
17854
17855if test "$wxUSE_COLOURDLG" = "yes"; then
17856 cat >> confdefs.h <<\EOF
17857#define wxUSE_COLOURDLG 1
17858EOF
17859
17860fi
17861
17862if test "$wxUSE_FILEDLG" = "yes"; then
17863 cat >> confdefs.h <<\EOF
17864#define wxUSE_FILEDLG 1
17865EOF
17866
17867fi
17868
17869if test "$wxUSE_FINDREPLDLG" = "yes"; then
17870 cat >> confdefs.h <<\EOF
17871#define wxUSE_FINDREPLDLG 1
17872EOF
17873
17874fi
17875
17876if test "$wxUSE_FONTDLG" = "yes"; then
17877 cat >> confdefs.h <<\EOF
17878#define wxUSE_FONTDLG 1
17879EOF
17880
17881fi
17882
17883if test "$wxUSE_DIRDLG" = "yes"; then
17884 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17885 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
17886 else
17887 if test "$wxUSE_TREECTRL" != "yes"; then
17888 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
17889 else
17890 cat >> confdefs.h <<\EOF
17891#define wxUSE_DIRDLG 1
17892EOF
17893
17894 fi
17895 fi
17896fi
17897
17898if test "$wxUSE_MSGDLG" = "yes"; then
17899 cat >> confdefs.h <<\EOF
17900#define wxUSE_MSGDLG 1
17901EOF
17902
17903fi
17904
17905if test "$wxUSE_NUMBERDLG" = "yes"; then
17906 cat >> confdefs.h <<\EOF
17907#define wxUSE_NUMBERDLG 1
17908EOF
17909
17910fi
17911
17912if test "$wxUSE_PROGRESSDLG" = "yes"; then
17913 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17914 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
17915 else
17916 cat >> confdefs.h <<\EOF
17917#define wxUSE_PROGRESSDLG 1
17918EOF
17919
17920 fi
17921fi
17922
17923if test "$wxUSE_SPLASH" = "yes"; then
17924 cat >> confdefs.h <<\EOF
17925#define wxUSE_SPLASH 1
17926EOF
17927
17928fi
17929
17930if test "$wxUSE_STARTUP_TIPS" = "yes"; then
17931 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17932 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
17933 else
17934 cat >> confdefs.h <<\EOF
17935#define wxUSE_STARTUP_TIPS 1
17936EOF
17937
17938 fi
17939fi
17940
17941if test "$wxUSE_TEXTDLG" = "yes"; then
17942 cat >> confdefs.h <<\EOF
17943#define wxUSE_TEXTDLG 1
17944EOF
17945
17946fi
17947
17948if test "$wxUSE_WIZARDDLG" = "yes"; then
17949 cat >> confdefs.h <<\EOF
17950#define wxUSE_WIZARDDLG 1
17951EOF
17952
17953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
17954fi
17955
17956
17957if test "$cross_compiling" = "yes"; then
17958 OSINFO="\"$host\""
17959else
17960 OSINFO=`uname -s -r -m`
17961 OSINFO="\"$OSINFO\""
17962fi
17963
17964cat >> confdefs.h <<EOF
17965#define WXWIN_OS_DESCRIPTION $OSINFO
17966EOF
17967
17968
17969
17970if test "x$prefix" != "xNONE"; then
17971 wxPREFIX=$prefix
17972else
17973 wxPREFIX=$ac_default_prefix
17974fi
17975
17976cat >> confdefs.h <<EOF
17977#define wxINSTALL_PREFIX "$wxPREFIX"
17978EOF
17979
17980
17981
17982GUILIBS="$GUI_TK_LIBRARY $TOOLKIT_LINK"
17983
17984EXTRA_LIBS="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
17985
17986if test "$wxUSE_MAC" = 1 ; then
17987 EXTRA_LIBS="$EXTRA_LIBS -framework Carbon -framework System"
17988fi
17989
17990if test "$wxUSE_GUI" = "yes"; then
17991 EXTRA_LIBS="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
17992
17993
17994 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS controls dialogs \
17995 drawing dynamic erase event exec font image \
17996 minimal richedit rotate widgets"
17997
17998 if test "$wxUSE_UNIVERSAL" = "yes" ; then
17999 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS univ"
18000 fi
18001
18002 CPPFLAGS="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
18003else
18004 SAMPLES_SUBDIRS="console"
18005fi
18006
18007LD_LIBS="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
18008
18009INCLUDES="-I. -I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
18010$REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
18011$FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
18012
18013if test "$wxUSE_GTK" = 1; then
18014 WXCONFIG_INCLUDE=""
18015else
18016 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
18017fi
18018
18019if test "$GXX" = yes ; then
18020 CXXWARNINGS="-Wall"
18021 fi
18022EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
18023
18024CFLAGS=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
18025CXXFLAGS=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
18026
18027LDFLAGS="$LDFLAGS $PROFILE"
18028
18029SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
18113echo "configure:18114: checking whether ${MAKE-make} sets \${MAKE}" >&5
18114set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
18115if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
18116 echo $ac_n "(cached) $ac_c" 1>&6
18117else
18118 cat > conftestmake <<\EOF
18119all:
18120 @echo 'ac_maketemp="${MAKE}"'
18121EOF
18122# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18123eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
18124if test -n "$ac_maketemp"; then
18125 eval ac_cv_prog_make_${ac_make}_set=yes
18126else
18127 eval ac_cv_prog_make_${ac_make}_set=no
18128fi
18129rm -f conftestmake
18130fi
18131if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
18132 echo "$ac_t""yes" 1>&6
18133 SET_MAKE=
18134else
18135 echo "$ac_t""no" 1>&6
18136 SET_MAKE="MAKE=${MAKE-make}"
18137fi
18138
18139
18140if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
18141 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
18142fi
18143
18144
18145
18146if test "$wxUSE_GUI" = "yes"; then
18147 wx_cv_path_samplesubdirs=$SAMPLES_SUBDIRS
18148 wx_cv_path_ifs=$PATH_IFS
18149 wx_cv_program_ext=$PROGRAM_EXT
18150 wx_cv_target_library=$WX_TARGET_LIBRARY
18151 wx_cv_target_library_gl=$WX_TARGET_LIBRARY_GL
18152 wx_cv_target_libtype=$WX_TARGET_LIBRARY_TYPE
18153 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
18154 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
18155 subdirs="demos samples utils contrib"
18156
18157fi
18158
18159trap '' 1 2 15
18160cat > confcache <<\EOF
18161# This file is a shell script that caches the results of configure
18162# tests run on this system so they can be shared between configure
18163# scripts and configure runs. It is not useful on other systems.
18164# If it contains results you don't want to keep, you may remove or edit it.
18165#
18166# By default, configure uses ./config.cache as the cache file,
18167# creating it if it does not exist already. You can give configure
18168# the --cache-file=FILE option to use a different cache file; that is
18169# what configure does when it calls configure scripts in
18170# subdirectories, so they share the cache.
18171# Giving --cache-file=/dev/null disables caching, for debugging configure.
18172# config.status only pays attention to the cache file if you give it the
18173# --recheck option to rerun configure.
18174#
18175EOF
18176# The following way of writing the cache mishandles newlines in values,
18177# but we know of no workaround that is simple, portable, and efficient.
18178# So, don't put newlines in cache variables' values.
18179# Ultrix sh set writes to stderr and can't be redirected directly,
18180# and sets the high bit in the cache file unless we assign to the vars.
18181(set) 2>&1 |
18182 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18183 *ac_space=\ *)
18184 # `set' does not quote correctly, so add quotes (double-quote substitution
18185 # turns \\\\ into \\, and sed turns \\ into \).
18186 sed -n \
18187 -e "s/'/'\\\\''/g" \
18188 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18189 ;;
18190 *)
18191 # `set' quotes correctly as required by POSIX, so do not add quotes.
18192 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18193 ;;
18194 esac >> confcache
18195if cmp -s $cache_file confcache; then
18196 :
18197else
18198 if test -w $cache_file; then
18199 echo "updating cache $cache_file"
18200 cat confcache > $cache_file
18201 else
18202 echo "not updating unwritable cache $cache_file"
18203 fi
18204fi
18205rm -f confcache
18206
18207trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18208
18209test "x$prefix" = xNONE && prefix=$ac_default_prefix
18210# Let make expand exec_prefix.
18211test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18212
18213# Any assignment to VPATH causes Sun make to only execute
18214# the first set of double-colon rules, so remove it if not needed.
18215# If there is a colon in the path, we need to keep it.
18216if test "x$srcdir" = x.; then
18217 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
18218fi
18219
18220trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18221
18222DEFS=-DHAVE_CONFIG_H
18223
18224# Without the "./", some shells look in PATH for config.status.
18225: ${CONFIG_STATUS=./config.status}
18226
18227echo creating $CONFIG_STATUS
18228rm -f $CONFIG_STATUS
18229cat > $CONFIG_STATUS <<EOF
18230#! /bin/sh
18231# Generated automatically by configure.
18232# Run this file to recreate the current configuration.
18233# This directory was configured as follows,
18234# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18235#
18236# $0 $ac_configure_args
18237#
18238# Compiler output produced by configure, useful for debugging
18239# configure, is in ./config.log if it exists.
18240
18241ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18242for ac_option
18243do
18244 case "\$ac_option" in
18245 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18246 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18247 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18248 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18249 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18250 exit 0 ;;
18251 -help | --help | --hel | --he | --h)
18252 echo "\$ac_cs_usage"; exit 0 ;;
18253 *) echo "\$ac_cs_usage"; exit 1 ;;
18254 esac
18255done
18256
18257ac_given_srcdir=$srcdir
18258ac_given_INSTALL="$INSTALL"
18259
18260trap 'rm -fr `echo "
18261 wx-config
18262 src/make.env
18263 src/makeprog.env
18264 src/makelib.env
18265 Makefile
18266 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18267EOF
18268cat >> $CONFIG_STATUS <<EOF
18269
18270# Protect against being on the right side of a sed subst in config.status.
18271sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18272 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18273$ac_vpsub
18274$extrasub
18275s%@SHELL@%$SHELL%g
18276s%@CFLAGS@%$CFLAGS%g
18277s%@CPPFLAGS@%$CPPFLAGS%g
18278s%@CXXFLAGS@%$CXXFLAGS%g
18279s%@FFLAGS@%$FFLAGS%g
18280s%@DEFS@%$DEFS%g
18281s%@LDFLAGS@%$LDFLAGS%g
18282s%@LIBS@%$LIBS%g
18283s%@exec_prefix@%$exec_prefix%g
18284s%@prefix@%$prefix%g
18285s%@program_transform_name@%$program_transform_name%g
18286s%@bindir@%$bindir%g
18287s%@sbindir@%$sbindir%g
18288s%@libexecdir@%$libexecdir%g
18289s%@datadir@%$datadir%g
18290s%@sysconfdir@%$sysconfdir%g
18291s%@sharedstatedir@%$sharedstatedir%g
18292s%@localstatedir@%$localstatedir%g
18293s%@libdir@%$libdir%g
18294s%@includedir@%$includedir%g
18295s%@oldincludedir@%$oldincludedir%g
18296s%@infodir@%$infodir%g
18297s%@mandir@%$mandir%g
18298s%@host@%$host%g
18299s%@host_alias@%$host_alias%g
18300s%@host_cpu@%$host_cpu%g
18301s%@host_vendor@%$host_vendor%g
18302s%@host_os@%$host_os%g
18303s%@target@%$target%g
18304s%@target_alias@%$target_alias%g
18305s%@target_cpu@%$target_cpu%g
18306s%@target_vendor@%$target_vendor%g
18307s%@target_os@%$target_os%g
18308s%@build@%$build%g
18309s%@build_alias@%$build_alias%g
18310s%@build_cpu@%$build_cpu%g
18311s%@build_vendor@%$build_vendor%g
18312s%@build_os@%$build_os%g
18313s%@CC@%$CC%g
18314s%@CPP@%$CPP%g
18315s%@CXX@%$CXX%g
18316s%@RANLIB@%$RANLIB%g
18317s%@AR@%$AR%g
18318s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18319s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18320s%@INSTALL_DATA@%$INSTALL_DATA%g
18321s%@STRIP@%$STRIP%g
18322s%@YACC@%$YACC%g
18323s%@LEX@%$LEX%g
18324s%@LEXLIB@%$LEXLIB%g
18325s%@LN_S@%$LN_S%g
18326s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
18327s%@GTK_CFLAGS@%$GTK_CFLAGS%g
18328s%@GTK_LIBS@%$GTK_LIBS%g
18329s%@GTK_CONFIG@%$GTK_CONFIG%g
18330s%@X_CFLAGS@%$X_CFLAGS%g
18331s%@X_PRE_LIBS@%$X_PRE_LIBS%g
18332s%@X_LIBS@%$X_LIBS%g
18333s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
18334s%@RESCOMP@%$RESCOMP%g
18335s%@DEREZ@%$DEREZ%g
18336s%@CXXCPP@%$CXXCPP%g
18337s%@LEX_STEM@%$LEX_STEM%g
18338s%@PATH_IFS@%$PATH_IFS%g
18339s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
18340s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
18341s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
18342s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
18343s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
18344s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
18345s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
18346s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
18347s%@PROGRAM_EXT@%$PROGRAM_EXT%g
18348s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
18349s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
18350s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
18351s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
18352s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
18353s%@WX_ALL@%$WX_ALL%g
18354s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
18355s%@SHARED_LD@%$SHARED_LD%g
18356s%@PIC_FLAG@%$PIC_FLAG%g
18357s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
18358s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
18359s%@SONAME_FLAGS@%$SONAME_FLAGS%g
18360s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
18361s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
18362s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
18363s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
18364s%@USE_GUI@%$USE_GUI%g
18365s%@AFMINSTALL@%$AFMINSTALL%g
18366s%@TOOLKIT@%$TOOLKIT%g
18367s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
18368s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
18369s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
18370s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
18371s%@cross_compiling@%$cross_compiling%g
18372s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
18373s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
18374s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
18375s%@ALL_OBJECTS@%$ALL_OBJECTS%g
18376s%@GUIDIST@%$GUIDIST%g
18377s%@PORT_FILES@%$PORT_FILES%g
18378s%@DISTDIR@%$DISTDIR%g
18379s%@RPM_SPEC@%$RPM_SPEC%g
18380s%@RPM_FILES@%$RPM_FILES%g
18381s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
18382s%@EXTRA_LIBS@%$EXTRA_LIBS%g
18383s%@OPENGL_LIBS@%$OPENGL_LIBS%g
18384s%@EXTRADEFS@%$EXTRADEFS%g
18385s%@LD_LIBS@%$LD_LIBS%g
18386s%@WXMSW_DLL_DEFINES@%$WXMSW_DLL_DEFINES%g
18387s%@RESFLAGS@%$RESFLAGS%g
18388s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
18389s%@WX_RESOURCES_DARWIN@%$WX_RESOURCES_DARWIN%g
18390s%@LIBWXMACRES@%$LIBWXMACRES%g
18391s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
18392s%@DLLTOOL@%$DLLTOOL%g
18393s%@AS@%$AS%g
18394s%@NM@%$NM%g
18395s%@LD@%$LD%g
18396s%@MAKEINFO@%$MAKEINFO%g
18397s%@SET_MAKE@%$SET_MAKE%g
18398s%@subdirs@%$subdirs%g
18399
18400CEOF
18401EOF
18402
18403cat >> $CONFIG_STATUS <<\EOF
18404
18405# Split the substitutions into bite-sized pieces for seds with
18406# small command number limits, like on Digital OSF/1 and HP-UX.
18407ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
18408ac_file=1 # Number of current file.
18409ac_beg=1 # First line for current file.
18410ac_end=$ac_max_sed_cmds # Line after last line for current file.
18411ac_more_lines=:
18412ac_sed_cmds=""
18413while $ac_more_lines; do
18414 if test $ac_beg -gt 1; then
18415 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
18416 else
18417 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
18418 fi
18419 if test ! -s conftest.s$ac_file; then
18420 ac_more_lines=false
18421 rm -f conftest.s$ac_file
18422 else
18423 if test -z "$ac_sed_cmds"; then
18424 ac_sed_cmds="sed -f conftest.s$ac_file"
18425 else
18426 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
18427 fi
18428 ac_file=`expr $ac_file + 1`
18429 ac_beg=$ac_end
18430 ac_end=`expr $ac_end + $ac_max_sed_cmds`
18431 fi
18432done
18433if test -z "$ac_sed_cmds"; then
18434 ac_sed_cmds=cat
18435fi
18436EOF
18437
18438cat >> $CONFIG_STATUS <<EOF
18439
18440CONFIG_FILES=\${CONFIG_FILES-"wx-config
18441 src/make.env
18442 src/makeprog.env
18443 src/makelib.env
18444 Makefile
18445 "}
18446EOF
18447cat >> $CONFIG_STATUS <<\EOF
18448for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
18449 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18450 case "$ac_file" in
18451 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18452 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18453 *) ac_file_in="${ac_file}.in" ;;
18454 esac
18455
18456 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18457
18458 # Remove last slash and all that follows it. Not all systems have dirname.
18459 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18460 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18461 # The file is in a subdirectory.
18462 test ! -d "$ac_dir" && mkdir "$ac_dir"
18463 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
18464 # A "../" for each directory in $ac_dir_suffix.
18465 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18466 else
18467 ac_dir_suffix= ac_dots=
18468 fi
18469
18470 case "$ac_given_srcdir" in
18471 .) srcdir=.
18472 if test -z "$ac_dots"; then top_srcdir=.
18473 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18474 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
18475 *) # Relative path.
18476 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18477 top_srcdir="$ac_dots$ac_given_srcdir" ;;
18478 esac
18479
18480 case "$ac_given_INSTALL" in
18481 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18482 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18483 esac
18484
18485 echo creating "$ac_file"
18486 rm -f "$ac_file"
18487 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18488 case "$ac_file" in
18489 *Makefile*) ac_comsub="1i\\
18490# $configure_input" ;;
18491 *) ac_comsub= ;;
18492 esac
18493
18494 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18495 sed -e "$ac_comsub
18496s%@configure_input@%$configure_input%g
18497s%@srcdir@%$srcdir%g
18498s%@top_srcdir@%$top_srcdir%g
18499s%@INSTALL@%$INSTALL%g
18500" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18501fi; done
18502rm -f conftest.s*
18503
18504# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18505# NAME is the cpp macro being defined and VALUE is the value it is being given.
18506#
18507# ac_d sets the value in "#define NAME VALUE" lines.
18508ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18509ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
18510ac_dC='\3'
18511ac_dD='%g'
18512# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18513ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18514ac_uB='\([ ]\)%\1#\2define\3'
18515ac_uC=' '
18516ac_uD='\4%g'
18517# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18518ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18519ac_eB='$%\1#\2define\3'
18520ac_eC=' '
18521ac_eD='%g'
18522
18523if test "${CONFIG_HEADERS+set}" != set; then
18524EOF
18525cat >> $CONFIG_STATUS <<EOF
18526 CONFIG_HEADERS="setup.h:setup.h.in"
18527EOF
18528cat >> $CONFIG_STATUS <<\EOF
18529fi
18530for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
18531 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18532 case "$ac_file" in
18533 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18534 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18535 *) ac_file_in="${ac_file}.in" ;;
18536 esac
18537
18538 echo creating $ac_file
18539
18540 rm -f conftest.frag conftest.in conftest.out
18541 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18542 cat $ac_file_inputs > conftest.in
18543
18544EOF
18545
18546# Transform confdefs.h into a sed script conftest.vals that substitutes
18547# the proper values into config.h.in to produce config.h. And first:
18548# Protect against being on the right side of a sed subst in config.status.
18549# Protect against being in an unquoted here document in config.status.
18550rm -f conftest.vals
18551cat > conftest.hdr <<\EOF
18552s/[\\&%]/\\&/g
18553s%[\\$`]%\\&%g
18554s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18555s%ac_d%ac_u%gp
18556s%ac_u%ac_e%gp
18557EOF
18558sed -n -f conftest.hdr confdefs.h > conftest.vals
18559rm -f conftest.hdr
18560
18561# This sed command replaces #undef with comments. This is necessary, for
18562# example, in the case of _POSIX_SOURCE, which is predefined and required
18563# on some systems where configure will not decide to define it.
18564cat >> conftest.vals <<\EOF
18565s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18566EOF
18567
18568# Break up conftest.vals because some shells have a limit on
18569# the size of here documents, and old seds have small limits too.
18570
18571rm -f conftest.tail
18572while :
18573do
18574 ac_lines=`grep -c . conftest.vals`
18575 # grep -c gives empty output for an empty file on some AIX systems.
18576 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18577 # Write a limited-size here document to conftest.frag.
18578 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18579 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18580 echo 'CEOF
18581 sed -f conftest.frag conftest.in > conftest.out
18582 rm -f conftest.in
18583 mv conftest.out conftest.in
18584' >> $CONFIG_STATUS
18585 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18586 rm -f conftest.vals
18587 mv conftest.tail conftest.vals
18588done
18589rm -f conftest.vals
18590
18591cat >> $CONFIG_STATUS <<\EOF
18592 rm -f conftest.frag conftest.h
18593 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18594 cat conftest.in >> conftest.h
18595 rm -f conftest.in
18596 if cmp -s $ac_file conftest.h 2>/dev/null; then
18597 echo "$ac_file is unchanged"
18598 rm -f conftest.h
18599 else
18600 # Remove last slash and all that follows it. Not all systems have dirname.
18601 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18602 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18603 # The file is in a subdirectory.
18604 test ! -d "$ac_dir" && mkdir "$ac_dir"
18605 fi
18606 rm -f $ac_file
18607 mv conftest.h $ac_file
18608 fi
18609fi; done
18610
18611EOF
18612cat >> $CONFIG_STATUS <<EOF
18613
18614 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
18615 LN_S="${LN_S}"
18616
18617
18618EOF
18619cat >> $CONFIG_STATUS <<\EOF
18620
18621 if test ! -L wx-config; then
18622 chmod +x wx-config
18623 mv wx-config wx${TOOLCHAIN_NAME}-config
18624 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
18625 fi
18626
18627 if test ! -d lib; then
18628 mkdir lib
18629 fi
18630 if test ! -d lib/wx; then
18631 mkdir lib/wx
18632 fi
18633 if test ! -d lib/wx/include; then
18634 mkdir lib/wx/include
18635 fi
18636 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
18637 mkdir lib/wx/include/${TOOLCHAIN_NAME}
18638 fi
18639 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
18640 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
18641 fi
18642 if test -f setup.h; then
18643 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
18644 fi
18645
18646exit 0
18647EOF
18648chmod +x $CONFIG_STATUS
18649rm -fr confdefs* $ac_clean_files
18650test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18651
18652if test "$no_recursion" != yes; then
18653
18654 # Remove --cache-file and --srcdir arguments so they do not pile up.
18655 ac_sub_configure_args=
18656 ac_prev=
18657 for ac_arg in $ac_configure_args; do
18658 if test -n "$ac_prev"; then
18659 ac_prev=
18660 continue
18661 fi
18662 case "$ac_arg" in
18663 -cache-file | --cache-file | --cache-fil | --cache-fi \
18664 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
18665 ac_prev=cache_file ;;
18666 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
18667 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
18668 ;;
18669 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
18670 ac_prev=srcdir ;;
18671 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
18672 ;;
18673 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
18674 esac
18675 done
18676
18677 for ac_config_dir in demos samples utils contrib; do
18678
18679 # Do not complain, so a configure script can configure whichever
18680 # parts of a large source tree are present.
18681 if test ! -d $srcdir/$ac_config_dir; then
18682 continue
18683 fi
18684
18685 echo configuring in $ac_config_dir
18686
18687 case "$srcdir" in
18688 .) ;;
18689 *)
18690 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
18691 else
18692 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
18693 fi
18694 ;;
18695 esac
18696
18697 ac_popdir=`pwd`
18698 cd $ac_config_dir
18699
18700 # A "../" for each directory in /$ac_config_dir.
18701 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
18702
18703 case "$srcdir" in
18704 .) # No --srcdir option. We are building in place.
18705 ac_sub_srcdir=$srcdir ;;
18706 /*) # Absolute path.
18707 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
18708 *) # Relative path.
18709 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
18710 esac
18711
18712 # Check for guested configure; otherwise get Cygnus style configure.
18713 if test -f $ac_sub_srcdir/configure; then
18714 ac_sub_configure=$ac_sub_srcdir/configure
18715 elif test -f $ac_sub_srcdir/configure.in; then
18716 ac_sub_configure=$ac_configure
18717 else
18718 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
18719 ac_sub_configure=
18720 fi
18721
18722 # The recursion is here.
18723 if test -n "$ac_sub_configure"; then
18724
18725 # Make the cache file name correct relative to the subdirectory.
18726 case "$cache_file" in
18727 /*) ac_sub_cache_file=$cache_file ;;
18728 *) # Relative path.
18729 ac_sub_cache_file="$ac_dots$cache_file" ;;
18730 esac
18731 case "$ac_given_INSTALL" in
18732 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18733 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18734 esac
18735
18736 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
18737 # The eval makes quoting arguments work.
18738 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
18739 then :
18740 else
18741 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
18742 fi
18743 fi
18744
18745 cd $ac_popdir
18746 done
18747fi
18748
18749