]> git.saurik.com Git - wxWidgets.git/blame_incremental - configure
Applied patch [ 549256 ] fix minor bug in widgets sample
[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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59# Configure paths for GTK+
60# Owen Taylor 1997-2001
61
62
63
64
65
66
67
68
69# Configure paths for GTK+
70# Owen Taylor 97-11-3
71
72
73
74# Guess values for system-dependent variables and create Makefiles.
75# Generated automatically using autoconf version 2.13
76# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
77#
78# This configure script is free software; the Free Software Foundation
79# gives unlimited permission to copy, distribute and modify it.
80
81# Defaults:
82ac_help=
83ac_default_prefix=/usr/local
84# Any additions from configure.in:
85ac_help="$ac_help
86 --enable-gui use GUI classes"
87ac_help="$ac_help
88 --enable-universal use wxWindows GUI controls instead of native ones"
89ac_help="$ac_help
90 --with-gtk use GTK+"
91ac_help="$ac_help
92 --with-motif use Motif/Lesstif"
93ac_help="$ac_help
94 --with-mac use Mac OS X"
95ac_help="$ac_help
96 --with-wine use WINE"
97ac_help="$ac_help
98 --with-msw use MS-Windows"
99ac_help="$ac_help
100 --with-pm use OS/2 Presentation Manager"
101ac_help="$ac_help
102 --with-mgl use SciTech MGL"
103ac_help="$ac_help
104 --with-microwin use MicroWindows"
105ac_help="$ac_help
106 --with-x11 use X11"
107ac_help="$ac_help
108 --enable-nanox use NanoX"
109ac_help="$ac_help
110 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
111ac_help="$ac_help
112 --with-libpng use libpng (PNG image format)"
113ac_help="$ac_help
114 --with-libjpeg use libjpeg (JPEG file format)"
115ac_help="$ac_help
116 --with-libtiff use libtiff (TIFF file format)"
117ac_help="$ac_help
118 --with-opengl use OpenGL (or Mesa)"
119ac_help="$ac_help
120 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
121ac_help="$ac_help
122 --with-regex enable support for wxRegEx class"
123ac_help="$ac_help
124 --with-zlib use zlib for LZW compression"
125ac_help="$ac_help
126 --with-odbc use the IODBC and wxODBC classes"
127ac_help="$ac_help
128 --enable-shared create shared library code"
129ac_help="$ac_help
130 --enable-soname set the DT_SONAME field in ELF shared libraries"
131ac_help="$ac_help
132 --enable-optimise create optimised code"
133ac_help="$ac_help
134 --enable-debug same as debug_flag and debug_info"
135ac_help="$ac_help
136 --enable-precomp enable use of precompiled headers (Mac OS X/Darwin)"
137ac_help="$ac_help
138 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
139ac_help="$ac_help
140 --enable-debug_info create code with debugging information"
141ac_help="$ac_help
142 --enable-debug_gdb create code with extra GDB debugging information"
143ac_help="$ac_help
144 --enable-debug_cntxt use wxDebugContext"
145ac_help="$ac_help
146 --enable-mem_tracing create code with memory tracing"
147ac_help="$ac_help
148 --enable-profile create code with profiling information"
149ac_help="$ac_help
150 --enable-no_rtti create code without RTTI information"
151ac_help="$ac_help
152 --enable-no_exceptions create code without C++ exceptions handling"
153ac_help="$ac_help
154 --enable-permissive compile code disregarding strict ANSI"
155ac_help="$ac_help
156 --enable-no_deps create code without dependency information"
157ac_help="$ac_help
158 --enable-compat20 enable wxWindows 2.0 compatibility"
159ac_help="$ac_help
160 --disable-compat22 disable wxWindows 2.2 compatibility"
161ac_help="$ac_help
162 --enable-rpath=DIR output the rpath flag from wx-config"
163ac_help="$ac_help
164 --enable-intl use internationalization system"
165ac_help="$ac_help
166 --enable-config use wxConfig (and derived) classes"
167ac_help="$ac_help
168 --enable-protocols use wxProtocol and derived classes"
169ac_help="$ac_help
170 --enable-ftp use wxFTP (requires wxProtocol"
171ac_help="$ac_help
172 --enable-http use wxHTTP (requires wxProtocol"
173ac_help="$ac_help
174 --enable-fileproto use wxFileProto class (requires wxProtocol"
175ac_help="$ac_help
176 --enable-sockets use socket/network classes"
177ac_help="$ac_help
178 --enable-ole use OLE classes"
179ac_help="$ac_help
180 --enable-dataobj use data object classes"
181ac_help="$ac_help
182 --enable-ipc use interprocess communication (wxSocket etc.)"
183ac_help="$ac_help
184 --enable-cmdline use wxCmdLineParser class"
185ac_help="$ac_help
186 --enable-datetime use wxDateTime class"
187ac_help="$ac_help
188 --enable-timedate use obsolete wxDate/wxTime classes"
189ac_help="$ac_help
190 --enable-stopwatch use wxStopWatch class"
191ac_help="$ac_help
192 --enable-dialupman use dialup network classes"
193ac_help="$ac_help
194 --enable-apple_ieee use the Apple IEEE codec"
195ac_help="$ac_help
196 --enable-timer use wxTimer class"
197ac_help="$ac_help
198 --enable-wave use wxWave class"
199ac_help="$ac_help
200 --enable-fraction use wxFraction class"
201ac_help="$ac_help
202 --enable-dynlib use wxLibrary class for DLL loading"
203ac_help="$ac_help
204 --enable-dynamicloader use (new) wxDynamicLibrary class"
205ac_help="$ac_help
206 --enable-longlong use wxLongLong class"
207ac_help="$ac_help
208 --enable-geometry use geometry class"
209ac_help="$ac_help
210 --enable-log use logging system"
211ac_help="$ac_help
212 --enable-streams use wxStream etc classes"
213ac_help="$ac_help
214 --enable-file use wxFile classes"
215ac_help="$ac_help
216 --enable-ffile use wxFFile classes"
217ac_help="$ac_help
218 --enable-textbuf use wxTextBuffer class"
219ac_help="$ac_help
220 --enable-textfile use wxTextFile class"
221ac_help="$ac_help
222 --enable-fontmap use font encodings conversion classes"
223ac_help="$ac_help
224 --enable-unicode compile wxString with Unicode support"
225ac_help="$ac_help
226 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
227ac_help="$ac_help
228 --enable-wxprintfv use wxWindows implementation of vprintf()"
229ac_help="$ac_help
230 --enable-std_iostreams use standard C++ stream classes"
231ac_help="$ac_help
232 --enable-filesystem use virtual file systems classes"
233ac_help="$ac_help
234 --enable-fs_inet use virtual HTTP/FTP filesystems"
235ac_help="$ac_help
236 --enable-fs_zip use virtual ZIP filesystems"
237ac_help="$ac_help
238 --enable-zipstream use wxZipInputStream"
239ac_help="$ac_help
240 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
241ac_help="$ac_help
242 --enable-snglinst use wxSingleInstanceChecker class"
243ac_help="$ac_help
244 --enable-mimetype use wxMimeTypesManager"
245ac_help="$ac_help
246 --enable-sysoptions use wxSystemOptions"
247ac_help="$ac_help
248 --enable-url use wxURL class"
249ac_help="$ac_help
250 --enable-protocol use wxProtocol class"
251ac_help="$ac_help
252 --enable-protocol-http HTTP support in wxProtocol"
253ac_help="$ac_help
254 --enable-protocol-ftp FTP support in wxProtocol"
255ac_help="$ac_help
256 --enable-protocol-file FILE support in wxProtocol"
257ac_help="$ac_help
258 --enable-threads use threads"
259ac_help="$ac_help
260 --enable-docview use document view architecture"
261ac_help="$ac_help
262 --enable-help use help subsystem"
263ac_help="$ac_help
264 --enable-mshtmlhelp use MS HTML Help (win32)"
265ac_help="$ac_help
266 --enable-html use wxHTML sub-library"
267ac_help="$ac_help
268 --enable-htmlhelp use wxHTML-based help"
269ac_help="$ac_help
270 --enable-constraints use layout-constraints system"
271ac_help="$ac_help
272 --enable-printarch use printing architecture"
273ac_help="$ac_help
274 --enable-mdi use multiple document interface architecture"
275ac_help="$ac_help
276 --enable-loggui use standard GUI logger"
277ac_help="$ac_help
278 --enable-logwin use wxLogWindow"
279ac_help="$ac_help
280 --enable-logdialog use wxLogDialog"
281ac_help="$ac_help
282 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
283ac_help="$ac_help
284 --enable-prologio use Prolog IO library"
285ac_help="$ac_help
286 --enable-resources use wxWindows resources"
287ac_help="$ac_help
288 --enable-xresources use X resources for save (default for gtk+)"
289ac_help="$ac_help
290 --enable-clipboard use wxClipboard classes"
291ac_help="$ac_help
292 --enable-dnd use Drag'n'Drop classes"
293ac_help="$ac_help
294 --enable-metafile use win32 metafiles"
295ac_help="$ac_help
296 --enable-treelayout use wxTreeLayout classes"
297ac_help="$ac_help
298 --enable-controls use all usual controls"
299ac_help="$ac_help
300 --enable-accel use accelerators"
301ac_help="$ac_help
302 --enable-button use wxButton class"
303ac_help="$ac_help
304 --enable-bmpbutton use wxBitmapButton class"
305ac_help="$ac_help
306 --enable-calendar use wxCalendarCtrl class"
307ac_help="$ac_help
308 --enable-caret use wxCaret class"
309ac_help="$ac_help
310 --enable-checkbox use wxCheckBox class"
311ac_help="$ac_help
312 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
313ac_help="$ac_help
314 --enable-choice use wxChoice class"
315ac_help="$ac_help
316 --enable-combobox use wxComboBox classes"
317ac_help="$ac_help
318 --enable-gauge use wxGauge class"
319ac_help="$ac_help
320 --enable-grid use wxGrid class"
321ac_help="$ac_help
322 --enable-newgrid use new wxGrid class"
323ac_help="$ac_help
324 --enable-imaglist use wxImageList class"
325ac_help="$ac_help
326 --enable-listbox use wxListBox class"
327ac_help="$ac_help
328 --enable-listctrl use wxListCtrl class"
329ac_help="$ac_help
330 --enable-notebook use wxNotebook class"
331ac_help="$ac_help
332 --enable-propsheet use wxPropertySheet class"
333ac_help="$ac_help
334 --enable-radiobox use wxRadioBox class"
335ac_help="$ac_help
336 --enable-radiobtn use wxRadioButton class"
337ac_help="$ac_help
338 --enable-sash use wxSashWindow class"
339ac_help="$ac_help
340 --enable-scrollbar use wxScrollBar class and scrollable windows"
341ac_help="$ac_help
342 --enable-slider use wxSlider class"
343ac_help="$ac_help
344 --enable-spinbtn use wxSpinButton class"
345ac_help="$ac_help
346 --enable-spinctrl use wxSpinCtrl class"
347ac_help="$ac_help
348 --enable-splitter use wxSplitterWindow class"
349ac_help="$ac_help
350 --enable-statbmp use wxStaticBitmap class"
351ac_help="$ac_help
352 --enable-statbox use wxStaticBox class"
353ac_help="$ac_help
354 --enable-statline use wxStaticLine class"
355ac_help="$ac_help
356 --enable-stattext use wxStaticText class"
357ac_help="$ac_help
358 --enable-statusbar use wxStatusBar class"
359ac_help="$ac_help
360 --enable-tabdialog use wxTabControl class"
361ac_help="$ac_help
362 --enable-textctrl use wxTextCtrl class"
363ac_help="$ac_help
364 --enable-togglebtn use wxToggleButton class"
365ac_help="$ac_help
366 --enable-toolbar use wxToolBar class"
367ac_help="$ac_help
368 --enable-tbarnative use native wxToolBar class"
369ac_help="$ac_help
370 --enable-tbarsmpl use wxToolBarSimple class"
371ac_help="$ac_help
372 --enable-treectrl use wxTreeCtrl class"
373ac_help="$ac_help
374 --enable-tipwindow use wxTipWindow class"
375ac_help="$ac_help
376 --enable-popupwin use wxPopUpWindow class"
377ac_help="$ac_help
378 --enable-commondlg use all common dialogs"
379ac_help="$ac_help
380 --enable-choicedlg use wxChoiceDialog"
381ac_help="$ac_help
382 --enable-coldlg use wxColourDialog"
383ac_help="$ac_help
384 --enable-filedlg use wxFileDialog"
385ac_help="$ac_help
386 --enable-finddlg use wxFindReplaceDialog"
387ac_help="$ac_help
388 --enable-fontdlg use wxFontDialog"
389ac_help="$ac_help
390 --enable-dirdlg use wxDirDialog"
391ac_help="$ac_help
392 --enable-msgdlg use wxMessageDialog"
393ac_help="$ac_help
394 --enable-numberdlg use wxNumberEntryDialog"
395ac_help="$ac_help
396 --enable-splash use wxSplashScreen"
397ac_help="$ac_help
398 --enable-textdlg use wxTextDialog"
399ac_help="$ac_help
400 --enable-tipdlg use startup tips"
401ac_help="$ac_help
402 --enable-progressdlg use wxProgressDialog"
403ac_help="$ac_help
404 --enable-wizarddlg use wxWizard"
405ac_help="$ac_help
406 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
407ac_help="$ac_help
408 --enable-miniframe use wxMiniFrame class"
409ac_help="$ac_help
410 --enable-tooltips use wxToolTip class"
411ac_help="$ac_help
412 --enable-splines use spline drawing code"
413ac_help="$ac_help
414 --enable-validators use wxValidator and derived classes"
415ac_help="$ac_help
416 --enable-busyinfo use wxBusyInfo"
417ac_help="$ac_help
418 --enable-joystick use wxJoystick (Linux only)"
419ac_help="$ac_help
420 --enable-metafiles use wxMetaFile (Windows only)"
421ac_help="$ac_help
422 --enable-dragimage use wxDragImage"
423ac_help="$ac_help
424 --enable-palette use wxPalette class"
425ac_help="$ac_help
426 --enable-image use wxImage class"
427ac_help="$ac_help
428 --enable-gif use gif images (GIF file format)"
429ac_help="$ac_help
430 --enable-pcx use pcx images (PCX file format)"
431ac_help="$ac_help
432 --enable-iff use iff images (IFF file format)"
433ac_help="$ac_help
434 --enable-pnm use pnm images (PNM file format)"
435ac_help="$ac_help
436 --enable-xpm use xpm images (XPM file format)"
437ac_help="$ac_help
438 --enable-icocur use Windows ICO and CUR formats"
439ac_help="$ac_help
440 --disable-largefile omit support for large files"
441ac_help="$ac_help
442 --disable-gtktest do not try to compile and run a test GTK+ program"
443ac_help="$ac_help
444 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
445ac_help="$ac_help
446 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
447ac_help="$ac_help
448 --disable-gtktest Do not try to compile and run a test GTK program"
449ac_help="$ac_help
450 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
451ac_help="$ac_help
452 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
453ac_help="$ac_help
454 --disable-gtktest Do not try to compile and run a test GTK program"
455ac_help="$ac_help
456 --with-x use the X Window System"
457ac_help="$ac_help
458 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
459
460# Initialize some variables set by options.
461# The variables have the same names as the options, with
462# dashes changed to underlines.
463build=NONE
464cache_file=./config.cache
465exec_prefix=NONE
466host=NONE
467no_create=
468nonopt=NONE
469no_recursion=
470prefix=NONE
471program_prefix=NONE
472program_suffix=NONE
473program_transform_name=s,x,x,
474silent=
475site=
476srcdir=
477target=NONE
478verbose=
479x_includes=NONE
480x_libraries=NONE
481bindir='${exec_prefix}/bin'
482sbindir='${exec_prefix}/sbin'
483libexecdir='${exec_prefix}/libexec'
484datadir='${prefix}/share'
485sysconfdir='${prefix}/etc'
486sharedstatedir='${prefix}/com'
487localstatedir='${prefix}/var'
488libdir='${exec_prefix}/lib'
489includedir='${prefix}/include'
490oldincludedir='/usr/include'
491infodir='${prefix}/info'
492mandir='${prefix}/man'
493
494# Initialize some other variables.
495subdirs=
496MFLAGS= MAKEFLAGS=
497SHELL=${CONFIG_SHELL-/bin/sh}
498# Maximum number of lines to put in a shell here document.
499ac_max_here_lines=12
500
501ac_prev=
502for ac_option
503do
504
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
508 ac_prev=
509 continue
510 fi
511
512 case "$ac_option" in
513 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
514 *) ac_optarg= ;;
515 esac
516
517 # Accept the important Cygnus configure options, so we can diagnose typos.
518
519 case "$ac_option" in
520
521 -bindir | --bindir | --bindi | --bind | --bin | --bi)
522 ac_prev=bindir ;;
523 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
524 bindir="$ac_optarg" ;;
525
526 -build | --build | --buil | --bui | --bu)
527 ac_prev=build ;;
528 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
529 build="$ac_optarg" ;;
530
531 -cache-file | --cache-file | --cache-fil | --cache-fi \
532 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
533 ac_prev=cache_file ;;
534 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
535 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
536 cache_file="$ac_optarg" ;;
537
538 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
539 ac_prev=datadir ;;
540 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
541 | --da=*)
542 datadir="$ac_optarg" ;;
543
544 -disable-* | --disable-*)
545 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
546 # Reject names that are not valid shell variable names.
547 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
548 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
549 fi
550 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
551 eval "enable_${ac_feature}=no" ;;
552
553 -enable-* | --enable-*)
554 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
555 # Reject names that are not valid shell variable names.
556 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
557 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
558 fi
559 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
560 case "$ac_option" in
561 *=*) ;;
562 *) ac_optarg=yes ;;
563 esac
564 eval "enable_${ac_feature}='$ac_optarg'" ;;
565
566 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
567 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
568 | --exec | --exe | --ex)
569 ac_prev=exec_prefix ;;
570 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
571 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
572 | --exec=* | --exe=* | --ex=*)
573 exec_prefix="$ac_optarg" ;;
574
575 -gas | --gas | --ga | --g)
576 # Obsolete; use --with-gas.
577 with_gas=yes ;;
578
579 -help | --help | --hel | --he)
580 # Omit some internal or obsolete options to make the list less imposing.
581 # This message is too long to be a string in the A/UX 3.1 sh.
582 cat << EOF
583Usage: configure [options] [host]
584Options: [defaults in brackets after descriptions]
585Configuration:
586 --cache-file=FILE cache test results in FILE
587 --help print this message
588 --no-create do not create output files
589 --quiet, --silent do not print \`checking...' messages
590 --version print the version of autoconf that created configure
591Directory and file names:
592 --prefix=PREFIX install architecture-independent files in PREFIX
593 [$ac_default_prefix]
594 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
595 [same as prefix]
596 --bindir=DIR user executables in DIR [EPREFIX/bin]
597 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
598 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
599 --datadir=DIR read-only architecture-independent data in DIR
600 [PREFIX/share]
601 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
602 --sharedstatedir=DIR modifiable architecture-independent data in DIR
603 [PREFIX/com]
604 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
605 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
606 --includedir=DIR C header files in DIR [PREFIX/include]
607 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
608 --infodir=DIR info documentation in DIR [PREFIX/info]
609 --mandir=DIR man documentation in DIR [PREFIX/man]
610 --srcdir=DIR find the sources in DIR [configure dir or ..]
611 --program-prefix=PREFIX prepend PREFIX to installed program names
612 --program-suffix=SUFFIX append SUFFIX to installed program names
613 --program-transform-name=PROGRAM
614 run sed PROGRAM on installed program names
615EOF
616 cat << EOF
617Host type:
618 --build=BUILD configure for building on BUILD [BUILD=HOST]
619 --host=HOST configure for HOST [guessed]
620 --target=TARGET configure for TARGET [TARGET=HOST]
621Features and packages:
622 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
623 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
624 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
625 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
626 --x-includes=DIR X include files are in DIR
627 --x-libraries=DIR X library files are in DIR
628EOF
629 if test -n "$ac_help"; then
630 echo "--enable and --with options recognized:$ac_help"
631 fi
632 exit 0 ;;
633
634 -host | --host | --hos | --ho)
635 ac_prev=host ;;
636 -host=* | --host=* | --hos=* | --ho=*)
637 host="$ac_optarg" ;;
638
639 -includedir | --includedir | --includedi | --included | --include \
640 | --includ | --inclu | --incl | --inc)
641 ac_prev=includedir ;;
642 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
643 | --includ=* | --inclu=* | --incl=* | --inc=*)
644 includedir="$ac_optarg" ;;
645
646 -infodir | --infodir | --infodi | --infod | --info | --inf)
647 ac_prev=infodir ;;
648 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
649 infodir="$ac_optarg" ;;
650
651 -libdir | --libdir | --libdi | --libd)
652 ac_prev=libdir ;;
653 -libdir=* | --libdir=* | --libdi=* | --libd=*)
654 libdir="$ac_optarg" ;;
655
656 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
657 | --libexe | --libex | --libe)
658 ac_prev=libexecdir ;;
659 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
660 | --libexe=* | --libex=* | --libe=*)
661 libexecdir="$ac_optarg" ;;
662
663 -localstatedir | --localstatedir | --localstatedi | --localstated \
664 | --localstate | --localstat | --localsta | --localst \
665 | --locals | --local | --loca | --loc | --lo)
666 ac_prev=localstatedir ;;
667 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
668 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
669 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
670 localstatedir="$ac_optarg" ;;
671
672 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
673 ac_prev=mandir ;;
674 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
675 mandir="$ac_optarg" ;;
676
677 -nfp | --nfp | --nf)
678 # Obsolete; use --without-fp.
679 with_fp=no ;;
680
681 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
682 | --no-cr | --no-c)
683 no_create=yes ;;
684
685 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
686 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
687 no_recursion=yes ;;
688
689 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
690 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
691 | --oldin | --oldi | --old | --ol | --o)
692 ac_prev=oldincludedir ;;
693 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
694 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
695 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
696 oldincludedir="$ac_optarg" ;;
697
698 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
699 ac_prev=prefix ;;
700 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
701 prefix="$ac_optarg" ;;
702
703 -program-prefix | --program-prefix | --program-prefi | --program-pref \
704 | --program-pre | --program-pr | --program-p)
705 ac_prev=program_prefix ;;
706 -program-prefix=* | --program-prefix=* | --program-prefi=* \
707 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
708 program_prefix="$ac_optarg" ;;
709
710 -program-suffix | --program-suffix | --program-suffi | --program-suff \
711 | --program-suf | --program-su | --program-s)
712 ac_prev=program_suffix ;;
713 -program-suffix=* | --program-suffix=* | --program-suffi=* \
714 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
715 program_suffix="$ac_optarg" ;;
716
717 -program-transform-name | --program-transform-name \
718 | --program-transform-nam | --program-transform-na \
719 | --program-transform-n | --program-transform- \
720 | --program-transform | --program-transfor \
721 | --program-transfo | --program-transf \
722 | --program-trans | --program-tran \
723 | --progr-tra | --program-tr | --program-t)
724 ac_prev=program_transform_name ;;
725 -program-transform-name=* | --program-transform-name=* \
726 | --program-transform-nam=* | --program-transform-na=* \
727 | --program-transform-n=* | --program-transform-=* \
728 | --program-transform=* | --program-transfor=* \
729 | --program-transfo=* | --program-transf=* \
730 | --program-trans=* | --program-tran=* \
731 | --progr-tra=* | --program-tr=* | --program-t=*)
732 program_transform_name="$ac_optarg" ;;
733
734 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
735 | -silent | --silent | --silen | --sile | --sil)
736 silent=yes ;;
737
738 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
739 ac_prev=sbindir ;;
740 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
741 | --sbi=* | --sb=*)
742 sbindir="$ac_optarg" ;;
743
744 -sharedstatedir | --sharedstatedir | --sharedstatedi \
745 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
746 | --sharedst | --shareds | --shared | --share | --shar \
747 | --sha | --sh)
748 ac_prev=sharedstatedir ;;
749 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
750 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
751 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
752 | --sha=* | --sh=*)
753 sharedstatedir="$ac_optarg" ;;
754
755 -site | --site | --sit)
756 ac_prev=site ;;
757 -site=* | --site=* | --sit=*)
758 site="$ac_optarg" ;;
759
760 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
761 ac_prev=srcdir ;;
762 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
763 srcdir="$ac_optarg" ;;
764
765 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
766 | --syscon | --sysco | --sysc | --sys | --sy)
767 ac_prev=sysconfdir ;;
768 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
769 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
770 sysconfdir="$ac_optarg" ;;
771
772 -target | --target | --targe | --targ | --tar | --ta | --t)
773 ac_prev=target ;;
774 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
775 target="$ac_optarg" ;;
776
777 -v | -verbose | --verbose | --verbos | --verbo | --verb)
778 verbose=yes ;;
779
780 -version | --version | --versio | --versi | --vers)
781 echo "configure generated by autoconf version 2.13"
782 exit 0 ;;
783
784 -with-* | --with-*)
785 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
786 # Reject names that are not valid shell variable names.
787 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
788 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
789 fi
790 ac_package=`echo $ac_package| sed 's/-/_/g'`
791 case "$ac_option" in
792 *=*) ;;
793 *) ac_optarg=yes ;;
794 esac
795 eval "with_${ac_package}='$ac_optarg'" ;;
796
797 -without-* | --without-*)
798 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
799 # Reject names that are not valid shell variable names.
800 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
801 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
802 fi
803 ac_package=`echo $ac_package| sed 's/-/_/g'`
804 eval "with_${ac_package}=no" ;;
805
806 --x)
807 # Obsolete; use --with-x.
808 with_x=yes ;;
809
810 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
811 | --x-incl | --x-inc | --x-in | --x-i)
812 ac_prev=x_includes ;;
813 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
814 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
815 x_includes="$ac_optarg" ;;
816
817 -x-libraries | --x-libraries | --x-librarie | --x-librari \
818 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
819 ac_prev=x_libraries ;;
820 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
821 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
822 x_libraries="$ac_optarg" ;;
823
824 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
825 ;;
826
827 *)
828 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
829 echo "configure: warning: $ac_option: invalid host type" 1>&2
830 fi
831 if test "x$nonopt" != xNONE; then
832 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
833 fi
834 nonopt="$ac_option"
835 ;;
836
837 esac
838done
839
840if test -n "$ac_prev"; then
841 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
842fi
843
844trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
845
846# File descriptor usage:
847# 0 standard input
848# 1 file creation
849# 2 errors and warnings
850# 3 some systems may open it to /dev/tty
851# 4 used on the Kubota Titan
852# 6 checking for... messages and results
853# 5 compiler messages saved in config.log
854if test "$silent" = yes; then
855 exec 6>/dev/null
856else
857 exec 6>&1
858fi
859exec 5>./config.log
860
861echo "\
862This file contains any messages produced by compilers while
863running configure, to aid debugging if configure makes a mistake.
864" 1>&5
865
866# Strip out --no-create and --no-recursion so they do not pile up.
867# Also quote any args containing shell metacharacters.
868ac_configure_args=
869for ac_arg
870do
871 case "$ac_arg" in
872 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
873 | --no-cr | --no-c) ;;
874 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
875 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
876 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
877 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
878 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
879 esac
880done
881
882# NLS nuisances.
883# Only set these to C if already set. These must not be set unconditionally
884# because not all systems understand e.g. LANG=C (notably SCO).
885# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
886# Non-C LC_CTYPE values break the ctype check.
887if test "${LANG+set}" = set; then LANG=C; export LANG; fi
888if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
889if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
890if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
891
892# confdefs.h avoids OS command line length limits that DEFS can exceed.
893rm -rf conftest* confdefs.h
894# AIX cpp loses on an empty file, so make sure it contains at least a newline.
895echo > confdefs.h
896
897# A filename unique to this package, relative to the directory that
898# configure is in, which we can look for to find out if srcdir is correct.
899ac_unique_file=wx-config.in
900
901# Find the source files, if location was not specified.
902if test -z "$srcdir"; then
903 ac_srcdir_defaulted=yes
904 # Try the directory containing this script, then its parent.
905 ac_prog=$0
906 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
907 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
908 srcdir=$ac_confdir
909 if test ! -r $srcdir/$ac_unique_file; then
910 srcdir=..
911 fi
912else
913 ac_srcdir_defaulted=no
914fi
915if test ! -r $srcdir/$ac_unique_file; then
916 if test "$ac_srcdir_defaulted" = yes; then
917 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
918 else
919 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
920 fi
921fi
922srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
923
924# Prefer explicitly selected file to automatically selected ones.
925if test -z "$CONFIG_SITE"; then
926 if test "x$prefix" != xNONE; then
927 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
928 else
929 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
930 fi
931fi
932for ac_site_file in $CONFIG_SITE; do
933 if test -r "$ac_site_file"; then
934 echo "loading site script $ac_site_file"
935 . "$ac_site_file"
936 fi
937done
938
939if test -r "$cache_file"; then
940 echo "loading cache $cache_file"
941 . $cache_file
942else
943 echo "creating cache $cache_file"
944 > $cache_file
945fi
946
947ac_ext=c
948# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
949ac_cpp='$CPP $CPPFLAGS'
950ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
951ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
952cross_compiling=$ac_cv_prog_cc_cross
953
954ac_exeext=
955ac_objext=o
956if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
957 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
958 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
959 ac_n= ac_c='
960' ac_t=' '
961 else
962 ac_n=-n ac_c= ac_t=
963 fi
964else
965 ac_n= ac_c='\c' ac_t=
966fi
967
968
969
970ac_aux_dir=
971for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
972 if test -f $ac_dir/install-sh; then
973 ac_aux_dir=$ac_dir
974 ac_install_sh="$ac_aux_dir/install-sh -c"
975 break
976 elif test -f $ac_dir/install.sh; then
977 ac_aux_dir=$ac_dir
978 ac_install_sh="$ac_aux_dir/install.sh -c"
979 break
980 fi
981done
982if test -z "$ac_aux_dir"; then
983 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
984fi
985ac_config_guess=$ac_aux_dir/config.guess
986ac_config_sub=$ac_aux_dir/config.sub
987ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
988
989
990# Do some error checking and defaulting for the host and target type.
991# The inputs are:
992# configure --host=HOST --target=TARGET --build=BUILD NONOPT
993#
994# The rules are:
995# 1. You are not allowed to specify --host, --target, and nonopt at the
996# same time.
997# 2. Host defaults to nonopt.
998# 3. If nonopt is not specified, then host defaults to the current host,
999# as determined by config.guess.
1000# 4. Target and build default to nonopt.
1001# 5. If nonopt is not specified, then target and build default to host.
1002
1003# The aliases save the names the user supplied, while $host etc.
1004# will get canonicalized.
1005case $host---$target---$nonopt in
1006NONE---*---* | *---NONE---* | *---*---NONE) ;;
1007*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
1008esac
1009
1010
1011# Make sure we can run config.sub.
1012if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
1013else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1014fi
1015
1016echo $ac_n "checking host system type""... $ac_c" 1>&6
1017echo "configure:1018: checking host system type" >&5
1018
1019host_alias=$host
1020case "$host_alias" in
1021NONE)
1022 case $nonopt in
1023 NONE)
1024 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1025 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1026 fi ;;
1027 *) host_alias=$nonopt ;;
1028 esac ;;
1029esac
1030
1031host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1032host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1033host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1034host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1035echo "$ac_t""$host" 1>&6
1036
1037echo $ac_n "checking target system type""... $ac_c" 1>&6
1038echo "configure:1039: checking target system type" >&5
1039
1040target_alias=$target
1041case "$target_alias" in
1042NONE)
1043 case $nonopt in
1044 NONE) target_alias=$host_alias ;;
1045 *) target_alias=$nonopt ;;
1046 esac ;;
1047esac
1048
1049target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1050target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1051target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1052target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1053echo "$ac_t""$target" 1>&6
1054
1055echo $ac_n "checking build system type""... $ac_c" 1>&6
1056echo "configure:1057: checking build system type" >&5
1057
1058build_alias=$build
1059case "$build_alias" in
1060NONE)
1061 case $nonopt in
1062 NONE) build_alias=$host_alias ;;
1063 *) build_alias=$nonopt ;;
1064 esac ;;
1065esac
1066
1067build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1068build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1069build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1070build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1071echo "$ac_t""$build" 1>&6
1072
1073test "$host_alias" != "$target_alias" &&
1074 test "$program_prefix$program_suffix$program_transform_name" = \
1075 NONENONEs,x,x, &&
1076 program_prefix=${target_alias}-
1077
1078
1079
1080WX_MAJOR_VERSION_NUMBER=2
1081WX_MINOR_VERSION_NUMBER=3
1082WX_RELEASE_NUMBER=3
1083
1084WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1085WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1086
1087WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1088
1089WX_CURRENT=2
1090WX_REVISION=0
1091WX_AGE=0
1092
1093
1094
1095USE_UNIX=1
1096USE_WIN32=0
1097USE_DOS=0
1098USE_BEOS=0
1099USE_MAC=0
1100
1101USE_LINUX=
1102USE_SGI=
1103USE_HPUX=
1104USE_SYSV=
1105USE_SVR4=
1106USE_AIX=
1107USE_SUN=
1108USE_SOLARIS=
1109USE_SUNOS=
1110USE_ALPHA=
1111USE_OSF=
1112USE_BSD=
1113USE_DARWIN=
1114USE_FREEBSD=
1115USE_OPENBSD=
1116USE_NETBSD=
1117USE_VMS=
1118USE_ULTRIX=
1119USE_DATA_GENERAL=
1120
1121NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1122
1123ALL_TOOLKITS="GTK MAC MGL MICROWIN MOTIF MSW PM WINE X11"
1124
1125DEFAULT_wxUSE_GTK=0
1126DEFAULT_wxUSE_MAC=0
1127DEFAULT_wxUSE_MGL=0
1128DEFAULT_wxUSE_MICROWIN=0
1129DEFAULT_wxUSE_MOTIF=0
1130DEFAULT_wxUSE_MSW=0
1131DEFAULT_wxUSE_PM=0
1132DEFAULT_wxUSE_WINE=0
1133DEFAULT_wxUSE_X11=0
1134
1135DEFAULT_DEFAULT_wxUSE_GTK=0
1136DEFAULT_DEFAULT_wxUSE_MAC=0
1137DEFAULT_DEFAULT_wxUSE_MGL=0
1138DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1139DEFAULT_DEFAULT_wxUSE_MOTIF=0
1140DEFAULT_DEFAULT_wxUSE_MSW=0
1141DEFAULT_DEFAULT_wxUSE_PM=0
1142DEFAULT_DEFAULT_wxUSE_WINE=0
1143DEFAULT_DEFAULT_wxUSE_X11=0
1144
1145PROGRAM_EXT=
1146SO_SUFFIX=so
1147
1148case "${host}" in
1149 *-hp-hpux* )
1150 USE_HPUX=1
1151 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1152 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1153 SO_SUFFIX=sl
1154 cat >> confdefs.h <<\EOF
1155#define __HPUX__ 1
1156EOF
1157
1158 ;;
1159 *-*-linux* )
1160 USE_LINUX=1
1161 cat >> confdefs.h <<\EOF
1162#define __LINUX__ 1
1163EOF
1164
1165 TMP=`uname -m`
1166 if test "x$TMP" = "xalpha"; then
1167 USE_ALPHA=1
1168 cat >> confdefs.h <<\EOF
1169#define __ALPHA__ 1
1170EOF
1171
1172 fi
1173 DEFAULT_DEFAULT_wxUSE_GTK=1
1174 ;;
1175 *-*-irix5* | *-*-irix6* )
1176 USE_SGI=1
1177 USE_SVR4=1
1178 cat >> confdefs.h <<\EOF
1179#define __SGI__ 1
1180EOF
1181
1182 cat >> confdefs.h <<\EOF
1183#define __SVR4__ 1
1184EOF
1185
1186 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1187 ;;
1188 *-*-solaris2* )
1189 USE_SUN=1
1190 USE_SOLARIS=1
1191 USE_SVR4=1
1192 cat >> confdefs.h <<\EOF
1193#define __SUN__ 1
1194EOF
1195
1196 cat >> confdefs.h <<\EOF
1197#define __SOLARIS__ 1
1198EOF
1199
1200 cat >> confdefs.h <<\EOF
1201#define __SVR4__ 1
1202EOF
1203
1204 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1205 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1206 ;;
1207 *-*-sunos4* )
1208 USE_SUN=1
1209 USE_SUNOS=1
1210 USE_BSD=1
1211 cat >> confdefs.h <<\EOF
1212#define __SUN__ 1
1213EOF
1214
1215 cat >> confdefs.h <<\EOF
1216#define __SUNOS__ 1
1217EOF
1218
1219 cat >> confdefs.h <<\EOF
1220#define __BSD__ 1
1221EOF
1222
1223 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1224 ;;
1225 *-*-freebsd*)
1226 USE_BSD=1
1227 USE_FREEBSD=1
1228 cat >> confdefs.h <<\EOF
1229#define __FREEBSD__ 1
1230EOF
1231
1232 cat >> confdefs.h <<\EOF
1233#define __BSD__ 1
1234EOF
1235
1236 DEFAULT_DEFAULT_wxUSE_GTK=1
1237 ;;
1238 *-*-openbsd*)
1239 USE_BSD=1
1240 USE_OPENBSD=1
1241 cat >> confdefs.h <<\EOF
1242#define __FREEBSD__ 1
1243EOF
1244
1245 cat >> confdefs.h <<\EOF
1246#define __OPENBSD__ 1
1247EOF
1248
1249 DEFAULT_DEFAULT_wxUSE_GTK=1
1250 ;;
1251 *-*-netbsd*)
1252 USE_BSD=1
1253 USE_NETBSD=1
1254 cat >> confdefs.h <<\EOF
1255#define __FREEBSD__ 1
1256EOF
1257
1258 cat >> confdefs.h <<\EOF
1259#define __NETBSD__ 1
1260EOF
1261
1262 DEFAULT_DEFAULT_wxUSE_GTK=1
1263 ;;
1264 *-*-osf* )
1265 USE_ALPHA=1
1266 USE_OSF=1
1267 cat >> confdefs.h <<\EOF
1268#define __ALPHA__ 1
1269EOF
1270
1271 cat >> confdefs.h <<\EOF
1272#define __OSF__ 1
1273EOF
1274
1275 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1276 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1277 ;;
1278 *-*-dgux5* )
1279 USE_ALPHA=1
1280 USE_SVR4=1
1281 cat >> confdefs.h <<\EOF
1282#define __ALPHA__ 1
1283EOF
1284
1285 cat >> confdefs.h <<\EOF
1286#define __SVR4__ 1
1287EOF
1288
1289 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1290 ;;
1291 *-*-sysv5* )
1292 USE_SYSV=1
1293 USE_SVR4=1
1294 cat >> confdefs.h <<\EOF
1295#define __SYSV__ 1
1296EOF
1297
1298 cat >> confdefs.h <<\EOF
1299#define __SVR4__ 1
1300EOF
1301
1302 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1303 ;;
1304 *-*-aix* )
1305 USE_AIX=1
1306 USE_SYSV=1
1307 USE_SVR4=1
1308 SO_SUFFIX=a
1309 cat >> confdefs.h <<\EOF
1310#define __AIX__ 1
1311EOF
1312
1313 cat >> confdefs.h <<\EOF
1314#define __SYSV__ 1
1315EOF
1316
1317 cat >> confdefs.h <<\EOF
1318#define __SVR4__ 1
1319EOF
1320
1321 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1322 ;;
1323
1324 *-*-cygwin* | *-*-mingw32* )
1325 SO_SUFFIX=dll
1326 PROGRAM_EXT=".exe"
1327 RESCOMP=windres
1328 DEFAULT_DEFAULT_wxUSE_MSW=1
1329 ;;
1330
1331 *-pc-msdosdjgpp )
1332 USE_UNIX=0
1333 USE_DOS=1
1334 cat >> confdefs.h <<\EOF
1335#define __DOS__ 1
1336EOF
1337
1338 PROGRAM_EXT=".exe"
1339 DEFAULT_DEFAULT_wxUSE_MGL=1
1340 LIBS="$LIBS -lstdc++"
1341 ;;
1342
1343 *-pc-os2_emx | *-pc-os2-emx )
1344 cat >> confdefs.h <<\EOF
1345#define __EMX__ 1
1346EOF
1347
1348 PROGRAM_EXT=".exe"
1349 DEFAULT_DEFAULT_wxUSE_PM=1
1350 ;;
1351
1352 powerpc-*-darwin* )
1353 USE_BSD=1
1354 USE_DARWIN=1
1355 SO_SUFFIX=dylib
1356 cat >> confdefs.h <<\EOF
1357#define __BSD__ 1
1358EOF
1359
1360 cat >> confdefs.h <<\EOF
1361#define __DARWIN__ 1
1362EOF
1363
1364 cat >> confdefs.h <<\EOF
1365#define __POWERPC__ 1
1366EOF
1367
1368 DEFAULT_DEFAULT_wxUSE_MAC=1
1369 ;;
1370
1371 *-*-beos* )
1372 USE_BEOS=1
1373 cat >> confdefs.h <<\EOF
1374#define __BEOS__ 1
1375EOF
1376
1377 ;;
1378
1379 *)
1380 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1381esac
1382
1383
1384
1385
1386 wx_arg_cache_file="configarg.cache"
1387 echo "loading argument cache $wx_arg_cache_file"
1388 rm -f ${wx_arg_cache_file}.tmp
1389 touch ${wx_arg_cache_file}.tmp
1390 touch ${wx_arg_cache_file}
1391
1392
1393DEBUG_CONFIGURE=0
1394if test $DEBUG_CONFIGURE = 1; then
1395 DEFAULT_wxUSE_UNIVERSAL=no
1396
1397 DEFAULT_wxUSE_NANOX=no
1398
1399 DEFAULT_wxUSE_THREADS=yes
1400
1401 DEFAULT_wxUSE_SHARED=yes
1402 DEFAULT_wxUSE_SONAME=no
1403 DEFAULT_wxUSE_OPTIMISE=no
1404 DEFAULT_wxUSE_PROFILE=no
1405 DEFAULT_wxUSE_NO_DEPS=no
1406 DEFAULT_wxUSE_NO_RTTI=no
1407 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1408 DEFAULT_wxUSE_PERMISSIVE=no
1409 DEFAULT_wxUSE_DEBUG_FLAG=yes
1410 DEFAULT_wxUSE_DEBUG_INFO=yes
1411 DEFAULT_wxUSE_DEBUG_GDB=yes
1412 DEFAULT_wxUSE_MEM_TRACING=no
1413 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1414 DEFAULT_wxUSE_DMALLOC=no
1415 DEFAULT_wxUSE_PRECOMP=no
1416 DEFAULT_wxUSE_APPLE_IEEE=no
1417
1418 DEFAULT_wxUSE_LOG=yes
1419 DEFAULT_wxUSE_LOGWINDOW=no
1420 DEFAULT_wxUSE_LOGGUI=no
1421 DEFAULT_wxUSE_LOGDIALOG=no
1422
1423 DEFAULT_wxUSE_GUI=yes
1424 DEFAULT_wxUSE_CONTROLS=no
1425
1426 DEFAULT_wxUSE_REGEX=no
1427 DEFAULT_wxUSE_ZLIB=no
1428 DEFAULT_wxUSE_LIBPNG=no
1429 DEFAULT_wxUSE_LIBJPEG=no
1430 DEFAULT_wxUSE_LIBTIFF=no
1431 DEFAULT_wxUSE_ODBC=no
1432 DEFAULT_wxUSE_OPENGL=no
1433
1434 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1435 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1436 DEFAULT_wxUSE_STD_IOSTREAM=no
1437 DEFAULT_wxUSE_CMDLINE_PARSER=no
1438 DEFAULT_wxUSE_DATETIME=no
1439 DEFAULT_wxUSE_TIMEDATE=no
1440 DEFAULT_wxUSE_TIMER=no
1441 DEFAULT_wxUSE_STOPWATCH=no
1442 DEFAULT_wxUSE_FILE=no
1443 DEFAULT_wxUSE_FFILE=no
1444 DEFAULT_wxUSE_TEXTBUFFER=no
1445 DEFAULT_wxUSE_TEXTFILE=no
1446 DEFAULT_wxUSE_WAVE=no
1447 DEFAULT_wxUSE_INTL=no
1448 DEFAULT_wxUSE_CONFIG=no
1449 DEFAULT_wxUSE_FONTMAP=no
1450 DEFAULT_wxUSE_STREAMS=no
1451 DEFAULT_wxUSE_SOCKETS=no
1452 DEFAULT_wxUSE_OLE=no
1453 DEFAULT_wxUSE_DATAOBJ=no
1454 DEFAULT_wxUSE_DIALUP_MANAGER=no
1455 DEFAULT_wxUSE_JOYSTICK=no
1456 DEFAULT_wxUSE_DYNLIB_CLASS=no
1457 DEFAULT_wxUSE_DYNAMIC_LOADER=no
1458 DEFAULT_wxUSE_LONGLONG=no
1459 DEFAULT_wxUSE_GEOMETRY=no
1460
1461 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
1462 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
1463 DEFAULT_wxUSE_POSTSCRIPT=no
1464
1465 DEFAULT_wxUSE_X_RESOURCES=no
1466 DEFAULT_wxUSE_CLIPBOARD=no
1467 DEFAULT_wxUSE_TOOLTIPS=no
1468 DEFAULT_wxUSE_DRAG_AND_DROP=no
1469 DEFAULT_wxUSE_DRAGIMAGE=no
1470 DEFAULT_wxUSE_SPLINES=no
1471
1472 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
1473 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
1474 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
1475
1476 DEFAULT_wxUSE_PROLOGIO=no
1477 DEFAULT_wxUSE_RESOURCES=no
1478 DEFAULT_wxUSE_CONSTRAINTS=no
1479 DEFAULT_wxUSE_IPC=no
1480 DEFAULT_wxUSE_HELP=no
1481 DEFAULT_wxUSE_MS_HTML_HELP=no
1482 DEFAULT_wxUSE_WXHTML_HELP=no
1483 DEFAULT_wxUSE_TREELAYOUT=no
1484 DEFAULT_wxUSE_METAFILE=no
1485 DEFAULT_wxUSE_MIMETYPE=no
1486 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
1487 DEFAULT_wxUSE_PROTOCOL=no
1488 DEFAULT_wxUSE_PROTOCOL_HTTP=no
1489 DEFAULT_wxUSE_PROTOCOL_FTP=no
1490 DEFAULT_wxUSE_PROTOCOL_FILE=no
1491 DEFAULT_wxUSE_URL=no
1492
1493 DEFAULT_wxUSE_COMMONDLGS=no
1494 DEFAULT_wxUSE_CHOICEDLG=no
1495 DEFAULT_wxUSE_COLOURDLG=no
1496 DEFAULT_wxUSE_DIRDLG=no
1497 DEFAULT_wxUSE_FILEDLG=no
1498 DEFAULT_wxUSE_FINDREPLDLG=no
1499 DEFAULT_wxUSE_FONTDLG=no
1500 DEFAULT_wxUSE_MSGDLG=no
1501 DEFAULT_wxUSE_NUMBERDLG=no
1502 DEFAULT_wxUSE_TEXTDLG=no
1503 DEFAULT_wxUSE_SPLASH=no
1504 DEFAULT_wxUSE_STARTUP_TIPS=no
1505 DEFAULT_wxUSE_PROGRESSDLG=no
1506 DEFAULT_wxUSE_WIZARDDLG=no
1507
1508 DEFAULT_wxUSE_MENUS=no
1509 DEFAULT_wxUSE_MINIFRAME=no
1510 DEFAULT_wxUSE_HTML=no
1511 DEFAULT_wxUSE_FILESYSTEM=no
1512 DEFAULT_wxUSE_FS_INET=no
1513 DEFAULT_wxUSE_FS_ZIP=no
1514 DEFAULT_wxUSE_BUSYINFO=no
1515 DEFAULT_wxUSE_ZIPSTREAM=no
1516 DEFAULT_wxUSE_VALIDATORS=no
1517
1518 DEFAULT_wxUSE_ACCEL=no
1519 DEFAULT_wxUSE_BUTTON=no
1520 DEFAULT_wxUSE_BMPBUTTON=no
1521 DEFAULT_wxUSE_CALCTRL=no
1522 DEFAULT_wxUSE_CARET=no
1523 DEFAULT_wxUSE_CHECKBOX=no
1524 DEFAULT_wxUSE_CHECKLST=no
1525 DEFAULT_wxUSE_CHOICE=no
1526 DEFAULT_wxUSE_COMBOBOX=no
1527 DEFAULT_wxUSE_GAUGE=no
1528 DEFAULT_wxUSE_GRID=no
1529 DEFAULT_wxUSE_NEW_GRID=no
1530 DEFAULT_wxUSE_IMAGLIST=no
1531 DEFAULT_wxUSE_LISTBOX=no
1532 DEFAULT_wxUSE_LISTCTRL=no
1533 DEFAULT_wxUSE_NOTEBOOK=no
1534 DEFAULT_wxUSE_PROPSHEET=no
1535 DEFAULT_wxUSE_RADIOBOX=no
1536 DEFAULT_wxUSE_RADIOBTN=no
1537 DEFAULT_wxUSE_SASH=no
1538 DEFAULT_wxUSE_SCROLLBAR=no
1539 DEFAULT_wxUSE_SLIDER=no
1540 DEFAULT_wxUSE_SPINBTN=no
1541 DEFAULT_wxUSE_SPINCTRL=no
1542 DEFAULT_wxUSE_SPLITTER=no
1543 DEFAULT_wxUSE_STATBMP=no
1544 DEFAULT_wxUSE_STATBOX=no
1545 DEFAULT_wxUSE_STATLINE=no
1546 DEFAULT_wxUSE_STATTEXT=no
1547 DEFAULT_wxUSE_STATUSBAR=yes
1548 DEFAULT_wxUSE_TABDIALOG=no
1549 DEFAULT_wxUSE_TEXTCTRL=no
1550 DEFAULT_wxUSE_TOGGLEBTN=no
1551 DEFAULT_wxUSE_TOOLBAR=no
1552 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
1553 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
1554 DEFAULT_wxUSE_TREECTRL=no
1555 DEFAULT_wxUSE_POPUPWIN=no
1556 DEFAULT_wxUSE_TIPWINDOW=no
1557
1558 DEFAULT_wxUSE_UNICODE=no
1559 DEFAULT_wxUSE_UNICODE_MSLU=no
1560 DEFAULT_wxUSE_WCSRTOMBS=no
1561
1562 DEFAULT_wxUSE_PALETTE=no
1563 DEFAULT_wxUSE_IMAGE=no
1564 DEFAULT_wxUSE_GIF=no
1565 DEFAULT_wxUSE_PCX=no
1566 DEFAULT_wxUSE_PNM=no
1567 DEFAULT_wxUSE_IFF=no
1568 DEFAULT_wxUSE_XPM=no
1569 DEFAULT_wxUSE_ICO_CUR=no
1570else
1571 DEFAULT_wxUSE_UNIVERSAL=no
1572
1573 DEFAULT_wxUSE_NANOX=no
1574
1575 DEFAULT_wxUSE_THREADS=yes
1576
1577 DEFAULT_wxUSE_SHARED=yes
1578 DEFAULT_wxUSE_SONAME=no
1579 DEFAULT_wxUSE_OPTIMISE=yes
1580 DEFAULT_wxUSE_PROFILE=no
1581 DEFAULT_wxUSE_NO_DEPS=no
1582 DEFAULT_wxUSE_NO_RTTI=no
1583 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1584 DEFAULT_wxUSE_PERMISSIVE=no
1585 DEFAULT_wxUSE_DEBUG_FLAG=no
1586 DEFAULT_wxUSE_DEBUG_INFO=no
1587 DEFAULT_wxUSE_DEBUG_GDB=no
1588 DEFAULT_wxUSE_MEM_TRACING=no
1589 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1590 DEFAULT_wxUSE_DMALLOC=no
1591 DEFAULT_wxUSE_PRECOMP=no
1592 DEFAULT_wxUSE_APPLE_IEEE=yes
1593
1594 DEFAULT_wxUSE_LOG=yes
1595 DEFAULT_wxUSE_LOGWINDOW=yes
1596 DEFAULT_wxUSE_LOGGUI=yes
1597 DEFAULT_wxUSE_LOGDIALOG=yes
1598
1599 DEFAULT_wxUSE_GUI=yes
1600
1601 DEFAULT_wxUSE_REGEX=yes
1602 DEFAULT_wxUSE_ZLIB=yes
1603 DEFAULT_wxUSE_LIBPNG=yes
1604 DEFAULT_wxUSE_LIBJPEG=yes
1605 DEFAULT_wxUSE_LIBTIFF=yes
1606 DEFAULT_wxUSE_ODBC=no
1607 DEFAULT_wxUSE_OPENGL=no
1608
1609 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
1610 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
1611 DEFAULT_wxUSE_STD_IOSTREAM=no
1612 DEFAULT_wxUSE_CMDLINE_PARSER=yes
1613 DEFAULT_wxUSE_DATETIME=yes
1614 DEFAULT_wxUSE_TIMEDATE=no
1615 DEFAULT_wxUSE_TIMER=yes
1616 DEFAULT_wxUSE_STOPWATCH=yes
1617 DEFAULT_wxUSE_FILE=yes
1618 DEFAULT_wxUSE_FFILE=yes
1619 DEFAULT_wxUSE_TEXTBUFFER=yes
1620 DEFAULT_wxUSE_TEXTFILE=yes
1621 DEFAULT_wxUSE_WAVE=no
1622 DEFAULT_wxUSE_INTL=yes
1623 DEFAULT_wxUSE_CONFIG=yes
1624 DEFAULT_wxUSE_FONTMAP=yes
1625 DEFAULT_wxUSE_STREAMS=yes
1626 DEFAULT_wxUSE_SOCKETS=yes
1627 DEFAULT_wxUSE_OLE=yes
1628 DEFAULT_wxUSE_DATAOBJ=yes
1629 DEFAULT_wxUSE_DIALUP_MANAGER=yes
1630 DEFAULT_wxUSE_JOYSTICK=yes
1631 DEFAULT_wxUSE_DYNLIB_CLASS=yes
1632 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
1633 DEFAULT_wxUSE_LONGLONG=yes
1634 DEFAULT_wxUSE_GEOMETRY=yes
1635
1636 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
1637 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
1638 DEFAULT_wxUSE_POSTSCRIPT=yes
1639
1640 DEFAULT_wxUSE_X_RESOURCES=no
1641 DEFAULT_wxUSE_CLIPBOARD=yes
1642 DEFAULT_wxUSE_TOOLTIPS=yes
1643 DEFAULT_wxUSE_DRAG_AND_DROP=yes
1644 DEFAULT_wxUSE_DRAGIMAGE=yes
1645 DEFAULT_wxUSE_SPLINES=yes
1646
1647 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
1648 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
1649 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
1650
1651 DEFAULT_wxUSE_PROLOGIO=yes
1652 DEFAULT_wxUSE_RESOURCES=yes
1653 DEFAULT_wxUSE_CONSTRAINTS=yes
1654 DEFAULT_wxUSE_IPC=yes
1655 DEFAULT_wxUSE_HELP=yes
1656 DEFAULT_wxUSE_MS_HTML_HELP=yes
1657 DEFAULT_wxUSE_WXHTML_HELP=yes
1658 DEFAULT_wxUSE_TREELAYOUT=yes
1659 DEFAULT_wxUSE_METAFILE=yes
1660 DEFAULT_wxUSE_MIMETYPE=yes
1661 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
1662 DEFAULT_wxUSE_PROTOCOL=yes
1663 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
1664 DEFAULT_wxUSE_PROTOCOL_FTP=yes
1665 DEFAULT_wxUSE_PROTOCOL_FILE=yes
1666 DEFAULT_wxUSE_URL=yes
1667
1668 DEFAULT_wxUSE_COMMONDLGS=yes
1669 DEFAULT_wxUSE_CHOICEDLG=yes
1670 DEFAULT_wxUSE_COLOURDLG=yes
1671 DEFAULT_wxUSE_DIRDLG=yes
1672 DEFAULT_wxUSE_FILEDLG=yes
1673 DEFAULT_wxUSE_FINDREPLDLG=yes
1674 DEFAULT_wxUSE_FONTDLG=yes
1675 DEFAULT_wxUSE_MSGDLG=yes
1676 DEFAULT_wxUSE_NUMBERDLG=yes
1677 DEFAULT_wxUSE_TEXTDLG=yes
1678 DEFAULT_wxUSE_SPLASH=yes
1679 DEFAULT_wxUSE_STARTUP_TIPS=yes
1680 DEFAULT_wxUSE_PROGRESSDLG=yes
1681 DEFAULT_wxUSE_WIZARDDLG=yes
1682
1683 DEFAULT_wxUSE_MENUS=yes
1684 DEFAULT_wxUSE_MINIFRAME=yes
1685 DEFAULT_wxUSE_HTML=yes
1686 DEFAULT_wxUSE_FILESYSTEM=yes
1687 DEFAULT_wxUSE_FS_INET=yes
1688 DEFAULT_wxUSE_FS_ZIP=yes
1689 DEFAULT_wxUSE_BUSYINFO=yes
1690 DEFAULT_wxUSE_ZIPSTREAM=yes
1691 DEFAULT_wxUSE_VALIDATORS=yes
1692
1693 DEFAULT_wxUSE_ACCEL=yes
1694 DEFAULT_wxUSE_BUTTON=yes
1695 DEFAULT_wxUSE_BMPBUTTON=yes
1696 DEFAULT_wxUSE_CALCTRL=yes
1697 DEFAULT_wxUSE_CARET=yes
1698 DEFAULT_wxUSE_CHECKBOX=yes
1699 DEFAULT_wxUSE_CHECKLST=yes
1700 DEFAULT_wxUSE_CHOICE=yes
1701 DEFAULT_wxUSE_COMBOBOX=yes
1702 DEFAULT_wxUSE_GAUGE=yes
1703 DEFAULT_wxUSE_GRID=yes
1704 DEFAULT_wxUSE_NEW_GRID=yes
1705 DEFAULT_wxUSE_IMAGLIST=yes
1706 DEFAULT_wxUSE_LISTBOX=yes
1707 DEFAULT_wxUSE_LISTCTRL=yes
1708 DEFAULT_wxUSE_NOTEBOOK=yes
1709 DEFAULT_wxUSE_PROPSHEET=yes
1710 DEFAULT_wxUSE_RADIOBOX=yes
1711 DEFAULT_wxUSE_RADIOBTN=yes
1712 DEFAULT_wxUSE_SASH=yes
1713 DEFAULT_wxUSE_SCROLLBAR=yes
1714 DEFAULT_wxUSE_SLIDER=yes
1715 DEFAULT_wxUSE_SPINBTN=yes
1716 DEFAULT_wxUSE_SPINCTRL=yes
1717 DEFAULT_wxUSE_SPLITTER=yes
1718 DEFAULT_wxUSE_STATBMP=yes
1719 DEFAULT_wxUSE_STATBOX=yes
1720 DEFAULT_wxUSE_STATLINE=yes
1721 DEFAULT_wxUSE_STATTEXT=yes
1722 DEFAULT_wxUSE_STATUSBAR=yes
1723 DEFAULT_wxUSE_TABDIALOG=no
1724 DEFAULT_wxUSE_TEXTCTRL=yes
1725 DEFAULT_wxUSE_TOGGLEBTN=yes
1726 DEFAULT_wxUSE_TOOLBAR=yes
1727 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
1728 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
1729 DEFAULT_wxUSE_TREECTRL=yes
1730 DEFAULT_wxUSE_POPUPWIN=yes
1731 DEFAULT_wxUSE_TIPWINDOW=yes
1732
1733 DEFAULT_wxUSE_UNICODE=no
1734 DEFAULT_wxUSE_UNICODE_MSLU=yes
1735 DEFAULT_wxUSE_WCSRTOMBS=no
1736
1737 DEFAULT_wxUSE_PALETTE=yes
1738 DEFAULT_wxUSE_IMAGE=yes
1739 DEFAULT_wxUSE_GIF=yes
1740 DEFAULT_wxUSE_PCX=yes
1741 DEFAULT_wxUSE_IFF=no
1742 DEFAULT_wxUSE_PNM=yes
1743 DEFAULT_wxUSE_XPM=yes
1744 DEFAULT_wxUSE_ICO_CUR=yes
1745fi
1746
1747
1748
1749for toolkit in `echo $ALL_TOOLKITS`; do
1750 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
1751 if test "x$LINE" != "x" ; then
1752 has_toolkit_in_cache=1
1753 eval "DEFAULT_$LINE"
1754 eval "CACHE_$toolkit=1"
1755 fi
1756done
1757
1758
1759
1760 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1761echo "configure:1762: checking for --enable-gui" >&5
1762 no_cache=0
1763 # Check whether --enable-gui or --disable-gui was given.
1764if test "${enable_gui+set}" = set; then
1765 enableval="$enable_gui"
1766
1767 if test "$enableval" = yes; then
1768 ac_cv_use_gui='wxUSE_GUI=yes'
1769 else
1770 ac_cv_use_gui='wxUSE_GUI=no'
1771 fi
1772
1773else
1774
1775 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1776 if test "x$LINE" != x ; then
1777 eval "DEFAULT_$LINE"
1778 else
1779 no_cache=1
1780 fi
1781
1782 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1783
1784fi
1785
1786
1787 eval "$ac_cv_use_gui"
1788 if test "$no_cache" != 1; then
1789 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1790 fi
1791
1792 if test "$wxUSE_GUI" = yes; then
1793 echo "$ac_t""yes" 1>&6
1794 else
1795 echo "$ac_t""no" 1>&6
1796 fi
1797
1798
1799if test "$wxUSE_GUI" = "yes"; then
1800
1801
1802 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1803echo "configure:1804: checking for --enable-universal" >&5
1804 no_cache=0
1805 # Check whether --enable-universal or --disable-universal was given.
1806if test "${enable_universal+set}" = set; then
1807 enableval="$enable_universal"
1808
1809 if test "$enableval" = yes; then
1810 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
1811 else
1812 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
1813 fi
1814
1815else
1816
1817 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1818 if test "x$LINE" != x ; then
1819 eval "DEFAULT_$LINE"
1820 else
1821 no_cache=1
1822 fi
1823
1824 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1825
1826fi
1827
1828
1829 eval "$ac_cv_use_universal"
1830 if test "$no_cache" != 1; then
1831 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1832 fi
1833
1834 if test "$wxUSE_UNIVERSAL" = yes; then
1835 echo "$ac_t""yes" 1>&6
1836 else
1837 echo "$ac_t""no" 1>&6
1838 fi
1839
1840# Check whether --with-gtk or --without-gtk was given.
1841if test "${with_gtk+set}" = set; then
1842 withval="$with_gtk"
1843 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
1844fi
1845
1846# Check whether --with-motif or --without-motif was given.
1847if test "${with_motif+set}" = set; then
1848 withval="$with_motif"
1849 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
1850fi
1851
1852# Check whether --with-mac or --without-mac was given.
1853if test "${with_mac+set}" = set; then
1854 withval="$with_mac"
1855 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
1856fi
1857
1858# Check whether --with-wine or --without-wine was given.
1859if test "${with_wine+set}" = set; then
1860 withval="$with_wine"
1861 wxUSE_WINE="$withval" CACHE_WINE=1 TOOLKIT_GIVEN=1
1862fi
1863
1864# Check whether --with-msw or --without-msw was given.
1865if test "${with_msw+set}" = set; then
1866 withval="$with_msw"
1867 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
1868fi
1869
1870# Check whether --with-pm or --without-pm was given.
1871if test "${with_pm+set}" = set; then
1872 withval="$with_pm"
1873 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
1874fi
1875
1876# Check whether --with-mgl or --without-mgl was given.
1877if test "${with_mgl+set}" = set; then
1878 withval="$with_mgl"
1879 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
1880fi
1881
1882# Check whether --with-microwin or --without-microwin was given.
1883if test "${with_microwin+set}" = set; then
1884 withval="$with_microwin"
1885 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
1886fi
1887
1888# Check whether --with-x11 or --without-x11 was given.
1889if test "${with_x11+set}" = set; then
1890 withval="$with_x11"
1891 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
1892fi
1893
1894
1895 echo $ac_n "checking for --enable-nanox""... $ac_c" 1>&6
1896echo "configure:1897: checking for --enable-nanox" >&5
1897 no_cache=0
1898 # Check whether --enable-nanox or --disable-nanox was given.
1899if test "${enable_nanox+set}" = set; then
1900 enableval="$enable_nanox"
1901
1902 if test "$enableval" = yes; then
1903 ac_cv_use_nanox='wxUSE_NANOX=yes'
1904 else
1905 ac_cv_use_nanox='wxUSE_NANOX=no'
1906 fi
1907
1908else
1909
1910 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1911 if test "x$LINE" != x ; then
1912 eval "DEFAULT_$LINE"
1913 else
1914 no_cache=1
1915 fi
1916
1917 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1918
1919fi
1920
1921
1922 eval "$ac_cv_use_nanox"
1923 if test "$no_cache" != 1; then
1924 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1925 fi
1926
1927 if test "$wxUSE_NANOX" = yes; then
1928 echo "$ac_t""yes" 1>&6
1929 else
1930 echo "$ac_t""no" 1>&6
1931 fi
1932
1933
1934
1935 echo $ac_n "checking for --enable-gtk2""... $ac_c" 1>&6
1936echo "configure:1937: checking for --enable-gtk2" >&5
1937 no_cache=0
1938 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1939if test "${enable_gtk2+set}" = set; then
1940 enableval="$enable_gtk2"
1941
1942 if test "$enableval" = yes; then
1943 ac_cv_use_gtk2='wxUSE_GTK2=yes'
1944 else
1945 ac_cv_use_gtk2='wxUSE_GTK2=no'
1946 fi
1947
1948else
1949
1950 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
1951 if test "x$LINE" != x ; then
1952 eval "DEFAULT_$LINE"
1953 else
1954 no_cache=1
1955 fi
1956
1957 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
1958
1959fi
1960
1961
1962 eval "$ac_cv_use_gtk2"
1963 if test "$no_cache" != 1; then
1964 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
1965 fi
1966
1967 if test "$wxUSE_GTK2" = yes; then
1968 echo "$ac_t""yes" 1>&6
1969 else
1970 echo "$ac_t""no" 1>&6
1971 fi
1972
1973
1974
1975 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1976echo "configure:1977: checking for --with-libpng" >&5
1977 no_cache=0
1978 # Check whether --with-libpng or --without-libpng was given.
1979if test "${with_libpng+set}" = set; then
1980 withval="$with_libpng"
1981
1982 if test "$withval" = yes; then
1983 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
1984 elif test "$withval" = no; then
1985 ac_cv_use_libpng='wxUSE_LIBPNG=no'
1986 elif test "$withval" = sys; then
1987 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
1988 elif test "$withval" = builtin; then
1989 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
1990 else
1991 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1992 fi
1993
1994else
1995
1996 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1997 if test "x$LINE" != x ; then
1998 eval "DEFAULT_$LINE"
1999 else
2000 no_cache=1
2001 fi
2002
2003 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2004
2005fi
2006
2007
2008 eval "$ac_cv_use_libpng"
2009 if test "$no_cache" != 1; then
2010 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2011 fi
2012
2013 if test "$wxUSE_LIBPNG" = yes; then
2014 echo "$ac_t""yes" 1>&6
2015 elif test "$wxUSE_LIBPNG" = no; then
2016 echo "$ac_t""no" 1>&6
2017 elif test "$wxUSE_LIBPNG" = sys; then
2018 echo "$ac_t""system version" 1>&6
2019 elif test "$wxUSE_LIBPNG" = builtin; then
2020 echo "$ac_t""builtin version" 1>&6
2021 else
2022 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2023 fi
2024
2025
2026 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2027echo "configure:2028: checking for --with-libjpeg" >&5
2028 no_cache=0
2029 # Check whether --with-libjpeg or --without-libjpeg was given.
2030if test "${with_libjpeg+set}" = set; then
2031 withval="$with_libjpeg"
2032
2033 if test "$withval" = yes; then
2034 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2035 elif test "$withval" = no; then
2036 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2037 elif test "$withval" = sys; then
2038 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2039 elif test "$withval" = builtin; then
2040 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2041 else
2042 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2043 fi
2044
2045else
2046
2047 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2048 if test "x$LINE" != x ; then
2049 eval "DEFAULT_$LINE"
2050 else
2051 no_cache=1
2052 fi
2053
2054 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2055
2056fi
2057
2058
2059 eval "$ac_cv_use_libjpeg"
2060 if test "$no_cache" != 1; then
2061 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2062 fi
2063
2064 if test "$wxUSE_LIBJPEG" = yes; then
2065 echo "$ac_t""yes" 1>&6
2066 elif test "$wxUSE_LIBJPEG" = no; then
2067 echo "$ac_t""no" 1>&6
2068 elif test "$wxUSE_LIBJPEG" = sys; then
2069 echo "$ac_t""system version" 1>&6
2070 elif test "$wxUSE_LIBJPEG" = builtin; then
2071 echo "$ac_t""builtin version" 1>&6
2072 else
2073 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2074 fi
2075
2076
2077 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2078echo "configure:2079: checking for --with-libtiff" >&5
2079 no_cache=0
2080 # Check whether --with-libtiff or --without-libtiff was given.
2081if test "${with_libtiff+set}" = set; then
2082 withval="$with_libtiff"
2083
2084 if test "$withval" = yes; then
2085 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2086 elif test "$withval" = no; then
2087 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2088 elif test "$withval" = sys; then
2089 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2090 elif test "$withval" = builtin; then
2091 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2092 else
2093 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2094 fi
2095
2096else
2097
2098 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2099 if test "x$LINE" != x ; then
2100 eval "DEFAULT_$LINE"
2101 else
2102 no_cache=1
2103 fi
2104
2105 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2106
2107fi
2108
2109
2110 eval "$ac_cv_use_libtiff"
2111 if test "$no_cache" != 1; then
2112 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2113 fi
2114
2115 if test "$wxUSE_LIBTIFF" = yes; then
2116 echo "$ac_t""yes" 1>&6
2117 elif test "$wxUSE_LIBTIFF" = no; then
2118 echo "$ac_t""no" 1>&6
2119 elif test "$wxUSE_LIBTIFF" = sys; then
2120 echo "$ac_t""system version" 1>&6
2121 elif test "$wxUSE_LIBTIFF" = builtin; then
2122 echo "$ac_t""builtin version" 1>&6
2123 else
2124 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2125 fi
2126
2127
2128 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2129echo "configure:2130: checking for --with-opengl" >&5
2130 no_cache=0
2131 # Check whether --with-opengl or --without-opengl was given.
2132if test "${with_opengl+set}" = set; then
2133 withval="$with_opengl"
2134
2135 if test "$withval" = yes; then
2136 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2137 else
2138 ac_cv_use_opengl='wxUSE_OPENGL=no'
2139 fi
2140
2141else
2142
2143 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2144 if test "x$LINE" != x ; then
2145 eval "DEFAULT_$LINE"
2146 else
2147 no_cache=1
2148 fi
2149
2150 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2151
2152fi
2153
2154
2155 eval "$ac_cv_use_opengl"
2156 if test "$no_cache" != 1; then
2157 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2158 fi
2159
2160 if test "$wxUSE_OPENGL" = yes; then
2161 echo "$ac_t""yes" 1>&6
2162 else
2163 echo "$ac_t""no" 1>&6
2164 fi
2165
2166
2167fi
2168
2169
2170 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2171echo "configure:2172: checking for --with-dmalloc" >&5
2172 no_cache=0
2173 # Check whether --with-dmalloc or --without-dmalloc was given.
2174if test "${with_dmalloc+set}" = set; then
2175 withval="$with_dmalloc"
2176
2177 if test "$withval" = yes; then
2178 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2179 else
2180 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2181 fi
2182
2183else
2184
2185 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2186 if test "x$LINE" != x ; then
2187 eval "DEFAULT_$LINE"
2188 else
2189 no_cache=1
2190 fi
2191
2192 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2193
2194fi
2195
2196
2197 eval "$ac_cv_use_dmalloc"
2198 if test "$no_cache" != 1; then
2199 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2200 fi
2201
2202 if test "$wxUSE_DMALLOC" = yes; then
2203 echo "$ac_t""yes" 1>&6
2204 else
2205 echo "$ac_t""no" 1>&6
2206 fi
2207
2208
2209 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2210echo "configure:2211: checking for --with-regex" >&5
2211 no_cache=0
2212 # Check whether --with-regex or --without-regex was given.
2213if test "${with_regex+set}" = set; then
2214 withval="$with_regex"
2215
2216 if test "$withval" = yes; then
2217 ac_cv_use_regex='wxUSE_REGEX=yes'
2218 elif test "$withval" = no; then
2219 ac_cv_use_regex='wxUSE_REGEX=no'
2220 elif test "$withval" = sys; then
2221 ac_cv_use_regex='wxUSE_REGEX=sys'
2222 elif test "$withval" = builtin; then
2223 ac_cv_use_regex='wxUSE_REGEX=builtin'
2224 else
2225 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2226 fi
2227
2228else
2229
2230 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2231 if test "x$LINE" != x ; then
2232 eval "DEFAULT_$LINE"
2233 else
2234 no_cache=1
2235 fi
2236
2237 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2238
2239fi
2240
2241
2242 eval "$ac_cv_use_regex"
2243 if test "$no_cache" != 1; then
2244 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2245 fi
2246
2247 if test "$wxUSE_REGEX" = yes; then
2248 echo "$ac_t""yes" 1>&6
2249 elif test "$wxUSE_REGEX" = no; then
2250 echo "$ac_t""no" 1>&6
2251 elif test "$wxUSE_REGEX" = sys; then
2252 echo "$ac_t""system version" 1>&6
2253 elif test "$wxUSE_REGEX" = builtin; then
2254 echo "$ac_t""builtin version" 1>&6
2255 else
2256 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2257 fi
2258
2259
2260 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2261echo "configure:2262: checking for --with-zlib" >&5
2262 no_cache=0
2263 # Check whether --with-zlib or --without-zlib was given.
2264if test "${with_zlib+set}" = set; then
2265 withval="$with_zlib"
2266
2267 if test "$withval" = yes; then
2268 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2269 elif test "$withval" = no; then
2270 ac_cv_use_zlib='wxUSE_ZLIB=no'
2271 elif test "$withval" = sys; then
2272 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2273 elif test "$withval" = builtin; then
2274 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2275 else
2276 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2277 fi
2278
2279else
2280
2281 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2282 if test "x$LINE" != x ; then
2283 eval "DEFAULT_$LINE"
2284 else
2285 no_cache=1
2286 fi
2287
2288 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2289
2290fi
2291
2292
2293 eval "$ac_cv_use_zlib"
2294 if test "$no_cache" != 1; then
2295 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2296 fi
2297
2298 if test "$wxUSE_ZLIB" = yes; then
2299 echo "$ac_t""yes" 1>&6
2300 elif test "$wxUSE_ZLIB" = no; then
2301 echo "$ac_t""no" 1>&6
2302 elif test "$wxUSE_ZLIB" = sys; then
2303 echo "$ac_t""system version" 1>&6
2304 elif test "$wxUSE_ZLIB" = builtin; then
2305 echo "$ac_t""builtin version" 1>&6
2306 else
2307 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2308 fi
2309
2310
2311 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2312echo "configure:2313: checking for --with-odbc" >&5
2313 no_cache=0
2314 # Check whether --with-odbc or --without-odbc was given.
2315if test "${with_odbc+set}" = set; then
2316 withval="$with_odbc"
2317
2318 if test "$withval" = yes; then
2319 ac_cv_use_odbc='wxUSE_ODBC=yes'
2320 else
2321 ac_cv_use_odbc='wxUSE_ODBC=no'
2322 fi
2323
2324else
2325
2326 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2327 if test "x$LINE" != x ; then
2328 eval "DEFAULT_$LINE"
2329 else
2330 no_cache=1
2331 fi
2332
2333 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2334
2335fi
2336
2337
2338 eval "$ac_cv_use_odbc"
2339 if test "$no_cache" != 1; then
2340 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2341 fi
2342
2343 if test "$wxUSE_ODBC" = yes; then
2344 echo "$ac_t""yes" 1>&6
2345 else
2346 echo "$ac_t""no" 1>&6
2347 fi
2348
2349
2350
2351
2352 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2353echo "configure:2354: checking for --enable-shared" >&5
2354 no_cache=0
2355 # Check whether --enable-shared or --disable-shared was given.
2356if test "${enable_shared+set}" = set; then
2357 enableval="$enable_shared"
2358
2359 if test "$enableval" = yes; then
2360 ac_cv_use_shared='wxUSE_SHARED=yes'
2361 else
2362 ac_cv_use_shared='wxUSE_SHARED=no'
2363 fi
2364
2365else
2366
2367 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2368 if test "x$LINE" != x ; then
2369 eval "DEFAULT_$LINE"
2370 else
2371 no_cache=1
2372 fi
2373
2374 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2375
2376fi
2377
2378
2379 eval "$ac_cv_use_shared"
2380 if test "$no_cache" != 1; then
2381 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2382 fi
2383
2384 if test "$wxUSE_SHARED" = yes; then
2385 echo "$ac_t""yes" 1>&6
2386 else
2387 echo "$ac_t""no" 1>&6
2388 fi
2389
2390
2391 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2392echo "configure:2393: checking for --enable-soname" >&5
2393 no_cache=0
2394 # Check whether --enable-soname or --disable-soname was given.
2395if test "${enable_soname+set}" = set; then
2396 enableval="$enable_soname"
2397
2398 if test "$enableval" = yes; then
2399 ac_cv_use_soname='wxUSE_SONAME=yes'
2400 else
2401 ac_cv_use_soname='wxUSE_SONAME=no'
2402 fi
2403
2404else
2405
2406 LINE=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2407 if test "x$LINE" != x ; then
2408 eval "DEFAULT_$LINE"
2409 else
2410 no_cache=1
2411 fi
2412
2413 ac_cv_use_soname='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2414
2415fi
2416
2417
2418 eval "$ac_cv_use_soname"
2419 if test "$no_cache" != 1; then
2420 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2421 fi
2422
2423 if test "$wxUSE_SONAME" = yes; then
2424 echo "$ac_t""yes" 1>&6
2425 else
2426 echo "$ac_t""no" 1>&6
2427 fi
2428
2429
2430 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2431echo "configure:2432: checking for --enable-optimise" >&5
2432 no_cache=0
2433 # Check whether --enable-optimise or --disable-optimise was given.
2434if test "${enable_optimise+set}" = set; then
2435 enableval="$enable_optimise"
2436
2437 if test "$enableval" = yes; then
2438 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
2439 else
2440 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
2441 fi
2442
2443else
2444
2445 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2446 if test "x$LINE" != x ; then
2447 eval "DEFAULT_$LINE"
2448 else
2449 no_cache=1
2450 fi
2451
2452 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2453
2454fi
2455
2456
2457 eval "$ac_cv_use_optimise"
2458 if test "$no_cache" != 1; then
2459 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2460 fi
2461
2462 if test "$wxUSE_OPTIMISE" = yes; then
2463 echo "$ac_t""yes" 1>&6
2464 else
2465 echo "$ac_t""no" 1>&6
2466 fi
2467
2468
2469 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2470echo "configure:2471: checking for --enable-debug" >&5
2471 no_cache=0
2472 # Check whether --enable-debug or --disable-debug was given.
2473if test "${enable_debug+set}" = set; then
2474 enableval="$enable_debug"
2475
2476 if test "$enableval" = yes; then
2477 ac_cv_use_debug='wxUSE_DEBUG=yes'
2478 else
2479 ac_cv_use_debug='wxUSE_DEBUG=no'
2480 fi
2481
2482else
2483
2484 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2485 if test "x$LINE" != x ; then
2486 eval "DEFAULT_$LINE"
2487 else
2488 no_cache=1
2489 fi
2490
2491 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2492
2493fi
2494
2495
2496 eval "$ac_cv_use_debug"
2497 if test "$no_cache" != 1; then
2498 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2499 fi
2500
2501 if test "$wxUSE_DEBUG" = yes; then
2502 echo "$ac_t""yes" 1>&6
2503 else
2504 echo "$ac_t""no" 1>&6
2505 fi
2506
2507
2508
2509 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2510echo "configure:2511: checking for --enable-precomp" >&5
2511 no_cache=0
2512 # Check whether --enable-precomp or --disable-precomp was given.
2513if test "${enable_precomp+set}" = set; then
2514 enableval="$enable_precomp"
2515
2516 if test "$enableval" = yes; then
2517 ac_cv_use_precomp='wxUSE_PRECOMP=yes'
2518 else
2519 ac_cv_use_precomp='wxUSE_PRECOMP=no'
2520 fi
2521
2522else
2523
2524 LINE=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2525 if test "x$LINE" != x ; then
2526 eval "DEFAULT_$LINE"
2527 else
2528 no_cache=1
2529 fi
2530
2531 ac_cv_use_precomp='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2532
2533fi
2534
2535
2536 eval "$ac_cv_use_precomp"
2537 if test "$no_cache" != 1; then
2538 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2539 fi
2540
2541 if test "$wxUSE_PRECOMP" = yes; then
2542 echo "$ac_t""yes" 1>&6
2543 else
2544 echo "$ac_t""no" 1>&6
2545 fi
2546
2547
2548if test "$wxUSE_DEBUG" = "yes"; then
2549 DEFAULT_wxUSE_DEBUG_FLAG=yes
2550 DEFAULT_wxUSE_DEBUG_INFO=yes
2551elif test "$wxUSE_DEBUG" = "no"; then
2552 DEFAULT_wxUSE_DEBUG_FLAG=no
2553 DEFAULT_wxUSE_DEBUG_INFO=no
2554fi
2555
2556
2557 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2558echo "configure:2559: checking for --enable-debug_flag" >&5
2559 no_cache=0
2560 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2561if test "${enable_debug_flag+set}" = set; then
2562 enableval="$enable_debug_flag"
2563
2564 if test "$enableval" = yes; then
2565 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
2566 else
2567 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
2568 fi
2569
2570else
2571
2572 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2573 if test "x$LINE" != x ; then
2574 eval "DEFAULT_$LINE"
2575 else
2576 no_cache=1
2577 fi
2578
2579 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2580
2581fi
2582
2583
2584 eval "$ac_cv_use_debug_flag"
2585 if test "$no_cache" != 1; then
2586 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2587 fi
2588
2589 if test "$wxUSE_DEBUG_FLAG" = yes; then
2590 echo "$ac_t""yes" 1>&6
2591 else
2592 echo "$ac_t""no" 1>&6
2593 fi
2594
2595
2596 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2597echo "configure:2598: checking for --enable-debug_info" >&5
2598 no_cache=0
2599 # Check whether --enable-debug_info or --disable-debug_info was given.
2600if test "${enable_debug_info+set}" = set; then
2601 enableval="$enable_debug_info"
2602
2603 if test "$enableval" = yes; then
2604 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
2605 else
2606 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
2607 fi
2608
2609else
2610
2611 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2612 if test "x$LINE" != x ; then
2613 eval "DEFAULT_$LINE"
2614 else
2615 no_cache=1
2616 fi
2617
2618 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2619
2620fi
2621
2622
2623 eval "$ac_cv_use_debug_info"
2624 if test "$no_cache" != 1; then
2625 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2626 fi
2627
2628 if test "$wxUSE_DEBUG_INFO" = yes; then
2629 echo "$ac_t""yes" 1>&6
2630 else
2631 echo "$ac_t""no" 1>&6
2632 fi
2633
2634
2635 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2636echo "configure:2637: checking for --enable-debug_gdb" >&5
2637 no_cache=0
2638 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2639if test "${enable_debug_gdb+set}" = set; then
2640 enableval="$enable_debug_gdb"
2641
2642 if test "$enableval" = yes; then
2643 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
2644 else
2645 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
2646 fi
2647
2648else
2649
2650 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2651 if test "x$LINE" != x ; then
2652 eval "DEFAULT_$LINE"
2653 else
2654 no_cache=1
2655 fi
2656
2657 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2658
2659fi
2660
2661
2662 eval "$ac_cv_use_debug_gdb"
2663 if test "$no_cache" != 1; then
2664 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2665 fi
2666
2667 if test "$wxUSE_DEBUG_GDB" = yes; then
2668 echo "$ac_t""yes" 1>&6
2669 else
2670 echo "$ac_t""no" 1>&6
2671 fi
2672
2673
2674 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2675echo "configure:2676: checking for --enable-debug_cntxt" >&5
2676 no_cache=0
2677 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2678if test "${enable_debug_cntxt+set}" = set; then
2679 enableval="$enable_debug_cntxt"
2680
2681 if test "$enableval" = yes; then
2682 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
2683 else
2684 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
2685 fi
2686
2687else
2688
2689 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2690 if test "x$LINE" != x ; then
2691 eval "DEFAULT_$LINE"
2692 else
2693 no_cache=1
2694 fi
2695
2696 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2697
2698fi
2699
2700
2701 eval "$ac_cv_use_debug_cntxt"
2702 if test "$no_cache" != 1; then
2703 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2704 fi
2705
2706 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2707 echo "$ac_t""yes" 1>&6
2708 else
2709 echo "$ac_t""no" 1>&6
2710 fi
2711
2712
2713 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2714echo "configure:2715: checking for --enable-mem_tracing" >&5
2715 no_cache=0
2716 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2717if test "${enable_mem_tracing+set}" = set; then
2718 enableval="$enable_mem_tracing"
2719
2720 if test "$enableval" = yes; then
2721 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
2722 else
2723 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
2724 fi
2725
2726else
2727
2728 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2729 if test "x$LINE" != x ; then
2730 eval "DEFAULT_$LINE"
2731 else
2732 no_cache=1
2733 fi
2734
2735 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2736
2737fi
2738
2739
2740 eval "$ac_cv_use_mem_tracing"
2741 if test "$no_cache" != 1; then
2742 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2743 fi
2744
2745 if test "$wxUSE_MEM_TRACING" = yes; then
2746 echo "$ac_t""yes" 1>&6
2747 else
2748 echo "$ac_t""no" 1>&6
2749 fi
2750
2751
2752 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2753echo "configure:2754: checking for --enable-profile" >&5
2754 no_cache=0
2755 # Check whether --enable-profile or --disable-profile was given.
2756if test "${enable_profile+set}" = set; then
2757 enableval="$enable_profile"
2758
2759 if test "$enableval" = yes; then
2760 ac_cv_use_profile='wxUSE_PROFILE=yes'
2761 else
2762 ac_cv_use_profile='wxUSE_PROFILE=no'
2763 fi
2764
2765else
2766
2767 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2768 if test "x$LINE" != x ; then
2769 eval "DEFAULT_$LINE"
2770 else
2771 no_cache=1
2772 fi
2773
2774 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2775
2776fi
2777
2778
2779 eval "$ac_cv_use_profile"
2780 if test "$no_cache" != 1; then
2781 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2782 fi
2783
2784 if test "$wxUSE_PROFILE" = yes; then
2785 echo "$ac_t""yes" 1>&6
2786 else
2787 echo "$ac_t""no" 1>&6
2788 fi
2789
2790
2791 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2792echo "configure:2793: checking for --enable-no_rtti" >&5
2793 no_cache=0
2794 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2795if test "${enable_no_rtti+set}" = set; then
2796 enableval="$enable_no_rtti"
2797
2798 if test "$enableval" = yes; then
2799 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
2800 else
2801 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
2802 fi
2803
2804else
2805
2806 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2807 if test "x$LINE" != x ; then
2808 eval "DEFAULT_$LINE"
2809 else
2810 no_cache=1
2811 fi
2812
2813 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2814
2815fi
2816
2817
2818 eval "$ac_cv_use_no_rtti"
2819 if test "$no_cache" != 1; then
2820 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2821 fi
2822
2823 if test "$wxUSE_NO_RTTI" = yes; then
2824 echo "$ac_t""yes" 1>&6
2825 else
2826 echo "$ac_t""no" 1>&6
2827 fi
2828
2829
2830 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2831echo "configure:2832: checking for --enable-no_exceptions" >&5
2832 no_cache=0
2833 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2834if test "${enable_no_exceptions+set}" = set; then
2835 enableval="$enable_no_exceptions"
2836
2837 if test "$enableval" = yes; then
2838 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
2839 else
2840 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
2841 fi
2842
2843else
2844
2845 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2846 if test "x$LINE" != x ; then
2847 eval "DEFAULT_$LINE"
2848 else
2849 no_cache=1
2850 fi
2851
2852 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2853
2854fi
2855
2856
2857 eval "$ac_cv_use_no_exceptions"
2858 if test "$no_cache" != 1; then
2859 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2860 fi
2861
2862 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2863 echo "$ac_t""yes" 1>&6
2864 else
2865 echo "$ac_t""no" 1>&6
2866 fi
2867
2868
2869 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2870echo "configure:2871: checking for --enable-permissive" >&5
2871 no_cache=0
2872 # Check whether --enable-permissive or --disable-permissive was given.
2873if test "${enable_permissive+set}" = set; then
2874 enableval="$enable_permissive"
2875
2876 if test "$enableval" = yes; then
2877 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
2878 else
2879 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
2880 fi
2881
2882else
2883
2884 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2885 if test "x$LINE" != x ; then
2886 eval "DEFAULT_$LINE"
2887 else
2888 no_cache=1
2889 fi
2890
2891 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2892
2893fi
2894
2895
2896 eval "$ac_cv_use_permissive"
2897 if test "$no_cache" != 1; then
2898 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2899 fi
2900
2901 if test "$wxUSE_PERMISSIVE" = yes; then
2902 echo "$ac_t""yes" 1>&6
2903 else
2904 echo "$ac_t""no" 1>&6
2905 fi
2906
2907
2908 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2909echo "configure:2910: checking for --enable-no_deps" >&5
2910 no_cache=0
2911 # Check whether --enable-no_deps or --disable-no_deps was given.
2912if test "${enable_no_deps+set}" = set; then
2913 enableval="$enable_no_deps"
2914
2915 if test "$enableval" = yes; then
2916 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
2917 else
2918 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
2919 fi
2920
2921else
2922
2923 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2924 if test "x$LINE" != x ; then
2925 eval "DEFAULT_$LINE"
2926 else
2927 no_cache=1
2928 fi
2929
2930 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2931
2932fi
2933
2934
2935 eval "$ac_cv_use_no_deps"
2936 if test "$no_cache" != 1; then
2937 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2938 fi
2939
2940 if test "$wxUSE_NO_DEPS" = yes; then
2941 echo "$ac_t""yes" 1>&6
2942 else
2943 echo "$ac_t""no" 1>&6
2944 fi
2945
2946
2947
2948 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2949echo "configure:2950: checking for --enable-compat20" >&5
2950 no_cache=0
2951 # Check whether --enable-compat20 or --disable-compat20 was given.
2952if test "${enable_compat20+set}" = set; then
2953 enableval="$enable_compat20"
2954
2955 if test "$enableval" = yes; then
2956 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
2957 else
2958 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
2959 fi
2960
2961else
2962
2963 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2964 if test "x$LINE" != x ; then
2965 eval "DEFAULT_$LINE"
2966 else
2967 no_cache=1
2968 fi
2969
2970 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2971
2972fi
2973
2974
2975 eval "$ac_cv_use_compat20"
2976 if test "$no_cache" != 1; then
2977 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2978 fi
2979
2980 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2981 echo "$ac_t""yes" 1>&6
2982 else
2983 echo "$ac_t""no" 1>&6
2984 fi
2985
2986
2987 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2988echo "configure:2989: checking for --enable-compat22" >&5
2989 no_cache=0
2990 # Check whether --enable-compat22 or --disable-compat22 was given.
2991if test "${enable_compat22+set}" = set; then
2992 enableval="$enable_compat22"
2993
2994 if test "$enableval" = yes; then
2995 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
2996 else
2997 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
2998 fi
2999
3000else
3001
3002 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3003 if test "x$LINE" != x ; then
3004 eval "DEFAULT_$LINE"
3005 else
3006 no_cache=1
3007 fi
3008
3009 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3010
3011fi
3012
3013
3014 eval "$ac_cv_use_compat22"
3015 if test "$no_cache" != 1; then
3016 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3017 fi
3018
3019 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3020 echo "$ac_t""yes" 1>&6
3021 else
3022 echo "$ac_t""no" 1>&6
3023 fi
3024
3025
3026# Check whether --enable-rpath or --disable-rpath was given.
3027if test "${enable_rpath+set}" = set; then
3028 enableval="$enable_rpath"
3029 wxRPATH_DIR="$enableval"
3030fi
3031
3032
3033if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3034 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3035fi
3036
3037
3038
3039
3040 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3041echo "configure:3042: checking for --enable-intl" >&5
3042 no_cache=0
3043 # Check whether --enable-intl or --disable-intl was given.
3044if test "${enable_intl+set}" = set; then
3045 enableval="$enable_intl"
3046
3047 if test "$enableval" = yes; then
3048 ac_cv_use_intl='wxUSE_INTL=yes'
3049 else
3050 ac_cv_use_intl='wxUSE_INTL=no'
3051 fi
3052
3053else
3054
3055 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3056 if test "x$LINE" != x ; then
3057 eval "DEFAULT_$LINE"
3058 else
3059 no_cache=1
3060 fi
3061
3062 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3063
3064fi
3065
3066
3067 eval "$ac_cv_use_intl"
3068 if test "$no_cache" != 1; then
3069 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3070 fi
3071
3072 if test "$wxUSE_INTL" = yes; then
3073 echo "$ac_t""yes" 1>&6
3074 else
3075 echo "$ac_t""no" 1>&6
3076 fi
3077
3078
3079 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3080echo "configure:3081: checking for --enable-config" >&5
3081 no_cache=0
3082 # Check whether --enable-config or --disable-config was given.
3083if test "${enable_config+set}" = set; then
3084 enableval="$enable_config"
3085
3086 if test "$enableval" = yes; then
3087 ac_cv_use_config='wxUSE_CONFIG=yes'
3088 else
3089 ac_cv_use_config='wxUSE_CONFIG=no'
3090 fi
3091
3092else
3093
3094 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3095 if test "x$LINE" != x ; then
3096 eval "DEFAULT_$LINE"
3097 else
3098 no_cache=1
3099 fi
3100
3101 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3102
3103fi
3104
3105
3106 eval "$ac_cv_use_config"
3107 if test "$no_cache" != 1; then
3108 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3109 fi
3110
3111 if test "$wxUSE_CONFIG" = yes; then
3112 echo "$ac_t""yes" 1>&6
3113 else
3114 echo "$ac_t""no" 1>&6
3115 fi
3116
3117
3118
3119 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3120echo "configure:3121: checking for --enable-protocols" >&5
3121 no_cache=0
3122 # Check whether --enable-protocols or --disable-protocols was given.
3123if test "${enable_protocols+set}" = set; then
3124 enableval="$enable_protocols"
3125
3126 if test "$enableval" = yes; then
3127 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3128 else
3129 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3130 fi
3131
3132else
3133
3134 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3135 if test "x$LINE" != x ; then
3136 eval "DEFAULT_$LINE"
3137 else
3138 no_cache=1
3139 fi
3140
3141 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3142
3143fi
3144
3145
3146 eval "$ac_cv_use_protocols"
3147 if test "$no_cache" != 1; then
3148 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3149 fi
3150
3151 if test "$wxUSE_PROTOCOL" = yes; then
3152 echo "$ac_t""yes" 1>&6
3153 else
3154 echo "$ac_t""no" 1>&6
3155 fi
3156
3157
3158 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3159echo "configure:3160: checking for --enable-ftp" >&5
3160 no_cache=0
3161 # Check whether --enable-ftp or --disable-ftp was given.
3162if test "${enable_ftp+set}" = set; then
3163 enableval="$enable_ftp"
3164
3165 if test "$enableval" = yes; then
3166 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3167 else
3168 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3169 fi
3170
3171else
3172
3173 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3174 if test "x$LINE" != x ; then
3175 eval "DEFAULT_$LINE"
3176 else
3177 no_cache=1
3178 fi
3179
3180 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3181
3182fi
3183
3184
3185 eval "$ac_cv_use_ftp"
3186 if test "$no_cache" != 1; then
3187 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3188 fi
3189
3190 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3191 echo "$ac_t""yes" 1>&6
3192 else
3193 echo "$ac_t""no" 1>&6
3194 fi
3195
3196
3197 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3198echo "configure:3199: checking for --enable-http" >&5
3199 no_cache=0
3200 # Check whether --enable-http or --disable-http was given.
3201if test "${enable_http+set}" = set; then
3202 enableval="$enable_http"
3203
3204 if test "$enableval" = yes; then
3205 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3206 else
3207 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3208 fi
3209
3210else
3211
3212 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3213 if test "x$LINE" != x ; then
3214 eval "DEFAULT_$LINE"
3215 else
3216 no_cache=1
3217 fi
3218
3219 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3220
3221fi
3222
3223
3224 eval "$ac_cv_use_http"
3225 if test "$no_cache" != 1; then
3226 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3227 fi
3228
3229 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3230 echo "$ac_t""yes" 1>&6
3231 else
3232 echo "$ac_t""no" 1>&6
3233 fi
3234
3235
3236 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3237echo "configure:3238: checking for --enable-fileproto" >&5
3238 no_cache=0
3239 # Check whether --enable-fileproto or --disable-fileproto was given.
3240if test "${enable_fileproto+set}" = set; then
3241 enableval="$enable_fileproto"
3242
3243 if test "$enableval" = yes; then
3244 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
3245 else
3246 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
3247 fi
3248
3249else
3250
3251 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3252 if test "x$LINE" != x ; then
3253 eval "DEFAULT_$LINE"
3254 else
3255 no_cache=1
3256 fi
3257
3258 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3259
3260fi
3261
3262
3263 eval "$ac_cv_use_fileproto"
3264 if test "$no_cache" != 1; then
3265 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3266 fi
3267
3268 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3269 echo "$ac_t""yes" 1>&6
3270 else
3271 echo "$ac_t""no" 1>&6
3272 fi
3273
3274
3275 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3276echo "configure:3277: checking for --enable-sockets" >&5
3277 no_cache=0
3278 # Check whether --enable-sockets or --disable-sockets was given.
3279if test "${enable_sockets+set}" = set; then
3280 enableval="$enable_sockets"
3281
3282 if test "$enableval" = yes; then
3283 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
3284 else
3285 ac_cv_use_sockets='wxUSE_SOCKETS=no'
3286 fi
3287
3288else
3289
3290 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3291 if test "x$LINE" != x ; then
3292 eval "DEFAULT_$LINE"
3293 else
3294 no_cache=1
3295 fi
3296
3297 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3298
3299fi
3300
3301
3302 eval "$ac_cv_use_sockets"
3303 if test "$no_cache" != 1; then
3304 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3305 fi
3306
3307 if test "$wxUSE_SOCKETS" = yes; then
3308 echo "$ac_t""yes" 1>&6
3309 else
3310 echo "$ac_t""no" 1>&6
3311 fi
3312
3313
3314 echo $ac_n "checking for --enable-ole""... $ac_c" 1>&6
3315echo "configure:3316: checking for --enable-ole" >&5
3316 no_cache=0
3317 # Check whether --enable-ole or --disable-ole was given.
3318if test "${enable_ole+set}" = set; then
3319 enableval="$enable_ole"
3320
3321 if test "$enableval" = yes; then
3322 ac_cv_use_ole='wxUSE_OLE=yes'
3323 else
3324 ac_cv_use_ole='wxUSE_OLE=no'
3325 fi
3326
3327else
3328
3329 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
3330 if test "x$LINE" != x ; then
3331 eval "DEFAULT_$LINE"
3332 else
3333 no_cache=1
3334 fi
3335
3336 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
3337
3338fi
3339
3340
3341 eval "$ac_cv_use_ole"
3342 if test "$no_cache" != 1; then
3343 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
3344 fi
3345
3346 if test "$wxUSE_OLE" = yes; then
3347 echo "$ac_t""yes" 1>&6
3348 else
3349 echo "$ac_t""no" 1>&6
3350 fi
3351
3352
3353 echo $ac_n "checking for --enable-dataobj""... $ac_c" 1>&6
3354echo "configure:3355: checking for --enable-dataobj" >&5
3355 no_cache=0
3356 # Check whether --enable-dataobj or --disable-dataobj was given.
3357if test "${enable_dataobj+set}" = set; then
3358 enableval="$enable_dataobj"
3359
3360 if test "$enableval" = yes; then
3361 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
3362 else
3363 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
3364 fi
3365
3366else
3367
3368 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
3369 if test "x$LINE" != x ; then
3370 eval "DEFAULT_$LINE"
3371 else
3372 no_cache=1
3373 fi
3374
3375 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
3376
3377fi
3378
3379
3380 eval "$ac_cv_use_dataobj"
3381 if test "$no_cache" != 1; then
3382 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
3383 fi
3384
3385 if test "$wxUSE_DATAOBJ" = yes; then
3386 echo "$ac_t""yes" 1>&6
3387 else
3388 echo "$ac_t""no" 1>&6
3389 fi
3390
3391
3392
3393 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3394echo "configure:3395: checking for --enable-ipc" >&5
3395 no_cache=0
3396 # Check whether --enable-ipc or --disable-ipc was given.
3397if test "${enable_ipc+set}" = set; then
3398 enableval="$enable_ipc"
3399
3400 if test "$enableval" = yes; then
3401 ac_cv_use_ipc='wxUSE_IPC=yes'
3402 else
3403 ac_cv_use_ipc='wxUSE_IPC=no'
3404 fi
3405
3406else
3407
3408 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3409 if test "x$LINE" != x ; then
3410 eval "DEFAULT_$LINE"
3411 else
3412 no_cache=1
3413 fi
3414
3415 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3416
3417fi
3418
3419
3420 eval "$ac_cv_use_ipc"
3421 if test "$no_cache" != 1; then
3422 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3423 fi
3424
3425 if test "$wxUSE_IPC" = yes; then
3426 echo "$ac_t""yes" 1>&6
3427 else
3428 echo "$ac_t""no" 1>&6
3429 fi
3430
3431
3432
3433 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3434echo "configure:3435: checking for --enable-cmdline" >&5
3435 no_cache=0
3436 # Check whether --enable-cmdline or --disable-cmdline was given.
3437if test "${enable_cmdline+set}" = set; then
3438 enableval="$enable_cmdline"
3439
3440 if test "$enableval" = yes; then
3441 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
3442 else
3443 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
3444 fi
3445
3446else
3447
3448 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3449 if test "x$LINE" != x ; then
3450 eval "DEFAULT_$LINE"
3451 else
3452 no_cache=1
3453 fi
3454
3455 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3456
3457fi
3458
3459
3460 eval "$ac_cv_use_cmdline"
3461 if test "$no_cache" != 1; then
3462 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3463 fi
3464
3465 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3466 echo "$ac_t""yes" 1>&6
3467 else
3468 echo "$ac_t""no" 1>&6
3469 fi
3470
3471
3472 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3473echo "configure:3474: checking for --enable-datetime" >&5
3474 no_cache=0
3475 # Check whether --enable-datetime or --disable-datetime was given.
3476if test "${enable_datetime+set}" = set; then
3477 enableval="$enable_datetime"
3478
3479 if test "$enableval" = yes; then
3480 ac_cv_use_datetime='wxUSE_DATETIME=yes'
3481 else
3482 ac_cv_use_datetime='wxUSE_DATETIME=no'
3483 fi
3484
3485else
3486
3487 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3488 if test "x$LINE" != x ; then
3489 eval "DEFAULT_$LINE"
3490 else
3491 no_cache=1
3492 fi
3493
3494 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3495
3496fi
3497
3498
3499 eval "$ac_cv_use_datetime"
3500 if test "$no_cache" != 1; then
3501 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3502 fi
3503
3504 if test "$wxUSE_DATETIME" = yes; then
3505 echo "$ac_t""yes" 1>&6
3506 else
3507 echo "$ac_t""no" 1>&6
3508 fi
3509
3510
3511 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3512echo "configure:3513: checking for --enable-timedate" >&5
3513 no_cache=0
3514 # Check whether --enable-timedate or --disable-timedate was given.
3515if test "${enable_timedate+set}" = set; then
3516 enableval="$enable_timedate"
3517
3518 if test "$enableval" = yes; then
3519 ac_cv_use_timedate='wxUSE_TIMEDATE=yes'
3520 else
3521 ac_cv_use_timedate='wxUSE_TIMEDATE=no'
3522 fi
3523
3524else
3525
3526 LINE=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3527 if test "x$LINE" != x ; then
3528 eval "DEFAULT_$LINE"
3529 else
3530 no_cache=1
3531 fi
3532
3533 ac_cv_use_timedate='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3534
3535fi
3536
3537
3538 eval "$ac_cv_use_timedate"
3539 if test "$no_cache" != 1; then
3540 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3541 fi
3542
3543 if test "$wxUSE_TIMEDATE" = yes; then
3544 echo "$ac_t""yes" 1>&6
3545 else
3546 echo "$ac_t""no" 1>&6
3547 fi
3548
3549
3550 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3551echo "configure:3552: checking for --enable-stopwatch" >&5
3552 no_cache=0
3553 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3554if test "${enable_stopwatch+set}" = set; then
3555 enableval="$enable_stopwatch"
3556
3557 if test "$enableval" = yes; then
3558 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
3559 else
3560 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
3561 fi
3562
3563else
3564
3565 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3566 if test "x$LINE" != x ; then
3567 eval "DEFAULT_$LINE"
3568 else
3569 no_cache=1
3570 fi
3571
3572 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3573
3574fi
3575
3576
3577 eval "$ac_cv_use_stopwatch"
3578 if test "$no_cache" != 1; then
3579 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3580 fi
3581
3582 if test "$wxUSE_STOPWATCH" = yes; then
3583 echo "$ac_t""yes" 1>&6
3584 else
3585 echo "$ac_t""no" 1>&6
3586 fi
3587
3588
3589 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3590echo "configure:3591: checking for --enable-dialupman" >&5
3591 no_cache=0
3592 # Check whether --enable-dialupman or --disable-dialupman was given.
3593if test "${enable_dialupman+set}" = set; then
3594 enableval="$enable_dialupman"
3595
3596 if test "$enableval" = yes; then
3597 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
3598 else
3599 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
3600 fi
3601
3602else
3603
3604 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3605 if test "x$LINE" != x ; then
3606 eval "DEFAULT_$LINE"
3607 else
3608 no_cache=1
3609 fi
3610
3611 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3612
3613fi
3614
3615
3616 eval "$ac_cv_use_dialupman"
3617 if test "$no_cache" != 1; then
3618 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3619 fi
3620
3621 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3622 echo "$ac_t""yes" 1>&6
3623 else
3624 echo "$ac_t""no" 1>&6
3625 fi
3626
3627
3628 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3629echo "configure:3630: checking for --enable-apple_ieee" >&5
3630 no_cache=0
3631 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3632if test "${enable_apple_ieee+set}" = set; then
3633 enableval="$enable_apple_ieee"
3634
3635 if test "$enableval" = yes; then
3636 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
3637 else
3638 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
3639 fi
3640
3641else
3642
3643 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3644 if test "x$LINE" != x ; then
3645 eval "DEFAULT_$LINE"
3646 else
3647 no_cache=1
3648 fi
3649
3650 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3651
3652fi
3653
3654
3655 eval "$ac_cv_use_apple_ieee"
3656 if test "$no_cache" != 1; then
3657 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3658 fi
3659
3660 if test "$wxUSE_APPLE_IEEE" = yes; then
3661 echo "$ac_t""yes" 1>&6
3662 else
3663 echo "$ac_t""no" 1>&6
3664 fi
3665
3666
3667 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3668echo "configure:3669: checking for --enable-timer" >&5
3669 no_cache=0
3670 # Check whether --enable-timer or --disable-timer was given.
3671if test "${enable_timer+set}" = set; then
3672 enableval="$enable_timer"
3673
3674 if test "$enableval" = yes; then
3675 ac_cv_use_timer='wxUSE_TIMER=yes'
3676 else
3677 ac_cv_use_timer='wxUSE_TIMER=no'
3678 fi
3679
3680else
3681
3682 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3683 if test "x$LINE" != x ; then
3684 eval "DEFAULT_$LINE"
3685 else
3686 no_cache=1
3687 fi
3688
3689 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3690
3691fi
3692
3693
3694 eval "$ac_cv_use_timer"
3695 if test "$no_cache" != 1; then
3696 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3697 fi
3698
3699 if test "$wxUSE_TIMER" = yes; then
3700 echo "$ac_t""yes" 1>&6
3701 else
3702 echo "$ac_t""no" 1>&6
3703 fi
3704
3705
3706 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3707echo "configure:3708: checking for --enable-wave" >&5
3708 no_cache=0
3709 # Check whether --enable-wave or --disable-wave was given.
3710if test "${enable_wave+set}" = set; then
3711 enableval="$enable_wave"
3712
3713 if test "$enableval" = yes; then
3714 ac_cv_use_wave='wxUSE_WAVE=yes'
3715 else
3716 ac_cv_use_wave='wxUSE_WAVE=no'
3717 fi
3718
3719else
3720
3721 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3722 if test "x$LINE" != x ; then
3723 eval "DEFAULT_$LINE"
3724 else
3725 no_cache=1
3726 fi
3727
3728 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3729
3730fi
3731
3732
3733 eval "$ac_cv_use_wave"
3734 if test "$no_cache" != 1; then
3735 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3736 fi
3737
3738 if test "$wxUSE_WAVE" = yes; then
3739 echo "$ac_t""yes" 1>&6
3740 else
3741 echo "$ac_t""no" 1>&6
3742 fi
3743
3744
3745 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3746echo "configure:3747: checking for --enable-fraction" >&5
3747 no_cache=0
3748 # Check whether --enable-fraction or --disable-fraction was given.
3749if test "${enable_fraction+set}" = set; then
3750 enableval="$enable_fraction"
3751
3752 if test "$enableval" = yes; then
3753 ac_cv_use_fraction='wxUSE_FRACTION=yes'
3754 else
3755 ac_cv_use_fraction='wxUSE_FRACTION=no'
3756 fi
3757
3758else
3759
3760 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3761 if test "x$LINE" != x ; then
3762 eval "DEFAULT_$LINE"
3763 else
3764 no_cache=1
3765 fi
3766
3767 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3768
3769fi
3770
3771
3772 eval "$ac_cv_use_fraction"
3773 if test "$no_cache" != 1; then
3774 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3775 fi
3776
3777 if test "$wxUSE_FRACTION" = yes; then
3778 echo "$ac_t""yes" 1>&6
3779 else
3780 echo "$ac_t""no" 1>&6
3781 fi
3782
3783
3784 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3785echo "configure:3786: checking for --enable-dynlib" >&5
3786 no_cache=0
3787 # Check whether --enable-dynlib or --disable-dynlib was given.
3788if test "${enable_dynlib+set}" = set; then
3789 enableval="$enable_dynlib"
3790
3791 if test "$enableval" = yes; then
3792 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
3793 else
3794 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
3795 fi
3796
3797else
3798
3799 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3800 if test "x$LINE" != x ; then
3801 eval "DEFAULT_$LINE"
3802 else
3803 no_cache=1
3804 fi
3805
3806 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3807
3808fi
3809
3810
3811 eval "$ac_cv_use_dynlib"
3812 if test "$no_cache" != 1; then
3813 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3814 fi
3815
3816 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3817 echo "$ac_t""yes" 1>&6
3818 else
3819 echo "$ac_t""no" 1>&6
3820 fi
3821
3822
3823 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3824echo "configure:3825: checking for --enable-dynamicloader" >&5
3825 no_cache=0
3826 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3827if test "${enable_dynamicloader+set}" = set; then
3828 enableval="$enable_dynamicloader"
3829
3830 if test "$enableval" = yes; then
3831 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
3832 else
3833 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
3834 fi
3835
3836else
3837
3838 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3839 if test "x$LINE" != x ; then
3840 eval "DEFAULT_$LINE"
3841 else
3842 no_cache=1
3843 fi
3844
3845 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3846
3847fi
3848
3849
3850 eval "$ac_cv_use_dynamicloader"
3851 if test "$no_cache" != 1; then
3852 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3853 fi
3854
3855 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3856 echo "$ac_t""yes" 1>&6
3857 else
3858 echo "$ac_t""no" 1>&6
3859 fi
3860
3861
3862 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3863echo "configure:3864: checking for --enable-longlong" >&5
3864 no_cache=0
3865 # Check whether --enable-longlong or --disable-longlong was given.
3866if test "${enable_longlong+set}" = set; then
3867 enableval="$enable_longlong"
3868
3869 if test "$enableval" = yes; then
3870 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
3871 else
3872 ac_cv_use_longlong='wxUSE_LONGLONG=no'
3873 fi
3874
3875else
3876
3877 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3878 if test "x$LINE" != x ; then
3879 eval "DEFAULT_$LINE"
3880 else
3881 no_cache=1
3882 fi
3883
3884 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3885
3886fi
3887
3888
3889 eval "$ac_cv_use_longlong"
3890 if test "$no_cache" != 1; then
3891 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3892 fi
3893
3894 if test "$wxUSE_LONGLONG" = yes; then
3895 echo "$ac_t""yes" 1>&6
3896 else
3897 echo "$ac_t""no" 1>&6
3898 fi
3899
3900
3901 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3902echo "configure:3903: checking for --enable-geometry" >&5
3903 no_cache=0
3904 # Check whether --enable-geometry or --disable-geometry was given.
3905if test "${enable_geometry+set}" = set; then
3906 enableval="$enable_geometry"
3907
3908 if test "$enableval" = yes; then
3909 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
3910 else
3911 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
3912 fi
3913
3914else
3915
3916 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3917 if test "x$LINE" != x ; then
3918 eval "DEFAULT_$LINE"
3919 else
3920 no_cache=1
3921 fi
3922
3923 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3924
3925fi
3926
3927
3928 eval "$ac_cv_use_geometry"
3929 if test "$no_cache" != 1; then
3930 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3931 fi
3932
3933 if test "$wxUSE_GEOMETRY" = yes; then
3934 echo "$ac_t""yes" 1>&6
3935 else
3936 echo "$ac_t""no" 1>&6
3937 fi
3938
3939
3940 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3941echo "configure:3942: checking for --enable-log" >&5
3942 no_cache=0
3943 # Check whether --enable-log or --disable-log was given.
3944if test "${enable_log+set}" = set; then
3945 enableval="$enable_log"
3946
3947 if test "$enableval" = yes; then
3948 ac_cv_use_log='wxUSE_LOG=yes'
3949 else
3950 ac_cv_use_log='wxUSE_LOG=no'
3951 fi
3952
3953else
3954
3955 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3956 if test "x$LINE" != x ; then
3957 eval "DEFAULT_$LINE"
3958 else
3959 no_cache=1
3960 fi
3961
3962 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3963
3964fi
3965
3966
3967 eval "$ac_cv_use_log"
3968 if test "$no_cache" != 1; then
3969 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3970 fi
3971
3972 if test "$wxUSE_LOG" = yes; then
3973 echo "$ac_t""yes" 1>&6
3974 else
3975 echo "$ac_t""no" 1>&6
3976 fi
3977
3978
3979 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3980echo "configure:3981: checking for --enable-streams" >&5
3981 no_cache=0
3982 # Check whether --enable-streams or --disable-streams was given.
3983if test "${enable_streams+set}" = set; then
3984 enableval="$enable_streams"
3985
3986 if test "$enableval" = yes; then
3987 ac_cv_use_streams='wxUSE_STREAMS=yes'
3988 else
3989 ac_cv_use_streams='wxUSE_STREAMS=no'
3990 fi
3991
3992else
3993
3994 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3995 if test "x$LINE" != x ; then
3996 eval "DEFAULT_$LINE"
3997 else
3998 no_cache=1
3999 fi
4000
4001 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4002
4003fi
4004
4005
4006 eval "$ac_cv_use_streams"
4007 if test "$no_cache" != 1; then
4008 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4009 fi
4010
4011 if test "$wxUSE_STREAMS" = yes; then
4012 echo "$ac_t""yes" 1>&6
4013 else
4014 echo "$ac_t""no" 1>&6
4015 fi
4016
4017
4018 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
4019echo "configure:4020: checking for --enable-file" >&5
4020 no_cache=0
4021 # Check whether --enable-file or --disable-file was given.
4022if test "${enable_file+set}" = set; then
4023 enableval="$enable_file"
4024
4025 if test "$enableval" = yes; then
4026 ac_cv_use_file='wxUSE_FILE=yes'
4027 else
4028 ac_cv_use_file='wxUSE_FILE=no'
4029 fi
4030
4031else
4032
4033 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4034 if test "x$LINE" != x ; then
4035 eval "DEFAULT_$LINE"
4036 else
4037 no_cache=1
4038 fi
4039
4040 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4041
4042fi
4043
4044
4045 eval "$ac_cv_use_file"
4046 if test "$no_cache" != 1; then
4047 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4048 fi
4049
4050 if test "$wxUSE_FILE" = yes; then
4051 echo "$ac_t""yes" 1>&6
4052 else
4053 echo "$ac_t""no" 1>&6
4054 fi
4055
4056
4057 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
4058echo "configure:4059: checking for --enable-ffile" >&5
4059 no_cache=0
4060 # Check whether --enable-ffile or --disable-ffile was given.
4061if test "${enable_ffile+set}" = set; then
4062 enableval="$enable_ffile"
4063
4064 if test "$enableval" = yes; then
4065 ac_cv_use_ffile='wxUSE_FFILE=yes'
4066 else
4067 ac_cv_use_ffile='wxUSE_FFILE=no'
4068 fi
4069
4070else
4071
4072 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4073 if test "x$LINE" != x ; then
4074 eval "DEFAULT_$LINE"
4075 else
4076 no_cache=1
4077 fi
4078
4079 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4080
4081fi
4082
4083
4084 eval "$ac_cv_use_ffile"
4085 if test "$no_cache" != 1; then
4086 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4087 fi
4088
4089 if test "$wxUSE_FFILE" = yes; then
4090 echo "$ac_t""yes" 1>&6
4091 else
4092 echo "$ac_t""no" 1>&6
4093 fi
4094
4095
4096 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
4097echo "configure:4098: checking for --enable-textbuf" >&5
4098 no_cache=0
4099 # Check whether --enable-textbuf or --disable-textbuf was given.
4100if test "${enable_textbuf+set}" = set; then
4101 enableval="$enable_textbuf"
4102
4103 if test "$enableval" = yes; then
4104 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4105 else
4106 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4107 fi
4108
4109else
4110
4111 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4112 if test "x$LINE" != x ; then
4113 eval "DEFAULT_$LINE"
4114 else
4115 no_cache=1
4116 fi
4117
4118 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4119
4120fi
4121
4122
4123 eval "$ac_cv_use_textbuf"
4124 if test "$no_cache" != 1; then
4125 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4126 fi
4127
4128 if test "$wxUSE_TEXTBUFFER" = yes; then
4129 echo "$ac_t""yes" 1>&6
4130 else
4131 echo "$ac_t""no" 1>&6
4132 fi
4133
4134
4135 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4136echo "configure:4137: checking for --enable-textfile" >&5
4137 no_cache=0
4138 # Check whether --enable-textfile or --disable-textfile was given.
4139if test "${enable_textfile+set}" = set; then
4140 enableval="$enable_textfile"
4141
4142 if test "$enableval" = yes; then
4143 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4144 else
4145 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4146 fi
4147
4148else
4149
4150 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4151 if test "x$LINE" != x ; then
4152 eval "DEFAULT_$LINE"
4153 else
4154 no_cache=1
4155 fi
4156
4157 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4158
4159fi
4160
4161
4162 eval "$ac_cv_use_textfile"
4163 if test "$no_cache" != 1; then
4164 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4165 fi
4166
4167 if test "$wxUSE_TEXTFILE" = yes; then
4168 echo "$ac_t""yes" 1>&6
4169 else
4170 echo "$ac_t""no" 1>&6
4171 fi
4172
4173
4174 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4175echo "configure:4176: checking for --enable-fontmap" >&5
4176 no_cache=0
4177 # Check whether --enable-fontmap or --disable-fontmap was given.
4178if test "${enable_fontmap+set}" = set; then
4179 enableval="$enable_fontmap"
4180
4181 if test "$enableval" = yes; then
4182 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4183 else
4184 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4185 fi
4186
4187else
4188
4189 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4190 if test "x$LINE" != x ; then
4191 eval "DEFAULT_$LINE"
4192 else
4193 no_cache=1
4194 fi
4195
4196 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4197
4198fi
4199
4200
4201 eval "$ac_cv_use_fontmap"
4202 if test "$no_cache" != 1; then
4203 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4204 fi
4205
4206 if test "$wxUSE_FONTMAP" = yes; then
4207 echo "$ac_t""yes" 1>&6
4208 else
4209 echo "$ac_t""no" 1>&6
4210 fi
4211
4212
4213 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4214echo "configure:4215: checking for --enable-unicode" >&5
4215 no_cache=0
4216 # Check whether --enable-unicode or --disable-unicode was given.
4217if test "${enable_unicode+set}" = set; then
4218 enableval="$enable_unicode"
4219
4220 if test "$enableval" = yes; then
4221 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4222 else
4223 ac_cv_use_unicode='wxUSE_UNICODE=no'
4224 fi
4225
4226else
4227
4228 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4229 if test "x$LINE" != x ; then
4230 eval "DEFAULT_$LINE"
4231 else
4232 no_cache=1
4233 fi
4234
4235 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4236
4237fi
4238
4239
4240 eval "$ac_cv_use_unicode"
4241 if test "$no_cache" != 1; then
4242 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4243 fi
4244
4245 if test "$wxUSE_UNICODE" = yes; then
4246 echo "$ac_t""yes" 1>&6
4247 else
4248 echo "$ac_t""no" 1>&6
4249 fi
4250
4251
4252 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4253echo "configure:4254: checking for --enable-mslu" >&5
4254 no_cache=0
4255 # Check whether --enable-mslu or --disable-mslu was given.
4256if test "${enable_mslu+set}" = set; then
4257 enableval="$enable_mslu"
4258
4259 if test "$enableval" = yes; then
4260 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4261 else
4262 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4263 fi
4264
4265else
4266
4267 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4268 if test "x$LINE" != x ; then
4269 eval "DEFAULT_$LINE"
4270 else
4271 no_cache=1
4272 fi
4273
4274 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4275
4276fi
4277
4278
4279 eval "$ac_cv_use_mslu"
4280 if test "$no_cache" != 1; then
4281 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4282 fi
4283
4284 if test "$wxUSE_UNICODE_MSLU" = yes; then
4285 echo "$ac_t""yes" 1>&6
4286 else
4287 echo "$ac_t""no" 1>&6
4288 fi
4289
4290
4291 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4292echo "configure:4293: checking for --enable-wxprintfv" >&5
4293 no_cache=0
4294 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4295if test "${enable_wxprintfv+set}" = set; then
4296 enableval="$enable_wxprintfv"
4297
4298 if test "$enableval" = yes; then
4299 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
4300 else
4301 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
4302 fi
4303
4304else
4305
4306 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4307 if test "x$LINE" != x ; then
4308 eval "DEFAULT_$LINE"
4309 else
4310 no_cache=1
4311 fi
4312
4313 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4314
4315fi
4316
4317
4318 eval "$ac_cv_use_wxprintfv"
4319 if test "$no_cache" != 1; then
4320 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4321 fi
4322
4323 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4324 echo "$ac_t""yes" 1>&6
4325 else
4326 echo "$ac_t""no" 1>&6
4327 fi
4328
4329
4330 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4331echo "configure:4332: checking for --enable-std_iostreams" >&5
4332 no_cache=0
4333 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4334if test "${enable_std_iostreams+set}" = set; then
4335 enableval="$enable_std_iostreams"
4336
4337 if test "$enableval" = yes; then
4338 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4339 else
4340 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4341 fi
4342
4343else
4344
4345 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4346 if test "x$LINE" != x ; then
4347 eval "DEFAULT_$LINE"
4348 else
4349 no_cache=1
4350 fi
4351
4352 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4353
4354fi
4355
4356
4357 eval "$ac_cv_use_std_iostreams"
4358 if test "$no_cache" != 1; then
4359 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4360 fi
4361
4362 if test "$wxUSE_STD_IOSTREAM" = yes; then
4363 echo "$ac_t""yes" 1>&6
4364 else
4365 echo "$ac_t""no" 1>&6
4366 fi
4367
4368
4369 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4370echo "configure:4371: checking for --enable-filesystem" >&5
4371 no_cache=0
4372 # Check whether --enable-filesystem or --disable-filesystem was given.
4373if test "${enable_filesystem+set}" = set; then
4374 enableval="$enable_filesystem"
4375
4376 if test "$enableval" = yes; then
4377 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4378 else
4379 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4380 fi
4381
4382else
4383
4384 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4385 if test "x$LINE" != x ; then
4386 eval "DEFAULT_$LINE"
4387 else
4388 no_cache=1
4389 fi
4390
4391 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4392
4393fi
4394
4395
4396 eval "$ac_cv_use_filesystem"
4397 if test "$no_cache" != 1; then
4398 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4399 fi
4400
4401 if test "$wxUSE_FILESYSTEM" = yes; then
4402 echo "$ac_t""yes" 1>&6
4403 else
4404 echo "$ac_t""no" 1>&6
4405 fi
4406
4407
4408 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4409echo "configure:4410: checking for --enable-fs_inet" >&5
4410 no_cache=0
4411 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4412if test "${enable_fs_inet+set}" = set; then
4413 enableval="$enable_fs_inet"
4414
4415 if test "$enableval" = yes; then
4416 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4417 else
4418 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4419 fi
4420
4421else
4422
4423 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4424 if test "x$LINE" != x ; then
4425 eval "DEFAULT_$LINE"
4426 else
4427 no_cache=1
4428 fi
4429
4430 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4431
4432fi
4433
4434
4435 eval "$ac_cv_use_fs_inet"
4436 if test "$no_cache" != 1; then
4437 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4438 fi
4439
4440 if test "$wxUSE_FS_INET" = yes; then
4441 echo "$ac_t""yes" 1>&6
4442 else
4443 echo "$ac_t""no" 1>&6
4444 fi
4445
4446
4447 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4448echo "configure:4449: checking for --enable-fs_zip" >&5
4449 no_cache=0
4450 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4451if test "${enable_fs_zip+set}" = set; then
4452 enableval="$enable_fs_zip"
4453
4454 if test "$enableval" = yes; then
4455 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4456 else
4457 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4458 fi
4459
4460else
4461
4462 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4463 if test "x$LINE" != x ; then
4464 eval "DEFAULT_$LINE"
4465 else
4466 no_cache=1
4467 fi
4468
4469 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4470
4471fi
4472
4473
4474 eval "$ac_cv_use_fs_zip"
4475 if test "$no_cache" != 1; then
4476 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4477 fi
4478
4479 if test "$wxUSE_FS_ZIP" = yes; then
4480 echo "$ac_t""yes" 1>&6
4481 else
4482 echo "$ac_t""no" 1>&6
4483 fi
4484
4485
4486 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4487echo "configure:4488: checking for --enable-zipstream" >&5
4488 no_cache=0
4489 # Check whether --enable-zipstream or --disable-zipstream was given.
4490if test "${enable_zipstream+set}" = set; then
4491 enableval="$enable_zipstream"
4492
4493 if test "$enableval" = yes; then
4494 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
4495 else
4496 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
4497 fi
4498
4499else
4500
4501 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4502 if test "x$LINE" != x ; then
4503 eval "DEFAULT_$LINE"
4504 else
4505 no_cache=1
4506 fi
4507
4508 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4509
4510fi
4511
4512
4513 eval "$ac_cv_use_zipstream"
4514 if test "$no_cache" != 1; then
4515 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4516 fi
4517
4518 if test "$wxUSE_ZIPSTREAM" = yes; then
4519 echo "$ac_t""yes" 1>&6
4520 else
4521 echo "$ac_t""no" 1>&6
4522 fi
4523
4524
4525
4526 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4527echo "configure:4528: checking for --enable-catch_segvs" >&5
4528 no_cache=0
4529 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4530if test "${enable_catch_segvs+set}" = set; then
4531 enableval="$enable_catch_segvs"
4532
4533 if test "$enableval" = yes; then
4534 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4535 else
4536 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4537 fi
4538
4539else
4540
4541 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4542 if test "x$LINE" != x ; then
4543 eval "DEFAULT_$LINE"
4544 else
4545 no_cache=1
4546 fi
4547
4548 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4549
4550fi
4551
4552
4553 eval "$ac_cv_use_catch_segvs"
4554 if test "$no_cache" != 1; then
4555 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4556 fi
4557
4558 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4559 echo "$ac_t""yes" 1>&6
4560 else
4561 echo "$ac_t""no" 1>&6
4562 fi
4563
4564
4565 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4566echo "configure:4567: checking for --enable-snglinst" >&5
4567 no_cache=0
4568 # Check whether --enable-snglinst or --disable-snglinst was given.
4569if test "${enable_snglinst+set}" = set; then
4570 enableval="$enable_snglinst"
4571
4572 if test "$enableval" = yes; then
4573 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
4574 else
4575 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
4576 fi
4577
4578else
4579
4580 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4581 if test "x$LINE" != x ; then
4582 eval "DEFAULT_$LINE"
4583 else
4584 no_cache=1
4585 fi
4586
4587 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4588
4589fi
4590
4591
4592 eval "$ac_cv_use_snglinst"
4593 if test "$no_cache" != 1; then
4594 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4595 fi
4596
4597 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4598 echo "$ac_t""yes" 1>&6
4599 else
4600 echo "$ac_t""no" 1>&6
4601 fi
4602
4603
4604
4605 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4606echo "configure:4607: checking for --enable-mimetype" >&5
4607 no_cache=0
4608 # Check whether --enable-mimetype or --disable-mimetype was given.
4609if test "${enable_mimetype+set}" = set; then
4610 enableval="$enable_mimetype"
4611
4612 if test "$enableval" = yes; then
4613 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
4614 else
4615 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
4616 fi
4617
4618else
4619
4620 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4621 if test "x$LINE" != x ; then
4622 eval "DEFAULT_$LINE"
4623 else
4624 no_cache=1
4625 fi
4626
4627 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4628
4629fi
4630
4631
4632 eval "$ac_cv_use_mimetype"
4633 if test "$no_cache" != 1; then
4634 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4635 fi
4636
4637 if test "$wxUSE_MIMETYPE" = yes; then
4638 echo "$ac_t""yes" 1>&6
4639 else
4640 echo "$ac_t""no" 1>&6
4641 fi
4642
4643
4644 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4645echo "configure:4646: checking for --enable-system_options" >&5
4646 no_cache=0
4647 # Check whether --enable-system_options or --disable-system_options was given.
4648if test "${enable_system_options+set}" = set; then
4649 enableval="$enable_system_options"
4650
4651 if test "$enableval" = yes; then
4652 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
4653 else
4654 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
4655 fi
4656
4657else
4658
4659 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4660 if test "x$LINE" != x ; then
4661 eval "DEFAULT_$LINE"
4662 else
4663 no_cache=1
4664 fi
4665
4666 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4667
4668fi
4669
4670
4671 eval "$ac_cv_use_system_options"
4672 if test "$no_cache" != 1; then
4673 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4674 fi
4675
4676 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4677 echo "$ac_t""yes" 1>&6
4678 else
4679 echo "$ac_t""no" 1>&6
4680 fi
4681
4682
4683
4684 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4685echo "configure:4686: checking for --enable-url" >&5
4686 no_cache=0
4687 # Check whether --enable-url or --disable-url was given.
4688if test "${enable_url+set}" = set; then
4689 enableval="$enable_url"
4690
4691 if test "$enableval" = yes; then
4692 ac_cv_use_url='wxUSE_URL=yes'
4693 else
4694 ac_cv_use_url='wxUSE_URL=no'
4695 fi
4696
4697else
4698
4699 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4700 if test "x$LINE" != x ; then
4701 eval "DEFAULT_$LINE"
4702 else
4703 no_cache=1
4704 fi
4705
4706 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
4707
4708fi
4709
4710
4711 eval "$ac_cv_use_url"
4712 if test "$no_cache" != 1; then
4713 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4714 fi
4715
4716 if test "$wxUSE_URL" = yes; then
4717 echo "$ac_t""yes" 1>&6
4718 else
4719 echo "$ac_t""no" 1>&6
4720 fi
4721
4722
4723 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4724echo "configure:4725: checking for --enable-protocol" >&5
4725 no_cache=0
4726 # Check whether --enable-protocol or --disable-protocol was given.
4727if test "${enable_protocol+set}" = set; then
4728 enableval="$enable_protocol"
4729
4730 if test "$enableval" = yes; then
4731 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
4732 else
4733 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
4734 fi
4735
4736else
4737
4738 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4739 if test "x$LINE" != x ; then
4740 eval "DEFAULT_$LINE"
4741 else
4742 no_cache=1
4743 fi
4744
4745 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4746
4747fi
4748
4749
4750 eval "$ac_cv_use_protocol"
4751 if test "$no_cache" != 1; then
4752 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4753 fi
4754
4755 if test "$wxUSE_PROTOCOL" = yes; then
4756 echo "$ac_t""yes" 1>&6
4757 else
4758 echo "$ac_t""no" 1>&6
4759 fi
4760
4761
4762 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4763echo "configure:4764: checking for --enable-protocol_http" >&5
4764 no_cache=0
4765 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4766if test "${enable_protocol_http+set}" = set; then
4767 enableval="$enable_protocol_http"
4768
4769 if test "$enableval" = yes; then
4770 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
4771 else
4772 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
4773 fi
4774
4775else
4776
4777 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4778 if test "x$LINE" != x ; then
4779 eval "DEFAULT_$LINE"
4780 else
4781 no_cache=1
4782 fi
4783
4784 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4785
4786fi
4787
4788
4789 eval "$ac_cv_use_protocol_http"
4790 if test "$no_cache" != 1; then
4791 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4792 fi
4793
4794 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4795 echo "$ac_t""yes" 1>&6
4796 else
4797 echo "$ac_t""no" 1>&6
4798 fi
4799
4800
4801 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4802echo "configure:4803: checking for --enable-protocol_ftp" >&5
4803 no_cache=0
4804 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4805if test "${enable_protocol_ftp+set}" = set; then
4806 enableval="$enable_protocol_ftp"
4807
4808 if test "$enableval" = yes; then
4809 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
4810 else
4811 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
4812 fi
4813
4814else
4815
4816 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4817 if test "x$LINE" != x ; then
4818 eval "DEFAULT_$LINE"
4819 else
4820 no_cache=1
4821 fi
4822
4823 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4824
4825fi
4826
4827
4828 eval "$ac_cv_use_protocol_ftp"
4829 if test "$no_cache" != 1; then
4830 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4831 fi
4832
4833 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4834 echo "$ac_t""yes" 1>&6
4835 else
4836 echo "$ac_t""no" 1>&6
4837 fi
4838
4839
4840 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4841echo "configure:4842: checking for --enable-protocol_file" >&5
4842 no_cache=0
4843 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4844if test "${enable_protocol_file+set}" = set; then
4845 enableval="$enable_protocol_file"
4846
4847 if test "$enableval" = yes; then
4848 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
4849 else
4850 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
4851 fi
4852
4853else
4854
4855 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4856 if test "x$LINE" != x ; then
4857 eval "DEFAULT_$LINE"
4858 else
4859 no_cache=1
4860 fi
4861
4862 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4863
4864fi
4865
4866
4867 eval "$ac_cv_use_protocol_file"
4868 if test "$no_cache" != 1; then
4869 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4870 fi
4871
4872 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4873 echo "$ac_t""yes" 1>&6
4874 else
4875 echo "$ac_t""no" 1>&6
4876 fi
4877
4878
4879
4880
4881
4882 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4883echo "configure:4884: checking for --enable-threads" >&5
4884 no_cache=0
4885 # Check whether --enable-threads or --disable-threads was given.
4886if test "${enable_threads+set}" = set; then
4887 enableval="$enable_threads"
4888
4889 if test "$enableval" = yes; then
4890 ac_cv_use_threads='wxUSE_THREADS=yes'
4891 else
4892 ac_cv_use_threads='wxUSE_THREADS=no'
4893 fi
4894
4895else
4896
4897 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4898 if test "x$LINE" != x ; then
4899 eval "DEFAULT_$LINE"
4900 else
4901 no_cache=1
4902 fi
4903
4904 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4905
4906fi
4907
4908
4909 eval "$ac_cv_use_threads"
4910 if test "$no_cache" != 1; then
4911 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4912 fi
4913
4914 if test "$wxUSE_THREADS" = yes; then
4915 echo "$ac_t""yes" 1>&6
4916 else
4917 echo "$ac_t""no" 1>&6
4918 fi
4919
4920
4921if test "$wxUSE_GUI" = "yes"; then
4922
4923
4924
4925 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4926echo "configure:4927: checking for --enable-docview" >&5
4927 no_cache=0
4928 # Check whether --enable-docview or --disable-docview was given.
4929if test "${enable_docview+set}" = set; then
4930 enableval="$enable_docview"
4931
4932 if test "$enableval" = yes; then
4933 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4934 else
4935 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4936 fi
4937
4938else
4939
4940 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4941 if test "x$LINE" != x ; then
4942 eval "DEFAULT_$LINE"
4943 else
4944 no_cache=1
4945 fi
4946
4947 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4948
4949fi
4950
4951
4952 eval "$ac_cv_use_docview"
4953 if test "$no_cache" != 1; then
4954 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4955 fi
4956
4957 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4958 echo "$ac_t""yes" 1>&6
4959 else
4960 echo "$ac_t""no" 1>&6
4961 fi
4962
4963
4964 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4965echo "configure:4966: checking for --enable-help" >&5
4966 no_cache=0
4967 # Check whether --enable-help or --disable-help was given.
4968if test "${enable_help+set}" = set; then
4969 enableval="$enable_help"
4970
4971 if test "$enableval" = yes; then
4972 ac_cv_use_help='wxUSE_HELP=yes'
4973 else
4974 ac_cv_use_help='wxUSE_HELP=no'
4975 fi
4976
4977else
4978
4979 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4980 if test "x$LINE" != x ; then
4981 eval "DEFAULT_$LINE"
4982 else
4983 no_cache=1
4984 fi
4985
4986 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4987
4988fi
4989
4990
4991 eval "$ac_cv_use_help"
4992 if test "$no_cache" != 1; then
4993 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4994 fi
4995
4996 if test "$wxUSE_HELP" = yes; then
4997 echo "$ac_t""yes" 1>&6
4998 else
4999 echo "$ac_t""no" 1>&6
5000 fi
5001
5002
5003 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
5004echo "configure:5005: checking for --enable-mshtmlhelp" >&5
5005 no_cache=0
5006 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5007if test "${enable_mshtmlhelp+set}" = set; then
5008 enableval="$enable_mshtmlhelp"
5009
5010 if test "$enableval" = yes; then
5011 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5012 else
5013 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5014 fi
5015
5016else
5017
5018 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5019 if test "x$LINE" != x ; then
5020 eval "DEFAULT_$LINE"
5021 else
5022 no_cache=1
5023 fi
5024
5025 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5026
5027fi
5028
5029
5030 eval "$ac_cv_use_mshtmlhelp"
5031 if test "$no_cache" != 1; then
5032 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5033 fi
5034
5035 if test "$wxUSE_MS_HTML_HELP" = yes; then
5036 echo "$ac_t""yes" 1>&6
5037 else
5038 echo "$ac_t""no" 1>&6
5039 fi
5040
5041
5042 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
5043echo "configure:5044: checking for --enable-html" >&5
5044 no_cache=0
5045 # Check whether --enable-html or --disable-html was given.
5046if test "${enable_html+set}" = set; then
5047 enableval="$enable_html"
5048
5049 if test "$enableval" = yes; then
5050 ac_cv_use_html='wxUSE_HTML=yes'
5051 else
5052 ac_cv_use_html='wxUSE_HTML=no'
5053 fi
5054
5055else
5056
5057 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5058 if test "x$LINE" != x ; then
5059 eval "DEFAULT_$LINE"
5060 else
5061 no_cache=1
5062 fi
5063
5064 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5065
5066fi
5067
5068
5069 eval "$ac_cv_use_html"
5070 if test "$no_cache" != 1; then
5071 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5072 fi
5073
5074 if test "$wxUSE_HTML" = yes; then
5075 echo "$ac_t""yes" 1>&6
5076 else
5077 echo "$ac_t""no" 1>&6
5078 fi
5079
5080
5081 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
5082echo "configure:5083: checking for --enable-htmlhelp" >&5
5083 no_cache=0
5084 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5085if test "${enable_htmlhelp+set}" = set; then
5086 enableval="$enable_htmlhelp"
5087
5088 if test "$enableval" = yes; then
5089 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5090 else
5091 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5092 fi
5093
5094else
5095
5096 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5097 if test "x$LINE" != x ; then
5098 eval "DEFAULT_$LINE"
5099 else
5100 no_cache=1
5101 fi
5102
5103 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5104
5105fi
5106
5107
5108 eval "$ac_cv_use_htmlhelp"
5109 if test "$no_cache" != 1; then
5110 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5111 fi
5112
5113 if test "$wxUSE_WXHTML_HELP" = yes; then
5114 echo "$ac_t""yes" 1>&6
5115 else
5116 echo "$ac_t""no" 1>&6
5117 fi
5118
5119
5120 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
5121echo "configure:5122: checking for --enable-constraints" >&5
5122 no_cache=0
5123 # Check whether --enable-constraints or --disable-constraints was given.
5124if test "${enable_constraints+set}" = set; then
5125 enableval="$enable_constraints"
5126
5127 if test "$enableval" = yes; then
5128 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5129 else
5130 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5131 fi
5132
5133else
5134
5135 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5136 if test "x$LINE" != x ; then
5137 eval "DEFAULT_$LINE"
5138 else
5139 no_cache=1
5140 fi
5141
5142 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5143
5144fi
5145
5146
5147 eval "$ac_cv_use_constraints"
5148 if test "$no_cache" != 1; then
5149 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5150 fi
5151
5152 if test "$wxUSE_CONSTRAINTS" = yes; then
5153 echo "$ac_t""yes" 1>&6
5154 else
5155 echo "$ac_t""no" 1>&6
5156 fi
5157
5158
5159 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5160echo "configure:5161: checking for --enable-printarch" >&5
5161 no_cache=0
5162 # Check whether --enable-printarch or --disable-printarch was given.
5163if test "${enable_printarch+set}" = set; then
5164 enableval="$enable_printarch"
5165
5166 if test "$enableval" = yes; then
5167 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5168 else
5169 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5170 fi
5171
5172else
5173
5174 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5175 if test "x$LINE" != x ; then
5176 eval "DEFAULT_$LINE"
5177 else
5178 no_cache=1
5179 fi
5180
5181 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5182
5183fi
5184
5185
5186 eval "$ac_cv_use_printarch"
5187 if test "$no_cache" != 1; then
5188 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5189 fi
5190
5191 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5192 echo "$ac_t""yes" 1>&6
5193 else
5194 echo "$ac_t""no" 1>&6
5195 fi
5196
5197
5198 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5199echo "configure:5200: checking for --enable-mdi" >&5
5200 no_cache=0
5201 # Check whether --enable-mdi or --disable-mdi was given.
5202if test "${enable_mdi+set}" = set; then
5203 enableval="$enable_mdi"
5204
5205 if test "$enableval" = yes; then
5206 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
5207 else
5208 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
5209 fi
5210
5211else
5212
5213 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5214 if test "x$LINE" != x ; then
5215 eval "DEFAULT_$LINE"
5216 else
5217 no_cache=1
5218 fi
5219
5220 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5221
5222fi
5223
5224
5225 eval "$ac_cv_use_mdi"
5226 if test "$no_cache" != 1; then
5227 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5228 fi
5229
5230 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5231 echo "$ac_t""yes" 1>&6
5232 else
5233 echo "$ac_t""no" 1>&6
5234 fi
5235
5236
5237 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5238echo "configure:5239: checking for --enable-loggui" >&5
5239 no_cache=0
5240 # Check whether --enable-loggui or --disable-loggui was given.
5241if test "${enable_loggui+set}" = set; then
5242 enableval="$enable_loggui"
5243
5244 if test "$enableval" = yes; then
5245 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
5246 else
5247 ac_cv_use_loggui='wxUSE_LOGGUI=no'
5248 fi
5249
5250else
5251
5252 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5253 if test "x$LINE" != x ; then
5254 eval "DEFAULT_$LINE"
5255 else
5256 no_cache=1
5257 fi
5258
5259 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5260
5261fi
5262
5263
5264 eval "$ac_cv_use_loggui"
5265 if test "$no_cache" != 1; then
5266 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5267 fi
5268
5269 if test "$wxUSE_LOGGUI" = yes; then
5270 echo "$ac_t""yes" 1>&6
5271 else
5272 echo "$ac_t""no" 1>&6
5273 fi
5274
5275
5276 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5277echo "configure:5278: checking for --enable-logwin" >&5
5278 no_cache=0
5279 # Check whether --enable-logwin or --disable-logwin was given.
5280if test "${enable_logwin+set}" = set; then
5281 enableval="$enable_logwin"
5282
5283 if test "$enableval" = yes; then
5284 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
5285 else
5286 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
5287 fi
5288
5289else
5290
5291 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5292 if test "x$LINE" != x ; then
5293 eval "DEFAULT_$LINE"
5294 else
5295 no_cache=1
5296 fi
5297
5298 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5299
5300fi
5301
5302
5303 eval "$ac_cv_use_logwin"
5304 if test "$no_cache" != 1; then
5305 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5306 fi
5307
5308 if test "$wxUSE_LOGWINDOW" = yes; then
5309 echo "$ac_t""yes" 1>&6
5310 else
5311 echo "$ac_t""no" 1>&6
5312 fi
5313
5314
5315 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5316echo "configure:5317: checking for --enable-logdialog" >&5
5317 no_cache=0
5318 # Check whether --enable-logdialog or --disable-logdialog was given.
5319if test "${enable_logdialog+set}" = set; then
5320 enableval="$enable_logdialog"
5321
5322 if test "$enableval" = yes; then
5323 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
5324 else
5325 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
5326 fi
5327
5328else
5329
5330 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5331 if test "x$LINE" != x ; then
5332 eval "DEFAULT_$LINE"
5333 else
5334 no_cache=1
5335 fi
5336
5337 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5338
5339fi
5340
5341
5342 eval "$ac_cv_use_logdialog"
5343 if test "$no_cache" != 1; then
5344 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5345 fi
5346
5347 if test "$wxUSE_LOGDIALOG" = yes; then
5348 echo "$ac_t""yes" 1>&6
5349 else
5350 echo "$ac_t""no" 1>&6
5351 fi
5352
5353
5354
5355 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5356echo "configure:5357: checking for --enable-postscript" >&5
5357 no_cache=0
5358 # Check whether --enable-postscript or --disable-postscript was given.
5359if test "${enable_postscript+set}" = set; then
5360 enableval="$enable_postscript"
5361
5362 if test "$enableval" = yes; then
5363 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
5364 else
5365 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
5366 fi
5367
5368else
5369
5370 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5371 if test "x$LINE" != x ; then
5372 eval "DEFAULT_$LINE"
5373 else
5374 no_cache=1
5375 fi
5376
5377 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5378
5379fi
5380
5381
5382 eval "$ac_cv_use_postscript"
5383 if test "$no_cache" != 1; then
5384 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5385 fi
5386
5387 if test "$wxUSE_POSTSCRIPT" = yes; then
5388 echo "$ac_t""yes" 1>&6
5389 else
5390 echo "$ac_t""no" 1>&6
5391 fi
5392
5393
5394
5395
5396
5397 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5398echo "configure:5399: checking for --enable-prologio" >&5
5399 no_cache=0
5400 # Check whether --enable-prologio or --disable-prologio was given.
5401if test "${enable_prologio+set}" = set; then
5402 enableval="$enable_prologio"
5403
5404 if test "$enableval" = yes; then
5405 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
5406 else
5407 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
5408 fi
5409
5410else
5411
5412 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5413 if test "x$LINE" != x ; then
5414 eval "DEFAULT_$LINE"
5415 else
5416 no_cache=1
5417 fi
5418
5419 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5420
5421fi
5422
5423
5424 eval "$ac_cv_use_prologio"
5425 if test "$no_cache" != 1; then
5426 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5427 fi
5428
5429 if test "$wxUSE_PROLOGIO" = yes; then
5430 echo "$ac_t""yes" 1>&6
5431 else
5432 echo "$ac_t""no" 1>&6
5433 fi
5434
5435
5436 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5437echo "configure:5438: checking for --enable-resources" >&5
5438 no_cache=0
5439 # Check whether --enable-resources or --disable-resources was given.
5440if test "${enable_resources+set}" = set; then
5441 enableval="$enable_resources"
5442
5443 if test "$enableval" = yes; then
5444 ac_cv_use_resources='wxUSE_RESOURCES=yes'
5445 else
5446 ac_cv_use_resources='wxUSE_RESOURCES=no'
5447 fi
5448
5449else
5450
5451 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5452 if test "x$LINE" != x ; then
5453 eval "DEFAULT_$LINE"
5454 else
5455 no_cache=1
5456 fi
5457
5458 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5459
5460fi
5461
5462
5463 eval "$ac_cv_use_resources"
5464 if test "$no_cache" != 1; then
5465 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5466 fi
5467
5468 if test "$wxUSE_RESOURCES" = yes; then
5469 echo "$ac_t""yes" 1>&6
5470 else
5471 echo "$ac_t""no" 1>&6
5472 fi
5473
5474
5475
5476 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5477echo "configure:5478: checking for --enable-xresources" >&5
5478 no_cache=0
5479 # Check whether --enable-xresources or --disable-xresources was given.
5480if test "${enable_xresources+set}" = set; then
5481 enableval="$enable_xresources"
5482
5483 if test "$enableval" = yes; then
5484 ac_cv_use_xresources='wxUSE_X_RESOURCES=yes'
5485 else
5486 ac_cv_use_xresources='wxUSE_X_RESOURCES=no'
5487 fi
5488
5489else
5490
5491 LINE=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5492 if test "x$LINE" != x ; then
5493 eval "DEFAULT_$LINE"
5494 else
5495 no_cache=1
5496 fi
5497
5498 ac_cv_use_xresources='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5499
5500fi
5501
5502
5503 eval "$ac_cv_use_xresources"
5504 if test "$no_cache" != 1; then
5505 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5506 fi
5507
5508 if test "$wxUSE_X_RESOURCES" = yes; then
5509 echo "$ac_t""yes" 1>&6
5510 else
5511 echo "$ac_t""no" 1>&6
5512 fi
5513
5514
5515
5516
5517 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5518echo "configure:5519: checking for --enable-clipboard" >&5
5519 no_cache=0
5520 # Check whether --enable-clipboard or --disable-clipboard was given.
5521if test "${enable_clipboard+set}" = set; then
5522 enableval="$enable_clipboard"
5523
5524 if test "$enableval" = yes; then
5525 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
5526 else
5527 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
5528 fi
5529
5530else
5531
5532 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5533 if test "x$LINE" != x ; then
5534 eval "DEFAULT_$LINE"
5535 else
5536 no_cache=1
5537 fi
5538
5539 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5540
5541fi
5542
5543
5544 eval "$ac_cv_use_clipboard"
5545 if test "$no_cache" != 1; then
5546 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5547 fi
5548
5549 if test "$wxUSE_CLIPBOARD" = yes; then
5550 echo "$ac_t""yes" 1>&6
5551 else
5552 echo "$ac_t""no" 1>&6
5553 fi
5554
5555
5556 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5557echo "configure:5558: checking for --enable-dnd" >&5
5558 no_cache=0
5559 # Check whether --enable-dnd or --disable-dnd was given.
5560if test "${enable_dnd+set}" = set; then
5561 enableval="$enable_dnd"
5562
5563 if test "$enableval" = yes; then
5564 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
5565 else
5566 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
5567 fi
5568
5569else
5570
5571 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5572 if test "x$LINE" != x ; then
5573 eval "DEFAULT_$LINE"
5574 else
5575 no_cache=1
5576 fi
5577
5578 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5579
5580fi
5581
5582
5583 eval "$ac_cv_use_dnd"
5584 if test "$no_cache" != 1; then
5585 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5586 fi
5587
5588 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5589 echo "$ac_t""yes" 1>&6
5590 else
5591 echo "$ac_t""no" 1>&6
5592 fi
5593
5594
5595 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5596echo "configure:5597: checking for --enable-metafile" >&5
5597 no_cache=0
5598 # Check whether --enable-metafile or --disable-metafile was given.
5599if test "${enable_metafile+set}" = set; then
5600 enableval="$enable_metafile"
5601
5602 if test "$enableval" = yes; then
5603 ac_cv_use_metafile='wxUSE_METAFILE=yes'
5604 else
5605 ac_cv_use_metafile='wxUSE_METAFILE=no'
5606 fi
5607
5608else
5609
5610 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5611 if test "x$LINE" != x ; then
5612 eval "DEFAULT_$LINE"
5613 else
5614 no_cache=1
5615 fi
5616
5617 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5618
5619fi
5620
5621
5622 eval "$ac_cv_use_metafile"
5623 if test "$no_cache" != 1; then
5624 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5625 fi
5626
5627 if test "$wxUSE_METAFILE" = yes; then
5628 echo "$ac_t""yes" 1>&6
5629 else
5630 echo "$ac_t""no" 1>&6
5631 fi
5632
5633
5634
5635 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5636echo "configure:5637: checking for --enable-treelayout" >&5
5637 no_cache=0
5638 # Check whether --enable-treelayout or --disable-treelayout was given.
5639if test "${enable_treelayout+set}" = set; then
5640 enableval="$enable_treelayout"
5641
5642 if test "$enableval" = yes; then
5643 ac_cv_use_treelayout='wxUSE_TREELAYOUT=yes'
5644 else
5645 ac_cv_use_treelayout='wxUSE_TREELAYOUT=no'
5646 fi
5647
5648else
5649
5650 LINE=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5651 if test "x$LINE" != x ; then
5652 eval "DEFAULT_$LINE"
5653 else
5654 no_cache=1
5655 fi
5656
5657 ac_cv_use_treelayout='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5658
5659fi
5660
5661
5662 eval "$ac_cv_use_treelayout"
5663 if test "$no_cache" != 1; then
5664 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5665 fi
5666
5667 if test "$wxUSE_TREELAYOUT" = yes; then
5668 echo "$ac_t""yes" 1>&6
5669 else
5670 echo "$ac_t""no" 1>&6
5671 fi
5672
5673
5674
5675
5676 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5677echo "configure:5678: checking for --enable-controls" >&5
5678 no_cache=0
5679 # Check whether --enable-controls or --disable-controls was given.
5680if test "${enable_controls+set}" = set; then
5681 enableval="$enable_controls"
5682
5683 if test "$enableval" = yes; then
5684 ac_cv_use_controls='wxUSE_CONTROLS=yes'
5685 else
5686 ac_cv_use_controls='wxUSE_CONTROLS=no'
5687 fi
5688
5689else
5690
5691 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5692 if test "x$LINE" != x ; then
5693 eval "DEFAULT_$LINE"
5694 else
5695 no_cache=1
5696 fi
5697
5698 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5699
5700fi
5701
5702
5703 eval "$ac_cv_use_controls"
5704 if test "$no_cache" != 1; then
5705 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5706 fi
5707
5708 if test "$wxUSE_CONTROLS" = yes; then
5709 echo "$ac_t""yes" 1>&6
5710 else
5711 echo "$ac_t""no" 1>&6
5712 fi
5713
5714
5715if test "$wxUSE_CONTROLS" = "yes"; then
5716 DEFAULT_wxUSE_ACCEL=yes
5717 DEFAULT_wxUSE_BMPBUTTON=yes
5718 DEFAULT_wxUSE_BUTTON=yes
5719 DEFAULT_wxUSE_CALCTRL=no
5720 DEFAULT_wxUSE_CARET=yes
5721 DEFAULT_wxUSE_COMBOBOX=yes
5722 DEFAULT_wxUSE_CHECKBOX=yes
5723 DEFAULT_wxUSE_CHECKLISTBOX=yes
5724 DEFAULT_wxUSE_CHOICE=yes
5725 DEFAULT_wxUSE_GAUGE=yes
5726 DEFAULT_wxUSE_GRID=yes
5727 DEFAULT_wxUSE_NEW_GRID=yes
5728 DEFAULT_wxUSE_IMAGLIST=yes
5729 DEFAULT_wxUSE_LISTBOX=yes
5730 DEFAULT_wxUSE_LISTCTRL=yes
5731 DEFAULT_wxUSE_NOTEBOOK=yes
5732 DEFAULT_wxUSE_PROPSHEET=yes
5733 DEFAULT_wxUSE_RADIOBOX=yes
5734 DEFAULT_wxUSE_RADIOBTN=yes
5735 DEFAULT_wxUSE_SASH=yes
5736 DEFAULT_wxUSE_SCROLLBAR=yes
5737 DEFAULT_wxUSE_SLIDER=yes
5738 DEFAULT_wxUSE_SPINBTN=yes
5739 DEFAULT_wxUSE_SPINCTRL=yes
5740 DEFAULT_wxUSE_SPLITTER=yes
5741 DEFAULT_wxUSE_STATBMP=yes
5742 DEFAULT_wxUSE_STATBOX=yes
5743 DEFAULT_wxUSE_STATLINE=yes
5744 DEFAULT_wxUSE_STATUSBAR=yes
5745 DEFAULT_wxUSE_TAB_DIALOG=yes
5746 DEFAULT_wxUSE_TOGGLEBTN=yes
5747 DEFAULT_wxUSE_TOOLBAR=yes
5748 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
5749 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
5750 DEFAULT_wxUSE_TOOLTIPS=yes
5751 DEFAULT_wxUSE_TREECTRL=yes
5752 DEFAULT_wxUSE_POPUPWIN=yes
5753 DEFAULT_wxUSE_TIPWINDOW=yes
5754elif test "$wxUSE_CONTROLS" = "no"; then
5755 DEFAULT_wxUSE_ACCEL=no
5756 DEFAULT_wxUSE_BMPBUTTON=no
5757 DEFAULT_wxUSE_BUTTON=no
5758 DEFAULT_wxUSE_CALCTRL=no
5759 DEFAULT_wxUSE_CARET=no
5760 DEFAULT_wxUSE_COMBOBOX=no
5761 DEFAULT_wxUSE_CHECKBOX=no
5762 DEFAULT_wxUSE_CHECKLISTBOX=no
5763 DEFAULT_wxUSE_CHOICE=no
5764 DEFAULT_wxUSE_GAUGE=no
5765 DEFAULT_wxUSE_GRID=no
5766 DEFAULT_wxUSE_NEW_GRID=no
5767 DEFAULT_wxUSE_IMAGLIST=no
5768 DEFAULT_wxUSE_LISTBOX=no
5769 DEFAULT_wxUSE_LISTCTRL=no
5770 DEFAULT_wxUSE_NOTEBOOK=no
5771 DEFAULT_wxUSE_PROPSHEET=no
5772 DEFAULT_wxUSE_RADIOBOX=no
5773 DEFAULT_wxUSE_RADIOBTN=no
5774 DEFAULT_wxUSE_SASH=no
5775 DEFAULT_wxUSE_SCROLLBAR=no
5776 DEFAULT_wxUSE_SLIDER=no
5777 DEFAULT_wxUSE_SPINBTN=no
5778 DEFAULT_wxUSE_SPINCTRL=no
5779 DEFAULT_wxUSE_SPLITTER=no
5780 DEFAULT_wxUSE_STATBMP=no
5781 DEFAULT_wxUSE_STATBOX=no
5782 DEFAULT_wxUSE_STATLINE=no
5783 DEFAULT_wxUSE_STATUSBAR=no
5784 DEFAULT_wxUSE_TAB_DIALOG=no
5785 DEFAULT_wxUSE_TOGGLEBTN=no
5786 DEFAULT_wxUSE_TOOLBAR=no
5787 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
5788 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
5789 DEFAULT_wxUSE_TOOLTIPS=no
5790 DEFAULT_wxUSE_TREECTRL=no
5791 DEFAULT_wxUSE_POPUPWIN=no
5792 DEFAULT_wxUSE_TIPWINDOW=no
5793fi
5794
5795
5796 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5797echo "configure:5798: checking for --enable-accel" >&5
5798 no_cache=0
5799 # Check whether --enable-accel or --disable-accel was given.
5800if test "${enable_accel+set}" = set; then
5801 enableval="$enable_accel"
5802
5803 if test "$enableval" = yes; then
5804 ac_cv_use_accel='wxUSE_ACCEL=yes'
5805 else
5806 ac_cv_use_accel='wxUSE_ACCEL=no'
5807 fi
5808
5809else
5810
5811 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5812 if test "x$LINE" != x ; then
5813 eval "DEFAULT_$LINE"
5814 else
5815 no_cache=1
5816 fi
5817
5818 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5819
5820fi
5821
5822
5823 eval "$ac_cv_use_accel"
5824 if test "$no_cache" != 1; then
5825 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5826 fi
5827
5828 if test "$wxUSE_ACCEL" = yes; then
5829 echo "$ac_t""yes" 1>&6
5830 else
5831 echo "$ac_t""no" 1>&6
5832 fi
5833
5834
5835 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5836echo "configure:5837: checking for --enable-button" >&5
5837 no_cache=0
5838 # Check whether --enable-button or --disable-button was given.
5839if test "${enable_button+set}" = set; then
5840 enableval="$enable_button"
5841
5842 if test "$enableval" = yes; then
5843 ac_cv_use_button='wxUSE_BUTTON=yes'
5844 else
5845 ac_cv_use_button='wxUSE_BUTTON=no'
5846 fi
5847
5848else
5849
5850 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5851 if test "x$LINE" != x ; then
5852 eval "DEFAULT_$LINE"
5853 else
5854 no_cache=1
5855 fi
5856
5857 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5858
5859fi
5860
5861
5862 eval "$ac_cv_use_button"
5863 if test "$no_cache" != 1; then
5864 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5865 fi
5866
5867 if test "$wxUSE_BUTTON" = yes; then
5868 echo "$ac_t""yes" 1>&6
5869 else
5870 echo "$ac_t""no" 1>&6
5871 fi
5872
5873
5874 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5875echo "configure:5876: checking for --enable-bmpbutton" >&5
5876 no_cache=0
5877 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5878if test "${enable_bmpbutton+set}" = set; then
5879 enableval="$enable_bmpbutton"
5880
5881 if test "$enableval" = yes; then
5882 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
5883 else
5884 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
5885 fi
5886
5887else
5888
5889 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5890 if test "x$LINE" != x ; then
5891 eval "DEFAULT_$LINE"
5892 else
5893 no_cache=1
5894 fi
5895
5896 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5897
5898fi
5899
5900
5901 eval "$ac_cv_use_bmpbutton"
5902 if test "$no_cache" != 1; then
5903 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5904 fi
5905
5906 if test "$wxUSE_BMPBUTTON" = yes; then
5907 echo "$ac_t""yes" 1>&6
5908 else
5909 echo "$ac_t""no" 1>&6
5910 fi
5911
5912
5913 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5914echo "configure:5915: checking for --enable-calendar" >&5
5915 no_cache=0
5916 # Check whether --enable-calendar or --disable-calendar was given.
5917if test "${enable_calendar+set}" = set; then
5918 enableval="$enable_calendar"
5919
5920 if test "$enableval" = yes; then
5921 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
5922 else
5923 ac_cv_use_calendar='wxUSE_CALCTRL=no'
5924 fi
5925
5926else
5927
5928 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5929 if test "x$LINE" != x ; then
5930 eval "DEFAULT_$LINE"
5931 else
5932 no_cache=1
5933 fi
5934
5935 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5936
5937fi
5938
5939
5940 eval "$ac_cv_use_calendar"
5941 if test "$no_cache" != 1; then
5942 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5943 fi
5944
5945 if test "$wxUSE_CALCTRL" = yes; then
5946 echo "$ac_t""yes" 1>&6
5947 else
5948 echo "$ac_t""no" 1>&6
5949 fi
5950
5951
5952 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5953echo "configure:5954: checking for --enable-caret" >&5
5954 no_cache=0
5955 # Check whether --enable-caret or --disable-caret was given.
5956if test "${enable_caret+set}" = set; then
5957 enableval="$enable_caret"
5958
5959 if test "$enableval" = yes; then
5960 ac_cv_use_caret='wxUSE_CARET=yes'
5961 else
5962 ac_cv_use_caret='wxUSE_CARET=no'
5963 fi
5964
5965else
5966
5967 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5968 if test "x$LINE" != x ; then
5969 eval "DEFAULT_$LINE"
5970 else
5971 no_cache=1
5972 fi
5973
5974 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5975
5976fi
5977
5978
5979 eval "$ac_cv_use_caret"
5980 if test "$no_cache" != 1; then
5981 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5982 fi
5983
5984 if test "$wxUSE_CARET" = yes; then
5985 echo "$ac_t""yes" 1>&6
5986 else
5987 echo "$ac_t""no" 1>&6
5988 fi
5989
5990
5991 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5992echo "configure:5993: checking for --enable-checkbox" >&5
5993 no_cache=0
5994 # Check whether --enable-checkbox or --disable-checkbox was given.
5995if test "${enable_checkbox+set}" = set; then
5996 enableval="$enable_checkbox"
5997
5998 if test "$enableval" = yes; then
5999 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6000 else
6001 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6002 fi
6003
6004else
6005
6006 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6007 if test "x$LINE" != x ; then
6008 eval "DEFAULT_$LINE"
6009 else
6010 no_cache=1
6011 fi
6012
6013 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6014
6015fi
6016
6017
6018 eval "$ac_cv_use_checkbox"
6019 if test "$no_cache" != 1; then
6020 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6021 fi
6022
6023 if test "$wxUSE_CHECKBOX" = yes; then
6024 echo "$ac_t""yes" 1>&6
6025 else
6026 echo "$ac_t""no" 1>&6
6027 fi
6028
6029
6030 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
6031echo "configure:6032: checking for --enable-checklst" >&5
6032 no_cache=0
6033 # Check whether --enable-checklst or --disable-checklst was given.
6034if test "${enable_checklst+set}" = set; then
6035 enableval="$enable_checklst"
6036
6037 if test "$enableval" = yes; then
6038 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6039 else
6040 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6041 fi
6042
6043else
6044
6045 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6046 if test "x$LINE" != x ; then
6047 eval "DEFAULT_$LINE"
6048 else
6049 no_cache=1
6050 fi
6051
6052 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6053
6054fi
6055
6056
6057 eval "$ac_cv_use_checklst"
6058 if test "$no_cache" != 1; then
6059 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6060 fi
6061
6062 if test "$wxUSE_CHECKLST" = yes; then
6063 echo "$ac_t""yes" 1>&6
6064 else
6065 echo "$ac_t""no" 1>&6
6066 fi
6067
6068
6069 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
6070echo "configure:6071: checking for --enable-choice" >&5
6071 no_cache=0
6072 # Check whether --enable-choice or --disable-choice was given.
6073if test "${enable_choice+set}" = set; then
6074 enableval="$enable_choice"
6075
6076 if test "$enableval" = yes; then
6077 ac_cv_use_choice='wxUSE_CHOICE=yes'
6078 else
6079 ac_cv_use_choice='wxUSE_CHOICE=no'
6080 fi
6081
6082else
6083
6084 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6085 if test "x$LINE" != x ; then
6086 eval "DEFAULT_$LINE"
6087 else
6088 no_cache=1
6089 fi
6090
6091 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6092
6093fi
6094
6095
6096 eval "$ac_cv_use_choice"
6097 if test "$no_cache" != 1; then
6098 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6099 fi
6100
6101 if test "$wxUSE_CHOICE" = yes; then
6102 echo "$ac_t""yes" 1>&6
6103 else
6104 echo "$ac_t""no" 1>&6
6105 fi
6106
6107
6108 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
6109echo "configure:6110: checking for --enable-combobox" >&5
6110 no_cache=0
6111 # Check whether --enable-combobox or --disable-combobox was given.
6112if test "${enable_combobox+set}" = set; then
6113 enableval="$enable_combobox"
6114
6115 if test "$enableval" = yes; then
6116 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6117 else
6118 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6119 fi
6120
6121else
6122
6123 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6124 if test "x$LINE" != x ; then
6125 eval "DEFAULT_$LINE"
6126 else
6127 no_cache=1
6128 fi
6129
6130 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6131
6132fi
6133
6134
6135 eval "$ac_cv_use_combobox"
6136 if test "$no_cache" != 1; then
6137 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6138 fi
6139
6140 if test "$wxUSE_COMBOBOX" = yes; then
6141 echo "$ac_t""yes" 1>&6
6142 else
6143 echo "$ac_t""no" 1>&6
6144 fi
6145
6146
6147 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6148echo "configure:6149: checking for --enable-gauge" >&5
6149 no_cache=0
6150 # Check whether --enable-gauge or --disable-gauge was given.
6151if test "${enable_gauge+set}" = set; then
6152 enableval="$enable_gauge"
6153
6154 if test "$enableval" = yes; then
6155 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6156 else
6157 ac_cv_use_gauge='wxUSE_GAUGE=no'
6158 fi
6159
6160else
6161
6162 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6163 if test "x$LINE" != x ; then
6164 eval "DEFAULT_$LINE"
6165 else
6166 no_cache=1
6167 fi
6168
6169 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6170
6171fi
6172
6173
6174 eval "$ac_cv_use_gauge"
6175 if test "$no_cache" != 1; then
6176 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6177 fi
6178
6179 if test "$wxUSE_GAUGE" = yes; then
6180 echo "$ac_t""yes" 1>&6
6181 else
6182 echo "$ac_t""no" 1>&6
6183 fi
6184
6185
6186 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6187echo "configure:6188: checking for --enable-grid" >&5
6188 no_cache=0
6189 # Check whether --enable-grid or --disable-grid was given.
6190if test "${enable_grid+set}" = set; then
6191 enableval="$enable_grid"
6192
6193 if test "$enableval" = yes; then
6194 ac_cv_use_grid='wxUSE_GRID=yes'
6195 else
6196 ac_cv_use_grid='wxUSE_GRID=no'
6197 fi
6198
6199else
6200
6201 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6202 if test "x$LINE" != x ; then
6203 eval "DEFAULT_$LINE"
6204 else
6205 no_cache=1
6206 fi
6207
6208 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6209
6210fi
6211
6212
6213 eval "$ac_cv_use_grid"
6214 if test "$no_cache" != 1; then
6215 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6216 fi
6217
6218 if test "$wxUSE_GRID" = yes; then
6219 echo "$ac_t""yes" 1>&6
6220 else
6221 echo "$ac_t""no" 1>&6
6222 fi
6223
6224
6225 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6226echo "configure:6227: checking for --enable-newgrid" >&5
6227 no_cache=0
6228 # Check whether --enable-newgrid or --disable-newgrid was given.
6229if test "${enable_newgrid+set}" = set; then
6230 enableval="$enable_newgrid"
6231
6232 if test "$enableval" = yes; then
6233 ac_cv_use_newgrid='wxUSE_NEW_GRID=yes'
6234 else
6235 ac_cv_use_newgrid='wxUSE_NEW_GRID=no'
6236 fi
6237
6238else
6239
6240 LINE=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6241 if test "x$LINE" != x ; then
6242 eval "DEFAULT_$LINE"
6243 else
6244 no_cache=1
6245 fi
6246
6247 ac_cv_use_newgrid='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6248
6249fi
6250
6251
6252 eval "$ac_cv_use_newgrid"
6253 if test "$no_cache" != 1; then
6254 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6255 fi
6256
6257 if test "$wxUSE_NEW_GRID" = yes; then
6258 echo "$ac_t""yes" 1>&6
6259 else
6260 echo "$ac_t""no" 1>&6
6261 fi
6262
6263
6264 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6265echo "configure:6266: checking for --enable-imaglist" >&5
6266 no_cache=0
6267 # Check whether --enable-imaglist or --disable-imaglist was given.
6268if test "${enable_imaglist+set}" = set; then
6269 enableval="$enable_imaglist"
6270
6271 if test "$enableval" = yes; then
6272 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
6273 else
6274 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
6275 fi
6276
6277else
6278
6279 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6280 if test "x$LINE" != x ; then
6281 eval "DEFAULT_$LINE"
6282 else
6283 no_cache=1
6284 fi
6285
6286 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6287
6288fi
6289
6290
6291 eval "$ac_cv_use_imaglist"
6292 if test "$no_cache" != 1; then
6293 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6294 fi
6295
6296 if test "$wxUSE_IMAGLIST" = yes; then
6297 echo "$ac_t""yes" 1>&6
6298 else
6299 echo "$ac_t""no" 1>&6
6300 fi
6301
6302
6303 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6304echo "configure:6305: checking for --enable-listbox" >&5
6305 no_cache=0
6306 # Check whether --enable-listbox or --disable-listbox was given.
6307if test "${enable_listbox+set}" = set; then
6308 enableval="$enable_listbox"
6309
6310 if test "$enableval" = yes; then
6311 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
6312 else
6313 ac_cv_use_listbox='wxUSE_LISTBOX=no'
6314 fi
6315
6316else
6317
6318 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6319 if test "x$LINE" != x ; then
6320 eval "DEFAULT_$LINE"
6321 else
6322 no_cache=1
6323 fi
6324
6325 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6326
6327fi
6328
6329
6330 eval "$ac_cv_use_listbox"
6331 if test "$no_cache" != 1; then
6332 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6333 fi
6334
6335 if test "$wxUSE_LISTBOX" = yes; then
6336 echo "$ac_t""yes" 1>&6
6337 else
6338 echo "$ac_t""no" 1>&6
6339 fi
6340
6341
6342 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6343echo "configure:6344: checking for --enable-listctrl" >&5
6344 no_cache=0
6345 # Check whether --enable-listctrl or --disable-listctrl was given.
6346if test "${enable_listctrl+set}" = set; then
6347 enableval="$enable_listctrl"
6348
6349 if test "$enableval" = yes; then
6350 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
6351 else
6352 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
6353 fi
6354
6355else
6356
6357 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6358 if test "x$LINE" != x ; then
6359 eval "DEFAULT_$LINE"
6360 else
6361 no_cache=1
6362 fi
6363
6364 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6365
6366fi
6367
6368
6369 eval "$ac_cv_use_listctrl"
6370 if test "$no_cache" != 1; then
6371 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6372 fi
6373
6374 if test "$wxUSE_LISTCTRL" = yes; then
6375 echo "$ac_t""yes" 1>&6
6376 else
6377 echo "$ac_t""no" 1>&6
6378 fi
6379
6380
6381 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6382echo "configure:6383: checking for --enable-notebook" >&5
6383 no_cache=0
6384 # Check whether --enable-notebook or --disable-notebook was given.
6385if test "${enable_notebook+set}" = set; then
6386 enableval="$enable_notebook"
6387
6388 if test "$enableval" = yes; then
6389 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
6390 else
6391 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
6392 fi
6393
6394else
6395
6396 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6397 if test "x$LINE" != x ; then
6398 eval "DEFAULT_$LINE"
6399 else
6400 no_cache=1
6401 fi
6402
6403 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6404
6405fi
6406
6407
6408 eval "$ac_cv_use_notebook"
6409 if test "$no_cache" != 1; then
6410 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6411 fi
6412
6413 if test "$wxUSE_NOTEBOOK" = yes; then
6414 echo "$ac_t""yes" 1>&6
6415 else
6416 echo "$ac_t""no" 1>&6
6417 fi
6418
6419
6420 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6421echo "configure:6422: checking for --enable-propsheet" >&5
6422 no_cache=0
6423 # Check whether --enable-propsheet or --disable-propsheet was given.
6424if test "${enable_propsheet+set}" = set; then
6425 enableval="$enable_propsheet"
6426
6427 if test "$enableval" = yes; then
6428 ac_cv_use_propsheet='wxUSE_PROPSHEET=yes'
6429 else
6430 ac_cv_use_propsheet='wxUSE_PROPSHEET=no'
6431 fi
6432
6433else
6434
6435 LINE=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6436 if test "x$LINE" != x ; then
6437 eval "DEFAULT_$LINE"
6438 else
6439 no_cache=1
6440 fi
6441
6442 ac_cv_use_propsheet='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6443
6444fi
6445
6446
6447 eval "$ac_cv_use_propsheet"
6448 if test "$no_cache" != 1; then
6449 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6450 fi
6451
6452 if test "$wxUSE_PROPSHEET" = yes; then
6453 echo "$ac_t""yes" 1>&6
6454 else
6455 echo "$ac_t""no" 1>&6
6456 fi
6457
6458
6459 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6460echo "configure:6461: checking for --enable-radiobox" >&5
6461 no_cache=0
6462 # Check whether --enable-radiobox or --disable-radiobox was given.
6463if test "${enable_radiobox+set}" = set; then
6464 enableval="$enable_radiobox"
6465
6466 if test "$enableval" = yes; then
6467 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
6468 else
6469 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
6470 fi
6471
6472else
6473
6474 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6475 if test "x$LINE" != x ; then
6476 eval "DEFAULT_$LINE"
6477 else
6478 no_cache=1
6479 fi
6480
6481 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6482
6483fi
6484
6485
6486 eval "$ac_cv_use_radiobox"
6487 if test "$no_cache" != 1; then
6488 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6489 fi
6490
6491 if test "$wxUSE_RADIOBOX" = yes; then
6492 echo "$ac_t""yes" 1>&6
6493 else
6494 echo "$ac_t""no" 1>&6
6495 fi
6496
6497
6498 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6499echo "configure:6500: checking for --enable-radiobtn" >&5
6500 no_cache=0
6501 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6502if test "${enable_radiobtn+set}" = set; then
6503 enableval="$enable_radiobtn"
6504
6505 if test "$enableval" = yes; then
6506 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
6507 else
6508 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
6509 fi
6510
6511else
6512
6513 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6514 if test "x$LINE" != x ; then
6515 eval "DEFAULT_$LINE"
6516 else
6517 no_cache=1
6518 fi
6519
6520 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6521
6522fi
6523
6524
6525 eval "$ac_cv_use_radiobtn"
6526 if test "$no_cache" != 1; then
6527 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6528 fi
6529
6530 if test "$wxUSE_RADIOBTN" = yes; then
6531 echo "$ac_t""yes" 1>&6
6532 else
6533 echo "$ac_t""no" 1>&6
6534 fi
6535
6536
6537 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6538echo "configure:6539: checking for --enable-sash" >&5
6539 no_cache=0
6540 # Check whether --enable-sash or --disable-sash was given.
6541if test "${enable_sash+set}" = set; then
6542 enableval="$enable_sash"
6543
6544 if test "$enableval" = yes; then
6545 ac_cv_use_sash='wxUSE_SASH=yes'
6546 else
6547 ac_cv_use_sash='wxUSE_SASH=no'
6548 fi
6549
6550else
6551
6552 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6553 if test "x$LINE" != x ; then
6554 eval "DEFAULT_$LINE"
6555 else
6556 no_cache=1
6557 fi
6558
6559 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6560
6561fi
6562
6563
6564 eval "$ac_cv_use_sash"
6565 if test "$no_cache" != 1; then
6566 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6567 fi
6568
6569 if test "$wxUSE_SASH" = yes; then
6570 echo "$ac_t""yes" 1>&6
6571 else
6572 echo "$ac_t""no" 1>&6
6573 fi
6574
6575
6576 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6577echo "configure:6578: checking for --enable-scrollbar" >&5
6578 no_cache=0
6579 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6580if test "${enable_scrollbar+set}" = set; then
6581 enableval="$enable_scrollbar"
6582
6583 if test "$enableval" = yes; then
6584 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
6585 else
6586 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
6587 fi
6588
6589else
6590
6591 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6592 if test "x$LINE" != x ; then
6593 eval "DEFAULT_$LINE"
6594 else
6595 no_cache=1
6596 fi
6597
6598 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6599
6600fi
6601
6602
6603 eval "$ac_cv_use_scrollbar"
6604 if test "$no_cache" != 1; then
6605 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6606 fi
6607
6608 if test "$wxUSE_SCROLLBAR" = yes; then
6609 echo "$ac_t""yes" 1>&6
6610 else
6611 echo "$ac_t""no" 1>&6
6612 fi
6613
6614
6615 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6616echo "configure:6617: checking for --enable-slider" >&5
6617 no_cache=0
6618 # Check whether --enable-slider or --disable-slider was given.
6619if test "${enable_slider+set}" = set; then
6620 enableval="$enable_slider"
6621
6622 if test "$enableval" = yes; then
6623 ac_cv_use_slider='wxUSE_SLIDER=yes'
6624 else
6625 ac_cv_use_slider='wxUSE_SLIDER=no'
6626 fi
6627
6628else
6629
6630 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6631 if test "x$LINE" != x ; then
6632 eval "DEFAULT_$LINE"
6633 else
6634 no_cache=1
6635 fi
6636
6637 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6638
6639fi
6640
6641
6642 eval "$ac_cv_use_slider"
6643 if test "$no_cache" != 1; then
6644 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6645 fi
6646
6647 if test "$wxUSE_SLIDER" = yes; then
6648 echo "$ac_t""yes" 1>&6
6649 else
6650 echo "$ac_t""no" 1>&6
6651 fi
6652
6653
6654 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6655echo "configure:6656: checking for --enable-spinbtn" >&5
6656 no_cache=0
6657 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6658if test "${enable_spinbtn+set}" = set; then
6659 enableval="$enable_spinbtn"
6660
6661 if test "$enableval" = yes; then
6662 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
6663 else
6664 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
6665 fi
6666
6667else
6668
6669 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6670 if test "x$LINE" != x ; then
6671 eval "DEFAULT_$LINE"
6672 else
6673 no_cache=1
6674 fi
6675
6676 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6677
6678fi
6679
6680
6681 eval "$ac_cv_use_spinbtn"
6682 if test "$no_cache" != 1; then
6683 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6684 fi
6685
6686 if test "$wxUSE_SPINBTN" = yes; then
6687 echo "$ac_t""yes" 1>&6
6688 else
6689 echo "$ac_t""no" 1>&6
6690 fi
6691
6692
6693 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6694echo "configure:6695: checking for --enable-spinctrl" >&5
6695 no_cache=0
6696 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6697if test "${enable_spinctrl+set}" = set; then
6698 enableval="$enable_spinctrl"
6699
6700 if test "$enableval" = yes; then
6701 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
6702 else
6703 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
6704 fi
6705
6706else
6707
6708 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6709 if test "x$LINE" != x ; then
6710 eval "DEFAULT_$LINE"
6711 else
6712 no_cache=1
6713 fi
6714
6715 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6716
6717fi
6718
6719
6720 eval "$ac_cv_use_spinctrl"
6721 if test "$no_cache" != 1; then
6722 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6723 fi
6724
6725 if test "$wxUSE_SPINCTRL" = yes; then
6726 echo "$ac_t""yes" 1>&6
6727 else
6728 echo "$ac_t""no" 1>&6
6729 fi
6730
6731
6732 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6733echo "configure:6734: checking for --enable-splitter" >&5
6734 no_cache=0
6735 # Check whether --enable-splitter or --disable-splitter was given.
6736if test "${enable_splitter+set}" = set; then
6737 enableval="$enable_splitter"
6738
6739 if test "$enableval" = yes; then
6740 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
6741 else
6742 ac_cv_use_splitter='wxUSE_SPLITTER=no'
6743 fi
6744
6745else
6746
6747 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6748 if test "x$LINE" != x ; then
6749 eval "DEFAULT_$LINE"
6750 else
6751 no_cache=1
6752 fi
6753
6754 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6755
6756fi
6757
6758
6759 eval "$ac_cv_use_splitter"
6760 if test "$no_cache" != 1; then
6761 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6762 fi
6763
6764 if test "$wxUSE_SPLITTER" = yes; then
6765 echo "$ac_t""yes" 1>&6
6766 else
6767 echo "$ac_t""no" 1>&6
6768 fi
6769
6770
6771 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6772echo "configure:6773: checking for --enable-statbmp" >&5
6773 no_cache=0
6774 # Check whether --enable-statbmp or --disable-statbmp was given.
6775if test "${enable_statbmp+set}" = set; then
6776 enableval="$enable_statbmp"
6777
6778 if test "$enableval" = yes; then
6779 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
6780 else
6781 ac_cv_use_statbmp='wxUSE_STATBMP=no'
6782 fi
6783
6784else
6785
6786 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6787 if test "x$LINE" != x ; then
6788 eval "DEFAULT_$LINE"
6789 else
6790 no_cache=1
6791 fi
6792
6793 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6794
6795fi
6796
6797
6798 eval "$ac_cv_use_statbmp"
6799 if test "$no_cache" != 1; then
6800 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6801 fi
6802
6803 if test "$wxUSE_STATBMP" = yes; then
6804 echo "$ac_t""yes" 1>&6
6805 else
6806 echo "$ac_t""no" 1>&6
6807 fi
6808
6809
6810 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6811echo "configure:6812: checking for --enable-statbox" >&5
6812 no_cache=0
6813 # Check whether --enable-statbox or --disable-statbox was given.
6814if test "${enable_statbox+set}" = set; then
6815 enableval="$enable_statbox"
6816
6817 if test "$enableval" = yes; then
6818 ac_cv_use_statbox='wxUSE_STATBOX=yes'
6819 else
6820 ac_cv_use_statbox='wxUSE_STATBOX=no'
6821 fi
6822
6823else
6824
6825 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6826 if test "x$LINE" != x ; then
6827 eval "DEFAULT_$LINE"
6828 else
6829 no_cache=1
6830 fi
6831
6832 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6833
6834fi
6835
6836
6837 eval "$ac_cv_use_statbox"
6838 if test "$no_cache" != 1; then
6839 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6840 fi
6841
6842 if test "$wxUSE_STATBOX" = yes; then
6843 echo "$ac_t""yes" 1>&6
6844 else
6845 echo "$ac_t""no" 1>&6
6846 fi
6847
6848
6849 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6850echo "configure:6851: checking for --enable-statline" >&5
6851 no_cache=0
6852 # Check whether --enable-statline or --disable-statline was given.
6853if test "${enable_statline+set}" = set; then
6854 enableval="$enable_statline"
6855
6856 if test "$enableval" = yes; then
6857 ac_cv_use_statline='wxUSE_STATLINE=yes'
6858 else
6859 ac_cv_use_statline='wxUSE_STATLINE=no'
6860 fi
6861
6862else
6863
6864 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6865 if test "x$LINE" != x ; then
6866 eval "DEFAULT_$LINE"
6867 else
6868 no_cache=1
6869 fi
6870
6871 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6872
6873fi
6874
6875
6876 eval "$ac_cv_use_statline"
6877 if test "$no_cache" != 1; then
6878 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6879 fi
6880
6881 if test "$wxUSE_STATLINE" = yes; then
6882 echo "$ac_t""yes" 1>&6
6883 else
6884 echo "$ac_t""no" 1>&6
6885 fi
6886
6887
6888 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6889echo "configure:6890: checking for --enable-stattext" >&5
6890 no_cache=0
6891 # Check whether --enable-stattext or --disable-stattext was given.
6892if test "${enable_stattext+set}" = set; then
6893 enableval="$enable_stattext"
6894
6895 if test "$enableval" = yes; then
6896 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
6897 else
6898 ac_cv_use_stattext='wxUSE_STATTEXT=no'
6899 fi
6900
6901else
6902
6903 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6904 if test "x$LINE" != x ; then
6905 eval "DEFAULT_$LINE"
6906 else
6907 no_cache=1
6908 fi
6909
6910 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6911
6912fi
6913
6914
6915 eval "$ac_cv_use_stattext"
6916 if test "$no_cache" != 1; then
6917 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6918 fi
6919
6920 if test "$wxUSE_STATTEXT" = yes; then
6921 echo "$ac_t""yes" 1>&6
6922 else
6923 echo "$ac_t""no" 1>&6
6924 fi
6925
6926
6927 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6928echo "configure:6929: checking for --enable-statusbar" >&5
6929 no_cache=0
6930 # Check whether --enable-statusbar or --disable-statusbar was given.
6931if test "${enable_statusbar+set}" = set; then
6932 enableval="$enable_statusbar"
6933
6934 if test "$enableval" = yes; then
6935 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
6936 else
6937 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
6938 fi
6939
6940else
6941
6942 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6943 if test "x$LINE" != x ; then
6944 eval "DEFAULT_$LINE"
6945 else
6946 no_cache=1
6947 fi
6948
6949 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6950
6951fi
6952
6953
6954 eval "$ac_cv_use_statusbar"
6955 if test "$no_cache" != 1; then
6956 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6957 fi
6958
6959 if test "$wxUSE_STATUSBAR" = yes; then
6960 echo "$ac_t""yes" 1>&6
6961 else
6962 echo "$ac_t""no" 1>&6
6963 fi
6964
6965
6966 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6967echo "configure:6968: checking for --enable-tabdialog" >&5
6968 no_cache=0
6969 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6970if test "${enable_tabdialog+set}" = set; then
6971 enableval="$enable_tabdialog"
6972
6973 if test "$enableval" = yes; then
6974 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
6975 else
6976 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
6977 fi
6978
6979else
6980
6981 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6982 if test "x$LINE" != x ; then
6983 eval "DEFAULT_$LINE"
6984 else
6985 no_cache=1
6986 fi
6987
6988 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6989
6990fi
6991
6992
6993 eval "$ac_cv_use_tabdialog"
6994 if test "$no_cache" != 1; then
6995 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6996 fi
6997
6998 if test "$wxUSE_TABDIALOG" = yes; then
6999 echo "$ac_t""yes" 1>&6
7000 else
7001 echo "$ac_t""no" 1>&6
7002 fi
7003
7004
7005 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
7006echo "configure:7007: checking for --enable-textctrl" >&5
7007 no_cache=0
7008 # Check whether --enable-textctrl or --disable-textctrl was given.
7009if test "${enable_textctrl+set}" = set; then
7010 enableval="$enable_textctrl"
7011
7012 if test "$enableval" = yes; then
7013 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7014 else
7015 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7016 fi
7017
7018else
7019
7020 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7021 if test "x$LINE" != x ; then
7022 eval "DEFAULT_$LINE"
7023 else
7024 no_cache=1
7025 fi
7026
7027 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7028
7029fi
7030
7031
7032 eval "$ac_cv_use_textctrl"
7033 if test "$no_cache" != 1; then
7034 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7035 fi
7036
7037 if test "$wxUSE_TEXTCTRL" = yes; then
7038 echo "$ac_t""yes" 1>&6
7039 else
7040 echo "$ac_t""no" 1>&6
7041 fi
7042
7043
7044 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
7045echo "configure:7046: checking for --enable-togglebtn" >&5
7046 no_cache=0
7047 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7048if test "${enable_togglebtn+set}" = set; then
7049 enableval="$enable_togglebtn"
7050
7051 if test "$enableval" = yes; then
7052 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7053 else
7054 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7055 fi
7056
7057else
7058
7059 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7060 if test "x$LINE" != x ; then
7061 eval "DEFAULT_$LINE"
7062 else
7063 no_cache=1
7064 fi
7065
7066 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7067
7068fi
7069
7070
7071 eval "$ac_cv_use_togglebtn"
7072 if test "$no_cache" != 1; then
7073 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7074 fi
7075
7076 if test "$wxUSE_TOGGLEBTN" = yes; then
7077 echo "$ac_t""yes" 1>&6
7078 else
7079 echo "$ac_t""no" 1>&6
7080 fi
7081
7082
7083 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
7084echo "configure:7085: checking for --enable-toolbar" >&5
7085 no_cache=0
7086 # Check whether --enable-toolbar or --disable-toolbar was given.
7087if test "${enable_toolbar+set}" = set; then
7088 enableval="$enable_toolbar"
7089
7090 if test "$enableval" = yes; then
7091 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7092 else
7093 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7094 fi
7095
7096else
7097
7098 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7099 if test "x$LINE" != x ; then
7100 eval "DEFAULT_$LINE"
7101 else
7102 no_cache=1
7103 fi
7104
7105 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7106
7107fi
7108
7109
7110 eval "$ac_cv_use_toolbar"
7111 if test "$no_cache" != 1; then
7112 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7113 fi
7114
7115 if test "$wxUSE_TOOLBAR" = yes; then
7116 echo "$ac_t""yes" 1>&6
7117 else
7118 echo "$ac_t""no" 1>&6
7119 fi
7120
7121
7122 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
7123echo "configure:7124: checking for --enable-tbarnative" >&5
7124 no_cache=0
7125 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7126if test "${enable_tbarnative+set}" = set; then
7127 enableval="$enable_tbarnative"
7128
7129 if test "$enableval" = yes; then
7130 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7131 else
7132 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7133 fi
7134
7135else
7136
7137 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7138 if test "x$LINE" != x ; then
7139 eval "DEFAULT_$LINE"
7140 else
7141 no_cache=1
7142 fi
7143
7144 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7145
7146fi
7147
7148
7149 eval "$ac_cv_use_tbarnative"
7150 if test "$no_cache" != 1; then
7151 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7152 fi
7153
7154 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7155 echo "$ac_t""yes" 1>&6
7156 else
7157 echo "$ac_t""no" 1>&6
7158 fi
7159
7160
7161 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7162echo "configure:7163: checking for --enable-tbarsmpl" >&5
7163 no_cache=0
7164 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7165if test "${enable_tbarsmpl+set}" = set; then
7166 enableval="$enable_tbarsmpl"
7167
7168 if test "$enableval" = yes; then
7169 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7170 else
7171 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7172 fi
7173
7174else
7175
7176 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7177 if test "x$LINE" != x ; then
7178 eval "DEFAULT_$LINE"
7179 else
7180 no_cache=1
7181 fi
7182
7183 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7184
7185fi
7186
7187
7188 eval "$ac_cv_use_tbarsmpl"
7189 if test "$no_cache" != 1; then
7190 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7191 fi
7192
7193 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7194 echo "$ac_t""yes" 1>&6
7195 else
7196 echo "$ac_t""no" 1>&6
7197 fi
7198
7199
7200 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7201echo "configure:7202: checking for --enable-treectrl" >&5
7202 no_cache=0
7203 # Check whether --enable-treectrl or --disable-treectrl was given.
7204if test "${enable_treectrl+set}" = set; then
7205 enableval="$enable_treectrl"
7206
7207 if test "$enableval" = yes; then
7208 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
7209 else
7210 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
7211 fi
7212
7213else
7214
7215 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7216 if test "x$LINE" != x ; then
7217 eval "DEFAULT_$LINE"
7218 else
7219 no_cache=1
7220 fi
7221
7222 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7223
7224fi
7225
7226
7227 eval "$ac_cv_use_treectrl"
7228 if test "$no_cache" != 1; then
7229 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7230 fi
7231
7232 if test "$wxUSE_TREECTRL" = yes; then
7233 echo "$ac_t""yes" 1>&6
7234 else
7235 echo "$ac_t""no" 1>&6
7236 fi
7237
7238
7239 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7240echo "configure:7241: checking for --enable-tipwindow" >&5
7241 no_cache=0
7242 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7243if test "${enable_tipwindow+set}" = set; then
7244 enableval="$enable_tipwindow"
7245
7246 if test "$enableval" = yes; then
7247 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
7248 else
7249 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
7250 fi
7251
7252else
7253
7254 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7255 if test "x$LINE" != x ; then
7256 eval "DEFAULT_$LINE"
7257 else
7258 no_cache=1
7259 fi
7260
7261 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7262
7263fi
7264
7265
7266 eval "$ac_cv_use_tipwindow"
7267 if test "$no_cache" != 1; then
7268 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7269 fi
7270
7271 if test "$wxUSE_TIPWINDOW" = yes; then
7272 echo "$ac_t""yes" 1>&6
7273 else
7274 echo "$ac_t""no" 1>&6
7275 fi
7276
7277
7278 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7279echo "configure:7280: checking for --enable-popupwin" >&5
7280 no_cache=0
7281 # Check whether --enable-popupwin or --disable-popupwin was given.
7282if test "${enable_popupwin+set}" = set; then
7283 enableval="$enable_popupwin"
7284
7285 if test "$enableval" = yes; then
7286 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
7287 else
7288 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
7289 fi
7290
7291else
7292
7293 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7294 if test "x$LINE" != x ; then
7295 eval "DEFAULT_$LINE"
7296 else
7297 no_cache=1
7298 fi
7299
7300 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7301
7302fi
7303
7304
7305 eval "$ac_cv_use_popupwin"
7306 if test "$no_cache" != 1; then
7307 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7308 fi
7309
7310 if test "$wxUSE_POPUPWIN" = yes; then
7311 echo "$ac_t""yes" 1>&6
7312 else
7313 echo "$ac_t""no" 1>&6
7314 fi
7315
7316
7317
7318
7319 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7320echo "configure:7321: checking for --enable-commondlg" >&5
7321 no_cache=0
7322 # Check whether --enable-commondlg or --disable-commondlg was given.
7323if test "${enable_commondlg+set}" = set; then
7324 enableval="$enable_commondlg"
7325
7326 if test "$enableval" = yes; then
7327 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
7328 else
7329 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
7330 fi
7331
7332else
7333
7334 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7335 if test "x$LINE" != x ; then
7336 eval "DEFAULT_$LINE"
7337 else
7338 no_cache=1
7339 fi
7340
7341 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7342
7343fi
7344
7345
7346 eval "$ac_cv_use_commondlg"
7347 if test "$no_cache" != 1; then
7348 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7349 fi
7350
7351 if test "$wxUSE_COMMONDLGS" = yes; then
7352 echo "$ac_t""yes" 1>&6
7353 else
7354 echo "$ac_t""no" 1>&6
7355 fi
7356
7357
7358 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7359echo "configure:7360: checking for --enable-choicedlg" >&5
7360 no_cache=0
7361 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7362if test "${enable_choicedlg+set}" = set; then
7363 enableval="$enable_choicedlg"
7364
7365 if test "$enableval" = yes; then
7366 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
7367 else
7368 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
7369 fi
7370
7371else
7372
7373 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7374 if test "x$LINE" != x ; then
7375 eval "DEFAULT_$LINE"
7376 else
7377 no_cache=1
7378 fi
7379
7380 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7381
7382fi
7383
7384
7385 eval "$ac_cv_use_choicedlg"
7386 if test "$no_cache" != 1; then
7387 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7388 fi
7389
7390 if test "$wxUSE_CHOICEDLG" = yes; then
7391 echo "$ac_t""yes" 1>&6
7392 else
7393 echo "$ac_t""no" 1>&6
7394 fi
7395
7396
7397 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7398echo "configure:7399: checking for --enable-coldlg" >&5
7399 no_cache=0
7400 # Check whether --enable-coldlg or --disable-coldlg was given.
7401if test "${enable_coldlg+set}" = set; then
7402 enableval="$enable_coldlg"
7403
7404 if test "$enableval" = yes; then
7405 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
7406 else
7407 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
7408 fi
7409
7410else
7411
7412 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7413 if test "x$LINE" != x ; then
7414 eval "DEFAULT_$LINE"
7415 else
7416 no_cache=1
7417 fi
7418
7419 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7420
7421fi
7422
7423
7424 eval "$ac_cv_use_coldlg"
7425 if test "$no_cache" != 1; then
7426 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7427 fi
7428
7429 if test "$wxUSE_COLOURDLG" = yes; then
7430 echo "$ac_t""yes" 1>&6
7431 else
7432 echo "$ac_t""no" 1>&6
7433 fi
7434
7435
7436 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7437echo "configure:7438: checking for --enable-filedlg" >&5
7438 no_cache=0
7439 # Check whether --enable-filedlg or --disable-filedlg was given.
7440if test "${enable_filedlg+set}" = set; then
7441 enableval="$enable_filedlg"
7442
7443 if test "$enableval" = yes; then
7444 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
7445 else
7446 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
7447 fi
7448
7449else
7450
7451 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7452 if test "x$LINE" != x ; then
7453 eval "DEFAULT_$LINE"
7454 else
7455 no_cache=1
7456 fi
7457
7458 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7459
7460fi
7461
7462
7463 eval "$ac_cv_use_filedlg"
7464 if test "$no_cache" != 1; then
7465 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7466 fi
7467
7468 if test "$wxUSE_FILEDLG" = yes; then
7469 echo "$ac_t""yes" 1>&6
7470 else
7471 echo "$ac_t""no" 1>&6
7472 fi
7473
7474
7475 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7476echo "configure:7477: checking for --enable-finddlg" >&5
7477 no_cache=0
7478 # Check whether --enable-finddlg or --disable-finddlg was given.
7479if test "${enable_finddlg+set}" = set; then
7480 enableval="$enable_finddlg"
7481
7482 if test "$enableval" = yes; then
7483 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
7484 else
7485 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
7486 fi
7487
7488else
7489
7490 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7491 if test "x$LINE" != x ; then
7492 eval "DEFAULT_$LINE"
7493 else
7494 no_cache=1
7495 fi
7496
7497 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7498
7499fi
7500
7501
7502 eval "$ac_cv_use_finddlg"
7503 if test "$no_cache" != 1; then
7504 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7505 fi
7506
7507 if test "$wxUSE_FINDREPLDLG" = yes; then
7508 echo "$ac_t""yes" 1>&6
7509 else
7510 echo "$ac_t""no" 1>&6
7511 fi
7512
7513
7514 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7515echo "configure:7516: checking for --enable-fontdlg" >&5
7516 no_cache=0
7517 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7518if test "${enable_fontdlg+set}" = set; then
7519 enableval="$enable_fontdlg"
7520
7521 if test "$enableval" = yes; then
7522 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
7523 else
7524 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
7525 fi
7526
7527else
7528
7529 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7530 if test "x$LINE" != x ; then
7531 eval "DEFAULT_$LINE"
7532 else
7533 no_cache=1
7534 fi
7535
7536 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7537
7538fi
7539
7540
7541 eval "$ac_cv_use_fontdlg"
7542 if test "$no_cache" != 1; then
7543 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7544 fi
7545
7546 if test "$wxUSE_FONTDLG" = yes; then
7547 echo "$ac_t""yes" 1>&6
7548 else
7549 echo "$ac_t""no" 1>&6
7550 fi
7551
7552
7553 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7554echo "configure:7555: checking for --enable-dirdlg" >&5
7555 no_cache=0
7556 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7557if test "${enable_dirdlg+set}" = set; then
7558 enableval="$enable_dirdlg"
7559
7560 if test "$enableval" = yes; then
7561 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
7562 else
7563 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
7564 fi
7565
7566else
7567
7568 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7569 if test "x$LINE" != x ; then
7570 eval "DEFAULT_$LINE"
7571 else
7572 no_cache=1
7573 fi
7574
7575 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7576
7577fi
7578
7579
7580 eval "$ac_cv_use_dirdlg"
7581 if test "$no_cache" != 1; then
7582 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7583 fi
7584
7585 if test "$wxUSE_DIRDLG" = yes; then
7586 echo "$ac_t""yes" 1>&6
7587 else
7588 echo "$ac_t""no" 1>&6
7589 fi
7590
7591
7592 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7593echo "configure:7594: checking for --enable-msgdlg" >&5
7594 no_cache=0
7595 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7596if test "${enable_msgdlg+set}" = set; then
7597 enableval="$enable_msgdlg"
7598
7599 if test "$enableval" = yes; then
7600 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
7601 else
7602 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
7603 fi
7604
7605else
7606
7607 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7608 if test "x$LINE" != x ; then
7609 eval "DEFAULT_$LINE"
7610 else
7611 no_cache=1
7612 fi
7613
7614 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7615
7616fi
7617
7618
7619 eval "$ac_cv_use_msgdlg"
7620 if test "$no_cache" != 1; then
7621 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7622 fi
7623
7624 if test "$wxUSE_MSGDLG" = yes; then
7625 echo "$ac_t""yes" 1>&6
7626 else
7627 echo "$ac_t""no" 1>&6
7628 fi
7629
7630
7631 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7632echo "configure:7633: checking for --enable-numberdlg" >&5
7633 no_cache=0
7634 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7635if test "${enable_numberdlg+set}" = set; then
7636 enableval="$enable_numberdlg"
7637
7638 if test "$enableval" = yes; then
7639 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
7640 else
7641 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
7642 fi
7643
7644else
7645
7646 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7647 if test "x$LINE" != x ; then
7648 eval "DEFAULT_$LINE"
7649 else
7650 no_cache=1
7651 fi
7652
7653 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7654
7655fi
7656
7657
7658 eval "$ac_cv_use_numberdlg"
7659 if test "$no_cache" != 1; then
7660 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7661 fi
7662
7663 if test "$wxUSE_NUMBERDLG" = yes; then
7664 echo "$ac_t""yes" 1>&6
7665 else
7666 echo "$ac_t""no" 1>&6
7667 fi
7668
7669
7670 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7671echo "configure:7672: checking for --enable-splash" >&5
7672 no_cache=0
7673 # Check whether --enable-splash or --disable-splash was given.
7674if test "${enable_splash+set}" = set; then
7675 enableval="$enable_splash"
7676
7677 if test "$enableval" = yes; then
7678 ac_cv_use_splash='wxUSE_SPLASH=yes'
7679 else
7680 ac_cv_use_splash='wxUSE_SPLASH=no'
7681 fi
7682
7683else
7684
7685 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7686 if test "x$LINE" != x ; then
7687 eval "DEFAULT_$LINE"
7688 else
7689 no_cache=1
7690 fi
7691
7692 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7693
7694fi
7695
7696
7697 eval "$ac_cv_use_splash"
7698 if test "$no_cache" != 1; then
7699 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7700 fi
7701
7702 if test "$wxUSE_SPLASH" = yes; then
7703 echo "$ac_t""yes" 1>&6
7704 else
7705 echo "$ac_t""no" 1>&6
7706 fi
7707
7708
7709 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7710echo "configure:7711: checking for --enable-textdlg" >&5
7711 no_cache=0
7712 # Check whether --enable-textdlg or --disable-textdlg was given.
7713if test "${enable_textdlg+set}" = set; then
7714 enableval="$enable_textdlg"
7715
7716 if test "$enableval" = yes; then
7717 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
7718 else
7719 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
7720 fi
7721
7722else
7723
7724 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7725 if test "x$LINE" != x ; then
7726 eval "DEFAULT_$LINE"
7727 else
7728 no_cache=1
7729 fi
7730
7731 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7732
7733fi
7734
7735
7736 eval "$ac_cv_use_textdlg"
7737 if test "$no_cache" != 1; then
7738 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7739 fi
7740
7741 if test "$wxUSE_TEXTDLG" = yes; then
7742 echo "$ac_t""yes" 1>&6
7743 else
7744 echo "$ac_t""no" 1>&6
7745 fi
7746
7747
7748 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7749echo "configure:7750: checking for --enable-tipdlg" >&5
7750 no_cache=0
7751 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7752if test "${enable_tipdlg+set}" = set; then
7753 enableval="$enable_tipdlg"
7754
7755 if test "$enableval" = yes; then
7756 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
7757 else
7758 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
7759 fi
7760
7761else
7762
7763 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7764 if test "x$LINE" != x ; then
7765 eval "DEFAULT_$LINE"
7766 else
7767 no_cache=1
7768 fi
7769
7770 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7771
7772fi
7773
7774
7775 eval "$ac_cv_use_tipdlg"
7776 if test "$no_cache" != 1; then
7777 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7778 fi
7779
7780 if test "$wxUSE_STARTUP_TIPS" = yes; then
7781 echo "$ac_t""yes" 1>&6
7782 else
7783 echo "$ac_t""no" 1>&6
7784 fi
7785
7786
7787 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7788echo "configure:7789: checking for --enable-progressdlg" >&5
7789 no_cache=0
7790 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7791if test "${enable_progressdlg+set}" = set; then
7792 enableval="$enable_progressdlg"
7793
7794 if test "$enableval" = yes; then
7795 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
7796 else
7797 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
7798 fi
7799
7800else
7801
7802 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7803 if test "x$LINE" != x ; then
7804 eval "DEFAULT_$LINE"
7805 else
7806 no_cache=1
7807 fi
7808
7809 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7810
7811fi
7812
7813
7814 eval "$ac_cv_use_progressdlg"
7815 if test "$no_cache" != 1; then
7816 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7817 fi
7818
7819 if test "$wxUSE_PROGRESSDLG" = yes; then
7820 echo "$ac_t""yes" 1>&6
7821 else
7822 echo "$ac_t""no" 1>&6
7823 fi
7824
7825
7826 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7827echo "configure:7828: checking for --enable-wizarddlg" >&5
7828 no_cache=0
7829 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7830if test "${enable_wizarddlg+set}" = set; then
7831 enableval="$enable_wizarddlg"
7832
7833 if test "$enableval" = yes; then
7834 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
7835 else
7836 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
7837 fi
7838
7839else
7840
7841 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7842 if test "x$LINE" != x ; then
7843 eval "DEFAULT_$LINE"
7844 else
7845 no_cache=1
7846 fi
7847
7848 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7849
7850fi
7851
7852
7853 eval "$ac_cv_use_wizarddlg"
7854 if test "$no_cache" != 1; then
7855 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7856 fi
7857
7858 if test "$wxUSE_WIZARDDLG" = yes; then
7859 echo "$ac_t""yes" 1>&6
7860 else
7861 echo "$ac_t""no" 1>&6
7862 fi
7863
7864
7865
7866
7867 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7868echo "configure:7869: checking for --enable-menus" >&5
7869 no_cache=0
7870 # Check whether --enable-menus or --disable-menus was given.
7871if test "${enable_menus+set}" = set; then
7872 enableval="$enable_menus"
7873
7874 if test "$enableval" = yes; then
7875 ac_cv_use_menus='wxUSE_MENUS=yes'
7876 else
7877 ac_cv_use_menus='wxUSE_MENUS=no'
7878 fi
7879
7880else
7881
7882 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7883 if test "x$LINE" != x ; then
7884 eval "DEFAULT_$LINE"
7885 else
7886 no_cache=1
7887 fi
7888
7889 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7890
7891fi
7892
7893
7894 eval "$ac_cv_use_menus"
7895 if test "$no_cache" != 1; then
7896 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7897 fi
7898
7899 if test "$wxUSE_MENUS" = yes; then
7900 echo "$ac_t""yes" 1>&6
7901 else
7902 echo "$ac_t""no" 1>&6
7903 fi
7904
7905
7906 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7907echo "configure:7908: checking for --enable-miniframe" >&5
7908 no_cache=0
7909 # Check whether --enable-miniframe or --disable-miniframe was given.
7910if test "${enable_miniframe+set}" = set; then
7911 enableval="$enable_miniframe"
7912
7913 if test "$enableval" = yes; then
7914 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
7915 else
7916 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
7917 fi
7918
7919else
7920
7921 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7922 if test "x$LINE" != x ; then
7923 eval "DEFAULT_$LINE"
7924 else
7925 no_cache=1
7926 fi
7927
7928 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7929
7930fi
7931
7932
7933 eval "$ac_cv_use_miniframe"
7934 if test "$no_cache" != 1; then
7935 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7936 fi
7937
7938 if test "$wxUSE_MINIFRAME" = yes; then
7939 echo "$ac_t""yes" 1>&6
7940 else
7941 echo "$ac_t""no" 1>&6
7942 fi
7943
7944
7945 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7946echo "configure:7947: checking for --enable-tooltips" >&5
7947 no_cache=0
7948 # Check whether --enable-tooltips or --disable-tooltips was given.
7949if test "${enable_tooltips+set}" = set; then
7950 enableval="$enable_tooltips"
7951
7952 if test "$enableval" = yes; then
7953 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
7954 else
7955 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
7956 fi
7957
7958else
7959
7960 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7961 if test "x$LINE" != x ; then
7962 eval "DEFAULT_$LINE"
7963 else
7964 no_cache=1
7965 fi
7966
7967 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7968
7969fi
7970
7971
7972 eval "$ac_cv_use_tooltips"
7973 if test "$no_cache" != 1; then
7974 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7975 fi
7976
7977 if test "$wxUSE_TOOLTIPS" = yes; then
7978 echo "$ac_t""yes" 1>&6
7979 else
7980 echo "$ac_t""no" 1>&6
7981 fi
7982
7983
7984 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7985echo "configure:7986: checking for --enable-splines" >&5
7986 no_cache=0
7987 # Check whether --enable-splines or --disable-splines was given.
7988if test "${enable_splines+set}" = set; then
7989 enableval="$enable_splines"
7990
7991 if test "$enableval" = yes; then
7992 ac_cv_use_splines='wxUSE_SPLINES=yes'
7993 else
7994 ac_cv_use_splines='wxUSE_SPLINES=no'
7995 fi
7996
7997else
7998
7999 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8000 if test "x$LINE" != x ; then
8001 eval "DEFAULT_$LINE"
8002 else
8003 no_cache=1
8004 fi
8005
8006 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8007
8008fi
8009
8010
8011 eval "$ac_cv_use_splines"
8012 if test "$no_cache" != 1; then
8013 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8014 fi
8015
8016 if test "$wxUSE_SPLINES" = yes; then
8017 echo "$ac_t""yes" 1>&6
8018 else
8019 echo "$ac_t""no" 1>&6
8020 fi
8021
8022
8023 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
8024echo "configure:8025: checking for --enable-validators" >&5
8025 no_cache=0
8026 # Check whether --enable-validators or --disable-validators was given.
8027if test "${enable_validators+set}" = set; then
8028 enableval="$enable_validators"
8029
8030 if test "$enableval" = yes; then
8031 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8032 else
8033 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8034 fi
8035
8036else
8037
8038 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8039 if test "x$LINE" != x ; then
8040 eval "DEFAULT_$LINE"
8041 else
8042 no_cache=1
8043 fi
8044
8045 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8046
8047fi
8048
8049
8050 eval "$ac_cv_use_validators"
8051 if test "$no_cache" != 1; then
8052 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8053 fi
8054
8055 if test "$wxUSE_VALIDATORS" = yes; then
8056 echo "$ac_t""yes" 1>&6
8057 else
8058 echo "$ac_t""no" 1>&6
8059 fi
8060
8061
8062 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
8063echo "configure:8064: checking for --enable-busyinfo" >&5
8064 no_cache=0
8065 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8066if test "${enable_busyinfo+set}" = set; then
8067 enableval="$enable_busyinfo"
8068
8069 if test "$enableval" = yes; then
8070 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8071 else
8072 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8073 fi
8074
8075else
8076
8077 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8078 if test "x$LINE" != x ; then
8079 eval "DEFAULT_$LINE"
8080 else
8081 no_cache=1
8082 fi
8083
8084 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8085
8086fi
8087
8088
8089 eval "$ac_cv_use_busyinfo"
8090 if test "$no_cache" != 1; then
8091 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8092 fi
8093
8094 if test "$wxUSE_BUSYINFO" = yes; then
8095 echo "$ac_t""yes" 1>&6
8096 else
8097 echo "$ac_t""no" 1>&6
8098 fi
8099
8100
8101 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
8102echo "configure:8103: checking for --enable-joystick" >&5
8103 no_cache=0
8104 # Check whether --enable-joystick or --disable-joystick was given.
8105if test "${enable_joystick+set}" = set; then
8106 enableval="$enable_joystick"
8107
8108 if test "$enableval" = yes; then
8109 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8110 else
8111 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8112 fi
8113
8114else
8115
8116 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8117 if test "x$LINE" != x ; then
8118 eval "DEFAULT_$LINE"
8119 else
8120 no_cache=1
8121 fi
8122
8123 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8124
8125fi
8126
8127
8128 eval "$ac_cv_use_joystick"
8129 if test "$no_cache" != 1; then
8130 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8131 fi
8132
8133 if test "$wxUSE_JOYSTICK" = yes; then
8134 echo "$ac_t""yes" 1>&6
8135 else
8136 echo "$ac_t""no" 1>&6
8137 fi
8138
8139
8140 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8141echo "configure:8142: checking for --enable-metafile" >&5
8142 no_cache=0
8143 # Check whether --enable-metafile or --disable-metafile was given.
8144if test "${enable_metafile+set}" = set; then
8145 enableval="$enable_metafile"
8146
8147 if test "$enableval" = yes; then
8148 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8149 else
8150 ac_cv_use_metafile='wxUSE_METAFILE=no'
8151 fi
8152
8153else
8154
8155 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8156 if test "x$LINE" != x ; then
8157 eval "DEFAULT_$LINE"
8158 else
8159 no_cache=1
8160 fi
8161
8162 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8163
8164fi
8165
8166
8167 eval "$ac_cv_use_metafile"
8168 if test "$no_cache" != 1; then
8169 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8170 fi
8171
8172 if test "$wxUSE_METAFILE" = yes; then
8173 echo "$ac_t""yes" 1>&6
8174 else
8175 echo "$ac_t""no" 1>&6
8176 fi
8177
8178
8179 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8180echo "configure:8181: checking for --enable-dragimage" >&5
8181 no_cache=0
8182 # Check whether --enable-dragimage or --disable-dragimage was given.
8183if test "${enable_dragimage+set}" = set; then
8184 enableval="$enable_dragimage"
8185
8186 if test "$enableval" = yes; then
8187 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
8188 else
8189 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
8190 fi
8191
8192else
8193
8194 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8195 if test "x$LINE" != x ; then
8196 eval "DEFAULT_$LINE"
8197 else
8198 no_cache=1
8199 fi
8200
8201 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8202
8203fi
8204
8205
8206 eval "$ac_cv_use_dragimage"
8207 if test "$no_cache" != 1; then
8208 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8209 fi
8210
8211 if test "$wxUSE_DRAGIMAGE" = yes; then
8212 echo "$ac_t""yes" 1>&6
8213 else
8214 echo "$ac_t""no" 1>&6
8215 fi
8216
8217
8218
8219
8220 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8221echo "configure:8222: checking for --enable-palette" >&5
8222 no_cache=0
8223 # Check whether --enable-palette or --disable-palette was given.
8224if test "${enable_palette+set}" = set; then
8225 enableval="$enable_palette"
8226
8227 if test "$enableval" = yes; then
8228 ac_cv_use_palette='wxUSE_PALETTE=yes'
8229 else
8230 ac_cv_use_palette='wxUSE_PALETTE=no'
8231 fi
8232
8233else
8234
8235 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8236 if test "x$LINE" != x ; then
8237 eval "DEFAULT_$LINE"
8238 else
8239 no_cache=1
8240 fi
8241
8242 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8243
8244fi
8245
8246
8247 eval "$ac_cv_use_palette"
8248 if test "$no_cache" != 1; then
8249 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8250 fi
8251
8252 if test "$wxUSE_PALETTE" = yes; then
8253 echo "$ac_t""yes" 1>&6
8254 else
8255 echo "$ac_t""no" 1>&6
8256 fi
8257
8258
8259 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8260echo "configure:8261: checking for --enable-image" >&5
8261 no_cache=0
8262 # Check whether --enable-image or --disable-image was given.
8263if test "${enable_image+set}" = set; then
8264 enableval="$enable_image"
8265
8266 if test "$enableval" = yes; then
8267 ac_cv_use_image='wxUSE_IMAGE=yes'
8268 else
8269 ac_cv_use_image='wxUSE_IMAGE=no'
8270 fi
8271
8272else
8273
8274 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8275 if test "x$LINE" != x ; then
8276 eval "DEFAULT_$LINE"
8277 else
8278 no_cache=1
8279 fi
8280
8281 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8282
8283fi
8284
8285
8286 eval "$ac_cv_use_image"
8287 if test "$no_cache" != 1; then
8288 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8289 fi
8290
8291 if test "$wxUSE_IMAGE" = yes; then
8292 echo "$ac_t""yes" 1>&6
8293 else
8294 echo "$ac_t""no" 1>&6
8295 fi
8296
8297
8298 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8299echo "configure:8300: checking for --enable-gif" >&5
8300 no_cache=0
8301 # Check whether --enable-gif or --disable-gif was given.
8302if test "${enable_gif+set}" = set; then
8303 enableval="$enable_gif"
8304
8305 if test "$enableval" = yes; then
8306 ac_cv_use_gif='wxUSE_GIF=yes'
8307 else
8308 ac_cv_use_gif='wxUSE_GIF=no'
8309 fi
8310
8311else
8312
8313 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8314 if test "x$LINE" != x ; then
8315 eval "DEFAULT_$LINE"
8316 else
8317 no_cache=1
8318 fi
8319
8320 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8321
8322fi
8323
8324
8325 eval "$ac_cv_use_gif"
8326 if test "$no_cache" != 1; then
8327 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8328 fi
8329
8330 if test "$wxUSE_GIF" = yes; then
8331 echo "$ac_t""yes" 1>&6
8332 else
8333 echo "$ac_t""no" 1>&6
8334 fi
8335
8336
8337 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8338echo "configure:8339: checking for --enable-pcx" >&5
8339 no_cache=0
8340 # Check whether --enable-pcx or --disable-pcx was given.
8341if test "${enable_pcx+set}" = set; then
8342 enableval="$enable_pcx"
8343
8344 if test "$enableval" = yes; then
8345 ac_cv_use_pcx='wxUSE_PCX=yes'
8346 else
8347 ac_cv_use_pcx='wxUSE_PCX=no'
8348 fi
8349
8350else
8351
8352 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8353 if test "x$LINE" != x ; then
8354 eval "DEFAULT_$LINE"
8355 else
8356 no_cache=1
8357 fi
8358
8359 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8360
8361fi
8362
8363
8364 eval "$ac_cv_use_pcx"
8365 if test "$no_cache" != 1; then
8366 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8367 fi
8368
8369 if test "$wxUSE_PCX" = yes; then
8370 echo "$ac_t""yes" 1>&6
8371 else
8372 echo "$ac_t""no" 1>&6
8373 fi
8374
8375
8376 echo $ac_n "checking for --enable-iff""... $ac_c" 1>&6
8377echo "configure:8378: checking for --enable-iff" >&5
8378 no_cache=0
8379 # Check whether --enable-iff or --disable-iff was given.
8380if test "${enable_iff+set}" = set; then
8381 enableval="$enable_iff"
8382
8383 if test "$enableval" = yes; then
8384 ac_cv_use_iff='wxUSE_IFF=yes'
8385 else
8386 ac_cv_use_iff='wxUSE_IFF=no'
8387 fi
8388
8389else
8390
8391 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8392 if test "x$LINE" != x ; then
8393 eval "DEFAULT_$LINE"
8394 else
8395 no_cache=1
8396 fi
8397
8398 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8399
8400fi
8401
8402
8403 eval "$ac_cv_use_iff"
8404 if test "$no_cache" != 1; then
8405 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8406 fi
8407
8408 if test "$wxUSE_IFF" = yes; then
8409 echo "$ac_t""yes" 1>&6
8410 else
8411 echo "$ac_t""no" 1>&6
8412 fi
8413
8414
8415 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8416echo "configure:8417: checking for --enable-pnm" >&5
8417 no_cache=0
8418 # Check whether --enable-pnm or --disable-pnm was given.
8419if test "${enable_pnm+set}" = set; then
8420 enableval="$enable_pnm"
8421
8422 if test "$enableval" = yes; then
8423 ac_cv_use_pnm='wxUSE_PNM=yes'
8424 else
8425 ac_cv_use_pnm='wxUSE_PNM=no'
8426 fi
8427
8428else
8429
8430 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8431 if test "x$LINE" != x ; then
8432 eval "DEFAULT_$LINE"
8433 else
8434 no_cache=1
8435 fi
8436
8437 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8438
8439fi
8440
8441
8442 eval "$ac_cv_use_pnm"
8443 if test "$no_cache" != 1; then
8444 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8445 fi
8446
8447 if test "$wxUSE_PNM" = yes; then
8448 echo "$ac_t""yes" 1>&6
8449 else
8450 echo "$ac_t""no" 1>&6
8451 fi
8452
8453
8454 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8455echo "configure:8456: checking for --enable-xpm" >&5
8456 no_cache=0
8457 # Check whether --enable-xpm or --disable-xpm was given.
8458if test "${enable_xpm+set}" = set; then
8459 enableval="$enable_xpm"
8460
8461 if test "$enableval" = yes; then
8462 ac_cv_use_xpm='wxUSE_XPM=yes'
8463 else
8464 ac_cv_use_xpm='wxUSE_XPM=no'
8465 fi
8466
8467else
8468
8469 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8470 if test "x$LINE" != x ; then
8471 eval "DEFAULT_$LINE"
8472 else
8473 no_cache=1
8474 fi
8475
8476 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8477
8478fi
8479
8480
8481 eval "$ac_cv_use_xpm"
8482 if test "$no_cache" != 1; then
8483 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8484 fi
8485
8486 if test "$wxUSE_XPM" = yes; then
8487 echo "$ac_t""yes" 1>&6
8488 else
8489 echo "$ac_t""no" 1>&6
8490 fi
8491
8492
8493 echo $ac_n "checking for --enable-ico_cur""... $ac_c" 1>&6
8494echo "configure:8495: checking for --enable-ico_cur" >&5
8495 no_cache=0
8496 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8497if test "${enable_ico_cur+set}" = set; then
8498 enableval="$enable_ico_cur"
8499
8500 if test "$enableval" = yes; then
8501 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
8502 else
8503 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
8504 fi
8505
8506else
8507
8508 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8509 if test "x$LINE" != x ; then
8510 eval "DEFAULT_$LINE"
8511 else
8512 no_cache=1
8513 fi
8514
8515 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8516
8517fi
8518
8519
8520 eval "$ac_cv_use_ico_cur"
8521 if test "$no_cache" != 1; then
8522 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8523 fi
8524
8525 if test "$wxUSE_ICO_CUR" = yes; then
8526 echo "$ac_t""yes" 1>&6
8527 else
8528 echo "$ac_t""no" 1>&6
8529 fi
8530
8531
8532fi
8533
8534case "${host}" in
8535 *-pc-os2_emx | *-pc-os2-emx )
8536 PATH_IFS=';'
8537 LEX_STEM="lexyy"
8538 ;;
8539 *)
8540 PATH_IFS=':'
8541 LEX_STEM="lex.yy"
8542 ;;
8543esac
8544
8545
8546
8547 echo "saving argument cache $wx_arg_cache_file"
8548 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
8549
8550
8551
8552echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8553echo "configure:8554: checking for toolkit" >&5
8554
8555if test "$wxUSE_GUI" = "yes"; then
8556
8557 if test "$USE_BEOS" = 1; then
8558 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8559 fi
8560
8561 if test "$TOOLKIT_GIVEN" = 1; then
8562 for toolkit in `echo $ALL_TOOLKITS`; do
8563 var=wxUSE_$toolkit
8564 eval "value=\$${var}"
8565 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
8566 done
8567 else
8568 for toolkit in `echo $ALL_TOOLKITS`; do
8569 if test "$has_toolkit_in_cache" != 1; then
8570 var=DEFAULT_DEFAULT_wxUSE_$toolkit
8571 else
8572 var=DEFAULT_wxUSE_$toolkit
8573 fi
8574 eval "wxUSE_$toolkit=\$${var}"
8575 done
8576 fi
8577
8578 NUM_TOOLKITS=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8579 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8580
8581 case "${host}" in
8582 *-pc-os2_emx | *-pc-os2-emx )
8583 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8584 esac
8585
8586 case "$NUM_TOOLKITS" in
8587 1)
8588 ;;
8589 0)
8590 { echo "configure: error: Please specify a toolkit -- cannot determine the default for ${host}" 1>&2; exit 1; }
8591 ;;
8592 *)
8593 { echo "configure: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" 1>&2; exit 1; }
8594 esac
8595
8596 for toolkit in `echo $ALL_TOOLKITS`; do
8597 var=wxUSE_$toolkit
8598 eval "value=\$${var}"
8599 if test "x$value" != x; then
8600 cache_var=CACHE_$toolkit
8601 eval "cache=\$${cache_var}"
8602 if test "$cache" = 1; then
8603 echo "$var=$value" >> ${wx_arg_cache_file}
8604 fi
8605 if test "$value" = 1; then
8606 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
8607 echo "$ac_t""$toolkit_echo" 1>&6
8608 fi
8609 fi
8610 done
8611else
8612 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8613fi
8614
8615case "${host}" in
8616 *-pc-os2_emx | *-pc-os2-emx )
8617 LIBS="$LIBS -lstdcpp"
8618 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
8619 echo $ac_n "checking for drand48 in -lcExt""... $ac_c" 1>&6
8620echo "configure:8621: checking for drand48 in -lcExt" >&5
8621ac_lib_var=`echo cExt'_'drand48 | sed 'y%./+-%__p_%'`
8622if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8623 echo $ac_n "(cached) $ac_c" 1>&6
8624else
8625 ac_save_LIBS="$LIBS"
8626LIBS="-lcExt $LIBS"
8627cat > conftest.$ac_ext <<EOF
8628#line 8629 "configure"
8629#include "confdefs.h"
8630/* Override any gcc2 internal prototype to avoid an error. */
8631/* We use char because int might match the return type of a gcc2
8632 builtin and then its argument prototype would still apply. */
8633char drand48();
8634
8635int main() {
8636drand48()
8637; return 0; }
8638EOF
8639if { (eval echo configure:8640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8640 rm -rf conftest*
8641 eval "ac_cv_lib_$ac_lib_var=yes"
8642else
8643 echo "configure: failed program was:" >&5
8644 cat conftest.$ac_ext >&5
8645 rm -rf conftest*
8646 eval "ac_cv_lib_$ac_lib_var=no"
8647fi
8648rm -f conftest*
8649LIBS="$ac_save_LIBS"
8650
8651fi
8652if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8653 echo "$ac_t""yes" 1>&6
8654 LIBS="$LIBS -lcExt"
8655else
8656 echo "$ac_t""no" 1>&6
8657fi
8658
8659 else
8660 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
8661 fi
8662 ;;
8663esac
8664
8665wants_win32=0
8666doesnt_want_win32=0
8667case "${host}" in
8668 *-*-cygwin*)
8669 if test "$wxUSE_MSW" = 1 ; then
8670 wants_win32=1
8671 else
8672 doesnt_want_win32=1
8673 fi
8674 ;;
8675 *-*-mingw*)
8676 wants_win32=1
8677 ;;
8678esac
8679
8680if test "$wants_win32" = 1 ; then
8681 USE_UNIX=0
8682 USE_WIN32=1
8683 cat >> confdefs.h <<\EOF
8684#define __WIN32__ 1
8685EOF
8686
8687 cat >> confdefs.h <<\EOF
8688#define __WIN95__ 1
8689EOF
8690
8691 cat >> confdefs.h <<\EOF
8692#define __WINDOWS__ 1
8693EOF
8694
8695 cat >> confdefs.h <<\EOF
8696#define __GNUWIN32__ 1
8697EOF
8698
8699 cat >> confdefs.h <<\EOF
8700#define STRICT 1
8701EOF
8702
8703 cat >> confdefs.h <<\EOF
8704#define WINVER 0x0400
8705EOF
8706
8707fi
8708if test "$doesnt_want_win32" = 1 ; then
8709 USE_UNIX=1
8710 USE_WIN32=0
8711fi
8712
8713if test "$USE_UNIX" = 1 ; then
8714 wxUSE_UNIX=yes
8715 cat >> confdefs.h <<\EOF
8716#define __UNIX__ 1
8717EOF
8718
8719fi
8720
8721
8722cat > confcache <<\EOF
8723# This file is a shell script that caches the results of configure
8724# tests run on this system so they can be shared between configure
8725# scripts and configure runs. It is not useful on other systems.
8726# If it contains results you don't want to keep, you may remove or edit it.
8727#
8728# By default, configure uses ./config.cache as the cache file,
8729# creating it if it does not exist already. You can give configure
8730# the --cache-file=FILE option to use a different cache file; that is
8731# what configure does when it calls configure scripts in
8732# subdirectories, so they share the cache.
8733# Giving --cache-file=/dev/null disables caching, for debugging configure.
8734# config.status only pays attention to the cache file if you give it the
8735# --recheck option to rerun configure.
8736#
8737EOF
8738# The following way of writing the cache mishandles newlines in values,
8739# but we know of no workaround that is simple, portable, and efficient.
8740# So, don't put newlines in cache variables' values.
8741# Ultrix sh set writes to stderr and can't be redirected directly,
8742# and sets the high bit in the cache file unless we assign to the vars.
8743(set) 2>&1 |
8744 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8745 *ac_space=\ *)
8746 # `set' does not quote correctly, so add quotes (double-quote substitution
8747 # turns \\\\ into \\, and sed turns \\ into \).
8748 sed -n \
8749 -e "s/'/'\\\\''/g" \
8750 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8751 ;;
8752 *)
8753 # `set' quotes correctly as required by POSIX, so do not add quotes.
8754 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8755 ;;
8756 esac >> confcache
8757if cmp -s $cache_file confcache; then
8758 :
8759else
8760 if test -w $cache_file; then
8761 echo "updating cache $cache_file"
8762 cat confcache > $cache_file
8763 else
8764 echo "not updating unwritable cache $cache_file"
8765 fi
8766fi
8767rm -f confcache
8768
8769
8770if test "$build" != "$host" ; then
8771 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8772 CC=$host_alias-gcc
8773 CXX=$host_alias-c++
8774 AR=$host_alias-ar
8775 RANLIB=$host_alias-ranlib
8776 DLLTOOL=$host_alias-dlltool
8777 RESCOMP=$host_alias-windres
8778 LD=$host_alias-ld
8779 NM=$host_alias-nm
8780 STRIP=$host_alias-strip
8781 else
8782 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8783 fi
8784fi
8785
8786CFLAGS=${CFLAGS:=}
8787# Extract the first word of "gcc", so it can be a program name with args.
8788set dummy gcc; ac_word=$2
8789echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8790echo "configure:8791: checking for $ac_word" >&5
8791if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8792 echo $ac_n "(cached) $ac_c" 1>&6
8793else
8794 if test -n "$CC"; then
8795 ac_cv_prog_CC="$CC" # Let the user override the test.
8796else
8797 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8798 ac_dummy="$PATH"
8799 for ac_dir in $ac_dummy; do
8800 test -z "$ac_dir" && ac_dir=.
8801 if test -f $ac_dir/$ac_word; then
8802 ac_cv_prog_CC="gcc"
8803 break
8804 fi
8805 done
8806 IFS="$ac_save_ifs"
8807fi
8808fi
8809CC="$ac_cv_prog_CC"
8810if test -n "$CC"; then
8811 echo "$ac_t""$CC" 1>&6
8812else
8813 echo "$ac_t""no" 1>&6
8814fi
8815
8816if test -z "$CC"; then
8817 # Extract the first word of "cc", so it can be a program name with args.
8818set dummy cc; ac_word=$2
8819echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8820echo "configure:8821: checking for $ac_word" >&5
8821if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8822 echo $ac_n "(cached) $ac_c" 1>&6
8823else
8824 if test -n "$CC"; then
8825 ac_cv_prog_CC="$CC" # Let the user override the test.
8826else
8827 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8828 ac_prog_rejected=no
8829 ac_dummy="$PATH"
8830 for ac_dir in $ac_dummy; do
8831 test -z "$ac_dir" && ac_dir=.
8832 if test -f $ac_dir/$ac_word; then
8833 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8834 ac_prog_rejected=yes
8835 continue
8836 fi
8837 ac_cv_prog_CC="cc"
8838 break
8839 fi
8840 done
8841 IFS="$ac_save_ifs"
8842if test $ac_prog_rejected = yes; then
8843 # We found a bogon in the path, so make sure we never use it.
8844 set dummy $ac_cv_prog_CC
8845 shift
8846 if test $# -gt 0; then
8847 # We chose a different compiler from the bogus one.
8848 # However, it has the same basename, so the bogon will be chosen
8849 # first if we set CC to just the basename; use the full file name.
8850 shift
8851 set dummy "$ac_dir/$ac_word" "$@"
8852 shift
8853 ac_cv_prog_CC="$@"
8854 fi
8855fi
8856fi
8857fi
8858CC="$ac_cv_prog_CC"
8859if test -n "$CC"; then
8860 echo "$ac_t""$CC" 1>&6
8861else
8862 echo "$ac_t""no" 1>&6
8863fi
8864
8865 if test -z "$CC"; then
8866 case "`uname -s`" in
8867 *win32* | *WIN32*)
8868 # Extract the first word of "cl", so it can be a program name with args.
8869set dummy cl; ac_word=$2
8870echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8871echo "configure:8872: checking for $ac_word" >&5
8872if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8873 echo $ac_n "(cached) $ac_c" 1>&6
8874else
8875 if test -n "$CC"; then
8876 ac_cv_prog_CC="$CC" # Let the user override the test.
8877else
8878 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8879 ac_dummy="$PATH"
8880 for ac_dir in $ac_dummy; do
8881 test -z "$ac_dir" && ac_dir=.
8882 if test -f $ac_dir/$ac_word; then
8883 ac_cv_prog_CC="cl"
8884 break
8885 fi
8886 done
8887 IFS="$ac_save_ifs"
8888fi
8889fi
8890CC="$ac_cv_prog_CC"
8891if test -n "$CC"; then
8892 echo "$ac_t""$CC" 1>&6
8893else
8894 echo "$ac_t""no" 1>&6
8895fi
8896 ;;
8897 esac
8898 fi
8899 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8900fi
8901
8902echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8903echo "configure:8904: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8904
8905ac_ext=c
8906# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8907ac_cpp='$CPP $CPPFLAGS'
8908ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8909ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8910cross_compiling=$ac_cv_prog_cc_cross
8911
8912cat > conftest.$ac_ext << EOF
8913
8914#line 8915 "configure"
8915#include "confdefs.h"
8916
8917main(){return(0);}
8918EOF
8919if { (eval echo configure:8920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8920 ac_cv_prog_cc_works=yes
8921 # If we can't run a trivial program, we are probably using a cross compiler.
8922 if (./conftest; exit) 2>/dev/null; then
8923 ac_cv_prog_cc_cross=no
8924 else
8925 ac_cv_prog_cc_cross=yes
8926 fi
8927else
8928 echo "configure: failed program was:" >&5
8929 cat conftest.$ac_ext >&5
8930 ac_cv_prog_cc_works=no
8931fi
8932rm -fr conftest*
8933ac_ext=c
8934# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8935ac_cpp='$CPP $CPPFLAGS'
8936ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8937ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8938cross_compiling=$ac_cv_prog_cc_cross
8939
8940echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8941if test $ac_cv_prog_cc_works = no; then
8942 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8943fi
8944echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8945echo "configure:8946: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8946echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8947cross_compiling=$ac_cv_prog_cc_cross
8948
8949echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8950echo "configure:8951: checking whether we are using GNU C" >&5
8951if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8952 echo $ac_n "(cached) $ac_c" 1>&6
8953else
8954 cat > conftest.c <<EOF
8955#ifdef __GNUC__
8956 yes;
8957#endif
8958EOF
8959if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:8960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
8960 ac_cv_prog_gcc=yes
8961else
8962 ac_cv_prog_gcc=no
8963fi
8964fi
8965
8966echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8967
8968if test $ac_cv_prog_gcc = yes; then
8969 GCC=yes
8970else
8971 GCC=
8972fi
8973
8974ac_test_CFLAGS="${CFLAGS+set}"
8975ac_save_CFLAGS="$CFLAGS"
8976CFLAGS=
8977echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8978echo "configure:8979: checking whether ${CC-cc} accepts -g" >&5
8979if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8980 echo $ac_n "(cached) $ac_c" 1>&6
8981else
8982 echo 'void f(){}' > conftest.c
8983if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8984 ac_cv_prog_cc_g=yes
8985else
8986 ac_cv_prog_cc_g=no
8987fi
8988rm -f conftest*
8989
8990fi
8991
8992echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8993if test "$ac_test_CFLAGS" = set; then
8994 CFLAGS="$ac_save_CFLAGS"
8995elif test $ac_cv_prog_cc_g = yes; then
8996 if test "$GCC" = yes; then
8997 CFLAGS="-g -O2"
8998 else
8999 CFLAGS="-g"
9000 fi
9001else
9002 if test "$GCC" = yes; then
9003 CFLAGS="-O2"
9004 else
9005 CFLAGS=
9006 fi
9007fi
9008
9009
9010echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
9011echo "configure:9012: checking how to run the C preprocessor" >&5
9012# On Suns, sometimes $CPP names a directory.
9013if test -n "$CPP" && test -d "$CPP"; then
9014 CPP=
9015fi
9016if test -z "$CPP"; then
9017if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
9018 echo $ac_n "(cached) $ac_c" 1>&6
9019else
9020 # This must be in double quotes, not single quotes, because CPP may get
9021 # substituted into the Makefile and "${CC-cc}" will confuse make.
9022 CPP="${CC-cc} -E"
9023 # On the NeXT, cc -E runs the code through the compiler's parser,
9024 # not just through cpp.
9025 cat > conftest.$ac_ext <<EOF
9026#line 9027 "configure"
9027#include "confdefs.h"
9028#include <assert.h>
9029Syntax Error
9030EOF
9031ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9032{ (eval echo configure:9033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9033ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9034if test -z "$ac_err"; then
9035 :
9036else
9037 echo "$ac_err" >&5
9038 echo "configure: failed program was:" >&5
9039 cat conftest.$ac_ext >&5
9040 rm -rf conftest*
9041 CPP="${CC-cc} -E -traditional-cpp"
9042 cat > conftest.$ac_ext <<EOF
9043#line 9044 "configure"
9044#include "confdefs.h"
9045#include <assert.h>
9046Syntax Error
9047EOF
9048ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9049{ (eval echo configure:9050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9050ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9051if test -z "$ac_err"; then
9052 :
9053else
9054 echo "$ac_err" >&5
9055 echo "configure: failed program was:" >&5
9056 cat conftest.$ac_ext >&5
9057 rm -rf conftest*
9058 CPP="${CC-cc} -nologo -E"
9059 cat > conftest.$ac_ext <<EOF
9060#line 9061 "configure"
9061#include "confdefs.h"
9062#include <assert.h>
9063Syntax Error
9064EOF
9065ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9066{ (eval echo configure:9067: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9067ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9068if test -z "$ac_err"; then
9069 :
9070else
9071 echo "$ac_err" >&5
9072 echo "configure: failed program was:" >&5
9073 cat conftest.$ac_ext >&5
9074 rm -rf conftest*
9075 CPP=/lib/cpp
9076fi
9077rm -f conftest*
9078fi
9079rm -f conftest*
9080fi
9081rm -f conftest*
9082 ac_cv_prog_CPP="$CPP"
9083fi
9084 CPP="$ac_cv_prog_CPP"
9085else
9086 ac_cv_prog_CPP="$CPP"
9087fi
9088echo "$ac_t""$CPP" 1>&6
9089
9090if test $ac_cv_prog_gcc = yes; then
9091 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
9092echo "configure:9093: checking whether ${CC-cc} needs -traditional" >&5
9093if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
9094 echo $ac_n "(cached) $ac_c" 1>&6
9095else
9096 ac_pattern="Autoconf.*'x'"
9097 cat > conftest.$ac_ext <<EOF
9098#line 9099 "configure"
9099#include "confdefs.h"
9100#include <sgtty.h>
9101Autoconf TIOCGETP
9102EOF
9103if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9104 egrep "$ac_pattern" >/dev/null 2>&1; then
9105 rm -rf conftest*
9106 ac_cv_prog_gcc_traditional=yes
9107else
9108 rm -rf conftest*
9109 ac_cv_prog_gcc_traditional=no
9110fi
9111rm -f conftest*
9112
9113
9114 if test $ac_cv_prog_gcc_traditional = no; then
9115 cat > conftest.$ac_ext <<EOF
9116#line 9117 "configure"
9117#include "confdefs.h"
9118#include <termio.h>
9119Autoconf TCGETA
9120EOF
9121if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9122 egrep "$ac_pattern" >/dev/null 2>&1; then
9123 rm -rf conftest*
9124 ac_cv_prog_gcc_traditional=yes
9125fi
9126rm -f conftest*
9127
9128 fi
9129fi
9130
9131echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
9132 if test $ac_cv_prog_gcc_traditional = yes; then
9133 CC="$CC -traditional"
9134 fi
9135fi
9136
9137
9138
9139ac_ext=C
9140# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9141ac_cpp='$CXXCPP $CPPFLAGS'
9142ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9143ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9144cross_compiling=$ac_cv_prog_cxx_cross
9145
9146
9147CXXFLAGS=${CXXFLAGS:=}
9148for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
9149do
9150# Extract the first word of "$ac_prog", so it can be a program name with args.
9151set dummy $ac_prog; ac_word=$2
9152echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9153echo "configure:9154: checking for $ac_word" >&5
9154if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
9155 echo $ac_n "(cached) $ac_c" 1>&6
9156else
9157 if test -n "$CXX"; then
9158 ac_cv_prog_CXX="$CXX" # Let the user override the test.
9159else
9160 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9161 ac_dummy="$PATH"
9162 for ac_dir in $ac_dummy; do
9163 test -z "$ac_dir" && ac_dir=.
9164 if test -f $ac_dir/$ac_word; then
9165 ac_cv_prog_CXX="$ac_prog"
9166 break
9167 fi
9168 done
9169 IFS="$ac_save_ifs"
9170fi
9171fi
9172CXX="$ac_cv_prog_CXX"
9173if test -n "$CXX"; then
9174 echo "$ac_t""$CXX" 1>&6
9175else
9176 echo "$ac_t""no" 1>&6
9177fi
9178
9179test -n "$CXX" && break
9180done
9181test -n "$CXX" || CXX="gcc"
9182
9183
9184echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9185echo "configure:9186: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9186
9187ac_ext=C
9188# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9189ac_cpp='$CXXCPP $CPPFLAGS'
9190ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9191ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9192cross_compiling=$ac_cv_prog_cxx_cross
9193
9194cat > conftest.$ac_ext << EOF
9195
9196#line 9197 "configure"
9197#include "confdefs.h"
9198
9199int main(){return(0);}
9200EOF
9201if { (eval echo configure:9202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9202 ac_cv_prog_cxx_works=yes
9203 # If we can't run a trivial program, we are probably using a cross compiler.
9204 if (./conftest; exit) 2>/dev/null; then
9205 ac_cv_prog_cxx_cross=no
9206 else
9207 ac_cv_prog_cxx_cross=yes
9208 fi
9209else
9210 echo "configure: failed program was:" >&5
9211 cat conftest.$ac_ext >&5
9212 ac_cv_prog_cxx_works=no
9213fi
9214rm -fr conftest*
9215ac_ext=C
9216# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9217ac_cpp='$CXXCPP $CPPFLAGS'
9218ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9219ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9220cross_compiling=$ac_cv_prog_cxx_cross
9221
9222echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9223if test $ac_cv_prog_cxx_works = no; then
9224 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9225fi
9226echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9227echo "configure:9228: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9228echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9229cross_compiling=$ac_cv_prog_cxx_cross
9230
9231echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9232echo "configure:9233: checking whether we are using GNU C++" >&5
9233if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9234 echo $ac_n "(cached) $ac_c" 1>&6
9235else
9236 cat > conftest.C <<EOF
9237#ifdef __GNUC__
9238 yes;
9239#endif
9240EOF
9241if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:9242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
9242 ac_cv_prog_gxx=yes
9243else
9244 ac_cv_prog_gxx=no
9245fi
9246fi
9247
9248echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9249
9250if test $ac_cv_prog_gxx = yes; then
9251 GXX=yes
9252else
9253 GXX=
9254fi
9255
9256ac_test_CXXFLAGS="${CXXFLAGS+set}"
9257ac_save_CXXFLAGS="$CXXFLAGS"
9258CXXFLAGS=
9259echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9260echo "configure:9261: checking whether ${CXX-g++} accepts -g" >&5
9261if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9262 echo $ac_n "(cached) $ac_c" 1>&6
9263else
9264 echo 'void f(){}' > conftest.cc
9265if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9266 ac_cv_prog_cxx_g=yes
9267else
9268 ac_cv_prog_cxx_g=no
9269fi
9270rm -f conftest*
9271
9272fi
9273
9274echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9275if test "$ac_test_CXXFLAGS" = set; then
9276 CXXFLAGS="$ac_save_CXXFLAGS"
9277elif test $ac_cv_prog_cxx_g = yes; then
9278 if test "$GXX" = yes; then
9279 CXXFLAGS="-g -O2"
9280 else
9281 CXXFLAGS="-g"
9282 fi
9283else
9284 if test "$GXX" = yes; then
9285 CXXFLAGS="-O2"
9286 else
9287 CXXFLAGS=
9288 fi
9289fi
9290
9291
9292ac_ext=c
9293# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9294ac_cpp='$CPP $CPPFLAGS'
9295ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9296ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9297cross_compiling=$ac_cv_prog_cc_cross
9298
9299
9300# Extract the first word of "ranlib", so it can be a program name with args.
9301set dummy ranlib; ac_word=$2
9302echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9303echo "configure:9304: checking for $ac_word" >&5
9304if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9305 echo $ac_n "(cached) $ac_c" 1>&6
9306else
9307 if test -n "$RANLIB"; then
9308 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9309else
9310 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9311 ac_dummy="$PATH"
9312 for ac_dir in $ac_dummy; do
9313 test -z "$ac_dir" && ac_dir=.
9314 if test -f $ac_dir/$ac_word; then
9315 ac_cv_prog_RANLIB="ranlib"
9316 break
9317 fi
9318 done
9319 IFS="$ac_save_ifs"
9320 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
9321fi
9322fi
9323RANLIB="$ac_cv_prog_RANLIB"
9324if test -n "$RANLIB"; then
9325 echo "$ac_t""$RANLIB" 1>&6
9326else
9327 echo "$ac_t""no" 1>&6
9328fi
9329
9330
9331# Extract the first word of "ar", so it can be a program name with args.
9332set dummy ar; ac_word=$2
9333echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9334echo "configure:9335: checking for $ac_word" >&5
9335if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9336 echo $ac_n "(cached) $ac_c" 1>&6
9337else
9338 if test -n "$AR"; then
9339 ac_cv_prog_AR="$AR" # Let the user override the test.
9340else
9341 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9342 ac_dummy="$PATH"
9343 for ac_dir in $ac_dummy; do
9344 test -z "$ac_dir" && ac_dir=.
9345 if test -f $ac_dir/$ac_word; then
9346 ac_cv_prog_AR="ar"
9347 break
9348 fi
9349 done
9350 IFS="$ac_save_ifs"
9351 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
9352fi
9353fi
9354AR="$ac_cv_prog_AR"
9355if test -n "$AR"; then
9356 echo "$ac_t""$AR" 1>&6
9357else
9358 echo "$ac_t""no" 1>&6
9359fi
9360
9361
9362# Find a good install program. We prefer a C program (faster),
9363# so one script is as good as another. But avoid the broken or
9364# incompatible versions:
9365# SysV /etc/install, /usr/sbin/install
9366# SunOS /usr/etc/install
9367# IRIX /sbin/install
9368# AIX /bin/install
9369# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9370# AFS /usr/afsws/bin/install, which mishandles nonexistent args
9371# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9372# ./install, which can be erroneously created by make from ./install.sh.
9373echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9374echo "configure:9375: checking for a BSD compatible install" >&5
9375if test -z "$INSTALL"; then
9376if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9377 echo $ac_n "(cached) $ac_c" 1>&6
9378else
9379 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
9380 for ac_dir in $PATH; do
9381 # Account for people who put trailing slashes in PATH elements.
9382 case "$ac_dir/" in
9383 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
9384 *)
9385 # OSF1 and SCO ODT 3.0 have their own names for install.
9386 # Don't use installbsd from OSF since it installs stuff as root
9387 # by default.
9388 for ac_prog in ginstall scoinst install; do
9389 if test -f $ac_dir/$ac_prog; then
9390 if test $ac_prog = install &&
9391 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
9392 # AIX install. It has an incompatible calling convention.
9393 :
9394 else
9395 ac_cv_path_install="$ac_dir/$ac_prog -c"
9396 break 2
9397 fi
9398 fi
9399 done
9400 ;;
9401 esac
9402 done
9403 IFS="$ac_save_IFS"
9404
9405fi
9406 if test "${ac_cv_path_install+set}" = set; then
9407 INSTALL="$ac_cv_path_install"
9408 else
9409 # As a last resort, use the slow shell script. We don't cache a
9410 # path for INSTALL within a source directory, because that will
9411 # break other packages using the cache if that directory is
9412 # removed, or if the path is relative.
9413 INSTALL="$ac_install_sh"
9414 fi
9415fi
9416echo "$ac_t""$INSTALL" 1>&6
9417
9418# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9419# It thinks the first close brace ends the variable substitution.
9420test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
9421
9422test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
9423
9424test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
9425
9426
9427case ${INSTALL} in
9428 /* ) # Absolute
9429 ;;
9430 *)
9431 INSTALL=`pwd`/${INSTALL} ;;
9432esac
9433
9434
9435case "${host}" in
9436
9437 powerpc-*-darwin* )
9438 INSTALL_PROGRAM="cp -fp"
9439 INSTALL_DATA="cp -fp"
9440 ;;
9441 *)
9442 ;;
9443esac
9444
9445# Extract the first word of "strip", so it can be a program name with args.
9446set dummy strip; ac_word=$2
9447echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9448echo "configure:9449: checking for $ac_word" >&5
9449if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9450 echo $ac_n "(cached) $ac_c" 1>&6
9451else
9452 if test -n "$STRIP"; then
9453 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9454else
9455 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9456 ac_dummy="$PATH"
9457 for ac_dir in $ac_dummy; do
9458 test -z "$ac_dir" && ac_dir=.
9459 if test -f $ac_dir/$ac_word; then
9460 ac_cv_prog_STRIP="strip"
9461 break
9462 fi
9463 done
9464 IFS="$ac_save_ifs"
9465 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
9466fi
9467fi
9468STRIP="$ac_cv_prog_STRIP"
9469if test -n "$STRIP"; then
9470 echo "$ac_t""$STRIP" 1>&6
9471else
9472 echo "$ac_t""no" 1>&6
9473fi
9474
9475
9476echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9477echo "configure:9478: checking if make is GNU make" >&5
9478if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9479 echo $ac_n "(cached) $ac_c" 1>&6
9480else
9481
9482 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
9483 egrep -s GNU > /dev/null); then
9484 wx_cv_prog_makeisgnu="yes"
9485 else
9486 wx_cv_prog_makeisgnu="no"
9487 fi
9488
9489fi
9490
9491echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9492
9493if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9494 IF_GNU_MAKE=""
9495else
9496 IF_GNU_MAKE="#"
9497fi
9498
9499
9500
9501if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9502echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9503echo "configure:9504: checking if make supports VPATH" >&5
9504if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9505 echo $ac_n "(cached) $ac_c" 1>&6
9506else
9507
9508cat - << EOF > confMake
9509check : file
9510 cp \$? \$@
9511 cp \$? final_file
9512EOF
9513
9514if test ! -d sub ; then
9515 mkdir sub
9516fi
9517echo dummy > sub/file
9518${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
9519RESULT=$?
9520rm -f sub/file check final_file confMake
9521rmdir sub
9522if test "$RESULT" = 0; then
9523 wx_cv_prog_makevpath="yes"
9524else
9525 wx_cv_prog_makevpath="no"
9526fi
9527
9528fi
9529
9530echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9531
9532if test "x$wx_cv_prog_makevpath" != "xyes"; then
9533{ echo "configure: error:
9534You need a make-utility that is able to use the variable
9535VPATH correctly.
9536If your version of make does not support VPATH correctly,
9537please install GNU-make (possibly as gmake), and start
9538configure with the following command:
9539export MAKE=gmake; ./configure for sh-type shells
9540setenv MAKE gmake; ./configure for csh-type shells
9541Also please do remember to use gmake in this case every time
9542you are trying to compile.
9543" 1>&2; exit 1; }
9544fi fi
9545for ac_prog in 'bison -y' byacc
9546do
9547# Extract the first word of "$ac_prog", so it can be a program name with args.
9548set dummy $ac_prog; ac_word=$2
9549echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9550echo "configure:9551: checking for $ac_word" >&5
9551if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9552 echo $ac_n "(cached) $ac_c" 1>&6
9553else
9554 if test -n "$YACC"; then
9555 ac_cv_prog_YACC="$YACC" # Let the user override the test.
9556else
9557 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9558 ac_dummy="$PATH"
9559 for ac_dir in $ac_dummy; do
9560 test -z "$ac_dir" && ac_dir=.
9561 if test -f $ac_dir/$ac_word; then
9562 ac_cv_prog_YACC="$ac_prog"
9563 break
9564 fi
9565 done
9566 IFS="$ac_save_ifs"
9567fi
9568fi
9569YACC="$ac_cv_prog_YACC"
9570if test -n "$YACC"; then
9571 echo "$ac_t""$YACC" 1>&6
9572else
9573 echo "$ac_t""no" 1>&6
9574fi
9575
9576test -n "$YACC" && break
9577done
9578test -n "$YACC" || YACC="yacc"
9579
9580
9581# Extract the first word of "flex", so it can be a program name with args.
9582set dummy flex; ac_word=$2
9583echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9584echo "configure:9585: checking for $ac_word" >&5
9585if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9586 echo $ac_n "(cached) $ac_c" 1>&6
9587else
9588 if test -n "$LEX"; then
9589 ac_cv_prog_LEX="$LEX" # Let the user override the test.
9590else
9591 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9592 ac_dummy="$PATH"
9593 for ac_dir in $ac_dummy; do
9594 test -z "$ac_dir" && ac_dir=.
9595 if test -f $ac_dir/$ac_word; then
9596 ac_cv_prog_LEX="flex"
9597 break
9598 fi
9599 done
9600 IFS="$ac_save_ifs"
9601 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"
9602fi
9603fi
9604LEX="$ac_cv_prog_LEX"
9605if test -n "$LEX"; then
9606 echo "$ac_t""$LEX" 1>&6
9607else
9608 echo "$ac_t""no" 1>&6
9609fi
9610
9611if test -z "$LEXLIB"
9612then
9613 case "$LEX" in
9614 flex*) ac_lib=fl ;;
9615 *) ac_lib=l ;;
9616 esac
9617 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9618echo "configure:9619: checking for yywrap in -l$ac_lib" >&5
9619ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9620if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9621 echo $ac_n "(cached) $ac_c" 1>&6
9622else
9623 ac_save_LIBS="$LIBS"
9624LIBS="-l$ac_lib $LIBS"
9625cat > conftest.$ac_ext <<EOF
9626#line 9627 "configure"
9627#include "confdefs.h"
9628/* Override any gcc2 internal prototype to avoid an error. */
9629/* We use char because int might match the return type of a gcc2
9630 builtin and then its argument prototype would still apply. */
9631char yywrap();
9632
9633int main() {
9634yywrap()
9635; return 0; }
9636EOF
9637if { (eval echo configure:9638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9638 rm -rf conftest*
9639 eval "ac_cv_lib_$ac_lib_var=yes"
9640else
9641 echo "configure: failed program was:" >&5
9642 cat conftest.$ac_ext >&5
9643 rm -rf conftest*
9644 eval "ac_cv_lib_$ac_lib_var=no"
9645fi
9646rm -f conftest*
9647LIBS="$ac_save_LIBS"
9648
9649fi
9650if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9651 echo "$ac_t""yes" 1>&6
9652 LEXLIB="-l$ac_lib"
9653else
9654 echo "$ac_t""no" 1>&6
9655fi
9656
9657fi
9658
9659
9660echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9661echo "configure:9662: checking whether ln -s works" >&5
9662if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9663 echo $ac_n "(cached) $ac_c" 1>&6
9664else
9665 rm -f conftestdata
9666if ln -s X conftestdata 2>/dev/null
9667then
9668 rm -f conftestdata
9669 ac_cv_prog_LN_S="ln -s"
9670else
9671 ac_cv_prog_LN_S=ln
9672fi
9673fi
9674LN_S="$ac_cv_prog_LN_S"
9675if test "$ac_cv_prog_LN_S" = "ln -s"; then
9676 echo "$ac_t""yes" 1>&6
9677else
9678 echo "$ac_t""no" 1>&6
9679fi
9680
9681
9682
9683if test "$wxUSE_MAC" != 1; then
9684 for ac_hdr in strings.h
9685do
9686ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9687echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9688echo "configure:9689: checking for $ac_hdr" >&5
9689if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9690 echo $ac_n "(cached) $ac_c" 1>&6
9691else
9692 cat > conftest.$ac_ext <<EOF
9693#line 9694 "configure"
9694#include "confdefs.h"
9695#include <$ac_hdr>
9696EOF
9697ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9698{ (eval echo configure:9699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9699ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9700if test -z "$ac_err"; then
9701 rm -rf conftest*
9702 eval "ac_cv_header_$ac_safe=yes"
9703else
9704 echo "$ac_err" >&5
9705 echo "configure: failed program was:" >&5
9706 cat conftest.$ac_ext >&5
9707 rm -rf conftest*
9708 eval "ac_cv_header_$ac_safe=no"
9709fi
9710rm -f conftest*
9711fi
9712if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9713 echo "$ac_t""yes" 1>&6
9714 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9715 cat >> confdefs.h <<EOF
9716#define $ac_tr_hdr 1
9717EOF
9718
9719else
9720 echo "$ac_t""no" 1>&6
9721fi
9722done
9723
9724fi
9725
9726for ac_hdr in stdlib.h
9727do
9728ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9729echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9730echo "configure:9731: checking for $ac_hdr" >&5
9731if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9732 echo $ac_n "(cached) $ac_c" 1>&6
9733else
9734 cat > conftest.$ac_ext <<EOF
9735#line 9736 "configure"
9736#include "confdefs.h"
9737#include <$ac_hdr>
9738EOF
9739ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9740{ (eval echo configure:9741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9741ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9742if test -z "$ac_err"; then
9743 rm -rf conftest*
9744 eval "ac_cv_header_$ac_safe=yes"
9745else
9746 echo "$ac_err" >&5
9747 echo "configure: failed program was:" >&5
9748 cat conftest.$ac_ext >&5
9749 rm -rf conftest*
9750 eval "ac_cv_header_$ac_safe=no"
9751fi
9752rm -f conftest*
9753fi
9754if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9755 echo "$ac_t""yes" 1>&6
9756 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9757 cat >> confdefs.h <<EOF
9758#define $ac_tr_hdr 1
9759EOF
9760
9761else
9762 echo "$ac_t""no" 1>&6
9763fi
9764done
9765
9766for ac_hdr in malloc.h
9767do
9768ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9769echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9770echo "configure:9771: checking for $ac_hdr" >&5
9771if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9772 echo $ac_n "(cached) $ac_c" 1>&6
9773else
9774 cat > conftest.$ac_ext <<EOF
9775#line 9776 "configure"
9776#include "confdefs.h"
9777#include <$ac_hdr>
9778EOF
9779ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9780{ (eval echo configure:9781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9781ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9782if test -z "$ac_err"; then
9783 rm -rf conftest*
9784 eval "ac_cv_header_$ac_safe=yes"
9785else
9786 echo "$ac_err" >&5
9787 echo "configure: failed program was:" >&5
9788 cat conftest.$ac_ext >&5
9789 rm -rf conftest*
9790 eval "ac_cv_header_$ac_safe=no"
9791fi
9792rm -f conftest*
9793fi
9794if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9795 echo "$ac_t""yes" 1>&6
9796 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9797 cat >> confdefs.h <<EOF
9798#define $ac_tr_hdr 1
9799EOF
9800
9801else
9802 echo "$ac_t""no" 1>&6
9803fi
9804done
9805
9806for ac_hdr in unistd.h
9807do
9808ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9809echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9810echo "configure:9811: checking for $ac_hdr" >&5
9811if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9812 echo $ac_n "(cached) $ac_c" 1>&6
9813else
9814 cat > conftest.$ac_ext <<EOF
9815#line 9816 "configure"
9816#include "confdefs.h"
9817#include <$ac_hdr>
9818EOF
9819ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9820{ (eval echo configure:9821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9821ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9822if test -z "$ac_err"; then
9823 rm -rf conftest*
9824 eval "ac_cv_header_$ac_safe=yes"
9825else
9826 echo "$ac_err" >&5
9827 echo "configure: failed program was:" >&5
9828 cat conftest.$ac_ext >&5
9829 rm -rf conftest*
9830 eval "ac_cv_header_$ac_safe=no"
9831fi
9832rm -f conftest*
9833fi
9834if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9835 echo "$ac_t""yes" 1>&6
9836 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9837 cat >> confdefs.h <<EOF
9838#define $ac_tr_hdr 1
9839EOF
9840
9841else
9842 echo "$ac_t""no" 1>&6
9843fi
9844done
9845
9846for ac_hdr in wchar.h
9847do
9848ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9849echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9850echo "configure:9851: checking for $ac_hdr" >&5
9851if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9852 echo $ac_n "(cached) $ac_c" 1>&6
9853else
9854 cat > conftest.$ac_ext <<EOF
9855#line 9856 "configure"
9856#include "confdefs.h"
9857#include <$ac_hdr>
9858EOF
9859ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9860{ (eval echo configure:9861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9861ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9862if test -z "$ac_err"; then
9863 rm -rf conftest*
9864 eval "ac_cv_header_$ac_safe=yes"
9865else
9866 echo "$ac_err" >&5
9867 echo "configure: failed program was:" >&5
9868 cat conftest.$ac_ext >&5
9869 rm -rf conftest*
9870 eval "ac_cv_header_$ac_safe=no"
9871fi
9872rm -f conftest*
9873fi
9874if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9875 echo "$ac_t""yes" 1>&6
9876 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9877 cat >> confdefs.h <<EOF
9878#define $ac_tr_hdr 1
9879EOF
9880
9881else
9882 echo "$ac_t""no" 1>&6
9883fi
9884done
9885
9886
9887if test "$ac_cv_header_wchar_h" != "yes"; then
9888 for ac_hdr in wcstr.h
9889do
9890ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9891echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9892echo "configure:9893: checking for $ac_hdr" >&5
9893if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9894 echo $ac_n "(cached) $ac_c" 1>&6
9895else
9896 cat > conftest.$ac_ext <<EOF
9897#line 9898 "configure"
9898#include "confdefs.h"
9899#include <$ac_hdr>
9900EOF
9901ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9902{ (eval echo configure:9903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9903ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9904if test -z "$ac_err"; then
9905 rm -rf conftest*
9906 eval "ac_cv_header_$ac_safe=yes"
9907else
9908 echo "$ac_err" >&5
9909 echo "configure: failed program was:" >&5
9910 cat conftest.$ac_ext >&5
9911 rm -rf conftest*
9912 eval "ac_cv_header_$ac_safe=no"
9913fi
9914rm -f conftest*
9915fi
9916if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9917 echo "$ac_t""yes" 1>&6
9918 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9919 cat >> confdefs.h <<EOF
9920#define $ac_tr_hdr 1
9921EOF
9922
9923else
9924 echo "$ac_t""no" 1>&6
9925fi
9926done
9927
9928fi
9929
9930for ac_hdr in fnmatch.h
9931do
9932ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9933echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9934echo "configure:9935: checking for $ac_hdr" >&5
9935if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9936 echo $ac_n "(cached) $ac_c" 1>&6
9937else
9938 cat > conftest.$ac_ext <<EOF
9939#line 9940 "configure"
9940#include "confdefs.h"
9941#include <$ac_hdr>
9942EOF
9943ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9944{ (eval echo configure:9945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9945ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9946if test -z "$ac_err"; then
9947 rm -rf conftest*
9948 eval "ac_cv_header_$ac_safe=yes"
9949else
9950 echo "$ac_err" >&5
9951 echo "configure: failed program was:" >&5
9952 cat conftest.$ac_ext >&5
9953 rm -rf conftest*
9954 eval "ac_cv_header_$ac_safe=no"
9955fi
9956rm -f conftest*
9957fi
9958if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9959 echo "$ac_t""yes" 1>&6
9960 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9961 cat >> confdefs.h <<EOF
9962#define $ac_tr_hdr 1
9963EOF
9964
9965else
9966 echo "$ac_t""no" 1>&6
9967fi
9968done
9969
9970
9971if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
9972 for ac_func in fnmatch
9973do
9974echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9975echo "configure:9976: checking for $ac_func" >&5
9976if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9977 echo $ac_n "(cached) $ac_c" 1>&6
9978else
9979 cat > conftest.$ac_ext <<EOF
9980#line 9981 "configure"
9981#include "confdefs.h"
9982/* System header to define __stub macros and hopefully few prototypes,
9983 which can conflict with char $ac_func(); below. */
9984#include <assert.h>
9985/* Override any gcc2 internal prototype to avoid an error. */
9986/* We use char because int might match the return type of a gcc2
9987 builtin and then its argument prototype would still apply. */
9988char $ac_func();
9989
9990int main() {
9991
9992/* The GNU C library defines this for functions which it implements
9993 to always fail with ENOSYS. Some functions are actually named
9994 something starting with __ and the normal name is an alias. */
9995#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9996choke me
9997#else
9998$ac_func();
9999#endif
10000
10001; return 0; }
10002EOF
10003if { (eval echo configure:10004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10004 rm -rf conftest*
10005 eval "ac_cv_func_$ac_func=yes"
10006else
10007 echo "configure: failed program was:" >&5
10008 cat conftest.$ac_ext >&5
10009 rm -rf conftest*
10010 eval "ac_cv_func_$ac_func=no"
10011fi
10012rm -f conftest*
10013fi
10014
10015if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10016 echo "$ac_t""yes" 1>&6
10017 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10018 cat >> confdefs.h <<EOF
10019#define $ac_tr_func 1
10020EOF
10021
10022else
10023 echo "$ac_t""no" 1>&6
10024fi
10025done
10026
10027fi
10028
10029for ac_hdr in langinfo.h
10030do
10031ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10032echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10033echo "configure:10034: checking for $ac_hdr" >&5
10034if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10035 echo $ac_n "(cached) $ac_c" 1>&6
10036else
10037 cat > conftest.$ac_ext <<EOF
10038#line 10039 "configure"
10039#include "confdefs.h"
10040#include <$ac_hdr>
10041EOF
10042ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10043{ (eval echo configure:10044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10044ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10045if test -z "$ac_err"; then
10046 rm -rf conftest*
10047 eval "ac_cv_header_$ac_safe=yes"
10048else
10049 echo "$ac_err" >&5
10050 echo "configure: failed program was:" >&5
10051 cat conftest.$ac_ext >&5
10052 rm -rf conftest*
10053 eval "ac_cv_header_$ac_safe=no"
10054fi
10055rm -f conftest*
10056fi
10057if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10058 echo "$ac_t""yes" 1>&6
10059 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10060 cat >> confdefs.h <<EOF
10061#define $ac_tr_hdr 1
10062EOF
10063
10064else
10065 echo "$ac_t""no" 1>&6
10066fi
10067done
10068
10069
10070if test "$wxUSE_GUI" = "yes"; then
10071 if test "$wxUSE_UNIX" = "yes"; then
10072 for ac_hdr in X11/XKBlib.h
10073do
10074ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10075echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10076echo "configure:10077: checking for $ac_hdr" >&5
10077if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10078 echo $ac_n "(cached) $ac_c" 1>&6
10079else
10080 cat > conftest.$ac_ext <<EOF
10081#line 10082 "configure"
10082#include "confdefs.h"
10083#include <$ac_hdr>
10084EOF
10085ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10086{ (eval echo configure:10087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10087ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10088if test -z "$ac_err"; then
10089 rm -rf conftest*
10090 eval "ac_cv_header_$ac_safe=yes"
10091else
10092 echo "$ac_err" >&5
10093 echo "configure: failed program was:" >&5
10094 cat conftest.$ac_ext >&5
10095 rm -rf conftest*
10096 eval "ac_cv_header_$ac_safe=no"
10097fi
10098rm -f conftest*
10099fi
10100if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10101 echo "$ac_t""yes" 1>&6
10102 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10103 cat >> confdefs.h <<EOF
10104#define $ac_tr_hdr 1
10105EOF
10106
10107else
10108 echo "$ac_t""no" 1>&6
10109fi
10110done
10111
10112 fi
10113fi
10114
10115
10116echo $ac_n "checking for working const""... $ac_c" 1>&6
10117echo "configure:10118: checking for working const" >&5
10118if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
10119 echo $ac_n "(cached) $ac_c" 1>&6
10120else
10121 cat > conftest.$ac_ext <<EOF
10122#line 10123 "configure"
10123#include "confdefs.h"
10124
10125int main() {
10126
10127/* Ultrix mips cc rejects this. */
10128typedef int charset[2]; const charset x;
10129/* SunOS 4.1.1 cc rejects this. */
10130char const *const *ccp;
10131char **p;
10132/* NEC SVR4.0.2 mips cc rejects this. */
10133struct point {int x, y;};
10134static struct point const zero = {0,0};
10135/* AIX XL C 1.02.0.0 rejects this.
10136 It does not let you subtract one const X* pointer from another in an arm
10137 of an if-expression whose if-part is not a constant expression */
10138const char *g = "string";
10139ccp = &g + (g ? g-g : 0);
10140/* HPUX 7.0 cc rejects these. */
10141++ccp;
10142p = (char**) ccp;
10143ccp = (char const *const *) p;
10144{ /* SCO 3.2v4 cc rejects this. */
10145 char *t;
10146 char const *s = 0 ? (char *) 0 : (char const *) 0;
10147
10148 *t++ = 0;
10149}
10150{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10151 int x[] = {25, 17};
10152 const int *foo = &x[0];
10153 ++foo;
10154}
10155{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10156 typedef const int *iptr;
10157 iptr p = 0;
10158 ++p;
10159}
10160{ /* AIX XL C 1.02.0.0 rejects this saying
10161 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10162 struct s { int j; const int *ap[3]; };
10163 struct s *b; b->j = 5;
10164}
10165{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10166 const int foo = 10;
10167}
10168
10169; return 0; }
10170EOF
10171if { (eval echo configure:10172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10172 rm -rf conftest*
10173 ac_cv_c_const=yes
10174else
10175 echo "configure: failed program was:" >&5
10176 cat conftest.$ac_ext >&5
10177 rm -rf conftest*
10178 ac_cv_c_const=no
10179fi
10180rm -f conftest*
10181fi
10182
10183echo "$ac_t""$ac_cv_c_const" 1>&6
10184if test $ac_cv_c_const = no; then
10185 cat >> confdefs.h <<\EOF
10186#define const
10187EOF
10188
10189fi
10190
10191echo $ac_n "checking for inline""... $ac_c" 1>&6
10192echo "configure:10193: checking for inline" >&5
10193if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10194 echo $ac_n "(cached) $ac_c" 1>&6
10195else
10196 ac_cv_c_inline=no
10197for ac_kw in inline __inline__ __inline; do
10198 cat > conftest.$ac_ext <<EOF
10199#line 10200 "configure"
10200#include "confdefs.h"
10201
10202int main() {
10203} $ac_kw foo() {
10204; return 0; }
10205EOF
10206if { (eval echo configure:10207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10207 rm -rf conftest*
10208 ac_cv_c_inline=$ac_kw; break
10209else
10210 echo "configure: failed program was:" >&5
10211 cat conftest.$ac_ext >&5
10212fi
10213rm -f conftest*
10214done
10215
10216fi
10217
10218echo "$ac_t""$ac_cv_c_inline" 1>&6
10219case "$ac_cv_c_inline" in
10220 inline | yes) ;;
10221 no) cat >> confdefs.h <<\EOF
10222#define inline
10223EOF
10224 ;;
10225 *) cat >> confdefs.h <<EOF
10226#define inline $ac_cv_c_inline
10227EOF
10228 ;;
10229esac
10230
10231
10232echo $ac_n "checking size of char""... $ac_c" 1>&6
10233echo "configure:10234: checking size of char" >&5
10234if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10235 echo $ac_n "(cached) $ac_c" 1>&6
10236else
10237 if test "$cross_compiling" = yes; then
10238 ac_cv_sizeof_char=1
10239else
10240 cat > conftest.$ac_ext <<EOF
10241#line 10242 "configure"
10242#include "confdefs.h"
10243#include <stdio.h>
10244main()
10245{
10246 FILE *f=fopen("conftestval", "w");
10247 if (!f) exit(1);
10248 fprintf(f, "%d\n", sizeof(char));
10249 exit(0);
10250}
10251EOF
10252if { (eval echo configure:10253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10253then
10254 ac_cv_sizeof_char=`cat conftestval`
10255else
10256 echo "configure: failed program was:" >&5
10257 cat conftest.$ac_ext >&5
10258 rm -fr conftest*
10259 ac_cv_sizeof_char=0
10260fi
10261rm -fr conftest*
10262fi
10263
10264fi
10265echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10266cat >> confdefs.h <<EOF
10267#define SIZEOF_CHAR $ac_cv_sizeof_char
10268EOF
10269
10270
10271echo $ac_n "checking size of short""... $ac_c" 1>&6
10272echo "configure:10273: checking size of short" >&5
10273if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10274 echo $ac_n "(cached) $ac_c" 1>&6
10275else
10276 if test "$cross_compiling" = yes; then
10277 ac_cv_sizeof_short=2
10278else
10279 cat > conftest.$ac_ext <<EOF
10280#line 10281 "configure"
10281#include "confdefs.h"
10282#include <stdio.h>
10283main()
10284{
10285 FILE *f=fopen("conftestval", "w");
10286 if (!f) exit(1);
10287 fprintf(f, "%d\n", sizeof(short));
10288 exit(0);
10289}
10290EOF
10291if { (eval echo configure:10292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10292then
10293 ac_cv_sizeof_short=`cat conftestval`
10294else
10295 echo "configure: failed program was:" >&5
10296 cat conftest.$ac_ext >&5
10297 rm -fr conftest*
10298 ac_cv_sizeof_short=0
10299fi
10300rm -fr conftest*
10301fi
10302
10303fi
10304echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10305cat >> confdefs.h <<EOF
10306#define SIZEOF_SHORT $ac_cv_sizeof_short
10307EOF
10308
10309
10310echo $ac_n "checking size of void *""... $ac_c" 1>&6
10311echo "configure:10312: checking size of void *" >&5
10312if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10313 echo $ac_n "(cached) $ac_c" 1>&6
10314else
10315 if test "$cross_compiling" = yes; then
10316 ac_cv_sizeof_void_p=4
10317else
10318 cat > conftest.$ac_ext <<EOF
10319#line 10320 "configure"
10320#include "confdefs.h"
10321#include <stdio.h>
10322main()
10323{
10324 FILE *f=fopen("conftestval", "w");
10325 if (!f) exit(1);
10326 fprintf(f, "%d\n", sizeof(void *));
10327 exit(0);
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 ac_cv_sizeof_void_p=`cat conftestval`
10333else
10334 echo "configure: failed program was:" >&5
10335 cat conftest.$ac_ext >&5
10336 rm -fr conftest*
10337 ac_cv_sizeof_void_p=0
10338fi
10339rm -fr conftest*
10340fi
10341
10342fi
10343echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10344cat >> confdefs.h <<EOF
10345#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10346EOF
10347
10348
10349echo $ac_n "checking size of int""... $ac_c" 1>&6
10350echo "configure:10351: checking size of int" >&5
10351if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10352 echo $ac_n "(cached) $ac_c" 1>&6
10353else
10354 if test "$cross_compiling" = yes; then
10355 ac_cv_sizeof_int=4
10356else
10357 cat > conftest.$ac_ext <<EOF
10358#line 10359 "configure"
10359#include "confdefs.h"
10360#include <stdio.h>
10361main()
10362{
10363 FILE *f=fopen("conftestval", "w");
10364 if (!f) exit(1);
10365 fprintf(f, "%d\n", sizeof(int));
10366 exit(0);
10367}
10368EOF
10369if { (eval echo configure:10370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10370then
10371 ac_cv_sizeof_int=`cat conftestval`
10372else
10373 echo "configure: failed program was:" >&5
10374 cat conftest.$ac_ext >&5
10375 rm -fr conftest*
10376 ac_cv_sizeof_int=0
10377fi
10378rm -fr conftest*
10379fi
10380
10381fi
10382echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10383cat >> confdefs.h <<EOF
10384#define SIZEOF_INT $ac_cv_sizeof_int
10385EOF
10386
10387
10388echo $ac_n "checking size of long""... $ac_c" 1>&6
10389echo "configure:10390: checking size of long" >&5
10390if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10391 echo $ac_n "(cached) $ac_c" 1>&6
10392else
10393 if test "$cross_compiling" = yes; then
10394 ac_cv_sizeof_long=4
10395else
10396 cat > conftest.$ac_ext <<EOF
10397#line 10398 "configure"
10398#include "confdefs.h"
10399#include <stdio.h>
10400main()
10401{
10402 FILE *f=fopen("conftestval", "w");
10403 if (!f) exit(1);
10404 fprintf(f, "%d\n", sizeof(long));
10405 exit(0);
10406}
10407EOF
10408if { (eval echo configure:10409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10409then
10410 ac_cv_sizeof_long=`cat conftestval`
10411else
10412 echo "configure: failed program was:" >&5
10413 cat conftest.$ac_ext >&5
10414 rm -fr conftest*
10415 ac_cv_sizeof_long=0
10416fi
10417rm -fr conftest*
10418fi
10419
10420fi
10421echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10422cat >> confdefs.h <<EOF
10423#define SIZEOF_LONG $ac_cv_sizeof_long
10424EOF
10425
10426
10427
10428case "${host}" in
10429 arm-*-linux* )
10430 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10431echo "configure:10432: checking size of long long" >&5
10432if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10433 echo $ac_n "(cached) $ac_c" 1>&6
10434else
10435 if test "$cross_compiling" = yes; then
10436 ac_cv_sizeof_long_long=8
10437else
10438 cat > conftest.$ac_ext <<EOF
10439#line 10440 "configure"
10440#include "confdefs.h"
10441#include <stdio.h>
10442main()
10443{
10444 FILE *f=fopen("conftestval", "w");
10445 if (!f) exit(1);
10446 fprintf(f, "%d\n", sizeof(long long));
10447 exit(0);
10448}
10449EOF
10450if { (eval echo configure:10451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10451then
10452 ac_cv_sizeof_long_long=`cat conftestval`
10453else
10454 echo "configure: failed program was:" >&5
10455 cat conftest.$ac_ext >&5
10456 rm -fr conftest*
10457 ac_cv_sizeof_long_long=0
10458fi
10459rm -fr conftest*
10460fi
10461
10462fi
10463echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10464cat >> confdefs.h <<EOF
10465#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10466EOF
10467
10468
10469 ;;
10470 * )
10471 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10472echo "configure:10473: checking size of long long" >&5
10473if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10474 echo $ac_n "(cached) $ac_c" 1>&6
10475else
10476 if test "$cross_compiling" = yes; then
10477 ac_cv_sizeof_long_long=0
10478else
10479 cat > conftest.$ac_ext <<EOF
10480#line 10481 "configure"
10481#include "confdefs.h"
10482#include <stdio.h>
10483main()
10484{
10485 FILE *f=fopen("conftestval", "w");
10486 if (!f) exit(1);
10487 fprintf(f, "%d\n", sizeof(long long));
10488 exit(0);
10489}
10490EOF
10491if { (eval echo configure:10492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10492then
10493 ac_cv_sizeof_long_long=`cat conftestval`
10494else
10495 echo "configure: failed program was:" >&5
10496 cat conftest.$ac_ext >&5
10497 rm -fr conftest*
10498 ac_cv_sizeof_long_long=0
10499fi
10500rm -fr conftest*
10501fi
10502
10503fi
10504echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10505cat >> confdefs.h <<EOF
10506#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10507EOF
10508
10509
10510esac
10511
10512echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10513echo "configure:10514: checking size of wchar_t" >&5
10514if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10515 echo $ac_n "(cached) $ac_c" 1>&6
10516else
10517
10518 if test "$cross_compiling" = yes; then
10519 wx_cv_sizeof_wchar_t=4
10520
10521else
10522 cat > conftest.$ac_ext <<EOF
10523#line 10524 "configure"
10524#include "confdefs.h"
10525
10526 #ifdef HAVE_WCHAR_H
10527 # ifdef __CYGWIN__
10528 # include <stddef.h>
10529 # endif
10530 # include <wchar.h>
10531 #endif
10532 #ifdef HAVE_STDLIB_H
10533 # include <stdlib.h>
10534 #endif
10535 #include <stdio.h>
10536 int main()
10537 {
10538 FILE *f=fopen("conftestval", "w");
10539 if (!f) exit(1);
10540 fprintf(f, "%i", sizeof(wchar_t));
10541 exit(0);
10542 }
10543
10544EOF
10545if { (eval echo configure:10546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10546then
10547 wx_cv_sizeof_wchar_t=`cat conftestval`
10548else
10549 echo "configure: failed program was:" >&5
10550 cat conftest.$ac_ext >&5
10551 rm -fr conftest*
10552 wx_cv_sizeof_wchar_t=0
10553fi
10554rm -fr conftest*
10555fi
10556
10557
10558fi
10559
10560echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10561
10562cat >> confdefs.h <<EOF
10563#define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10564EOF
10565
10566
10567# Check whether --enable-largefile or --disable-largefile was given.
10568if test "${enable_largefile+set}" = set; then
10569 enableval="$enable_largefile"
10570 :
10571fi
10572
10573if test "$enable_largefile" != no; then
10574 wx_largefile=no
10575
10576 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10577echo "configure:10578: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10578if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10579 echo $ac_n "(cached) $ac_c" 1>&6
10580else
10581
10582 cat > conftest.$ac_ext <<EOF
10583#line 10584 "configure"
10584#include "confdefs.h"
10585#define _FILE_OFFSET_BITS 64
10586 #include <sys/types.h>
10587int main() {
10588typedef struct {
10589 unsigned int field: sizeof(off_t) == 8;
10590} wxlf;
10591
10592; return 0; }
10593EOF
10594if { (eval echo configure:10595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10595 rm -rf conftest*
10596 ac_cv_sys_file_offset_bits=64
10597else
10598 echo "configure: failed program was:" >&5
10599 cat conftest.$ac_ext >&5
10600 rm -rf conftest*
10601 ac_cv_sys_file_offset_bits=no
10602fi
10603rm -f conftest*
10604
10605
10606fi
10607
10608echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10609
10610 if test "$ac_cv_sys_file_offset_bits" != no; then
10611 wx_largefile=yes
10612 cat >> confdefs.h <<EOF
10613#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10614EOF
10615
10616 fi
10617
10618 if test "x$wx_largefile" != "xyes"; then
10619
10620 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10621echo "configure:10622: checking for _LARGE_FILES value needed for large files" >&5
10622if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10623 echo $ac_n "(cached) $ac_c" 1>&6
10624else
10625
10626 cat > conftest.$ac_ext <<EOF
10627#line 10628 "configure"
10628#include "confdefs.h"
10629#define _LARGE_FILES 1
10630 #include <sys/types.h>
10631int main() {
10632typedef struct {
10633 unsigned int field: sizeof(off_t) == 8;
10634} wxlf;
10635
10636; return 0; }
10637EOF
10638if { (eval echo configure:10639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10639 rm -rf conftest*
10640 ac_cv_sys_large_files=1
10641else
10642 echo "configure: failed program was:" >&5
10643 cat conftest.$ac_ext >&5
10644 rm -rf conftest*
10645 ac_cv_sys_large_files=no
10646fi
10647rm -f conftest*
10648
10649
10650fi
10651
10652echo "$ac_t""$ac_cv_sys_large_files" 1>&6
10653
10654 if test "$ac_cv_sys_large_files" != no; then
10655 wx_largefile=yes
10656 cat >> confdefs.h <<EOF
10657#define _LARGE_FILES $ac_cv_sys_large_files
10658EOF
10659
10660 fi
10661
10662 fi
10663
10664 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
10665echo "configure:10666: checking if large file support is available" >&5
10666 if test "x$wx_largefile" = "xyes"; then
10667 cat >> confdefs.h <<\EOF
10668#define HAVE_LARGEFILE_SUPPORT 1
10669EOF
10670
10671 fi
10672 echo "$ac_t""$wx_largefile" 1>&6
10673fi
10674
10675
10676if test "x$wx_largefile" = "xyes"; then
10677 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
10678 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
10679 else
10680 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
10681 fi
10682 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
10683fi
10684
10685echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10686echo "configure:10687: checking whether byte ordering is bigendian" >&5
10687if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10688 echo $ac_n "(cached) $ac_c" 1>&6
10689else
10690 ac_cv_c_bigendian=unknown
10691# See if sys/param.h defines the BYTE_ORDER macro.
10692cat > conftest.$ac_ext <<EOF
10693#line 10694 "configure"
10694#include "confdefs.h"
10695#include <sys/types.h>
10696#include <sys/param.h>
10697int main() {
10698
10699#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10700 bogus endian macros
10701#endif
10702; return 0; }
10703EOF
10704if { (eval echo configure:10705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10705 rm -rf conftest*
10706 # It does; now see whether it defined to BIG_ENDIAN or not.
10707cat > conftest.$ac_ext <<EOF
10708#line 10709 "configure"
10709#include "confdefs.h"
10710#include <sys/types.h>
10711#include <sys/param.h>
10712int main() {
10713
10714#if BYTE_ORDER != BIG_ENDIAN
10715 not big endian
10716#endif
10717; return 0; }
10718EOF
10719if { (eval echo configure:10720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10720 rm -rf conftest*
10721 ac_cv_c_bigendian=yes
10722else
10723 echo "configure: failed program was:" >&5
10724 cat conftest.$ac_ext >&5
10725 rm -rf conftest*
10726 ac_cv_c_bigendian=no
10727fi
10728rm -f conftest*
10729else
10730 echo "configure: failed program was:" >&5
10731 cat conftest.$ac_ext >&5
10732fi
10733rm -f conftest*
10734if test $ac_cv_c_bigendian = unknown; then
10735if test "$cross_compiling" = yes; then
10736 ac_cv_c_bigendian=unknown
10737else
10738 cat > conftest.$ac_ext <<EOF
10739#line 10740 "configure"
10740#include "confdefs.h"
10741main () {
10742 /* Are we little or big endian? From Harbison&Steele. */
10743 union
10744 {
10745 long l;
10746 char c[sizeof (long)];
10747 } u;
10748 u.l = 1;
10749 exit (u.c[sizeof (long) - 1] == 1);
10750}
10751EOF
10752if { (eval echo configure:10753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10753then
10754 ac_cv_c_bigendian=no
10755else
10756 echo "configure: failed program was:" >&5
10757 cat conftest.$ac_ext >&5
10758 rm -fr conftest*
10759 ac_cv_c_bigendian=yes
10760fi
10761rm -fr conftest*
10762fi
10763
10764fi
10765fi
10766
10767echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10768if test $ac_cv_c_bigendian = unknown; then
10769 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
10770fi
10771if test $ac_cv_c_bigendian = yes; then
10772 cat >> confdefs.h <<\EOF
10773#define WORDS_BIGENDIAN 1
10774EOF
10775
10776fi
10777
10778
10779echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
10780echo "configure:10781: checking how to run the C++ preprocessor" >&5
10781if test -z "$CXXCPP"; then
10782if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
10783 echo $ac_n "(cached) $ac_c" 1>&6
10784else
10785 ac_ext=C
10786# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10787ac_cpp='$CXXCPP $CPPFLAGS'
10788ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10789ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10790cross_compiling=$ac_cv_prog_cxx_cross
10791 CXXCPP="${CXX-g++} -E"
10792 cat > conftest.$ac_ext <<EOF
10793#line 10794 "configure"
10794#include "confdefs.h"
10795#include <stdlib.h>
10796EOF
10797ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10798{ (eval echo configure:10799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10799ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10800if test -z "$ac_err"; then
10801 :
10802else
10803 echo "$ac_err" >&5
10804 echo "configure: failed program was:" >&5
10805 cat conftest.$ac_ext >&5
10806 rm -rf conftest*
10807 CXXCPP=/lib/cpp
10808fi
10809rm -f conftest*
10810 ac_cv_prog_CXXCPP="$CXXCPP"
10811ac_ext=C
10812# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10813ac_cpp='$CXXCPP $CPPFLAGS'
10814ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10815ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10816cross_compiling=$ac_cv_prog_cxx_cross
10817fi
10818fi
10819CXXCPP="$ac_cv_prog_CXXCPP"
10820echo "$ac_t""$CXXCPP" 1>&6
10821
10822
10823 if test "$cross_compiling" = "yes"; then
10824 cat >> confdefs.h <<\EOF
10825#define wxUSE_IOSTREAMH 1
10826EOF
10827
10828 else
10829
10830 ac_ext=C
10831# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10832ac_cpp='$CXXCPP $CPPFLAGS'
10833ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10834ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10835cross_compiling=$ac_cv_prog_cxx_cross
10836
10837
10838 for ac_hdr in iostream
10839do
10840ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10841echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10842echo "configure:10843: checking for $ac_hdr" >&5
10843if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10844 echo $ac_n "(cached) $ac_c" 1>&6
10845else
10846 cat > conftest.$ac_ext <<EOF
10847#line 10848 "configure"
10848#include "confdefs.h"
10849#include <$ac_hdr>
10850EOF
10851ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10852{ (eval echo configure:10853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10853ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10854if test -z "$ac_err"; then
10855 rm -rf conftest*
10856 eval "ac_cv_header_$ac_safe=yes"
10857else
10858 echo "$ac_err" >&5
10859 echo "configure: failed program was:" >&5
10860 cat conftest.$ac_ext >&5
10861 rm -rf conftest*
10862 eval "ac_cv_header_$ac_safe=no"
10863fi
10864rm -f conftest*
10865fi
10866if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10867 echo "$ac_t""yes" 1>&6
10868 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10869 cat >> confdefs.h <<EOF
10870#define $ac_tr_hdr 1
10871EOF
10872
10873else
10874 echo "$ac_t""no" 1>&6
10875fi
10876done
10877
10878
10879 if test "$ac_cv_header_iostream" = "yes" ; then
10880 :
10881 else
10882 cat >> confdefs.h <<\EOF
10883#define wxUSE_IOSTREAMH 1
10884EOF
10885
10886 fi
10887
10888 ac_ext=c
10889# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10890ac_cpp='$CPP $CPPFLAGS'
10891ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10892ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10893cross_compiling=$ac_cv_prog_cc_cross
10894
10895 fi
10896
10897
10898
10899 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
10900echo "configure:10901: checking if C++ compiler supports bool" >&5
10901if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
10902 echo $ac_n "(cached) $ac_c" 1>&6
10903else
10904
10905
10906 ac_ext=C
10907# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10908ac_cpp='$CXXCPP $CPPFLAGS'
10909ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10910ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10911cross_compiling=$ac_cv_prog_cxx_cross
10912
10913
10914 cat > conftest.$ac_ext <<EOF
10915#line 10916 "configure"
10916#include "confdefs.h"
10917
10918
10919int main() {
10920
10921 bool b = true;
10922
10923 return 0;
10924
10925; return 0; }
10926EOF
10927if { (eval echo configure:10928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10928 rm -rf conftest*
10929
10930 wx_cv_cpp_bool=yes
10931
10932else
10933 echo "configure: failed program was:" >&5
10934 cat conftest.$ac_ext >&5
10935 rm -rf conftest*
10936
10937 wx_cv_cpp_bool=no
10938
10939
10940fi
10941rm -f conftest*
10942
10943 ac_ext=c
10944# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10945ac_cpp='$CPP $CPPFLAGS'
10946ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10947ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10948cross_compiling=$ac_cv_prog_cc_cross
10949
10950
10951fi
10952
10953echo "$ac_t""$wx_cv_cpp_bool" 1>&6
10954
10955 if test "$wx_cv_cpp_bool" = "yes"; then
10956 cat >> confdefs.h <<\EOF
10957#define HAVE_BOOL 1
10958EOF
10959
10960 fi
10961
10962
10963
10964 echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6
10965echo "configure:10966: checking if C++ compiler supports the explicit keyword" >&5
10966if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then
10967 echo $ac_n "(cached) $ac_c" 1>&6
10968else
10969
10970
10971 ac_ext=C
10972# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10973ac_cpp='$CXXCPP $CPPFLAGS'
10974ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10975ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10976cross_compiling=$ac_cv_prog_cxx_cross
10977
10978
10979 cat > conftest.$ac_ext <<EOF
10980#line 10981 "configure"
10981#include "confdefs.h"
10982
10983 class Foo { public: explicit Foo(int) {} };
10984
10985int main() {
10986
10987 return 0;
10988
10989; return 0; }
10990EOF
10991if { (eval echo configure:10992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10992 rm -rf conftest*
10993
10994 cat > conftest.$ac_ext <<EOF
10995#line 10996 "configure"
10996#include "confdefs.h"
10997
10998 class Foo { public: explicit Foo(int) {} };
10999 static void TakeFoo(const Foo& foo) { }
11000
11001int main() {
11002
11003 TakeFoo(17);
11004 return 0;
11005
11006; return 0; }
11007EOF
11008if { (eval echo configure:11009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11009 rm -rf conftest*
11010 wx_cv_explicit=no
11011else
11012 echo "configure: failed program was:" >&5
11013 cat conftest.$ac_ext >&5
11014 rm -rf conftest*
11015 wx_cv_explicit=yes
11016
11017fi
11018rm -f conftest*
11019
11020else
11021 echo "configure: failed program was:" >&5
11022 cat conftest.$ac_ext >&5
11023 rm -rf conftest*
11024 wx_cv_explicit=no
11025
11026fi
11027rm -f conftest*
11028
11029 ac_ext=c
11030# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11031ac_cpp='$CPP $CPPFLAGS'
11032ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11033ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11034cross_compiling=$ac_cv_prog_cc_cross
11035
11036
11037fi
11038
11039echo "$ac_t""$wx_cv_explicit" 1>&6
11040
11041 if test "$wx_cv_explicit" = "yes"; then
11042 cat >> confdefs.h <<\EOF
11043#define HAVE_EXPLICIT 1
11044EOF
11045
11046 fi
11047
11048
11049
11050SEARCH_INCLUDE="\
11051 /usr/local/include \
11052 \
11053 /usr/Motif-1.2/include \
11054 /usr/Motif-2.1/include \
11055 \
11056 /usr/include/Motif1.2 \
11057 /opt/xpm/include/X11 \
11058 /opt/GBxpm/include/ \
11059 /opt/GBxpm/X11/include/ \
11060 \
11061 /usr/Motif1.2/include \
11062 /usr/dt/include \
11063 /usr/openwin/include \
11064 \
11065 /usr/include/Xm \
11066 \
11067 /usr/X11R6/include \
11068 /usr/X11R6.4/include \
11069 /usr/X11R5/include \
11070 /usr/X11R4/include \
11071 \
11072 /usr/include/X11R6 \
11073 /usr/include/X11R5 \
11074 /usr/include/X11R4 \
11075 \
11076 /usr/local/X11R6/include \
11077 /usr/local/X11R5/include \
11078 /usr/local/X11R4/include \
11079 \
11080 /usr/local/include/X11R6 \
11081 /usr/local/include/X11R5 \
11082 /usr/local/include/X11R4 \
11083 \
11084 /usr/X11/include \
11085 /usr/include/X11 \
11086 /usr/local/X11/include \
11087 /usr/local/include/X11 \
11088 \
11089 /usr/X386/include \
11090 /usr/x386/include \
11091 /usr/XFree86/include/X11 \
11092 \
11093 X:/XFree86/include \
11094 X:/XFree86/include/X11 \
11095 \
11096 /usr/include/gtk \
11097 /usr/local/include/gtk \
11098 /usr/include/glib \
11099 /usr/local/include/glib \
11100 \
11101 /usr/include/qt \
11102 /usr/local/include/qt \
11103 \
11104 /usr/include/windows \
11105 /usr/include/wine \
11106 /usr/local/include/wine \
11107 \
11108 /usr/unsupported/include \
11109 /usr/athena/include \
11110 /usr/local/x11r5/include \
11111 /usr/lpp/Xamples/include \
11112 \
11113 /usr/openwin/share/include \
11114 /usr/include"
11115
11116SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
11117
11118
11119cat > confcache <<\EOF
11120# This file is a shell script that caches the results of configure
11121# tests run on this system so they can be shared between configure
11122# scripts and configure runs. It is not useful on other systems.
11123# If it contains results you don't want to keep, you may remove or edit it.
11124#
11125# By default, configure uses ./config.cache as the cache file,
11126# creating it if it does not exist already. You can give configure
11127# the --cache-file=FILE option to use a different cache file; that is
11128# what configure does when it calls configure scripts in
11129# subdirectories, so they share the cache.
11130# Giving --cache-file=/dev/null disables caching, for debugging configure.
11131# config.status only pays attention to the cache file if you give it the
11132# --recheck option to rerun configure.
11133#
11134EOF
11135# The following way of writing the cache mishandles newlines in values,
11136# but we know of no workaround that is simple, portable, and efficient.
11137# So, don't put newlines in cache variables' values.
11138# Ultrix sh set writes to stderr and can't be redirected directly,
11139# and sets the high bit in the cache file unless we assign to the vars.
11140(set) 2>&1 |
11141 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11142 *ac_space=\ *)
11143 # `set' does not quote correctly, so add quotes (double-quote substitution
11144 # turns \\\\ into \\, and sed turns \\ into \).
11145 sed -n \
11146 -e "s/'/'\\\\''/g" \
11147 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11148 ;;
11149 *)
11150 # `set' quotes correctly as required by POSIX, so do not add quotes.
11151 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11152 ;;
11153 esac >> confcache
11154if cmp -s $cache_file confcache; then
11155 :
11156else
11157 if test -w $cache_file; then
11158 echo "updating cache $cache_file"
11159 cat confcache > $cache_file
11160 else
11161 echo "not updating unwritable cache $cache_file"
11162 fi
11163fi
11164rm -f confcache
11165
11166
11167if test "$USE_LINUX" = 1; then
11168 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
11169echo "configure:11170: checking for glibc 2.1 or later" >&5
11170if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
11171 echo $ac_n "(cached) $ac_c" 1>&6
11172else
11173
11174 cat > conftest.$ac_ext <<EOF
11175#line 11176 "configure"
11176#include "confdefs.h"
11177#include <features.h>
11178int main() {
11179
11180 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
11181 #error not glibc2.1
11182 #endif
11183
11184; return 0; }
11185EOF
11186if { (eval echo configure:11187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11187 rm -rf conftest*
11188
11189 wx_cv_lib_glibc21=yes
11190
11191else
11192 echo "configure: failed program was:" >&5
11193 cat conftest.$ac_ext >&5
11194 rm -rf conftest*
11195
11196 wx_cv_lib_glibc21=no
11197
11198
11199fi
11200rm -f conftest*
11201
11202fi
11203
11204echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
11205 if test "$wx_cv_lib_glibc21" = "yes"; then
11206 cat >> confdefs.h <<\EOF
11207#define wxHAVE_GLIBC2 1
11208EOF
11209
11210 fi
11211fi
11212
11213if test "x$wx_cv_lib_glibc21" = "xyes"; then
11214 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
11215 cat >> confdefs.h <<\EOF
11216#define _GNU_SOURCE 1
11217EOF
11218
11219 fi
11220fi
11221
11222
11223
11224REGEX_INCLUDE=
11225if test "$wxUSE_REGEX" != "no"; then
11226 cat >> confdefs.h <<\EOF
11227#define wxUSE_REGEX 1
11228EOF
11229
11230
11231 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
11232 ac_safe=`echo "regex.h" | sed 'y%./+-%__p_%'`
11233echo $ac_n "checking for regex.h""... $ac_c" 1>&6
11234echo "configure:11235: checking for regex.h" >&5
11235if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11236 echo $ac_n "(cached) $ac_c" 1>&6
11237else
11238 cat > conftest.$ac_ext <<EOF
11239#line 11240 "configure"
11240#include "confdefs.h"
11241#include <regex.h>
11242EOF
11243ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11244{ (eval echo configure:11245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11245ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11246if test -z "$ac_err"; then
11247 rm -rf conftest*
11248 eval "ac_cv_header_$ac_safe=yes"
11249else
11250 echo "$ac_err" >&5
11251 echo "configure: failed program was:" >&5
11252 cat conftest.$ac_ext >&5
11253 rm -rf conftest*
11254 eval "ac_cv_header_$ac_safe=no"
11255fi
11256rm -f conftest*
11257fi
11258if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11259 echo "$ac_t""yes" 1>&6
11260 for ac_func in regcomp
11261do
11262echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11263echo "configure:11264: checking for $ac_func" >&5
11264if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11265 echo $ac_n "(cached) $ac_c" 1>&6
11266else
11267 cat > conftest.$ac_ext <<EOF
11268#line 11269 "configure"
11269#include "confdefs.h"
11270/* System header to define __stub macros and hopefully few prototypes,
11271 which can conflict with char $ac_func(); below. */
11272#include <assert.h>
11273/* Override any gcc2 internal prototype to avoid an error. */
11274/* We use char because int might match the return type of a gcc2
11275 builtin and then its argument prototype would still apply. */
11276char $ac_func();
11277
11278int main() {
11279
11280/* The GNU C library defines this for functions which it implements
11281 to always fail with ENOSYS. Some functions are actually named
11282 something starting with __ and the normal name is an alias. */
11283#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11284choke me
11285#else
11286$ac_func();
11287#endif
11288
11289; return 0; }
11290EOF
11291if { (eval echo configure:11292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11292 rm -rf conftest*
11293 eval "ac_cv_func_$ac_func=yes"
11294else
11295 echo "configure: failed program was:" >&5
11296 cat conftest.$ac_ext >&5
11297 rm -rf conftest*
11298 eval "ac_cv_func_$ac_func=no"
11299fi
11300rm -f conftest*
11301fi
11302
11303if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11304 echo "$ac_t""yes" 1>&6
11305 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11306 cat >> confdefs.h <<EOF
11307#define $ac_tr_func 1
11308EOF
11309
11310else
11311 echo "$ac_t""no" 1>&6
11312fi
11313done
11314
11315else
11316 echo "$ac_t""no" 1>&6
11317fi
11318
11319
11320 if test "x$ac_cv_func_regcomp" != "xyes"; then
11321 if test "$wxUSE_REGEX" = "sys" ; then
11322 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11323 else
11324 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11325 wxUSE_REGEX=builtin
11326 fi
11327 else
11328 wxUSE_REGEX=sys
11329 fi
11330 fi
11331
11332 if test "$wxUSE_REGEX" = "builtin" ; then
11333 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
11334 fi
11335fi
11336
11337
11338ZLIB_INCLUDE=
11339ZLIB_LINK=
11340if test "$wxUSE_ZLIB" != "no" ; then
11341 cat >> confdefs.h <<\EOF
11342#define wxUSE_ZLIB 1
11343EOF
11344
11345
11346 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11347 ac_safe=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11348echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11349echo "configure:11350: checking for zlib.h" >&5
11350if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11351 echo $ac_n "(cached) $ac_c" 1>&6
11352else
11353 cat > conftest.$ac_ext <<EOF
11354#line 11355 "configure"
11355#include "confdefs.h"
11356#include <zlib.h>
11357EOF
11358ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11359{ (eval echo configure:11360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11360ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11361if test -z "$ac_err"; then
11362 rm -rf conftest*
11363 eval "ac_cv_header_$ac_safe=yes"
11364else
11365 echo "$ac_err" >&5
11366 echo "configure: failed program was:" >&5
11367 cat conftest.$ac_ext >&5
11368 rm -rf conftest*
11369 eval "ac_cv_header_$ac_safe=no"
11370fi
11371rm -f conftest*
11372fi
11373if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11374 echo "$ac_t""yes" 1>&6
11375 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11376echo "configure:11377: checking for deflate in -lz" >&5
11377ac_lib_var=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11378if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11379 echo $ac_n "(cached) $ac_c" 1>&6
11380else
11381 ac_save_LIBS="$LIBS"
11382LIBS="-lz $LIBS"
11383cat > conftest.$ac_ext <<EOF
11384#line 11385 "configure"
11385#include "confdefs.h"
11386/* Override any gcc2 internal prototype to avoid an error. */
11387/* We use char because int might match the return type of a gcc2
11388 builtin and then its argument prototype would still apply. */
11389char deflate();
11390
11391int main() {
11392deflate()
11393; return 0; }
11394EOF
11395if { (eval echo configure:11396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11396 rm -rf conftest*
11397 eval "ac_cv_lib_$ac_lib_var=yes"
11398else
11399 echo "configure: failed program was:" >&5
11400 cat conftest.$ac_ext >&5
11401 rm -rf conftest*
11402 eval "ac_cv_lib_$ac_lib_var=no"
11403fi
11404rm -f conftest*
11405LIBS="$ac_save_LIBS"
11406
11407fi
11408if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11409 echo "$ac_t""yes" 1>&6
11410 ZLIB_LINK=" -lz"
11411else
11412 echo "$ac_t""no" 1>&6
11413fi
11414
11415else
11416 echo "$ac_t""no" 1>&6
11417fi
11418
11419
11420 if test "x$ZLIB_LINK" = "x" ; then
11421 if test "$wxUSE_ZLIB" = "sys" ; then
11422 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11423 else
11424 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
11425 wxUSE_ZLIB=builtin
11426 fi
11427 else
11428 wxUSE_ZLIB=sys
11429 fi
11430 fi
11431
11432 if test "$wxUSE_ZLIB" = "builtin" ; then
11433 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
11434 fi
11435fi
11436
11437
11438PNG_INCLUDE=
11439PNG_LINK=
11440if test "$wxUSE_LIBPNG" != "no" ; then
11441 cat >> confdefs.h <<\EOF
11442#define wxUSE_LIBPNG 1
11443EOF
11444
11445
11446 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11447 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11448 wxUSE_LIBPNG=sys
11449 fi
11450
11451 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11452 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11453 wxUSE_LIBPNG=builtin
11454 fi
11455
11456 if test "$wxUSE_MGL" != 1 ; then
11457 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11458 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
11459echo $ac_n "checking for png.h""... $ac_c" 1>&6
11460echo "configure:11461: checking for png.h" >&5
11461if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11462 echo $ac_n "(cached) $ac_c" 1>&6
11463else
11464 cat > conftest.$ac_ext <<EOF
11465#line 11466 "configure"
11466#include "confdefs.h"
11467#include <png.h>
11468EOF
11469ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11470{ (eval echo configure:11471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11471ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11472if test -z "$ac_err"; then
11473 rm -rf conftest*
11474 eval "ac_cv_header_$ac_safe=yes"
11475else
11476 echo "$ac_err" >&5
11477 echo "configure: failed program was:" >&5
11478 cat conftest.$ac_ext >&5
11479 rm -rf conftest*
11480 eval "ac_cv_header_$ac_safe=no"
11481fi
11482rm -f conftest*
11483fi
11484if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11485 echo "$ac_t""yes" 1>&6
11486 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11487echo "configure:11488: checking for png_check_sig in -lpng" >&5
11488ac_lib_var=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11489if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11490 echo $ac_n "(cached) $ac_c" 1>&6
11491else
11492 ac_save_LIBS="$LIBS"
11493LIBS="-lpng -lz -lm $LIBS"
11494cat > conftest.$ac_ext <<EOF
11495#line 11496 "configure"
11496#include "confdefs.h"
11497/* Override any gcc2 internal prototype to avoid an error. */
11498/* We use char because int might match the return type of a gcc2
11499 builtin and then its argument prototype would still apply. */
11500char png_check_sig();
11501
11502int main() {
11503png_check_sig()
11504; return 0; }
11505EOF
11506if { (eval echo configure:11507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11507 rm -rf conftest*
11508 eval "ac_cv_lib_$ac_lib_var=yes"
11509else
11510 echo "configure: failed program was:" >&5
11511 cat conftest.$ac_ext >&5
11512 rm -rf conftest*
11513 eval "ac_cv_lib_$ac_lib_var=no"
11514fi
11515rm -f conftest*
11516LIBS="$ac_save_LIBS"
11517
11518fi
11519if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11520 echo "$ac_t""yes" 1>&6
11521 PNG_LINK=" -lpng"
11522else
11523 echo "$ac_t""no" 1>&6
11524fi
11525
11526
11527else
11528 echo "$ac_t""no" 1>&6
11529fi
11530
11531
11532 if test "x$PNG_LINK" = "x" ; then
11533 if test "$wxUSE_LIBPNG" = "sys" ; then
11534 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
11535 else
11536 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
11537 wxUSE_LIBPNG=builtin
11538 fi
11539 else
11540 wxUSE_LIBPNG=yes
11541 fi
11542 fi
11543 fi
11544
11545 if test "$wxUSE_LIBPNG" = "builtin" ; then
11546 PNG_INCLUDE="-I\${top_srcdir}/src/png"
11547 fi
11548
11549 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
11550fi
11551
11552
11553JPEG_INCLUDE=
11554JPEG_LINK=
11555if test "$wxUSE_LIBJPEG" != "no" ; then
11556 cat >> confdefs.h <<\EOF
11557#define wxUSE_LIBJPEG 1
11558EOF
11559
11560
11561 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
11562 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
11563 wxUSE_LIBJPEG=sys
11564 fi
11565
11566 if test "$wxUSE_MGL" != 1 ; then
11567 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
11568 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11569echo "configure:11570: checking for jpeglib.h" >&5
11570 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
11571 echo $ac_n "(cached) $ac_c" 1>&6
11572else
11573 cat > conftest.$ac_ext <<EOF
11574#line 11575 "configure"
11575#include "confdefs.h"
11576
11577 #undef HAVE_STDLIB_H
11578 #include <stdio.h>
11579 #include <jpeglib.h>
11580
11581int main() {
11582
11583
11584; return 0; }
11585EOF
11586if { (eval echo configure:11587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11587 rm -rf conftest*
11588 ac_cv_header_jpeglib_h=yes
11589else
11590 echo "configure: failed program was:" >&5
11591 cat conftest.$ac_ext >&5
11592 rm -rf conftest*
11593 ac_cv_header_jpeglib_h=no
11594
11595fi
11596rm -f conftest*
11597
11598fi
11599
11600 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
11601
11602 if test "$ac_cv_header_jpeglib_h" = "yes"; then
11603 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
11604echo "configure:11605: checking for jpeg_read_header in -ljpeg" >&5
11605ac_lib_var=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
11606if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11607 echo $ac_n "(cached) $ac_c" 1>&6
11608else
11609 ac_save_LIBS="$LIBS"
11610LIBS="-ljpeg $LIBS"
11611cat > conftest.$ac_ext <<EOF
11612#line 11613 "configure"
11613#include "confdefs.h"
11614/* Override any gcc2 internal prototype to avoid an error. */
11615/* We use char because int might match the return type of a gcc2
11616 builtin and then its argument prototype would still apply. */
11617char jpeg_read_header();
11618
11619int main() {
11620jpeg_read_header()
11621; return 0; }
11622EOF
11623if { (eval echo configure:11624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11624 rm -rf conftest*
11625 eval "ac_cv_lib_$ac_lib_var=yes"
11626else
11627 echo "configure: failed program was:" >&5
11628 cat conftest.$ac_ext >&5
11629 rm -rf conftest*
11630 eval "ac_cv_lib_$ac_lib_var=no"
11631fi
11632rm -f conftest*
11633LIBS="$ac_save_LIBS"
11634
11635fi
11636if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11637 echo "$ac_t""yes" 1>&6
11638 JPEG_LINK=" -ljpeg"
11639else
11640 echo "$ac_t""no" 1>&6
11641fi
11642
11643 fi
11644
11645 if test "x$JPEG_LINK" = "x" ; then
11646 if test "$wxUSE_LIBJPEG" = "sys" ; then
11647 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
11648 else
11649 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
11650 wxUSE_LIBJPEG=builtin
11651 fi
11652 else
11653 wxUSE_LIBJPEG=sys
11654 fi
11655 fi
11656 fi
11657
11658 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11659 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
11660 fi
11661fi
11662
11663
11664TIFF_INCLUDE=
11665TIFF_LINK=
11666if test "$wxUSE_LIBTIFF" != "no" ; then
11667 cat >> confdefs.h <<\EOF
11668#define wxUSE_LIBTIFF 1
11669EOF
11670
11671
11672 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
11673 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
11674echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
11675echo "configure:11676: checking for tiffio.h" >&5
11676if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11677 echo $ac_n "(cached) $ac_c" 1>&6
11678else
11679 cat > conftest.$ac_ext <<EOF
11680#line 11681 "configure"
11681#include "confdefs.h"
11682#include <tiffio.h>
11683EOF
11684ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11685{ (eval echo configure:11686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11686ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11687if test -z "$ac_err"; then
11688 rm -rf conftest*
11689 eval "ac_cv_header_$ac_safe=yes"
11690else
11691 echo "$ac_err" >&5
11692 echo "configure: failed program was:" >&5
11693 cat conftest.$ac_ext >&5
11694 rm -rf conftest*
11695 eval "ac_cv_header_$ac_safe=no"
11696fi
11697rm -f conftest*
11698fi
11699if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11700 echo "$ac_t""yes" 1>&6
11701 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
11702echo "configure:11703: checking for TIFFError in -ltiff" >&5
11703ac_lib_var=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
11704if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11705 echo $ac_n "(cached) $ac_c" 1>&6
11706else
11707 ac_save_LIBS="$LIBS"
11708LIBS="-ltiff -lm $LIBS"
11709cat > conftest.$ac_ext <<EOF
11710#line 11711 "configure"
11711#include "confdefs.h"
11712/* Override any gcc2 internal prototype to avoid an error. */
11713/* We use char because int might match the return type of a gcc2
11714 builtin and then its argument prototype would still apply. */
11715char TIFFError();
11716
11717int main() {
11718TIFFError()
11719; return 0; }
11720EOF
11721if { (eval echo configure:11722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11722 rm -rf conftest*
11723 eval "ac_cv_lib_$ac_lib_var=yes"
11724else
11725 echo "configure: failed program was:" >&5
11726 cat conftest.$ac_ext >&5
11727 rm -rf conftest*
11728 eval "ac_cv_lib_$ac_lib_var=no"
11729fi
11730rm -f conftest*
11731LIBS="$ac_save_LIBS"
11732
11733fi
11734if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11735 echo "$ac_t""yes" 1>&6
11736 TIFF_LINK=" -ltiff"
11737else
11738 echo "$ac_t""no" 1>&6
11739fi
11740
11741
11742else
11743 echo "$ac_t""no" 1>&6
11744fi
11745
11746
11747 if test "x$TIFF_LINK" = "x" ; then
11748 if test "$wxUSE_LIBTIFF" = "sys" ; then
11749 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
11750 else
11751 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
11752 wxUSE_LIBTIFF=builtin
11753 fi
11754 else
11755 wxUSE_LIBTIFF=sys
11756 fi
11757 fi
11758
11759 if test "$wxUSE_LIBTIFF" = "builtin" ; then
11760 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
11761 fi
11762fi
11763
11764
11765AFMINSTALL=
11766
11767TOOLKIT=
11768TOOLKIT_INCLUDE=
11769WIDGET_SET=
11770
11771if test "$USE_WIN32" = 1 ; then
11772 for ac_hdr in w32api.h
11773do
11774ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11775echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11776echo "configure:11777: checking for $ac_hdr" >&5
11777if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11778 echo $ac_n "(cached) $ac_c" 1>&6
11779else
11780 cat > conftest.$ac_ext <<EOF
11781#line 11782 "configure"
11782#include "confdefs.h"
11783#include <$ac_hdr>
11784EOF
11785ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11786{ (eval echo configure:11787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11787ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11788if test -z "$ac_err"; then
11789 rm -rf conftest*
11790 eval "ac_cv_header_$ac_safe=yes"
11791else
11792 echo "$ac_err" >&5
11793 echo "configure: failed program was:" >&5
11794 cat conftest.$ac_ext >&5
11795 rm -rf conftest*
11796 eval "ac_cv_header_$ac_safe=no"
11797fi
11798rm -f conftest*
11799fi
11800if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11801 echo "$ac_t""yes" 1>&6
11802 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11803 cat >> confdefs.h <<EOF
11804#define $ac_tr_hdr 1
11805EOF
11806
11807else
11808 echo "$ac_t""no" 1>&6
11809fi
11810done
11811
11812 ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'`
11813echo $ac_n "checking for windows.h""... $ac_c" 1>&6
11814echo "configure:11815: checking for windows.h" >&5
11815if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11816 echo $ac_n "(cached) $ac_c" 1>&6
11817else
11818 cat > conftest.$ac_ext <<EOF
11819#line 11820 "configure"
11820#include "confdefs.h"
11821#include <windows.h>
11822EOF
11823ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11824{ (eval echo configure:11825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11825ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11826if test -z "$ac_err"; then
11827 rm -rf conftest*
11828 eval "ac_cv_header_$ac_safe=yes"
11829else
11830 echo "$ac_err" >&5
11831 echo "configure: failed program was:" >&5
11832 cat conftest.$ac_ext >&5
11833 rm -rf conftest*
11834 eval "ac_cv_header_$ac_safe=no"
11835fi
11836rm -f conftest*
11837fi
11838if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11839 echo "$ac_t""yes" 1>&6
11840 :
11841else
11842 echo "$ac_t""no" 1>&6
11843
11844 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
11845
11846fi
11847
11848
11849 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
11850echo "configure:11851: checking if w32api has good enough MSIE support" >&5
11851if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
11852 echo $ac_n "(cached) $ac_c" 1>&6
11853else
11854
11855 cat > conftest.$ac_ext <<EOF
11856#line 11857 "configure"
11857#include "confdefs.h"
11858#include <w32api.h>
11859int main() {
11860
11861 #define wxCHECK_W32API_VERSION( major, minor ) \
11862 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
11863 && ( ( __W32API_MAJOR_VERSION > (major) ) \
11864 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
11865
11866 #if !wxCHECK_W32API_VERSION(1,1)
11867 #error You need w32api 1.1 or newer
11868 #endif
11869
11870; return 0; }
11871EOF
11872if { (eval echo configure:11873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11873 rm -rf conftest*
11874
11875 wx_cv_w32api_win32_ie=yes
11876
11877else
11878 echo "configure: failed program was:" >&5
11879 cat conftest.$ac_ext >&5
11880 rm -rf conftest*
11881
11882 wx_cv_w32api_win32_ie=no
11883
11884fi
11885rm -f conftest*
11886
11887fi
11888
11889echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
11890 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
11891 CPPFLAGS="$CPPFLAGS -D_WIN32_IE=0x400"
11892 fi
11893
11894 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
11895
11896 case "${host}" in
11897 *-*-cygwin* )
11898 LIBS="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
11899 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
11900 esac
11901
11902 if test "$wxUSE_ODBC" = "yes" ; then
11903 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
11904 fi
11905
11906 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
11907 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
11908fi
11909
11910if test "$USE_DARWIN" = 1; then
11911 if test "$wxUSE_PRECOMP" = "yes"; then
11912 CPPFLAGS="$CPPFLAGS -cpp-precomp"
11913 else
11914 CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
11915 fi
11916fi
11917
11918if test "$wxUSE_GUI" = "yes"; then
11919 USE_GUI=1
11920
11921 GUI_TK_LIBRARY=
11922
11923 WXGTK12=
11924 WXGTK127=
11925 WXGTK20=
11926
11927 if test "$wxUSE_MSW" = 1 ; then
11928 TOOLKIT=MSW
11929 GUIDIST=MSW_DIST
11930
11931 case "${host}" in
11932 *-*-mingw32* )
11933 LDFLAGS="$LDFLAGS -Wl,--subsystem,windows -mwindows"
11934 esac
11935 fi
11936
11937 if test "$wxUSE_GTK" = 1; then
11938 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
11939echo "configure:11940: checking for GTK+ version" >&5
11940
11941 gtk_version_cached=1
11942 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
11943 echo $ac_n "(cached) $ac_c" 1>&6
11944else
11945
11946 gtk_version_cached=0
11947 echo "$ac_t""" 1>&6
11948
11949 GTK_MODULES=
11950 if test "$wxUSE_THREADS" = "yes"; then
11951 GTK_MODULES=gthread
11952 fi
11953
11954 wx_cv_lib_gtk=
11955 if test "x$wxUSE_GTK2" = "xyes"; then
11956 # Check whether --enable-gtktest or --disable-gtktest was given.
11957if test "${enable_gtktest+set}" = set; then
11958 enableval="$enable_gtktest"
11959 :
11960else
11961 enable_gtktest=yes
11962fi
11963
11964
11965 pkg_config_args=gtk+-2.0
11966 for module in . $GTK_MODULES
11967 do
11968 case "$module" in
11969 gthread)
11970 pkg_config_args="$pkg_config_args gthread-2.0"
11971 ;;
11972 esac
11973 done
11974
11975 no_gtk=""
11976
11977 # Extract the first word of "pkg-config", so it can be a program name with args.
11978set dummy pkg-config; ac_word=$2
11979echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11980echo "configure:11981: checking for $ac_word" >&5
11981if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
11982 echo $ac_n "(cached) $ac_c" 1>&6
11983else
11984 case "$PKG_CONFIG" in
11985 /*)
11986 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11987 ;;
11988 ?:/*)
11989 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a dos path.
11990 ;;
11991 *)
11992 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
11993 ac_dummy="$PATH"
11994 for ac_dir in $ac_dummy; do
11995 test -z "$ac_dir" && ac_dir=.
11996 if test -f $ac_dir/$ac_word; then
11997 ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
11998 break
11999 fi
12000 done
12001 IFS="$ac_save_ifs"
12002 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12003 ;;
12004esac
12005fi
12006PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12007if test -n "$PKG_CONFIG"; then
12008 echo "$ac_t""$PKG_CONFIG" 1>&6
12009else
12010 echo "$ac_t""no" 1>&6
12011fi
12012
12013
12014 if test x$PKG_CONFIG != xno ; then
12015 if pkg-config --atleast-pkgconfig-version 0.7 ; then
12016 :
12017 else
12018 echo *** pkg-config too old; version 0.7 or better required.
12019 no_gtk=yes
12020 PKG_CONFIG=no
12021 fi
12022 else
12023 no_gtk=yes
12024 fi
12025
12026 min_gtk_version=2.0.0
12027 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
12028echo "configure:12029: checking for GTK+ - version >= $min_gtk_version" >&5
12029
12030 if test x$PKG_CONFIG != xno ; then
12031 ## don't try to run the test against uninstalled libtool libs
12032 if $PKG_CONFIG --uninstalled $pkg_config_args; then
12033 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
12034 enable_gtktest=no
12035 fi
12036
12037 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
12038 :
12039 else
12040 no_gtk=yes
12041 fi
12042 fi
12043
12044 if test x"$no_gtk" = x ; then
12045 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
12046 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
12047 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
12048 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12049 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
12050 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12051 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
12052 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12053 if test "x$enable_gtktest" = "xyes" ; then
12054 ac_save_CFLAGS="$CFLAGS"
12055 ac_save_LIBS="$LIBS"
12056 CFLAGS="$CFLAGS $GTK_CFLAGS"
12057 LIBS="$GTK_LIBS $LIBS"
12058 rm -f conf.gtktest
12059 if test "$cross_compiling" = yes; then
12060 echo $ac_n "cross compiling; assumed OK... $ac_c"
12061else
12062 cat > conftest.$ac_ext <<EOF
12063#line 12064 "configure"
12064#include "confdefs.h"
12065
12066#include <gtk/gtk.h>
12067#include <stdio.h>
12068#include <stdlib.h>
12069
12070int
12071main ()
12072{
12073 int major, minor, micro;
12074 char *tmp_version;
12075
12076 system ("touch conf.gtktest");
12077
12078 /* HP/UX 9 (%@#!) writes to sscanf strings */
12079 tmp_version = g_strdup("$min_gtk_version");
12080 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
12081 printf("%s, bad version string\n", "$min_gtk_version");
12082 exit(1);
12083 }
12084
12085 if ((gtk_major_version != $gtk_config_major_version) ||
12086 (gtk_minor_version != $gtk_config_minor_version) ||
12087 (gtk_micro_version != $gtk_config_micro_version))
12088 {
12089 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12090 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12091 gtk_major_version, gtk_minor_version, gtk_micro_version);
12092 printf ("*** was found! If pkg-config was correct, then it is best\n");
12093 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12094 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12095 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12096 printf("*** required on your system.\n");
12097 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
12098 printf("*** to point to the correct configuration files\n");
12099 }
12100 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12101 (gtk_minor_version != GTK_MINOR_VERSION) ||
12102 (gtk_micro_version != GTK_MICRO_VERSION))
12103 {
12104 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12105 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12106 printf("*** library (version %d.%d.%d)\n",
12107 gtk_major_version, gtk_minor_version, gtk_micro_version);
12108 }
12109 else
12110 {
12111 if ((gtk_major_version > major) ||
12112 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12113 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12114 {
12115 return 0;
12116 }
12117 else
12118 {
12119 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12120 gtk_major_version, gtk_minor_version, gtk_micro_version);
12121 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12122 major, minor, micro);
12123 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12124 printf("***\n");
12125 printf("*** If you have already installed a sufficiently new version, this error\n");
12126 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
12127 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12128 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
12129 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
12130 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12131 printf("*** so that the correct libraries are found at run-time))\n");
12132 }
12133 }
12134 return 1;
12135}
12136
12137EOF
12138if { (eval echo configure:12139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12139then
12140 :
12141else
12142 echo "configure: failed program was:" >&5
12143 cat conftest.$ac_ext >&5
12144 rm -fr conftest*
12145 no_gtk=yes
12146fi
12147rm -fr conftest*
12148fi
12149
12150 CFLAGS="$ac_save_CFLAGS"
12151 LIBS="$ac_save_LIBS"
12152 fi
12153 fi
12154 if test "x$no_gtk" = x ; then
12155 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
12156 wx_cv_lib_gtk=2.0
12157 else
12158 echo "$ac_t""no" 1>&6
12159 if test "$PKG_CONFIG" = "no" ; then
12160 echo "*** A new enough version of pkg-config was not found."
12161 echo "*** See http://pkgconfig.sourceforge.net"
12162 else
12163 if test -f conf.gtktest ; then
12164 :
12165 else
12166 echo "*** Could not run GTK+ test program, checking why..."
12167 ac_save_CFLAGS="$CFLAGS"
12168 ac_save_LIBS="$LIBS"
12169 CFLAGS="$CFLAGS $GTK_CFLAGS"
12170 LIBS="$LIBS $GTK_LIBS"
12171 cat > conftest.$ac_ext <<EOF
12172#line 12173 "configure"
12173#include "confdefs.h"
12174
12175#include <gtk/gtk.h>
12176#include <stdio.h>
12177
12178int main() {
12179 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12180; return 0; }
12181EOF
12182if { (eval echo configure:12183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12183 rm -rf conftest*
12184 echo "*** The test program compiled, but did not run. This usually means"
12185 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
12186 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
12187 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12188 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12189 echo "*** is required on your system"
12190 echo "***"
12191 echo "*** If you have an old version installed, it is best to remove it, although"
12192 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12193else
12194 echo "configure: failed program was:" >&5
12195 cat conftest.$ac_ext >&5
12196 rm -rf conftest*
12197 echo "*** The test program failed to compile or link. See the file config.log for the"
12198 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
12199fi
12200rm -f conftest*
12201 CFLAGS="$ac_save_CFLAGS"
12202 LIBS="$ac_save_LIBS"
12203 fi
12204 fi
12205 GTK_CFLAGS=""
12206 GTK_LIBS=""
12207 :
12208 fi
12209
12210
12211 rm -f conf.gtktest
12212
12213 fi
12214
12215 if test -z "$wx_cv_lib_gtk"; then
12216 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12217if test "${with_gtk_prefix+set}" = set; then
12218 withval="$with_gtk_prefix"
12219 gtk_config_prefix="$withval"
12220else
12221 gtk_config_prefix=""
12222fi
12223
12224# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12225if test "${with_gtk_exec_prefix+set}" = set; then
12226 withval="$with_gtk_exec_prefix"
12227 gtk_config_exec_prefix="$withval"
12228else
12229 gtk_config_exec_prefix=""
12230fi
12231
12232# Check whether --enable-gtktest or --disable-gtktest was given.
12233if test "${enable_gtktest+set}" = set; then
12234 enableval="$enable_gtktest"
12235 :
12236else
12237 enable_gtktest=yes
12238fi
12239
12240
12241 for module in . $GTK_MODULES
12242 do
12243 case "$module" in
12244 gthread)
12245 gtk_config_args="$gtk_config_args gthread"
12246 ;;
12247 esac
12248 done
12249
12250 if test x$gtk_config_exec_prefix != x ; then
12251 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12252 if test x${GTK_CONFIG+set} != xset ; then
12253 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
12254 fi
12255 fi
12256 if test x$gtk_config_prefix != x ; then
12257 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
12258 if test x${GTK_CONFIG+set} != xset ; then
12259 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
12260 fi
12261 fi
12262
12263 # Extract the first word of "gtk-config", so it can be a program name with args.
12264set dummy gtk-config; ac_word=$2
12265echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12266echo "configure:12267: checking for $ac_word" >&5
12267if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12268 echo $ac_n "(cached) $ac_c" 1>&6
12269else
12270 case "$GTK_CONFIG" in
12271 /*)
12272 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
12273 ;;
12274 ?:/*)
12275 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
12276 ;;
12277 *)
12278 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
12279 ac_dummy="$PATH"
12280 for ac_dir in $ac_dummy; do
12281 test -z "$ac_dir" && ac_dir=.
12282 if test -f $ac_dir/$ac_word; then
12283 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
12284 break
12285 fi
12286 done
12287 IFS="$ac_save_ifs"
12288 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
12289 ;;
12290esac
12291fi
12292GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
12293if test -n "$GTK_CONFIG"; then
12294 echo "$ac_t""$GTK_CONFIG" 1>&6
12295else
12296 echo "$ac_t""no" 1>&6
12297fi
12298
12299 min_gtk_version=1.2.7
12300 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12301echo "configure:12302: checking for GTK - version >= $min_gtk_version" >&5
12302 no_gtk=""
12303 if test "$GTK_CONFIG" = "no" ; then
12304 no_gtk=yes
12305 else
12306 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
12307 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
12308 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
12309 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12310 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
12311 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12312 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
12313 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12314 if test "x$enable_gtktest" = "xyes" ; then
12315 ac_save_CFLAGS="$CFLAGS"
12316 ac_save_LIBS="$LIBS"
12317 CFLAGS="$CFLAGS $GTK_CFLAGS"
12318 LIBS="$GTK_LIBS $LIBS"
12319 rm -f conf.gtktest
12320 if test "$cross_compiling" = yes; then
12321 echo $ac_n "cross compiling; assumed OK... $ac_c"
12322else
12323 cat > conftest.$ac_ext <<EOF
12324#line 12325 "configure"
12325#include "confdefs.h"
12326
12327#include <gtk/gtk.h>
12328#include <stdio.h>
12329#include <stdlib.h>
12330
12331int
12332main ()
12333{
12334 int major, minor, micro;
12335 char *tmp_version;
12336
12337 system ("touch conf.gtktest");
12338
12339 /* HP/UX 9 (%@#!) writes to sscanf strings */
12340 tmp_version = g_strdup("$min_gtk_version");
12341 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
12342 printf("%s, bad version string\n", "$min_gtk_version");
12343 exit(1);
12344 }
12345
12346 if ((gtk_major_version != $gtk_config_major_version) ||
12347 (gtk_minor_version != $gtk_config_minor_version) ||
12348 (gtk_micro_version != $gtk_config_micro_version))
12349 {
12350 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12351 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12352 gtk_major_version, gtk_minor_version, gtk_micro_version);
12353 printf ("*** was found! If gtk-config was correct, then it is best\n");
12354 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12355 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12356 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12357 printf("*** required on your system.\n");
12358 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12359 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12360 printf("*** before re-running configure\n");
12361 }
12362#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12363 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12364 (gtk_minor_version != GTK_MINOR_VERSION) ||
12365 (gtk_micro_version != GTK_MICRO_VERSION))
12366 {
12367 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12368 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12369 printf("*** library (version %d.%d.%d)\n",
12370 gtk_major_version, gtk_minor_version, gtk_micro_version);
12371 }
12372#endif /* defined (GTK_MAJOR_VERSION) ... */
12373 else
12374 {
12375 if ((gtk_major_version > major) ||
12376 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12377 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12378 {
12379 return 0;
12380 }
12381 else
12382 {
12383 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12384 gtk_major_version, gtk_minor_version, gtk_micro_version);
12385 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12386 major, minor, micro);
12387 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12388 printf("***\n");
12389 printf("*** If you have already installed a sufficiently new version, this error\n");
12390 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12391 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12392 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12393 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12394 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12395 printf("*** so that the correct libraries are found at run-time))\n");
12396 }
12397 }
12398 return 1;
12399}
12400
12401EOF
12402if { (eval echo configure:12403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12403then
12404 :
12405else
12406 echo "configure: failed program was:" >&5
12407 cat conftest.$ac_ext >&5
12408 rm -fr conftest*
12409 no_gtk=yes
12410fi
12411rm -fr conftest*
12412fi
12413
12414 CFLAGS="$ac_save_CFLAGS"
12415 LIBS="$ac_save_LIBS"
12416 fi
12417 fi
12418 if test "x$no_gtk" = x ; then
12419 echo "$ac_t""yes" 1>&6
12420 wx_cv_lib_gtk=1.2.7
12421 else
12422 echo "$ac_t""no" 1>&6
12423 if test "$GTK_CONFIG" = "no" ; then
12424 echo "*** The gtk-config script installed by GTK could not be found"
12425 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12426 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12427 echo "*** full path to gtk-config."
12428 else
12429 if test -f conf.gtktest ; then
12430 :
12431 else
12432 echo "*** Could not run GTK test program, checking why..."
12433 CFLAGS="$CFLAGS $GTK_CFLAGS"
12434 LIBS="$LIBS $GTK_LIBS"
12435 cat > conftest.$ac_ext <<EOF
12436#line 12437 "configure"
12437#include "confdefs.h"
12438
12439#include <gtk/gtk.h>
12440#include <stdio.h>
12441
12442int main() {
12443 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12444; return 0; }
12445EOF
12446if { (eval echo configure:12447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12447 rm -rf conftest*
12448 echo "*** The test program compiled, but did not run. This usually means"
12449 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12450 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12451 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12452 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12453 echo "*** is required on your system"
12454 echo "***"
12455 echo "*** If you have an old version installed, it is best to remove it, although"
12456 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12457 echo "***"
12458 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12459 echo "*** came with the system with the command"
12460 echo "***"
12461 echo "*** rpm --erase --nodeps gtk gtk-devel"
12462else
12463 echo "configure: failed program was:" >&5
12464 cat conftest.$ac_ext >&5
12465 rm -rf conftest*
12466 echo "*** The test program failed to compile or link. See the file config.log for the"
12467 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12468 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12469 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12470fi
12471rm -f conftest*
12472 CFLAGS="$ac_save_CFLAGS"
12473 LIBS="$ac_save_LIBS"
12474 fi
12475 fi
12476 GTK_CFLAGS=""
12477 GTK_LIBS=""
12478 :
12479 fi
12480
12481
12482 rm -f conf.gtktest
12483
12484 fi
12485
12486 if test -z "$wx_cv_lib_gtk"; then
12487 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12488if test "${with_gtk_prefix+set}" = set; then
12489 withval="$with_gtk_prefix"
12490 gtk_config_prefix="$withval"
12491else
12492 gtk_config_prefix=""
12493fi
12494
12495# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12496if test "${with_gtk_exec_prefix+set}" = set; then
12497 withval="$with_gtk_exec_prefix"
12498 gtk_config_exec_prefix="$withval"
12499else
12500 gtk_config_exec_prefix=""
12501fi
12502
12503# Check whether --enable-gtktest or --disable-gtktest was given.
12504if test "${enable_gtktest+set}" = set; then
12505 enableval="$enable_gtktest"
12506 :
12507else
12508 enable_gtktest=yes
12509fi
12510
12511
12512 for module in . $GTK_MODULES
12513 do
12514 case "$module" in
12515 gthread)
12516 gtk_config_args="$gtk_config_args gthread"
12517 ;;
12518 esac
12519 done
12520
12521 if test x$gtk_config_exec_prefix != x ; then
12522 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12523 if test x${GTK_CONFIG+set} != xset ; then
12524 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
12525 fi
12526 fi
12527 if test x$gtk_config_prefix != x ; then
12528 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
12529 if test x${GTK_CONFIG+set} != xset ; then
12530 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
12531 fi
12532 fi
12533
12534 # Extract the first word of "gtk-config", so it can be a program name with args.
12535set dummy gtk-config; ac_word=$2
12536echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12537echo "configure:12538: checking for $ac_word" >&5
12538if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12539 echo $ac_n "(cached) $ac_c" 1>&6
12540else
12541 case "$GTK_CONFIG" in
12542 /*)
12543 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
12544 ;;
12545 ?:/*)
12546 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
12547 ;;
12548 *)
12549 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
12550 ac_dummy="$PATH"
12551 for ac_dir in $ac_dummy; do
12552 test -z "$ac_dir" && ac_dir=.
12553 if test -f $ac_dir/$ac_word; then
12554 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
12555 break
12556 fi
12557 done
12558 IFS="$ac_save_ifs"
12559 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
12560 ;;
12561esac
12562fi
12563GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
12564if test -n "$GTK_CONFIG"; then
12565 echo "$ac_t""$GTK_CONFIG" 1>&6
12566else
12567 echo "$ac_t""no" 1>&6
12568fi
12569
12570 min_gtk_version=1.2.3
12571 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12572echo "configure:12573: checking for GTK - version >= $min_gtk_version" >&5
12573 no_gtk=""
12574 if test "$GTK_CONFIG" = "no" ; then
12575 no_gtk=yes
12576 else
12577 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
12578 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
12579 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
12580 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12581 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
12582 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12583 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
12584 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12585 if test "x$enable_gtktest" = "xyes" ; then
12586 ac_save_CFLAGS="$CFLAGS"
12587 ac_save_LIBS="$LIBS"
12588 CFLAGS="$CFLAGS $GTK_CFLAGS"
12589 LIBS="$GTK_LIBS $LIBS"
12590 rm -f conf.gtktest
12591 if test "$cross_compiling" = yes; then
12592 echo $ac_n "cross compiling; assumed OK... $ac_c"
12593else
12594 cat > conftest.$ac_ext <<EOF
12595#line 12596 "configure"
12596#include "confdefs.h"
12597
12598#include <gtk/gtk.h>
12599#include <stdio.h>
12600#include <stdlib.h>
12601
12602int
12603main ()
12604{
12605 int major, minor, micro;
12606 char *tmp_version;
12607
12608 system ("touch conf.gtktest");
12609
12610 /* HP/UX 9 (%@#!) writes to sscanf strings */
12611 tmp_version = g_strdup("$min_gtk_version");
12612 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
12613 printf("%s, bad version string\n", "$min_gtk_version");
12614 exit(1);
12615 }
12616
12617 if ((gtk_major_version != $gtk_config_major_version) ||
12618 (gtk_minor_version != $gtk_config_minor_version) ||
12619 (gtk_micro_version != $gtk_config_micro_version))
12620 {
12621 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12622 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12623 gtk_major_version, gtk_minor_version, gtk_micro_version);
12624 printf ("*** was found! If gtk-config was correct, then it is best\n");
12625 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12626 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12627 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12628 printf("*** required on your system.\n");
12629 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12630 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12631 printf("*** before re-running configure\n");
12632 }
12633#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12634 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12635 (gtk_minor_version != GTK_MINOR_VERSION) ||
12636 (gtk_micro_version != GTK_MICRO_VERSION))
12637 {
12638 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12639 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12640 printf("*** library (version %d.%d.%d)\n",
12641 gtk_major_version, gtk_minor_version, gtk_micro_version);
12642 }
12643#endif /* defined (GTK_MAJOR_VERSION) ... */
12644 else
12645 {
12646 if ((gtk_major_version > major) ||
12647 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12648 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12649 {
12650 return 0;
12651 }
12652 else
12653 {
12654 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12655 gtk_major_version, gtk_minor_version, gtk_micro_version);
12656 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12657 major, minor, micro);
12658 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12659 printf("***\n");
12660 printf("*** If you have already installed a sufficiently new version, this error\n");
12661 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12662 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12663 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12664 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12665 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12666 printf("*** so that the correct libraries are found at run-time))\n");
12667 }
12668 }
12669 return 1;
12670}
12671
12672EOF
12673if { (eval echo configure:12674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12674then
12675 :
12676else
12677 echo "configure: failed program was:" >&5
12678 cat conftest.$ac_ext >&5
12679 rm -fr conftest*
12680 no_gtk=yes
12681fi
12682rm -fr conftest*
12683fi
12684
12685 CFLAGS="$ac_save_CFLAGS"
12686 LIBS="$ac_save_LIBS"
12687 fi
12688 fi
12689 if test "x$no_gtk" = x ; then
12690 echo "$ac_t""yes" 1>&6
12691 wx_cv_lib_gtk=1.2.3
12692 else
12693 echo "$ac_t""no" 1>&6
12694 if test "$GTK_CONFIG" = "no" ; then
12695 echo "*** The gtk-config script installed by GTK could not be found"
12696 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12697 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12698 echo "*** full path to gtk-config."
12699 else
12700 if test -f conf.gtktest ; then
12701 :
12702 else
12703 echo "*** Could not run GTK test program, checking why..."
12704 CFLAGS="$CFLAGS $GTK_CFLAGS"
12705 LIBS="$LIBS $GTK_LIBS"
12706 cat > conftest.$ac_ext <<EOF
12707#line 12708 "configure"
12708#include "confdefs.h"
12709
12710#include <gtk/gtk.h>
12711#include <stdio.h>
12712
12713int main() {
12714 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12715; return 0; }
12716EOF
12717if { (eval echo configure:12718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12718 rm -rf conftest*
12719 echo "*** The test program compiled, but did not run. This usually means"
12720 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12721 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12722 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12723 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12724 echo "*** is required on your system"
12725 echo "***"
12726 echo "*** If you have an old version installed, it is best to remove it, although"
12727 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12728 echo "***"
12729 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12730 echo "*** came with the system with the command"
12731 echo "***"
12732 echo "*** rpm --erase --nodeps gtk gtk-devel"
12733else
12734 echo "configure: failed program was:" >&5
12735 cat conftest.$ac_ext >&5
12736 rm -rf conftest*
12737 echo "*** The test program failed to compile or link. See the file config.log for the"
12738 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12739 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12740 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12741fi
12742rm -f conftest*
12743 CFLAGS="$ac_save_CFLAGS"
12744 LIBS="$ac_save_LIBS"
12745 fi
12746 fi
12747 GTK_CFLAGS=""
12748 GTK_LIBS=""
12749 :
12750 fi
12751
12752
12753 rm -f conf.gtktest
12754
12755 fi
12756
12757 if test -z "$wx_cv_lib_gtk"; then
12758 wx_cv_lib_gtk=none
12759 else
12760 wx_cv_cflags_gtk=$GTK_CFLAGS
12761 wx_cv_libs_gtk=$GTK_LIBS
12762 fi
12763
12764
12765fi
12766
12767
12768 if test "$gtk_version_cached" = 1; then
12769 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
12770 fi
12771
12772 case "$wx_cv_lib_gtk" in
12773 2.0) WXGTK20=1
12774 ;;
12775 1.2.7) WXGTK127=1
12776 WXGTK12=1
12777 ;;
12778 1.2.3) WXGTK12=1
12779 ;;
12780 *) { echo "configure: error:
12781Please check that gtk-config is in path, the directory
12782where GTK+ libraries are installed (returned by
12783'gtk-config --libs' command) is in LD_LIBRARY_PATH or
12784equivalent variable and GTK+ is version 1.2.3 or above.
12785 " 1>&2; exit 1; }
12786 ;;
12787 esac
12788
12789 if test "$WXGTK20" = 1; then
12790 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
12791
12792 succeeded=no
12793
12794 if test -z "$PKG_CONFIG"; then
12795 # Extract the first word of "pkg-config", so it can be a program name with args.
12796set dummy pkg-config; ac_word=$2
12797echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12798echo "configure:12799: checking for $ac_word" >&5
12799if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
12800 echo $ac_n "(cached) $ac_c" 1>&6
12801else
12802 case "$PKG_CONFIG" in
12803 /*)
12804 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12805 ;;
12806 ?:/*)
12807 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a dos path.
12808 ;;
12809 *)
12810 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
12811 ac_dummy="$PATH"
12812 for ac_dir in $ac_dummy; do
12813 test -z "$ac_dir" && ac_dir=.
12814 if test -f $ac_dir/$ac_word; then
12815 ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
12816 break
12817 fi
12818 done
12819 IFS="$ac_save_ifs"
12820 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12821 ;;
12822esac
12823fi
12824PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12825if test -n "$PKG_CONFIG"; then
12826 echo "$ac_t""$PKG_CONFIG" 1>&6
12827else
12828 echo "$ac_t""no" 1>&6
12829fi
12830
12831 fi
12832
12833 if test "$PKG_CONFIG" = "no" ; then
12834 echo "*** The pkg-config script could not be found. Make sure it is"
12835 echo "*** in your path, or set the PKG_CONFIG environment variable"
12836 echo "*** to the full path to pkg-config."
12837 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12838 else
12839 PKG_CONFIG_MIN_VERSION=0.9.0
12840 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12841 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
12842echo "configure:12843: checking for pangoft2" >&5
12843
12844 if $PKG_CONFIG --exists "pangoft2" ; then
12845 echo "$ac_t""yes" 1>&6
12846 succeeded=yes
12847
12848 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
12849echo "configure:12850: checking PANGOFT2_CFLAGS" >&5
12850 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
12851 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
12852
12853 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
12854echo "configure:12855: checking PANGOFT2_LIBS" >&5
12855 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
12856 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
12857 else
12858 PANGOFT2_CFLAGS=""
12859 PANGOFT2_LIBS=""
12860 ## If we have a custom action on failure, don't print errors, but
12861 ## do set a variable so people can do so.
12862 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
12863
12864 fi
12865
12866
12867
12868 else
12869 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12870 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12871 fi
12872 fi
12873
12874 if test $succeeded = yes; then
12875
12876 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
12877 LIBS="$LIBS $PANGOFT2_LIBS"
12878
12879 else
12880
12881 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
12882 wxUSE_PRINTING_ARCHITECTURE="no"
12883
12884
12885 fi
12886
12887 fi
12888 fi
12889
12890 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
12891 GUI_TK_LIBRARY="$wx_cv_libs_gtk"
12892
12893 AFMINSTALL=afminstall
12894 TOOLKIT=GTK
12895 GUIDIST=GTK_DIST
12896
12897 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
12898echo "configure:12899: checking for gdk_im_open in -lgdk" >&5
12899ac_lib_var=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
12900if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12901 echo $ac_n "(cached) $ac_c" 1>&6
12902else
12903 ac_save_LIBS="$LIBS"
12904LIBS="-lgdk $LIBS"
12905cat > conftest.$ac_ext <<EOF
12906#line 12907 "configure"
12907#include "confdefs.h"
12908/* Override any gcc2 internal prototype to avoid an error. */
12909/* We use char because int might match the return type of a gcc2
12910 builtin and then its argument prototype would still apply. */
12911char gdk_im_open();
12912
12913int main() {
12914gdk_im_open()
12915; return 0; }
12916EOF
12917if { (eval echo configure:12918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12918 rm -rf conftest*
12919 eval "ac_cv_lib_$ac_lib_var=yes"
12920else
12921 echo "configure: failed program was:" >&5
12922 cat conftest.$ac_ext >&5
12923 rm -rf conftest*
12924 eval "ac_cv_lib_$ac_lib_var=no"
12925fi
12926rm -f conftest*
12927LIBS="$ac_save_LIBS"
12928
12929fi
12930if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12931 echo "$ac_t""yes" 1>&6
12932 cat >> confdefs.h <<\EOF
12933#define HAVE_XIM 1
12934EOF
12935
12936else
12937 echo "$ac_t""no" 1>&6
12938fi
12939
12940 fi
12941
12942 if test "$wxUSE_MGL" = 1; then
12943 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
12944echo "configure:12945: checking for SciTech MGL library" >&5
12945 if test "x$MGL_ROOT" = x ; then
12946 echo "$ac_t""not found" 1>&6
12947 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
12948 else
12949 echo "$ac_t""$MGL_ROOT" 1>&6
12950 fi
12951
12952 case "${host}" in
12953 *-*-linux* )
12954 mgl_os=linux/gcc/glibc
12955 ;;
12956 *-pc-msdosdjgpp )
12957 mgl_os=dos32/dj2
12958 ;;
12959 *)
12960 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
12961 esac
12962
12963 mgl_lib_type=""
12964
12965 if test "$wxUSE_DEBUG_FLAG" = yes ; then
12966 if test -f $MGL_ROOT/lib/debug/$mgl_os/libmgl.a -o \
12967 -f $MGL_ROOT/lib/debug/$mgl_os/libmgl.so; then
12968 mgl_lib_type=debug
12969 fi
12970 fi
12971 if test "x$mgl_lib_type" = x ; then
12972 if test -f $MGL_ROOT/lib/release/$mgl_os/libmgl.a -o \
12973 -f $MGL_ROOT/lib/release/$mgl_os/libmgl.so; then
12974 mgl_lib_type=release
12975 else
12976 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
12977 fi
12978 fi
12979
12980 wxUSE_UNIVERSAL="yes"
12981
12982 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
12983 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
12984
12985 AFMINSTALL=afminstall
12986 TOOLKIT=MGL
12987 GUIDIST=MGL_DIST
12988 fi
12989
12990 if test "$wxUSE_MICROWIN" = 1; then
12991 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
12992echo "configure:12993: checking for MicroWindows" >&5
12993 if test "x$MICROWINDOWS" = x ; then
12994 echo "$ac_t""not found" 1>&6
12995 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
12996 else
12997 echo "$ac_t""$MICROWINDOWS" 1>&6
12998 fi
12999
13000 if test -f $MICROWINDOWS/lib/libmwin.a; then
13001 echo "$ac_t""MicroWindows' libraries found." 1>&6
13002 else
13003 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
13004 fi
13005
13006 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
13007 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
13008
13009 wxUSE_UNIVERSAL="yes"
13010
13011 AFMINSTALL=afminstall
13012 TOOLKIT=MICROWIN
13013 GUIDIST=MICROWIN_DIST
13014
13015 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
13016 fi
13017
13018 if test "$wxUSE_X11" = 1; then
13019 # If we find X, set shell vars x_includes and x_libraries to the
13020# paths, otherwise set no_x=yes.
13021# Uses ac_ vars as temps to allow command line to override cache and checks.
13022# --without-x overrides everything else, but does not touch the cache.
13023echo $ac_n "checking for X""... $ac_c" 1>&6
13024echo "configure:13025: checking for X" >&5
13025
13026# Check whether --with-x or --without-x was given.
13027if test "${with_x+set}" = set; then
13028 withval="$with_x"
13029 :
13030fi
13031
13032# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13033if test "x$with_x" = xno; then
13034 # The user explicitly disabled X.
13035 have_x=disabled
13036else
13037 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
13038 # Both variables are already set.
13039 have_x=yes
13040 else
13041if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
13042 echo $ac_n "(cached) $ac_c" 1>&6
13043else
13044 # One or both of the vars are not set, and there is no cached value.
13045ac_x_includes=NO ac_x_libraries=NO
13046rm -fr conftestdir
13047if mkdir conftestdir; then
13048 cd conftestdir
13049 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
13050 cat > Imakefile <<'EOF'
13051acfindx:
13052 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
13053EOF
13054 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
13055 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13056 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
13057 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13058 for ac_extension in a so sl; do
13059 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
13060 test -f $ac_im_libdir/libX11.$ac_extension; then
13061 ac_im_usrlibdir=$ac_im_libdir; break
13062 fi
13063 done
13064 # Screen out bogus values from the imake configuration. They are
13065 # bogus both because they are the default anyway, and because
13066 # using them would break gcc on systems where it needs fixed includes.
13067 case "$ac_im_incroot" in
13068 /usr/include) ;;
13069 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
13070 esac
13071 case "$ac_im_usrlibdir" in
13072 /usr/lib | /lib) ;;
13073 *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
13074 esac
13075 fi
13076 cd ..
13077 rm -fr conftestdir
13078fi
13079
13080if test "$ac_x_includes" = NO; then
13081 # Guess where to find include files, by looking for this one X11 .h file.
13082 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
13083
13084 # First, try using that file with no special directory specified.
13085cat > conftest.$ac_ext <<EOF
13086#line 13087 "configure"
13087#include "confdefs.h"
13088#include <$x_direct_test_include>
13089EOF
13090ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13091{ (eval echo configure:13092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13092ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13093if test -z "$ac_err"; then
13094 rm -rf conftest*
13095 # We can compile using X headers with no special include directory.
13096ac_x_includes=
13097else
13098 echo "$ac_err" >&5
13099 echo "configure: failed program was:" >&5
13100 cat conftest.$ac_ext >&5
13101 rm -rf conftest*
13102 # Look for the header file in a standard set of common directories.
13103# Check X11 before X11Rn because it is often a symlink to the current release.
13104 for ac_dir in \
13105 /usr/X11/include \
13106 /usr/X11R6/include \
13107 /usr/X11R5/include \
13108 /usr/X11R4/include \
13109 \
13110 /usr/include/X11 \
13111 /usr/include/X11R6 \
13112 /usr/include/X11R5 \
13113 /usr/include/X11R4 \
13114 \
13115 /usr/local/X11/include \
13116 /usr/local/X11R6/include \
13117 /usr/local/X11R5/include \
13118 /usr/local/X11R4/include \
13119 \
13120 /usr/local/include/X11 \
13121 /usr/local/include/X11R6 \
13122 /usr/local/include/X11R5 \
13123 /usr/local/include/X11R4 \
13124 \
13125 /usr/X386/include \
13126 /usr/x386/include \
13127 /usr/XFree86/include/X11 \
13128 \
13129 /usr/include \
13130 /usr/local/include \
13131 /usr/unsupported/include \
13132 /usr/athena/include \
13133 /usr/local/x11r5/include \
13134 /usr/lpp/Xamples/include \
13135 \
13136 /usr/openwin/include \
13137 /usr/openwin/share/include \
13138 ; \
13139 do
13140 if test -r "$ac_dir/$x_direct_test_include"; then
13141 ac_x_includes=$ac_dir
13142 break
13143 fi
13144 done
13145fi
13146rm -f conftest*
13147fi # $ac_x_includes = NO
13148
13149if test "$ac_x_libraries" = NO; then
13150 # Check for the libraries.
13151
13152 test -z "$x_direct_test_library" && x_direct_test_library=Xt
13153 test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
13154
13155 # See if we find them without any special options.
13156 # Don't add to $LIBS permanently.
13157 ac_save_LIBS="$LIBS"
13158 LIBS="-l$x_direct_test_library $LIBS"
13159cat > conftest.$ac_ext <<EOF
13160#line 13161 "configure"
13161#include "confdefs.h"
13162
13163int main() {
13164${x_direct_test_function}()
13165; return 0; }
13166EOF
13167if { (eval echo configure:13168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13168 rm -rf conftest*
13169 LIBS="$ac_save_LIBS"
13170# We can link X programs with no special library path.
13171ac_x_libraries=
13172else
13173 echo "configure: failed program was:" >&5
13174 cat conftest.$ac_ext >&5
13175 rm -rf conftest*
13176 LIBS="$ac_save_LIBS"
13177# First see if replacing the include by lib works.
13178# Check X11 before X11Rn because it is often a symlink to the current release.
13179for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
13180 /usr/X11/lib \
13181 /usr/X11R6/lib \
13182 /usr/X11R5/lib \
13183 /usr/X11R4/lib \
13184 \
13185 /usr/lib/X11 \
13186 /usr/lib/X11R6 \
13187 /usr/lib/X11R5 \
13188 /usr/lib/X11R4 \
13189 \
13190 /usr/local/X11/lib \
13191 /usr/local/X11R6/lib \
13192 /usr/local/X11R5/lib \
13193 /usr/local/X11R4/lib \
13194 \
13195 /usr/local/lib/X11 \
13196 /usr/local/lib/X11R6 \
13197 /usr/local/lib/X11R5 \
13198 /usr/local/lib/X11R4 \
13199 \
13200 /usr/X386/lib \
13201 /usr/x386/lib \
13202 /usr/XFree86/lib/X11 \
13203 \
13204 /usr/lib \
13205 /usr/local/lib \
13206 /usr/unsupported/lib \
13207 /usr/athena/lib \
13208 /usr/local/x11r5/lib \
13209 /usr/lpp/Xamples/lib \
13210 /lib/usr/lib/X11 \
13211 \
13212 /usr/openwin/lib \
13213 /usr/openwin/share/lib \
13214 ; \
13215do
13216 for ac_extension in a so sl; do
13217 if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
13218 ac_x_libraries=$ac_dir
13219 break 2
13220 fi
13221 done
13222done
13223fi
13224rm -f conftest*
13225fi # $ac_x_libraries = NO
13226
13227if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then
13228 # Didn't find X anywhere. Cache the known absence of X.
13229 ac_cv_have_x="have_x=no"
13230else
13231 # Record where we found X for the cache.
13232 ac_cv_have_x="have_x=yes \
13233 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
13234fi
13235fi
13236 fi
13237 eval "$ac_cv_have_x"
13238fi # $with_x != no
13239
13240if test "$have_x" != yes; then
13241 echo "$ac_t""$have_x" 1>&6
13242 no_x=yes
13243else
13244 # If each of the values was on the command line, it overrides each guess.
13245 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13246 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13247 # Update the cache value to reflect the command line values.
13248 ac_cv_have_x="have_x=yes \
13249 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
13250 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
13251fi
13252
13253if test "$no_x" = yes; then
13254 # Not all programs may use this symbol, but it does not hurt to define it.
13255 cat >> confdefs.h <<\EOF
13256#define X_DISPLAY_MISSING 1
13257EOF
13258
13259 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13260else
13261 if test -n "$x_includes"; then
13262 X_CFLAGS="$X_CFLAGS -I$x_includes"
13263 fi
13264
13265 # It would also be nice to do this for all -L options, not just this one.
13266 if test -n "$x_libraries"; then
13267 X_LIBS="$X_LIBS -L$x_libraries"
13268 # For Solaris; some versions of Sun CC require a space after -R and
13269 # others require no space. Words are not sufficient . . . .
13270 case "`(uname -sr) 2>/dev/null`" in
13271 "SunOS 5"*)
13272 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13273echo "configure:13274: checking whether -R must be followed by a space" >&5
13274 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
13275 cat > conftest.$ac_ext <<EOF
13276#line 13277 "configure"
13277#include "confdefs.h"
13278
13279int main() {
13280
13281; return 0; }
13282EOF
13283if { (eval echo configure:13284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13284 rm -rf conftest*
13285 ac_R_nospace=yes
13286else
13287 echo "configure: failed program was:" >&5
13288 cat conftest.$ac_ext >&5
13289 rm -rf conftest*
13290 ac_R_nospace=no
13291fi
13292rm -f conftest*
13293 if test $ac_R_nospace = yes; then
13294 echo "$ac_t""no" 1>&6
13295 X_LIBS="$X_LIBS -R$x_libraries"
13296 else
13297 LIBS="$ac_xsave_LIBS -R $x_libraries"
13298 cat > conftest.$ac_ext <<EOF
13299#line 13300 "configure"
13300#include "confdefs.h"
13301
13302int main() {
13303
13304; return 0; }
13305EOF
13306if { (eval echo configure:13307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13307 rm -rf conftest*
13308 ac_R_space=yes
13309else
13310 echo "configure: failed program was:" >&5
13311 cat conftest.$ac_ext >&5
13312 rm -rf conftest*
13313 ac_R_space=no
13314fi
13315rm -f conftest*
13316 if test $ac_R_space = yes; then
13317 echo "$ac_t""yes" 1>&6
13318 X_LIBS="$X_LIBS -R $x_libraries"
13319 else
13320 echo "$ac_t""neither works" 1>&6
13321 fi
13322 fi
13323 LIBS="$ac_xsave_LIBS"
13324 esac
13325 fi
13326
13327 # Check for system-dependent libraries X programs must link with.
13328 # Do this before checking for the system-independent R6 libraries
13329 # (-lICE), since we may need -lsocket or whatever for X linking.
13330
13331 if test "$ISC" = yes; then
13332 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13333 else
13334 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13335 # libraries were built with DECnet support. And karl@cs.umb.edu says
13336 # the Alpha needs dnet_stub (dnet does not exist).
13337 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13338echo "configure:13339: checking for dnet_ntoa in -ldnet" >&5
13339ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13340if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13341 echo $ac_n "(cached) $ac_c" 1>&6
13342else
13343 ac_save_LIBS="$LIBS"
13344LIBS="-ldnet $LIBS"
13345cat > conftest.$ac_ext <<EOF
13346#line 13347 "configure"
13347#include "confdefs.h"
13348/* Override any gcc2 internal prototype to avoid an error. */
13349/* We use char because int might match the return type of a gcc2
13350 builtin and then its argument prototype would still apply. */
13351char dnet_ntoa();
13352
13353int main() {
13354dnet_ntoa()
13355; return 0; }
13356EOF
13357if { (eval echo configure:13358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13358 rm -rf conftest*
13359 eval "ac_cv_lib_$ac_lib_var=yes"
13360else
13361 echo "configure: failed program was:" >&5
13362 cat conftest.$ac_ext >&5
13363 rm -rf conftest*
13364 eval "ac_cv_lib_$ac_lib_var=no"
13365fi
13366rm -f conftest*
13367LIBS="$ac_save_LIBS"
13368
13369fi
13370if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13371 echo "$ac_t""yes" 1>&6
13372 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13373else
13374 echo "$ac_t""no" 1>&6
13375fi
13376
13377 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13378 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13379echo "configure:13380: checking for dnet_ntoa in -ldnet_stub" >&5
13380ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13381if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13382 echo $ac_n "(cached) $ac_c" 1>&6
13383else
13384 ac_save_LIBS="$LIBS"
13385LIBS="-ldnet_stub $LIBS"
13386cat > conftest.$ac_ext <<EOF
13387#line 13388 "configure"
13388#include "confdefs.h"
13389/* Override any gcc2 internal prototype to avoid an error. */
13390/* We use char because int might match the return type of a gcc2
13391 builtin and then its argument prototype would still apply. */
13392char dnet_ntoa();
13393
13394int main() {
13395dnet_ntoa()
13396; return 0; }
13397EOF
13398if { (eval echo configure:13399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13399 rm -rf conftest*
13400 eval "ac_cv_lib_$ac_lib_var=yes"
13401else
13402 echo "configure: failed program was:" >&5
13403 cat conftest.$ac_ext >&5
13404 rm -rf conftest*
13405 eval "ac_cv_lib_$ac_lib_var=no"
13406fi
13407rm -f conftest*
13408LIBS="$ac_save_LIBS"
13409
13410fi
13411if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13412 echo "$ac_t""yes" 1>&6
13413 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13414else
13415 echo "$ac_t""no" 1>&6
13416fi
13417
13418 fi
13419
13420 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13421 # to get the SysV transport functions.
13422 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13423 # needs -lnsl.
13424 # The nsl library prevents programs from opening the X display
13425 # on Irix 5.2, according to dickey@clark.net.
13426 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13427echo "configure:13428: checking for gethostbyname" >&5
13428if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13429 echo $ac_n "(cached) $ac_c" 1>&6
13430else
13431 cat > conftest.$ac_ext <<EOF
13432#line 13433 "configure"
13433#include "confdefs.h"
13434/* System header to define __stub macros and hopefully few prototypes,
13435 which can conflict with char gethostbyname(); below. */
13436#include <assert.h>
13437/* Override any gcc2 internal prototype to avoid an error. */
13438/* We use char because int might match the return type of a gcc2
13439 builtin and then its argument prototype would still apply. */
13440char gethostbyname();
13441
13442int main() {
13443
13444/* The GNU C library defines this for functions which it implements
13445 to always fail with ENOSYS. Some functions are actually named
13446 something starting with __ and the normal name is an alias. */
13447#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13448choke me
13449#else
13450gethostbyname();
13451#endif
13452
13453; return 0; }
13454EOF
13455if { (eval echo configure:13456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13456 rm -rf conftest*
13457 eval "ac_cv_func_gethostbyname=yes"
13458else
13459 echo "configure: failed program was:" >&5
13460 cat conftest.$ac_ext >&5
13461 rm -rf conftest*
13462 eval "ac_cv_func_gethostbyname=no"
13463fi
13464rm -f conftest*
13465fi
13466
13467if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13468 echo "$ac_t""yes" 1>&6
13469 :
13470else
13471 echo "$ac_t""no" 1>&6
13472fi
13473
13474 if test $ac_cv_func_gethostbyname = no; then
13475 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13476echo "configure:13477: checking for gethostbyname in -lnsl" >&5
13477ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13478if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13479 echo $ac_n "(cached) $ac_c" 1>&6
13480else
13481 ac_save_LIBS="$LIBS"
13482LIBS="-lnsl $LIBS"
13483cat > conftest.$ac_ext <<EOF
13484#line 13485 "configure"
13485#include "confdefs.h"
13486/* Override any gcc2 internal prototype to avoid an error. */
13487/* We use char because int might match the return type of a gcc2
13488 builtin and then its argument prototype would still apply. */
13489char gethostbyname();
13490
13491int main() {
13492gethostbyname()
13493; return 0; }
13494EOF
13495if { (eval echo configure:13496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13496 rm -rf conftest*
13497 eval "ac_cv_lib_$ac_lib_var=yes"
13498else
13499 echo "configure: failed program was:" >&5
13500 cat conftest.$ac_ext >&5
13501 rm -rf conftest*
13502 eval "ac_cv_lib_$ac_lib_var=no"
13503fi
13504rm -f conftest*
13505LIBS="$ac_save_LIBS"
13506
13507fi
13508if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13509 echo "$ac_t""yes" 1>&6
13510 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13511else
13512 echo "$ac_t""no" 1>&6
13513fi
13514
13515 fi
13516
13517 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13518 # socket/setsockopt and other routines are undefined under SCO ODT
13519 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13520 # on later versions), says simon@lia.di.epfl.ch: it contains
13521 # gethostby* variants that don't use the nameserver (or something).
13522 # -lsocket must be given before -lnsl if both are needed.
13523 # We assume that if connect needs -lnsl, so does gethostbyname.
13524 echo $ac_n "checking for connect""... $ac_c" 1>&6
13525echo "configure:13526: checking for connect" >&5
13526if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
13527 echo $ac_n "(cached) $ac_c" 1>&6
13528else
13529 cat > conftest.$ac_ext <<EOF
13530#line 13531 "configure"
13531#include "confdefs.h"
13532/* System header to define __stub macros and hopefully few prototypes,
13533 which can conflict with char connect(); below. */
13534#include <assert.h>
13535/* Override any gcc2 internal prototype to avoid an error. */
13536/* We use char because int might match the return type of a gcc2
13537 builtin and then its argument prototype would still apply. */
13538char connect();
13539
13540int main() {
13541
13542/* The GNU C library defines this for functions which it implements
13543 to always fail with ENOSYS. Some functions are actually named
13544 something starting with __ and the normal name is an alias. */
13545#if defined (__stub_connect) || defined (__stub___connect)
13546choke me
13547#else
13548connect();
13549#endif
13550
13551; return 0; }
13552EOF
13553if { (eval echo configure:13554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13554 rm -rf conftest*
13555 eval "ac_cv_func_connect=yes"
13556else
13557 echo "configure: failed program was:" >&5
13558 cat conftest.$ac_ext >&5
13559 rm -rf conftest*
13560 eval "ac_cv_func_connect=no"
13561fi
13562rm -f conftest*
13563fi
13564
13565if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
13566 echo "$ac_t""yes" 1>&6
13567 :
13568else
13569 echo "$ac_t""no" 1>&6
13570fi
13571
13572 if test $ac_cv_func_connect = no; then
13573 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
13574echo "configure:13575: checking for connect in -lsocket" >&5
13575ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
13576if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13577 echo $ac_n "(cached) $ac_c" 1>&6
13578else
13579 ac_save_LIBS="$LIBS"
13580LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13581cat > conftest.$ac_ext <<EOF
13582#line 13583 "configure"
13583#include "confdefs.h"
13584/* Override any gcc2 internal prototype to avoid an error. */
13585/* We use char because int might match the return type of a gcc2
13586 builtin and then its argument prototype would still apply. */
13587char connect();
13588
13589int main() {
13590connect()
13591; return 0; }
13592EOF
13593if { (eval echo configure:13594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13594 rm -rf conftest*
13595 eval "ac_cv_lib_$ac_lib_var=yes"
13596else
13597 echo "configure: failed program was:" >&5
13598 cat conftest.$ac_ext >&5
13599 rm -rf conftest*
13600 eval "ac_cv_lib_$ac_lib_var=no"
13601fi
13602rm -f conftest*
13603LIBS="$ac_save_LIBS"
13604
13605fi
13606if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13607 echo "$ac_t""yes" 1>&6
13608 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
13609else
13610 echo "$ac_t""no" 1>&6
13611fi
13612
13613 fi
13614
13615 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
13616 echo $ac_n "checking for remove""... $ac_c" 1>&6
13617echo "configure:13618: checking for remove" >&5
13618if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
13619 echo $ac_n "(cached) $ac_c" 1>&6
13620else
13621 cat > conftest.$ac_ext <<EOF
13622#line 13623 "configure"
13623#include "confdefs.h"
13624/* System header to define __stub macros and hopefully few prototypes,
13625 which can conflict with char remove(); below. */
13626#include <assert.h>
13627/* Override any gcc2 internal prototype to avoid an error. */
13628/* We use char because int might match the return type of a gcc2
13629 builtin and then its argument prototype would still apply. */
13630char remove();
13631
13632int main() {
13633
13634/* The GNU C library defines this for functions which it implements
13635 to always fail with ENOSYS. Some functions are actually named
13636 something starting with __ and the normal name is an alias. */
13637#if defined (__stub_remove) || defined (__stub___remove)
13638choke me
13639#else
13640remove();
13641#endif
13642
13643; return 0; }
13644EOF
13645if { (eval echo configure:13646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13646 rm -rf conftest*
13647 eval "ac_cv_func_remove=yes"
13648else
13649 echo "configure: failed program was:" >&5
13650 cat conftest.$ac_ext >&5
13651 rm -rf conftest*
13652 eval "ac_cv_func_remove=no"
13653fi
13654rm -f conftest*
13655fi
13656
13657if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
13658 echo "$ac_t""yes" 1>&6
13659 :
13660else
13661 echo "$ac_t""no" 1>&6
13662fi
13663
13664 if test $ac_cv_func_remove = no; then
13665 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
13666echo "configure:13667: checking for remove in -lposix" >&5
13667ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
13668if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13669 echo $ac_n "(cached) $ac_c" 1>&6
13670else
13671 ac_save_LIBS="$LIBS"
13672LIBS="-lposix $LIBS"
13673cat > conftest.$ac_ext <<EOF
13674#line 13675 "configure"
13675#include "confdefs.h"
13676/* Override any gcc2 internal prototype to avoid an error. */
13677/* We use char because int might match the return type of a gcc2
13678 builtin and then its argument prototype would still apply. */
13679char remove();
13680
13681int main() {
13682remove()
13683; return 0; }
13684EOF
13685if { (eval echo configure:13686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13686 rm -rf conftest*
13687 eval "ac_cv_lib_$ac_lib_var=yes"
13688else
13689 echo "configure: failed program was:" >&5
13690 cat conftest.$ac_ext >&5
13691 rm -rf conftest*
13692 eval "ac_cv_lib_$ac_lib_var=no"
13693fi
13694rm -f conftest*
13695LIBS="$ac_save_LIBS"
13696
13697fi
13698if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13699 echo "$ac_t""yes" 1>&6
13700 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
13701else
13702 echo "$ac_t""no" 1>&6
13703fi
13704
13705 fi
13706
13707 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13708 echo $ac_n "checking for shmat""... $ac_c" 1>&6
13709echo "configure:13710: checking for shmat" >&5
13710if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
13711 echo $ac_n "(cached) $ac_c" 1>&6
13712else
13713 cat > conftest.$ac_ext <<EOF
13714#line 13715 "configure"
13715#include "confdefs.h"
13716/* System header to define __stub macros and hopefully few prototypes,
13717 which can conflict with char shmat(); below. */
13718#include <assert.h>
13719/* Override any gcc2 internal prototype to avoid an error. */
13720/* We use char because int might match the return type of a gcc2
13721 builtin and then its argument prototype would still apply. */
13722char shmat();
13723
13724int main() {
13725
13726/* The GNU C library defines this for functions which it implements
13727 to always fail with ENOSYS. Some functions are actually named
13728 something starting with __ and the normal name is an alias. */
13729#if defined (__stub_shmat) || defined (__stub___shmat)
13730choke me
13731#else
13732shmat();
13733#endif
13734
13735; return 0; }
13736EOF
13737if { (eval echo configure:13738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13738 rm -rf conftest*
13739 eval "ac_cv_func_shmat=yes"
13740else
13741 echo "configure: failed program was:" >&5
13742 cat conftest.$ac_ext >&5
13743 rm -rf conftest*
13744 eval "ac_cv_func_shmat=no"
13745fi
13746rm -f conftest*
13747fi
13748
13749if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
13750 echo "$ac_t""yes" 1>&6
13751 :
13752else
13753 echo "$ac_t""no" 1>&6
13754fi
13755
13756 if test $ac_cv_func_shmat = no; then
13757 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
13758echo "configure:13759: checking for shmat in -lipc" >&5
13759ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
13760if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13761 echo $ac_n "(cached) $ac_c" 1>&6
13762else
13763 ac_save_LIBS="$LIBS"
13764LIBS="-lipc $LIBS"
13765cat > conftest.$ac_ext <<EOF
13766#line 13767 "configure"
13767#include "confdefs.h"
13768/* Override any gcc2 internal prototype to avoid an error. */
13769/* We use char because int might match the return type of a gcc2
13770 builtin and then its argument prototype would still apply. */
13771char shmat();
13772
13773int main() {
13774shmat()
13775; return 0; }
13776EOF
13777if { (eval echo configure:13778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13778 rm -rf conftest*
13779 eval "ac_cv_lib_$ac_lib_var=yes"
13780else
13781 echo "configure: failed program was:" >&5
13782 cat conftest.$ac_ext >&5
13783 rm -rf conftest*
13784 eval "ac_cv_lib_$ac_lib_var=no"
13785fi
13786rm -f conftest*
13787LIBS="$ac_save_LIBS"
13788
13789fi
13790if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13791 echo "$ac_t""yes" 1>&6
13792 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
13793else
13794 echo "$ac_t""no" 1>&6
13795fi
13796
13797 fi
13798 fi
13799
13800 # Check for libraries that X11R6 Xt/Xaw programs need.
13801 ac_save_LDFLAGS="$LDFLAGS"
13802 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
13803 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13804 # check for ICE first), but we must link in the order -lSM -lICE or
13805 # we get undefined symbols. So assume we have SM if we have ICE.
13806 # These have to be linked with before -lX11, unlike the other
13807 # libraries we check for below, so use a different variable.
13808 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
13809 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
13810echo "configure:13811: checking for IceConnectionNumber in -lICE" >&5
13811ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
13812if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13813 echo $ac_n "(cached) $ac_c" 1>&6
13814else
13815 ac_save_LIBS="$LIBS"
13816LIBS="-lICE $X_EXTRA_LIBS $LIBS"
13817cat > conftest.$ac_ext <<EOF
13818#line 13819 "configure"
13819#include "confdefs.h"
13820/* Override any gcc2 internal prototype to avoid an error. */
13821/* We use char because int might match the return type of a gcc2
13822 builtin and then its argument prototype would still apply. */
13823char IceConnectionNumber();
13824
13825int main() {
13826IceConnectionNumber()
13827; return 0; }
13828EOF
13829if { (eval echo configure:13830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13830 rm -rf conftest*
13831 eval "ac_cv_lib_$ac_lib_var=yes"
13832else
13833 echo "configure: failed program was:" >&5
13834 cat conftest.$ac_ext >&5
13835 rm -rf conftest*
13836 eval "ac_cv_lib_$ac_lib_var=no"
13837fi
13838rm -f conftest*
13839LIBS="$ac_save_LIBS"
13840
13841fi
13842if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13843 echo "$ac_t""yes" 1>&6
13844 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
13845else
13846 echo "$ac_t""no" 1>&6
13847fi
13848
13849 LDFLAGS="$ac_save_LDFLAGS"
13850
13851fi
13852
13853
13854 if test "$no_x" = "yes"; then
13855 { echo "configure: error: X11 not found" 1>&2; exit 1; }
13856 fi
13857
13858 GUI_TK_LIBRARY="$X_LIBS"
13859 TOOLKIT_INCLUDE="$X_CFLAGS"
13860 AFMINSTALL=afminstall
13861 COMPILED_X_PROGRAM=0
13862
13863 if test "$wxUSE_NANOX" = "yes"; then
13864 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
13865echo "configure:13866: checking for MicroWindows/NanoX distribution" >&5
13866 if test "x$MICROWIN" = x ; then
13867 echo "$ac_t""not found" 1>&6
13868 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
13869 else
13870 echo "$ac_t""$MICROWIN" 1>&6
13871 cat >> confdefs.h <<\EOF
13872#define wxUSE_NANOX 1
13873EOF
13874
13875 fi
13876 fi
13877
13878 xpm_link=
13879 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13880echo "configure:13881: checking for Xpm library" >&5
13881
13882ac_find_libraries=
13883for ac_dir in $SEARCH_LIB;
13884 do
13885 for ac_extension in a so sl dylib; do
13886 if test -f "$ac_dir/libXpm.$ac_extension"; then
13887 ac_find_libraries=$ac_dir
13888 break 2
13889 fi
13890 done
13891 done
13892
13893 if test "$ac_find_libraries" != "" ; then
13894
13895 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
13896 result=$?
13897 if test $result = 0; then
13898 ac_path_to_link=""
13899 else
13900 ac_path_to_link=" -L$ac_find_libraries"
13901 fi
13902
13903 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
13904 xpm_link=" -lXpm"
13905 cat >> confdefs.h <<\EOF
13906#define wxHAVE_LIB_XPM 1
13907EOF
13908
13909 echo "$ac_t""found at $ac_find_libraries" 1>&6
13910 else
13911 cat > conftest.$ac_ext <<EOF
13912#line 13913 "configure"
13913#include "confdefs.h"
13914
13915 #include <X11/xpm.h>
13916
13917int main() {
13918
13919 int version;
13920 version = XpmLibraryVersion();
13921
13922; return 0; }
13923EOF
13924if { (eval echo configure:13925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13925 rm -rf conftest*
13926
13927 xpm_link=" -lXpm"
13928 cat >> confdefs.h <<\EOF
13929#define wxHAVE_LIB_XPM 1
13930EOF
13931
13932 echo "$ac_t""found in default search path" 1>&6
13933 COMPILED_X_PROGRAM=0
13934
13935else
13936 echo "configure: failed program was:" >&5
13937 cat conftest.$ac_ext >&5
13938 rm -rf conftest*
13939
13940 echo "$ac_t""no" 1>&6
13941 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13942
13943
13944fi
13945rm -f conftest*
13946 fi
13947
13948 wxUSE_UNIVERSAL="yes"
13949
13950 if test "$wxUSE_NANOX" = "yes"; then
13951 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
13952 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__NANOX__ -DMWPIXEL_FORMAT=MWPF_TRUECOLOR0888 -DHAVE_FILEIO -DHAVE_BMP_SUPPORT=1 -DHAVE_GIF_SUPPORT=1 -DHAVE_PNM_SUPPORT=1 -DHAVE_XPM_SUPPORT=1 -DLINUX=1 -DUNIX=1 -DUSE_EXPOSURE -DSCREEN_HEIGHT=480 -DSCREEN_WIDTH=640 -DSCREEN_DEPTH=4 -DX11=1"
13953 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
13954 else
13955 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
13956 fi
13957
13958 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
13959 TOOLKIT=X11
13960 GUIDIST=X11_DIST
13961 fi
13962
13963 if test "$wxUSE_WINE" = 1; then
13964 ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'`
13965echo $ac_n "checking for windows.h""... $ac_c" 1>&6
13966echo "configure:13967: checking for windows.h" >&5
13967if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13968 echo $ac_n "(cached) $ac_c" 1>&6
13969else
13970 cat > conftest.$ac_ext <<EOF
13971#line 13972 "configure"
13972#include "confdefs.h"
13973#include <windows.h>
13974EOF
13975ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13976{ (eval echo configure:13977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13977ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13978if test -z "$ac_err"; then
13979 rm -rf conftest*
13980 eval "ac_cv_header_$ac_safe=yes"
13981else
13982 echo "$ac_err" >&5
13983 echo "configure: failed program was:" >&5
13984 cat conftest.$ac_ext >&5
13985 rm -rf conftest*
13986 eval "ac_cv_header_$ac_safe=no"
13987fi
13988rm -f conftest*
13989fi
13990if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13991 echo "$ac_t""yes" 1>&6
13992 :
13993else
13994 echo "$ac_t""no" 1>&6
13995
13996 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
13997
13998fi
13999
14000
14001 xpm_link=
14002 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14003echo "configure:14004: checking for Xpm library" >&5
14004
14005ac_find_libraries=
14006for ac_dir in $SEARCH_LIB;
14007 do
14008 for ac_extension in a so sl dylib; do
14009 if test -f "$ac_dir/libXpm.$ac_extension"; then
14010 ac_find_libraries=$ac_dir
14011 break 2
14012 fi
14013 done
14014 done
14015
14016 if test "$ac_find_libraries" != "" ; then
14017 GUI_TK_LIBRARY="-L$ac_find_libraries"
14018 xpm_link=" -lXpm"
14019 cat >> confdefs.h <<\EOF
14020#define wxHAVE_LIB_XPM 1
14021EOF
14022
14023 echo "$ac_t""found at $ac_find_libraries" 1>&6
14024 else
14025 echo "$ac_t""no" 1>&6
14026 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14027 fi
14028
14029 mesa_link=
14030 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
14031echo "configure:14032: checking for Mesa library" >&5
14032
14033ac_find_libraries=
14034for ac_dir in $SEARCH_LIB;
14035 do
14036 for ac_extension in a so sl dylib; do
14037 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
14038 ac_find_libraries=$ac_dir
14039 break 2
14040 fi
14041 done
14042 done
14043
14044 if test "$ac_find_libraries" != "" ; then
14045 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -L$ac_find_libraries"
14046 mesa_link=" -lMesaGL"
14047 echo "$ac_t""found at $ac_find_libraries" 1>&6
14048 else
14049 mesa_link=""
14050 echo "$ac_t""no" 1>&6
14051 echo "configure: warning: library will be compiled without Mesa support" 1>&2
14052 fi
14053
14054 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
14055 TOOLKIT=MSW
14056 GUIDIST=MSW_DIST
14057 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXWINE__"
14058 fi
14059
14060 if test "$wxUSE_MOTIF" = 1; then
14061 if test "$no_x" = yes; then
14062 # Not all programs may use this symbol, but it does not hurt to define it.
14063 cat >> confdefs.h <<\EOF
14064#define X_DISPLAY_MISSING 1
14065EOF
14066
14067 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
14068else
14069 if test -n "$x_includes"; then
14070 X_CFLAGS="$X_CFLAGS -I$x_includes"
14071 fi
14072
14073 # It would also be nice to do this for all -L options, not just this one.
14074 if test -n "$x_libraries"; then
14075 X_LIBS="$X_LIBS -L$x_libraries"
14076 # For Solaris; some versions of Sun CC require a space after -R and
14077 # others require no space. Words are not sufficient . . . .
14078 case "`(uname -sr) 2>/dev/null`" in
14079 "SunOS 5"*)
14080 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
14081echo "configure:14082: checking whether -R must be followed by a space" >&5
14082 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
14083 cat > conftest.$ac_ext <<EOF
14084#line 14085 "configure"
14085#include "confdefs.h"
14086
14087int main() {
14088
14089; return 0; }
14090EOF
14091if { (eval echo configure:14092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14092 rm -rf conftest*
14093 ac_R_nospace=yes
14094else
14095 echo "configure: failed program was:" >&5
14096 cat conftest.$ac_ext >&5
14097 rm -rf conftest*
14098 ac_R_nospace=no
14099fi
14100rm -f conftest*
14101 if test $ac_R_nospace = yes; then
14102 echo "$ac_t""no" 1>&6
14103 X_LIBS="$X_LIBS -R$x_libraries"
14104 else
14105 LIBS="$ac_xsave_LIBS -R $x_libraries"
14106 cat > conftest.$ac_ext <<EOF
14107#line 14108 "configure"
14108#include "confdefs.h"
14109
14110int main() {
14111
14112; return 0; }
14113EOF
14114if { (eval echo configure:14115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14115 rm -rf conftest*
14116 ac_R_space=yes
14117else
14118 echo "configure: failed program was:" >&5
14119 cat conftest.$ac_ext >&5
14120 rm -rf conftest*
14121 ac_R_space=no
14122fi
14123rm -f conftest*
14124 if test $ac_R_space = yes; then
14125 echo "$ac_t""yes" 1>&6
14126 X_LIBS="$X_LIBS -R $x_libraries"
14127 else
14128 echo "$ac_t""neither works" 1>&6
14129 fi
14130 fi
14131 LIBS="$ac_xsave_LIBS"
14132 esac
14133 fi
14134
14135 # Check for system-dependent libraries X programs must link with.
14136 # Do this before checking for the system-independent R6 libraries
14137 # (-lICE), since we may need -lsocket or whatever for X linking.
14138
14139 if test "$ISC" = yes; then
14140 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
14141 else
14142 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
14143 # libraries were built with DECnet support. And karl@cs.umb.edu says
14144 # the Alpha needs dnet_stub (dnet does not exist).
14145 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
14146echo "configure:14147: checking for dnet_ntoa in -ldnet" >&5
14147ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14148if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14149 echo $ac_n "(cached) $ac_c" 1>&6
14150else
14151 ac_save_LIBS="$LIBS"
14152LIBS="-ldnet $LIBS"
14153cat > conftest.$ac_ext <<EOF
14154#line 14155 "configure"
14155#include "confdefs.h"
14156/* Override any gcc2 internal prototype to avoid an error. */
14157/* We use char because int might match the return type of a gcc2
14158 builtin and then its argument prototype would still apply. */
14159char dnet_ntoa();
14160
14161int main() {
14162dnet_ntoa()
14163; return 0; }
14164EOF
14165if { (eval echo configure:14166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14166 rm -rf conftest*
14167 eval "ac_cv_lib_$ac_lib_var=yes"
14168else
14169 echo "configure: failed program was:" >&5
14170 cat conftest.$ac_ext >&5
14171 rm -rf conftest*
14172 eval "ac_cv_lib_$ac_lib_var=no"
14173fi
14174rm -f conftest*
14175LIBS="$ac_save_LIBS"
14176
14177fi
14178if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14179 echo "$ac_t""yes" 1>&6
14180 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14181else
14182 echo "$ac_t""no" 1>&6
14183fi
14184
14185 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14186 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
14187echo "configure:14188: checking for dnet_ntoa in -ldnet_stub" >&5
14188ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14189if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14190 echo $ac_n "(cached) $ac_c" 1>&6
14191else
14192 ac_save_LIBS="$LIBS"
14193LIBS="-ldnet_stub $LIBS"
14194cat > conftest.$ac_ext <<EOF
14195#line 14196 "configure"
14196#include "confdefs.h"
14197/* Override any gcc2 internal prototype to avoid an error. */
14198/* We use char because int might match the return type of a gcc2
14199 builtin and then its argument prototype would still apply. */
14200char dnet_ntoa();
14201
14202int main() {
14203dnet_ntoa()
14204; return 0; }
14205EOF
14206if { (eval echo configure:14207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14207 rm -rf conftest*
14208 eval "ac_cv_lib_$ac_lib_var=yes"
14209else
14210 echo "configure: failed program was:" >&5
14211 cat conftest.$ac_ext >&5
14212 rm -rf conftest*
14213 eval "ac_cv_lib_$ac_lib_var=no"
14214fi
14215rm -f conftest*
14216LIBS="$ac_save_LIBS"
14217
14218fi
14219if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14220 echo "$ac_t""yes" 1>&6
14221 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14222else
14223 echo "$ac_t""no" 1>&6
14224fi
14225
14226 fi
14227
14228 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14229 # to get the SysV transport functions.
14230 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
14231 # needs -lnsl.
14232 # The nsl library prevents programs from opening the X display
14233 # on Irix 5.2, according to dickey@clark.net.
14234 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
14235echo "configure:14236: checking for gethostbyname" >&5
14236if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
14237 echo $ac_n "(cached) $ac_c" 1>&6
14238else
14239 cat > conftest.$ac_ext <<EOF
14240#line 14241 "configure"
14241#include "confdefs.h"
14242/* System header to define __stub macros and hopefully few prototypes,
14243 which can conflict with char gethostbyname(); below. */
14244#include <assert.h>
14245/* Override any gcc2 internal prototype to avoid an error. */
14246/* We use char because int might match the return type of a gcc2
14247 builtin and then its argument prototype would still apply. */
14248char gethostbyname();
14249
14250int main() {
14251
14252/* The GNU C library defines this for functions which it implements
14253 to always fail with ENOSYS. Some functions are actually named
14254 something starting with __ and the normal name is an alias. */
14255#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
14256choke me
14257#else
14258gethostbyname();
14259#endif
14260
14261; return 0; }
14262EOF
14263if { (eval echo configure:14264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14264 rm -rf conftest*
14265 eval "ac_cv_func_gethostbyname=yes"
14266else
14267 echo "configure: failed program was:" >&5
14268 cat conftest.$ac_ext >&5
14269 rm -rf conftest*
14270 eval "ac_cv_func_gethostbyname=no"
14271fi
14272rm -f conftest*
14273fi
14274
14275if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
14276 echo "$ac_t""yes" 1>&6
14277 :
14278else
14279 echo "$ac_t""no" 1>&6
14280fi
14281
14282 if test $ac_cv_func_gethostbyname = no; then
14283 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
14284echo "configure:14285: checking for gethostbyname in -lnsl" >&5
14285ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
14286if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14287 echo $ac_n "(cached) $ac_c" 1>&6
14288else
14289 ac_save_LIBS="$LIBS"
14290LIBS="-lnsl $LIBS"
14291cat > conftest.$ac_ext <<EOF
14292#line 14293 "configure"
14293#include "confdefs.h"
14294/* Override any gcc2 internal prototype to avoid an error. */
14295/* We use char because int might match the return type of a gcc2
14296 builtin and then its argument prototype would still apply. */
14297char gethostbyname();
14298
14299int main() {
14300gethostbyname()
14301; return 0; }
14302EOF
14303if { (eval echo configure:14304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14304 rm -rf conftest*
14305 eval "ac_cv_lib_$ac_lib_var=yes"
14306else
14307 echo "configure: failed program was:" >&5
14308 cat conftest.$ac_ext >&5
14309 rm -rf conftest*
14310 eval "ac_cv_lib_$ac_lib_var=no"
14311fi
14312rm -f conftest*
14313LIBS="$ac_save_LIBS"
14314
14315fi
14316if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14317 echo "$ac_t""yes" 1>&6
14318 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14319else
14320 echo "$ac_t""no" 1>&6
14321fi
14322
14323 fi
14324
14325 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14326 # socket/setsockopt and other routines are undefined under SCO ODT
14327 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14328 # on later versions), says simon@lia.di.epfl.ch: it contains
14329 # gethostby* variants that don't use the nameserver (or something).
14330 # -lsocket must be given before -lnsl if both are needed.
14331 # We assume that if connect needs -lnsl, so does gethostbyname.
14332 echo $ac_n "checking for connect""... $ac_c" 1>&6
14333echo "configure:14334: checking for connect" >&5
14334if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
14335 echo $ac_n "(cached) $ac_c" 1>&6
14336else
14337 cat > conftest.$ac_ext <<EOF
14338#line 14339 "configure"
14339#include "confdefs.h"
14340/* System header to define __stub macros and hopefully few prototypes,
14341 which can conflict with char connect(); below. */
14342#include <assert.h>
14343/* Override any gcc2 internal prototype to avoid an error. */
14344/* We use char because int might match the return type of a gcc2
14345 builtin and then its argument prototype would still apply. */
14346char connect();
14347
14348int main() {
14349
14350/* The GNU C library defines this for functions which it implements
14351 to always fail with ENOSYS. Some functions are actually named
14352 something starting with __ and the normal name is an alias. */
14353#if defined (__stub_connect) || defined (__stub___connect)
14354choke me
14355#else
14356connect();
14357#endif
14358
14359; return 0; }
14360EOF
14361if { (eval echo configure:14362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14362 rm -rf conftest*
14363 eval "ac_cv_func_connect=yes"
14364else
14365 echo "configure: failed program was:" >&5
14366 cat conftest.$ac_ext >&5
14367 rm -rf conftest*
14368 eval "ac_cv_func_connect=no"
14369fi
14370rm -f conftest*
14371fi
14372
14373if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
14374 echo "$ac_t""yes" 1>&6
14375 :
14376else
14377 echo "$ac_t""no" 1>&6
14378fi
14379
14380 if test $ac_cv_func_connect = no; then
14381 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
14382echo "configure:14383: checking for connect in -lsocket" >&5
14383ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
14384if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14385 echo $ac_n "(cached) $ac_c" 1>&6
14386else
14387 ac_save_LIBS="$LIBS"
14388LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14389cat > conftest.$ac_ext <<EOF
14390#line 14391 "configure"
14391#include "confdefs.h"
14392/* Override any gcc2 internal prototype to avoid an error. */
14393/* We use char because int might match the return type of a gcc2
14394 builtin and then its argument prototype would still apply. */
14395char connect();
14396
14397int main() {
14398connect()
14399; return 0; }
14400EOF
14401if { (eval echo configure:14402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14402 rm -rf conftest*
14403 eval "ac_cv_lib_$ac_lib_var=yes"
14404else
14405 echo "configure: failed program was:" >&5
14406 cat conftest.$ac_ext >&5
14407 rm -rf conftest*
14408 eval "ac_cv_lib_$ac_lib_var=no"
14409fi
14410rm -f conftest*
14411LIBS="$ac_save_LIBS"
14412
14413fi
14414if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14415 echo "$ac_t""yes" 1>&6
14416 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14417else
14418 echo "$ac_t""no" 1>&6
14419fi
14420
14421 fi
14422
14423 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
14424 echo $ac_n "checking for remove""... $ac_c" 1>&6
14425echo "configure:14426: checking for remove" >&5
14426if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
14427 echo $ac_n "(cached) $ac_c" 1>&6
14428else
14429 cat > conftest.$ac_ext <<EOF
14430#line 14431 "configure"
14431#include "confdefs.h"
14432/* System header to define __stub macros and hopefully few prototypes,
14433 which can conflict with char remove(); below. */
14434#include <assert.h>
14435/* Override any gcc2 internal prototype to avoid an error. */
14436/* We use char because int might match the return type of a gcc2
14437 builtin and then its argument prototype would still apply. */
14438char remove();
14439
14440int main() {
14441
14442/* The GNU C library defines this for functions which it implements
14443 to always fail with ENOSYS. Some functions are actually named
14444 something starting with __ and the normal name is an alias. */
14445#if defined (__stub_remove) || defined (__stub___remove)
14446choke me
14447#else
14448remove();
14449#endif
14450
14451; return 0; }
14452EOF
14453if { (eval echo configure:14454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14454 rm -rf conftest*
14455 eval "ac_cv_func_remove=yes"
14456else
14457 echo "configure: failed program was:" >&5
14458 cat conftest.$ac_ext >&5
14459 rm -rf conftest*
14460 eval "ac_cv_func_remove=no"
14461fi
14462rm -f conftest*
14463fi
14464
14465if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14466 echo "$ac_t""yes" 1>&6
14467 :
14468else
14469 echo "$ac_t""no" 1>&6
14470fi
14471
14472 if test $ac_cv_func_remove = no; then
14473 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14474echo "configure:14475: checking for remove in -lposix" >&5
14475ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14476if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14477 echo $ac_n "(cached) $ac_c" 1>&6
14478else
14479 ac_save_LIBS="$LIBS"
14480LIBS="-lposix $LIBS"
14481cat > conftest.$ac_ext <<EOF
14482#line 14483 "configure"
14483#include "confdefs.h"
14484/* Override any gcc2 internal prototype to avoid an error. */
14485/* We use char because int might match the return type of a gcc2
14486 builtin and then its argument prototype would still apply. */
14487char remove();
14488
14489int main() {
14490remove()
14491; return 0; }
14492EOF
14493if { (eval echo configure:14494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14494 rm -rf conftest*
14495 eval "ac_cv_lib_$ac_lib_var=yes"
14496else
14497 echo "configure: failed program was:" >&5
14498 cat conftest.$ac_ext >&5
14499 rm -rf conftest*
14500 eval "ac_cv_lib_$ac_lib_var=no"
14501fi
14502rm -f conftest*
14503LIBS="$ac_save_LIBS"
14504
14505fi
14506if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14507 echo "$ac_t""yes" 1>&6
14508 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14509else
14510 echo "$ac_t""no" 1>&6
14511fi
14512
14513 fi
14514
14515 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14516 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14517echo "configure:14518: checking for shmat" >&5
14518if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14519 echo $ac_n "(cached) $ac_c" 1>&6
14520else
14521 cat > conftest.$ac_ext <<EOF
14522#line 14523 "configure"
14523#include "confdefs.h"
14524/* System header to define __stub macros and hopefully few prototypes,
14525 which can conflict with char shmat(); below. */
14526#include <assert.h>
14527/* Override any gcc2 internal prototype to avoid an error. */
14528/* We use char because int might match the return type of a gcc2
14529 builtin and then its argument prototype would still apply. */
14530char shmat();
14531
14532int main() {
14533
14534/* The GNU C library defines this for functions which it implements
14535 to always fail with ENOSYS. Some functions are actually named
14536 something starting with __ and the normal name is an alias. */
14537#if defined (__stub_shmat) || defined (__stub___shmat)
14538choke me
14539#else
14540shmat();
14541#endif
14542
14543; return 0; }
14544EOF
14545if { (eval echo configure:14546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14546 rm -rf conftest*
14547 eval "ac_cv_func_shmat=yes"
14548else
14549 echo "configure: failed program was:" >&5
14550 cat conftest.$ac_ext >&5
14551 rm -rf conftest*
14552 eval "ac_cv_func_shmat=no"
14553fi
14554rm -f conftest*
14555fi
14556
14557if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14558 echo "$ac_t""yes" 1>&6
14559 :
14560else
14561 echo "$ac_t""no" 1>&6
14562fi
14563
14564 if test $ac_cv_func_shmat = no; then
14565 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14566echo "configure:14567: checking for shmat in -lipc" >&5
14567ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14568if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14569 echo $ac_n "(cached) $ac_c" 1>&6
14570else
14571 ac_save_LIBS="$LIBS"
14572LIBS="-lipc $LIBS"
14573cat > conftest.$ac_ext <<EOF
14574#line 14575 "configure"
14575#include "confdefs.h"
14576/* Override any gcc2 internal prototype to avoid an error. */
14577/* We use char because int might match the return type of a gcc2
14578 builtin and then its argument prototype would still apply. */
14579char shmat();
14580
14581int main() {
14582shmat()
14583; return 0; }
14584EOF
14585if { (eval echo configure:14586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14586 rm -rf conftest*
14587 eval "ac_cv_lib_$ac_lib_var=yes"
14588else
14589 echo "configure: failed program was:" >&5
14590 cat conftest.$ac_ext >&5
14591 rm -rf conftest*
14592 eval "ac_cv_lib_$ac_lib_var=no"
14593fi
14594rm -f conftest*
14595LIBS="$ac_save_LIBS"
14596
14597fi
14598if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14599 echo "$ac_t""yes" 1>&6
14600 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14601else
14602 echo "$ac_t""no" 1>&6
14603fi
14604
14605 fi
14606 fi
14607
14608 # Check for libraries that X11R6 Xt/Xaw programs need.
14609 ac_save_LDFLAGS="$LDFLAGS"
14610 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14611 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14612 # check for ICE first), but we must link in the order -lSM -lICE or
14613 # we get undefined symbols. So assume we have SM if we have ICE.
14614 # These have to be linked with before -lX11, unlike the other
14615 # libraries we check for below, so use a different variable.
14616 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14617 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14618echo "configure:14619: checking for IceConnectionNumber in -lICE" >&5
14619ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14620if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14621 echo $ac_n "(cached) $ac_c" 1>&6
14622else
14623 ac_save_LIBS="$LIBS"
14624LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14625cat > conftest.$ac_ext <<EOF
14626#line 14627 "configure"
14627#include "confdefs.h"
14628/* Override any gcc2 internal prototype to avoid an error. */
14629/* We use char because int might match the return type of a gcc2
14630 builtin and then its argument prototype would still apply. */
14631char IceConnectionNumber();
14632
14633int main() {
14634IceConnectionNumber()
14635; return 0; }
14636EOF
14637if { (eval echo configure:14638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14638 rm -rf conftest*
14639 eval "ac_cv_lib_$ac_lib_var=yes"
14640else
14641 echo "configure: failed program was:" >&5
14642 cat conftest.$ac_ext >&5
14643 rm -rf conftest*
14644 eval "ac_cv_lib_$ac_lib_var=no"
14645fi
14646rm -f conftest*
14647LIBS="$ac_save_LIBS"
14648
14649fi
14650if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14651 echo "$ac_t""yes" 1>&6
14652 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14653else
14654 echo "$ac_t""no" 1>&6
14655fi
14656
14657 LDFLAGS="$ac_save_LDFLAGS"
14658
14659fi
14660
14661
14662 if test "$no_x" = "yes"; then
14663 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14664 fi
14665
14666 GUI_TK_LIBRARY="$X_LIBS"
14667 TOOLKIT_INCLUDE="$X_CFLAGS"
14668 AFMINSTALL=afminstall
14669 COMPILED_X_PROGRAM=0
14670
14671 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
14672echo "configure:14673: checking for Motif/Lesstif headers" >&5
14673
14674ac_find_includes=
14675for ac_dir in $SEARCH_INCLUDE;
14676 do
14677 if test -f "$ac_dir/Xm/Xm.h"; then
14678 ac_find_includes=$ac_dir
14679 break
14680 fi
14681 done
14682
14683 if test "$ac_find_includes" != "" ; then
14684 echo "$ac_t""found in $ac_find_includes" 1>&6
14685
14686 ac_path_to_include=$ac_find_includes
14687 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
14688 result=$?
14689 if test $result = 0; then
14690 ac_path_to_include=""
14691 else
14692 ac_path_to_include=" -I$ac_find_includes"
14693 fi
14694
14695 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
14696 else
14697 cat > conftest.$ac_ext <<EOF
14698#line 14699 "configure"
14699#include "confdefs.h"
14700
14701 #include <Xm/Xm.h>
14702
14703int main() {
14704
14705 int version;
14706 version = xmUseVersion;
14707
14708; return 0; }
14709EOF
14710if { (eval echo configure:14711: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14711 rm -rf conftest*
14712
14713 echo "$ac_t""found in default search path" 1>&6
14714 COMPILED_X_PROGRAM=1
14715
14716else
14717 echo "configure: failed program was:" >&5
14718 cat conftest.$ac_ext >&5
14719 rm -rf conftest*
14720
14721 echo "$ac_t""no" 1>&6
14722 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
14723
14724
14725fi
14726rm -f conftest*
14727 fi
14728
14729 if test "$COMPILED_X_PROGRAM" = 0; then
14730 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
14731echo "configure:14732: checking for Motif/Lesstif library" >&5
14732
14733ac_find_libraries=
14734for ac_dir in $SEARCH_LIB;
14735 do
14736 for ac_extension in a so sl dylib; do
14737 if test -f "$ac_dir/libXm.$ac_extension"; then
14738 ac_find_libraries=$ac_dir
14739 break 2
14740 fi
14741 done
14742 done
14743
14744 if test "$ac_find_libraries" != "" ; then
14745 echo "$ac_t""found at $ac_find_libraries" 1>&6
14746
14747
14748 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
14749 result=$?
14750 if test $result = 0; then
14751 ac_path_to_link=""
14752 else
14753 ac_path_to_link=" -L$ac_find_libraries"
14754 fi
14755
14756 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
14757 else
14758 save_CFLAGS=$CFLAGS
14759 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
14760
14761 cat > conftest.$ac_ext <<EOF
14762#line 14763 "configure"
14763#include "confdefs.h"
14764
14765 #include <Xm/Xm.h>
14766
14767int main() {
14768
14769 int version;
14770 version = xmUseVersion;
14771
14772; return 0; }
14773EOF
14774if { (eval echo configure:14775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14775 rm -rf conftest*
14776
14777 echo "$ac_t""found in default search path" 1>&6
14778 COMPILED_X_PROGRAM=1
14779
14780else
14781 echo "configure: failed program was:" >&5
14782 cat conftest.$ac_ext >&5
14783 rm -rf conftest*
14784
14785 echo "$ac_t""no" 1>&6
14786 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
14787
14788
14789fi
14790rm -f conftest*
14791
14792 CFLAGS=$save_CFLAGS
14793 fi
14794 fi
14795
14796 xpm_link=
14797 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14798echo "configure:14799: checking for Xpm library" >&5
14799
14800ac_find_libraries=
14801for ac_dir in $SEARCH_LIB;
14802 do
14803 for ac_extension in a so sl dylib; do
14804 if test -f "$ac_dir/libXpm.$ac_extension"; then
14805 ac_find_libraries=$ac_dir
14806 break 2
14807 fi
14808 done
14809 done
14810
14811 if test "$ac_find_libraries" != "" ; then
14812
14813 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
14814 result=$?
14815 if test $result = 0; then
14816 ac_path_to_link=""
14817 else
14818 ac_path_to_link=" -L$ac_find_libraries"
14819 fi
14820
14821 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
14822
14823 xpm_link=" -lXpm"
14824 cat >> confdefs.h <<\EOF
14825#define wxHAVE_LIB_XPM 1
14826EOF
14827
14828 echo "$ac_t""found at $ac_find_libraries" 1>&6
14829 else
14830 save_CFLAGS=$CFLAGS
14831 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
14832
14833 cat > conftest.$ac_ext <<EOF
14834#line 14835 "configure"
14835#include "confdefs.h"
14836
14837 #include <X11/xpm.h>
14838
14839int main() {
14840
14841 int version;
14842 version = XpmLibraryVersion();
14843
14844; return 0; }
14845EOF
14846if { (eval echo configure:14847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14847 rm -rf conftest*
14848
14849 xpm_link=" -lXpm"
14850 cat >> confdefs.h <<\EOF
14851#define wxHAVE_LIB_XPM 1
14852EOF
14853
14854 echo "$ac_t""found in default search path" 1>&6
14855 COMPILED_X_PROGRAM=0
14856
14857else
14858 echo "configure: failed program was:" >&5
14859 cat conftest.$ac_ext >&5
14860 rm -rf conftest*
14861
14862 echo "$ac_t""no" 1>&6
14863 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14864
14865
14866fi
14867rm -f conftest*
14868
14869 CFLAGS=$save_CFLAGS
14870 fi
14871
14872 echo $ac_n "checking if we need -lXp and/or -lSM -lICE""... $ac_c" 1>&6
14873echo "configure:14874: checking if we need -lXp and/or -lSM -lICE" >&5
14874 libp_link=""
14875 libsm_ice_link=""
14876 libs_found=0
14877 for libp in "" " -lXp"; do
14878 if test "$libs_found" = "0"; then
14879 for libsm_ice in " -lSM -lICE"; do
14880 if test "$libs_found" = "0"; then
14881 save_LIBS="$LIBS"
14882 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
14883 save_CFLAGS=$CFLAGS
14884 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
14885
14886 cat > conftest.$ac_ext <<EOF
14887#line 14888 "configure"
14888#include "confdefs.h"
14889
14890 #include <Xm/Xm.h>
14891 #include <Xm/List.h>
14892
14893int main() {
14894
14895 XmString string = NULL;
14896 Widget w = NULL;
14897 int position = 0;
14898 XmListAddItem(w, string, position);
14899
14900; return 0; }
14901EOF
14902if { (eval echo configure:14903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14903 rm -rf conftest*
14904
14905 libp_link="$libp"
14906 libsm_ice_link="$libsm_ice"
14907 echo "$ac_t""need${libp_link}${libsm_ice_link}" 1>&6
14908 libs_found=1
14909
14910else
14911 echo "configure: failed program was:" >&5
14912 cat conftest.$ac_ext >&5
14913 rm -rf conftest*
14914
14915
14916fi
14917rm -f conftest*
14918
14919 LIBS="$save_LIBS"
14920 CFLAGS=$save_CFLAGS
14921 fi
14922 done
14923 fi
14924 done
14925
14926 if test "$libs_found" = "0"; then
14927 echo "$ac_t""can't find the right libraries" 1>&6
14928 { echo "configure: error: can't link a simple motif program" 1>&2; exit 1; }
14929 fi
14930
14931 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
14932 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
14933 TOOLKIT=MOTIF
14934 GUIDIST=MOTIF_DIST
14935 fi
14936
14937 if test "$wxUSE_MAC" = 1; then
14938 CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefile -I/Developer/Headers/FlatCarbon"
14939
14940 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
14941 TOOLKIT=MAC
14942 GUIDIST=MACX_DIST
14943 fi
14944
14945 if test "$wxUSE_PM" = 1; then
14946 TOOLKIT=PM
14947 GUIDIST=GTK_DIST
14948 fi
14949
14950 if test "$TOOLKIT" = "PM" ; then
14951 TOOLKIT_DIR="os2"
14952 else
14953 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
14954 fi
14955
14956 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
14957
14958 if test "$wxUSE_UNIVERSAL" = "yes"; then
14959 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
14960
14961 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
14962 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
14963
14964 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
14965 if test "$wxUSE_X11" = 1; then
14966 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
14967 else
14968 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
14969 fi
14970 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
14971 WIDGET_SET=univ
14972 else
14973 ALL_OBJECTS="\$(GUIOBJS)"
14974 ALL_SOURCES="\$(ALL_SOURCES)"
14975 ALL_HEADERS="\$(ALL_HEADERS)"
14976 fi
14977
14978 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
14979
14980 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
14981 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
14982 fi
14983
14984 if test "$wxUSE_HTML" = "yes"; then
14985 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
14986 fi
14987
14988 if test "$wxUSE_LIBJPEG" = "builtin" ; then
14989 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
14990 fi
14991 if test "$wxUSE_LIBTIFF" = "builtin" ; then
14992 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
14993 fi
14994 if test "$wxUSE_LIBPNG" = "builtin" ; then
14995 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
14996 fi
14997
14998 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
14999 DISTDIR="wx\$(TOOLKIT)"
15000else
15001 USE_GUI=0
15002
15003 TOOLKIT_DIR="base"
15004
15005 if test "$USE_WIN32" = 1 ; then
15006 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
15007 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
15008
15009 TOOLKIT="MSW"
15010 else
15011 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
15012 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
15013 fi
15014
15015 ALL_SOURCES="\$(ALL_SOURCES)"
15016 ALL_HEADERS="\$(ALL_HEADERS)"
15017
15018 PORT_FILES="\${top_srcdir}/src/files.lst"
15019
15020 GUIDIST="BASE_DIST"
15021 DISTDIR="wxBase"
15022fi
15023
15024
15025if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
15026 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
15027fi
15028
15029if test "$wxUSE_REGEX" = "builtin" ; then
15030 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
15031fi
15032if test "$wxUSE_ZLIB" = "builtin" ; then
15033 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
15034fi
15035
15036
15037if test "$wxUSE_OPENGL" = "yes"; then
15038 if test "$wxUSE_MAC" = 1; then
15039 OPENGL_LIBS="-framework OpenGL -framework AGL"
15040 elif test "$wxUSE_MSW" = 1; then
15041 OPENGL_LIBS="-lopengl32 -lglu32"
15042 else
15043 ac_safe=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15044echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15045echo "configure:15046: checking for GL/gl.h" >&5
15046if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15047 echo $ac_n "(cached) $ac_c" 1>&6
15048else
15049 cat > conftest.$ac_ext <<EOF
15050#line 15051 "configure"
15051#include "confdefs.h"
15052#include <GL/gl.h>
15053EOF
15054ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15055{ (eval echo configure:15056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15056ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15057if test -z "$ac_err"; then
15058 rm -rf conftest*
15059 eval "ac_cv_header_$ac_safe=yes"
15060else
15061 echo "$ac_err" >&5
15062 echo "configure: failed program was:" >&5
15063 cat conftest.$ac_ext >&5
15064 rm -rf conftest*
15065 eval "ac_cv_header_$ac_safe=no"
15066fi
15067rm -f conftest*
15068fi
15069if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15070 echo "$ac_t""yes" 1>&6
15071
15072 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
15073echo "configure:15074: checking for -lGL" >&5
15074
15075ac_find_libraries=
15076for ac_dir in $SEARCH_LIB;
15077 do
15078 for ac_extension in a so sl dylib; do
15079 if test -f "$ac_dir/libGL.$ac_extension"; then
15080 ac_find_libraries=$ac_dir
15081 break 2
15082 fi
15083 done
15084 done
15085
15086 if test "$ac_find_libraries" != "" ; then
15087
15088 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
15089 result=$?
15090 if test $result = 0; then
15091 ac_path_to_link=""
15092 else
15093 ac_path_to_link=" -L$ac_find_libraries"
15094 fi
15095
15096 if test "$ac_path_to_link" = " -L/usr/lib" ; then
15097 LDFLAGS_GL="$LDFLAGS"
15098 else
15099 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
15100 fi
15101 OPENGL_LIBS="-lGL -lGLU"
15102 echo "$ac_t""yes" 1>&6
15103 else
15104 echo "$ac_t""no" 1>&6
15105 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
15106echo "configure:15107: checking for -lMesaGL" >&5
15107
15108ac_find_libraries=
15109for ac_dir in $SEARCH_LIB;
15110 do
15111 for ac_extension in a so sl dylib; do
15112 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
15113 ac_find_libraries=$ac_dir
15114 break 2
15115 fi
15116 done
15117 done
15118
15119 if test "$ac_find_libraries" != "" ; then
15120
15121 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
15122 result=$?
15123 if test $result = 0; then
15124 ac_path_to_link=""
15125 else
15126 ac_path_to_link=" -L$ac_find_libraries"
15127 fi
15128
15129 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
15130 OPENGL_LIBS="-lMesaGL -lMesaGLU"
15131 echo "$ac_t""yes" 1>&6
15132 else
15133 echo "$ac_t""no" 1>&6
15134 fi
15135 fi
15136
15137else
15138 echo "$ac_t""no" 1>&6
15139fi
15140
15141
15142 if test "x$OPENGL_LIBS" = "x"; then
15143 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
15144 fi
15145 fi
15146
15147 if test "$wxUSE_OPENGL" = "yes"; then
15148 cat >> confdefs.h <<\EOF
15149#define wxUSE_OPENGL 1
15150EOF
15151
15152 cat >> confdefs.h <<\EOF
15153#define wxUSE_GLCANVAS 1
15154EOF
15155
15156 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
15157 fi
15158fi
15159
15160if test -z "$TOOLKIT_VPATH" ; then
15161 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
15162fi
15163
15164if test -n "$TOOLKIT" ; then
15165 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
15166fi
15167
15168lib_unicode_suffix=
15169if test "$wxUSE_UNICODE" = "yes"; then
15170 lib_unicode_suffix=u
15171fi
15172
15173lib_debug_suffix=
15174if test "$wxUSE_DEBUG_FLAG" = "yes"; then
15175 lib_debug_suffix=d
15176fi
15177
15178TOOLCHAIN_NAME="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
15179TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
15180
15181if test "$cross_compiling" = "yes"; then
15182 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
15183 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
15184fi
15185
15186WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
15187WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
15188
15189WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15190WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15191
15192WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
15193WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
15194WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
15195WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15196
15197case "${host}" in
15198 *-*-cygwin* | *-*-mingw32* )
15199
15200
15201
15202 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
15203 WX_LIBRARY="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15204 WX_LIBRARY_GL="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15205 WX_LIBRARY_NAME_SHARED="${WX_LIBRARY}.${SO_SUFFIX}"
15206 WX_LIBRARY_NAME_SHARED_GL="${WX_LIBRARY_GL}.${SO_SUFFIX}"
15207 else
15208 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
15209 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15210 fi
15211 ;;
15212
15213 *-*-darwin* )
15214 if test "$wxUSE_MAC" = 1; then
15215 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.r"
15216 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.rsrc"
15217 fi
15218 ;;
15219esac
15220
15221WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
15222WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
15223
15224WXCONFIG_LIBS="-l${WX_LIBRARY}"
15225WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
15226
15227if test "$wxUSE_OPENGL" = "yes"; then
15228 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
15229 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
15230fi
15231
15232
15233
15234if test "$wxUSE_SHARED" = "yes"; then
15235 case "${host}" in
15236 *-pc-os2_emx | *-pc-os2-emx | \
15237 *-pc-msdosdjgpp )
15238 wxUSE_SHARED=no
15239 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
15240 ;;
15241 esac
15242fi
15243
15244if test "$wxUSE_SHARED" = "yes"; then
15245
15246 if test "$wxUSE_OPENGL" = "yes"; then
15247 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
15248 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
15249 else
15250 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
15251 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1}"
15252 fi
15253
15254 if test "$GCC" = "yes"; then
15255 PIC_FLAG="-fPIC"
15256 fi
15257
15258 SHARED_LD="${CXX} -shared -o"
15259
15260 case "${host}" in
15261 *-hp-hpux* )
15262 if test "$GCC" = "yes"; then
15263 SHARED_LD="${CXX} -shared ${PIC_FLAG} -o"
15264 else
15265 LDFLAGS="$LDFLAGS -L/usr/lib"
15266
15267 SHARED_LD="${CXX} -b -o"
15268 PIC_FLAG="+Z"
15269 fi
15270
15271 if test "$wxUSE_OPENGL" = "yes"; then
15272 WX_ALL_INSTALLED="preinstall_gl"
15273 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
15274 else
15275 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
15276 fi
15277 ;;
15278
15279 *-*-linux* )
15280 if test "$GCC" != "yes"; then
15281 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
15282echo "configure:15283: checking for Intel compiler" >&5
15283if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
15284 echo $ac_n "(cached) $ac_c" 1>&6
15285else
15286
15287 cat > conftest.$ac_ext <<EOF
15288#line 15289 "configure"
15289#include "confdefs.h"
15290
15291int main() {
15292
15293 #ifndef __INTEL_COMPILER
15294 #error Not icc
15295 #endif
15296
15297; return 0; }
15298EOF
15299if { (eval echo configure:15300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15300 rm -rf conftest*
15301 wx_cv_prog_icc=yes
15302else
15303 echo "configure: failed program was:" >&5
15304 cat conftest.$ac_ext >&5
15305 rm -rf conftest*
15306 wx_cv_prog_icc=no
15307
15308fi
15309rm -f conftest*
15310
15311fi
15312
15313echo "$ac_t""$wx_cv_prog_icc" 1>&6
15314 if test "$wx_cv_prog_icc" = "yes"; then
15315 PIC_FLAG="-KPIC"
15316 fi
15317 fi
15318
15319 if test "$wxUSE_SONAME" = "yes" ; then
15320 SONAME_FLAGS="-Wl,-soname,${WX_LIBRARY_LINK1}"
15321 SONAME_FLAGS_GL="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
15322 WX_TARGET_LIBRARY_SONAME="-Wl,-soname,\$(TARGETLIB_LINK1)"
15323 fi
15324 ;;
15325
15326 *-*-solaris2* )
15327 if test "$GCC" = yes ; then
15328 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
15329 else
15330 SHARED_LD="${CXX} -G -o"
15331 PIC_FLAG="-KPIC"
15332 SONAME_FLAGS="-h ${WX_LIBRARY_NAME_SHARED}"
15333 SONAME_FLAGS_GL="-h ${WX_LIBRARY_NAME_SHARED_GL}"
15334 fi
15335 ;;
15336
15337 *-*-darwin* )
15338 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
15339 CFLAGS="$CFLAGS -fno-common"
15340 CXXFLAGS="$CXXFLAGS -fno-common"
15341 SHARED_LD="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
15342 PIC_FLAG="-dynamic -fPIC"
15343 SONAME_FLAGS="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION}"
15344 SONAME_FLAGS_GL=${SONAME_FLAGS}
15345 ;;
15346
15347 *-*-aix* )
15348 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
15349set dummy makeC++SharedLib; ac_word=$2
15350echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15351echo "configure:15352: checking for $ac_word" >&5
15352if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
15353 echo $ac_n "(cached) $ac_c" 1>&6
15354else
15355 if test -n "$AIX_CXX_LD"; then
15356 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
15357else
15358 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
15359 ac_dummy="$PATH"
15360 for ac_dir in $ac_dummy; do
15361 test -z "$ac_dir" && ac_dir=.
15362 if test -f $ac_dir/$ac_word; then
15363 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
15364 break
15365 fi
15366 done
15367 IFS="$ac_save_ifs"
15368 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
15369fi
15370fi
15371AIX_CXX_LD="$ac_cv_prog_AIX_CXX_LD"
15372if test -n "$AIX_CXX_LD"; then
15373 echo "$ac_t""$AIX_CXX_LD" 1>&6
15374else
15375 echo "$ac_t""no" 1>&6
15376fi
15377
15378
15379 SHARED_LD="$(AIX_CXX_LD) -p 0 -o"
15380 ;;
15381
15382 *-*-cygwin* | *-*-mingw32* )
15383
15384 WX_LIBRARY_IMPORTLIB="${WX_LIBRARY_NAME_SHARED}.a"
15385
15386 SHARED_LD="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
15387 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
15388
15389 PIC_FLAG="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
15390
15391 if test "$wxUSE_OPENGL" = "yes"; then
15392 WX_ALL_INSTALLED="preinstall_gl"
15393 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
15394 else
15395 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
15396 fi
15397 ;;
15398
15399 *-*-beos* )
15400 SHARED_LD="${LD} -shared -o"
15401 ;;
15402
15403 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
15404 *-*-sunos4* | \
15405 *-*-irix5* | *-*-irix6* | \
15406 *-*-osf* | \
15407 *-*-dgux5* | \
15408 *-*-sysv5* )
15409 ;;
15410
15411 *)
15412 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
15413 esac
15414
15415 if test "x$WX_TARGET_LIBRARY" = "x"; then
15416 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
15417 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
15418 fi
15419
15420 WX_TARGET_LIBRARY_TYPE="so"
15421 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
15422fi
15423
15424if test "$wxUSE_SHARED" = "no"; then
15425
15426 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
15427 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
15428 fi
15429
15430 if test "$wxUSE_MAC" = 1; then
15431 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
15432 fi
15433
15434 if test "$wxUSE_OPENGL" = "yes"; then
15435 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
15436 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
15437 else
15438 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
15439 fi
15440
15441 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
15442 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
15443
15444 WX_TARGET_LIBRARY_TYPE="a"
15445 INSTALL_LIBRARY='$(INSTALL_DATA)'
15446
15447 STATIC_FLAG="yes"
15448else
15449 STATIC_FLAG="no"
15450fi
15451
15452if test "$wxUSE_MAC" = 1; then
15453 LIBWXMACRES="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
15454 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
15455 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
15456 # Extract the first word of "Rez", so it can be a program name with args.
15457set dummy Rez; ac_word=$2
15458echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15459echo "configure:15460: checking for $ac_word" >&5
15460if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
15461 echo $ac_n "(cached) $ac_c" 1>&6
15462else
15463 if test -n "$RESCOMP"; then
15464 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
15465else
15466 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
15467 ac_dummy="$PATH"
15468 for ac_dir in $ac_dummy; do
15469 test -z "$ac_dir" && ac_dir=.
15470 if test -f $ac_dir/$ac_word; then
15471 ac_cv_prog_RESCOMP="Rez"
15472 break
15473 fi
15474 done
15475 IFS="$ac_save_ifs"
15476 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
15477fi
15478fi
15479RESCOMP="$ac_cv_prog_RESCOMP"
15480if test -n "$RESCOMP"; then
15481 echo "$ac_t""$RESCOMP" 1>&6
15482else
15483 echo "$ac_t""no" 1>&6
15484fi
15485
15486 # Extract the first word of "DeRez", so it can be a program name with args.
15487set dummy DeRez; ac_word=$2
15488echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15489echo "configure:15490: checking for $ac_word" >&5
15490if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
15491 echo $ac_n "(cached) $ac_c" 1>&6
15492else
15493 if test -n "$DEREZ"; then
15494 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
15495else
15496 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
15497 ac_dummy="$PATH"
15498 for ac_dir in $ac_dummy; do
15499 test -z "$ac_dir" && ac_dir=.
15500 if test -f $ac_dir/$ac_word; then
15501 ac_cv_prog_DEREZ="DeRez"
15502 break
15503 fi
15504 done
15505 IFS="$ac_save_ifs"
15506 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
15507fi
15508fi
15509DEREZ="$ac_cv_prog_DEREZ"
15510if test -n "$DEREZ"; then
15511 echo "$ac_t""$DEREZ" 1>&6
15512else
15513 echo "$ac_t""no" 1>&6
15514fi
15515
15516 MACOSX_BUNDLE="bundle"
15517 if test "$wxUSE_SHARED" = "yes"; then
15518 LIBWXMACRESCOMP="\$(RESCOMP) -t APPL Carbon.r -o \$(BIN_PROGRAM)"
15519 LIBWXMACRESWXCONFIG="${RESCOMP} -t APPL Carbon.r -o"
15520 else
15521 LIBWXMACRESCOMP="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
15522 LIBWXMACRESWXCONFIG="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
15523 fi
15524else
15525 if test "$wxUSE_PM" = 1; then
15526 LIBWXMACRESCOMP="emxbind -ep \$(BIN_PROGRAM)"
15527 fi
15528fi
15529
15530
15531echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
15532echo "configure:15533: checking for ANSI C header files" >&5
15533if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
15534 echo $ac_n "(cached) $ac_c" 1>&6
15535else
15536 cat > conftest.$ac_ext <<EOF
15537#line 15538 "configure"
15538#include "confdefs.h"
15539#include <stdlib.h>
15540#include <stdarg.h>
15541#include <string.h>
15542#include <float.h>
15543EOF
15544ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15545{ (eval echo configure:15546: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15546ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15547if test -z "$ac_err"; then
15548 rm -rf conftest*
15549 ac_cv_header_stdc=yes
15550else
15551 echo "$ac_err" >&5
15552 echo "configure: failed program was:" >&5
15553 cat conftest.$ac_ext >&5
15554 rm -rf conftest*
15555 ac_cv_header_stdc=no
15556fi
15557rm -f conftest*
15558
15559if test $ac_cv_header_stdc = yes; then
15560 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15561cat > conftest.$ac_ext <<EOF
15562#line 15563 "configure"
15563#include "confdefs.h"
15564#include <string.h>
15565EOF
15566if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15567 egrep "memchr" >/dev/null 2>&1; then
15568 :
15569else
15570 rm -rf conftest*
15571 ac_cv_header_stdc=no
15572fi
15573rm -f conftest*
15574
15575fi
15576
15577if test $ac_cv_header_stdc = yes; then
15578 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15579cat > conftest.$ac_ext <<EOF
15580#line 15581 "configure"
15581#include "confdefs.h"
15582#include <stdlib.h>
15583EOF
15584if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15585 egrep "free" >/dev/null 2>&1; then
15586 :
15587else
15588 rm -rf conftest*
15589 ac_cv_header_stdc=no
15590fi
15591rm -f conftest*
15592
15593fi
15594
15595if test $ac_cv_header_stdc = yes; then
15596 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15597if test "$cross_compiling" = yes; then
15598 :
15599else
15600 cat > conftest.$ac_ext <<EOF
15601#line 15602 "configure"
15602#include "confdefs.h"
15603#include <ctype.h>
15604#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15605#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15606#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15607int main () { int i; for (i = 0; i < 256; i++)
15608if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
15609exit (0); }
15610
15611EOF
15612if { (eval echo configure:15613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
15613then
15614 :
15615else
15616 echo "configure: failed program was:" >&5
15617 cat conftest.$ac_ext >&5
15618 rm -fr conftest*
15619 ac_cv_header_stdc=no
15620fi
15621rm -fr conftest*
15622fi
15623
15624fi
15625fi
15626
15627echo "$ac_t""$ac_cv_header_stdc" 1>&6
15628if test $ac_cv_header_stdc = yes; then
15629 cat >> confdefs.h <<\EOF
15630#define STDC_HEADERS 1
15631EOF
15632
15633fi
15634
15635echo $ac_n "checking for mode_t""... $ac_c" 1>&6
15636echo "configure:15637: checking for mode_t" >&5
15637if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
15638 echo $ac_n "(cached) $ac_c" 1>&6
15639else
15640 cat > conftest.$ac_ext <<EOF
15641#line 15642 "configure"
15642#include "confdefs.h"
15643#include <sys/types.h>
15644#if STDC_HEADERS
15645#include <stdlib.h>
15646#include <stddef.h>
15647#endif
15648EOF
15649if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15650 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
15651 rm -rf conftest*
15652 ac_cv_type_mode_t=yes
15653else
15654 rm -rf conftest*
15655 ac_cv_type_mode_t=no
15656fi
15657rm -f conftest*
15658
15659fi
15660echo "$ac_t""$ac_cv_type_mode_t" 1>&6
15661if test $ac_cv_type_mode_t = no; then
15662 cat >> confdefs.h <<\EOF
15663#define mode_t int
15664EOF
15665
15666fi
15667
15668echo $ac_n "checking for off_t""... $ac_c" 1>&6
15669echo "configure:15670: checking for off_t" >&5
15670if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
15671 echo $ac_n "(cached) $ac_c" 1>&6
15672else
15673 cat > conftest.$ac_ext <<EOF
15674#line 15675 "configure"
15675#include "confdefs.h"
15676#include <sys/types.h>
15677#if STDC_HEADERS
15678#include <stdlib.h>
15679#include <stddef.h>
15680#endif
15681EOF
15682if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15683 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
15684 rm -rf conftest*
15685 ac_cv_type_off_t=yes
15686else
15687 rm -rf conftest*
15688 ac_cv_type_off_t=no
15689fi
15690rm -f conftest*
15691
15692fi
15693echo "$ac_t""$ac_cv_type_off_t" 1>&6
15694if test $ac_cv_type_off_t = no; then
15695 cat >> confdefs.h <<\EOF
15696#define off_t long
15697EOF
15698
15699fi
15700
15701echo $ac_n "checking for pid_t""... $ac_c" 1>&6
15702echo "configure:15703: checking for pid_t" >&5
15703if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
15704 echo $ac_n "(cached) $ac_c" 1>&6
15705else
15706 cat > conftest.$ac_ext <<EOF
15707#line 15708 "configure"
15708#include "confdefs.h"
15709#include <sys/types.h>
15710#if STDC_HEADERS
15711#include <stdlib.h>
15712#include <stddef.h>
15713#endif
15714EOF
15715if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15716 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
15717 rm -rf conftest*
15718 ac_cv_type_pid_t=yes
15719else
15720 rm -rf conftest*
15721 ac_cv_type_pid_t=no
15722fi
15723rm -f conftest*
15724
15725fi
15726echo "$ac_t""$ac_cv_type_pid_t" 1>&6
15727if test $ac_cv_type_pid_t = no; then
15728 cat >> confdefs.h <<\EOF
15729#define pid_t int
15730EOF
15731
15732fi
15733
15734echo $ac_n "checking for size_t""... $ac_c" 1>&6
15735echo "configure:15736: checking for size_t" >&5
15736if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
15737 echo $ac_n "(cached) $ac_c" 1>&6
15738else
15739 cat > conftest.$ac_ext <<EOF
15740#line 15741 "configure"
15741#include "confdefs.h"
15742#include <sys/types.h>
15743#if STDC_HEADERS
15744#include <stdlib.h>
15745#include <stddef.h>
15746#endif
15747EOF
15748if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15749 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
15750 rm -rf conftest*
15751 ac_cv_type_size_t=yes
15752else
15753 rm -rf conftest*
15754 ac_cv_type_size_t=no
15755fi
15756rm -f conftest*
15757
15758fi
15759echo "$ac_t""$ac_cv_type_size_t" 1>&6
15760if test $ac_cv_type_size_t = no; then
15761 cat >> confdefs.h <<\EOF
15762#define size_t unsigned
15763EOF
15764
15765fi
15766
15767echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
15768echo "configure:15769: checking for uid_t in sys/types.h" >&5
15769if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
15770 echo $ac_n "(cached) $ac_c" 1>&6
15771else
15772 cat > conftest.$ac_ext <<EOF
15773#line 15774 "configure"
15774#include "confdefs.h"
15775#include <sys/types.h>
15776EOF
15777if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15778 egrep "uid_t" >/dev/null 2>&1; then
15779 rm -rf conftest*
15780 ac_cv_type_uid_t=yes
15781else
15782 rm -rf conftest*
15783 ac_cv_type_uid_t=no
15784fi
15785rm -f conftest*
15786
15787fi
15788
15789echo "$ac_t""$ac_cv_type_uid_t" 1>&6
15790if test $ac_cv_type_uid_t = no; then
15791 cat >> confdefs.h <<\EOF
15792#define uid_t int
15793EOF
15794
15795 cat >> confdefs.h <<\EOF
15796#define gid_t int
15797EOF
15798
15799fi
15800
15801
15802
15803ac_ext=C
15804# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15805ac_cpp='$CXXCPP $CPPFLAGS'
15806ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15807ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15808cross_compiling=$ac_cv_prog_cxx_cross
15809
15810echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
15811echo "configure:15812: checking if size_t is unsigned int" >&5
15812if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
15813 echo $ac_n "(cached) $ac_c" 1>&6
15814else
15815 cat > conftest.$ac_ext <<EOF
15816#line 15817 "configure"
15817#include "confdefs.h"
15818#include <stddef.h>
15819int main() {
15820
15821 return 0; }
15822
15823 struct Foo { void foo(size_t); void foo(unsigned int); };
15824
15825 int bar() {
15826
15827; return 0; }
15828EOF
15829if { (eval echo configure:15830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15830 rm -rf conftest*
15831 wx_cv_size_t_is_uint=no
15832else
15833 echo "configure: failed program was:" >&5
15834 cat conftest.$ac_ext >&5
15835 rm -rf conftest*
15836 wx_cv_size_t_is_uint=yes
15837
15838fi
15839rm -f conftest*
15840
15841fi
15842
15843echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
15844
15845if test "$wx_cv_size_t_is_uint" = "yes"; then
15846 cat >> confdefs.h <<\EOF
15847#define wxSIZE_T_IS_UINT 1
15848EOF
15849
15850else
15851 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
15852echo "configure:15853: checking if size_t is unsigned long" >&5
15853if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
15854 echo $ac_n "(cached) $ac_c" 1>&6
15855else
15856 cat > conftest.$ac_ext <<EOF
15857#line 15858 "configure"
15858#include "confdefs.h"
15859#include <stddef.h>
15860int main() {
15861
15862 return 0; }
15863
15864 struct Foo { void foo(size_t); void foo(unsigned long); };
15865
15866 int bar() {
15867
15868; return 0; }
15869EOF
15870if { (eval echo configure:15871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15871 rm -rf conftest*
15872 wx_cv_size_t_is_ulong=no
15873else
15874 echo "configure: failed program was:" >&5
15875 cat conftest.$ac_ext >&5
15876 rm -rf conftest*
15877 wx_cv_size_t_is_ulong=yes
15878
15879fi
15880rm -f conftest*
15881
15882fi
15883
15884echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
15885
15886 if test "$wx_cv_size_t_is_ulong" = "yes"; then
15887 cat >> confdefs.h <<\EOF
15888#define wxSIZE_T_IS_ULONG 1
15889EOF
15890
15891 fi
15892fi
15893
15894ac_ext=c
15895# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15896ac_cpp='$CPP $CPPFLAGS'
15897ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15898ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15899cross_compiling=$ac_cv_prog_cc_cross
15900
15901
15902
15903echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
15904echo "configure:15905: checking for pw_gecos in struct passwd" >&5
15905if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
15906 echo $ac_n "(cached) $ac_c" 1>&6
15907else
15908
15909 cat > conftest.$ac_ext <<EOF
15910#line 15911 "configure"
15911#include "confdefs.h"
15912#include <pwd.h>
15913int main() {
15914
15915 char *p;
15916 struct passwd *pw;
15917 p = pw->pw_gecos;
15918
15919; return 0; }
15920EOF
15921if { (eval echo configure:15922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15922 rm -rf conftest*
15923
15924 wx_cv_struct_pw_gecos=yes
15925
15926else
15927 echo "configure: failed program was:" >&5
15928 cat conftest.$ac_ext >&5
15929 rm -rf conftest*
15930
15931 wx_cv_struct_pw_gecos=no
15932
15933
15934fi
15935rm -f conftest*
15936
15937
15938fi
15939
15940echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
15941
15942if test "$wx_cv_struct_pw_gecos" = "yes"; then
15943 cat >> confdefs.h <<\EOF
15944#define HAVE_PW_GECOS 1
15945EOF
15946
15947fi
15948
15949
15950if test "$wx_cv_sizeof_wchar_t" != "0"; then
15951 cat >> confdefs.h <<\EOF
15952#define wxUSE_WCHAR_T 1
15953EOF
15954
15955
15956 WCSLEN_FOUND=0
15957 WCHAR_LINK=
15958 for ac_func in wcslen
15959do
15960echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15961echo "configure:15962: checking for $ac_func" >&5
15962if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15963 echo $ac_n "(cached) $ac_c" 1>&6
15964else
15965 cat > conftest.$ac_ext <<EOF
15966#line 15967 "configure"
15967#include "confdefs.h"
15968/* System header to define __stub macros and hopefully few prototypes,
15969 which can conflict with char $ac_func(); below. */
15970#include <assert.h>
15971/* Override any gcc2 internal prototype to avoid an error. */
15972/* We use char because int might match the return type of a gcc2
15973 builtin and then its argument prototype would still apply. */
15974char $ac_func();
15975
15976int main() {
15977
15978/* The GNU C library defines this for functions which it implements
15979 to always fail with ENOSYS. Some functions are actually named
15980 something starting with __ and the normal name is an alias. */
15981#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15982choke me
15983#else
15984$ac_func();
15985#endif
15986
15987; return 0; }
15988EOF
15989if { (eval echo configure:15990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15990 rm -rf conftest*
15991 eval "ac_cv_func_$ac_func=yes"
15992else
15993 echo "configure: failed program was:" >&5
15994 cat conftest.$ac_ext >&5
15995 rm -rf conftest*
15996 eval "ac_cv_func_$ac_func=no"
15997fi
15998rm -f conftest*
15999fi
16000
16001if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16002 echo "$ac_t""yes" 1>&6
16003 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16004 cat >> confdefs.h <<EOF
16005#define $ac_tr_func 1
16006EOF
16007 WCSLEN_FOUND=1
16008else
16009 echo "$ac_t""no" 1>&6
16010fi
16011done
16012
16013
16014 if test "$WCSLEN_FOUND" = 0; then
16015 if test "$TOOLKIT" = "MSW"; then
16016 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
16017echo "configure:16018: checking for wcslen in -lmsvcrt" >&5
16018ac_lib_var=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
16019if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16020 echo $ac_n "(cached) $ac_c" 1>&6
16021else
16022 ac_save_LIBS="$LIBS"
16023LIBS="-lmsvcrt $LIBS"
16024cat > conftest.$ac_ext <<EOF
16025#line 16026 "configure"
16026#include "confdefs.h"
16027/* Override any gcc2 internal prototype to avoid an error. */
16028/* We use char because int might match the return type of a gcc2
16029 builtin and then its argument prototype would still apply. */
16030char wcslen();
16031
16032int main() {
16033wcslen()
16034; return 0; }
16035EOF
16036if { (eval echo configure:16037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16037 rm -rf conftest*
16038 eval "ac_cv_lib_$ac_lib_var=yes"
16039else
16040 echo "configure: failed program was:" >&5
16041 cat conftest.$ac_ext >&5
16042 rm -rf conftest*
16043 eval "ac_cv_lib_$ac_lib_var=no"
16044fi
16045rm -f conftest*
16046LIBS="$ac_save_LIBS"
16047
16048fi
16049if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16050 echo "$ac_t""yes" 1>&6
16051 WCHAR_OK=1
16052else
16053 echo "$ac_t""no" 1>&6
16054fi
16055
16056 else
16057 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
16058echo "configure:16059: checking for wcslen in -lw" >&5
16059ac_lib_var=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
16060if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16061 echo $ac_n "(cached) $ac_c" 1>&6
16062else
16063 ac_save_LIBS="$LIBS"
16064LIBS="-lw $LIBS"
16065cat > conftest.$ac_ext <<EOF
16066#line 16067 "configure"
16067#include "confdefs.h"
16068/* Override any gcc2 internal prototype to avoid an error. */
16069/* We use char because int might match the return type of a gcc2
16070 builtin and then its argument prototype would still apply. */
16071char wcslen();
16072
16073int main() {
16074wcslen()
16075; return 0; }
16076EOF
16077if { (eval echo configure:16078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16078 rm -rf conftest*
16079 eval "ac_cv_lib_$ac_lib_var=yes"
16080else
16081 echo "configure: failed program was:" >&5
16082 cat conftest.$ac_ext >&5
16083 rm -rf conftest*
16084 eval "ac_cv_lib_$ac_lib_var=no"
16085fi
16086rm -f conftest*
16087LIBS="$ac_save_LIBS"
16088
16089fi
16090if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16091 echo "$ac_t""yes" 1>&6
16092
16093 WCHAR_LINK=" -lw"
16094 WCSLEN_FOUND=1
16095
16096else
16097 echo "$ac_t""no" 1>&6
16098fi
16099
16100 fi
16101 fi
16102
16103 if test "$WCSLEN_FOUND" = 1; then
16104 cat >> confdefs.h <<\EOF
16105#define HAVE_WCSLEN 1
16106EOF
16107
16108 fi
16109
16110 for ac_func in wcsrtombs
16111do
16112echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16113echo "configure:16114: checking for $ac_func" >&5
16114if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16115 echo $ac_n "(cached) $ac_c" 1>&6
16116else
16117 cat > conftest.$ac_ext <<EOF
16118#line 16119 "configure"
16119#include "confdefs.h"
16120/* System header to define __stub macros and hopefully few prototypes,
16121 which can conflict with char $ac_func(); below. */
16122#include <assert.h>
16123/* Override any gcc2 internal prototype to avoid an error. */
16124/* We use char because int might match the return type of a gcc2
16125 builtin and then its argument prototype would still apply. */
16126char $ac_func();
16127
16128int main() {
16129
16130/* The GNU C library defines this for functions which it implements
16131 to always fail with ENOSYS. Some functions are actually named
16132 something starting with __ and the normal name is an alias. */
16133#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16134choke me
16135#else
16136$ac_func();
16137#endif
16138
16139; return 0; }
16140EOF
16141if { (eval echo configure:16142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16142 rm -rf conftest*
16143 eval "ac_cv_func_$ac_func=yes"
16144else
16145 echo "configure: failed program was:" >&5
16146 cat conftest.$ac_ext >&5
16147 rm -rf conftest*
16148 eval "ac_cv_func_$ac_func=no"
16149fi
16150rm -f conftest*
16151fi
16152
16153if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16154 echo "$ac_t""yes" 1>&6
16155 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16156 cat >> confdefs.h <<EOF
16157#define $ac_tr_func 1
16158EOF
16159
16160else
16161 echo "$ac_t""no" 1>&6
16162fi
16163done
16164
16165else
16166 echo "configure: warning: Wide character support is unavailable" 1>&2
16167fi
16168
16169
16170ac_ext=C
16171# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16172ac_cpp='$CXXCPP $CPPFLAGS'
16173ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16174ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16175cross_compiling=$ac_cv_prog_cxx_cross
16176
16177
16178for ac_func in vsnprintf
16179do
16180echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16181echo "configure:16182: checking for $ac_func" >&5
16182if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16183 echo $ac_n "(cached) $ac_c" 1>&6
16184else
16185 cat > conftest.$ac_ext <<EOF
16186#line 16187 "configure"
16187#include "confdefs.h"
16188/* System header to define __stub macros and hopefully few prototypes,
16189 which can conflict with char $ac_func(); below. */
16190#include <assert.h>
16191/* Override any gcc2 internal prototype to avoid an error. */
16192#ifdef __cplusplus
16193extern "C"
16194#endif
16195/* We use char because int might match the return type of a gcc2
16196 builtin and then its argument prototype would still apply. */
16197char $ac_func();
16198
16199int main() {
16200
16201/* The GNU C library defines this for functions which it implements
16202 to always fail with ENOSYS. Some functions are actually named
16203 something starting with __ and the normal name is an alias. */
16204#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16205choke me
16206#else
16207$ac_func();
16208#endif
16209
16210; return 0; }
16211EOF
16212if { (eval echo configure:16213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16213 rm -rf conftest*
16214 eval "ac_cv_func_$ac_func=yes"
16215else
16216 echo "configure: failed program was:" >&5
16217 cat conftest.$ac_ext >&5
16218 rm -rf conftest*
16219 eval "ac_cv_func_$ac_func=no"
16220fi
16221rm -f conftest*
16222fi
16223
16224if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16225 echo "$ac_t""yes" 1>&6
16226 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16227 cat >> confdefs.h <<EOF
16228#define $ac_tr_func 1
16229EOF
16230
16231else
16232 echo "$ac_t""no" 1>&6
16233fi
16234done
16235
16236
16237if test "$wxUSE_UNICODE" = yes; then
16238 for ac_func in fputwc wprintf vswprintf
16239do
16240echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16241echo "configure:16242: checking for $ac_func" >&5
16242if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16243 echo $ac_n "(cached) $ac_c" 1>&6
16244else
16245 cat > conftest.$ac_ext <<EOF
16246#line 16247 "configure"
16247#include "confdefs.h"
16248/* System header to define __stub macros and hopefully few prototypes,
16249 which can conflict with char $ac_func(); below. */
16250#include <assert.h>
16251/* Override any gcc2 internal prototype to avoid an error. */
16252#ifdef __cplusplus
16253extern "C"
16254#endif
16255/* We use char because int might match the return type of a gcc2
16256 builtin and then its argument prototype would still apply. */
16257char $ac_func();
16258
16259int main() {
16260
16261/* The GNU C library defines this for functions which it implements
16262 to always fail with ENOSYS. Some functions are actually named
16263 something starting with __ and the normal name is an alias. */
16264#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16265choke me
16266#else
16267$ac_func();
16268#endif
16269
16270; return 0; }
16271EOF
16272if { (eval echo configure:16273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16273 rm -rf conftest*
16274 eval "ac_cv_func_$ac_func=yes"
16275else
16276 echo "configure: failed program was:" >&5
16277 cat conftest.$ac_ext >&5
16278 rm -rf conftest*
16279 eval "ac_cv_func_$ac_func=no"
16280fi
16281rm -f conftest*
16282fi
16283
16284if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16285 echo "$ac_t""yes" 1>&6
16286 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16287 cat >> confdefs.h <<EOF
16288#define $ac_tr_func 1
16289EOF
16290
16291else
16292 echo "$ac_t""no" 1>&6
16293fi
16294done
16295
16296fi
16297
16298ac_ext=c
16299# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16300ac_cpp='$CPP $CPPFLAGS'
16301ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16302ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16303cross_compiling=$ac_cv_prog_cc_cross
16304
16305
16306
16307
16308if test "$TOOLKIT" != "MSW"; then
16309
16310
16311
16312ac_ext=C
16313# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16314ac_cpp='$CXXCPP $CPPFLAGS'
16315ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16316ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16317cross_compiling=$ac_cv_prog_cxx_cross
16318
16319
16320
16321 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
16322if test "${with_libiconv_prefix+set}" = set; then
16323 withval="$with_libiconv_prefix"
16324
16325 for dir in `echo "$withval" | tr : ' '`; do
16326 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
16327 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
16328 done
16329
16330fi
16331
16332
16333 echo $ac_n "checking for iconv""... $ac_c" 1>&6
16334echo "configure:16335: checking for iconv" >&5
16335if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
16336 echo $ac_n "(cached) $ac_c" 1>&6
16337else
16338
16339 am_cv_func_iconv="no, consider installing GNU libiconv"
16340 am_cv_lib_iconv=no
16341 cat > conftest.$ac_ext <<EOF
16342#line 16343 "configure"
16343#include "confdefs.h"
16344#include <stdlib.h>
16345#include <iconv.h>
16346int main() {
16347iconv_t cd = iconv_open("","");
16348 iconv(cd,NULL,NULL,NULL,NULL);
16349 iconv_close(cd);
16350; return 0; }
16351EOF
16352if { (eval echo configure:16353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16353 rm -rf conftest*
16354 am_cv_func_iconv=yes
16355else
16356 echo "configure: failed program was:" >&5
16357 cat conftest.$ac_ext >&5
16358fi
16359rm -f conftest*
16360 if test "$am_cv_func_iconv" != yes; then
16361 am_save_LIBS="$LIBS"
16362 LIBS="$LIBS -liconv"
16363 cat > conftest.$ac_ext <<EOF
16364#line 16365 "configure"
16365#include "confdefs.h"
16366#include <stdlib.h>
16367#include <iconv.h>
16368int main() {
16369iconv_t cd = iconv_open("","");
16370 iconv(cd,NULL,NULL,NULL,NULL);
16371 iconv_close(cd);
16372; return 0; }
16373EOF
16374if { (eval echo configure:16375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16375 rm -rf conftest*
16376 am_cv_lib_iconv=yes
16377 am_cv_func_iconv=yes
16378else
16379 echo "configure: failed program was:" >&5
16380 cat conftest.$ac_ext >&5
16381fi
16382rm -f conftest*
16383 LIBS="$am_save_LIBS"
16384 fi
16385
16386fi
16387
16388echo "$ac_t""$am_cv_func_iconv" 1>&6
16389 if test "$am_cv_func_iconv" = yes; then
16390 cat >> confdefs.h <<\EOF
16391#define HAVE_ICONV 1
16392EOF
16393
16394 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
16395echo "configure:16396: checking if iconv needs const" >&5
16396if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
16397 echo $ac_n "(cached) $ac_c" 1>&6
16398else
16399 cat > conftest.$ac_ext <<EOF
16400#line 16401 "configure"
16401#include "confdefs.h"
16402
16403#include <stdlib.h>
16404#include <iconv.h>
16405extern
16406#ifdef __cplusplus
16407"C"
16408#endif
16409#if defined(__STDC__) || defined(__cplusplus)
16410size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
16411#else
16412size_t iconv();
16413#endif
16414
16415int main() {
16416
16417; return 0; }
16418EOF
16419if { (eval echo configure:16420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16420 rm -rf conftest*
16421 wx_cv_func_iconv_const="no"
16422else
16423 echo "configure: failed program was:" >&5
16424 cat conftest.$ac_ext >&5
16425 rm -rf conftest*
16426 wx_cv_func_iconv_const="yes"
16427
16428fi
16429rm -f conftest*
16430
16431fi
16432
16433echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
16434
16435 iconv_const=
16436 if test "x$wx_cv_func_iconv_const" = "xyes"; then
16437 iconv_const="const"
16438 fi
16439
16440 cat >> confdefs.h <<EOF
16441#define ICONV_CONST $iconv_const
16442EOF
16443
16444 fi
16445 LIBICONV=
16446 if test "$am_cv_lib_iconv" = yes; then
16447 LIBICONV="-liconv"
16448 fi
16449
16450
16451LIBS="$LIBICONV $LIBS"
16452ac_ext=c
16453# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16454ac_cpp='$CPP $CPPFLAGS'
16455ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16456ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16457cross_compiling=$ac_cv_prog_cc_cross
16458
16459
16460if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
16461 for ac_func in sigaction
16462do
16463echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16464echo "configure:16465: checking for $ac_func" >&5
16465if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16466 echo $ac_n "(cached) $ac_c" 1>&6
16467else
16468 cat > conftest.$ac_ext <<EOF
16469#line 16470 "configure"
16470#include "confdefs.h"
16471/* System header to define __stub macros and hopefully few prototypes,
16472 which can conflict with char $ac_func(); below. */
16473#include <assert.h>
16474/* Override any gcc2 internal prototype to avoid an error. */
16475/* We use char because int might match the return type of a gcc2
16476 builtin and then its argument prototype would still apply. */
16477char $ac_func();
16478
16479int main() {
16480
16481/* The GNU C library defines this for functions which it implements
16482 to always fail with ENOSYS. Some functions are actually named
16483 something starting with __ and the normal name is an alias. */
16484#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16485choke me
16486#else
16487$ac_func();
16488#endif
16489
16490; return 0; }
16491EOF
16492if { (eval echo configure:16493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16493 rm -rf conftest*
16494 eval "ac_cv_func_$ac_func=yes"
16495else
16496 echo "configure: failed program was:" >&5
16497 cat conftest.$ac_ext >&5
16498 rm -rf conftest*
16499 eval "ac_cv_func_$ac_func=no"
16500fi
16501rm -f conftest*
16502fi
16503
16504if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16505 echo "$ac_t""yes" 1>&6
16506 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16507 cat >> confdefs.h <<EOF
16508#define $ac_tr_func 1
16509EOF
16510
16511else
16512 echo "$ac_t""no" 1>&6
16513fi
16514done
16515
16516
16517 if test "$ac_cv_func_sigaction" = "no"; then
16518 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
16519 wxUSE_ON_FATAL_EXCEPTION=no
16520 fi
16521
16522 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16523
16524 ac_ext=C
16525# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16526ac_cpp='$CXXCPP $CPPFLAGS'
16527ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16528ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16529cross_compiling=$ac_cv_prog_cxx_cross
16530
16531
16532 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
16533echo "configure:16534: checking for sa_handler type" >&5
16534if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
16535 echo $ac_n "(cached) $ac_c" 1>&6
16536else
16537
16538 cat > conftest.$ac_ext <<EOF
16539#line 16540 "configure"
16540#include "confdefs.h"
16541#include <signal.h>
16542int main() {
16543
16544 extern void testSigHandler(int);
16545
16546 struct sigaction sa;
16547 sa.sa_handler = testSigHandler;
16548
16549; return 0; }
16550EOF
16551if { (eval echo configure:16552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16552 rm -rf conftest*
16553
16554 wx_cv_type_sa_handler=int
16555
16556else
16557 echo "configure: failed program was:" >&5
16558 cat conftest.$ac_ext >&5
16559 rm -rf conftest*
16560
16561 wx_cv_type_sa_handler=void
16562
16563fi
16564rm -f conftest*
16565
16566fi
16567
16568echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
16569
16570 ac_ext=c
16571# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16572ac_cpp='$CPP $CPPFLAGS'
16573ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16574ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16575cross_compiling=$ac_cv_prog_cc_cross
16576
16577
16578 cat >> confdefs.h <<EOF
16579#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
16580EOF
16581
16582 fi
16583fi
16584
16585for ac_func in mkstemp mktemp
16586do
16587echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16588echo "configure:16589: checking for $ac_func" >&5
16589if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16590 echo $ac_n "(cached) $ac_c" 1>&6
16591else
16592 cat > conftest.$ac_ext <<EOF
16593#line 16594 "configure"
16594#include "confdefs.h"
16595/* System header to define __stub macros and hopefully few prototypes,
16596 which can conflict with char $ac_func(); below. */
16597#include <assert.h>
16598/* Override any gcc2 internal prototype to avoid an error. */
16599/* We use char because int might match the return type of a gcc2
16600 builtin and then its argument prototype would still apply. */
16601char $ac_func();
16602
16603int main() {
16604
16605/* The GNU C library defines this for functions which it implements
16606 to always fail with ENOSYS. Some functions are actually named
16607 something starting with __ and the normal name is an alias. */
16608#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16609choke me
16610#else
16611$ac_func();
16612#endif
16613
16614; return 0; }
16615EOF
16616if { (eval echo configure:16617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16617 rm -rf conftest*
16618 eval "ac_cv_func_$ac_func=yes"
16619else
16620 echo "configure: failed program was:" >&5
16621 cat conftest.$ac_ext >&5
16622 rm -rf conftest*
16623 eval "ac_cv_func_$ac_func=no"
16624fi
16625rm -f conftest*
16626fi
16627
16628if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16629 echo "$ac_t""yes" 1>&6
16630 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16631 cat >> confdefs.h <<EOF
16632#define $ac_tr_func 1
16633EOF
16634 break
16635else
16636 echo "$ac_t""no" 1>&6
16637fi
16638done
16639
16640
16641echo $ac_n "checking for statfs""... $ac_c" 1>&6
16642echo "configure:16643: checking for statfs" >&5
16643if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
16644 echo $ac_n "(cached) $ac_c" 1>&6
16645else
16646 cat > conftest.$ac_ext <<EOF
16647#line 16648 "configure"
16648#include "confdefs.h"
16649
16650 #if defined(__BSD__)
16651 #include <sys/param.h>
16652 #include <sys/mount.h>
16653 #else
16654 #include <sys/vfs.h>
16655 #endif
16656
16657int main() {
16658
16659 long l;
16660 struct statfs fs;
16661 statfs("/", &fs);
16662 l = fs.f_bsize;
16663 l += fs.f_blocks;
16664 l += fs.f_bavail;
16665
16666; return 0; }
16667EOF
16668if { (eval echo configure:16669: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16669 rm -rf conftest*
16670
16671 wx_cv_func_statfs=yes
16672
16673else
16674 echo "configure: failed program was:" >&5
16675 cat conftest.$ac_ext >&5
16676 rm -rf conftest*
16677
16678 wx_cv_func_statfs=no
16679
16680
16681fi
16682rm -f conftest*
16683
16684fi
16685
16686echo "$ac_t""$wx_cv_func_statfs" 1>&6
16687
16688if test "$wx_cv_func_statfs" = "yes"; then
16689 cat >> confdefs.h <<\EOF
16690#define HAVE_STATFS 1
16691EOF
16692
16693else
16694 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
16695echo "configure:16696: checking for statvfs" >&5
16696if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
16697 echo $ac_n "(cached) $ac_c" 1>&6
16698else
16699 cat > conftest.$ac_ext <<EOF
16700#line 16701 "configure"
16701#include "confdefs.h"
16702
16703 #include <sys/statvfs.h>
16704
16705int main() {
16706
16707 long l;
16708 struct statvfs fs;
16709 statvfs("/", &fs);
16710 l = fs.f_bsize;
16711 l += fs.f_blocks;
16712 l += fs.f_bavail;
16713
16714; return 0; }
16715EOF
16716if { (eval echo configure:16717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16717 rm -rf conftest*
16718
16719 wx_cv_func_statvfs=yes
16720
16721else
16722 echo "configure: failed program was:" >&5
16723 cat conftest.$ac_ext >&5
16724 rm -rf conftest*
16725
16726 wx_cv_func_statvfs=no
16727
16728
16729fi
16730rm -f conftest*
16731
16732fi
16733
16734echo "$ac_t""$wx_cv_func_statvfs" 1>&6
16735
16736 if test "$wx_cv_func_statvfs" = "yes"; then
16737 cat >> confdefs.h <<\EOF
16738#define HAVE_STATVFS 1
16739EOF
16740
16741 else
16742 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
16743 fi
16744fi
16745
16746if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16747 for ac_func in fcntl flock
16748do
16749echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16750echo "configure:16751: checking for $ac_func" >&5
16751if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16752 echo $ac_n "(cached) $ac_c" 1>&6
16753else
16754 cat > conftest.$ac_ext <<EOF
16755#line 16756 "configure"
16756#include "confdefs.h"
16757/* System header to define __stub macros and hopefully few prototypes,
16758 which can conflict with char $ac_func(); below. */
16759#include <assert.h>
16760/* Override any gcc2 internal prototype to avoid an error. */
16761/* We use char because int might match the return type of a gcc2
16762 builtin and then its argument prototype would still apply. */
16763char $ac_func();
16764
16765int main() {
16766
16767/* The GNU C library defines this for functions which it implements
16768 to always fail with ENOSYS. Some functions are actually named
16769 something starting with __ and the normal name is an alias. */
16770#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16771choke me
16772#else
16773$ac_func();
16774#endif
16775
16776; return 0; }
16777EOF
16778if { (eval echo configure:16779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16779 rm -rf conftest*
16780 eval "ac_cv_func_$ac_func=yes"
16781else
16782 echo "configure: failed program was:" >&5
16783 cat conftest.$ac_ext >&5
16784 rm -rf conftest*
16785 eval "ac_cv_func_$ac_func=no"
16786fi
16787rm -f conftest*
16788fi
16789
16790if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16791 echo "$ac_t""yes" 1>&6
16792 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16793 cat >> confdefs.h <<EOF
16794#define $ac_tr_func 1
16795EOF
16796 break
16797else
16798 echo "$ac_t""no" 1>&6
16799fi
16800done
16801
16802
16803 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
16804 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
16805 wxUSE_SNGLINST_CHECKER=no
16806 fi
16807fi
16808
16809for ac_func in timegm
16810do
16811echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16812echo "configure:16813: checking for $ac_func" >&5
16813if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16814 echo $ac_n "(cached) $ac_c" 1>&6
16815else
16816 cat > conftest.$ac_ext <<EOF
16817#line 16818 "configure"
16818#include "confdefs.h"
16819/* System header to define __stub macros and hopefully few prototypes,
16820 which can conflict with char $ac_func(); below. */
16821#include <assert.h>
16822/* Override any gcc2 internal prototype to avoid an error. */
16823/* We use char because int might match the return type of a gcc2
16824 builtin and then its argument prototype would still apply. */
16825char $ac_func();
16826
16827int main() {
16828
16829/* The GNU C library defines this for functions which it implements
16830 to always fail with ENOSYS. Some functions are actually named
16831 something starting with __ and the normal name is an alias. */
16832#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16833choke me
16834#else
16835$ac_func();
16836#endif
16837
16838; return 0; }
16839EOF
16840if { (eval echo configure:16841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16841 rm -rf conftest*
16842 eval "ac_cv_func_$ac_func=yes"
16843else
16844 echo "configure: failed program was:" >&5
16845 cat conftest.$ac_ext >&5
16846 rm -rf conftest*
16847 eval "ac_cv_func_$ac_func=no"
16848fi
16849rm -f conftest*
16850fi
16851
16852if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16853 echo "$ac_t""yes" 1>&6
16854 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16855 cat >> confdefs.h <<EOF
16856#define $ac_tr_func 1
16857EOF
16858
16859else
16860 echo "$ac_t""no" 1>&6
16861fi
16862done
16863
16864
16865for ac_func in putenv setenv
16866do
16867echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16868echo "configure:16869: checking for $ac_func" >&5
16869if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16870 echo $ac_n "(cached) $ac_c" 1>&6
16871else
16872 cat > conftest.$ac_ext <<EOF
16873#line 16874 "configure"
16874#include "confdefs.h"
16875/* System header to define __stub macros and hopefully few prototypes,
16876 which can conflict with char $ac_func(); below. */
16877#include <assert.h>
16878/* Override any gcc2 internal prototype to avoid an error. */
16879/* We use char because int might match the return type of a gcc2
16880 builtin and then its argument prototype would still apply. */
16881char $ac_func();
16882
16883int main() {
16884
16885/* The GNU C library defines this for functions which it implements
16886 to always fail with ENOSYS. Some functions are actually named
16887 something starting with __ and the normal name is an alias. */
16888#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16889choke me
16890#else
16891$ac_func();
16892#endif
16893
16894; return 0; }
16895EOF
16896if { (eval echo configure:16897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16897 rm -rf conftest*
16898 eval "ac_cv_func_$ac_func=yes"
16899else
16900 echo "configure: failed program was:" >&5
16901 cat conftest.$ac_ext >&5
16902 rm -rf conftest*
16903 eval "ac_cv_func_$ac_func=no"
16904fi
16905rm -f conftest*
16906fi
16907
16908if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16909 echo "$ac_t""yes" 1>&6
16910 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16911 cat >> confdefs.h <<EOF
16912#define $ac_tr_func 1
16913EOF
16914 break
16915else
16916 echo "$ac_t""no" 1>&6
16917fi
16918done
16919
16920
16921HAVE_SOME_SLEEP_FUNC=0
16922if test "$USE_BEOS" = 1; then
16923 cat >> confdefs.h <<\EOF
16924#define HAVE_SLEEP 1
16925EOF
16926
16927 HAVE_SOME_SLEEP_FUNC=1
16928fi
16929
16930if test "$USE_DARWIN" = 1; then
16931 cat >> confdefs.h <<\EOF
16932#define HAVE_USLEEP 1
16933EOF
16934
16935 HAVE_SOME_SLEEP_FUNC=1
16936fi
16937
16938if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
16939 POSIX4_LINK=
16940 for ac_func in nanosleep
16941do
16942echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16943echo "configure:16944: checking for $ac_func" >&5
16944if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16945 echo $ac_n "(cached) $ac_c" 1>&6
16946else
16947 cat > conftest.$ac_ext <<EOF
16948#line 16949 "configure"
16949#include "confdefs.h"
16950/* System header to define __stub macros and hopefully few prototypes,
16951 which can conflict with char $ac_func(); below. */
16952#include <assert.h>
16953/* Override any gcc2 internal prototype to avoid an error. */
16954/* We use char because int might match the return type of a gcc2
16955 builtin and then its argument prototype would still apply. */
16956char $ac_func();
16957
16958int main() {
16959
16960/* The GNU C library defines this for functions which it implements
16961 to always fail with ENOSYS. Some functions are actually named
16962 something starting with __ and the normal name is an alias. */
16963#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16964choke me
16965#else
16966$ac_func();
16967#endif
16968
16969; return 0; }
16970EOF
16971if { (eval echo configure:16972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16972 rm -rf conftest*
16973 eval "ac_cv_func_$ac_func=yes"
16974else
16975 echo "configure: failed program was:" >&5
16976 cat conftest.$ac_ext >&5
16977 rm -rf conftest*
16978 eval "ac_cv_func_$ac_func=no"
16979fi
16980rm -f conftest*
16981fi
16982
16983if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16984 echo "$ac_t""yes" 1>&6
16985 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16986 cat >> confdefs.h <<EOF
16987#define $ac_tr_func 1
16988EOF
16989 cat >> confdefs.h <<\EOF
16990#define HAVE_NANOSLEEP 1
16991EOF
16992
16993else
16994 echo "$ac_t""no" 1>&6
16995echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
16996echo "configure:16997: checking for nanosleep in -lposix4" >&5
16997ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
16998if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16999 echo $ac_n "(cached) $ac_c" 1>&6
17000else
17001 ac_save_LIBS="$LIBS"
17002LIBS="-lposix4 $LIBS"
17003cat > conftest.$ac_ext <<EOF
17004#line 17005 "configure"
17005#include "confdefs.h"
17006/* Override any gcc2 internal prototype to avoid an error. */
17007/* We use char because int might match the return type of a gcc2
17008 builtin and then its argument prototype would still apply. */
17009char nanosleep();
17010
17011int main() {
17012nanosleep()
17013; return 0; }
17014EOF
17015if { (eval echo configure:17016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17016 rm -rf conftest*
17017 eval "ac_cv_lib_$ac_lib_var=yes"
17018else
17019 echo "configure: failed program was:" >&5
17020 cat conftest.$ac_ext >&5
17021 rm -rf conftest*
17022 eval "ac_cv_lib_$ac_lib_var=no"
17023fi
17024rm -f conftest*
17025LIBS="$ac_save_LIBS"
17026
17027fi
17028if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17029 echo "$ac_t""yes" 1>&6
17030
17031 cat >> confdefs.h <<\EOF
17032#define HAVE_NANOSLEEP 1
17033EOF
17034
17035 POSIX4_LINK=" -lposix4"
17036
17037else
17038 echo "$ac_t""no" 1>&6
17039
17040 for ac_func in usleep
17041do
17042echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17043echo "configure:17044: checking for $ac_func" >&5
17044if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17045 echo $ac_n "(cached) $ac_c" 1>&6
17046else
17047 cat > conftest.$ac_ext <<EOF
17048#line 17049 "configure"
17049#include "confdefs.h"
17050/* System header to define __stub macros and hopefully few prototypes,
17051 which can conflict with char $ac_func(); below. */
17052#include <assert.h>
17053/* Override any gcc2 internal prototype to avoid an error. */
17054/* We use char because int might match the return type of a gcc2
17055 builtin and then its argument prototype would still apply. */
17056char $ac_func();
17057
17058int main() {
17059
17060/* The GNU C library defines this for functions which it implements
17061 to always fail with ENOSYS. Some functions are actually named
17062 something starting with __ and the normal name is an alias. */
17063#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17064choke me
17065#else
17066$ac_func();
17067#endif
17068
17069; return 0; }
17070EOF
17071if { (eval echo configure:17072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17072 rm -rf conftest*
17073 eval "ac_cv_func_$ac_func=yes"
17074else
17075 echo "configure: failed program was:" >&5
17076 cat conftest.$ac_ext >&5
17077 rm -rf conftest*
17078 eval "ac_cv_func_$ac_func=no"
17079fi
17080rm -f conftest*
17081fi
17082
17083if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17084 echo "$ac_t""yes" 1>&6
17085 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17086 cat >> confdefs.h <<EOF
17087#define $ac_tr_func 1
17088EOF
17089 cat >> confdefs.h <<\EOF
17090#define HAVE_USLEEP 1
17091EOF
17092
17093else
17094 echo "$ac_t""no" 1>&6
17095echo "configure: warning: wxSleep() function will not work" 1>&2
17096
17097fi
17098done
17099
17100
17101
17102fi
17103
17104
17105
17106fi
17107done
17108
17109fi
17110
17111for ac_func in uname gethostname
17112do
17113echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17114echo "configure:17115: checking for $ac_func" >&5
17115if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17116 echo $ac_n "(cached) $ac_c" 1>&6
17117else
17118 cat > conftest.$ac_ext <<EOF
17119#line 17120 "configure"
17120#include "confdefs.h"
17121/* System header to define __stub macros and hopefully few prototypes,
17122 which can conflict with char $ac_func(); below. */
17123#include <assert.h>
17124/* Override any gcc2 internal prototype to avoid an error. */
17125/* We use char because int might match the return type of a gcc2
17126 builtin and then its argument prototype would still apply. */
17127char $ac_func();
17128
17129int main() {
17130
17131/* The GNU C library defines this for functions which it implements
17132 to always fail with ENOSYS. Some functions are actually named
17133 something starting with __ and the normal name is an alias. */
17134#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17135choke me
17136#else
17137$ac_func();
17138#endif
17139
17140; return 0; }
17141EOF
17142if { (eval echo configure:17143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17143 rm -rf conftest*
17144 eval "ac_cv_func_$ac_func=yes"
17145else
17146 echo "configure: failed program was:" >&5
17147 cat conftest.$ac_ext >&5
17148 rm -rf conftest*
17149 eval "ac_cv_func_$ac_func=no"
17150fi
17151rm -f conftest*
17152fi
17153
17154if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17155 echo "$ac_t""yes" 1>&6
17156 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17157 cat >> confdefs.h <<EOF
17158#define $ac_tr_func 1
17159EOF
17160 break
17161else
17162 echo "$ac_t""no" 1>&6
17163fi
17164done
17165
17166
17167
17168ac_ext=C
17169# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17170ac_cpp='$CXXCPP $CPPFLAGS'
17171ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17172ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17173cross_compiling=$ac_cv_prog_cxx_cross
17174
17175
17176for ac_func in strtok_r
17177do
17178echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17179echo "configure:17180: checking for $ac_func" >&5
17180if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17181 echo $ac_n "(cached) $ac_c" 1>&6
17182else
17183 cat > conftest.$ac_ext <<EOF
17184#line 17185 "configure"
17185#include "confdefs.h"
17186/* System header to define __stub macros and hopefully few prototypes,
17187 which can conflict with char $ac_func(); below. */
17188#include <assert.h>
17189/* Override any gcc2 internal prototype to avoid an error. */
17190#ifdef __cplusplus
17191extern "C"
17192#endif
17193/* We use char because int might match the return type of a gcc2
17194 builtin and then its argument prototype would still apply. */
17195char $ac_func();
17196
17197int main() {
17198
17199/* The GNU C library defines this for functions which it implements
17200 to always fail with ENOSYS. Some functions are actually named
17201 something starting with __ and the normal name is an alias. */
17202#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17203choke me
17204#else
17205$ac_func();
17206#endif
17207
17208; return 0; }
17209EOF
17210if { (eval echo configure:17211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17211 rm -rf conftest*
17212 eval "ac_cv_func_$ac_func=yes"
17213else
17214 echo "configure: failed program was:" >&5
17215 cat conftest.$ac_ext >&5
17216 rm -rf conftest*
17217 eval "ac_cv_func_$ac_func=no"
17218fi
17219rm -f conftest*
17220fi
17221
17222if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17223 echo "$ac_t""yes" 1>&6
17224 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17225 cat >> confdefs.h <<EOF
17226#define $ac_tr_func 1
17227EOF
17228
17229else
17230 echo "$ac_t""no" 1>&6
17231fi
17232done
17233
17234
17235ac_ext=c
17236# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17237ac_cpp='$CPP $CPPFLAGS'
17238ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17239ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17240cross_compiling=$ac_cv_prog_cc_cross
17241
17242
17243INET_LINK=
17244for ac_func in inet_addr
17245do
17246echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17247echo "configure:17248: checking for $ac_func" >&5
17248if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17249 echo $ac_n "(cached) $ac_c" 1>&6
17250else
17251 cat > conftest.$ac_ext <<EOF
17252#line 17253 "configure"
17253#include "confdefs.h"
17254/* System header to define __stub macros and hopefully few prototypes,
17255 which can conflict with char $ac_func(); below. */
17256#include <assert.h>
17257/* Override any gcc2 internal prototype to avoid an error. */
17258/* We use char because int might match the return type of a gcc2
17259 builtin and then its argument prototype would still apply. */
17260char $ac_func();
17261
17262int main() {
17263
17264/* The GNU C library defines this for functions which it implements
17265 to always fail with ENOSYS. Some functions are actually named
17266 something starting with __ and the normal name is an alias. */
17267#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17268choke me
17269#else
17270$ac_func();
17271#endif
17272
17273; return 0; }
17274EOF
17275if { (eval echo configure:17276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17276 rm -rf conftest*
17277 eval "ac_cv_func_$ac_func=yes"
17278else
17279 echo "configure: failed program was:" >&5
17280 cat conftest.$ac_ext >&5
17281 rm -rf conftest*
17282 eval "ac_cv_func_$ac_func=no"
17283fi
17284rm -f conftest*
17285fi
17286
17287if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17288 echo "$ac_t""yes" 1>&6
17289 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17290 cat >> confdefs.h <<EOF
17291#define $ac_tr_func 1
17292EOF
17293 cat >> confdefs.h <<\EOF
17294#define HAVE_INET_ADDR 1
17295EOF
17296
17297else
17298 echo "$ac_t""no" 1>&6
17299echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
17300echo "configure:17301: checking for inet_addr in -lnsl" >&5
17301ac_lib_var=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
17302if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17303 echo $ac_n "(cached) $ac_c" 1>&6
17304else
17305 ac_save_LIBS="$LIBS"
17306LIBS="-lnsl $LIBS"
17307cat > conftest.$ac_ext <<EOF
17308#line 17309 "configure"
17309#include "confdefs.h"
17310/* Override any gcc2 internal prototype to avoid an error. */
17311/* We use char because int might match the return type of a gcc2
17312 builtin and then its argument prototype would still apply. */
17313char inet_addr();
17314
17315int main() {
17316inet_addr()
17317; return 0; }
17318EOF
17319if { (eval echo configure:17320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17320 rm -rf conftest*
17321 eval "ac_cv_lib_$ac_lib_var=yes"
17322else
17323 echo "configure: failed program was:" >&5
17324 cat conftest.$ac_ext >&5
17325 rm -rf conftest*
17326 eval "ac_cv_lib_$ac_lib_var=no"
17327fi
17328rm -f conftest*
17329LIBS="$ac_save_LIBS"
17330
17331fi
17332if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17333 echo "$ac_t""yes" 1>&6
17334 INET_LINK="nsl"
17335else
17336 echo "$ac_t""no" 1>&6
17337echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
17338echo "configure:17339: checking for inet_addr in -lresolv" >&5
17339ac_lib_var=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
17340if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17341 echo $ac_n "(cached) $ac_c" 1>&6
17342else
17343 ac_save_LIBS="$LIBS"
17344LIBS="-lresolv $LIBS"
17345cat > conftest.$ac_ext <<EOF
17346#line 17347 "configure"
17347#include "confdefs.h"
17348/* Override any gcc2 internal prototype to avoid an error. */
17349/* We use char because int might match the return type of a gcc2
17350 builtin and then its argument prototype would still apply. */
17351char inet_addr();
17352
17353int main() {
17354inet_addr()
17355; return 0; }
17356EOF
17357if { (eval echo configure:17358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17358 rm -rf conftest*
17359 eval "ac_cv_lib_$ac_lib_var=yes"
17360else
17361 echo "configure: failed program was:" >&5
17362 cat conftest.$ac_ext >&5
17363 rm -rf conftest*
17364 eval "ac_cv_lib_$ac_lib_var=no"
17365fi
17366rm -f conftest*
17367LIBS="$ac_save_LIBS"
17368
17369fi
17370if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17371 echo "$ac_t""yes" 1>&6
17372 INET_LINK="resolv"
17373else
17374 echo "$ac_t""no" 1>&6
17375echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
17376echo "configure:17377: checking for inet_addr in -lsocket" >&5
17377ac_lib_var=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
17378if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17379 echo $ac_n "(cached) $ac_c" 1>&6
17380else
17381 ac_save_LIBS="$LIBS"
17382LIBS="-lsocket $LIBS"
17383cat > conftest.$ac_ext <<EOF
17384#line 17385 "configure"
17385#include "confdefs.h"
17386/* Override any gcc2 internal prototype to avoid an error. */
17387/* We use char because int might match the return type of a gcc2
17388 builtin and then its argument prototype would still apply. */
17389char inet_addr();
17390
17391int main() {
17392inet_addr()
17393; return 0; }
17394EOF
17395if { (eval echo configure:17396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17396 rm -rf conftest*
17397 eval "ac_cv_lib_$ac_lib_var=yes"
17398else
17399 echo "configure: failed program was:" >&5
17400 cat conftest.$ac_ext >&5
17401 rm -rf conftest*
17402 eval "ac_cv_lib_$ac_lib_var=no"
17403fi
17404rm -f conftest*
17405LIBS="$ac_save_LIBS"
17406
17407fi
17408if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17409 echo "$ac_t""yes" 1>&6
17410 INET_LINK="socket"
17411
17412else
17413 echo "$ac_t""no" 1>&6
17414fi
17415
17416
17417fi
17418
17419
17420fi
17421
17422
17423
17424fi
17425done
17426
17427
17428for ac_func in inet_aton
17429do
17430echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17431echo "configure:17432: checking for $ac_func" >&5
17432if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17433 echo $ac_n "(cached) $ac_c" 1>&6
17434else
17435 cat > conftest.$ac_ext <<EOF
17436#line 17437 "configure"
17437#include "confdefs.h"
17438/* System header to define __stub macros and hopefully few prototypes,
17439 which can conflict with char $ac_func(); below. */
17440#include <assert.h>
17441/* Override any gcc2 internal prototype to avoid an error. */
17442/* We use char because int might match the return type of a gcc2
17443 builtin and then its argument prototype would still apply. */
17444char $ac_func();
17445
17446int main() {
17447
17448/* The GNU C library defines this for functions which it implements
17449 to always fail with ENOSYS. Some functions are actually named
17450 something starting with __ and the normal name is an alias. */
17451#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17452choke me
17453#else
17454$ac_func();
17455#endif
17456
17457; return 0; }
17458EOF
17459if { (eval echo configure:17460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17460 rm -rf conftest*
17461 eval "ac_cv_func_$ac_func=yes"
17462else
17463 echo "configure: failed program was:" >&5
17464 cat conftest.$ac_ext >&5
17465 rm -rf conftest*
17466 eval "ac_cv_func_$ac_func=no"
17467fi
17468rm -f conftest*
17469fi
17470
17471if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17472 echo "$ac_t""yes" 1>&6
17473 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17474 cat >> confdefs.h <<EOF
17475#define $ac_tr_func 1
17476EOF
17477 cat >> confdefs.h <<\EOF
17478#define HAVE_INET_ATON 1
17479EOF
17480
17481else
17482 echo "$ac_t""no" 1>&6
17483 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
17484echo "configure:17485: checking for inet_aton in -l$INET_LINK" >&5
17485ac_lib_var=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
17486if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17487 echo $ac_n "(cached) $ac_c" 1>&6
17488else
17489 ac_save_LIBS="$LIBS"
17490LIBS="-l$INET_LINK $LIBS"
17491cat > conftest.$ac_ext <<EOF
17492#line 17493 "configure"
17493#include "confdefs.h"
17494/* Override any gcc2 internal prototype to avoid an error. */
17495/* We use char because int might match the return type of a gcc2
17496 builtin and then its argument prototype would still apply. */
17497char inet_aton();
17498
17499int main() {
17500inet_aton()
17501; return 0; }
17502EOF
17503if { (eval echo configure:17504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17504 rm -rf conftest*
17505 eval "ac_cv_lib_$ac_lib_var=yes"
17506else
17507 echo "configure: failed program was:" >&5
17508 cat conftest.$ac_ext >&5
17509 rm -rf conftest*
17510 eval "ac_cv_lib_$ac_lib_var=no"
17511fi
17512rm -f conftest*
17513LIBS="$ac_save_LIBS"
17514
17515fi
17516if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17517 echo "$ac_t""yes" 1>&6
17518 cat >> confdefs.h <<\EOF
17519#define HAVE_INET_ATON 1
17520EOF
17521
17522else
17523 echo "$ac_t""no" 1>&6
17524fi
17525
17526
17527fi
17528done
17529
17530
17531if test "x$INET_LINK" != "x"; then
17532 cat >> confdefs.h <<\EOF
17533#define HAVE_INET_ADDR 1
17534EOF
17535
17536 INET_LINK=" -l$INET_LINK"
17537fi
17538
17539fi
17540
17541
17542cat > confcache <<\EOF
17543# This file is a shell script that caches the results of configure
17544# tests run on this system so they can be shared between configure
17545# scripts and configure runs. It is not useful on other systems.
17546# If it contains results you don't want to keep, you may remove or edit it.
17547#
17548# By default, configure uses ./config.cache as the cache file,
17549# creating it if it does not exist already. You can give configure
17550# the --cache-file=FILE option to use a different cache file; that is
17551# what configure does when it calls configure scripts in
17552# subdirectories, so they share the cache.
17553# Giving --cache-file=/dev/null disables caching, for debugging configure.
17554# config.status only pays attention to the cache file if you give it the
17555# --recheck option to rerun configure.
17556#
17557EOF
17558# The following way of writing the cache mishandles newlines in values,
17559# but we know of no workaround that is simple, portable, and efficient.
17560# So, don't put newlines in cache variables' values.
17561# Ultrix sh set writes to stderr and can't be redirected directly,
17562# and sets the high bit in the cache file unless we assign to the vars.
17563(set) 2>&1 |
17564 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17565 *ac_space=\ *)
17566 # `set' does not quote correctly, so add quotes (double-quote substitution
17567 # turns \\\\ into \\, and sed turns \\ into \).
17568 sed -n \
17569 -e "s/'/'\\\\''/g" \
17570 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17571 ;;
17572 *)
17573 # `set' quotes correctly as required by POSIX, so do not add quotes.
17574 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17575 ;;
17576 esac >> confcache
17577if cmp -s $cache_file confcache; then
17578 :
17579else
17580 if test -w $cache_file; then
17581 echo "updating cache $cache_file"
17582 cat confcache > $cache_file
17583 else
17584 echo "not updating unwritable cache $cache_file"
17585 fi
17586fi
17587rm -f confcache
17588
17589
17590
17591CPP_MT_FLAG=
17592if test "$TOOLKIT" != "MSW"; then
17593
17594
17595 THREADS_LINK=
17596 THREADS_CFLAGS=
17597
17598 if test "$wxUSE_THREADS" = "yes" ; then
17599 if test "$wxUSE_WINE" = 1 ; then
17600 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
17601 wxUSE_THREADS="no"
17602 elif test "$USE_BEOS" = 1; then
17603 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
17604 wxUSE_THREADS="no"
17605 fi
17606 fi
17607
17608 if test "$wxUSE_THREADS" = "yes" ; then
17609
17610
17611 THREAD_OPTS="-pthread"
17612 case "${host}" in
17613 *-*-solaris2* | *-*-sunos4* )
17614 if test "x$GCC" = "xyes"; then
17615 THREAD_OPTS="-pthreads $THREAD_OPTS"
17616 else
17617 THREAD_OPTS="-mt $THREAD_OPTS"
17618 fi
17619 ;;
17620 *-*-freebsd*)
17621 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
17622 ;;
17623 *-*-darwin* | *-*-cygwin* )
17624 THREAD_OPTS=""
17625 ;;
17626 *-*-aix*)
17627 THREAD_OPTS="pthreads"
17628 ;;
17629 esac
17630
17631 THREAD_OPTS="$THREAD_OPTS pthread none"
17632
17633 THREADS_OK=no
17634 for flag in $THREAD_OPTS; do
17635 case $flag in
17636 none)
17637 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
17638echo "configure:17639: checking whether pthreads work without any flags" >&5
17639 ;;
17640
17641 -*)
17642 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
17643echo "configure:17644: checking whether pthreads work with $flag" >&5
17644 THREADS_CFLAGS="$flag"
17645 ;;
17646
17647 *)
17648 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
17649echo "configure:17650: checking for the pthreads library -l$flag" >&5
17650 THREADS_LINK="-l$flag"
17651 ;;
17652 esac
17653
17654 save_LIBS="$LIBS"
17655 save_CFLAGS="$CFLAGS"
17656 LIBS="$THREADS_LINK $LIBS"
17657 CFLAGS="$THREADS_CFLAGS $CFLAGS"
17658
17659 cat > conftest.$ac_ext <<EOF
17660#line 17661 "configure"
17661#include "confdefs.h"
17662#include <pthread.h>
17663int main() {
17664pthread_create(0,0,0,0);
17665; return 0; }
17666EOF
17667if { (eval echo configure:17668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17668 rm -rf conftest*
17669 THREADS_OK=yes
17670else
17671 echo "configure: failed program was:" >&5
17672 cat conftest.$ac_ext >&5
17673fi
17674rm -f conftest*
17675
17676 LIBS="$save_LIBS"
17677 CFLAGS="$save_CFLAGS"
17678
17679 echo "$ac_t""$THREADS_OK" 1>&6
17680 if test "x$THREADS_OK" = "xyes"; then
17681 break;
17682 fi
17683
17684 THREADS_LINK=""
17685 THREADS_CFLAGS=""
17686 done
17687
17688 if test "x$THREADS_OK" != "xyes"; then
17689 wxUSE_THREADS=no
17690 echo "configure: warning: No thread support on this system... disabled" 1>&2
17691 else
17692 LIBS="$THREADS_LINK $THREADS_CFLAGS $LIBS"
17693
17694 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
17695echo "configure:17696: checking if more special flags are required for pthreads" >&5
17696 flag=no
17697 case "${host}" in
17698 *-aix* | *-freebsd*)
17699 flag="-D_THREAD_SAFE"
17700 ;;
17701 *-hp-hpux* )
17702 flag="-D_REENTRANT"
17703 ;;
17704 *solaris* | alpha*-osf*)
17705 flag="-D_REENTRANT"
17706 ;;
17707 esac
17708 echo "$ac_t""${flag}" 1>&6
17709 if test "x$flag" != xno; then
17710 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
17711 fi
17712
17713 if test "x$THREADS_CFLAGS" != "x"; then
17714 CFLAGS="$CFLAGS $THREADS_CFLAGS"
17715 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
17716 fi
17717 fi
17718 fi
17719
17720 if test "$wxUSE_THREADS" = "yes" ; then
17721 for ac_func in thr_setconcurrency
17722do
17723echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17724echo "configure:17725: checking for $ac_func" >&5
17725if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17726 echo $ac_n "(cached) $ac_c" 1>&6
17727else
17728 cat > conftest.$ac_ext <<EOF
17729#line 17730 "configure"
17730#include "confdefs.h"
17731/* System header to define __stub macros and hopefully few prototypes,
17732 which can conflict with char $ac_func(); below. */
17733#include <assert.h>
17734/* Override any gcc2 internal prototype to avoid an error. */
17735/* We use char because int might match the return type of a gcc2
17736 builtin and then its argument prototype would still apply. */
17737char $ac_func();
17738
17739int main() {
17740
17741/* The GNU C library defines this for functions which it implements
17742 to always fail with ENOSYS. Some functions are actually named
17743 something starting with __ and the normal name is an alias. */
17744#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17745choke me
17746#else
17747$ac_func();
17748#endif
17749
17750; return 0; }
17751EOF
17752if { (eval echo configure:17753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17753 rm -rf conftest*
17754 eval "ac_cv_func_$ac_func=yes"
17755else
17756 echo "configure: failed program was:" >&5
17757 cat conftest.$ac_ext >&5
17758 rm -rf conftest*
17759 eval "ac_cv_func_$ac_func=no"
17760fi
17761rm -f conftest*
17762fi
17763
17764if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17765 echo "$ac_t""yes" 1>&6
17766 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17767 cat >> confdefs.h <<EOF
17768#define $ac_tr_func 1
17769EOF
17770
17771else
17772 echo "$ac_t""no" 1>&6
17773fi
17774done
17775
17776
17777 for ac_hdr in sched.h
17778do
17779ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17780echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17781echo "configure:17782: checking for $ac_hdr" >&5
17782if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17783 echo $ac_n "(cached) $ac_c" 1>&6
17784else
17785 cat > conftest.$ac_ext <<EOF
17786#line 17787 "configure"
17787#include "confdefs.h"
17788#include <$ac_hdr>
17789EOF
17790ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17791{ (eval echo configure:17792: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17792ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17793if test -z "$ac_err"; then
17794 rm -rf conftest*
17795 eval "ac_cv_header_$ac_safe=yes"
17796else
17797 echo "$ac_err" >&5
17798 echo "configure: failed program was:" >&5
17799 cat conftest.$ac_ext >&5
17800 rm -rf conftest*
17801 eval "ac_cv_header_$ac_safe=no"
17802fi
17803rm -f conftest*
17804fi
17805if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17806 echo "$ac_t""yes" 1>&6
17807 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17808 cat >> confdefs.h <<EOF
17809#define $ac_tr_hdr 1
17810EOF
17811
17812else
17813 echo "$ac_t""no" 1>&6
17814fi
17815done
17816
17817 if test "$ac_cv_header_sched_h" = "yes"; then
17818 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
17819echo "configure:17820: checking for sched_yield" >&5
17820if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
17821 echo $ac_n "(cached) $ac_c" 1>&6
17822else
17823 cat > conftest.$ac_ext <<EOF
17824#line 17825 "configure"
17825#include "confdefs.h"
17826/* System header to define __stub macros and hopefully few prototypes,
17827 which can conflict with char sched_yield(); below. */
17828#include <assert.h>
17829/* Override any gcc2 internal prototype to avoid an error. */
17830/* We use char because int might match the return type of a gcc2
17831 builtin and then its argument prototype would still apply. */
17832char sched_yield();
17833
17834int main() {
17835
17836/* The GNU C library defines this for functions which it implements
17837 to always fail with ENOSYS. Some functions are actually named
17838 something starting with __ and the normal name is an alias. */
17839#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
17840choke me
17841#else
17842sched_yield();
17843#endif
17844
17845; return 0; }
17846EOF
17847if { (eval echo configure:17848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17848 rm -rf conftest*
17849 eval "ac_cv_func_sched_yield=yes"
17850else
17851 echo "configure: failed program was:" >&5
17852 cat conftest.$ac_ext >&5
17853 rm -rf conftest*
17854 eval "ac_cv_func_sched_yield=no"
17855fi
17856rm -f conftest*
17857fi
17858
17859if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
17860 echo "$ac_t""yes" 1>&6
17861 cat >> confdefs.h <<\EOF
17862#define HAVE_SCHED_YIELD 1
17863EOF
17864
17865else
17866 echo "$ac_t""no" 1>&6
17867
17868 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
17869echo "configure:17870: checking for sched_yield in -lposix4" >&5
17870ac_lib_var=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
17871if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17872 echo $ac_n "(cached) $ac_c" 1>&6
17873else
17874 ac_save_LIBS="$LIBS"
17875LIBS="-lposix4 $LIBS"
17876cat > conftest.$ac_ext <<EOF
17877#line 17878 "configure"
17878#include "confdefs.h"
17879/* Override any gcc2 internal prototype to avoid an error. */
17880/* We use char because int might match the return type of a gcc2
17881 builtin and then its argument prototype would still apply. */
17882char sched_yield();
17883
17884int main() {
17885sched_yield()
17886; return 0; }
17887EOF
17888if { (eval echo configure:17889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17889 rm -rf conftest*
17890 eval "ac_cv_lib_$ac_lib_var=yes"
17891else
17892 echo "configure: failed program was:" >&5
17893 cat conftest.$ac_ext >&5
17894 rm -rf conftest*
17895 eval "ac_cv_lib_$ac_lib_var=no"
17896fi
17897rm -f conftest*
17898LIBS="$ac_save_LIBS"
17899
17900fi
17901if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17902 echo "$ac_t""yes" 1>&6
17903 cat >> confdefs.h <<\EOF
17904#define HAVE_SCHED_YIELD 1
17905EOF
17906 POSIX4_LINK=" -lposix4"
17907else
17908 echo "$ac_t""no" 1>&6
17909echo "configure: warning: wxThread::Yield will not work properly" 1>&2
17910
17911fi
17912
17913
17914
17915fi
17916
17917 fi
17918
17919 HAVE_PRIOR_FUNCS=0
17920 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
17921echo "configure:17922: checking for pthread_attr_getschedpolicy" >&5
17922if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
17923 echo $ac_n "(cached) $ac_c" 1>&6
17924else
17925 cat > conftest.$ac_ext <<EOF
17926#line 17927 "configure"
17927#include "confdefs.h"
17928/* System header to define __stub macros and hopefully few prototypes,
17929 which can conflict with char pthread_attr_getschedpolicy(); below. */
17930#include <assert.h>
17931/* Override any gcc2 internal prototype to avoid an error. */
17932/* We use char because int might match the return type of a gcc2
17933 builtin and then its argument prototype would still apply. */
17934char pthread_attr_getschedpolicy();
17935
17936int main() {
17937
17938/* The GNU C library defines this for functions which it implements
17939 to always fail with ENOSYS. Some functions are actually named
17940 something starting with __ and the normal name is an alias. */
17941#if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
17942choke me
17943#else
17944pthread_attr_getschedpolicy();
17945#endif
17946
17947; return 0; }
17948EOF
17949if { (eval echo configure:17950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17950 rm -rf conftest*
17951 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
17952else
17953 echo "configure: failed program was:" >&5
17954 cat conftest.$ac_ext >&5
17955 rm -rf conftest*
17956 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
17957fi
17958rm -f conftest*
17959fi
17960
17961if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
17962 echo "$ac_t""yes" 1>&6
17963 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
17964echo "configure:17965: checking for pthread_attr_setschedparam" >&5
17965if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
17966 echo $ac_n "(cached) $ac_c" 1>&6
17967else
17968 cat > conftest.$ac_ext <<EOF
17969#line 17970 "configure"
17970#include "confdefs.h"
17971/* System header to define __stub macros and hopefully few prototypes,
17972 which can conflict with char pthread_attr_setschedparam(); below. */
17973#include <assert.h>
17974/* Override any gcc2 internal prototype to avoid an error. */
17975/* We use char because int might match the return type of a gcc2
17976 builtin and then its argument prototype would still apply. */
17977char pthread_attr_setschedparam();
17978
17979int main() {
17980
17981/* The GNU C library defines this for functions which it implements
17982 to always fail with ENOSYS. Some functions are actually named
17983 something starting with __ and the normal name is an alias. */
17984#if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
17985choke me
17986#else
17987pthread_attr_setschedparam();
17988#endif
17989
17990; return 0; }
17991EOF
17992if { (eval echo configure:17993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17993 rm -rf conftest*
17994 eval "ac_cv_func_pthread_attr_setschedparam=yes"
17995else
17996 echo "configure: failed program was:" >&5
17997 cat conftest.$ac_ext >&5
17998 rm -rf conftest*
17999 eval "ac_cv_func_pthread_attr_setschedparam=no"
18000fi
18001rm -f conftest*
18002fi
18003
18004if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
18005 echo "$ac_t""yes" 1>&6
18006 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
18007echo "configure:18008: checking for sched_get_priority_max" >&5
18008if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
18009 echo $ac_n "(cached) $ac_c" 1>&6
18010else
18011 cat > conftest.$ac_ext <<EOF
18012#line 18013 "configure"
18013#include "confdefs.h"
18014/* System header to define __stub macros and hopefully few prototypes
18015else
18016 echo "$ac_t""no" 1>&6
18017which can conflict with char sched_get_priority_max(); below. */
18018#include <assert.h>
18019/* Override any gcc2 internal prototype to avoid an error. */
18020/* We use char because int might match the return type of a gcc2
18021 builtin and then its argument prototype would still apply. */
18022char sched_get_priority_max();
18023
18024int main() {
18025
18026/* The GNU C library defines this for functions which it implements
18027 to always fail with ENOSYS. Some functions are actually named
18028 something starting with __ and the normal name is an alias. */
18029#if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
18030choke me
18031#else
18032sched_get_priority_max();
18033#endif
18034
18035; return 0; }
18036EOF
18037if { (eval echo configure:18038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18038 rm -rf conftest*
18039 eval "ac_cv_func_sched_get_priority_max=yes"
18040else
18041 echo "configure: failed program was:" >&5
18042 cat conftest.$ac_ext >&5
18043 rm -rf conftest*
18044 eval "ac_cv_func_sched_get_priority_max=no"
18045fi
18046rm -f conftest*
18047fi
18048
18049if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
18050 echo "$ac_t""yes" 1>&6
18051 HAVE_PRIOR_FUNCS=1
18052else
18053 echo "$ac_t""no" 1>&6
18054echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
18055echo "configure:18056: checking for sched_get_priority_max in -lposix4" >&5
18056ac_lib_var=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
18057if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18058 echo $ac_n "(cached) $ac_c" 1>&6
18059else
18060 ac_save_LIBS="$LIBS"
18061LIBS="-lposix4 $LIBS"
18062cat > conftest.$ac_ext <<EOF
18063#line 18064 "configure"
18064#include "confdefs.h"
18065/* Override any gcc2 internal prototype to avoid an error. */
18066/* We use char because int might match the return type of a gcc2
18067 builtin and then its argument prototype would still apply. */
18068char sched_get_priority_max();
18069
18070int main() {
18071sched_get_priority_max()
18072; return 0; }
18073EOF
18074if { (eval echo configure:18075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18075 rm -rf conftest*
18076 eval "ac_cv_lib_$ac_lib_var=yes"
18077else
18078 echo "configure: failed program was:" >&5
18079 cat conftest.$ac_ext >&5
18080 rm -rf conftest*
18081 eval "ac_cv_lib_$ac_lib_var=no"
18082fi
18083rm -f conftest*
18084LIBS="$ac_save_LIBS"
18085
18086fi
18087if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18088 echo "$ac_t""yes" 1>&6
18089
18090 HAVE_PRIOR_FUNCS=1
18091 POSIX4_LINK=" -lposix4"
18092
18093else
18094 echo "$ac_t""no" 1>&6
18095fi
18096
18097
18098fi
18099
18100
18101else
18102 echo "$ac_t""no" 1>&6
18103fi
18104
18105
18106fi
18107
18108
18109 if test "$HAVE_PRIOR_FUNCS" = 1; then
18110 cat >> confdefs.h <<\EOF
18111#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
18112EOF
18113
18114 else
18115 echo "configure: warning: Setting thread priority will not work" 1>&2
18116 fi
18117
18118 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
18119echo "configure:18120: checking for pthread_cancel" >&5
18120if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
18121 echo $ac_n "(cached) $ac_c" 1>&6
18122else
18123 cat > conftest.$ac_ext <<EOF
18124#line 18125 "configure"
18125#include "confdefs.h"
18126/* System header to define __stub macros and hopefully few prototypes,
18127 which can conflict with char pthread_cancel(); below. */
18128#include <assert.h>
18129/* Override any gcc2 internal prototype to avoid an error. */
18130/* We use char because int might match the return type of a gcc2
18131 builtin and then its argument prototype would still apply. */
18132char pthread_cancel();
18133
18134int main() {
18135
18136/* The GNU C library defines this for functions which it implements
18137 to always fail with ENOSYS. Some functions are actually named
18138 something starting with __ and the normal name is an alias. */
18139#if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
18140choke me
18141#else
18142pthread_cancel();
18143#endif
18144
18145; return 0; }
18146EOF
18147if { (eval echo configure:18148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18148 rm -rf conftest*
18149 eval "ac_cv_func_pthread_cancel=yes"
18150else
18151 echo "configure: failed program was:" >&5
18152 cat conftest.$ac_ext >&5
18153 rm -rf conftest*
18154 eval "ac_cv_func_pthread_cancel=no"
18155fi
18156rm -f conftest*
18157fi
18158
18159if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
18160 echo "$ac_t""yes" 1>&6
18161 cat >> confdefs.h <<\EOF
18162#define HAVE_PTHREAD_CANCEL 1
18163EOF
18164
18165else
18166 echo "$ac_t""no" 1>&6
18167echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
18168fi
18169
18170
18171 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
18172echo "configure:18173: checking for pthread_cleanup_push/pop" >&5
18173if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
18174 echo $ac_n "(cached) $ac_c" 1>&6
18175else
18176
18177 cat > conftest.$ac_ext <<EOF
18178#line 18179 "configure"
18179#include "confdefs.h"
18180#include <pthread.h>
18181int main() {
18182
18183 pthread_cleanup_push(NULL, NULL);
18184 pthread_cleanup_pop(0);
18185
18186; return 0; }
18187EOF
18188if { (eval echo configure:18189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18189 rm -rf conftest*
18190
18191 wx_cv_func_pthread_cleanup_push=yes
18192
18193else
18194 echo "configure: failed program was:" >&5
18195 cat conftest.$ac_ext >&5
18196 rm -rf conftest*
18197
18198 wx_cv_func_pthread_cleanup_push=no
18199
18200fi
18201rm -f conftest*
18202
18203fi
18204
18205echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
18206
18207 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
18208 cat >> confdefs.h <<\EOF
18209#define HAVE_THREAD_CLEANUP_FUNCTIONS 1
18210EOF
18211
18212 fi
18213
18214
18215 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
18216echo "configure:18217: checking for pthread_mutexattr_t" >&5
18217if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
18218 echo $ac_n "(cached) $ac_c" 1>&6
18219else
18220
18221 cat > conftest.$ac_ext <<EOF
18222#line 18223 "configure"
18223#include "confdefs.h"
18224#include <pthread.h>
18225int main() {
18226
18227 pthread_mutexattr_t attr;
18228 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
18229
18230; return 0; }
18231EOF
18232if { (eval echo configure:18233: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18233 rm -rf conftest*
18234
18235 wx_cv_type_pthread_mutexattr_t=yes
18236
18237else
18238 echo "configure: failed program was:" >&5
18239 cat conftest.$ac_ext >&5
18240 rm -rf conftest*
18241
18242 wx_cv_type_pthread_mutexattr_t=no
18243
18244
18245fi
18246rm -f conftest*
18247
18248fi
18249
18250echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
18251
18252 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
18253 cat >> confdefs.h <<\EOF
18254#define HAVE_PTHREAD_MUTEXATTR_T 1
18255EOF
18256
18257 else
18258 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
18259echo "configure:18260: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
18260if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
18261 echo $ac_n "(cached) $ac_c" 1>&6
18262else
18263
18264 cat > conftest.$ac_ext <<EOF
18265#line 18266 "configure"
18266#include "confdefs.h"
18267#include <pthread.h>
18268int main() {
18269
18270 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
18271
18272; return 0; }
18273EOF
18274if { (eval echo configure:18275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18275 rm -rf conftest*
18276
18277 wx_cv_type_pthread_rec_mutex_init=yes
18278
18279else
18280 echo "configure: failed program was:" >&5
18281 cat conftest.$ac_ext >&5
18282 rm -rf conftest*
18283
18284 wx_cv_type_pthread_rec_mutex_init=no
18285
18286
18287fi
18288rm -f conftest*
18289
18290fi
18291
18292echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
18293 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
18294 cat >> confdefs.h <<\EOF
18295#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
18296EOF
18297
18298 else
18299 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
18300 fi
18301 fi
18302 fi
18303
18304else
18305 if test "$wxUSE_THREADS" = "yes" ; then
18306 case "${host}" in
18307 *-*-mingw32* )
18308 echo $ac_n "checking if compiler supports -mthreads""... $ac_c" 1>&6
18309echo "configure:18310: checking if compiler supports -mthreads" >&5
18310if eval "test \"`echo '$''{'wx_cv_cflags_mthread'+set}'`\" = set"; then
18311 echo $ac_n "(cached) $ac_c" 1>&6
18312else
18313
18314 CFLAGS_OLD="$CFLAGS"
18315 CFLAGS="$CFLAGS -mthreads"
18316 cat > conftest.$ac_ext <<EOF
18317#line 18318 "configure"
18318#include "confdefs.h"
18319
18320int main() {
18321
18322; return 0; }
18323EOF
18324if { (eval echo configure:18325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18325 rm -rf conftest*
18326 wx_cv_cflags_mthread=yes
18327else
18328 echo "configure: failed program was:" >&5
18329 cat conftest.$ac_ext >&5
18330 rm -rf conftest*
18331 wx_cv_cflags_mthread=no
18332
18333fi
18334rm -f conftest*
18335
18336
18337fi
18338
18339echo "$ac_t""$wx_cv_cflags_mthread" 1>&6
18340
18341 if test "$wx_cv_cflags_mthread" = "yes"; then
18342 CXXFLAGS="$CXXFLAGS -mthreads"
18343 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
18344 LDFLAGS="$LDFLAGS -mthreads"
18345 else
18346 CFLAGS="$CFLAGS_OLD"
18347 fi
18348 ;;
18349 esac
18350 fi
18351fi
18352
18353if test "$wxUSE_THREADS" = "yes"; then
18354 cat >> confdefs.h <<\EOF
18355#define wxUSE_THREADS 1
18356EOF
18357
18358
18359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
18360else
18361 if test "$ac_cv_func_strtok_r" = "yes"; then
18362 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
18363echo "configure:18364: checking if -D_REENTRANT is needed" >&5
18364 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
18365 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
18366 echo "$ac_t""yes" 1>&6
18367 else
18368 echo "$ac_t""no" 1>&6
18369 fi
18370 fi
18371fi
18372
18373if test "$WXGTK20" = 1 ; then
18374 cat >> confdefs.h <<EOF
18375#define __WXGTK20__ $WXGTK20
18376EOF
18377
18378 WXGTK12=1
18379fi
18380
18381if test "$WXGTK12" = 1 ; then
18382 cat >> confdefs.h <<EOF
18383#define __WXGTK12__ $WXGTK12
18384EOF
18385
18386fi
18387
18388if test "$WXGTK127" = 1 ; then
18389 cat >> confdefs.h <<EOF
18390#define __WXGTK127__ $WXGTK127
18391EOF
18392
18393fi
18394
18395WXDEBUG=
18396
18397if test "$wxUSE_DEBUG_INFO" = "yes" ; then
18398 WXDEBUG="-g"
18399 wxUSE_OPTIMISE=no
18400fi
18401
18402if test "$wxUSE_DEBUG_GDB" = "yes" ; then
18403 wxUSE_DEBUG_INFO=yes
18404 WXDEBUG="-ggdb"
18405fi
18406
18407if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
18408 cat >> confdefs.h <<\EOF
18409#define WXDEBUG 1
18410EOF
18411
18412 WXDEBUG_DEFINE="-D__WXDEBUG__"
18413else
18414 if test "$wxUSE_GTK" = 1 ; then
18415 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
18416 fi
18417fi
18418
18419if test "$wxUSE_MEM_TRACING" = "yes" ; then
18420 cat >> confdefs.h <<\EOF
18421#define wxUSE_MEMORY_TRACING 1
18422EOF
18423
18424 cat >> confdefs.h <<\EOF
18425#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
18426EOF
18427
18428 cat >> confdefs.h <<\EOF
18429#define wxUSE_DEBUG_NEW_ALWAYS 1
18430EOF
18431
18432 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
18433fi
18434
18435if test "$wxUSE_DMALLOC" = "yes" ; then
18436 DMALLOC_LIBS="-ldmalloc"
18437fi
18438
18439PROFILE=
18440if test "$wxUSE_PROFILE" = "yes" ; then
18441 PROFILE=" -pg"
18442fi
18443
18444CODE_GEN_FLAGS=
18445CODE_GEN_FLAGS_CXX=
18446if test "$GCC" = "yes" ; then
18447 if test "$wxUSE_NO_RTTI" = "yes" ; then
18448 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
18449 fi
18450 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
18451 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
18452 fi
18453 if test "$wxUSE_PERMISSIVE" = "yes" ; then
18454 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
18455 fi
18456 if test "$USE_WIN32" = 1 ; then
18457 # I'm not even really sure what this was ever added to solve,
18458 # but someone added it for mingw native builds, so I guess
18459 # they had a reason, right??
18460 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fno-pcc-struct-return"
18461 fi
18462
18463 case "${host}" in
18464 powerpc*-*-aix* )
18465 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
18466 ;;
18467 esac
18468fi
18469
18470if test "$wxUSE_OPTIMISE" = "no" ; then
18471 OPTIMISE=
18472else
18473 if test "$GCC" = yes ; then
18474 OPTIMISE="-O2"
18475 case "${host}" in
18476 i586-*-*|i686-*-* )
18477 OPTIMISE="${OPTIMISE} "
18478 ;;
18479 esac
18480 else
18481 OPTIMISE="-O"
18482 fi
18483fi
18484
18485if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
18486 cat >> confdefs.h <<\EOF
18487#define WXWIN_COMPATIBILITY_2 1
18488EOF
18489
18490
18491 WXWIN_COMPATIBILITY_2_2="yes"
18492fi
18493
18494if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
18495 cat >> confdefs.h <<\EOF
18496#define WXWIN_COMPATIBILITY_2_2 1
18497EOF
18498
18499fi
18500
18501
18502if test "$wxUSE_GUI" = "yes"; then
18503 cat >> confdefs.h <<\EOF
18504#define wxUSE_GUI 1
18505EOF
18506
18507
18508 else
18509 cat >> confdefs.h <<\EOF
18510#define wxUSE_NOGUI 1
18511EOF
18512
18513fi
18514
18515
18516if test "$wxUSE_UNIX" = "yes"; then
18517 cat >> confdefs.h <<\EOF
18518#define wxUSE_UNIX 1
18519EOF
18520
18521fi
18522
18523
18524if test "$wxUSE_APPLE_IEEE" = "yes"; then
18525 cat >> confdefs.h <<\EOF
18526#define wxUSE_APPLE_IEEE 1
18527EOF
18528
18529fi
18530
18531if test "$wxUSE_TIMER" = "yes"; then
18532 cat >> confdefs.h <<\EOF
18533#define wxUSE_TIMER 1
18534EOF
18535
18536fi
18537
18538if test "$wxUSE_WAVE" = "yes"; then
18539 cat >> confdefs.h <<\EOF
18540#define wxUSE_WAVE 1
18541EOF
18542
18543fi
18544
18545if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
18546 cat >> confdefs.h <<\EOF
18547#define wxUSE_CMDLINE_PARSER 1
18548EOF
18549
18550fi
18551
18552if test "$wxUSE_STOPWATCH" = "yes"; then
18553 cat >> confdefs.h <<\EOF
18554#define wxUSE_STOPWATCH 1
18555EOF
18556
18557fi
18558
18559if test "$wxUSE_DATETIME" = "yes"; then
18560 cat >> confdefs.h <<\EOF
18561#define wxUSE_DATETIME 1
18562EOF
18563
18564fi
18565
18566if test "$wxUSE_TIMEDATE" = "yes"; then
18567 cat >> confdefs.h <<\EOF
18568#define wxUSE_TIMEDATE 1
18569EOF
18570
18571fi
18572
18573if test "$wxUSE_FILE" = "yes"; then
18574 cat >> confdefs.h <<\EOF
18575#define wxUSE_FILE 1
18576EOF
18577
18578fi
18579
18580if test "$wxUSE_FFILE" = "yes"; then
18581 cat >> confdefs.h <<\EOF
18582#define wxUSE_FFILE 1
18583EOF
18584
18585fi
18586
18587if test "$wxUSE_FILESYSTEM" = "yes"; then
18588 cat >> confdefs.h <<\EOF
18589#define wxUSE_FILESYSTEM 1
18590EOF
18591
18592fi
18593
18594if test "$wxUSE_FS_INET" = "yes"; then
18595 cat >> confdefs.h <<\EOF
18596#define wxUSE_FS_INET 1
18597EOF
18598
18599fi
18600
18601if test "$wxUSE_FS_ZIP" = "yes"; then
18602 cat >> confdefs.h <<\EOF
18603#define wxUSE_FS_ZIP 1
18604EOF
18605
18606fi
18607
18608if test "$wxUSE_ZIPSTREAM" = "yes"; then
18609 cat >> confdefs.h <<\EOF
18610#define wxUSE_ZIPSTREAM 1
18611EOF
18612
18613fi
18614
18615if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
18616 cat >> confdefs.h <<\EOF
18617#define wxUSE_ON_FATAL_EXCEPTION 1
18618EOF
18619
18620fi
18621
18622if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
18623 cat >> confdefs.h <<\EOF
18624#define wxUSE_SNGLINST_CHECKER 1
18625EOF
18626
18627fi
18628
18629if test "$wxUSE_BUSYINFO" = "yes"; then
18630 cat >> confdefs.h <<\EOF
18631#define wxUSE_BUSYINFO 1
18632EOF
18633
18634fi
18635
18636if test "$wxUSE_STD_IOSTREAM" = "yes"; then
18637 cat >> confdefs.h <<\EOF
18638#define wxUSE_STD_IOSTREAM 1
18639EOF
18640
18641fi
18642
18643if test "$wxUSE_TEXTBUFFER" = "yes"; then
18644 cat >> confdefs.h <<\EOF
18645#define wxUSE_TEXTBUFFER 1
18646EOF
18647
18648fi
18649
18650if test "$wxUSE_TEXTFILE" = "yes"; then
18651 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
18652 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
18653 else
18654 cat >> confdefs.h <<\EOF
18655#define wxUSE_TEXTFILE 1
18656EOF
18657
18658 fi
18659fi
18660
18661if test "$wxUSE_CONFIG" = "yes" ; then
18662 if test "$wxUSE_TEXTFILE" != "yes"; then
18663 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
18664 else
18665 cat >> confdefs.h <<\EOF
18666#define wxUSE_CONFIG 1
18667EOF
18668
18669 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
18670 fi
18671fi
18672
18673if test "$wxUSE_INTL" = "yes" ; then
18674 if test "$wxUSE_FILE" != "yes"; then
18675 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
18676 else
18677 cat >> confdefs.h <<\EOF
18678#define wxUSE_INTL 1
18679EOF
18680
18681 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
18682 GUIDIST="$GUIDIST INTL_DIST"
18683 fi
18684fi
18685
18686if test "$wxUSE_LOG" = "yes"; then
18687 cat >> confdefs.h <<\EOF
18688#define wxUSE_LOG 1
18689EOF
18690
18691
18692 if test "$wxUSE_LOGGUI" = "yes"; then
18693 cat >> confdefs.h <<\EOF
18694#define wxUSE_LOGGUI 1
18695EOF
18696
18697 fi
18698
18699 if test "$wxUSE_LOGWINDOW" = "yes"; then
18700 cat >> confdefs.h <<\EOF
18701#define wxUSE_LOGWINDOW 1
18702EOF
18703
18704 fi
18705
18706 if test "$wxUSE_LOGDIALOG" = "yes"; then
18707 cat >> confdefs.h <<\EOF
18708#define wxUSE_LOG_DIALOG 1
18709EOF
18710
18711 fi
18712fi
18713
18714if test "$wxUSE_LONGLONG" = "yes"; then
18715 cat >> confdefs.h <<\EOF
18716#define wxUSE_LONGLONG 1
18717EOF
18718
18719fi
18720
18721if test "$wxUSE_GEOMETRY" = "yes"; then
18722 cat >> confdefs.h <<\EOF
18723#define wxUSE_GEOMETRY 1
18724EOF
18725
18726fi
18727
18728if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
18729 cat >> confdefs.h <<\EOF
18730#define wxUSE_DIALUP_MANAGER 1
18731EOF
18732
18733 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
18734fi
18735
18736if test "$wxUSE_STREAMS" = "yes" ; then
18737 cat >> confdefs.h <<\EOF
18738#define wxUSE_STREAMS 1
18739EOF
18740
18741fi
18742
18743
18744if test "$wxUSE_DATETIME" = "yes"; then
18745 for ac_func in strptime
18746do
18747echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18748echo "configure:18749: checking for $ac_func" >&5
18749if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18750 echo $ac_n "(cached) $ac_c" 1>&6
18751else
18752 cat > conftest.$ac_ext <<EOF
18753#line 18754 "configure"
18754#include "confdefs.h"
18755/* System header to define __stub macros and hopefully few prototypes,
18756 which can conflict with char $ac_func(); below. */
18757#include <assert.h>
18758/* Override any gcc2 internal prototype to avoid an error. */
18759/* We use char because int might match the return type of a gcc2
18760 builtin and then its argument prototype would still apply. */
18761char $ac_func();
18762
18763int main() {
18764
18765/* The GNU C library defines this for functions which it implements
18766 to always fail with ENOSYS. Some functions are actually named
18767 something starting with __ and the normal name is an alias. */
18768#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18769choke me
18770#else
18771$ac_func();
18772#endif
18773
18774; return 0; }
18775EOF
18776if { (eval echo configure:18777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18777 rm -rf conftest*
18778 eval "ac_cv_func_$ac_func=yes"
18779else
18780 echo "configure: failed program was:" >&5
18781 cat conftest.$ac_ext >&5
18782 rm -rf conftest*
18783 eval "ac_cv_func_$ac_func=no"
18784fi
18785rm -f conftest*
18786fi
18787
18788if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18789 echo "$ac_t""yes" 1>&6
18790 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18791 cat >> confdefs.h <<EOF
18792#define $ac_tr_func 1
18793EOF
18794
18795else
18796 echo "$ac_t""no" 1>&6
18797fi
18798done
18799
18800
18801 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
18802echo "configure:18803: checking for timezone variable in <time.h>" >&5
18803if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
18804 echo $ac_n "(cached) $ac_c" 1>&6
18805else
18806
18807 cat > conftest.$ac_ext <<EOF
18808#line 18809 "configure"
18809#include "confdefs.h"
18810
18811 #include <time.h>
18812
18813int main() {
18814
18815 int tz;
18816 tz = timezone;
18817
18818; return 0; }
18819EOF
18820if { (eval echo configure:18821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18821 rm -rf conftest*
18822
18823 wx_cv_var_timezone=timezone
18824
18825else
18826 echo "configure: failed program was:" >&5
18827 cat conftest.$ac_ext >&5
18828 rm -rf conftest*
18829
18830 cat > conftest.$ac_ext <<EOF
18831#line 18832 "configure"
18832#include "confdefs.h"
18833
18834 #include <time.h>
18835
18836int main() {
18837
18838 int tz;
18839 tz = _timezone;
18840
18841; return 0; }
18842EOF
18843if { (eval echo configure:18844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18844 rm -rf conftest*
18845
18846 wx_cv_var_timezone=_timezone
18847
18848else
18849 echo "configure: failed program was:" >&5
18850 cat conftest.$ac_ext >&5
18851 rm -rf conftest*
18852
18853 cat > conftest.$ac_ext <<EOF
18854#line 18855 "configure"
18855#include "confdefs.h"
18856
18857 #include <time.h>
18858
18859int main() {
18860
18861 int tz;
18862 tz = __timezone;
18863
18864; return 0; }
18865EOF
18866if { (eval echo configure:18867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18867 rm -rf conftest*
18868
18869 wx_cv_var_timezone=__timezone
18870
18871else
18872 echo "configure: failed program was:" >&5
18873 cat conftest.$ac_ext >&5
18874 rm -rf conftest*
18875
18876 if test "$USE_DOS" = 0 ; then
18877 echo "configure: warning: no timezone variable" 1>&2
18878 fi
18879
18880
18881fi
18882rm -f conftest*
18883
18884
18885fi
18886rm -f conftest*
18887
18888
18889fi
18890rm -f conftest*
18891
18892
18893fi
18894
18895echo "$ac_t""$wx_cv_var_timezone" 1>&6
18896
18897 if test "x$wx_cv_var_timezone" != x ; then
18898 cat >> confdefs.h <<EOF
18899#define WX_TIMEZONE $wx_cv_var_timezone
18900EOF
18901
18902 fi
18903
18904 for ac_func in localtime
18905do
18906echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18907echo "configure:18908: checking for $ac_func" >&5
18908if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18909 echo $ac_n "(cached) $ac_c" 1>&6
18910else
18911 cat > conftest.$ac_ext <<EOF
18912#line 18913 "configure"
18913#include "confdefs.h"
18914/* System header to define __stub macros and hopefully few prototypes,
18915 which can conflict with char $ac_func(); below. */
18916#include <assert.h>
18917/* Override any gcc2 internal prototype to avoid an error. */
18918/* We use char because int might match the return type of a gcc2
18919 builtin and then its argument prototype would still apply. */
18920char $ac_func();
18921
18922int main() {
18923
18924/* The GNU C library defines this for functions which it implements
18925 to always fail with ENOSYS. Some functions are actually named
18926 something starting with __ and the normal name is an alias. */
18927#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18928choke me
18929#else
18930$ac_func();
18931#endif
18932
18933; return 0; }
18934EOF
18935if { (eval echo configure:18936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18936 rm -rf conftest*
18937 eval "ac_cv_func_$ac_func=yes"
18938else
18939 echo "configure: failed program was:" >&5
18940 cat conftest.$ac_ext >&5
18941 rm -rf conftest*
18942 eval "ac_cv_func_$ac_func=no"
18943fi
18944rm -f conftest*
18945fi
18946
18947if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18948 echo "$ac_t""yes" 1>&6
18949 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18950 cat >> confdefs.h <<EOF
18951#define $ac_tr_func 1
18952EOF
18953
18954else
18955 echo "$ac_t""no" 1>&6
18956fi
18957done
18958
18959
18960 if test "$ac_cv_func_localtime" = "yes"; then
18961 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
18962echo "configure:18963: checking for tm_gmtoff in struct tm" >&5
18963if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
18964 echo $ac_n "(cached) $ac_c" 1>&6
18965else
18966
18967 cat > conftest.$ac_ext <<EOF
18968#line 18969 "configure"
18969#include "confdefs.h"
18970
18971 #include <time.h>
18972
18973int main() {
18974
18975 struct tm tm;
18976 tm.tm_gmtoff++;
18977
18978; return 0; }
18979EOF
18980if { (eval echo configure:18981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18981 rm -rf conftest*
18982
18983 wx_cv_struct_tm_has_gmtoff=yes
18984
18985else
18986 echo "configure: failed program was:" >&5
18987 cat conftest.$ac_ext >&5
18988 rm -rf conftest*
18989 wx_cv_struct_tm_has_gmtoff=no
18990
18991fi
18992rm -f conftest*
18993
18994fi
18995
18996echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
18997 fi
18998
18999 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
19000 cat >> confdefs.h <<\EOF
19001#define WX_GMTOFF_IN_TM 1
19002EOF
19003
19004 fi
19005
19006 for ac_func in gettimeofday ftime
19007do
19008echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19009echo "configure:19010: checking for $ac_func" >&5
19010if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19011 echo $ac_n "(cached) $ac_c" 1>&6
19012else
19013 cat > conftest.$ac_ext <<EOF
19014#line 19015 "configure"
19015#include "confdefs.h"
19016/* System header to define __stub macros and hopefully few prototypes,
19017 which can conflict with char $ac_func(); below. */
19018#include <assert.h>
19019/* Override any gcc2 internal prototype to avoid an error. */
19020/* We use char because int might match the return type of a gcc2
19021 builtin and then its argument prototype would still apply. */
19022char $ac_func();
19023
19024int main() {
19025
19026/* The GNU C library defines this for functions which it implements
19027 to always fail with ENOSYS. Some functions are actually named
19028 something starting with __ and the normal name is an alias. */
19029#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19030choke me
19031#else
19032$ac_func();
19033#endif
19034
19035; return 0; }
19036EOF
19037if { (eval echo configure:19038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19038 rm -rf conftest*
19039 eval "ac_cv_func_$ac_func=yes"
19040else
19041 echo "configure: failed program was:" >&5
19042 cat conftest.$ac_ext >&5
19043 rm -rf conftest*
19044 eval "ac_cv_func_$ac_func=no"
19045fi
19046rm -f conftest*
19047fi
19048
19049if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19050 echo "$ac_t""yes" 1>&6
19051 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19052 cat >> confdefs.h <<EOF
19053#define $ac_tr_func 1
19054EOF
19055 break
19056else
19057 echo "$ac_t""no" 1>&6
19058fi
19059done
19060
19061
19062 if test "$ac_cv_func_gettimeofday" = "yes"; then
19063 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
19064echo "configure:19065: checking whether gettimeofday takes two arguments" >&5
19065if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
19066 echo $ac_n "(cached) $ac_c" 1>&6
19067else
19068
19069
19070 ac_ext=C
19071# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19072ac_cpp='$CXXCPP $CPPFLAGS'
19073ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19074ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19075cross_compiling=$ac_cv_prog_cxx_cross
19076
19077
19078 cat > conftest.$ac_ext <<EOF
19079#line 19080 "configure"
19080#include "confdefs.h"
19081
19082 #include <sys/time.h>
19083 #include <unistd.h>
19084
19085int main() {
19086
19087 struct timeval tv;
19088 gettimeofday(&tv, NULL);
19089
19090; return 0; }
19091EOF
19092if { (eval echo configure:19093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19093 rm -rf conftest*
19094 wx_cv_func_gettimeofday_has_2_args=yes
19095else
19096 echo "configure: failed program was:" >&5
19097 cat conftest.$ac_ext >&5
19098 rm -rf conftest*
19099 cat > conftest.$ac_ext <<EOF
19100#line 19101 "configure"
19101#include "confdefs.h"
19102
19103 #include <sys/time.h>
19104 #include <unistd.h>
19105
19106int main() {
19107
19108 struct timeval tv;
19109 gettimeofday(&tv);
19110
19111; return 0; }
19112EOF
19113if { (eval echo configure:19114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19114 rm -rf conftest*
19115 wx_cv_func_gettimeofday_has_2_args=no
19116else
19117 echo "configure: failed program was:" >&5
19118 cat conftest.$ac_ext >&5
19119 rm -rf conftest*
19120
19121 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
19122 wx_cv_func_gettimeofday_has_2_args=unknown
19123
19124
19125fi
19126rm -f conftest*
19127
19128fi
19129rm -f conftest*
19130 ac_ext=c
19131# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19132ac_cpp='$CPP $CPPFLAGS'
19133ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19134ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19135cross_compiling=$ac_cv_prog_cc_cross
19136
19137
19138fi
19139
19140echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
19141
19142 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
19143 cat >> confdefs.h <<\EOF
19144#define WX_GETTIMEOFDAY_NO_TZ 1
19145EOF
19146
19147 fi
19148 fi
19149
19150 cat >> confdefs.h <<\EOF
19151#define wxUSE_TIMEDATE 1
19152EOF
19153
19154 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
19155fi
19156
19157
19158if test "$wxUSE_SOCKETS" = "yes"; then
19159 if test "$wxUSE_MGL" = "1"; then
19160 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
19161 wxUSE_SOCKETS="no"
19162 fi
19163fi
19164
19165if test "$wxUSE_SOCKETS" = "yes"; then
19166 if test "$TOOLKIT" != "MSW"; then
19167 echo $ac_n "checking for socket""... $ac_c" 1>&6
19168echo "configure:19169: checking for socket" >&5
19169if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
19170 echo $ac_n "(cached) $ac_c" 1>&6
19171else
19172 cat > conftest.$ac_ext <<EOF
19173#line 19174 "configure"
19174#include "confdefs.h"
19175/* System header to define __stub macros and hopefully few prototypes,
19176 which can conflict with char socket(); below. */
19177#include <assert.h>
19178/* Override any gcc2 internal prototype to avoid an error. */
19179/* We use char because int might match the return type of a gcc2
19180 builtin and then its argument prototype would still apply. */
19181char socket();
19182
19183int main() {
19184
19185/* The GNU C library defines this for functions which it implements
19186 to always fail with ENOSYS. Some functions are actually named
19187 something starting with __ and the normal name is an alias. */
19188#if defined (__stub_socket) || defined (__stub___socket)
19189choke me
19190#else
19191socket();
19192#endif
19193
19194; return 0; }
19195EOF
19196if { (eval echo configure:19197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19197 rm -rf conftest*
19198 eval "ac_cv_func_socket=yes"
19199else
19200 echo "configure: failed program was:" >&5
19201 cat conftest.$ac_ext >&5
19202 rm -rf conftest*
19203 eval "ac_cv_func_socket=no"
19204fi
19205rm -f conftest*
19206fi
19207
19208if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
19209 echo "$ac_t""yes" 1>&6
19210 :
19211else
19212 echo "$ac_t""no" 1>&6
19213echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
19214echo "configure:19215: checking for socket in -lsocket" >&5
19215ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
19216if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19217 echo $ac_n "(cached) $ac_c" 1>&6
19218else
19219 ac_save_LIBS="$LIBS"
19220LIBS="-lsocket $LIBS"
19221cat > conftest.$ac_ext <<EOF
19222#line 19223 "configure"
19223#include "confdefs.h"
19224/* Override any gcc2 internal prototype to avoid an error. */
19225/* We use char because int might match the return type of a gcc2
19226 builtin and then its argument prototype would still apply. */
19227char socket();
19228
19229int main() {
19230socket()
19231; return 0; }
19232EOF
19233if { (eval echo configure:19234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19234 rm -rf conftest*
19235 eval "ac_cv_lib_$ac_lib_var=yes"
19236else
19237 echo "configure: failed program was:" >&5
19238 cat conftest.$ac_ext >&5
19239 rm -rf conftest*
19240 eval "ac_cv_lib_$ac_lib_var=no"
19241fi
19242rm -f conftest*
19243LIBS="$ac_save_LIBS"
19244
19245fi
19246if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19247 echo "$ac_t""yes" 1>&6
19248 if test "$INET_LINK" != " -lsocket"; then
19249 INET_LINK="$INET_LINK -lsocket"
19250 fi
19251else
19252 echo "$ac_t""no" 1>&6
19253
19254 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
19255 wxUSE_SOCKETS=no
19256
19257
19258fi
19259
19260
19261fi
19262
19263 fi
19264fi
19265
19266if test "$wxUSE_SOCKETS" = "yes" ; then
19267 if test "$TOOLKIT" != "MSW"; then
19268 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
19269echo "configure:19270: checking what is the type of the third argument of getsockname" >&5
19270if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
19271 echo $ac_n "(cached) $ac_c" 1>&6
19272else
19273
19274
19275 ac_ext=C
19276# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19277ac_cpp='$CXXCPP $CPPFLAGS'
19278ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19279ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19280cross_compiling=$ac_cv_prog_cxx_cross
19281
19282
19283 cat > conftest.$ac_ext <<EOF
19284#line 19285 "configure"
19285#include "confdefs.h"
19286
19287 #include <sys/types.h>
19288 #include <sys/socket.h>
19289
19290int main() {
19291
19292 socklen_t len;
19293 getsockname(0, 0, &len);
19294
19295; return 0; }
19296EOF
19297if { (eval echo configure:19298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19298 rm -rf conftest*
19299 wx_cv_type_getsockname3=socklen_t
19300else
19301 echo "configure: failed program was:" >&5
19302 cat conftest.$ac_ext >&5
19303 rm -rf conftest*
19304 cat > conftest.$ac_ext <<EOF
19305#line 19306 "configure"
19306#include "confdefs.h"
19307
19308 #include <sys/types.h>
19309 #include <sys/socket.h>
19310
19311int main() {
19312
19313 size_t len;
19314 getsockname(0, 0, &len);
19315
19316; return 0; }
19317EOF
19318if { (eval echo configure:19319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19319 rm -rf conftest*
19320 wx_cv_type_getsockname3=size_t
19321else
19322 echo "configure: failed program was:" >&5
19323 cat conftest.$ac_ext >&5
19324 rm -rf conftest*
19325 cat > conftest.$ac_ext <<EOF
19326#line 19327 "configure"
19327#include "confdefs.h"
19328
19329 #include <sys/types.h>
19330 #include <sys/socket.h>
19331
19332int main() {
19333
19334 int len;
19335 getsockname(0, 0, &len);
19336
19337; return 0; }
19338EOF
19339if { (eval echo configure:19340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19340 rm -rf conftest*
19341 wx_cv_type_getsockname3=int
19342else
19343 echo "configure: failed program was:" >&5
19344 cat conftest.$ac_ext >&5
19345 rm -rf conftest*
19346 wx_cv_type_getsockname3=unknown
19347
19348fi
19349rm -f conftest*
19350
19351fi
19352rm -f conftest*
19353
19354fi
19355rm -f conftest*
19356
19357 ac_ext=c
19358# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19359ac_cpp='$CPP $CPPFLAGS'
19360ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19361ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19362cross_compiling=$ac_cv_prog_cc_cross
19363
19364
19365fi
19366
19367echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
19368
19369 if test "$wx_cv_type_getsockname3" = "unknown"; then
19370 wxUSE_SOCKETS=no
19371 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
19372 else
19373 cat >> confdefs.h <<EOF
19374#define SOCKLEN_T $wx_cv_type_getsockname3
19375EOF
19376
19377 fi
19378 fi
19379fi
19380
19381if test "$wxUSE_SOCKETS" = "yes" ; then
19382 cat >> confdefs.h <<\EOF
19383#define wxUSE_SOCKETS 1
19384EOF
19385
19386 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
19387fi
19388
19389
19390if test "$wxUSE_GUI" = "yes"; then
19391
19392 if test "$TOOLKIT" = "MAC"; then
19393 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
19394 wxUSE_JOYSTICK=no
19395 fi
19396 if test "$TOOLKIT" = "MOTIF"; then
19397 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
19398 wxUSE_JOYSTICK=no
19399 fi
19400 if test "$TOOLKIT" = "X11"; then
19401 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
19402 wxUSE_JOYSTICK=no
19403 fi
19404
19405 if test "$TOOLKIT" != "MSW"; then
19406 if test "$wxUSE_JOYSTICK" = "yes"; then
19407 for ac_hdr in linux/joystick.h
19408do
19409ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19410echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19411echo "configure:19412: checking for $ac_hdr" >&5
19412if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19413 echo $ac_n "(cached) $ac_c" 1>&6
19414else
19415 cat > conftest.$ac_ext <<EOF
19416#line 19417 "configure"
19417#include "confdefs.h"
19418#include <$ac_hdr>
19419EOF
19420ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19421{ (eval echo configure:19422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19422ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19423if test -z "$ac_err"; then
19424 rm -rf conftest*
19425 eval "ac_cv_header_$ac_safe=yes"
19426else
19427 echo "$ac_err" >&5
19428 echo "configure: failed program was:" >&5
19429 cat conftest.$ac_ext >&5
19430 rm -rf conftest*
19431 eval "ac_cv_header_$ac_safe=no"
19432fi
19433rm -f conftest*
19434fi
19435if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19436 echo "$ac_t""yes" 1>&6
19437 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19438 cat >> confdefs.h <<EOF
19439#define $ac_tr_hdr 1
19440EOF
19441
19442else
19443 echo "$ac_t""no" 1>&6
19444fi
19445done
19446
19447 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
19448 wxUSE_JOYSTICK=no
19449 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
19450 fi
19451 fi
19452 fi
19453
19454 if test "$wxUSE_JOYSTICK" = "yes"; then
19455 cat >> confdefs.h <<\EOF
19456#define wxUSE_JOYSTICK 1
19457EOF
19458
19459 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
19460 fi
19461fi
19462
19463
19464if test "$TOOLKIT" != "MSW"; then
19465
19466 HAVE_DL_FUNCS=0
19467 HAVE_SHL_FUNCS=0
19468 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19469 if test "$USE_DARWIN" = 1; then
19470 HAVE_DL_FUNCS=1
19471 else
19472 for ac_func in dlopen
19473do
19474echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19475echo "configure:19476: checking for $ac_func" >&5
19476if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19477 echo $ac_n "(cached) $ac_c" 1>&6
19478else
19479 cat > conftest.$ac_ext <<EOF
19480#line 19481 "configure"
19481#include "confdefs.h"
19482/* System header to define __stub macros and hopefully few prototypes,
19483 which can conflict with char $ac_func(); below. */
19484#include <assert.h>
19485/* Override any gcc2 internal prototype to avoid an error. */
19486/* We use char because int might match the return type of a gcc2
19487 builtin and then its argument prototype would still apply. */
19488char $ac_func();
19489
19490int main() {
19491
19492/* The GNU C library defines this for functions which it implements
19493 to always fail with ENOSYS. Some functions are actually named
19494 something starting with __ and the normal name is an alias. */
19495#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19496choke me
19497#else
19498$ac_func();
19499#endif
19500
19501; return 0; }
19502EOF
19503if { (eval echo configure:19504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19504 rm -rf conftest*
19505 eval "ac_cv_func_$ac_func=yes"
19506else
19507 echo "configure: failed program was:" >&5
19508 cat conftest.$ac_ext >&5
19509 rm -rf conftest*
19510 eval "ac_cv_func_$ac_func=no"
19511fi
19512rm -f conftest*
19513fi
19514
19515if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19516 echo "$ac_t""yes" 1>&6
19517 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19518 cat >> confdefs.h <<EOF
19519#define $ac_tr_func 1
19520EOF
19521
19522 cat >> confdefs.h <<\EOF
19523#define HAVE_DLOPEN 1
19524EOF
19525
19526 HAVE_DL_FUNCS=1
19527
19528else
19529 echo "$ac_t""no" 1>&6
19530echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
19531echo "configure:19532: checking for dlopen in -ldl" >&5
19532ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
19533if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19534 echo $ac_n "(cached) $ac_c" 1>&6
19535else
19536 ac_save_LIBS="$LIBS"
19537LIBS="-ldl $LIBS"
19538cat > conftest.$ac_ext <<EOF
19539#line 19540 "configure"
19540#include "confdefs.h"
19541/* Override any gcc2 internal prototype to avoid an error. */
19542/* We use char because int might match the return type of a gcc2
19543 builtin and then its argument prototype would still apply. */
19544char dlopen();
19545
19546int main() {
19547dlopen()
19548; return 0; }
19549EOF
19550if { (eval echo configure:19551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19551 rm -rf conftest*
19552 eval "ac_cv_lib_$ac_lib_var=yes"
19553else
19554 echo "configure: failed program was:" >&5
19555 cat conftest.$ac_ext >&5
19556 rm -rf conftest*
19557 eval "ac_cv_lib_$ac_lib_var=no"
19558fi
19559rm -f conftest*
19560LIBS="$ac_save_LIBS"
19561
19562fi
19563if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19564 echo "$ac_t""yes" 1>&6
19565
19566 cat >> confdefs.h <<\EOF
19567#define HAVE_DLOPEN 1
19568EOF
19569
19570 HAVE_DL_FUNCS=1
19571 DL_LINK=" -ldl$DL_LINK"
19572
19573else
19574 echo "$ac_t""no" 1>&6
19575
19576 for ac_func in shl_load
19577do
19578echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19579echo "configure:19580: checking for $ac_func" >&5
19580if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19581 echo $ac_n "(cached) $ac_c" 1>&6
19582else
19583 cat > conftest.$ac_ext <<EOF
19584#line 19585 "configure"
19585#include "confdefs.h"
19586/* System header to define __stub macros and hopefully few prototypes,
19587 which can conflict with char $ac_func(); below. */
19588#include <assert.h>
19589/* Override any gcc2 internal prototype to avoid an error. */
19590/* We use char because int might match the return type of a gcc2
19591 builtin and then its argument prototype would still apply. */
19592char $ac_func();
19593
19594int main() {
19595
19596/* The GNU C library defines this for functions which it implements
19597 to always fail with ENOSYS. Some functions are actually named
19598 something starting with __ and the normal name is an alias. */
19599#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19600choke me
19601#else
19602$ac_func();
19603#endif
19604
19605; return 0; }
19606EOF
19607if { (eval echo configure:19608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19608 rm -rf conftest*
19609 eval "ac_cv_func_$ac_func=yes"
19610else
19611 echo "configure: failed program was:" >&5
19612 cat conftest.$ac_ext >&5
19613 rm -rf conftest*
19614 eval "ac_cv_func_$ac_func=no"
19615fi
19616rm -f conftest*
19617fi
19618
19619if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19620 echo "$ac_t""yes" 1>&6
19621 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19622 cat >> confdefs.h <<EOF
19623#define $ac_tr_func 1
19624EOF
19625
19626 cat >> confdefs.h <<\EOF
19627#define HAVE_SHL_LOAD 1
19628EOF
19629
19630 HAVE_SHL_FUNCS=1
19631
19632else
19633 echo "$ac_t""no" 1>&6
19634echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
19635echo "configure:19636: checking for dld in -lshl_load" >&5
19636ac_lib_var=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
19637if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19638 echo $ac_n "(cached) $ac_c" 1>&6
19639else
19640 ac_save_LIBS="$LIBS"
19641LIBS="-lshl_load $LIBS"
19642cat > conftest.$ac_ext <<EOF
19643#line 19644 "configure"
19644#include "confdefs.h"
19645/* Override any gcc2 internal prototype to avoid an error. */
19646/* We use char because int might match the return type of a gcc2
19647 builtin and then its argument prototype would still apply. */
19648char dld();
19649
19650int main() {
19651dld()
19652; return 0; }
19653EOF
19654if { (eval echo configure:19655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19655 rm -rf conftest*
19656 eval "ac_cv_lib_$ac_lib_var=yes"
19657else
19658 echo "configure: failed program was:" >&5
19659 cat conftest.$ac_ext >&5
19660 rm -rf conftest*
19661 eval "ac_cv_lib_$ac_lib_var=no"
19662fi
19663rm -f conftest*
19664LIBS="$ac_save_LIBS"
19665
19666fi
19667if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19668 echo "$ac_t""yes" 1>&6
19669
19670 HAVE_SHL_FUNCS=1
19671 DL_LINK=" -ldld$DL_LINK"
19672
19673else
19674 echo "$ac_t""no" 1>&6
19675fi
19676
19677
19678fi
19679done
19680
19681
19682fi
19683
19684
19685fi
19686done
19687
19688
19689 if test "$HAVE_DL_FUNCS" = 1; then
19690 for ac_func in dlerror
19691do
19692echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19693echo "configure:19694: checking for $ac_func" >&5
19694if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19695 echo $ac_n "(cached) $ac_c" 1>&6
19696else
19697 cat > conftest.$ac_ext <<EOF
19698#line 19699 "configure"
19699#include "confdefs.h"
19700/* System header to define __stub macros and hopefully few prototypes,
19701 which can conflict with char $ac_func(); below. */
19702#include <assert.h>
19703/* Override any gcc2 internal prototype to avoid an error. */
19704/* We use char because int might match the return type of a gcc2
19705 builtin and then its argument prototype would still apply. */
19706char $ac_func();
19707
19708int main() {
19709
19710/* The GNU C library defines this for functions which it implements
19711 to always fail with ENOSYS. Some functions are actually named
19712 something starting with __ and the normal name is an alias. */
19713#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19714choke me
19715#else
19716$ac_func();
19717#endif
19718
19719; return 0; }
19720EOF
19721if { (eval echo configure:19722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19722 rm -rf conftest*
19723 eval "ac_cv_func_$ac_func=yes"
19724else
19725 echo "configure: failed program was:" >&5
19726 cat conftest.$ac_ext >&5
19727 rm -rf conftest*
19728 eval "ac_cv_func_$ac_func=no"
19729fi
19730rm -f conftest*
19731fi
19732
19733if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19734 echo "$ac_t""yes" 1>&6
19735 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19736 cat >> confdefs.h <<EOF
19737#define $ac_tr_func 1
19738EOF
19739 cat >> confdefs.h <<\EOF
19740#define HAVE_DLERROR 1
19741EOF
19742
19743else
19744 echo "$ac_t""no" 1>&6
19745echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
19746echo "configure:19747: checking for dlerror in -ldl" >&5
19747ac_lib_var=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
19748if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19749 echo $ac_n "(cached) $ac_c" 1>&6
19750else
19751 ac_save_LIBS="$LIBS"
19752LIBS="-ldl $LIBS"
19753cat > conftest.$ac_ext <<EOF
19754#line 19755 "configure"
19755#include "confdefs.h"
19756/* Override any gcc2 internal prototype to avoid an error. */
19757/* We use char because int might match the return type of a gcc2
19758 builtin and then its argument prototype would still apply. */
19759char dlerror();
19760
19761int main() {
19762dlerror()
19763; return 0; }
19764EOF
19765if { (eval echo configure:19766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19766 rm -rf conftest*
19767 eval "ac_cv_lib_$ac_lib_var=yes"
19768else
19769 echo "configure: failed program was:" >&5
19770 cat conftest.$ac_ext >&5
19771 rm -rf conftest*
19772 eval "ac_cv_lib_$ac_lib_var=no"
19773fi
19774rm -f conftest*
19775LIBS="$ac_save_LIBS"
19776
19777fi
19778if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19779 echo "$ac_t""yes" 1>&6
19780 cat >> confdefs.h <<\EOF
19781#define HAVE_DLERROR 1
19782EOF
19783
19784else
19785 echo "$ac_t""no" 1>&6
19786fi
19787
19788fi
19789done
19790
19791 fi
19792 fi
19793
19794 if test "$HAVE_DL_FUNCS" = 0; then
19795 if test "$HAVE_SHL_FUNCS" = 0; then
19796 if test "$USE_UNIX" = 1; then
19797 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
19798 wxUSE_DYNAMIC_LOADER=no
19799 wxUSE_DYNLIB_CLASS=no
19800 else
19801 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
19802 fi
19803 fi
19804 fi
19805 fi
19806fi
19807
19808if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
19809 cat >> confdefs.h <<\EOF
19810#define wxUSE_DYNAMIC_LOADER 1
19811EOF
19812
19813elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19814 cat >> confdefs.h <<\EOF
19815#define wxUSE_DYNLIB_CLASS 1
19816EOF
19817
19818fi
19819
19820
19821if test "$wxUSE_FONTMAP" = "yes" ; then
19822 cat >> confdefs.h <<\EOF
19823#define wxUSE_FONTMAP 1
19824EOF
19825
19826fi
19827
19828if test "$wxUSE_UNICODE" = "yes" ; then
19829 cat >> confdefs.h <<\EOF
19830#define wxUSE_UNICODE 1
19831EOF
19832
19833
19834 if test "$wxUSE_MSW" != 1; then
19835 wxUSE_UNICODE_MSLU=no
19836 fi
19837
19838 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
19839 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
19840echo "configure:19841: checking for main in -lunicows" >&5
19841ac_lib_var=`echo unicows'_'main | sed 'y%./+-%__p_%'`
19842if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19843 echo $ac_n "(cached) $ac_c" 1>&6
19844else
19845 ac_save_LIBS="$LIBS"
19846LIBS="-lunicows $LIBS"
19847cat > conftest.$ac_ext <<EOF
19848#line 19849 "configure"
19849#include "confdefs.h"
19850
19851int main() {
19852main()
19853; return 0; }
19854EOF
19855if { (eval echo configure:19856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19856 rm -rf conftest*
19857 eval "ac_cv_lib_$ac_lib_var=yes"
19858else
19859 echo "configure: failed program was:" >&5
19860 cat conftest.$ac_ext >&5
19861 rm -rf conftest*
19862 eval "ac_cv_lib_$ac_lib_var=no"
19863fi
19864rm -f conftest*
19865LIBS="$ac_save_LIBS"
19866
19867fi
19868if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19869 echo "$ac_t""yes" 1>&6
19870
19871 cat >> confdefs.h <<\EOF
19872#define wxUSE_UNICODE_MSLU 1
19873EOF
19874
19875
19876else
19877 echo "$ac_t""no" 1>&6
19878
19879 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
19880 Applications will only run on Windows NT/2000/XP!" 1>&2
19881 wxUSE_UNICODE_MSLU=no
19882
19883fi
19884
19885 fi
19886fi
19887
19888if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
19889 cat >> confdefs.h <<\EOF
19890#define wxUSE_EXPERIMENTAL_PRINTF 1
19891EOF
19892
19893fi
19894
19895
19896
19897IODBC_C_SRC=""
19898if test "$wxUSE_ODBC" = "yes" ; then
19899 cat >> confdefs.h <<\EOF
19900#define wxUSE_ODBC 1
19901EOF
19902
19903 WXODBCFLAG="-D_IODBC_"
19904 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
19905fi
19906
19907
19908if test "$wxUSE_POSTSCRIPT" = "yes" ; then
19909 cat >> confdefs.h <<\EOF
19910#define wxUSE_POSTSCRIPT 1
19911EOF
19912
19913fi
19914
19915cat >> confdefs.h <<\EOF
19916#define wxUSE_AFM_FOR_POSTSCRIPT 1
19917EOF
19918
19919
19920cat >> confdefs.h <<\EOF
19921#define wxUSE_NORMALIZED_PS_FONTS 1
19922EOF
19923
19924
19925
19926if test "$wxUSE_CONSTRAINTS" = "yes"; then
19927 cat >> confdefs.h <<\EOF
19928#define wxUSE_CONSTRAINTS 1
19929EOF
19930
19931 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
19932fi
19933
19934if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19935
19936
19937 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19938 cat >> confdefs.h <<\EOF
19939#define wxUSE_MDI_ARCHITECTURE 1
19940EOF
19941
19942 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
19943 fi
19944fi
19945
19946if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
19947 cat >> confdefs.h <<\EOF
19948#define wxUSE_DOC_VIEW_ARCHITECTURE 1
19949EOF
19950
19951 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
19952 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
19954 fi
19955fi
19956
19957if test "$wxUSE_HELP" = "yes"; then
19958 cat >> confdefs.h <<\EOF
19959#define wxUSE_HELP 1
19960EOF
19961
19962 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
19963
19964 if test "$wxUSE_MSW" = 1; then
19965 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
19966 cat >> confdefs.h <<\EOF
19967#define wxUSE_MS_HTML_HELP 1
19968EOF
19969
19970 fi
19971 fi
19972
19973 if test "$wxUSE_WXHTML_HELP" = "yes"; then
19974 if test "$wxUSE_HTML" = "yes"; then
19975 cat >> confdefs.h <<\EOF
19976#define wxUSE_WXHTML_HELP 1
19977EOF
19978
19979 else
19980 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
19981 wxUSE_WXHTML_HELP=no
19982 fi
19983 fi
19984fi
19985
19986if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
19987 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19988 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
19989 else
19990 cat >> confdefs.h <<\EOF
19991#define wxUSE_PRINTING_ARCHITECTURE 1
19992EOF
19993
19994 fi
19995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
19996fi
19997
19998if test "$wxUSE_PROLOGIO" = "yes" ; then
19999 cat >> confdefs.h <<\EOF
20000#define wxUSE_PROLOGIO 1
20001EOF
20002
20003fi
20004
20005if test "$wxUSE_RESOURCES" = "yes" ; then
20006 if test "$wxUSE_NANOX" = "yes"; then
20007 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
20008 else
20009 cat >> confdefs.h <<\EOF
20010#define wxUSE_RESOURCES 1
20011EOF
20012
20013 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS resource"
20014 fi
20015fi
20016
20017if test "$wxUSE_X_RESOURCES" = "yes"; then
20018 cat >> confdefs.h <<\EOF
20019#define wxUSE_X_RESOURCES 1
20020EOF
20021
20022fi
20023
20024
20025if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
20026 -o "$wxUSE_CLIPBOARD" = "yes" \
20027 -o "$wxUSE_OLE" = "yes" \
20028 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
20029 for ac_hdr in ole2.h
20030do
20031ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20032echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20033echo "configure:20034: checking for $ac_hdr" >&5
20034if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20035 echo $ac_n "(cached) $ac_c" 1>&6
20036else
20037 cat > conftest.$ac_ext <<EOF
20038#line 20039 "configure"
20039#include "confdefs.h"
20040#include <$ac_hdr>
20041EOF
20042ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20043{ (eval echo configure:20044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20044ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20045if test -z "$ac_err"; then
20046 rm -rf conftest*
20047 eval "ac_cv_header_$ac_safe=yes"
20048else
20049 echo "$ac_err" >&5
20050 echo "configure: failed program was:" >&5
20051 cat conftest.$ac_ext >&5
20052 rm -rf conftest*
20053 eval "ac_cv_header_$ac_safe=no"
20054fi
20055rm -f conftest*
20056fi
20057if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20058 echo "$ac_t""yes" 1>&6
20059 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20060 cat >> confdefs.h <<EOF
20061#define $ac_tr_hdr 1
20062EOF
20063
20064else
20065 echo "$ac_t""no" 1>&6
20066fi
20067done
20068
20069
20070 if test "$ac_cv_header_ole2_h" = "yes" ; then
20071 if test "$GCC" = yes ; then
20072
20073 ac_ext=C
20074# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20075ac_cpp='$CXXCPP $CPPFLAGS'
20076ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20077ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20078cross_compiling=$ac_cv_prog_cxx_cross
20079
20080
20081 echo $ac_n "checking if g++ requires -fvtable-thunks""... $ac_c" 1>&6
20082echo "configure:20083: checking if g++ requires -fvtable-thunks" >&5
20083 cat > conftest.$ac_ext <<EOF
20084#line 20085 "configure"
20085#include "confdefs.h"
20086#include <windows.h>
20087 #include <ole2.h>
20088int main() {
20089
20090; return 0; }
20091EOF
20092if { (eval echo configure:20093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20093 rm -rf conftest*
20094 echo "$ac_t""no" 1>&6
20095else
20096 echo "configure: failed program was:" >&5
20097 cat conftest.$ac_ext >&5
20098 rm -rf conftest*
20099 echo "$ac_t""yes" 1>&6
20100 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
20101fi
20102rm -f conftest*
20103 ac_ext=c
20104# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20105ac_cpp='$CPP $CPPFLAGS'
20106ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20107ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20108cross_compiling=$ac_cv_prog_cc_cross
20109
20110 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
20111 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
20112 cat >> confdefs.h <<\EOF
20113#define wxUSE_OLE 1
20114EOF
20115
20116
20117 fi
20118
20119 cat >> confdefs.h <<\EOF
20120#define wxUSE_DATAOBJ 1
20121EOF
20122
20123 else
20124 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
20125
20126 wxUSE_CLIPBOARD=no
20127 wxUSE_DRAG_AND_DROP=no
20128 wxUSE_DATAOBJ=no
20129 wxUSE_OLE=no
20130 fi
20131
20132 if test "$wxUSE_METAFILE" = "yes"; then
20133 cat >> confdefs.h <<\EOF
20134#define wxUSE_METAFILE 1
20135EOF
20136
20137
20138 cat >> confdefs.h <<\EOF
20139#define wxUSE_ENH_METAFILE 1
20140EOF
20141
20142 fi
20143fi
20144
20145if test "$wxUSE_WINE" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
20146 -o "$wxUSE_CLIPBOARD" = "yes" \
20147 -o "$wxUSE_OLE" = "yes" \
20148 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
20149 for ac_hdr in ole2.h
20150do
20151ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20152echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20153echo "configure:20154: checking for $ac_hdr" >&5
20154if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20155 echo $ac_n "(cached) $ac_c" 1>&6
20156else
20157 cat > conftest.$ac_ext <<EOF
20158#line 20159 "configure"
20159#include "confdefs.h"
20160#include <$ac_hdr>
20161EOF
20162ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20163{ (eval echo configure:20164: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20164ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20165if test -z "$ac_err"; then
20166 rm -rf conftest*
20167 eval "ac_cv_header_$ac_safe=yes"
20168else
20169 echo "$ac_err" >&5
20170 echo "configure: failed program was:" >&5
20171 cat conftest.$ac_ext >&5
20172 rm -rf conftest*
20173 eval "ac_cv_header_$ac_safe=no"
20174fi
20175rm -f conftest*
20176fi
20177if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20178 echo "$ac_t""yes" 1>&6
20179 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20180 cat >> confdefs.h <<EOF
20181#define $ac_tr_hdr 1
20182EOF
20183
20184else
20185 echo "$ac_t""no" 1>&6
20186fi
20187done
20188
20189
20190 if test "$ac_cv_header_ole2_h" = "yes" ; then
20191 if test "$GCC" = yes ; then
20192
20193 ac_ext=C
20194# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20195ac_cpp='$CXXCPP $CPPFLAGS'
20196ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20197ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20198cross_compiling=$ac_cv_prog_cxx_cross
20199
20200
20201 echo $ac_n "checking if g++ requires -fvtable-thunks""... $ac_c" 1>&6
20202echo "configure:20203: checking if g++ requires -fvtable-thunks" >&5
20203 cat > conftest.$ac_ext <<EOF
20204#line 20205 "configure"
20205#include "confdefs.h"
20206#include <windows.h>
20207 #include <ole2.h>
20208int main() {
20209
20210; return 0; }
20211EOF
20212if { (eval echo configure:20213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20213 rm -rf conftest*
20214 echo "$ac_t""no" 1>&6
20215else
20216 echo "configure: failed program was:" >&5
20217 cat conftest.$ac_ext >&5
20218 rm -rf conftest*
20219 echo "$ac_t""yes" 1>&6
20220 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
20221fi
20222rm -f conftest*
20223 ac_ext=c
20224# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20225ac_cpp='$CPP $CPPFLAGS'
20226ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20227ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20228cross_compiling=$ac_cv_prog_cc_cross
20229
20230 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
20231 LIBS=" -lwine_uuid$LIBS"
20232 cat >> confdefs.h <<\EOF
20233#define wxUSE_OLE 1
20234EOF
20235
20236
20237 fi
20238
20239 cat >> confdefs.h <<\EOF
20240#define wxUSE_DATAOBJ 1
20241EOF
20242
20243 else
20244 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
20245
20246 wxUSE_CLIPBOARD=no
20247 wxUSE_DRAG_AND_DROP=no
20248 wxUSE_DATAOBJ=no
20249 wxUSE_OLE=no
20250 fi
20251
20252 if test "$wxUSE_METAFILE" = "yes"; then
20253 cat >> confdefs.h <<\EOF
20254#define wxUSE_METAFILE 1
20255EOF
20256
20257
20258 cat >> confdefs.h <<\EOF
20259#define wxUSE_ENH_METAFILE 1
20260EOF
20261
20262 fi
20263fi
20264
20265if test "$wxUSE_IPC" = "yes"; then
20266 if test "$wxUSE_SOCKETS" != "yes"; then
20267 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
20268 fi
20269
20270 cat >> confdefs.h <<\EOF
20271#define wxUSE_IPC 1
20272EOF
20273
20274fi
20275
20276if test "$wxUSE_CLIPBOARD" = "yes"; then
20277 if test "$wxUSE_MGL" = 1; then
20278 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
20279 wxUSE_CLIPBOARD=no
20280 fi
20281
20282 if test "$wxUSE_CLIPBOARD" = "yes"; then
20283 cat >> confdefs.h <<\EOF
20284#define wxUSE_CLIPBOARD 1
20285EOF
20286
20287
20288 cat >> confdefs.h <<\EOF
20289#define wxUSE_DATAOBJ 1
20290EOF
20291
20292 fi
20293fi
20294
20295if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
20296 if test "$wxUSE_GTK" = 1; then
20297 if test "$WXGTK12" != 1; then
20298 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
20299 wxUSE_DRAG_AND_DROP=no
20300 fi
20301 fi
20302
20303 if test "$wxUSE_MOTIF" = 1; then
20304 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
20305 wxUSE_DRAG_AND_DROP=no
20306 fi
20307
20308 if test "$wxUSE_X11" = 1; then
20309 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
20310 wxUSE_DRAG_AND_DROP=no
20311 fi
20312
20313 if test "$wxUSE_MGL" = 1; then
20314 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
20315 wxUSE_DRAG_AND_DROP=no
20316 fi
20317
20318 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
20319 cat >> confdefs.h <<\EOF
20320#define wxUSE_DRAG_AND_DROP 1
20321EOF
20322
20323 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
20324 fi
20325
20326fi
20327
20328if test "$wxUSE_SPLINES" = "yes" ; then
20329 cat >> confdefs.h <<\EOF
20330#define wxUSE_SPLINES 1
20331EOF
20332
20333fi
20334
20335
20336USES_CONTROLS=0
20337if test "$wxUSE_CONTROLS" = "yes"; then
20338 USES_CONTROLS=1
20339fi
20340
20341if test "$wxUSE_ACCEL" = "yes"; then
20342 cat >> confdefs.h <<\EOF
20343#define wxUSE_ACCEL 1
20344EOF
20345
20346 USES_CONTROLS=1
20347fi
20348
20349if test "$wxUSE_BUTTON" = "yes"; then
20350 cat >> confdefs.h <<\EOF
20351#define wxUSE_BUTTON 1
20352EOF
20353
20354 USES_CONTROLS=1
20355fi
20356
20357if test "$wxUSE_BMPBUTTON" = "yes"; then
20358 cat >> confdefs.h <<\EOF
20359#define wxUSE_BMPBUTTON 1
20360EOF
20361
20362 USES_CONTROLS=1
20363fi
20364
20365if test "$wxUSE_CALCTRL" = "yes"; then
20366 cat >> confdefs.h <<\EOF
20367#define wxUSE_CALENDARCTRL 1
20368EOF
20369
20370 USES_CONTROLS=1
20371 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
20372fi
20373
20374if test "$wxUSE_CARET" = "yes"; then
20375 cat >> confdefs.h <<\EOF
20376#define wxUSE_CARET 1
20377EOF
20378
20379 USES_CONTROLS=1
20380 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
20381fi
20382
20383if test "$wxUSE_COMBOBOX" = "yes"; then
20384 cat >> confdefs.h <<\EOF
20385#define wxUSE_COMBOBOX 1
20386EOF
20387
20388 USES_CONTROLS=1
20389fi
20390
20391if test "$wxUSE_CHOICE" = "yes"; then
20392 cat >> confdefs.h <<\EOF
20393#define wxUSE_CHOICE 1
20394EOF
20395
20396 USES_CONTROLS=1
20397fi
20398
20399if test "$wxUSE_CHECKBOX" = "yes"; then
20400 cat >> confdefs.h <<\EOF
20401#define wxUSE_CHECKBOX 1
20402EOF
20403
20404 USES_CONTROLS=1
20405fi
20406
20407if test "$wxUSE_CHECKLST" = "yes"; then
20408 cat >> confdefs.h <<\EOF
20409#define wxUSE_CHECKLISTBOX 1
20410EOF
20411
20412 USES_CONTROLS=1
20413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
20414fi
20415
20416if test "$wxUSE_GAUGE" = "yes"; then
20417 cat >> confdefs.h <<\EOF
20418#define wxUSE_GAUGE 1
20419EOF
20420
20421 USES_CONTROLS=1
20422fi
20423
20424if test "$wxUSE_NEW_GRID" = "yes"; then
20425 wxUSE_GRID="yes"
20426 cat >> confdefs.h <<\EOF
20427#define wxUSE_NEW_GRID 1
20428EOF
20429
20430 USES_CONTROLS=1
20431 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS newgrid"
20432fi
20433
20434if test "$wxUSE_GRID" = "yes"; then
20435 cat >> confdefs.h <<\EOF
20436#define wxUSE_GRID 1
20437EOF
20438
20439 USES_CONTROLS=1
20440 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
20441fi
20442
20443if test "$wxUSE_IMAGLIST" = "yes"; then
20444 cat >> confdefs.h <<\EOF
20445#define wxUSE_IMAGLIST 1
20446EOF
20447
20448fi
20449
20450if test "$wxUSE_LISTBOX" = "yes"; then
20451 cat >> confdefs.h <<\EOF
20452#define wxUSE_LISTBOX 1
20453EOF
20454
20455 USES_CONTROLS=1
20456fi
20457
20458if test "$wxUSE_LISTCTRL" = "yes"; then
20459 if test "$wxUSE_IMAGLIST" = "yes"; then
20460 cat >> confdefs.h <<\EOF
20461#define wxUSE_LISTCTRL 1
20462EOF
20463
20464 USES_CONTROLS=1
20465 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
20466 else
20467 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
20468 fi
20469fi
20470
20471if test "$wxUSE_NOTEBOOK" = "yes"; then
20472 cat >> confdefs.h <<\EOF
20473#define wxUSE_NOTEBOOK 1
20474EOF
20475
20476 USES_CONTROLS=1
20477 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
20478fi
20479
20480if test "$wxUSE_PROPSHEET" = "yes"; then
20481 cat >> confdefs.h <<\EOF
20482#define wxUSE_PROPSHEET 1
20483EOF
20484
20485 USES_CONTROLS=1
20486 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS proplist"
20487fi
20488
20489if test "$wxUSE_RADIOBOX" = "yes"; then
20490 cat >> confdefs.h <<\EOF
20491#define wxUSE_RADIOBOX 1
20492EOF
20493
20494 USES_CONTROLS=1
20495fi
20496
20497if test "$wxUSE_RADIOBTN" = "yes"; then
20498 cat >> confdefs.h <<\EOF
20499#define wxUSE_RADIOBTN 1
20500EOF
20501
20502 USES_CONTROLS=1
20503fi
20504
20505if test "$wxUSE_SASH" = "yes"; then
20506 cat >> confdefs.h <<\EOF
20507#define wxUSE_SASH 1
20508EOF
20509
20510 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
20511fi
20512
20513if test "$wxUSE_SCROLLBAR" = "yes"; then
20514 cat >> confdefs.h <<\EOF
20515#define wxUSE_SCROLLBAR 1
20516EOF
20517
20518 USES_CONTROLS=1
20519 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
20520fi
20521
20522if test "$wxUSE_SLIDER" = "yes"; then
20523 cat >> confdefs.h <<\EOF
20524#define wxUSE_SLIDER 1
20525EOF
20526
20527 USES_CONTROLS=1
20528fi
20529
20530if test "$wxUSE_SPINBTN" = "yes"; then
20531 cat >> confdefs.h <<\EOF
20532#define wxUSE_SPINBTN 1
20533EOF
20534
20535 USES_CONTROLS=1
20536fi
20537
20538if test "$wxUSE_SPINCTRL" = "yes"; then
20539 cat >> confdefs.h <<\EOF
20540#define wxUSE_SPINCTRL 1
20541EOF
20542
20543 USES_CONTROLS=1
20544fi
20545
20546if test "$wxUSE_SPLITTER" = "yes"; then
20547 cat >> confdefs.h <<\EOF
20548#define wxUSE_SPLITTER 1
20549EOF
20550
20551 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
20552fi
20553
20554if test "$wxUSE_STATBMP" = "yes"; then
20555 cat >> confdefs.h <<\EOF
20556#define wxUSE_STATBMP 1
20557EOF
20558
20559 USES_CONTROLS=1
20560fi
20561
20562if test "$wxUSE_STATBOX" = "yes"; then
20563 cat >> confdefs.h <<\EOF
20564#define wxUSE_STATBOX 1
20565EOF
20566
20567 USES_CONTROLS=1
20568fi
20569
20570if test "$wxUSE_STATTEXT" = "yes"; then
20571 cat >> confdefs.h <<\EOF
20572#define wxUSE_STATTEXT 1
20573EOF
20574
20575 USES_CONTROLS=1
20576fi
20577
20578if test "$wxUSE_STATLINE" = "yes"; then
20579 if test "$wxUSE_WINE" = 1 ; then
20580 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
20581 else
20582 cat >> confdefs.h <<\EOF
20583#define wxUSE_STATLINE 1
20584EOF
20585
20586 USES_CONTROLS=1
20587 fi
20588fi
20589
20590if test "$wxUSE_STATUSBAR" = "yes"; then
20591 cat >> confdefs.h <<\EOF
20592#define wxUSE_STATUSBAR 1
20593EOF
20594
20595 USES_CONTROLS=1
20596
20597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
20598fi
20599
20600if test "$wxUSE_TABDIALOG" = "yes"; then
20601 cat >> confdefs.h <<\EOF
20602#define wxUSE_TAB_DIALOG 1
20603EOF
20604
20605 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
20606fi
20607
20608if test "$wxUSE_TEXTCTRL" = "yes"; then
20609 cat >> confdefs.h <<\EOF
20610#define wxUSE_TEXTCTRL 1
20611EOF
20612
20613 USES_CONTROLS=1
20614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
20615fi
20616
20617if test "$wxUSE_TOGGLEBTN" = "yes"; then
20618 if test "$wxUSE_MAC" = 1; then
20619 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
20620 wxUSE_TOGGLEBTN=no
20621 fi
20622 if test "$wxUSE_UNIVERSAL" = "yes"; then
20623 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
20624 wxUSE_TOGGLEBTN=no
20625 fi
20626
20627 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20628 cat >> confdefs.h <<\EOF
20629#define wxUSE_TOGGLEBTN 1
20630EOF
20631
20632 USES_CONTROLS=1
20633 fi
20634fi
20635
20636if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
20637 cat >> confdefs.h <<\EOF
20638#define wxUSE_TOOLBAR_SIMPLE 1
20639EOF
20640
20641 wxUSE_TOOLBAR="yes"
20642 USES_CONTROLS=1
20643fi
20644
20645if test "$wxUSE_TOOLBAR" = "yes"; then
20646 cat >> confdefs.h <<\EOF
20647#define wxUSE_TOOLBAR 1
20648EOF
20649
20650 USES_CONTROLS=1
20651
20652 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
20653 wxUSE_TOOLBAR_NATIVE="yes"
20654 fi
20655
20656 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
20657 cat >> confdefs.h <<\EOF
20658#define wxUSE_TOOLBAR_NATIVE 1
20659EOF
20660
20661 USES_CONTROLS=1
20662 fi
20663
20664 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
20665fi
20666
20667if test "$wxUSE_TOOLTIPS" = "yes"; then
20668 if test "$wxUSE_MOTIF" = 1; then
20669 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
20670 else
20671 if test "$wxUSE_WINE" = 1; then
20672 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
20673 else
20674 if test "$wxUSE_UNIVERSAL" = "yes"; then
20675 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
20676 else
20677 cat >> confdefs.h <<\EOF
20678#define wxUSE_TOOLTIPS 1
20679EOF
20680
20681 fi
20682 fi
20683 fi
20684fi
20685
20686if test "$wxUSE_TREECTRL" = "yes"; then
20687 if test "$wxUSE_IMAGLIST" = "yes"; then
20688 cat >> confdefs.h <<\EOF
20689#define wxUSE_TREECTRL 1
20690EOF
20691
20692 USES_CONTROLS=1
20693 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
20694 else
20695 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
20696 fi
20697fi
20698
20699if test "$wxUSE_POPUPWIN" = "yes"; then
20700 if test "$wxUSE_MAC" = 1; then
20701 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
20702 else
20703 if test "$wxUSE_MOTIF" = 1; then
20704 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
20705 else
20706 if test "$wxUSE_PM" = 1; then
20707 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
20708 else
20709 cat >> confdefs.h <<\EOF
20710#define wxUSE_POPUPWIN 1
20711EOF
20712
20713
20714 USES_CONTROLS=1
20715 fi
20716 fi
20717 fi
20718fi
20719
20720if test "$wxUSE_TIPWINDOW" = "yes"; then
20721 if test "$wxUSE_PM" = 1; then
20722 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
20723 else
20724 cat >> confdefs.h <<\EOF
20725#define wxUSE_TIPWINDOW 1
20726EOF
20727
20728 fi
20729fi
20730
20731if test "$USES_CONTROLS" = 1; then
20732 cat >> confdefs.h <<\EOF
20733#define wxUSE_CONTROLS 1
20734EOF
20735
20736fi
20737
20738
20739if test "$wxUSE_TREELAYOUT" = "yes"; then
20740 cat >> confdefs.h <<\EOF
20741#define wxUSE_TREELAYOUT 1
20742EOF
20743
20744 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelay"
20745fi
20746
20747if test "$wxUSE_DRAGIMAGE" = "yes"; then
20748 cat >> confdefs.h <<\EOF
20749#define wxUSE_DRAGIMAGE 1
20750EOF
20751
20752 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
20753fi
20754
20755if test "$wxUSE_MENUS" = "yes"; then
20756 cat >> confdefs.h <<\EOF
20757#define wxUSE_MENUS 1
20758EOF
20759
20760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
20761fi
20762
20763if test "$wxUSE_METAFILE" = "yes"; then
20764 cat >> confdefs.h <<\EOF
20765#define wxUSE_METAFILE 1
20766EOF
20767
20768fi
20769
20770if test "$wxUSE_MIMETYPE" = "yes"; then
20771 cat >> confdefs.h <<\EOF
20772#define wxUSE_MIMETYPE 1
20773EOF
20774
20775fi
20776
20777if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
20778 cat >> confdefs.h <<\EOF
20779#define wxUSE_SYSTEM_OPTIONS 1
20780EOF
20781
20782if test "$TOOLKIT" = "MSW"; then
20783 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
20784fi
20785
20786fi
20787
20788if test "$wxUSE_PROTOCOL" = "yes"; then
20789 if test "$wxUSE_SOCKETS" != "yes"; then
20790 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
20791 wxUSE_PROTOCOL=no
20792 fi
20793
20794 if test "$wxUSE_PROTOCOL" = "yes"; then
20795 cat >> confdefs.h <<\EOF
20796#define wxUSE_PROTOCOL 1
20797EOF
20798
20799
20800 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
20801 cat >> confdefs.h <<\EOF
20802#define wxUSE_PROTOCOL_HTTP 1
20803EOF
20804
20805 fi
20806 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
20807 cat >> confdefs.h <<\EOF
20808#define wxUSE_PROTOCOL_FTP 1
20809EOF
20810
20811 fi
20812 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
20813 cat >> confdefs.h <<\EOF
20814#define wxUSE_PROTOCOL_FILE 1
20815EOF
20816
20817 fi
20818 fi
20819fi
20820
20821if test "$wxUSE_URL" = "yes"; then
20822 if test "$wxUSE_PROTOCOL" != "yes"; then
20823 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
20824 wxUSE_URL=no
20825 fi
20826 if test "$wxUSE_URL" = "yes"; then
20827 cat >> confdefs.h <<\EOF
20828#define wxUSE_URL 1
20829EOF
20830
20831 fi
20832fi
20833
20834if test "$wxUSE_MINIFRAME" = "yes"; then
20835 cat >> confdefs.h <<\EOF
20836#define wxUSE_MINIFRAME 1
20837EOF
20838
20839 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
20840fi
20841
20842if test "$wxUSE_HTML" = "yes"; then
20843 cat >> confdefs.h <<\EOF
20844#define wxUSE_HTML 1
20845EOF
20846
20847 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html"
20848fi
20849
20850if test "$wxUSE_VALIDATORS" = "yes"; then
20851 cat >> confdefs.h <<\EOF
20852#define wxUSE_VALIDATORS 1
20853EOF
20854
20855 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
20856fi
20857
20858if test "$wxUSE_PALETTE" = "yes" ; then
20859 cat >> confdefs.h <<\EOF
20860#define wxUSE_PALETTE 1
20861EOF
20862
20863fi
20864
20865if test "$wxUSE_IMAGE" = "yes" ; then
20866 cat >> confdefs.h <<\EOF
20867#define wxUSE_IMAGE 1
20868EOF
20869
20870fi
20871
20872if test "$wxUSE_GIF" = "yes" ; then
20873 cat >> confdefs.h <<\EOF
20874#define wxUSE_GIF 1
20875EOF
20876
20877fi
20878
20879if test "$wxUSE_PCX" = "yes" ; then
20880 cat >> confdefs.h <<\EOF
20881#define wxUSE_PCX 1
20882EOF
20883
20884fi
20885
20886if test "$wxUSE_IFF" = "yes" ; then
20887 cat >> confdefs.h <<\EOF
20888#define wxUSE_IFF 1
20889EOF
20890
20891fi
20892
20893if test "$wxUSE_PNM" = "yes" ; then
20894 cat >> confdefs.h <<\EOF
20895#define wxUSE_PNM 1
20896EOF
20897
20898fi
20899
20900if test "$wxUSE_XPM" = "yes" ; then
20901 cat >> confdefs.h <<\EOF
20902#define wxUSE_XPM 1
20903EOF
20904
20905fi
20906
20907if test "$wxUSE_ICO_CUR" = "yes" ; then
20908 cat >> confdefs.h <<\EOF
20909#define wxUSE_ICO_CUR 1
20910EOF
20911
20912fi
20913
20914if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
20915 LIBS=" -lunicows $LIBS"
20916fi
20917
20918
20919if test "$wxUSE_CHOICEDLG" = "yes"; then
20920 cat >> confdefs.h <<\EOF
20921#define wxUSE_CHOICEDLG 1
20922EOF
20923
20924fi
20925
20926if test "$wxUSE_COLOURDLG" = "yes"; then
20927 cat >> confdefs.h <<\EOF
20928#define wxUSE_COLOURDLG 1
20929EOF
20930
20931fi
20932
20933if test "$wxUSE_FILEDLG" = "yes"; then
20934 cat >> confdefs.h <<\EOF
20935#define wxUSE_FILEDLG 1
20936EOF
20937
20938fi
20939
20940if test "$wxUSE_FINDREPLDLG" = "yes"; then
20941 cat >> confdefs.h <<\EOF
20942#define wxUSE_FINDREPLDLG 1
20943EOF
20944
20945fi
20946
20947if test "$wxUSE_FONTDLG" = "yes"; then
20948 cat >> confdefs.h <<\EOF
20949#define wxUSE_FONTDLG 1
20950EOF
20951
20952fi
20953
20954if test "$wxUSE_DIRDLG" = "yes"; then
20955 if test "$wxUSE_TREECTRL" != "yes"; then
20956 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
20957 else
20958 cat >> confdefs.h <<\EOF
20959#define wxUSE_DIRDLG 1
20960EOF
20961
20962 fi
20963fi
20964
20965if test "$wxUSE_MSGDLG" = "yes"; then
20966 cat >> confdefs.h <<\EOF
20967#define wxUSE_MSGDLG 1
20968EOF
20969
20970fi
20971
20972if test "$wxUSE_NUMBERDLG" = "yes"; then
20973 cat >> confdefs.h <<\EOF
20974#define wxUSE_NUMBERDLG 1
20975EOF
20976
20977fi
20978
20979if test "$wxUSE_PROGRESSDLG" = "yes"; then
20980 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20981 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
20982 else
20983 cat >> confdefs.h <<\EOF
20984#define wxUSE_PROGRESSDLG 1
20985EOF
20986
20987 fi
20988fi
20989
20990if test "$wxUSE_SPLASH" = "yes"; then
20991 cat >> confdefs.h <<\EOF
20992#define wxUSE_SPLASH 1
20993EOF
20994
20995fi
20996
20997if test "$wxUSE_STARTUP_TIPS" = "yes"; then
20998 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20999 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
21000 else
21001 cat >> confdefs.h <<\EOF
21002#define wxUSE_STARTUP_TIPS 1
21003EOF
21004
21005 fi
21006fi
21007
21008if test "$wxUSE_TEXTDLG" = "yes"; then
21009 cat >> confdefs.h <<\EOF
21010#define wxUSE_TEXTDLG 1
21011EOF
21012
21013fi
21014
21015if test "$wxUSE_WIZARDDLG" = "yes"; then
21016 cat >> confdefs.h <<\EOF
21017#define wxUSE_WIZARDDLG 1
21018EOF
21019
21020 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
21021fi
21022
21023
21024if test "$cross_compiling" = "yes"; then
21025 OSINFO="\"$host\""
21026else
21027 OSINFO=`uname -s -r -m`
21028 OSINFO="\"$OSINFO\""
21029fi
21030
21031cat >> confdefs.h <<EOF
21032#define WXWIN_OS_DESCRIPTION $OSINFO
21033EOF
21034
21035
21036
21037if test "x$prefix" != "xNONE"; then
21038 wxPREFIX=$prefix
21039else
21040 wxPREFIX=$ac_default_prefix
21041fi
21042
21043cat >> confdefs.h <<EOF
21044#define wxINSTALL_PREFIX "$wxPREFIX"
21045EOF
21046
21047
21048
21049
21050
21051if test "$wxUSE_MAC" = 1 ; then
21052 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
21053fi
21054
21055
21056LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK -lm $LIBS"
21057
21058if test "$wxUSE_GUI" = "yes"; then
21059
21060 LIBS="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
21061
21062
21063 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
21064 drawing dynamic erase event exec font image \
21065 minimal propsize rotate widgets"
21066
21067 CPPFLAGS="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
21068else
21069 SAMPLES_SUBDIRS="console"
21070fi
21071
21072
21073INCLUDES="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
21074-I\${top_srcdir}/include \
21075$REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
21076$TOOLKIT_INCLUDE"
21077
21078if test "$wxUSE_GTK" = 1; then
21079 WXCONFIG_INCLUDE=
21080else
21081 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
21082fi
21083
21084if test "$GXX" = yes ; then
21085 CXXWARNINGS="-Wall"
21086
21087 if test "$wxUSE_NO_DEPS" = "no" ; then
21088 CFLAGS="-MMD $CFLAGS"
21089 CXXFLAGS="-MMD $CXXFLAGS"
21090 fi
21091fi
21092
21093EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
21094
21095CPPFLAGS=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
21096CFLAGS=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
21097CXXFLAGS=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
21098LIBS=`echo $LIBS | sed 's/ \+/ /g'`
21099
21100LDFLAGS="$LDFLAGS $PROFILE"
21101
21102SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
21103
21104
21105
21106
21107
21108
21109
21110
21111
21112
21113
21114
21115
21116
21117
21118
21119
21120
21121
21122
21123
21124
21125
21126
21127
21128
21129
21130
21131
21132
21133
21134
21135
21136
21137
21138
21139
21140
21141
21142
21143
21144
21145
21146
21147
21148
21149
21150
21151
21152
21153
21154
21155
21156
21157
21158
21159
21160
21161
21162
21163
21164
21165
21166
21167
21168
21169
21170
21171
21172
21173
21174
21175
21176
21177
21178
21179
21180
21181
21182
21183
21184
21185
21186
21187
21188
21189
21190
21191
21192
21193
21194
21195
21196echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
21197echo "configure:21198: checking whether ${MAKE-make} sets \${MAKE}" >&5
21198set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
21199if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
21200 echo $ac_n "(cached) $ac_c" 1>&6
21201else
21202 cat > conftestmake <<\EOF
21203all:
21204 @echo 'ac_maketemp="${MAKE}"'
21205EOF
21206# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21207eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
21208if test -n "$ac_maketemp"; then
21209 eval ac_cv_prog_make_${ac_make}_set=yes
21210else
21211 eval ac_cv_prog_make_${ac_make}_set=no
21212fi
21213rm -f conftestmake
21214fi
21215if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
21216 echo "$ac_t""yes" 1>&6
21217 SET_MAKE=
21218else
21219 echo "$ac_t""no" 1>&6
21220 SET_MAKE="MAKE=${MAKE-make}"
21221fi
21222
21223
21224if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
21225 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
21226fi
21227
21228
21229
21230wx_cv_path_samplesubdirs=$SAMPLES_SUBDIRS
21231wx_cv_if_gnu_make=$IF_GNU_MAKE
21232wx_cv_path_ifs=$PATH_IFS
21233wx_cv_program_ext=$PROGRAM_EXT
21234wx_cv_target_library=$WX_TARGET_LIBRARY
21235wx_cv_target_library_gl=$WX_TARGET_LIBRARY_GL
21236wx_cv_target_libtype=$WX_TARGET_LIBRARY_TYPE
21237export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
21238 wx_cv_path_ifs wx_cv_program_ext \
21239 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
21240
21241subdirs="demos samples utils contrib"
21242
21243
21244trap '' 1 2 15
21245cat > confcache <<\EOF
21246# This file is a shell script that caches the results of configure
21247# tests run on this system so they can be shared between configure
21248# scripts and configure runs. It is not useful on other systems.
21249# If it contains results you don't want to keep, you may remove or edit it.
21250#
21251# By default, configure uses ./config.cache as the cache file,
21252# creating it if it does not exist already. You can give configure
21253# the --cache-file=FILE option to use a different cache file; that is
21254# what configure does when it calls configure scripts in
21255# subdirectories, so they share the cache.
21256# Giving --cache-file=/dev/null disables caching, for debugging configure.
21257# config.status only pays attention to the cache file if you give it the
21258# --recheck option to rerun configure.
21259#
21260EOF
21261# The following way of writing the cache mishandles newlines in values,
21262# but we know of no workaround that is simple, portable, and efficient.
21263# So, don't put newlines in cache variables' values.
21264# Ultrix sh set writes to stderr and can't be redirected directly,
21265# and sets the high bit in the cache file unless we assign to the vars.
21266(set) 2>&1 |
21267 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21268 *ac_space=\ *)
21269 # `set' does not quote correctly, so add quotes (double-quote substitution
21270 # turns \\\\ into \\, and sed turns \\ into \).
21271 sed -n \
21272 -e "s/'/'\\\\''/g" \
21273 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
21274 ;;
21275 *)
21276 # `set' quotes correctly as required by POSIX, so do not add quotes.
21277 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
21278 ;;
21279 esac >> confcache
21280if cmp -s $cache_file confcache; then
21281 :
21282else
21283 if test -w $cache_file; then
21284 echo "updating cache $cache_file"
21285 cat confcache > $cache_file
21286 else
21287 echo "not updating unwritable cache $cache_file"
21288 fi
21289fi
21290rm -f confcache
21291
21292trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
21293
21294test "x$prefix" = xNONE && prefix=$ac_default_prefix
21295# Let make expand exec_prefix.
21296test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21297
21298# Any assignment to VPATH causes Sun make to only execute
21299# the first set of double-colon rules, so remove it if not needed.
21300# If there is a colon in the path, we need to keep it.
21301if test "x$srcdir" = x.; then
21302 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
21303fi
21304
21305trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
21306
21307DEFS=-DHAVE_CONFIG_H
21308
21309# Without the "./", some shells look in PATH for config.status.
21310: ${CONFIG_STATUS=./config.status}
21311
21312echo creating $CONFIG_STATUS
21313rm -f $CONFIG_STATUS
21314cat > $CONFIG_STATUS <<EOF
21315#! /bin/sh
21316# Generated automatically by configure.
21317# Run this file to recreate the current configuration.
21318# This directory was configured as follows,
21319# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21320#
21321# $0 $ac_configure_args
21322#
21323# Compiler output produced by configure, useful for debugging
21324# configure, is in ./config.log if it exists.
21325
21326ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
21327for ac_option
21328do
21329 case "\$ac_option" in
21330 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21331 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
21332 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
21333 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
21334 echo "$CONFIG_STATUS generated by autoconf version 2.13"
21335 exit 0 ;;
21336 -help | --help | --hel | --he | --h)
21337 echo "\$ac_cs_usage"; exit 0 ;;
21338 *) echo "\$ac_cs_usage"; exit 1 ;;
21339 esac
21340done
21341
21342ac_given_srcdir=$srcdir
21343ac_given_INSTALL="$INSTALL"
21344
21345trap 'rm -fr `echo "
21346 wx-config
21347 src/make.env
21348 src/makeprog.env
21349 src/makelib.env
21350 Makefile
21351 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
21352EOF
21353cat >> $CONFIG_STATUS <<EOF
21354
21355# Protect against being on the right side of a sed subst in config.status.
21356sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
21357 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
21358$ac_vpsub
21359$extrasub
21360s%@SHELL@%$SHELL%g
21361s%@CFLAGS@%$CFLAGS%g
21362s%@CPPFLAGS@%$CPPFLAGS%g
21363s%@CXXFLAGS@%$CXXFLAGS%g
21364s%@FFLAGS@%$FFLAGS%g
21365s%@DEFS@%$DEFS%g
21366s%@LDFLAGS@%$LDFLAGS%g
21367s%@LIBS@%$LIBS%g
21368s%@exec_prefix@%$exec_prefix%g
21369s%@prefix@%$prefix%g
21370s%@program_transform_name@%$program_transform_name%g
21371s%@bindir@%$bindir%g
21372s%@sbindir@%$sbindir%g
21373s%@libexecdir@%$libexecdir%g
21374s%@datadir@%$datadir%g
21375s%@sysconfdir@%$sysconfdir%g
21376s%@sharedstatedir@%$sharedstatedir%g
21377s%@localstatedir@%$localstatedir%g
21378s%@libdir@%$libdir%g
21379s%@includedir@%$includedir%g
21380s%@oldincludedir@%$oldincludedir%g
21381s%@infodir@%$infodir%g
21382s%@mandir@%$mandir%g
21383s%@host@%$host%g
21384s%@host_alias@%$host_alias%g
21385s%@host_cpu@%$host_cpu%g
21386s%@host_vendor@%$host_vendor%g
21387s%@host_os@%$host_os%g
21388s%@target@%$target%g
21389s%@target_alias@%$target_alias%g
21390s%@target_cpu@%$target_cpu%g
21391s%@target_vendor@%$target_vendor%g
21392s%@target_os@%$target_os%g
21393s%@build@%$build%g
21394s%@build_alias@%$build_alias%g
21395s%@build_cpu@%$build_cpu%g
21396s%@build_vendor@%$build_vendor%g
21397s%@build_os@%$build_os%g
21398s%@CC@%$CC%g
21399s%@CPP@%$CPP%g
21400s%@CXX@%$CXX%g
21401s%@RANLIB@%$RANLIB%g
21402s%@AR@%$AR%g
21403s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
21404s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
21405s%@INSTALL_DATA@%$INSTALL_DATA%g
21406s%@STRIP@%$STRIP%g
21407s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
21408s%@YACC@%$YACC%g
21409s%@LEX@%$LEX%g
21410s%@LEXLIB@%$LEXLIB%g
21411s%@LN_S@%$LN_S%g
21412s%@CXXCPP@%$CXXCPP%g
21413s%@PKG_CONFIG@%$PKG_CONFIG%g
21414s%@GTK_CFLAGS@%$GTK_CFLAGS%g
21415s%@GTK_LIBS@%$GTK_LIBS%g
21416s%@GTK_CONFIG@%$GTK_CONFIG%g
21417s%@PANGOFT2_CFLAGS@%$PANGOFT2_CFLAGS%g
21418s%@PANGOFT2_LIBS@%$PANGOFT2_LIBS%g
21419s%@X_CFLAGS@%$X_CFLAGS%g
21420s%@X_PRE_LIBS@%$X_PRE_LIBS%g
21421s%@X_LIBS@%$X_LIBS%g
21422s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
21423s%@AIX_CXX_LD@%$AIX_CXX_LD%g
21424s%@RESCOMP@%$RESCOMP%g
21425s%@DEREZ@%$DEREZ%g
21426s%@LIBICONV@%$LIBICONV%g
21427s%@LEX_STEM@%$LEX_STEM%g
21428s%@PATH_IFS@%$PATH_IFS%g
21429s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
21430s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
21431s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
21432s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
21433s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
21434s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
21435s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
21436s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
21437s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
21438s%@PROGRAM_EXT@%$PROGRAM_EXT%g
21439s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
21440s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
21441s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
21442s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
21443s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
21444s%@WX_ALL@%$WX_ALL%g
21445s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
21446s%@SHARED_LD@%$SHARED_LD%g
21447s%@PIC_FLAG@%$PIC_FLAG%g
21448s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
21449s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
21450s%@SONAME_FLAGS@%$SONAME_FLAGS%g
21451s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
21452s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
21453s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
21454s%@STATIC_FLAG@%$STATIC_FLAG%g
21455s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
21456s%@USE_GUI@%$USE_GUI%g
21457s%@AFMINSTALL@%$AFMINSTALL%g
21458s%@TOOLKIT@%$TOOLKIT%g
21459s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
21460s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
21461s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
21462s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
21463s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
21464s%@cross_compiling@%$cross_compiling%g
21465s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
21466s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
21467s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
21468s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
21469s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
21470s%@WXCONFIG_RPATH@%$WXCONFIG_RPATH%g
21471s%@WX_LARGEFILE_FLAGS@%$WX_LARGEFILE_FLAGS%g
21472s%@ALL_OBJECTS@%$ALL_OBJECTS%g
21473s%@ALL_HEADERS@%$ALL_HEADERS%g
21474s%@ALL_SOURCES@%$ALL_SOURCES%g
21475s%@GUIDIST@%$GUIDIST%g
21476s%@PORT_FILES@%$PORT_FILES%g
21477s%@DISTDIR@%$DISTDIR%g
21478s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
21479s%@LDFLAGS_GL@%$LDFLAGS_GL%g
21480s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
21481s%@OPENGL_LIBS@%$OPENGL_LIBS%g
21482s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
21483s%@EXTRADEFS@%$EXTRADEFS%g
21484s%@RESFLAGS@%$RESFLAGS%g
21485s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
21486s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
21487s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
21488s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
21489s%@LIBWXMACRES@%$LIBWXMACRES%g
21490s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
21491s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
21492s%@DLLTOOL@%$DLLTOOL%g
21493s%@AS@%$AS%g
21494s%@NM@%$NM%g
21495s%@LD@%$LD%g
21496s%@MAKEINFO@%$MAKEINFO%g
21497s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
21498s%@SET_MAKE@%$SET_MAKE%g
21499s%@subdirs@%$subdirs%g
21500
21501CEOF
21502EOF
21503
21504cat >> $CONFIG_STATUS <<\EOF
21505
21506# Split the substitutions into bite-sized pieces for seds with
21507# small command number limits, like on Digital OSF/1 and HP-UX.
21508ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
21509ac_file=1 # Number of current file.
21510ac_beg=1 # First line for current file.
21511ac_end=$ac_max_sed_cmds # Line after last line for current file.
21512ac_more_lines=:
21513ac_sed_cmds=""
21514while $ac_more_lines; do
21515 if test $ac_beg -gt 1; then
21516 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
21517 else
21518 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
21519 fi
21520 if test ! -s conftest.s$ac_file; then
21521 ac_more_lines=false
21522 rm -f conftest.s$ac_file
21523 else
21524 if test -z "$ac_sed_cmds"; then
21525 ac_sed_cmds="sed -f conftest.s$ac_file"
21526 else
21527 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
21528 fi
21529 ac_file=`expr $ac_file + 1`
21530 ac_beg=$ac_end
21531 ac_end=`expr $ac_end + $ac_max_sed_cmds`
21532 fi
21533done
21534if test -z "$ac_sed_cmds"; then
21535 ac_sed_cmds=cat
21536fi
21537EOF
21538
21539cat >> $CONFIG_STATUS <<EOF
21540
21541CONFIG_FILES=\${CONFIG_FILES-"wx-config
21542 src/make.env
21543 src/makeprog.env
21544 src/makelib.env
21545 Makefile
21546 "}
21547EOF
21548cat >> $CONFIG_STATUS <<\EOF
21549for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
21550 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21551 case "$ac_file" in
21552 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
21553 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
21554 *) ac_file_in="${ac_file}.in" ;;
21555 esac
21556
21557 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
21558
21559 # Remove last slash and all that follows it. Not all systems have dirname.
21560 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21561 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21562 # The file is in a subdirectory.
21563 test ! -d "$ac_dir" && mkdir "$ac_dir"
21564 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
21565 # A "../" for each directory in $ac_dir_suffix.
21566 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
21567 else
21568 ac_dir_suffix= ac_dots=
21569 fi
21570
21571 case "$ac_given_srcdir" in
21572 .) srcdir=.
21573 if test -z "$ac_dots"; then top_srcdir=.
21574 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
21575 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
21576 *) # Relative path.
21577 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
21578 top_srcdir="$ac_dots$ac_given_srcdir" ;;
21579 esac
21580
21581 case "$ac_given_INSTALL" in
21582 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21583 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21584 esac
21585
21586 echo creating "$ac_file"
21587 rm -f "$ac_file"
21588 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
21589 case "$ac_file" in
21590 *Makefile*) ac_comsub="1i\\
21591# $configure_input" ;;
21592 *) ac_comsub= ;;
21593 esac
21594
21595 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21596 sed -e "$ac_comsub
21597s%@configure_input@%$configure_input%g
21598s%@srcdir@%$srcdir%g
21599s%@top_srcdir@%$top_srcdir%g
21600s%@INSTALL@%$INSTALL%g
21601" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
21602fi; done
21603rm -f conftest.s*
21604
21605# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21606# NAME is the cpp macro being defined and VALUE is the value it is being given.
21607#
21608# ac_d sets the value in "#define NAME VALUE" lines.
21609ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21610ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
21611ac_dC='\3'
21612ac_dD='%g'
21613# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
21614ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21615ac_uB='\([ ]\)%\1#\2define\3'
21616ac_uC=' '
21617ac_uD='\4%g'
21618# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21619ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21620ac_eB='$%\1#\2define\3'
21621ac_eC=' '
21622ac_eD='%g'
21623
21624if test "${CONFIG_HEADERS+set}" != set; then
21625EOF
21626cat >> $CONFIG_STATUS <<EOF
21627 CONFIG_HEADERS="setup.h:setup.h.in"
21628EOF
21629cat >> $CONFIG_STATUS <<\EOF
21630fi
21631for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
21632 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21633 case "$ac_file" in
21634 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
21635 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
21636 *) ac_file_in="${ac_file}.in" ;;
21637 esac
21638
21639 echo creating $ac_file
21640
21641 rm -f conftest.frag conftest.in conftest.out
21642 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21643 cat $ac_file_inputs > conftest.in
21644
21645EOF
21646
21647# Transform confdefs.h into a sed script conftest.vals that substitutes
21648# the proper values into config.h.in to produce config.h. And first:
21649# Protect against being on the right side of a sed subst in config.status.
21650# Protect against being in an unquoted here document in config.status.
21651rm -f conftest.vals
21652cat > conftest.hdr <<\EOF
21653s/[\\&%]/\\&/g
21654s%[\\$`]%\\&%g
21655s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
21656s%ac_d%ac_u%gp
21657s%ac_u%ac_e%gp
21658EOF
21659sed -n -f conftest.hdr confdefs.h > conftest.vals
21660rm -f conftest.hdr
21661
21662# This sed command replaces #undef with comments. This is necessary, for
21663# example, in the case of _POSIX_SOURCE, which is predefined and required
21664# on some systems where configure will not decide to define it.
21665cat >> conftest.vals <<\EOF
21666s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
21667EOF
21668
21669# Break up conftest.vals because some shells have a limit on
21670# the size of here documents, and old seds have small limits too.
21671
21672rm -f conftest.tail
21673while :
21674do
21675 ac_lines=`grep -c . conftest.vals`
21676 # grep -c gives empty output for an empty file on some AIX systems.
21677 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
21678 # Write a limited-size here document to conftest.frag.
21679 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
21680 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
21681 echo 'CEOF
21682 sed -f conftest.frag conftest.in > conftest.out
21683 rm -f conftest.in
21684 mv conftest.out conftest.in
21685' >> $CONFIG_STATUS
21686 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
21687 rm -f conftest.vals
21688 mv conftest.tail conftest.vals
21689done
21690rm -f conftest.vals
21691
21692cat >> $CONFIG_STATUS <<\EOF
21693 rm -f conftest.frag conftest.h
21694 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
21695 cat conftest.in >> conftest.h
21696 rm -f conftest.in
21697 if cmp -s $ac_file conftest.h 2>/dev/null; then
21698 echo "$ac_file is unchanged"
21699 rm -f conftest.h
21700 else
21701 # Remove last slash and all that follows it. Not all systems have dirname.
21702 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21703 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21704 # The file is in a subdirectory.
21705 test ! -d "$ac_dir" && mkdir "$ac_dir"
21706 fi
21707 rm -f $ac_file
21708 mv conftest.h $ac_file
21709 fi
21710fi; done
21711
21712EOF
21713cat >> $CONFIG_STATUS <<EOF
21714
21715 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
21716 LN_S="${LN_S}"
21717
21718
21719EOF
21720cat >> $CONFIG_STATUS <<\EOF
21721
21722 if test ! -h wx-config; then
21723 chmod +x wx-config
21724 mv wx-config wx${TOOLCHAIN_NAME}-config
21725 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
21726 fi
21727
21728 if test ! -d lib; then
21729 mkdir lib
21730 fi
21731 if test ! -d lib/wx; then
21732 mkdir lib/wx
21733 fi
21734 if test ! -d lib/wx/include; then
21735 mkdir lib/wx/include
21736 fi
21737 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
21738 mkdir lib/wx/include/${TOOLCHAIN_NAME}
21739 fi
21740 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
21741 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
21742 fi
21743 if test -f setup.h; then
21744 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
21745 fi
21746
21747exit 0
21748EOF
21749chmod +x $CONFIG_STATUS
21750rm -fr confdefs* $ac_clean_files
21751test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
21752
21753if test "$no_recursion" != yes; then
21754
21755 # Remove --cache-file and --srcdir arguments so they do not pile up.
21756 ac_sub_configure_args=
21757 ac_prev=
21758 for ac_arg in $ac_configure_args; do
21759 if test -n "$ac_prev"; then
21760 ac_prev=
21761 continue
21762 fi
21763 case "$ac_arg" in
21764 -cache-file | --cache-file | --cache-fil | --cache-fi \
21765 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
21766 ac_prev=cache_file ;;
21767 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
21768 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
21769 ;;
21770 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
21771 ac_prev=srcdir ;;
21772 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
21773 ;;
21774 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
21775 esac
21776 done
21777
21778 for ac_config_dir in demos samples utils contrib; do
21779
21780 # Do not complain, so a configure script can configure whichever
21781 # parts of a large source tree are present.
21782 if test ! -d $srcdir/$ac_config_dir; then
21783 continue
21784 fi
21785
21786 echo configuring in $ac_config_dir
21787
21788 case "$srcdir" in
21789 .) ;;
21790 *)
21791 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
21792 else
21793 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
21794 fi
21795 ;;
21796 esac
21797
21798 ac_popdir=`pwd`
21799 cd $ac_config_dir
21800
21801 # A "../" for each directory in /$ac_config_dir.
21802 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
21803
21804 case "$srcdir" in
21805 .) # No --srcdir option. We are building in place.
21806 ac_sub_srcdir=$srcdir ;;
21807 /*) # Absolute path.
21808 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
21809 *) # Relative path.
21810 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
21811 esac
21812
21813 # Check for guested configure; otherwise get Cygnus style configure.
21814 if test -f $ac_sub_srcdir/configure; then
21815 ac_sub_configure=$ac_sub_srcdir/configure
21816 elif test -f $ac_sub_srcdir/configure.in; then
21817 ac_sub_configure=$ac_configure
21818 else
21819 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
21820 ac_sub_configure=
21821 fi
21822
21823 # The recursion is here.
21824 if test -n "$ac_sub_configure"; then
21825
21826 # Make the cache file name correct relative to the subdirectory.
21827 case "$cache_file" in
21828 /*) ac_sub_cache_file=$cache_file ;;
21829 *) # Relative path.
21830 ac_sub_cache_file="$ac_dots$cache_file" ;;
21831 esac
21832 case "$ac_given_INSTALL" in
21833 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21834 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21835 esac
21836
21837 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
21838 # The eval makes quoting arguments work.
21839 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
21840 then :
21841 else
21842 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
21843 fi
21844 fi
21845
21846 cd $ac_popdir
21847 done
21848fi
21849
21850