]> git.saurik.com Git - wxWidgets.git/blame_incremental - configure
no real changes
[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-msw use MS-Windows"
72ac_help="$ac_help
73 --with-pm use OS/2 Presentation Manager"
74ac_help="$ac_help
75 --with-mgl use SciTech MGL"
76ac_help="$ac_help
77 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
78ac_help="$ac_help
79 --with-libpng use libpng (PNG image format)"
80ac_help="$ac_help
81 --with-libjpeg use libjpeg (JPEG file format)"
82ac_help="$ac_help
83 --with-libtiff use libtiff (TIFF file format)"
84ac_help="$ac_help
85 --with-freetype use freetype (font rasterizer)"
86ac_help="$ac_help
87 --with-opengl use OpenGL (or Mesa)"
88ac_help="$ac_help
89 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
90ac_help="$ac_help
91 --with-regex enable support for wxRegEx class"
92ac_help="$ac_help
93 --with-zlib use zlib for LZW compression"
94ac_help="$ac_help
95 --with-odbc use the IODBC and wxODBC classes"
96ac_help="$ac_help
97 --enable-shared create shared library code"
98ac_help="$ac_help
99 --enable-soname set the DT_SONAME field in ELF shared libraries"
100ac_help="$ac_help
101 --enable-optimise create optimised code"
102ac_help="$ac_help
103 --enable-debug same as debug_flag and debug_info"
104ac_help="$ac_help
105 --enable-precomp enable use of precompiled headers (Mac OS X)"
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-textbuf use wxTextBuffer class"
172ac_help="$ac_help
173 --enable-textfile use wxTextFile class"
174ac_help="$ac_help
175 --enable-fontmap use font encodings conversion classes"
176ac_help="$ac_help
177 --enable-unicode compile wxString with Unicode support"
178ac_help="$ac_help
179 --enable-wxprintfv use wxWindows implementation of vprintf()"
180ac_help="$ac_help
181 --enable-std_iostreams use standard C++ stream classes"
182ac_help="$ac_help
183 --enable-filesystem use virtual file systems classes"
184ac_help="$ac_help
185 --enable-fs_inet use virtual HTTP/FTP filesystems"
186ac_help="$ac_help
187 --enable-fs_zip use virtual ZIP filesystems"
188ac_help="$ac_help
189 --enable-zipstream use wxZipInputStream"
190ac_help="$ac_help
191 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
192ac_help="$ac_help
193 --enable-snglinst use wxSingleInstanceChecker class"
194ac_help="$ac_help
195 --enable-mimetype use wxMimeTypesManager"
196ac_help="$ac_help
197 --enable-sysoptions use wxSystemOptions"
198ac_help="$ac_help
199 --enable-threads use threads"
200ac_help="$ac_help
201 --enable-serial use class serialization"
202ac_help="$ac_help
203 --enable-docview use document view architecture"
204ac_help="$ac_help
205 --enable-help use help subsystem"
206ac_help="$ac_help
207 --enable-mshtmlhelp use MS HTML Help (win32)"
208ac_help="$ac_help
209 --enable-html use wxHTML sub-library"
210ac_help="$ac_help
211 --enable-htmlhelp use wxHTML-based help"
212ac_help="$ac_help
213 --enable-constraints use layout-constraints system"
214ac_help="$ac_help
215 --enable-printarch use printing architecture"
216ac_help="$ac_help
217 --enable-mdi use multiple document interface architecture"
218ac_help="$ac_help
219 --enable-loggui use standard GUI logger"
220ac_help="$ac_help
221 --enable-logwin use wxLogWindow"
222ac_help="$ac_help
223 --enable-logdialog use wxLogDialog"
224ac_help="$ac_help
225 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
226ac_help="$ac_help
227 --enable-prologio use Prolog IO library"
228ac_help="$ac_help
229 --enable-resources use wxWindows resources"
230ac_help="$ac_help
231 --enable-xresources use X resources for save (default for gtk+)"
232ac_help="$ac_help
233 --enable-clipboard use wxClipboard classes"
234ac_help="$ac_help
235 --enable-dnd use Drag'n'Drop classes"
236ac_help="$ac_help
237 --enable-metafile use win32 metafiles"
238ac_help="$ac_help
239 --enable-treelayout use wxTreeLayout classes"
240ac_help="$ac_help
241 --enable-controls use all usual controls"
242ac_help="$ac_help
243 --enable-accel use accelerators"
244ac_help="$ac_help
245 --enable-button use wxButton class"
246ac_help="$ac_help
247 --enable-bmpbutton use wxBitmapButton class"
248ac_help="$ac_help
249 --enable-calendar use wxCalendarCtrl class"
250ac_help="$ac_help
251 --enable-caret use wxCaret class"
252ac_help="$ac_help
253 --enable-checkbox use wxCheckBox class"
254ac_help="$ac_help
255 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
256ac_help="$ac_help
257 --enable-choice use wxChoice class"
258ac_help="$ac_help
259 --enable-combobox use wxComboBox classes"
260ac_help="$ac_help
261 --enable-gauge use wxGauge class"
262ac_help="$ac_help
263 --enable-grid use wxGrid class"
264ac_help="$ac_help
265 --enable-newgrid use new wxGrid class"
266ac_help="$ac_help
267 --enable-imaglist use wxImageList class"
268ac_help="$ac_help
269 --enable-listbox use wxListBox class"
270ac_help="$ac_help
271 --enable-listctrl use wxListCtrl class"
272ac_help="$ac_help
273 --enable-notebook use wxNotebook class"
274ac_help="$ac_help
275 --enable-propsheet use wxPropertySheet class"
276ac_help="$ac_help
277 --enable-radiobox use wxRadioBox class"
278ac_help="$ac_help
279 --enable-radiobtn use wxRadioButton class"
280ac_help="$ac_help
281 --enable-sash use wxSashWindow class"
282ac_help="$ac_help
283 --enable-scrollbar use wxScrollBar class and scrollable windows"
284ac_help="$ac_help
285 --enable-slider use wxSlider class"
286ac_help="$ac_help
287 --enable-spinbtn use wxSpinButton class"
288ac_help="$ac_help
289 --enable-spinctrl use wxSpinCtrl class"
290ac_help="$ac_help
291 --enable-splitter use wxSplitterWindow class"
292ac_help="$ac_help
293 --enable-statbmp use wxStaticBitmap class"
294ac_help="$ac_help
295 --enable-statbox use wxStaticBox class"
296ac_help="$ac_help
297 --enable-statline use wxStaticLine class"
298ac_help="$ac_help
299 --enable-stattext use wxStaticText class"
300ac_help="$ac_help
301 --enable-statusbar use wxStatusBar class"
302ac_help="$ac_help
303 --enable-tabdialog use wxTabControl class"
304ac_help="$ac_help
305 --enable-textctrl use wxTextCtrl class"
306ac_help="$ac_help
307 --enable-togglebtn use wxToggleButton class"
308ac_help="$ac_help
309 --enable-toolbar use wxToolBar class"
310ac_help="$ac_help
311 --enable-tbarnative use native wxToolBar class"
312ac_help="$ac_help
313 --enable-tbarsmpl use wxToolBarSimple class"
314ac_help="$ac_help
315 --enable-treectrl use wxTreeCtrl class"
316ac_help="$ac_help
317 --enable-tipwindow use wxTipWindow class"
318ac_help="$ac_help
319 --enable-popupwin use wxPopUpWindow class"
320ac_help="$ac_help
321 --enable-commondlg use all common dialogs"
322ac_help="$ac_help
323 --enable-choicedlg use wxChoiceDialog"
324ac_help="$ac_help
325 --enable-coldlg use wxColourDialog"
326ac_help="$ac_help
327 --enable-filedlg use wxFileDialog"
328ac_help="$ac_help
329 --enable-finddlg use wxFindReplaceDialog"
330ac_help="$ac_help
331 --enable-fontdlg use wxFontDialog"
332ac_help="$ac_help
333 --enable-dirdlg use wxDirDialog"
334ac_help="$ac_help
335 --enable-msgdlg use wxMessageDialog"
336ac_help="$ac_help
337 --enable-numberdlg use wxNumberEntryDialog"
338ac_help="$ac_help
339 --enable-splash use wxSplashScreen"
340ac_help="$ac_help
341 --enable-textdlg use wxTextDialog"
342ac_help="$ac_help
343 --enable-tipdlg use startup tips"
344ac_help="$ac_help
345 --enable-progressdlg use wxProgressDialog"
346ac_help="$ac_help
347 --enable-wizarddlg use wxWizard"
348ac_help="$ac_help
349 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
350ac_help="$ac_help
351 --enable-miniframe use wxMiniFrame class"
352ac_help="$ac_help
353 --enable-tooltips use wxToolTip class"
354ac_help="$ac_help
355 --enable-splines use spline drawing code"
356ac_help="$ac_help
357 --enable-validators use wxValidator and derived classes"
358ac_help="$ac_help
359 --enable-busyinfo use wxBusyInfo"
360ac_help="$ac_help
361 --enable-joystick use wxJoystick (Linux only)"
362ac_help="$ac_help
363 --enable-metafiles use wxMetaFile (Windows only)"
364ac_help="$ac_help
365 --enable-dragimage use wxDragImage"
366ac_help="$ac_help
367 --enable-palette use wxPalette class"
368ac_help="$ac_help
369 --enable-image use wxImage class"
370ac_help="$ac_help
371 --enable-gif use gif images (GIF file format)"
372ac_help="$ac_help
373 --enable-pcx use pcx images (PCX file format)"
374ac_help="$ac_help
375 --enable-pnm use pnm images (PNM file format)"
376ac_help="$ac_help
377 --enable-xpm use xpm images (XPM file format)"
378ac_help="$ac_help
379 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
380ac_help="$ac_help
381 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
382ac_help="$ac_help
383 --disable-gtktest Do not try to compile and run a test GTK program"
384ac_help="$ac_help
385 --with-x use the X Window System"
386
387# Initialize some variables set by options.
388# The variables have the same names as the options, with
389# dashes changed to underlines.
390build=NONE
391cache_file=./config.cache
392exec_prefix=NONE
393host=NONE
394no_create=
395nonopt=NONE
396no_recursion=
397prefix=NONE
398program_prefix=NONE
399program_suffix=NONE
400program_transform_name=s,x,x,
401silent=
402site=
403srcdir=
404target=NONE
405verbose=
406x_includes=NONE
407x_libraries=NONE
408bindir='${exec_prefix}/bin'
409sbindir='${exec_prefix}/sbin'
410libexecdir='${exec_prefix}/libexec'
411datadir='${prefix}/share'
412sysconfdir='${prefix}/etc'
413sharedstatedir='${prefix}/com'
414localstatedir='${prefix}/var'
415libdir='${exec_prefix}/lib'
416includedir='${prefix}/include'
417oldincludedir='/usr/include'
418infodir='${prefix}/info'
419mandir='${prefix}/man'
420
421# Initialize some other variables.
422subdirs=
423MFLAGS= MAKEFLAGS=
424SHELL=${CONFIG_SHELL-/bin/sh}
425# Maximum number of lines to put in a shell here document.
426ac_max_here_lines=12
427
428ac_prev=
429for ac_option
430do
431
432 # If the previous option needs an argument, assign it.
433 if test -n "$ac_prev"; then
434 eval "$ac_prev=\$ac_option"
435 ac_prev=
436 continue
437 fi
438
439 case "$ac_option" in
440 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
441 *) ac_optarg= ;;
442 esac
443
444 # Accept the important Cygnus configure options, so we can diagnose typos.
445
446 case "$ac_option" in
447
448 -bindir | --bindir | --bindi | --bind | --bin | --bi)
449 ac_prev=bindir ;;
450 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
451 bindir="$ac_optarg" ;;
452
453 -build | --build | --buil | --bui | --bu)
454 ac_prev=build ;;
455 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
456 build="$ac_optarg" ;;
457
458 -cache-file | --cache-file | --cache-fil | --cache-fi \
459 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
460 ac_prev=cache_file ;;
461 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
462 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
463 cache_file="$ac_optarg" ;;
464
465 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
466 ac_prev=datadir ;;
467 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
468 | --da=*)
469 datadir="$ac_optarg" ;;
470
471 -disable-* | --disable-*)
472 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
473 # Reject names that are not valid shell variable names.
474 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
475 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
476 fi
477 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
478 eval "enable_${ac_feature}=no" ;;
479
480 -enable-* | --enable-*)
481 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
482 # Reject names that are not valid shell variable names.
483 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
484 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
485 fi
486 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
487 case "$ac_option" in
488 *=*) ;;
489 *) ac_optarg=yes ;;
490 esac
491 eval "enable_${ac_feature}='$ac_optarg'" ;;
492
493 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
494 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
495 | --exec | --exe | --ex)
496 ac_prev=exec_prefix ;;
497 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
498 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
499 | --exec=* | --exe=* | --ex=*)
500 exec_prefix="$ac_optarg" ;;
501
502 -gas | --gas | --ga | --g)
503 # Obsolete; use --with-gas.
504 with_gas=yes ;;
505
506 -help | --help | --hel | --he)
507 # Omit some internal or obsolete options to make the list less imposing.
508 # This message is too long to be a string in the A/UX 3.1 sh.
509 cat << EOF
510Usage: configure [options] [host]
511Options: [defaults in brackets after descriptions]
512Configuration:
513 --cache-file=FILE cache test results in FILE
514 --help print this message
515 --no-create do not create output files
516 --quiet, --silent do not print \`checking...' messages
517 --version print the version of autoconf that created configure
518Directory and file names:
519 --prefix=PREFIX install architecture-independent files in PREFIX
520 [$ac_default_prefix]
521 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
522 [same as prefix]
523 --bindir=DIR user executables in DIR [EPREFIX/bin]
524 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
525 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
526 --datadir=DIR read-only architecture-independent data in DIR
527 [PREFIX/share]
528 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
529 --sharedstatedir=DIR modifiable architecture-independent data in DIR
530 [PREFIX/com]
531 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
532 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
533 --includedir=DIR C header files in DIR [PREFIX/include]
534 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
535 --infodir=DIR info documentation in DIR [PREFIX/info]
536 --mandir=DIR man documentation in DIR [PREFIX/man]
537 --srcdir=DIR find the sources in DIR [configure dir or ..]
538 --program-prefix=PREFIX prepend PREFIX to installed program names
539 --program-suffix=SUFFIX append SUFFIX to installed program names
540 --program-transform-name=PROGRAM
541 run sed PROGRAM on installed program names
542EOF
543 cat << EOF
544Host type:
545 --build=BUILD configure for building on BUILD [BUILD=HOST]
546 --host=HOST configure for HOST [guessed]
547 --target=TARGET configure for TARGET [TARGET=HOST]
548Features and packages:
549 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
550 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
551 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
552 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
553 --x-includes=DIR X include files are in DIR
554 --x-libraries=DIR X library files are in DIR
555EOF
556 if test -n "$ac_help"; then
557 echo "--enable and --with options recognized:$ac_help"
558 fi
559 exit 0 ;;
560
561 -host | --host | --hos | --ho)
562 ac_prev=host ;;
563 -host=* | --host=* | --hos=* | --ho=*)
564 host="$ac_optarg" ;;
565
566 -includedir | --includedir | --includedi | --included | --include \
567 | --includ | --inclu | --incl | --inc)
568 ac_prev=includedir ;;
569 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
570 | --includ=* | --inclu=* | --incl=* | --inc=*)
571 includedir="$ac_optarg" ;;
572
573 -infodir | --infodir | --infodi | --infod | --info | --inf)
574 ac_prev=infodir ;;
575 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
576 infodir="$ac_optarg" ;;
577
578 -libdir | --libdir | --libdi | --libd)
579 ac_prev=libdir ;;
580 -libdir=* | --libdir=* | --libdi=* | --libd=*)
581 libdir="$ac_optarg" ;;
582
583 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
584 | --libexe | --libex | --libe)
585 ac_prev=libexecdir ;;
586 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
587 | --libexe=* | --libex=* | --libe=*)
588 libexecdir="$ac_optarg" ;;
589
590 -localstatedir | --localstatedir | --localstatedi | --localstated \
591 | --localstate | --localstat | --localsta | --localst \
592 | --locals | --local | --loca | --loc | --lo)
593 ac_prev=localstatedir ;;
594 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
595 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
596 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
597 localstatedir="$ac_optarg" ;;
598
599 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
600 ac_prev=mandir ;;
601 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
602 mandir="$ac_optarg" ;;
603
604 -nfp | --nfp | --nf)
605 # Obsolete; use --without-fp.
606 with_fp=no ;;
607
608 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
609 | --no-cr | --no-c)
610 no_create=yes ;;
611
612 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
613 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
614 no_recursion=yes ;;
615
616 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
617 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
618 | --oldin | --oldi | --old | --ol | --o)
619 ac_prev=oldincludedir ;;
620 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
621 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
622 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
623 oldincludedir="$ac_optarg" ;;
624
625 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
626 ac_prev=prefix ;;
627 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
628 prefix="$ac_optarg" ;;
629
630 -program-prefix | --program-prefix | --program-prefi | --program-pref \
631 | --program-pre | --program-pr | --program-p)
632 ac_prev=program_prefix ;;
633 -program-prefix=* | --program-prefix=* | --program-prefi=* \
634 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
635 program_prefix="$ac_optarg" ;;
636
637 -program-suffix | --program-suffix | --program-suffi | --program-suff \
638 | --program-suf | --program-su | --program-s)
639 ac_prev=program_suffix ;;
640 -program-suffix=* | --program-suffix=* | --program-suffi=* \
641 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
642 program_suffix="$ac_optarg" ;;
643
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 ac_prev=program_transform_name ;;
652 -program-transform-name=* | --program-transform-name=* \
653 | --program-transform-nam=* | --program-transform-na=* \
654 | --program-transform-n=* | --program-transform-=* \
655 | --program-transform=* | --program-transfor=* \
656 | --program-transfo=* | --program-transf=* \
657 | --program-trans=* | --program-tran=* \
658 | --progr-tra=* | --program-tr=* | --program-t=*)
659 program_transform_name="$ac_optarg" ;;
660
661 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
662 | -silent | --silent | --silen | --sile | --sil)
663 silent=yes ;;
664
665 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
666 ac_prev=sbindir ;;
667 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
668 | --sbi=* | --sb=*)
669 sbindir="$ac_optarg" ;;
670
671 -sharedstatedir | --sharedstatedir | --sharedstatedi \
672 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
673 | --sharedst | --shareds | --shared | --share | --shar \
674 | --sha | --sh)
675 ac_prev=sharedstatedir ;;
676 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
677 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
678 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
679 | --sha=* | --sh=*)
680 sharedstatedir="$ac_optarg" ;;
681
682 -site | --site | --sit)
683 ac_prev=site ;;
684 -site=* | --site=* | --sit=*)
685 site="$ac_optarg" ;;
686
687 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
688 ac_prev=srcdir ;;
689 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
690 srcdir="$ac_optarg" ;;
691
692 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
693 | --syscon | --sysco | --sysc | --sys | --sy)
694 ac_prev=sysconfdir ;;
695 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
696 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
697 sysconfdir="$ac_optarg" ;;
698
699 -target | --target | --targe | --targ | --tar | --ta | --t)
700 ac_prev=target ;;
701 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
702 target="$ac_optarg" ;;
703
704 -v | -verbose | --verbose | --verbos | --verbo | --verb)
705 verbose=yes ;;
706
707 -version | --version | --versio | --versi | --vers)
708 echo "configure generated by autoconf version 2.13"
709 exit 0 ;;
710
711 -with-* | --with-*)
712 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
713 # Reject names that are not valid shell variable names.
714 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
715 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
716 fi
717 ac_package=`echo $ac_package| sed 's/-/_/g'`
718 case "$ac_option" in
719 *=*) ;;
720 *) ac_optarg=yes ;;
721 esac
722 eval "with_${ac_package}='$ac_optarg'" ;;
723
724 -without-* | --without-*)
725 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
726 # Reject names that are not valid shell variable names.
727 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
728 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
729 fi
730 ac_package=`echo $ac_package| sed 's/-/_/g'`
731 eval "with_${ac_package}=no" ;;
732
733 --x)
734 # Obsolete; use --with-x.
735 with_x=yes ;;
736
737 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
738 | --x-incl | --x-inc | --x-in | --x-i)
739 ac_prev=x_includes ;;
740 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
741 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
742 x_includes="$ac_optarg" ;;
743
744 -x-libraries | --x-libraries | --x-librarie | --x-librari \
745 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
746 ac_prev=x_libraries ;;
747 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
748 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
749 x_libraries="$ac_optarg" ;;
750
751 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
752 ;;
753
754 *)
755 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
756 echo "configure: warning: $ac_option: invalid host type" 1>&2
757 fi
758 if test "x$nonopt" != xNONE; then
759 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
760 fi
761 nonopt="$ac_option"
762 ;;
763
764 esac
765done
766
767if test -n "$ac_prev"; then
768 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
769fi
770
771trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
772
773# File descriptor usage:
774# 0 standard input
775# 1 file creation
776# 2 errors and warnings
777# 3 some systems may open it to /dev/tty
778# 4 used on the Kubota Titan
779# 6 checking for... messages and results
780# 5 compiler messages saved in config.log
781if test "$silent" = yes; then
782 exec 6>/dev/null
783else
784 exec 6>&1
785fi
786exec 5>./config.log
787
788echo "\
789This file contains any messages produced by compilers while
790running configure, to aid debugging if configure makes a mistake.
791" 1>&5
792
793# Strip out --no-create and --no-recursion so they do not pile up.
794# Also quote any args containing shell metacharacters.
795ac_configure_args=
796for ac_arg
797do
798 case "$ac_arg" in
799 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
800 | --no-cr | --no-c) ;;
801 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
802 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
803 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
804 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
805 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
806 esac
807done
808
809# NLS nuisances.
810# Only set these to C if already set. These must not be set unconditionally
811# because not all systems understand e.g. LANG=C (notably SCO).
812# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
813# Non-C LC_CTYPE values break the ctype check.
814if test "${LANG+set}" = set; then LANG=C; export LANG; fi
815if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
816if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
817if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
818
819# confdefs.h avoids OS command line length limits that DEFS can exceed.
820rm -rf conftest* confdefs.h
821# AIX cpp loses on an empty file, so make sure it contains at least a newline.
822echo > confdefs.h
823
824# A filename unique to this package, relative to the directory that
825# configure is in, which we can look for to find out if srcdir is correct.
826ac_unique_file=wx-config.in
827
828# Find the source files, if location was not specified.
829if test -z "$srcdir"; then
830 ac_srcdir_defaulted=yes
831 # Try the directory containing this script, then its parent.
832 ac_prog=$0
833 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
834 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
835 srcdir=$ac_confdir
836 if test ! -r $srcdir/$ac_unique_file; then
837 srcdir=..
838 fi
839else
840 ac_srcdir_defaulted=no
841fi
842if test ! -r $srcdir/$ac_unique_file; then
843 if test "$ac_srcdir_defaulted" = yes; then
844 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
845 else
846 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
847 fi
848fi
849srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
850
851# Prefer explicitly selected file to automatically selected ones.
852if test -z "$CONFIG_SITE"; then
853 if test "x$prefix" != xNONE; then
854 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
855 else
856 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
857 fi
858fi
859for ac_site_file in $CONFIG_SITE; do
860 if test -r "$ac_site_file"; then
861 echo "loading site script $ac_site_file"
862 . "$ac_site_file"
863 fi
864done
865
866if test -r "$cache_file"; then
867 echo "loading cache $cache_file"
868 . $cache_file
869else
870 echo "creating cache $cache_file"
871 > $cache_file
872fi
873
874ac_ext=c
875# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
876ac_cpp='$CPP $CPPFLAGS'
877ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
878ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
879cross_compiling=$ac_cv_prog_cc_cross
880
881ac_exeext=
882ac_objext=o
883if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
884 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
885 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
886 ac_n= ac_c='
887' ac_t=' '
888 else
889 ac_n=-n ac_c= ac_t=
890 fi
891else
892 ac_n= ac_c='\c' ac_t=
893fi
894
895
896
897ac_aux_dir=
898for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
899 if test -f $ac_dir/install-sh; then
900 ac_aux_dir=$ac_dir
901 ac_install_sh="$ac_aux_dir/install-sh -c"
902 break
903 elif test -f $ac_dir/install.sh; then
904 ac_aux_dir=$ac_dir
905 ac_install_sh="$ac_aux_dir/install.sh -c"
906 break
907 fi
908done
909if test -z "$ac_aux_dir"; then
910 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
911fi
912ac_config_guess=$ac_aux_dir/config.guess
913ac_config_sub=$ac_aux_dir/config.sub
914ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
915
916
917# Do some error checking and defaulting for the host and target type.
918# The inputs are:
919# configure --host=HOST --target=TARGET --build=BUILD NONOPT
920#
921# The rules are:
922# 1. You are not allowed to specify --host, --target, and nonopt at the
923# same time.
924# 2. Host defaults to nonopt.
925# 3. If nonopt is not specified, then host defaults to the current host,
926# as determined by config.guess.
927# 4. Target and build default to nonopt.
928# 5. If nonopt is not specified, then target and build default to host.
929
930# The aliases save the names the user supplied, while $host etc.
931# will get canonicalized.
932case $host---$target---$nonopt in
933NONE---*---* | *---NONE---* | *---*---NONE) ;;
934*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
935esac
936
937
938# Make sure we can run config.sub.
939if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
940else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
941fi
942
943echo $ac_n "checking host system type""... $ac_c" 1>&6
944echo "configure:945: checking host system type" >&5
945
946host_alias=$host
947case "$host_alias" in
948NONE)
949 case $nonopt in
950 NONE)
951 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
952 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
953 fi ;;
954 *) host_alias=$nonopt ;;
955 esac ;;
956esac
957
958host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
959host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
960host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
961host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
962echo "$ac_t""$host" 1>&6
963
964echo $ac_n "checking target system type""... $ac_c" 1>&6
965echo "configure:966: checking target system type" >&5
966
967target_alias=$target
968case "$target_alias" in
969NONE)
970 case $nonopt in
971 NONE) target_alias=$host_alias ;;
972 *) target_alias=$nonopt ;;
973 esac ;;
974esac
975
976target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
977target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
978target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
979target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
980echo "$ac_t""$target" 1>&6
981
982echo $ac_n "checking build system type""... $ac_c" 1>&6
983echo "configure:984: checking build system type" >&5
984
985build_alias=$build
986case "$build_alias" in
987NONE)
988 case $nonopt in
989 NONE) build_alias=$host_alias ;;
990 *) build_alias=$nonopt ;;
991 esac ;;
992esac
993
994build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
995build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
996build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
997build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
998echo "$ac_t""$build" 1>&6
999
1000test "$host_alias" != "$target_alias" &&
1001 test "$program_prefix$program_suffix$program_transform_name" = \
1002 NONENONEs,x,x, &&
1003 program_prefix=${target_alias}-
1004
1005
1006
1007WX_MAJOR_VERSION_NUMBER=2
1008WX_MINOR_VERSION_NUMBER=3
1009WX_RELEASE_NUMBER=2
1010
1011WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1012WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1013
1014WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1015
1016WX_CURRENT=1
1017WX_REVISION=0
1018WX_AGE=0
1019
1020
1021
1022USE_UNIX=1
1023USE_WIN32=0
1024USE_BEOS=0
1025USE_MAC=0
1026
1027USE_LINUX=
1028USE_SGI=
1029USE_HPUX=
1030USE_SYSV=
1031USE_SVR4=
1032USE_AIX=
1033USE_SUN=
1034USE_SOLARIS=
1035USE_SUNOS=
1036USE_ALPHA=
1037USE_OSF=
1038USE_BSD=
1039USE_DARWIN=
1040USE_FREEBSD=
1041USE_OPENBSD=
1042USE_NETBSD=
1043USE_VMS=
1044USE_ULTRIX=
1045USE_DATA_GENERAL=
1046
1047NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1048
1049ALL_TOOLKITS="GTK MAC MGL MOTIF MSW PM WINE"
1050
1051DEFAULT_wxUSE_GTK=0
1052DEFAULT_wxUSE_MAC=0
1053DEFAULT_wxUSE_MGL=0
1054DEFAULT_wxUSE_MOTIF=0
1055DEFAULT_wxUSE_MSW=0
1056DEFAULT_wxUSE_PM=0
1057DEFAULT_wxUSE_WINE=0
1058
1059DEFAULT_DEFAULT_wxUSE_GTK=0
1060DEFAULT_DEFAULT_wxUSE_MAC=0
1061DEFAULT_DEFAULT_wxUSE_MGL=0
1062DEFAULT_DEFAULT_wxUSE_MOTIF=0
1063DEFAULT_DEFAULT_wxUSE_MSW=0
1064DEFAULT_DEFAULT_wxUSE_PM=0
1065DEFAULT_DEFAULT_wxUSE_WINE=0
1066
1067PROGRAM_EXT=
1068SO_SUFFIX=so
1069
1070case "${host}" in
1071 *-hp-hpux* )
1072 USE_HPUX=1
1073 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1074 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1075 SO_SUFFIX=sl
1076 cat >> confdefs.h <<\EOF
1077#define __HPUX__ 1
1078EOF
1079
1080 ;;
1081 *-*-linux* )
1082 USE_LINUX=1
1083 cat >> confdefs.h <<\EOF
1084#define __LINUX__ 1
1085EOF
1086
1087 TMP=`uname -m`
1088 if test "x$TMP" = "xalpha"; then
1089 USE_ALPHA=1
1090 cat >> confdefs.h <<\EOF
1091#define __ALPHA__ 1
1092EOF
1093
1094 fi
1095 DEFAULT_DEFAULT_wxUSE_GTK=1
1096 ;;
1097 *-*-irix5* | *-*-irix6* )
1098 USE_SGI=1
1099 USE_SVR4=1
1100 cat >> confdefs.h <<\EOF
1101#define __SGI__ 1
1102EOF
1103
1104 cat >> confdefs.h <<\EOF
1105#define __SVR4__ 1
1106EOF
1107
1108 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1109 ;;
1110 *-*-solaris2* )
1111 USE_SUN=1
1112 USE_SOLARIS=1
1113 USE_SVR4=1
1114 cat >> confdefs.h <<\EOF
1115#define __SUN__ 1
1116EOF
1117
1118 cat >> confdefs.h <<\EOF
1119#define __SOLARIS__ 1
1120EOF
1121
1122 cat >> confdefs.h <<\EOF
1123#define __SVR4__ 1
1124EOF
1125
1126 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1127 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1128 ;;
1129 *-*-sunos4* )
1130 USE_SUN=1
1131 USE_SUNOS=1
1132 USE_BSD=1
1133 cat >> confdefs.h <<\EOF
1134#define __SUN__ 1
1135EOF
1136
1137 cat >> confdefs.h <<\EOF
1138#define __SUNOS__ 1
1139EOF
1140
1141 cat >> confdefs.h <<\EOF
1142#define __BSD__ 1
1143EOF
1144
1145 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1146 ;;
1147 *-*-freebsd*)
1148 USE_BSD=1
1149 USE_FREEBSD=1
1150 cat >> confdefs.h <<\EOF
1151#define __FREEBSD__ 1
1152EOF
1153
1154 cat >> confdefs.h <<\EOF
1155#define __BSD__ 1
1156EOF
1157
1158 DEFAULT_DEFAULT_wxUSE_GTK=1
1159 ;;
1160 *-*-openbsd*)
1161 USE_BSD=1
1162 USE_OPENBSD=1
1163 cat >> confdefs.h <<\EOF
1164#define __FREEBSD__ 1
1165EOF
1166
1167 cat >> confdefs.h <<\EOF
1168#define __OPENBSD__ 1
1169EOF
1170
1171 DEFAULT_DEFAULT_wxUSE_GTK=1
1172 ;;
1173 *-*-netbsd*)
1174 USE_BSD=1
1175 USE_NETBSD=1
1176 cat >> confdefs.h <<\EOF
1177#define __FREEBSD__ 1
1178EOF
1179
1180 cat >> confdefs.h <<\EOF
1181#define __NETBSD__ 1
1182EOF
1183
1184 DEFAULT_DEFAULT_wxUSE_GTK=1
1185 ;;
1186 *-*-osf* )
1187 USE_ALPHA=1
1188 USE_OSF=1
1189 cat >> confdefs.h <<\EOF
1190#define __ALPHA__ 1
1191EOF
1192
1193 cat >> confdefs.h <<\EOF
1194#define __OSF__ 1
1195EOF
1196
1197 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1198 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1199 ;;
1200 *-*-dgux5* )
1201 USE_ALPHA=1
1202 USE_SVR4=1
1203 cat >> confdefs.h <<\EOF
1204#define __ALPHA__ 1
1205EOF
1206
1207 cat >> confdefs.h <<\EOF
1208#define __SVR4__ 1
1209EOF
1210
1211 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1212 ;;
1213 *-*-sysv5* )
1214 USE_SYSV=1
1215 USE_SVR4=1
1216 cat >> confdefs.h <<\EOF
1217#define __SYSV__ 1
1218EOF
1219
1220 cat >> confdefs.h <<\EOF
1221#define __SVR4__ 1
1222EOF
1223
1224 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1225 ;;
1226 *-*-aix* )
1227 USE_AIX=1
1228 USE_SYSV=1
1229 USE_SVR4=1
1230 cat >> confdefs.h <<\EOF
1231#define __AIX__ 1
1232EOF
1233
1234 cat >> confdefs.h <<\EOF
1235#define __SYSV__ 1
1236EOF
1237
1238 cat >> confdefs.h <<\EOF
1239#define __SVR4__ 1
1240EOF
1241
1242 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1243 ;;
1244
1245 *-*-cygwin* | *-*-mingw32* )
1246 USE_UNIX=0
1247 USE_WIN32=1
1248 SO_SUFFIX=dll
1249 cat >> confdefs.h <<\EOF
1250#define __WIN32__ 1
1251EOF
1252
1253 cat >> confdefs.h <<\EOF
1254#define __WIN95__ 1
1255EOF
1256
1257 cat >> confdefs.h <<\EOF
1258#define __WINDOWS__ 1
1259EOF
1260
1261 cat >> confdefs.h <<\EOF
1262#define __GNUWIN32__ 1
1263EOF
1264
1265 cat >> confdefs.h <<\EOF
1266#define STRICT 1
1267EOF
1268
1269 cat >> confdefs.h <<\EOF
1270#define WINVER 0x0400
1271EOF
1272
1273 PROGRAM_EXT=".exe"
1274 RESCOMP=windres
1275 DEFAULT_DEFAULT_wxUSE_MSW=1
1276 ;;
1277
1278 *-pc-os2_emx | *-pc-os2-emx )
1279 cat >> confdefs.h <<\EOF
1280#define __EMX__ 1
1281EOF
1282
1283 PROGRAM_EXT=".exe"
1284 DEFAULT_DEFAULT_wxUSE_PM=1
1285 ;;
1286
1287 powerpc-*-darwin* )
1288 USE_BSD=1
1289 USE_DARWIN=1
1290 SO_SUFFIX=dylib
1291 cat >> confdefs.h <<\EOF
1292#define __BSD__ 1
1293EOF
1294
1295 cat >> confdefs.h <<\EOF
1296#define __DARWIN__ 1
1297EOF
1298
1299 cat >> confdefs.h <<\EOF
1300#define __POWERPC__ 1
1301EOF
1302
1303 DEFAULT_DEFAULT_wxUSE_MAC=1
1304 ;;
1305
1306 *-*-beos* )
1307 USE_BEOS=1
1308 cat >> confdefs.h <<\EOF
1309#define __BEOS__ 1
1310EOF
1311
1312 ;;
1313
1314 *)
1315 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1316esac
1317
1318if test "$USE_UNIX" = 1 ; then
1319 wxUSE_UNIX=yes
1320 cat >> confdefs.h <<\EOF
1321#define __UNIX__ 1
1322EOF
1323
1324fi
1325
1326if test "$USE_LINUX" = 1; then
1327 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1328echo "configure:1329: checking for glibc 2.1 or later" >&5
1329if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1330 echo $ac_n "(cached) $ac_c" 1>&6
1331else
1332 cat > conftest.$ac_ext <<EOF
1333#line 1334 "configure"
1334#include "confdefs.h"
1335#include <features.h>
1336int main() {
1337
1338 #if !__GLIBC_PREREQ(2, 1)
1339 #error not glibc2.1
1340 #endif
1341
1342; return 0; }
1343EOF
1344if { (eval echo configure:1345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1345 rm -rf conftest*
1346
1347 wx_lib_glibc21=yes
1348
1349else
1350 echo "configure: failed program was:" >&5
1351 cat conftest.$ac_ext >&5
1352 rm -rf conftest*
1353
1354 wx_lib_glibc21=no
1355
1356
1357fi
1358rm -f conftest*
1359
1360fi
1361
1362echo "$ac_t""$wx_lib_glibc21" 1>&6
1363 if test "$wx_lib_glibc21" = "yes"; then
1364 cat >> confdefs.h <<\EOF
1365#define wxHAVE_GLIBC2 1
1366EOF
1367
1368 fi
1369fi
1370
1371
1372
1373
1374 wx_arg_cache_file="configarg.cache"
1375 echo "loading argument cache $wx_arg_cache_file"
1376 rm -f ${wx_arg_cache_file}.tmp
1377 touch ${wx_arg_cache_file}.tmp
1378 touch ${wx_arg_cache_file}
1379
1380
1381DEBUG_CONFIGURE=0
1382if test $DEBUG_CONFIGURE = 1; then
1383 DEFAULT_wxUSE_UNIVERSAL=no
1384
1385 DEFAULT_wxUSE_THREADS=yes
1386
1387 DEFAULT_wxUSE_SHARED=yes
1388 DEFAULT_wxUSE_SONAME=no
1389 DEFAULT_wxUSE_OPTIMISE=no
1390 DEFAULT_wxUSE_PROFILE=no
1391 DEFAULT_wxUSE_NO_DEPS=no
1392 DEFAULT_wxUSE_NO_RTTI=yes
1393 DEFAULT_wxUSE_NO_EXCEPTIONS=yes
1394 DEFAULT_wxUSE_PERMISSIVE=no
1395 DEFAULT_wxUSE_DEBUG_FLAG=yes
1396 DEFAULT_wxUSE_DEBUG_INFO=yes
1397 DEFAULT_wxUSE_DEBUG_GDB=yes
1398 DEFAULT_wxUSE_MEM_TRACING=no
1399 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1400 DEFAULT_wxUSE_DMALLOC=no
1401 DEFAULT_wxUSE_PRECOMP=yes
1402 DEFAULT_wxUSE_APPLE_IEEE=no
1403
1404 DEFAULT_wxUSE_LOG=yes
1405 DEFAULT_wxUSE_LOGWINDOW=no
1406 DEFAULT_wxUSE_LOGGUI=no
1407 DEFAULT_wxUSE_LOGDIALOG=no
1408
1409 DEFAULT_wxUSE_GUI=yes
1410 DEFAULT_wxUSE_CONTROLS=no
1411
1412 DEFAULT_wxUSE_REGEX=no
1413 DEFAULT_wxUSE_ZLIB=no
1414 DEFAULT_wxUSE_LIBPNG=no
1415 DEFAULT_wxUSE_LIBJPEG=no
1416 DEFAULT_wxUSE_LIBTIFF=no
1417 DEFAULT_wxUSE_ODBC=no
1418 DEFAULT_wxUSE_FREETYPE=no
1419 DEFAULT_wxUSE_OPENGL=no
1420
1421 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1422 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1423 DEFAULT_wxUSE_STD_IOSTREAM=no
1424 DEFAULT_wxUSE_CMDLINE_PARSER=no
1425 DEFAULT_wxUSE_DATETIME=no
1426 DEFAULT_wxUSE_TIMEDATE=no
1427 DEFAULT_wxUSE_TIMER=no
1428 DEFAULT_wxUSE_STOPWATCH=no
1429 DEFAULT_wxUSE_FILE=no
1430 DEFAULT_wxUSE_FFILE=no
1431 DEFAULT_wxUSE_TEXTBUFFER=no
1432 DEFAULT_wxUSE_TEXTFILE=no
1433 DEFAULT_wxUSE_WAVE=no
1434 DEFAULT_wxUSE_INTL=no
1435 DEFAULT_wxUSE_CONFIG=no
1436 DEFAULT_wxUSE_FONTMAP=no
1437 DEFAULT_wxUSE_STREAMS=no
1438 DEFAULT_wxUSE_SOCKETS=no
1439 DEFAULT_wxUSE_DIALUP_MANAGER=no
1440 DEFAULT_wxUSE_SERIAL=no
1441 DEFAULT_wxUSE_JOYSTICK=no
1442 DEFAULT_wxUSE_DYNLIB_CLASS=no
1443 DEFAULT_wxUSE_LONGLONG=no
1444 DEFAULT_wxUSE_GEOMETRY=no
1445
1446 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
1447 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
1448 DEFAULT_wxUSE_POSTSCRIPT=no
1449
1450 DEFAULT_wxUSE_X_RESOURCES=no
1451 DEFAULT_wxUSE_CLIPBOARD=no
1452 DEFAULT_wxUSE_TOOLTIPS=no
1453 DEFAULT_wxUSE_DRAG_AND_DROP=no
1454 DEFAULT_wxUSE_DRAGIMAGE=no
1455 DEFAULT_wxUSE_SPLINES=no
1456
1457 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
1458 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
1459 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
1460
1461 DEFAULT_wxUSE_PROLOGIO=no
1462 DEFAULT_wxUSE_RESOURCES=no
1463 DEFAULT_wxUSE_CONSTRAINTS=no
1464 DEFAULT_wxUSE_IPC=no
1465 DEFAULT_wxUSE_HELP=no
1466 DEFAULT_wxUSE_MS_HTML_HELP=no
1467 DEFAULT_wxUSE_WXHTML_HELP=no
1468 DEFAULT_wxUSE_TREELAYOUT=no
1469 DEFAULT_wxUSE_METAFILE=no
1470 DEFAULT_wxUSE_MIMETYPE=no
1471 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
1472
1473 DEFAULT_wxUSE_COMMONDLGS=no
1474 DEFAULT_wxUSE_CHOICEDLG=no
1475 DEFAULT_wxUSE_COLOURDLG=no
1476 DEFAULT_wxUSE_DIRDLG=no
1477 DEFAULT_wxUSE_FILEDLG=no
1478 DEFAULT_wxUSE_FINDREPLDLG=no
1479 DEFAULT_wxUSE_FONTDLG=no
1480 DEFAULT_wxUSE_MSGDLG=no
1481 DEFAULT_wxUSE_NUMBERDLG=no
1482 DEFAULT_wxUSE_TEXTDLG=no
1483 DEFAULT_wxUSE_SPLASH=no
1484 DEFAULT_wxUSE_STARTUP_TIPS=no
1485 DEFAULT_wxUSE_PROGRESSDLG=no
1486 DEFAULT_wxUSE_WIZARDDLG=no
1487
1488 DEFAULT_wxUSE_MENUS=no
1489 DEFAULT_wxUSE_MINIFRAME=no
1490 DEFAULT_wxUSE_HTML=no
1491 DEFAULT_wxUSE_FILESYSTEM=no
1492 DEFAULT_wxUSE_FS_INET=no
1493 DEFAULT_wxUSE_FS_ZIP=no
1494 DEFAULT_wxUSE_BUSYINFO=no
1495 DEFAULT_wxUSE_ZIPSTREAM=no
1496 DEFAULT_wxUSE_VALIDATORS=no
1497
1498 DEFAULT_wxUSE_ACCEL=no
1499 DEFAULT_wxUSE_BUTTON=no
1500 DEFAULT_wxUSE_BMPBUTTON=no
1501 DEFAULT_wxUSE_CALCTRL=no
1502 DEFAULT_wxUSE_CARET=no
1503 DEFAULT_wxUSE_CHECKBOX=no
1504 DEFAULT_wxUSE_CHECKLST=no
1505 DEFAULT_wxUSE_CHOICE=no
1506 DEFAULT_wxUSE_COMBOBOX=no
1507 DEFAULT_wxUSE_GAUGE=no
1508 DEFAULT_wxUSE_GRID=no
1509 DEFAULT_wxUSE_NEW_GRID=no
1510 DEFAULT_wxUSE_IMAGLIST=no
1511 DEFAULT_wxUSE_LISTBOX=no
1512 DEFAULT_wxUSE_LISTCTRL=no
1513 DEFAULT_wxUSE_NOTEBOOK=no
1514 DEFAULT_wxUSE_PROPSHEET=no
1515 DEFAULT_wxUSE_RADIOBOX=no
1516 DEFAULT_wxUSE_RADIOBTN=no
1517 DEFAULT_wxUSE_SASH=no
1518 DEFAULT_wxUSE_SCROLLBAR=no
1519 DEFAULT_wxUSE_SLIDER=no
1520 DEFAULT_wxUSE_SPINBTN=no
1521 DEFAULT_wxUSE_SPINCTRL=no
1522 DEFAULT_wxUSE_SPLITTER=no
1523 DEFAULT_wxUSE_STATBMP=no
1524 DEFAULT_wxUSE_STATBOX=no
1525 DEFAULT_wxUSE_STATLINE=no
1526 DEFAULT_wxUSE_STATTEXT=no
1527 DEFAULT_wxUSE_STATUSBAR=yes
1528 DEFAULT_wxUSE_TABDIALOG=no
1529 DEFAULT_wxUSE_TEXTCTRL=no
1530 DEFAULT_wxUSE_TOGGLEBTN=no
1531 DEFAULT_wxUSE_TOOLBAR=no
1532 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
1533 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
1534 DEFAULT_wxUSE_TREECTRL=no
1535 DEFAULT_wxUSE_POPUPWIN=no
1536 DEFAULT_wxUSE_TIPWINDOW=no
1537
1538 DEFAULT_wxUSE_UNICODE=no
1539 DEFAULT_wxUSE_WCSRTOMBS=no
1540
1541 DEFAULT_wxUSE_PALETTE=no
1542 DEFAULT_wxUSE_IMAGE=no
1543 DEFAULT_wxUSE_GIF=no
1544 DEFAULT_wxUSE_PCX=no
1545 DEFAULT_wxUSE_PNM=no
1546 DEFAULT_wxUSE_XPM=no
1547else
1548 DEFAULT_wxUSE_UNIVERSAL=no
1549
1550 DEFAULT_wxUSE_THREADS=yes
1551
1552 DEFAULT_wxUSE_SHARED=yes
1553 DEFAULT_wxUSE_SONAME=no
1554 DEFAULT_wxUSE_OPTIMISE=yes
1555 DEFAULT_wxUSE_PROFILE=no
1556 DEFAULT_wxUSE_NO_DEPS=no
1557 DEFAULT_wxUSE_NO_RTTI=yes
1558 DEFAULT_wxUSE_NO_EXCEPTIONS=yes
1559 DEFAULT_wxUSE_PERMISSIVE=no
1560 DEFAULT_wxUSE_DEBUG_FLAG=no
1561 DEFAULT_wxUSE_DEBUG_INFO=no
1562 DEFAULT_wxUSE_DEBUG_GDB=no
1563 DEFAULT_wxUSE_MEM_TRACING=no
1564 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1565 DEFAULT_wxUSE_DMALLOC=no
1566 DEFAULT_wxUSE_PRECOMP=yes
1567 DEFAULT_wxUSE_APPLE_IEEE=yes
1568
1569 DEFAULT_wxUSE_LOG=yes
1570 DEFAULT_wxUSE_LOGWINDOW=yes
1571 DEFAULT_wxUSE_LOGGUI=yes
1572 DEFAULT_wxUSE_LOGDIALOG=yes
1573
1574 DEFAULT_wxUSE_GUI=yes
1575
1576 DEFAULT_wxUSE_REGEX=yes
1577 DEFAULT_wxUSE_ZLIB=yes
1578 DEFAULT_wxUSE_LIBPNG=yes
1579 DEFAULT_wxUSE_LIBJPEG=yes
1580 DEFAULT_wxUSE_LIBTIFF=yes
1581 DEFAULT_wxUSE_ODBC=no
1582 DEFAULT_wxUSE_FREETYPE=no
1583 DEFAULT_wxUSE_OPENGL=no
1584
1585 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
1586 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
1587 DEFAULT_wxUSE_STD_IOSTREAM=no
1588 DEFAULT_wxUSE_CMDLINE_PARSER=yes
1589 DEFAULT_wxUSE_DATETIME=yes
1590 DEFAULT_wxUSE_TIMEDATE=no
1591 DEFAULT_wxUSE_TIMER=yes
1592 DEFAULT_wxUSE_STOPWATCH=yes
1593 DEFAULT_wxUSE_FILE=yes
1594 DEFAULT_wxUSE_FFILE=yes
1595 DEFAULT_wxUSE_TEXTBUFFER=yes
1596 DEFAULT_wxUSE_TEXTFILE=yes
1597 DEFAULT_wxUSE_WAVE=no
1598 DEFAULT_wxUSE_INTL=yes
1599 DEFAULT_wxUSE_CONFIG=yes
1600 DEFAULT_wxUSE_FONTMAP=yes
1601 DEFAULT_wxUSE_STREAMS=yes
1602 DEFAULT_wxUSE_SOCKETS=yes
1603 DEFAULT_wxUSE_DIALUP_MANAGER=yes
1604 DEFAULT_wxUSE_SERIAL=yes
1605 DEFAULT_wxUSE_JOYSTICK=yes
1606 DEFAULT_wxUSE_DYNLIB_CLASS=yes
1607 DEFAULT_wxUSE_LONGLONG=yes
1608 DEFAULT_wxUSE_GEOMETRY=yes
1609
1610 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
1611 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
1612 DEFAULT_wxUSE_POSTSCRIPT=yes
1613
1614 DEFAULT_wxUSE_X_RESOURCES=no
1615 DEFAULT_wxUSE_CLIPBOARD=yes
1616 DEFAULT_wxUSE_TOOLTIPS=yes
1617 DEFAULT_wxUSE_DRAG_AND_DROP=yes
1618 DEFAULT_wxUSE_DRAGIMAGE=yes
1619 DEFAULT_wxUSE_SPLINES=yes
1620
1621 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
1622 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
1623 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
1624
1625 DEFAULT_wxUSE_PROLOGIO=yes
1626 DEFAULT_wxUSE_RESOURCES=yes
1627 DEFAULT_wxUSE_CONSTRAINTS=yes
1628 DEFAULT_wxUSE_IPC=yes
1629 DEFAULT_wxUSE_HELP=yes
1630 DEFAULT_wxUSE_MS_HTML_HELP=yes
1631 DEFAULT_wxUSE_WXHTML_HELP=yes
1632 DEFAULT_wxUSE_TREELAYOUT=yes
1633 DEFAULT_wxUSE_METAFILE=yes
1634 DEFAULT_wxUSE_MIMETYPE=yes
1635 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
1636
1637 DEFAULT_wxUSE_COMMONDLGS=yes
1638 DEFAULT_wxUSE_CHOICEDLG=yes
1639 DEFAULT_wxUSE_COLOURDLG=yes
1640 DEFAULT_wxUSE_DIRDLG=yes
1641 DEFAULT_wxUSE_FILEDLG=yes
1642 DEFAULT_wxUSE_FINDREPLDLG=yes
1643 DEFAULT_wxUSE_FONTDLG=yes
1644 DEFAULT_wxUSE_MSGDLG=yes
1645 DEFAULT_wxUSE_NUMBERDLG=yes
1646 DEFAULT_wxUSE_TEXTDLG=yes
1647 DEFAULT_wxUSE_SPLASH=yes
1648 DEFAULT_wxUSE_STARTUP_TIPS=yes
1649 DEFAULT_wxUSE_PROGRESSDLG=yes
1650 DEFAULT_wxUSE_WIZARDDLG=yes
1651
1652 DEFAULT_wxUSE_MENUS=yes
1653 DEFAULT_wxUSE_MINIFRAME=yes
1654 DEFAULT_wxUSE_HTML=yes
1655 DEFAULT_wxUSE_FILESYSTEM=yes
1656 DEFAULT_wxUSE_FS_INET=yes
1657 DEFAULT_wxUSE_FS_ZIP=yes
1658 DEFAULT_wxUSE_BUSYINFO=yes
1659 DEFAULT_wxUSE_ZIPSTREAM=yes
1660 DEFAULT_wxUSE_VALIDATORS=yes
1661
1662 DEFAULT_wxUSE_ACCEL=yes
1663 DEFAULT_wxUSE_BUTTON=yes
1664 DEFAULT_wxUSE_BMPBUTTON=yes
1665 DEFAULT_wxUSE_CALCTRL=yes
1666 DEFAULT_wxUSE_CARET=yes
1667 DEFAULT_wxUSE_CHECKBOX=yes
1668 DEFAULT_wxUSE_CHECKLST=yes
1669 DEFAULT_wxUSE_CHOICE=yes
1670 DEFAULT_wxUSE_COMBOBOX=yes
1671 DEFAULT_wxUSE_GAUGE=yes
1672 DEFAULT_wxUSE_GRID=yes
1673 DEFAULT_wxUSE_NEW_GRID=yes
1674 DEFAULT_wxUSE_IMAGLIST=yes
1675 DEFAULT_wxUSE_LISTBOX=yes
1676 DEFAULT_wxUSE_LISTCTRL=yes
1677 DEFAULT_wxUSE_NOTEBOOK=yes
1678 DEFAULT_wxUSE_PROPSHEET=yes
1679 DEFAULT_wxUSE_RADIOBOX=yes
1680 DEFAULT_wxUSE_RADIOBTN=yes
1681 DEFAULT_wxUSE_SASH=yes
1682 DEFAULT_wxUSE_SCROLLBAR=yes
1683 DEFAULT_wxUSE_SLIDER=yes
1684 DEFAULT_wxUSE_SPINBTN=yes
1685 DEFAULT_wxUSE_SPINCTRL=yes
1686 DEFAULT_wxUSE_SPLITTER=yes
1687 DEFAULT_wxUSE_STATBMP=yes
1688 DEFAULT_wxUSE_STATBOX=yes
1689 DEFAULT_wxUSE_STATLINE=yes
1690 DEFAULT_wxUSE_STATTEXT=yes
1691 DEFAULT_wxUSE_STATUSBAR=yes
1692 DEFAULT_wxUSE_TABDIALOG=no
1693 DEFAULT_wxUSE_TEXTCTRL=yes
1694 DEFAULT_wxUSE_TOGGLEBTN=yes
1695 DEFAULT_wxUSE_TOOLBAR=yes
1696 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
1697 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
1698 DEFAULT_wxUSE_TREECTRL=yes
1699 DEFAULT_wxUSE_POPUPWIN=yes
1700 DEFAULT_wxUSE_TIPWINDOW=yes
1701
1702 DEFAULT_wxUSE_UNICODE=no
1703 DEFAULT_wxUSE_WCSRTOMBS=no
1704
1705 DEFAULT_wxUSE_PALETTE=yes
1706 DEFAULT_wxUSE_IMAGE=yes
1707 DEFAULT_wxUSE_GIF=yes
1708 DEFAULT_wxUSE_PCX=yes
1709 DEFAULT_wxUSE_PNM=yes
1710 DEFAULT_wxUSE_XPM=yes
1711fi
1712
1713
1714
1715for toolkit in `echo $ALL_TOOLKITS`; do
1716 LINE=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1717 if test "x$LINE" != x ; then
1718 has_toolkit_in_cache=1
1719 eval "DEFAULT_$LINE"
1720 eval "CACHE_$toolkit=1"
1721 fi
1722done
1723
1724
1725
1726 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1727echo "configure:1728: checking for --enable-gui" >&5
1728 no_cache=0
1729 # Check whether --enable-gui or --disable-gui was given.
1730if test "${enable_gui+set}" = set; then
1731 enableval="$enable_gui"
1732
1733 if test "$enableval" = yes; then
1734 ac_cv_use_gui='wxUSE_GUI=yes'
1735 else
1736 ac_cv_use_gui='wxUSE_GUI=no'
1737 fi
1738
1739else
1740
1741 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1742 if test "x$LINE" != x ; then
1743 eval "DEFAULT_$LINE"
1744 else
1745 no_cache=1
1746 fi
1747
1748 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1749
1750fi
1751
1752
1753 eval "$ac_cv_use_gui"
1754 if test "$no_cache" != 1; then
1755 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1756 fi
1757
1758 if test "$wxUSE_GUI" = yes; then
1759 echo "$ac_t""yes" 1>&6
1760 else
1761 echo "$ac_t""no" 1>&6
1762 fi
1763
1764
1765if test "$wxUSE_GUI" = "yes"; then
1766
1767
1768 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1769echo "configure:1770: checking for --enable-universal" >&5
1770 no_cache=0
1771 # Check whether --enable-universal or --disable-universal was given.
1772if test "${enable_universal+set}" = set; then
1773 enableval="$enable_universal"
1774
1775 if test "$enableval" = yes; then
1776 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
1777 else
1778 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
1779 fi
1780
1781else
1782
1783 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1784 if test "x$LINE" != x ; then
1785 eval "DEFAULT_$LINE"
1786 else
1787 no_cache=1
1788 fi
1789
1790 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1791
1792fi
1793
1794
1795 eval "$ac_cv_use_universal"
1796 if test "$no_cache" != 1; then
1797 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1798 fi
1799
1800 if test "$wxUSE_UNIVERSAL" = yes; then
1801 echo "$ac_t""yes" 1>&6
1802 else
1803 echo "$ac_t""no" 1>&6
1804 fi
1805
1806# Check whether --with-gtk or --without-gtk was given.
1807if test "${with_gtk+set}" = set; then
1808 withval="$with_gtk"
1809 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
1810fi
1811
1812# Check whether --with-motif or --without-motif was given.
1813if test "${with_motif+set}" = set; then
1814 withval="$with_motif"
1815 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
1816fi
1817
1818# Check whether --with-mac or --without-mac was given.
1819if test "${with_mac+set}" = set; then
1820 withval="$with_mac"
1821 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
1822fi
1823
1824# Check whether --with-wine or --without-wine was given.
1825if test "${with_wine+set}" = set; then
1826 withval="$with_wine"
1827 wxUSE_WINE="$withval" CACHE_WINE=1 TOOLKIT_GIVEN=1
1828fi
1829
1830# Check whether --with-msw or --without-msw was given.
1831if test "${with_msw+set}" = set; then
1832 withval="$with_msw"
1833 wxUSE_MSW="$withval" CACHE_MSW TOOLKIT_GIVEN=1
1834fi
1835
1836# Check whether --with-pm or --without-pm was given.
1837if test "${with_pm+set}" = set; then
1838 withval="$with_pm"
1839 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
1840fi
1841
1842# Check whether --with-mgl or --without-mgl was given.
1843if test "${with_mgl+set}" = set; then
1844 withval="$with_mgl"
1845 wxUSE_MGL="$withval" CACHE_MGL=1 TOOLKIT_GIVEN=1
1846fi
1847
1848
1849# Check whether --enable-gtk2 or --disable-gtk2 was given.
1850if test "${enable_gtk2+set}" = set; then
1851 enableval="$enable_gtk2"
1852 wxUSE_GTK2=1
1853else
1854 wxUSE_GTK2=0
1855fi
1856
1857
1858
1859 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1860echo "configure:1861: checking for --with-libpng" >&5
1861 no_cache=0
1862 # Check whether --with-libpng or --without-libpng was given.
1863if test "${with_libpng+set}" = set; then
1864 withval="$with_libpng"
1865
1866 if test "$withval" = yes; then
1867 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
1868 elif test "$withval" = no; then
1869 ac_cv_use_libpng='wxUSE_LIBPNG=no'
1870 elif test "$withval" = sys; then
1871 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
1872 elif test "$withval" = builtin; then
1873 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
1874 else
1875 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1876 fi
1877
1878else
1879
1880 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1881 if test "x$LINE" != x ; then
1882 eval "DEFAULT_$LINE"
1883 else
1884 no_cache=1
1885 fi
1886
1887 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1888
1889fi
1890
1891
1892 eval "$ac_cv_use_libpng"
1893 if test "$no_cache" != 1; then
1894 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1895 fi
1896
1897 if test "$wxUSE_LIBPNG" = yes; then
1898 echo "$ac_t""yes" 1>&6
1899 elif test "$wxUSE_LIBPNG" = no; then
1900 echo "$ac_t""no" 1>&6
1901 elif test "$wxUSE_LIBPNG" = sys; then
1902 echo "$ac_t""system version" 1>&6
1903 elif test "$wxUSE_LIBPNG" = builtin; then
1904 echo "$ac_t""builtin version" 1>&6
1905 else
1906 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1907 fi
1908
1909
1910 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1911echo "configure:1912: checking for --with-libjpeg" >&5
1912 no_cache=0
1913 # Check whether --with-libjpeg or --without-libjpeg was given.
1914if test "${with_libjpeg+set}" = set; then
1915 withval="$with_libjpeg"
1916
1917 if test "$withval" = yes; then
1918 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
1919 elif test "$withval" = no; then
1920 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
1921 elif test "$withval" = sys; then
1922 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
1923 elif test "$withval" = builtin; then
1924 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
1925 else
1926 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1927 fi
1928
1929else
1930
1931 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1932 if test "x$LINE" != x ; then
1933 eval "DEFAULT_$LINE"
1934 else
1935 no_cache=1
1936 fi
1937
1938 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1939
1940fi
1941
1942
1943 eval "$ac_cv_use_libjpeg"
1944 if test "$no_cache" != 1; then
1945 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1946 fi
1947
1948 if test "$wxUSE_LIBJPEG" = yes; then
1949 echo "$ac_t""yes" 1>&6
1950 elif test "$wxUSE_LIBJPEG" = no; then
1951 echo "$ac_t""no" 1>&6
1952 elif test "$wxUSE_LIBJPEG" = sys; then
1953 echo "$ac_t""system version" 1>&6
1954 elif test "$wxUSE_LIBJPEG" = builtin; then
1955 echo "$ac_t""builtin version" 1>&6
1956 else
1957 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1958 fi
1959
1960
1961 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1962echo "configure:1963: checking for --with-libtiff" >&5
1963 no_cache=0
1964 # Check whether --with-libtiff or --without-libtiff was given.
1965if test "${with_libtiff+set}" = set; then
1966 withval="$with_libtiff"
1967
1968 if test "$withval" = yes; then
1969 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
1970 elif test "$withval" = no; then
1971 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
1972 elif test "$withval" = sys; then
1973 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
1974 elif test "$withval" = builtin; then
1975 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
1976 else
1977 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1978 fi
1979
1980else
1981
1982 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1983 if test "x$LINE" != x ; then
1984 eval "DEFAULT_$LINE"
1985 else
1986 no_cache=1
1987 fi
1988
1989 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1990
1991fi
1992
1993
1994 eval "$ac_cv_use_libtiff"
1995 if test "$no_cache" != 1; then
1996 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1997 fi
1998
1999 if test "$wxUSE_LIBTIFF" = yes; then
2000 echo "$ac_t""yes" 1>&6
2001 elif test "$wxUSE_LIBTIFF" = no; then
2002 echo "$ac_t""no" 1>&6
2003 elif test "$wxUSE_LIBTIFF" = sys; then
2004 echo "$ac_t""system version" 1>&6
2005 elif test "$wxUSE_LIBTIFF" = builtin; then
2006 echo "$ac_t""builtin version" 1>&6
2007 else
2008 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2009 fi
2010
2011
2012 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
2013echo "configure:2014: checking for --with-freetype" >&5
2014 no_cache=0
2015 # Check whether --with-freetype or --without-freetype was given.
2016if test "${with_freetype+set}" = set; then
2017 withval="$with_freetype"
2018
2019 if test "$withval" = yes; then
2020 ac_cv_use_freetype='wxUSE_FREETYPE=yes'
2021 elif test "$withval" = no; then
2022 ac_cv_use_freetype='wxUSE_FREETYPE=no'
2023 elif test "$withval" = sys; then
2024 ac_cv_use_freetype='wxUSE_FREETYPE=sys'
2025 elif test "$withval" = builtin; then
2026 ac_cv_use_freetype='wxUSE_FREETYPE=builtin'
2027 else
2028 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2029 fi
2030
2031else
2032
2033 LINE=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2034 if test "x$LINE" != x ; then
2035 eval "DEFAULT_$LINE"
2036 else
2037 no_cache=1
2038 fi
2039
2040 ac_cv_use_freetype='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2041
2042fi
2043
2044
2045 eval "$ac_cv_use_freetype"
2046 if test "$no_cache" != 1; then
2047 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2048 fi
2049
2050 if test "$wxUSE_FREETYPE" = yes; then
2051 echo "$ac_t""yes" 1>&6
2052 elif test "$wxUSE_FREETYPE" = no; then
2053 echo "$ac_t""no" 1>&6
2054 elif test "$wxUSE_FREETYPE" = sys; then
2055 echo "$ac_t""system version" 1>&6
2056 elif test "$wxUSE_FREETYPE" = builtin; then
2057 echo "$ac_t""builtin version" 1>&6
2058 else
2059 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2060 fi
2061
2062
2063 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2064echo "configure:2065: checking for --with-opengl" >&5
2065 no_cache=0
2066 # Check whether --with-opengl or --without-opengl was given.
2067if test "${with_opengl+set}" = set; then
2068 withval="$with_opengl"
2069
2070 if test "$withval" = yes; then
2071 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2072 else
2073 ac_cv_use_opengl='wxUSE_OPENGL=no'
2074 fi
2075
2076else
2077
2078 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2079 if test "x$LINE" != x ; then
2080 eval "DEFAULT_$LINE"
2081 else
2082 no_cache=1
2083 fi
2084
2085 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2086
2087fi
2088
2089
2090 eval "$ac_cv_use_opengl"
2091 if test "$no_cache" != 1; then
2092 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2093 fi
2094
2095 if test "$wxUSE_OPENGL" = yes; then
2096 echo "$ac_t""yes" 1>&6
2097 else
2098 echo "$ac_t""no" 1>&6
2099 fi
2100
2101
2102fi
2103
2104
2105 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2106echo "configure:2107: checking for --with-dmalloc" >&5
2107 no_cache=0
2108 # Check whether --with-dmalloc or --without-dmalloc was given.
2109if test "${with_dmalloc+set}" = set; then
2110 withval="$with_dmalloc"
2111
2112 if test "$withval" = yes; then
2113 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2114 else
2115 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2116 fi
2117
2118else
2119
2120 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2121 if test "x$LINE" != x ; then
2122 eval "DEFAULT_$LINE"
2123 else
2124 no_cache=1
2125 fi
2126
2127 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2128
2129fi
2130
2131
2132 eval "$ac_cv_use_dmalloc"
2133 if test "$no_cache" != 1; then
2134 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2135 fi
2136
2137 if test "$wxUSE_DMALLOC" = yes; then
2138 echo "$ac_t""yes" 1>&6
2139 else
2140 echo "$ac_t""no" 1>&6
2141 fi
2142
2143
2144 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2145echo "configure:2146: checking for --with-regex" >&5
2146 no_cache=0
2147 # Check whether --with-regex or --without-regex was given.
2148if test "${with_regex+set}" = set; then
2149 withval="$with_regex"
2150
2151 if test "$withval" = yes; then
2152 ac_cv_use_regex='wxUSE_REGEX=yes'
2153 elif test "$withval" = no; then
2154 ac_cv_use_regex='wxUSE_REGEX=no'
2155 elif test "$withval" = sys; then
2156 ac_cv_use_regex='wxUSE_REGEX=sys'
2157 elif test "$withval" = builtin; then
2158 ac_cv_use_regex='wxUSE_REGEX=builtin'
2159 else
2160 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2161 fi
2162
2163else
2164
2165 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2166 if test "x$LINE" != x ; then
2167 eval "DEFAULT_$LINE"
2168 else
2169 no_cache=1
2170 fi
2171
2172 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2173
2174fi
2175
2176
2177 eval "$ac_cv_use_regex"
2178 if test "$no_cache" != 1; then
2179 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2180 fi
2181
2182 if test "$wxUSE_REGEX" = yes; then
2183 echo "$ac_t""yes" 1>&6
2184 elif test "$wxUSE_REGEX" = no; then
2185 echo "$ac_t""no" 1>&6
2186 elif test "$wxUSE_REGEX" = sys; then
2187 echo "$ac_t""system version" 1>&6
2188 elif test "$wxUSE_REGEX" = builtin; then
2189 echo "$ac_t""builtin version" 1>&6
2190 else
2191 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2192 fi
2193
2194
2195 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2196echo "configure:2197: checking for --with-zlib" >&5
2197 no_cache=0
2198 # Check whether --with-zlib or --without-zlib was given.
2199if test "${with_zlib+set}" = set; then
2200 withval="$with_zlib"
2201
2202 if test "$withval" = yes; then
2203 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2204 elif test "$withval" = no; then
2205 ac_cv_use_zlib='wxUSE_ZLIB=no'
2206 elif test "$withval" = sys; then
2207 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2208 elif test "$withval" = builtin; then
2209 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2210 else
2211 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2212 fi
2213
2214else
2215
2216 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2217 if test "x$LINE" != x ; then
2218 eval "DEFAULT_$LINE"
2219 else
2220 no_cache=1
2221 fi
2222
2223 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2224
2225fi
2226
2227
2228 eval "$ac_cv_use_zlib"
2229 if test "$no_cache" != 1; then
2230 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2231 fi
2232
2233 if test "$wxUSE_ZLIB" = yes; then
2234 echo "$ac_t""yes" 1>&6
2235 elif test "$wxUSE_ZLIB" = no; then
2236 echo "$ac_t""no" 1>&6
2237 elif test "$wxUSE_ZLIB" = sys; then
2238 echo "$ac_t""system version" 1>&6
2239 elif test "$wxUSE_ZLIB" = builtin; then
2240 echo "$ac_t""builtin version" 1>&6
2241 else
2242 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2243 fi
2244
2245
2246 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2247echo "configure:2248: checking for --with-odbc" >&5
2248 no_cache=0
2249 # Check whether --with-odbc or --without-odbc was given.
2250if test "${with_odbc+set}" = set; then
2251 withval="$with_odbc"
2252
2253 if test "$withval" = yes; then
2254 ac_cv_use_odbc='wxUSE_ODBC=yes'
2255 else
2256 ac_cv_use_odbc='wxUSE_ODBC=no'
2257 fi
2258
2259else
2260
2261 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2262 if test "x$LINE" != x ; then
2263 eval "DEFAULT_$LINE"
2264 else
2265 no_cache=1
2266 fi
2267
2268 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2269
2270fi
2271
2272
2273 eval "$ac_cv_use_odbc"
2274 if test "$no_cache" != 1; then
2275 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2276 fi
2277
2278 if test "$wxUSE_ODBC" = yes; then
2279 echo "$ac_t""yes" 1>&6
2280 else
2281 echo "$ac_t""no" 1>&6
2282 fi
2283
2284
2285
2286
2287 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2288echo "configure:2289: checking for --enable-shared" >&5
2289 no_cache=0
2290 # Check whether --enable-shared or --disable-shared was given.
2291if test "${enable_shared+set}" = set; then
2292 enableval="$enable_shared"
2293
2294 if test "$enableval" = yes; then
2295 ac_cv_use_shared='wxUSE_SHARED=yes'
2296 else
2297 ac_cv_use_shared='wxUSE_SHARED=no'
2298 fi
2299
2300else
2301
2302 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2303 if test "x$LINE" != x ; then
2304 eval "DEFAULT_$LINE"
2305 else
2306 no_cache=1
2307 fi
2308
2309 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2310
2311fi
2312
2313
2314 eval "$ac_cv_use_shared"
2315 if test "$no_cache" != 1; then
2316 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2317 fi
2318
2319 if test "$wxUSE_SHARED" = yes; then
2320 echo "$ac_t""yes" 1>&6
2321 else
2322 echo "$ac_t""no" 1>&6
2323 fi
2324
2325
2326 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2327echo "configure:2328: checking for --enable-soname" >&5
2328 no_cache=0
2329 # Check whether --enable-soname or --disable-soname was given.
2330if test "${enable_soname+set}" = set; then
2331 enableval="$enable_soname"
2332
2333 if test "$enableval" = yes; then
2334 ac_cv_use_soname='wxUSE_SONAME=yes'
2335 else
2336 ac_cv_use_soname='wxUSE_SONAME=no'
2337 fi
2338
2339else
2340
2341 LINE=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2342 if test "x$LINE" != x ; then
2343 eval "DEFAULT_$LINE"
2344 else
2345 no_cache=1
2346 fi
2347
2348 ac_cv_use_soname='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2349
2350fi
2351
2352
2353 eval "$ac_cv_use_soname"
2354 if test "$no_cache" != 1; then
2355 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2356 fi
2357
2358 if test "$wxUSE_SONAME" = yes; then
2359 echo "$ac_t""yes" 1>&6
2360 else
2361 echo "$ac_t""no" 1>&6
2362 fi
2363
2364
2365 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2366echo "configure:2367: checking for --enable-optimise" >&5
2367 no_cache=0
2368 # Check whether --enable-optimise or --disable-optimise was given.
2369if test "${enable_optimise+set}" = set; then
2370 enableval="$enable_optimise"
2371
2372 if test "$enableval" = yes; then
2373 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
2374 else
2375 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
2376 fi
2377
2378else
2379
2380 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2381 if test "x$LINE" != x ; then
2382 eval "DEFAULT_$LINE"
2383 else
2384 no_cache=1
2385 fi
2386
2387 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2388
2389fi
2390
2391
2392 eval "$ac_cv_use_optimise"
2393 if test "$no_cache" != 1; then
2394 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2395 fi
2396
2397 if test "$wxUSE_OPTIMISE" = yes; then
2398 echo "$ac_t""yes" 1>&6
2399 else
2400 echo "$ac_t""no" 1>&6
2401 fi
2402
2403
2404 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2405echo "configure:2406: checking for --enable-debug" >&5
2406 no_cache=0
2407 # Check whether --enable-debug or --disable-debug was given.
2408if test "${enable_debug+set}" = set; then
2409 enableval="$enable_debug"
2410
2411 if test "$enableval" = yes; then
2412 ac_cv_use_debug='wxUSE_DEBUG=yes'
2413 else
2414 ac_cv_use_debug='wxUSE_DEBUG=no'
2415 fi
2416
2417else
2418
2419 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2420 if test "x$LINE" != x ; then
2421 eval "DEFAULT_$LINE"
2422 else
2423 no_cache=1
2424 fi
2425
2426 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2427
2428fi
2429
2430
2431 eval "$ac_cv_use_debug"
2432 if test "$no_cache" != 1; then
2433 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2434 fi
2435
2436 if test "$wxUSE_DEBUG" = yes; then
2437 echo "$ac_t""yes" 1>&6
2438 else
2439 echo "$ac_t""no" 1>&6
2440 fi
2441
2442
2443
2444 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2445echo "configure:2446: checking for --enable-precomp" >&5
2446 no_cache=0
2447 # Check whether --enable-precomp or --disable-precomp was given.
2448if test "${enable_precomp+set}" = set; then
2449 enableval="$enable_precomp"
2450
2451 if test "$enableval" = yes; then
2452 ac_cv_use_precomp='wxUSE_PRECOMP=yes'
2453 else
2454 ac_cv_use_precomp='wxUSE_PRECOMP=no'
2455 fi
2456
2457else
2458
2459 LINE=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2460 if test "x$LINE" != x ; then
2461 eval "DEFAULT_$LINE"
2462 else
2463 no_cache=1
2464 fi
2465
2466 ac_cv_use_precomp='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2467
2468fi
2469
2470
2471 eval "$ac_cv_use_precomp"
2472 if test "$no_cache" != 1; then
2473 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2474 fi
2475
2476 if test "$wxUSE_PRECOMP" = yes; then
2477 echo "$ac_t""yes" 1>&6
2478 else
2479 echo "$ac_t""no" 1>&6
2480 fi
2481
2482
2483if test "$wxUSE_DEBUG" = "yes"; then
2484 DEFAULT_wxUSE_DEBUG_FLAG=yes
2485 DEFAULT_wxUSE_DEBUG_INFO=yes
2486elif test "$wxUSE_DEBUG" = "no"; then
2487 DEFAULT_wxUSE_DEBUG_FLAG=no
2488 DEFAULT_wxUSE_DEBUG_INFO=no
2489fi
2490
2491
2492 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2493echo "configure:2494: checking for --enable-debug_flag" >&5
2494 no_cache=0
2495 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2496if test "${enable_debug_flag+set}" = set; then
2497 enableval="$enable_debug_flag"
2498
2499 if test "$enableval" = yes; then
2500 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
2501 else
2502 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
2503 fi
2504
2505else
2506
2507 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2508 if test "x$LINE" != x ; then
2509 eval "DEFAULT_$LINE"
2510 else
2511 no_cache=1
2512 fi
2513
2514 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2515
2516fi
2517
2518
2519 eval "$ac_cv_use_debug_flag"
2520 if test "$no_cache" != 1; then
2521 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2522 fi
2523
2524 if test "$wxUSE_DEBUG_FLAG" = yes; then
2525 echo "$ac_t""yes" 1>&6
2526 else
2527 echo "$ac_t""no" 1>&6
2528 fi
2529
2530
2531 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2532echo "configure:2533: checking for --enable-debug_info" >&5
2533 no_cache=0
2534 # Check whether --enable-debug_info or --disable-debug_info was given.
2535if test "${enable_debug_info+set}" = set; then
2536 enableval="$enable_debug_info"
2537
2538 if test "$enableval" = yes; then
2539 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
2540 else
2541 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
2542 fi
2543
2544else
2545
2546 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2547 if test "x$LINE" != x ; then
2548 eval "DEFAULT_$LINE"
2549 else
2550 no_cache=1
2551 fi
2552
2553 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2554
2555fi
2556
2557
2558 eval "$ac_cv_use_debug_info"
2559 if test "$no_cache" != 1; then
2560 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2561 fi
2562
2563 if test "$wxUSE_DEBUG_INFO" = yes; then
2564 echo "$ac_t""yes" 1>&6
2565 else
2566 echo "$ac_t""no" 1>&6
2567 fi
2568
2569
2570 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2571echo "configure:2572: checking for --enable-debug_gdb" >&5
2572 no_cache=0
2573 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2574if test "${enable_debug_gdb+set}" = set; then
2575 enableval="$enable_debug_gdb"
2576
2577 if test "$enableval" = yes; then
2578 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
2579 else
2580 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
2581 fi
2582
2583else
2584
2585 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2586 if test "x$LINE" != x ; then
2587 eval "DEFAULT_$LINE"
2588 else
2589 no_cache=1
2590 fi
2591
2592 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2593
2594fi
2595
2596
2597 eval "$ac_cv_use_debug_gdb"
2598 if test "$no_cache" != 1; then
2599 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2600 fi
2601
2602 if test "$wxUSE_DEBUG_GDB" = yes; then
2603 echo "$ac_t""yes" 1>&6
2604 else
2605 echo "$ac_t""no" 1>&6
2606 fi
2607
2608
2609 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2610echo "configure:2611: checking for --enable-debug_cntxt" >&5
2611 no_cache=0
2612 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2613if test "${enable_debug_cntxt+set}" = set; then
2614 enableval="$enable_debug_cntxt"
2615
2616 if test "$enableval" = yes; then
2617 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
2618 else
2619 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
2620 fi
2621
2622else
2623
2624 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2625 if test "x$LINE" != x ; then
2626 eval "DEFAULT_$LINE"
2627 else
2628 no_cache=1
2629 fi
2630
2631 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2632
2633fi
2634
2635
2636 eval "$ac_cv_use_debug_cntxt"
2637 if test "$no_cache" != 1; then
2638 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2639 fi
2640
2641 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2642 echo "$ac_t""yes" 1>&6
2643 else
2644 echo "$ac_t""no" 1>&6
2645 fi
2646
2647
2648 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2649echo "configure:2650: checking for --enable-mem_tracing" >&5
2650 no_cache=0
2651 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2652if test "${enable_mem_tracing+set}" = set; then
2653 enableval="$enable_mem_tracing"
2654
2655 if test "$enableval" = yes; then
2656 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
2657 else
2658 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
2659 fi
2660
2661else
2662
2663 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2664 if test "x$LINE" != x ; then
2665 eval "DEFAULT_$LINE"
2666 else
2667 no_cache=1
2668 fi
2669
2670 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2671
2672fi
2673
2674
2675 eval "$ac_cv_use_mem_tracing"
2676 if test "$no_cache" != 1; then
2677 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2678 fi
2679
2680 if test "$wxUSE_MEM_TRACING" = yes; then
2681 echo "$ac_t""yes" 1>&6
2682 else
2683 echo "$ac_t""no" 1>&6
2684 fi
2685
2686
2687 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2688echo "configure:2689: checking for --enable-profile" >&5
2689 no_cache=0
2690 # Check whether --enable-profile or --disable-profile was given.
2691if test "${enable_profile+set}" = set; then
2692 enableval="$enable_profile"
2693
2694 if test "$enableval" = yes; then
2695 ac_cv_use_profile='wxUSE_PROFILE=yes'
2696 else
2697 ac_cv_use_profile='wxUSE_PROFILE=no'
2698 fi
2699
2700else
2701
2702 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2703 if test "x$LINE" != x ; then
2704 eval "DEFAULT_$LINE"
2705 else
2706 no_cache=1
2707 fi
2708
2709 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2710
2711fi
2712
2713
2714 eval "$ac_cv_use_profile"
2715 if test "$no_cache" != 1; then
2716 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2717 fi
2718
2719 if test "$wxUSE_PROFILE" = yes; then
2720 echo "$ac_t""yes" 1>&6
2721 else
2722 echo "$ac_t""no" 1>&6
2723 fi
2724
2725
2726 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2727echo "configure:2728: checking for --enable-no_rtti" >&5
2728 no_cache=0
2729 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2730if test "${enable_no_rtti+set}" = set; then
2731 enableval="$enable_no_rtti"
2732
2733 if test "$enableval" = yes; then
2734 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
2735 else
2736 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
2737 fi
2738
2739else
2740
2741 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2742 if test "x$LINE" != x ; then
2743 eval "DEFAULT_$LINE"
2744 else
2745 no_cache=1
2746 fi
2747
2748 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2749
2750fi
2751
2752
2753 eval "$ac_cv_use_no_rtti"
2754 if test "$no_cache" != 1; then
2755 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2756 fi
2757
2758 if test "$wxUSE_NO_RTTI" = yes; then
2759 echo "$ac_t""yes" 1>&6
2760 else
2761 echo "$ac_t""no" 1>&6
2762 fi
2763
2764
2765 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2766echo "configure:2767: checking for --enable-no_exceptions" >&5
2767 no_cache=0
2768 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2769if test "${enable_no_exceptions+set}" = set; then
2770 enableval="$enable_no_exceptions"
2771
2772 if test "$enableval" = yes; then
2773 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
2774 else
2775 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
2776 fi
2777
2778else
2779
2780 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2781 if test "x$LINE" != x ; then
2782 eval "DEFAULT_$LINE"
2783 else
2784 no_cache=1
2785 fi
2786
2787 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2788
2789fi
2790
2791
2792 eval "$ac_cv_use_no_exceptions"
2793 if test "$no_cache" != 1; then
2794 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2795 fi
2796
2797 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2798 echo "$ac_t""yes" 1>&6
2799 else
2800 echo "$ac_t""no" 1>&6
2801 fi
2802
2803
2804 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2805echo "configure:2806: checking for --enable-permissive" >&5
2806 no_cache=0
2807 # Check whether --enable-permissive or --disable-permissive was given.
2808if test "${enable_permissive+set}" = set; then
2809 enableval="$enable_permissive"
2810
2811 if test "$enableval" = yes; then
2812 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
2813 else
2814 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
2815 fi
2816
2817else
2818
2819 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2820 if test "x$LINE" != x ; then
2821 eval "DEFAULT_$LINE"
2822 else
2823 no_cache=1
2824 fi
2825
2826 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2827
2828fi
2829
2830
2831 eval "$ac_cv_use_permissive"
2832 if test "$no_cache" != 1; then
2833 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2834 fi
2835
2836 if test "$wxUSE_PERMISSIVE" = yes; then
2837 echo "$ac_t""yes" 1>&6
2838 else
2839 echo "$ac_t""no" 1>&6
2840 fi
2841
2842
2843 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2844echo "configure:2845: checking for --enable-no_deps" >&5
2845 no_cache=0
2846 # Check whether --enable-no_deps or --disable-no_deps was given.
2847if test "${enable_no_deps+set}" = set; then
2848 enableval="$enable_no_deps"
2849
2850 if test "$enableval" = yes; then
2851 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
2852 else
2853 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
2854 fi
2855
2856else
2857
2858 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2859 if test "x$LINE" != x ; then
2860 eval "DEFAULT_$LINE"
2861 else
2862 no_cache=1
2863 fi
2864
2865 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2866
2867fi
2868
2869
2870 eval "$ac_cv_use_no_deps"
2871 if test "$no_cache" != 1; then
2872 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2873 fi
2874
2875 if test "$wxUSE_NO_DEPS" = yes; then
2876 echo "$ac_t""yes" 1>&6
2877 else
2878 echo "$ac_t""no" 1>&6
2879 fi
2880
2881
2882
2883 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2884echo "configure:2885: checking for --enable-compat20" >&5
2885 no_cache=0
2886 # Check whether --enable-compat20 or --disable-compat20 was given.
2887if test "${enable_compat20+set}" = set; then
2888 enableval="$enable_compat20"
2889
2890 if test "$enableval" = yes; then
2891 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
2892 else
2893 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
2894 fi
2895
2896else
2897
2898 LINE=`grep "WXWIN_COMPATIBILITY_2" ${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_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2906
2907fi
2908
2909
2910 eval "$ac_cv_use_compat20"
2911 if test "$no_cache" != 1; then
2912 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2913 fi
2914
2915 if test "$WXWIN_COMPATIBILITY_2" = 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-compat22""... $ac_c" 1>&6
2923echo "configure:2924: checking for --enable-compat22" >&5
2924 no_cache=0
2925 # Check whether --enable-compat22 or --disable-compat22 was given.
2926if test "${enable_compat22+set}" = set; then
2927 enableval="$enable_compat22"
2928
2929 if test "$enableval" = yes; then
2930 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
2931 else
2932 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
2933 fi
2934
2935else
2936
2937 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${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_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2945
2946fi
2947
2948
2949 eval "$ac_cv_use_compat22"
2950 if test "$no_cache" != 1; then
2951 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2952 fi
2953
2954 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2955 echo "$ac_t""yes" 1>&6
2956 else
2957 echo "$ac_t""no" 1>&6
2958 fi
2959
2960
2961
2962
2963 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2964echo "configure:2965: checking for --enable-intl" >&5
2965 no_cache=0
2966 # Check whether --enable-intl or --disable-intl was given.
2967if test "${enable_intl+set}" = set; then
2968 enableval="$enable_intl"
2969
2970 if test "$enableval" = yes; then
2971 ac_cv_use_intl='wxUSE_INTL=yes'
2972 else
2973 ac_cv_use_intl='wxUSE_INTL=no'
2974 fi
2975
2976else
2977
2978 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2979 if test "x$LINE" != x ; then
2980 eval "DEFAULT_$LINE"
2981 else
2982 no_cache=1
2983 fi
2984
2985 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2986
2987fi
2988
2989
2990 eval "$ac_cv_use_intl"
2991 if test "$no_cache" != 1; then
2992 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2993 fi
2994
2995 if test "$wxUSE_INTL" = yes; then
2996 echo "$ac_t""yes" 1>&6
2997 else
2998 echo "$ac_t""no" 1>&6
2999 fi
3000
3001
3002 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3003echo "configure:3004: checking for --enable-config" >&5
3004 no_cache=0
3005 # Check whether --enable-config or --disable-config was given.
3006if test "${enable_config+set}" = set; then
3007 enableval="$enable_config"
3008
3009 if test "$enableval" = yes; then
3010 ac_cv_use_config='wxUSE_CONFIG=yes'
3011 else
3012 ac_cv_use_config='wxUSE_CONFIG=no'
3013 fi
3014
3015else
3016
3017 LINE=`grep "wxUSE_CONFIG" ${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_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3025
3026fi
3027
3028
3029 eval "$ac_cv_use_config"
3030 if test "$no_cache" != 1; then
3031 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3032 fi
3033
3034 if test "$wxUSE_CONFIG" = 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-sockets""... $ac_c" 1>&6
3043echo "configure:3044: checking for --enable-sockets" >&5
3044 no_cache=0
3045 # Check whether --enable-sockets or --disable-sockets was given.
3046if test "${enable_sockets+set}" = set; then
3047 enableval="$enable_sockets"
3048
3049 if test "$enableval" = yes; then
3050 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
3051 else
3052 ac_cv_use_sockets='wxUSE_SOCKETS=no'
3053 fi
3054
3055else
3056
3057 LINE=`grep "wxUSE_SOCKETS" ${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_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3065
3066fi
3067
3068
3069 eval "$ac_cv_use_sockets"
3070 if test "$no_cache" != 1; then
3071 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3072 fi
3073
3074 if test "$wxUSE_SOCKETS" = yes; then
3075 echo "$ac_t""yes" 1>&6
3076 else
3077 echo "$ac_t""no" 1>&6
3078 fi
3079
3080
3081
3082 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3083echo "configure:3084: checking for --enable-ipc" >&5
3084 no_cache=0
3085 # Check whether --enable-ipc or --disable-ipc was given.
3086if test "${enable_ipc+set}" = set; then
3087 enableval="$enable_ipc"
3088
3089 if test "$enableval" = yes; then
3090 ac_cv_use_ipc='wxUSE_IPC=yes'
3091 else
3092 ac_cv_use_ipc='wxUSE_IPC=no'
3093 fi
3094
3095else
3096
3097 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3098 if test "x$LINE" != x ; then
3099 eval "DEFAULT_$LINE"
3100 else
3101 no_cache=1
3102 fi
3103
3104 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3105
3106fi
3107
3108
3109 eval "$ac_cv_use_ipc"
3110 if test "$no_cache" != 1; then
3111 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3112 fi
3113
3114 if test "$wxUSE_IPC" = yes; then
3115 echo "$ac_t""yes" 1>&6
3116 else
3117 echo "$ac_t""no" 1>&6
3118 fi
3119
3120
3121
3122 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3123echo "configure:3124: checking for --enable-cmdline" >&5
3124 no_cache=0
3125 # Check whether --enable-cmdline or --disable-cmdline was given.
3126if test "${enable_cmdline+set}" = set; then
3127 enableval="$enable_cmdline"
3128
3129 if test "$enableval" = yes; then
3130 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
3131 else
3132 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
3133 fi
3134
3135else
3136
3137 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3138 if test "x$LINE" != x ; then
3139 eval "DEFAULT_$LINE"
3140 else
3141 no_cache=1
3142 fi
3143
3144 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3145
3146fi
3147
3148
3149 eval "$ac_cv_use_cmdline"
3150 if test "$no_cache" != 1; then
3151 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3152 fi
3153
3154 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3155 echo "$ac_t""yes" 1>&6
3156 else
3157 echo "$ac_t""no" 1>&6
3158 fi
3159
3160
3161 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3162echo "configure:3163: checking for --enable-datetime" >&5
3163 no_cache=0
3164 # Check whether --enable-datetime or --disable-datetime was given.
3165if test "${enable_datetime+set}" = set; then
3166 enableval="$enable_datetime"
3167
3168 if test "$enableval" = yes; then
3169 ac_cv_use_datetime='wxUSE_DATETIME=yes'
3170 else
3171 ac_cv_use_datetime='wxUSE_DATETIME=no'
3172 fi
3173
3174else
3175
3176 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3177 if test "x$LINE" != x ; then
3178 eval "DEFAULT_$LINE"
3179 else
3180 no_cache=1
3181 fi
3182
3183 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3184
3185fi
3186
3187
3188 eval "$ac_cv_use_datetime"
3189 if test "$no_cache" != 1; then
3190 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3191 fi
3192
3193 if test "$wxUSE_DATETIME" = yes; then
3194 echo "$ac_t""yes" 1>&6
3195 else
3196 echo "$ac_t""no" 1>&6
3197 fi
3198
3199
3200 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3201echo "configure:3202: checking for --enable-timedate" >&5
3202 no_cache=0
3203 # Check whether --enable-timedate or --disable-timedate was given.
3204if test "${enable_timedate+set}" = set; then
3205 enableval="$enable_timedate"
3206
3207 if test "$enableval" = yes; then
3208 ac_cv_use_timedate='wxUSE_TIMEDATE=yes'
3209 else
3210 ac_cv_use_timedate='wxUSE_TIMEDATE=no'
3211 fi
3212
3213else
3214
3215 LINE=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3216 if test "x$LINE" != x ; then
3217 eval "DEFAULT_$LINE"
3218 else
3219 no_cache=1
3220 fi
3221
3222 ac_cv_use_timedate='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3223
3224fi
3225
3226
3227 eval "$ac_cv_use_timedate"
3228 if test "$no_cache" != 1; then
3229 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3230 fi
3231
3232 if test "$wxUSE_TIMEDATE" = yes; then
3233 echo "$ac_t""yes" 1>&6
3234 else
3235 echo "$ac_t""no" 1>&6
3236 fi
3237
3238
3239 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3240echo "configure:3241: checking for --enable-stopwatch" >&5
3241 no_cache=0
3242 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3243if test "${enable_stopwatch+set}" = set; then
3244 enableval="$enable_stopwatch"
3245
3246 if test "$enableval" = yes; then
3247 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
3248 else
3249 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
3250 fi
3251
3252else
3253
3254 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3255 if test "x$LINE" != x ; then
3256 eval "DEFAULT_$LINE"
3257 else
3258 no_cache=1
3259 fi
3260
3261 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3262
3263fi
3264
3265
3266 eval "$ac_cv_use_stopwatch"
3267 if test "$no_cache" != 1; then
3268 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3269 fi
3270
3271 if test "$wxUSE_STOPWATCH" = yes; then
3272 echo "$ac_t""yes" 1>&6
3273 else
3274 echo "$ac_t""no" 1>&6
3275 fi
3276
3277
3278 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3279echo "configure:3280: checking for --enable-dialupman" >&5
3280 no_cache=0
3281 # Check whether --enable-dialupman or --disable-dialupman was given.
3282if test "${enable_dialupman+set}" = set; then
3283 enableval="$enable_dialupman"
3284
3285 if test "$enableval" = yes; then
3286 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
3287 else
3288 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
3289 fi
3290
3291else
3292
3293 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3294 if test "x$LINE" != x ; then
3295 eval "DEFAULT_$LINE"
3296 else
3297 no_cache=1
3298 fi
3299
3300 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3301
3302fi
3303
3304
3305 eval "$ac_cv_use_dialupman"
3306 if test "$no_cache" != 1; then
3307 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3308 fi
3309
3310 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3311 echo "$ac_t""yes" 1>&6
3312 else
3313 echo "$ac_t""no" 1>&6
3314 fi
3315
3316
3317 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3318echo "configure:3319: checking for --enable-apple_ieee" >&5
3319 no_cache=0
3320 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3321if test "${enable_apple_ieee+set}" = set; then
3322 enableval="$enable_apple_ieee"
3323
3324 if test "$enableval" = yes; then
3325 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
3326 else
3327 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
3328 fi
3329
3330else
3331
3332 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3333 if test "x$LINE" != x ; then
3334 eval "DEFAULT_$LINE"
3335 else
3336 no_cache=1
3337 fi
3338
3339 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3340
3341fi
3342
3343
3344 eval "$ac_cv_use_apple_ieee"
3345 if test "$no_cache" != 1; then
3346 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3347 fi
3348
3349 if test "$wxUSE_APPLE_IEEE" = yes; then
3350 echo "$ac_t""yes" 1>&6
3351 else
3352 echo "$ac_t""no" 1>&6
3353 fi
3354
3355
3356 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3357echo "configure:3358: checking for --enable-timer" >&5
3358 no_cache=0
3359 # Check whether --enable-timer or --disable-timer was given.
3360if test "${enable_timer+set}" = set; then
3361 enableval="$enable_timer"
3362
3363 if test "$enableval" = yes; then
3364 ac_cv_use_timer='wxUSE_TIMER=yes'
3365 else
3366 ac_cv_use_timer='wxUSE_TIMER=no'
3367 fi
3368
3369else
3370
3371 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3372 if test "x$LINE" != x ; then
3373 eval "DEFAULT_$LINE"
3374 else
3375 no_cache=1
3376 fi
3377
3378 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3379
3380fi
3381
3382
3383 eval "$ac_cv_use_timer"
3384 if test "$no_cache" != 1; then
3385 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3386 fi
3387
3388 if test "$wxUSE_TIMER" = yes; then
3389 echo "$ac_t""yes" 1>&6
3390 else
3391 echo "$ac_t""no" 1>&6
3392 fi
3393
3394
3395 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3396echo "configure:3397: checking for --enable-wave" >&5
3397 no_cache=0
3398 # Check whether --enable-wave or --disable-wave was given.
3399if test "${enable_wave+set}" = set; then
3400 enableval="$enable_wave"
3401
3402 if test "$enableval" = yes; then
3403 ac_cv_use_wave='wxUSE_WAVE=yes'
3404 else
3405 ac_cv_use_wave='wxUSE_WAVE=no'
3406 fi
3407
3408else
3409
3410 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3411 if test "x$LINE" != x ; then
3412 eval "DEFAULT_$LINE"
3413 else
3414 no_cache=1
3415 fi
3416
3417 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3418
3419fi
3420
3421
3422 eval "$ac_cv_use_wave"
3423 if test "$no_cache" != 1; then
3424 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3425 fi
3426
3427 if test "$wxUSE_WAVE" = yes; then
3428 echo "$ac_t""yes" 1>&6
3429 else
3430 echo "$ac_t""no" 1>&6
3431 fi
3432
3433
3434 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3435echo "configure:3436: checking for --enable-fraction" >&5
3436 no_cache=0
3437 # Check whether --enable-fraction or --disable-fraction was given.
3438if test "${enable_fraction+set}" = set; then
3439 enableval="$enable_fraction"
3440
3441 if test "$enableval" = yes; then
3442 ac_cv_use_fraction='wxUSE_FRACTION=yes'
3443 else
3444 ac_cv_use_fraction='wxUSE_FRACTION=no'
3445 fi
3446
3447else
3448
3449 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3450 if test "x$LINE" != x ; then
3451 eval "DEFAULT_$LINE"
3452 else
3453 no_cache=1
3454 fi
3455
3456 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3457
3458fi
3459
3460
3461 eval "$ac_cv_use_fraction"
3462 if test "$no_cache" != 1; then
3463 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3464 fi
3465
3466 if test "$wxUSE_FRACTION" = yes; then
3467 echo "$ac_t""yes" 1>&6
3468 else
3469 echo "$ac_t""no" 1>&6
3470 fi
3471
3472
3473 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3474echo "configure:3475: checking for --enable-dynlib" >&5
3475 no_cache=0
3476 # Check whether --enable-dynlib or --disable-dynlib was given.
3477if test "${enable_dynlib+set}" = set; then
3478 enableval="$enable_dynlib"
3479
3480 if test "$enableval" = yes; then
3481 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
3482 else
3483 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
3484 fi
3485
3486else
3487
3488 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3489 if test "x$LINE" != x ; then
3490 eval "DEFAULT_$LINE"
3491 else
3492 no_cache=1
3493 fi
3494
3495 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3496
3497fi
3498
3499
3500 eval "$ac_cv_use_dynlib"
3501 if test "$no_cache" != 1; then
3502 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3503 fi
3504
3505 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3506 echo "$ac_t""yes" 1>&6
3507 else
3508 echo "$ac_t""no" 1>&6
3509 fi
3510
3511
3512 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3513echo "configure:3514: checking for --enable-longlong" >&5
3514 no_cache=0
3515 # Check whether --enable-longlong or --disable-longlong was given.
3516if test "${enable_longlong+set}" = set; then
3517 enableval="$enable_longlong"
3518
3519 if test "$enableval" = yes; then
3520 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
3521 else
3522 ac_cv_use_longlong='wxUSE_LONGLONG=no'
3523 fi
3524
3525else
3526
3527 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3528 if test "x$LINE" != x ; then
3529 eval "DEFAULT_$LINE"
3530 else
3531 no_cache=1
3532 fi
3533
3534 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3535
3536fi
3537
3538
3539 eval "$ac_cv_use_longlong"
3540 if test "$no_cache" != 1; then
3541 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3542 fi
3543
3544 if test "$wxUSE_LONGLONG" = yes; then
3545 echo "$ac_t""yes" 1>&6
3546 else
3547 echo "$ac_t""no" 1>&6
3548 fi
3549
3550
3551 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3552echo "configure:3553: checking for --enable-geometry" >&5
3553 no_cache=0
3554 # Check whether --enable-geometry or --disable-geometry was given.
3555if test "${enable_geometry+set}" = set; then
3556 enableval="$enable_geometry"
3557
3558 if test "$enableval" = yes; then
3559 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
3560 else
3561 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
3562 fi
3563
3564else
3565
3566 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3567 if test "x$LINE" != x ; then
3568 eval "DEFAULT_$LINE"
3569 else
3570 no_cache=1
3571 fi
3572
3573 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3574
3575fi
3576
3577
3578 eval "$ac_cv_use_geometry"
3579 if test "$no_cache" != 1; then
3580 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3581 fi
3582
3583 if test "$wxUSE_GEOMETRY" = yes; then
3584 echo "$ac_t""yes" 1>&6
3585 else
3586 echo "$ac_t""no" 1>&6
3587 fi
3588
3589
3590 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3591echo "configure:3592: checking for --enable-log" >&5
3592 no_cache=0
3593 # Check whether --enable-log or --disable-log was given.
3594if test "${enable_log+set}" = set; then
3595 enableval="$enable_log"
3596
3597 if test "$enableval" = yes; then
3598 ac_cv_use_log='wxUSE_LOG=yes'
3599 else
3600 ac_cv_use_log='wxUSE_LOG=no'
3601 fi
3602
3603else
3604
3605 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3606 if test "x$LINE" != x ; then
3607 eval "DEFAULT_$LINE"
3608 else
3609 no_cache=1
3610 fi
3611
3612 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3613
3614fi
3615
3616
3617 eval "$ac_cv_use_log"
3618 if test "$no_cache" != 1; then
3619 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3620 fi
3621
3622 if test "$wxUSE_LOG" = yes; then
3623 echo "$ac_t""yes" 1>&6
3624 else
3625 echo "$ac_t""no" 1>&6
3626 fi
3627
3628
3629 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3630echo "configure:3631: checking for --enable-streams" >&5
3631 no_cache=0
3632 # Check whether --enable-streams or --disable-streams was given.
3633if test "${enable_streams+set}" = set; then
3634 enableval="$enable_streams"
3635
3636 if test "$enableval" = yes; then
3637 ac_cv_use_streams='wxUSE_STREAMS=yes'
3638 else
3639 ac_cv_use_streams='wxUSE_STREAMS=no'
3640 fi
3641
3642else
3643
3644 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3645 if test "x$LINE" != x ; then
3646 eval "DEFAULT_$LINE"
3647 else
3648 no_cache=1
3649 fi
3650
3651 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3652
3653fi
3654
3655
3656 eval "$ac_cv_use_streams"
3657 if test "$no_cache" != 1; then
3658 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3659 fi
3660
3661 if test "$wxUSE_STREAMS" = yes; then
3662 echo "$ac_t""yes" 1>&6
3663 else
3664 echo "$ac_t""no" 1>&6
3665 fi
3666
3667
3668 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3669echo "configure:3670: checking for --enable-file" >&5
3670 no_cache=0
3671 # Check whether --enable-file or --disable-file was given.
3672if test "${enable_file+set}" = set; then
3673 enableval="$enable_file"
3674
3675 if test "$enableval" = yes; then
3676 ac_cv_use_file='wxUSE_FILE=yes'
3677 else
3678 ac_cv_use_file='wxUSE_FILE=no'
3679 fi
3680
3681else
3682
3683 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3684 if test "x$LINE" != x ; then
3685 eval "DEFAULT_$LINE"
3686 else
3687 no_cache=1
3688 fi
3689
3690 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3691
3692fi
3693
3694
3695 eval "$ac_cv_use_file"
3696 if test "$no_cache" != 1; then
3697 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3698 fi
3699
3700 if test "$wxUSE_FILE" = yes; then
3701 echo "$ac_t""yes" 1>&6
3702 else
3703 echo "$ac_t""no" 1>&6
3704 fi
3705
3706
3707 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3708echo "configure:3709: checking for --enable-ffile" >&5
3709 no_cache=0
3710 # Check whether --enable-ffile or --disable-ffile was given.
3711if test "${enable_ffile+set}" = set; then
3712 enableval="$enable_ffile"
3713
3714 if test "$enableval" = yes; then
3715 ac_cv_use_ffile='wxUSE_FFILE=yes'
3716 else
3717 ac_cv_use_ffile='wxUSE_FFILE=no'
3718 fi
3719
3720else
3721
3722 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3723 if test "x$LINE" != x ; then
3724 eval "DEFAULT_$LINE"
3725 else
3726 no_cache=1
3727 fi
3728
3729 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3730
3731fi
3732
3733
3734 eval "$ac_cv_use_ffile"
3735 if test "$no_cache" != 1; then
3736 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3737 fi
3738
3739 if test "$wxUSE_FFILE" = yes; then
3740 echo "$ac_t""yes" 1>&6
3741 else
3742 echo "$ac_t""no" 1>&6
3743 fi
3744
3745
3746 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
3747echo "configure:3748: checking for --enable-textbuf" >&5
3748 no_cache=0
3749 # Check whether --enable-textbuf or --disable-textbuf was given.
3750if test "${enable_textbuf+set}" = set; then
3751 enableval="$enable_textbuf"
3752
3753 if test "$enableval" = yes; then
3754 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
3755 else
3756 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
3757 fi
3758
3759else
3760
3761 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
3762 if test "x$LINE" != x ; then
3763 eval "DEFAULT_$LINE"
3764 else
3765 no_cache=1
3766 fi
3767
3768 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
3769
3770fi
3771
3772
3773 eval "$ac_cv_use_textbuf"
3774 if test "$no_cache" != 1; then
3775 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
3776 fi
3777
3778 if test "$wxUSE_TEXTBUFFER" = yes; then
3779 echo "$ac_t""yes" 1>&6
3780 else
3781 echo "$ac_t""no" 1>&6
3782 fi
3783
3784
3785 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3786echo "configure:3787: checking for --enable-textfile" >&5
3787 no_cache=0
3788 # Check whether --enable-textfile or --disable-textfile was given.
3789if test "${enable_textfile+set}" = set; then
3790 enableval="$enable_textfile"
3791
3792 if test "$enableval" = yes; then
3793 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
3794 else
3795 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
3796 fi
3797
3798else
3799
3800 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3801 if test "x$LINE" != x ; then
3802 eval "DEFAULT_$LINE"
3803 else
3804 no_cache=1
3805 fi
3806
3807 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3808
3809fi
3810
3811
3812 eval "$ac_cv_use_textfile"
3813 if test "$no_cache" != 1; then
3814 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3815 fi
3816
3817 if test "$wxUSE_TEXTFILE" = yes; then
3818 echo "$ac_t""yes" 1>&6
3819 else
3820 echo "$ac_t""no" 1>&6
3821 fi
3822
3823
3824 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3825echo "configure:3826: checking for --enable-fontmap" >&5
3826 no_cache=0
3827 # Check whether --enable-fontmap or --disable-fontmap was given.
3828if test "${enable_fontmap+set}" = set; then
3829 enableval="$enable_fontmap"
3830
3831 if test "$enableval" = yes; then
3832 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
3833 else
3834 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
3835 fi
3836
3837else
3838
3839 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3840 if test "x$LINE" != x ; then
3841 eval "DEFAULT_$LINE"
3842 else
3843 no_cache=1
3844 fi
3845
3846 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3847
3848fi
3849
3850
3851 eval "$ac_cv_use_fontmap"
3852 if test "$no_cache" != 1; then
3853 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3854 fi
3855
3856 if test "$wxUSE_FONTMAP" = yes; then
3857 echo "$ac_t""yes" 1>&6
3858 else
3859 echo "$ac_t""no" 1>&6
3860 fi
3861
3862
3863 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3864echo "configure:3865: checking for --enable-unicode" >&5
3865 no_cache=0
3866 # Check whether --enable-unicode or --disable-unicode was given.
3867if test "${enable_unicode+set}" = set; then
3868 enableval="$enable_unicode"
3869
3870 if test "$enableval" = yes; then
3871 ac_cv_use_unicode='wxUSE_UNICODE=yes'
3872 else
3873 ac_cv_use_unicode='wxUSE_UNICODE=no'
3874 fi
3875
3876else
3877
3878 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3879 if test "x$LINE" != x ; then
3880 eval "DEFAULT_$LINE"
3881 else
3882 no_cache=1
3883 fi
3884
3885 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3886
3887fi
3888
3889
3890 eval "$ac_cv_use_unicode"
3891 if test "$no_cache" != 1; then
3892 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3893 fi
3894
3895 if test "$wxUSE_UNICODE" = yes; then
3896 echo "$ac_t""yes" 1>&6
3897 else
3898 echo "$ac_t""no" 1>&6
3899 fi
3900
3901
3902 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3903echo "configure:3904: checking for --enable-wxprintfv" >&5
3904 no_cache=0
3905 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3906if test "${enable_wxprintfv+set}" = set; then
3907 enableval="$enable_wxprintfv"
3908
3909 if test "$enableval" = yes; then
3910 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
3911 else
3912 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
3913 fi
3914
3915else
3916
3917 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3918 if test "x$LINE" != x ; then
3919 eval "DEFAULT_$LINE"
3920 else
3921 no_cache=1
3922 fi
3923
3924 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3925
3926fi
3927
3928
3929 eval "$ac_cv_use_wxprintfv"
3930 if test "$no_cache" != 1; then
3931 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3932 fi
3933
3934 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3935 echo "$ac_t""yes" 1>&6
3936 else
3937 echo "$ac_t""no" 1>&6
3938 fi
3939
3940
3941 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3942echo "configure:3943: checking for --enable-std_iostreams" >&5
3943 no_cache=0
3944 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3945if test "${enable_std_iostreams+set}" = set; then
3946 enableval="$enable_std_iostreams"
3947
3948 if test "$enableval" = yes; then
3949 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
3950 else
3951 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
3952 fi
3953
3954else
3955
3956 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3957 if test "x$LINE" != x ; then
3958 eval "DEFAULT_$LINE"
3959 else
3960 no_cache=1
3961 fi
3962
3963 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3964
3965fi
3966
3967
3968 eval "$ac_cv_use_std_iostreams"
3969 if test "$no_cache" != 1; then
3970 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3971 fi
3972
3973 if test "$wxUSE_STD_IOSTREAM" = yes; then
3974 echo "$ac_t""yes" 1>&6
3975 else
3976 echo "$ac_t""no" 1>&6
3977 fi
3978
3979
3980 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3981echo "configure:3982: checking for --enable-filesystem" >&5
3982 no_cache=0
3983 # Check whether --enable-filesystem or --disable-filesystem was given.
3984if test "${enable_filesystem+set}" = set; then
3985 enableval="$enable_filesystem"
3986
3987 if test "$enableval" = yes; then
3988 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
3989 else
3990 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
3991 fi
3992
3993else
3994
3995 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3996 if test "x$LINE" != x ; then
3997 eval "DEFAULT_$LINE"
3998 else
3999 no_cache=1
4000 fi
4001
4002 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4003
4004fi
4005
4006
4007 eval "$ac_cv_use_filesystem"
4008 if test "$no_cache" != 1; then
4009 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4010 fi
4011
4012 if test "$wxUSE_FILESYSTEM" = yes; then
4013 echo "$ac_t""yes" 1>&6
4014 else
4015 echo "$ac_t""no" 1>&6
4016 fi
4017
4018
4019 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4020echo "configure:4021: checking for --enable-fs_inet" >&5
4021 no_cache=0
4022 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4023if test "${enable_fs_inet+set}" = set; then
4024 enableval="$enable_fs_inet"
4025
4026 if test "$enableval" = yes; then
4027 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4028 else
4029 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4030 fi
4031
4032else
4033
4034 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4035 if test "x$LINE" != x ; then
4036 eval "DEFAULT_$LINE"
4037 else
4038 no_cache=1
4039 fi
4040
4041 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4042
4043fi
4044
4045
4046 eval "$ac_cv_use_fs_inet"
4047 if test "$no_cache" != 1; then
4048 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4049 fi
4050
4051 if test "$wxUSE_FS_INET" = yes; then
4052 echo "$ac_t""yes" 1>&6
4053 else
4054 echo "$ac_t""no" 1>&6
4055 fi
4056
4057
4058 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4059echo "configure:4060: checking for --enable-fs_zip" >&5
4060 no_cache=0
4061 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4062if test "${enable_fs_zip+set}" = set; then
4063 enableval="$enable_fs_zip"
4064
4065 if test "$enableval" = yes; then
4066 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4067 else
4068 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4069 fi
4070
4071else
4072
4073 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4074 if test "x$LINE" != x ; then
4075 eval "DEFAULT_$LINE"
4076 else
4077 no_cache=1
4078 fi
4079
4080 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4081
4082fi
4083
4084
4085 eval "$ac_cv_use_fs_zip"
4086 if test "$no_cache" != 1; then
4087 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4088 fi
4089
4090 if test "$wxUSE_FS_ZIP" = yes; then
4091 echo "$ac_t""yes" 1>&6
4092 else
4093 echo "$ac_t""no" 1>&6
4094 fi
4095
4096
4097 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4098echo "configure:4099: checking for --enable-zipstream" >&5
4099 no_cache=0
4100 # Check whether --enable-zipstream or --disable-zipstream was given.
4101if test "${enable_zipstream+set}" = set; then
4102 enableval="$enable_zipstream"
4103
4104 if test "$enableval" = yes; then
4105 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
4106 else
4107 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
4108 fi
4109
4110else
4111
4112 LINE=`grep "wxUSE_ZIPSTREAM" ${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_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4120
4121fi
4122
4123
4124 eval "$ac_cv_use_zipstream"
4125 if test "$no_cache" != 1; then
4126 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4127 fi
4128
4129 if test "$wxUSE_ZIPSTREAM" = yes; then
4130 echo "$ac_t""yes" 1>&6
4131 else
4132 echo "$ac_t""no" 1>&6
4133 fi
4134
4135
4136
4137 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4138echo "configure:4139: checking for --enable-catch_segvs" >&5
4139 no_cache=0
4140 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4141if test "${enable_catch_segvs+set}" = set; then
4142 enableval="$enable_catch_segvs"
4143
4144 if test "$enableval" = yes; then
4145 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4146 else
4147 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4148 fi
4149
4150else
4151
4152 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4153 if test "x$LINE" != x ; then
4154 eval "DEFAULT_$LINE"
4155 else
4156 no_cache=1
4157 fi
4158
4159 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4160
4161fi
4162
4163
4164 eval "$ac_cv_use_catch_segvs"
4165 if test "$no_cache" != 1; then
4166 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4167 fi
4168
4169 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4170 echo "$ac_t""yes" 1>&6
4171 else
4172 echo "$ac_t""no" 1>&6
4173 fi
4174
4175
4176 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4177echo "configure:4178: checking for --enable-snglinst" >&5
4178 no_cache=0
4179 # Check whether --enable-snglinst or --disable-snglinst was given.
4180if test "${enable_snglinst+set}" = set; then
4181 enableval="$enable_snglinst"
4182
4183 if test "$enableval" = yes; then
4184 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
4185 else
4186 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
4187 fi
4188
4189else
4190
4191 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4192 if test "x$LINE" != x ; then
4193 eval "DEFAULT_$LINE"
4194 else
4195 no_cache=1
4196 fi
4197
4198 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4199
4200fi
4201
4202
4203 eval "$ac_cv_use_snglinst"
4204 if test "$no_cache" != 1; then
4205 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4206 fi
4207
4208 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4209 echo "$ac_t""yes" 1>&6
4210 else
4211 echo "$ac_t""no" 1>&6
4212 fi
4213
4214
4215
4216 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4217echo "configure:4218: checking for --enable-mimetype" >&5
4218 no_cache=0
4219 # Check whether --enable-mimetype or --disable-mimetype was given.
4220if test "${enable_mimetype+set}" = set; then
4221 enableval="$enable_mimetype"
4222
4223 if test "$enableval" = yes; then
4224 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
4225 else
4226 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
4227 fi
4228
4229else
4230
4231 LINE=`grep "wxUSE_MIMETYPE" ${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_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4239
4240fi
4241
4242
4243 eval "$ac_cv_use_mimetype"
4244 if test "$no_cache" != 1; then
4245 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4246 fi
4247
4248 if test "$wxUSE_MIMETYPE" = yes; then
4249 echo "$ac_t""yes" 1>&6
4250 else
4251 echo "$ac_t""no" 1>&6
4252 fi
4253
4254
4255 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4256echo "configure:4257: checking for --enable-system_options" >&5
4257 no_cache=0
4258 # Check whether --enable-system_options or --disable-system_options was given.
4259if test "${enable_system_options+set}" = set; then
4260 enableval="$enable_system_options"
4261
4262 if test "$enableval" = yes; then
4263 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
4264 else
4265 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
4266 fi
4267
4268else
4269
4270 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4271 if test "x$LINE" != x ; then
4272 eval "DEFAULT_$LINE"
4273 else
4274 no_cache=1
4275 fi
4276
4277 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4278
4279fi
4280
4281
4282 eval "$ac_cv_use_system_options"
4283 if test "$no_cache" != 1; then
4284 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4285 fi
4286
4287 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4288 echo "$ac_t""yes" 1>&6
4289 else
4290 echo "$ac_t""no" 1>&6
4291 fi
4292
4293
4294
4295
4296 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4297echo "configure:4298: checking for --enable-threads" >&5
4298 no_cache=0
4299 # Check whether --enable-threads or --disable-threads was given.
4300if test "${enable_threads+set}" = set; then
4301 enableval="$enable_threads"
4302
4303 if test "$enableval" = yes; then
4304 ac_cv_use_threads='wxUSE_THREADS=yes'
4305 else
4306 ac_cv_use_threads='wxUSE_THREADS=no'
4307 fi
4308
4309else
4310
4311 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4312 if test "x$LINE" != x ; then
4313 eval "DEFAULT_$LINE"
4314 else
4315 no_cache=1
4316 fi
4317
4318 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4319
4320fi
4321
4322
4323 eval "$ac_cv_use_threads"
4324 if test "$no_cache" != 1; then
4325 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4326 fi
4327
4328 if test "$wxUSE_THREADS" = yes; then
4329 echo "$ac_t""yes" 1>&6
4330 else
4331 echo "$ac_t""no" 1>&6
4332 fi
4333
4334
4335 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4336echo "configure:4337: checking for --enable-serial" >&5
4337 no_cache=0
4338 # Check whether --enable-serial or --disable-serial was given.
4339if test "${enable_serial+set}" = set; then
4340 enableval="$enable_serial"
4341
4342 if test "$enableval" = yes; then
4343 ac_cv_use_serial='wxUSE_SERIAL=yes'
4344 else
4345 ac_cv_use_serial='wxUSE_SERIAL=no'
4346 fi
4347
4348else
4349
4350 LINE=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4351 if test "x$LINE" != x ; then
4352 eval "DEFAULT_$LINE"
4353 else
4354 no_cache=1
4355 fi
4356
4357 ac_cv_use_serial='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4358
4359fi
4360
4361
4362 eval "$ac_cv_use_serial"
4363 if test "$no_cache" != 1; then
4364 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4365 fi
4366
4367 if test "$wxUSE_SERIAL" = yes; then
4368 echo "$ac_t""yes" 1>&6
4369 else
4370 echo "$ac_t""no" 1>&6
4371 fi
4372
4373
4374if test "$wxUSE_GUI" = "yes"; then
4375
4376
4377
4378 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4379echo "configure:4380: checking for --enable-docview" >&5
4380 no_cache=0
4381 # Check whether --enable-docview or --disable-docview was given.
4382if test "${enable_docview+set}" = set; then
4383 enableval="$enable_docview"
4384
4385 if test "$enableval" = yes; then
4386 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4387 else
4388 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4389 fi
4390
4391else
4392
4393 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4394 if test "x$LINE" != x ; then
4395 eval "DEFAULT_$LINE"
4396 else
4397 no_cache=1
4398 fi
4399
4400 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4401
4402fi
4403
4404
4405 eval "$ac_cv_use_docview"
4406 if test "$no_cache" != 1; then
4407 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4408 fi
4409
4410 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4411 echo "$ac_t""yes" 1>&6
4412 else
4413 echo "$ac_t""no" 1>&6
4414 fi
4415
4416
4417 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4418echo "configure:4419: checking for --enable-help" >&5
4419 no_cache=0
4420 # Check whether --enable-help or --disable-help was given.
4421if test "${enable_help+set}" = set; then
4422 enableval="$enable_help"
4423
4424 if test "$enableval" = yes; then
4425 ac_cv_use_help='wxUSE_HELP=yes'
4426 else
4427 ac_cv_use_help='wxUSE_HELP=no'
4428 fi
4429
4430else
4431
4432 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4433 if test "x$LINE" != x ; then
4434 eval "DEFAULT_$LINE"
4435 else
4436 no_cache=1
4437 fi
4438
4439 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4440
4441fi
4442
4443
4444 eval "$ac_cv_use_help"
4445 if test "$no_cache" != 1; then
4446 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4447 fi
4448
4449 if test "$wxUSE_HELP" = yes; then
4450 echo "$ac_t""yes" 1>&6
4451 else
4452 echo "$ac_t""no" 1>&6
4453 fi
4454
4455
4456 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4457echo "configure:4458: checking for --enable-mshtmlhelp" >&5
4458 no_cache=0
4459 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4460if test "${enable_mshtmlhelp+set}" = set; then
4461 enableval="$enable_mshtmlhelp"
4462
4463 if test "$enableval" = yes; then
4464 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
4465 else
4466 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
4467 fi
4468
4469else
4470
4471 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4472 if test "x$LINE" != x ; then
4473 eval "DEFAULT_$LINE"
4474 else
4475 no_cache=1
4476 fi
4477
4478 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4479
4480fi
4481
4482
4483 eval "$ac_cv_use_mshtmlhelp"
4484 if test "$no_cache" != 1; then
4485 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4486 fi
4487
4488 if test "$wxUSE_MS_HTML_HELP" = yes; then
4489 echo "$ac_t""yes" 1>&6
4490 else
4491 echo "$ac_t""no" 1>&6
4492 fi
4493
4494
4495 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4496echo "configure:4497: checking for --enable-html" >&5
4497 no_cache=0
4498 # Check whether --enable-html or --disable-html was given.
4499if test "${enable_html+set}" = set; then
4500 enableval="$enable_html"
4501
4502 if test "$enableval" = yes; then
4503 ac_cv_use_html='wxUSE_HTML=yes'
4504 else
4505 ac_cv_use_html='wxUSE_HTML=no'
4506 fi
4507
4508else
4509
4510 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4511 if test "x$LINE" != x ; then
4512 eval "DEFAULT_$LINE"
4513 else
4514 no_cache=1
4515 fi
4516
4517 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4518
4519fi
4520
4521
4522 eval "$ac_cv_use_html"
4523 if test "$no_cache" != 1; then
4524 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4525 fi
4526
4527 if test "$wxUSE_HTML" = yes; then
4528 echo "$ac_t""yes" 1>&6
4529 else
4530 echo "$ac_t""no" 1>&6
4531 fi
4532
4533
4534 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4535echo "configure:4536: checking for --enable-htmlhelp" >&5
4536 no_cache=0
4537 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4538if test "${enable_htmlhelp+set}" = set; then
4539 enableval="$enable_htmlhelp"
4540
4541 if test "$enableval" = yes; then
4542 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
4543 else
4544 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
4545 fi
4546
4547else
4548
4549 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4550 if test "x$LINE" != x ; then
4551 eval "DEFAULT_$LINE"
4552 else
4553 no_cache=1
4554 fi
4555
4556 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4557
4558fi
4559
4560
4561 eval "$ac_cv_use_htmlhelp"
4562 if test "$no_cache" != 1; then
4563 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4564 fi
4565
4566 if test "$wxUSE_WXHTML_HELP" = yes; then
4567 echo "$ac_t""yes" 1>&6
4568 else
4569 echo "$ac_t""no" 1>&6
4570 fi
4571
4572
4573 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4574echo "configure:4575: checking for --enable-constraints" >&5
4575 no_cache=0
4576 # Check whether --enable-constraints or --disable-constraints was given.
4577if test "${enable_constraints+set}" = set; then
4578 enableval="$enable_constraints"
4579
4580 if test "$enableval" = yes; then
4581 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
4582 else
4583 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
4584 fi
4585
4586else
4587
4588 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4589 if test "x$LINE" != x ; then
4590 eval "DEFAULT_$LINE"
4591 else
4592 no_cache=1
4593 fi
4594
4595 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4596
4597fi
4598
4599
4600 eval "$ac_cv_use_constraints"
4601 if test "$no_cache" != 1; then
4602 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4603 fi
4604
4605 if test "$wxUSE_CONSTRAINTS" = yes; then
4606 echo "$ac_t""yes" 1>&6
4607 else
4608 echo "$ac_t""no" 1>&6
4609 fi
4610
4611
4612 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4613echo "configure:4614: checking for --enable-printarch" >&5
4614 no_cache=0
4615 # Check whether --enable-printarch or --disable-printarch was given.
4616if test "${enable_printarch+set}" = set; then
4617 enableval="$enable_printarch"
4618
4619 if test "$enableval" = yes; then
4620 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
4621 else
4622 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
4623 fi
4624
4625else
4626
4627 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4628 if test "x$LINE" != x ; then
4629 eval "DEFAULT_$LINE"
4630 else
4631 no_cache=1
4632 fi
4633
4634 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4635
4636fi
4637
4638
4639 eval "$ac_cv_use_printarch"
4640 if test "$no_cache" != 1; then
4641 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4642 fi
4643
4644 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4645 echo "$ac_t""yes" 1>&6
4646 else
4647 echo "$ac_t""no" 1>&6
4648 fi
4649
4650
4651 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4652echo "configure:4653: checking for --enable-mdi" >&5
4653 no_cache=0
4654 # Check whether --enable-mdi or --disable-mdi was given.
4655if test "${enable_mdi+set}" = set; then
4656 enableval="$enable_mdi"
4657
4658 if test "$enableval" = yes; then
4659 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
4660 else
4661 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
4662 fi
4663
4664else
4665
4666 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4667 if test "x$LINE" != x ; then
4668 eval "DEFAULT_$LINE"
4669 else
4670 no_cache=1
4671 fi
4672
4673 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4674
4675fi
4676
4677
4678 eval "$ac_cv_use_mdi"
4679 if test "$no_cache" != 1; then
4680 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4681 fi
4682
4683 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4684 echo "$ac_t""yes" 1>&6
4685 else
4686 echo "$ac_t""no" 1>&6
4687 fi
4688
4689
4690 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4691echo "configure:4692: checking for --enable-loggui" >&5
4692 no_cache=0
4693 # Check whether --enable-loggui or --disable-loggui was given.
4694if test "${enable_loggui+set}" = set; then
4695 enableval="$enable_loggui"
4696
4697 if test "$enableval" = yes; then
4698 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
4699 else
4700 ac_cv_use_loggui='wxUSE_LOGGUI=no'
4701 fi
4702
4703else
4704
4705 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4706 if test "x$LINE" != x ; then
4707 eval "DEFAULT_$LINE"
4708 else
4709 no_cache=1
4710 fi
4711
4712 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4713
4714fi
4715
4716
4717 eval "$ac_cv_use_loggui"
4718 if test "$no_cache" != 1; then
4719 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4720 fi
4721
4722 if test "$wxUSE_LOGGUI" = yes; then
4723 echo "$ac_t""yes" 1>&6
4724 else
4725 echo "$ac_t""no" 1>&6
4726 fi
4727
4728
4729 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4730echo "configure:4731: checking for --enable-logwin" >&5
4731 no_cache=0
4732 # Check whether --enable-logwin or --disable-logwin was given.
4733if test "${enable_logwin+set}" = set; then
4734 enableval="$enable_logwin"
4735
4736 if test "$enableval" = yes; then
4737 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
4738 else
4739 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
4740 fi
4741
4742else
4743
4744 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4745 if test "x$LINE" != x ; then
4746 eval "DEFAULT_$LINE"
4747 else
4748 no_cache=1
4749 fi
4750
4751 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4752
4753fi
4754
4755
4756 eval "$ac_cv_use_logwin"
4757 if test "$no_cache" != 1; then
4758 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4759 fi
4760
4761 if test "$wxUSE_LOGWINDOW" = yes; then
4762 echo "$ac_t""yes" 1>&6
4763 else
4764 echo "$ac_t""no" 1>&6
4765 fi
4766
4767
4768 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
4769echo "configure:4770: checking for --enable-logdialog" >&5
4770 no_cache=0
4771 # Check whether --enable-logdialog or --disable-logdialog was given.
4772if test "${enable_logdialog+set}" = set; then
4773 enableval="$enable_logdialog"
4774
4775 if test "$enableval" = yes; then
4776 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
4777 else
4778 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
4779 fi
4780
4781else
4782
4783 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
4784 if test "x$LINE" != x ; then
4785 eval "DEFAULT_$LINE"
4786 else
4787 no_cache=1
4788 fi
4789
4790 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
4791
4792fi
4793
4794
4795 eval "$ac_cv_use_logdialog"
4796 if test "$no_cache" != 1; then
4797 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
4798 fi
4799
4800 if test "$wxUSE_LOGDIALOG" = yes; then
4801 echo "$ac_t""yes" 1>&6
4802 else
4803 echo "$ac_t""no" 1>&6
4804 fi
4805
4806
4807
4808 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4809echo "configure:4810: checking for --enable-postscript" >&5
4810 no_cache=0
4811 # Check whether --enable-postscript or --disable-postscript was given.
4812if test "${enable_postscript+set}" = set; then
4813 enableval="$enable_postscript"
4814
4815 if test "$enableval" = yes; then
4816 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
4817 else
4818 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
4819 fi
4820
4821else
4822
4823 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4824 if test "x$LINE" != x ; then
4825 eval "DEFAULT_$LINE"
4826 else
4827 no_cache=1
4828 fi
4829
4830 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4831
4832fi
4833
4834
4835 eval "$ac_cv_use_postscript"
4836 if test "$no_cache" != 1; then
4837 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4838 fi
4839
4840 if test "$wxUSE_POSTSCRIPT" = yes; then
4841 echo "$ac_t""yes" 1>&6
4842 else
4843 echo "$ac_t""no" 1>&6
4844 fi
4845
4846
4847
4848
4849
4850 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4851echo "configure:4852: checking for --enable-prologio" >&5
4852 no_cache=0
4853 # Check whether --enable-prologio or --disable-prologio was given.
4854if test "${enable_prologio+set}" = set; then
4855 enableval="$enable_prologio"
4856
4857 if test "$enableval" = yes; then
4858 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
4859 else
4860 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
4861 fi
4862
4863else
4864
4865 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4866 if test "x$LINE" != x ; then
4867 eval "DEFAULT_$LINE"
4868 else
4869 no_cache=1
4870 fi
4871
4872 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4873
4874fi
4875
4876
4877 eval "$ac_cv_use_prologio"
4878 if test "$no_cache" != 1; then
4879 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4880 fi
4881
4882 if test "$wxUSE_PROLOGIO" = yes; then
4883 echo "$ac_t""yes" 1>&6
4884 else
4885 echo "$ac_t""no" 1>&6
4886 fi
4887
4888
4889 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4890echo "configure:4891: checking for --enable-resources" >&5
4891 no_cache=0
4892 # Check whether --enable-resources or --disable-resources was given.
4893if test "${enable_resources+set}" = set; then
4894 enableval="$enable_resources"
4895
4896 if test "$enableval" = yes; then
4897 ac_cv_use_resources='wxUSE_RESOURCES=yes'
4898 else
4899 ac_cv_use_resources='wxUSE_RESOURCES=no'
4900 fi
4901
4902else
4903
4904 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4905 if test "x$LINE" != x ; then
4906 eval "DEFAULT_$LINE"
4907 else
4908 no_cache=1
4909 fi
4910
4911 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4912
4913fi
4914
4915
4916 eval "$ac_cv_use_resources"
4917 if test "$no_cache" != 1; then
4918 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4919 fi
4920
4921 if test "$wxUSE_RESOURCES" = yes; then
4922 echo "$ac_t""yes" 1>&6
4923 else
4924 echo "$ac_t""no" 1>&6
4925 fi
4926
4927
4928
4929 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4930echo "configure:4931: checking for --enable-xresources" >&5
4931 no_cache=0
4932 # Check whether --enable-xresources or --disable-xresources was given.
4933if test "${enable_xresources+set}" = set; then
4934 enableval="$enable_xresources"
4935
4936 if test "$enableval" = yes; then
4937 ac_cv_use_xresources='wxUSE_X_RESOURCES=yes'
4938 else
4939 ac_cv_use_xresources='wxUSE_X_RESOURCES=no'
4940 fi
4941
4942else
4943
4944 LINE=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4945 if test "x$LINE" != x ; then
4946 eval "DEFAULT_$LINE"
4947 else
4948 no_cache=1
4949 fi
4950
4951 ac_cv_use_xresources='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4952
4953fi
4954
4955
4956 eval "$ac_cv_use_xresources"
4957 if test "$no_cache" != 1; then
4958 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4959 fi
4960
4961 if test "$wxUSE_X_RESOURCES" = yes; then
4962 echo "$ac_t""yes" 1>&6
4963 else
4964 echo "$ac_t""no" 1>&6
4965 fi
4966
4967
4968
4969
4970 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4971echo "configure:4972: checking for --enable-clipboard" >&5
4972 no_cache=0
4973 # Check whether --enable-clipboard or --disable-clipboard was given.
4974if test "${enable_clipboard+set}" = set; then
4975 enableval="$enable_clipboard"
4976
4977 if test "$enableval" = yes; then
4978 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
4979 else
4980 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
4981 fi
4982
4983else
4984
4985 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4986 if test "x$LINE" != x ; then
4987 eval "DEFAULT_$LINE"
4988 else
4989 no_cache=1
4990 fi
4991
4992 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4993
4994fi
4995
4996
4997 eval "$ac_cv_use_clipboard"
4998 if test "$no_cache" != 1; then
4999 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5000 fi
5001
5002 if test "$wxUSE_CLIPBOARD" = yes; then
5003 echo "$ac_t""yes" 1>&6
5004 else
5005 echo "$ac_t""no" 1>&6
5006 fi
5007
5008
5009 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5010echo "configure:5011: checking for --enable-dnd" >&5
5011 no_cache=0
5012 # Check whether --enable-dnd or --disable-dnd was given.
5013if test "${enable_dnd+set}" = set; then
5014 enableval="$enable_dnd"
5015
5016 if test "$enableval" = yes; then
5017 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
5018 else
5019 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
5020 fi
5021
5022else
5023
5024 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5025 if test "x$LINE" != x ; then
5026 eval "DEFAULT_$LINE"
5027 else
5028 no_cache=1
5029 fi
5030
5031 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5032
5033fi
5034
5035
5036 eval "$ac_cv_use_dnd"
5037 if test "$no_cache" != 1; then
5038 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5039 fi
5040
5041 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5042 echo "$ac_t""yes" 1>&6
5043 else
5044 echo "$ac_t""no" 1>&6
5045 fi
5046
5047
5048 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5049echo "configure:5050: checking for --enable-metafile" >&5
5050 no_cache=0
5051 # Check whether --enable-metafile or --disable-metafile was given.
5052if test "${enable_metafile+set}" = set; then
5053 enableval="$enable_metafile"
5054
5055 if test "$enableval" = yes; then
5056 ac_cv_use_metafile='wxUSE_METAFILE=yes'
5057 else
5058 ac_cv_use_metafile='wxUSE_METAFILE=no'
5059 fi
5060
5061else
5062
5063 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5064 if test "x$LINE" != x ; then
5065 eval "DEFAULT_$LINE"
5066 else
5067 no_cache=1
5068 fi
5069
5070 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5071
5072fi
5073
5074
5075 eval "$ac_cv_use_metafile"
5076 if test "$no_cache" != 1; then
5077 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5078 fi
5079
5080 if test "$wxUSE_METAFILE" = yes; then
5081 echo "$ac_t""yes" 1>&6
5082 else
5083 echo "$ac_t""no" 1>&6
5084 fi
5085
5086
5087
5088 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5089echo "configure:5090: checking for --enable-treelayout" >&5
5090 no_cache=0
5091 # Check whether --enable-treelayout or --disable-treelayout was given.
5092if test "${enable_treelayout+set}" = set; then
5093 enableval="$enable_treelayout"
5094
5095 if test "$enableval" = yes; then
5096 ac_cv_use_treelayout='wxUSE_TREELAYOUT=yes'
5097 else
5098 ac_cv_use_treelayout='wxUSE_TREELAYOUT=no'
5099 fi
5100
5101else
5102
5103 LINE=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5104 if test "x$LINE" != x ; then
5105 eval "DEFAULT_$LINE"
5106 else
5107 no_cache=1
5108 fi
5109
5110 ac_cv_use_treelayout='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5111
5112fi
5113
5114
5115 eval "$ac_cv_use_treelayout"
5116 if test "$no_cache" != 1; then
5117 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5118 fi
5119
5120 if test "$wxUSE_TREELAYOUT" = yes; then
5121 echo "$ac_t""yes" 1>&6
5122 else
5123 echo "$ac_t""no" 1>&6
5124 fi
5125
5126
5127
5128
5129 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5130echo "configure:5131: checking for --enable-controls" >&5
5131 no_cache=0
5132 # Check whether --enable-controls or --disable-controls was given.
5133if test "${enable_controls+set}" = set; then
5134 enableval="$enable_controls"
5135
5136 if test "$enableval" = yes; then
5137 ac_cv_use_controls='wxUSE_CONTROLS=yes'
5138 else
5139 ac_cv_use_controls='wxUSE_CONTROLS=no'
5140 fi
5141
5142else
5143
5144 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5145 if test "x$LINE" != x ; then
5146 eval "DEFAULT_$LINE"
5147 else
5148 no_cache=1
5149 fi
5150
5151 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5152
5153fi
5154
5155
5156 eval "$ac_cv_use_controls"
5157 if test "$no_cache" != 1; then
5158 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5159 fi
5160
5161 if test "$wxUSE_CONTROLS" = yes; then
5162 echo "$ac_t""yes" 1>&6
5163 else
5164 echo "$ac_t""no" 1>&6
5165 fi
5166
5167
5168if test "$wxUSE_CONTROLS" = "yes"; then
5169 DEFAULT_wxUSE_ACCEL=yes
5170 DEFAULT_wxUSE_BMPBUTTON=yes
5171 DEFAULT_wxUSE_BUTTON=yes
5172 DEFAULT_wxUSE_CALCTRL=no
5173 DEFAULT_wxUSE_CARET=yes
5174 DEFAULT_wxUSE_COMBOBOX=yes
5175 DEFAULT_wxUSE_CHECKBOX=yes
5176 DEFAULT_wxUSE_CHECKLISTBOX=yes
5177 DEFAULT_wxUSE_CHOICE=yes
5178 DEFAULT_wxUSE_GAUGE=yes
5179 DEFAULT_wxUSE_GRID=yes
5180 DEFAULT_wxUSE_NEW_GRID=yes
5181 DEFAULT_wxUSE_IMAGLIST=yes
5182 DEFAULT_wxUSE_LISTBOX=yes
5183 DEFAULT_wxUSE_LISTCTRL=yes
5184 DEFAULT_wxUSE_NOTEBOOK=yes
5185 DEFAULT_wxUSE_PROPSHEET=yes
5186 DEFAULT_wxUSE_RADIOBOX=yes
5187 DEFAULT_wxUSE_RADIOBTN=yes
5188 DEFAULT_wxUSE_SASH=yes
5189 DEFAULT_wxUSE_SCROLLBAR=yes
5190 DEFAULT_wxUSE_SLIDER=yes
5191 DEFAULT_wxUSE_SPINBTN=yes
5192 DEFAULT_wxUSE_SPINCTRL=yes
5193 DEFAULT_wxUSE_SPLITTER=yes
5194 DEFAULT_wxUSE_STATBMP=yes
5195 DEFAULT_wxUSE_STATBOX=yes
5196 DEFAULT_wxUSE_STATLINE=yes
5197 DEFAULT_wxUSE_STATUSBAR=yes
5198 DEFAULT_wxUSE_TAB_DIALOG=yes
5199 DEFAULT_wxUSE_TOGGLEBTN=yes
5200 DEFAULT_wxUSE_TOOLBAR=yes
5201 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
5202 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
5203 DEFAULT_wxUSE_TOOLTIPS=yes
5204 DEFAULT_wxUSE_TREECTRL=yes
5205 DEFAULT_wxUSE_POPUPWIN=yes
5206 DEFAULT_wxUSE_TIPWINDOW=yes
5207elif test "$wxUSE_CONTROLS" = "no"; then
5208 DEFAULT_wxUSE_ACCEL=no
5209 DEFAULT_wxUSE_BMPBUTTON=no
5210 DEFAULT_wxUSE_BUTTON=no
5211 DEFAULT_wxUSE_CALCTRL=no
5212 DEFAULT_wxUSE_CARET=no
5213 DEFAULT_wxUSE_COMBOBOX=no
5214 DEFAULT_wxUSE_CHECKBOX=no
5215 DEFAULT_wxUSE_CHECKLISTBOX=no
5216 DEFAULT_wxUSE_CHOICE=no
5217 DEFAULT_wxUSE_GAUGE=no
5218 DEFAULT_wxUSE_GRID=no
5219 DEFAULT_wxUSE_NEW_GRID=no
5220 DEFAULT_wxUSE_IMAGLIST=no
5221 DEFAULT_wxUSE_LISTBOX=no
5222 DEFAULT_wxUSE_LISTCTRL=no
5223 DEFAULT_wxUSE_NOTEBOOK=no
5224 DEFAULT_wxUSE_PROPSHEET=no
5225 DEFAULT_wxUSE_RADIOBOX=no
5226 DEFAULT_wxUSE_RADIOBTN=no
5227 DEFAULT_wxUSE_SASH=no
5228 DEFAULT_wxUSE_SCROLLBAR=no
5229 DEFAULT_wxUSE_SLIDER=no
5230 DEFAULT_wxUSE_SPINBTN=no
5231 DEFAULT_wxUSE_SPINCTRL=no
5232 DEFAULT_wxUSE_SPLITTER=no
5233 DEFAULT_wxUSE_STATBMP=no
5234 DEFAULT_wxUSE_STATBOX=no
5235 DEFAULT_wxUSE_STATLINE=no
5236 DEFAULT_wxUSE_STATUSBAR=no
5237 DEFAULT_wxUSE_TAB_DIALOG=no
5238 DEFAULT_wxUSE_TOGGLEBTN=no
5239 DEFAULT_wxUSE_TOOLBAR=no
5240 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
5241 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
5242 DEFAULT_wxUSE_TOOLTIPS=no
5243 DEFAULT_wxUSE_TREECTRL=no
5244 DEFAULT_wxUSE_POPUPWIN=no
5245 DEFAULT_wxUSE_TIPWINDOW=no
5246fi
5247
5248
5249 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5250echo "configure:5251: checking for --enable-accel" >&5
5251 no_cache=0
5252 # Check whether --enable-accel or --disable-accel was given.
5253if test "${enable_accel+set}" = set; then
5254 enableval="$enable_accel"
5255
5256 if test "$enableval" = yes; then
5257 ac_cv_use_accel='wxUSE_ACCEL=yes'
5258 else
5259 ac_cv_use_accel='wxUSE_ACCEL=no'
5260 fi
5261
5262else
5263
5264 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5265 if test "x$LINE" != x ; then
5266 eval "DEFAULT_$LINE"
5267 else
5268 no_cache=1
5269 fi
5270
5271 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5272
5273fi
5274
5275
5276 eval "$ac_cv_use_accel"
5277 if test "$no_cache" != 1; then
5278 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5279 fi
5280
5281 if test "$wxUSE_ACCEL" = yes; then
5282 echo "$ac_t""yes" 1>&6
5283 else
5284 echo "$ac_t""no" 1>&6
5285 fi
5286
5287
5288 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5289echo "configure:5290: checking for --enable-button" >&5
5290 no_cache=0
5291 # Check whether --enable-button or --disable-button was given.
5292if test "${enable_button+set}" = set; then
5293 enableval="$enable_button"
5294
5295 if test "$enableval" = yes; then
5296 ac_cv_use_button='wxUSE_BUTTON=yes'
5297 else
5298 ac_cv_use_button='wxUSE_BUTTON=no'
5299 fi
5300
5301else
5302
5303 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5304 if test "x$LINE" != x ; then
5305 eval "DEFAULT_$LINE"
5306 else
5307 no_cache=1
5308 fi
5309
5310 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5311
5312fi
5313
5314
5315 eval "$ac_cv_use_button"
5316 if test "$no_cache" != 1; then
5317 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5318 fi
5319
5320 if test "$wxUSE_BUTTON" = yes; then
5321 echo "$ac_t""yes" 1>&6
5322 else
5323 echo "$ac_t""no" 1>&6
5324 fi
5325
5326
5327 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5328echo "configure:5329: checking for --enable-bmpbutton" >&5
5329 no_cache=0
5330 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5331if test "${enable_bmpbutton+set}" = set; then
5332 enableval="$enable_bmpbutton"
5333
5334 if test "$enableval" = yes; then
5335 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
5336 else
5337 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
5338 fi
5339
5340else
5341
5342 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5343 if test "x$LINE" != x ; then
5344 eval "DEFAULT_$LINE"
5345 else
5346 no_cache=1
5347 fi
5348
5349 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5350
5351fi
5352
5353
5354 eval "$ac_cv_use_bmpbutton"
5355 if test "$no_cache" != 1; then
5356 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5357 fi
5358
5359 if test "$wxUSE_BMPBUTTON" = yes; then
5360 echo "$ac_t""yes" 1>&6
5361 else
5362 echo "$ac_t""no" 1>&6
5363 fi
5364
5365
5366 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5367echo "configure:5368: checking for --enable-calendar" >&5
5368 no_cache=0
5369 # Check whether --enable-calendar or --disable-calendar was given.
5370if test "${enable_calendar+set}" = set; then
5371 enableval="$enable_calendar"
5372
5373 if test "$enableval" = yes; then
5374 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
5375 else
5376 ac_cv_use_calendar='wxUSE_CALCTRL=no'
5377 fi
5378
5379else
5380
5381 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5382 if test "x$LINE" != x ; then
5383 eval "DEFAULT_$LINE"
5384 else
5385 no_cache=1
5386 fi
5387
5388 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5389
5390fi
5391
5392
5393 eval "$ac_cv_use_calendar"
5394 if test "$no_cache" != 1; then
5395 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5396 fi
5397
5398 if test "$wxUSE_CALCTRL" = yes; then
5399 echo "$ac_t""yes" 1>&6
5400 else
5401 echo "$ac_t""no" 1>&6
5402 fi
5403
5404
5405 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5406echo "configure:5407: checking for --enable-caret" >&5
5407 no_cache=0
5408 # Check whether --enable-caret or --disable-caret was given.
5409if test "${enable_caret+set}" = set; then
5410 enableval="$enable_caret"
5411
5412 if test "$enableval" = yes; then
5413 ac_cv_use_caret='wxUSE_CARET=yes'
5414 else
5415 ac_cv_use_caret='wxUSE_CARET=no'
5416 fi
5417
5418else
5419
5420 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5421 if test "x$LINE" != x ; then
5422 eval "DEFAULT_$LINE"
5423 else
5424 no_cache=1
5425 fi
5426
5427 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5428
5429fi
5430
5431
5432 eval "$ac_cv_use_caret"
5433 if test "$no_cache" != 1; then
5434 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5435 fi
5436
5437 if test "$wxUSE_CARET" = yes; then
5438 echo "$ac_t""yes" 1>&6
5439 else
5440 echo "$ac_t""no" 1>&6
5441 fi
5442
5443
5444 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5445echo "configure:5446: checking for --enable-checkbox" >&5
5446 no_cache=0
5447 # Check whether --enable-checkbox or --disable-checkbox was given.
5448if test "${enable_checkbox+set}" = set; then
5449 enableval="$enable_checkbox"
5450
5451 if test "$enableval" = yes; then
5452 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
5453 else
5454 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
5455 fi
5456
5457else
5458
5459 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5460 if test "x$LINE" != x ; then
5461 eval "DEFAULT_$LINE"
5462 else
5463 no_cache=1
5464 fi
5465
5466 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5467
5468fi
5469
5470
5471 eval "$ac_cv_use_checkbox"
5472 if test "$no_cache" != 1; then
5473 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5474 fi
5475
5476 if test "$wxUSE_CHECKBOX" = yes; then
5477 echo "$ac_t""yes" 1>&6
5478 else
5479 echo "$ac_t""no" 1>&6
5480 fi
5481
5482
5483 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5484echo "configure:5485: checking for --enable-checklst" >&5
5485 no_cache=0
5486 # Check whether --enable-checklst or --disable-checklst was given.
5487if test "${enable_checklst+set}" = set; then
5488 enableval="$enable_checklst"
5489
5490 if test "$enableval" = yes; then
5491 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
5492 else
5493 ac_cv_use_checklst='wxUSE_CHECKLST=no'
5494 fi
5495
5496else
5497
5498 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5499 if test "x$LINE" != x ; then
5500 eval "DEFAULT_$LINE"
5501 else
5502 no_cache=1
5503 fi
5504
5505 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5506
5507fi
5508
5509
5510 eval "$ac_cv_use_checklst"
5511 if test "$no_cache" != 1; then
5512 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5513 fi
5514
5515 if test "$wxUSE_CHECKLST" = yes; then
5516 echo "$ac_t""yes" 1>&6
5517 else
5518 echo "$ac_t""no" 1>&6
5519 fi
5520
5521
5522 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5523echo "configure:5524: checking for --enable-choice" >&5
5524 no_cache=0
5525 # Check whether --enable-choice or --disable-choice was given.
5526if test "${enable_choice+set}" = set; then
5527 enableval="$enable_choice"
5528
5529 if test "$enableval" = yes; then
5530 ac_cv_use_choice='wxUSE_CHOICE=yes'
5531 else
5532 ac_cv_use_choice='wxUSE_CHOICE=no'
5533 fi
5534
5535else
5536
5537 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5538 if test "x$LINE" != x ; then
5539 eval "DEFAULT_$LINE"
5540 else
5541 no_cache=1
5542 fi
5543
5544 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5545
5546fi
5547
5548
5549 eval "$ac_cv_use_choice"
5550 if test "$no_cache" != 1; then
5551 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5552 fi
5553
5554 if test "$wxUSE_CHOICE" = yes; then
5555 echo "$ac_t""yes" 1>&6
5556 else
5557 echo "$ac_t""no" 1>&6
5558 fi
5559
5560
5561 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5562echo "configure:5563: checking for --enable-combobox" >&5
5563 no_cache=0
5564 # Check whether --enable-combobox or --disable-combobox was given.
5565if test "${enable_combobox+set}" = set; then
5566 enableval="$enable_combobox"
5567
5568 if test "$enableval" = yes; then
5569 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
5570 else
5571 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
5572 fi
5573
5574else
5575
5576 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5577 if test "x$LINE" != x ; then
5578 eval "DEFAULT_$LINE"
5579 else
5580 no_cache=1
5581 fi
5582
5583 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5584
5585fi
5586
5587
5588 eval "$ac_cv_use_combobox"
5589 if test "$no_cache" != 1; then
5590 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5591 fi
5592
5593 if test "$wxUSE_COMBOBOX" = yes; then
5594 echo "$ac_t""yes" 1>&6
5595 else
5596 echo "$ac_t""no" 1>&6
5597 fi
5598
5599
5600 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5601echo "configure:5602: checking for --enable-gauge" >&5
5602 no_cache=0
5603 # Check whether --enable-gauge or --disable-gauge was given.
5604if test "${enable_gauge+set}" = set; then
5605 enableval="$enable_gauge"
5606
5607 if test "$enableval" = yes; then
5608 ac_cv_use_gauge='wxUSE_GAUGE=yes'
5609 else
5610 ac_cv_use_gauge='wxUSE_GAUGE=no'
5611 fi
5612
5613else
5614
5615 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5616 if test "x$LINE" != x ; then
5617 eval "DEFAULT_$LINE"
5618 else
5619 no_cache=1
5620 fi
5621
5622 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5623
5624fi
5625
5626
5627 eval "$ac_cv_use_gauge"
5628 if test "$no_cache" != 1; then
5629 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5630 fi
5631
5632 if test "$wxUSE_GAUGE" = yes; then
5633 echo "$ac_t""yes" 1>&6
5634 else
5635 echo "$ac_t""no" 1>&6
5636 fi
5637
5638
5639 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5640echo "configure:5641: checking for --enable-grid" >&5
5641 no_cache=0
5642 # Check whether --enable-grid or --disable-grid was given.
5643if test "${enable_grid+set}" = set; then
5644 enableval="$enable_grid"
5645
5646 if test "$enableval" = yes; then
5647 ac_cv_use_grid='wxUSE_GRID=yes'
5648 else
5649 ac_cv_use_grid='wxUSE_GRID=no'
5650 fi
5651
5652else
5653
5654 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5655 if test "x$LINE" != x ; then
5656 eval "DEFAULT_$LINE"
5657 else
5658 no_cache=1
5659 fi
5660
5661 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5662
5663fi
5664
5665
5666 eval "$ac_cv_use_grid"
5667 if test "$no_cache" != 1; then
5668 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5669 fi
5670
5671 if test "$wxUSE_GRID" = yes; then
5672 echo "$ac_t""yes" 1>&6
5673 else
5674 echo "$ac_t""no" 1>&6
5675 fi
5676
5677
5678 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5679echo "configure:5680: checking for --enable-newgrid" >&5
5680 no_cache=0
5681 # Check whether --enable-newgrid or --disable-newgrid was given.
5682if test "${enable_newgrid+set}" = set; then
5683 enableval="$enable_newgrid"
5684
5685 if test "$enableval" = yes; then
5686 ac_cv_use_newgrid='wxUSE_NEW_GRID=yes'
5687 else
5688 ac_cv_use_newgrid='wxUSE_NEW_GRID=no'
5689 fi
5690
5691else
5692
5693 LINE=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5694 if test "x$LINE" != x ; then
5695 eval "DEFAULT_$LINE"
5696 else
5697 no_cache=1
5698 fi
5699
5700 ac_cv_use_newgrid='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5701
5702fi
5703
5704
5705 eval "$ac_cv_use_newgrid"
5706 if test "$no_cache" != 1; then
5707 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5708 fi
5709
5710 if test "$wxUSE_NEW_GRID" = yes; then
5711 echo "$ac_t""yes" 1>&6
5712 else
5713 echo "$ac_t""no" 1>&6
5714 fi
5715
5716
5717 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5718echo "configure:5719: checking for --enable-imaglist" >&5
5719 no_cache=0
5720 # Check whether --enable-imaglist or --disable-imaglist was given.
5721if test "${enable_imaglist+set}" = set; then
5722 enableval="$enable_imaglist"
5723
5724 if test "$enableval" = yes; then
5725 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
5726 else
5727 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
5728 fi
5729
5730else
5731
5732 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5733 if test "x$LINE" != x ; then
5734 eval "DEFAULT_$LINE"
5735 else
5736 no_cache=1
5737 fi
5738
5739 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5740
5741fi
5742
5743
5744 eval "$ac_cv_use_imaglist"
5745 if test "$no_cache" != 1; then
5746 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5747 fi
5748
5749 if test "$wxUSE_IMAGLIST" = yes; then
5750 echo "$ac_t""yes" 1>&6
5751 else
5752 echo "$ac_t""no" 1>&6
5753 fi
5754
5755
5756 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5757echo "configure:5758: checking for --enable-listbox" >&5
5758 no_cache=0
5759 # Check whether --enable-listbox or --disable-listbox was given.
5760if test "${enable_listbox+set}" = set; then
5761 enableval="$enable_listbox"
5762
5763 if test "$enableval" = yes; then
5764 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
5765 else
5766 ac_cv_use_listbox='wxUSE_LISTBOX=no'
5767 fi
5768
5769else
5770
5771 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5772 if test "x$LINE" != x ; then
5773 eval "DEFAULT_$LINE"
5774 else
5775 no_cache=1
5776 fi
5777
5778 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5779
5780fi
5781
5782
5783 eval "$ac_cv_use_listbox"
5784 if test "$no_cache" != 1; then
5785 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5786 fi
5787
5788 if test "$wxUSE_LISTBOX" = yes; then
5789 echo "$ac_t""yes" 1>&6
5790 else
5791 echo "$ac_t""no" 1>&6
5792 fi
5793
5794
5795 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5796echo "configure:5797: checking for --enable-listctrl" >&5
5797 no_cache=0
5798 # Check whether --enable-listctrl or --disable-listctrl was given.
5799if test "${enable_listctrl+set}" = set; then
5800 enableval="$enable_listctrl"
5801
5802 if test "$enableval" = yes; then
5803 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
5804 else
5805 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
5806 fi
5807
5808else
5809
5810 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5811 if test "x$LINE" != x ; then
5812 eval "DEFAULT_$LINE"
5813 else
5814 no_cache=1
5815 fi
5816
5817 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5818
5819fi
5820
5821
5822 eval "$ac_cv_use_listctrl"
5823 if test "$no_cache" != 1; then
5824 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5825 fi
5826
5827 if test "$wxUSE_LISTCTRL" = yes; then
5828 echo "$ac_t""yes" 1>&6
5829 else
5830 echo "$ac_t""no" 1>&6
5831 fi
5832
5833
5834 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5835echo "configure:5836: checking for --enable-notebook" >&5
5836 no_cache=0
5837 # Check whether --enable-notebook or --disable-notebook was given.
5838if test "${enable_notebook+set}" = set; then
5839 enableval="$enable_notebook"
5840
5841 if test "$enableval" = yes; then
5842 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
5843 else
5844 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
5845 fi
5846
5847else
5848
5849 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5850 if test "x$LINE" != x ; then
5851 eval "DEFAULT_$LINE"
5852 else
5853 no_cache=1
5854 fi
5855
5856 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5857
5858fi
5859
5860
5861 eval "$ac_cv_use_notebook"
5862 if test "$no_cache" != 1; then
5863 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5864 fi
5865
5866 if test "$wxUSE_NOTEBOOK" = yes; then
5867 echo "$ac_t""yes" 1>&6
5868 else
5869 echo "$ac_t""no" 1>&6
5870 fi
5871
5872
5873 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5874echo "configure:5875: checking for --enable-propsheet" >&5
5875 no_cache=0
5876 # Check whether --enable-propsheet or --disable-propsheet was given.
5877if test "${enable_propsheet+set}" = set; then
5878 enableval="$enable_propsheet"
5879
5880 if test "$enableval" = yes; then
5881 ac_cv_use_propsheet='wxUSE_PROPSHEET=yes'
5882 else
5883 ac_cv_use_propsheet='wxUSE_PROPSHEET=no'
5884 fi
5885
5886else
5887
5888 LINE=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5889 if test "x$LINE" != x ; then
5890 eval "DEFAULT_$LINE"
5891 else
5892 no_cache=1
5893 fi
5894
5895 ac_cv_use_propsheet='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5896
5897fi
5898
5899
5900 eval "$ac_cv_use_propsheet"
5901 if test "$no_cache" != 1; then
5902 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5903 fi
5904
5905 if test "$wxUSE_PROPSHEET" = yes; then
5906 echo "$ac_t""yes" 1>&6
5907 else
5908 echo "$ac_t""no" 1>&6
5909 fi
5910
5911
5912 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5913echo "configure:5914: checking for --enable-radiobox" >&5
5914 no_cache=0
5915 # Check whether --enable-radiobox or --disable-radiobox was given.
5916if test "${enable_radiobox+set}" = set; then
5917 enableval="$enable_radiobox"
5918
5919 if test "$enableval" = yes; then
5920 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
5921 else
5922 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
5923 fi
5924
5925else
5926
5927 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5928 if test "x$LINE" != x ; then
5929 eval "DEFAULT_$LINE"
5930 else
5931 no_cache=1
5932 fi
5933
5934 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5935
5936fi
5937
5938
5939 eval "$ac_cv_use_radiobox"
5940 if test "$no_cache" != 1; then
5941 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5942 fi
5943
5944 if test "$wxUSE_RADIOBOX" = yes; then
5945 echo "$ac_t""yes" 1>&6
5946 else
5947 echo "$ac_t""no" 1>&6
5948 fi
5949
5950
5951 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5952echo "configure:5953: checking for --enable-radiobtn" >&5
5953 no_cache=0
5954 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5955if test "${enable_radiobtn+set}" = set; then
5956 enableval="$enable_radiobtn"
5957
5958 if test "$enableval" = yes; then
5959 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
5960 else
5961 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
5962 fi
5963
5964else
5965
5966 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5967 if test "x$LINE" != x ; then
5968 eval "DEFAULT_$LINE"
5969 else
5970 no_cache=1
5971 fi
5972
5973 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5974
5975fi
5976
5977
5978 eval "$ac_cv_use_radiobtn"
5979 if test "$no_cache" != 1; then
5980 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5981 fi
5982
5983 if test "$wxUSE_RADIOBTN" = yes; then
5984 echo "$ac_t""yes" 1>&6
5985 else
5986 echo "$ac_t""no" 1>&6
5987 fi
5988
5989
5990 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5991echo "configure:5992: checking for --enable-sash" >&5
5992 no_cache=0
5993 # Check whether --enable-sash or --disable-sash was given.
5994if test "${enable_sash+set}" = set; then
5995 enableval="$enable_sash"
5996
5997 if test "$enableval" = yes; then
5998 ac_cv_use_sash='wxUSE_SASH=yes'
5999 else
6000 ac_cv_use_sash='wxUSE_SASH=no'
6001 fi
6002
6003else
6004
6005 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6006 if test "x$LINE" != x ; then
6007 eval "DEFAULT_$LINE"
6008 else
6009 no_cache=1
6010 fi
6011
6012 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6013
6014fi
6015
6016
6017 eval "$ac_cv_use_sash"
6018 if test "$no_cache" != 1; then
6019 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6020 fi
6021
6022 if test "$wxUSE_SASH" = yes; then
6023 echo "$ac_t""yes" 1>&6
6024 else
6025 echo "$ac_t""no" 1>&6
6026 fi
6027
6028
6029 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6030echo "configure:6031: checking for --enable-scrollbar" >&5
6031 no_cache=0
6032 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6033if test "${enable_scrollbar+set}" = set; then
6034 enableval="$enable_scrollbar"
6035
6036 if test "$enableval" = yes; then
6037 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
6038 else
6039 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
6040 fi
6041
6042else
6043
6044 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6045 if test "x$LINE" != x ; then
6046 eval "DEFAULT_$LINE"
6047 else
6048 no_cache=1
6049 fi
6050
6051 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6052
6053fi
6054
6055
6056 eval "$ac_cv_use_scrollbar"
6057 if test "$no_cache" != 1; then
6058 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6059 fi
6060
6061 if test "$wxUSE_SCROLLBAR" = yes; then
6062 echo "$ac_t""yes" 1>&6
6063 else
6064 echo "$ac_t""no" 1>&6
6065 fi
6066
6067
6068 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6069echo "configure:6070: checking for --enable-slider" >&5
6070 no_cache=0
6071 # Check whether --enable-slider or --disable-slider was given.
6072if test "${enable_slider+set}" = set; then
6073 enableval="$enable_slider"
6074
6075 if test "$enableval" = yes; then
6076 ac_cv_use_slider='wxUSE_SLIDER=yes'
6077 else
6078 ac_cv_use_slider='wxUSE_SLIDER=no'
6079 fi
6080
6081else
6082
6083 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6084 if test "x$LINE" != x ; then
6085 eval "DEFAULT_$LINE"
6086 else
6087 no_cache=1
6088 fi
6089
6090 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6091
6092fi
6093
6094
6095 eval "$ac_cv_use_slider"
6096 if test "$no_cache" != 1; then
6097 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6098 fi
6099
6100 if test "$wxUSE_SLIDER" = yes; then
6101 echo "$ac_t""yes" 1>&6
6102 else
6103 echo "$ac_t""no" 1>&6
6104 fi
6105
6106
6107 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6108echo "configure:6109: checking for --enable-spinbtn" >&5
6109 no_cache=0
6110 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6111if test "${enable_spinbtn+set}" = set; then
6112 enableval="$enable_spinbtn"
6113
6114 if test "$enableval" = yes; then
6115 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
6116 else
6117 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
6118 fi
6119
6120else
6121
6122 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6123 if test "x$LINE" != x ; then
6124 eval "DEFAULT_$LINE"
6125 else
6126 no_cache=1
6127 fi
6128
6129 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6130
6131fi
6132
6133
6134 eval "$ac_cv_use_spinbtn"
6135 if test "$no_cache" != 1; then
6136 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6137 fi
6138
6139 if test "$wxUSE_SPINBTN" = yes; then
6140 echo "$ac_t""yes" 1>&6
6141 else
6142 echo "$ac_t""no" 1>&6
6143 fi
6144
6145
6146 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6147echo "configure:6148: checking for --enable-spinctrl" >&5
6148 no_cache=0
6149 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6150if test "${enable_spinctrl+set}" = set; then
6151 enableval="$enable_spinctrl"
6152
6153 if test "$enableval" = yes; then
6154 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
6155 else
6156 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
6157 fi
6158
6159else
6160
6161 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6162 if test "x$LINE" != x ; then
6163 eval "DEFAULT_$LINE"
6164 else
6165 no_cache=1
6166 fi
6167
6168 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6169
6170fi
6171
6172
6173 eval "$ac_cv_use_spinctrl"
6174 if test "$no_cache" != 1; then
6175 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6176 fi
6177
6178 if test "$wxUSE_SPINCTRL" = yes; then
6179 echo "$ac_t""yes" 1>&6
6180 else
6181 echo "$ac_t""no" 1>&6
6182 fi
6183
6184
6185 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6186echo "configure:6187: checking for --enable-splitter" >&5
6187 no_cache=0
6188 # Check whether --enable-splitter or --disable-splitter was given.
6189if test "${enable_splitter+set}" = set; then
6190 enableval="$enable_splitter"
6191
6192 if test "$enableval" = yes; then
6193 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
6194 else
6195 ac_cv_use_splitter='wxUSE_SPLITTER=no'
6196 fi
6197
6198else
6199
6200 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6201 if test "x$LINE" != x ; then
6202 eval "DEFAULT_$LINE"
6203 else
6204 no_cache=1
6205 fi
6206
6207 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6208
6209fi
6210
6211
6212 eval "$ac_cv_use_splitter"
6213 if test "$no_cache" != 1; then
6214 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6215 fi
6216
6217 if test "$wxUSE_SPLITTER" = yes; then
6218 echo "$ac_t""yes" 1>&6
6219 else
6220 echo "$ac_t""no" 1>&6
6221 fi
6222
6223
6224 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6225echo "configure:6226: checking for --enable-statbmp" >&5
6226 no_cache=0
6227 # Check whether --enable-statbmp or --disable-statbmp was given.
6228if test "${enable_statbmp+set}" = set; then
6229 enableval="$enable_statbmp"
6230
6231 if test "$enableval" = yes; then
6232 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
6233 else
6234 ac_cv_use_statbmp='wxUSE_STATBMP=no'
6235 fi
6236
6237else
6238
6239 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6240 if test "x$LINE" != x ; then
6241 eval "DEFAULT_$LINE"
6242 else
6243 no_cache=1
6244 fi
6245
6246 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6247
6248fi
6249
6250
6251 eval "$ac_cv_use_statbmp"
6252 if test "$no_cache" != 1; then
6253 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6254 fi
6255
6256 if test "$wxUSE_STATBMP" = yes; then
6257 echo "$ac_t""yes" 1>&6
6258 else
6259 echo "$ac_t""no" 1>&6
6260 fi
6261
6262
6263 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6264echo "configure:6265: checking for --enable-statbox" >&5
6265 no_cache=0
6266 # Check whether --enable-statbox or --disable-statbox was given.
6267if test "${enable_statbox+set}" = set; then
6268 enableval="$enable_statbox"
6269
6270 if test "$enableval" = yes; then
6271 ac_cv_use_statbox='wxUSE_STATBOX=yes'
6272 else
6273 ac_cv_use_statbox='wxUSE_STATBOX=no'
6274 fi
6275
6276else
6277
6278 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6279 if test "x$LINE" != x ; then
6280 eval "DEFAULT_$LINE"
6281 else
6282 no_cache=1
6283 fi
6284
6285 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6286
6287fi
6288
6289
6290 eval "$ac_cv_use_statbox"
6291 if test "$no_cache" != 1; then
6292 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6293 fi
6294
6295 if test "$wxUSE_STATBOX" = yes; then
6296 echo "$ac_t""yes" 1>&6
6297 else
6298 echo "$ac_t""no" 1>&6
6299 fi
6300
6301
6302 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6303echo "configure:6304: checking for --enable-statline" >&5
6304 no_cache=0
6305 # Check whether --enable-statline or --disable-statline was given.
6306if test "${enable_statline+set}" = set; then
6307 enableval="$enable_statline"
6308
6309 if test "$enableval" = yes; then
6310 ac_cv_use_statline='wxUSE_STATLINE=yes'
6311 else
6312 ac_cv_use_statline='wxUSE_STATLINE=no'
6313 fi
6314
6315else
6316
6317 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6318 if test "x$LINE" != x ; then
6319 eval "DEFAULT_$LINE"
6320 else
6321 no_cache=1
6322 fi
6323
6324 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6325
6326fi
6327
6328
6329 eval "$ac_cv_use_statline"
6330 if test "$no_cache" != 1; then
6331 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6332 fi
6333
6334 if test "$wxUSE_STATLINE" = yes; then
6335 echo "$ac_t""yes" 1>&6
6336 else
6337 echo "$ac_t""no" 1>&6
6338 fi
6339
6340
6341 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6342echo "configure:6343: checking for --enable-stattext" >&5
6343 no_cache=0
6344 # Check whether --enable-stattext or --disable-stattext was given.
6345if test "${enable_stattext+set}" = set; then
6346 enableval="$enable_stattext"
6347
6348 if test "$enableval" = yes; then
6349 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
6350 else
6351 ac_cv_use_stattext='wxUSE_STATTEXT=no'
6352 fi
6353
6354else
6355
6356 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6357 if test "x$LINE" != x ; then
6358 eval "DEFAULT_$LINE"
6359 else
6360 no_cache=1
6361 fi
6362
6363 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6364
6365fi
6366
6367
6368 eval "$ac_cv_use_stattext"
6369 if test "$no_cache" != 1; then
6370 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6371 fi
6372
6373 if test "$wxUSE_STATTEXT" = yes; then
6374 echo "$ac_t""yes" 1>&6
6375 else
6376 echo "$ac_t""no" 1>&6
6377 fi
6378
6379
6380 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6381echo "configure:6382: checking for --enable-statusbar" >&5
6382 no_cache=0
6383 # Check whether --enable-statusbar or --disable-statusbar was given.
6384if test "${enable_statusbar+set}" = set; then
6385 enableval="$enable_statusbar"
6386
6387 if test "$enableval" = yes; then
6388 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
6389 else
6390 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
6391 fi
6392
6393else
6394
6395 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6396 if test "x$LINE" != x ; then
6397 eval "DEFAULT_$LINE"
6398 else
6399 no_cache=1
6400 fi
6401
6402 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6403
6404fi
6405
6406
6407 eval "$ac_cv_use_statusbar"
6408 if test "$no_cache" != 1; then
6409 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6410 fi
6411
6412 if test "$wxUSE_STATUSBAR" = yes; then
6413 echo "$ac_t""yes" 1>&6
6414 else
6415 echo "$ac_t""no" 1>&6
6416 fi
6417
6418
6419 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6420echo "configure:6421: checking for --enable-tabdialog" >&5
6421 no_cache=0
6422 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6423if test "${enable_tabdialog+set}" = set; then
6424 enableval="$enable_tabdialog"
6425
6426 if test "$enableval" = yes; then
6427 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
6428 else
6429 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
6430 fi
6431
6432else
6433
6434 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6435 if test "x$LINE" != x ; then
6436 eval "DEFAULT_$LINE"
6437 else
6438 no_cache=1
6439 fi
6440
6441 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6442
6443fi
6444
6445
6446 eval "$ac_cv_use_tabdialog"
6447 if test "$no_cache" != 1; then
6448 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6449 fi
6450
6451 if test "$wxUSE_TABDIALOG" = yes; then
6452 echo "$ac_t""yes" 1>&6
6453 else
6454 echo "$ac_t""no" 1>&6
6455 fi
6456
6457
6458 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6459echo "configure:6460: checking for --enable-textctrl" >&5
6460 no_cache=0
6461 # Check whether --enable-textctrl or --disable-textctrl was given.
6462if test "${enable_textctrl+set}" = set; then
6463 enableval="$enable_textctrl"
6464
6465 if test "$enableval" = yes; then
6466 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
6467 else
6468 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
6469 fi
6470
6471else
6472
6473 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6474 if test "x$LINE" != x ; then
6475 eval "DEFAULT_$LINE"
6476 else
6477 no_cache=1
6478 fi
6479
6480 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6481
6482fi
6483
6484
6485 eval "$ac_cv_use_textctrl"
6486 if test "$no_cache" != 1; then
6487 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6488 fi
6489
6490 if test "$wxUSE_TEXTCTRL" = yes; then
6491 echo "$ac_t""yes" 1>&6
6492 else
6493 echo "$ac_t""no" 1>&6
6494 fi
6495
6496
6497 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6498echo "configure:6499: checking for --enable-togglebtn" >&5
6499 no_cache=0
6500 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6501if test "${enable_togglebtn+set}" = set; then
6502 enableval="$enable_togglebtn"
6503
6504 if test "$enableval" = yes; then
6505 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
6506 else
6507 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
6508 fi
6509
6510else
6511
6512 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6513 if test "x$LINE" != x ; then
6514 eval "DEFAULT_$LINE"
6515 else
6516 no_cache=1
6517 fi
6518
6519 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6520
6521fi
6522
6523
6524 eval "$ac_cv_use_togglebtn"
6525 if test "$no_cache" != 1; then
6526 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6527 fi
6528
6529 if test "$wxUSE_TOGGLEBTN" = yes; then
6530 echo "$ac_t""yes" 1>&6
6531 else
6532 echo "$ac_t""no" 1>&6
6533 fi
6534
6535
6536 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6537echo "configure:6538: checking for --enable-toolbar" >&5
6538 no_cache=0
6539 # Check whether --enable-toolbar or --disable-toolbar was given.
6540if test "${enable_toolbar+set}" = set; then
6541 enableval="$enable_toolbar"
6542
6543 if test "$enableval" = yes; then
6544 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
6545 else
6546 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
6547 fi
6548
6549else
6550
6551 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6552 if test "x$LINE" != x ; then
6553 eval "DEFAULT_$LINE"
6554 else
6555 no_cache=1
6556 fi
6557
6558 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6559
6560fi
6561
6562
6563 eval "$ac_cv_use_toolbar"
6564 if test "$no_cache" != 1; then
6565 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6566 fi
6567
6568 if test "$wxUSE_TOOLBAR" = yes; then
6569 echo "$ac_t""yes" 1>&6
6570 else
6571 echo "$ac_t""no" 1>&6
6572 fi
6573
6574
6575 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6576echo "configure:6577: checking for --enable-tbarnative" >&5
6577 no_cache=0
6578 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6579if test "${enable_tbarnative+set}" = set; then
6580 enableval="$enable_tbarnative"
6581
6582 if test "$enableval" = yes; then
6583 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
6584 else
6585 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
6586 fi
6587
6588else
6589
6590 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6591 if test "x$LINE" != x ; then
6592 eval "DEFAULT_$LINE"
6593 else
6594 no_cache=1
6595 fi
6596
6597 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6598
6599fi
6600
6601
6602 eval "$ac_cv_use_tbarnative"
6603 if test "$no_cache" != 1; then
6604 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6605 fi
6606
6607 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6608 echo "$ac_t""yes" 1>&6
6609 else
6610 echo "$ac_t""no" 1>&6
6611 fi
6612
6613
6614 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6615echo "configure:6616: checking for --enable-tbarsmpl" >&5
6616 no_cache=0
6617 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6618if test "${enable_tbarsmpl+set}" = set; then
6619 enableval="$enable_tbarsmpl"
6620
6621 if test "$enableval" = yes; then
6622 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
6623 else
6624 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
6625 fi
6626
6627else
6628
6629 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6630 if test "x$LINE" != x ; then
6631 eval "DEFAULT_$LINE"
6632 else
6633 no_cache=1
6634 fi
6635
6636 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6637
6638fi
6639
6640
6641 eval "$ac_cv_use_tbarsmpl"
6642 if test "$no_cache" != 1; then
6643 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6644 fi
6645
6646 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6647 echo "$ac_t""yes" 1>&6
6648 else
6649 echo "$ac_t""no" 1>&6
6650 fi
6651
6652
6653 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6654echo "configure:6655: checking for --enable-treectrl" >&5
6655 no_cache=0
6656 # Check whether --enable-treectrl or --disable-treectrl was given.
6657if test "${enable_treectrl+set}" = set; then
6658 enableval="$enable_treectrl"
6659
6660 if test "$enableval" = yes; then
6661 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
6662 else
6663 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
6664 fi
6665
6666else
6667
6668 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6669 if test "x$LINE" != x ; then
6670 eval "DEFAULT_$LINE"
6671 else
6672 no_cache=1
6673 fi
6674
6675 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6676
6677fi
6678
6679
6680 eval "$ac_cv_use_treectrl"
6681 if test "$no_cache" != 1; then
6682 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6683 fi
6684
6685 if test "$wxUSE_TREECTRL" = yes; then
6686 echo "$ac_t""yes" 1>&6
6687 else
6688 echo "$ac_t""no" 1>&6
6689 fi
6690
6691
6692 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
6693echo "configure:6694: checking for --enable-tipwindow" >&5
6694 no_cache=0
6695 # Check whether --enable-tipwindow or --disable-tipwindow was given.
6696if test "${enable_tipwindow+set}" = set; then
6697 enableval="$enable_tipwindow"
6698
6699 if test "$enableval" = yes; then
6700 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
6701 else
6702 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
6703 fi
6704
6705else
6706
6707 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
6708 if test "x$LINE" != x ; then
6709 eval "DEFAULT_$LINE"
6710 else
6711 no_cache=1
6712 fi
6713
6714 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
6715
6716fi
6717
6718
6719 eval "$ac_cv_use_tipwindow"
6720 if test "$no_cache" != 1; then
6721 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
6722 fi
6723
6724 if test "$wxUSE_TIPWINDOW" = yes; then
6725 echo "$ac_t""yes" 1>&6
6726 else
6727 echo "$ac_t""no" 1>&6
6728 fi
6729
6730
6731 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6732echo "configure:6733: checking for --enable-popupwin" >&5
6733 no_cache=0
6734 # Check whether --enable-popupwin or --disable-popupwin was given.
6735if test "${enable_popupwin+set}" = set; then
6736 enableval="$enable_popupwin"
6737
6738 if test "$enableval" = yes; then
6739 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
6740 else
6741 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
6742 fi
6743
6744else
6745
6746 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6747 if test "x$LINE" != x ; then
6748 eval "DEFAULT_$LINE"
6749 else
6750 no_cache=1
6751 fi
6752
6753 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6754
6755fi
6756
6757
6758 eval "$ac_cv_use_popupwin"
6759 if test "$no_cache" != 1; then
6760 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6761 fi
6762
6763 if test "$wxUSE_POPUPWIN" = yes; then
6764 echo "$ac_t""yes" 1>&6
6765 else
6766 echo "$ac_t""no" 1>&6
6767 fi
6768
6769
6770
6771
6772 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6773echo "configure:6774: checking for --enable-commondlg" >&5
6774 no_cache=0
6775 # Check whether --enable-commondlg or --disable-commondlg was given.
6776if test "${enable_commondlg+set}" = set; then
6777 enableval="$enable_commondlg"
6778
6779 if test "$enableval" = yes; then
6780 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
6781 else
6782 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
6783 fi
6784
6785else
6786
6787 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6788 if test "x$LINE" != x ; then
6789 eval "DEFAULT_$LINE"
6790 else
6791 no_cache=1
6792 fi
6793
6794 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6795
6796fi
6797
6798
6799 eval "$ac_cv_use_commondlg"
6800 if test "$no_cache" != 1; then
6801 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6802 fi
6803
6804 if test "$wxUSE_COMMONDLGS" = yes; then
6805 echo "$ac_t""yes" 1>&6
6806 else
6807 echo "$ac_t""no" 1>&6
6808 fi
6809
6810
6811 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6812echo "configure:6813: checking for --enable-choicedlg" >&5
6813 no_cache=0
6814 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6815if test "${enable_choicedlg+set}" = set; then
6816 enableval="$enable_choicedlg"
6817
6818 if test "$enableval" = yes; then
6819 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
6820 else
6821 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
6822 fi
6823
6824else
6825
6826 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6827 if test "x$LINE" != x ; then
6828 eval "DEFAULT_$LINE"
6829 else
6830 no_cache=1
6831 fi
6832
6833 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6834
6835fi
6836
6837
6838 eval "$ac_cv_use_choicedlg"
6839 if test "$no_cache" != 1; then
6840 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6841 fi
6842
6843 if test "$wxUSE_CHOICEDLG" = yes; then
6844 echo "$ac_t""yes" 1>&6
6845 else
6846 echo "$ac_t""no" 1>&6
6847 fi
6848
6849
6850 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6851echo "configure:6852: checking for --enable-coldlg" >&5
6852 no_cache=0
6853 # Check whether --enable-coldlg or --disable-coldlg was given.
6854if test "${enable_coldlg+set}" = set; then
6855 enableval="$enable_coldlg"
6856
6857 if test "$enableval" = yes; then
6858 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
6859 else
6860 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
6861 fi
6862
6863else
6864
6865 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6866 if test "x$LINE" != x ; then
6867 eval "DEFAULT_$LINE"
6868 else
6869 no_cache=1
6870 fi
6871
6872 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6873
6874fi
6875
6876
6877 eval "$ac_cv_use_coldlg"
6878 if test "$no_cache" != 1; then
6879 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6880 fi
6881
6882 if test "$wxUSE_COLOURDLG" = yes; then
6883 echo "$ac_t""yes" 1>&6
6884 else
6885 echo "$ac_t""no" 1>&6
6886 fi
6887
6888
6889 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6890echo "configure:6891: checking for --enable-filedlg" >&5
6891 no_cache=0
6892 # Check whether --enable-filedlg or --disable-filedlg was given.
6893if test "${enable_filedlg+set}" = set; then
6894 enableval="$enable_filedlg"
6895
6896 if test "$enableval" = yes; then
6897 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
6898 else
6899 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
6900 fi
6901
6902else
6903
6904 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6905 if test "x$LINE" != x ; then
6906 eval "DEFAULT_$LINE"
6907 else
6908 no_cache=1
6909 fi
6910
6911 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6912
6913fi
6914
6915
6916 eval "$ac_cv_use_filedlg"
6917 if test "$no_cache" != 1; then
6918 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6919 fi
6920
6921 if test "$wxUSE_FILEDLG" = yes; then
6922 echo "$ac_t""yes" 1>&6
6923 else
6924 echo "$ac_t""no" 1>&6
6925 fi
6926
6927
6928 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
6929echo "configure:6930: checking for --enable-finddlg" >&5
6930 no_cache=0
6931 # Check whether --enable-finddlg or --disable-finddlg was given.
6932if test "${enable_finddlg+set}" = set; then
6933 enableval="$enable_finddlg"
6934
6935 if test "$enableval" = yes; then
6936 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
6937 else
6938 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
6939 fi
6940
6941else
6942
6943 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
6944 if test "x$LINE" != x ; then
6945 eval "DEFAULT_$LINE"
6946 else
6947 no_cache=1
6948 fi
6949
6950 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
6951
6952fi
6953
6954
6955 eval "$ac_cv_use_finddlg"
6956 if test "$no_cache" != 1; then
6957 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
6958 fi
6959
6960 if test "$wxUSE_FINDREPLDLG" = yes; then
6961 echo "$ac_t""yes" 1>&6
6962 else
6963 echo "$ac_t""no" 1>&6
6964 fi
6965
6966
6967 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6968echo "configure:6969: checking for --enable-fontdlg" >&5
6969 no_cache=0
6970 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6971if test "${enable_fontdlg+set}" = set; then
6972 enableval="$enable_fontdlg"
6973
6974 if test "$enableval" = yes; then
6975 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
6976 else
6977 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
6978 fi
6979
6980else
6981
6982 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6983 if test "x$LINE" != x ; then
6984 eval "DEFAULT_$LINE"
6985 else
6986 no_cache=1
6987 fi
6988
6989 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6990
6991fi
6992
6993
6994 eval "$ac_cv_use_fontdlg"
6995 if test "$no_cache" != 1; then
6996 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6997 fi
6998
6999 if test "$wxUSE_FONTDLG" = yes; then
7000 echo "$ac_t""yes" 1>&6
7001 else
7002 echo "$ac_t""no" 1>&6
7003 fi
7004
7005
7006 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7007echo "configure:7008: checking for --enable-dirdlg" >&5
7008 no_cache=0
7009 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7010if test "${enable_dirdlg+set}" = set; then
7011 enableval="$enable_dirdlg"
7012
7013 if test "$enableval" = yes; then
7014 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
7015 else
7016 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
7017 fi
7018
7019else
7020
7021 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7022 if test "x$LINE" != x ; then
7023 eval "DEFAULT_$LINE"
7024 else
7025 no_cache=1
7026 fi
7027
7028 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7029
7030fi
7031
7032
7033 eval "$ac_cv_use_dirdlg"
7034 if test "$no_cache" != 1; then
7035 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7036 fi
7037
7038 if test "$wxUSE_DIRDLG" = yes; then
7039 echo "$ac_t""yes" 1>&6
7040 else
7041 echo "$ac_t""no" 1>&6
7042 fi
7043
7044
7045 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7046echo "configure:7047: checking for --enable-msgdlg" >&5
7047 no_cache=0
7048 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7049if test "${enable_msgdlg+set}" = set; then
7050 enableval="$enable_msgdlg"
7051
7052 if test "$enableval" = yes; then
7053 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
7054 else
7055 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
7056 fi
7057
7058else
7059
7060 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7061 if test "x$LINE" != x ; then
7062 eval "DEFAULT_$LINE"
7063 else
7064 no_cache=1
7065 fi
7066
7067 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7068
7069fi
7070
7071
7072 eval "$ac_cv_use_msgdlg"
7073 if test "$no_cache" != 1; then
7074 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7075 fi
7076
7077 if test "$wxUSE_MSGDLG" = yes; then
7078 echo "$ac_t""yes" 1>&6
7079 else
7080 echo "$ac_t""no" 1>&6
7081 fi
7082
7083
7084 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7085echo "configure:7086: checking for --enable-numberdlg" >&5
7086 no_cache=0
7087 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7088if test "${enable_numberdlg+set}" = set; then
7089 enableval="$enable_numberdlg"
7090
7091 if test "$enableval" = yes; then
7092 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
7093 else
7094 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
7095 fi
7096
7097else
7098
7099 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7100 if test "x$LINE" != x ; then
7101 eval "DEFAULT_$LINE"
7102 else
7103 no_cache=1
7104 fi
7105
7106 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7107
7108fi
7109
7110
7111 eval "$ac_cv_use_numberdlg"
7112 if test "$no_cache" != 1; then
7113 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7114 fi
7115
7116 if test "$wxUSE_NUMBERDLG" = yes; then
7117 echo "$ac_t""yes" 1>&6
7118 else
7119 echo "$ac_t""no" 1>&6
7120 fi
7121
7122
7123 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7124echo "configure:7125: checking for --enable-splash" >&5
7125 no_cache=0
7126 # Check whether --enable-splash or --disable-splash was given.
7127if test "${enable_splash+set}" = set; then
7128 enableval="$enable_splash"
7129
7130 if test "$enableval" = yes; then
7131 ac_cv_use_splash='wxUSE_SPLASH=yes'
7132 else
7133 ac_cv_use_splash='wxUSE_SPLASH=no'
7134 fi
7135
7136else
7137
7138 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7139 if test "x$LINE" != x ; then
7140 eval "DEFAULT_$LINE"
7141 else
7142 no_cache=1
7143 fi
7144
7145 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7146
7147fi
7148
7149
7150 eval "$ac_cv_use_splash"
7151 if test "$no_cache" != 1; then
7152 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7153 fi
7154
7155 if test "$wxUSE_SPLASH" = yes; then
7156 echo "$ac_t""yes" 1>&6
7157 else
7158 echo "$ac_t""no" 1>&6
7159 fi
7160
7161
7162 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7163echo "configure:7164: checking for --enable-textdlg" >&5
7164 no_cache=0
7165 # Check whether --enable-textdlg or --disable-textdlg was given.
7166if test "${enable_textdlg+set}" = set; then
7167 enableval="$enable_textdlg"
7168
7169 if test "$enableval" = yes; then
7170 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
7171 else
7172 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
7173 fi
7174
7175else
7176
7177 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7178 if test "x$LINE" != x ; then
7179 eval "DEFAULT_$LINE"
7180 else
7181 no_cache=1
7182 fi
7183
7184 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7185
7186fi
7187
7188
7189 eval "$ac_cv_use_textdlg"
7190 if test "$no_cache" != 1; then
7191 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7192 fi
7193
7194 if test "$wxUSE_TEXTDLG" = yes; then
7195 echo "$ac_t""yes" 1>&6
7196 else
7197 echo "$ac_t""no" 1>&6
7198 fi
7199
7200
7201 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7202echo "configure:7203: checking for --enable-tipdlg" >&5
7203 no_cache=0
7204 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7205if test "${enable_tipdlg+set}" = set; then
7206 enableval="$enable_tipdlg"
7207
7208 if test "$enableval" = yes; then
7209 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
7210 else
7211 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
7212 fi
7213
7214else
7215
7216 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7217 if test "x$LINE" != x ; then
7218 eval "DEFAULT_$LINE"
7219 else
7220 no_cache=1
7221 fi
7222
7223 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7224
7225fi
7226
7227
7228 eval "$ac_cv_use_tipdlg"
7229 if test "$no_cache" != 1; then
7230 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7231 fi
7232
7233 if test "$wxUSE_STARTUP_TIPS" = yes; then
7234 echo "$ac_t""yes" 1>&6
7235 else
7236 echo "$ac_t""no" 1>&6
7237 fi
7238
7239
7240 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7241echo "configure:7242: checking for --enable-progressdlg" >&5
7242 no_cache=0
7243 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7244if test "${enable_progressdlg+set}" = set; then
7245 enableval="$enable_progressdlg"
7246
7247 if test "$enableval" = yes; then
7248 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
7249 else
7250 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
7251 fi
7252
7253else
7254
7255 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7256 if test "x$LINE" != x ; then
7257 eval "DEFAULT_$LINE"
7258 else
7259 no_cache=1
7260 fi
7261
7262 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7263
7264fi
7265
7266
7267 eval "$ac_cv_use_progressdlg"
7268 if test "$no_cache" != 1; then
7269 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7270 fi
7271
7272 if test "$wxUSE_PROGRESSDLG" = yes; then
7273 echo "$ac_t""yes" 1>&6
7274 else
7275 echo "$ac_t""no" 1>&6
7276 fi
7277
7278
7279 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7280echo "configure:7281: checking for --enable-wizarddlg" >&5
7281 no_cache=0
7282 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7283if test "${enable_wizarddlg+set}" = set; then
7284 enableval="$enable_wizarddlg"
7285
7286 if test "$enableval" = yes; then
7287 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
7288 else
7289 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
7290 fi
7291
7292else
7293
7294 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7295 if test "x$LINE" != x ; then
7296 eval "DEFAULT_$LINE"
7297 else
7298 no_cache=1
7299 fi
7300
7301 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7302
7303fi
7304
7305
7306 eval "$ac_cv_use_wizarddlg"
7307 if test "$no_cache" != 1; then
7308 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7309 fi
7310
7311 if test "$wxUSE_WIZARDDLG" = yes; then
7312 echo "$ac_t""yes" 1>&6
7313 else
7314 echo "$ac_t""no" 1>&6
7315 fi
7316
7317
7318
7319
7320 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7321echo "configure:7322: checking for --enable-menus" >&5
7322 no_cache=0
7323 # Check whether --enable-menus or --disable-menus was given.
7324if test "${enable_menus+set}" = set; then
7325 enableval="$enable_menus"
7326
7327 if test "$enableval" = yes; then
7328 ac_cv_use_menus='wxUSE_MENUS=yes'
7329 else
7330 ac_cv_use_menus='wxUSE_MENUS=no'
7331 fi
7332
7333else
7334
7335 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7336 if test "x$LINE" != x ; then
7337 eval "DEFAULT_$LINE"
7338 else
7339 no_cache=1
7340 fi
7341
7342 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7343
7344fi
7345
7346
7347 eval "$ac_cv_use_menus"
7348 if test "$no_cache" != 1; then
7349 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7350 fi
7351
7352 if test "$wxUSE_MENUS" = yes; then
7353 echo "$ac_t""yes" 1>&6
7354 else
7355 echo "$ac_t""no" 1>&6
7356 fi
7357
7358
7359 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7360echo "configure:7361: checking for --enable-miniframe" >&5
7361 no_cache=0
7362 # Check whether --enable-miniframe or --disable-miniframe was given.
7363if test "${enable_miniframe+set}" = set; then
7364 enableval="$enable_miniframe"
7365
7366 if test "$enableval" = yes; then
7367 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
7368 else
7369 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
7370 fi
7371
7372else
7373
7374 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7375 if test "x$LINE" != x ; then
7376 eval "DEFAULT_$LINE"
7377 else
7378 no_cache=1
7379 fi
7380
7381 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7382
7383fi
7384
7385
7386 eval "$ac_cv_use_miniframe"
7387 if test "$no_cache" != 1; then
7388 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7389 fi
7390
7391 if test "$wxUSE_MINIFRAME" = yes; then
7392 echo "$ac_t""yes" 1>&6
7393 else
7394 echo "$ac_t""no" 1>&6
7395 fi
7396
7397
7398 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7399echo "configure:7400: checking for --enable-tooltips" >&5
7400 no_cache=0
7401 # Check whether --enable-tooltips or --disable-tooltips was given.
7402if test "${enable_tooltips+set}" = set; then
7403 enableval="$enable_tooltips"
7404
7405 if test "$enableval" = yes; then
7406 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
7407 else
7408 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
7409 fi
7410
7411else
7412
7413 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7414 if test "x$LINE" != x ; then
7415 eval "DEFAULT_$LINE"
7416 else
7417 no_cache=1
7418 fi
7419
7420 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7421
7422fi
7423
7424
7425 eval "$ac_cv_use_tooltips"
7426 if test "$no_cache" != 1; then
7427 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7428 fi
7429
7430 if test "$wxUSE_TOOLTIPS" = yes; then
7431 echo "$ac_t""yes" 1>&6
7432 else
7433 echo "$ac_t""no" 1>&6
7434 fi
7435
7436
7437 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7438echo "configure:7439: checking for --enable-splines" >&5
7439 no_cache=0
7440 # Check whether --enable-splines or --disable-splines was given.
7441if test "${enable_splines+set}" = set; then
7442 enableval="$enable_splines"
7443
7444 if test "$enableval" = yes; then
7445 ac_cv_use_splines='wxUSE_SPLINES=yes'
7446 else
7447 ac_cv_use_splines='wxUSE_SPLINES=no'
7448 fi
7449
7450else
7451
7452 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7453 if test "x$LINE" != x ; then
7454 eval "DEFAULT_$LINE"
7455 else
7456 no_cache=1
7457 fi
7458
7459 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7460
7461fi
7462
7463
7464 eval "$ac_cv_use_splines"
7465 if test "$no_cache" != 1; then
7466 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7467 fi
7468
7469 if test "$wxUSE_SPLINES" = yes; then
7470 echo "$ac_t""yes" 1>&6
7471 else
7472 echo "$ac_t""no" 1>&6
7473 fi
7474
7475
7476 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7477echo "configure:7478: checking for --enable-validators" >&5
7478 no_cache=0
7479 # Check whether --enable-validators or --disable-validators was given.
7480if test "${enable_validators+set}" = set; then
7481 enableval="$enable_validators"
7482
7483 if test "$enableval" = yes; then
7484 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
7485 else
7486 ac_cv_use_validators='wxUSE_VALIDATORS=no'
7487 fi
7488
7489else
7490
7491 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7492 if test "x$LINE" != x ; then
7493 eval "DEFAULT_$LINE"
7494 else
7495 no_cache=1
7496 fi
7497
7498 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7499
7500fi
7501
7502
7503 eval "$ac_cv_use_validators"
7504 if test "$no_cache" != 1; then
7505 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7506 fi
7507
7508 if test "$wxUSE_VALIDATORS" = yes; then
7509 echo "$ac_t""yes" 1>&6
7510 else
7511 echo "$ac_t""no" 1>&6
7512 fi
7513
7514
7515 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7516echo "configure:7517: checking for --enable-busyinfo" >&5
7517 no_cache=0
7518 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7519if test "${enable_busyinfo+set}" = set; then
7520 enableval="$enable_busyinfo"
7521
7522 if test "$enableval" = yes; then
7523 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
7524 else
7525 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
7526 fi
7527
7528else
7529
7530 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7531 if test "x$LINE" != x ; then
7532 eval "DEFAULT_$LINE"
7533 else
7534 no_cache=1
7535 fi
7536
7537 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7538
7539fi
7540
7541
7542 eval "$ac_cv_use_busyinfo"
7543 if test "$no_cache" != 1; then
7544 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7545 fi
7546
7547 if test "$wxUSE_BUSYINFO" = yes; then
7548 echo "$ac_t""yes" 1>&6
7549 else
7550 echo "$ac_t""no" 1>&6
7551 fi
7552
7553
7554 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7555echo "configure:7556: checking for --enable-joystick" >&5
7556 no_cache=0
7557 # Check whether --enable-joystick or --disable-joystick was given.
7558if test "${enable_joystick+set}" = set; then
7559 enableval="$enable_joystick"
7560
7561 if test "$enableval" = yes; then
7562 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
7563 else
7564 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
7565 fi
7566
7567else
7568
7569 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7570 if test "x$LINE" != x ; then
7571 eval "DEFAULT_$LINE"
7572 else
7573 no_cache=1
7574 fi
7575
7576 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7577
7578fi
7579
7580
7581 eval "$ac_cv_use_joystick"
7582 if test "$no_cache" != 1; then
7583 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7584 fi
7585
7586 if test "$wxUSE_JOYSTICK" = yes; then
7587 echo "$ac_t""yes" 1>&6
7588 else
7589 echo "$ac_t""no" 1>&6
7590 fi
7591
7592
7593 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7594echo "configure:7595: checking for --enable-metafile" >&5
7595 no_cache=0
7596 # Check whether --enable-metafile or --disable-metafile was given.
7597if test "${enable_metafile+set}" = set; then
7598 enableval="$enable_metafile"
7599
7600 if test "$enableval" = yes; then
7601 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7602 else
7603 ac_cv_use_metafile='wxUSE_METAFILE=no'
7604 fi
7605
7606else
7607
7608 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7609 if test "x$LINE" != x ; then
7610 eval "DEFAULT_$LINE"
7611 else
7612 no_cache=1
7613 fi
7614
7615 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7616
7617fi
7618
7619
7620 eval "$ac_cv_use_metafile"
7621 if test "$no_cache" != 1; then
7622 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7623 fi
7624
7625 if test "$wxUSE_METAFILE" = yes; then
7626 echo "$ac_t""yes" 1>&6
7627 else
7628 echo "$ac_t""no" 1>&6
7629 fi
7630
7631
7632 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7633echo "configure:7634: checking for --enable-dragimage" >&5
7634 no_cache=0
7635 # Check whether --enable-dragimage or --disable-dragimage was given.
7636if test "${enable_dragimage+set}" = set; then
7637 enableval="$enable_dragimage"
7638
7639 if test "$enableval" = yes; then
7640 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
7641 else
7642 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
7643 fi
7644
7645else
7646
7647 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7648 if test "x$LINE" != x ; then
7649 eval "DEFAULT_$LINE"
7650 else
7651 no_cache=1
7652 fi
7653
7654 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7655
7656fi
7657
7658
7659 eval "$ac_cv_use_dragimage"
7660 if test "$no_cache" != 1; then
7661 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7662 fi
7663
7664 if test "$wxUSE_DRAGIMAGE" = yes; then
7665 echo "$ac_t""yes" 1>&6
7666 else
7667 echo "$ac_t""no" 1>&6
7668 fi
7669
7670
7671
7672
7673 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
7674echo "configure:7675: checking for --enable-palette" >&5
7675 no_cache=0
7676 # Check whether --enable-palette or --disable-palette was given.
7677if test "${enable_palette+set}" = set; then
7678 enableval="$enable_palette"
7679
7680 if test "$enableval" = yes; then
7681 ac_cv_use_palette='wxUSE_PALETTE=yes'
7682 else
7683 ac_cv_use_palette='wxUSE_PALETTE=no'
7684 fi
7685
7686else
7687
7688 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
7689 if test "x$LINE" != x ; then
7690 eval "DEFAULT_$LINE"
7691 else
7692 no_cache=1
7693 fi
7694
7695 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
7696
7697fi
7698
7699
7700 eval "$ac_cv_use_palette"
7701 if test "$no_cache" != 1; then
7702 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
7703 fi
7704
7705 if test "$wxUSE_PALETTE" = yes; then
7706 echo "$ac_t""yes" 1>&6
7707 else
7708 echo "$ac_t""no" 1>&6
7709 fi
7710
7711
7712 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7713echo "configure:7714: checking for --enable-image" >&5
7714 no_cache=0
7715 # Check whether --enable-image or --disable-image was given.
7716if test "${enable_image+set}" = set; then
7717 enableval="$enable_image"
7718
7719 if test "$enableval" = yes; then
7720 ac_cv_use_image='wxUSE_IMAGE=yes'
7721 else
7722 ac_cv_use_image='wxUSE_IMAGE=no'
7723 fi
7724
7725else
7726
7727 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7728 if test "x$LINE" != x ; then
7729 eval "DEFAULT_$LINE"
7730 else
7731 no_cache=1
7732 fi
7733
7734 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7735
7736fi
7737
7738
7739 eval "$ac_cv_use_image"
7740 if test "$no_cache" != 1; then
7741 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7742 fi
7743
7744 if test "$wxUSE_IMAGE" = yes; then
7745 echo "$ac_t""yes" 1>&6
7746 else
7747 echo "$ac_t""no" 1>&6
7748 fi
7749
7750
7751 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7752echo "configure:7753: checking for --enable-gif" >&5
7753 no_cache=0
7754 # Check whether --enable-gif or --disable-gif was given.
7755if test "${enable_gif+set}" = set; then
7756 enableval="$enable_gif"
7757
7758 if test "$enableval" = yes; then
7759 ac_cv_use_gif='wxUSE_GIF=yes'
7760 else
7761 ac_cv_use_gif='wxUSE_GIF=no'
7762 fi
7763
7764else
7765
7766 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7767 if test "x$LINE" != x ; then
7768 eval "DEFAULT_$LINE"
7769 else
7770 no_cache=1
7771 fi
7772
7773 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7774
7775fi
7776
7777
7778 eval "$ac_cv_use_gif"
7779 if test "$no_cache" != 1; then
7780 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7781 fi
7782
7783 if test "$wxUSE_GIF" = yes; then
7784 echo "$ac_t""yes" 1>&6
7785 else
7786 echo "$ac_t""no" 1>&6
7787 fi
7788
7789
7790 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7791echo "configure:7792: checking for --enable-pcx" >&5
7792 no_cache=0
7793 # Check whether --enable-pcx or --disable-pcx was given.
7794if test "${enable_pcx+set}" = set; then
7795 enableval="$enable_pcx"
7796
7797 if test "$enableval" = yes; then
7798 ac_cv_use_pcx='wxUSE_PCX=yes'
7799 else
7800 ac_cv_use_pcx='wxUSE_PCX=no'
7801 fi
7802
7803else
7804
7805 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7806 if test "x$LINE" != x ; then
7807 eval "DEFAULT_$LINE"
7808 else
7809 no_cache=1
7810 fi
7811
7812 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7813
7814fi
7815
7816
7817 eval "$ac_cv_use_pcx"
7818 if test "$no_cache" != 1; then
7819 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7820 fi
7821
7822 if test "$wxUSE_PCX" = yes; then
7823 echo "$ac_t""yes" 1>&6
7824 else
7825 echo "$ac_t""no" 1>&6
7826 fi
7827
7828
7829 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7830echo "configure:7831: checking for --enable-pnm" >&5
7831 no_cache=0
7832 # Check whether --enable-pnm or --disable-pnm was given.
7833if test "${enable_pnm+set}" = set; then
7834 enableval="$enable_pnm"
7835
7836 if test "$enableval" = yes; then
7837 ac_cv_use_pnm='wxUSE_PNM=yes'
7838 else
7839 ac_cv_use_pnm='wxUSE_PNM=no'
7840 fi
7841
7842else
7843
7844 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7845 if test "x$LINE" != x ; then
7846 eval "DEFAULT_$LINE"
7847 else
7848 no_cache=1
7849 fi
7850
7851 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7852
7853fi
7854
7855
7856 eval "$ac_cv_use_pnm"
7857 if test "$no_cache" != 1; then
7858 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7859 fi
7860
7861 if test "$wxUSE_PNM" = yes; then
7862 echo "$ac_t""yes" 1>&6
7863 else
7864 echo "$ac_t""no" 1>&6
7865 fi
7866
7867
7868 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
7869echo "configure:7870: checking for --enable-xpm" >&5
7870 no_cache=0
7871 # Check whether --enable-xpm or --disable-xpm was given.
7872if test "${enable_xpm+set}" = set; then
7873 enableval="$enable_xpm"
7874
7875 if test "$enableval" = yes; then
7876 ac_cv_use_xpm='wxUSE_XPM=yes'
7877 else
7878 ac_cv_use_xpm='wxUSE_XPM=no'
7879 fi
7880
7881else
7882
7883 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7884 if test "x$LINE" != x ; then
7885 eval "DEFAULT_$LINE"
7886 else
7887 no_cache=1
7888 fi
7889
7890 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7891
7892fi
7893
7894
7895 eval "$ac_cv_use_xpm"
7896 if test "$no_cache" != 1; then
7897 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
7898 fi
7899
7900 if test "$wxUSE_XPM" = yes; then
7901 echo "$ac_t""yes" 1>&6
7902 else
7903 echo "$ac_t""no" 1>&6
7904 fi
7905
7906
7907fi
7908
7909
7910 echo "saving argument cache $wx_arg_cache_file"
7911 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
7912
7913
7914
7915echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7916echo "configure:7917: checking for toolkit" >&5
7917
7918if test "$wxUSE_GUI" = "yes"; then
7919
7920 if test "$USE_BEOS" = 1; then
7921 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7922 fi
7923
7924 if test "$TOOLKIT_GIVEN" = 1; then
7925 for toolkit in `echo $ALL_TOOLKITS`; do
7926 var=wxUSE_$toolkit
7927 eval "value=\$${var}"
7928 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
7929 done
7930 else
7931 for toolkit in `echo $ALL_TOOLKITS`; do
7932 if test "$has_toolkit_in_cache" != 1; then
7933 var=DEFAULT_DEFAULT_wxUSE_$toolkit
7934 else
7935 var=DEFAULT_wxUSE_$toolkit
7936 fi
7937 eval "wxUSE_$toolkit=\$${var}"
7938 done
7939 fi
7940
7941 NUM_TOOLKITS=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
7942 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0}`
7943
7944 case "${host}" in
7945 *-pc-os2_emx | *-pc-os2-emx )
7946 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7947 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7948 LEX_STEM="lexyy"
7949 ;;
7950 *)
7951 PATH_IFS=':'
7952 LEX_STEM="lex.yy"
7953 ;;
7954 esac
7955
7956 case "$NUM_TOOLKITS" in
7957 1)
7958 ;;
7959 0)
7960 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7961 ;;
7962 *)
7963 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7964 esac
7965
7966 for toolkit in `echo $ALL_TOOLKITS`; do
7967 var=wxUSE_$toolkit
7968 eval "value=\$${var}"
7969 if test "x$value" != x; then
7970 cache_var=CACHE_$toolkit
7971 eval "cache=\$${cache_var}"
7972 if test "$cache" = 1; then
7973 echo "$var=$value" >> ${wx_arg_cache_file}
7974 fi
7975 if test "$value" = 1; then
7976 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
7977 echo "$ac_t""$toolkit_echo" 1>&6
7978 fi
7979 fi
7980 done
7981else
7982 PATH_IFS=':'
7983 echo "$ac_t""base ($host_alias hosted) only" 1>&6
7984fi
7985
7986
7987cat > confcache <<\EOF
7988# This file is a shell script that caches the results of configure
7989# tests run on this system so they can be shared between configure
7990# scripts and configure runs. It is not useful on other systems.
7991# If it contains results you don't want to keep, you may remove or edit it.
7992#
7993# By default, configure uses ./config.cache as the cache file,
7994# creating it if it does not exist already. You can give configure
7995# the --cache-file=FILE option to use a different cache file; that is
7996# what configure does when it calls configure scripts in
7997# subdirectories, so they share the cache.
7998# Giving --cache-file=/dev/null disables caching, for debugging configure.
7999# config.status only pays attention to the cache file if you give it the
8000# --recheck option to rerun configure.
8001#
8002EOF
8003# The following way of writing the cache mishandles newlines in values,
8004# but we know of no workaround that is simple, portable, and efficient.
8005# So, don't put newlines in cache variables' values.
8006# Ultrix sh set writes to stderr and can't be redirected directly,
8007# and sets the high bit in the cache file unless we assign to the vars.
8008(set) 2>&1 |
8009 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8010 *ac_space=\ *)
8011 # `set' does not quote correctly, so add quotes (double-quote substitution
8012 # turns \\\\ into \\, and sed turns \\ into \).
8013 sed -n \
8014 -e "s/'/'\\\\''/g" \
8015 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8016 ;;
8017 *)
8018 # `set' quotes correctly as required by POSIX, so do not add quotes.
8019 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8020 ;;
8021 esac >> confcache
8022if cmp -s $cache_file confcache; then
8023 :
8024else
8025 if test -w $cache_file; then
8026 echo "updating cache $cache_file"
8027 cat confcache > $cache_file
8028 else
8029 echo "not updating unwritable cache $cache_file"
8030 fi
8031fi
8032rm -f confcache
8033
8034
8035if test "$build" != "$host" ; then
8036 if test "$USE_WIN32" = 1 ; then
8037 CC=$host_alias-gcc
8038 CXX=$host_alias-c++
8039 AR=$host_alias-ar
8040 RANLIB=$host_alias-ranlib
8041 DLLTOOL=$host_alias-dlltool
8042 RESCOMP=$host_alias-windres
8043 LD=$host_alias-ld
8044 NM=$host_alias-nm
8045 STRIP=$host_alias-strip
8046 else
8047 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8048 fi
8049fi
8050
8051# Extract the first word of "gcc", so it can be a program name with args.
8052set dummy gcc; ac_word=$2
8053echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8054echo "configure:8055: checking for $ac_word" >&5
8055if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8056 echo $ac_n "(cached) $ac_c" 1>&6
8057else
8058 if test -n "$CC"; then
8059 ac_cv_prog_CC="$CC" # Let the user override the test.
8060else
8061 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8062 ac_dummy="$PATH"
8063 for ac_dir in $ac_dummy; do
8064 test -z "$ac_dir" && ac_dir=.
8065 if test -f $ac_dir/$ac_word; then
8066 ac_cv_prog_CC="gcc"
8067 break
8068 fi
8069 done
8070 IFS="$ac_save_ifs"
8071fi
8072fi
8073CC="$ac_cv_prog_CC"
8074if test -n "$CC"; then
8075 echo "$ac_t""$CC" 1>&6
8076else
8077 echo "$ac_t""no" 1>&6
8078fi
8079
8080if test -z "$CC"; then
8081 # Extract the first word of "cc", so it can be a program name with args.
8082set dummy cc; ac_word=$2
8083echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8084echo "configure:8085: checking for $ac_word" >&5
8085if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8086 echo $ac_n "(cached) $ac_c" 1>&6
8087else
8088 if test -n "$CC"; then
8089 ac_cv_prog_CC="$CC" # Let the user override the test.
8090else
8091 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8092 ac_prog_rejected=no
8093 ac_dummy="$PATH"
8094 for ac_dir in $ac_dummy; do
8095 test -z "$ac_dir" && ac_dir=.
8096 if test -f $ac_dir/$ac_word; then
8097 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8098 ac_prog_rejected=yes
8099 continue
8100 fi
8101 ac_cv_prog_CC="cc"
8102 break
8103 fi
8104 done
8105 IFS="$ac_save_ifs"
8106if test $ac_prog_rejected = yes; then
8107 # We found a bogon in the path, so make sure we never use it.
8108 set dummy $ac_cv_prog_CC
8109 shift
8110 if test $# -gt 0; then
8111 # We chose a different compiler from the bogus one.
8112 # However, it has the same basename, so the bogon will be chosen
8113 # first if we set CC to just the basename; use the full file name.
8114 shift
8115 set dummy "$ac_dir/$ac_word" "$@"
8116 shift
8117 ac_cv_prog_CC="$@"
8118 fi
8119fi
8120fi
8121fi
8122CC="$ac_cv_prog_CC"
8123if test -n "$CC"; then
8124 echo "$ac_t""$CC" 1>&6
8125else
8126 echo "$ac_t""no" 1>&6
8127fi
8128
8129 if test -z "$CC"; then
8130 case "`uname -s`" in
8131 *win32* | *WIN32*)
8132 # Extract the first word of "cl", so it can be a program name with args.
8133set dummy cl; ac_word=$2
8134echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8135echo "configure:8136: checking for $ac_word" >&5
8136if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8137 echo $ac_n "(cached) $ac_c" 1>&6
8138else
8139 if test -n "$CC"; then
8140 ac_cv_prog_CC="$CC" # Let the user override the test.
8141else
8142 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8143 ac_dummy="$PATH"
8144 for ac_dir in $ac_dummy; do
8145 test -z "$ac_dir" && ac_dir=.
8146 if test -f $ac_dir/$ac_word; then
8147 ac_cv_prog_CC="cl"
8148 break
8149 fi
8150 done
8151 IFS="$ac_save_ifs"
8152fi
8153fi
8154CC="$ac_cv_prog_CC"
8155if test -n "$CC"; then
8156 echo "$ac_t""$CC" 1>&6
8157else
8158 echo "$ac_t""no" 1>&6
8159fi
8160 ;;
8161 esac
8162 fi
8163 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8164fi
8165
8166echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8167echo "configure:8168: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8168
8169ac_ext=c
8170# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8171ac_cpp='$CPP $CPPFLAGS'
8172ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8173ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8174cross_compiling=$ac_cv_prog_cc_cross
8175
8176cat > conftest.$ac_ext << EOF
8177
8178#line 8179 "configure"
8179#include "confdefs.h"
8180
8181main(){return(0);}
8182EOF
8183if { (eval echo configure:8184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8184 ac_cv_prog_cc_works=yes
8185 # If we can't run a trivial program, we are probably using a cross compiler.
8186 if (./conftest; exit) 2>/dev/null; then
8187 ac_cv_prog_cc_cross=no
8188 else
8189 ac_cv_prog_cc_cross=yes
8190 fi
8191else
8192 echo "configure: failed program was:" >&5
8193 cat conftest.$ac_ext >&5
8194 ac_cv_prog_cc_works=no
8195fi
8196rm -fr conftest*
8197ac_ext=c
8198# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8199ac_cpp='$CPP $CPPFLAGS'
8200ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8201ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8202cross_compiling=$ac_cv_prog_cc_cross
8203
8204echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8205if test $ac_cv_prog_cc_works = no; then
8206 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8207fi
8208echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8209echo "configure:8210: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8210echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8211cross_compiling=$ac_cv_prog_cc_cross
8212
8213echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8214echo "configure:8215: checking whether we are using GNU C" >&5
8215if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8216 echo $ac_n "(cached) $ac_c" 1>&6
8217else
8218 cat > conftest.c <<EOF
8219#ifdef __GNUC__
8220 yes;
8221#endif
8222EOF
8223if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:8224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
8224 ac_cv_prog_gcc=yes
8225else
8226 ac_cv_prog_gcc=no
8227fi
8228fi
8229
8230echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8231
8232if test $ac_cv_prog_gcc = yes; then
8233 GCC=yes
8234else
8235 GCC=
8236fi
8237
8238ac_test_CFLAGS="${CFLAGS+set}"
8239ac_save_CFLAGS="$CFLAGS"
8240CFLAGS=
8241echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8242echo "configure:8243: checking whether ${CC-cc} accepts -g" >&5
8243if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8244 echo $ac_n "(cached) $ac_c" 1>&6
8245else
8246 echo 'void f(){}' > conftest.c
8247if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8248 ac_cv_prog_cc_g=yes
8249else
8250 ac_cv_prog_cc_g=no
8251fi
8252rm -f conftest*
8253
8254fi
8255
8256echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8257if test "$ac_test_CFLAGS" = set; then
8258 CFLAGS="$ac_save_CFLAGS"
8259elif test $ac_cv_prog_cc_g = yes; then
8260 if test "$GCC" = yes; then
8261 CFLAGS="-g -O2"
8262 else
8263 CFLAGS="-g"
8264 fi
8265else
8266 if test "$GCC" = yes; then
8267 CFLAGS="-O2"
8268 else
8269 CFLAGS=
8270 fi
8271fi
8272
8273
8274CFLAGS=`echo "$CFLAGS" | sed 's/-g//g'`
8275
8276echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8277echo "configure:8278: checking how to run the C preprocessor" >&5
8278# On Suns, sometimes $CPP names a directory.
8279if test -n "$CPP" && test -d "$CPP"; then
8280 CPP=
8281fi
8282if test -z "$CPP"; then
8283if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8284 echo $ac_n "(cached) $ac_c" 1>&6
8285else
8286 # This must be in double quotes, not single quotes, because CPP may get
8287 # substituted into the Makefile and "${CC-cc}" will confuse make.
8288 CPP="${CC-cc} -E"
8289 # On the NeXT, cc -E runs the code through the compiler's parser,
8290 # not just through cpp.
8291 cat > conftest.$ac_ext <<EOF
8292#line 8293 "configure"
8293#include "confdefs.h"
8294#include <assert.h>
8295Syntax Error
8296EOF
8297ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8298{ (eval echo configure:8299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8299ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8300if test -z "$ac_err"; then
8301 :
8302else
8303 echo "$ac_err" >&5
8304 echo "configure: failed program was:" >&5
8305 cat conftest.$ac_ext >&5
8306 rm -rf conftest*
8307 CPP="${CC-cc} -E -traditional-cpp"
8308 cat > conftest.$ac_ext <<EOF
8309#line 8310 "configure"
8310#include "confdefs.h"
8311#include <assert.h>
8312Syntax Error
8313EOF
8314ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8315{ (eval echo configure:8316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8316ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8317if test -z "$ac_err"; then
8318 :
8319else
8320 echo "$ac_err" >&5
8321 echo "configure: failed program was:" >&5
8322 cat conftest.$ac_ext >&5
8323 rm -rf conftest*
8324 CPP="${CC-cc} -nologo -E"
8325 cat > conftest.$ac_ext <<EOF
8326#line 8327 "configure"
8327#include "confdefs.h"
8328#include <assert.h>
8329Syntax Error
8330EOF
8331ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8332{ (eval echo configure:8333: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8333ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8334if test -z "$ac_err"; then
8335 :
8336else
8337 echo "$ac_err" >&5
8338 echo "configure: failed program was:" >&5
8339 cat conftest.$ac_ext >&5
8340 rm -rf conftest*
8341 CPP=/lib/cpp
8342fi
8343rm -f conftest*
8344fi
8345rm -f conftest*
8346fi
8347rm -f conftest*
8348 ac_cv_prog_CPP="$CPP"
8349fi
8350 CPP="$ac_cv_prog_CPP"
8351else
8352 ac_cv_prog_CPP="$CPP"
8353fi
8354echo "$ac_t""$CPP" 1>&6
8355
8356if test $ac_cv_prog_gcc = yes; then
8357 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8358echo "configure:8359: checking whether ${CC-cc} needs -traditional" >&5
8359if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8360 echo $ac_n "(cached) $ac_c" 1>&6
8361else
8362 ac_pattern="Autoconf.*'x'"
8363 cat > conftest.$ac_ext <<EOF
8364#line 8365 "configure"
8365#include "confdefs.h"
8366#include <sgtty.h>
8367Autoconf TIOCGETP
8368EOF
8369if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8370 egrep "$ac_pattern" >/dev/null 2>&1; then
8371 rm -rf conftest*
8372 ac_cv_prog_gcc_traditional=yes
8373else
8374 rm -rf conftest*
8375 ac_cv_prog_gcc_traditional=no
8376fi
8377rm -f conftest*
8378
8379
8380 if test $ac_cv_prog_gcc_traditional = no; then
8381 cat > conftest.$ac_ext <<EOF
8382#line 8383 "configure"
8383#include "confdefs.h"
8384#include <termio.h>
8385Autoconf TCGETA
8386EOF
8387if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8388 egrep "$ac_pattern" >/dev/null 2>&1; then
8389 rm -rf conftest*
8390 ac_cv_prog_gcc_traditional=yes
8391fi
8392rm -f conftest*
8393
8394 fi
8395fi
8396
8397echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8398 if test $ac_cv_prog_gcc_traditional = yes; then
8399 CC="$CC -traditional"
8400 fi
8401fi
8402
8403
8404
8405ac_ext=C
8406# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8407ac_cpp='$CXXCPP $CPPFLAGS'
8408ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8409ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8410cross_compiling=$ac_cv_prog_cxx_cross
8411
8412
8413for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
8414do
8415# Extract the first word of "$ac_prog", so it can be a program name with args.
8416set dummy $ac_prog; ac_word=$2
8417echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8418echo "configure:8419: checking for $ac_word" >&5
8419if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8420 echo $ac_n "(cached) $ac_c" 1>&6
8421else
8422 if test -n "$CXX"; then
8423 ac_cv_prog_CXX="$CXX" # Let the user override the test.
8424else
8425 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8426 ac_dummy="$PATH"
8427 for ac_dir in $ac_dummy; do
8428 test -z "$ac_dir" && ac_dir=.
8429 if test -f $ac_dir/$ac_word; then
8430 ac_cv_prog_CXX="$ac_prog"
8431 break
8432 fi
8433 done
8434 IFS="$ac_save_ifs"
8435fi
8436fi
8437CXX="$ac_cv_prog_CXX"
8438if test -n "$CXX"; then
8439 echo "$ac_t""$CXX" 1>&6
8440else
8441 echo "$ac_t""no" 1>&6
8442fi
8443
8444test -n "$CXX" && break
8445done
8446test -n "$CXX" || CXX="gcc"
8447
8448
8449echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8450echo "configure:8451: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8451
8452ac_ext=C
8453# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8454ac_cpp='$CXXCPP $CPPFLAGS'
8455ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8456ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8457cross_compiling=$ac_cv_prog_cxx_cross
8458
8459cat > conftest.$ac_ext << EOF
8460
8461#line 8462 "configure"
8462#include "confdefs.h"
8463
8464int main(){return(0);}
8465EOF
8466if { (eval echo configure:8467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8467 ac_cv_prog_cxx_works=yes
8468 # If we can't run a trivial program, we are probably using a cross compiler.
8469 if (./conftest; exit) 2>/dev/null; then
8470 ac_cv_prog_cxx_cross=no
8471 else
8472 ac_cv_prog_cxx_cross=yes
8473 fi
8474else
8475 echo "configure: failed program was:" >&5
8476 cat conftest.$ac_ext >&5
8477 ac_cv_prog_cxx_works=no
8478fi
8479rm -fr conftest*
8480ac_ext=C
8481# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8482ac_cpp='$CXXCPP $CPPFLAGS'
8483ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8484ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8485cross_compiling=$ac_cv_prog_cxx_cross
8486
8487echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8488if test $ac_cv_prog_cxx_works = no; then
8489 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8490fi
8491echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8492echo "configure:8493: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8493echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8494cross_compiling=$ac_cv_prog_cxx_cross
8495
8496echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8497echo "configure:8498: checking whether we are using GNU C++" >&5
8498if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8499 echo $ac_n "(cached) $ac_c" 1>&6
8500else
8501 cat > conftest.C <<EOF
8502#ifdef __GNUC__
8503 yes;
8504#endif
8505EOF
8506if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:8507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
8507 ac_cv_prog_gxx=yes
8508else
8509 ac_cv_prog_gxx=no
8510fi
8511fi
8512
8513echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8514
8515if test $ac_cv_prog_gxx = yes; then
8516 GXX=yes
8517else
8518 GXX=
8519fi
8520
8521ac_test_CXXFLAGS="${CXXFLAGS+set}"
8522ac_save_CXXFLAGS="$CXXFLAGS"
8523CXXFLAGS=
8524echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8525echo "configure:8526: checking whether ${CXX-g++} accepts -g" >&5
8526if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8527 echo $ac_n "(cached) $ac_c" 1>&6
8528else
8529 echo 'void f(){}' > conftest.cc
8530if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8531 ac_cv_prog_cxx_g=yes
8532else
8533 ac_cv_prog_cxx_g=no
8534fi
8535rm -f conftest*
8536
8537fi
8538
8539echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8540if test "$ac_test_CXXFLAGS" = set; then
8541 CXXFLAGS="$ac_save_CXXFLAGS"
8542elif test $ac_cv_prog_cxx_g = yes; then
8543 if test "$GXX" = yes; then
8544 CXXFLAGS="-g -O2"
8545 else
8546 CXXFLAGS="-g"
8547 fi
8548else
8549 if test "$GXX" = yes; then
8550 CXXFLAGS="-O2"
8551 else
8552 CXXFLAGS=
8553 fi
8554fi
8555
8556
8557CXXFLAGS=`echo "$CXXFLAGS" | sed 's/-g//g'`
8558
8559ac_ext=c
8560# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8561ac_cpp='$CPP $CPPFLAGS'
8562ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8563ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8564cross_compiling=$ac_cv_prog_cc_cross
8565
8566
8567# Extract the first word of "ranlib", so it can be a program name with args.
8568set dummy ranlib; ac_word=$2
8569echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8570echo "configure:8571: checking for $ac_word" >&5
8571if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8572 echo $ac_n "(cached) $ac_c" 1>&6
8573else
8574 if test -n "$RANLIB"; then
8575 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8576else
8577 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8578 ac_dummy="$PATH"
8579 for ac_dir in $ac_dummy; do
8580 test -z "$ac_dir" && ac_dir=.
8581 if test -f $ac_dir/$ac_word; then
8582 ac_cv_prog_RANLIB="ranlib"
8583 break
8584 fi
8585 done
8586 IFS="$ac_save_ifs"
8587 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
8588fi
8589fi
8590RANLIB="$ac_cv_prog_RANLIB"
8591if test -n "$RANLIB"; then
8592 echo "$ac_t""$RANLIB" 1>&6
8593else
8594 echo "$ac_t""no" 1>&6
8595fi
8596
8597
8598# Extract the first word of "ar", so it can be a program name with args.
8599set dummy ar; ac_word=$2
8600echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8601echo "configure:8602: checking for $ac_word" >&5
8602if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8603 echo $ac_n "(cached) $ac_c" 1>&6
8604else
8605 if test -n "$AR"; then
8606 ac_cv_prog_AR="$AR" # Let the user override the test.
8607else
8608 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8609 ac_dummy="$PATH"
8610 for ac_dir in $ac_dummy; do
8611 test -z "$ac_dir" && ac_dir=.
8612 if test -f $ac_dir/$ac_word; then
8613 ac_cv_prog_AR="ar"
8614 break
8615 fi
8616 done
8617 IFS="$ac_save_ifs"
8618 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
8619fi
8620fi
8621AR="$ac_cv_prog_AR"
8622if test -n "$AR"; then
8623 echo "$ac_t""$AR" 1>&6
8624else
8625 echo "$ac_t""no" 1>&6
8626fi
8627
8628
8629# Find a good install program. We prefer a C program (faster),
8630# so one script is as good as another. But avoid the broken or
8631# incompatible versions:
8632# SysV /etc/install, /usr/sbin/install
8633# SunOS /usr/etc/install
8634# IRIX /sbin/install
8635# AIX /bin/install
8636# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8637# AFS /usr/afsws/bin/install, which mishandles nonexistent args
8638# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8639# ./install, which can be erroneously created by make from ./install.sh.
8640echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8641echo "configure:8642: checking for a BSD compatible install" >&5
8642if test -z "$INSTALL"; then
8643if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8644 echo $ac_n "(cached) $ac_c" 1>&6
8645else
8646 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
8647 for ac_dir in $PATH; do
8648 # Account for people who put trailing slashes in PATH elements.
8649 case "$ac_dir/" in
8650 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
8651 *)
8652 # OSF1 and SCO ODT 3.0 have their own names for install.
8653 # Don't use installbsd from OSF since it installs stuff as root
8654 # by default.
8655 for ac_prog in ginstall scoinst install; do
8656 if test -f $ac_dir/$ac_prog; then
8657 if test $ac_prog = install &&
8658 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
8659 # AIX install. It has an incompatible calling convention.
8660 :
8661 else
8662 ac_cv_path_install="$ac_dir/$ac_prog -c"
8663 break 2
8664 fi
8665 fi
8666 done
8667 ;;
8668 esac
8669 done
8670 IFS="$ac_save_IFS"
8671
8672fi
8673 if test "${ac_cv_path_install+set}" = set; then
8674 INSTALL="$ac_cv_path_install"
8675 else
8676 # As a last resort, use the slow shell script. We don't cache a
8677 # path for INSTALL within a source directory, because that will
8678 # break other packages using the cache if that directory is
8679 # removed, or if the path is relative.
8680 INSTALL="$ac_install_sh"
8681 fi
8682fi
8683echo "$ac_t""$INSTALL" 1>&6
8684
8685# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8686# It thinks the first close brace ends the variable substitution.
8687test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
8688
8689test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
8690
8691test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
8692
8693case "${host}" in
8694
8695 powerpc-*-darwin* )
8696 INSTALL_PROGRAM="cp -fp"
8697 INSTALL_DATA="cp -fp"
8698 ;;
8699 *)
8700 ;;
8701esac
8702
8703# Extract the first word of "strip", so it can be a program name with args.
8704set dummy strip; ac_word=$2
8705echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8706echo "configure:8707: checking for $ac_word" >&5
8707if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8708 echo $ac_n "(cached) $ac_c" 1>&6
8709else
8710 if test -n "$STRIP"; then
8711 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8712else
8713 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8714 ac_dummy="$PATH"
8715 for ac_dir in $ac_dummy; do
8716 test -z "$ac_dir" && ac_dir=.
8717 if test -f $ac_dir/$ac_word; then
8718 ac_cv_prog_STRIP="strip"
8719 break
8720 fi
8721 done
8722 IFS="$ac_save_ifs"
8723 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
8724fi
8725fi
8726STRIP="$ac_cv_prog_STRIP"
8727if test -n "$STRIP"; then
8728 echo "$ac_t""$STRIP" 1>&6
8729else
8730 echo "$ac_t""no" 1>&6
8731fi
8732
8733
8734echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8735echo "configure:8736: checking make for VPATH support" >&5
8736cat - << EOF > confMake
8737check : file
8738 cp \$? \$@
8739 cp \$? final_file
8740EOF
8741
8742if test ! -d sub ; then
8743 mkdir sub
8744fi
8745echo dummy > sub/file
8746${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
8747RESULT=$?
8748rm -f sub/file check final_file confMake
8749rmdir sub
8750if test "$RESULT" = 0; then
8751 echo "$ac_t""yes" 1>&6
8752else
8753 echo "$ac_t""no" 1>&6
8754 { echo "configure: error:
8755You need a make-utility that is able to use the variable
8756VPATH correctly.
8757If your version of make does not support VPATH correctly,
8758please install GNU-make (possibly as gmake), and start
8759configure with the following command:
8760export MAKE=gmake; ./configure for sh-type shells
8761setenv MAKE gmake; ./configure for csh-type shells
8762Also please do remember to use gmake in this case every time
8763you are trying to compile.
8764" 1>&2; exit 1; }
8765fi
8766
8767for ac_prog in 'bison -y' byacc
8768do
8769# Extract the first word of "$ac_prog", so it can be a program name with args.
8770set dummy $ac_prog; ac_word=$2
8771echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8772echo "configure:8773: checking for $ac_word" >&5
8773if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8774 echo $ac_n "(cached) $ac_c" 1>&6
8775else
8776 if test -n "$YACC"; then
8777 ac_cv_prog_YACC="$YACC" # Let the user override the test.
8778else
8779 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8780 ac_dummy="$PATH"
8781 for ac_dir in $ac_dummy; do
8782 test -z "$ac_dir" && ac_dir=.
8783 if test -f $ac_dir/$ac_word; then
8784 ac_cv_prog_YACC="$ac_prog"
8785 break
8786 fi
8787 done
8788 IFS="$ac_save_ifs"
8789fi
8790fi
8791YACC="$ac_cv_prog_YACC"
8792if test -n "$YACC"; then
8793 echo "$ac_t""$YACC" 1>&6
8794else
8795 echo "$ac_t""no" 1>&6
8796fi
8797
8798test -n "$YACC" && break
8799done
8800test -n "$YACC" || YACC="yacc"
8801
8802
8803# Extract the first word of "flex", so it can be a program name with args.
8804set dummy flex; ac_word=$2
8805echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8806echo "configure:8807: checking for $ac_word" >&5
8807if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8808 echo $ac_n "(cached) $ac_c" 1>&6
8809else
8810 if test -n "$LEX"; then
8811 ac_cv_prog_LEX="$LEX" # Let the user override the test.
8812else
8813 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8814 ac_dummy="$PATH"
8815 for ac_dir in $ac_dummy; do
8816 test -z "$ac_dir" && ac_dir=.
8817 if test -f $ac_dir/$ac_word; then
8818 ac_cv_prog_LEX="flex"
8819 break
8820 fi
8821 done
8822 IFS="$ac_save_ifs"
8823 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"
8824fi
8825fi
8826LEX="$ac_cv_prog_LEX"
8827if test -n "$LEX"; then
8828 echo "$ac_t""$LEX" 1>&6
8829else
8830 echo "$ac_t""no" 1>&6
8831fi
8832
8833if test -z "$LEXLIB"
8834then
8835 case "$LEX" in
8836 flex*) ac_lib=fl ;;
8837 *) ac_lib=l ;;
8838 esac
8839 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8840echo "configure:8841: checking for yywrap in -l$ac_lib" >&5
8841ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8842if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8843 echo $ac_n "(cached) $ac_c" 1>&6
8844else
8845 ac_save_LIBS="$LIBS"
8846LIBS="-l$ac_lib $LIBS"
8847cat > conftest.$ac_ext <<EOF
8848#line 8849 "configure"
8849#include "confdefs.h"
8850/* Override any gcc2 internal prototype to avoid an error. */
8851/* We use char because int might match the return type of a gcc2
8852 builtin and then its argument prototype would still apply. */
8853char yywrap();
8854
8855int main() {
8856yywrap()
8857; return 0; }
8858EOF
8859if { (eval echo configure:8860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8860 rm -rf conftest*
8861 eval "ac_cv_lib_$ac_lib_var=yes"
8862else
8863 echo "configure: failed program was:" >&5
8864 cat conftest.$ac_ext >&5
8865 rm -rf conftest*
8866 eval "ac_cv_lib_$ac_lib_var=no"
8867fi
8868rm -f conftest*
8869LIBS="$ac_save_LIBS"
8870
8871fi
8872if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8873 echo "$ac_t""yes" 1>&6
8874 LEXLIB="-l$ac_lib"
8875else
8876 echo "$ac_t""no" 1>&6
8877fi
8878
8879fi
8880
8881
8882echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8883echo "configure:8884: checking whether ln -s works" >&5
8884if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8885 echo $ac_n "(cached) $ac_c" 1>&6
8886else
8887 rm -f conftestdata
8888if ln -s X conftestdata 2>/dev/null
8889then
8890 rm -f conftestdata
8891 ac_cv_prog_LN_S="ln -s"
8892else
8893 ac_cv_prog_LN_S=ln
8894fi
8895fi
8896LN_S="$ac_cv_prog_LN_S"
8897if test "$ac_cv_prog_LN_S" = "ln -s"; then
8898 echo "$ac_t""yes" 1>&6
8899else
8900 echo "$ac_t""no" 1>&6
8901fi
8902
8903
8904
8905SEARCH_INCLUDE="\
8906 /usr/local/include \
8907 \
8908 /usr/Motif-1.2/include \
8909 /usr/Motif-2.1/include \
8910 \
8911 /usr/include/Motif1.2 \
8912 /opt/xpm/include/X11 \
8913 /opt/GBxpm/include/ \
8914 /opt/GBxpm/X11/include/ \
8915 \
8916 /usr/Motif1.2/include \
8917 /usr/dt/include \
8918 /usr/openwin/include \
8919 \
8920 /usr/include/Xm \
8921 \
8922 /usr/X11R6/include \
8923 /usr/X11R6.4/include \
8924 /usr/X11R5/include \
8925 /usr/X11R4/include \
8926 \
8927 /usr/include/X11R6 \
8928 /usr/include/X11R5 \
8929 /usr/include/X11R4 \
8930 \
8931 /usr/local/X11R6/include \
8932 /usr/local/X11R5/include \
8933 /usr/local/X11R4/include \
8934 \
8935 /usr/local/include/X11R6 \
8936 /usr/local/include/X11R5 \
8937 /usr/local/include/X11R4 \
8938 \
8939 /usr/X11/include \
8940 /usr/include/X11 \
8941 /usr/local/X11/include \
8942 /usr/local/include/X11 \
8943 \
8944 /usr/X386/include \
8945 /usr/x386/include \
8946 /usr/XFree86/include/X11 \
8947 \
8948 X:/XFree86/include \
8949 X:/XFree86/include/X11 \
8950 \
8951 /usr/include/gtk \
8952 /usr/local/include/gtk \
8953 /usr/include/glib \
8954 /usr/local/include/glib \
8955 \
8956 /usr/include/qt \
8957 /usr/local/include/qt \
8958 \
8959 /usr/include/windows \
8960 /usr/include/wine \
8961 /usr/local/include/wine \
8962 \
8963 /usr/unsupported/include \
8964 /usr/athena/include \
8965 /usr/local/x11r5/include \
8966 /usr/lpp/Xamples/include \
8967 \
8968 /usr/openwin/share/include \
8969 \
8970 /usr/include"
8971
8972SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8973
8974
8975cat > confcache <<\EOF
8976# This file is a shell script that caches the results of configure
8977# tests run on this system so they can be shared between configure
8978# scripts and configure runs. It is not useful on other systems.
8979# If it contains results you don't want to keep, you may remove or edit it.
8980#
8981# By default, configure uses ./config.cache as the cache file,
8982# creating it if it does not exist already. You can give configure
8983# the --cache-file=FILE option to use a different cache file; that is
8984# what configure does when it calls configure scripts in
8985# subdirectories, so they share the cache.
8986# Giving --cache-file=/dev/null disables caching, for debugging configure.
8987# config.status only pays attention to the cache file if you give it the
8988# --recheck option to rerun configure.
8989#
8990EOF
8991# The following way of writing the cache mishandles newlines in values,
8992# but we know of no workaround that is simple, portable, and efficient.
8993# So, don't put newlines in cache variables' values.
8994# Ultrix sh set writes to stderr and can't be redirected directly,
8995# and sets the high bit in the cache file unless we assign to the vars.
8996(set) 2>&1 |
8997 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8998 *ac_space=\ *)
8999 # `set' does not quote correctly, so add quotes (double-quote substitution
9000 # turns \\\\ into \\, and sed turns \\ into \).
9001 sed -n \
9002 -e "s/'/'\\\\''/g" \
9003 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9004 ;;
9005 *)
9006 # `set' quotes correctly as required by POSIX, so do not add quotes.
9007 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9008 ;;
9009 esac >> confcache
9010if cmp -s $cache_file confcache; then
9011 :
9012else
9013 if test -w $cache_file; then
9014 echo "updating cache $cache_file"
9015 cat confcache > $cache_file
9016 else
9017 echo "not updating unwritable cache $cache_file"
9018 fi
9019fi
9020rm -f confcache
9021
9022
9023
9024
9025REGEX_INCLUDE=
9026if test "$wxUSE_REGEX" != "no"; then
9027 cat >> confdefs.h <<\EOF
9028#define wxUSE_REGEX 1
9029EOF
9030
9031
9032 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
9033 ac_safe=`echo "regex.h" | sed 'y%./+-%__p_%'`
9034echo $ac_n "checking for regex.h""... $ac_c" 1>&6
9035echo "configure:9036: checking for regex.h" >&5
9036if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9037 echo $ac_n "(cached) $ac_c" 1>&6
9038else
9039 cat > conftest.$ac_ext <<EOF
9040#line 9041 "configure"
9041#include "confdefs.h"
9042#include <regex.h>
9043EOF
9044ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9045{ (eval echo configure:9046: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9046ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9047if test -z "$ac_err"; then
9048 rm -rf conftest*
9049 eval "ac_cv_header_$ac_safe=yes"
9050else
9051 echo "$ac_err" >&5
9052 echo "configure: failed program was:" >&5
9053 cat conftest.$ac_ext >&5
9054 rm -rf conftest*
9055 eval "ac_cv_header_$ac_safe=no"
9056fi
9057rm -f conftest*
9058fi
9059if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9060 echo "$ac_t""yes" 1>&6
9061 for ac_func in regcomp
9062do
9063echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9064echo "configure:9065: checking for $ac_func" >&5
9065if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9066 echo $ac_n "(cached) $ac_c" 1>&6
9067else
9068 cat > conftest.$ac_ext <<EOF
9069#line 9070 "configure"
9070#include "confdefs.h"
9071/* System header to define __stub macros and hopefully few prototypes,
9072 which can conflict with char $ac_func(); below. */
9073#include <assert.h>
9074/* Override any gcc2 internal prototype to avoid an error. */
9075/* We use char because int might match the return type of a gcc2
9076 builtin and then its argument prototype would still apply. */
9077char $ac_func();
9078
9079int main() {
9080
9081/* The GNU C library defines this for functions which it implements
9082 to always fail with ENOSYS. Some functions are actually named
9083 something starting with __ and the normal name is an alias. */
9084#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9085choke me
9086#else
9087$ac_func();
9088#endif
9089
9090; return 0; }
9091EOF
9092if { (eval echo configure:9093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9093 rm -rf conftest*
9094 eval "ac_cv_func_$ac_func=yes"
9095else
9096 echo "configure: failed program was:" >&5
9097 cat conftest.$ac_ext >&5
9098 rm -rf conftest*
9099 eval "ac_cv_func_$ac_func=no"
9100fi
9101rm -f conftest*
9102fi
9103
9104if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9105 echo "$ac_t""yes" 1>&6
9106 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9107 cat >> confdefs.h <<EOF
9108#define $ac_tr_func 1
9109EOF
9110
9111else
9112 echo "$ac_t""no" 1>&6
9113fi
9114done
9115
9116else
9117 echo "$ac_t""no" 1>&6
9118fi
9119
9120
9121 if test "x$ac_cv_func_regcomp" != "xyes"; then
9122 if test "$wxUSE_REGEX" = "sys" ; then
9123 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9124 else
9125 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9126 wxUSE_REGEX=builtin
9127 fi
9128 else
9129 wxUSE_REGEX=sys
9130 fi
9131 fi
9132
9133 if test "$wxUSE_REGEX" = "builtin" ; then
9134 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
9135 fi
9136fi
9137
9138
9139ZLIB_INCLUDE=
9140ZLIB_LINK=
9141if test "$wxUSE_ZLIB" != "no" ; then
9142 cat >> confdefs.h <<\EOF
9143#define wxUSE_ZLIB 1
9144EOF
9145
9146
9147 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9148 ac_safe=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9149echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9150echo "configure:9151: checking for zlib.h" >&5
9151if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9152 echo $ac_n "(cached) $ac_c" 1>&6
9153else
9154 cat > conftest.$ac_ext <<EOF
9155#line 9156 "configure"
9156#include "confdefs.h"
9157#include <zlib.h>
9158EOF
9159ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9160{ (eval echo configure:9161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9161ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9162if test -z "$ac_err"; then
9163 rm -rf conftest*
9164 eval "ac_cv_header_$ac_safe=yes"
9165else
9166 echo "$ac_err" >&5
9167 echo "configure: failed program was:" >&5
9168 cat conftest.$ac_ext >&5
9169 rm -rf conftest*
9170 eval "ac_cv_header_$ac_safe=no"
9171fi
9172rm -f conftest*
9173fi
9174if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9175 echo "$ac_t""yes" 1>&6
9176 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9177echo "configure:9178: checking for deflate in -lz" >&5
9178ac_lib_var=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9179if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9180 echo $ac_n "(cached) $ac_c" 1>&6
9181else
9182 ac_save_LIBS="$LIBS"
9183LIBS="-lz $LIBS"
9184cat > conftest.$ac_ext <<EOF
9185#line 9186 "configure"
9186#include "confdefs.h"
9187/* Override any gcc2 internal prototype to avoid an error. */
9188/* We use char because int might match the return type of a gcc2
9189 builtin and then its argument prototype would still apply. */
9190char deflate();
9191
9192int main() {
9193deflate()
9194; return 0; }
9195EOF
9196if { (eval echo configure:9197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9197 rm -rf conftest*
9198 eval "ac_cv_lib_$ac_lib_var=yes"
9199else
9200 echo "configure: failed program was:" >&5
9201 cat conftest.$ac_ext >&5
9202 rm -rf conftest*
9203 eval "ac_cv_lib_$ac_lib_var=no"
9204fi
9205rm -f conftest*
9206LIBS="$ac_save_LIBS"
9207
9208fi
9209if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9210 echo "$ac_t""yes" 1>&6
9211 ZLIB_LINK=" -lz"
9212else
9213 echo "$ac_t""no" 1>&6
9214fi
9215
9216else
9217 echo "$ac_t""no" 1>&6
9218fi
9219
9220
9221 if test "x$ZLIB_LINK" = "x" ; then
9222 if test "$wxUSE_ZLIB" = "sys" ; then
9223 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9224 else
9225 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9226 wxUSE_ZLIB=builtin
9227 fi
9228 else
9229 wxUSE_ZLIB=sys
9230 fi
9231 fi
9232
9233 if test "$wxUSE_ZLIB" = "builtin" ; then
9234 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
9235 fi
9236fi
9237
9238
9239PNG_INCLUDE=
9240PNG_LINK=
9241if test "$wxUSE_LIBPNG" != "no" ; then
9242 cat >> confdefs.h <<\EOF
9243#define wxUSE_LIBPNG 1
9244EOF
9245
9246
9247 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9248 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9249 wxUSE_LIBPNG=builtin
9250 fi
9251
9252 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9253 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
9254echo $ac_n "checking for png.h""... $ac_c" 1>&6
9255echo "configure:9256: checking for png.h" >&5
9256if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9257 echo $ac_n "(cached) $ac_c" 1>&6
9258else
9259 cat > conftest.$ac_ext <<EOF
9260#line 9261 "configure"
9261#include "confdefs.h"
9262#include <png.h>
9263EOF
9264ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9265{ (eval echo configure:9266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9266ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9267if test -z "$ac_err"; then
9268 rm -rf conftest*
9269 eval "ac_cv_header_$ac_safe=yes"
9270else
9271 echo "$ac_err" >&5
9272 echo "configure: failed program was:" >&5
9273 cat conftest.$ac_ext >&5
9274 rm -rf conftest*
9275 eval "ac_cv_header_$ac_safe=no"
9276fi
9277rm -f conftest*
9278fi
9279if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9280 echo "$ac_t""yes" 1>&6
9281 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9282echo "configure:9283: checking for png_check_sig in -lpng" >&5
9283ac_lib_var=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9284if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9285 echo $ac_n "(cached) $ac_c" 1>&6
9286else
9287 ac_save_LIBS="$LIBS"
9288LIBS="-lpng -lz -lm $LIBS"
9289cat > conftest.$ac_ext <<EOF
9290#line 9291 "configure"
9291#include "confdefs.h"
9292/* Override any gcc2 internal prototype to avoid an error. */
9293/* We use char because int might match the return type of a gcc2
9294 builtin and then its argument prototype would still apply. */
9295char png_check_sig();
9296
9297int main() {
9298png_check_sig()
9299; return 0; }
9300EOF
9301if { (eval echo configure:9302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9302 rm -rf conftest*
9303 eval "ac_cv_lib_$ac_lib_var=yes"
9304else
9305 echo "configure: failed program was:" >&5
9306 cat conftest.$ac_ext >&5
9307 rm -rf conftest*
9308 eval "ac_cv_lib_$ac_lib_var=no"
9309fi
9310rm -f conftest*
9311LIBS="$ac_save_LIBS"
9312
9313fi
9314if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9315 echo "$ac_t""yes" 1>&6
9316 PNG_LINK=" -lpng"
9317else
9318 echo "$ac_t""no" 1>&6
9319fi
9320
9321
9322else
9323 echo "$ac_t""no" 1>&6
9324fi
9325
9326
9327 if test "x$PNG_LINK" = "x" ; then
9328 if test "$wxUSE_LIBPNG" = "sys" ; then
9329 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9330 else
9331 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9332 wxUSE_LIBPNG=builtin
9333 fi
9334 else
9335 wxUSE_LIBPNG=yes
9336 fi
9337 fi
9338
9339 if test "$wxUSE_LIBPNG" = "builtin" ; then
9340 PNG_INCLUDE="-I\${top_srcdir}/src/png"
9341 fi
9342
9343 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
9344fi
9345
9346
9347JPEG_INCLUDE=
9348JPEG_LINK=
9349if test "$wxUSE_LIBJPEG" != "no" ; then
9350 cat >> confdefs.h <<\EOF
9351#define wxUSE_LIBJPEG 1
9352EOF
9353
9354
9355 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9356 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9357echo "configure:9358: checking for jpeglib.h" >&5
9358 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9359 echo $ac_n "(cached) $ac_c" 1>&6
9360else
9361 cat > conftest.$ac_ext <<EOF
9362#line 9363 "configure"
9363#include "confdefs.h"
9364
9365 #undef HAVE_STDLIB_H
9366 #include <stdio.h>
9367 #include <jpeglib.h>
9368
9369int main() {
9370
9371
9372; return 0; }
9373EOF
9374if { (eval echo configure:9375: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9375 rm -rf conftest*
9376 ac_cv_header_jpeglib_h=yes
9377else
9378 echo "configure: failed program was:" >&5
9379 cat conftest.$ac_ext >&5
9380 rm -rf conftest*
9381 ac_cv_header_jpeglib_h=no
9382
9383fi
9384rm -f conftest*
9385
9386fi
9387
9388 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
9389
9390 if test "$ac_cv_header_jpeglib_h" = "yes"; then
9391 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
9392echo "configure:9393: checking for jpeg_read_header in -ljpeg" >&5
9393ac_lib_var=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
9394if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9395 echo $ac_n "(cached) $ac_c" 1>&6
9396else
9397 ac_save_LIBS="$LIBS"
9398LIBS="-ljpeg $LIBS"
9399cat > conftest.$ac_ext <<EOF
9400#line 9401 "configure"
9401#include "confdefs.h"
9402/* Override any gcc2 internal prototype to avoid an error. */
9403/* We use char because int might match the return type of a gcc2
9404 builtin and then its argument prototype would still apply. */
9405char jpeg_read_header();
9406
9407int main() {
9408jpeg_read_header()
9409; return 0; }
9410EOF
9411if { (eval echo configure:9412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9412 rm -rf conftest*
9413 eval "ac_cv_lib_$ac_lib_var=yes"
9414else
9415 echo "configure: failed program was:" >&5
9416 cat conftest.$ac_ext >&5
9417 rm -rf conftest*
9418 eval "ac_cv_lib_$ac_lib_var=no"
9419fi
9420rm -f conftest*
9421LIBS="$ac_save_LIBS"
9422
9423fi
9424if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9425 echo "$ac_t""yes" 1>&6
9426 JPEG_LINK=" -ljpeg"
9427else
9428 echo "$ac_t""no" 1>&6
9429fi
9430
9431 fi
9432
9433 if test "x$JPEG_LINK" = "x" ; then
9434 if test "$wxUSE_LIBJPEG" = "sys" ; then
9435 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
9436 else
9437 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
9438 wxUSE_LIBJPEG=builtin
9439 fi
9440 else
9441 wxUSE_LIBJPEG=sys
9442 fi
9443 fi
9444
9445 if test "$wxUSE_LIBJPEG" = "builtin" ; then
9446 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
9447 fi
9448fi
9449
9450
9451TIFF_INCLUDE=
9452TIFF_LINK=
9453if test "$wxUSE_LIBTIFF" != "no" ; then
9454 cat >> confdefs.h <<\EOF
9455#define wxUSE_LIBTIFF 1
9456EOF
9457
9458
9459 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
9460 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
9461echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
9462echo "configure:9463: checking for tiffio.h" >&5
9463if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9464 echo $ac_n "(cached) $ac_c" 1>&6
9465else
9466 cat > conftest.$ac_ext <<EOF
9467#line 9468 "configure"
9468#include "confdefs.h"
9469#include <tiffio.h>
9470EOF
9471ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9472{ (eval echo configure:9473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9473ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9474if test -z "$ac_err"; then
9475 rm -rf conftest*
9476 eval "ac_cv_header_$ac_safe=yes"
9477else
9478 echo "$ac_err" >&5
9479 echo "configure: failed program was:" >&5
9480 cat conftest.$ac_ext >&5
9481 rm -rf conftest*
9482 eval "ac_cv_header_$ac_safe=no"
9483fi
9484rm -f conftest*
9485fi
9486if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9487 echo "$ac_t""yes" 1>&6
9488 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
9489echo "configure:9490: checking for TIFFError in -ltiff" >&5
9490ac_lib_var=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
9491if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9492 echo $ac_n "(cached) $ac_c" 1>&6
9493else
9494 ac_save_LIBS="$LIBS"
9495LIBS="-ltiff -lm $LIBS"
9496cat > conftest.$ac_ext <<EOF
9497#line 9498 "configure"
9498#include "confdefs.h"
9499/* Override any gcc2 internal prototype to avoid an error. */
9500/* We use char because int might match the return type of a gcc2
9501 builtin and then its argument prototype would still apply. */
9502char TIFFError();
9503
9504int main() {
9505TIFFError()
9506; return 0; }
9507EOF
9508if { (eval echo configure:9509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9509 rm -rf conftest*
9510 eval "ac_cv_lib_$ac_lib_var=yes"
9511else
9512 echo "configure: failed program was:" >&5
9513 cat conftest.$ac_ext >&5
9514 rm -rf conftest*
9515 eval "ac_cv_lib_$ac_lib_var=no"
9516fi
9517rm -f conftest*
9518LIBS="$ac_save_LIBS"
9519
9520fi
9521if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9522 echo "$ac_t""yes" 1>&6
9523 TIFF_LINK=" -ltiff"
9524else
9525 echo "$ac_t""no" 1>&6
9526fi
9527
9528
9529else
9530 echo "$ac_t""no" 1>&6
9531fi
9532
9533
9534 if test "x$TIFF_LINK" = "x" ; then
9535 if test "$wxUSE_LIBTIFF" = "sys" ; then
9536 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
9537 else
9538 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
9539 wxUSE_LIBTIFF=builtin
9540 fi
9541 else
9542 wxUSE_LIBTIFF=sys
9543 fi
9544 fi
9545
9546 if test "$wxUSE_LIBTIFF" = "builtin" ; then
9547 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
9548 fi
9549fi
9550
9551
9552FREETYPE_INCLUDE=
9553FREETYPE_LINK=
9554if test "$wxUSE_FREETYPE" != "no" ; then
9555 cat >> confdefs.h <<\EOF
9556#define wxUSE_FREETYPE 1
9557EOF
9558
9559
9560 if test "$wxUSE_FREETYPE" = "sys" -o "$wxUSE_FREETYPE" = "yes" ; then
9561 ac_safe=`echo "freetype.h" | sed 'y%./+-%__p_%'`
9562echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
9563echo "configure:9564: checking for freetype.h" >&5
9564if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9565 echo $ac_n "(cached) $ac_c" 1>&6
9566else
9567 cat > conftest.$ac_ext <<EOF
9568#line 9569 "configure"
9569#include "confdefs.h"
9570#include <freetype.h>
9571EOF
9572ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9573{ (eval echo configure:9574: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9574ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9575if test -z "$ac_err"; then
9576 rm -rf conftest*
9577 eval "ac_cv_header_$ac_safe=yes"
9578else
9579 echo "$ac_err" >&5
9580 echo "configure: failed program was:" >&5
9581 cat conftest.$ac_ext >&5
9582 rm -rf conftest*
9583 eval "ac_cv_header_$ac_safe=no"
9584fi
9585rm -f conftest*
9586fi
9587if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9588 echo "$ac_t""yes" 1>&6
9589 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
9590echo "configure:9591: checking for FT_Render_Glyph in -lfreetype" >&5
9591ac_lib_var=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
9592if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9593 echo $ac_n "(cached) $ac_c" 1>&6
9594else
9595 ac_save_LIBS="$LIBS"
9596LIBS="-lfreetype -lm $LIBS"
9597cat > conftest.$ac_ext <<EOF
9598#line 9599 "configure"
9599#include "confdefs.h"
9600/* Override any gcc2 internal prototype to avoid an error. */
9601/* We use char because int might match the return type of a gcc2
9602 builtin and then its argument prototype would still apply. */
9603char FT_Render_Glyph();
9604
9605int main() {
9606FT_Render_Glyph()
9607; return 0; }
9608EOF
9609if { (eval echo configure:9610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9610 rm -rf conftest*
9611 eval "ac_cv_lib_$ac_lib_var=yes"
9612else
9613 echo "configure: failed program was:" >&5
9614 cat conftest.$ac_ext >&5
9615 rm -rf conftest*
9616 eval "ac_cv_lib_$ac_lib_var=no"
9617fi
9618rm -f conftest*
9619LIBS="$ac_save_LIBS"
9620
9621fi
9622if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9623 echo "$ac_t""yes" 1>&6
9624 FREETYPE_LINK=" -lfreetype"
9625else
9626 echo "$ac_t""no" 1>&6
9627fi
9628
9629
9630else
9631 echo "$ac_t""no" 1>&6
9632fi
9633
9634
9635 if test "x$FREETYPE_LINK" = "x" ; then
9636 if test "$wxUSE_FREETYPE" = "sys" ; then
9637 { echo "configure: error: system freetype library not found! Use --with-freetype=builtin to use built-in version" 1>&2; exit 1; }
9638 else
9639 echo "configure: warning: system freetype library not found, will use built-in instead" 1>&2
9640 wxUSE_FREETYPE=builtin
9641 fi
9642 else
9643 wxUSE_FREETYPE=sys
9644 fi
9645 fi
9646
9647 if test "$wxUSE_FREETYPE" = "builtin" ; then
9648 FREETYPE_INCLUDE="-I\${top_srcdir}/src/freetype"
9649 fi
9650fi
9651
9652
9653AFMINSTALL=
9654
9655TOOLKIT=
9656TOOLKIT_INCLUDE=
9657WIDGET_SET=
9658
9659if test "$USE_WIN32" = 1 ; then
9660 for ac_hdr in w32api.h
9661do
9662ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9663echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9664echo "configure:9665: checking for $ac_hdr" >&5
9665if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9666 echo $ac_n "(cached) $ac_c" 1>&6
9667else
9668 cat > conftest.$ac_ext <<EOF
9669#line 9670 "configure"
9670#include "confdefs.h"
9671#include <$ac_hdr>
9672EOF
9673ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9674{ (eval echo configure:9675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9675ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9676if test -z "$ac_err"; then
9677 rm -rf conftest*
9678 eval "ac_cv_header_$ac_safe=yes"
9679else
9680 echo "$ac_err" >&5
9681 echo "configure: failed program was:" >&5
9682 cat conftest.$ac_ext >&5
9683 rm -rf conftest*
9684 eval "ac_cv_header_$ac_safe=no"
9685fi
9686rm -f conftest*
9687fi
9688if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9689 echo "$ac_t""yes" 1>&6
9690 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9691 cat >> confdefs.h <<EOF
9692#define $ac_tr_hdr 1
9693EOF
9694
9695else
9696 echo "$ac_t""no" 1>&6
9697fi
9698done
9699
9700 ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'`
9701echo $ac_n "checking for windows.h""... $ac_c" 1>&6
9702echo "configure:9703: checking for windows.h" >&5
9703if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9704 echo $ac_n "(cached) $ac_c" 1>&6
9705else
9706 cat > conftest.$ac_ext <<EOF
9707#line 9708 "configure"
9708#include "confdefs.h"
9709#include <windows.h>
9710EOF
9711ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9712{ (eval echo configure:9713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9713ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9714if test -z "$ac_err"; then
9715 rm -rf conftest*
9716 eval "ac_cv_header_$ac_safe=yes"
9717else
9718 echo "$ac_err" >&5
9719 echo "configure: failed program was:" >&5
9720 cat conftest.$ac_ext >&5
9721 rm -rf conftest*
9722 eval "ac_cv_header_$ac_safe=no"
9723fi
9724rm -f conftest*
9725fi
9726if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9727 echo "$ac_t""yes" 1>&6
9728 :
9729else
9730 echo "$ac_t""no" 1>&6
9731
9732 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9733
9734fi
9735
9736
9737 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
9738echo "configure:9739: checking if w32api has good enough MSIE support" >&5
9739if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
9740 echo $ac_n "(cached) $ac_c" 1>&6
9741else
9742
9743 cat > conftest.$ac_ext <<EOF
9744#line 9745 "configure"
9745#include "confdefs.h"
9746#include <w32api.h>
9747int main() {
9748
9749 #define wxCHECK_W32API_VERSION( major, minor ) \
9750 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
9751 && ( ( __W32API_MAJOR_VERSION > (major) ) \
9752 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
9753
9754 #if !wxCHECK_W32API_VERSION(1,1)
9755 #error You need w32api 1.1 or newer
9756 #endif
9757
9758; return 0; }
9759EOF
9760if { (eval echo configure:9761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9761 rm -rf conftest*
9762
9763 wx_cv_w32api_win32_ie=yes
9764
9765else
9766 echo "configure: failed program was:" >&5
9767 cat conftest.$ac_ext >&5
9768 rm -rf conftest*
9769
9770 wx_cv_w32api_win32_ie=no
9771
9772fi
9773rm -f conftest*
9774
9775fi
9776
9777echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
9778 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
9779 CPPFLAGS="$CPPFLAGS -D_WIN32_IE=0x400"
9780 fi
9781
9782 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
9783
9784 case "${host}" in
9785 *-*-cygwin* )
9786 LIBS="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
9787 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
9788 esac
9789
9790 if test "$wxUSE_ODBC" = "yes" ; then
9791 LIBS=" -lodbc32 -lole32 -loleaut32$LIBS"
9792 fi
9793
9794 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
9795 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
9796fi
9797
9798if test "$wxUSE_GUI" = "yes"; then
9799 USE_GUI=1
9800
9801 GUI_TK_LIBRARY=
9802
9803 WXGTK12=
9804 WXGTK127=
9805 WXGTK20=
9806
9807 if test "$wxUSE_MSW" = 1 ; then
9808 TOOLKIT=MSW
9809 GUIDIST=MSW_DIST
9810
9811 case "${host}" in
9812 *-*-mingw32* )
9813 LDFLAGS="$LDFLAGS -Wl,--subsystem,windows -mwindows"
9814 esac
9815 fi
9816
9817 if test "$wxUSE_GTK" = 1; then
9818 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
9819echo "configure:9820: checking for GTK+ version" >&5
9820
9821 gtk_version_cached=1
9822 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
9823 echo $ac_n "(cached) $ac_c" 1>&6
9824else
9825
9826 gtk_version_cached=0
9827 echo "$ac_t""" 1>&6
9828
9829 wx_cv_lib_gtk=
9830 if test "x$wxUSE_GTK2" = "xyes"; then
9831 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9832if test "${with_gtk_prefix+set}" = set; then
9833 withval="$with_gtk_prefix"
9834 gtk_config_prefix="$withval"
9835else
9836 gtk_config_prefix=""
9837fi
9838
9839# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9840if test "${with_gtk_exec_prefix+set}" = set; then
9841 withval="$with_gtk_exec_prefix"
9842 gtk_config_exec_prefix="$withval"
9843else
9844 gtk_config_exec_prefix=""
9845fi
9846
9847# Check whether --enable-gtktest or --disable-gtktest was given.
9848if test "${enable_gtktest+set}" = set; then
9849 enableval="$enable_gtktest"
9850 :
9851else
9852 enable_gtktest=yes
9853fi
9854
9855
9856 for module in .
9857 do
9858 case "$module" in
9859 gthread)
9860 gtk_config_args="$gtk_config_args gthread"
9861 ;;
9862 esac
9863 done
9864
9865 if test x$gtk_config_exec_prefix != x ; then
9866 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9867 if test x${GTK_CONFIG_2_0+set} != xset ; then
9868 GTK_CONFIG_2_0=$gtk_config_exec_prefix/bin/gtk-config-2.0
9869 fi
9870 fi
9871 if test x$gtk_config_prefix != x ; then
9872 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
9873 if test x${GTK_CONFIG_2_0+set} != xset ; then
9874 GTK_CONFIG_2_0=$gtk_config_prefix/bin/gtk-config-2.0
9875 fi
9876 fi
9877
9878 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
9879set dummy gtk-config-2.0; ac_word=$2
9880echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9881echo "configure:9882: checking for $ac_word" >&5
9882if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
9883 echo $ac_n "(cached) $ac_c" 1>&6
9884else
9885 case "$GTK_CONFIG_2_0" in
9886 /*)
9887 ac_cv_path_GTK_CONFIG_2_0="$GTK_CONFIG_2_0" # Let the user override the test with a path.
9888 ;;
9889 ?:/*)
9890 ac_cv_path_GTK_CONFIG_2_0="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
9891 ;;
9892 *)
9893 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9894 ac_dummy="$PATH"
9895 for ac_dir in $ac_dummy; do
9896 test -z "$ac_dir" && ac_dir=.
9897 if test -f $ac_dir/$ac_word; then
9898 ac_cv_path_GTK_CONFIG_2_0="$ac_dir/$ac_word"
9899 break
9900 fi
9901 done
9902 IFS="$ac_save_ifs"
9903 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0="no"
9904 ;;
9905esac
9906fi
9907GTK_CONFIG_2_0="$ac_cv_path_GTK_CONFIG_2_0"
9908if test -n "$GTK_CONFIG_2_0"; then
9909 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
9910else
9911 echo "$ac_t""no" 1>&6
9912fi
9913
9914 min_gtk_version=1.3.1
9915 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9916echo "configure:9917: checking for GTK - version >= $min_gtk_version" >&5
9917 no_gtk=""
9918 if test "$GTK_CONFIG_2_0" = "no" ; then
9919 no_gtk=yes
9920 else
9921 GTK_CFLAGS=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
9922 GTK_LIBS=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
9923 gtk_config_major_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9924 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9925 gtk_config_minor_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9926 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9927 gtk_config_micro_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9928 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9929 if test "x$enable_gtktest" = "xyes" ; then
9930 ac_save_CFLAGS="$CFLAGS"
9931 ac_save_LIBS="$LIBS"
9932 CFLAGS="$CFLAGS $GTK_CFLAGS"
9933 LIBS="$GTK_LIBS $LIBS"
9934 rm -f conf.gtktest
9935 if test "$cross_compiling" = yes; then
9936 echo $ac_n "cross compiling; assumed OK... $ac_c"
9937else
9938 cat > conftest.$ac_ext <<EOF
9939#line 9940 "configure"
9940#include "confdefs.h"
9941
9942#include <gtk/gtk.h>
9943#include <stdio.h>
9944#include <stdlib.h>
9945
9946int
9947main ()
9948{
9949 int major, minor, micro;
9950 char *tmp_version;
9951
9952 system ("touch conf.gtktest");
9953
9954 /* HP/UX 9 (%@#!) writes to sscanf strings */
9955 tmp_version = g_strdup("$min_gtk_version");
9956 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
9957 printf("%s, bad version string\n", "$min_gtk_version");
9958 exit(1);
9959 }
9960
9961 if ((gtk_major_version != $gtk_config_major_version) ||
9962 (gtk_minor_version != $gtk_config_minor_version) ||
9963 (gtk_micro_version != $gtk_config_micro_version))
9964 {
9965 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9966 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9967 gtk_major_version, gtk_minor_version, gtk_micro_version);
9968 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
9969 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9970 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9971 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9972 printf("*** required on your system.\n");
9973 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
9974 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
9975 printf("*** before re-running configure\n");
9976 }
9977#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
9978 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9979 (gtk_minor_version != GTK_MINOR_VERSION) ||
9980 (gtk_micro_version != GTK_MICRO_VERSION))
9981 {
9982 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9983 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9984 printf("*** library (version %d.%d.%d)\n",
9985 gtk_major_version, gtk_minor_version, gtk_micro_version);
9986 }
9987#endif /* defined (GTK_MAJOR_VERSION) ... */
9988 else
9989 {
9990 if ((gtk_major_version > major) ||
9991 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9992 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9993 {
9994 return 0;
9995 }
9996 else
9997 {
9998 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
9999 gtk_major_version, gtk_minor_version, gtk_micro_version);
10000 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10001 major, minor, micro);
10002 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10003 printf("***\n");
10004 printf("*** If you have already installed a sufficiently new version, this error\n");
10005 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
10006 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10007 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
10008 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
10009 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10010 printf("*** so that the correct libraries are found at run-time))\n");
10011 }
10012 }
10013 return 1;
10014}
10015
10016EOF
10017if { (eval echo configure:10018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10018then
10019 :
10020else
10021 echo "configure: failed program was:" >&5
10022 cat conftest.$ac_ext >&5
10023 rm -fr conftest*
10024 no_gtk=yes
10025fi
10026rm -fr conftest*
10027fi
10028
10029 CFLAGS="$ac_save_CFLAGS"
10030 LIBS="$ac_save_LIBS"
10031 fi
10032 fi
10033 if test "x$no_gtk" = x ; then
10034 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
10035 wx_cv_lib_gtk=2.0
10036 else
10037 echo "$ac_t""no" 1>&6
10038 if test "$GTK_CONFIG_2_0" = "no" ; then
10039 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
10040 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10041 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
10042 echo "*** full path to gtk-config-2.0."
10043 else
10044 if test -f conf.gtktest ; then
10045 :
10046 else
10047 echo "*** Could not run GTK test program, checking why..."
10048 CFLAGS="$CFLAGS $GTK_CFLAGS"
10049 LIBS="$LIBS $GTK_LIBS"
10050 cat > conftest.$ac_ext <<EOF
10051#line 10052 "configure"
10052#include "confdefs.h"
10053
10054#include <gtk/gtk.h>
10055#include <stdio.h>
10056
10057int main() {
10058 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
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 echo "*** The test program compiled, but did not run. This usually means"
10064 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10065 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10066 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10067 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10068 echo "*** is required on your system"
10069 echo "***"
10070 echo "*** If you have an old version installed, it is best to remove it, although"
10071 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10072 echo "***"
10073 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10074 echo "*** came with the system with the command"
10075 echo "***"
10076 echo "*** rpm --erase --nodeps gtk gtk-devel"
10077else
10078 echo "configure: failed program was:" >&5
10079 cat conftest.$ac_ext >&5
10080 rm -rf conftest*
10081 echo "*** The test program failed to compile or link. See the file config.log for the"
10082 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10083 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10084 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
10085fi
10086rm -f conftest*
10087 CFLAGS="$ac_save_CFLAGS"
10088 LIBS="$ac_save_LIBS"
10089 fi
10090 fi
10091 GTK_CFLAGS=""
10092 GTK_LIBS=""
10093 gthread
10094 fi
10095
10096
10097 rm -f conf.gtktest
10098
10099 fi
10100
10101 if test -z "$wx_cv_lib_gtk"; then
10102
10103 if test x$gtk_config_exec_prefix != x ; then
10104 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10105 if test x${GTK_CONFIG+set} != xset ; then
10106 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
10107 fi
10108 fi
10109 if test x$gtk_config_prefix != x ; then
10110 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
10111 if test x${GTK_CONFIG+set} != xset ; then
10112 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
10113 fi
10114 fi
10115
10116 # Extract the first word of "gtk-config", so it can be a program name with args.
10117set dummy gtk-config; ac_word=$2
10118echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10119echo "configure:10120: checking for $ac_word" >&5
10120if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10121 echo $ac_n "(cached) $ac_c" 1>&6
10122else
10123 case "$GTK_CONFIG" in
10124 /*)
10125 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
10126 ;;
10127 ?:/*)
10128 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
10129 ;;
10130 *)
10131 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
10132 ac_dummy="$PATH"
10133 for ac_dir in $ac_dummy; do
10134 test -z "$ac_dir" && ac_dir=.
10135 if test -f $ac_dir/$ac_word; then
10136 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
10137 break
10138 fi
10139 done
10140 IFS="$ac_save_ifs"
10141 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
10142 ;;
10143esac
10144fi
10145GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
10146if test -n "$GTK_CONFIG"; then
10147 echo "$ac_t""$GTK_CONFIG" 1>&6
10148else
10149 echo "$ac_t""no" 1>&6
10150fi
10151
10152 min_gtk_version=1.2.7
10153 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10154echo "configure:10155: checking for GTK - version >= $min_gtk_version" >&5
10155 no_gtk=""
10156 if test "$GTK_CONFIG" != "no" ; then
10157 GTK_CFLAGS=`$GTK_CONFIG --cflags`
10158 GTK_LIBS=`$GTK_CONFIG --libs gthread`
10159 ac_save_CFLAGS="$CFLAGS"
10160 ac_save_LIBS="$LIBS"
10161 CFLAGS="$CFLAGS $GTK_CFLAGS"
10162 LIBS="$LIBS $GTK_LIBS"
10163 if test "$cross_compiling" = yes; then
10164 echo $ac_n "cross compiling; assumed OK... $ac_c"
10165else
10166 cat > conftest.$ac_ext <<EOF
10167#line 10168 "configure"
10168#include "confdefs.h"
10169
10170#include <gtk/gtk.h>
10171#include <gtk/gtkfeatures.h>
10172#include <stdio.h>
10173#include <stdlib.h>
10174
10175int
10176main ()
10177{
10178 int major, minor, micro;
10179
10180 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, &micro) != 3) {
10181 printf("%s, bad version string\n", "$min_gtk_version");
10182 exit(1);
10183 }
10184
10185 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
10186 (GTK_MINOR_VERSION != gtk_minor_version) ||
10187 (GTK_MICRO_VERSION != gtk_micro_version)) {
10188 printf("Headers vs. library version mismatch!\n");
10189 exit(1);
10190 }
10191
10192 if (gtk_minor_version == 1) return FALSE;
10193
10194 return !((gtk_major_version > major) ||
10195 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10196 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
10197}
10198
10199EOF
10200if { (eval echo configure:10201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10201then
10202 :
10203else
10204 echo "configure: failed program was:" >&5
10205 cat conftest.$ac_ext >&5
10206 rm -fr conftest*
10207 no_gtk=yes
10208fi
10209rm -fr conftest*
10210fi
10211
10212 CFLAGS="$ac_save_CFLAGS"
10213 LIBS="$ac_save_LIBS"
10214 else
10215 no_gtk=yes
10216 fi
10217 if test "x$no_gtk" = x ; then
10218 echo "$ac_t""yes" 1>&6
10219 wx_cv_lib_gtk=1.2.7
10220 else
10221 echo "$ac_t""no" 1>&6
10222 GTK_CFLAGS=""
10223 GTK_LIBS=""
10224 :
10225 fi
10226
10227
10228
10229 fi
10230
10231 if test -z "$wx_cv_lib_gtk"; then
10232
10233 if test x$gtk_config_exec_prefix != x ; then
10234 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10235 if test x${GTK_CONFIG+set} != xset ; then
10236 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
10237 fi
10238 fi
10239 if test x$gtk_config_prefix != x ; then
10240 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
10241 if test x${GTK_CONFIG+set} != xset ; then
10242 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
10243 fi
10244 fi
10245
10246 # Extract the first word of "gtk-config", so it can be a program name with args.
10247set dummy gtk-config; ac_word=$2
10248echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10249echo "configure:10250: checking for $ac_word" >&5
10250if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10251 echo $ac_n "(cached) $ac_c" 1>&6
10252else
10253 case "$GTK_CONFIG" in
10254 /*)
10255 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
10256 ;;
10257 ?:/*)
10258 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
10259 ;;
10260 *)
10261 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
10262 ac_dummy="$PATH"
10263 for ac_dir in $ac_dummy; do
10264 test -z "$ac_dir" && ac_dir=.
10265 if test -f $ac_dir/$ac_word; then
10266 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
10267 break
10268 fi
10269 done
10270 IFS="$ac_save_ifs"
10271 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
10272 ;;
10273esac
10274fi
10275GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
10276if test -n "$GTK_CONFIG"; then
10277 echo "$ac_t""$GTK_CONFIG" 1>&6
10278else
10279 echo "$ac_t""no" 1>&6
10280fi
10281
10282 min_gtk_version=1.2.3
10283 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10284echo "configure:10285: checking for GTK - version >= $min_gtk_version" >&5
10285 no_gtk=""
10286 if test "$GTK_CONFIG" != "no" ; then
10287 GTK_CFLAGS=`$GTK_CONFIG --cflags`
10288 GTK_LIBS=`$GTK_CONFIG --libs gthread`
10289 ac_save_CFLAGS="$CFLAGS"
10290 ac_save_LIBS="$LIBS"
10291 CFLAGS="$CFLAGS $GTK_CFLAGS"
10292 LIBS="$LIBS $GTK_LIBS"
10293 if test "$cross_compiling" = yes; then
10294 echo $ac_n "cross compiling; assumed OK... $ac_c"
10295else
10296 cat > conftest.$ac_ext <<EOF
10297#line 10298 "configure"
10298#include "confdefs.h"
10299
10300#include <gtk/gtk.h>
10301#include <gtk/gtkfeatures.h>
10302#include <stdio.h>
10303#include <stdlib.h>
10304
10305int
10306main ()
10307{
10308 int major, minor, micro;
10309
10310 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, &micro) != 3) {
10311 printf("%s, bad version string\n", "$min_gtk_version");
10312 exit(1);
10313 }
10314
10315 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
10316 (GTK_MINOR_VERSION != gtk_minor_version) ||
10317 (GTK_MICRO_VERSION != gtk_micro_version)) {
10318 printf("Headers vs. library version mismatch!\n");
10319 exit(1);
10320 }
10321
10322 if (gtk_minor_version == 1) return FALSE;
10323
10324 return !((gtk_major_version > major) ||
10325 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10326 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
10327}
10328
10329EOF
10330if { (eval echo configure:10331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10331then
10332 :
10333else
10334 echo "configure: failed program was:" >&5
10335 cat conftest.$ac_ext >&5
10336 rm -fr conftest*
10337 no_gtk=yes
10338fi
10339rm -fr conftest*
10340fi
10341
10342 CFLAGS="$ac_save_CFLAGS"
10343 LIBS="$ac_save_LIBS"
10344 else
10345 no_gtk=yes
10346 fi
10347 if test "x$no_gtk" = x ; then
10348 echo "$ac_t""yes" 1>&6
10349 wx_cv_lib_gtk=1.2.3
10350 else
10351 echo "$ac_t""no" 1>&6
10352 GTK_CFLAGS=""
10353 GTK_LIBS=""
10354 :
10355 fi
10356
10357
10358
10359 fi
10360
10361 if test -z "$wx_cv_lib_gtk"; then
10362 wx_cv_lib_gtk=none
10363 else
10364 wx_cv_cflags_gtk=$GTK_CFLAGS
10365 wx_cv_libs_gtk=$GTK_LIBS
10366 fi
10367
10368
10369fi
10370
10371
10372 if test "$gtk_version_cached" = 1; then
10373 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
10374 fi
10375
10376 case "$wx_cv_lib_gtk" in
10377 2.0) WXGTK20=1
10378 ;;
10379 1.2.7) WXGTK127=1
10380 WXGTK12=1
10381 ;;
10382 1.2.3) WXGTK12=1
10383 ;;
10384 *) { echo "configure: error:
10385Please check that gtk-config is in path, the directory
10386where GTK+ libraries are installed (returned by
10387'gtk-config --libs' command) is in LD_LIBRARY_PATH or
10388equivalent variable and GTK+ is version 1.2.3 or above.
10389 " 1>&2; exit 1; }
10390 ;;
10391 esac
10392
10393 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
10394 GUI_TK_LIBRARY="$wx_cv_libs_gtk"
10395
10396 AFMINSTALL=afminstall
10397 TOOLKIT=GTK
10398 GUIDIST=GTK_DIST
10399
10400 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
10401echo "configure:10402: checking for gdk_im_open in -lgdk" >&5
10402ac_lib_var=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
10403if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10404 echo $ac_n "(cached) $ac_c" 1>&6
10405else
10406 ac_save_LIBS="$LIBS"
10407LIBS="-lgdk $LIBS"
10408cat > conftest.$ac_ext <<EOF
10409#line 10410 "configure"
10410#include "confdefs.h"
10411/* Override any gcc2 internal prototype to avoid an error. */
10412/* We use char because int might match the return type of a gcc2
10413 builtin and then its argument prototype would still apply. */
10414char gdk_im_open();
10415
10416int main() {
10417gdk_im_open()
10418; return 0; }
10419EOF
10420if { (eval echo configure:10421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10421 rm -rf conftest*
10422 eval "ac_cv_lib_$ac_lib_var=yes"
10423else
10424 echo "configure: failed program was:" >&5
10425 cat conftest.$ac_ext >&5
10426 rm -rf conftest*
10427 eval "ac_cv_lib_$ac_lib_var=no"
10428fi
10429rm -f conftest*
10430LIBS="$ac_save_LIBS"
10431
10432fi
10433if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10434 echo "$ac_t""yes" 1>&6
10435 cat >> confdefs.h <<\EOF
10436#define HAVE_XIM 1
10437EOF
10438
10439else
10440 echo "$ac_t""no" 1>&6
10441fi
10442
10443 fi
10444
10445 if test "$wxUSE_MGL" = 1; then
10446
10447 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
10448echo "configure:10449: checking for SciTech MGL library" >&5
10449 if test "x$MGL_ROOT" = x ; then
10450 echo "$ac_t""not found" 1>&6
10451 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
10452 else
10453 echo "$ac_t""$MGL_ROOT" 1>&6
10454 fi
10455
10456 mgl_os=linux/gcc/glibc
10457 mgl_lib_type=""
10458
10459 if test "$wxUSE_DEBUG_FLAG" = yes ; then
10460 if test -f $MGL_ROOT/lib/debug/$mgl_os/libmgl.a -o \
10461 -f $MGL_ROOT/lib/debug/$mgl_os/libmgl.so; then
10462 mgl_lib_type=debug
10463 fi
10464 fi
10465 if test "x$mgl_lib_type" = x ; then
10466 if test -f $MGL_ROOT/lib/release/$mgl_os/libmgl.a -o \
10467 -f $MGL_ROOT/lib/release/$mgl_os/libmgl.so; then
10468 mgl_lib_type=release
10469 else
10470 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
10471 fi
10472 fi
10473
10474 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
10475 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
10476
10477 AFMINSTALL=afminstall
10478 TOOLKIT=MGL
10479 GUIDIST=MGL_DIST
10480 fi
10481
10482 if test "$wxUSE_WINE" = 1; then
10483 ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'`
10484echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10485echo "configure:10486: checking for windows.h" >&5
10486if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10487 echo $ac_n "(cached) $ac_c" 1>&6
10488else
10489 cat > conftest.$ac_ext <<EOF
10490#line 10491 "configure"
10491#include "confdefs.h"
10492#include <windows.h>
10493EOF
10494ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10495{ (eval echo configure:10496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10496ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10497if test -z "$ac_err"; then
10498 rm -rf conftest*
10499 eval "ac_cv_header_$ac_safe=yes"
10500else
10501 echo "$ac_err" >&5
10502 echo "configure: failed program was:" >&5
10503 cat conftest.$ac_ext >&5
10504 rm -rf conftest*
10505 eval "ac_cv_header_$ac_safe=no"
10506fi
10507rm -f conftest*
10508fi
10509if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10510 echo "$ac_t""yes" 1>&6
10511 :
10512else
10513 echo "$ac_t""no" 1>&6
10514
10515 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10516
10517fi
10518
10519
10520 xpm_link=
10521 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10522echo "configure:10523: checking for Xpm library" >&5
10523
10524ac_find_libraries=
10525for ac_dir in $SEARCH_LIB;
10526 do
10527 for ac_extension in a so sl dylib; do
10528 if test -f "$ac_dir/libXpm.$ac_extension"; then
10529 ac_find_libraries=$ac_dir
10530 break 2
10531 fi
10532 done
10533 done
10534
10535 if test "$ac_find_libraries" != "" ; then
10536 GUI_TK_LIBRARY="-L$ac_find_libraries"
10537 xpm_link=" -lXpm"
10538 cat >> confdefs.h <<\EOF
10539#define wxHAVE_LIB_XPM 1
10540EOF
10541
10542 echo "$ac_t""found at $ac_find_libraries" 1>&6
10543 else
10544 echo "$ac_t""no" 1>&6
10545 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10546 fi
10547
10548 mesa_link=
10549 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
10550echo "configure:10551: checking for Mesa library" >&5
10551
10552ac_find_libraries=
10553for ac_dir in $SEARCH_LIB;
10554 do
10555 for ac_extension in a so sl dylib; do
10556 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
10557 ac_find_libraries=$ac_dir
10558 break 2
10559 fi
10560 done
10561 done
10562
10563 if test "$ac_find_libraries" != "" ; then
10564 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -L$ac_find_libraries"
10565 mesa_link=" -lMesaGL"
10566 echo "$ac_t""found at $ac_find_libraries" 1>&6
10567 else
10568 { echo "configure: error: no" 1>&2; exit 1; }
10569 fi
10570
10571 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
10572 TOOLKIT=MSW
10573 GUIDIST=MSW_DIST
10574 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXWINE__"
10575 fi
10576
10577 if test "$wxUSE_MOTIF" = 1; then
10578 # If we find X, set shell vars x_includes and x_libraries to the
10579# paths, otherwise set no_x=yes.
10580# Uses ac_ vars as temps to allow command line to override cache and checks.
10581# --without-x overrides everything else, but does not touch the cache.
10582echo $ac_n "checking for X""... $ac_c" 1>&6
10583echo "configure:10584: checking for X" >&5
10584
10585# Check whether --with-x or --without-x was given.
10586if test "${with_x+set}" = set; then
10587 withval="$with_x"
10588 :
10589fi
10590
10591# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10592if test "x$with_x" = xno; then
10593 # The user explicitly disabled X.
10594 have_x=disabled
10595else
10596 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
10597 # Both variables are already set.
10598 have_x=yes
10599 else
10600if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
10601 echo $ac_n "(cached) $ac_c" 1>&6
10602else
10603 # One or both of the vars are not set, and there is no cached value.
10604ac_x_includes=NO ac_x_libraries=NO
10605rm -fr conftestdir
10606if mkdir conftestdir; then
10607 cd conftestdir
10608 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
10609 cat > Imakefile <<'EOF'
10610acfindx:
10611 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
10612EOF
10613 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
10614 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10615 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
10616 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10617 for ac_extension in a so sl; do
10618 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
10619 test -f $ac_im_libdir/libX11.$ac_extension; then
10620 ac_im_usrlibdir=$ac_im_libdir; break
10621 fi
10622 done
10623 # Screen out bogus values from the imake configuration. They are
10624 # bogus both because they are the default anyway, and because
10625 # using them would break gcc on systems where it needs fixed includes.
10626 case "$ac_im_incroot" in
10627 /usr/include) ;;
10628 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
10629 esac
10630 case "$ac_im_usrlibdir" in
10631 /usr/lib | /lib) ;;
10632 *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
10633 esac
10634 fi
10635 cd ..
10636 rm -fr conftestdir
10637fi
10638
10639if test "$ac_x_includes" = NO; then
10640 # Guess where to find include files, by looking for this one X11 .h file.
10641 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
10642
10643 # First, try using that file with no special directory specified.
10644cat > conftest.$ac_ext <<EOF
10645#line 10646 "configure"
10646#include "confdefs.h"
10647#include <$x_direct_test_include>
10648EOF
10649ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10650{ (eval echo configure:10651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10651ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10652if test -z "$ac_err"; then
10653 rm -rf conftest*
10654 # We can compile using X headers with no special include directory.
10655ac_x_includes=
10656else
10657 echo "$ac_err" >&5
10658 echo "configure: failed program was:" >&5
10659 cat conftest.$ac_ext >&5
10660 rm -rf conftest*
10661 # Look for the header file in a standard set of common directories.
10662# Check X11 before X11Rn because it is often a symlink to the current release.
10663 for ac_dir in \
10664 /usr/X11/include \
10665 /usr/X11R6/include \
10666 /usr/X11R5/include \
10667 /usr/X11R4/include \
10668 \
10669 /usr/include/X11 \
10670 /usr/include/X11R6 \
10671 /usr/include/X11R5 \
10672 /usr/include/X11R4 \
10673 \
10674 /usr/local/X11/include \
10675 /usr/local/X11R6/include \
10676 /usr/local/X11R5/include \
10677 /usr/local/X11R4/include \
10678 \
10679 /usr/local/include/X11 \
10680 /usr/local/include/X11R6 \
10681 /usr/local/include/X11R5 \
10682 /usr/local/include/X11R4 \
10683 \
10684 /usr/X386/include \
10685 /usr/x386/include \
10686 /usr/XFree86/include/X11 \
10687 \
10688 /usr/include \
10689 /usr/local/include \
10690 /usr/unsupported/include \
10691 /usr/athena/include \
10692 /usr/local/x11r5/include \
10693 /usr/lpp/Xamples/include \
10694 \
10695 /usr/openwin/include \
10696 /usr/openwin/share/include \
10697 ; \
10698 do
10699 if test -r "$ac_dir/$x_direct_test_include"; then
10700 ac_x_includes=$ac_dir
10701 break
10702 fi
10703 done
10704fi
10705rm -f conftest*
10706fi # $ac_x_includes = NO
10707
10708if test "$ac_x_libraries" = NO; then
10709 # Check for the libraries.
10710
10711 test -z "$x_direct_test_library" && x_direct_test_library=Xt
10712 test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
10713
10714 # See if we find them without any special options.
10715 # Don't add to $LIBS permanently.
10716 ac_save_LIBS="$LIBS"
10717 LIBS="-l$x_direct_test_library $LIBS"
10718cat > conftest.$ac_ext <<EOF
10719#line 10720 "configure"
10720#include "confdefs.h"
10721
10722int main() {
10723${x_direct_test_function}()
10724; return 0; }
10725EOF
10726if { (eval echo configure:10727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10727 rm -rf conftest*
10728 LIBS="$ac_save_LIBS"
10729# We can link X programs with no special library path.
10730ac_x_libraries=
10731else
10732 echo "configure: failed program was:" >&5
10733 cat conftest.$ac_ext >&5
10734 rm -rf conftest*
10735 LIBS="$ac_save_LIBS"
10736# First see if replacing the include by lib works.
10737# Check X11 before X11Rn because it is often a symlink to the current release.
10738for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
10739 /usr/X11/lib \
10740 /usr/X11R6/lib \
10741 /usr/X11R5/lib \
10742 /usr/X11R4/lib \
10743 \
10744 /usr/lib/X11 \
10745 /usr/lib/X11R6 \
10746 /usr/lib/X11R5 \
10747 /usr/lib/X11R4 \
10748 \
10749 /usr/local/X11/lib \
10750 /usr/local/X11R6/lib \
10751 /usr/local/X11R5/lib \
10752 /usr/local/X11R4/lib \
10753 \
10754 /usr/local/lib/X11 \
10755 /usr/local/lib/X11R6 \
10756 /usr/local/lib/X11R5 \
10757 /usr/local/lib/X11R4 \
10758 \
10759 /usr/X386/lib \
10760 /usr/x386/lib \
10761 /usr/XFree86/lib/X11 \
10762 \
10763 /usr/lib \
10764 /usr/local/lib \
10765 /usr/unsupported/lib \
10766 /usr/athena/lib \
10767 /usr/local/x11r5/lib \
10768 /usr/lpp/Xamples/lib \
10769 /lib/usr/lib/X11 \
10770 \
10771 /usr/openwin/lib \
10772 /usr/openwin/share/lib \
10773 ; \
10774do
10775 for ac_extension in a so sl; do
10776 if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
10777 ac_x_libraries=$ac_dir
10778 break 2
10779 fi
10780 done
10781done
10782fi
10783rm -f conftest*
10784fi # $ac_x_libraries = NO
10785
10786if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then
10787 # Didn't find X anywhere. Cache the known absence of X.
10788 ac_cv_have_x="have_x=no"
10789else
10790 # Record where we found X for the cache.
10791 ac_cv_have_x="have_x=yes \
10792 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10793fi
10794fi
10795 fi
10796 eval "$ac_cv_have_x"
10797fi # $with_x != no
10798
10799if test "$have_x" != yes; then
10800 echo "$ac_t""$have_x" 1>&6
10801 no_x=yes
10802else
10803 # If each of the values was on the command line, it overrides each guess.
10804 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10805 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10806 # Update the cache value to reflect the command line values.
10807 ac_cv_have_x="have_x=yes \
10808 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10809 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
10810fi
10811
10812if test "$no_x" = yes; then
10813 # Not all programs may use this symbol, but it does not hurt to define it.
10814 cat >> confdefs.h <<\EOF
10815#define X_DISPLAY_MISSING 1
10816EOF
10817
10818 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10819else
10820 if test -n "$x_includes"; then
10821 X_CFLAGS="$X_CFLAGS -I$x_includes"
10822 fi
10823
10824 # It would also be nice to do this for all -L options, not just this one.
10825 if test -n "$x_libraries"; then
10826 X_LIBS="$X_LIBS -L$x_libraries"
10827 # For Solaris; some versions of Sun CC require a space after -R and
10828 # others require no space. Words are not sufficient . . . .
10829 case "`(uname -sr) 2>/dev/null`" in
10830 "SunOS 5"*)
10831 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
10832echo "configure:10833: checking whether -R must be followed by a space" >&5
10833 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
10834 cat > conftest.$ac_ext <<EOF
10835#line 10836 "configure"
10836#include "confdefs.h"
10837
10838int main() {
10839
10840; return 0; }
10841EOF
10842if { (eval echo configure:10843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10843 rm -rf conftest*
10844 ac_R_nospace=yes
10845else
10846 echo "configure: failed program was:" >&5
10847 cat conftest.$ac_ext >&5
10848 rm -rf conftest*
10849 ac_R_nospace=no
10850fi
10851rm -f conftest*
10852 if test $ac_R_nospace = yes; then
10853 echo "$ac_t""no" 1>&6
10854 X_LIBS="$X_LIBS -R$x_libraries"
10855 else
10856 LIBS="$ac_xsave_LIBS -R $x_libraries"
10857 cat > conftest.$ac_ext <<EOF
10858#line 10859 "configure"
10859#include "confdefs.h"
10860
10861int main() {
10862
10863; return 0; }
10864EOF
10865if { (eval echo configure:10866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10866 rm -rf conftest*
10867 ac_R_space=yes
10868else
10869 echo "configure: failed program was:" >&5
10870 cat conftest.$ac_ext >&5
10871 rm -rf conftest*
10872 ac_R_space=no
10873fi
10874rm -f conftest*
10875 if test $ac_R_space = yes; then
10876 echo "$ac_t""yes" 1>&6
10877 X_LIBS="$X_LIBS -R $x_libraries"
10878 else
10879 echo "$ac_t""neither works" 1>&6
10880 fi
10881 fi
10882 LIBS="$ac_xsave_LIBS"
10883 esac
10884 fi
10885
10886 # Check for system-dependent libraries X programs must link with.
10887 # Do this before checking for the system-independent R6 libraries
10888 # (-lICE), since we may need -lsocket or whatever for X linking.
10889
10890 if test "$ISC" = yes; then
10891 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10892 else
10893 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
10894 # libraries were built with DECnet support. And karl@cs.umb.edu says
10895 # the Alpha needs dnet_stub (dnet does not exist).
10896 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
10897echo "configure:10898: checking for dnet_ntoa in -ldnet" >&5
10898ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10899if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10900 echo $ac_n "(cached) $ac_c" 1>&6
10901else
10902 ac_save_LIBS="$LIBS"
10903LIBS="-ldnet $LIBS"
10904cat > conftest.$ac_ext <<EOF
10905#line 10906 "configure"
10906#include "confdefs.h"
10907/* Override any gcc2 internal prototype to avoid an error. */
10908/* We use char because int might match the return type of a gcc2
10909 builtin and then its argument prototype would still apply. */
10910char dnet_ntoa();
10911
10912int main() {
10913dnet_ntoa()
10914; return 0; }
10915EOF
10916if { (eval echo configure:10917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10917 rm -rf conftest*
10918 eval "ac_cv_lib_$ac_lib_var=yes"
10919else
10920 echo "configure: failed program was:" >&5
10921 cat conftest.$ac_ext >&5
10922 rm -rf conftest*
10923 eval "ac_cv_lib_$ac_lib_var=no"
10924fi
10925rm -f conftest*
10926LIBS="$ac_save_LIBS"
10927
10928fi
10929if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10930 echo "$ac_t""yes" 1>&6
10931 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10932else
10933 echo "$ac_t""no" 1>&6
10934fi
10935
10936 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10937 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
10938echo "configure:10939: checking for dnet_ntoa in -ldnet_stub" >&5
10939ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10940if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10941 echo $ac_n "(cached) $ac_c" 1>&6
10942else
10943 ac_save_LIBS="$LIBS"
10944LIBS="-ldnet_stub $LIBS"
10945cat > conftest.$ac_ext <<EOF
10946#line 10947 "configure"
10947#include "confdefs.h"
10948/* Override any gcc2 internal prototype to avoid an error. */
10949/* We use char because int might match the return type of a gcc2
10950 builtin and then its argument prototype would still apply. */
10951char dnet_ntoa();
10952
10953int main() {
10954dnet_ntoa()
10955; return 0; }
10956EOF
10957if { (eval echo configure:10958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10958 rm -rf conftest*
10959 eval "ac_cv_lib_$ac_lib_var=yes"
10960else
10961 echo "configure: failed program was:" >&5
10962 cat conftest.$ac_ext >&5
10963 rm -rf conftest*
10964 eval "ac_cv_lib_$ac_lib_var=no"
10965fi
10966rm -f conftest*
10967LIBS="$ac_save_LIBS"
10968
10969fi
10970if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10971 echo "$ac_t""yes" 1>&6
10972 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10973else
10974 echo "$ac_t""no" 1>&6
10975fi
10976
10977 fi
10978
10979 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10980 # to get the SysV transport functions.
10981 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
10982 # needs -lnsl.
10983 # The nsl library prevents programs from opening the X display
10984 # on Irix 5.2, according to dickey@clark.net.
10985 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
10986echo "configure:10987: checking for gethostbyname" >&5
10987if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
10988 echo $ac_n "(cached) $ac_c" 1>&6
10989else
10990 cat > conftest.$ac_ext <<EOF
10991#line 10992 "configure"
10992#include "confdefs.h"
10993/* System header to define __stub macros and hopefully few prototypes,
10994 which can conflict with char gethostbyname(); below. */
10995#include <assert.h>
10996/* Override any gcc2 internal prototype to avoid an error. */
10997/* We use char because int might match the return type of a gcc2
10998 builtin and then its argument prototype would still apply. */
10999char gethostbyname();
11000
11001int main() {
11002
11003/* The GNU C library defines this for functions which it implements
11004 to always fail with ENOSYS. Some functions are actually named
11005 something starting with __ and the normal name is an alias. */
11006#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11007choke me
11008#else
11009gethostbyname();
11010#endif
11011
11012; return 0; }
11013EOF
11014if { (eval echo configure:11015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11015 rm -rf conftest*
11016 eval "ac_cv_func_gethostbyname=yes"
11017else
11018 echo "configure: failed program was:" >&5
11019 cat conftest.$ac_ext >&5
11020 rm -rf conftest*
11021 eval "ac_cv_func_gethostbyname=no"
11022fi
11023rm -f conftest*
11024fi
11025
11026if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
11027 echo "$ac_t""yes" 1>&6
11028 :
11029else
11030 echo "$ac_t""no" 1>&6
11031fi
11032
11033 if test $ac_cv_func_gethostbyname = no; then
11034 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
11035echo "configure:11036: checking for gethostbyname in -lnsl" >&5
11036ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
11037if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11038 echo $ac_n "(cached) $ac_c" 1>&6
11039else
11040 ac_save_LIBS="$LIBS"
11041LIBS="-lnsl $LIBS"
11042cat > conftest.$ac_ext <<EOF
11043#line 11044 "configure"
11044#include "confdefs.h"
11045/* Override any gcc2 internal prototype to avoid an error. */
11046/* We use char because int might match the return type of a gcc2
11047 builtin and then its argument prototype would still apply. */
11048char gethostbyname();
11049
11050int main() {
11051gethostbyname()
11052; return 0; }
11053EOF
11054if { (eval echo configure:11055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11055 rm -rf conftest*
11056 eval "ac_cv_lib_$ac_lib_var=yes"
11057else
11058 echo "configure: failed program was:" >&5
11059 cat conftest.$ac_ext >&5
11060 rm -rf conftest*
11061 eval "ac_cv_lib_$ac_lib_var=no"
11062fi
11063rm -f conftest*
11064LIBS="$ac_save_LIBS"
11065
11066fi
11067if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11068 echo "$ac_t""yes" 1>&6
11069 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11070else
11071 echo "$ac_t""no" 1>&6
11072fi
11073
11074 fi
11075
11076 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11077 # socket/setsockopt and other routines are undefined under SCO ODT
11078 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11079 # on later versions), says simon@lia.di.epfl.ch: it contains
11080 # gethostby* variants that don't use the nameserver (or something).
11081 # -lsocket must be given before -lnsl if both are needed.
11082 # We assume that if connect needs -lnsl, so does gethostbyname.
11083 echo $ac_n "checking for connect""... $ac_c" 1>&6
11084echo "configure:11085: checking for connect" >&5
11085if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
11086 echo $ac_n "(cached) $ac_c" 1>&6
11087else
11088 cat > conftest.$ac_ext <<EOF
11089#line 11090 "configure"
11090#include "confdefs.h"
11091/* System header to define __stub macros and hopefully few prototypes,
11092 which can conflict with char connect(); below. */
11093#include <assert.h>
11094/* Override any gcc2 internal prototype to avoid an error. */
11095/* We use char because int might match the return type of a gcc2
11096 builtin and then its argument prototype would still apply. */
11097char connect();
11098
11099int main() {
11100
11101/* The GNU C library defines this for functions which it implements
11102 to always fail with ENOSYS. Some functions are actually named
11103 something starting with __ and the normal name is an alias. */
11104#if defined (__stub_connect) || defined (__stub___connect)
11105choke me
11106#else
11107connect();
11108#endif
11109
11110; return 0; }
11111EOF
11112if { (eval echo configure:11113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11113 rm -rf conftest*
11114 eval "ac_cv_func_connect=yes"
11115else
11116 echo "configure: failed program was:" >&5
11117 cat conftest.$ac_ext >&5
11118 rm -rf conftest*
11119 eval "ac_cv_func_connect=no"
11120fi
11121rm -f conftest*
11122fi
11123
11124if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
11125 echo "$ac_t""yes" 1>&6
11126 :
11127else
11128 echo "$ac_t""no" 1>&6
11129fi
11130
11131 if test $ac_cv_func_connect = no; then
11132 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
11133echo "configure:11134: checking for connect in -lsocket" >&5
11134ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
11135if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11136 echo $ac_n "(cached) $ac_c" 1>&6
11137else
11138 ac_save_LIBS="$LIBS"
11139LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11140cat > conftest.$ac_ext <<EOF
11141#line 11142 "configure"
11142#include "confdefs.h"
11143/* Override any gcc2 internal prototype to avoid an error. */
11144/* We use char because int might match the return type of a gcc2
11145 builtin and then its argument prototype would still apply. */
11146char connect();
11147
11148int main() {
11149connect()
11150; return 0; }
11151EOF
11152if { (eval echo configure:11153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11153 rm -rf conftest*
11154 eval "ac_cv_lib_$ac_lib_var=yes"
11155else
11156 echo "configure: failed program was:" >&5
11157 cat conftest.$ac_ext >&5
11158 rm -rf conftest*
11159 eval "ac_cv_lib_$ac_lib_var=no"
11160fi
11161rm -f conftest*
11162LIBS="$ac_save_LIBS"
11163
11164fi
11165if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11166 echo "$ac_t""yes" 1>&6
11167 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11168else
11169 echo "$ac_t""no" 1>&6
11170fi
11171
11172 fi
11173
11174 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
11175 echo $ac_n "checking for remove""... $ac_c" 1>&6
11176echo "configure:11177: checking for remove" >&5
11177if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
11178 echo $ac_n "(cached) $ac_c" 1>&6
11179else
11180 cat > conftest.$ac_ext <<EOF
11181#line 11182 "configure"
11182#include "confdefs.h"
11183/* System header to define __stub macros and hopefully few prototypes,
11184 which can conflict with char remove(); below. */
11185#include <assert.h>
11186/* Override any gcc2 internal prototype to avoid an error. */
11187/* We use char because int might match the return type of a gcc2
11188 builtin and then its argument prototype would still apply. */
11189char remove();
11190
11191int main() {
11192
11193/* The GNU C library defines this for functions which it implements
11194 to always fail with ENOSYS. Some functions are actually named
11195 something starting with __ and the normal name is an alias. */
11196#if defined (__stub_remove) || defined (__stub___remove)
11197choke me
11198#else
11199remove();
11200#endif
11201
11202; return 0; }
11203EOF
11204if { (eval echo configure:11205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11205 rm -rf conftest*
11206 eval "ac_cv_func_remove=yes"
11207else
11208 echo "configure: failed program was:" >&5
11209 cat conftest.$ac_ext >&5
11210 rm -rf conftest*
11211 eval "ac_cv_func_remove=no"
11212fi
11213rm -f conftest*
11214fi
11215
11216if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
11217 echo "$ac_t""yes" 1>&6
11218 :
11219else
11220 echo "$ac_t""no" 1>&6
11221fi
11222
11223 if test $ac_cv_func_remove = no; then
11224 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
11225echo "configure:11226: checking for remove in -lposix" >&5
11226ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
11227if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11228 echo $ac_n "(cached) $ac_c" 1>&6
11229else
11230 ac_save_LIBS="$LIBS"
11231LIBS="-lposix $LIBS"
11232cat > conftest.$ac_ext <<EOF
11233#line 11234 "configure"
11234#include "confdefs.h"
11235/* Override any gcc2 internal prototype to avoid an error. */
11236/* We use char because int might match the return type of a gcc2
11237 builtin and then its argument prototype would still apply. */
11238char remove();
11239
11240int main() {
11241remove()
11242; return 0; }
11243EOF
11244if { (eval echo configure:11245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11245 rm -rf conftest*
11246 eval "ac_cv_lib_$ac_lib_var=yes"
11247else
11248 echo "configure: failed program was:" >&5
11249 cat conftest.$ac_ext >&5
11250 rm -rf conftest*
11251 eval "ac_cv_lib_$ac_lib_var=no"
11252fi
11253rm -f conftest*
11254LIBS="$ac_save_LIBS"
11255
11256fi
11257if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11258 echo "$ac_t""yes" 1>&6
11259 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11260else
11261 echo "$ac_t""no" 1>&6
11262fi
11263
11264 fi
11265
11266 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11267 echo $ac_n "checking for shmat""... $ac_c" 1>&6
11268echo "configure:11269: checking for shmat" >&5
11269if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
11270 echo $ac_n "(cached) $ac_c" 1>&6
11271else
11272 cat > conftest.$ac_ext <<EOF
11273#line 11274 "configure"
11274#include "confdefs.h"
11275/* System header to define __stub macros and hopefully few prototypes,
11276 which can conflict with char shmat(); below. */
11277#include <assert.h>
11278/* Override any gcc2 internal prototype to avoid an error. */
11279/* We use char because int might match the return type of a gcc2
11280 builtin and then its argument prototype would still apply. */
11281char shmat();
11282
11283int main() {
11284
11285/* The GNU C library defines this for functions which it implements
11286 to always fail with ENOSYS. Some functions are actually named
11287 something starting with __ and the normal name is an alias. */
11288#if defined (__stub_shmat) || defined (__stub___shmat)
11289choke me
11290#else
11291shmat();
11292#endif
11293
11294; return 0; }
11295EOF
11296if { (eval echo configure:11297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11297 rm -rf conftest*
11298 eval "ac_cv_func_shmat=yes"
11299else
11300 echo "configure: failed program was:" >&5
11301 cat conftest.$ac_ext >&5
11302 rm -rf conftest*
11303 eval "ac_cv_func_shmat=no"
11304fi
11305rm -f conftest*
11306fi
11307
11308if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
11309 echo "$ac_t""yes" 1>&6
11310 :
11311else
11312 echo "$ac_t""no" 1>&6
11313fi
11314
11315 if test $ac_cv_func_shmat = no; then
11316 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
11317echo "configure:11318: checking for shmat in -lipc" >&5
11318ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
11319if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11320 echo $ac_n "(cached) $ac_c" 1>&6
11321else
11322 ac_save_LIBS="$LIBS"
11323LIBS="-lipc $LIBS"
11324cat > conftest.$ac_ext <<EOF
11325#line 11326 "configure"
11326#include "confdefs.h"
11327/* Override any gcc2 internal prototype to avoid an error. */
11328/* We use char because int might match the return type of a gcc2
11329 builtin and then its argument prototype would still apply. */
11330char shmat();
11331
11332int main() {
11333shmat()
11334; return 0; }
11335EOF
11336if { (eval echo configure:11337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11337 rm -rf conftest*
11338 eval "ac_cv_lib_$ac_lib_var=yes"
11339else
11340 echo "configure: failed program was:" >&5
11341 cat conftest.$ac_ext >&5
11342 rm -rf conftest*
11343 eval "ac_cv_lib_$ac_lib_var=no"
11344fi
11345rm -f conftest*
11346LIBS="$ac_save_LIBS"
11347
11348fi
11349if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11350 echo "$ac_t""yes" 1>&6
11351 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11352else
11353 echo "$ac_t""no" 1>&6
11354fi
11355
11356 fi
11357 fi
11358
11359 # Check for libraries that X11R6 Xt/Xaw programs need.
11360 ac_save_LDFLAGS="$LDFLAGS"
11361 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11362 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11363 # check for ICE first), but we must link in the order -lSM -lICE or
11364 # we get undefined symbols. So assume we have SM if we have ICE.
11365 # These have to be linked with before -lX11, unlike the other
11366 # libraries we check for below, so use a different variable.
11367 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
11368 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
11369echo "configure:11370: checking for IceConnectionNumber in -lICE" >&5
11370ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
11371if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11372 echo $ac_n "(cached) $ac_c" 1>&6
11373else
11374 ac_save_LIBS="$LIBS"
11375LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11376cat > conftest.$ac_ext <<EOF
11377#line 11378 "configure"
11378#include "confdefs.h"
11379/* Override any gcc2 internal prototype to avoid an error. */
11380/* We use char because int might match the return type of a gcc2
11381 builtin and then its argument prototype would still apply. */
11382char IceConnectionNumber();
11383
11384int main() {
11385IceConnectionNumber()
11386; return 0; }
11387EOF
11388if { (eval echo configure:11389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11389 rm -rf conftest*
11390 eval "ac_cv_lib_$ac_lib_var=yes"
11391else
11392 echo "configure: failed program was:" >&5
11393 cat conftest.$ac_ext >&5
11394 rm -rf conftest*
11395 eval "ac_cv_lib_$ac_lib_var=no"
11396fi
11397rm -f conftest*
11398LIBS="$ac_save_LIBS"
11399
11400fi
11401if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11402 echo "$ac_t""yes" 1>&6
11403 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11404else
11405 echo "$ac_t""no" 1>&6
11406fi
11407
11408 LDFLAGS="$ac_save_LDFLAGS"
11409
11410fi
11411
11412
11413 if test "$no_x" = "yes"; then
11414 { echo "configure: error: X11 not found" 1>&2; exit 1; }
11415 fi
11416
11417 GUI_TK_LIBRARY="$X_LIBS"
11418 TOOLKIT_INCLUDE="$X_CFLAGS"
11419 AFMINSTALL=afminstall
11420 COMPILED_X_PROGRAM=0
11421
11422 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
11423echo "configure:11424: checking for Motif/Lesstif headers" >&5
11424
11425ac_find_includes=
11426for ac_dir in $SEARCH_INCLUDE;
11427 do
11428 if test -f "$ac_dir/Xm/Xm.h"; then
11429 ac_find_includes=$ac_dir
11430 break
11431 fi
11432 done
11433
11434 if test "$ac_find_includes" != "" ; then
11435 echo "$ac_t""found $ac_find_includes" 1>&6
11436 else
11437 cat > conftest.$ac_ext <<EOF
11438#line 11439 "configure"
11439#include "confdefs.h"
11440
11441 #include <Xm/Xm.h>
11442
11443int main() {
11444
11445 int version;
11446 version = xmUseVersion;
11447
11448; return 0; }
11449EOF
11450if { (eval echo configure:11451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11451 rm -rf conftest*
11452
11453 echo "$ac_t""found in default search path" 1>&6
11454 COMPILED_X_PROGRAM=1
11455
11456else
11457 echo "configure: failed program was:" >&5
11458 cat conftest.$ac_ext >&5
11459 rm -rf conftest*
11460
11461 echo "$ac_t""no" 1>&6
11462 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
11463
11464
11465fi
11466rm -f conftest*
11467 fi
11468
11469 if test "$COMPILED_X_PROGRAM" = 0; then
11470 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
11471echo "configure:11472: checking for Motif/Lesstif library" >&5
11472
11473ac_find_libraries=
11474for ac_dir in $SEARCH_LIB;
11475 do
11476 for ac_extension in a so sl dylib; do
11477 if test -f "$ac_dir/libXm.$ac_extension"; then
11478 ac_find_libraries=$ac_dir
11479 break 2
11480 fi
11481 done
11482 done
11483
11484 if test "$ac_find_libraries" != "" ; then
11485
11486 ac_path_to_include=$ac_find_includes
11487 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
11488 result=$?
11489 if test $result = 0; then
11490 ac_path_to_include=""
11491 else
11492 ac_path_to_include=" -I$ac_find_includes"
11493 fi
11494
11495
11496 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
11497 result=$?
11498 if test $result = 0; then
11499 ac_path_to_link=""
11500 else
11501 ac_path_to_link=" -L$ac_find_libraries"
11502 fi
11503
11504
11505 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
11506 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
11507 echo "$ac_t""found at $ac_find_libraries" 1>&6
11508 else
11509 cat > conftest.$ac_ext <<EOF
11510#line 11511 "configure"
11511#include "confdefs.h"
11512
11513 #include <Xm/Xm.h>
11514
11515int main() {
11516
11517 int version;
11518 version = xmUseVersion;
11519
11520; return 0; }
11521EOF
11522if { (eval echo configure:11523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11523 rm -rf conftest*
11524
11525 echo "$ac_t""found in default search path" 1>&6
11526 COMPILED_X_PROGRAM=1
11527
11528else
11529 echo "configure: failed program was:" >&5
11530 cat conftest.$ac_ext >&5
11531 rm -rf conftest*
11532
11533 echo "$ac_t""no" 1>&6
11534 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
11535
11536
11537fi
11538rm -f conftest*
11539 fi
11540 fi
11541
11542 xpm_link=
11543 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
11544echo "configure:11545: checking for Xpm library" >&5
11545
11546ac_find_libraries=
11547for ac_dir in $SEARCH_LIB;
11548 do
11549 for ac_extension in a so sl dylib; do
11550 if test -f "$ac_dir/libXpm.$ac_extension"; then
11551 ac_find_libraries=$ac_dir
11552 break 2
11553 fi
11554 done
11555 done
11556
11557 if test "$ac_find_libraries" != "" ; then
11558
11559 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
11560 result=$?
11561 if test $result = 0; then
11562 ac_path_to_link=""
11563 else
11564 ac_path_to_link=" -L$ac_find_libraries"
11565 fi
11566
11567 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
11568 xpm_link=" -lXpm"
11569 cat >> confdefs.h <<\EOF
11570#define wxHAVE_LIB_XPM 1
11571EOF
11572
11573 echo "$ac_t""found at $ac_find_libraries" 1>&6
11574 else
11575 cat > conftest.$ac_ext <<EOF
11576#line 11577 "configure"
11577#include "confdefs.h"
11578
11579 #include <X11/xpm.h>
11580
11581int main() {
11582
11583 int version;
11584 version = XpmLibraryVersion();
11585
11586; return 0; }
11587EOF
11588if { (eval echo configure:11589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11589 rm -rf conftest*
11590
11591 xpm_link=" -lXpm"
11592 cat >> confdefs.h <<\EOF
11593#define wxHAVE_LIB_XPM 1
11594EOF
11595
11596 echo "$ac_t""found in default search path" 1>&6
11597 COMPILED_X_PROGRAM=0
11598
11599else
11600 echo "configure: failed program was:" >&5
11601 cat conftest.$ac_ext >&5
11602 rm -rf conftest*
11603
11604 echo "$ac_t""no" 1>&6
11605 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
11606
11607
11608fi
11609rm -f conftest*
11610 fi
11611
11612 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
11613 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
11614 TOOLKIT=MOTIF
11615 GUIDIST=MOTIF_DIST
11616 fi
11617
11618 if test "$wxUSE_MAC" = 1; then
11619 if test "$wxUSE_PRECOMP" = "yes"; then
11620 CPPFLAGS="$CPPFLAGS -cpp-precomp"
11621 fi
11622 CPPFLAGS="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
11623 CFLAGS="$CFLAGS -fpascal-strings"
11624 CXXFLAGS="$CXXFLAGS -fpascal-strings"
11625 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -DTARGET_CARBON"
11626
11627 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
11628 TOOLKIT=MAC
11629 GUIDIST=MACX_DIST
11630 fi
11631
11632 if test "$wxUSE_PM" = 1; then
11633 TOOLKIT=PM
11634 GUIDIST=GTK_DIST
11635 fi
11636
11637 if test "$TOOLKIT" = "PM" ; then
11638 TOOLKIT_DIR="os2"
11639 else
11640 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
11641 fi
11642
11643 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
11644
11645 if test "$wxUSE_UNIVERSAL" = "yes"; then
11646 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
11647 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
11648 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
11649 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
11650 WIDGET_SET=univ
11651 else
11652 ALL_OBJECTS="\$(GUIOBJS)"
11653 fi
11654
11655 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
11656
11657 if test "$TOOLKIT" != "MSW"; then
11658 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
11659 fi
11660
11661 if test "$wxUSE_HTML" = "yes"; then
11662 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
11663 fi
11664
11665 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
11666 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
11667 fi
11668 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11669 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
11670 fi
11671 if test "$wxUSE_LIBTIFF" = "builtin" ; then
11672 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
11673 fi
11674 if test "$wxUSE_LIBPNG" = "builtin" ; then
11675 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
11676 fi
11677 if test "$wxUSE_FREETYPE" = "builtin" ; then
11678 ALL_OBJECTS="${ALL_OBJECTS} \$(FREETYPEOBJS)"
11679 fi
11680
11681 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
11682 DISTDIR="wx\$(TOOLKIT)"
11683else
11684 USE_GUI=0
11685
11686 TOOLKIT_DIR="base"
11687
11688 if test "$USE_WIN32" = 1 ; then
11689 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
11690 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
11691
11692 TOOLKIT="MSW"
11693 else
11694 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
11695 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
11696 fi
11697
11698 PORT_FILES="\${top_srcdir}/src/files.lst"
11699
11700 GUIDIST="BASE_DIST"
11701 DISTDIR="wxBase"
11702fi
11703
11704if test "$wxUSE_REGEX" = "builtin" ; then
11705 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
11706fi
11707if test "$wxUSE_ZLIB" = "builtin" ; then
11708 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
11709fi
11710
11711if test "$wxUSE_OPENGL" = "yes"; then
11712 if test "$wxUSE_MAC" = 1; then
11713 OPENGL_LIBS="-framework OpenGL -framework AGL"
11714 else
11715
11716 ac_safe=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11717echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11718echo "configure:11719: checking for GL/gl.h" >&5
11719if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11720 echo $ac_n "(cached) $ac_c" 1>&6
11721else
11722 cat > conftest.$ac_ext <<EOF
11723#line 11724 "configure"
11724#include "confdefs.h"
11725#include <GL/gl.h>
11726EOF
11727ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11728{ (eval echo configure:11729: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11729ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11730if test -z "$ac_err"; then
11731 rm -rf conftest*
11732 eval "ac_cv_header_$ac_safe=yes"
11733else
11734 echo "$ac_err" >&5
11735 echo "configure: failed program was:" >&5
11736 cat conftest.$ac_ext >&5
11737 rm -rf conftest*
11738 eval "ac_cv_header_$ac_safe=no"
11739fi
11740rm -f conftest*
11741fi
11742if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11743 echo "$ac_t""yes" 1>&6
11744
11745 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
11746echo "configure:11747: checking for -lGL" >&5
11747
11748ac_find_libraries=
11749for ac_dir in $SEARCH_LIB;
11750 do
11751 for ac_extension in a so sl dylib; do
11752 if test -f "$ac_dir/libGL.$ac_extension"; then
11753 ac_find_libraries=$ac_dir
11754 break 2
11755 fi
11756 done
11757 done
11758
11759 if test "$ac_find_libraries" != "" ; then
11760
11761 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
11762 result=$?
11763 if test $result = 0; then
11764 ac_path_to_link=""
11765 else
11766 ac_path_to_link=" -L$ac_find_libraries"
11767 fi
11768
11769 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
11770 OPENGL_LIBS="-lGL -lGLU"
11771 echo "$ac_t""yes" 1>&6
11772 else
11773 echo "$ac_t""no" 1>&6
11774 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
11775echo "configure:11776: checking for -lMesaGL" >&5
11776
11777ac_find_libraries=
11778for ac_dir in $SEARCH_LIB;
11779 do
11780 for ac_extension in a so sl dylib; do
11781 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
11782 ac_find_libraries=$ac_dir
11783 break 2
11784 fi
11785 done
11786 done
11787
11788 if test "$ac_find_libraries" != "" ; then
11789
11790 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
11791 result=$?
11792 if test $result = 0; then
11793 ac_path_to_link=""
11794 else
11795 ac_path_to_link=" -L$ac_find_libraries"
11796 fi
11797
11798 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
11799 OPENGL_LIBS="-lMesaGL -lMesaGLU"
11800 echo "$ac_t""yes" 1>&6
11801 else
11802 echo "$ac_t""no" 1>&6
11803 fi
11804 fi
11805
11806else
11807 echo "$ac_t""no" 1>&6
11808fi
11809
11810
11811
11812# AC_CHECK_HEADER(GL/gl.h,
11813# [
11814# AC_CHECK_LIB(GL, glFlush,
11815# [
11816# OPENGL_LIBS="-lGL -lGLU"
11817# ],
11818# [
11819# AC_CHECK_LIB(MesaGL, glFlush,
11820# [
11821# OPENGL_LIBS="-lMesaGL -lMesaGLU"
11822# ],
11823# [],
11824# [-lm])
11825# ],
11826# [-lm])
11827# ])
11828
11829 if test "x$OPENGL_LIBS" = "x"; then
11830 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
11831 fi
11832 fi
11833
11834 if test "$wxUSE_OPENGL" = "yes"; then
11835 cat >> confdefs.h <<\EOF
11836#define wxUSE_OPENGL 1
11837EOF
11838
11839 cat >> confdefs.h <<\EOF
11840#define wxUSE_GLCANVAS 1
11841EOF
11842
11843 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
11844 fi
11845fi
11846
11847if test -z "$TOOLKIT_VPATH" ; then
11848 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
11849fi
11850
11851if test -n "$TOOLKIT" ; then
11852 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
11853fi
11854
11855lib_unicode_suffix=
11856if test "$wxUSE_UNICODE" = "yes"; then
11857 lib_unicode_suffix=u
11858fi
11859
11860lib_debug_suffix=
11861if test "$wxUSE_DEBUG_FLAG" = "yes"; then
11862 lib_debug_suffix=d
11863fi
11864
11865TOOLCHAIN_NAME="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
11866TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
11867
11868if test "$cross_compiling" = "yes"; then
11869 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
11870 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
11871fi
11872
11873WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
11874WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
11875
11876WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11877WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11878
11879WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
11880WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
11881WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
11882WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
11883
11884WX_RESOURCES_MACOSX="lib${WX_LIBRARY}.rsrc"
11885WX_RESOURCES_MACOSX_COMPILED="lib${WX_LIBRARY}.r"
11886
11887case "${host}" in
11888 *-*-cygwin* | *-*-mingw32* )
11889
11890
11891
11892 if test "$cross_compiling" != "yes"; then
11893 WX_LIBRARY="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
11894 WX_LIBRARY_GL="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
11895 WX_LIBRARY_NAME_SHARED="${WX_LIBRARY}.${SO_SUFFIX}"
11896 WX_LIBRARY_NAME_SHARED_GL="${WX_LIBRARY_GL}.${SO_SUFFIX}"
11897 else
11898 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
11899 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
11900 fi
11901
11902esac
11903
11904WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
11905WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
11906
11907WXCONFIG_LIBS="-l${WX_LIBRARY}"
11908WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
11909
11910if test "$wxUSE_OPENGL" = "yes"; then
11911 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
11912 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
11913fi
11914
11915
11916
11917if test "$wxUSE_SHARED" = "yes"; then
11918
11919 if test "$wxUSE_OPENGL" = "yes"; then
11920 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11921 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
11922 else
11923 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
11924 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1}"
11925 fi
11926
11927 if test "$GCC" = "yes"; then
11928 PIC_FLAG="-fPIC"
11929 fi
11930
11931 SHARED_LD="${CXX} -shared -o"
11932
11933 case "${host}" in
11934 *-hp-hpux* )
11935 if test "$GCC" != "yes"; then
11936 LDFLAGS="$LDFLAGS -L/usr/lib"
11937
11938 SHARED_LD="${CXX} -b -o"
11939 PIC_FLAG="+Z"
11940 fi
11941
11942 if test "$wxUSE_OPENGL" = "yes"; then
11943 WX_ALL_INSTALLED="preinstall_gl"
11944 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
11945 else
11946 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
11947 fi
11948 ;;
11949
11950 *-*-linux* )
11951 if test "$GCC" != "yes"; then
11952 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
11953echo "configure:11954: checking for Intel compiler" >&5
11954if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
11955 echo $ac_n "(cached) $ac_c" 1>&6
11956else
11957
11958 cat > conftest.$ac_ext <<EOF
11959#line 11960 "configure"
11960#include "confdefs.h"
11961
11962int main() {
11963
11964 #ifndef __INTEL_COMPILER
11965 #error Not icc
11966 #endif
11967
11968; return 0; }
11969EOF
11970if { (eval echo configure:11971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11971 rm -rf conftest*
11972 wx_cv_prog_icc=yes
11973else
11974 echo "configure: failed program was:" >&5
11975 cat conftest.$ac_ext >&5
11976 rm -rf conftest*
11977 wx_cv_prog_icc=no
11978
11979fi
11980rm -f conftest*
11981
11982fi
11983
11984echo "$ac_t""$wx_cv_prog_icc" 1>&6
11985 if test "$wx_cv_prog_icc" = "yes"; then
11986 PIC_FLAG="-KPIC"
11987 fi
11988 fi
11989
11990 if test "$wxUSE_SONAME" = "yes" ; then
11991 SONAME_FLAGS="-Wl,-soname,${WX_LIBRARY_LINK1}"
11992 SONAME_FLAGS_GL="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
11993 WX_TARGET_LIBRARY_SONAME="-Wl,-soname,\$(TARGETLIB_LINK1)"
11994 fi
11995 ;;
11996
11997 *-*-solaris2* )
11998 if test "$GCC" = yes ; then
11999 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
12000 else
12001 SHARED_LD="${CXX} -G -o"
12002 PIC_FLAG="-KPIC"
12003 SONAME_FLAGS="-h ${WX_LIBRARY_NAME_SHARED}"
12004 SONAME_FLAGS_GL="-h ${WX_LIBRARY_NAME_SHARED}"
12005 fi
12006 ;;
12007
12008 *-*-darwin* )
12009 CFLAGS="$CFLAGS -fno-common -DDYLIB_INIT"
12010 CXXFLAGS="$CXXFLAGS -fno-common -DDYLIB_INIT"
12011 SHARED_LD="$CXX -dynamiclib -init _wxWindowsDylibInit -o"
12012 PIC_FLAG="-dynamic -fPIC"
12013 ;;
12014
12015 *-*-aix* )
12016 SHARED_LD="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
12017 ;;
12018
12019 *-*-cygwin* | *-*-mingw32* )
12020
12021 WX_LIBRARY_IMPORTLIB="${WX_LIBRARY_NAME_SHARED}.a"
12022
12023 SHARED_LD="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
12024 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
12025
12026 PIC_FLAG="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
12027
12028 if test "$wxUSE_OPENGL" = "yes"; then
12029 WX_ALL_INSTALLED="preinstall_gl"
12030 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12031 else
12032 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12033 fi
12034 ;;
12035
12036 *-pc-os2_emx | *-pc-os2-emx )
12037 wxUSE_SHARED=no
12038 ;;
12039
12040 *-*-beos* )
12041 SHARED_LD="${LD} -shared -o"
12042 ;;
12043
12044 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
12045 *-*-sunos4* | \
12046 *-*-irix5* | *-*-irix6* | \
12047 *-*-osf* | \
12048 *-*-dgux5* | \
12049 *-*-sysv5* )
12050 ;;
12051
12052 *)
12053 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
12054 esac
12055
12056 if test "x$WX_TARGET_LIBRARY" = "x"; then
12057 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
12058 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
12059 fi
12060
12061 WX_TARGET_LIBRARY_TYPE="so"
12062 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
12063fi
12064
12065if test "$wxUSE_SHARED" = "no"; then
12066
12067 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
12068 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
12069 fi
12070
12071 if test "$wxUSE_MAC" = 1; then
12072 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
12073 fi
12074
12075 if test "$wxUSE_OPENGL" = "yes"; then
12076 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
12077 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
12078 else
12079 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
12080 fi
12081
12082 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
12083 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
12084
12085 WX_TARGET_LIBRARY_TYPE="a"
12086 INSTALL_LIBRARY='$(INSTALL_DATA)'
12087fi
12088
12089if test "$wxUSE_MAC" = 1; then
12090 WX_ALL="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
12091 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
12092 # Extract the first word of "Rez", so it can be a program name with args.
12093set dummy Rez; ac_word=$2
12094echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12095echo "configure:12096: checking for $ac_word" >&5
12096if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
12097 echo $ac_n "(cached) $ac_c" 1>&6
12098else
12099 if test -n "$RESCOMP"; then
12100 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
12101else
12102 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
12103 ac_dummy="$PATH"
12104 for ac_dir in $ac_dummy; do
12105 test -z "$ac_dir" && ac_dir=.
12106 if test -f $ac_dir/$ac_word; then
12107 ac_cv_prog_RESCOMP="Rez"
12108 break
12109 fi
12110 done
12111 IFS="$ac_save_ifs"
12112 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
12113fi
12114fi
12115RESCOMP="$ac_cv_prog_RESCOMP"
12116if test -n "$RESCOMP"; then
12117 echo "$ac_t""$RESCOMP" 1>&6
12118else
12119 echo "$ac_t""no" 1>&6
12120fi
12121
12122 # Extract the first word of "DeRez", so it can be a program name with args.
12123set dummy DeRez; ac_word=$2
12124echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12125echo "configure:12126: checking for $ac_word" >&5
12126if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
12127 echo $ac_n "(cached) $ac_c" 1>&6
12128else
12129 if test -n "$DEREZ"; then
12130 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
12131else
12132 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
12133 ac_dummy="$PATH"
12134 for ac_dir in $ac_dummy; do
12135 test -z "$ac_dir" && ac_dir=.
12136 if test -f $ac_dir/$ac_word; then
12137 ac_cv_prog_DEREZ="DeRez"
12138 break
12139 fi
12140 done
12141 IFS="$ac_save_ifs"
12142 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
12143fi
12144fi
12145DEREZ="$ac_cv_prog_DEREZ"
12146if test -n "$DEREZ"; then
12147 echo "$ac_t""$DEREZ" 1>&6
12148else
12149 echo "$ac_t""no" 1>&6
12150fi
12151
12152 LIBWXMACRES="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
12153 LIBWXMACRESCOMP="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
12154 LIBWXMACRESWXCONFIG="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
12155fi
12156
12157
12158if test "$wxUSE_MAC" != 1; then
12159 for ac_hdr in strings.h
12160do
12161ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12162echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12163echo "configure:12164: checking for $ac_hdr" >&5
12164if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12165 echo $ac_n "(cached) $ac_c" 1>&6
12166else
12167 cat > conftest.$ac_ext <<EOF
12168#line 12169 "configure"
12169#include "confdefs.h"
12170#include <$ac_hdr>
12171EOF
12172ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12173{ (eval echo configure:12174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12174ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12175if test -z "$ac_err"; then
12176 rm -rf conftest*
12177 eval "ac_cv_header_$ac_safe=yes"
12178else
12179 echo "$ac_err" >&5
12180 echo "configure: failed program was:" >&5
12181 cat conftest.$ac_ext >&5
12182 rm -rf conftest*
12183 eval "ac_cv_header_$ac_safe=no"
12184fi
12185rm -f conftest*
12186fi
12187if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12188 echo "$ac_t""yes" 1>&6
12189 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12190 cat >> confdefs.h <<EOF
12191#define $ac_tr_hdr 1
12192EOF
12193
12194else
12195 echo "$ac_t""no" 1>&6
12196fi
12197done
12198
12199fi
12200
12201for ac_hdr in stdlib.h
12202do
12203ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12204echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12205echo "configure:12206: checking for $ac_hdr" >&5
12206if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+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#include <$ac_hdr>
12213EOF
12214ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12215{ (eval echo configure:12216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12216ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12217if test -z "$ac_err"; then
12218 rm -rf conftest*
12219 eval "ac_cv_header_$ac_safe=yes"
12220else
12221 echo "$ac_err" >&5
12222 echo "configure: failed program was:" >&5
12223 cat conftest.$ac_ext >&5
12224 rm -rf conftest*
12225 eval "ac_cv_header_$ac_safe=no"
12226fi
12227rm -f conftest*
12228fi
12229if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12230 echo "$ac_t""yes" 1>&6
12231 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12232 cat >> confdefs.h <<EOF
12233#define $ac_tr_hdr 1
12234EOF
12235
12236else
12237 echo "$ac_t""no" 1>&6
12238fi
12239done
12240
12241for ac_hdr in malloc.h
12242do
12243ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12244echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12245echo "configure:12246: checking for $ac_hdr" >&5
12246if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12247 echo $ac_n "(cached) $ac_c" 1>&6
12248else
12249 cat > conftest.$ac_ext <<EOF
12250#line 12251 "configure"
12251#include "confdefs.h"
12252#include <$ac_hdr>
12253EOF
12254ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12255{ (eval echo configure:12256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12256ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12257if test -z "$ac_err"; then
12258 rm -rf conftest*
12259 eval "ac_cv_header_$ac_safe=yes"
12260else
12261 echo "$ac_err" >&5
12262 echo "configure: failed program was:" >&5
12263 cat conftest.$ac_ext >&5
12264 rm -rf conftest*
12265 eval "ac_cv_header_$ac_safe=no"
12266fi
12267rm -f conftest*
12268fi
12269if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12270 echo "$ac_t""yes" 1>&6
12271 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12272 cat >> confdefs.h <<EOF
12273#define $ac_tr_hdr 1
12274EOF
12275
12276else
12277 echo "$ac_t""no" 1>&6
12278fi
12279done
12280
12281for ac_hdr in unistd.h
12282do
12283ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12284echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12285echo "configure:12286: checking for $ac_hdr" >&5
12286if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12287 echo $ac_n "(cached) $ac_c" 1>&6
12288else
12289 cat > conftest.$ac_ext <<EOF
12290#line 12291 "configure"
12291#include "confdefs.h"
12292#include <$ac_hdr>
12293EOF
12294ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12295{ (eval echo configure:12296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12296ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12297if test -z "$ac_err"; then
12298 rm -rf conftest*
12299 eval "ac_cv_header_$ac_safe=yes"
12300else
12301 echo "$ac_err" >&5
12302 echo "configure: failed program was:" >&5
12303 cat conftest.$ac_ext >&5
12304 rm -rf conftest*
12305 eval "ac_cv_header_$ac_safe=no"
12306fi
12307rm -f conftest*
12308fi
12309if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12310 echo "$ac_t""yes" 1>&6
12311 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12312 cat >> confdefs.h <<EOF
12313#define $ac_tr_hdr 1
12314EOF
12315
12316else
12317 echo "$ac_t""no" 1>&6
12318fi
12319done
12320
12321for ac_hdr in wchar.h
12322do
12323ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12324echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12325echo "configure:12326: checking for $ac_hdr" >&5
12326if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12327 echo $ac_n "(cached) $ac_c" 1>&6
12328else
12329 cat > conftest.$ac_ext <<EOF
12330#line 12331 "configure"
12331#include "confdefs.h"
12332#include <$ac_hdr>
12333EOF
12334ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12335{ (eval echo configure:12336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12336ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12337if test -z "$ac_err"; then
12338 rm -rf conftest*
12339 eval "ac_cv_header_$ac_safe=yes"
12340else
12341 echo "$ac_err" >&5
12342 echo "configure: failed program was:" >&5
12343 cat conftest.$ac_ext >&5
12344 rm -rf conftest*
12345 eval "ac_cv_header_$ac_safe=no"
12346fi
12347rm -f conftest*
12348fi
12349if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12350 echo "$ac_t""yes" 1>&6
12351 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12352 cat >> confdefs.h <<EOF
12353#define $ac_tr_hdr 1
12354EOF
12355
12356else
12357 echo "$ac_t""no" 1>&6
12358fi
12359done
12360
12361for ac_hdr in wcstr.h
12362do
12363ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12364echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12365echo "configure:12366: checking for $ac_hdr" >&5
12366if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12367 echo $ac_n "(cached) $ac_c" 1>&6
12368else
12369 cat > conftest.$ac_ext <<EOF
12370#line 12371 "configure"
12371#include "confdefs.h"
12372#include <$ac_hdr>
12373EOF
12374ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12375{ (eval echo configure:12376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12376ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12377if test -z "$ac_err"; then
12378 rm -rf conftest*
12379 eval "ac_cv_header_$ac_safe=yes"
12380else
12381 echo "$ac_err" >&5
12382 echo "configure: failed program was:" >&5
12383 cat conftest.$ac_ext >&5
12384 rm -rf conftest*
12385 eval "ac_cv_header_$ac_safe=no"
12386fi
12387rm -f conftest*
12388fi
12389if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12390 echo "$ac_t""yes" 1>&6
12391 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12392 cat >> confdefs.h <<EOF
12393#define $ac_tr_hdr 1
12394EOF
12395
12396else
12397 echo "$ac_t""no" 1>&6
12398fi
12399done
12400
12401for ac_hdr in wctype.h
12402do
12403ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12404echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12405echo "configure:12406: checking for $ac_hdr" >&5
12406if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12407 echo $ac_n "(cached) $ac_c" 1>&6
12408else
12409 cat > conftest.$ac_ext <<EOF
12410#line 12411 "configure"
12411#include "confdefs.h"
12412#include <$ac_hdr>
12413EOF
12414ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12415{ (eval echo configure:12416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12416ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12417if test -z "$ac_err"; then
12418 rm -rf conftest*
12419 eval "ac_cv_header_$ac_safe=yes"
12420else
12421 echo "$ac_err" >&5
12422 echo "configure: failed program was:" >&5
12423 cat conftest.$ac_ext >&5
12424 rm -rf conftest*
12425 eval "ac_cv_header_$ac_safe=no"
12426fi
12427rm -f conftest*
12428fi
12429if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12430 echo "$ac_t""yes" 1>&6
12431 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12432 cat >> confdefs.h <<EOF
12433#define $ac_tr_hdr 1
12434EOF
12435
12436else
12437 echo "$ac_t""no" 1>&6
12438fi
12439done
12440
12441for ac_hdr in fnmatch.h
12442do
12443ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12444echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12445echo "configure:12446: checking for $ac_hdr" >&5
12446if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12447 echo $ac_n "(cached) $ac_c" 1>&6
12448else
12449 cat > conftest.$ac_ext <<EOF
12450#line 12451 "configure"
12451#include "confdefs.h"
12452#include <$ac_hdr>
12453EOF
12454ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12455{ (eval echo configure:12456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12456ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12457if test -z "$ac_err"; then
12458 rm -rf conftest*
12459 eval "ac_cv_header_$ac_safe=yes"
12460else
12461 echo "$ac_err" >&5
12462 echo "configure: failed program was:" >&5
12463 cat conftest.$ac_ext >&5
12464 rm -rf conftest*
12465 eval "ac_cv_header_$ac_safe=no"
12466fi
12467rm -f conftest*
12468fi
12469if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12470 echo "$ac_t""yes" 1>&6
12471 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12472 cat >> confdefs.h <<EOF
12473#define $ac_tr_hdr 1
12474EOF
12475
12476else
12477 echo "$ac_t""no" 1>&6
12478fi
12479done
12480
12481for ac_hdr in iconv.h
12482do
12483ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12484echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12485echo "configure:12486: checking for $ac_hdr" >&5
12486if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12487 echo $ac_n "(cached) $ac_c" 1>&6
12488else
12489 cat > conftest.$ac_ext <<EOF
12490#line 12491 "configure"
12491#include "confdefs.h"
12492#include <$ac_hdr>
12493EOF
12494ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12495{ (eval echo configure:12496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12496ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12497if test -z "$ac_err"; then
12498 rm -rf conftest*
12499 eval "ac_cv_header_$ac_safe=yes"
12500else
12501 echo "$ac_err" >&5
12502 echo "configure: failed program was:" >&5
12503 cat conftest.$ac_ext >&5
12504 rm -rf conftest*
12505 eval "ac_cv_header_$ac_safe=no"
12506fi
12507rm -f conftest*
12508fi
12509if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12510 echo "$ac_t""yes" 1>&6
12511 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12512 cat >> confdefs.h <<EOF
12513#define $ac_tr_hdr 1
12514EOF
12515
12516else
12517 echo "$ac_t""no" 1>&6
12518fi
12519done
12520
12521for ac_hdr in langinfo.h
12522do
12523ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12524echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12525echo "configure:12526: checking for $ac_hdr" >&5
12526if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12527 echo $ac_n "(cached) $ac_c" 1>&6
12528else
12529 cat > conftest.$ac_ext <<EOF
12530#line 12531 "configure"
12531#include "confdefs.h"
12532#include <$ac_hdr>
12533EOF
12534ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12535{ (eval echo configure:12536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12536ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12537if test -z "$ac_err"; then
12538 rm -rf conftest*
12539 eval "ac_cv_header_$ac_safe=yes"
12540else
12541 echo "$ac_err" >&5
12542 echo "configure: failed program was:" >&5
12543 cat conftest.$ac_ext >&5
12544 rm -rf conftest*
12545 eval "ac_cv_header_$ac_safe=no"
12546fi
12547rm -f conftest*
12548fi
12549if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12550 echo "$ac_t""yes" 1>&6
12551 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12552 cat >> confdefs.h <<EOF
12553#define $ac_tr_hdr 1
12554EOF
12555
12556else
12557 echo "$ac_t""no" 1>&6
12558fi
12559done
12560
12561
12562if test "$wxUSE_GUI" = "yes"; then
12563 if test "$wxUSE_UNIX" = "yes"; then
12564 for ac_hdr in X11/XKBlib.h
12565do
12566ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12567echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12568echo "configure:12569: checking for $ac_hdr" >&5
12569if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12570 echo $ac_n "(cached) $ac_c" 1>&6
12571else
12572 cat > conftest.$ac_ext <<EOF
12573#line 12574 "configure"
12574#include "confdefs.h"
12575#include <$ac_hdr>
12576EOF
12577ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12578{ (eval echo configure:12579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12579ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12580if test -z "$ac_err"; then
12581 rm -rf conftest*
12582 eval "ac_cv_header_$ac_safe=yes"
12583else
12584 echo "$ac_err" >&5
12585 echo "configure: failed program was:" >&5
12586 cat conftest.$ac_ext >&5
12587 rm -rf conftest*
12588 eval "ac_cv_header_$ac_safe=no"
12589fi
12590rm -f conftest*
12591fi
12592if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12593 echo "$ac_t""yes" 1>&6
12594 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12595 cat >> confdefs.h <<EOF
12596#define $ac_tr_hdr 1
12597EOF
12598
12599else
12600 echo "$ac_t""no" 1>&6
12601fi
12602done
12603
12604 fi
12605fi
12606
12607
12608echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
12609echo "configure:12610: checking for ANSI C header files" >&5
12610if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
12611 echo $ac_n "(cached) $ac_c" 1>&6
12612else
12613 cat > conftest.$ac_ext <<EOF
12614#line 12615 "configure"
12615#include "confdefs.h"
12616#include <stdlib.h>
12617#include <stdarg.h>
12618#include <string.h>
12619#include <float.h>
12620EOF
12621ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12622{ (eval echo configure:12623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12623ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12624if test -z "$ac_err"; then
12625 rm -rf conftest*
12626 ac_cv_header_stdc=yes
12627else
12628 echo "$ac_err" >&5
12629 echo "configure: failed program was:" >&5
12630 cat conftest.$ac_ext >&5
12631 rm -rf conftest*
12632 ac_cv_header_stdc=no
12633fi
12634rm -f conftest*
12635
12636if test $ac_cv_header_stdc = yes; then
12637 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12638cat > conftest.$ac_ext <<EOF
12639#line 12640 "configure"
12640#include "confdefs.h"
12641#include <string.h>
12642EOF
12643if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12644 egrep "memchr" >/dev/null 2>&1; then
12645 :
12646else
12647 rm -rf conftest*
12648 ac_cv_header_stdc=no
12649fi
12650rm -f conftest*
12651
12652fi
12653
12654if test $ac_cv_header_stdc = yes; then
12655 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12656cat > conftest.$ac_ext <<EOF
12657#line 12658 "configure"
12658#include "confdefs.h"
12659#include <stdlib.h>
12660EOF
12661if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12662 egrep "free" >/dev/null 2>&1; then
12663 :
12664else
12665 rm -rf conftest*
12666 ac_cv_header_stdc=no
12667fi
12668rm -f conftest*
12669
12670fi
12671
12672if test $ac_cv_header_stdc = yes; then
12673 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12674if test "$cross_compiling" = yes; then
12675 :
12676else
12677 cat > conftest.$ac_ext <<EOF
12678#line 12679 "configure"
12679#include "confdefs.h"
12680#include <ctype.h>
12681#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12682#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12683#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12684int main () { int i; for (i = 0; i < 256; i++)
12685if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
12686exit (0); }
12687
12688EOF
12689if { (eval echo configure:12690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12690then
12691 :
12692else
12693 echo "configure: failed program was:" >&5
12694 cat conftest.$ac_ext >&5
12695 rm -fr conftest*
12696 ac_cv_header_stdc=no
12697fi
12698rm -fr conftest*
12699fi
12700
12701fi
12702fi
12703
12704echo "$ac_t""$ac_cv_header_stdc" 1>&6
12705if test $ac_cv_header_stdc = yes; then
12706 cat >> confdefs.h <<\EOF
12707#define STDC_HEADERS 1
12708EOF
12709
12710fi
12711
12712echo $ac_n "checking for mode_t""... $ac_c" 1>&6
12713echo "configure:12714: checking for mode_t" >&5
12714if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
12715 echo $ac_n "(cached) $ac_c" 1>&6
12716else
12717 cat > conftest.$ac_ext <<EOF
12718#line 12719 "configure"
12719#include "confdefs.h"
12720#include <sys/types.h>
12721#if STDC_HEADERS
12722#include <stdlib.h>
12723#include <stddef.h>
12724#endif
12725EOF
12726if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12727 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
12728 rm -rf conftest*
12729 ac_cv_type_mode_t=yes
12730else
12731 rm -rf conftest*
12732 ac_cv_type_mode_t=no
12733fi
12734rm -f conftest*
12735
12736fi
12737echo "$ac_t""$ac_cv_type_mode_t" 1>&6
12738if test $ac_cv_type_mode_t = no; then
12739 cat >> confdefs.h <<\EOF
12740#define mode_t int
12741EOF
12742
12743fi
12744
12745echo $ac_n "checking for off_t""... $ac_c" 1>&6
12746echo "configure:12747: checking for off_t" >&5
12747if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
12748 echo $ac_n "(cached) $ac_c" 1>&6
12749else
12750 cat > conftest.$ac_ext <<EOF
12751#line 12752 "configure"
12752#include "confdefs.h"
12753#include <sys/types.h>
12754#if STDC_HEADERS
12755#include <stdlib.h>
12756#include <stddef.h>
12757#endif
12758EOF
12759if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12760 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
12761 rm -rf conftest*
12762 ac_cv_type_off_t=yes
12763else
12764 rm -rf conftest*
12765 ac_cv_type_off_t=no
12766fi
12767rm -f conftest*
12768
12769fi
12770echo "$ac_t""$ac_cv_type_off_t" 1>&6
12771if test $ac_cv_type_off_t = no; then
12772 cat >> confdefs.h <<\EOF
12773#define off_t long
12774EOF
12775
12776fi
12777
12778echo $ac_n "checking for pid_t""... $ac_c" 1>&6
12779echo "configure:12780: checking for pid_t" >&5
12780if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
12781 echo $ac_n "(cached) $ac_c" 1>&6
12782else
12783 cat > conftest.$ac_ext <<EOF
12784#line 12785 "configure"
12785#include "confdefs.h"
12786#include <sys/types.h>
12787#if STDC_HEADERS
12788#include <stdlib.h>
12789#include <stddef.h>
12790#endif
12791EOF
12792if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12793 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
12794 rm -rf conftest*
12795 ac_cv_type_pid_t=yes
12796else
12797 rm -rf conftest*
12798 ac_cv_type_pid_t=no
12799fi
12800rm -f conftest*
12801
12802fi
12803echo "$ac_t""$ac_cv_type_pid_t" 1>&6
12804if test $ac_cv_type_pid_t = no; then
12805 cat >> confdefs.h <<\EOF
12806#define pid_t int
12807EOF
12808
12809fi
12810
12811echo $ac_n "checking for size_t""... $ac_c" 1>&6
12812echo "configure:12813: checking for size_t" >&5
12813if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
12814 echo $ac_n "(cached) $ac_c" 1>&6
12815else
12816 cat > conftest.$ac_ext <<EOF
12817#line 12818 "configure"
12818#include "confdefs.h"
12819#include <sys/types.h>
12820#if STDC_HEADERS
12821#include <stdlib.h>
12822#include <stddef.h>
12823#endif
12824EOF
12825if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12826 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
12827 rm -rf conftest*
12828 ac_cv_type_size_t=yes
12829else
12830 rm -rf conftest*
12831 ac_cv_type_size_t=no
12832fi
12833rm -f conftest*
12834
12835fi
12836echo "$ac_t""$ac_cv_type_size_t" 1>&6
12837if test $ac_cv_type_size_t = no; then
12838 cat >> confdefs.h <<\EOF
12839#define size_t unsigned
12840EOF
12841
12842fi
12843
12844echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
12845echo "configure:12846: checking for uid_t in sys/types.h" >&5
12846if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
12847 echo $ac_n "(cached) $ac_c" 1>&6
12848else
12849 cat > conftest.$ac_ext <<EOF
12850#line 12851 "configure"
12851#include "confdefs.h"
12852#include <sys/types.h>
12853EOF
12854if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12855 egrep "uid_t" >/dev/null 2>&1; then
12856 rm -rf conftest*
12857 ac_cv_type_uid_t=yes
12858else
12859 rm -rf conftest*
12860 ac_cv_type_uid_t=no
12861fi
12862rm -f conftest*
12863
12864fi
12865
12866echo "$ac_t""$ac_cv_type_uid_t" 1>&6
12867if test $ac_cv_type_uid_t = no; then
12868 cat >> confdefs.h <<\EOF
12869#define uid_t int
12870EOF
12871
12872 cat >> confdefs.h <<\EOF
12873#define gid_t int
12874EOF
12875
12876fi
12877
12878
12879echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
12880echo "configure:12881: checking for wchar_t" >&5
12881if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
12882 echo $ac_n "(cached) $ac_c" 1>&6
12883else
12884
12885 cat > conftest.$ac_ext <<EOF
12886#line 12887 "configure"
12887#include "confdefs.h"
12888
12889 #ifdef HAVE_WCHAR_H
12890 # ifdef __CYGWIN__
12891 # include <stddef.h>
12892 # endif
12893 # include <wchar.h>
12894 #endif
12895 #ifdef HAVE_STDLIB_H
12896 # include <stdlib.h>
12897 #endif
12898
12899int main() {
12900
12901 wchar_t wc, *ws;
12902 wc = L'a';
12903 ws = L"Hello, world!";
12904
12905; return 0; }
12906EOF
12907if { (eval echo configure:12908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12908 rm -rf conftest*
12909 wx_cv_type_wchar_t=yes
12910else
12911 echo "configure: failed program was:" >&5
12912 cat conftest.$ac_ext >&5
12913 rm -rf conftest*
12914 wx_cv_type_wchar_t=no
12915
12916fi
12917rm -f conftest*
12918
12919fi
12920
12921echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
12922
12923if test "$wx_cv_type_wchar_t" = "yes"; then
12924 cat >> confdefs.h <<\EOF
12925#define wxUSE_WCHAR_T 1
12926EOF
12927
12928fi
12929
12930
12931ac_ext=C
12932# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12933ac_cpp='$CXXCPP $CPPFLAGS'
12934ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12935ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12936cross_compiling=$ac_cv_prog_cxx_cross
12937
12938echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
12939echo "configure:12940: checking if size_t is unsigned int" >&5
12940if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
12941 echo $ac_n "(cached) $ac_c" 1>&6
12942else
12943 cat > conftest.$ac_ext <<EOF
12944#line 12945 "configure"
12945#include "confdefs.h"
12946#include <stddef.h>
12947int main() {
12948
12949 return 0; }
12950
12951 struct Foo { void foo(size_t); void foo(unsigned int); };
12952
12953 int bar() {
12954
12955; return 0; }
12956EOF
12957if { (eval echo configure:12958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12958 rm -rf conftest*
12959 wx_cv_size_t_is_uint=no
12960else
12961 echo "configure: failed program was:" >&5
12962 cat conftest.$ac_ext >&5
12963 rm -rf conftest*
12964 wx_cv_size_t_is_uint=yes
12965
12966fi
12967rm -f conftest*
12968
12969fi
12970
12971echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
12972
12973if test "$wx_cv_size_t_is_uint" = "yes"; then
12974 cat >> confdefs.h <<\EOF
12975#define wxSIZE_T_IS_UINT 1
12976EOF
12977
12978else
12979 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
12980echo "configure:12981: checking if size_t is unsigned long" >&5
12981if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
12982 echo $ac_n "(cached) $ac_c" 1>&6
12983else
12984 cat > conftest.$ac_ext <<EOF
12985#line 12986 "configure"
12986#include "confdefs.h"
12987#include <stddef.h>
12988int main() {
12989
12990 return 0; }
12991
12992 struct Foo { void foo(size_t); void foo(unsigned long); };
12993
12994 int bar() {
12995
12996; return 0; }
12997EOF
12998if { (eval echo configure:12999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12999 rm -rf conftest*
13000 wx_cv_size_t_is_ulong=no
13001else
13002 echo "configure: failed program was:" >&5
13003 cat conftest.$ac_ext >&5
13004 rm -rf conftest*
13005 wx_cv_size_t_is_ulong=yes
13006
13007fi
13008rm -f conftest*
13009
13010fi
13011
13012echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
13013
13014 if test "$wx_cv_size_t_is_ulong" = "yes"; then
13015 cat >> confdefs.h <<\EOF
13016#define wxSIZE_T_IS_ULONG 1
13017EOF
13018
13019 fi
13020fi
13021
13022ac_ext=c
13023# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13024ac_cpp='$CPP $CPPFLAGS'
13025ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13026ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13027cross_compiling=$ac_cv_prog_cc_cross
13028
13029
13030
13031echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
13032echo "configure:13033: checking for pw_gecos in struct passwd" >&5
13033if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
13034 echo $ac_n "(cached) $ac_c" 1>&6
13035else
13036
13037 cat > conftest.$ac_ext <<EOF
13038#line 13039 "configure"
13039#include "confdefs.h"
13040#include <pwd.h>
13041int main() {
13042
13043 char *p;
13044 struct passwd *pw;
13045 p = pw->pw_gecos;
13046
13047; return 0; }
13048EOF
13049if { (eval echo configure:13050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13050 rm -rf conftest*
13051
13052 wx_cv_struct_pw_gecos=yes
13053
13054else
13055 echo "configure: failed program was:" >&5
13056 cat conftest.$ac_ext >&5
13057 rm -rf conftest*
13058
13059 wx_cv_struct_pw_gecos=no
13060
13061
13062fi
13063rm -f conftest*
13064
13065
13066fi
13067
13068echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
13069
13070if test "$wx_cv_struct_pw_gecos" = "yes"; then
13071 cat >> confdefs.h <<\EOF
13072#define HAVE_PW_GECOS 1
13073EOF
13074
13075fi
13076
13077
13078echo $ac_n "checking for working const""... $ac_c" 1>&6
13079echo "configure:13080: checking for working const" >&5
13080if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
13081 echo $ac_n "(cached) $ac_c" 1>&6
13082else
13083 cat > conftest.$ac_ext <<EOF
13084#line 13085 "configure"
13085#include "confdefs.h"
13086
13087int main() {
13088
13089/* Ultrix mips cc rejects this. */
13090typedef int charset[2]; const charset x;
13091/* SunOS 4.1.1 cc rejects this. */
13092char const *const *ccp;
13093char **p;
13094/* NEC SVR4.0.2 mips cc rejects this. */
13095struct point {int x, y;};
13096static struct point const zero = {0,0};
13097/* AIX XL C 1.02.0.0 rejects this.
13098 It does not let you subtract one const X* pointer from another in an arm
13099 of an if-expression whose if-part is not a constant expression */
13100const char *g = "string";
13101ccp = &g + (g ? g-g : 0);
13102/* HPUX 7.0 cc rejects these. */
13103++ccp;
13104p = (char**) ccp;
13105ccp = (char const *const *) p;
13106{ /* SCO 3.2v4 cc rejects this. */
13107 char *t;
13108 char const *s = 0 ? (char *) 0 : (char const *) 0;
13109
13110 *t++ = 0;
13111}
13112{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13113 int x[] = {25, 17};
13114 const int *foo = &x[0];
13115 ++foo;
13116}
13117{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13118 typedef const int *iptr;
13119 iptr p = 0;
13120 ++p;
13121}
13122{ /* AIX XL C 1.02.0.0 rejects this saying
13123 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13124 struct s { int j; const int *ap[3]; };
13125 struct s *b; b->j = 5;
13126}
13127{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13128 const int foo = 10;
13129}
13130
13131; return 0; }
13132EOF
13133if { (eval echo configure:13134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13134 rm -rf conftest*
13135 ac_cv_c_const=yes
13136else
13137 echo "configure: failed program was:" >&5
13138 cat conftest.$ac_ext >&5
13139 rm -rf conftest*
13140 ac_cv_c_const=no
13141fi
13142rm -f conftest*
13143fi
13144
13145echo "$ac_t""$ac_cv_c_const" 1>&6
13146if test $ac_cv_c_const = no; then
13147 cat >> confdefs.h <<\EOF
13148#define const
13149EOF
13150
13151fi
13152
13153echo $ac_n "checking for inline""... $ac_c" 1>&6
13154echo "configure:13155: checking for inline" >&5
13155if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
13156 echo $ac_n "(cached) $ac_c" 1>&6
13157else
13158 ac_cv_c_inline=no
13159for ac_kw in inline __inline__ __inline; do
13160 cat > conftest.$ac_ext <<EOF
13161#line 13162 "configure"
13162#include "confdefs.h"
13163
13164int main() {
13165} $ac_kw foo() {
13166; return 0; }
13167EOF
13168if { (eval echo configure:13169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13169 rm -rf conftest*
13170 ac_cv_c_inline=$ac_kw; break
13171else
13172 echo "configure: failed program was:" >&5
13173 cat conftest.$ac_ext >&5
13174fi
13175rm -f conftest*
13176done
13177
13178fi
13179
13180echo "$ac_t""$ac_cv_c_inline" 1>&6
13181case "$ac_cv_c_inline" in
13182 inline | yes) ;;
13183 no) cat >> confdefs.h <<\EOF
13184#define inline
13185EOF
13186 ;;
13187 *) cat >> confdefs.h <<EOF
13188#define inline $ac_cv_c_inline
13189EOF
13190 ;;
13191esac
13192
13193
13194echo $ac_n "checking size of char""... $ac_c" 1>&6
13195echo "configure:13196: checking size of char" >&5
13196if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
13197 echo $ac_n "(cached) $ac_c" 1>&6
13198else
13199 if test "$cross_compiling" = yes; then
13200 ac_cv_sizeof_char=1
13201else
13202 cat > conftest.$ac_ext <<EOF
13203#line 13204 "configure"
13204#include "confdefs.h"
13205#include <stdio.h>
13206main()
13207{
13208 FILE *f=fopen("conftestval", "w");
13209 if (!f) exit(1);
13210 fprintf(f, "%d\n", sizeof(char));
13211 exit(0);
13212}
13213EOF
13214if { (eval echo configure:13215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
13215then
13216 ac_cv_sizeof_char=`cat conftestval`
13217else
13218 echo "configure: failed program was:" >&5
13219 cat conftest.$ac_ext >&5
13220 rm -fr conftest*
13221 ac_cv_sizeof_char=0
13222fi
13223rm -fr conftest*
13224fi
13225
13226fi
13227echo "$ac_t""$ac_cv_sizeof_char" 1>&6
13228cat >> confdefs.h <<EOF
13229#define SIZEOF_CHAR $ac_cv_sizeof_char
13230EOF
13231
13232
13233echo $ac_n "checking size of short""... $ac_c" 1>&6
13234echo "configure:13235: checking size of short" >&5
13235if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
13236 echo $ac_n "(cached) $ac_c" 1>&6
13237else
13238 if test "$cross_compiling" = yes; then
13239 ac_cv_sizeof_short=2
13240else
13241 cat > conftest.$ac_ext <<EOF
13242#line 13243 "configure"
13243#include "confdefs.h"
13244#include <stdio.h>
13245main()
13246{
13247 FILE *f=fopen("conftestval", "w");
13248 if (!f) exit(1);
13249 fprintf(f, "%d\n", sizeof(short));
13250 exit(0);
13251}
13252EOF
13253if { (eval echo configure:13254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
13254then
13255 ac_cv_sizeof_short=`cat conftestval`
13256else
13257 echo "configure: failed program was:" >&5
13258 cat conftest.$ac_ext >&5
13259 rm -fr conftest*
13260 ac_cv_sizeof_short=0
13261fi
13262rm -fr conftest*
13263fi
13264
13265fi
13266echo "$ac_t""$ac_cv_sizeof_short" 1>&6
13267cat >> confdefs.h <<EOF
13268#define SIZEOF_SHORT $ac_cv_sizeof_short
13269EOF
13270
13271
13272echo $ac_n "checking size of int *""... $ac_c" 1>&6
13273echo "configure:13274: checking size of int *" >&5
13274if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
13275 echo $ac_n "(cached) $ac_c" 1>&6
13276else
13277 if test "$cross_compiling" = yes; then
13278 ac_cv_sizeof_int_p=4
13279else
13280 cat > conftest.$ac_ext <<EOF
13281#line 13282 "configure"
13282#include "confdefs.h"
13283#include <stdio.h>
13284main()
13285{
13286 FILE *f=fopen("conftestval", "w");
13287 if (!f) exit(1);
13288 fprintf(f, "%d\n", sizeof(int *));
13289 exit(0);
13290}
13291EOF
13292if { (eval echo configure:13293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
13293then
13294 ac_cv_sizeof_int_p=`cat conftestval`
13295else
13296 echo "configure: failed program was:" >&5
13297 cat conftest.$ac_ext >&5
13298 rm -fr conftest*
13299 ac_cv_sizeof_int_p=0
13300fi
13301rm -fr conftest*
13302fi
13303
13304fi
13305echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
13306cat >> confdefs.h <<EOF
13307#define SIZEOF_INT_P $ac_cv_sizeof_int_p
13308EOF
13309
13310
13311echo $ac_n "checking size of int""... $ac_c" 1>&6
13312echo "configure:13313: checking size of int" >&5
13313if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
13314 echo $ac_n "(cached) $ac_c" 1>&6
13315else
13316 if test "$cross_compiling" = yes; then
13317 ac_cv_sizeof_int=4
13318else
13319 cat > conftest.$ac_ext <<EOF
13320#line 13321 "configure"
13321#include "confdefs.h"
13322#include <stdio.h>
13323main()
13324{
13325 FILE *f=fopen("conftestval", "w");
13326 if (!f) exit(1);
13327 fprintf(f, "%d\n", sizeof(int));
13328 exit(0);
13329}
13330EOF
13331if { (eval echo configure:13332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
13332then
13333 ac_cv_sizeof_int=`cat conftestval`
13334else
13335 echo "configure: failed program was:" >&5
13336 cat conftest.$ac_ext >&5
13337 rm -fr conftest*
13338 ac_cv_sizeof_int=0
13339fi
13340rm -fr conftest*
13341fi
13342
13343fi
13344echo "$ac_t""$ac_cv_sizeof_int" 1>&6
13345cat >> confdefs.h <<EOF
13346#define SIZEOF_INT $ac_cv_sizeof_int
13347EOF
13348
13349
13350echo $ac_n "checking size of long""... $ac_c" 1>&6
13351echo "configure:13352: checking size of long" >&5
13352if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
13353 echo $ac_n "(cached) $ac_c" 1>&6
13354else
13355 if test "$cross_compiling" = yes; then
13356 ac_cv_sizeof_long=4
13357else
13358 cat > conftest.$ac_ext <<EOF
13359#line 13360 "configure"
13360#include "confdefs.h"
13361#include <stdio.h>
13362main()
13363{
13364 FILE *f=fopen("conftestval", "w");
13365 if (!f) exit(1);
13366 fprintf(f, "%d\n", sizeof(long));
13367 exit(0);
13368}
13369EOF
13370if { (eval echo configure:13371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
13371then
13372 ac_cv_sizeof_long=`cat conftestval`
13373else
13374 echo "configure: failed program was:" >&5
13375 cat conftest.$ac_ext >&5
13376 rm -fr conftest*
13377 ac_cv_sizeof_long=0
13378fi
13379rm -fr conftest*
13380fi
13381
13382fi
13383echo "$ac_t""$ac_cv_sizeof_long" 1>&6
13384cat >> confdefs.h <<EOF
13385#define SIZEOF_LONG $ac_cv_sizeof_long
13386EOF
13387
13388
13389echo $ac_n "checking size of long long""... $ac_c" 1>&6
13390echo "configure:13391: checking size of long long" >&5
13391if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
13392 echo $ac_n "(cached) $ac_c" 1>&6
13393else
13394 if test "$cross_compiling" = yes; then
13395 ac_cv_sizeof_long_long=0
13396else
13397 cat > conftest.$ac_ext <<EOF
13398#line 13399 "configure"
13399#include "confdefs.h"
13400#include <stdio.h>
13401main()
13402{
13403 FILE *f=fopen("conftestval", "w");
13404 if (!f) exit(1);
13405 fprintf(f, "%d\n", sizeof(long long));
13406 exit(0);
13407}
13408EOF
13409if { (eval echo configure:13410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
13410then
13411 ac_cv_sizeof_long_long=`cat conftestval`
13412else
13413 echo "configure: failed program was:" >&5
13414 cat conftest.$ac_ext >&5
13415 rm -fr conftest*
13416 ac_cv_sizeof_long_long=0
13417fi
13418rm -fr conftest*
13419fi
13420
13421fi
13422echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
13423cat >> confdefs.h <<EOF
13424#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13425EOF
13426
13427
13428
13429echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
13430echo "configure:13431: checking size of wchar_t" >&5
13431if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
13432 echo $ac_n "(cached) $ac_c" 1>&6
13433else
13434
13435 if test "$cross_compiling" = yes; then
13436 wx_cv_sizeof_wchar_t=4
13437
13438else
13439 cat > conftest.$ac_ext <<EOF
13440#line 13441 "configure"
13441#include "confdefs.h"
13442
13443 #ifdef HAVE_WCHAR_H
13444 # ifdef __CYGWIN__
13445 # include <stddef.h>
13446 # endif
13447 # include <wchar.h>
13448 #endif
13449 #ifdef HAVE_STDLIB_H
13450 # include <stdlib.h>
13451 #endif
13452 #include <stdio.h>
13453 int main()
13454 {
13455 FILE *f=fopen("conftestval", "w");
13456 if (!f) exit(1);
13457 fprintf(f, "%i", sizeof(wchar_t));
13458 exit(0);
13459 }
13460
13461EOF
13462if { (eval echo configure:13463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
13463then
13464 wx_cv_sizeof_wchar_t=`cat conftestval`
13465else
13466 echo "configure: failed program was:" >&5
13467 cat conftest.$ac_ext >&5
13468 rm -fr conftest*
13469 wx_cv_sizeof_wchar_t=0
13470fi
13471rm -fr conftest*
13472fi
13473
13474
13475fi
13476
13477echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
13478
13479cat >> confdefs.h <<EOF
13480#define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
13481EOF
13482
13483
13484echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
13485echo "configure:13486: checking whether byte ordering is bigendian" >&5
13486if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
13487 echo $ac_n "(cached) $ac_c" 1>&6
13488else
13489 ac_cv_c_bigendian=unknown
13490# See if sys/param.h defines the BYTE_ORDER macro.
13491cat > conftest.$ac_ext <<EOF
13492#line 13493 "configure"
13493#include "confdefs.h"
13494#include <sys/types.h>
13495#include <sys/param.h>
13496int main() {
13497
13498#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
13499 bogus endian macros
13500#endif
13501; return 0; }
13502EOF
13503if { (eval echo configure:13504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13504 rm -rf conftest*
13505 # It does; now see whether it defined to BIG_ENDIAN or not.
13506cat > conftest.$ac_ext <<EOF
13507#line 13508 "configure"
13508#include "confdefs.h"
13509#include <sys/types.h>
13510#include <sys/param.h>
13511int main() {
13512
13513#if BYTE_ORDER != BIG_ENDIAN
13514 not big endian
13515#endif
13516; return 0; }
13517EOF
13518if { (eval echo configure:13519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13519 rm -rf conftest*
13520 ac_cv_c_bigendian=yes
13521else
13522 echo "configure: failed program was:" >&5
13523 cat conftest.$ac_ext >&5
13524 rm -rf conftest*
13525 ac_cv_c_bigendian=no
13526fi
13527rm -f conftest*
13528else
13529 echo "configure: failed program was:" >&5
13530 cat conftest.$ac_ext >&5
13531fi
13532rm -f conftest*
13533if test $ac_cv_c_bigendian = unknown; then
13534if test "$cross_compiling" = yes; then
13535 ac_cv_c_bigendian=unknown
13536else
13537 cat > conftest.$ac_ext <<EOF
13538#line 13539 "configure"
13539#include "confdefs.h"
13540main () {
13541 /* Are we little or big endian? From Harbison&Steele. */
13542 union
13543 {
13544 long l;
13545 char c[sizeof (long)];
13546 } u;
13547 u.l = 1;
13548 exit (u.c[sizeof (long) - 1] == 1);
13549}
13550EOF
13551if { (eval echo configure:13552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
13552then
13553 ac_cv_c_bigendian=no
13554else
13555 echo "configure: failed program was:" >&5
13556 cat conftest.$ac_ext >&5
13557 rm -fr conftest*
13558 ac_cv_c_bigendian=yes
13559fi
13560rm -fr conftest*
13561fi
13562
13563fi
13564fi
13565
13566echo "$ac_t""$ac_cv_c_bigendian" 1>&6
13567if test $ac_cv_c_bigendian = unknown; then
13568 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
13569fi
13570if test $ac_cv_c_bigendian = yes; then
13571 cat >> confdefs.h <<\EOF
13572#define WORDS_BIGENDIAN 1
13573EOF
13574
13575fi
13576
13577
13578echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
13579echo "configure:13580: checking how to run the C++ preprocessor" >&5
13580if test -z "$CXXCPP"; then
13581if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
13582 echo $ac_n "(cached) $ac_c" 1>&6
13583else
13584 ac_ext=C
13585# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13586ac_cpp='$CXXCPP $CPPFLAGS'
13587ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13588ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13589cross_compiling=$ac_cv_prog_cxx_cross
13590 CXXCPP="${CXX-g++} -E"
13591 cat > conftest.$ac_ext <<EOF
13592#line 13593 "configure"
13593#include "confdefs.h"
13594#include <stdlib.h>
13595EOF
13596ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13597{ (eval echo configure:13598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13598ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13599if test -z "$ac_err"; then
13600 :
13601else
13602 echo "$ac_err" >&5
13603 echo "configure: failed program was:" >&5
13604 cat conftest.$ac_ext >&5
13605 rm -rf conftest*
13606 CXXCPP=/lib/cpp
13607fi
13608rm -f conftest*
13609 ac_cv_prog_CXXCPP="$CXXCPP"
13610ac_ext=C
13611# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13612ac_cpp='$CXXCPP $CPPFLAGS'
13613ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13614ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13615cross_compiling=$ac_cv_prog_cxx_cross
13616fi
13617fi
13618CXXCPP="$ac_cv_prog_CXXCPP"
13619echo "$ac_t""$CXXCPP" 1>&6
13620
13621
13622 if test "$cross_compiling" = "yes"; then
13623 cat >> confdefs.h <<\EOF
13624#define wxUSE_IOSTREAMH 1
13625EOF
13626
13627 else
13628
13629 ac_ext=C
13630# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13631ac_cpp='$CXXCPP $CPPFLAGS'
13632ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13633ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13634cross_compiling=$ac_cv_prog_cxx_cross
13635
13636
13637 for ac_hdr in iostream
13638do
13639ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13640echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13641echo "configure:13642: checking for $ac_hdr" >&5
13642if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13643 echo $ac_n "(cached) $ac_c" 1>&6
13644else
13645 cat > conftest.$ac_ext <<EOF
13646#line 13647 "configure"
13647#include "confdefs.h"
13648#include <$ac_hdr>
13649EOF
13650ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13651{ (eval echo configure:13652: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13652ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13653if test -z "$ac_err"; then
13654 rm -rf conftest*
13655 eval "ac_cv_header_$ac_safe=yes"
13656else
13657 echo "$ac_err" >&5
13658 echo "configure: failed program was:" >&5
13659 cat conftest.$ac_ext >&5
13660 rm -rf conftest*
13661 eval "ac_cv_header_$ac_safe=no"
13662fi
13663rm -f conftest*
13664fi
13665if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13666 echo "$ac_t""yes" 1>&6
13667 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13668 cat >> confdefs.h <<EOF
13669#define $ac_tr_hdr 1
13670EOF
13671
13672else
13673 echo "$ac_t""no" 1>&6
13674fi
13675done
13676
13677
13678 if test "$ac_cv_header_iostream" = "yes" ; then
13679 :
13680 else
13681 cat >> confdefs.h <<\EOF
13682#define wxUSE_IOSTREAMH 1
13683EOF
13684
13685 fi
13686
13687 ac_ext=c
13688# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13689ac_cpp='$CPP $CPPFLAGS'
13690ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13691ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13692cross_compiling=$ac_cv_prog_cc_cross
13693
13694 fi
13695
13696
13697
13698 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
13699echo "configure:13700: checking if C++ compiler supports bool" >&5
13700if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
13701 echo $ac_n "(cached) $ac_c" 1>&6
13702else
13703
13704
13705 ac_ext=C
13706# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13707ac_cpp='$CXXCPP $CPPFLAGS'
13708ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13709ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13710cross_compiling=$ac_cv_prog_cxx_cross
13711
13712
13713 cat > conftest.$ac_ext <<EOF
13714#line 13715 "configure"
13715#include "confdefs.h"
13716
13717
13718int main() {
13719
13720 bool b = true;
13721
13722 return 0;
13723
13724; return 0; }
13725EOF
13726if { (eval echo configure:13727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13727 rm -rf conftest*
13728
13729 wx_cv_cpp_bool=yes
13730
13731else
13732 echo "configure: failed program was:" >&5
13733 cat conftest.$ac_ext >&5
13734 rm -rf conftest*
13735
13736 wx_cv_cpp_bool=no
13737
13738
13739fi
13740rm -f conftest*
13741
13742 ac_ext=c
13743# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13744ac_cpp='$CPP $CPPFLAGS'
13745ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13746ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13747cross_compiling=$ac_cv_prog_cc_cross
13748
13749
13750fi
13751
13752echo "$ac_t""$wx_cv_cpp_bool" 1>&6
13753
13754 if test "$wx_cv_cpp_bool" = "yes"; then
13755 cat >> confdefs.h <<\EOF
13756#define HAVE_BOOL 1
13757EOF
13758
13759 fi
13760
13761
13762
13763echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
13764echo "configure:13765: checking for wcslen in -lc" >&5
13765ac_lib_var=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
13766if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13767 echo $ac_n "(cached) $ac_c" 1>&6
13768else
13769 ac_save_LIBS="$LIBS"
13770LIBS="-lc $LIBS"
13771cat > conftest.$ac_ext <<EOF
13772#line 13773 "configure"
13773#include "confdefs.h"
13774/* Override any gcc2 internal prototype to avoid an error. */
13775/* We use char because int might match the return type of a gcc2
13776 builtin and then its argument prototype would still apply. */
13777char wcslen();
13778
13779int main() {
13780wcslen()
13781; return 0; }
13782EOF
13783if { (eval echo configure:13784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13784 rm -rf conftest*
13785 eval "ac_cv_lib_$ac_lib_var=yes"
13786else
13787 echo "configure: failed program was:" >&5
13788 cat conftest.$ac_ext >&5
13789 rm -rf conftest*
13790 eval "ac_cv_lib_$ac_lib_var=no"
13791fi
13792rm -f conftest*
13793LIBS="$ac_save_LIBS"
13794
13795fi
13796if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13797 echo "$ac_t""yes" 1>&6
13798
13799 cat >> confdefs.h <<\EOF
13800#define HAVE_WCSLEN 1
13801EOF
13802
13803 WCHAR_LINK=
13804
13805else
13806 echo "$ac_t""no" 1>&6
13807
13808 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
13809echo "configure:13810: checking for wcslen in -lw" >&5
13810ac_lib_var=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
13811if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13812 echo $ac_n "(cached) $ac_c" 1>&6
13813else
13814 ac_save_LIBS="$LIBS"
13815LIBS="-lw $LIBS"
13816cat > conftest.$ac_ext <<EOF
13817#line 13818 "configure"
13818#include "confdefs.h"
13819/* Override any gcc2 internal prototype to avoid an error. */
13820/* We use char because int might match the return type of a gcc2
13821 builtin and then its argument prototype would still apply. */
13822char wcslen();
13823
13824int main() {
13825wcslen()
13826; return 0; }
13827EOF
13828if { (eval echo configure:13829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13829 rm -rf conftest*
13830 eval "ac_cv_lib_$ac_lib_var=yes"
13831else
13832 echo "configure: failed program was:" >&5
13833 cat conftest.$ac_ext >&5
13834 rm -rf conftest*
13835 eval "ac_cv_lib_$ac_lib_var=no"
13836fi
13837rm -f conftest*
13838LIBS="$ac_save_LIBS"
13839
13840fi
13841if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13842 echo "$ac_t""yes" 1>&6
13843
13844 cat >> confdefs.h <<\EOF
13845#define HAVE_WCSLEN 1
13846EOF
13847
13848 WCHAR_LINK=" -lw"
13849
13850else
13851 echo "$ac_t""no" 1>&6
13852
13853 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
13854echo "configure:13855: checking for wcslen in -lmsvcrt" >&5
13855ac_lib_var=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
13856if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13857 echo $ac_n "(cached) $ac_c" 1>&6
13858else
13859 ac_save_LIBS="$LIBS"
13860LIBS="-lmsvcrt $LIBS"
13861cat > conftest.$ac_ext <<EOF
13862#line 13863 "configure"
13863#include "confdefs.h"
13864/* Override any gcc2 internal prototype to avoid an error. */
13865/* We use char because int might match the return type of a gcc2
13866 builtin and then its argument prototype would still apply. */
13867char wcslen();
13868
13869int main() {
13870wcslen()
13871; return 0; }
13872EOF
13873if { (eval echo configure:13874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13874 rm -rf conftest*
13875 eval "ac_cv_lib_$ac_lib_var=yes"
13876else
13877 echo "configure: failed program was:" >&5
13878 cat conftest.$ac_ext >&5
13879 rm -rf conftest*
13880 eval "ac_cv_lib_$ac_lib_var=no"
13881fi
13882rm -f conftest*
13883LIBS="$ac_save_LIBS"
13884
13885fi
13886if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13887 echo "$ac_t""yes" 1>&6
13888
13889 cat >> confdefs.h <<\EOF
13890#define HAVE_WCSLEN 1
13891EOF
13892
13893 WCHAR_LINK=
13894
13895else
13896 echo "$ac_t""no" 1>&6
13897fi
13898
13899
13900fi
13901
13902
13903fi
13904
13905
13906for ac_func in wcsrtombs
13907do
13908echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13909echo "configure:13910: checking for $ac_func" >&5
13910if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13911 echo $ac_n "(cached) $ac_c" 1>&6
13912else
13913 cat > conftest.$ac_ext <<EOF
13914#line 13915 "configure"
13915#include "confdefs.h"
13916/* System header to define __stub macros and hopefully few prototypes,
13917 which can conflict with char $ac_func(); below. */
13918#include <assert.h>
13919/* Override any gcc2 internal prototype to avoid an error. */
13920/* We use char because int might match the return type of a gcc2
13921 builtin and then its argument prototype would still apply. */
13922char $ac_func();
13923
13924int main() {
13925
13926/* The GNU C library defines this for functions which it implements
13927 to always fail with ENOSYS. Some functions are actually named
13928 something starting with __ and the normal name is an alias. */
13929#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13930choke me
13931#else
13932$ac_func();
13933#endif
13934
13935; return 0; }
13936EOF
13937if { (eval echo configure:13938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13938 rm -rf conftest*
13939 eval "ac_cv_func_$ac_func=yes"
13940else
13941 echo "configure: failed program was:" >&5
13942 cat conftest.$ac_ext >&5
13943 rm -rf conftest*
13944 eval "ac_cv_func_$ac_func=no"
13945fi
13946rm -f conftest*
13947fi
13948
13949if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13950 echo "$ac_t""yes" 1>&6
13951 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13952 cat >> confdefs.h <<EOF
13953#define $ac_tr_func 1
13954EOF
13955
13956else
13957 echo "$ac_t""no" 1>&6
13958fi
13959done
13960
13961
13962echo $ac_n "checking for vprintf""... $ac_c" 1>&6
13963echo "configure:13964: checking for vprintf" >&5
13964if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
13965 echo $ac_n "(cached) $ac_c" 1>&6
13966else
13967 cat > conftest.$ac_ext <<EOF
13968#line 13969 "configure"
13969#include "confdefs.h"
13970/* System header to define __stub macros and hopefully few prototypes,
13971 which can conflict with char vprintf(); below. */
13972#include <assert.h>
13973/* Override any gcc2 internal prototype to avoid an error. */
13974/* We use char because int might match the return type of a gcc2
13975 builtin and then its argument prototype would still apply. */
13976char vprintf();
13977
13978int main() {
13979
13980/* The GNU C library defines this for functions which it implements
13981 to always fail with ENOSYS. Some functions are actually named
13982 something starting with __ and the normal name is an alias. */
13983#if defined (__stub_vprintf) || defined (__stub___vprintf)
13984choke me
13985#else
13986vprintf();
13987#endif
13988
13989; return 0; }
13990EOF
13991if { (eval echo configure:13992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13992 rm -rf conftest*
13993 eval "ac_cv_func_vprintf=yes"
13994else
13995 echo "configure: failed program was:" >&5
13996 cat conftest.$ac_ext >&5
13997 rm -rf conftest*
13998 eval "ac_cv_func_vprintf=no"
13999fi
14000rm -f conftest*
14001fi
14002
14003if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
14004 echo "$ac_t""yes" 1>&6
14005 cat >> confdefs.h <<\EOF
14006#define HAVE_VPRINTF 1
14007EOF
14008
14009else
14010 echo "$ac_t""no" 1>&6
14011fi
14012
14013if test "$ac_cv_func_vprintf" != yes; then
14014echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
14015echo "configure:14016: checking for _doprnt" >&5
14016if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
14017 echo $ac_n "(cached) $ac_c" 1>&6
14018else
14019 cat > conftest.$ac_ext <<EOF
14020#line 14021 "configure"
14021#include "confdefs.h"
14022/* System header to define __stub macros and hopefully few prototypes,
14023 which can conflict with char _doprnt(); below. */
14024#include <assert.h>
14025/* Override any gcc2 internal prototype to avoid an error. */
14026/* We use char because int might match the return type of a gcc2
14027 builtin and then its argument prototype would still apply. */
14028char _doprnt();
14029
14030int main() {
14031
14032/* The GNU C library defines this for functions which it implements
14033 to always fail with ENOSYS. Some functions are actually named
14034 something starting with __ and the normal name is an alias. */
14035#if defined (__stub__doprnt) || defined (__stub____doprnt)
14036choke me
14037#else
14038_doprnt();
14039#endif
14040
14041; return 0; }
14042EOF
14043if { (eval echo configure:14044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14044 rm -rf conftest*
14045 eval "ac_cv_func__doprnt=yes"
14046else
14047 echo "configure: failed program was:" >&5
14048 cat conftest.$ac_ext >&5
14049 rm -rf conftest*
14050 eval "ac_cv_func__doprnt=no"
14051fi
14052rm -f conftest*
14053fi
14054
14055if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
14056 echo "$ac_t""yes" 1>&6
14057 cat >> confdefs.h <<\EOF
14058#define HAVE_DOPRNT 1
14059EOF
14060
14061else
14062 echo "$ac_t""no" 1>&6
14063fi
14064
14065fi
14066
14067
14068
14069
14070
14071
14072echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
14073echo "configure:14074: checking for vsnprintf" >&5
14074if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
14075 echo $ac_n "(cached) $ac_c" 1>&6
14076else
14077
14078 cat > conftest.$ac_ext <<EOF
14079#line 14080 "configure"
14080#include "confdefs.h"
14081
14082 #include <stdio.h>
14083 #include <stdarg.h>
14084
14085int main() {
14086
14087 int wx_test_vsnprintf(const char *, ...);
14088
14089 wx_test_vsnprintf("%s");
14090 return 0;
14091 }
14092
14093 int wx_test_vsnprintf(const char *fmt, ...)
14094 {
14095 char *s;
14096
14097 va_list argp;
14098 va_start(argp, fmt);
14099 vsnprintf(s, 42, fmt, argp);
14100 va_end(argp);
14101
14102; return 0; }
14103EOF
14104if { (eval echo configure:14105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14105 rm -rf conftest*
14106
14107 wx_cv_func_vsnprintf=yes
14108
14109else
14110 echo "configure: failed program was:" >&5
14111 cat conftest.$ac_ext >&5
14112 rm -rf conftest*
14113
14114 cat > conftest.$ac_ext <<EOF
14115#line 14116 "configure"
14116#include "confdefs.h"
14117
14118 #include <stdio.h>
14119 #include <stdarg.h>
14120
14121int main() {
14122
14123 int wx_test_vsnprintf(const char *, ...);
14124
14125 wx_test_vsnprintf("%s");
14126 return 0;
14127 }
14128
14129 int wx_test_vsnprintf(const char *fmt, ...)
14130 {
14131 char *s;
14132
14133 va_list argp;
14134 va_start(argp, fmt);
14135 _vsnprintf(s, 42, fmt, argp);
14136 va_end(argp);
14137
14138; return 0; }
14139EOF
14140if { (eval echo configure:14141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14141 rm -rf conftest*
14142
14143 wx_cv_func_vsnprintf=yes
14144
14145else
14146 echo "configure: failed program was:" >&5
14147 cat conftest.$ac_ext >&5
14148 rm -rf conftest*
14149
14150 wx_cv_func_vsnprintf=no
14151
14152fi
14153rm -f conftest*
14154
14155fi
14156rm -f conftest*
14157
14158fi
14159
14160echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
14161
14162if test "$wx_cv_func_vsnprintf" = yes; then
14163 cat >> confdefs.h <<\EOF
14164#define HAVE_VSNPRINTF 1
14165EOF
14166
14167else
14168 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
14169fi
14170
14171echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
14172echo "configure:14173: checking for vsscanf" >&5
14173if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
14174 echo $ac_n "(cached) $ac_c" 1>&6
14175else
14176
14177 cat > conftest.$ac_ext <<EOF
14178#line 14179 "configure"
14179#include "confdefs.h"
14180
14181 #include <stdio.h>
14182 #include <stdarg.h>
14183
14184int main() {
14185
14186 int wx_test_vsscanf(const char *, ...);
14187
14188 wx_test_vsscanf("%d");
14189 return 0;
14190 }
14191
14192 int wx_test_vsscanf(const char *fmt, ...)
14193 {
14194 va_list argp;
14195 va_start(argp, fmt);
14196 vsscanf("42", fmt, argp);
14197 va_end(argp);
14198
14199; return 0; }
14200EOF
14201if { (eval echo configure:14202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14202 rm -rf conftest*
14203
14204 wx_cv_func_vsscanf=yes
14205
14206else
14207 echo "configure: failed program was:" >&5
14208 cat conftest.$ac_ext >&5
14209 rm -rf conftest*
14210
14211 wx_cv_func_vsscanf=no
14212
14213fi
14214rm -f conftest*
14215
14216fi
14217
14218echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
14219
14220if test "$wx_cv_func_vsscanf" = yes; then
14221 cat >> confdefs.h <<\EOF
14222#define HAVE_VSSCANF 1
14223EOF
14224
14225fi
14226
14227if test "$TOOLKIT" != "MSW"; then
14228
14229
14230
14231ac_ext=C
14232# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14233ac_cpp='$CXXCPP $CPPFLAGS'
14234ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14235ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14236cross_compiling=$ac_cv_prog_cxx_cross
14237
14238echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
14239echo "configure:14240: checking if iconv() takes char**" >&5
14240if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
14241 echo $ac_n "(cached) $ac_c" 1>&6
14242else
14243
14244 cat > conftest.$ac_ext <<EOF
14245#line 14246 "configure"
14246#include "confdefs.h"
14247#include <iconv.h>
14248int main() {
14249
14250 char **inbuf, **outbuf;
14251 iconv_t cd;
14252 size_t insz, outsz;
14253 iconv(cd, inbuf, &insz, outbuf, &outsz);
14254
14255; return 0; }
14256EOF
14257if { (eval echo configure:14258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14258 rm -rf conftest*
14259 wx_cv_iconv_takes_char=yes
14260else
14261 echo "configure: failed program was:" >&5
14262 cat conftest.$ac_ext >&5
14263 rm -rf conftest*
14264 wx_cv_iconv_takes_char=no
14265fi
14266rm -f conftest*
14267
14268fi
14269
14270echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
14271ac_ext=c
14272# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14273ac_cpp='$CPP $CPPFLAGS'
14274ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14275ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14276cross_compiling=$ac_cv_prog_cc_cross
14277
14278if test "$wx_cv_iconv_takes_char" = yes ; then
14279 cat >> confdefs.h <<\EOF
14280#define WX_ICONV_TAKES_CHAR 1
14281EOF
14282
14283fi
14284
14285
14286if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
14287 for ac_func in sigaction
14288do
14289echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14290echo "configure:14291: checking for $ac_func" >&5
14291if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14292 echo $ac_n "(cached) $ac_c" 1>&6
14293else
14294 cat > conftest.$ac_ext <<EOF
14295#line 14296 "configure"
14296#include "confdefs.h"
14297/* System header to define __stub macros and hopefully few prototypes,
14298 which can conflict with char $ac_func(); below. */
14299#include <assert.h>
14300/* Override any gcc2 internal prototype to avoid an error. */
14301/* We use char because int might match the return type of a gcc2
14302 builtin and then its argument prototype would still apply. */
14303char $ac_func();
14304
14305int main() {
14306
14307/* The GNU C library defines this for functions which it implements
14308 to always fail with ENOSYS. Some functions are actually named
14309 something starting with __ and the normal name is an alias. */
14310#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14311choke me
14312#else
14313$ac_func();
14314#endif
14315
14316; return 0; }
14317EOF
14318if { (eval echo configure:14319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14319 rm -rf conftest*
14320 eval "ac_cv_func_$ac_func=yes"
14321else
14322 echo "configure: failed program was:" >&5
14323 cat conftest.$ac_ext >&5
14324 rm -rf conftest*
14325 eval "ac_cv_func_$ac_func=no"
14326fi
14327rm -f conftest*
14328fi
14329
14330if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14331 echo "$ac_t""yes" 1>&6
14332 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14333 cat >> confdefs.h <<EOF
14334#define $ac_tr_func 1
14335EOF
14336
14337else
14338 echo "$ac_t""no" 1>&6
14339fi
14340done
14341
14342
14343 if test "$ac_cv_func_sigaction" = "no"; then
14344 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
14345 wxUSE_ON_FATAL_EXCEPTION=no
14346 fi
14347
14348 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
14349
14350 ac_ext=C
14351# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14352ac_cpp='$CXXCPP $CPPFLAGS'
14353ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14354ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14355cross_compiling=$ac_cv_prog_cxx_cross
14356
14357
14358 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
14359echo "configure:14360: checking for sa_handler type" >&5
14360if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
14361 echo $ac_n "(cached) $ac_c" 1>&6
14362else
14363
14364 cat > conftest.$ac_ext <<EOF
14365#line 14366 "configure"
14366#include "confdefs.h"
14367#include <signal.h>
14368int main() {
14369
14370 extern void testSigHandler(int);
14371
14372 struct sigaction sa;
14373 sa.sa_handler = testSigHandler;
14374
14375; return 0; }
14376EOF
14377if { (eval echo configure:14378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14378 rm -rf conftest*
14379
14380 wx_cv_type_sa_handler=int
14381
14382else
14383 echo "configure: failed program was:" >&5
14384 cat conftest.$ac_ext >&5
14385 rm -rf conftest*
14386
14387 wx_cv_type_sa_handler=void
14388
14389fi
14390rm -f conftest*
14391
14392fi
14393
14394echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
14395
14396 ac_ext=c
14397# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14398ac_cpp='$CPP $CPPFLAGS'
14399ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14400ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14401cross_compiling=$ac_cv_prog_cc_cross
14402
14403
14404 cat >> confdefs.h <<EOF
14405#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
14406EOF
14407
14408 fi
14409fi
14410
14411for ac_func in vfork
14412do
14413echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14414echo "configure:14415: checking for $ac_func" >&5
14415if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14416 echo $ac_n "(cached) $ac_c" 1>&6
14417else
14418 cat > conftest.$ac_ext <<EOF
14419#line 14420 "configure"
14420#include "confdefs.h"
14421/* System header to define __stub macros and hopefully few prototypes,
14422 which can conflict with char $ac_func(); below. */
14423#include <assert.h>
14424/* Override any gcc2 internal prototype to avoid an error. */
14425/* We use char because int might match the return type of a gcc2
14426 builtin and then its argument prototype would still apply. */
14427char $ac_func();
14428
14429int main() {
14430
14431/* The GNU C library defines this for functions which it implements
14432 to always fail with ENOSYS. Some functions are actually named
14433 something starting with __ and the normal name is an alias. */
14434#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14435choke me
14436#else
14437$ac_func();
14438#endif
14439
14440; return 0; }
14441EOF
14442if { (eval echo configure:14443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14443 rm -rf conftest*
14444 eval "ac_cv_func_$ac_func=yes"
14445else
14446 echo "configure: failed program was:" >&5
14447 cat conftest.$ac_ext >&5
14448 rm -rf conftest*
14449 eval "ac_cv_func_$ac_func=no"
14450fi
14451rm -f conftest*
14452fi
14453
14454if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14455 echo "$ac_t""yes" 1>&6
14456 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14457 cat >> confdefs.h <<EOF
14458#define $ac_tr_func 1
14459EOF
14460
14461else
14462 echo "$ac_t""no" 1>&6
14463fi
14464done
14465
14466
14467for ac_func in mkstemp mktemp
14468do
14469echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14470echo "configure:14471: checking for $ac_func" >&5
14471if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14472 echo $ac_n "(cached) $ac_c" 1>&6
14473else
14474 cat > conftest.$ac_ext <<EOF
14475#line 14476 "configure"
14476#include "confdefs.h"
14477/* System header to define __stub macros and hopefully few prototypes,
14478 which can conflict with char $ac_func(); below. */
14479#include <assert.h>
14480/* Override any gcc2 internal prototype to avoid an error. */
14481/* We use char because int might match the return type of a gcc2
14482 builtin and then its argument prototype would still apply. */
14483char $ac_func();
14484
14485int main() {
14486
14487/* The GNU C library defines this for functions which it implements
14488 to always fail with ENOSYS. Some functions are actually named
14489 something starting with __ and the normal name is an alias. */
14490#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14491choke me
14492#else
14493$ac_func();
14494#endif
14495
14496; return 0; }
14497EOF
14498if { (eval echo configure:14499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14499 rm -rf conftest*
14500 eval "ac_cv_func_$ac_func=yes"
14501else
14502 echo "configure: failed program was:" >&5
14503 cat conftest.$ac_ext >&5
14504 rm -rf conftest*
14505 eval "ac_cv_func_$ac_func=no"
14506fi
14507rm -f conftest*
14508fi
14509
14510if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14511 echo "$ac_t""yes" 1>&6
14512 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14513 cat >> confdefs.h <<EOF
14514#define $ac_tr_func 1
14515EOF
14516 break
14517else
14518 echo "$ac_t""no" 1>&6
14519fi
14520done
14521
14522
14523echo $ac_n "checking for statfs""... $ac_c" 1>&6
14524echo "configure:14525: checking for statfs" >&5
14525if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
14526 echo $ac_n "(cached) $ac_c" 1>&6
14527else
14528 cat > conftest.$ac_ext <<EOF
14529#line 14530 "configure"
14530#include "confdefs.h"
14531
14532 #if defined(__BSD__)
14533 #include <sys/param.h>
14534 #include <sys/mount.h>
14535 #else
14536 #include <sys/vfs.h>
14537 #endif
14538
14539int main() {
14540
14541 long l;
14542 struct statfs fs;
14543 statfs("/", &fs);
14544 l = fs.f_bsize;
14545 l += fs.f_blocks;
14546 l += fs.f_bavail;
14547
14548; return 0; }
14549EOF
14550if { (eval echo configure:14551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14551 rm -rf conftest*
14552
14553 wx_cv_func_statfs=yes
14554
14555else
14556 echo "configure: failed program was:" >&5
14557 cat conftest.$ac_ext >&5
14558 rm -rf conftest*
14559
14560 wx_cv_func_statfs=no
14561
14562
14563fi
14564rm -f conftest*
14565
14566fi
14567
14568echo "$ac_t""$wx_cv_func_statfs" 1>&6
14569
14570if test "$wx_cv_func_statfs" = "yes"; then
14571 cat >> confdefs.h <<\EOF
14572#define HAVE_STATFS 1
14573EOF
14574
14575else
14576 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
14577echo "configure:14578: checking for statvfs" >&5
14578if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
14579 echo $ac_n "(cached) $ac_c" 1>&6
14580else
14581 cat > conftest.$ac_ext <<EOF
14582#line 14583 "configure"
14583#include "confdefs.h"
14584
14585 #include <sys/statvfs.h>
14586
14587int main() {
14588
14589 long l;
14590 struct statvfs fs;
14591 statvfs("/", &fs);
14592 l = fs.f_bsize;
14593 l += fs.f_blocks;
14594 l += fs.f_bavail;
14595
14596; return 0; }
14597EOF
14598if { (eval echo configure:14599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14599 rm -rf conftest*
14600
14601 wx_cv_func_statvfs=yes
14602
14603else
14604 echo "configure: failed program was:" >&5
14605 cat conftest.$ac_ext >&5
14606 rm -rf conftest*
14607
14608 wx_cv_func_statvfs=no
14609
14610
14611fi
14612rm -f conftest*
14613
14614fi
14615
14616echo "$ac_t""$wx_cv_func_statvfs" 1>&6
14617
14618 if test "$wx_cv_func_statvfs" = "yes"; then
14619 cat >> confdefs.h <<\EOF
14620#define HAVE_STATVFS 1
14621EOF
14622
14623 else
14624 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
14625 fi
14626fi
14627
14628if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
14629 for ac_func in fcntl flock
14630do
14631echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14632echo "configure:14633: checking for $ac_func" >&5
14633if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14634 echo $ac_n "(cached) $ac_c" 1>&6
14635else
14636 cat > conftest.$ac_ext <<EOF
14637#line 14638 "configure"
14638#include "confdefs.h"
14639/* System header to define __stub macros and hopefully few prototypes,
14640 which can conflict with char $ac_func(); below. */
14641#include <assert.h>
14642/* Override any gcc2 internal prototype to avoid an error. */
14643/* We use char because int might match the return type of a gcc2
14644 builtin and then its argument prototype would still apply. */
14645char $ac_func();
14646
14647int main() {
14648
14649/* The GNU C library defines this for functions which it implements
14650 to always fail with ENOSYS. Some functions are actually named
14651 something starting with __ and the normal name is an alias. */
14652#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14653choke me
14654#else
14655$ac_func();
14656#endif
14657
14658; return 0; }
14659EOF
14660if { (eval echo configure:14661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14661 rm -rf conftest*
14662 eval "ac_cv_func_$ac_func=yes"
14663else
14664 echo "configure: failed program was:" >&5
14665 cat conftest.$ac_ext >&5
14666 rm -rf conftest*
14667 eval "ac_cv_func_$ac_func=no"
14668fi
14669rm -f conftest*
14670fi
14671
14672if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14673 echo "$ac_t""yes" 1>&6
14674 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14675 cat >> confdefs.h <<EOF
14676#define $ac_tr_func 1
14677EOF
14678 break
14679else
14680 echo "$ac_t""no" 1>&6
14681fi
14682done
14683
14684
14685 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
14686 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
14687 wxUSE_SNGLINST_CHECKER=no
14688 fi
14689fi
14690
14691for ac_func in timegm
14692do
14693echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14694echo "configure:14695: checking for $ac_func" >&5
14695if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14696 echo $ac_n "(cached) $ac_c" 1>&6
14697else
14698 cat > conftest.$ac_ext <<EOF
14699#line 14700 "configure"
14700#include "confdefs.h"
14701/* System header to define __stub macros and hopefully few prototypes,
14702 which can conflict with char $ac_func(); below. */
14703#include <assert.h>
14704/* Override any gcc2 internal prototype to avoid an error. */
14705/* We use char because int might match the return type of a gcc2
14706 builtin and then its argument prototype would still apply. */
14707char $ac_func();
14708
14709int main() {
14710
14711/* The GNU C library defines this for functions which it implements
14712 to always fail with ENOSYS. Some functions are actually named
14713 something starting with __ and the normal name is an alias. */
14714#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14715choke me
14716#else
14717$ac_func();
14718#endif
14719
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_func_$ac_func=yes"
14725else
14726 echo "configure: failed program was:" >&5
14727 cat conftest.$ac_ext >&5
14728 rm -rf conftest*
14729 eval "ac_cv_func_$ac_func=no"
14730fi
14731rm -f conftest*
14732fi
14733
14734if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14735 echo "$ac_t""yes" 1>&6
14736 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14737 cat >> confdefs.h <<EOF
14738#define $ac_tr_func 1
14739EOF
14740
14741else
14742 echo "$ac_t""no" 1>&6
14743fi
14744done
14745
14746
14747for ac_func in putenv setenv
14748do
14749echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14750echo "configure:14751: checking for $ac_func" >&5
14751if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14752 echo $ac_n "(cached) $ac_c" 1>&6
14753else
14754 cat > conftest.$ac_ext <<EOF
14755#line 14756 "configure"
14756#include "confdefs.h"
14757/* System header to define __stub macros and hopefully few prototypes,
14758 which can conflict with char $ac_func(); below. */
14759#include <assert.h>
14760/* Override any gcc2 internal prototype to avoid an error. */
14761/* We use char because int might match the return type of a gcc2
14762 builtin and then its argument prototype would still apply. */
14763char $ac_func();
14764
14765int main() {
14766
14767/* The GNU C library defines this for functions which it implements
14768 to always fail with ENOSYS. Some functions are actually named
14769 something starting with __ and the normal name is an alias. */
14770#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14771choke me
14772#else
14773$ac_func();
14774#endif
14775
14776; return 0; }
14777EOF
14778if { (eval echo configure:14779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14779 rm -rf conftest*
14780 eval "ac_cv_func_$ac_func=yes"
14781else
14782 echo "configure: failed program was:" >&5
14783 cat conftest.$ac_ext >&5
14784 rm -rf conftest*
14785 eval "ac_cv_func_$ac_func=no"
14786fi
14787rm -f conftest*
14788fi
14789
14790if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14791 echo "$ac_t""yes" 1>&6
14792 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14793 cat >> confdefs.h <<EOF
14794#define $ac_tr_func 1
14795EOF
14796 break
14797else
14798 echo "$ac_t""no" 1>&6
14799fi
14800done
14801
14802
14803HAVE_SOME_SLEEP_FUNC=0
14804if test "$USE_BEOS" = 1; then
14805 cat >> confdefs.h <<\EOF
14806#define HAVE_SLEEP 1
14807EOF
14808
14809 HAVE_SOME_SLEEP_FUNC=1
14810fi
14811
14812if test "$USE_DARWIN" = 1; then
14813 cat >> confdefs.h <<\EOF
14814#define HAVE_USLEEP 1
14815EOF
14816
14817 HAVE_SOME_SLEEP_FUNC=1
14818fi
14819
14820if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
14821 POSIX4_LINK=
14822 for ac_func in nanosleep
14823do
14824echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14825echo "configure:14826: checking for $ac_func" >&5
14826if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14827 echo $ac_n "(cached) $ac_c" 1>&6
14828else
14829 cat > conftest.$ac_ext <<EOF
14830#line 14831 "configure"
14831#include "confdefs.h"
14832/* System header to define __stub macros and hopefully few prototypes,
14833 which can conflict with char $ac_func(); below. */
14834#include <assert.h>
14835/* Override any gcc2 internal prototype to avoid an error. */
14836/* We use char because int might match the return type of a gcc2
14837 builtin and then its argument prototype would still apply. */
14838char $ac_func();
14839
14840int main() {
14841
14842/* The GNU C library defines this for functions which it implements
14843 to always fail with ENOSYS. Some functions are actually named
14844 something starting with __ and the normal name is an alias. */
14845#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14846choke me
14847#else
14848$ac_func();
14849#endif
14850
14851; return 0; }
14852EOF
14853if { (eval echo configure:14854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14854 rm -rf conftest*
14855 eval "ac_cv_func_$ac_func=yes"
14856else
14857 echo "configure: failed program was:" >&5
14858 cat conftest.$ac_ext >&5
14859 rm -rf conftest*
14860 eval "ac_cv_func_$ac_func=no"
14861fi
14862rm -f conftest*
14863fi
14864
14865if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14866 echo "$ac_t""yes" 1>&6
14867 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14868 cat >> confdefs.h <<EOF
14869#define $ac_tr_func 1
14870EOF
14871 cat >> confdefs.h <<\EOF
14872#define HAVE_NANOSLEEP 1
14873EOF
14874
14875else
14876 echo "$ac_t""no" 1>&6
14877echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
14878echo "configure:14879: checking for nanosleep in -lposix4" >&5
14879ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
14880if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14881 echo $ac_n "(cached) $ac_c" 1>&6
14882else
14883 ac_save_LIBS="$LIBS"
14884LIBS="-lposix4 $LIBS"
14885cat > conftest.$ac_ext <<EOF
14886#line 14887 "configure"
14887#include "confdefs.h"
14888/* Override any gcc2 internal prototype to avoid an error. */
14889/* We use char because int might match the return type of a gcc2
14890 builtin and then its argument prototype would still apply. */
14891char nanosleep();
14892
14893int main() {
14894nanosleep()
14895; return 0; }
14896EOF
14897if { (eval echo configure:14898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14898 rm -rf conftest*
14899 eval "ac_cv_lib_$ac_lib_var=yes"
14900else
14901 echo "configure: failed program was:" >&5
14902 cat conftest.$ac_ext >&5
14903 rm -rf conftest*
14904 eval "ac_cv_lib_$ac_lib_var=no"
14905fi
14906rm -f conftest*
14907LIBS="$ac_save_LIBS"
14908
14909fi
14910if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14911 echo "$ac_t""yes" 1>&6
14912
14913 cat >> confdefs.h <<\EOF
14914#define HAVE_NANOSLEEP 1
14915EOF
14916
14917 POSIX4_LINK=" -lposix4"
14918
14919else
14920 echo "$ac_t""no" 1>&6
14921
14922 for ac_func in usleep
14923do
14924echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14925echo "configure:14926: checking for $ac_func" >&5
14926if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14927 echo $ac_n "(cached) $ac_c" 1>&6
14928else
14929 cat > conftest.$ac_ext <<EOF
14930#line 14931 "configure"
14931#include "confdefs.h"
14932/* System header to define __stub macros and hopefully few prototypes,
14933 which can conflict with char $ac_func(); below. */
14934#include <assert.h>
14935/* Override any gcc2 internal prototype to avoid an error. */
14936/* We use char because int might match the return type of a gcc2
14937 builtin and then its argument prototype would still apply. */
14938char $ac_func();
14939
14940int main() {
14941
14942/* The GNU C library defines this for functions which it implements
14943 to always fail with ENOSYS. Some functions are actually named
14944 something starting with __ and the normal name is an alias. */
14945#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14946choke me
14947#else
14948$ac_func();
14949#endif
14950
14951; return 0; }
14952EOF
14953if { (eval echo configure:14954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14954 rm -rf conftest*
14955 eval "ac_cv_func_$ac_func=yes"
14956else
14957 echo "configure: failed program was:" >&5
14958 cat conftest.$ac_ext >&5
14959 rm -rf conftest*
14960 eval "ac_cv_func_$ac_func=no"
14961fi
14962rm -f conftest*
14963fi
14964
14965if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14966 echo "$ac_t""yes" 1>&6
14967 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14968 cat >> confdefs.h <<EOF
14969#define $ac_tr_func 1
14970EOF
14971 cat >> confdefs.h <<\EOF
14972#define HAVE_USLEEP 1
14973EOF
14974
14975else
14976 echo "$ac_t""no" 1>&6
14977echo "configure: warning: wxSleep() function will not work" 1>&2
14978
14979fi
14980done
14981
14982
14983
14984fi
14985
14986
14987
14988fi
14989done
14990
14991fi
14992
14993for ac_func in uname gethostname
14994do
14995echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14996echo "configure:14997: checking for $ac_func" >&5
14997if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14998 echo $ac_n "(cached) $ac_c" 1>&6
14999else
15000 cat > conftest.$ac_ext <<EOF
15001#line 15002 "configure"
15002#include "confdefs.h"
15003/* System header to define __stub macros and hopefully few prototypes,
15004 which can conflict with char $ac_func(); below. */
15005#include <assert.h>
15006/* Override any gcc2 internal prototype to avoid an error. */
15007/* We use char because int might match the return type of a gcc2
15008 builtin and then its argument prototype would still apply. */
15009char $ac_func();
15010
15011int main() {
15012
15013/* The GNU C library defines this for functions which it implements
15014 to always fail with ENOSYS. Some functions are actually named
15015 something starting with __ and the normal name is an alias. */
15016#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15017choke me
15018#else
15019$ac_func();
15020#endif
15021
15022; return 0; }
15023EOF
15024if { (eval echo configure:15025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15025 rm -rf conftest*
15026 eval "ac_cv_func_$ac_func=yes"
15027else
15028 echo "configure: failed program was:" >&5
15029 cat conftest.$ac_ext >&5
15030 rm -rf conftest*
15031 eval "ac_cv_func_$ac_func=no"
15032fi
15033rm -f conftest*
15034fi
15035
15036if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15037 echo "$ac_t""yes" 1>&6
15038 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15039 cat >> confdefs.h <<EOF
15040#define $ac_tr_func 1
15041EOF
15042 break
15043else
15044 echo "$ac_t""no" 1>&6
15045fi
15046done
15047
15048
15049
15050ac_ext=C
15051# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15052ac_cpp='$CXXCPP $CPPFLAGS'
15053ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15054ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15055cross_compiling=$ac_cv_prog_cxx_cross
15056
15057
15058for ac_func in strtok_r
15059do
15060echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15061echo "configure:15062: checking for $ac_func" >&5
15062if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15063 echo $ac_n "(cached) $ac_c" 1>&6
15064else
15065 cat > conftest.$ac_ext <<EOF
15066#line 15067 "configure"
15067#include "confdefs.h"
15068/* System header to define __stub macros and hopefully few prototypes,
15069 which can conflict with char $ac_func(); below. */
15070#include <assert.h>
15071/* Override any gcc2 internal prototype to avoid an error. */
15072#ifdef __cplusplus
15073extern "C"
15074#endif
15075/* We use char because int might match the return type of a gcc2
15076 builtin and then its argument prototype would still apply. */
15077char $ac_func();
15078
15079int main() {
15080
15081/* The GNU C library defines this for functions which it implements
15082 to always fail with ENOSYS. Some functions are actually named
15083 something starting with __ and the normal name is an alias. */
15084#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15085choke me
15086#else
15087$ac_func();
15088#endif
15089
15090; return 0; }
15091EOF
15092if { (eval echo configure:15093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15093 rm -rf conftest*
15094 eval "ac_cv_func_$ac_func=yes"
15095else
15096 echo "configure: failed program was:" >&5
15097 cat conftest.$ac_ext >&5
15098 rm -rf conftest*
15099 eval "ac_cv_func_$ac_func=no"
15100fi
15101rm -f conftest*
15102fi
15103
15104if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15105 echo "$ac_t""yes" 1>&6
15106 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15107 cat >> confdefs.h <<EOF
15108#define $ac_tr_func 1
15109EOF
15110
15111else
15112 echo "$ac_t""no" 1>&6
15113fi
15114done
15115
15116
15117ac_ext=c
15118# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15119ac_cpp='$CPP $CPPFLAGS'
15120ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15121ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15122cross_compiling=$ac_cv_prog_cc_cross
15123
15124
15125INET_LINK=
15126for ac_func in inet_addr
15127do
15128echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15129echo "configure:15130: checking for $ac_func" >&5
15130if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15131 echo $ac_n "(cached) $ac_c" 1>&6
15132else
15133 cat > conftest.$ac_ext <<EOF
15134#line 15135 "configure"
15135#include "confdefs.h"
15136/* System header to define __stub macros and hopefully few prototypes,
15137 which can conflict with char $ac_func(); below. */
15138#include <assert.h>
15139/* Override any gcc2 internal prototype to avoid an error. */
15140/* We use char because int might match the return type of a gcc2
15141 builtin and then its argument prototype would still apply. */
15142char $ac_func();
15143
15144int main() {
15145
15146/* The GNU C library defines this for functions which it implements
15147 to always fail with ENOSYS. Some functions are actually named
15148 something starting with __ and the normal name is an alias. */
15149#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15150choke me
15151#else
15152$ac_func();
15153#endif
15154
15155; return 0; }
15156EOF
15157if { (eval echo configure:15158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15158 rm -rf conftest*
15159 eval "ac_cv_func_$ac_func=yes"
15160else
15161 echo "configure: failed program was:" >&5
15162 cat conftest.$ac_ext >&5
15163 rm -rf conftest*
15164 eval "ac_cv_func_$ac_func=no"
15165fi
15166rm -f conftest*
15167fi
15168
15169if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15170 echo "$ac_t""yes" 1>&6
15171 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15172 cat >> confdefs.h <<EOF
15173#define $ac_tr_func 1
15174EOF
15175 cat >> confdefs.h <<\EOF
15176#define HAVE_INET_ADDR 1
15177EOF
15178
15179else
15180 echo "$ac_t""no" 1>&6
15181echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
15182echo "configure:15183: checking for inet_addr in -lnsl" >&5
15183ac_lib_var=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
15184if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15185 echo $ac_n "(cached) $ac_c" 1>&6
15186else
15187 ac_save_LIBS="$LIBS"
15188LIBS="-lnsl $LIBS"
15189cat > conftest.$ac_ext <<EOF
15190#line 15191 "configure"
15191#include "confdefs.h"
15192/* Override any gcc2 internal prototype to avoid an error. */
15193/* We use char because int might match the return type of a gcc2
15194 builtin and then its argument prototype would still apply. */
15195char inet_addr();
15196
15197int main() {
15198inet_addr()
15199; return 0; }
15200EOF
15201if { (eval echo configure:15202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15202 rm -rf conftest*
15203 eval "ac_cv_lib_$ac_lib_var=yes"
15204else
15205 echo "configure: failed program was:" >&5
15206 cat conftest.$ac_ext >&5
15207 rm -rf conftest*
15208 eval "ac_cv_lib_$ac_lib_var=no"
15209fi
15210rm -f conftest*
15211LIBS="$ac_save_LIBS"
15212
15213fi
15214if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15215 echo "$ac_t""yes" 1>&6
15216 INET_LINK="nsl"
15217else
15218 echo "$ac_t""no" 1>&6
15219echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
15220echo "configure:15221: checking for inet_addr in -lresolv" >&5
15221ac_lib_var=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
15222if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15223 echo $ac_n "(cached) $ac_c" 1>&6
15224else
15225 ac_save_LIBS="$LIBS"
15226LIBS="-lresolv $LIBS"
15227cat > conftest.$ac_ext <<EOF
15228#line 15229 "configure"
15229#include "confdefs.h"
15230/* Override any gcc2 internal prototype to avoid an error. */
15231/* We use char because int might match the return type of a gcc2
15232 builtin and then its argument prototype would still apply. */
15233char inet_addr();
15234
15235int main() {
15236inet_addr()
15237; return 0; }
15238EOF
15239if { (eval echo configure:15240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15240 rm -rf conftest*
15241 eval "ac_cv_lib_$ac_lib_var=yes"
15242else
15243 echo "configure: failed program was:" >&5
15244 cat conftest.$ac_ext >&5
15245 rm -rf conftest*
15246 eval "ac_cv_lib_$ac_lib_var=no"
15247fi
15248rm -f conftest*
15249LIBS="$ac_save_LIBS"
15250
15251fi
15252if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15253 echo "$ac_t""yes" 1>&6
15254 INET_LINK="resolv"
15255
15256else
15257 echo "$ac_t""no" 1>&6
15258fi
15259
15260
15261fi
15262
15263
15264
15265fi
15266done
15267
15268
15269for ac_func in inet_aton
15270do
15271echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15272echo "configure:15273: checking for $ac_func" >&5
15273if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15274 echo $ac_n "(cached) $ac_c" 1>&6
15275else
15276 cat > conftest.$ac_ext <<EOF
15277#line 15278 "configure"
15278#include "confdefs.h"
15279/* System header to define __stub macros and hopefully few prototypes,
15280 which can conflict with char $ac_func(); below. */
15281#include <assert.h>
15282/* Override any gcc2 internal prototype to avoid an error. */
15283/* We use char because int might match the return type of a gcc2
15284 builtin and then its argument prototype would still apply. */
15285char $ac_func();
15286
15287int main() {
15288
15289/* The GNU C library defines this for functions which it implements
15290 to always fail with ENOSYS. Some functions are actually named
15291 something starting with __ and the normal name is an alias. */
15292#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15293choke me
15294#else
15295$ac_func();
15296#endif
15297
15298; return 0; }
15299EOF
15300if { (eval echo configure:15301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15301 rm -rf conftest*
15302 eval "ac_cv_func_$ac_func=yes"
15303else
15304 echo "configure: failed program was:" >&5
15305 cat conftest.$ac_ext >&5
15306 rm -rf conftest*
15307 eval "ac_cv_func_$ac_func=no"
15308fi
15309rm -f conftest*
15310fi
15311
15312if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15313 echo "$ac_t""yes" 1>&6
15314 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15315 cat >> confdefs.h <<EOF
15316#define $ac_tr_func 1
15317EOF
15318 cat >> confdefs.h <<\EOF
15319#define HAVE_INET_ATON 1
15320EOF
15321
15322else
15323 echo "$ac_t""no" 1>&6
15324 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
15325echo "configure:15326: checking for inet_aton in -l$INET_LINK" >&5
15326ac_lib_var=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
15327if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15328 echo $ac_n "(cached) $ac_c" 1>&6
15329else
15330 ac_save_LIBS="$LIBS"
15331LIBS="-l$INET_LINK $LIBS"
15332cat > conftest.$ac_ext <<EOF
15333#line 15334 "configure"
15334#include "confdefs.h"
15335/* Override any gcc2 internal prototype to avoid an error. */
15336/* We use char because int might match the return type of a gcc2
15337 builtin and then its argument prototype would still apply. */
15338char inet_aton();
15339
15340int main() {
15341inet_aton()
15342; return 0; }
15343EOF
15344if { (eval echo configure:15345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15345 rm -rf conftest*
15346 eval "ac_cv_lib_$ac_lib_var=yes"
15347else
15348 echo "configure: failed program was:" >&5
15349 cat conftest.$ac_ext >&5
15350 rm -rf conftest*
15351 eval "ac_cv_lib_$ac_lib_var=no"
15352fi
15353rm -f conftest*
15354LIBS="$ac_save_LIBS"
15355
15356fi
15357if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15358 echo "$ac_t""yes" 1>&6
15359 cat >> confdefs.h <<\EOF
15360#define HAVE_INET_ATON 1
15361EOF
15362
15363else
15364 echo "$ac_t""no" 1>&6
15365fi
15366
15367
15368fi
15369done
15370
15371
15372if test "x$INET_LINK" != "x"; then
15373 cat >> confdefs.h <<\EOF
15374#define HAVE_INET_ADDR 1
15375EOF
15376
15377 INET_LINK=" -l$INET_LINK"
15378fi
15379
15380fi
15381
15382
15383cat > confcache <<\EOF
15384# This file is a shell script that caches the results of configure
15385# tests run on this system so they can be shared between configure
15386# scripts and configure runs. It is not useful on other systems.
15387# If it contains results you don't want to keep, you may remove or edit it.
15388#
15389# By default, configure uses ./config.cache as the cache file,
15390# creating it if it does not exist already. You can give configure
15391# the --cache-file=FILE option to use a different cache file; that is
15392# what configure does when it calls configure scripts in
15393# subdirectories, so they share the cache.
15394# Giving --cache-file=/dev/null disables caching, for debugging configure.
15395# config.status only pays attention to the cache file if you give it the
15396# --recheck option to rerun configure.
15397#
15398EOF
15399# The following way of writing the cache mishandles newlines in values,
15400# but we know of no workaround that is simple, portable, and efficient.
15401# So, don't put newlines in cache variables' values.
15402# Ultrix sh set writes to stderr and can't be redirected directly,
15403# and sets the high bit in the cache file unless we assign to the vars.
15404(set) 2>&1 |
15405 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15406 *ac_space=\ *)
15407 # `set' does not quote correctly, so add quotes (double-quote substitution
15408 # turns \\\\ into \\, and sed turns \\ into \).
15409 sed -n \
15410 -e "s/'/'\\\\''/g" \
15411 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
15412 ;;
15413 *)
15414 # `set' quotes correctly as required by POSIX, so do not add quotes.
15415 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
15416 ;;
15417 esac >> confcache
15418if cmp -s $cache_file confcache; then
15419 :
15420else
15421 if test -w $cache_file; then
15422 echo "updating cache $cache_file"
15423 cat confcache > $cache_file
15424 else
15425 echo "not updating unwritable cache $cache_file"
15426 fi
15427fi
15428rm -f confcache
15429
15430
15431
15432if test "$TOOLKIT" != "MSW"; then
15433
15434
15435 THREADS_LINK=
15436 THREADS_OBJ=
15437 CODE_GEN_FLAGS=
15438 CODE_GEN_FLAGS_CXX=
15439
15440 if test "$wxUSE_THREADS" = "yes" ; then
15441 if test "$wxUSE_WINE" = 1 ; then
15442 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
15443 wxUSE_THREADS="no"
15444 elif test "$USE_BEOS" = 1; then
15445 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
15446 wxUSE_THREADS="no"
15447 fi
15448 fi
15449
15450 if test "$wxUSE_THREADS" = "yes" ; then
15451
15452 if test "$USE_AIX" = 1; then
15453 THREADS_LIB=pthreads
15454 else
15455 THREADS_LIB=pthread
15456 fi
15457
15458 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
15459echo "configure:15460: checking for pthread_create in -l$THREADS_LIB" >&5
15460ac_lib_var=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
15461if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15462 echo $ac_n "(cached) $ac_c" 1>&6
15463else
15464 ac_save_LIBS="$LIBS"
15465LIBS="-l$THREADS_LIB $LIBS"
15466cat > conftest.$ac_ext <<EOF
15467#line 15468 "configure"
15468#include "confdefs.h"
15469/* Override any gcc2 internal prototype to avoid an error. */
15470/* We use char because int might match the return type of a gcc2
15471 builtin and then its argument prototype would still apply. */
15472char pthread_create();
15473
15474int main() {
15475pthread_create()
15476; return 0; }
15477EOF
15478if { (eval echo configure:15479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15479 rm -rf conftest*
15480 eval "ac_cv_lib_$ac_lib_var=yes"
15481else
15482 echo "configure: failed program was:" >&5
15483 cat conftest.$ac_ext >&5
15484 rm -rf conftest*
15485 eval "ac_cv_lib_$ac_lib_var=no"
15486fi
15487rm -f conftest*
15488LIBS="$ac_save_LIBS"
15489
15490fi
15491if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15492 echo "$ac_t""yes" 1>&6
15493
15494 THREADS_OBJ="threadpsx.lo"
15495 THREADS_LINK=$THREADS_LIB
15496
15497else
15498 echo "$ac_t""no" 1>&6
15499
15500 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
15501echo "configure:15502: checking for pthread_create in -lc_r" >&5
15502ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
15503if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15504 echo $ac_n "(cached) $ac_c" 1>&6
15505else
15506 ac_save_LIBS="$LIBS"
15507LIBS="-lc_r $LIBS"
15508cat > conftest.$ac_ext <<EOF
15509#line 15510 "configure"
15510#include "confdefs.h"
15511/* Override any gcc2 internal prototype to avoid an error. */
15512/* We use char because int might match the return type of a gcc2
15513 builtin and then its argument prototype would still apply. */
15514char pthread_create();
15515
15516int main() {
15517pthread_create()
15518; return 0; }
15519EOF
15520if { (eval echo configure:15521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15521 rm -rf conftest*
15522 eval "ac_cv_lib_$ac_lib_var=yes"
15523else
15524 echo "configure: failed program was:" >&5
15525 cat conftest.$ac_ext >&5
15526 rm -rf conftest*
15527 eval "ac_cv_lib_$ac_lib_var=no"
15528fi
15529rm -f conftest*
15530LIBS="$ac_save_LIBS"
15531
15532fi
15533if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15534 echo "$ac_t""yes" 1>&6
15535
15536 THREADS_OBJ="threadpsx.lo"
15537 THREADS_LINK="c_r"
15538
15539else
15540 echo "$ac_t""no" 1>&6
15541
15542 ac_safe=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
15543echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
15544echo "configure:15545: checking for sys/prctl.h" >&5
15545if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15546 echo $ac_n "(cached) $ac_c" 1>&6
15547else
15548 cat > conftest.$ac_ext <<EOF
15549#line 15550 "configure"
15550#include "confdefs.h"
15551#include <sys/prctl.h>
15552EOF
15553ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15554{ (eval echo configure:15555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15555ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15556if test -z "$ac_err"; then
15557 rm -rf conftest*
15558 eval "ac_cv_header_$ac_safe=yes"
15559else
15560 echo "$ac_err" >&5
15561 echo "configure: failed program was:" >&5
15562 cat conftest.$ac_ext >&5
15563 rm -rf conftest*
15564 eval "ac_cv_header_$ac_safe=no"
15565fi
15566rm -f conftest*
15567fi
15568if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15569 echo "$ac_t""yes" 1>&6
15570
15571 THREADS_OBJ="threadsgi.lo"
15572
15573else
15574 echo "$ac_t""no" 1>&6
15575fi
15576
15577
15578fi
15579
15580
15581fi
15582
15583
15584 if test -z "$THREADS_OBJ" ; then
15585 wxUSE_THREADS=no
15586 echo "configure: warning: No thread support on this system... disabled" 1>&2
15587 fi
15588 fi
15589
15590 if test "$wxUSE_THREADS" = "yes" ; then
15591 for ac_func in thr_setconcurrency
15592do
15593echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15594echo "configure:15595: checking for $ac_func" >&5
15595if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15596 echo $ac_n "(cached) $ac_c" 1>&6
15597else
15598 cat > conftest.$ac_ext <<EOF
15599#line 15600 "configure"
15600#include "confdefs.h"
15601/* System header to define __stub macros and hopefully few prototypes,
15602 which can conflict with char $ac_func(); below. */
15603#include <assert.h>
15604/* Override any gcc2 internal prototype to avoid an error. */
15605/* We use char because int might match the return type of a gcc2
15606 builtin and then its argument prototype would still apply. */
15607char $ac_func();
15608
15609int main() {
15610
15611/* The GNU C library defines this for functions which it implements
15612 to always fail with ENOSYS. Some functions are actually named
15613 something starting with __ and the normal name is an alias. */
15614#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15615choke me
15616#else
15617$ac_func();
15618#endif
15619
15620; return 0; }
15621EOF
15622if { (eval echo configure:15623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15623 rm -rf conftest*
15624 eval "ac_cv_func_$ac_func=yes"
15625else
15626 echo "configure: failed program was:" >&5
15627 cat conftest.$ac_ext >&5
15628 rm -rf conftest*
15629 eval "ac_cv_func_$ac_func=no"
15630fi
15631rm -f conftest*
15632fi
15633
15634if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15635 echo "$ac_t""yes" 1>&6
15636 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15637 cat >> confdefs.h <<EOF
15638#define $ac_tr_func 1
15639EOF
15640
15641else
15642 echo "$ac_t""no" 1>&6
15643fi
15644done
15645
15646
15647
15648 for ac_hdr in sched.h
15649do
15650ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15651echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15652echo "configure:15653: checking for $ac_hdr" >&5
15653if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15654 echo $ac_n "(cached) $ac_c" 1>&6
15655else
15656 cat > conftest.$ac_ext <<EOF
15657#line 15658 "configure"
15658#include "confdefs.h"
15659#include <$ac_hdr>
15660EOF
15661ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15662{ (eval echo configure:15663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15663ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15664if test -z "$ac_err"; then
15665 rm -rf conftest*
15666 eval "ac_cv_header_$ac_safe=yes"
15667else
15668 echo "$ac_err" >&5
15669 echo "configure: failed program was:" >&5
15670 cat conftest.$ac_ext >&5
15671 rm -rf conftest*
15672 eval "ac_cv_header_$ac_safe=no"
15673fi
15674rm -f conftest*
15675fi
15676if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15677 echo "$ac_t""yes" 1>&6
15678 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15679 cat >> confdefs.h <<EOF
15680#define $ac_tr_hdr 1
15681EOF
15682
15683else
15684 echo "$ac_t""no" 1>&6
15685fi
15686done
15687
15688
15689 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
15690echo "configure:15691: checking for sched_yield in -l$THREADS_LINK" >&5
15691ac_lib_var=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
15692if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15693 echo $ac_n "(cached) $ac_c" 1>&6
15694else
15695 ac_save_LIBS="$LIBS"
15696LIBS="-l$THREADS_LINK $LIBS"
15697cat > conftest.$ac_ext <<EOF
15698#line 15699 "configure"
15699#include "confdefs.h"
15700/* Override any gcc2 internal prototype to avoid an error. */
15701/* We use char because int might match the return type of a gcc2
15702 builtin and then its argument prototype would still apply. */
15703char sched_yield();
15704
15705int main() {
15706sched_yield()
15707; return 0; }
15708EOF
15709if { (eval echo configure:15710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15710 rm -rf conftest*
15711 eval "ac_cv_lib_$ac_lib_var=yes"
15712else
15713 echo "configure: failed program was:" >&5
15714 cat conftest.$ac_ext >&5
15715 rm -rf conftest*
15716 eval "ac_cv_lib_$ac_lib_var=no"
15717fi
15718rm -f conftest*
15719LIBS="$ac_save_LIBS"
15720
15721fi
15722if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15723 echo "$ac_t""yes" 1>&6
15724 cat >> confdefs.h <<\EOF
15725#define HAVE_SCHED_YIELD 1
15726EOF
15727
15728else
15729 echo "$ac_t""no" 1>&6
15730echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
15731echo "configure:15732: checking for sched_yield in -lposix4" >&5
15732ac_lib_var=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
15733if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15734 echo $ac_n "(cached) $ac_c" 1>&6
15735else
15736 ac_save_LIBS="$LIBS"
15737LIBS="-lposix4 $LIBS"
15738cat > conftest.$ac_ext <<EOF
15739#line 15740 "configure"
15740#include "confdefs.h"
15741/* Override any gcc2 internal prototype to avoid an error. */
15742/* We use char because int might match the return type of a gcc2
15743 builtin and then its argument prototype would still apply. */
15744char sched_yield();
15745
15746int main() {
15747sched_yield()
15748; return 0; }
15749EOF
15750if { (eval echo configure:15751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15751 rm -rf conftest*
15752 eval "ac_cv_lib_$ac_lib_var=yes"
15753else
15754 echo "configure: failed program was:" >&5
15755 cat conftest.$ac_ext >&5
15756 rm -rf conftest*
15757 eval "ac_cv_lib_$ac_lib_var=no"
15758fi
15759rm -f conftest*
15760LIBS="$ac_save_LIBS"
15761
15762fi
15763if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15764 echo "$ac_t""yes" 1>&6
15765 cat >> confdefs.h <<\EOF
15766#define HAVE_SCHED_YIELD 1
15767EOF
15768 POSIX4_LINK=" -lposix4"
15769else
15770 echo "$ac_t""no" 1>&6
15771echo "configure: warning: wxThread::Yield will not work properly" 1>&2
15772
15773fi
15774
15775
15776fi
15777
15778
15779 HAVE_PRIOR_FUNCS=0
15780 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
15781echo "configure:15782: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
15782ac_lib_var=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
15783if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15784 echo $ac_n "(cached) $ac_c" 1>&6
15785else
15786 ac_save_LIBS="$LIBS"
15787LIBS="-l$THREADS_LINK $LIBS"
15788cat > conftest.$ac_ext <<EOF
15789#line 15790 "configure"
15790#include "confdefs.h"
15791/* Override any gcc2 internal prototype to avoid an error. */
15792/* We use char because int might match the return type of a gcc2
15793 builtin and then its argument prototype would still apply. */
15794char pthread_attr_getschedpolicy();
15795
15796int main() {
15797pthread_attr_getschedpolicy()
15798; return 0; }
15799EOF
15800if { (eval echo configure:15801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15801 rm -rf conftest*
15802 eval "ac_cv_lib_$ac_lib_var=yes"
15803else
15804 echo "configure: failed program was:" >&5
15805 cat conftest.$ac_ext >&5
15806 rm -rf conftest*
15807 eval "ac_cv_lib_$ac_lib_var=no"
15808fi
15809rm -f conftest*
15810LIBS="$ac_save_LIBS"
15811
15812fi
15813if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15814 echo "$ac_t""yes" 1>&6
15815 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
15816echo "configure:15817: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
15817ac_lib_var=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
15818if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15819 echo $ac_n "(cached) $ac_c" 1>&6
15820else
15821 ac_save_LIBS="$LIBS"
15822LIBS="-l$THREADS_LINK $LIBS"
15823cat > conftest.$ac_ext <<EOF
15824#line 15825 "configure"
15825#include "confdefs.h"
15826/* Override any gcc2 internal prototype to avoid an error. */
15827/* We use char because int might match the return type of a gcc2
15828 builtin and then its argument prototype would still apply. */
15829char pthread_attr_setschedparam();
15830
15831int main() {
15832pthread_attr_setschedparam()
15833; return 0; }
15834EOF
15835if { (eval echo configure:15836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15836 rm -rf conftest*
15837 eval "ac_cv_lib_$ac_lib_var=yes"
15838else
15839 echo "configure: failed program was:" >&5
15840 cat conftest.$ac_ext >&5
15841 rm -rf conftest*
15842 eval "ac_cv_lib_$ac_lib_var=no"
15843fi
15844rm -f conftest*
15845LIBS="$ac_save_LIBS"
15846
15847fi
15848if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15849 echo "$ac_t""yes" 1>&6
15850 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
15851echo "configure:15852: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
15852ac_lib_var=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
15853if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15854 echo $ac_n "(cached) $ac_c" 1>&6
15855else
15856 ac_save_LIBS="$LIBS"
15857LIBS="-l$THREADS_LINK $LIBS"
15858cat > conftest.$ac_ext <<EOF
15859#line 15860 "configure"
15860#include "confdefs.h"
15861/* Override any gcc2 internal prototype to avoid an error. */
15862/* We use char because int might match the return type of a gcc2
15863 builtin and then its argument prototype would still apply. */
15864char sched_get_priority_max();
15865
15866int main() {
15867sched_get_priority_max()
15868; return 0; }
15869EOF
15870if { (eval echo configure:15871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15871 rm -rf conftest*
15872 eval "ac_cv_lib_$ac_lib_var=yes"
15873else
15874 echo "configure: failed program was:" >&5
15875 cat conftest.$ac_ext >&5
15876 rm -rf conftest*
15877 eval "ac_cv_lib_$ac_lib_var=no"
15878fi
15879rm -f conftest*
15880LIBS="$ac_save_LIBS"
15881
15882fi
15883if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15884 echo "$ac_t""yes" 1>&6
15885 HAVE_PRIOR_FUNCS=1
15886else
15887 echo "$ac_t""no" 1>&6
15888echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
15889echo "configure:15890: checking for sched_get_priority_max in -lposix4" >&5
15890ac_lib_var=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
15891if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15892 echo $ac_n "(cached) $ac_c" 1>&6
15893else
15894 ac_save_LIBS="$LIBS"
15895LIBS="-lposix4 $LIBS"
15896cat > conftest.$ac_ext <<EOF
15897#line 15898 "configure"
15898#include "confdefs.h"
15899/* Override any gcc2 internal prototype to avoid an error. */
15900/* We use char because int might match the return type of a gcc2
15901 builtin and then its argument prototype would still apply. */
15902char sched_get_priority_max();
15903
15904int main() {
15905sched_get_priority_max()
15906; return 0; }
15907EOF
15908if { (eval echo configure:15909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15909 rm -rf conftest*
15910 eval "ac_cv_lib_$ac_lib_var=yes"
15911else
15912 echo "configure: failed program was:" >&5
15913 cat conftest.$ac_ext >&5
15914 rm -rf conftest*
15915 eval "ac_cv_lib_$ac_lib_var=no"
15916fi
15917rm -f conftest*
15918LIBS="$ac_save_LIBS"
15919
15920fi
15921if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15922 echo "$ac_t""yes" 1>&6
15923
15924 HAVE_PRIOR_FUNCS=1
15925 POSIX4_LINK=" -lposix4"
15926
15927else
15928 echo "$ac_t""no" 1>&6
15929fi
15930
15931
15932fi
15933
15934
15935else
15936 echo "$ac_t""no" 1>&6
15937fi
15938
15939
15940else
15941 echo "$ac_t""no" 1>&6
15942fi
15943
15944
15945 if test "$HAVE_PRIOR_FUNCS" = 1; then
15946 cat >> confdefs.h <<\EOF
15947#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
15948EOF
15949
15950 else
15951 echo "configure: warning: Setting thread priority will not work" 1>&2
15952 fi
15953
15954 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
15955echo "configure:15956: checking for pthread_cancel in -l$THREADS_LINK" >&5
15956ac_lib_var=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
15957if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15958 echo $ac_n "(cached) $ac_c" 1>&6
15959else
15960 ac_save_LIBS="$LIBS"
15961LIBS="-l$THREADS_LINK $LIBS"
15962cat > conftest.$ac_ext <<EOF
15963#line 15964 "configure"
15964#include "confdefs.h"
15965/* Override any gcc2 internal prototype to avoid an error. */
15966/* We use char because int might match the return type of a gcc2
15967 builtin and then its argument prototype would still apply. */
15968char pthread_cancel();
15969
15970int main() {
15971pthread_cancel()
15972; return 0; }
15973EOF
15974if { (eval echo configure:15975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15975 rm -rf conftest*
15976 eval "ac_cv_lib_$ac_lib_var=yes"
15977else
15978 echo "configure: failed program was:" >&5
15979 cat conftest.$ac_ext >&5
15980 rm -rf conftest*
15981 eval "ac_cv_lib_$ac_lib_var=no"
15982fi
15983rm -f conftest*
15984LIBS="$ac_save_LIBS"
15985
15986fi
15987if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15988 echo "$ac_t""yes" 1>&6
15989 cat >> confdefs.h <<\EOF
15990#define HAVE_PTHREAD_CANCEL 1
15991EOF
15992
15993else
15994 echo "$ac_t""no" 1>&6
15995echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
15996fi
15997
15998
15999 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
16000echo "configure:16001: checking for pthread_cleanup_push/pop" >&5
16001if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
16002 echo $ac_n "(cached) $ac_c" 1>&6
16003else
16004
16005 cat > conftest.$ac_ext <<EOF
16006#line 16007 "configure"
16007#include "confdefs.h"
16008#include <pthread.h>
16009int main() {
16010
16011 pthread_cleanup_push(NULL, NULL);
16012 pthread_cleanup_pop(0);
16013
16014; return 0; }
16015EOF
16016if { (eval echo configure:16017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16017 rm -rf conftest*
16018
16019 wx_cv_func_pthread_cleanup_push=yes
16020
16021else
16022 echo "configure: failed program was:" >&5
16023 cat conftest.$ac_ext >&5
16024 rm -rf conftest*
16025
16026 wx_cv_func_pthread_cleanup_push=no
16027
16028fi
16029rm -f conftest*
16030
16031fi
16032
16033echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
16034
16035 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
16036 cat >> confdefs.h <<\EOF
16037#define HAVE_THREAD_CLEANUP_FUNCTIONS 1
16038EOF
16039
16040 fi
16041
16042
16043 if test "x$wx_lib_glibc21" = "xyes"; then
16044 CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
16045 fi
16046
16047 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
16048echo "configure:16049: checking for pthread_mutexattr_t" >&5
16049if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
16050 echo $ac_n "(cached) $ac_c" 1>&6
16051else
16052
16053 cat > conftest.$ac_ext <<EOF
16054#line 16055 "configure"
16055#include "confdefs.h"
16056#include <pthread.h>
16057int main() {
16058
16059 pthread_mutexattr_t attr;
16060 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
16061
16062; return 0; }
16063EOF
16064if { (eval echo configure:16065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16065 rm -rf conftest*
16066
16067 wx_cv_type_pthread_mutexattr_t=yes
16068
16069else
16070 echo "configure: failed program was:" >&5
16071 cat conftest.$ac_ext >&5
16072 rm -rf conftest*
16073
16074 wx_cv_type_pthread_mutexattr_t=no
16075
16076
16077fi
16078rm -f conftest*
16079
16080fi
16081
16082echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
16083
16084 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
16085 cat >> confdefs.h <<\EOF
16086#define HAVE_PTHREAD_MUTEXATTR_T 1
16087EOF
16088
16089 else
16090 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
16091echo "configure:16092: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
16092if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
16093 echo $ac_n "(cached) $ac_c" 1>&6
16094else
16095
16096 cat > conftest.$ac_ext <<EOF
16097#line 16098 "configure"
16098#include "confdefs.h"
16099#include <pthread.h>
16100int main() {
16101
16102 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
16103
16104; return 0; }
16105EOF
16106if { (eval echo configure:16107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16107 rm -rf conftest*
16108
16109 wx_cv_type_pthread_rec_mutex_init=yes
16110
16111else
16112 echo "configure: failed program was:" >&5
16113 cat conftest.$ac_ext >&5
16114 rm -rf conftest*
16115
16116 wx_cv_type_pthread_rec_mutex_init=no
16117
16118
16119fi
16120rm -f conftest*
16121
16122fi
16123
16124echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
16125 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
16126 cat >> confdefs.h <<\EOF
16127#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
16128EOF
16129
16130 else
16131 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
16132 fi
16133 fi
16134
16135 THREADS_LINK=" -l$THREADS_LINK"
16136
16137 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
16138 CPPFLAGS="$CFLAGS -mt"
16139 CXXFLAGS="$CXXFLAGS -mt"
16140 LDFLAGS="$LDFLAGS -mt"
16141 fi
16142 fi
16143
16144fi
16145
16146if test "$wxUSE_THREADS" = "yes"; then
16147 cat >> confdefs.h <<\EOF
16148#define wxUSE_THREADS 1
16149EOF
16150
16151
16152 if test "$USE_DARWIN" != 1; then
16153 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -D_REENTRANT"
16154 fi
16155
16156 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
16157else
16158 if test "$ac_cv_func_strtok_r" = "yes"; then
16159 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
16160echo "configure:16161: checking if -D_REENTRANT is needed" >&5
16161 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
16162 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
16163 echo "$ac_t""yes" 1>&6
16164 else
16165 echo "$ac_t""no" 1>&6
16166 fi
16167 fi
16168fi
16169
16170if test "$WXGTK20" = 1 ; then
16171 cat >> confdefs.h <<EOF
16172#define __WXGTK20__ $WXGTK20
16173EOF
16174
16175 WXGTK12=1
16176fi
16177
16178if test "$WXGTK12" = 1 ; then
16179 cat >> confdefs.h <<EOF
16180#define __WXGTK12__ $WXGTK12
16181EOF
16182
16183fi
16184
16185if test "$WXGTK127" = 1 ; then
16186 cat >> confdefs.h <<EOF
16187#define __WXGTK127__ $WXGTK127
16188EOF
16189
16190fi
16191
16192WXDEBUG=
16193
16194if test "$wxUSE_DEBUG_INFO" = "yes" ; then
16195 WXDEBUG="-g"
16196 wxUSE_OPTIMISE=no
16197fi
16198
16199if test "$wxUSE_DEBUG_GDB" = "yes" ; then
16200 wxUSE_DEBUG_INFO=yes
16201 WXDEBUG="-ggdb"
16202fi
16203
16204if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
16205 cat >> confdefs.h <<\EOF
16206#define WXDEBUG 1
16207EOF
16208
16209 WXDEBUG_DEFINE="-D__WXDEBUG__"
16210else
16211 if test "$wxUSE_GTK" = 1 ; then
16212 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
16213 fi
16214fi
16215
16216if test "$wxUSE_MEM_TRACING" = "yes" ; then
16217 cat >> confdefs.h <<\EOF
16218#define wxUSE_MEMORY_TRACING 1
16219EOF
16220
16221 cat >> confdefs.h <<\EOF
16222#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
16223EOF
16224
16225 cat >> confdefs.h <<\EOF
16226#define wxUSE_DEBUG_NEW_ALWAYS 1
16227EOF
16228
16229 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
16230fi
16231
16232if test "$wxUSE_DMALLOC" = "yes" ; then
16233 DMALLOC_LIBS="-ldmalloc"
16234fi
16235
16236PROFILE=
16237if test "$wxUSE_PROFILE" = "yes" ; then
16238 PROFILE=" -pg"
16239fi
16240
16241if test "$GCC" = "yes" ; then
16242 if test "$wxUSE_NO_RTTI" = "yes" ; then
16243 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
16244 fi
16245 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
16246 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
16247 fi
16248 if test "$wxUSE_PERMISSIVE" = "yes" ; then
16249 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
16250 fi
16251 if test "$USE_WIN32" = 1 ; then
16252 # I'm not even really sure what this was ever added to solve,
16253 # but someone added it for mingw native builds, so I guess
16254 # they had a reason, right??
16255 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fno-pcc-struct-return"
16256 fi
16257fi
16258
16259
16260CXXFLAGS=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
16261CFLAGS=`echo "${CFLAGS}" | sed "s/\-O.//g" `
16262if test "$wxUSE_OPTIMISE" = "no" ; then
16263 OPTIMISE=
16264else
16265 if test "$GCC" = yes ; then
16266 OPTIMISE="-O2"
16267 case "${host}" in
16268 i586-*-*|i686-*-* )
16269 OPTIMISE="${OPTIMISE} "
16270 ;;
16271 esac
16272 else
16273 OPTIMISE="-O"
16274 fi
16275fi
16276
16277if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
16278 cat >> confdefs.h <<\EOF
16279#define WXWIN_COMPATIBILITY_2 1
16280EOF
16281
16282
16283 WXWIN_COMPATIBILITY_2_2="yes"
16284fi
16285
16286if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
16287 cat >> confdefs.h <<\EOF
16288#define WXWIN_COMPATIBILITY_2_2 1
16289EOF
16290
16291fi
16292
16293
16294if test "$wxUSE_GUI" = "yes"; then
16295 cat >> confdefs.h <<\EOF
16296#define wxUSE_GUI 1
16297EOF
16298
16299
16300 else
16301 cat >> confdefs.h <<\EOF
16302#define wxUSE_NOGUI 1
16303EOF
16304
16305fi
16306
16307
16308if test "$wxUSE_UNIX" = "yes"; then
16309 cat >> confdefs.h <<\EOF
16310#define wxUSE_UNIX 1
16311EOF
16312
16313fi
16314
16315
16316if test "$wxUSE_APPLE_IEEE" = "yes"; then
16317 cat >> confdefs.h <<\EOF
16318#define wxUSE_APPLE_IEEE 1
16319EOF
16320
16321fi
16322
16323if test "$wxUSE_TIMER" = "yes"; then
16324 cat >> confdefs.h <<\EOF
16325#define wxUSE_TIMER 1
16326EOF
16327
16328fi
16329
16330if test "$wxUSE_WAVE" = "yes"; then
16331 cat >> confdefs.h <<\EOF
16332#define wxUSE_WAVE 1
16333EOF
16334
16335fi
16336
16337if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
16338 cat >> confdefs.h <<\EOF
16339#define wxUSE_CMDLINE_PARSER 1
16340EOF
16341
16342fi
16343
16344if test "$wxUSE_STOPWATCH" = "yes"; then
16345 cat >> confdefs.h <<\EOF
16346#define wxUSE_STOPWATCH 1
16347EOF
16348
16349fi
16350
16351if test "$wxUSE_DATETIME" = "yes"; then
16352 cat >> confdefs.h <<\EOF
16353#define wxUSE_DATETIME 1
16354EOF
16355
16356fi
16357
16358if test "$wxUSE_TIMEDATE" = "yes"; then
16359 cat >> confdefs.h <<\EOF
16360#define wxUSE_TIMEDATE 1
16361EOF
16362
16363fi
16364
16365if test "$wxUSE_FILE" = "yes"; then
16366 cat >> confdefs.h <<\EOF
16367#define wxUSE_FILE 1
16368EOF
16369
16370fi
16371
16372if test "$wxUSE_FFILE" = "yes"; then
16373 cat >> confdefs.h <<\EOF
16374#define wxUSE_FFILE 1
16375EOF
16376
16377fi
16378
16379if test "$wxUSE_FILESYSTEM" = "yes"; then
16380 cat >> confdefs.h <<\EOF
16381#define wxUSE_FILESYSTEM 1
16382EOF
16383
16384fi
16385
16386if test "$wxUSE_FS_INET" = "yes"; then
16387 cat >> confdefs.h <<\EOF
16388#define wxUSE_FS_INET 1
16389EOF
16390
16391fi
16392
16393if test "$wxUSE_FS_ZIP" = "yes"; then
16394 cat >> confdefs.h <<\EOF
16395#define wxUSE_FS_ZIP 1
16396EOF
16397
16398fi
16399
16400if test "$wxUSE_ZIPSTREAM" = "yes"; then
16401 cat >> confdefs.h <<\EOF
16402#define wxUSE_ZIPSTREAM 1
16403EOF
16404
16405fi
16406
16407if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16408 cat >> confdefs.h <<\EOF
16409#define wxUSE_ON_FATAL_EXCEPTION 1
16410EOF
16411
16412fi
16413
16414if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16415 cat >> confdefs.h <<\EOF
16416#define wxUSE_SNGLINST_CHECKER 1
16417EOF
16418
16419fi
16420
16421if test "$wxUSE_BUSYINFO" = "yes"; then
16422 cat >> confdefs.h <<\EOF
16423#define wxUSE_BUSYINFO 1
16424EOF
16425
16426fi
16427
16428if test "$wxUSE_STD_IOSTREAM" = "yes"; then
16429 cat >> confdefs.h <<\EOF
16430#define wxUSE_STD_IOSTREAM 1
16431EOF
16432
16433fi
16434
16435if test "$wxUSE_TEXTBUFFER" = "yes"; then
16436 cat >> confdefs.h <<\EOF
16437#define wxUSE_TEXTBUFFER 1
16438EOF
16439
16440fi
16441
16442if test "$wxUSE_TEXTFILE" = "yes"; then
16443 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
16444 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
16445 else
16446 cat >> confdefs.h <<\EOF
16447#define wxUSE_TEXTFILE 1
16448EOF
16449
16450 fi
16451fi
16452
16453if test "$wxUSE_CONFIG" = "yes" ; then
16454 if test "$wxUSE_TEXTFILE" != "yes"; then
16455 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
16456 else
16457 cat >> confdefs.h <<\EOF
16458#define wxUSE_CONFIG 1
16459EOF
16460
16461 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
16462 fi
16463fi
16464
16465if test "$wxUSE_INTL" = "yes" ; then
16466 if test "$wxUSE_FILE" != "yes"; then
16467 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
16468 else
16469 cat >> confdefs.h <<\EOF
16470#define wxUSE_INTL 1
16471EOF
16472
16473 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
16474 GUIDIST="$GUIDIST INTL_DIST"
16475 fi
16476fi
16477
16478if test "$wxUSE_LOG" = "yes"; then
16479 cat >> confdefs.h <<\EOF
16480#define wxUSE_LOG 1
16481EOF
16482
16483
16484 if test "$wxUSE_LOGGUI" = "yes"; then
16485 cat >> confdefs.h <<\EOF
16486#define wxUSE_LOGGUI 1
16487EOF
16488
16489 fi
16490
16491 if test "$wxUSE_LOGWINDOW" = "yes"; then
16492 cat >> confdefs.h <<\EOF
16493#define wxUSE_LOGWINDOW 1
16494EOF
16495
16496 fi
16497
16498 if test "$wxUSE_LOGDIALOG" = "yes"; then
16499 cat >> confdefs.h <<\EOF
16500#define wxUSE_LOG_DIALOG 1
16501EOF
16502
16503 fi
16504fi
16505
16506if test "$wxUSE_LONGLONG" = "yes"; then
16507 cat >> confdefs.h <<\EOF
16508#define wxUSE_LONGLONG 1
16509EOF
16510
16511fi
16512
16513if test "$wxUSE_GEOMETRY" = "yes"; then
16514 cat >> confdefs.h <<\EOF
16515#define wxUSE_GEOMETRY 1
16516EOF
16517
16518fi
16519
16520if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
16521 cat >> confdefs.h <<\EOF
16522#define wxUSE_DIALUP_MANAGER 1
16523EOF
16524
16525 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
16526fi
16527
16528if test "$wxUSE_STREAMS" = "yes" ; then
16529 cat >> confdefs.h <<\EOF
16530#define wxUSE_STREAMS 1
16531EOF
16532
16533fi
16534
16535
16536if test "$wxUSE_DATETIME" = "yes"; then
16537 for ac_func in strptime
16538do
16539echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16540echo "configure:16541: checking for $ac_func" >&5
16541if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16542 echo $ac_n "(cached) $ac_c" 1>&6
16543else
16544 cat > conftest.$ac_ext <<EOF
16545#line 16546 "configure"
16546#include "confdefs.h"
16547/* System header to define __stub macros and hopefully few prototypes,
16548 which can conflict with char $ac_func(); below. */
16549#include <assert.h>
16550/* Override any gcc2 internal prototype to avoid an error. */
16551/* We use char because int might match the return type of a gcc2
16552 builtin and then its argument prototype would still apply. */
16553char $ac_func();
16554
16555int main() {
16556
16557/* The GNU C library defines this for functions which it implements
16558 to always fail with ENOSYS. Some functions are actually named
16559 something starting with __ and the normal name is an alias. */
16560#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16561choke me
16562#else
16563$ac_func();
16564#endif
16565
16566; return 0; }
16567EOF
16568if { (eval echo configure:16569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16569 rm -rf conftest*
16570 eval "ac_cv_func_$ac_func=yes"
16571else
16572 echo "configure: failed program was:" >&5
16573 cat conftest.$ac_ext >&5
16574 rm -rf conftest*
16575 eval "ac_cv_func_$ac_func=no"
16576fi
16577rm -f conftest*
16578fi
16579
16580if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16581 echo "$ac_t""yes" 1>&6
16582 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16583 cat >> confdefs.h <<EOF
16584#define $ac_tr_func 1
16585EOF
16586
16587else
16588 echo "$ac_t""no" 1>&6
16589fi
16590done
16591
16592
16593 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
16594echo "configure:16595: checking for timezone variable in <time.h>" >&5
16595if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
16596 echo $ac_n "(cached) $ac_c" 1>&6
16597else
16598
16599 cat > conftest.$ac_ext <<EOF
16600#line 16601 "configure"
16601#include "confdefs.h"
16602
16603 #include <time.h>
16604
16605int main() {
16606
16607 int tz;
16608 tz = timezone;
16609
16610; return 0; }
16611EOF
16612if { (eval echo configure:16613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16613 rm -rf conftest*
16614
16615 wx_cv_var_timezone=timezone
16616
16617else
16618 echo "configure: failed program was:" >&5
16619 cat conftest.$ac_ext >&5
16620 rm -rf conftest*
16621
16622 cat > conftest.$ac_ext <<EOF
16623#line 16624 "configure"
16624#include "confdefs.h"
16625
16626 #include <time.h>
16627
16628int main() {
16629
16630 int tz;
16631 tz = _timezone;
16632
16633; return 0; }
16634EOF
16635if { (eval echo configure:16636: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16636 rm -rf conftest*
16637
16638 wx_cv_var_timezone=_timezone
16639
16640else
16641 echo "configure: failed program was:" >&5
16642 cat conftest.$ac_ext >&5
16643 rm -rf conftest*
16644
16645 cat > conftest.$ac_ext <<EOF
16646#line 16647 "configure"
16647#include "confdefs.h"
16648
16649 #include <time.h>
16650
16651int main() {
16652
16653 int tz;
16654 tz = __timezone;
16655
16656; return 0; }
16657EOF
16658if { (eval echo configure:16659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16659 rm -rf conftest*
16660
16661 wx_cv_var_timezone=__timezone
16662
16663else
16664 echo "configure: failed program was:" >&5
16665 cat conftest.$ac_ext >&5
16666 rm -rf conftest*
16667 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
16668
16669fi
16670rm -f conftest*
16671
16672
16673fi
16674rm -f conftest*
16675
16676
16677fi
16678rm -f conftest*
16679
16680
16681fi
16682
16683echo "$ac_t""$wx_cv_var_timezone" 1>&6
16684
16685 cat >> confdefs.h <<EOF
16686#define WX_TIMEZONE $wx_cv_var_timezone
16687EOF
16688
16689
16690 for ac_func in localtime
16691do
16692echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16693echo "configure:16694: checking for $ac_func" >&5
16694if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16695 echo $ac_n "(cached) $ac_c" 1>&6
16696else
16697 cat > conftest.$ac_ext <<EOF
16698#line 16699 "configure"
16699#include "confdefs.h"
16700/* System header to define __stub macros and hopefully few prototypes,
16701 which can conflict with char $ac_func(); below. */
16702#include <assert.h>
16703/* Override any gcc2 internal prototype to avoid an error. */
16704/* We use char because int might match the return type of a gcc2
16705 builtin and then its argument prototype would still apply. */
16706char $ac_func();
16707
16708int main() {
16709
16710/* The GNU C library defines this for functions which it implements
16711 to always fail with ENOSYS. Some functions are actually named
16712 something starting with __ and the normal name is an alias. */
16713#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16714choke me
16715#else
16716$ac_func();
16717#endif
16718
16719; return 0; }
16720EOF
16721if { (eval echo configure:16722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16722 rm -rf conftest*
16723 eval "ac_cv_func_$ac_func=yes"
16724else
16725 echo "configure: failed program was:" >&5
16726 cat conftest.$ac_ext >&5
16727 rm -rf conftest*
16728 eval "ac_cv_func_$ac_func=no"
16729fi
16730rm -f conftest*
16731fi
16732
16733if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16734 echo "$ac_t""yes" 1>&6
16735 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16736 cat >> confdefs.h <<EOF
16737#define $ac_tr_func 1
16738EOF
16739
16740else
16741 echo "$ac_t""no" 1>&6
16742fi
16743done
16744
16745
16746 if test "$ac_cv_func_localtime" = "yes"; then
16747 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
16748echo "configure:16749: checking for tm_gmtoff in struct tm" >&5
16749if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
16750 echo $ac_n "(cached) $ac_c" 1>&6
16751else
16752
16753 cat > conftest.$ac_ext <<EOF
16754#line 16755 "configure"
16755#include "confdefs.h"
16756
16757 #include <time.h>
16758
16759int main() {
16760
16761 struct tm tm;
16762 tm.tm_gmtoff++;
16763
16764; return 0; }
16765EOF
16766if { (eval echo configure:16767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16767 rm -rf conftest*
16768
16769 wx_cv_struct_tm_has_gmtoff=yes
16770
16771else
16772 echo "configure: failed program was:" >&5
16773 cat conftest.$ac_ext >&5
16774 rm -rf conftest*
16775 wx_cv_struct_tm_has_gmtoff=no
16776
16777fi
16778rm -f conftest*
16779
16780fi
16781
16782echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
16783 fi
16784
16785 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
16786 cat >> confdefs.h <<\EOF
16787#define WX_GMTOFF_IN_TM 1
16788EOF
16789
16790 fi
16791
16792 for ac_func in gettimeofday ftime
16793do
16794echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16795echo "configure:16796: checking for $ac_func" >&5
16796if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16797 echo $ac_n "(cached) $ac_c" 1>&6
16798else
16799 cat > conftest.$ac_ext <<EOF
16800#line 16801 "configure"
16801#include "confdefs.h"
16802/* System header to define __stub macros and hopefully few prototypes,
16803 which can conflict with char $ac_func(); below. */
16804#include <assert.h>
16805/* Override any gcc2 internal prototype to avoid an error. */
16806/* We use char because int might match the return type of a gcc2
16807 builtin and then its argument prototype would still apply. */
16808char $ac_func();
16809
16810int main() {
16811
16812/* The GNU C library defines this for functions which it implements
16813 to always fail with ENOSYS. Some functions are actually named
16814 something starting with __ and the normal name is an alias. */
16815#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16816choke me
16817#else
16818$ac_func();
16819#endif
16820
16821; return 0; }
16822EOF
16823if { (eval echo configure:16824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16824 rm -rf conftest*
16825 eval "ac_cv_func_$ac_func=yes"
16826else
16827 echo "configure: failed program was:" >&5
16828 cat conftest.$ac_ext >&5
16829 rm -rf conftest*
16830 eval "ac_cv_func_$ac_func=no"
16831fi
16832rm -f conftest*
16833fi
16834
16835if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16836 echo "$ac_t""yes" 1>&6
16837 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16838 cat >> confdefs.h <<EOF
16839#define $ac_tr_func 1
16840EOF
16841 break
16842else
16843 echo "$ac_t""no" 1>&6
16844fi
16845done
16846
16847
16848 if test "$ac_cv_func_gettimeofday" = "yes"; then
16849 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
16850echo "configure:16851: checking whether gettimeofday takes two arguments" >&5
16851if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
16852 echo $ac_n "(cached) $ac_c" 1>&6
16853else
16854
16855
16856 ac_ext=C
16857# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16858ac_cpp='$CXXCPP $CPPFLAGS'
16859ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16860ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16861cross_compiling=$ac_cv_prog_cxx_cross
16862
16863
16864 cat > conftest.$ac_ext <<EOF
16865#line 16866 "configure"
16866#include "confdefs.h"
16867
16868 #include <sys/time.h>
16869 #include <unistd.h>
16870
16871int main() {
16872
16873 struct timeval tv;
16874 gettimeofday(&tv, NULL);
16875
16876; return 0; }
16877EOF
16878if { (eval echo configure:16879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16879 rm -rf conftest*
16880 wx_cv_func_gettimeofday_has_2_args=yes
16881else
16882 echo "configure: failed program was:" >&5
16883 cat conftest.$ac_ext >&5
16884 rm -rf conftest*
16885 cat > conftest.$ac_ext <<EOF
16886#line 16887 "configure"
16887#include "confdefs.h"
16888
16889 #include <sys/time.h>
16890 #include <unistd.h>
16891
16892int main() {
16893
16894 struct timeval tv;
16895 gettimeofday(&tv);
16896
16897; return 0; }
16898EOF
16899if { (eval echo configure:16900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16900 rm -rf conftest*
16901 wx_cv_func_gettimeofday_has_2_args=no
16902else
16903 echo "configure: failed program was:" >&5
16904 cat conftest.$ac_ext >&5
16905 rm -rf conftest*
16906
16907 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
16908 wx_cv_func_gettimeofday_has_2_args=unknown
16909
16910
16911fi
16912rm -f conftest*
16913
16914fi
16915rm -f conftest*
16916 ac_ext=c
16917# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16918ac_cpp='$CPP $CPPFLAGS'
16919ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16920ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16921cross_compiling=$ac_cv_prog_cc_cross
16922
16923
16924fi
16925
16926echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
16927
16928 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
16929 cat >> confdefs.h <<\EOF
16930#define WX_GETTIMEOFDAY_NO_TZ 1
16931EOF
16932
16933 fi
16934 fi
16935
16936 cat >> confdefs.h <<\EOF
16937#define wxUSE_TIMEDATE 1
16938EOF
16939
16940 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
16941fi
16942
16943
16944if test "$TOOLKIT" != "MSW"; then
16945
16946 if test "$wxUSE_SOCKETS" = "yes"; then
16947 echo $ac_n "checking for socket""... $ac_c" 1>&6
16948echo "configure:16949: checking for socket" >&5
16949if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
16950 echo $ac_n "(cached) $ac_c" 1>&6
16951else
16952 cat > conftest.$ac_ext <<EOF
16953#line 16954 "configure"
16954#include "confdefs.h"
16955/* System header to define __stub macros and hopefully few prototypes,
16956 which can conflict with char socket(); below. */
16957#include <assert.h>
16958/* Override any gcc2 internal prototype to avoid an error. */
16959/* We use char because int might match the return type of a gcc2
16960 builtin and then its argument prototype would still apply. */
16961char socket();
16962
16963int main() {
16964
16965/* The GNU C library defines this for functions which it implements
16966 to always fail with ENOSYS. Some functions are actually named
16967 something starting with __ and the normal name is an alias. */
16968#if defined (__stub_socket) || defined (__stub___socket)
16969choke me
16970#else
16971socket();
16972#endif
16973
16974; return 0; }
16975EOF
16976if { (eval echo configure:16977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16977 rm -rf conftest*
16978 eval "ac_cv_func_socket=yes"
16979else
16980 echo "configure: failed program was:" >&5
16981 cat conftest.$ac_ext >&5
16982 rm -rf conftest*
16983 eval "ac_cv_func_socket=no"
16984fi
16985rm -f conftest*
16986fi
16987
16988if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16989 echo "$ac_t""yes" 1>&6
16990 :
16991else
16992 echo "$ac_t""no" 1>&6
16993echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16994echo "configure:16995: checking for socket in -lsocket" >&5
16995ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16996if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16997 echo $ac_n "(cached) $ac_c" 1>&6
16998else
16999 ac_save_LIBS="$LIBS"
17000LIBS="-lsocket $LIBS"
17001cat > conftest.$ac_ext <<EOF
17002#line 17003 "configure"
17003#include "confdefs.h"
17004/* Override any gcc2 internal prototype to avoid an error. */
17005/* We use char because int might match the return type of a gcc2
17006 builtin and then its argument prototype would still apply. */
17007char socket();
17008
17009int main() {
17010socket()
17011; return 0; }
17012EOF
17013if { (eval echo configure:17014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17014 rm -rf conftest*
17015 eval "ac_cv_lib_$ac_lib_var=yes"
17016else
17017 echo "configure: failed program was:" >&5
17018 cat conftest.$ac_ext >&5
17019 rm -rf conftest*
17020 eval "ac_cv_lib_$ac_lib_var=no"
17021fi
17022rm -f conftest*
17023LIBS="$ac_save_LIBS"
17024
17025fi
17026if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17027 echo "$ac_t""yes" 1>&6
17028 INET_LINK="$INET_LINK -lsocket"
17029else
17030 echo "$ac_t""no" 1>&6
17031
17032 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
17033 wxUSE_SOCKETS=no
17034
17035
17036fi
17037
17038
17039fi
17040
17041 fi
17042
17043
17044 if test "$wxUSE_SOCKETS" = "yes" ; then
17045 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
17046echo "configure:17047: checking what is the type of the third argument of getsockname" >&5
17047if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
17048 echo $ac_n "(cached) $ac_c" 1>&6
17049else
17050
17051
17052 ac_ext=C
17053# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17054ac_cpp='$CXXCPP $CPPFLAGS'
17055ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17056ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17057cross_compiling=$ac_cv_prog_cxx_cross
17058
17059
17060 cat > conftest.$ac_ext <<EOF
17061#line 17062 "configure"
17062#include "confdefs.h"
17063
17064 #include <sys/types.h>
17065 #include <sys/socket.h>
17066
17067int main() {
17068
17069 socklen_t len;
17070 getsockname(0, 0, &len);
17071
17072; return 0; }
17073EOF
17074if { (eval echo configure:17075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17075 rm -rf conftest*
17076 wx_cv_type_getsockname3=socklen_t
17077else
17078 echo "configure: failed program was:" >&5
17079 cat conftest.$ac_ext >&5
17080 rm -rf conftest*
17081 cat > conftest.$ac_ext <<EOF
17082#line 17083 "configure"
17083#include "confdefs.h"
17084
17085 #include <sys/types.h>
17086 #include <sys/socket.h>
17087
17088int main() {
17089
17090 size_t len;
17091 getsockname(0, 0, &len);
17092
17093; return 0; }
17094EOF
17095if { (eval echo configure:17096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17096 rm -rf conftest*
17097 wx_cv_type_getsockname3=size_t
17098else
17099 echo "configure: failed program was:" >&5
17100 cat conftest.$ac_ext >&5
17101 rm -rf conftest*
17102 cat > conftest.$ac_ext <<EOF
17103#line 17104 "configure"
17104#include "confdefs.h"
17105
17106 #include <sys/types.h>
17107 #include <sys/socket.h>
17108
17109int main() {
17110
17111 int len;
17112 getsockname(0, 0, &len);
17113
17114; return 0; }
17115EOF
17116if { (eval echo configure:17117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17117 rm -rf conftest*
17118 wx_cv_type_getsockname3=int
17119else
17120 echo "configure: failed program was:" >&5
17121 cat conftest.$ac_ext >&5
17122 rm -rf conftest*
17123 wx_cv_type_getsockname3=unknown
17124
17125fi
17126rm -f conftest*
17127
17128fi
17129rm -f conftest*
17130
17131fi
17132rm -f conftest*
17133
17134 ac_ext=c
17135# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17136ac_cpp='$CPP $CPPFLAGS'
17137ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17138ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17139cross_compiling=$ac_cv_prog_cc_cross
17140
17141
17142fi
17143
17144echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
17145
17146 if test "$wx_cv_type_getsockname3" = "unknown"; then
17147 wxUSE_SOCKETS=no
17148 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
17149 else
17150 cat >> confdefs.h <<EOF
17151#define SOCKLEN_T $wx_cv_type_getsockname3
17152EOF
17153
17154 fi
17155 fi
17156fi
17157
17158if test "$wxUSE_SOCKETS" = "yes" ; then
17159 cat >> confdefs.h <<\EOF
17160#define wxUSE_SOCKETS 1
17161EOF
17162
17163 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
17164fi
17165
17166
17167if test "$wxUSE_GUI" = "yes"; then
17168
17169 if test "$TOOLKIT" = "MAC"; then
17170 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
17171 wxUSE_JOYSTICK=no
17172 fi
17173 if test "$TOOLKIT" = "MOTIF"; then
17174 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
17175 wxUSE_JOYSTICK=no
17176 fi
17177
17178 if test "$TOOLKIT" != "MSW"; then
17179 if test "$wxUSE_JOYSTICK" = "yes"; then
17180 for ac_hdr in linux/joystick.h
17181do
17182ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17183echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17184echo "configure:17185: checking for $ac_hdr" >&5
17185if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17186 echo $ac_n "(cached) $ac_c" 1>&6
17187else
17188 cat > conftest.$ac_ext <<EOF
17189#line 17190 "configure"
17190#include "confdefs.h"
17191#include <$ac_hdr>
17192EOF
17193ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17194{ (eval echo configure:17195: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17195ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17196if test -z "$ac_err"; then
17197 rm -rf conftest*
17198 eval "ac_cv_header_$ac_safe=yes"
17199else
17200 echo "$ac_err" >&5
17201 echo "configure: failed program was:" >&5
17202 cat conftest.$ac_ext >&5
17203 rm -rf conftest*
17204 eval "ac_cv_header_$ac_safe=no"
17205fi
17206rm -f conftest*
17207fi
17208if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17209 echo "$ac_t""yes" 1>&6
17210 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17211 cat >> confdefs.h <<EOF
17212#define $ac_tr_hdr 1
17213EOF
17214
17215else
17216 echo "$ac_t""no" 1>&6
17217fi
17218done
17219
17220 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
17221 wxUSE_JOYSTICK=no
17222 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
17223 fi
17224 fi
17225 fi
17226
17227 if test "$wxUSE_JOYSTICK" = "yes"; then
17228 cat >> confdefs.h <<\EOF
17229#define wxUSE_JOYSTICK 1
17230EOF
17231
17232 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
17233 fi
17234fi
17235
17236
17237if test "$TOOLKIT" != "MSW"; then
17238
17239 HAVE_DL_FUNCS=0
17240 HAVE_SHL_FUNCS=0
17241 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
17242 if test "$USE_DARWIN" = 1; then
17243 HAVE_DL_FUNCS=1
17244 else
17245 for ac_func in dlopen
17246do
17247echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17248echo "configure:17249: checking for $ac_func" >&5
17249if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17250 echo $ac_n "(cached) $ac_c" 1>&6
17251else
17252 cat > conftest.$ac_ext <<EOF
17253#line 17254 "configure"
17254#include "confdefs.h"
17255/* System header to define __stub macros and hopefully few prototypes,
17256 which can conflict with char $ac_func(); below. */
17257#include <assert.h>
17258/* Override any gcc2 internal prototype to avoid an error. */
17259/* We use char because int might match the return type of a gcc2
17260 builtin and then its argument prototype would still apply. */
17261char $ac_func();
17262
17263int main() {
17264
17265/* The GNU C library defines this for functions which it implements
17266 to always fail with ENOSYS. Some functions are actually named
17267 something starting with __ and the normal name is an alias. */
17268#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17269choke me
17270#else
17271$ac_func();
17272#endif
17273
17274; return 0; }
17275EOF
17276if { (eval echo configure:17277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17277 rm -rf conftest*
17278 eval "ac_cv_func_$ac_func=yes"
17279else
17280 echo "configure: failed program was:" >&5
17281 cat conftest.$ac_ext >&5
17282 rm -rf conftest*
17283 eval "ac_cv_func_$ac_func=no"
17284fi
17285rm -f conftest*
17286fi
17287
17288if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17289 echo "$ac_t""yes" 1>&6
17290 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17291 cat >> confdefs.h <<EOF
17292#define $ac_tr_func 1
17293EOF
17294
17295 cat >> confdefs.h <<\EOF
17296#define HAVE_DLOPEN 1
17297EOF
17298
17299 HAVE_DL_FUNCS=1
17300
17301else
17302 echo "$ac_t""no" 1>&6
17303echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
17304echo "configure:17305: checking for dlopen in -ldl" >&5
17305ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
17306if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17307 echo $ac_n "(cached) $ac_c" 1>&6
17308else
17309 ac_save_LIBS="$LIBS"
17310LIBS="-ldl $LIBS"
17311cat > conftest.$ac_ext <<EOF
17312#line 17313 "configure"
17313#include "confdefs.h"
17314/* Override any gcc2 internal prototype to avoid an error. */
17315/* We use char because int might match the return type of a gcc2
17316 builtin and then its argument prototype would still apply. */
17317char dlopen();
17318
17319int main() {
17320dlopen()
17321; return 0; }
17322EOF
17323if { (eval echo configure:17324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17324 rm -rf conftest*
17325 eval "ac_cv_lib_$ac_lib_var=yes"
17326else
17327 echo "configure: failed program was:" >&5
17328 cat conftest.$ac_ext >&5
17329 rm -rf conftest*
17330 eval "ac_cv_lib_$ac_lib_var=no"
17331fi
17332rm -f conftest*
17333LIBS="$ac_save_LIBS"
17334
17335fi
17336if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17337 echo "$ac_t""yes" 1>&6
17338
17339 cat >> confdefs.h <<\EOF
17340#define HAVE_DLOPEN 1
17341EOF
17342
17343 HAVE_DL_FUNCS=1
17344 DL_LINK=" -ldl$DL_LINK"
17345
17346else
17347 echo "$ac_t""no" 1>&6
17348
17349 for ac_func in shl_load
17350do
17351echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17352echo "configure:17353: checking for $ac_func" >&5
17353if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17354 echo $ac_n "(cached) $ac_c" 1>&6
17355else
17356 cat > conftest.$ac_ext <<EOF
17357#line 17358 "configure"
17358#include "confdefs.h"
17359/* System header to define __stub macros and hopefully few prototypes,
17360 which can conflict with char $ac_func(); below. */
17361#include <assert.h>
17362/* Override any gcc2 internal prototype to avoid an error. */
17363/* We use char because int might match the return type of a gcc2
17364 builtin and then its argument prototype would still apply. */
17365char $ac_func();
17366
17367int main() {
17368
17369/* The GNU C library defines this for functions which it implements
17370 to always fail with ENOSYS. Some functions are actually named
17371 something starting with __ and the normal name is an alias. */
17372#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17373choke me
17374#else
17375$ac_func();
17376#endif
17377
17378; return 0; }
17379EOF
17380if { (eval echo configure:17381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17381 rm -rf conftest*
17382 eval "ac_cv_func_$ac_func=yes"
17383else
17384 echo "configure: failed program was:" >&5
17385 cat conftest.$ac_ext >&5
17386 rm -rf conftest*
17387 eval "ac_cv_func_$ac_func=no"
17388fi
17389rm -f conftest*
17390fi
17391
17392if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17393 echo "$ac_t""yes" 1>&6
17394 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17395 cat >> confdefs.h <<EOF
17396#define $ac_tr_func 1
17397EOF
17398
17399 cat >> confdefs.h <<\EOF
17400#define HAVE_SHL_LOAD 1
17401EOF
17402
17403 HAVE_SHL_FUNCS=1
17404
17405else
17406 echo "$ac_t""no" 1>&6
17407echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
17408echo "configure:17409: checking for dld in -lshl_load" >&5
17409ac_lib_var=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
17410if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17411 echo $ac_n "(cached) $ac_c" 1>&6
17412else
17413 ac_save_LIBS="$LIBS"
17414LIBS="-lshl_load $LIBS"
17415cat > conftest.$ac_ext <<EOF
17416#line 17417 "configure"
17417#include "confdefs.h"
17418/* Override any gcc2 internal prototype to avoid an error. */
17419/* We use char because int might match the return type of a gcc2
17420 builtin and then its argument prototype would still apply. */
17421char dld();
17422
17423int main() {
17424dld()
17425; return 0; }
17426EOF
17427if { (eval echo configure:17428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17428 rm -rf conftest*
17429 eval "ac_cv_lib_$ac_lib_var=yes"
17430else
17431 echo "configure: failed program was:" >&5
17432 cat conftest.$ac_ext >&5
17433 rm -rf conftest*
17434 eval "ac_cv_lib_$ac_lib_var=no"
17435fi
17436rm -f conftest*
17437LIBS="$ac_save_LIBS"
17438
17439fi
17440if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17441 echo "$ac_t""yes" 1>&6
17442
17443 HAVE_SHL_FUNCS=1
17444 DL_LINK=" -ldld$DL_LINK"
17445
17446else
17447 echo "$ac_t""no" 1>&6
17448fi
17449
17450
17451fi
17452done
17453
17454
17455fi
17456
17457
17458fi
17459done
17460
17461
17462 if test "$HAVE_DL_FUNCS" = 1; then
17463 for ac_func in dlerror
17464do
17465echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17466echo "configure:17467: checking for $ac_func" >&5
17467if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17468 echo $ac_n "(cached) $ac_c" 1>&6
17469else
17470 cat > conftest.$ac_ext <<EOF
17471#line 17472 "configure"
17472#include "confdefs.h"
17473/* System header to define __stub macros and hopefully few prototypes,
17474 which can conflict with char $ac_func(); below. */
17475#include <assert.h>
17476/* Override any gcc2 internal prototype to avoid an error. */
17477/* We use char because int might match the return type of a gcc2
17478 builtin and then its argument prototype would still apply. */
17479char $ac_func();
17480
17481int main() {
17482
17483/* The GNU C library defines this for functions which it implements
17484 to always fail with ENOSYS. Some functions are actually named
17485 something starting with __ and the normal name is an alias. */
17486#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17487choke me
17488#else
17489$ac_func();
17490#endif
17491
17492; return 0; }
17493EOF
17494if { (eval echo configure:17495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17495 rm -rf conftest*
17496 eval "ac_cv_func_$ac_func=yes"
17497else
17498 echo "configure: failed program was:" >&5
17499 cat conftest.$ac_ext >&5
17500 rm -rf conftest*
17501 eval "ac_cv_func_$ac_func=no"
17502fi
17503rm -f conftest*
17504fi
17505
17506if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17507 echo "$ac_t""yes" 1>&6
17508 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17509 cat >> confdefs.h <<EOF
17510#define $ac_tr_func 1
17511EOF
17512 cat >> confdefs.h <<\EOF
17513#define HAVE_DLERROR 1
17514EOF
17515
17516else
17517 echo "$ac_t""no" 1>&6
17518echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
17519echo "configure:17520: checking for dlerror in -ldl" >&5
17520ac_lib_var=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
17521if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17522 echo $ac_n "(cached) $ac_c" 1>&6
17523else
17524 ac_save_LIBS="$LIBS"
17525LIBS="-ldl $LIBS"
17526cat > conftest.$ac_ext <<EOF
17527#line 17528 "configure"
17528#include "confdefs.h"
17529/* Override any gcc2 internal prototype to avoid an error. */
17530/* We use char because int might match the return type of a gcc2
17531 builtin and then its argument prototype would still apply. */
17532char dlerror();
17533
17534int main() {
17535dlerror()
17536; return 0; }
17537EOF
17538if { (eval echo configure:17539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17539 rm -rf conftest*
17540 eval "ac_cv_lib_$ac_lib_var=yes"
17541else
17542 echo "configure: failed program was:" >&5
17543 cat conftest.$ac_ext >&5
17544 rm -rf conftest*
17545 eval "ac_cv_lib_$ac_lib_var=no"
17546fi
17547rm -f conftest*
17548LIBS="$ac_save_LIBS"
17549
17550fi
17551if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17552 echo "$ac_t""yes" 1>&6
17553 cat >> confdefs.h <<\EOF
17554#define HAVE_DLERROR 1
17555EOF
17556
17557else
17558 echo "$ac_t""no" 1>&6
17559fi
17560
17561fi
17562done
17563
17564 fi
17565 fi
17566
17567 if test "$HAVE_DL_FUNCS" = 0; then
17568 if test "$HAVE_SHL_FUNCS" = 0; then
17569 if test "$USE_UNIX" = 1; then
17570 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
17571 wxUSE_DYNLIB_CLASS=no
17572 else
17573 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
17574 fi
17575 fi
17576 fi
17577 fi
17578fi
17579
17580if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17581 cat >> confdefs.h <<\EOF
17582#define wxUSE_DYNLIB_CLASS 1
17583EOF
17584
17585else
17586 wxUSE_ODBC=no
17587 wxUSE_SERIAL=no
17588fi
17589
17590
17591if test "$wxUSE_FONTMAP" = "yes" ; then
17592 cat >> confdefs.h <<\EOF
17593#define wxUSE_FONTMAP 1
17594EOF
17595
17596fi
17597
17598if test "$wxUSE_UNICODE" = "yes" ; then
17599 cat >> confdefs.h <<\EOF
17600#define wxUSE_UNICODE 1
17601EOF
17602
17603fi
17604
17605if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
17606 cat >> confdefs.h <<\EOF
17607#define wxUSE_EXPERIMENTAL_PRINTF 1
17608EOF
17609
17610fi
17611
17612
17613if test "$wxUSE_SERIAL" = "yes" ; then
17614 cat >> confdefs.h <<\EOF
17615#define wxUSE_SERIAL 1
17616EOF
17617
17618fi
17619
17620
17621IODBC_C_SRC=""
17622if test "$wxUSE_ODBC" = "yes" ; then
17623 cat >> confdefs.h <<\EOF
17624#define wxUSE_ODBC 1
17625EOF
17626
17627 WXODBCFLAG="-D_IODBC_"
17628 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
17629fi
17630
17631
17632if test "$wxUSE_POSTSCRIPT" = "yes" ; then
17633 cat >> confdefs.h <<\EOF
17634#define wxUSE_POSTSCRIPT 1
17635EOF
17636
17637fi
17638
17639cat >> confdefs.h <<\EOF
17640#define wxUSE_AFM_FOR_POSTSCRIPT 1
17641EOF
17642
17643
17644cat >> confdefs.h <<\EOF
17645#define wxUSE_NORMALIZED_PS_FONTS 1
17646EOF
17647
17648
17649
17650if test "$wxUSE_CONSTRAINTS" = "yes"; then
17651 cat >> confdefs.h <<\EOF
17652#define wxUSE_CONSTRAINTS 1
17653EOF
17654
17655 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
17656fi
17657
17658if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17659 if test "$wxUSE_UNIVERSAL" = "yes"; then
17660 echo "configure: warning: MDI not yet supported for wxUNIVERSAL... disabled" 1>&2
17661 wxUSE_MDI_ARCHITECTURE=no
17662 fi
17663
17664 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17665 cat >> confdefs.h <<\EOF
17666#define wxUSE_MDI_ARCHITECTURE 1
17667EOF
17668
17669 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
17670 fi
17671fi
17672
17673if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
17674 cat >> confdefs.h <<\EOF
17675#define wxUSE_DOC_VIEW_ARCHITECTURE 1
17676EOF
17677
17678 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
17679 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17680 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
17681 fi
17682fi
17683
17684if test "$wxUSE_HELP" = "yes"; then
17685 cat >> confdefs.h <<\EOF
17686#define wxUSE_HELP 1
17687EOF
17688
17689 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
17690
17691 if test "$wxUSE_MSW" = 1; then
17692 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
17693 ac_safe=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
17694echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
17695echo "configure:17696: checking for htmlhelp.h" >&5
17696if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17697 echo $ac_n "(cached) $ac_c" 1>&6
17698else
17699 cat > conftest.$ac_ext <<EOF
17700#line 17701 "configure"
17701#include "confdefs.h"
17702#include <htmlhelp.h>
17703EOF
17704ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17705{ (eval echo configure:17706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17706ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17707if test -z "$ac_err"; then
17708 rm -rf conftest*
17709 eval "ac_cv_header_$ac_safe=yes"
17710else
17711 echo "$ac_err" >&5
17712 echo "configure: failed program was:" >&5
17713 cat conftest.$ac_ext >&5
17714 rm -rf conftest*
17715 eval "ac_cv_header_$ac_safe=no"
17716fi
17717rm -f conftest*
17718fi
17719if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17720 echo "$ac_t""yes" 1>&6
17721
17722 cat >> confdefs.h <<\EOF
17723#define wxUSE_MS_HTML_HELP 1
17724EOF
17725
17726
17727else
17728 echo "$ac_t""no" 1>&6
17729
17730 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
17731 wxUSE_MS_HTML_HELP=no
17732
17733fi
17734
17735 fi
17736 fi
17737
17738 if test "$wxUSE_WXHTML_HELP" = "yes"; then
17739 if test "$wxUSE_HTML" = "yes"; then
17740 cat >> confdefs.h <<\EOF
17741#define wxUSE_WXHTML_HELP 1
17742EOF
17743
17744 else
17745 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
17746 wxUSE_WXHTML_HELP=no
17747 fi
17748 fi
17749fi
17750
17751if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
17752 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17753 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
17754 else
17755 cat >> confdefs.h <<\EOF
17756#define wxUSE_PRINTING_ARCHITECTURE 1
17757EOF
17758
17759 fi
17760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
17761fi
17762
17763if test "$wxUSE_PROLOGIO" = "yes" ; then
17764 cat >> confdefs.h <<\EOF
17765#define wxUSE_PROLOGIO 1
17766EOF
17767
17768fi
17769
17770if test "$wxUSE_RESOURCES" = "yes" ; then
17771 cat >> confdefs.h <<\EOF
17772#define wxUSE_RESOURCES 1
17773EOF
17774
17775 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS resource"
17776fi
17777
17778if test "$wxUSE_X_RESOURCES" = "yes"; then
17779 cat >> confdefs.h <<\EOF
17780#define wxUSE_X_RESOURCES 1
17781EOF
17782
17783fi
17784
17785
17786if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
17787 -o "$wxUSE_CLIPBOARD" = "yes" \
17788 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
17789 for ac_hdr in ole2.h
17790do
17791ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17792echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17793echo "configure:17794: checking for $ac_hdr" >&5
17794if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17795 echo $ac_n "(cached) $ac_c" 1>&6
17796else
17797 cat > conftest.$ac_ext <<EOF
17798#line 17799 "configure"
17799#include "confdefs.h"
17800#include <$ac_hdr>
17801EOF
17802ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17803{ (eval echo configure:17804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17804ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17805if test -z "$ac_err"; then
17806 rm -rf conftest*
17807 eval "ac_cv_header_$ac_safe=yes"
17808else
17809 echo "$ac_err" >&5
17810 echo "configure: failed program was:" >&5
17811 cat conftest.$ac_ext >&5
17812 rm -rf conftest*
17813 eval "ac_cv_header_$ac_safe=no"
17814fi
17815rm -f conftest*
17816fi
17817if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17818 echo "$ac_t""yes" 1>&6
17819 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17820 cat >> confdefs.h <<EOF
17821#define $ac_tr_hdr 1
17822EOF
17823
17824else
17825 echo "$ac_t""no" 1>&6
17826fi
17827done
17828
17829
17830 if test "$ac_cv_header_ole2_h" = "yes" ; then
17831 if test "$GCC" = yes ; then
17832 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
17833 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
17834 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
17835 cat >> confdefs.h <<\EOF
17836#define wxUSE_OLE 1
17837EOF
17838
17839
17840 fi
17841
17842 cat >> confdefs.h <<\EOF
17843#define wxUSE_DATAOBJ 1
17844EOF
17845
17846 else
17847 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
17848
17849 wxUSE_CLIPBOARD=no
17850 wxUSE_DRAG_AND_DROP=no
17851 wxUSE_DATAOBJ=no
17852 fi
17853
17854 if test "$wxUSE_METAFILE" = "yes"; then
17855 cat >> confdefs.h <<\EOF
17856#define wxUSE_METAFILE 1
17857EOF
17858
17859
17860 cat >> confdefs.h <<\EOF
17861#define wxUSE_ENH_METAFILE 1
17862EOF
17863
17864 fi
17865fi
17866
17867if test "$wxUSE_IPC" = "yes"; then
17868 if test "$wxUSE_SOCKETS" != "yes"; then
17869 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
17870 fi
17871
17872 cat >> confdefs.h <<\EOF
17873#define wxUSE_IPC 1
17874EOF
17875
17876fi
17877
17878if test "$wxUSE_CLIPBOARD" = "yes"; then
17879 cat >> confdefs.h <<\EOF
17880#define wxUSE_CLIPBOARD 1
17881EOF
17882
17883
17884 cat >> confdefs.h <<\EOF
17885#define wxUSE_DATAOBJ 1
17886EOF
17887
17888fi
17889
17890if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
17891 if test "$wxUSE_GTK" = 1; then
17892 if test "$WXGTK12" != 1; then
17893 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
17894 wxUSE_DRAG_AND_DROP=no
17895 fi
17896 fi
17897
17898 if test "$wxUSE_MOTIF" = 1; then
17899 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
17900 wxUSE_DRAG_AND_DROP=no
17901 fi
17902
17903 if test "$wxUSE_MAC" = 1; then
17904 echo "configure: warning: Drag and drop not yet supported under Mac OS X... disabled" 1>&2
17905 wxUSE_DRAG_AND_DROP=no
17906 fi
17907
17908 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
17909 cat >> confdefs.h <<\EOF
17910#define wxUSE_DRAG_AND_DROP 1
17911EOF
17912
17913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
17914 fi
17915
17916fi
17917
17918if test "$wxUSE_SPLINES" = "yes" ; then
17919 cat >> confdefs.h <<\EOF
17920#define wxUSE_SPLINES 1
17921EOF
17922
17923fi
17924
17925
17926USES_CONTROLS=0
17927if test "$wxUSE_CONTROLS" = "yes"; then
17928 USES_CONTROLS=1
17929fi
17930
17931if test "$wxUSE_ACCEL" = "yes"; then
17932 cat >> confdefs.h <<\EOF
17933#define wxUSE_ACCEL 1
17934EOF
17935
17936 USES_CONTROLS=1
17937fi
17938
17939if test "$wxUSE_BUTTON" = "yes"; then
17940 cat >> confdefs.h <<\EOF
17941#define wxUSE_BUTTON 1
17942EOF
17943
17944 USES_CONTROLS=1
17945fi
17946
17947if test "$wxUSE_BMPBUTTON" = "yes"; then
17948 cat >> confdefs.h <<\EOF
17949#define wxUSE_BMPBUTTON 1
17950EOF
17951
17952 USES_CONTROLS=1
17953fi
17954
17955if test "$wxUSE_CALCTRL" = "yes"; then
17956 cat >> confdefs.h <<\EOF
17957#define wxUSE_CALENDARCTRL 1
17958EOF
17959
17960 USES_CONTROLS=1
17961 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
17962fi
17963
17964if test "$wxUSE_CARET" = "yes"; then
17965 cat >> confdefs.h <<\EOF
17966#define wxUSE_CARET 1
17967EOF
17968
17969 USES_CONTROLS=1
17970 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
17971fi
17972
17973if test "$wxUSE_COMBOBOX" = "yes"; then
17974 cat >> confdefs.h <<\EOF
17975#define wxUSE_COMBOBOX 1
17976EOF
17977
17978 USES_CONTROLS=1
17979fi
17980
17981if test "$wxUSE_CHOICE" = "yes"; then
17982 cat >> confdefs.h <<\EOF
17983#define wxUSE_CHOICE 1
17984EOF
17985
17986 USES_CONTROLS=1
17987fi
17988
17989if test "$wxUSE_CHECKBOX" = "yes"; then
17990 cat >> confdefs.h <<\EOF
17991#define wxUSE_CHECKBOX 1
17992EOF
17993
17994 USES_CONTROLS=1
17995fi
17996
17997if test "$wxUSE_CHECKLST" = "yes"; then
17998 cat >> confdefs.h <<\EOF
17999#define wxUSE_CHECKLISTBOX 1
18000EOF
18001
18002 USES_CONTROLS=1
18003 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
18004fi
18005
18006if test "$wxUSE_GAUGE" = "yes"; then
18007 cat >> confdefs.h <<\EOF
18008#define wxUSE_GAUGE 1
18009EOF
18010
18011 USES_CONTROLS=1
18012fi
18013
18014if test "$wxUSE_NEW_GRID" = "yes"; then
18015 wxUSE_GRID="yes"
18016 cat >> confdefs.h <<\EOF
18017#define wxUSE_NEW_GRID 1
18018EOF
18019
18020 USES_CONTROLS=1
18021 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS newgrid"
18022fi
18023
18024if test "$wxUSE_GRID" = "yes"; then
18025 cat >> confdefs.h <<\EOF
18026#define wxUSE_GRID 1
18027EOF
18028
18029 USES_CONTROLS=1
18030 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
18031fi
18032
18033if test "$wxUSE_IMAGLIST" = "yes"; then
18034 cat >> confdefs.h <<\EOF
18035#define wxUSE_IMAGLIST 1
18036EOF
18037
18038fi
18039
18040if test "$wxUSE_LISTBOX" = "yes"; then
18041 cat >> confdefs.h <<\EOF
18042#define wxUSE_LISTBOX 1
18043EOF
18044
18045 USES_CONTROLS=1
18046fi
18047
18048if test "$wxUSE_LISTCTRL" = "yes"; then
18049 if test "$wxUSE_IMAGLIST" = "yes"; then
18050 cat >> confdefs.h <<\EOF
18051#define wxUSE_LISTCTRL 1
18052EOF
18053
18054 USES_CONTROLS=1
18055 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
18056 else
18057 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
18058 fi
18059fi
18060
18061if test "$wxUSE_NOTEBOOK" = "yes"; then
18062 cat >> confdefs.h <<\EOF
18063#define wxUSE_NOTEBOOK 1
18064EOF
18065
18066 USES_CONTROLS=1
18067 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
18068fi
18069
18070if test "$wxUSE_PROPSHEET" = "yes"; then
18071 cat >> confdefs.h <<\EOF
18072#define wxUSE_PROPSHEET 1
18073EOF
18074
18075 USES_CONTROLS=1
18076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS proplist"
18077fi
18078
18079if test "$wxUSE_RADIOBOX" = "yes"; then
18080 cat >> confdefs.h <<\EOF
18081#define wxUSE_RADIOBOX 1
18082EOF
18083
18084 USES_CONTROLS=1
18085fi
18086
18087if test "$wxUSE_RADIOBTN" = "yes"; then
18088 cat >> confdefs.h <<\EOF
18089#define wxUSE_RADIOBTN 1
18090EOF
18091
18092 USES_CONTROLS=1
18093fi
18094
18095if test "$wxUSE_SASH" = "yes"; then
18096 cat >> confdefs.h <<\EOF
18097#define wxUSE_SASH 1
18098EOF
18099
18100 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
18101fi
18102
18103if test "$wxUSE_SCROLLBAR" = "yes"; then
18104 cat >> confdefs.h <<\EOF
18105#define wxUSE_SCROLLBAR 1
18106EOF
18107
18108 USES_CONTROLS=1
18109 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
18110fi
18111
18112if test "$wxUSE_SLIDER" = "yes"; then
18113 cat >> confdefs.h <<\EOF
18114#define wxUSE_SLIDER 1
18115EOF
18116
18117 USES_CONTROLS=1
18118fi
18119
18120if test "$wxUSE_SPINBTN" = "yes"; then
18121 cat >> confdefs.h <<\EOF
18122#define wxUSE_SPINBTN 1
18123EOF
18124
18125 USES_CONTROLS=1
18126fi
18127
18128if test "$wxUSE_SPINCTRL" = "yes"; then
18129 cat >> confdefs.h <<\EOF
18130#define wxUSE_SPINCTRL 1
18131EOF
18132
18133 USES_CONTROLS=1
18134fi
18135
18136if test "$wxUSE_SPLITTER" = "yes"; then
18137 cat >> confdefs.h <<\EOF
18138#define wxUSE_SPLITTER 1
18139EOF
18140
18141 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
18142fi
18143
18144if test "$wxUSE_STATBMP" = "yes"; then
18145 cat >> confdefs.h <<\EOF
18146#define wxUSE_STATBMP 1
18147EOF
18148
18149 USES_CONTROLS=1
18150fi
18151
18152if test "$wxUSE_STATBOX" = "yes"; then
18153 cat >> confdefs.h <<\EOF
18154#define wxUSE_STATBOX 1
18155EOF
18156
18157 USES_CONTROLS=1
18158fi
18159
18160if test "$wxUSE_STATTEXT" = "yes"; then
18161 cat >> confdefs.h <<\EOF
18162#define wxUSE_STATTEXT 1
18163EOF
18164
18165 USES_CONTROLS=1
18166fi
18167
18168if test "$wxUSE_STATLINE" = "yes"; then
18169 if test "$wxUSE_WINE" = 1 ; then
18170 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
18171 else
18172 cat >> confdefs.h <<\EOF
18173#define wxUSE_STATLINE 1
18174EOF
18175
18176 USES_CONTROLS=1
18177 fi
18178fi
18179
18180if test "$wxUSE_STATUSBAR" = "yes"; then
18181 cat >> confdefs.h <<\EOF
18182#define wxUSE_STATUSBAR 1
18183EOF
18184
18185 USES_CONTROLS=1
18186
18187 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
18188fi
18189
18190if test "$wxUSE_TABDIALOG" = "yes"; then
18191 cat >> confdefs.h <<\EOF
18192#define wxUSE_TAB_DIALOG 1
18193EOF
18194
18195 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
18196fi
18197
18198if test "$wxUSE_TEXTCTRL" = "yes"; then
18199 cat >> confdefs.h <<\EOF
18200#define wxUSE_TEXTCTRL 1
18201EOF
18202
18203 USES_CONTROLS=1
18204 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
18205fi
18206
18207if test "$wxUSE_TOGGLEBTN" = "yes"; then
18208 if test "$wxUSE_MAC" = 1; then
18209 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
18210 wxUSE_TOGGLEBTN=no
18211 fi
18212 if test "$wxUSE_UNIVERSAL" = "yes"; then
18213 echo "configure: warning: Toggle button not yet supported under wxUNIVERSAL... disabled" 1>&2
18214 wxUSE_TOGGLEBTN=no
18215 fi
18216
18217 if test "$wxUSE_TOGGLEBTN" = "yes"; then
18218 cat >> confdefs.h <<\EOF
18219#define wxUSE_TOGGLEBTN 1
18220EOF
18221
18222 USES_CONTROLS=1
18223 fi
18224fi
18225
18226if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
18227 cat >> confdefs.h <<\EOF
18228#define wxUSE_TOOLBAR_SIMPLE 1
18229EOF
18230
18231 wxUSE_TOOLBAR="yes"
18232 USES_CONTROLS=1
18233fi
18234
18235if test "$wxUSE_TOOLBAR" = "yes"; then
18236 cat >> confdefs.h <<\EOF
18237#define wxUSE_TOOLBAR 1
18238EOF
18239
18240 USES_CONTROLS=1
18241
18242 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
18243 wxUSE_TOOLBAR_NATIVE="yes"
18244 fi
18245
18246 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
18247 cat >> confdefs.h <<\EOF
18248#define wxUSE_TOOLBAR_NATIVE 1
18249EOF
18250
18251 USES_CONTROLS=1
18252 fi
18253
18254 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
18255fi
18256
18257if test "$wxUSE_TOOLTIPS" = "yes"; then
18258 if test "$wxUSE_MOTIF" = 1; then
18259 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
18260 else
18261 if test "$wxUSE_WINE" = 1; then
18262 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
18263 else
18264 if test "$wxUSE_UNIVERSAL" = "yes"; then
18265 echo "configure: warning: wxTooltip not supported yet in wxUNIVERSAL... disabled" 1>&2
18266 else
18267 cat >> confdefs.h <<\EOF
18268#define wxUSE_TOOLTIPS 1
18269EOF
18270
18271 fi
18272 fi
18273 fi
18274fi
18275
18276if test "$wxUSE_TREECTRL" = "yes"; then
18277 if test "$wxUSE_IMAGLIST" = "yes"; then
18278 cat >> confdefs.h <<\EOF
18279#define wxUSE_TREECTRL 1
18280EOF
18281
18282 USES_CONTROLS=1
18283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
18284 else
18285 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
18286 fi
18287fi
18288
18289if test "$wxUSE_POPUPWIN" = "yes"; then
18290 if test "$wxUSE_MAC" = 1; then
18291 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
18292 else
18293 if test "$wxUSE_MOTIF" = 1; then
18294 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
18295 else
18296 cat >> confdefs.h <<\EOF
18297#define wxUSE_POPUPWIN 1
18298EOF
18299
18300
18301 USES_CONTROLS=1
18302 fi
18303 fi
18304fi
18305
18306if test "$wxUSE_TIPWINDOW" = "yes"; then
18307 cat >> confdefs.h <<\EOF
18308#define wxUSE_TIPWINDOW 1
18309EOF
18310
18311fi
18312
18313if test "$USES_CONTROLS" = 1; then
18314 cat >> confdefs.h <<\EOF
18315#define wxUSE_CONTROLS 1
18316EOF
18317
18318fi
18319
18320
18321if test "$wxUSE_TREELAYOUT" = "yes"; then
18322 cat >> confdefs.h <<\EOF
18323#define wxUSE_TREELAYOUT 1
18324EOF
18325
18326 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelay"
18327fi
18328
18329if test "$wxUSE_DRAGIMAGE" = "yes"; then
18330 cat >> confdefs.h <<\EOF
18331#define wxUSE_DRAGIMAGE 1
18332EOF
18333
18334 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
18335fi
18336
18337if test "$wxUSE_MENUS" = "yes"; then
18338 cat >> confdefs.h <<\EOF
18339#define wxUSE_MENUS 1
18340EOF
18341
18342 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
18343fi
18344
18345if test "$wxUSE_METAFILE" = "yes"; then
18346 cat >> confdefs.h <<\EOF
18347#define wxUSE_METAFILE 1
18348EOF
18349
18350fi
18351
18352if test "$wxUSE_MIMETYPE" = "yes"; then
18353 cat >> confdefs.h <<\EOF
18354#define wxUSE_MIMETYPE 1
18355EOF
18356
18357fi
18358
18359if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
18360 cat >> confdefs.h <<\EOF
18361#define wxUSE_SYSTEM_OPTIONS 1
18362EOF
18363
18364fi
18365
18366if test "$wxUSE_MINIFRAME" = "yes"; then
18367 cat >> confdefs.h <<\EOF
18368#define wxUSE_MINIFRAME 1
18369EOF
18370
18371 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
18372fi
18373
18374if test "$wxUSE_HTML" = "yes"; then
18375 cat >> confdefs.h <<\EOF
18376#define wxUSE_HTML 1
18377EOF
18378
18379 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html"
18380fi
18381
18382if test "$wxUSE_VALIDATORS" = "yes"; then
18383 cat >> confdefs.h <<\EOF
18384#define wxUSE_VALIDATORS 1
18385EOF
18386
18387 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
18388fi
18389
18390if test "$wxUSE_PALETTE" = "yes" ; then
18391 cat >> confdefs.h <<\EOF
18392#define wxUSE_PALETTE 1
18393EOF
18394
18395fi
18396
18397if test "$wxUSE_IMAGE" = "yes" ; then
18398 cat >> confdefs.h <<\EOF
18399#define wxUSE_IMAGE 1
18400EOF
18401
18402fi
18403
18404if test "$wxUSE_GIF" = "yes" ; then
18405 cat >> confdefs.h <<\EOF
18406#define wxUSE_GIF 1
18407EOF
18408
18409fi
18410
18411if test "$wxUSE_PCX" = "yes" ; then
18412 cat >> confdefs.h <<\EOF
18413#define wxUSE_PCX 1
18414EOF
18415
18416fi
18417
18418if test "$wxUSE_PNM" = "yes" ; then
18419 cat >> confdefs.h <<\EOF
18420#define wxUSE_PNM 1
18421EOF
18422
18423fi
18424
18425if test "$wxUSE_XPM" = "yes" ; then
18426 cat >> confdefs.h <<\EOF
18427#define wxUSE_XPM 1
18428EOF
18429
18430fi
18431
18432
18433if test "$wxUSE_CHOICEDLG" = "yes"; then
18434 cat >> confdefs.h <<\EOF
18435#define wxUSE_CHOICEDLG 1
18436EOF
18437
18438fi
18439
18440if test "$wxUSE_COLOURDLG" = "yes"; then
18441 cat >> confdefs.h <<\EOF
18442#define wxUSE_COLOURDLG 1
18443EOF
18444
18445fi
18446
18447if test "$wxUSE_FILEDLG" = "yes"; then
18448 cat >> confdefs.h <<\EOF
18449#define wxUSE_FILEDLG 1
18450EOF
18451
18452fi
18453
18454if test "$wxUSE_FINDREPLDLG" = "yes"; then
18455 cat >> confdefs.h <<\EOF
18456#define wxUSE_FINDREPLDLG 1
18457EOF
18458
18459fi
18460
18461if test "$wxUSE_FONTDLG" = "yes"; then
18462 cat >> confdefs.h <<\EOF
18463#define wxUSE_FONTDLG 1
18464EOF
18465
18466fi
18467
18468if test "$wxUSE_DIRDLG" = "yes"; then
18469 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18470 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
18471 else
18472 if test "$wxUSE_TREECTRL" != "yes"; then
18473 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
18474 else
18475 cat >> confdefs.h <<\EOF
18476#define wxUSE_DIRDLG 1
18477EOF
18478
18479 fi
18480 fi
18481fi
18482
18483if test "$wxUSE_MSGDLG" = "yes"; then
18484 cat >> confdefs.h <<\EOF
18485#define wxUSE_MSGDLG 1
18486EOF
18487
18488fi
18489
18490if test "$wxUSE_NUMBERDLG" = "yes"; then
18491 cat >> confdefs.h <<\EOF
18492#define wxUSE_NUMBERDLG 1
18493EOF
18494
18495fi
18496
18497if test "$wxUSE_PROGRESSDLG" = "yes"; then
18498 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18499 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
18500 else
18501 cat >> confdefs.h <<\EOF
18502#define wxUSE_PROGRESSDLG 1
18503EOF
18504
18505 fi
18506fi
18507
18508if test "$wxUSE_SPLASH" = "yes"; then
18509 cat >> confdefs.h <<\EOF
18510#define wxUSE_SPLASH 1
18511EOF
18512
18513fi
18514
18515if test "$wxUSE_STARTUP_TIPS" = "yes"; then
18516 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18517 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
18518 else
18519 cat >> confdefs.h <<\EOF
18520#define wxUSE_STARTUP_TIPS 1
18521EOF
18522
18523 fi
18524fi
18525
18526if test "$wxUSE_TEXTDLG" = "yes"; then
18527 cat >> confdefs.h <<\EOF
18528#define wxUSE_TEXTDLG 1
18529EOF
18530
18531fi
18532
18533if test "$wxUSE_WIZARDDLG" = "yes"; then
18534 cat >> confdefs.h <<\EOF
18535#define wxUSE_WIZARDDLG 1
18536EOF
18537
18538 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
18539fi
18540
18541
18542if test "$cross_compiling" = "yes"; then
18543 OSINFO="\"$host\""
18544else
18545 OSINFO=`uname -s -r -m`
18546 OSINFO="\"$OSINFO\""
18547fi
18548
18549cat >> confdefs.h <<EOF
18550#define WXWIN_OS_DESCRIPTION $OSINFO
18551EOF
18552
18553
18554
18555if test "x$prefix" != "xNONE"; then
18556 wxPREFIX=$prefix
18557else
18558 wxPREFIX=$ac_default_prefix
18559fi
18560
18561cat >> confdefs.h <<EOF
18562#define wxINSTALL_PREFIX "$wxPREFIX"
18563EOF
18564
18565
18566
18567
18568
18569if test "$wxUSE_MAC" = 1 ; then
18570 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
18571fi
18572
18573
18574LIBS="$ZLIB_LINK$POSIX4_LINK$INET_LINK$WCHAR_LINK$THREADS_LINK$DL_LINK -lm$LIBS"
18575
18576if test "$wxUSE_GUI" = "yes"; then
18577
18578 LIBS=" $GUI_TK_LIBRARY$PNG_LINK$JPEG_LINK$TIFF_LINK$FREETYPE_LINK$LIBS"
18579
18580
18581 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS controls dialogs \
18582 drawing dynamic erase event exec font image \
18583 minimal richedit rotate widgets"
18584
18585 CPPFLAGS="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
18586else
18587 SAMPLES_SUBDIRS="console"
18588fi
18589
18590
18591INCLUDES="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
18592$REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
18593$FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
18594
18595if test "$wxUSE_GTK" = 1; then
18596 WXCONFIG_INCLUDE=
18597else
18598 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
18599fi
18600
18601if test "$GXX" = yes ; then
18602 CXXWARNINGS="-Wall"
18603
18604 if test "$wxUSE_NO_DEPS" = "no" ; then
18605 CFLAGS="-MMD $CFLAGS"
18606 CXXFLAGS="-MMD $CXXFLAGS"
18607 fi
18608fi
18609
18610EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG$PROFILE $OPTIMISE $INCLUDES"
18611
18612CFLAGS=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
18613CXXFLAGS=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
18614
18615LDFLAGS="$LDFLAGS$PROFILE"
18616
18617SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
18704echo "configure:18705: checking whether ${MAKE-make} sets \${MAKE}" >&5
18705set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
18706if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
18707 echo $ac_n "(cached) $ac_c" 1>&6
18708else
18709 cat > conftestmake <<\EOF
18710all:
18711 @echo 'ac_maketemp="${MAKE}"'
18712EOF
18713# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18714eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
18715if test -n "$ac_maketemp"; then
18716 eval ac_cv_prog_make_${ac_make}_set=yes
18717else
18718 eval ac_cv_prog_make_${ac_make}_set=no
18719fi
18720rm -f conftestmake
18721fi
18722if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
18723 echo "$ac_t""yes" 1>&6
18724 SET_MAKE=
18725else
18726 echo "$ac_t""no" 1>&6
18727 SET_MAKE="MAKE=${MAKE-make}"
18728fi
18729
18730
18731if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
18732 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
18733fi
18734
18735
18736
18737if test "$wxUSE_GUI" = "yes"; then
18738 wx_cv_path_samplesubdirs=$SAMPLES_SUBDIRS
18739 wx_cv_path_ifs=$PATH_IFS
18740 wx_cv_program_ext=$PROGRAM_EXT
18741 wx_cv_target_library=$WX_TARGET_LIBRARY
18742 wx_cv_target_library_gl=$WX_TARGET_LIBRARY_GL
18743 wx_cv_target_libtype=$WX_TARGET_LIBRARY_TYPE
18744 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
18745 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
18746 subdirs="demos samples utils contrib"
18747
18748fi
18749
18750trap '' 1 2 15
18751cat > confcache <<\EOF
18752# This file is a shell script that caches the results of configure
18753# tests run on this system so they can be shared between configure
18754# scripts and configure runs. It is not useful on other systems.
18755# If it contains results you don't want to keep, you may remove or edit it.
18756#
18757# By default, configure uses ./config.cache as the cache file,
18758# creating it if it does not exist already. You can give configure
18759# the --cache-file=FILE option to use a different cache file; that is
18760# what configure does when it calls configure scripts in
18761# subdirectories, so they share the cache.
18762# Giving --cache-file=/dev/null disables caching, for debugging configure.
18763# config.status only pays attention to the cache file if you give it the
18764# --recheck option to rerun configure.
18765#
18766EOF
18767# The following way of writing the cache mishandles newlines in values,
18768# but we know of no workaround that is simple, portable, and efficient.
18769# So, don't put newlines in cache variables' values.
18770# Ultrix sh set writes to stderr and can't be redirected directly,
18771# and sets the high bit in the cache file unless we assign to the vars.
18772(set) 2>&1 |
18773 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18774 *ac_space=\ *)
18775 # `set' does not quote correctly, so add quotes (double-quote substitution
18776 # turns \\\\ into \\, and sed turns \\ into \).
18777 sed -n \
18778 -e "s/'/'\\\\''/g" \
18779 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18780 ;;
18781 *)
18782 # `set' quotes correctly as required by POSIX, so do not add quotes.
18783 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18784 ;;
18785 esac >> confcache
18786if cmp -s $cache_file confcache; then
18787 :
18788else
18789 if test -w $cache_file; then
18790 echo "updating cache $cache_file"
18791 cat confcache > $cache_file
18792 else
18793 echo "not updating unwritable cache $cache_file"
18794 fi
18795fi
18796rm -f confcache
18797
18798trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18799
18800test "x$prefix" = xNONE && prefix=$ac_default_prefix
18801# Let make expand exec_prefix.
18802test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18803
18804# Any assignment to VPATH causes Sun make to only execute
18805# the first set of double-colon rules, so remove it if not needed.
18806# If there is a colon in the path, we need to keep it.
18807if test "x$srcdir" = x.; then
18808 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
18809fi
18810
18811trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18812
18813DEFS=-DHAVE_CONFIG_H
18814
18815# Without the "./", some shells look in PATH for config.status.
18816: ${CONFIG_STATUS=./config.status}
18817
18818echo creating $CONFIG_STATUS
18819rm -f $CONFIG_STATUS
18820cat > $CONFIG_STATUS <<EOF
18821#! /bin/sh
18822# Generated automatically by configure.
18823# Run this file to recreate the current configuration.
18824# This directory was configured as follows,
18825# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18826#
18827# $0 $ac_configure_args
18828#
18829# Compiler output produced by configure, useful for debugging
18830# configure, is in ./config.log if it exists.
18831
18832ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18833for ac_option
18834do
18835 case "\$ac_option" in
18836 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18837 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18838 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18839 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18840 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18841 exit 0 ;;
18842 -help | --help | --hel | --he | --h)
18843 echo "\$ac_cs_usage"; exit 0 ;;
18844 *) echo "\$ac_cs_usage"; exit 1 ;;
18845 esac
18846done
18847
18848ac_given_srcdir=$srcdir
18849ac_given_INSTALL="$INSTALL"
18850
18851trap 'rm -fr `echo "
18852 wx-config
18853 src/make.env
18854 src/makeprog.env
18855 src/makelib.env
18856 Makefile
18857 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18858EOF
18859cat >> $CONFIG_STATUS <<EOF
18860
18861# Protect against being on the right side of a sed subst in config.status.
18862sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18863 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18864$ac_vpsub
18865$extrasub
18866s%@SHELL@%$SHELL%g
18867s%@CFLAGS@%$CFLAGS%g
18868s%@CPPFLAGS@%$CPPFLAGS%g
18869s%@CXXFLAGS@%$CXXFLAGS%g
18870s%@FFLAGS@%$FFLAGS%g
18871s%@DEFS@%$DEFS%g
18872s%@LDFLAGS@%$LDFLAGS%g
18873s%@LIBS@%$LIBS%g
18874s%@exec_prefix@%$exec_prefix%g
18875s%@prefix@%$prefix%g
18876s%@program_transform_name@%$program_transform_name%g
18877s%@bindir@%$bindir%g
18878s%@sbindir@%$sbindir%g
18879s%@libexecdir@%$libexecdir%g
18880s%@datadir@%$datadir%g
18881s%@sysconfdir@%$sysconfdir%g
18882s%@sharedstatedir@%$sharedstatedir%g
18883s%@localstatedir@%$localstatedir%g
18884s%@libdir@%$libdir%g
18885s%@includedir@%$includedir%g
18886s%@oldincludedir@%$oldincludedir%g
18887s%@infodir@%$infodir%g
18888s%@mandir@%$mandir%g
18889s%@host@%$host%g
18890s%@host_alias@%$host_alias%g
18891s%@host_cpu@%$host_cpu%g
18892s%@host_vendor@%$host_vendor%g
18893s%@host_os@%$host_os%g
18894s%@target@%$target%g
18895s%@target_alias@%$target_alias%g
18896s%@target_cpu@%$target_cpu%g
18897s%@target_vendor@%$target_vendor%g
18898s%@target_os@%$target_os%g
18899s%@build@%$build%g
18900s%@build_alias@%$build_alias%g
18901s%@build_cpu@%$build_cpu%g
18902s%@build_vendor@%$build_vendor%g
18903s%@build_os@%$build_os%g
18904s%@CC@%$CC%g
18905s%@CPP@%$CPP%g
18906s%@CXX@%$CXX%g
18907s%@RANLIB@%$RANLIB%g
18908s%@AR@%$AR%g
18909s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18910s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18911s%@INSTALL_DATA@%$INSTALL_DATA%g
18912s%@STRIP@%$STRIP%g
18913s%@YACC@%$YACC%g
18914s%@LEX@%$LEX%g
18915s%@LEXLIB@%$LEXLIB%g
18916s%@LN_S@%$LN_S%g
18917s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
18918s%@GTK_CFLAGS@%$GTK_CFLAGS%g
18919s%@GTK_LIBS@%$GTK_LIBS%g
18920s%@GTK_CONFIG@%$GTK_CONFIG%g
18921s%@X_CFLAGS@%$X_CFLAGS%g
18922s%@X_PRE_LIBS@%$X_PRE_LIBS%g
18923s%@X_LIBS@%$X_LIBS%g
18924s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
18925s%@RESCOMP@%$RESCOMP%g
18926s%@DEREZ@%$DEREZ%g
18927s%@CXXCPP@%$CXXCPP%g
18928s%@LEX_STEM@%$LEX_STEM%g
18929s%@PATH_IFS@%$PATH_IFS%g
18930s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
18931s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
18932s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
18933s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
18934s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
18935s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
18936s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
18937s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
18938s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
18939s%@PROGRAM_EXT@%$PROGRAM_EXT%g
18940s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
18941s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
18942s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
18943s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
18944s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
18945s%@WX_ALL@%$WX_ALL%g
18946s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
18947s%@SHARED_LD@%$SHARED_LD%g
18948s%@PIC_FLAG@%$PIC_FLAG%g
18949s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
18950s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
18951s%@SONAME_FLAGS@%$SONAME_FLAGS%g
18952s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
18953s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
18954s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
18955s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
18956s%@USE_GUI@%$USE_GUI%g
18957s%@AFMINSTALL@%$AFMINSTALL%g
18958s%@TOOLKIT@%$TOOLKIT%g
18959s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
18960s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
18961s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
18962s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
18963s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
18964s%@cross_compiling@%$cross_compiling%g
18965s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
18966s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
18967s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
18968s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
18969s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
18970s%@ALL_OBJECTS@%$ALL_OBJECTS%g
18971s%@GUIDIST@%$GUIDIST%g
18972s%@PORT_FILES@%$PORT_FILES%g
18973s%@DISTDIR@%$DISTDIR%g
18974s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
18975s%@LDFLAGS_GL@%$LDFLAGS_GL%g
18976s%@OPENGL_LIBS@%$OPENGL_LIBS%g
18977s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
18978s%@EXTRADEFS@%$EXTRADEFS%g
18979s%@RESFLAGS@%$RESFLAGS%g
18980s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
18981s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
18982s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
18983s%@LIBWXMACRES@%$LIBWXMACRES%g
18984s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
18985s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
18986s%@DLLTOOL@%$DLLTOOL%g
18987s%@AS@%$AS%g
18988s%@NM@%$NM%g
18989s%@LD@%$LD%g
18990s%@MAKEINFO@%$MAKEINFO%g
18991s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
18992s%@SET_MAKE@%$SET_MAKE%g
18993s%@subdirs@%$subdirs%g
18994
18995CEOF
18996EOF
18997
18998cat >> $CONFIG_STATUS <<\EOF
18999
19000# Split the substitutions into bite-sized pieces for seds with
19001# small command number limits, like on Digital OSF/1 and HP-UX.
19002ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
19003ac_file=1 # Number of current file.
19004ac_beg=1 # First line for current file.
19005ac_end=$ac_max_sed_cmds # Line after last line for current file.
19006ac_more_lines=:
19007ac_sed_cmds=""
19008while $ac_more_lines; do
19009 if test $ac_beg -gt 1; then
19010 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
19011 else
19012 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
19013 fi
19014 if test ! -s conftest.s$ac_file; then
19015 ac_more_lines=false
19016 rm -f conftest.s$ac_file
19017 else
19018 if test -z "$ac_sed_cmds"; then
19019 ac_sed_cmds="sed -f conftest.s$ac_file"
19020 else
19021 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
19022 fi
19023 ac_file=`expr $ac_file + 1`
19024 ac_beg=$ac_end
19025 ac_end=`expr $ac_end + $ac_max_sed_cmds`
19026 fi
19027done
19028if test -z "$ac_sed_cmds"; then
19029 ac_sed_cmds=cat
19030fi
19031EOF
19032
19033cat >> $CONFIG_STATUS <<EOF
19034
19035CONFIG_FILES=\${CONFIG_FILES-"wx-config
19036 src/make.env
19037 src/makeprog.env
19038 src/makelib.env
19039 Makefile
19040 "}
19041EOF
19042cat >> $CONFIG_STATUS <<\EOF
19043for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
19044 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19045 case "$ac_file" in
19046 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
19047 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19048 *) ac_file_in="${ac_file}.in" ;;
19049 esac
19050
19051 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
19052
19053 # Remove last slash and all that follows it. Not all systems have dirname.
19054 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19055 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19056 # The file is in a subdirectory.
19057 test ! -d "$ac_dir" && mkdir "$ac_dir"
19058 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
19059 # A "../" for each directory in $ac_dir_suffix.
19060 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
19061 else
19062 ac_dir_suffix= ac_dots=
19063 fi
19064
19065 case "$ac_given_srcdir" in
19066 .) srcdir=.
19067 if test -z "$ac_dots"; then top_srcdir=.
19068 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
19069 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
19070 *) # Relative path.
19071 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
19072 top_srcdir="$ac_dots$ac_given_srcdir" ;;
19073 esac
19074
19075 case "$ac_given_INSTALL" in
19076 [/$]*) INSTALL="$ac_given_INSTALL" ;;
19077 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
19078 esac
19079
19080 echo creating "$ac_file"
19081 rm -f "$ac_file"
19082 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
19083 case "$ac_file" in
19084 *Makefile*) ac_comsub="1i\\
19085# $configure_input" ;;
19086 *) ac_comsub= ;;
19087 esac
19088
19089 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19090 sed -e "$ac_comsub
19091s%@configure_input@%$configure_input%g
19092s%@srcdir@%$srcdir%g
19093s%@top_srcdir@%$top_srcdir%g
19094s%@INSTALL@%$INSTALL%g
19095" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
19096fi; done
19097rm -f conftest.s*
19098
19099# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
19100# NAME is the cpp macro being defined and VALUE is the value it is being given.
19101#
19102# ac_d sets the value in "#define NAME VALUE" lines.
19103ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
19104ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
19105ac_dC='\3'
19106ac_dD='%g'
19107# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
19108ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19109ac_uB='\([ ]\)%\1#\2define\3'
19110ac_uC=' '
19111ac_uD='\4%g'
19112# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
19113ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19114ac_eB='$%\1#\2define\3'
19115ac_eC=' '
19116ac_eD='%g'
19117
19118if test "${CONFIG_HEADERS+set}" != set; then
19119EOF
19120cat >> $CONFIG_STATUS <<EOF
19121 CONFIG_HEADERS="setup.h:setup.h.in"
19122EOF
19123cat >> $CONFIG_STATUS <<\EOF
19124fi
19125for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
19126 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19127 case "$ac_file" in
19128 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
19129 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19130 *) ac_file_in="${ac_file}.in" ;;
19131 esac
19132
19133 echo creating $ac_file
19134
19135 rm -f conftest.frag conftest.in conftest.out
19136 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19137 cat $ac_file_inputs > conftest.in
19138
19139EOF
19140
19141# Transform confdefs.h into a sed script conftest.vals that substitutes
19142# the proper values into config.h.in to produce config.h. And first:
19143# Protect against being on the right side of a sed subst in config.status.
19144# Protect against being in an unquoted here document in config.status.
19145rm -f conftest.vals
19146cat > conftest.hdr <<\EOF
19147s/[\\&%]/\\&/g
19148s%[\\$`]%\\&%g
19149s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
19150s%ac_d%ac_u%gp
19151s%ac_u%ac_e%gp
19152EOF
19153sed -n -f conftest.hdr confdefs.h > conftest.vals
19154rm -f conftest.hdr
19155
19156# This sed command replaces #undef with comments. This is necessary, for
19157# example, in the case of _POSIX_SOURCE, which is predefined and required
19158# on some systems where configure will not decide to define it.
19159cat >> conftest.vals <<\EOF
19160s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
19161EOF
19162
19163# Break up conftest.vals because some shells have a limit on
19164# the size of here documents, and old seds have small limits too.
19165
19166rm -f conftest.tail
19167while :
19168do
19169 ac_lines=`grep -c . conftest.vals`
19170 # grep -c gives empty output for an empty file on some AIX systems.
19171 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
19172 # Write a limited-size here document to conftest.frag.
19173 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
19174 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
19175 echo 'CEOF
19176 sed -f conftest.frag conftest.in > conftest.out
19177 rm -f conftest.in
19178 mv conftest.out conftest.in
19179' >> $CONFIG_STATUS
19180 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
19181 rm -f conftest.vals
19182 mv conftest.tail conftest.vals
19183done
19184rm -f conftest.vals
19185
19186cat >> $CONFIG_STATUS <<\EOF
19187 rm -f conftest.frag conftest.h
19188 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
19189 cat conftest.in >> conftest.h
19190 rm -f conftest.in
19191 if cmp -s $ac_file conftest.h 2>/dev/null; then
19192 echo "$ac_file is unchanged"
19193 rm -f conftest.h
19194 else
19195 # Remove last slash and all that follows it. Not all systems have dirname.
19196 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19197 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19198 # The file is in a subdirectory.
19199 test ! -d "$ac_dir" && mkdir "$ac_dir"
19200 fi
19201 rm -f $ac_file
19202 mv conftest.h $ac_file
19203 fi
19204fi; done
19205
19206EOF
19207cat >> $CONFIG_STATUS <<EOF
19208
19209 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
19210 LN_S="${LN_S}"
19211
19212
19213EOF
19214cat >> $CONFIG_STATUS <<\EOF
19215
19216 if test ! -h wx-config; then
19217 chmod +x wx-config
19218 mv wx-config wx${TOOLCHAIN_NAME}-config
19219 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
19220 fi
19221
19222 if test ! -d lib; then
19223 mkdir lib
19224 fi
19225 if test ! -d lib/wx; then
19226 mkdir lib/wx
19227 fi
19228 if test ! -d lib/wx/include; then
19229 mkdir lib/wx/include
19230 fi
19231 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
19232 mkdir lib/wx/include/${TOOLCHAIN_NAME}
19233 fi
19234 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
19235 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
19236 fi
19237 if test -f setup.h; then
19238 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
19239 fi
19240
19241exit 0
19242EOF
19243chmod +x $CONFIG_STATUS
19244rm -fr confdefs* $ac_clean_files
19245test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
19246
19247if test "$no_recursion" != yes; then
19248
19249 # Remove --cache-file and --srcdir arguments so they do not pile up.
19250 ac_sub_configure_args=
19251 ac_prev=
19252 for ac_arg in $ac_configure_args; do
19253 if test -n "$ac_prev"; then
19254 ac_prev=
19255 continue
19256 fi
19257 case "$ac_arg" in
19258 -cache-file | --cache-file | --cache-fil | --cache-fi \
19259 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
19260 ac_prev=cache_file ;;
19261 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
19262 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
19263 ;;
19264 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
19265 ac_prev=srcdir ;;
19266 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
19267 ;;
19268 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
19269 esac
19270 done
19271
19272 for ac_config_dir in demos samples utils contrib; do
19273
19274 # Do not complain, so a configure script can configure whichever
19275 # parts of a large source tree are present.
19276 if test ! -d $srcdir/$ac_config_dir; then
19277 continue
19278 fi
19279
19280 echo configuring in $ac_config_dir
19281
19282 case "$srcdir" in
19283 .) ;;
19284 *)
19285 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
19286 else
19287 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
19288 fi
19289 ;;
19290 esac
19291
19292 ac_popdir=`pwd`
19293 cd $ac_config_dir
19294
19295 # A "../" for each directory in /$ac_config_dir.
19296 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
19297
19298 case "$srcdir" in
19299 .) # No --srcdir option. We are building in place.
19300 ac_sub_srcdir=$srcdir ;;
19301 /*) # Absolute path.
19302 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
19303 *) # Relative path.
19304 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
19305 esac
19306
19307 # Check for guested configure; otherwise get Cygnus style configure.
19308 if test -f $ac_sub_srcdir/configure; then
19309 ac_sub_configure=$ac_sub_srcdir/configure
19310 elif test -f $ac_sub_srcdir/configure.in; then
19311 ac_sub_configure=$ac_configure
19312 else
19313 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
19314 ac_sub_configure=
19315 fi
19316
19317 # The recursion is here.
19318 if test -n "$ac_sub_configure"; then
19319
19320 # Make the cache file name correct relative to the subdirectory.
19321 case "$cache_file" in
19322 /*) ac_sub_cache_file=$cache_file ;;
19323 *) # Relative path.
19324 ac_sub_cache_file="$ac_dots$cache_file" ;;
19325 esac
19326 case "$ac_given_INSTALL" in
19327 [/$]*) INSTALL="$ac_given_INSTALL" ;;
19328 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
19329 esac
19330
19331 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
19332 # The eval makes quoting arguments work.
19333 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
19334 then :
19335 else
19336 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
19337 fi
19338 fi
19339
19340 cd $ac_popdir
19341 done
19342fi
19343
19344