]> git.saurik.com Git - wxWidgets.git/blame_incremental - configure
attempts to fix vsnprintf() detection under HP-UX
[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
60
61
62# Configure paths for GTK+
63# Owen Taylor 1997-2001
64
65
66
67# Configure paths for GTK+
68# Owen Taylor 97-11-3
69
70
71
72
73
74
75
76
77# Guess values for system-dependent variables and create Makefiles.
78# Generated automatically using autoconf version 2.13
79# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
80#
81# This configure script is free software; the Free Software Foundation
82# gives unlimited permission to copy, distribute and modify it.
83
84# Defaults:
85ac_help=
86ac_default_prefix=/usr/local
87# Any additions from configure.in:
88ac_help="$ac_help
89 --enable-gui use GUI classes"
90ac_help="$ac_help
91 --enable-universal use wxWindows GUI controls instead of native ones"
92ac_help="$ac_help
93 --with-gtk use GTK+"
94ac_help="$ac_help
95 --with-motif use Motif/Lesstif"
96ac_help="$ac_help
97 --with-mac use Mac OS X"
98ac_help="$ac_help
99 --with-wine use Wine"
100ac_help="$ac_help
101 --with-msw use MS-Windows"
102ac_help="$ac_help
103 --with-pm use OS/2 Presentation Manager"
104ac_help="$ac_help
105 --with-mgl use SciTech MGL"
106ac_help="$ac_help
107 --with-microwin use MicroWindows"
108ac_help="$ac_help
109 --with-x11 use X11"
110ac_help="$ac_help
111 --enable-nanox use NanoX"
112ac_help="$ac_help
113 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
114ac_help="$ac_help
115 --with-libpng use libpng (PNG image format)"
116ac_help="$ac_help
117 --with-libjpeg use libjpeg (JPEG file format)"
118ac_help="$ac_help
119 --with-libtiff use libtiff (TIFF file format)"
120ac_help="$ac_help
121 --with-opengl use OpenGL (or Mesa)"
122ac_help="$ac_help
123 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
124ac_help="$ac_help
125 --with-regex enable support for wxRegEx class"
126ac_help="$ac_help
127 --with-zlib use zlib for LZW compression"
128ac_help="$ac_help
129 --with-odbc use the IODBC and wxODBC classes"
130ac_help="$ac_help
131 --enable-shared create shared library code"
132ac_help="$ac_help
133 --enable-soname set the DT_SONAME field in ELF shared libraries"
134ac_help="$ac_help
135 --enable-optimise create optimised code"
136ac_help="$ac_help
137 --enable-debug same as debug_flag and debug_info"
138ac_help="$ac_help
139 --enable-precomp enable use of precompiled headers (Mac OS X/Darwin)"
140ac_help="$ac_help
141 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
142ac_help="$ac_help
143 --enable-debug_info create code with debugging information"
144ac_help="$ac_help
145 --enable-debug_gdb create code with extra GDB debugging information"
146ac_help="$ac_help
147 --enable-debug_cntxt use wxDebugContext"
148ac_help="$ac_help
149 --enable-mem_tracing create code with memory tracing"
150ac_help="$ac_help
151 --enable-profile create code with profiling information"
152ac_help="$ac_help
153 --enable-no_rtti create code without RTTI information"
154ac_help="$ac_help
155 --enable-no_exceptions create code without C++ exceptions handling"
156ac_help="$ac_help
157 --enable-permissive compile code disregarding strict ANSI"
158ac_help="$ac_help
159 --enable-no_deps create code without dependency information"
160ac_help="$ac_help
161 --enable-compat20 enable wxWindows 2.0 compatibility"
162ac_help="$ac_help
163 --enable-compat22 enable wxWindows 2.2 compatibility"
164ac_help="$ac_help
165 --disable-compat24 disable wxWindows 2.4 compatibility"
166ac_help="$ac_help
167 --enable-rpath=DIR output the rpath flag from wx-config"
168ac_help="$ac_help
169 --enable-intl use internationalization system"
170ac_help="$ac_help
171 --enable-config use wxConfig (and derived) classes"
172ac_help="$ac_help
173 --enable-protocols use wxProtocol and derived classes"
174ac_help="$ac_help
175 --enable-ftp use wxFTP (requires wxProtocol"
176ac_help="$ac_help
177 --enable-http use wxHTTP (requires wxProtocol"
178ac_help="$ac_help
179 --enable-fileproto use wxFileProto class (requires wxProtocol"
180ac_help="$ac_help
181 --enable-sockets use socket/network classes"
182ac_help="$ac_help
183 --enable-ole use OLE classes"
184ac_help="$ac_help
185 --enable-dataobj use data object classes"
186ac_help="$ac_help
187 --enable-ipc use interprocess communication (wxSocket etc.)"
188ac_help="$ac_help
189 --enable-cmdline use wxCmdLineParser class"
190ac_help="$ac_help
191 --enable-datetime use wxDateTime class"
192ac_help="$ac_help
193 --enable-timedate use obsolete wxDate/wxTime classes"
194ac_help="$ac_help
195 --enable-stopwatch use wxStopWatch class"
196ac_help="$ac_help
197 --enable-dialupman use dialup network classes"
198ac_help="$ac_help
199 --enable-apple_ieee use the Apple IEEE codec"
200ac_help="$ac_help
201 --enable-timer use wxTimer class"
202ac_help="$ac_help
203 --enable-wave use wxWave class"
204ac_help="$ac_help
205 --enable-fraction use wxFraction class"
206ac_help="$ac_help
207 --enable-dynlib use wxLibrary class for DLL loading"
208ac_help="$ac_help
209 --enable-dynamicloader use (new) wxDynamicLibrary class"
210ac_help="$ac_help
211 --enable-longlong use wxLongLong class"
212ac_help="$ac_help
213 --enable-geometry use geometry class"
214ac_help="$ac_help
215 --enable-log use logging system"
216ac_help="$ac_help
217 --enable-streams use wxStream etc classes"
218ac_help="$ac_help
219 --enable-file use wxFile classes"
220ac_help="$ac_help
221 --enable-ffile use wxFFile classes"
222ac_help="$ac_help
223 --enable-textbuf use wxTextBuffer class"
224ac_help="$ac_help
225 --enable-textfile use wxTextFile class"
226ac_help="$ac_help
227 --enable-fontmap use font encodings conversion classes"
228ac_help="$ac_help
229 --enable-unicode compile wxString with Unicode support"
230ac_help="$ac_help
231 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
232ac_help="$ac_help
233 --enable-wxprintfv use wxWindows implementation of vprintf()"
234ac_help="$ac_help
235 --enable-std_iostreams use standard C++ stream classes"
236ac_help="$ac_help
237 --enable-filesystem use virtual file systems classes"
238ac_help="$ac_help
239 --enable-fs_inet use virtual HTTP/FTP filesystems"
240ac_help="$ac_help
241 --enable-fs_zip use virtual ZIP filesystems"
242ac_help="$ac_help
243 --enable-zipstream use wxZipInputStream"
244ac_help="$ac_help
245 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
246ac_help="$ac_help
247 --enable-snglinst use wxSingleInstanceChecker class"
248ac_help="$ac_help
249 --enable-mimetype use wxMimeTypesManager"
250ac_help="$ac_help
251 --enable-sysoptions use wxSystemOptions"
252ac_help="$ac_help
253 --enable-url use wxURL class"
254ac_help="$ac_help
255 --enable-protocol use wxProtocol class"
256ac_help="$ac_help
257 --enable-protocol-http HTTP support in wxProtocol"
258ac_help="$ac_help
259 --enable-protocol-ftp FTP support in wxProtocol"
260ac_help="$ac_help
261 --enable-protocol-file FILE support in wxProtocol"
262ac_help="$ac_help
263 --enable-threads use threads"
264ac_help="$ac_help
265 --enable-docview use document view architecture"
266ac_help="$ac_help
267 --enable-help use help subsystem"
268ac_help="$ac_help
269 --enable-mshtmlhelp use MS HTML Help (win32)"
270ac_help="$ac_help
271 --enable-html use wxHTML sub-library"
272ac_help="$ac_help
273 --enable-htmlhelp use wxHTML-based help"
274ac_help="$ac_help
275 --enable-constraints use layout-constraints system"
276ac_help="$ac_help
277 --enable-printarch use printing architecture"
278ac_help="$ac_help
279 --enable-mdi use multiple document interface architecture"
280ac_help="$ac_help
281 --enable-loggui use standard GUI logger"
282ac_help="$ac_help
283 --enable-logwin use wxLogWindow"
284ac_help="$ac_help
285 --enable-logdialog use wxLogDialog"
286ac_help="$ac_help
287 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
288ac_help="$ac_help
289 --enable-prologio use Prolog IO library"
290ac_help="$ac_help
291 --enable-resources use wxWindows resources"
292ac_help="$ac_help
293 --enable-xresources use X resources for save (default for gtk+)"
294ac_help="$ac_help
295 --enable-clipboard use wxClipboard classes"
296ac_help="$ac_help
297 --enable-dnd use Drag'n'Drop classes"
298ac_help="$ac_help
299 --enable-metafile use win32 metafiles"
300ac_help="$ac_help
301 --enable-treelayout use wxTreeLayout classes"
302ac_help="$ac_help
303 --enable-controls use all usual controls"
304ac_help="$ac_help
305 --enable-accel use accelerators"
306ac_help="$ac_help
307 --enable-button use wxButton class"
308ac_help="$ac_help
309 --enable-bmpbutton use wxBitmapButton class"
310ac_help="$ac_help
311 --enable-calendar use wxCalendarCtrl class"
312ac_help="$ac_help
313 --enable-caret use wxCaret class"
314ac_help="$ac_help
315 --enable-checkbox use wxCheckBox class"
316ac_help="$ac_help
317 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
318ac_help="$ac_help
319 --enable-choice use wxChoice class"
320ac_help="$ac_help
321 --enable-combobox use wxComboBox classes"
322ac_help="$ac_help
323 --enable-gauge use wxGauge class"
324ac_help="$ac_help
325 --enable-grid use wxGrid class"
326ac_help="$ac_help
327 --enable-newgrid use new wxGrid class"
328ac_help="$ac_help
329 --enable-imaglist use wxImageList class"
330ac_help="$ac_help
331 --enable-listbox use wxListBox class"
332ac_help="$ac_help
333 --enable-listctrl use wxListCtrl class"
334ac_help="$ac_help
335 --enable-notebook use wxNotebook class"
336ac_help="$ac_help
337 --enable-propsheet use wxPropertySheet class"
338ac_help="$ac_help
339 --enable-radiobox use wxRadioBox class"
340ac_help="$ac_help
341 --enable-radiobtn use wxRadioButton class"
342ac_help="$ac_help
343 --enable-sash use wxSashWindow class"
344ac_help="$ac_help
345 --enable-scrollbar use wxScrollBar class and scrollable windows"
346ac_help="$ac_help
347 --enable-slider use wxSlider class"
348ac_help="$ac_help
349 --enable-spinbtn use wxSpinButton class"
350ac_help="$ac_help
351 --enable-spinctrl use wxSpinCtrl class"
352ac_help="$ac_help
353 --enable-splitter use wxSplitterWindow class"
354ac_help="$ac_help
355 --enable-statbmp use wxStaticBitmap class"
356ac_help="$ac_help
357 --enable-statbox use wxStaticBox class"
358ac_help="$ac_help
359 --enable-statline use wxStaticLine class"
360ac_help="$ac_help
361 --enable-stattext use wxStaticText class"
362ac_help="$ac_help
363 --enable-statusbar use wxStatusBar class"
364ac_help="$ac_help
365 --enable-tabdialog use wxTabControl class"
366ac_help="$ac_help
367 --enable-textctrl use wxTextCtrl class"
368ac_help="$ac_help
369 --enable-togglebtn use wxToggleButton class"
370ac_help="$ac_help
371 --enable-toolbar use wxToolBar class"
372ac_help="$ac_help
373 --enable-tbarnative use native wxToolBar class"
374ac_help="$ac_help
375 --enable-tbarsmpl use wxToolBarSimple class"
376ac_help="$ac_help
377 --enable-treectrl use wxTreeCtrl class"
378ac_help="$ac_help
379 --enable-tipwindow use wxTipWindow class"
380ac_help="$ac_help
381 --enable-popupwin use wxPopUpWindow class"
382ac_help="$ac_help
383 --enable-commondlg use all common dialogs"
384ac_help="$ac_help
385 --enable-choicedlg use wxChoiceDialog"
386ac_help="$ac_help
387 --enable-coldlg use wxColourDialog"
388ac_help="$ac_help
389 --enable-filedlg use wxFileDialog"
390ac_help="$ac_help
391 --enable-finddlg use wxFindReplaceDialog"
392ac_help="$ac_help
393 --enable-fontdlg use wxFontDialog"
394ac_help="$ac_help
395 --enable-dirdlg use wxDirDialog"
396ac_help="$ac_help
397 --enable-msgdlg use wxMessageDialog"
398ac_help="$ac_help
399 --enable-numberdlg use wxNumberEntryDialog"
400ac_help="$ac_help
401 --enable-splash use wxSplashScreen"
402ac_help="$ac_help
403 --enable-textdlg use wxTextDialog"
404ac_help="$ac_help
405 --enable-tipdlg use startup tips"
406ac_help="$ac_help
407 --enable-progressdlg use wxProgressDialog"
408ac_help="$ac_help
409 --enable-wizarddlg use wxWizard"
410ac_help="$ac_help
411 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
412ac_help="$ac_help
413 --enable-miniframe use wxMiniFrame class"
414ac_help="$ac_help
415 --enable-tooltips use wxToolTip class"
416ac_help="$ac_help
417 --enable-splines use spline drawing code"
418ac_help="$ac_help
419 --enable-validators use wxValidator and derived classes"
420ac_help="$ac_help
421 --enable-busyinfo use wxBusyInfo"
422ac_help="$ac_help
423 --enable-joystick use wxJoystick (Linux only)"
424ac_help="$ac_help
425 --enable-metafiles use wxMetaFile (Windows only)"
426ac_help="$ac_help
427 --enable-dragimage use wxDragImage"
428ac_help="$ac_help
429 --enable-palette use wxPalette class"
430ac_help="$ac_help
431 --enable-image use wxImage class"
432ac_help="$ac_help
433 --enable-gif use gif images (GIF file format)"
434ac_help="$ac_help
435 --enable-pcx use pcx images (PCX file format)"
436ac_help="$ac_help
437 --enable-iff use iff images (IFF file format)"
438ac_help="$ac_help
439 --enable-pnm use pnm images (PNM file format)"
440ac_help="$ac_help
441 --enable-xpm use xpm images (XPM file format)"
442ac_help="$ac_help
443 --enable-icocur use Windows ICO and CUR formats"
444ac_help="$ac_help
445 --disable-largefile omit support for large files"
446ac_help="$ac_help
447 --disable-gtktest do not try to compile and run a test GTK+ program"
448ac_help="$ac_help
449 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
450ac_help="$ac_help
451 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
452ac_help="$ac_help
453 --disable-gtktest Do not try to compile and run a test GTK program"
454ac_help="$ac_help
455 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
456ac_help="$ac_help
457 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
458ac_help="$ac_help
459 --disable-gtktest Do not try to compile and run a test GTK program"
460ac_help="$ac_help
461 --with-x use the X Window System"
462ac_help="$ac_help
463 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
464
465# Initialize some variables set by options.
466# The variables have the same names as the options, with
467# dashes changed to underlines.
468build=NONE
469cache_file=./config.cache
470exec_prefix=NONE
471host=NONE
472no_create=
473nonopt=NONE
474no_recursion=
475prefix=NONE
476program_prefix=NONE
477program_suffix=NONE
478program_transform_name=s,x,x,
479silent=
480site=
481srcdir=
482target=NONE
483verbose=
484x_includes=NONE
485x_libraries=NONE
486bindir='${exec_prefix}/bin'
487sbindir='${exec_prefix}/sbin'
488libexecdir='${exec_prefix}/libexec'
489datadir='${prefix}/share'
490sysconfdir='${prefix}/etc'
491sharedstatedir='${prefix}/com'
492localstatedir='${prefix}/var'
493libdir='${exec_prefix}/lib'
494includedir='${prefix}/include'
495oldincludedir='/usr/include'
496infodir='${prefix}/info'
497mandir='${prefix}/man'
498
499# Initialize some other variables.
500subdirs=
501MFLAGS= MAKEFLAGS=
502SHELL=${CONFIG_SHELL-/bin/sh}
503# Maximum number of lines to put in a shell here document.
504ac_max_here_lines=12
505
506ac_prev=
507for ac_option
508do
509
510 # If the previous option needs an argument, assign it.
511 if test -n "$ac_prev"; then
512 eval "$ac_prev=\$ac_option"
513 ac_prev=
514 continue
515 fi
516
517 case "$ac_option" in
518 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
519 *) ac_optarg= ;;
520 esac
521
522 # Accept the important Cygnus configure options, so we can diagnose typos.
523
524 case "$ac_option" in
525
526 -bindir | --bindir | --bindi | --bind | --bin | --bi)
527 ac_prev=bindir ;;
528 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
529 bindir="$ac_optarg" ;;
530
531 -build | --build | --buil | --bui | --bu)
532 ac_prev=build ;;
533 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
534 build="$ac_optarg" ;;
535
536 -cache-file | --cache-file | --cache-fil | --cache-fi \
537 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
538 ac_prev=cache_file ;;
539 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
540 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
541 cache_file="$ac_optarg" ;;
542
543 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
544 ac_prev=datadir ;;
545 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
546 | --da=*)
547 datadir="$ac_optarg" ;;
548
549 -disable-* | --disable-*)
550 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
551 # Reject names that are not valid shell variable names.
552 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
553 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
554 fi
555 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
556 eval "enable_${ac_feature}=no" ;;
557
558 -enable-* | --enable-*)
559 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
560 # Reject names that are not valid shell variable names.
561 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
562 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
563 fi
564 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
565 case "$ac_option" in
566 *=*) ;;
567 *) ac_optarg=yes ;;
568 esac
569 eval "enable_${ac_feature}='$ac_optarg'" ;;
570
571 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
572 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
573 | --exec | --exe | --ex)
574 ac_prev=exec_prefix ;;
575 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
576 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
577 | --exec=* | --exe=* | --ex=*)
578 exec_prefix="$ac_optarg" ;;
579
580 -gas | --gas | --ga | --g)
581 # Obsolete; use --with-gas.
582 with_gas=yes ;;
583
584 -help | --help | --hel | --he)
585 # Omit some internal or obsolete options to make the list less imposing.
586 # This message is too long to be a string in the A/UX 3.1 sh.
587 cat << EOF
588Usage: configure [options] [host]
589Options: [defaults in brackets after descriptions]
590Configuration:
591 --cache-file=FILE cache test results in FILE
592 --help print this message
593 --no-create do not create output files
594 --quiet, --silent do not print \`checking...' messages
595 --version print the version of autoconf that created configure
596Directory and file names:
597 --prefix=PREFIX install architecture-independent files in PREFIX
598 [$ac_default_prefix]
599 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
600 [same as prefix]
601 --bindir=DIR user executables in DIR [EPREFIX/bin]
602 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
603 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
604 --datadir=DIR read-only architecture-independent data in DIR
605 [PREFIX/share]
606 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
607 --sharedstatedir=DIR modifiable architecture-independent data in DIR
608 [PREFIX/com]
609 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
610 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
611 --includedir=DIR C header files in DIR [PREFIX/include]
612 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
613 --infodir=DIR info documentation in DIR [PREFIX/info]
614 --mandir=DIR man documentation in DIR [PREFIX/man]
615 --srcdir=DIR find the sources in DIR [configure dir or ..]
616 --program-prefix=PREFIX prepend PREFIX to installed program names
617 --program-suffix=SUFFIX append SUFFIX to installed program names
618 --program-transform-name=PROGRAM
619 run sed PROGRAM on installed program names
620EOF
621 cat << EOF
622Host type:
623 --build=BUILD configure for building on BUILD [BUILD=HOST]
624 --host=HOST configure for HOST [guessed]
625 --target=TARGET configure for TARGET [TARGET=HOST]
626Features and packages:
627 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
628 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
629 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
630 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
631 --x-includes=DIR X include files are in DIR
632 --x-libraries=DIR X library files are in DIR
633EOF
634 if test -n "$ac_help"; then
635 echo "--enable and --with options recognized:$ac_help"
636 fi
637 exit 0 ;;
638
639 -host | --host | --hos | --ho)
640 ac_prev=host ;;
641 -host=* | --host=* | --hos=* | --ho=*)
642 host="$ac_optarg" ;;
643
644 -includedir | --includedir | --includedi | --included | --include \
645 | --includ | --inclu | --incl | --inc)
646 ac_prev=includedir ;;
647 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
648 | --includ=* | --inclu=* | --incl=* | --inc=*)
649 includedir="$ac_optarg" ;;
650
651 -infodir | --infodir | --infodi | --infod | --info | --inf)
652 ac_prev=infodir ;;
653 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
654 infodir="$ac_optarg" ;;
655
656 -libdir | --libdir | --libdi | --libd)
657 ac_prev=libdir ;;
658 -libdir=* | --libdir=* | --libdi=* | --libd=*)
659 libdir="$ac_optarg" ;;
660
661 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
662 | --libexe | --libex | --libe)
663 ac_prev=libexecdir ;;
664 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
665 | --libexe=* | --libex=* | --libe=*)
666 libexecdir="$ac_optarg" ;;
667
668 -localstatedir | --localstatedir | --localstatedi | --localstated \
669 | --localstate | --localstat | --localsta | --localst \
670 | --locals | --local | --loca | --loc | --lo)
671 ac_prev=localstatedir ;;
672 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
673 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
674 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
675 localstatedir="$ac_optarg" ;;
676
677 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
678 ac_prev=mandir ;;
679 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
680 mandir="$ac_optarg" ;;
681
682 -nfp | --nfp | --nf)
683 # Obsolete; use --without-fp.
684 with_fp=no ;;
685
686 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
687 | --no-cr | --no-c)
688 no_create=yes ;;
689
690 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
691 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
692 no_recursion=yes ;;
693
694 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
695 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
696 | --oldin | --oldi | --old | --ol | --o)
697 ac_prev=oldincludedir ;;
698 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
699 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
700 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
701 oldincludedir="$ac_optarg" ;;
702
703 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
704 ac_prev=prefix ;;
705 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
706 prefix="$ac_optarg" ;;
707
708 -program-prefix | --program-prefix | --program-prefi | --program-pref \
709 | --program-pre | --program-pr | --program-p)
710 ac_prev=program_prefix ;;
711 -program-prefix=* | --program-prefix=* | --program-prefi=* \
712 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
713 program_prefix="$ac_optarg" ;;
714
715 -program-suffix | --program-suffix | --program-suffi | --program-suff \
716 | --program-suf | --program-su | --program-s)
717 ac_prev=program_suffix ;;
718 -program-suffix=* | --program-suffix=* | --program-suffi=* \
719 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
720 program_suffix="$ac_optarg" ;;
721
722 -program-transform-name | --program-transform-name \
723 | --program-transform-nam | --program-transform-na \
724 | --program-transform-n | --program-transform- \
725 | --program-transform | --program-transfor \
726 | --program-transfo | --program-transf \
727 | --program-trans | --program-tran \
728 | --progr-tra | --program-tr | --program-t)
729 ac_prev=program_transform_name ;;
730 -program-transform-name=* | --program-transform-name=* \
731 | --program-transform-nam=* | --program-transform-na=* \
732 | --program-transform-n=* | --program-transform-=* \
733 | --program-transform=* | --program-transfor=* \
734 | --program-transfo=* | --program-transf=* \
735 | --program-trans=* | --program-tran=* \
736 | --progr-tra=* | --program-tr=* | --program-t=*)
737 program_transform_name="$ac_optarg" ;;
738
739 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
740 | -silent | --silent | --silen | --sile | --sil)
741 silent=yes ;;
742
743 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
744 ac_prev=sbindir ;;
745 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
746 | --sbi=* | --sb=*)
747 sbindir="$ac_optarg" ;;
748
749 -sharedstatedir | --sharedstatedir | --sharedstatedi \
750 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
751 | --sharedst | --shareds | --shared | --share | --shar \
752 | --sha | --sh)
753 ac_prev=sharedstatedir ;;
754 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
755 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
756 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
757 | --sha=* | --sh=*)
758 sharedstatedir="$ac_optarg" ;;
759
760 -site | --site | --sit)
761 ac_prev=site ;;
762 -site=* | --site=* | --sit=*)
763 site="$ac_optarg" ;;
764
765 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
766 ac_prev=srcdir ;;
767 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
768 srcdir="$ac_optarg" ;;
769
770 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
771 | --syscon | --sysco | --sysc | --sys | --sy)
772 ac_prev=sysconfdir ;;
773 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
774 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
775 sysconfdir="$ac_optarg" ;;
776
777 -target | --target | --targe | --targ | --tar | --ta | --t)
778 ac_prev=target ;;
779 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
780 target="$ac_optarg" ;;
781
782 -v | -verbose | --verbose | --verbos | --verbo | --verb)
783 verbose=yes ;;
784
785 -version | --version | --versio | --versi | --vers)
786 echo "configure generated by autoconf version 2.13"
787 exit 0 ;;
788
789 -with-* | --with-*)
790 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
791 # Reject names that are not valid shell variable names.
792 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
793 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
794 fi
795 ac_package=`echo $ac_package| sed 's/-/_/g'`
796 case "$ac_option" in
797 *=*) ;;
798 *) ac_optarg=yes ;;
799 esac
800 eval "with_${ac_package}='$ac_optarg'" ;;
801
802 -without-* | --without-*)
803 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
804 # Reject names that are not valid shell variable names.
805 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
806 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
807 fi
808 ac_package=`echo $ac_package| sed 's/-/_/g'`
809 eval "with_${ac_package}=no" ;;
810
811 --x)
812 # Obsolete; use --with-x.
813 with_x=yes ;;
814
815 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
816 | --x-incl | --x-inc | --x-in | --x-i)
817 ac_prev=x_includes ;;
818 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
819 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
820 x_includes="$ac_optarg" ;;
821
822 -x-libraries | --x-libraries | --x-librarie | --x-librari \
823 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
824 ac_prev=x_libraries ;;
825 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
826 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
827 x_libraries="$ac_optarg" ;;
828
829 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
830 ;;
831
832 *)
833 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
834 echo "configure: warning: $ac_option: invalid host type" 1>&2
835 fi
836 if test "x$nonopt" != xNONE; then
837 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
838 fi
839 nonopt="$ac_option"
840 ;;
841
842 esac
843done
844
845if test -n "$ac_prev"; then
846 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
847fi
848
849trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
850
851# File descriptor usage:
852# 0 standard input
853# 1 file creation
854# 2 errors and warnings
855# 3 some systems may open it to /dev/tty
856# 4 used on the Kubota Titan
857# 6 checking for... messages and results
858# 5 compiler messages saved in config.log
859if test "$silent" = yes; then
860 exec 6>/dev/null
861else
862 exec 6>&1
863fi
864exec 5>./config.log
865
866echo "\
867This file contains any messages produced by compilers while
868running configure, to aid debugging if configure makes a mistake.
869" 1>&5
870
871# Strip out --no-create and --no-recursion so they do not pile up.
872# Also quote any args containing shell metacharacters.
873ac_configure_args=
874for ac_arg
875do
876 case "$ac_arg" in
877 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
878 | --no-cr | --no-c) ;;
879 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
880 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
881 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
882 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
883 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
884 esac
885done
886
887# NLS nuisances.
888# Only set these to C if already set. These must not be set unconditionally
889# because not all systems understand e.g. LANG=C (notably SCO).
890# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
891# Non-C LC_CTYPE values break the ctype check.
892if test "${LANG+set}" = set; then LANG=C; export LANG; fi
893if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
894if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
895if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
896
897# confdefs.h avoids OS command line length limits that DEFS can exceed.
898rm -rf conftest* confdefs.h
899# AIX cpp loses on an empty file, so make sure it contains at least a newline.
900echo > confdefs.h
901
902# A filename unique to this package, relative to the directory that
903# configure is in, which we can look for to find out if srcdir is correct.
904ac_unique_file=wx-config.in
905
906# Find the source files, if location was not specified.
907if test -z "$srcdir"; then
908 ac_srcdir_defaulted=yes
909 # Try the directory containing this script, then its parent.
910 ac_prog=$0
911 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
912 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
913 srcdir=$ac_confdir
914 if test ! -r $srcdir/$ac_unique_file; then
915 srcdir=..
916 fi
917else
918 ac_srcdir_defaulted=no
919fi
920if test ! -r $srcdir/$ac_unique_file; then
921 if test "$ac_srcdir_defaulted" = yes; then
922 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
923 else
924 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
925 fi
926fi
927srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
928
929# Prefer explicitly selected file to automatically selected ones.
930if test -z "$CONFIG_SITE"; then
931 if test "x$prefix" != xNONE; then
932 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
933 else
934 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
935 fi
936fi
937for ac_site_file in $CONFIG_SITE; do
938 if test -r "$ac_site_file"; then
939 echo "loading site script $ac_site_file"
940 . "$ac_site_file"
941 fi
942done
943
944if test -r "$cache_file"; then
945 echo "loading cache $cache_file"
946 . $cache_file
947else
948 echo "creating cache $cache_file"
949 > $cache_file
950fi
951
952ac_ext=c
953# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
954ac_cpp='$CPP $CPPFLAGS'
955ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
956ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
957cross_compiling=$ac_cv_prog_cc_cross
958
959ac_exeext=
960ac_objext=o
961if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
962 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
963 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
964 ac_n= ac_c='
965' ac_t=' '
966 else
967 ac_n=-n ac_c= ac_t=
968 fi
969else
970 ac_n= ac_c='\c' ac_t=
971fi
972
973
974
975ac_aux_dir=
976for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
977 if test -f $ac_dir/install-sh; then
978 ac_aux_dir=$ac_dir
979 ac_install_sh="$ac_aux_dir/install-sh -c"
980 break
981 elif test -f $ac_dir/install.sh; then
982 ac_aux_dir=$ac_dir
983 ac_install_sh="$ac_aux_dir/install.sh -c"
984 break
985 fi
986done
987if test -z "$ac_aux_dir"; then
988 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
989fi
990ac_config_guess=$ac_aux_dir/config.guess
991ac_config_sub=$ac_aux_dir/config.sub
992ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
993
994
995# Do some error checking and defaulting for the host and target type.
996# The inputs are:
997# configure --host=HOST --target=TARGET --build=BUILD NONOPT
998#
999# The rules are:
1000# 1. You are not allowed to specify --host, --target, and nonopt at the
1001# same time.
1002# 2. Host defaults to nonopt.
1003# 3. If nonopt is not specified, then host defaults to the current host,
1004# as determined by config.guess.
1005# 4. Target and build default to nonopt.
1006# 5. If nonopt is not specified, then target and build default to host.
1007
1008# The aliases save the names the user supplied, while $host etc.
1009# will get canonicalized.
1010case $host---$target---$nonopt in
1011NONE---*---* | *---NONE---* | *---*---NONE) ;;
1012*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
1013esac
1014
1015
1016# Make sure we can run config.sub.
1017if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
1018else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1019fi
1020
1021echo $ac_n "checking host system type""... $ac_c" 1>&6
1022echo "configure:1023: checking host system type" >&5
1023
1024host_alias=$host
1025case "$host_alias" in
1026NONE)
1027 case $nonopt in
1028 NONE)
1029 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1030 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1031 fi ;;
1032 *) host_alias=$nonopt ;;
1033 esac ;;
1034esac
1035
1036host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1037host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1038host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1039host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1040echo "$ac_t""$host" 1>&6
1041
1042echo $ac_n "checking target system type""... $ac_c" 1>&6
1043echo "configure:1044: checking target system type" >&5
1044
1045target_alias=$target
1046case "$target_alias" in
1047NONE)
1048 case $nonopt in
1049 NONE) target_alias=$host_alias ;;
1050 *) target_alias=$nonopt ;;
1051 esac ;;
1052esac
1053
1054target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1055target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1056target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1057target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1058echo "$ac_t""$target" 1>&6
1059
1060echo $ac_n "checking build system type""... $ac_c" 1>&6
1061echo "configure:1062: checking build system type" >&5
1062
1063build_alias=$build
1064case "$build_alias" in
1065NONE)
1066 case $nonopt in
1067 NONE) build_alias=$host_alias ;;
1068 *) build_alias=$nonopt ;;
1069 esac ;;
1070esac
1071
1072build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1073build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1074build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1075build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1076echo "$ac_t""$build" 1>&6
1077
1078test "$host_alias" != "$target_alias" &&
1079 test "$program_prefix$program_suffix$program_transform_name" = \
1080 NONENONEs,x,x, &&
1081 program_prefix=${target_alias}-
1082
1083
1084
1085WX_MAJOR_VERSION_NUMBER=2
1086WX_MINOR_VERSION_NUMBER=5
1087WX_RELEASE_NUMBER=0
1088
1089WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1090WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1091
1092WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1093
1094WX_CURRENT=0
1095WX_REVISION=0
1096WX_AGE=0
1097
1098
1099
1100USE_UNIX=1
1101USE_WIN32=0
1102USE_DOS=0
1103USE_BEOS=0
1104USE_MAC=0
1105
1106USE_LINUX=
1107USE_SGI=
1108USE_HPUX=
1109USE_SYSV=
1110USE_SVR4=
1111USE_AIX=
1112USE_SUN=
1113USE_SOLARIS=
1114USE_SUNOS=
1115USE_ALPHA=
1116USE_OSF=
1117USE_BSD=
1118USE_DARWIN=
1119USE_FREEBSD=
1120USE_OPENBSD=
1121USE_NETBSD=
1122USE_VMS=
1123USE_ULTRIX=
1124USE_DATA_GENERAL=
1125
1126NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1127
1128ALL_TOOLKITS="GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1129
1130DEFAULT_wxUSE_GTK=0
1131DEFAULT_wxUSE_MAC=0
1132DEFAULT_wxUSE_MGL=0
1133DEFAULT_wxUSE_MICROWIN=0
1134DEFAULT_wxUSE_MOTIF=0
1135DEFAULT_wxUSE_MSW=0
1136DEFAULT_wxUSE_PM=0
1137DEFAULT_wxUSE_X11=0
1138
1139DEFAULT_DEFAULT_wxUSE_GTK=0
1140DEFAULT_DEFAULT_wxUSE_MAC=0
1141DEFAULT_DEFAULT_wxUSE_MGL=0
1142DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1143DEFAULT_DEFAULT_wxUSE_MOTIF=0
1144DEFAULT_DEFAULT_wxUSE_MSW=0
1145DEFAULT_DEFAULT_wxUSE_PM=0
1146DEFAULT_DEFAULT_wxUSE_X11=0
1147
1148PROGRAM_EXT=
1149SO_SUFFIX=so
1150
1151case "${host}" in
1152 *-hp-hpux* )
1153 USE_HPUX=1
1154 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1155 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1156 SO_SUFFIX=sl
1157 cat >> confdefs.h <<\EOF
1158#define __HPUX__ 1
1159EOF
1160
1161 ;;
1162 *-*-linux* )
1163 USE_LINUX=1
1164 cat >> confdefs.h <<\EOF
1165#define __LINUX__ 1
1166EOF
1167
1168 TMP=`uname -m`
1169 if test "x$TMP" = "xalpha"; then
1170 USE_ALPHA=1
1171 cat >> confdefs.h <<\EOF
1172#define __ALPHA__ 1
1173EOF
1174
1175 fi
1176 DEFAULT_DEFAULT_wxUSE_GTK=1
1177 ;;
1178 *-*-irix5* | *-*-irix6* )
1179 USE_SGI=1
1180 USE_SVR4=1
1181 cat >> confdefs.h <<\EOF
1182#define __SGI__ 1
1183EOF
1184
1185 cat >> confdefs.h <<\EOF
1186#define __SVR4__ 1
1187EOF
1188
1189 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1190 ;;
1191 *-*-solaris2* )
1192 USE_SUN=1
1193 USE_SOLARIS=1
1194 USE_SVR4=1
1195 cat >> confdefs.h <<\EOF
1196#define __SUN__ 1
1197EOF
1198
1199 cat >> confdefs.h <<\EOF
1200#define __SOLARIS__ 1
1201EOF
1202
1203 cat >> confdefs.h <<\EOF
1204#define __SVR4__ 1
1205EOF
1206
1207 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1208 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1209 ;;
1210 *-*-sunos4* )
1211 USE_SUN=1
1212 USE_SUNOS=1
1213 USE_BSD=1
1214 cat >> confdefs.h <<\EOF
1215#define __SUN__ 1
1216EOF
1217
1218 cat >> confdefs.h <<\EOF
1219#define __SUNOS__ 1
1220EOF
1221
1222 cat >> confdefs.h <<\EOF
1223#define __BSD__ 1
1224EOF
1225
1226 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1227 ;;
1228 *-*-freebsd*)
1229 USE_BSD=1
1230 USE_FREEBSD=1
1231 cat >> confdefs.h <<\EOF
1232#define __FREEBSD__ 1
1233EOF
1234
1235 cat >> confdefs.h <<\EOF
1236#define __BSD__ 1
1237EOF
1238
1239 DEFAULT_DEFAULT_wxUSE_GTK=1
1240 ;;
1241 *-*-openbsd*)
1242 USE_BSD=1
1243 USE_OPENBSD=1
1244 cat >> confdefs.h <<\EOF
1245#define __OPENBSD__ 1
1246EOF
1247
1248 cat >> confdefs.h <<\EOF
1249#define __BSD__ 1
1250EOF
1251
1252 DEFAULT_DEFAULT_wxUSE_GTK=1
1253 ;;
1254 *-*-netbsd*)
1255 USE_BSD=1
1256 USE_NETBSD=1
1257 cat >> confdefs.h <<\EOF
1258#define __NETBSD__ 1
1259EOF
1260
1261 cat >> confdefs.h <<\EOF
1262#define __BSD__ 1
1263EOF
1264
1265 DEFAULT_DEFAULT_wxUSE_GTK=1
1266 ;;
1267 *-*-osf* )
1268 USE_ALPHA=1
1269 USE_OSF=1
1270 cat >> confdefs.h <<\EOF
1271#define __ALPHA__ 1
1272EOF
1273
1274 cat >> confdefs.h <<\EOF
1275#define __OSF__ 1
1276EOF
1277
1278 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1279 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1280 ;;
1281 *-*-dgux5* )
1282 USE_ALPHA=1
1283 USE_SVR4=1
1284 cat >> confdefs.h <<\EOF
1285#define __ALPHA__ 1
1286EOF
1287
1288 cat >> confdefs.h <<\EOF
1289#define __SVR4__ 1
1290EOF
1291
1292 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1293 ;;
1294 *-*-sysv5* )
1295 USE_SYSV=1
1296 USE_SVR4=1
1297 cat >> confdefs.h <<\EOF
1298#define __SYSV__ 1
1299EOF
1300
1301 cat >> confdefs.h <<\EOF
1302#define __SVR4__ 1
1303EOF
1304
1305 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1306 ;;
1307 *-*-aix* )
1308 USE_AIX=1
1309 USE_SYSV=1
1310 USE_SVR4=1
1311 SO_SUFFIX=a
1312 cat >> confdefs.h <<\EOF
1313#define __AIX__ 1
1314EOF
1315
1316 cat >> confdefs.h <<\EOF
1317#define __SYSV__ 1
1318EOF
1319
1320 cat >> confdefs.h <<\EOF
1321#define __SVR4__ 1
1322EOF
1323
1324 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1325 ;;
1326
1327 *-*-cygwin* | *-*-mingw32* )
1328 SO_SUFFIX=dll
1329 PROGRAM_EXT=".exe"
1330 RESCOMP=windres
1331 DEFAULT_DEFAULT_wxUSE_MSW=1
1332 ;;
1333
1334 *-pc-msdosdjgpp )
1335 USE_UNIX=0
1336 USE_DOS=1
1337 cat >> confdefs.h <<\EOF
1338#define __DOS__ 1
1339EOF
1340
1341 PROGRAM_EXT=".exe"
1342 DEFAULT_DEFAULT_wxUSE_MGL=1
1343 LIBS="$LIBS -lstdc++"
1344 ;;
1345
1346 *-pc-os2_emx | *-pc-os2-emx )
1347 cat >> confdefs.h <<\EOF
1348#define __EMX__ 1
1349EOF
1350
1351 PROGRAM_EXT=".exe"
1352 DEFAULT_DEFAULT_wxUSE_PM=1
1353 ;;
1354
1355 powerpc-*-darwin* )
1356 USE_BSD=1
1357 USE_DARWIN=1
1358 SO_SUFFIX=dylib
1359 cat >> confdefs.h <<\EOF
1360#define __BSD__ 1
1361EOF
1362
1363 cat >> confdefs.h <<\EOF
1364#define __DARWIN__ 1
1365EOF
1366
1367 cat >> confdefs.h <<\EOF
1368#define __POWERPC__ 1
1369EOF
1370
1371 DEFAULT_DEFAULT_wxUSE_MAC=1
1372 ;;
1373
1374 *-*-beos* )
1375 USE_BEOS=1
1376 cat >> confdefs.h <<\EOF
1377#define __BEOS__ 1
1378EOF
1379
1380 ;;
1381
1382 *)
1383 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1384esac
1385
1386
1387
1388
1389 wx_arg_cache_file="configarg.cache"
1390 echo "loading argument cache $wx_arg_cache_file"
1391 rm -f ${wx_arg_cache_file}.tmp
1392 touch ${wx_arg_cache_file}.tmp
1393 touch ${wx_arg_cache_file}
1394
1395
1396DEBUG_CONFIGURE=0
1397if test $DEBUG_CONFIGURE = 1; then
1398 DEFAULT_wxUSE_UNIVERSAL=no
1399
1400 DEFAULT_wxUSE_NANOX=no
1401
1402 DEFAULT_wxUSE_THREADS=yes
1403
1404 DEFAULT_wxUSE_SHARED=yes
1405 DEFAULT_wxUSE_SONAME=no
1406 DEFAULT_wxUSE_OPTIMISE=no
1407 DEFAULT_wxUSE_PROFILE=no
1408 DEFAULT_wxUSE_NO_DEPS=no
1409 DEFAULT_wxUSE_NO_RTTI=no
1410 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1411 DEFAULT_wxUSE_PERMISSIVE=no
1412 DEFAULT_wxUSE_DEBUG_FLAG=yes
1413 DEFAULT_wxUSE_DEBUG_INFO=yes
1414 DEFAULT_wxUSE_DEBUG_GDB=yes
1415 DEFAULT_wxUSE_MEM_TRACING=no
1416 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1417 DEFAULT_wxUSE_DMALLOC=no
1418 DEFAULT_wxUSE_PRECOMP=no
1419 DEFAULT_wxUSE_APPLE_IEEE=no
1420
1421 DEFAULT_wxUSE_LOG=yes
1422 DEFAULT_wxUSE_LOGWINDOW=no
1423 DEFAULT_wxUSE_LOGGUI=no
1424 DEFAULT_wxUSE_LOGDIALOG=no
1425
1426 DEFAULT_wxUSE_GUI=yes
1427 DEFAULT_wxUSE_CONTROLS=no
1428
1429 DEFAULT_wxUSE_REGEX=no
1430 DEFAULT_wxUSE_ZLIB=no
1431 DEFAULT_wxUSE_LIBPNG=no
1432 DEFAULT_wxUSE_LIBJPEG=no
1433 DEFAULT_wxUSE_LIBTIFF=no
1434 DEFAULT_wxUSE_ODBC=no
1435 DEFAULT_wxUSE_OPENGL=no
1436
1437 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1438 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1439 DEFAULT_wxUSE_STD_IOSTREAM=no
1440 DEFAULT_wxUSE_CMDLINE_PARSER=no
1441 DEFAULT_wxUSE_DATETIME=no
1442 DEFAULT_wxUSE_TIMEDATE=no
1443 DEFAULT_wxUSE_TIMER=no
1444 DEFAULT_wxUSE_STOPWATCH=no
1445 DEFAULT_wxUSE_FILE=no
1446 DEFAULT_wxUSE_FFILE=no
1447 DEFAULT_wxUSE_TEXTBUFFER=no
1448 DEFAULT_wxUSE_TEXTFILE=no
1449 DEFAULT_wxUSE_WAVE=no
1450 DEFAULT_wxUSE_INTL=no
1451 DEFAULT_wxUSE_CONFIG=no
1452 DEFAULT_wxUSE_FONTMAP=no
1453 DEFAULT_wxUSE_STREAMS=no
1454 DEFAULT_wxUSE_SOCKETS=no
1455 DEFAULT_wxUSE_OLE=no
1456 DEFAULT_wxUSE_DATAOBJ=no
1457 DEFAULT_wxUSE_DIALUP_MANAGER=no
1458 DEFAULT_wxUSE_JOYSTICK=no
1459 DEFAULT_wxUSE_DYNLIB_CLASS=no
1460 DEFAULT_wxUSE_DYNAMIC_LOADER=no
1461 DEFAULT_wxUSE_LONGLONG=no
1462 DEFAULT_wxUSE_GEOMETRY=no
1463
1464 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
1465 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
1466 DEFAULT_wxUSE_POSTSCRIPT=no
1467
1468 DEFAULT_wxUSE_X_RESOURCES=no
1469 DEFAULT_wxUSE_CLIPBOARD=no
1470 DEFAULT_wxUSE_TOOLTIPS=no
1471 DEFAULT_wxUSE_DRAG_AND_DROP=no
1472 DEFAULT_wxUSE_DRAGIMAGE=no
1473 DEFAULT_wxUSE_SPLINES=no
1474
1475 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
1476 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
1477 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
1478
1479 DEFAULT_wxUSE_PROLOGIO=no
1480 DEFAULT_wxUSE_RESOURCES=no
1481 DEFAULT_wxUSE_CONSTRAINTS=no
1482 DEFAULT_wxUSE_IPC=no
1483 DEFAULT_wxUSE_HELP=no
1484 DEFAULT_wxUSE_MS_HTML_HELP=no
1485 DEFAULT_wxUSE_WXHTML_HELP=no
1486 DEFAULT_wxUSE_TREELAYOUT=no
1487 DEFAULT_wxUSE_METAFILE=no
1488 DEFAULT_wxUSE_MIMETYPE=no
1489 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
1490 DEFAULT_wxUSE_PROTOCOL=no
1491 DEFAULT_wxUSE_PROTOCOL_HTTP=no
1492 DEFAULT_wxUSE_PROTOCOL_FTP=no
1493 DEFAULT_wxUSE_PROTOCOL_FILE=no
1494 DEFAULT_wxUSE_URL=no
1495
1496 DEFAULT_wxUSE_COMMONDLGS=no
1497 DEFAULT_wxUSE_CHOICEDLG=no
1498 DEFAULT_wxUSE_COLOURDLG=no
1499 DEFAULT_wxUSE_DIRDLG=no
1500 DEFAULT_wxUSE_FILEDLG=no
1501 DEFAULT_wxUSE_FINDREPLDLG=no
1502 DEFAULT_wxUSE_FONTDLG=no
1503 DEFAULT_wxUSE_MSGDLG=no
1504 DEFAULT_wxUSE_NUMBERDLG=no
1505 DEFAULT_wxUSE_TEXTDLG=no
1506 DEFAULT_wxUSE_SPLASH=no
1507 DEFAULT_wxUSE_STARTUP_TIPS=no
1508 DEFAULT_wxUSE_PROGRESSDLG=no
1509 DEFAULT_wxUSE_WIZARDDLG=no
1510
1511 DEFAULT_wxUSE_MENUS=no
1512 DEFAULT_wxUSE_MINIFRAME=no
1513 DEFAULT_wxUSE_HTML=no
1514 DEFAULT_wxUSE_FILESYSTEM=no
1515 DEFAULT_wxUSE_FS_INET=no
1516 DEFAULT_wxUSE_FS_ZIP=no
1517 DEFAULT_wxUSE_BUSYINFO=no
1518 DEFAULT_wxUSE_ZIPSTREAM=no
1519 DEFAULT_wxUSE_VALIDATORS=no
1520
1521 DEFAULT_wxUSE_ACCEL=no
1522 DEFAULT_wxUSE_BUTTON=no
1523 DEFAULT_wxUSE_BMPBUTTON=no
1524 DEFAULT_wxUSE_CALCTRL=no
1525 DEFAULT_wxUSE_CARET=no
1526 DEFAULT_wxUSE_CHECKBOX=no
1527 DEFAULT_wxUSE_CHECKLST=no
1528 DEFAULT_wxUSE_CHOICE=no
1529 DEFAULT_wxUSE_COMBOBOX=no
1530 DEFAULT_wxUSE_GAUGE=no
1531 DEFAULT_wxUSE_GRID=no
1532 DEFAULT_wxUSE_NEW_GRID=no
1533 DEFAULT_wxUSE_IMAGLIST=no
1534 DEFAULT_wxUSE_LISTBOX=no
1535 DEFAULT_wxUSE_LISTCTRL=no
1536 DEFAULT_wxUSE_NOTEBOOK=no
1537 DEFAULT_wxUSE_PROPSHEET=no
1538 DEFAULT_wxUSE_RADIOBOX=no
1539 DEFAULT_wxUSE_RADIOBTN=no
1540 DEFAULT_wxUSE_SASH=no
1541 DEFAULT_wxUSE_SCROLLBAR=no
1542 DEFAULT_wxUSE_SLIDER=no
1543 DEFAULT_wxUSE_SPINBTN=no
1544 DEFAULT_wxUSE_SPINCTRL=no
1545 DEFAULT_wxUSE_SPLITTER=no
1546 DEFAULT_wxUSE_STATBMP=no
1547 DEFAULT_wxUSE_STATBOX=no
1548 DEFAULT_wxUSE_STATLINE=no
1549 DEFAULT_wxUSE_STATTEXT=no
1550 DEFAULT_wxUSE_STATUSBAR=yes
1551 DEFAULT_wxUSE_TABDIALOG=no
1552 DEFAULT_wxUSE_TEXTCTRL=no
1553 DEFAULT_wxUSE_TOGGLEBTN=no
1554 DEFAULT_wxUSE_TOOLBAR=no
1555 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
1556 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
1557 DEFAULT_wxUSE_TREECTRL=no
1558 DEFAULT_wxUSE_POPUPWIN=no
1559 DEFAULT_wxUSE_TIPWINDOW=no
1560
1561 DEFAULT_wxUSE_UNICODE=no
1562 DEFAULT_wxUSE_UNICODE_MSLU=no
1563 DEFAULT_wxUSE_WCSRTOMBS=no
1564
1565 DEFAULT_wxUSE_PALETTE=no
1566 DEFAULT_wxUSE_IMAGE=no
1567 DEFAULT_wxUSE_GIF=no
1568 DEFAULT_wxUSE_PCX=no
1569 DEFAULT_wxUSE_PNM=no
1570 DEFAULT_wxUSE_IFF=no
1571 DEFAULT_wxUSE_XPM=no
1572 DEFAULT_wxUSE_ICO_CUR=no
1573else
1574 DEFAULT_wxUSE_UNIVERSAL=no
1575
1576 DEFAULT_wxUSE_NANOX=no
1577
1578 DEFAULT_wxUSE_THREADS=yes
1579
1580 DEFAULT_wxUSE_SHARED=yes
1581 DEFAULT_wxUSE_SONAME=no
1582 DEFAULT_wxUSE_OPTIMISE=yes
1583 DEFAULT_wxUSE_PROFILE=no
1584 DEFAULT_wxUSE_NO_DEPS=no
1585 DEFAULT_wxUSE_NO_RTTI=no
1586 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1587 DEFAULT_wxUSE_PERMISSIVE=no
1588 DEFAULT_wxUSE_DEBUG_FLAG=no
1589 DEFAULT_wxUSE_DEBUG_INFO=no
1590 DEFAULT_wxUSE_DEBUG_GDB=no
1591 DEFAULT_wxUSE_MEM_TRACING=no
1592 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1593 DEFAULT_wxUSE_DMALLOC=no
1594 DEFAULT_wxUSE_PRECOMP=no
1595 DEFAULT_wxUSE_APPLE_IEEE=yes
1596
1597 DEFAULT_wxUSE_LOG=yes
1598 DEFAULT_wxUSE_LOGWINDOW=yes
1599 DEFAULT_wxUSE_LOGGUI=yes
1600 DEFAULT_wxUSE_LOGDIALOG=yes
1601
1602 DEFAULT_wxUSE_GUI=yes
1603
1604 DEFAULT_wxUSE_REGEX=yes
1605 DEFAULT_wxUSE_ZLIB=yes
1606 DEFAULT_wxUSE_LIBPNG=yes
1607 DEFAULT_wxUSE_LIBJPEG=yes
1608 DEFAULT_wxUSE_LIBTIFF=yes
1609 DEFAULT_wxUSE_ODBC=no
1610 DEFAULT_wxUSE_OPENGL=no
1611
1612 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
1613 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
1614 DEFAULT_wxUSE_STD_IOSTREAM=no
1615 DEFAULT_wxUSE_CMDLINE_PARSER=yes
1616 DEFAULT_wxUSE_DATETIME=yes
1617 DEFAULT_wxUSE_TIMEDATE=no
1618 DEFAULT_wxUSE_TIMER=yes
1619 DEFAULT_wxUSE_STOPWATCH=yes
1620 DEFAULT_wxUSE_FILE=yes
1621 DEFAULT_wxUSE_FFILE=yes
1622 DEFAULT_wxUSE_TEXTBUFFER=yes
1623 DEFAULT_wxUSE_TEXTFILE=yes
1624 DEFAULT_wxUSE_WAVE=no
1625 DEFAULT_wxUSE_INTL=yes
1626 DEFAULT_wxUSE_CONFIG=yes
1627 DEFAULT_wxUSE_FONTMAP=yes
1628 DEFAULT_wxUSE_STREAMS=yes
1629 DEFAULT_wxUSE_SOCKETS=yes
1630 DEFAULT_wxUSE_OLE=yes
1631 DEFAULT_wxUSE_DATAOBJ=yes
1632 DEFAULT_wxUSE_DIALUP_MANAGER=yes
1633 DEFAULT_wxUSE_JOYSTICK=yes
1634 DEFAULT_wxUSE_DYNLIB_CLASS=yes
1635 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
1636 DEFAULT_wxUSE_LONGLONG=yes
1637 DEFAULT_wxUSE_GEOMETRY=yes
1638
1639 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
1640 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
1641 DEFAULT_wxUSE_POSTSCRIPT=yes
1642
1643 DEFAULT_wxUSE_X_RESOURCES=no
1644 DEFAULT_wxUSE_CLIPBOARD=yes
1645 DEFAULT_wxUSE_TOOLTIPS=yes
1646 DEFAULT_wxUSE_DRAG_AND_DROP=yes
1647 DEFAULT_wxUSE_DRAGIMAGE=yes
1648 DEFAULT_wxUSE_SPLINES=yes
1649
1650 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
1651 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
1652 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
1653
1654 DEFAULT_wxUSE_PROLOGIO=no
1655 DEFAULT_wxUSE_RESOURCES=no
1656 DEFAULT_wxUSE_CONSTRAINTS=yes
1657 DEFAULT_wxUSE_IPC=yes
1658 DEFAULT_wxUSE_HELP=yes
1659 DEFAULT_wxUSE_MS_HTML_HELP=yes
1660 DEFAULT_wxUSE_WXHTML_HELP=yes
1661 DEFAULT_wxUSE_TREELAYOUT=yes
1662 DEFAULT_wxUSE_METAFILE=yes
1663 DEFAULT_wxUSE_MIMETYPE=yes
1664 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
1665 DEFAULT_wxUSE_PROTOCOL=yes
1666 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
1667 DEFAULT_wxUSE_PROTOCOL_FTP=yes
1668 DEFAULT_wxUSE_PROTOCOL_FILE=yes
1669 DEFAULT_wxUSE_URL=yes
1670
1671 DEFAULT_wxUSE_COMMONDLGS=yes
1672 DEFAULT_wxUSE_CHOICEDLG=yes
1673 DEFAULT_wxUSE_COLOURDLG=yes
1674 DEFAULT_wxUSE_DIRDLG=yes
1675 DEFAULT_wxUSE_FILEDLG=yes
1676 DEFAULT_wxUSE_FINDREPLDLG=yes
1677 DEFAULT_wxUSE_FONTDLG=yes
1678 DEFAULT_wxUSE_MSGDLG=yes
1679 DEFAULT_wxUSE_NUMBERDLG=yes
1680 DEFAULT_wxUSE_TEXTDLG=yes
1681 DEFAULT_wxUSE_SPLASH=yes
1682 DEFAULT_wxUSE_STARTUP_TIPS=yes
1683 DEFAULT_wxUSE_PROGRESSDLG=yes
1684 DEFAULT_wxUSE_WIZARDDLG=yes
1685
1686 DEFAULT_wxUSE_MENUS=yes
1687 DEFAULT_wxUSE_MINIFRAME=yes
1688 DEFAULT_wxUSE_HTML=yes
1689 DEFAULT_wxUSE_FILESYSTEM=yes
1690 DEFAULT_wxUSE_FS_INET=yes
1691 DEFAULT_wxUSE_FS_ZIP=yes
1692 DEFAULT_wxUSE_BUSYINFO=yes
1693 DEFAULT_wxUSE_ZIPSTREAM=yes
1694 DEFAULT_wxUSE_VALIDATORS=yes
1695
1696 DEFAULT_wxUSE_ACCEL=yes
1697 DEFAULT_wxUSE_BUTTON=yes
1698 DEFAULT_wxUSE_BMPBUTTON=yes
1699 DEFAULT_wxUSE_CALCTRL=yes
1700 DEFAULT_wxUSE_CARET=yes
1701 DEFAULT_wxUSE_CHECKBOX=yes
1702 DEFAULT_wxUSE_CHECKLST=yes
1703 DEFAULT_wxUSE_CHOICE=yes
1704 DEFAULT_wxUSE_COMBOBOX=yes
1705 DEFAULT_wxUSE_GAUGE=yes
1706 DEFAULT_wxUSE_GRID=yes
1707 DEFAULT_wxUSE_NEW_GRID=yes
1708 DEFAULT_wxUSE_IMAGLIST=yes
1709 DEFAULT_wxUSE_LISTBOX=yes
1710 DEFAULT_wxUSE_LISTCTRL=yes
1711 DEFAULT_wxUSE_NOTEBOOK=yes
1712 DEFAULT_wxUSE_PROPSHEET=yes
1713 DEFAULT_wxUSE_RADIOBOX=yes
1714 DEFAULT_wxUSE_RADIOBTN=yes
1715 DEFAULT_wxUSE_SASH=yes
1716 DEFAULT_wxUSE_SCROLLBAR=yes
1717 DEFAULT_wxUSE_SLIDER=yes
1718 DEFAULT_wxUSE_SPINBTN=yes
1719 DEFAULT_wxUSE_SPINCTRL=yes
1720 DEFAULT_wxUSE_SPLITTER=yes
1721 DEFAULT_wxUSE_STATBMP=yes
1722 DEFAULT_wxUSE_STATBOX=yes
1723 DEFAULT_wxUSE_STATLINE=yes
1724 DEFAULT_wxUSE_STATTEXT=yes
1725 DEFAULT_wxUSE_STATUSBAR=yes
1726 DEFAULT_wxUSE_TABDIALOG=no
1727 DEFAULT_wxUSE_TEXTCTRL=yes
1728 DEFAULT_wxUSE_TOGGLEBTN=yes
1729 DEFAULT_wxUSE_TOOLBAR=yes
1730 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
1731 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
1732 DEFAULT_wxUSE_TREECTRL=yes
1733 DEFAULT_wxUSE_POPUPWIN=yes
1734 DEFAULT_wxUSE_TIPWINDOW=yes
1735
1736 DEFAULT_wxUSE_UNICODE=no
1737 DEFAULT_wxUSE_UNICODE_MSLU=yes
1738 DEFAULT_wxUSE_WCSRTOMBS=no
1739
1740 DEFAULT_wxUSE_PALETTE=yes
1741 DEFAULT_wxUSE_IMAGE=yes
1742 DEFAULT_wxUSE_GIF=yes
1743 DEFAULT_wxUSE_PCX=yes
1744 DEFAULT_wxUSE_IFF=no
1745 DEFAULT_wxUSE_PNM=yes
1746 DEFAULT_wxUSE_XPM=yes
1747 DEFAULT_wxUSE_ICO_CUR=yes
1748fi
1749
1750
1751
1752for toolkit in `echo $ALL_TOOLKITS`; do
1753 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
1754 if test "x$LINE" != "x" ; then
1755 has_toolkit_in_cache=1
1756 eval "DEFAULT_$LINE"
1757 eval "CACHE_$toolkit=1"
1758 fi
1759done
1760
1761
1762
1763 enablestring=
1764 echo $ac_n "checking for --${enablestring:-enable}-gui""... $ac_c" 1>&6
1765echo "configure:1766: checking for --${enablestring:-enable}-gui" >&5
1766 no_cache=0
1767 # Check whether --enable-gui or --disable-gui was given.
1768if test "${enable_gui+set}" = set; then
1769 enableval="$enable_gui"
1770
1771 if test "$enableval" = yes; then
1772 ac_cv_use_gui='wxUSE_GUI=yes'
1773 else
1774 ac_cv_use_gui='wxUSE_GUI=no'
1775 fi
1776
1777else
1778
1779 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1780 if test "x$LINE" != x ; then
1781 eval "DEFAULT_$LINE"
1782 else
1783 no_cache=1
1784 fi
1785
1786 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1787
1788fi
1789
1790
1791 eval "$ac_cv_use_gui"
1792 if test "$no_cache" != 1; then
1793 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1794 fi
1795
1796 if test "$wxUSE_GUI" = yes; then
1797 echo "$ac_t""yes" 1>&6
1798 else
1799 echo "$ac_t""no" 1>&6
1800 fi
1801
1802
1803if test "$wxUSE_GUI" = "yes"; then
1804
1805
1806 enablestring=
1807 echo $ac_n "checking for --${enablestring:-enable}-universal""... $ac_c" 1>&6
1808echo "configure:1809: checking for --${enablestring:-enable}-universal" >&5
1809 no_cache=0
1810 # Check whether --enable-universal or --disable-universal was given.
1811if test "${enable_universal+set}" = set; then
1812 enableval="$enable_universal"
1813
1814 if test "$enableval" = yes; then
1815 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
1816 else
1817 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
1818 fi
1819
1820else
1821
1822 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1823 if test "x$LINE" != x ; then
1824 eval "DEFAULT_$LINE"
1825 else
1826 no_cache=1
1827 fi
1828
1829 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1830
1831fi
1832
1833
1834 eval "$ac_cv_use_universal"
1835 if test "$no_cache" != 1; then
1836 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1837 fi
1838
1839 if test "$wxUSE_UNIVERSAL" = yes; then
1840 echo "$ac_t""yes" 1>&6
1841 else
1842 echo "$ac_t""no" 1>&6
1843 fi
1844
1845# Check whether --with-gtk or --without-gtk was given.
1846if test "${with_gtk+set}" = set; then
1847 withval="$with_gtk"
1848 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
1849fi
1850
1851# Check whether --with-motif or --without-motif was given.
1852if test "${with_motif+set}" = set; then
1853 withval="$with_motif"
1854 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
1855fi
1856
1857# Check whether --with-mac or --without-mac was given.
1858if test "${with_mac+set}" = set; then
1859 withval="$with_mac"
1860 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
1861fi
1862
1863# Check whether --with-wine or --without-wine was given.
1864if test "${with_wine+set}" = set; then
1865 withval="$with_wine"
1866 wxUSE_WINE="$withval" CACHE_WINE=1
1867fi
1868
1869# Check whether --with-msw or --without-msw was given.
1870if test "${with_msw+set}" = set; then
1871 withval="$with_msw"
1872 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
1873fi
1874
1875# Check whether --with-pm or --without-pm was given.
1876if test "${with_pm+set}" = set; then
1877 withval="$with_pm"
1878 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
1879fi
1880
1881# Check whether --with-mgl or --without-mgl was given.
1882if test "${with_mgl+set}" = set; then
1883 withval="$with_mgl"
1884 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
1885fi
1886
1887# Check whether --with-microwin or --without-microwin was given.
1888if test "${with_microwin+set}" = set; then
1889 withval="$with_microwin"
1890 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
1891fi
1892
1893# Check whether --with-x11 or --without-x11 was given.
1894if test "${with_x11+set}" = set; then
1895 withval="$with_x11"
1896 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
1897fi
1898
1899
1900 enablestring=
1901 echo $ac_n "checking for --${enablestring:-enable}-nanox""... $ac_c" 1>&6
1902echo "configure:1903: checking for --${enablestring:-enable}-nanox" >&5
1903 no_cache=0
1904 # Check whether --enable-nanox or --disable-nanox was given.
1905if test "${enable_nanox+set}" = set; then
1906 enableval="$enable_nanox"
1907
1908 if test "$enableval" = yes; then
1909 ac_cv_use_nanox='wxUSE_NANOX=yes'
1910 else
1911 ac_cv_use_nanox='wxUSE_NANOX=no'
1912 fi
1913
1914else
1915
1916 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1917 if test "x$LINE" != x ; then
1918 eval "DEFAULT_$LINE"
1919 else
1920 no_cache=1
1921 fi
1922
1923 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1924
1925fi
1926
1927
1928 eval "$ac_cv_use_nanox"
1929 if test "$no_cache" != 1; then
1930 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1931 fi
1932
1933 if test "$wxUSE_NANOX" = yes; then
1934 echo "$ac_t""yes" 1>&6
1935 else
1936 echo "$ac_t""no" 1>&6
1937 fi
1938
1939
1940
1941 enablestring=
1942 echo $ac_n "checking for --${enablestring:-enable}-gtk2""... $ac_c" 1>&6
1943echo "configure:1944: checking for --${enablestring:-enable}-gtk2" >&5
1944 no_cache=0
1945 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1946if test "${enable_gtk2+set}" = set; then
1947 enableval="$enable_gtk2"
1948
1949 if test "$enableval" = yes; then
1950 ac_cv_use_gtk2='wxUSE_GTK2=yes'
1951 else
1952 ac_cv_use_gtk2='wxUSE_GTK2=no'
1953 fi
1954
1955else
1956
1957 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
1958 if test "x$LINE" != x ; then
1959 eval "DEFAULT_$LINE"
1960 else
1961 no_cache=1
1962 fi
1963
1964 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
1965
1966fi
1967
1968
1969 eval "$ac_cv_use_gtk2"
1970 if test "$no_cache" != 1; then
1971 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
1972 fi
1973
1974 if test "$wxUSE_GTK2" = yes; then
1975 echo "$ac_t""yes" 1>&6
1976 else
1977 echo "$ac_t""no" 1>&6
1978 fi
1979
1980
1981
1982 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1983echo "configure:1984: checking for --with-libpng" >&5
1984 no_cache=0
1985 # Check whether --with-libpng or --without-libpng was given.
1986if test "${with_libpng+set}" = set; then
1987 withval="$with_libpng"
1988
1989 if test "$withval" = yes; then
1990 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
1991 elif test "$withval" = no; then
1992 ac_cv_use_libpng='wxUSE_LIBPNG=no'
1993 elif test "$withval" = sys; then
1994 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
1995 elif test "$withval" = builtin; then
1996 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
1997 else
1998 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1999 fi
2000
2001else
2002
2003 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2004 if test "x$LINE" != x ; then
2005 eval "DEFAULT_$LINE"
2006 else
2007 no_cache=1
2008 fi
2009
2010 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2011
2012fi
2013
2014
2015 eval "$ac_cv_use_libpng"
2016 if test "$no_cache" != 1; then
2017 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2018 fi
2019
2020 if test "$wxUSE_LIBPNG" = yes; then
2021 echo "$ac_t""yes" 1>&6
2022 elif test "$wxUSE_LIBPNG" = no; then
2023 echo "$ac_t""no" 1>&6
2024 elif test "$wxUSE_LIBPNG" = sys; then
2025 echo "$ac_t""system version" 1>&6
2026 elif test "$wxUSE_LIBPNG" = builtin; then
2027 echo "$ac_t""builtin version" 1>&6
2028 else
2029 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2030 fi
2031
2032
2033 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2034echo "configure:2035: checking for --with-libjpeg" >&5
2035 no_cache=0
2036 # Check whether --with-libjpeg or --without-libjpeg was given.
2037if test "${with_libjpeg+set}" = set; then
2038 withval="$with_libjpeg"
2039
2040 if test "$withval" = yes; then
2041 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2042 elif test "$withval" = no; then
2043 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2044 elif test "$withval" = sys; then
2045 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2046 elif test "$withval" = builtin; then
2047 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2048 else
2049 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2050 fi
2051
2052else
2053
2054 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2055 if test "x$LINE" != x ; then
2056 eval "DEFAULT_$LINE"
2057 else
2058 no_cache=1
2059 fi
2060
2061 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2062
2063fi
2064
2065
2066 eval "$ac_cv_use_libjpeg"
2067 if test "$no_cache" != 1; then
2068 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2069 fi
2070
2071 if test "$wxUSE_LIBJPEG" = yes; then
2072 echo "$ac_t""yes" 1>&6
2073 elif test "$wxUSE_LIBJPEG" = no; then
2074 echo "$ac_t""no" 1>&6
2075 elif test "$wxUSE_LIBJPEG" = sys; then
2076 echo "$ac_t""system version" 1>&6
2077 elif test "$wxUSE_LIBJPEG" = builtin; then
2078 echo "$ac_t""builtin version" 1>&6
2079 else
2080 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2081 fi
2082
2083
2084 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2085echo "configure:2086: checking for --with-libtiff" >&5
2086 no_cache=0
2087 # Check whether --with-libtiff or --without-libtiff was given.
2088if test "${with_libtiff+set}" = set; then
2089 withval="$with_libtiff"
2090
2091 if test "$withval" = yes; then
2092 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2093 elif test "$withval" = no; then
2094 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2095 elif test "$withval" = sys; then
2096 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2097 elif test "$withval" = builtin; then
2098 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2099 else
2100 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2101 fi
2102
2103else
2104
2105 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2106 if test "x$LINE" != x ; then
2107 eval "DEFAULT_$LINE"
2108 else
2109 no_cache=1
2110 fi
2111
2112 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2113
2114fi
2115
2116
2117 eval "$ac_cv_use_libtiff"
2118 if test "$no_cache" != 1; then
2119 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2120 fi
2121
2122 if test "$wxUSE_LIBTIFF" = yes; then
2123 echo "$ac_t""yes" 1>&6
2124 elif test "$wxUSE_LIBTIFF" = no; then
2125 echo "$ac_t""no" 1>&6
2126 elif test "$wxUSE_LIBTIFF" = sys; then
2127 echo "$ac_t""system version" 1>&6
2128 elif test "$wxUSE_LIBTIFF" = builtin; then
2129 echo "$ac_t""builtin version" 1>&6
2130 else
2131 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2132 fi
2133
2134
2135 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2136echo "configure:2137: checking for --with-opengl" >&5
2137 no_cache=0
2138 # Check whether --with-opengl or --without-opengl was given.
2139if test "${with_opengl+set}" = set; then
2140 withval="$with_opengl"
2141
2142 if test "$withval" = yes; then
2143 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2144 else
2145 ac_cv_use_opengl='wxUSE_OPENGL=no'
2146 fi
2147
2148else
2149
2150 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2151 if test "x$LINE" != x ; then
2152 eval "DEFAULT_$LINE"
2153 else
2154 no_cache=1
2155 fi
2156
2157 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2158
2159fi
2160
2161
2162 eval "$ac_cv_use_opengl"
2163 if test "$no_cache" != 1; then
2164 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2165 fi
2166
2167 if test "$wxUSE_OPENGL" = yes; then
2168 echo "$ac_t""yes" 1>&6
2169 else
2170 echo "$ac_t""no" 1>&6
2171 fi
2172
2173
2174fi
2175
2176
2177 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2178echo "configure:2179: checking for --with-dmalloc" >&5
2179 no_cache=0
2180 # Check whether --with-dmalloc or --without-dmalloc was given.
2181if test "${with_dmalloc+set}" = set; then
2182 withval="$with_dmalloc"
2183
2184 if test "$withval" = yes; then
2185 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2186 else
2187 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2188 fi
2189
2190else
2191
2192 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2193 if test "x$LINE" != x ; then
2194 eval "DEFAULT_$LINE"
2195 else
2196 no_cache=1
2197 fi
2198
2199 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2200
2201fi
2202
2203
2204 eval "$ac_cv_use_dmalloc"
2205 if test "$no_cache" != 1; then
2206 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2207 fi
2208
2209 if test "$wxUSE_DMALLOC" = yes; then
2210 echo "$ac_t""yes" 1>&6
2211 else
2212 echo "$ac_t""no" 1>&6
2213 fi
2214
2215
2216 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2217echo "configure:2218: checking for --with-regex" >&5
2218 no_cache=0
2219 # Check whether --with-regex or --without-regex was given.
2220if test "${with_regex+set}" = set; then
2221 withval="$with_regex"
2222
2223 if test "$withval" = yes; then
2224 ac_cv_use_regex='wxUSE_REGEX=yes'
2225 elif test "$withval" = no; then
2226 ac_cv_use_regex='wxUSE_REGEX=no'
2227 elif test "$withval" = sys; then
2228 ac_cv_use_regex='wxUSE_REGEX=sys'
2229 elif test "$withval" = builtin; then
2230 ac_cv_use_regex='wxUSE_REGEX=builtin'
2231 else
2232 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2233 fi
2234
2235else
2236
2237 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2238 if test "x$LINE" != x ; then
2239 eval "DEFAULT_$LINE"
2240 else
2241 no_cache=1
2242 fi
2243
2244 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2245
2246fi
2247
2248
2249 eval "$ac_cv_use_regex"
2250 if test "$no_cache" != 1; then
2251 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2252 fi
2253
2254 if test "$wxUSE_REGEX" = yes; then
2255 echo "$ac_t""yes" 1>&6
2256 elif test "$wxUSE_REGEX" = no; then
2257 echo "$ac_t""no" 1>&6
2258 elif test "$wxUSE_REGEX" = sys; then
2259 echo "$ac_t""system version" 1>&6
2260 elif test "$wxUSE_REGEX" = builtin; then
2261 echo "$ac_t""builtin version" 1>&6
2262 else
2263 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2264 fi
2265
2266
2267 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2268echo "configure:2269: checking for --with-zlib" >&5
2269 no_cache=0
2270 # Check whether --with-zlib or --without-zlib was given.
2271if test "${with_zlib+set}" = set; then
2272 withval="$with_zlib"
2273
2274 if test "$withval" = yes; then
2275 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2276 elif test "$withval" = no; then
2277 ac_cv_use_zlib='wxUSE_ZLIB=no'
2278 elif test "$withval" = sys; then
2279 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2280 elif test "$withval" = builtin; then
2281 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2282 else
2283 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2284 fi
2285
2286else
2287
2288 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2289 if test "x$LINE" != x ; then
2290 eval "DEFAULT_$LINE"
2291 else
2292 no_cache=1
2293 fi
2294
2295 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2296
2297fi
2298
2299
2300 eval "$ac_cv_use_zlib"
2301 if test "$no_cache" != 1; then
2302 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2303 fi
2304
2305 if test "$wxUSE_ZLIB" = yes; then
2306 echo "$ac_t""yes" 1>&6
2307 elif test "$wxUSE_ZLIB" = no; then
2308 echo "$ac_t""no" 1>&6
2309 elif test "$wxUSE_ZLIB" = sys; then
2310 echo "$ac_t""system version" 1>&6
2311 elif test "$wxUSE_ZLIB" = builtin; then
2312 echo "$ac_t""builtin version" 1>&6
2313 else
2314 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2315 fi
2316
2317
2318 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2319echo "configure:2320: checking for --with-odbc" >&5
2320 no_cache=0
2321 # Check whether --with-odbc or --without-odbc was given.
2322if test "${with_odbc+set}" = set; then
2323 withval="$with_odbc"
2324
2325 if test "$withval" = yes; then
2326 ac_cv_use_odbc='wxUSE_ODBC=yes'
2327 else
2328 ac_cv_use_odbc='wxUSE_ODBC=no'
2329 fi
2330
2331else
2332
2333 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2334 if test "x$LINE" != x ; then
2335 eval "DEFAULT_$LINE"
2336 else
2337 no_cache=1
2338 fi
2339
2340 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2341
2342fi
2343
2344
2345 eval "$ac_cv_use_odbc"
2346 if test "$no_cache" != 1; then
2347 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2348 fi
2349
2350 if test "$wxUSE_ODBC" = yes; then
2351 echo "$ac_t""yes" 1>&6
2352 else
2353 echo "$ac_t""no" 1>&6
2354 fi
2355
2356
2357
2358
2359 enablestring=
2360 echo $ac_n "checking for --${enablestring:-enable}-shared""... $ac_c" 1>&6
2361echo "configure:2362: checking for --${enablestring:-enable}-shared" >&5
2362 no_cache=0
2363 # Check whether --enable-shared or --disable-shared was given.
2364if test "${enable_shared+set}" = set; then
2365 enableval="$enable_shared"
2366
2367 if test "$enableval" = yes; then
2368 ac_cv_use_shared='wxUSE_SHARED=yes'
2369 else
2370 ac_cv_use_shared='wxUSE_SHARED=no'
2371 fi
2372
2373else
2374
2375 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2376 if test "x$LINE" != x ; then
2377 eval "DEFAULT_$LINE"
2378 else
2379 no_cache=1
2380 fi
2381
2382 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2383
2384fi
2385
2386
2387 eval "$ac_cv_use_shared"
2388 if test "$no_cache" != 1; then
2389 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2390 fi
2391
2392 if test "$wxUSE_SHARED" = yes; then
2393 echo "$ac_t""yes" 1>&6
2394 else
2395 echo "$ac_t""no" 1>&6
2396 fi
2397
2398
2399 enablestring=
2400 echo $ac_n "checking for --${enablestring:-enable}-soname""... $ac_c" 1>&6
2401echo "configure:2402: checking for --${enablestring:-enable}-soname" >&5
2402 no_cache=0
2403 # Check whether --enable-soname or --disable-soname was given.
2404if test "${enable_soname+set}" = set; then
2405 enableval="$enable_soname"
2406
2407 if test "$enableval" = yes; then
2408 ac_cv_use_soname='wxUSE_SONAME=yes'
2409 else
2410 ac_cv_use_soname='wxUSE_SONAME=no'
2411 fi
2412
2413else
2414
2415 LINE=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2416 if test "x$LINE" != x ; then
2417 eval "DEFAULT_$LINE"
2418 else
2419 no_cache=1
2420 fi
2421
2422 ac_cv_use_soname='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2423
2424fi
2425
2426
2427 eval "$ac_cv_use_soname"
2428 if test "$no_cache" != 1; then
2429 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2430 fi
2431
2432 if test "$wxUSE_SONAME" = yes; then
2433 echo "$ac_t""yes" 1>&6
2434 else
2435 echo "$ac_t""no" 1>&6
2436 fi
2437
2438
2439 enablestring=
2440 echo $ac_n "checking for --${enablestring:-enable}-optimise""... $ac_c" 1>&6
2441echo "configure:2442: checking for --${enablestring:-enable}-optimise" >&5
2442 no_cache=0
2443 # Check whether --enable-optimise or --disable-optimise was given.
2444if test "${enable_optimise+set}" = set; then
2445 enableval="$enable_optimise"
2446
2447 if test "$enableval" = yes; then
2448 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
2449 else
2450 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
2451 fi
2452
2453else
2454
2455 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2456 if test "x$LINE" != x ; then
2457 eval "DEFAULT_$LINE"
2458 else
2459 no_cache=1
2460 fi
2461
2462 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2463
2464fi
2465
2466
2467 eval "$ac_cv_use_optimise"
2468 if test "$no_cache" != 1; then
2469 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2470 fi
2471
2472 if test "$wxUSE_OPTIMISE" = yes; then
2473 echo "$ac_t""yes" 1>&6
2474 else
2475 echo "$ac_t""no" 1>&6
2476 fi
2477
2478
2479 enablestring=
2480 echo $ac_n "checking for --${enablestring:-enable}-debug""... $ac_c" 1>&6
2481echo "configure:2482: checking for --${enablestring:-enable}-debug" >&5
2482 no_cache=0
2483 # Check whether --enable-debug or --disable-debug was given.
2484if test "${enable_debug+set}" = set; then
2485 enableval="$enable_debug"
2486
2487 if test "$enableval" = yes; then
2488 ac_cv_use_debug='wxUSE_DEBUG=yes'
2489 else
2490 ac_cv_use_debug='wxUSE_DEBUG=no'
2491 fi
2492
2493else
2494
2495 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2496 if test "x$LINE" != x ; then
2497 eval "DEFAULT_$LINE"
2498 else
2499 no_cache=1
2500 fi
2501
2502 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2503
2504fi
2505
2506
2507 eval "$ac_cv_use_debug"
2508 if test "$no_cache" != 1; then
2509 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2510 fi
2511
2512 if test "$wxUSE_DEBUG" = yes; then
2513 echo "$ac_t""yes" 1>&6
2514 else
2515 echo "$ac_t""no" 1>&6
2516 fi
2517
2518
2519
2520 enablestring=
2521 echo $ac_n "checking for --${enablestring:-enable}-precomp""... $ac_c" 1>&6
2522echo "configure:2523: checking for --${enablestring:-enable}-precomp" >&5
2523 no_cache=0
2524 # Check whether --enable-precomp or --disable-precomp was given.
2525if test "${enable_precomp+set}" = set; then
2526 enableval="$enable_precomp"
2527
2528 if test "$enableval" = yes; then
2529 ac_cv_use_precomp='wxUSE_PRECOMP=yes'
2530 else
2531 ac_cv_use_precomp='wxUSE_PRECOMP=no'
2532 fi
2533
2534else
2535
2536 LINE=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2537 if test "x$LINE" != x ; then
2538 eval "DEFAULT_$LINE"
2539 else
2540 no_cache=1
2541 fi
2542
2543 ac_cv_use_precomp='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2544
2545fi
2546
2547
2548 eval "$ac_cv_use_precomp"
2549 if test "$no_cache" != 1; then
2550 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2551 fi
2552
2553 if test "$wxUSE_PRECOMP" = yes; then
2554 echo "$ac_t""yes" 1>&6
2555 else
2556 echo "$ac_t""no" 1>&6
2557 fi
2558
2559
2560if test "$wxUSE_DEBUG" = "yes"; then
2561 DEFAULT_wxUSE_DEBUG_FLAG=yes
2562 DEFAULT_wxUSE_DEBUG_INFO=yes
2563elif test "$wxUSE_DEBUG" = "no"; then
2564 DEFAULT_wxUSE_DEBUG_FLAG=no
2565 DEFAULT_wxUSE_DEBUG_INFO=no
2566fi
2567
2568
2569 enablestring=
2570 echo $ac_n "checking for --${enablestring:-enable}-debug_flag""... $ac_c" 1>&6
2571echo "configure:2572: checking for --${enablestring:-enable}-debug_flag" >&5
2572 no_cache=0
2573 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2574if test "${enable_debug_flag+set}" = set; then
2575 enableval="$enable_debug_flag"
2576
2577 if test "$enableval" = yes; then
2578 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
2579 else
2580 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
2581 fi
2582
2583else
2584
2585 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2586 if test "x$LINE" != x ; then
2587 eval "DEFAULT_$LINE"
2588 else
2589 no_cache=1
2590 fi
2591
2592 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2593
2594fi
2595
2596
2597 eval "$ac_cv_use_debug_flag"
2598 if test "$no_cache" != 1; then
2599 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2600 fi
2601
2602 if test "$wxUSE_DEBUG_FLAG" = yes; then
2603 echo "$ac_t""yes" 1>&6
2604 else
2605 echo "$ac_t""no" 1>&6
2606 fi
2607
2608
2609 enablestring=
2610 echo $ac_n "checking for --${enablestring:-enable}-debug_info""... $ac_c" 1>&6
2611echo "configure:2612: checking for --${enablestring:-enable}-debug_info" >&5
2612 no_cache=0
2613 # Check whether --enable-debug_info or --disable-debug_info was given.
2614if test "${enable_debug_info+set}" = set; then
2615 enableval="$enable_debug_info"
2616
2617 if test "$enableval" = yes; then
2618 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
2619 else
2620 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
2621 fi
2622
2623else
2624
2625 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2626 if test "x$LINE" != x ; then
2627 eval "DEFAULT_$LINE"
2628 else
2629 no_cache=1
2630 fi
2631
2632 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2633
2634fi
2635
2636
2637 eval "$ac_cv_use_debug_info"
2638 if test "$no_cache" != 1; then
2639 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2640 fi
2641
2642 if test "$wxUSE_DEBUG_INFO" = yes; then
2643 echo "$ac_t""yes" 1>&6
2644 else
2645 echo "$ac_t""no" 1>&6
2646 fi
2647
2648
2649 enablestring=
2650 echo $ac_n "checking for --${enablestring:-enable}-debug_gdb""... $ac_c" 1>&6
2651echo "configure:2652: checking for --${enablestring:-enable}-debug_gdb" >&5
2652 no_cache=0
2653 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2654if test "${enable_debug_gdb+set}" = set; then
2655 enableval="$enable_debug_gdb"
2656
2657 if test "$enableval" = yes; then
2658 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
2659 else
2660 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
2661 fi
2662
2663else
2664
2665 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2666 if test "x$LINE" != x ; then
2667 eval "DEFAULT_$LINE"
2668 else
2669 no_cache=1
2670 fi
2671
2672 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2673
2674fi
2675
2676
2677 eval "$ac_cv_use_debug_gdb"
2678 if test "$no_cache" != 1; then
2679 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2680 fi
2681
2682 if test "$wxUSE_DEBUG_GDB" = yes; then
2683 echo "$ac_t""yes" 1>&6
2684 else
2685 echo "$ac_t""no" 1>&6
2686 fi
2687
2688
2689 enablestring=
2690 echo $ac_n "checking for --${enablestring:-enable}-debug_cntxt""... $ac_c" 1>&6
2691echo "configure:2692: checking for --${enablestring:-enable}-debug_cntxt" >&5
2692 no_cache=0
2693 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2694if test "${enable_debug_cntxt+set}" = set; then
2695 enableval="$enable_debug_cntxt"
2696
2697 if test "$enableval" = yes; then
2698 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
2699 else
2700 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
2701 fi
2702
2703else
2704
2705 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2706 if test "x$LINE" != x ; then
2707 eval "DEFAULT_$LINE"
2708 else
2709 no_cache=1
2710 fi
2711
2712 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2713
2714fi
2715
2716
2717 eval "$ac_cv_use_debug_cntxt"
2718 if test "$no_cache" != 1; then
2719 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2720 fi
2721
2722 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2723 echo "$ac_t""yes" 1>&6
2724 else
2725 echo "$ac_t""no" 1>&6
2726 fi
2727
2728
2729 enablestring=
2730 echo $ac_n "checking for --${enablestring:-enable}-mem_tracing""... $ac_c" 1>&6
2731echo "configure:2732: checking for --${enablestring:-enable}-mem_tracing" >&5
2732 no_cache=0
2733 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2734if test "${enable_mem_tracing+set}" = set; then
2735 enableval="$enable_mem_tracing"
2736
2737 if test "$enableval" = yes; then
2738 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
2739 else
2740 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
2741 fi
2742
2743else
2744
2745 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2746 if test "x$LINE" != x ; then
2747 eval "DEFAULT_$LINE"
2748 else
2749 no_cache=1
2750 fi
2751
2752 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2753
2754fi
2755
2756
2757 eval "$ac_cv_use_mem_tracing"
2758 if test "$no_cache" != 1; then
2759 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2760 fi
2761
2762 if test "$wxUSE_MEM_TRACING" = yes; then
2763 echo "$ac_t""yes" 1>&6
2764 else
2765 echo "$ac_t""no" 1>&6
2766 fi
2767
2768
2769 enablestring=
2770 echo $ac_n "checking for --${enablestring:-enable}-profile""... $ac_c" 1>&6
2771echo "configure:2772: checking for --${enablestring:-enable}-profile" >&5
2772 no_cache=0
2773 # Check whether --enable-profile or --disable-profile was given.
2774if test "${enable_profile+set}" = set; then
2775 enableval="$enable_profile"
2776
2777 if test "$enableval" = yes; then
2778 ac_cv_use_profile='wxUSE_PROFILE=yes'
2779 else
2780 ac_cv_use_profile='wxUSE_PROFILE=no'
2781 fi
2782
2783else
2784
2785 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2786 if test "x$LINE" != x ; then
2787 eval "DEFAULT_$LINE"
2788 else
2789 no_cache=1
2790 fi
2791
2792 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2793
2794fi
2795
2796
2797 eval "$ac_cv_use_profile"
2798 if test "$no_cache" != 1; then
2799 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2800 fi
2801
2802 if test "$wxUSE_PROFILE" = yes; then
2803 echo "$ac_t""yes" 1>&6
2804 else
2805 echo "$ac_t""no" 1>&6
2806 fi
2807
2808
2809 enablestring=
2810 echo $ac_n "checking for --${enablestring:-enable}-no_rtti""... $ac_c" 1>&6
2811echo "configure:2812: checking for --${enablestring:-enable}-no_rtti" >&5
2812 no_cache=0
2813 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2814if test "${enable_no_rtti+set}" = set; then
2815 enableval="$enable_no_rtti"
2816
2817 if test "$enableval" = yes; then
2818 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
2819 else
2820 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
2821 fi
2822
2823else
2824
2825 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2826 if test "x$LINE" != x ; then
2827 eval "DEFAULT_$LINE"
2828 else
2829 no_cache=1
2830 fi
2831
2832 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2833
2834fi
2835
2836
2837 eval "$ac_cv_use_no_rtti"
2838 if test "$no_cache" != 1; then
2839 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2840 fi
2841
2842 if test "$wxUSE_NO_RTTI" = yes; then
2843 echo "$ac_t""yes" 1>&6
2844 else
2845 echo "$ac_t""no" 1>&6
2846 fi
2847
2848
2849 enablestring=
2850 echo $ac_n "checking for --${enablestring:-enable}-no_exceptions""... $ac_c" 1>&6
2851echo "configure:2852: checking for --${enablestring:-enable}-no_exceptions" >&5
2852 no_cache=0
2853 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2854if test "${enable_no_exceptions+set}" = set; then
2855 enableval="$enable_no_exceptions"
2856
2857 if test "$enableval" = yes; then
2858 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
2859 else
2860 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
2861 fi
2862
2863else
2864
2865 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2866 if test "x$LINE" != x ; then
2867 eval "DEFAULT_$LINE"
2868 else
2869 no_cache=1
2870 fi
2871
2872 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2873
2874fi
2875
2876
2877 eval "$ac_cv_use_no_exceptions"
2878 if test "$no_cache" != 1; then
2879 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2880 fi
2881
2882 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2883 echo "$ac_t""yes" 1>&6
2884 else
2885 echo "$ac_t""no" 1>&6
2886 fi
2887
2888
2889 enablestring=
2890 echo $ac_n "checking for --${enablestring:-enable}-permissive""... $ac_c" 1>&6
2891echo "configure:2892: checking for --${enablestring:-enable}-permissive" >&5
2892 no_cache=0
2893 # Check whether --enable-permissive or --disable-permissive was given.
2894if test "${enable_permissive+set}" = set; then
2895 enableval="$enable_permissive"
2896
2897 if test "$enableval" = yes; then
2898 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
2899 else
2900 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
2901 fi
2902
2903else
2904
2905 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2906 if test "x$LINE" != x ; then
2907 eval "DEFAULT_$LINE"
2908 else
2909 no_cache=1
2910 fi
2911
2912 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2913
2914fi
2915
2916
2917 eval "$ac_cv_use_permissive"
2918 if test "$no_cache" != 1; then
2919 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2920 fi
2921
2922 if test "$wxUSE_PERMISSIVE" = yes; then
2923 echo "$ac_t""yes" 1>&6
2924 else
2925 echo "$ac_t""no" 1>&6
2926 fi
2927
2928
2929 enablestring=
2930 echo $ac_n "checking for --${enablestring:-enable}-no_deps""... $ac_c" 1>&6
2931echo "configure:2932: checking for --${enablestring:-enable}-no_deps" >&5
2932 no_cache=0
2933 # Check whether --enable-no_deps or --disable-no_deps was given.
2934if test "${enable_no_deps+set}" = set; then
2935 enableval="$enable_no_deps"
2936
2937 if test "$enableval" = yes; then
2938 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
2939 else
2940 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
2941 fi
2942
2943else
2944
2945 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2946 if test "x$LINE" != x ; then
2947 eval "DEFAULT_$LINE"
2948 else
2949 no_cache=1
2950 fi
2951
2952 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2953
2954fi
2955
2956
2957 eval "$ac_cv_use_no_deps"
2958 if test "$no_cache" != 1; then
2959 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2960 fi
2961
2962 if test "$wxUSE_NO_DEPS" = yes; then
2963 echo "$ac_t""yes" 1>&6
2964 else
2965 echo "$ac_t""no" 1>&6
2966 fi
2967
2968
2969
2970 enablestring=
2971 echo $ac_n "checking for --${enablestring:-enable}-compat20""... $ac_c" 1>&6
2972echo "configure:2973: checking for --${enablestring:-enable}-compat20" >&5
2973 no_cache=0
2974 # Check whether --enable-compat20 or --disable-compat20 was given.
2975if test "${enable_compat20+set}" = set; then
2976 enableval="$enable_compat20"
2977
2978 if test "$enableval" = yes; then
2979 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
2980 else
2981 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
2982 fi
2983
2984else
2985
2986 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x ; then
2988 eval "DEFAULT_$LINE"
2989 else
2990 no_cache=1
2991 fi
2992
2993 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2994
2995fi
2996
2997
2998 eval "$ac_cv_use_compat20"
2999 if test "$no_cache" != 1; then
3000 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3001 fi
3002
3003 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3004 echo "$ac_t""yes" 1>&6
3005 else
3006 echo "$ac_t""no" 1>&6
3007 fi
3008
3009
3010 enablestring=
3011 echo $ac_n "checking for --${enablestring:-enable}-compat22""... $ac_c" 1>&6
3012echo "configure:3013: checking for --${enablestring:-enable}-compat22" >&5
3013 no_cache=0
3014 # Check whether --enable-compat22 or --disable-compat22 was given.
3015if test "${enable_compat22+set}" = set; then
3016 enableval="$enable_compat22"
3017
3018 if test "$enableval" = yes; then
3019 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3020 else
3021 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3022 fi
3023
3024else
3025
3026 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3027 if test "x$LINE" != x ; then
3028 eval "DEFAULT_$LINE"
3029 else
3030 no_cache=1
3031 fi
3032
3033 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3034
3035fi
3036
3037
3038 eval "$ac_cv_use_compat22"
3039 if test "$no_cache" != 1; then
3040 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3041 fi
3042
3043 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3044 echo "$ac_t""yes" 1>&6
3045 else
3046 echo "$ac_t""no" 1>&6
3047 fi
3048
3049
3050 enablestring=disable
3051 echo $ac_n "checking for --${enablestring:-enable}-compat24""... $ac_c" 1>&6
3052echo "configure:3053: checking for --${enablestring:-enable}-compat24" >&5
3053 no_cache=0
3054 # Check whether --enable-compat24 or --disable-compat24 was given.
3055if test "${enable_compat24+set}" = set; then
3056 enableval="$enable_compat24"
3057
3058 if test "$enableval" = yes; then
3059 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3060 else
3061 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3062 fi
3063
3064else
3065
3066 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3067 if test "x$LINE" != x ; then
3068 eval "DEFAULT_$LINE"
3069 else
3070 no_cache=1
3071 fi
3072
3073 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3074
3075fi
3076
3077
3078 eval "$ac_cv_use_compat24"
3079 if test "$no_cache" != 1; then
3080 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3081 fi
3082
3083 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3084 echo "$ac_t""yes" 1>&6
3085 else
3086 echo "$ac_t""no" 1>&6
3087 fi
3088
3089
3090# Check whether --enable-rpath or --disable-rpath was given.
3091if test "${enable_rpath+set}" = set; then
3092 enableval="$enable_rpath"
3093 wxRPATH_DIR="$enableval"
3094fi
3095
3096
3097if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3098 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3099fi
3100
3101
3102
3103
3104 enablestring=
3105 echo $ac_n "checking for --${enablestring:-enable}-intl""... $ac_c" 1>&6
3106echo "configure:3107: checking for --${enablestring:-enable}-intl" >&5
3107 no_cache=0
3108 # Check whether --enable-intl or --disable-intl was given.
3109if test "${enable_intl+set}" = set; then
3110 enableval="$enable_intl"
3111
3112 if test "$enableval" = yes; then
3113 ac_cv_use_intl='wxUSE_INTL=yes'
3114 else
3115 ac_cv_use_intl='wxUSE_INTL=no'
3116 fi
3117
3118else
3119
3120 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3121 if test "x$LINE" != x ; then
3122 eval "DEFAULT_$LINE"
3123 else
3124 no_cache=1
3125 fi
3126
3127 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3128
3129fi
3130
3131
3132 eval "$ac_cv_use_intl"
3133 if test "$no_cache" != 1; then
3134 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3135 fi
3136
3137 if test "$wxUSE_INTL" = yes; then
3138 echo "$ac_t""yes" 1>&6
3139 else
3140 echo "$ac_t""no" 1>&6
3141 fi
3142
3143
3144 enablestring=
3145 echo $ac_n "checking for --${enablestring:-enable}-config""... $ac_c" 1>&6
3146echo "configure:3147: checking for --${enablestring:-enable}-config" >&5
3147 no_cache=0
3148 # Check whether --enable-config or --disable-config was given.
3149if test "${enable_config+set}" = set; then
3150 enableval="$enable_config"
3151
3152 if test "$enableval" = yes; then
3153 ac_cv_use_config='wxUSE_CONFIG=yes'
3154 else
3155 ac_cv_use_config='wxUSE_CONFIG=no'
3156 fi
3157
3158else
3159
3160 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3161 if test "x$LINE" != x ; then
3162 eval "DEFAULT_$LINE"
3163 else
3164 no_cache=1
3165 fi
3166
3167 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3168
3169fi
3170
3171
3172 eval "$ac_cv_use_config"
3173 if test "$no_cache" != 1; then
3174 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3175 fi
3176
3177 if test "$wxUSE_CONFIG" = yes; then
3178 echo "$ac_t""yes" 1>&6
3179 else
3180 echo "$ac_t""no" 1>&6
3181 fi
3182
3183
3184
3185 enablestring=
3186 echo $ac_n "checking for --${enablestring:-enable}-protocols""... $ac_c" 1>&6
3187echo "configure:3188: checking for --${enablestring:-enable}-protocols" >&5
3188 no_cache=0
3189 # Check whether --enable-protocols or --disable-protocols was given.
3190if test "${enable_protocols+set}" = set; then
3191 enableval="$enable_protocols"
3192
3193 if test "$enableval" = yes; then
3194 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3195 else
3196 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3197 fi
3198
3199else
3200
3201 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3202 if test "x$LINE" != x ; then
3203 eval "DEFAULT_$LINE"
3204 else
3205 no_cache=1
3206 fi
3207
3208 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3209
3210fi
3211
3212
3213 eval "$ac_cv_use_protocols"
3214 if test "$no_cache" != 1; then
3215 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3216 fi
3217
3218 if test "$wxUSE_PROTOCOL" = yes; then
3219 echo "$ac_t""yes" 1>&6
3220 else
3221 echo "$ac_t""no" 1>&6
3222 fi
3223
3224
3225 enablestring=
3226 echo $ac_n "checking for --${enablestring:-enable}-ftp""... $ac_c" 1>&6
3227echo "configure:3228: checking for --${enablestring:-enable}-ftp" >&5
3228 no_cache=0
3229 # Check whether --enable-ftp or --disable-ftp was given.
3230if test "${enable_ftp+set}" = set; then
3231 enableval="$enable_ftp"
3232
3233 if test "$enableval" = yes; then
3234 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3235 else
3236 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3237 fi
3238
3239else
3240
3241 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3242 if test "x$LINE" != x ; then
3243 eval "DEFAULT_$LINE"
3244 else
3245 no_cache=1
3246 fi
3247
3248 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3249
3250fi
3251
3252
3253 eval "$ac_cv_use_ftp"
3254 if test "$no_cache" != 1; then
3255 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3256 fi
3257
3258 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3259 echo "$ac_t""yes" 1>&6
3260 else
3261 echo "$ac_t""no" 1>&6
3262 fi
3263
3264
3265 enablestring=
3266 echo $ac_n "checking for --${enablestring:-enable}-http""... $ac_c" 1>&6
3267echo "configure:3268: checking for --${enablestring:-enable}-http" >&5
3268 no_cache=0
3269 # Check whether --enable-http or --disable-http was given.
3270if test "${enable_http+set}" = set; then
3271 enableval="$enable_http"
3272
3273 if test "$enableval" = yes; then
3274 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3275 else
3276 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3277 fi
3278
3279else
3280
3281 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3282 if test "x$LINE" != x ; then
3283 eval "DEFAULT_$LINE"
3284 else
3285 no_cache=1
3286 fi
3287
3288 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3289
3290fi
3291
3292
3293 eval "$ac_cv_use_http"
3294 if test "$no_cache" != 1; then
3295 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3296 fi
3297
3298 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3299 echo "$ac_t""yes" 1>&6
3300 else
3301 echo "$ac_t""no" 1>&6
3302 fi
3303
3304
3305 enablestring=
3306 echo $ac_n "checking for --${enablestring:-enable}-fileproto""... $ac_c" 1>&6
3307echo "configure:3308: checking for --${enablestring:-enable}-fileproto" >&5
3308 no_cache=0
3309 # Check whether --enable-fileproto or --disable-fileproto was given.
3310if test "${enable_fileproto+set}" = set; then
3311 enableval="$enable_fileproto"
3312
3313 if test "$enableval" = yes; then
3314 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
3315 else
3316 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
3317 fi
3318
3319else
3320
3321 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3322 if test "x$LINE" != x ; then
3323 eval "DEFAULT_$LINE"
3324 else
3325 no_cache=1
3326 fi
3327
3328 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3329
3330fi
3331
3332
3333 eval "$ac_cv_use_fileproto"
3334 if test "$no_cache" != 1; then
3335 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3336 fi
3337
3338 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3339 echo "$ac_t""yes" 1>&6
3340 else
3341 echo "$ac_t""no" 1>&6
3342 fi
3343
3344
3345 enablestring=
3346 echo $ac_n "checking for --${enablestring:-enable}-sockets""... $ac_c" 1>&6
3347echo "configure:3348: checking for --${enablestring:-enable}-sockets" >&5
3348 no_cache=0
3349 # Check whether --enable-sockets or --disable-sockets was given.
3350if test "${enable_sockets+set}" = set; then
3351 enableval="$enable_sockets"
3352
3353 if test "$enableval" = yes; then
3354 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
3355 else
3356 ac_cv_use_sockets='wxUSE_SOCKETS=no'
3357 fi
3358
3359else
3360
3361 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3362 if test "x$LINE" != x ; then
3363 eval "DEFAULT_$LINE"
3364 else
3365 no_cache=1
3366 fi
3367
3368 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3369
3370fi
3371
3372
3373 eval "$ac_cv_use_sockets"
3374 if test "$no_cache" != 1; then
3375 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3376 fi
3377
3378 if test "$wxUSE_SOCKETS" = yes; then
3379 echo "$ac_t""yes" 1>&6
3380 else
3381 echo "$ac_t""no" 1>&6
3382 fi
3383
3384
3385 enablestring=
3386 echo $ac_n "checking for --${enablestring:-enable}-ole""... $ac_c" 1>&6
3387echo "configure:3388: checking for --${enablestring:-enable}-ole" >&5
3388 no_cache=0
3389 # Check whether --enable-ole or --disable-ole was given.
3390if test "${enable_ole+set}" = set; then
3391 enableval="$enable_ole"
3392
3393 if test "$enableval" = yes; then
3394 ac_cv_use_ole='wxUSE_OLE=yes'
3395 else
3396 ac_cv_use_ole='wxUSE_OLE=no'
3397 fi
3398
3399else
3400
3401 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
3402 if test "x$LINE" != x ; then
3403 eval "DEFAULT_$LINE"
3404 else
3405 no_cache=1
3406 fi
3407
3408 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
3409
3410fi
3411
3412
3413 eval "$ac_cv_use_ole"
3414 if test "$no_cache" != 1; then
3415 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
3416 fi
3417
3418 if test "$wxUSE_OLE" = yes; then
3419 echo "$ac_t""yes" 1>&6
3420 else
3421 echo "$ac_t""no" 1>&6
3422 fi
3423
3424
3425 enablestring=
3426 echo $ac_n "checking for --${enablestring:-enable}-dataobj""... $ac_c" 1>&6
3427echo "configure:3428: checking for --${enablestring:-enable}-dataobj" >&5
3428 no_cache=0
3429 # Check whether --enable-dataobj or --disable-dataobj was given.
3430if test "${enable_dataobj+set}" = set; then
3431 enableval="$enable_dataobj"
3432
3433 if test "$enableval" = yes; then
3434 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
3435 else
3436 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
3437 fi
3438
3439else
3440
3441 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
3442 if test "x$LINE" != x ; then
3443 eval "DEFAULT_$LINE"
3444 else
3445 no_cache=1
3446 fi
3447
3448 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
3449
3450fi
3451
3452
3453 eval "$ac_cv_use_dataobj"
3454 if test "$no_cache" != 1; then
3455 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
3456 fi
3457
3458 if test "$wxUSE_DATAOBJ" = yes; then
3459 echo "$ac_t""yes" 1>&6
3460 else
3461 echo "$ac_t""no" 1>&6
3462 fi
3463
3464
3465
3466 enablestring=
3467 echo $ac_n "checking for --${enablestring:-enable}-ipc""... $ac_c" 1>&6
3468echo "configure:3469: checking for --${enablestring:-enable}-ipc" >&5
3469 no_cache=0
3470 # Check whether --enable-ipc or --disable-ipc was given.
3471if test "${enable_ipc+set}" = set; then
3472 enableval="$enable_ipc"
3473
3474 if test "$enableval" = yes; then
3475 ac_cv_use_ipc='wxUSE_IPC=yes'
3476 else
3477 ac_cv_use_ipc='wxUSE_IPC=no'
3478 fi
3479
3480else
3481
3482 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3483 if test "x$LINE" != x ; then
3484 eval "DEFAULT_$LINE"
3485 else
3486 no_cache=1
3487 fi
3488
3489 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3490
3491fi
3492
3493
3494 eval "$ac_cv_use_ipc"
3495 if test "$no_cache" != 1; then
3496 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3497 fi
3498
3499 if test "$wxUSE_IPC" = yes; then
3500 echo "$ac_t""yes" 1>&6
3501 else
3502 echo "$ac_t""no" 1>&6
3503 fi
3504
3505
3506
3507 enablestring=
3508 echo $ac_n "checking for --${enablestring:-enable}-cmdline""... $ac_c" 1>&6
3509echo "configure:3510: checking for --${enablestring:-enable}-cmdline" >&5
3510 no_cache=0
3511 # Check whether --enable-cmdline or --disable-cmdline was given.
3512if test "${enable_cmdline+set}" = set; then
3513 enableval="$enable_cmdline"
3514
3515 if test "$enableval" = yes; then
3516 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
3517 else
3518 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
3519 fi
3520
3521else
3522
3523 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3524 if test "x$LINE" != x ; then
3525 eval "DEFAULT_$LINE"
3526 else
3527 no_cache=1
3528 fi
3529
3530 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3531
3532fi
3533
3534
3535 eval "$ac_cv_use_cmdline"
3536 if test "$no_cache" != 1; then
3537 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3538 fi
3539
3540 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3541 echo "$ac_t""yes" 1>&6
3542 else
3543 echo "$ac_t""no" 1>&6
3544 fi
3545
3546
3547 enablestring=
3548 echo $ac_n "checking for --${enablestring:-enable}-datetime""... $ac_c" 1>&6
3549echo "configure:3550: checking for --${enablestring:-enable}-datetime" >&5
3550 no_cache=0
3551 # Check whether --enable-datetime or --disable-datetime was given.
3552if test "${enable_datetime+set}" = set; then
3553 enableval="$enable_datetime"
3554
3555 if test "$enableval" = yes; then
3556 ac_cv_use_datetime='wxUSE_DATETIME=yes'
3557 else
3558 ac_cv_use_datetime='wxUSE_DATETIME=no'
3559 fi
3560
3561else
3562
3563 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3564 if test "x$LINE" != x ; then
3565 eval "DEFAULT_$LINE"
3566 else
3567 no_cache=1
3568 fi
3569
3570 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3571
3572fi
3573
3574
3575 eval "$ac_cv_use_datetime"
3576 if test "$no_cache" != 1; then
3577 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3578 fi
3579
3580 if test "$wxUSE_DATETIME" = yes; then
3581 echo "$ac_t""yes" 1>&6
3582 else
3583 echo "$ac_t""no" 1>&6
3584 fi
3585
3586
3587 enablestring=
3588 echo $ac_n "checking for --${enablestring:-enable}-timedate""... $ac_c" 1>&6
3589echo "configure:3590: checking for --${enablestring:-enable}-timedate" >&5
3590 no_cache=0
3591 # Check whether --enable-timedate or --disable-timedate was given.
3592if test "${enable_timedate+set}" = set; then
3593 enableval="$enable_timedate"
3594
3595 if test "$enableval" = yes; then
3596 ac_cv_use_timedate='wxUSE_TIMEDATE=yes'
3597 else
3598 ac_cv_use_timedate='wxUSE_TIMEDATE=no'
3599 fi
3600
3601else
3602
3603 LINE=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3604 if test "x$LINE" != x ; then
3605 eval "DEFAULT_$LINE"
3606 else
3607 no_cache=1
3608 fi
3609
3610 ac_cv_use_timedate='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3611
3612fi
3613
3614
3615 eval "$ac_cv_use_timedate"
3616 if test "$no_cache" != 1; then
3617 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3618 fi
3619
3620 if test "$wxUSE_TIMEDATE" = yes; then
3621 echo "$ac_t""yes" 1>&6
3622 else
3623 echo "$ac_t""no" 1>&6
3624 fi
3625
3626
3627 enablestring=
3628 echo $ac_n "checking for --${enablestring:-enable}-stopwatch""... $ac_c" 1>&6
3629echo "configure:3630: checking for --${enablestring:-enable}-stopwatch" >&5
3630 no_cache=0
3631 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3632if test "${enable_stopwatch+set}" = set; then
3633 enableval="$enable_stopwatch"
3634
3635 if test "$enableval" = yes; then
3636 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
3637 else
3638 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
3639 fi
3640
3641else
3642
3643 LINE=`grep "wxUSE_STOPWATCH" ${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_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3651
3652fi
3653
3654
3655 eval "$ac_cv_use_stopwatch"
3656 if test "$no_cache" != 1; then
3657 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3658 fi
3659
3660 if test "$wxUSE_STOPWATCH" = yes; then
3661 echo "$ac_t""yes" 1>&6
3662 else
3663 echo "$ac_t""no" 1>&6
3664 fi
3665
3666
3667 enablestring=
3668 echo $ac_n "checking for --${enablestring:-enable}-dialupman""... $ac_c" 1>&6
3669echo "configure:3670: checking for --${enablestring:-enable}-dialupman" >&5
3670 no_cache=0
3671 # Check whether --enable-dialupman or --disable-dialupman was given.
3672if test "${enable_dialupman+set}" = set; then
3673 enableval="$enable_dialupman"
3674
3675 if test "$enableval" = yes; then
3676 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
3677 else
3678 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
3679 fi
3680
3681else
3682
3683 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3684 if test "x$LINE" != x ; then
3685 eval "DEFAULT_$LINE"
3686 else
3687 no_cache=1
3688 fi
3689
3690 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3691
3692fi
3693
3694
3695 eval "$ac_cv_use_dialupman"
3696 if test "$no_cache" != 1; then
3697 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3698 fi
3699
3700 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3701 echo "$ac_t""yes" 1>&6
3702 else
3703 echo "$ac_t""no" 1>&6
3704 fi
3705
3706
3707 enablestring=
3708 echo $ac_n "checking for --${enablestring:-enable}-apple_ieee""... $ac_c" 1>&6
3709echo "configure:3710: checking for --${enablestring:-enable}-apple_ieee" >&5
3710 no_cache=0
3711 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3712if test "${enable_apple_ieee+set}" = set; then
3713 enableval="$enable_apple_ieee"
3714
3715 if test "$enableval" = yes; then
3716 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
3717 else
3718 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
3719 fi
3720
3721else
3722
3723 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3724 if test "x$LINE" != x ; then
3725 eval "DEFAULT_$LINE"
3726 else
3727 no_cache=1
3728 fi
3729
3730 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3731
3732fi
3733
3734
3735 eval "$ac_cv_use_apple_ieee"
3736 if test "$no_cache" != 1; then
3737 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3738 fi
3739
3740 if test "$wxUSE_APPLE_IEEE" = yes; then
3741 echo "$ac_t""yes" 1>&6
3742 else
3743 echo "$ac_t""no" 1>&6
3744 fi
3745
3746
3747 enablestring=
3748 echo $ac_n "checking for --${enablestring:-enable}-timer""... $ac_c" 1>&6
3749echo "configure:3750: checking for --${enablestring:-enable}-timer" >&5
3750 no_cache=0
3751 # Check whether --enable-timer or --disable-timer was given.
3752if test "${enable_timer+set}" = set; then
3753 enableval="$enable_timer"
3754
3755 if test "$enableval" = yes; then
3756 ac_cv_use_timer='wxUSE_TIMER=yes'
3757 else
3758 ac_cv_use_timer='wxUSE_TIMER=no'
3759 fi
3760
3761else
3762
3763 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3764 if test "x$LINE" != x ; then
3765 eval "DEFAULT_$LINE"
3766 else
3767 no_cache=1
3768 fi
3769
3770 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3771
3772fi
3773
3774
3775 eval "$ac_cv_use_timer"
3776 if test "$no_cache" != 1; then
3777 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3778 fi
3779
3780 if test "$wxUSE_TIMER" = yes; then
3781 echo "$ac_t""yes" 1>&6
3782 else
3783 echo "$ac_t""no" 1>&6
3784 fi
3785
3786
3787 enablestring=
3788 echo $ac_n "checking for --${enablestring:-enable}-wave""... $ac_c" 1>&6
3789echo "configure:3790: checking for --${enablestring:-enable}-wave" >&5
3790 no_cache=0
3791 # Check whether --enable-wave or --disable-wave was given.
3792if test "${enable_wave+set}" = set; then
3793 enableval="$enable_wave"
3794
3795 if test "$enableval" = yes; then
3796 ac_cv_use_wave='wxUSE_WAVE=yes'
3797 else
3798 ac_cv_use_wave='wxUSE_WAVE=no'
3799 fi
3800
3801else
3802
3803 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3804 if test "x$LINE" != x ; then
3805 eval "DEFAULT_$LINE"
3806 else
3807 no_cache=1
3808 fi
3809
3810 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3811
3812fi
3813
3814
3815 eval "$ac_cv_use_wave"
3816 if test "$no_cache" != 1; then
3817 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3818 fi
3819
3820 if test "$wxUSE_WAVE" = yes; then
3821 echo "$ac_t""yes" 1>&6
3822 else
3823 echo "$ac_t""no" 1>&6
3824 fi
3825
3826
3827 enablestring=
3828 echo $ac_n "checking for --${enablestring:-enable}-fraction""... $ac_c" 1>&6
3829echo "configure:3830: checking for --${enablestring:-enable}-fraction" >&5
3830 no_cache=0
3831 # Check whether --enable-fraction or --disable-fraction was given.
3832if test "${enable_fraction+set}" = set; then
3833 enableval="$enable_fraction"
3834
3835 if test "$enableval" = yes; then
3836 ac_cv_use_fraction='wxUSE_FRACTION=yes'
3837 else
3838 ac_cv_use_fraction='wxUSE_FRACTION=no'
3839 fi
3840
3841else
3842
3843 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3844 if test "x$LINE" != x ; then
3845 eval "DEFAULT_$LINE"
3846 else
3847 no_cache=1
3848 fi
3849
3850 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3851
3852fi
3853
3854
3855 eval "$ac_cv_use_fraction"
3856 if test "$no_cache" != 1; then
3857 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3858 fi
3859
3860 if test "$wxUSE_FRACTION" = yes; then
3861 echo "$ac_t""yes" 1>&6
3862 else
3863 echo "$ac_t""no" 1>&6
3864 fi
3865
3866
3867 enablestring=
3868 echo $ac_n "checking for --${enablestring:-enable}-dynlib""... $ac_c" 1>&6
3869echo "configure:3870: checking for --${enablestring:-enable}-dynlib" >&5
3870 no_cache=0
3871 # Check whether --enable-dynlib or --disable-dynlib was given.
3872if test "${enable_dynlib+set}" = set; then
3873 enableval="$enable_dynlib"
3874
3875 if test "$enableval" = yes; then
3876 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
3877 else
3878 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
3879 fi
3880
3881else
3882
3883 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3884 if test "x$LINE" != x ; then
3885 eval "DEFAULT_$LINE"
3886 else
3887 no_cache=1
3888 fi
3889
3890 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3891
3892fi
3893
3894
3895 eval "$ac_cv_use_dynlib"
3896 if test "$no_cache" != 1; then
3897 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3898 fi
3899
3900 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3901 echo "$ac_t""yes" 1>&6
3902 else
3903 echo "$ac_t""no" 1>&6
3904 fi
3905
3906
3907 enablestring=
3908 echo $ac_n "checking for --${enablestring:-enable}-dynamicloader""... $ac_c" 1>&6
3909echo "configure:3910: checking for --${enablestring:-enable}-dynamicloader" >&5
3910 no_cache=0
3911 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3912if test "${enable_dynamicloader+set}" = set; then
3913 enableval="$enable_dynamicloader"
3914
3915 if test "$enableval" = yes; then
3916 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
3917 else
3918 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
3919 fi
3920
3921else
3922
3923 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3924 if test "x$LINE" != x ; then
3925 eval "DEFAULT_$LINE"
3926 else
3927 no_cache=1
3928 fi
3929
3930 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3931
3932fi
3933
3934
3935 eval "$ac_cv_use_dynamicloader"
3936 if test "$no_cache" != 1; then
3937 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3938 fi
3939
3940 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3941 echo "$ac_t""yes" 1>&6
3942 else
3943 echo "$ac_t""no" 1>&6
3944 fi
3945
3946
3947 enablestring=
3948 echo $ac_n "checking for --${enablestring:-enable}-longlong""... $ac_c" 1>&6
3949echo "configure:3950: checking for --${enablestring:-enable}-longlong" >&5
3950 no_cache=0
3951 # Check whether --enable-longlong or --disable-longlong was given.
3952if test "${enable_longlong+set}" = set; then
3953 enableval="$enable_longlong"
3954
3955 if test "$enableval" = yes; then
3956 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
3957 else
3958 ac_cv_use_longlong='wxUSE_LONGLONG=no'
3959 fi
3960
3961else
3962
3963 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3964 if test "x$LINE" != x ; then
3965 eval "DEFAULT_$LINE"
3966 else
3967 no_cache=1
3968 fi
3969
3970 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3971
3972fi
3973
3974
3975 eval "$ac_cv_use_longlong"
3976 if test "$no_cache" != 1; then
3977 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3978 fi
3979
3980 if test "$wxUSE_LONGLONG" = yes; then
3981 echo "$ac_t""yes" 1>&6
3982 else
3983 echo "$ac_t""no" 1>&6
3984 fi
3985
3986
3987 enablestring=
3988 echo $ac_n "checking for --${enablestring:-enable}-geometry""... $ac_c" 1>&6
3989echo "configure:3990: checking for --${enablestring:-enable}-geometry" >&5
3990 no_cache=0
3991 # Check whether --enable-geometry or --disable-geometry was given.
3992if test "${enable_geometry+set}" = set; then
3993 enableval="$enable_geometry"
3994
3995 if test "$enableval" = yes; then
3996 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
3997 else
3998 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
3999 fi
4000
4001else
4002
4003 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4004 if test "x$LINE" != x ; then
4005 eval "DEFAULT_$LINE"
4006 else
4007 no_cache=1
4008 fi
4009
4010 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4011
4012fi
4013
4014
4015 eval "$ac_cv_use_geometry"
4016 if test "$no_cache" != 1; then
4017 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4018 fi
4019
4020 if test "$wxUSE_GEOMETRY" = yes; then
4021 echo "$ac_t""yes" 1>&6
4022 else
4023 echo "$ac_t""no" 1>&6
4024 fi
4025
4026
4027 enablestring=
4028 echo $ac_n "checking for --${enablestring:-enable}-log""... $ac_c" 1>&6
4029echo "configure:4030: checking for --${enablestring:-enable}-log" >&5
4030 no_cache=0
4031 # Check whether --enable-log or --disable-log was given.
4032if test "${enable_log+set}" = set; then
4033 enableval="$enable_log"
4034
4035 if test "$enableval" = yes; then
4036 ac_cv_use_log='wxUSE_LOG=yes'
4037 else
4038 ac_cv_use_log='wxUSE_LOG=no'
4039 fi
4040
4041else
4042
4043 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4044 if test "x$LINE" != x ; then
4045 eval "DEFAULT_$LINE"
4046 else
4047 no_cache=1
4048 fi
4049
4050 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4051
4052fi
4053
4054
4055 eval "$ac_cv_use_log"
4056 if test "$no_cache" != 1; then
4057 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4058 fi
4059
4060 if test "$wxUSE_LOG" = yes; then
4061 echo "$ac_t""yes" 1>&6
4062 else
4063 echo "$ac_t""no" 1>&6
4064 fi
4065
4066
4067 enablestring=
4068 echo $ac_n "checking for --${enablestring:-enable}-streams""... $ac_c" 1>&6
4069echo "configure:4070: checking for --${enablestring:-enable}-streams" >&5
4070 no_cache=0
4071 # Check whether --enable-streams or --disable-streams was given.
4072if test "${enable_streams+set}" = set; then
4073 enableval="$enable_streams"
4074
4075 if test "$enableval" = yes; then
4076 ac_cv_use_streams='wxUSE_STREAMS=yes'
4077 else
4078 ac_cv_use_streams='wxUSE_STREAMS=no'
4079 fi
4080
4081else
4082
4083 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4084 if test "x$LINE" != x ; then
4085 eval "DEFAULT_$LINE"
4086 else
4087 no_cache=1
4088 fi
4089
4090 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4091
4092fi
4093
4094
4095 eval "$ac_cv_use_streams"
4096 if test "$no_cache" != 1; then
4097 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4098 fi
4099
4100 if test "$wxUSE_STREAMS" = yes; then
4101 echo "$ac_t""yes" 1>&6
4102 else
4103 echo "$ac_t""no" 1>&6
4104 fi
4105
4106
4107 enablestring=
4108 echo $ac_n "checking for --${enablestring:-enable}-file""... $ac_c" 1>&6
4109echo "configure:4110: checking for --${enablestring:-enable}-file" >&5
4110 no_cache=0
4111 # Check whether --enable-file or --disable-file was given.
4112if test "${enable_file+set}" = set; then
4113 enableval="$enable_file"
4114
4115 if test "$enableval" = yes; then
4116 ac_cv_use_file='wxUSE_FILE=yes'
4117 else
4118 ac_cv_use_file='wxUSE_FILE=no'
4119 fi
4120
4121else
4122
4123 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4124 if test "x$LINE" != x ; then
4125 eval "DEFAULT_$LINE"
4126 else
4127 no_cache=1
4128 fi
4129
4130 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4131
4132fi
4133
4134
4135 eval "$ac_cv_use_file"
4136 if test "$no_cache" != 1; then
4137 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4138 fi
4139
4140 if test "$wxUSE_FILE" = yes; then
4141 echo "$ac_t""yes" 1>&6
4142 else
4143 echo "$ac_t""no" 1>&6
4144 fi
4145
4146
4147 enablestring=
4148 echo $ac_n "checking for --${enablestring:-enable}-ffile""... $ac_c" 1>&6
4149echo "configure:4150: checking for --${enablestring:-enable}-ffile" >&5
4150 no_cache=0
4151 # Check whether --enable-ffile or --disable-ffile was given.
4152if test "${enable_ffile+set}" = set; then
4153 enableval="$enable_ffile"
4154
4155 if test "$enableval" = yes; then
4156 ac_cv_use_ffile='wxUSE_FFILE=yes'
4157 else
4158 ac_cv_use_ffile='wxUSE_FFILE=no'
4159 fi
4160
4161else
4162
4163 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4164 if test "x$LINE" != x ; then
4165 eval "DEFAULT_$LINE"
4166 else
4167 no_cache=1
4168 fi
4169
4170 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4171
4172fi
4173
4174
4175 eval "$ac_cv_use_ffile"
4176 if test "$no_cache" != 1; then
4177 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4178 fi
4179
4180 if test "$wxUSE_FFILE" = yes; then
4181 echo "$ac_t""yes" 1>&6
4182 else
4183 echo "$ac_t""no" 1>&6
4184 fi
4185
4186
4187 enablestring=
4188 echo $ac_n "checking for --${enablestring:-enable}-textbuf""... $ac_c" 1>&6
4189echo "configure:4190: checking for --${enablestring:-enable}-textbuf" >&5
4190 no_cache=0
4191 # Check whether --enable-textbuf or --disable-textbuf was given.
4192if test "${enable_textbuf+set}" = set; then
4193 enableval="$enable_textbuf"
4194
4195 if test "$enableval" = yes; then
4196 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4197 else
4198 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4199 fi
4200
4201else
4202
4203 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4204 if test "x$LINE" != x ; then
4205 eval "DEFAULT_$LINE"
4206 else
4207 no_cache=1
4208 fi
4209
4210 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4211
4212fi
4213
4214
4215 eval "$ac_cv_use_textbuf"
4216 if test "$no_cache" != 1; then
4217 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4218 fi
4219
4220 if test "$wxUSE_TEXTBUFFER" = yes; then
4221 echo "$ac_t""yes" 1>&6
4222 else
4223 echo "$ac_t""no" 1>&6
4224 fi
4225
4226
4227 enablestring=
4228 echo $ac_n "checking for --${enablestring:-enable}-textfile""... $ac_c" 1>&6
4229echo "configure:4230: checking for --${enablestring:-enable}-textfile" >&5
4230 no_cache=0
4231 # Check whether --enable-textfile or --disable-textfile was given.
4232if test "${enable_textfile+set}" = set; then
4233 enableval="$enable_textfile"
4234
4235 if test "$enableval" = yes; then
4236 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4237 else
4238 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4239 fi
4240
4241else
4242
4243 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4244 if test "x$LINE" != x ; then
4245 eval "DEFAULT_$LINE"
4246 else
4247 no_cache=1
4248 fi
4249
4250 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4251
4252fi
4253
4254
4255 eval "$ac_cv_use_textfile"
4256 if test "$no_cache" != 1; then
4257 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4258 fi
4259
4260 if test "$wxUSE_TEXTFILE" = yes; then
4261 echo "$ac_t""yes" 1>&6
4262 else
4263 echo "$ac_t""no" 1>&6
4264 fi
4265
4266
4267 enablestring=
4268 echo $ac_n "checking for --${enablestring:-enable}-fontmap""... $ac_c" 1>&6
4269echo "configure:4270: checking for --${enablestring:-enable}-fontmap" >&5
4270 no_cache=0
4271 # Check whether --enable-fontmap or --disable-fontmap was given.
4272if test "${enable_fontmap+set}" = set; then
4273 enableval="$enable_fontmap"
4274
4275 if test "$enableval" = yes; then
4276 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4277 else
4278 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4279 fi
4280
4281else
4282
4283 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4284 if test "x$LINE" != x ; then
4285 eval "DEFAULT_$LINE"
4286 else
4287 no_cache=1
4288 fi
4289
4290 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4291
4292fi
4293
4294
4295 eval "$ac_cv_use_fontmap"
4296 if test "$no_cache" != 1; then
4297 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4298 fi
4299
4300 if test "$wxUSE_FONTMAP" = yes; then
4301 echo "$ac_t""yes" 1>&6
4302 else
4303 echo "$ac_t""no" 1>&6
4304 fi
4305
4306
4307 enablestring=
4308 echo $ac_n "checking for --${enablestring:-enable}-unicode""... $ac_c" 1>&6
4309echo "configure:4310: checking for --${enablestring:-enable}-unicode" >&5
4310 no_cache=0
4311 # Check whether --enable-unicode or --disable-unicode was given.
4312if test "${enable_unicode+set}" = set; then
4313 enableval="$enable_unicode"
4314
4315 if test "$enableval" = yes; then
4316 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4317 else
4318 ac_cv_use_unicode='wxUSE_UNICODE=no'
4319 fi
4320
4321else
4322
4323 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4324 if test "x$LINE" != x ; then
4325 eval "DEFAULT_$LINE"
4326 else
4327 no_cache=1
4328 fi
4329
4330 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4331
4332fi
4333
4334
4335 eval "$ac_cv_use_unicode"
4336 if test "$no_cache" != 1; then
4337 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4338 fi
4339
4340 if test "$wxUSE_UNICODE" = yes; then
4341 echo "$ac_t""yes" 1>&6
4342 else
4343 echo "$ac_t""no" 1>&6
4344 fi
4345
4346
4347 enablestring=
4348 echo $ac_n "checking for --${enablestring:-enable}-mslu""... $ac_c" 1>&6
4349echo "configure:4350: checking for --${enablestring:-enable}-mslu" >&5
4350 no_cache=0
4351 # Check whether --enable-mslu or --disable-mslu was given.
4352if test "${enable_mslu+set}" = set; then
4353 enableval="$enable_mslu"
4354
4355 if test "$enableval" = yes; then
4356 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4357 else
4358 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4359 fi
4360
4361else
4362
4363 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4364 if test "x$LINE" != x ; then
4365 eval "DEFAULT_$LINE"
4366 else
4367 no_cache=1
4368 fi
4369
4370 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4371
4372fi
4373
4374
4375 eval "$ac_cv_use_mslu"
4376 if test "$no_cache" != 1; then
4377 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4378 fi
4379
4380 if test "$wxUSE_UNICODE_MSLU" = yes; then
4381 echo "$ac_t""yes" 1>&6
4382 else
4383 echo "$ac_t""no" 1>&6
4384 fi
4385
4386
4387 enablestring=
4388 echo $ac_n "checking for --${enablestring:-enable}-wxprintfv""... $ac_c" 1>&6
4389echo "configure:4390: checking for --${enablestring:-enable}-wxprintfv" >&5
4390 no_cache=0
4391 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4392if test "${enable_wxprintfv+set}" = set; then
4393 enableval="$enable_wxprintfv"
4394
4395 if test "$enableval" = yes; then
4396 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
4397 else
4398 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
4399 fi
4400
4401else
4402
4403 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4404 if test "x$LINE" != x ; then
4405 eval "DEFAULT_$LINE"
4406 else
4407 no_cache=1
4408 fi
4409
4410 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4411
4412fi
4413
4414
4415 eval "$ac_cv_use_wxprintfv"
4416 if test "$no_cache" != 1; then
4417 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4418 fi
4419
4420 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4421 echo "$ac_t""yes" 1>&6
4422 else
4423 echo "$ac_t""no" 1>&6
4424 fi
4425
4426
4427 enablestring=
4428 echo $ac_n "checking for --${enablestring:-enable}-std_iostreams""... $ac_c" 1>&6
4429echo "configure:4430: checking for --${enablestring:-enable}-std_iostreams" >&5
4430 no_cache=0
4431 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4432if test "${enable_std_iostreams+set}" = set; then
4433 enableval="$enable_std_iostreams"
4434
4435 if test "$enableval" = yes; then
4436 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4437 else
4438 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4439 fi
4440
4441else
4442
4443 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4444 if test "x$LINE" != x ; then
4445 eval "DEFAULT_$LINE"
4446 else
4447 no_cache=1
4448 fi
4449
4450 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4451
4452fi
4453
4454
4455 eval "$ac_cv_use_std_iostreams"
4456 if test "$no_cache" != 1; then
4457 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4458 fi
4459
4460 if test "$wxUSE_STD_IOSTREAM" = yes; then
4461 echo "$ac_t""yes" 1>&6
4462 else
4463 echo "$ac_t""no" 1>&6
4464 fi
4465
4466
4467 enablestring=
4468 echo $ac_n "checking for --${enablestring:-enable}-filesystem""... $ac_c" 1>&6
4469echo "configure:4470: checking for --${enablestring:-enable}-filesystem" >&5
4470 no_cache=0
4471 # Check whether --enable-filesystem or --disable-filesystem was given.
4472if test "${enable_filesystem+set}" = set; then
4473 enableval="$enable_filesystem"
4474
4475 if test "$enableval" = yes; then
4476 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4477 else
4478 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4479 fi
4480
4481else
4482
4483 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4484 if test "x$LINE" != x ; then
4485 eval "DEFAULT_$LINE"
4486 else
4487 no_cache=1
4488 fi
4489
4490 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4491
4492fi
4493
4494
4495 eval "$ac_cv_use_filesystem"
4496 if test "$no_cache" != 1; then
4497 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4498 fi
4499
4500 if test "$wxUSE_FILESYSTEM" = yes; then
4501 echo "$ac_t""yes" 1>&6
4502 else
4503 echo "$ac_t""no" 1>&6
4504 fi
4505
4506
4507 enablestring=
4508 echo $ac_n "checking for --${enablestring:-enable}-fs_inet""... $ac_c" 1>&6
4509echo "configure:4510: checking for --${enablestring:-enable}-fs_inet" >&5
4510 no_cache=0
4511 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4512if test "${enable_fs_inet+set}" = set; then
4513 enableval="$enable_fs_inet"
4514
4515 if test "$enableval" = yes; then
4516 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4517 else
4518 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4519 fi
4520
4521else
4522
4523 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4524 if test "x$LINE" != x ; then
4525 eval "DEFAULT_$LINE"
4526 else
4527 no_cache=1
4528 fi
4529
4530 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4531
4532fi
4533
4534
4535 eval "$ac_cv_use_fs_inet"
4536 if test "$no_cache" != 1; then
4537 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4538 fi
4539
4540 if test "$wxUSE_FS_INET" = yes; then
4541 echo "$ac_t""yes" 1>&6
4542 else
4543 echo "$ac_t""no" 1>&6
4544 fi
4545
4546
4547 enablestring=
4548 echo $ac_n "checking for --${enablestring:-enable}-fs_zip""... $ac_c" 1>&6
4549echo "configure:4550: checking for --${enablestring:-enable}-fs_zip" >&5
4550 no_cache=0
4551 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4552if test "${enable_fs_zip+set}" = set; then
4553 enableval="$enable_fs_zip"
4554
4555 if test "$enableval" = yes; then
4556 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4557 else
4558 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4559 fi
4560
4561else
4562
4563 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4564 if test "x$LINE" != x ; then
4565 eval "DEFAULT_$LINE"
4566 else
4567 no_cache=1
4568 fi
4569
4570 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4571
4572fi
4573
4574
4575 eval "$ac_cv_use_fs_zip"
4576 if test "$no_cache" != 1; then
4577 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4578 fi
4579
4580 if test "$wxUSE_FS_ZIP" = yes; then
4581 echo "$ac_t""yes" 1>&6
4582 else
4583 echo "$ac_t""no" 1>&6
4584 fi
4585
4586
4587 enablestring=
4588 echo $ac_n "checking for --${enablestring:-enable}-zipstream""... $ac_c" 1>&6
4589echo "configure:4590: checking for --${enablestring:-enable}-zipstream" >&5
4590 no_cache=0
4591 # Check whether --enable-zipstream or --disable-zipstream was given.
4592if test "${enable_zipstream+set}" = set; then
4593 enableval="$enable_zipstream"
4594
4595 if test "$enableval" = yes; then
4596 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
4597 else
4598 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
4599 fi
4600
4601else
4602
4603 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4604 if test "x$LINE" != x ; then
4605 eval "DEFAULT_$LINE"
4606 else
4607 no_cache=1
4608 fi
4609
4610 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4611
4612fi
4613
4614
4615 eval "$ac_cv_use_zipstream"
4616 if test "$no_cache" != 1; then
4617 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4618 fi
4619
4620 if test "$wxUSE_ZIPSTREAM" = yes; then
4621 echo "$ac_t""yes" 1>&6
4622 else
4623 echo "$ac_t""no" 1>&6
4624 fi
4625
4626
4627
4628 enablestring=
4629 echo $ac_n "checking for --${enablestring:-enable}-catch_segvs""... $ac_c" 1>&6
4630echo "configure:4631: checking for --${enablestring:-enable}-catch_segvs" >&5
4631 no_cache=0
4632 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4633if test "${enable_catch_segvs+set}" = set; then
4634 enableval="$enable_catch_segvs"
4635
4636 if test "$enableval" = yes; then
4637 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4638 else
4639 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4640 fi
4641
4642else
4643
4644 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4645 if test "x$LINE" != x ; then
4646 eval "DEFAULT_$LINE"
4647 else
4648 no_cache=1
4649 fi
4650
4651 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4652
4653fi
4654
4655
4656 eval "$ac_cv_use_catch_segvs"
4657 if test "$no_cache" != 1; then
4658 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4659 fi
4660
4661 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4662 echo "$ac_t""yes" 1>&6
4663 else
4664 echo "$ac_t""no" 1>&6
4665 fi
4666
4667
4668 enablestring=
4669 echo $ac_n "checking for --${enablestring:-enable}-snglinst""... $ac_c" 1>&6
4670echo "configure:4671: checking for --${enablestring:-enable}-snglinst" >&5
4671 no_cache=0
4672 # Check whether --enable-snglinst or --disable-snglinst was given.
4673if test "${enable_snglinst+set}" = set; then
4674 enableval="$enable_snglinst"
4675
4676 if test "$enableval" = yes; then
4677 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
4678 else
4679 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
4680 fi
4681
4682else
4683
4684 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4685 if test "x$LINE" != x ; then
4686 eval "DEFAULT_$LINE"
4687 else
4688 no_cache=1
4689 fi
4690
4691 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4692
4693fi
4694
4695
4696 eval "$ac_cv_use_snglinst"
4697 if test "$no_cache" != 1; then
4698 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4699 fi
4700
4701 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4702 echo "$ac_t""yes" 1>&6
4703 else
4704 echo "$ac_t""no" 1>&6
4705 fi
4706
4707
4708
4709 enablestring=
4710 echo $ac_n "checking for --${enablestring:-enable}-mimetype""... $ac_c" 1>&6
4711echo "configure:4712: checking for --${enablestring:-enable}-mimetype" >&5
4712 no_cache=0
4713 # Check whether --enable-mimetype or --disable-mimetype was given.
4714if test "${enable_mimetype+set}" = set; then
4715 enableval="$enable_mimetype"
4716
4717 if test "$enableval" = yes; then
4718 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
4719 else
4720 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
4721 fi
4722
4723else
4724
4725 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4726 if test "x$LINE" != x ; then
4727 eval "DEFAULT_$LINE"
4728 else
4729 no_cache=1
4730 fi
4731
4732 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4733
4734fi
4735
4736
4737 eval "$ac_cv_use_mimetype"
4738 if test "$no_cache" != 1; then
4739 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4740 fi
4741
4742 if test "$wxUSE_MIMETYPE" = yes; then
4743 echo "$ac_t""yes" 1>&6
4744 else
4745 echo "$ac_t""no" 1>&6
4746 fi
4747
4748
4749 enablestring=
4750 echo $ac_n "checking for --${enablestring:-enable}-system_options""... $ac_c" 1>&6
4751echo "configure:4752: checking for --${enablestring:-enable}-system_options" >&5
4752 no_cache=0
4753 # Check whether --enable-system_options or --disable-system_options was given.
4754if test "${enable_system_options+set}" = set; then
4755 enableval="$enable_system_options"
4756
4757 if test "$enableval" = yes; then
4758 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
4759 else
4760 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
4761 fi
4762
4763else
4764
4765 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4766 if test "x$LINE" != x ; then
4767 eval "DEFAULT_$LINE"
4768 else
4769 no_cache=1
4770 fi
4771
4772 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4773
4774fi
4775
4776
4777 eval "$ac_cv_use_system_options"
4778 if test "$no_cache" != 1; then
4779 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4780 fi
4781
4782 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4783 echo "$ac_t""yes" 1>&6
4784 else
4785 echo "$ac_t""no" 1>&6
4786 fi
4787
4788
4789
4790 enablestring=
4791 echo $ac_n "checking for --${enablestring:-enable}-url""... $ac_c" 1>&6
4792echo "configure:4793: checking for --${enablestring:-enable}-url" >&5
4793 no_cache=0
4794 # Check whether --enable-url or --disable-url was given.
4795if test "${enable_url+set}" = set; then
4796 enableval="$enable_url"
4797
4798 if test "$enableval" = yes; then
4799 ac_cv_use_url='wxUSE_URL=yes'
4800 else
4801 ac_cv_use_url='wxUSE_URL=no'
4802 fi
4803
4804else
4805
4806 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4807 if test "x$LINE" != x ; then
4808 eval "DEFAULT_$LINE"
4809 else
4810 no_cache=1
4811 fi
4812
4813 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
4814
4815fi
4816
4817
4818 eval "$ac_cv_use_url"
4819 if test "$no_cache" != 1; then
4820 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4821 fi
4822
4823 if test "$wxUSE_URL" = yes; then
4824 echo "$ac_t""yes" 1>&6
4825 else
4826 echo "$ac_t""no" 1>&6
4827 fi
4828
4829
4830 enablestring=
4831 echo $ac_n "checking for --${enablestring:-enable}-protocol""... $ac_c" 1>&6
4832echo "configure:4833: checking for --${enablestring:-enable}-protocol" >&5
4833 no_cache=0
4834 # Check whether --enable-protocol or --disable-protocol was given.
4835if test "${enable_protocol+set}" = set; then
4836 enableval="$enable_protocol"
4837
4838 if test "$enableval" = yes; then
4839 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
4840 else
4841 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
4842 fi
4843
4844else
4845
4846 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4847 if test "x$LINE" != x ; then
4848 eval "DEFAULT_$LINE"
4849 else
4850 no_cache=1
4851 fi
4852
4853 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4854
4855fi
4856
4857
4858 eval "$ac_cv_use_protocol"
4859 if test "$no_cache" != 1; then
4860 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4861 fi
4862
4863 if test "$wxUSE_PROTOCOL" = yes; then
4864 echo "$ac_t""yes" 1>&6
4865 else
4866 echo "$ac_t""no" 1>&6
4867 fi
4868
4869
4870 enablestring=
4871 echo $ac_n "checking for --${enablestring:-enable}-protocol_http""... $ac_c" 1>&6
4872echo "configure:4873: checking for --${enablestring:-enable}-protocol_http" >&5
4873 no_cache=0
4874 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4875if test "${enable_protocol_http+set}" = set; then
4876 enableval="$enable_protocol_http"
4877
4878 if test "$enableval" = yes; then
4879 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
4880 else
4881 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
4882 fi
4883
4884else
4885
4886 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4887 if test "x$LINE" != x ; then
4888 eval "DEFAULT_$LINE"
4889 else
4890 no_cache=1
4891 fi
4892
4893 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4894
4895fi
4896
4897
4898 eval "$ac_cv_use_protocol_http"
4899 if test "$no_cache" != 1; then
4900 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4901 fi
4902
4903 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4904 echo "$ac_t""yes" 1>&6
4905 else
4906 echo "$ac_t""no" 1>&6
4907 fi
4908
4909
4910 enablestring=
4911 echo $ac_n "checking for --${enablestring:-enable}-protocol_ftp""... $ac_c" 1>&6
4912echo "configure:4913: checking for --${enablestring:-enable}-protocol_ftp" >&5
4913 no_cache=0
4914 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4915if test "${enable_protocol_ftp+set}" = set; then
4916 enableval="$enable_protocol_ftp"
4917
4918 if test "$enableval" = yes; then
4919 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
4920 else
4921 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
4922 fi
4923
4924else
4925
4926 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4927 if test "x$LINE" != x ; then
4928 eval "DEFAULT_$LINE"
4929 else
4930 no_cache=1
4931 fi
4932
4933 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4934
4935fi
4936
4937
4938 eval "$ac_cv_use_protocol_ftp"
4939 if test "$no_cache" != 1; then
4940 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4941 fi
4942
4943 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4944 echo "$ac_t""yes" 1>&6
4945 else
4946 echo "$ac_t""no" 1>&6
4947 fi
4948
4949
4950 enablestring=
4951 echo $ac_n "checking for --${enablestring:-enable}-protocol_file""... $ac_c" 1>&6
4952echo "configure:4953: checking for --${enablestring:-enable}-protocol_file" >&5
4953 no_cache=0
4954 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4955if test "${enable_protocol_file+set}" = set; then
4956 enableval="$enable_protocol_file"
4957
4958 if test "$enableval" = yes; then
4959 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
4960 else
4961 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
4962 fi
4963
4964else
4965
4966 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4967 if test "x$LINE" != x ; then
4968 eval "DEFAULT_$LINE"
4969 else
4970 no_cache=1
4971 fi
4972
4973 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4974
4975fi
4976
4977
4978 eval "$ac_cv_use_protocol_file"
4979 if test "$no_cache" != 1; then
4980 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4981 fi
4982
4983 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4984 echo "$ac_t""yes" 1>&6
4985 else
4986 echo "$ac_t""no" 1>&6
4987 fi
4988
4989
4990
4991
4992
4993 enablestring=
4994 echo $ac_n "checking for --${enablestring:-enable}-threads""... $ac_c" 1>&6
4995echo "configure:4996: checking for --${enablestring:-enable}-threads" >&5
4996 no_cache=0
4997 # Check whether --enable-threads or --disable-threads was given.
4998if test "${enable_threads+set}" = set; then
4999 enableval="$enable_threads"
5000
5001 if test "$enableval" = yes; then
5002 ac_cv_use_threads='wxUSE_THREADS=yes'
5003 else
5004 ac_cv_use_threads='wxUSE_THREADS=no'
5005 fi
5006
5007else
5008
5009 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5010 if test "x$LINE" != x ; then
5011 eval "DEFAULT_$LINE"
5012 else
5013 no_cache=1
5014 fi
5015
5016 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5017
5018fi
5019
5020
5021 eval "$ac_cv_use_threads"
5022 if test "$no_cache" != 1; then
5023 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5024 fi
5025
5026 if test "$wxUSE_THREADS" = yes; then
5027 echo "$ac_t""yes" 1>&6
5028 else
5029 echo "$ac_t""no" 1>&6
5030 fi
5031
5032
5033if test "$wxUSE_GUI" = "yes"; then
5034
5035
5036
5037 enablestring=
5038 echo $ac_n "checking for --${enablestring:-enable}-docview""... $ac_c" 1>&6
5039echo "configure:5040: checking for --${enablestring:-enable}-docview" >&5
5040 no_cache=0
5041 # Check whether --enable-docview or --disable-docview was given.
5042if test "${enable_docview+set}" = set; then
5043 enableval="$enable_docview"
5044
5045 if test "$enableval" = yes; then
5046 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5047 else
5048 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5049 fi
5050
5051else
5052
5053 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5054 if test "x$LINE" != x ; then
5055 eval "DEFAULT_$LINE"
5056 else
5057 no_cache=1
5058 fi
5059
5060 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5061
5062fi
5063
5064
5065 eval "$ac_cv_use_docview"
5066 if test "$no_cache" != 1; then
5067 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5068 fi
5069
5070 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5071 echo "$ac_t""yes" 1>&6
5072 else
5073 echo "$ac_t""no" 1>&6
5074 fi
5075
5076
5077 enablestring=
5078 echo $ac_n "checking for --${enablestring:-enable}-help""... $ac_c" 1>&6
5079echo "configure:5080: checking for --${enablestring:-enable}-help" >&5
5080 no_cache=0
5081 # Check whether --enable-help or --disable-help was given.
5082if test "${enable_help+set}" = set; then
5083 enableval="$enable_help"
5084
5085 if test "$enableval" = yes; then
5086 ac_cv_use_help='wxUSE_HELP=yes'
5087 else
5088 ac_cv_use_help='wxUSE_HELP=no'
5089 fi
5090
5091else
5092
5093 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5094 if test "x$LINE" != x ; then
5095 eval "DEFAULT_$LINE"
5096 else
5097 no_cache=1
5098 fi
5099
5100 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5101
5102fi
5103
5104
5105 eval "$ac_cv_use_help"
5106 if test "$no_cache" != 1; then
5107 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5108 fi
5109
5110 if test "$wxUSE_HELP" = yes; then
5111 echo "$ac_t""yes" 1>&6
5112 else
5113 echo "$ac_t""no" 1>&6
5114 fi
5115
5116
5117 enablestring=
5118 echo $ac_n "checking for --${enablestring:-enable}-mshtmlhelp""... $ac_c" 1>&6
5119echo "configure:5120: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5120 no_cache=0
5121 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5122if test "${enable_mshtmlhelp+set}" = set; then
5123 enableval="$enable_mshtmlhelp"
5124
5125 if test "$enableval" = yes; then
5126 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5127 else
5128 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5129 fi
5130
5131else
5132
5133 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5134 if test "x$LINE" != x ; then
5135 eval "DEFAULT_$LINE"
5136 else
5137 no_cache=1
5138 fi
5139
5140 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5141
5142fi
5143
5144
5145 eval "$ac_cv_use_mshtmlhelp"
5146 if test "$no_cache" != 1; then
5147 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5148 fi
5149
5150 if test "$wxUSE_MS_HTML_HELP" = yes; then
5151 echo "$ac_t""yes" 1>&6
5152 else
5153 echo "$ac_t""no" 1>&6
5154 fi
5155
5156
5157 enablestring=
5158 echo $ac_n "checking for --${enablestring:-enable}-html""... $ac_c" 1>&6
5159echo "configure:5160: checking for --${enablestring:-enable}-html" >&5
5160 no_cache=0
5161 # Check whether --enable-html or --disable-html was given.
5162if test "${enable_html+set}" = set; then
5163 enableval="$enable_html"
5164
5165 if test "$enableval" = yes; then
5166 ac_cv_use_html='wxUSE_HTML=yes'
5167 else
5168 ac_cv_use_html='wxUSE_HTML=no'
5169 fi
5170
5171else
5172
5173 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5174 if test "x$LINE" != x ; then
5175 eval "DEFAULT_$LINE"
5176 else
5177 no_cache=1
5178 fi
5179
5180 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5181
5182fi
5183
5184
5185 eval "$ac_cv_use_html"
5186 if test "$no_cache" != 1; then
5187 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5188 fi
5189
5190 if test "$wxUSE_HTML" = yes; then
5191 echo "$ac_t""yes" 1>&6
5192 else
5193 echo "$ac_t""no" 1>&6
5194 fi
5195
5196
5197 enablestring=
5198 echo $ac_n "checking for --${enablestring:-enable}-htmlhelp""... $ac_c" 1>&6
5199echo "configure:5200: checking for --${enablestring:-enable}-htmlhelp" >&5
5200 no_cache=0
5201 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5202if test "${enable_htmlhelp+set}" = set; then
5203 enableval="$enable_htmlhelp"
5204
5205 if test "$enableval" = yes; then
5206 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5207 else
5208 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5209 fi
5210
5211else
5212
5213 LINE=`grep "wxUSE_WXHTML_HELP" ${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_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5221
5222fi
5223
5224
5225 eval "$ac_cv_use_htmlhelp"
5226 if test "$no_cache" != 1; then
5227 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5228 fi
5229
5230 if test "$wxUSE_WXHTML_HELP" = yes; then
5231 echo "$ac_t""yes" 1>&6
5232 else
5233 echo "$ac_t""no" 1>&6
5234 fi
5235
5236
5237 enablestring=
5238 echo $ac_n "checking for --${enablestring:-enable}-constraints""... $ac_c" 1>&6
5239echo "configure:5240: checking for --${enablestring:-enable}-constraints" >&5
5240 no_cache=0
5241 # Check whether --enable-constraints or --disable-constraints was given.
5242if test "${enable_constraints+set}" = set; then
5243 enableval="$enable_constraints"
5244
5245 if test "$enableval" = yes; then
5246 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5247 else
5248 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5249 fi
5250
5251else
5252
5253 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5254 if test "x$LINE" != x ; then
5255 eval "DEFAULT_$LINE"
5256 else
5257 no_cache=1
5258 fi
5259
5260 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5261
5262fi
5263
5264
5265 eval "$ac_cv_use_constraints"
5266 if test "$no_cache" != 1; then
5267 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5268 fi
5269
5270 if test "$wxUSE_CONSTRAINTS" = yes; then
5271 echo "$ac_t""yes" 1>&6
5272 else
5273 echo "$ac_t""no" 1>&6
5274 fi
5275
5276
5277 enablestring=
5278 echo $ac_n "checking for --${enablestring:-enable}-printarch""... $ac_c" 1>&6
5279echo "configure:5280: checking for --${enablestring:-enable}-printarch" >&5
5280 no_cache=0
5281 # Check whether --enable-printarch or --disable-printarch was given.
5282if test "${enable_printarch+set}" = set; then
5283 enableval="$enable_printarch"
5284
5285 if test "$enableval" = yes; then
5286 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5287 else
5288 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5289 fi
5290
5291else
5292
5293 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5294 if test "x$LINE" != x ; then
5295 eval "DEFAULT_$LINE"
5296 else
5297 no_cache=1
5298 fi
5299
5300 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5301
5302fi
5303
5304
5305 eval "$ac_cv_use_printarch"
5306 if test "$no_cache" != 1; then
5307 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5308 fi
5309
5310 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5311 echo "$ac_t""yes" 1>&6
5312 else
5313 echo "$ac_t""no" 1>&6
5314 fi
5315
5316
5317 enablestring=
5318 echo $ac_n "checking for --${enablestring:-enable}-mdi""... $ac_c" 1>&6
5319echo "configure:5320: checking for --${enablestring:-enable}-mdi" >&5
5320 no_cache=0
5321 # Check whether --enable-mdi or --disable-mdi was given.
5322if test "${enable_mdi+set}" = set; then
5323 enableval="$enable_mdi"
5324
5325 if test "$enableval" = yes; then
5326 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
5327 else
5328 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
5329 fi
5330
5331else
5332
5333 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5334 if test "x$LINE" != x ; then
5335 eval "DEFAULT_$LINE"
5336 else
5337 no_cache=1
5338 fi
5339
5340 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5341
5342fi
5343
5344
5345 eval "$ac_cv_use_mdi"
5346 if test "$no_cache" != 1; then
5347 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5348 fi
5349
5350 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5351 echo "$ac_t""yes" 1>&6
5352 else
5353 echo "$ac_t""no" 1>&6
5354 fi
5355
5356
5357 enablestring=
5358 echo $ac_n "checking for --${enablestring:-enable}-loggui""... $ac_c" 1>&6
5359echo "configure:5360: checking for --${enablestring:-enable}-loggui" >&5
5360 no_cache=0
5361 # Check whether --enable-loggui or --disable-loggui was given.
5362if test "${enable_loggui+set}" = set; then
5363 enableval="$enable_loggui"
5364
5365 if test "$enableval" = yes; then
5366 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
5367 else
5368 ac_cv_use_loggui='wxUSE_LOGGUI=no'
5369 fi
5370
5371else
5372
5373 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5374 if test "x$LINE" != x ; then
5375 eval "DEFAULT_$LINE"
5376 else
5377 no_cache=1
5378 fi
5379
5380 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5381
5382fi
5383
5384
5385 eval "$ac_cv_use_loggui"
5386 if test "$no_cache" != 1; then
5387 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5388 fi
5389
5390 if test "$wxUSE_LOGGUI" = yes; then
5391 echo "$ac_t""yes" 1>&6
5392 else
5393 echo "$ac_t""no" 1>&6
5394 fi
5395
5396
5397 enablestring=
5398 echo $ac_n "checking for --${enablestring:-enable}-logwin""... $ac_c" 1>&6
5399echo "configure:5400: checking for --${enablestring:-enable}-logwin" >&5
5400 no_cache=0
5401 # Check whether --enable-logwin or --disable-logwin was given.
5402if test "${enable_logwin+set}" = set; then
5403 enableval="$enable_logwin"
5404
5405 if test "$enableval" = yes; then
5406 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
5407 else
5408 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
5409 fi
5410
5411else
5412
5413 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5414 if test "x$LINE" != x ; then
5415 eval "DEFAULT_$LINE"
5416 else
5417 no_cache=1
5418 fi
5419
5420 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5421
5422fi
5423
5424
5425 eval "$ac_cv_use_logwin"
5426 if test "$no_cache" != 1; then
5427 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5428 fi
5429
5430 if test "$wxUSE_LOGWINDOW" = yes; then
5431 echo "$ac_t""yes" 1>&6
5432 else
5433 echo "$ac_t""no" 1>&6
5434 fi
5435
5436
5437 enablestring=
5438 echo $ac_n "checking for --${enablestring:-enable}-logdialog""... $ac_c" 1>&6
5439echo "configure:5440: checking for --${enablestring:-enable}-logdialog" >&5
5440 no_cache=0
5441 # Check whether --enable-logdialog or --disable-logdialog was given.
5442if test "${enable_logdialog+set}" = set; then
5443 enableval="$enable_logdialog"
5444
5445 if test "$enableval" = yes; then
5446 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
5447 else
5448 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
5449 fi
5450
5451else
5452
5453 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5454 if test "x$LINE" != x ; then
5455 eval "DEFAULT_$LINE"
5456 else
5457 no_cache=1
5458 fi
5459
5460 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5461
5462fi
5463
5464
5465 eval "$ac_cv_use_logdialog"
5466 if test "$no_cache" != 1; then
5467 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5468 fi
5469
5470 if test "$wxUSE_LOGDIALOG" = yes; then
5471 echo "$ac_t""yes" 1>&6
5472 else
5473 echo "$ac_t""no" 1>&6
5474 fi
5475
5476
5477
5478 enablestring=
5479 echo $ac_n "checking for --${enablestring:-enable}-postscript""... $ac_c" 1>&6
5480echo "configure:5481: checking for --${enablestring:-enable}-postscript" >&5
5481 no_cache=0
5482 # Check whether --enable-postscript or --disable-postscript was given.
5483if test "${enable_postscript+set}" = set; then
5484 enableval="$enable_postscript"
5485
5486 if test "$enableval" = yes; then
5487 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
5488 else
5489 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
5490 fi
5491
5492else
5493
5494 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5495 if test "x$LINE" != x ; then
5496 eval "DEFAULT_$LINE"
5497 else
5498 no_cache=1
5499 fi
5500
5501 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5502
5503fi
5504
5505
5506 eval "$ac_cv_use_postscript"
5507 if test "$no_cache" != 1; then
5508 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5509 fi
5510
5511 if test "$wxUSE_POSTSCRIPT" = yes; then
5512 echo "$ac_t""yes" 1>&6
5513 else
5514 echo "$ac_t""no" 1>&6
5515 fi
5516
5517
5518
5519
5520
5521 enablestring=
5522 echo $ac_n "checking for --${enablestring:-enable}-prologio""... $ac_c" 1>&6
5523echo "configure:5524: checking for --${enablestring:-enable}-prologio" >&5
5524 no_cache=0
5525 # Check whether --enable-prologio or --disable-prologio was given.
5526if test "${enable_prologio+set}" = set; then
5527 enableval="$enable_prologio"
5528
5529 if test "$enableval" = yes; then
5530 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
5531 else
5532 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
5533 fi
5534
5535else
5536
5537 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5538 if test "x$LINE" != x ; then
5539 eval "DEFAULT_$LINE"
5540 else
5541 no_cache=1
5542 fi
5543
5544 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5545
5546fi
5547
5548
5549 eval "$ac_cv_use_prologio"
5550 if test "$no_cache" != 1; then
5551 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5552 fi
5553
5554 if test "$wxUSE_PROLOGIO" = yes; then
5555 echo "$ac_t""yes" 1>&6
5556 else
5557 echo "$ac_t""no" 1>&6
5558 fi
5559
5560
5561 enablestring=
5562 echo $ac_n "checking for --${enablestring:-enable}-resources""... $ac_c" 1>&6
5563echo "configure:5564: checking for --${enablestring:-enable}-resources" >&5
5564 no_cache=0
5565 # Check whether --enable-resources or --disable-resources was given.
5566if test "${enable_resources+set}" = set; then
5567 enableval="$enable_resources"
5568
5569 if test "$enableval" = yes; then
5570 ac_cv_use_resources='wxUSE_RESOURCES=yes'
5571 else
5572 ac_cv_use_resources='wxUSE_RESOURCES=no'
5573 fi
5574
5575else
5576
5577 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5578 if test "x$LINE" != x ; then
5579 eval "DEFAULT_$LINE"
5580 else
5581 no_cache=1
5582 fi
5583
5584 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5585
5586fi
5587
5588
5589 eval "$ac_cv_use_resources"
5590 if test "$no_cache" != 1; then
5591 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5592 fi
5593
5594 if test "$wxUSE_RESOURCES" = yes; then
5595 echo "$ac_t""yes" 1>&6
5596 else
5597 echo "$ac_t""no" 1>&6
5598 fi
5599
5600
5601
5602 enablestring=
5603 echo $ac_n "checking for --${enablestring:-enable}-xresources""... $ac_c" 1>&6
5604echo "configure:5605: checking for --${enablestring:-enable}-xresources" >&5
5605 no_cache=0
5606 # Check whether --enable-xresources or --disable-xresources was given.
5607if test "${enable_xresources+set}" = set; then
5608 enableval="$enable_xresources"
5609
5610 if test "$enableval" = yes; then
5611 ac_cv_use_xresources='wxUSE_X_RESOURCES=yes'
5612 else
5613 ac_cv_use_xresources='wxUSE_X_RESOURCES=no'
5614 fi
5615
5616else
5617
5618 LINE=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5619 if test "x$LINE" != x ; then
5620 eval "DEFAULT_$LINE"
5621 else
5622 no_cache=1
5623 fi
5624
5625 ac_cv_use_xresources='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5626
5627fi
5628
5629
5630 eval "$ac_cv_use_xresources"
5631 if test "$no_cache" != 1; then
5632 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5633 fi
5634
5635 if test "$wxUSE_X_RESOURCES" = yes; then
5636 echo "$ac_t""yes" 1>&6
5637 else
5638 echo "$ac_t""no" 1>&6
5639 fi
5640
5641
5642
5643
5644 enablestring=
5645 echo $ac_n "checking for --${enablestring:-enable}-clipboard""... $ac_c" 1>&6
5646echo "configure:5647: checking for --${enablestring:-enable}-clipboard" >&5
5647 no_cache=0
5648 # Check whether --enable-clipboard or --disable-clipboard was given.
5649if test "${enable_clipboard+set}" = set; then
5650 enableval="$enable_clipboard"
5651
5652 if test "$enableval" = yes; then
5653 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
5654 else
5655 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
5656 fi
5657
5658else
5659
5660 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5661 if test "x$LINE" != x ; then
5662 eval "DEFAULT_$LINE"
5663 else
5664 no_cache=1
5665 fi
5666
5667 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5668
5669fi
5670
5671
5672 eval "$ac_cv_use_clipboard"
5673 if test "$no_cache" != 1; then
5674 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5675 fi
5676
5677 if test "$wxUSE_CLIPBOARD" = yes; then
5678 echo "$ac_t""yes" 1>&6
5679 else
5680 echo "$ac_t""no" 1>&6
5681 fi
5682
5683
5684 enablestring=
5685 echo $ac_n "checking for --${enablestring:-enable}-dnd""... $ac_c" 1>&6
5686echo "configure:5687: checking for --${enablestring:-enable}-dnd" >&5
5687 no_cache=0
5688 # Check whether --enable-dnd or --disable-dnd was given.
5689if test "${enable_dnd+set}" = set; then
5690 enableval="$enable_dnd"
5691
5692 if test "$enableval" = yes; then
5693 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
5694 else
5695 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
5696 fi
5697
5698else
5699
5700 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5701 if test "x$LINE" != x ; then
5702 eval "DEFAULT_$LINE"
5703 else
5704 no_cache=1
5705 fi
5706
5707 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5708
5709fi
5710
5711
5712 eval "$ac_cv_use_dnd"
5713 if test "$no_cache" != 1; then
5714 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5715 fi
5716
5717 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5718 echo "$ac_t""yes" 1>&6
5719 else
5720 echo "$ac_t""no" 1>&6
5721 fi
5722
5723
5724 enablestring=
5725 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
5726echo "configure:5727: checking for --${enablestring:-enable}-metafile" >&5
5727 no_cache=0
5728 # Check whether --enable-metafile or --disable-metafile was given.
5729if test "${enable_metafile+set}" = set; then
5730 enableval="$enable_metafile"
5731
5732 if test "$enableval" = yes; then
5733 ac_cv_use_metafile='wxUSE_METAFILE=yes'
5734 else
5735 ac_cv_use_metafile='wxUSE_METAFILE=no'
5736 fi
5737
5738else
5739
5740 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5741 if test "x$LINE" != x ; then
5742 eval "DEFAULT_$LINE"
5743 else
5744 no_cache=1
5745 fi
5746
5747 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5748
5749fi
5750
5751
5752 eval "$ac_cv_use_metafile"
5753 if test "$no_cache" != 1; then
5754 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5755 fi
5756
5757 if test "$wxUSE_METAFILE" = yes; then
5758 echo "$ac_t""yes" 1>&6
5759 else
5760 echo "$ac_t""no" 1>&6
5761 fi
5762
5763
5764
5765 enablestring=
5766 echo $ac_n "checking for --${enablestring:-enable}-treelayout""... $ac_c" 1>&6
5767echo "configure:5768: checking for --${enablestring:-enable}-treelayout" >&5
5768 no_cache=0
5769 # Check whether --enable-treelayout or --disable-treelayout was given.
5770if test "${enable_treelayout+set}" = set; then
5771 enableval="$enable_treelayout"
5772
5773 if test "$enableval" = yes; then
5774 ac_cv_use_treelayout='wxUSE_TREELAYOUT=yes'
5775 else
5776 ac_cv_use_treelayout='wxUSE_TREELAYOUT=no'
5777 fi
5778
5779else
5780
5781 LINE=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5782 if test "x$LINE" != x ; then
5783 eval "DEFAULT_$LINE"
5784 else
5785 no_cache=1
5786 fi
5787
5788 ac_cv_use_treelayout='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5789
5790fi
5791
5792
5793 eval "$ac_cv_use_treelayout"
5794 if test "$no_cache" != 1; then
5795 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5796 fi
5797
5798 if test "$wxUSE_TREELAYOUT" = yes; then
5799 echo "$ac_t""yes" 1>&6
5800 else
5801 echo "$ac_t""no" 1>&6
5802 fi
5803
5804
5805
5806
5807 enablestring=
5808 echo $ac_n "checking for --${enablestring:-enable}-controls""... $ac_c" 1>&6
5809echo "configure:5810: checking for --${enablestring:-enable}-controls" >&5
5810 no_cache=0
5811 # Check whether --enable-controls or --disable-controls was given.
5812if test "${enable_controls+set}" = set; then
5813 enableval="$enable_controls"
5814
5815 if test "$enableval" = yes; then
5816 ac_cv_use_controls='wxUSE_CONTROLS=yes'
5817 else
5818 ac_cv_use_controls='wxUSE_CONTROLS=no'
5819 fi
5820
5821else
5822
5823 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5824 if test "x$LINE" != x ; then
5825 eval "DEFAULT_$LINE"
5826 else
5827 no_cache=1
5828 fi
5829
5830 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5831
5832fi
5833
5834
5835 eval "$ac_cv_use_controls"
5836 if test "$no_cache" != 1; then
5837 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5838 fi
5839
5840 if test "$wxUSE_CONTROLS" = yes; then
5841 echo "$ac_t""yes" 1>&6
5842 else
5843 echo "$ac_t""no" 1>&6
5844 fi
5845
5846
5847if test "$wxUSE_CONTROLS" = "yes"; then
5848 DEFAULT_wxUSE_ACCEL=yes
5849 DEFAULT_wxUSE_BMPBUTTON=yes
5850 DEFAULT_wxUSE_BUTTON=yes
5851 DEFAULT_wxUSE_CALCTRL=no
5852 DEFAULT_wxUSE_CARET=yes
5853 DEFAULT_wxUSE_COMBOBOX=yes
5854 DEFAULT_wxUSE_CHECKBOX=yes
5855 DEFAULT_wxUSE_CHECKLISTBOX=yes
5856 DEFAULT_wxUSE_CHOICE=yes
5857 DEFAULT_wxUSE_GAUGE=yes
5858 DEFAULT_wxUSE_GRID=yes
5859 DEFAULT_wxUSE_NEW_GRID=yes
5860 DEFAULT_wxUSE_IMAGLIST=yes
5861 DEFAULT_wxUSE_LISTBOX=yes
5862 DEFAULT_wxUSE_LISTCTRL=yes
5863 DEFAULT_wxUSE_NOTEBOOK=yes
5864 DEFAULT_wxUSE_PROPSHEET=yes
5865 DEFAULT_wxUSE_RADIOBOX=yes
5866 DEFAULT_wxUSE_RADIOBTN=yes
5867 DEFAULT_wxUSE_SASH=yes
5868 DEFAULT_wxUSE_SCROLLBAR=yes
5869 DEFAULT_wxUSE_SLIDER=yes
5870 DEFAULT_wxUSE_SPINBTN=yes
5871 DEFAULT_wxUSE_SPINCTRL=yes
5872 DEFAULT_wxUSE_SPLITTER=yes
5873 DEFAULT_wxUSE_STATBMP=yes
5874 DEFAULT_wxUSE_STATBOX=yes
5875 DEFAULT_wxUSE_STATLINE=yes
5876 DEFAULT_wxUSE_STATUSBAR=yes
5877 DEFAULT_wxUSE_TAB_DIALOG=yes
5878 DEFAULT_wxUSE_TOGGLEBTN=yes
5879 DEFAULT_wxUSE_TOOLBAR=yes
5880 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
5881 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
5882 DEFAULT_wxUSE_TOOLTIPS=yes
5883 DEFAULT_wxUSE_TREECTRL=yes
5884 DEFAULT_wxUSE_POPUPWIN=yes
5885 DEFAULT_wxUSE_TIPWINDOW=yes
5886elif test "$wxUSE_CONTROLS" = "no"; then
5887 DEFAULT_wxUSE_ACCEL=no
5888 DEFAULT_wxUSE_BMPBUTTON=no
5889 DEFAULT_wxUSE_BUTTON=no
5890 DEFAULT_wxUSE_CALCTRL=no
5891 DEFAULT_wxUSE_CARET=no
5892 DEFAULT_wxUSE_COMBOBOX=no
5893 DEFAULT_wxUSE_CHECKBOX=no
5894 DEFAULT_wxUSE_CHECKLISTBOX=no
5895 DEFAULT_wxUSE_CHOICE=no
5896 DEFAULT_wxUSE_GAUGE=no
5897 DEFAULT_wxUSE_GRID=no
5898 DEFAULT_wxUSE_NEW_GRID=no
5899 DEFAULT_wxUSE_IMAGLIST=no
5900 DEFAULT_wxUSE_LISTBOX=no
5901 DEFAULT_wxUSE_LISTCTRL=no
5902 DEFAULT_wxUSE_NOTEBOOK=no
5903 DEFAULT_wxUSE_PROPSHEET=no
5904 DEFAULT_wxUSE_RADIOBOX=no
5905 DEFAULT_wxUSE_RADIOBTN=no
5906 DEFAULT_wxUSE_SASH=no
5907 DEFAULT_wxUSE_SCROLLBAR=no
5908 DEFAULT_wxUSE_SLIDER=no
5909 DEFAULT_wxUSE_SPINBTN=no
5910 DEFAULT_wxUSE_SPINCTRL=no
5911 DEFAULT_wxUSE_SPLITTER=no
5912 DEFAULT_wxUSE_STATBMP=no
5913 DEFAULT_wxUSE_STATBOX=no
5914 DEFAULT_wxUSE_STATLINE=no
5915 DEFAULT_wxUSE_STATUSBAR=no
5916 DEFAULT_wxUSE_TAB_DIALOG=no
5917 DEFAULT_wxUSE_TOGGLEBTN=no
5918 DEFAULT_wxUSE_TOOLBAR=no
5919 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
5920 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
5921 DEFAULT_wxUSE_TOOLTIPS=no
5922 DEFAULT_wxUSE_TREECTRL=no
5923 DEFAULT_wxUSE_POPUPWIN=no
5924 DEFAULT_wxUSE_TIPWINDOW=no
5925fi
5926
5927
5928 enablestring=
5929 echo $ac_n "checking for --${enablestring:-enable}-accel""... $ac_c" 1>&6
5930echo "configure:5931: checking for --${enablestring:-enable}-accel" >&5
5931 no_cache=0
5932 # Check whether --enable-accel or --disable-accel was given.
5933if test "${enable_accel+set}" = set; then
5934 enableval="$enable_accel"
5935
5936 if test "$enableval" = yes; then
5937 ac_cv_use_accel='wxUSE_ACCEL=yes'
5938 else
5939 ac_cv_use_accel='wxUSE_ACCEL=no'
5940 fi
5941
5942else
5943
5944 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5945 if test "x$LINE" != x ; then
5946 eval "DEFAULT_$LINE"
5947 else
5948 no_cache=1
5949 fi
5950
5951 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5952
5953fi
5954
5955
5956 eval "$ac_cv_use_accel"
5957 if test "$no_cache" != 1; then
5958 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5959 fi
5960
5961 if test "$wxUSE_ACCEL" = yes; then
5962 echo "$ac_t""yes" 1>&6
5963 else
5964 echo "$ac_t""no" 1>&6
5965 fi
5966
5967
5968 enablestring=
5969 echo $ac_n "checking for --${enablestring:-enable}-button""... $ac_c" 1>&6
5970echo "configure:5971: checking for --${enablestring:-enable}-button" >&5
5971 no_cache=0
5972 # Check whether --enable-button or --disable-button was given.
5973if test "${enable_button+set}" = set; then
5974 enableval="$enable_button"
5975
5976 if test "$enableval" = yes; then
5977 ac_cv_use_button='wxUSE_BUTTON=yes'
5978 else
5979 ac_cv_use_button='wxUSE_BUTTON=no'
5980 fi
5981
5982else
5983
5984 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5985 if test "x$LINE" != x ; then
5986 eval "DEFAULT_$LINE"
5987 else
5988 no_cache=1
5989 fi
5990
5991 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5992
5993fi
5994
5995
5996 eval "$ac_cv_use_button"
5997 if test "$no_cache" != 1; then
5998 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5999 fi
6000
6001 if test "$wxUSE_BUTTON" = yes; then
6002 echo "$ac_t""yes" 1>&6
6003 else
6004 echo "$ac_t""no" 1>&6
6005 fi
6006
6007
6008 enablestring=
6009 echo $ac_n "checking for --${enablestring:-enable}-bmpbutton""... $ac_c" 1>&6
6010echo "configure:6011: checking for --${enablestring:-enable}-bmpbutton" >&5
6011 no_cache=0
6012 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6013if test "${enable_bmpbutton+set}" = set; then
6014 enableval="$enable_bmpbutton"
6015
6016 if test "$enableval" = yes; then
6017 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6018 else
6019 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6020 fi
6021
6022else
6023
6024 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6025 if test "x$LINE" != x ; then
6026 eval "DEFAULT_$LINE"
6027 else
6028 no_cache=1
6029 fi
6030
6031 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6032
6033fi
6034
6035
6036 eval "$ac_cv_use_bmpbutton"
6037 if test "$no_cache" != 1; then
6038 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6039 fi
6040
6041 if test "$wxUSE_BMPBUTTON" = yes; then
6042 echo "$ac_t""yes" 1>&6
6043 else
6044 echo "$ac_t""no" 1>&6
6045 fi
6046
6047
6048 enablestring=
6049 echo $ac_n "checking for --${enablestring:-enable}-calendar""... $ac_c" 1>&6
6050echo "configure:6051: checking for --${enablestring:-enable}-calendar" >&5
6051 no_cache=0
6052 # Check whether --enable-calendar or --disable-calendar was given.
6053if test "${enable_calendar+set}" = set; then
6054 enableval="$enable_calendar"
6055
6056 if test "$enableval" = yes; then
6057 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6058 else
6059 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6060 fi
6061
6062else
6063
6064 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6065 if test "x$LINE" != x ; then
6066 eval "DEFAULT_$LINE"
6067 else
6068 no_cache=1
6069 fi
6070
6071 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6072
6073fi
6074
6075
6076 eval "$ac_cv_use_calendar"
6077 if test "$no_cache" != 1; then
6078 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6079 fi
6080
6081 if test "$wxUSE_CALCTRL" = yes; then
6082 echo "$ac_t""yes" 1>&6
6083 else
6084 echo "$ac_t""no" 1>&6
6085 fi
6086
6087
6088 enablestring=
6089 echo $ac_n "checking for --${enablestring:-enable}-caret""... $ac_c" 1>&6
6090echo "configure:6091: checking for --${enablestring:-enable}-caret" >&5
6091 no_cache=0
6092 # Check whether --enable-caret or --disable-caret was given.
6093if test "${enable_caret+set}" = set; then
6094 enableval="$enable_caret"
6095
6096 if test "$enableval" = yes; then
6097 ac_cv_use_caret='wxUSE_CARET=yes'
6098 else
6099 ac_cv_use_caret='wxUSE_CARET=no'
6100 fi
6101
6102else
6103
6104 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6105 if test "x$LINE" != x ; then
6106 eval "DEFAULT_$LINE"
6107 else
6108 no_cache=1
6109 fi
6110
6111 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6112
6113fi
6114
6115
6116 eval "$ac_cv_use_caret"
6117 if test "$no_cache" != 1; then
6118 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6119 fi
6120
6121 if test "$wxUSE_CARET" = yes; then
6122 echo "$ac_t""yes" 1>&6
6123 else
6124 echo "$ac_t""no" 1>&6
6125 fi
6126
6127
6128 enablestring=
6129 echo $ac_n "checking for --${enablestring:-enable}-checkbox""... $ac_c" 1>&6
6130echo "configure:6131: checking for --${enablestring:-enable}-checkbox" >&5
6131 no_cache=0
6132 # Check whether --enable-checkbox or --disable-checkbox was given.
6133if test "${enable_checkbox+set}" = set; then
6134 enableval="$enable_checkbox"
6135
6136 if test "$enableval" = yes; then
6137 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6138 else
6139 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6140 fi
6141
6142else
6143
6144 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6145 if test "x$LINE" != x ; then
6146 eval "DEFAULT_$LINE"
6147 else
6148 no_cache=1
6149 fi
6150
6151 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6152
6153fi
6154
6155
6156 eval "$ac_cv_use_checkbox"
6157 if test "$no_cache" != 1; then
6158 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6159 fi
6160
6161 if test "$wxUSE_CHECKBOX" = yes; then
6162 echo "$ac_t""yes" 1>&6
6163 else
6164 echo "$ac_t""no" 1>&6
6165 fi
6166
6167
6168 enablestring=
6169 echo $ac_n "checking for --${enablestring:-enable}-checklst""... $ac_c" 1>&6
6170echo "configure:6171: checking for --${enablestring:-enable}-checklst" >&5
6171 no_cache=0
6172 # Check whether --enable-checklst or --disable-checklst was given.
6173if test "${enable_checklst+set}" = set; then
6174 enableval="$enable_checklst"
6175
6176 if test "$enableval" = yes; then
6177 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6178 else
6179 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6180 fi
6181
6182else
6183
6184 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6185 if test "x$LINE" != x ; then
6186 eval "DEFAULT_$LINE"
6187 else
6188 no_cache=1
6189 fi
6190
6191 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6192
6193fi
6194
6195
6196 eval "$ac_cv_use_checklst"
6197 if test "$no_cache" != 1; then
6198 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6199 fi
6200
6201 if test "$wxUSE_CHECKLST" = yes; then
6202 echo "$ac_t""yes" 1>&6
6203 else
6204 echo "$ac_t""no" 1>&6
6205 fi
6206
6207
6208 enablestring=
6209 echo $ac_n "checking for --${enablestring:-enable}-choice""... $ac_c" 1>&6
6210echo "configure:6211: checking for --${enablestring:-enable}-choice" >&5
6211 no_cache=0
6212 # Check whether --enable-choice or --disable-choice was given.
6213if test "${enable_choice+set}" = set; then
6214 enableval="$enable_choice"
6215
6216 if test "$enableval" = yes; then
6217 ac_cv_use_choice='wxUSE_CHOICE=yes'
6218 else
6219 ac_cv_use_choice='wxUSE_CHOICE=no'
6220 fi
6221
6222else
6223
6224 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6225 if test "x$LINE" != x ; then
6226 eval "DEFAULT_$LINE"
6227 else
6228 no_cache=1
6229 fi
6230
6231 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6232
6233fi
6234
6235
6236 eval "$ac_cv_use_choice"
6237 if test "$no_cache" != 1; then
6238 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6239 fi
6240
6241 if test "$wxUSE_CHOICE" = yes; then
6242 echo "$ac_t""yes" 1>&6
6243 else
6244 echo "$ac_t""no" 1>&6
6245 fi
6246
6247
6248 enablestring=
6249 echo $ac_n "checking for --${enablestring:-enable}-combobox""... $ac_c" 1>&6
6250echo "configure:6251: checking for --${enablestring:-enable}-combobox" >&5
6251 no_cache=0
6252 # Check whether --enable-combobox or --disable-combobox was given.
6253if test "${enable_combobox+set}" = set; then
6254 enableval="$enable_combobox"
6255
6256 if test "$enableval" = yes; then
6257 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6258 else
6259 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6260 fi
6261
6262else
6263
6264 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6265 if test "x$LINE" != x ; then
6266 eval "DEFAULT_$LINE"
6267 else
6268 no_cache=1
6269 fi
6270
6271 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6272
6273fi
6274
6275
6276 eval "$ac_cv_use_combobox"
6277 if test "$no_cache" != 1; then
6278 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6279 fi
6280
6281 if test "$wxUSE_COMBOBOX" = yes; then
6282 echo "$ac_t""yes" 1>&6
6283 else
6284 echo "$ac_t""no" 1>&6
6285 fi
6286
6287
6288 enablestring=
6289 echo $ac_n "checking for --${enablestring:-enable}-gauge""... $ac_c" 1>&6
6290echo "configure:6291: checking for --${enablestring:-enable}-gauge" >&5
6291 no_cache=0
6292 # Check whether --enable-gauge or --disable-gauge was given.
6293if test "${enable_gauge+set}" = set; then
6294 enableval="$enable_gauge"
6295
6296 if test "$enableval" = yes; then
6297 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6298 else
6299 ac_cv_use_gauge='wxUSE_GAUGE=no'
6300 fi
6301
6302else
6303
6304 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6305 if test "x$LINE" != x ; then
6306 eval "DEFAULT_$LINE"
6307 else
6308 no_cache=1
6309 fi
6310
6311 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6312
6313fi
6314
6315
6316 eval "$ac_cv_use_gauge"
6317 if test "$no_cache" != 1; then
6318 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6319 fi
6320
6321 if test "$wxUSE_GAUGE" = yes; then
6322 echo "$ac_t""yes" 1>&6
6323 else
6324 echo "$ac_t""no" 1>&6
6325 fi
6326
6327
6328 enablestring=
6329 echo $ac_n "checking for --${enablestring:-enable}-grid""... $ac_c" 1>&6
6330echo "configure:6331: checking for --${enablestring:-enable}-grid" >&5
6331 no_cache=0
6332 # Check whether --enable-grid or --disable-grid was given.
6333if test "${enable_grid+set}" = set; then
6334 enableval="$enable_grid"
6335
6336 if test "$enableval" = yes; then
6337 ac_cv_use_grid='wxUSE_GRID=yes'
6338 else
6339 ac_cv_use_grid='wxUSE_GRID=no'
6340 fi
6341
6342else
6343
6344 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6345 if test "x$LINE" != x ; then
6346 eval "DEFAULT_$LINE"
6347 else
6348 no_cache=1
6349 fi
6350
6351 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6352
6353fi
6354
6355
6356 eval "$ac_cv_use_grid"
6357 if test "$no_cache" != 1; then
6358 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6359 fi
6360
6361 if test "$wxUSE_GRID" = yes; then
6362 echo "$ac_t""yes" 1>&6
6363 else
6364 echo "$ac_t""no" 1>&6
6365 fi
6366
6367
6368 enablestring=
6369 echo $ac_n "checking for --${enablestring:-enable}-newgrid""... $ac_c" 1>&6
6370echo "configure:6371: checking for --${enablestring:-enable}-newgrid" >&5
6371 no_cache=0
6372 # Check whether --enable-newgrid or --disable-newgrid was given.
6373if test "${enable_newgrid+set}" = set; then
6374 enableval="$enable_newgrid"
6375
6376 if test "$enableval" = yes; then
6377 ac_cv_use_newgrid='wxUSE_NEW_GRID=yes'
6378 else
6379 ac_cv_use_newgrid='wxUSE_NEW_GRID=no'
6380 fi
6381
6382else
6383
6384 LINE=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6385 if test "x$LINE" != x ; then
6386 eval "DEFAULT_$LINE"
6387 else
6388 no_cache=1
6389 fi
6390
6391 ac_cv_use_newgrid='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6392
6393fi
6394
6395
6396 eval "$ac_cv_use_newgrid"
6397 if test "$no_cache" != 1; then
6398 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6399 fi
6400
6401 if test "$wxUSE_NEW_GRID" = yes; then
6402 echo "$ac_t""yes" 1>&6
6403 else
6404 echo "$ac_t""no" 1>&6
6405 fi
6406
6407
6408 enablestring=
6409 echo $ac_n "checking for --${enablestring:-enable}-imaglist""... $ac_c" 1>&6
6410echo "configure:6411: checking for --${enablestring:-enable}-imaglist" >&5
6411 no_cache=0
6412 # Check whether --enable-imaglist or --disable-imaglist was given.
6413if test "${enable_imaglist+set}" = set; then
6414 enableval="$enable_imaglist"
6415
6416 if test "$enableval" = yes; then
6417 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
6418 else
6419 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
6420 fi
6421
6422else
6423
6424 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6425 if test "x$LINE" != x ; then
6426 eval "DEFAULT_$LINE"
6427 else
6428 no_cache=1
6429 fi
6430
6431 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6432
6433fi
6434
6435
6436 eval "$ac_cv_use_imaglist"
6437 if test "$no_cache" != 1; then
6438 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6439 fi
6440
6441 if test "$wxUSE_IMAGLIST" = yes; then
6442 echo "$ac_t""yes" 1>&6
6443 else
6444 echo "$ac_t""no" 1>&6
6445 fi
6446
6447
6448 enablestring=
6449 echo $ac_n "checking for --${enablestring:-enable}-listbox""... $ac_c" 1>&6
6450echo "configure:6451: checking for --${enablestring:-enable}-listbox" >&5
6451 no_cache=0
6452 # Check whether --enable-listbox or --disable-listbox was given.
6453if test "${enable_listbox+set}" = set; then
6454 enableval="$enable_listbox"
6455
6456 if test "$enableval" = yes; then
6457 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
6458 else
6459 ac_cv_use_listbox='wxUSE_LISTBOX=no'
6460 fi
6461
6462else
6463
6464 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6465 if test "x$LINE" != x ; then
6466 eval "DEFAULT_$LINE"
6467 else
6468 no_cache=1
6469 fi
6470
6471 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6472
6473fi
6474
6475
6476 eval "$ac_cv_use_listbox"
6477 if test "$no_cache" != 1; then
6478 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6479 fi
6480
6481 if test "$wxUSE_LISTBOX" = yes; then
6482 echo "$ac_t""yes" 1>&6
6483 else
6484 echo "$ac_t""no" 1>&6
6485 fi
6486
6487
6488 enablestring=
6489 echo $ac_n "checking for --${enablestring:-enable}-listctrl""... $ac_c" 1>&6
6490echo "configure:6491: checking for --${enablestring:-enable}-listctrl" >&5
6491 no_cache=0
6492 # Check whether --enable-listctrl or --disable-listctrl was given.
6493if test "${enable_listctrl+set}" = set; then
6494 enableval="$enable_listctrl"
6495
6496 if test "$enableval" = yes; then
6497 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
6498 else
6499 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
6500 fi
6501
6502else
6503
6504 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6505 if test "x$LINE" != x ; then
6506 eval "DEFAULT_$LINE"
6507 else
6508 no_cache=1
6509 fi
6510
6511 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6512
6513fi
6514
6515
6516 eval "$ac_cv_use_listctrl"
6517 if test "$no_cache" != 1; then
6518 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6519 fi
6520
6521 if test "$wxUSE_LISTCTRL" = yes; then
6522 echo "$ac_t""yes" 1>&6
6523 else
6524 echo "$ac_t""no" 1>&6
6525 fi
6526
6527
6528 enablestring=
6529 echo $ac_n "checking for --${enablestring:-enable}-notebook""... $ac_c" 1>&6
6530echo "configure:6531: checking for --${enablestring:-enable}-notebook" >&5
6531 no_cache=0
6532 # Check whether --enable-notebook or --disable-notebook was given.
6533if test "${enable_notebook+set}" = set; then
6534 enableval="$enable_notebook"
6535
6536 if test "$enableval" = yes; then
6537 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
6538 else
6539 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
6540 fi
6541
6542else
6543
6544 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6545 if test "x$LINE" != x ; then
6546 eval "DEFAULT_$LINE"
6547 else
6548 no_cache=1
6549 fi
6550
6551 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6552
6553fi
6554
6555
6556 eval "$ac_cv_use_notebook"
6557 if test "$no_cache" != 1; then
6558 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6559 fi
6560
6561 if test "$wxUSE_NOTEBOOK" = yes; then
6562 echo "$ac_t""yes" 1>&6
6563 else
6564 echo "$ac_t""no" 1>&6
6565 fi
6566
6567
6568 enablestring=
6569 echo $ac_n "checking for --${enablestring:-enable}-propsheet""... $ac_c" 1>&6
6570echo "configure:6571: checking for --${enablestring:-enable}-propsheet" >&5
6571 no_cache=0
6572 # Check whether --enable-propsheet or --disable-propsheet was given.
6573if test "${enable_propsheet+set}" = set; then
6574 enableval="$enable_propsheet"
6575
6576 if test "$enableval" = yes; then
6577 ac_cv_use_propsheet='wxUSE_PROPSHEET=yes'
6578 else
6579 ac_cv_use_propsheet='wxUSE_PROPSHEET=no'
6580 fi
6581
6582else
6583
6584 LINE=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6585 if test "x$LINE" != x ; then
6586 eval "DEFAULT_$LINE"
6587 else
6588 no_cache=1
6589 fi
6590
6591 ac_cv_use_propsheet='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6592
6593fi
6594
6595
6596 eval "$ac_cv_use_propsheet"
6597 if test "$no_cache" != 1; then
6598 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6599 fi
6600
6601 if test "$wxUSE_PROPSHEET" = yes; then
6602 echo "$ac_t""yes" 1>&6
6603 else
6604 echo "$ac_t""no" 1>&6
6605 fi
6606
6607
6608 enablestring=
6609 echo $ac_n "checking for --${enablestring:-enable}-radiobox""... $ac_c" 1>&6
6610echo "configure:6611: checking for --${enablestring:-enable}-radiobox" >&5
6611 no_cache=0
6612 # Check whether --enable-radiobox or --disable-radiobox was given.
6613if test "${enable_radiobox+set}" = set; then
6614 enableval="$enable_radiobox"
6615
6616 if test "$enableval" = yes; then
6617 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
6618 else
6619 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
6620 fi
6621
6622else
6623
6624 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6625 if test "x$LINE" != x ; then
6626 eval "DEFAULT_$LINE"
6627 else
6628 no_cache=1
6629 fi
6630
6631 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6632
6633fi
6634
6635
6636 eval "$ac_cv_use_radiobox"
6637 if test "$no_cache" != 1; then
6638 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6639 fi
6640
6641 if test "$wxUSE_RADIOBOX" = yes; then
6642 echo "$ac_t""yes" 1>&6
6643 else
6644 echo "$ac_t""no" 1>&6
6645 fi
6646
6647
6648 enablestring=
6649 echo $ac_n "checking for --${enablestring:-enable}-radiobtn""... $ac_c" 1>&6
6650echo "configure:6651: checking for --${enablestring:-enable}-radiobtn" >&5
6651 no_cache=0
6652 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6653if test "${enable_radiobtn+set}" = set; then
6654 enableval="$enable_radiobtn"
6655
6656 if test "$enableval" = yes; then
6657 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
6658 else
6659 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
6660 fi
6661
6662else
6663
6664 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6665 if test "x$LINE" != x ; then
6666 eval "DEFAULT_$LINE"
6667 else
6668 no_cache=1
6669 fi
6670
6671 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6672
6673fi
6674
6675
6676 eval "$ac_cv_use_radiobtn"
6677 if test "$no_cache" != 1; then
6678 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6679 fi
6680
6681 if test "$wxUSE_RADIOBTN" = yes; then
6682 echo "$ac_t""yes" 1>&6
6683 else
6684 echo "$ac_t""no" 1>&6
6685 fi
6686
6687
6688 enablestring=
6689 echo $ac_n "checking for --${enablestring:-enable}-sash""... $ac_c" 1>&6
6690echo "configure:6691: checking for --${enablestring:-enable}-sash" >&5
6691 no_cache=0
6692 # Check whether --enable-sash or --disable-sash was given.
6693if test "${enable_sash+set}" = set; then
6694 enableval="$enable_sash"
6695
6696 if test "$enableval" = yes; then
6697 ac_cv_use_sash='wxUSE_SASH=yes'
6698 else
6699 ac_cv_use_sash='wxUSE_SASH=no'
6700 fi
6701
6702else
6703
6704 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6705 if test "x$LINE" != x ; then
6706 eval "DEFAULT_$LINE"
6707 else
6708 no_cache=1
6709 fi
6710
6711 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6712
6713fi
6714
6715
6716 eval "$ac_cv_use_sash"
6717 if test "$no_cache" != 1; then
6718 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6719 fi
6720
6721 if test "$wxUSE_SASH" = yes; then
6722 echo "$ac_t""yes" 1>&6
6723 else
6724 echo "$ac_t""no" 1>&6
6725 fi
6726
6727
6728 enablestring=
6729 echo $ac_n "checking for --${enablestring:-enable}-scrollbar""... $ac_c" 1>&6
6730echo "configure:6731: checking for --${enablestring:-enable}-scrollbar" >&5
6731 no_cache=0
6732 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6733if test "${enable_scrollbar+set}" = set; then
6734 enableval="$enable_scrollbar"
6735
6736 if test "$enableval" = yes; then
6737 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
6738 else
6739 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
6740 fi
6741
6742else
6743
6744 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6745 if test "x$LINE" != x ; then
6746 eval "DEFAULT_$LINE"
6747 else
6748 no_cache=1
6749 fi
6750
6751 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6752
6753fi
6754
6755
6756 eval "$ac_cv_use_scrollbar"
6757 if test "$no_cache" != 1; then
6758 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6759 fi
6760
6761 if test "$wxUSE_SCROLLBAR" = yes; then
6762 echo "$ac_t""yes" 1>&6
6763 else
6764 echo "$ac_t""no" 1>&6
6765 fi
6766
6767
6768 enablestring=
6769 echo $ac_n "checking for --${enablestring:-enable}-slider""... $ac_c" 1>&6
6770echo "configure:6771: checking for --${enablestring:-enable}-slider" >&5
6771 no_cache=0
6772 # Check whether --enable-slider or --disable-slider was given.
6773if test "${enable_slider+set}" = set; then
6774 enableval="$enable_slider"
6775
6776 if test "$enableval" = yes; then
6777 ac_cv_use_slider='wxUSE_SLIDER=yes'
6778 else
6779 ac_cv_use_slider='wxUSE_SLIDER=no'
6780 fi
6781
6782else
6783
6784 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6785 if test "x$LINE" != x ; then
6786 eval "DEFAULT_$LINE"
6787 else
6788 no_cache=1
6789 fi
6790
6791 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6792
6793fi
6794
6795
6796 eval "$ac_cv_use_slider"
6797 if test "$no_cache" != 1; then
6798 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6799 fi
6800
6801 if test "$wxUSE_SLIDER" = yes; then
6802 echo "$ac_t""yes" 1>&6
6803 else
6804 echo "$ac_t""no" 1>&6
6805 fi
6806
6807
6808 enablestring=
6809 echo $ac_n "checking for --${enablestring:-enable}-spinbtn""... $ac_c" 1>&6
6810echo "configure:6811: checking for --${enablestring:-enable}-spinbtn" >&5
6811 no_cache=0
6812 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6813if test "${enable_spinbtn+set}" = set; then
6814 enableval="$enable_spinbtn"
6815
6816 if test "$enableval" = yes; then
6817 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
6818 else
6819 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
6820 fi
6821
6822else
6823
6824 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6825 if test "x$LINE" != x ; then
6826 eval "DEFAULT_$LINE"
6827 else
6828 no_cache=1
6829 fi
6830
6831 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6832
6833fi
6834
6835
6836 eval "$ac_cv_use_spinbtn"
6837 if test "$no_cache" != 1; then
6838 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6839 fi
6840
6841 if test "$wxUSE_SPINBTN" = yes; then
6842 echo "$ac_t""yes" 1>&6
6843 else
6844 echo "$ac_t""no" 1>&6
6845 fi
6846
6847
6848 enablestring=
6849 echo $ac_n "checking for --${enablestring:-enable}-spinctrl""... $ac_c" 1>&6
6850echo "configure:6851: checking for --${enablestring:-enable}-spinctrl" >&5
6851 no_cache=0
6852 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6853if test "${enable_spinctrl+set}" = set; then
6854 enableval="$enable_spinctrl"
6855
6856 if test "$enableval" = yes; then
6857 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
6858 else
6859 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
6860 fi
6861
6862else
6863
6864 LINE=`grep "wxUSE_SPINCTRL" ${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_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6872
6873fi
6874
6875
6876 eval "$ac_cv_use_spinctrl"
6877 if test "$no_cache" != 1; then
6878 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6879 fi
6880
6881 if test "$wxUSE_SPINCTRL" = yes; then
6882 echo "$ac_t""yes" 1>&6
6883 else
6884 echo "$ac_t""no" 1>&6
6885 fi
6886
6887
6888 enablestring=
6889 echo $ac_n "checking for --${enablestring:-enable}-splitter""... $ac_c" 1>&6
6890echo "configure:6891: checking for --${enablestring:-enable}-splitter" >&5
6891 no_cache=0
6892 # Check whether --enable-splitter or --disable-splitter was given.
6893if test "${enable_splitter+set}" = set; then
6894 enableval="$enable_splitter"
6895
6896 if test "$enableval" = yes; then
6897 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
6898 else
6899 ac_cv_use_splitter='wxUSE_SPLITTER=no'
6900 fi
6901
6902else
6903
6904 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6905 if test "x$LINE" != x ; then
6906 eval "DEFAULT_$LINE"
6907 else
6908 no_cache=1
6909 fi
6910
6911 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6912
6913fi
6914
6915
6916 eval "$ac_cv_use_splitter"
6917 if test "$no_cache" != 1; then
6918 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6919 fi
6920
6921 if test "$wxUSE_SPLITTER" = yes; then
6922 echo "$ac_t""yes" 1>&6
6923 else
6924 echo "$ac_t""no" 1>&6
6925 fi
6926
6927
6928 enablestring=
6929 echo $ac_n "checking for --${enablestring:-enable}-statbmp""... $ac_c" 1>&6
6930echo "configure:6931: checking for --${enablestring:-enable}-statbmp" >&5
6931 no_cache=0
6932 # Check whether --enable-statbmp or --disable-statbmp was given.
6933if test "${enable_statbmp+set}" = set; then
6934 enableval="$enable_statbmp"
6935
6936 if test "$enableval" = yes; then
6937 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
6938 else
6939 ac_cv_use_statbmp='wxUSE_STATBMP=no'
6940 fi
6941
6942else
6943
6944 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6945 if test "x$LINE" != x ; then
6946 eval "DEFAULT_$LINE"
6947 else
6948 no_cache=1
6949 fi
6950
6951 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6952
6953fi
6954
6955
6956 eval "$ac_cv_use_statbmp"
6957 if test "$no_cache" != 1; then
6958 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6959 fi
6960
6961 if test "$wxUSE_STATBMP" = yes; then
6962 echo "$ac_t""yes" 1>&6
6963 else
6964 echo "$ac_t""no" 1>&6
6965 fi
6966
6967
6968 enablestring=
6969 echo $ac_n "checking for --${enablestring:-enable}-statbox""... $ac_c" 1>&6
6970echo "configure:6971: checking for --${enablestring:-enable}-statbox" >&5
6971 no_cache=0
6972 # Check whether --enable-statbox or --disable-statbox was given.
6973if test "${enable_statbox+set}" = set; then
6974 enableval="$enable_statbox"
6975
6976 if test "$enableval" = yes; then
6977 ac_cv_use_statbox='wxUSE_STATBOX=yes'
6978 else
6979 ac_cv_use_statbox='wxUSE_STATBOX=no'
6980 fi
6981
6982else
6983
6984 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6985 if test "x$LINE" != x ; then
6986 eval "DEFAULT_$LINE"
6987 else
6988 no_cache=1
6989 fi
6990
6991 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6992
6993fi
6994
6995
6996 eval "$ac_cv_use_statbox"
6997 if test "$no_cache" != 1; then
6998 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6999 fi
7000
7001 if test "$wxUSE_STATBOX" = yes; then
7002 echo "$ac_t""yes" 1>&6
7003 else
7004 echo "$ac_t""no" 1>&6
7005 fi
7006
7007
7008 enablestring=
7009 echo $ac_n "checking for --${enablestring:-enable}-statline""... $ac_c" 1>&6
7010echo "configure:7011: checking for --${enablestring:-enable}-statline" >&5
7011 no_cache=0
7012 # Check whether --enable-statline or --disable-statline was given.
7013if test "${enable_statline+set}" = set; then
7014 enableval="$enable_statline"
7015
7016 if test "$enableval" = yes; then
7017 ac_cv_use_statline='wxUSE_STATLINE=yes'
7018 else
7019 ac_cv_use_statline='wxUSE_STATLINE=no'
7020 fi
7021
7022else
7023
7024 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7025 if test "x$LINE" != x ; then
7026 eval "DEFAULT_$LINE"
7027 else
7028 no_cache=1
7029 fi
7030
7031 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7032
7033fi
7034
7035
7036 eval "$ac_cv_use_statline"
7037 if test "$no_cache" != 1; then
7038 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7039 fi
7040
7041 if test "$wxUSE_STATLINE" = yes; then
7042 echo "$ac_t""yes" 1>&6
7043 else
7044 echo "$ac_t""no" 1>&6
7045 fi
7046
7047
7048 enablestring=
7049 echo $ac_n "checking for --${enablestring:-enable}-stattext""... $ac_c" 1>&6
7050echo "configure:7051: checking for --${enablestring:-enable}-stattext" >&5
7051 no_cache=0
7052 # Check whether --enable-stattext or --disable-stattext was given.
7053if test "${enable_stattext+set}" = set; then
7054 enableval="$enable_stattext"
7055
7056 if test "$enableval" = yes; then
7057 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7058 else
7059 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7060 fi
7061
7062else
7063
7064 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7065 if test "x$LINE" != x ; then
7066 eval "DEFAULT_$LINE"
7067 else
7068 no_cache=1
7069 fi
7070
7071 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7072
7073fi
7074
7075
7076 eval "$ac_cv_use_stattext"
7077 if test "$no_cache" != 1; then
7078 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7079 fi
7080
7081 if test "$wxUSE_STATTEXT" = yes; then
7082 echo "$ac_t""yes" 1>&6
7083 else
7084 echo "$ac_t""no" 1>&6
7085 fi
7086
7087
7088 enablestring=
7089 echo $ac_n "checking for --${enablestring:-enable}-statusbar""... $ac_c" 1>&6
7090echo "configure:7091: checking for --${enablestring:-enable}-statusbar" >&5
7091 no_cache=0
7092 # Check whether --enable-statusbar or --disable-statusbar was given.
7093if test "${enable_statusbar+set}" = set; then
7094 enableval="$enable_statusbar"
7095
7096 if test "$enableval" = yes; then
7097 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7098 else
7099 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7100 fi
7101
7102else
7103
7104 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7105 if test "x$LINE" != x ; then
7106 eval "DEFAULT_$LINE"
7107 else
7108 no_cache=1
7109 fi
7110
7111 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7112
7113fi
7114
7115
7116 eval "$ac_cv_use_statusbar"
7117 if test "$no_cache" != 1; then
7118 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7119 fi
7120
7121 if test "$wxUSE_STATUSBAR" = yes; then
7122 echo "$ac_t""yes" 1>&6
7123 else
7124 echo "$ac_t""no" 1>&6
7125 fi
7126
7127
7128 enablestring=
7129 echo $ac_n "checking for --${enablestring:-enable}-tabdialog""... $ac_c" 1>&6
7130echo "configure:7131: checking for --${enablestring:-enable}-tabdialog" >&5
7131 no_cache=0
7132 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7133if test "${enable_tabdialog+set}" = set; then
7134 enableval="$enable_tabdialog"
7135
7136 if test "$enableval" = yes; then
7137 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7138 else
7139 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7140 fi
7141
7142else
7143
7144 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7145 if test "x$LINE" != x ; then
7146 eval "DEFAULT_$LINE"
7147 else
7148 no_cache=1
7149 fi
7150
7151 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7152
7153fi
7154
7155
7156 eval "$ac_cv_use_tabdialog"
7157 if test "$no_cache" != 1; then
7158 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7159 fi
7160
7161 if test "$wxUSE_TABDIALOG" = yes; then
7162 echo "$ac_t""yes" 1>&6
7163 else
7164 echo "$ac_t""no" 1>&6
7165 fi
7166
7167
7168 enablestring=
7169 echo $ac_n "checking for --${enablestring:-enable}-textctrl""... $ac_c" 1>&6
7170echo "configure:7171: checking for --${enablestring:-enable}-textctrl" >&5
7171 no_cache=0
7172 # Check whether --enable-textctrl or --disable-textctrl was given.
7173if test "${enable_textctrl+set}" = set; then
7174 enableval="$enable_textctrl"
7175
7176 if test "$enableval" = yes; then
7177 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7178 else
7179 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7180 fi
7181
7182else
7183
7184 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7185 if test "x$LINE" != x ; then
7186 eval "DEFAULT_$LINE"
7187 else
7188 no_cache=1
7189 fi
7190
7191 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7192
7193fi
7194
7195
7196 eval "$ac_cv_use_textctrl"
7197 if test "$no_cache" != 1; then
7198 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7199 fi
7200
7201 if test "$wxUSE_TEXTCTRL" = yes; then
7202 echo "$ac_t""yes" 1>&6
7203 else
7204 echo "$ac_t""no" 1>&6
7205 fi
7206
7207
7208 enablestring=
7209 echo $ac_n "checking for --${enablestring:-enable}-togglebtn""... $ac_c" 1>&6
7210echo "configure:7211: checking for --${enablestring:-enable}-togglebtn" >&5
7211 no_cache=0
7212 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7213if test "${enable_togglebtn+set}" = set; then
7214 enableval="$enable_togglebtn"
7215
7216 if test "$enableval" = yes; then
7217 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7218 else
7219 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7220 fi
7221
7222else
7223
7224 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7225 if test "x$LINE" != x ; then
7226 eval "DEFAULT_$LINE"
7227 else
7228 no_cache=1
7229 fi
7230
7231 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7232
7233fi
7234
7235
7236 eval "$ac_cv_use_togglebtn"
7237 if test "$no_cache" != 1; then
7238 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7239 fi
7240
7241 if test "$wxUSE_TOGGLEBTN" = yes; then
7242 echo "$ac_t""yes" 1>&6
7243 else
7244 echo "$ac_t""no" 1>&6
7245 fi
7246
7247
7248 enablestring=
7249 echo $ac_n "checking for --${enablestring:-enable}-toolbar""... $ac_c" 1>&6
7250echo "configure:7251: checking for --${enablestring:-enable}-toolbar" >&5
7251 no_cache=0
7252 # Check whether --enable-toolbar or --disable-toolbar was given.
7253if test "${enable_toolbar+set}" = set; then
7254 enableval="$enable_toolbar"
7255
7256 if test "$enableval" = yes; then
7257 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7258 else
7259 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7260 fi
7261
7262else
7263
7264 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7265 if test "x$LINE" != x ; then
7266 eval "DEFAULT_$LINE"
7267 else
7268 no_cache=1
7269 fi
7270
7271 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7272
7273fi
7274
7275
7276 eval "$ac_cv_use_toolbar"
7277 if test "$no_cache" != 1; then
7278 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7279 fi
7280
7281 if test "$wxUSE_TOOLBAR" = yes; then
7282 echo "$ac_t""yes" 1>&6
7283 else
7284 echo "$ac_t""no" 1>&6
7285 fi
7286
7287
7288 enablestring=
7289 echo $ac_n "checking for --${enablestring:-enable}-tbarnative""... $ac_c" 1>&6
7290echo "configure:7291: checking for --${enablestring:-enable}-tbarnative" >&5
7291 no_cache=0
7292 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7293if test "${enable_tbarnative+set}" = set; then
7294 enableval="$enable_tbarnative"
7295
7296 if test "$enableval" = yes; then
7297 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7298 else
7299 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7300 fi
7301
7302else
7303
7304 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7305 if test "x$LINE" != x ; then
7306 eval "DEFAULT_$LINE"
7307 else
7308 no_cache=1
7309 fi
7310
7311 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7312
7313fi
7314
7315
7316 eval "$ac_cv_use_tbarnative"
7317 if test "$no_cache" != 1; then
7318 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7319 fi
7320
7321 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7322 echo "$ac_t""yes" 1>&6
7323 else
7324 echo "$ac_t""no" 1>&6
7325 fi
7326
7327
7328 enablestring=
7329 echo $ac_n "checking for --${enablestring:-enable}-tbarsmpl""... $ac_c" 1>&6
7330echo "configure:7331: checking for --${enablestring:-enable}-tbarsmpl" >&5
7331 no_cache=0
7332 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7333if test "${enable_tbarsmpl+set}" = set; then
7334 enableval="$enable_tbarsmpl"
7335
7336 if test "$enableval" = yes; then
7337 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7338 else
7339 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7340 fi
7341
7342else
7343
7344 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7345 if test "x$LINE" != x ; then
7346 eval "DEFAULT_$LINE"
7347 else
7348 no_cache=1
7349 fi
7350
7351 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7352
7353fi
7354
7355
7356 eval "$ac_cv_use_tbarsmpl"
7357 if test "$no_cache" != 1; then
7358 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7359 fi
7360
7361 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7362 echo "$ac_t""yes" 1>&6
7363 else
7364 echo "$ac_t""no" 1>&6
7365 fi
7366
7367
7368 enablestring=
7369 echo $ac_n "checking for --${enablestring:-enable}-treectrl""... $ac_c" 1>&6
7370echo "configure:7371: checking for --${enablestring:-enable}-treectrl" >&5
7371 no_cache=0
7372 # Check whether --enable-treectrl or --disable-treectrl was given.
7373if test "${enable_treectrl+set}" = set; then
7374 enableval="$enable_treectrl"
7375
7376 if test "$enableval" = yes; then
7377 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
7378 else
7379 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
7380 fi
7381
7382else
7383
7384 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7385 if test "x$LINE" != x ; then
7386 eval "DEFAULT_$LINE"
7387 else
7388 no_cache=1
7389 fi
7390
7391 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7392
7393fi
7394
7395
7396 eval "$ac_cv_use_treectrl"
7397 if test "$no_cache" != 1; then
7398 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7399 fi
7400
7401 if test "$wxUSE_TREECTRL" = yes; then
7402 echo "$ac_t""yes" 1>&6
7403 else
7404 echo "$ac_t""no" 1>&6
7405 fi
7406
7407
7408 enablestring=
7409 echo $ac_n "checking for --${enablestring:-enable}-tipwindow""... $ac_c" 1>&6
7410echo "configure:7411: checking for --${enablestring:-enable}-tipwindow" >&5
7411 no_cache=0
7412 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7413if test "${enable_tipwindow+set}" = set; then
7414 enableval="$enable_tipwindow"
7415
7416 if test "$enableval" = yes; then
7417 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
7418 else
7419 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
7420 fi
7421
7422else
7423
7424 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7425 if test "x$LINE" != x ; then
7426 eval "DEFAULT_$LINE"
7427 else
7428 no_cache=1
7429 fi
7430
7431 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7432
7433fi
7434
7435
7436 eval "$ac_cv_use_tipwindow"
7437 if test "$no_cache" != 1; then
7438 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7439 fi
7440
7441 if test "$wxUSE_TIPWINDOW" = yes; then
7442 echo "$ac_t""yes" 1>&6
7443 else
7444 echo "$ac_t""no" 1>&6
7445 fi
7446
7447
7448 enablestring=
7449 echo $ac_n "checking for --${enablestring:-enable}-popupwin""... $ac_c" 1>&6
7450echo "configure:7451: checking for --${enablestring:-enable}-popupwin" >&5
7451 no_cache=0
7452 # Check whether --enable-popupwin or --disable-popupwin was given.
7453if test "${enable_popupwin+set}" = set; then
7454 enableval="$enable_popupwin"
7455
7456 if test "$enableval" = yes; then
7457 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
7458 else
7459 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
7460 fi
7461
7462else
7463
7464 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7465 if test "x$LINE" != x ; then
7466 eval "DEFAULT_$LINE"
7467 else
7468 no_cache=1
7469 fi
7470
7471 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7472
7473fi
7474
7475
7476 eval "$ac_cv_use_popupwin"
7477 if test "$no_cache" != 1; then
7478 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7479 fi
7480
7481 if test "$wxUSE_POPUPWIN" = yes; then
7482 echo "$ac_t""yes" 1>&6
7483 else
7484 echo "$ac_t""no" 1>&6
7485 fi
7486
7487
7488
7489
7490 enablestring=
7491 echo $ac_n "checking for --${enablestring:-enable}-commondlg""... $ac_c" 1>&6
7492echo "configure:7493: checking for --${enablestring:-enable}-commondlg" >&5
7493 no_cache=0
7494 # Check whether --enable-commondlg or --disable-commondlg was given.
7495if test "${enable_commondlg+set}" = set; then
7496 enableval="$enable_commondlg"
7497
7498 if test "$enableval" = yes; then
7499 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
7500 else
7501 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
7502 fi
7503
7504else
7505
7506 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7507 if test "x$LINE" != x ; then
7508 eval "DEFAULT_$LINE"
7509 else
7510 no_cache=1
7511 fi
7512
7513 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7514
7515fi
7516
7517
7518 eval "$ac_cv_use_commondlg"
7519 if test "$no_cache" != 1; then
7520 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7521 fi
7522
7523 if test "$wxUSE_COMMONDLGS" = yes; then
7524 echo "$ac_t""yes" 1>&6
7525 else
7526 echo "$ac_t""no" 1>&6
7527 fi
7528
7529
7530 enablestring=
7531 echo $ac_n "checking for --${enablestring:-enable}-choicedlg""... $ac_c" 1>&6
7532echo "configure:7533: checking for --${enablestring:-enable}-choicedlg" >&5
7533 no_cache=0
7534 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7535if test "${enable_choicedlg+set}" = set; then
7536 enableval="$enable_choicedlg"
7537
7538 if test "$enableval" = yes; then
7539 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
7540 else
7541 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
7542 fi
7543
7544else
7545
7546 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7547 if test "x$LINE" != x ; then
7548 eval "DEFAULT_$LINE"
7549 else
7550 no_cache=1
7551 fi
7552
7553 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7554
7555fi
7556
7557
7558 eval "$ac_cv_use_choicedlg"
7559 if test "$no_cache" != 1; then
7560 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7561 fi
7562
7563 if test "$wxUSE_CHOICEDLG" = yes; then
7564 echo "$ac_t""yes" 1>&6
7565 else
7566 echo "$ac_t""no" 1>&6
7567 fi
7568
7569
7570 enablestring=
7571 echo $ac_n "checking for --${enablestring:-enable}-coldlg""... $ac_c" 1>&6
7572echo "configure:7573: checking for --${enablestring:-enable}-coldlg" >&5
7573 no_cache=0
7574 # Check whether --enable-coldlg or --disable-coldlg was given.
7575if test "${enable_coldlg+set}" = set; then
7576 enableval="$enable_coldlg"
7577
7578 if test "$enableval" = yes; then
7579 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
7580 else
7581 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
7582 fi
7583
7584else
7585
7586 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7587 if test "x$LINE" != x ; then
7588 eval "DEFAULT_$LINE"
7589 else
7590 no_cache=1
7591 fi
7592
7593 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7594
7595fi
7596
7597
7598 eval "$ac_cv_use_coldlg"
7599 if test "$no_cache" != 1; then
7600 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7601 fi
7602
7603 if test "$wxUSE_COLOURDLG" = yes; then
7604 echo "$ac_t""yes" 1>&6
7605 else
7606 echo "$ac_t""no" 1>&6
7607 fi
7608
7609
7610 enablestring=
7611 echo $ac_n "checking for --${enablestring:-enable}-filedlg""... $ac_c" 1>&6
7612echo "configure:7613: checking for --${enablestring:-enable}-filedlg" >&5
7613 no_cache=0
7614 # Check whether --enable-filedlg or --disable-filedlg was given.
7615if test "${enable_filedlg+set}" = set; then
7616 enableval="$enable_filedlg"
7617
7618 if test "$enableval" = yes; then
7619 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
7620 else
7621 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
7622 fi
7623
7624else
7625
7626 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7627 if test "x$LINE" != x ; then
7628 eval "DEFAULT_$LINE"
7629 else
7630 no_cache=1
7631 fi
7632
7633 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7634
7635fi
7636
7637
7638 eval "$ac_cv_use_filedlg"
7639 if test "$no_cache" != 1; then
7640 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7641 fi
7642
7643 if test "$wxUSE_FILEDLG" = yes; then
7644 echo "$ac_t""yes" 1>&6
7645 else
7646 echo "$ac_t""no" 1>&6
7647 fi
7648
7649
7650 enablestring=
7651 echo $ac_n "checking for --${enablestring:-enable}-finddlg""... $ac_c" 1>&6
7652echo "configure:7653: checking for --${enablestring:-enable}-finddlg" >&5
7653 no_cache=0
7654 # Check whether --enable-finddlg or --disable-finddlg was given.
7655if test "${enable_finddlg+set}" = set; then
7656 enableval="$enable_finddlg"
7657
7658 if test "$enableval" = yes; then
7659 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
7660 else
7661 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
7662 fi
7663
7664else
7665
7666 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7667 if test "x$LINE" != x ; then
7668 eval "DEFAULT_$LINE"
7669 else
7670 no_cache=1
7671 fi
7672
7673 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7674
7675fi
7676
7677
7678 eval "$ac_cv_use_finddlg"
7679 if test "$no_cache" != 1; then
7680 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7681 fi
7682
7683 if test "$wxUSE_FINDREPLDLG" = yes; then
7684 echo "$ac_t""yes" 1>&6
7685 else
7686 echo "$ac_t""no" 1>&6
7687 fi
7688
7689
7690 enablestring=
7691 echo $ac_n "checking for --${enablestring:-enable}-fontdlg""... $ac_c" 1>&6
7692echo "configure:7693: checking for --${enablestring:-enable}-fontdlg" >&5
7693 no_cache=0
7694 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7695if test "${enable_fontdlg+set}" = set; then
7696 enableval="$enable_fontdlg"
7697
7698 if test "$enableval" = yes; then
7699 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
7700 else
7701 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
7702 fi
7703
7704else
7705
7706 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7707 if test "x$LINE" != x ; then
7708 eval "DEFAULT_$LINE"
7709 else
7710 no_cache=1
7711 fi
7712
7713 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7714
7715fi
7716
7717
7718 eval "$ac_cv_use_fontdlg"
7719 if test "$no_cache" != 1; then
7720 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7721 fi
7722
7723 if test "$wxUSE_FONTDLG" = yes; then
7724 echo "$ac_t""yes" 1>&6
7725 else
7726 echo "$ac_t""no" 1>&6
7727 fi
7728
7729
7730 enablestring=
7731 echo $ac_n "checking for --${enablestring:-enable}-dirdlg""... $ac_c" 1>&6
7732echo "configure:7733: checking for --${enablestring:-enable}-dirdlg" >&5
7733 no_cache=0
7734 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7735if test "${enable_dirdlg+set}" = set; then
7736 enableval="$enable_dirdlg"
7737
7738 if test "$enableval" = yes; then
7739 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
7740 else
7741 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
7742 fi
7743
7744else
7745
7746 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7747 if test "x$LINE" != x ; then
7748 eval "DEFAULT_$LINE"
7749 else
7750 no_cache=1
7751 fi
7752
7753 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7754
7755fi
7756
7757
7758 eval "$ac_cv_use_dirdlg"
7759 if test "$no_cache" != 1; then
7760 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7761 fi
7762
7763 if test "$wxUSE_DIRDLG" = yes; then
7764 echo "$ac_t""yes" 1>&6
7765 else
7766 echo "$ac_t""no" 1>&6
7767 fi
7768
7769
7770 enablestring=
7771 echo $ac_n "checking for --${enablestring:-enable}-msgdlg""... $ac_c" 1>&6
7772echo "configure:7773: checking for --${enablestring:-enable}-msgdlg" >&5
7773 no_cache=0
7774 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7775if test "${enable_msgdlg+set}" = set; then
7776 enableval="$enable_msgdlg"
7777
7778 if test "$enableval" = yes; then
7779 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
7780 else
7781 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
7782 fi
7783
7784else
7785
7786 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7787 if test "x$LINE" != x ; then
7788 eval "DEFAULT_$LINE"
7789 else
7790 no_cache=1
7791 fi
7792
7793 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7794
7795fi
7796
7797
7798 eval "$ac_cv_use_msgdlg"
7799 if test "$no_cache" != 1; then
7800 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7801 fi
7802
7803 if test "$wxUSE_MSGDLG" = yes; then
7804 echo "$ac_t""yes" 1>&6
7805 else
7806 echo "$ac_t""no" 1>&6
7807 fi
7808
7809
7810 enablestring=
7811 echo $ac_n "checking for --${enablestring:-enable}-numberdlg""... $ac_c" 1>&6
7812echo "configure:7813: checking for --${enablestring:-enable}-numberdlg" >&5
7813 no_cache=0
7814 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7815if test "${enable_numberdlg+set}" = set; then
7816 enableval="$enable_numberdlg"
7817
7818 if test "$enableval" = yes; then
7819 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
7820 else
7821 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
7822 fi
7823
7824else
7825
7826 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7827 if test "x$LINE" != x ; then
7828 eval "DEFAULT_$LINE"
7829 else
7830 no_cache=1
7831 fi
7832
7833 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7834
7835fi
7836
7837
7838 eval "$ac_cv_use_numberdlg"
7839 if test "$no_cache" != 1; then
7840 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7841 fi
7842
7843 if test "$wxUSE_NUMBERDLG" = yes; then
7844 echo "$ac_t""yes" 1>&6
7845 else
7846 echo "$ac_t""no" 1>&6
7847 fi
7848
7849
7850 enablestring=
7851 echo $ac_n "checking for --${enablestring:-enable}-splash""... $ac_c" 1>&6
7852echo "configure:7853: checking for --${enablestring:-enable}-splash" >&5
7853 no_cache=0
7854 # Check whether --enable-splash or --disable-splash was given.
7855if test "${enable_splash+set}" = set; then
7856 enableval="$enable_splash"
7857
7858 if test "$enableval" = yes; then
7859 ac_cv_use_splash='wxUSE_SPLASH=yes'
7860 else
7861 ac_cv_use_splash='wxUSE_SPLASH=no'
7862 fi
7863
7864else
7865
7866 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7867 if test "x$LINE" != x ; then
7868 eval "DEFAULT_$LINE"
7869 else
7870 no_cache=1
7871 fi
7872
7873 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7874
7875fi
7876
7877
7878 eval "$ac_cv_use_splash"
7879 if test "$no_cache" != 1; then
7880 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7881 fi
7882
7883 if test "$wxUSE_SPLASH" = yes; then
7884 echo "$ac_t""yes" 1>&6
7885 else
7886 echo "$ac_t""no" 1>&6
7887 fi
7888
7889
7890 enablestring=
7891 echo $ac_n "checking for --${enablestring:-enable}-textdlg""... $ac_c" 1>&6
7892echo "configure:7893: checking for --${enablestring:-enable}-textdlg" >&5
7893 no_cache=0
7894 # Check whether --enable-textdlg or --disable-textdlg was given.
7895if test "${enable_textdlg+set}" = set; then
7896 enableval="$enable_textdlg"
7897
7898 if test "$enableval" = yes; then
7899 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
7900 else
7901 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
7902 fi
7903
7904else
7905
7906 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7907 if test "x$LINE" != x ; then
7908 eval "DEFAULT_$LINE"
7909 else
7910 no_cache=1
7911 fi
7912
7913 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7914
7915fi
7916
7917
7918 eval "$ac_cv_use_textdlg"
7919 if test "$no_cache" != 1; then
7920 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7921 fi
7922
7923 if test "$wxUSE_TEXTDLG" = yes; then
7924 echo "$ac_t""yes" 1>&6
7925 else
7926 echo "$ac_t""no" 1>&6
7927 fi
7928
7929
7930 enablestring=
7931 echo $ac_n "checking for --${enablestring:-enable}-tipdlg""... $ac_c" 1>&6
7932echo "configure:7933: checking for --${enablestring:-enable}-tipdlg" >&5
7933 no_cache=0
7934 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7935if test "${enable_tipdlg+set}" = set; then
7936 enableval="$enable_tipdlg"
7937
7938 if test "$enableval" = yes; then
7939 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
7940 else
7941 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
7942 fi
7943
7944else
7945
7946 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7947 if test "x$LINE" != x ; then
7948 eval "DEFAULT_$LINE"
7949 else
7950 no_cache=1
7951 fi
7952
7953 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7954
7955fi
7956
7957
7958 eval "$ac_cv_use_tipdlg"
7959 if test "$no_cache" != 1; then
7960 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7961 fi
7962
7963 if test "$wxUSE_STARTUP_TIPS" = yes; then
7964 echo "$ac_t""yes" 1>&6
7965 else
7966 echo "$ac_t""no" 1>&6
7967 fi
7968
7969
7970 enablestring=
7971 echo $ac_n "checking for --${enablestring:-enable}-progressdlg""... $ac_c" 1>&6
7972echo "configure:7973: checking for --${enablestring:-enable}-progressdlg" >&5
7973 no_cache=0
7974 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7975if test "${enable_progressdlg+set}" = set; then
7976 enableval="$enable_progressdlg"
7977
7978 if test "$enableval" = yes; then
7979 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
7980 else
7981 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
7982 fi
7983
7984else
7985
7986 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7987 if test "x$LINE" != x ; then
7988 eval "DEFAULT_$LINE"
7989 else
7990 no_cache=1
7991 fi
7992
7993 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7994
7995fi
7996
7997
7998 eval "$ac_cv_use_progressdlg"
7999 if test "$no_cache" != 1; then
8000 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8001 fi
8002
8003 if test "$wxUSE_PROGRESSDLG" = yes; then
8004 echo "$ac_t""yes" 1>&6
8005 else
8006 echo "$ac_t""no" 1>&6
8007 fi
8008
8009
8010 enablestring=
8011 echo $ac_n "checking for --${enablestring:-enable}-wizarddlg""... $ac_c" 1>&6
8012echo "configure:8013: checking for --${enablestring:-enable}-wizarddlg" >&5
8013 no_cache=0
8014 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8015if test "${enable_wizarddlg+set}" = set; then
8016 enableval="$enable_wizarddlg"
8017
8018 if test "$enableval" = yes; then
8019 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8020 else
8021 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8022 fi
8023
8024else
8025
8026 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8027 if test "x$LINE" != x ; then
8028 eval "DEFAULT_$LINE"
8029 else
8030 no_cache=1
8031 fi
8032
8033 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8034
8035fi
8036
8037
8038 eval "$ac_cv_use_wizarddlg"
8039 if test "$no_cache" != 1; then
8040 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8041 fi
8042
8043 if test "$wxUSE_WIZARDDLG" = yes; then
8044 echo "$ac_t""yes" 1>&6
8045 else
8046 echo "$ac_t""no" 1>&6
8047 fi
8048
8049
8050
8051
8052 enablestring=
8053 echo $ac_n "checking for --${enablestring:-enable}-menus""... $ac_c" 1>&6
8054echo "configure:8055: checking for --${enablestring:-enable}-menus" >&5
8055 no_cache=0
8056 # Check whether --enable-menus or --disable-menus was given.
8057if test "${enable_menus+set}" = set; then
8058 enableval="$enable_menus"
8059
8060 if test "$enableval" = yes; then
8061 ac_cv_use_menus='wxUSE_MENUS=yes'
8062 else
8063 ac_cv_use_menus='wxUSE_MENUS=no'
8064 fi
8065
8066else
8067
8068 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8069 if test "x$LINE" != x ; then
8070 eval "DEFAULT_$LINE"
8071 else
8072 no_cache=1
8073 fi
8074
8075 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8076
8077fi
8078
8079
8080 eval "$ac_cv_use_menus"
8081 if test "$no_cache" != 1; then
8082 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8083 fi
8084
8085 if test "$wxUSE_MENUS" = yes; then
8086 echo "$ac_t""yes" 1>&6
8087 else
8088 echo "$ac_t""no" 1>&6
8089 fi
8090
8091
8092 enablestring=
8093 echo $ac_n "checking for --${enablestring:-enable}-miniframe""... $ac_c" 1>&6
8094echo "configure:8095: checking for --${enablestring:-enable}-miniframe" >&5
8095 no_cache=0
8096 # Check whether --enable-miniframe or --disable-miniframe was given.
8097if test "${enable_miniframe+set}" = set; then
8098 enableval="$enable_miniframe"
8099
8100 if test "$enableval" = yes; then
8101 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8102 else
8103 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8104 fi
8105
8106else
8107
8108 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8109 if test "x$LINE" != x ; then
8110 eval "DEFAULT_$LINE"
8111 else
8112 no_cache=1
8113 fi
8114
8115 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8116
8117fi
8118
8119
8120 eval "$ac_cv_use_miniframe"
8121 if test "$no_cache" != 1; then
8122 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8123 fi
8124
8125 if test "$wxUSE_MINIFRAME" = yes; then
8126 echo "$ac_t""yes" 1>&6
8127 else
8128 echo "$ac_t""no" 1>&6
8129 fi
8130
8131
8132 enablestring=
8133 echo $ac_n "checking for --${enablestring:-enable}-tooltips""... $ac_c" 1>&6
8134echo "configure:8135: checking for --${enablestring:-enable}-tooltips" >&5
8135 no_cache=0
8136 # Check whether --enable-tooltips or --disable-tooltips was given.
8137if test "${enable_tooltips+set}" = set; then
8138 enableval="$enable_tooltips"
8139
8140 if test "$enableval" = yes; then
8141 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8142 else
8143 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8144 fi
8145
8146else
8147
8148 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8149 if test "x$LINE" != x ; then
8150 eval "DEFAULT_$LINE"
8151 else
8152 no_cache=1
8153 fi
8154
8155 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8156
8157fi
8158
8159
8160 eval "$ac_cv_use_tooltips"
8161 if test "$no_cache" != 1; then
8162 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8163 fi
8164
8165 if test "$wxUSE_TOOLTIPS" = yes; then
8166 echo "$ac_t""yes" 1>&6
8167 else
8168 echo "$ac_t""no" 1>&6
8169 fi
8170
8171
8172 enablestring=
8173 echo $ac_n "checking for --${enablestring:-enable}-splines""... $ac_c" 1>&6
8174echo "configure:8175: checking for --${enablestring:-enable}-splines" >&5
8175 no_cache=0
8176 # Check whether --enable-splines or --disable-splines was given.
8177if test "${enable_splines+set}" = set; then
8178 enableval="$enable_splines"
8179
8180 if test "$enableval" = yes; then
8181 ac_cv_use_splines='wxUSE_SPLINES=yes'
8182 else
8183 ac_cv_use_splines='wxUSE_SPLINES=no'
8184 fi
8185
8186else
8187
8188 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8189 if test "x$LINE" != x ; then
8190 eval "DEFAULT_$LINE"
8191 else
8192 no_cache=1
8193 fi
8194
8195 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8196
8197fi
8198
8199
8200 eval "$ac_cv_use_splines"
8201 if test "$no_cache" != 1; then
8202 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8203 fi
8204
8205 if test "$wxUSE_SPLINES" = yes; then
8206 echo "$ac_t""yes" 1>&6
8207 else
8208 echo "$ac_t""no" 1>&6
8209 fi
8210
8211
8212 enablestring=
8213 echo $ac_n "checking for --${enablestring:-enable}-validators""... $ac_c" 1>&6
8214echo "configure:8215: checking for --${enablestring:-enable}-validators" >&5
8215 no_cache=0
8216 # Check whether --enable-validators or --disable-validators was given.
8217if test "${enable_validators+set}" = set; then
8218 enableval="$enable_validators"
8219
8220 if test "$enableval" = yes; then
8221 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8222 else
8223 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8224 fi
8225
8226else
8227
8228 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8229 if test "x$LINE" != x ; then
8230 eval "DEFAULT_$LINE"
8231 else
8232 no_cache=1
8233 fi
8234
8235 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8236
8237fi
8238
8239
8240 eval "$ac_cv_use_validators"
8241 if test "$no_cache" != 1; then
8242 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8243 fi
8244
8245 if test "$wxUSE_VALIDATORS" = yes; then
8246 echo "$ac_t""yes" 1>&6
8247 else
8248 echo "$ac_t""no" 1>&6
8249 fi
8250
8251
8252 enablestring=
8253 echo $ac_n "checking for --${enablestring:-enable}-busyinfo""... $ac_c" 1>&6
8254echo "configure:8255: checking for --${enablestring:-enable}-busyinfo" >&5
8255 no_cache=0
8256 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8257if test "${enable_busyinfo+set}" = set; then
8258 enableval="$enable_busyinfo"
8259
8260 if test "$enableval" = yes; then
8261 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8262 else
8263 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8264 fi
8265
8266else
8267
8268 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8269 if test "x$LINE" != x ; then
8270 eval "DEFAULT_$LINE"
8271 else
8272 no_cache=1
8273 fi
8274
8275 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8276
8277fi
8278
8279
8280 eval "$ac_cv_use_busyinfo"
8281 if test "$no_cache" != 1; then
8282 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8283 fi
8284
8285 if test "$wxUSE_BUSYINFO" = yes; then
8286 echo "$ac_t""yes" 1>&6
8287 else
8288 echo "$ac_t""no" 1>&6
8289 fi
8290
8291
8292 enablestring=
8293 echo $ac_n "checking for --${enablestring:-enable}-joystick""... $ac_c" 1>&6
8294echo "configure:8295: checking for --${enablestring:-enable}-joystick" >&5
8295 no_cache=0
8296 # Check whether --enable-joystick or --disable-joystick was given.
8297if test "${enable_joystick+set}" = set; then
8298 enableval="$enable_joystick"
8299
8300 if test "$enableval" = yes; then
8301 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8302 else
8303 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8304 fi
8305
8306else
8307
8308 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8309 if test "x$LINE" != x ; then
8310 eval "DEFAULT_$LINE"
8311 else
8312 no_cache=1
8313 fi
8314
8315 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8316
8317fi
8318
8319
8320 eval "$ac_cv_use_joystick"
8321 if test "$no_cache" != 1; then
8322 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8323 fi
8324
8325 if test "$wxUSE_JOYSTICK" = yes; then
8326 echo "$ac_t""yes" 1>&6
8327 else
8328 echo "$ac_t""no" 1>&6
8329 fi
8330
8331
8332 enablestring=
8333 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
8334echo "configure:8335: checking for --${enablestring:-enable}-metafile" >&5
8335 no_cache=0
8336 # Check whether --enable-metafile or --disable-metafile was given.
8337if test "${enable_metafile+set}" = set; then
8338 enableval="$enable_metafile"
8339
8340 if test "$enableval" = yes; then
8341 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8342 else
8343 ac_cv_use_metafile='wxUSE_METAFILE=no'
8344 fi
8345
8346else
8347
8348 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8349 if test "x$LINE" != x ; then
8350 eval "DEFAULT_$LINE"
8351 else
8352 no_cache=1
8353 fi
8354
8355 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8356
8357fi
8358
8359
8360 eval "$ac_cv_use_metafile"
8361 if test "$no_cache" != 1; then
8362 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8363 fi
8364
8365 if test "$wxUSE_METAFILE" = yes; then
8366 echo "$ac_t""yes" 1>&6
8367 else
8368 echo "$ac_t""no" 1>&6
8369 fi
8370
8371
8372 enablestring=
8373 echo $ac_n "checking for --${enablestring:-enable}-dragimage""... $ac_c" 1>&6
8374echo "configure:8375: checking for --${enablestring:-enable}-dragimage" >&5
8375 no_cache=0
8376 # Check whether --enable-dragimage or --disable-dragimage was given.
8377if test "${enable_dragimage+set}" = set; then
8378 enableval="$enable_dragimage"
8379
8380 if test "$enableval" = yes; then
8381 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
8382 else
8383 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
8384 fi
8385
8386else
8387
8388 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8389 if test "x$LINE" != x ; then
8390 eval "DEFAULT_$LINE"
8391 else
8392 no_cache=1
8393 fi
8394
8395 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8396
8397fi
8398
8399
8400 eval "$ac_cv_use_dragimage"
8401 if test "$no_cache" != 1; then
8402 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8403 fi
8404
8405 if test "$wxUSE_DRAGIMAGE" = yes; then
8406 echo "$ac_t""yes" 1>&6
8407 else
8408 echo "$ac_t""no" 1>&6
8409 fi
8410
8411
8412
8413
8414 enablestring=
8415 echo $ac_n "checking for --${enablestring:-enable}-palette""... $ac_c" 1>&6
8416echo "configure:8417: checking for --${enablestring:-enable}-palette" >&5
8417 no_cache=0
8418 # Check whether --enable-palette or --disable-palette was given.
8419if test "${enable_palette+set}" = set; then
8420 enableval="$enable_palette"
8421
8422 if test "$enableval" = yes; then
8423 ac_cv_use_palette='wxUSE_PALETTE=yes'
8424 else
8425 ac_cv_use_palette='wxUSE_PALETTE=no'
8426 fi
8427
8428else
8429
8430 LINE=`grep "wxUSE_PALETTE" ${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_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8438
8439fi
8440
8441
8442 eval "$ac_cv_use_palette"
8443 if test "$no_cache" != 1; then
8444 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8445 fi
8446
8447 if test "$wxUSE_PALETTE" = yes; then
8448 echo "$ac_t""yes" 1>&6
8449 else
8450 echo "$ac_t""no" 1>&6
8451 fi
8452
8453
8454 enablestring=
8455 echo $ac_n "checking for --${enablestring:-enable}-image""... $ac_c" 1>&6
8456echo "configure:8457: checking for --${enablestring:-enable}-image" >&5
8457 no_cache=0
8458 # Check whether --enable-image or --disable-image was given.
8459if test "${enable_image+set}" = set; then
8460 enableval="$enable_image"
8461
8462 if test "$enableval" = yes; then
8463 ac_cv_use_image='wxUSE_IMAGE=yes'
8464 else
8465 ac_cv_use_image='wxUSE_IMAGE=no'
8466 fi
8467
8468else
8469
8470 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8471 if test "x$LINE" != x ; then
8472 eval "DEFAULT_$LINE"
8473 else
8474 no_cache=1
8475 fi
8476
8477 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8478
8479fi
8480
8481
8482 eval "$ac_cv_use_image"
8483 if test "$no_cache" != 1; then
8484 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8485 fi
8486
8487 if test "$wxUSE_IMAGE" = yes; then
8488 echo "$ac_t""yes" 1>&6
8489 else
8490 echo "$ac_t""no" 1>&6
8491 fi
8492
8493
8494 enablestring=
8495 echo $ac_n "checking for --${enablestring:-enable}-gif""... $ac_c" 1>&6
8496echo "configure:8497: checking for --${enablestring:-enable}-gif" >&5
8497 no_cache=0
8498 # Check whether --enable-gif or --disable-gif was given.
8499if test "${enable_gif+set}" = set; then
8500 enableval="$enable_gif"
8501
8502 if test "$enableval" = yes; then
8503 ac_cv_use_gif='wxUSE_GIF=yes'
8504 else
8505 ac_cv_use_gif='wxUSE_GIF=no'
8506 fi
8507
8508else
8509
8510 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8511 if test "x$LINE" != x ; then
8512 eval "DEFAULT_$LINE"
8513 else
8514 no_cache=1
8515 fi
8516
8517 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8518
8519fi
8520
8521
8522 eval "$ac_cv_use_gif"
8523 if test "$no_cache" != 1; then
8524 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8525 fi
8526
8527 if test "$wxUSE_GIF" = yes; then
8528 echo "$ac_t""yes" 1>&6
8529 else
8530 echo "$ac_t""no" 1>&6
8531 fi
8532
8533
8534 enablestring=
8535 echo $ac_n "checking for --${enablestring:-enable}-pcx""... $ac_c" 1>&6
8536echo "configure:8537: checking for --${enablestring:-enable}-pcx" >&5
8537 no_cache=0
8538 # Check whether --enable-pcx or --disable-pcx was given.
8539if test "${enable_pcx+set}" = set; then
8540 enableval="$enable_pcx"
8541
8542 if test "$enableval" = yes; then
8543 ac_cv_use_pcx='wxUSE_PCX=yes'
8544 else
8545 ac_cv_use_pcx='wxUSE_PCX=no'
8546 fi
8547
8548else
8549
8550 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8551 if test "x$LINE" != x ; then
8552 eval "DEFAULT_$LINE"
8553 else
8554 no_cache=1
8555 fi
8556
8557 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8558
8559fi
8560
8561
8562 eval "$ac_cv_use_pcx"
8563 if test "$no_cache" != 1; then
8564 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8565 fi
8566
8567 if test "$wxUSE_PCX" = yes; then
8568 echo "$ac_t""yes" 1>&6
8569 else
8570 echo "$ac_t""no" 1>&6
8571 fi
8572
8573
8574 enablestring=
8575 echo $ac_n "checking for --${enablestring:-enable}-iff""... $ac_c" 1>&6
8576echo "configure:8577: checking for --${enablestring:-enable}-iff" >&5
8577 no_cache=0
8578 # Check whether --enable-iff or --disable-iff was given.
8579if test "${enable_iff+set}" = set; then
8580 enableval="$enable_iff"
8581
8582 if test "$enableval" = yes; then
8583 ac_cv_use_iff='wxUSE_IFF=yes'
8584 else
8585 ac_cv_use_iff='wxUSE_IFF=no'
8586 fi
8587
8588else
8589
8590 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8591 if test "x$LINE" != x ; then
8592 eval "DEFAULT_$LINE"
8593 else
8594 no_cache=1
8595 fi
8596
8597 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8598
8599fi
8600
8601
8602 eval "$ac_cv_use_iff"
8603 if test "$no_cache" != 1; then
8604 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8605 fi
8606
8607 if test "$wxUSE_IFF" = yes; then
8608 echo "$ac_t""yes" 1>&6
8609 else
8610 echo "$ac_t""no" 1>&6
8611 fi
8612
8613
8614 enablestring=
8615 echo $ac_n "checking for --${enablestring:-enable}-pnm""... $ac_c" 1>&6
8616echo "configure:8617: checking for --${enablestring:-enable}-pnm" >&5
8617 no_cache=0
8618 # Check whether --enable-pnm or --disable-pnm was given.
8619if test "${enable_pnm+set}" = set; then
8620 enableval="$enable_pnm"
8621
8622 if test "$enableval" = yes; then
8623 ac_cv_use_pnm='wxUSE_PNM=yes'
8624 else
8625 ac_cv_use_pnm='wxUSE_PNM=no'
8626 fi
8627
8628else
8629
8630 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8631 if test "x$LINE" != x ; then
8632 eval "DEFAULT_$LINE"
8633 else
8634 no_cache=1
8635 fi
8636
8637 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8638
8639fi
8640
8641
8642 eval "$ac_cv_use_pnm"
8643 if test "$no_cache" != 1; then
8644 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8645 fi
8646
8647 if test "$wxUSE_PNM" = yes; then
8648 echo "$ac_t""yes" 1>&6
8649 else
8650 echo "$ac_t""no" 1>&6
8651 fi
8652
8653
8654 enablestring=
8655 echo $ac_n "checking for --${enablestring:-enable}-xpm""... $ac_c" 1>&6
8656echo "configure:8657: checking for --${enablestring:-enable}-xpm" >&5
8657 no_cache=0
8658 # Check whether --enable-xpm or --disable-xpm was given.
8659if test "${enable_xpm+set}" = set; then
8660 enableval="$enable_xpm"
8661
8662 if test "$enableval" = yes; then
8663 ac_cv_use_xpm='wxUSE_XPM=yes'
8664 else
8665 ac_cv_use_xpm='wxUSE_XPM=no'
8666 fi
8667
8668else
8669
8670 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8671 if test "x$LINE" != x ; then
8672 eval "DEFAULT_$LINE"
8673 else
8674 no_cache=1
8675 fi
8676
8677 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8678
8679fi
8680
8681
8682 eval "$ac_cv_use_xpm"
8683 if test "$no_cache" != 1; then
8684 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8685 fi
8686
8687 if test "$wxUSE_XPM" = yes; then
8688 echo "$ac_t""yes" 1>&6
8689 else
8690 echo "$ac_t""no" 1>&6
8691 fi
8692
8693
8694 enablestring=
8695 echo $ac_n "checking for --${enablestring:-enable}-ico_cur""... $ac_c" 1>&6
8696echo "configure:8697: checking for --${enablestring:-enable}-ico_cur" >&5
8697 no_cache=0
8698 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8699if test "${enable_ico_cur+set}" = set; then
8700 enableval="$enable_ico_cur"
8701
8702 if test "$enableval" = yes; then
8703 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
8704 else
8705 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
8706 fi
8707
8708else
8709
8710 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8711 if test "x$LINE" != x ; then
8712 eval "DEFAULT_$LINE"
8713 else
8714 no_cache=1
8715 fi
8716
8717 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8718
8719fi
8720
8721
8722 eval "$ac_cv_use_ico_cur"
8723 if test "$no_cache" != 1; then
8724 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8725 fi
8726
8727 if test "$wxUSE_ICO_CUR" = yes; then
8728 echo "$ac_t""yes" 1>&6
8729 else
8730 echo "$ac_t""no" 1>&6
8731 fi
8732
8733
8734fi
8735
8736case "${host}" in
8737 *-pc-os2_emx | *-pc-os2-emx )
8738 PATH_IFS=';'
8739 LEX_STEM="lexyy"
8740 ;;
8741 *)
8742 PATH_IFS=':'
8743 LEX_STEM="lex.yy"
8744 ;;
8745esac
8746
8747
8748
8749 echo "saving argument cache $wx_arg_cache_file"
8750 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
8751
8752
8753
8754echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8755echo "configure:8756: checking for toolkit" >&5
8756
8757# In Wine, we need to default to MSW, not GTK or MOTIF
8758if test "$wxUSE_WINE" = "yes"; then
8759 DEFAULT_DEFAULT_wxUSE_GTK=0
8760 DEFAULT_DEFAULT_wxUSE_MOTIF=0
8761 DEFAULT_DEFAULT_wxUSE_MSW=1
8762fi
8763
8764if test "$wxUSE_GUI" = "yes"; then
8765
8766 if test "$USE_BEOS" = 1; then
8767 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8768 fi
8769
8770 if test "$TOOLKIT_GIVEN" = 1; then
8771 for toolkit in `echo $ALL_TOOLKITS`; do
8772 var=wxUSE_$toolkit
8773 eval "value=\$${var}"
8774 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
8775 done
8776 else
8777 for toolkit in `echo $ALL_TOOLKITS`; do
8778 if test "$has_toolkit_in_cache" != 1; then
8779 var=DEFAULT_DEFAULT_wxUSE_$toolkit
8780 else
8781 var=DEFAULT_wxUSE_$toolkit
8782 fi
8783 eval "wxUSE_$toolkit=\$${var}"
8784 done
8785 fi
8786
8787 NUM_TOOLKITS=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8788 + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8789
8790 case "${host}" in
8791 *-pc-os2_emx | *-pc-os2-emx )
8792 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8793 esac
8794
8795 case "$NUM_TOOLKITS" in
8796 1)
8797 ;;
8798 0)
8799 { echo "configure: error: Please specify a toolkit -- cannot determine the default for ${host}" 1>&2; exit 1; }
8800 ;;
8801 *)
8802 { echo "configure: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" 1>&2; exit 1; }
8803 esac
8804
8805 for toolkit in `echo $ALL_TOOLKITS`; do
8806 var=wxUSE_$toolkit
8807 eval "value=\$${var}"
8808 if test "x$value" != x; then
8809 cache_var=CACHE_$toolkit
8810 eval "cache=\$${cache_var}"
8811 if test "$cache" = 1; then
8812 echo "$var=$value" >> ${wx_arg_cache_file}
8813 fi
8814 if test "$value" = 1; then
8815 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
8816 echo "$ac_t""$toolkit_echo" 1>&6
8817 fi
8818 fi
8819 done
8820else
8821 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8822fi
8823
8824wants_win32=0
8825doesnt_want_win32=0
8826case "${host}" in
8827 *-*-cygwin*)
8828 if test "$wxUSE_MSW" = 1 ; then
8829 wants_win32=1
8830 else
8831 doesnt_want_win32=1
8832 fi
8833 ;;
8834 *-*-mingw*)
8835 wants_win32=1
8836 ;;
8837esac
8838
8839if test "$wxUSE_WINE" = "yes"; then
8840 wants_win32=1
8841 CC=winegcc
8842 CXX=wineg++
8843 RESCOMP=wrc
8844fi
8845
8846if test "$wants_win32" = 1 ; then
8847 USE_UNIX=0
8848 USE_WIN32=1
8849 cat >> confdefs.h <<\EOF
8850#define __WIN32__ 1
8851EOF
8852
8853 cat >> confdefs.h <<\EOF
8854#define __WIN95__ 1
8855EOF
8856
8857 cat >> confdefs.h <<\EOF
8858#define __WINDOWS__ 1
8859EOF
8860
8861 cat >> confdefs.h <<\EOF
8862#define __GNUWIN32__ 1
8863EOF
8864
8865 cat >> confdefs.h <<\EOF
8866#define STRICT 1
8867EOF
8868
8869 cat >> confdefs.h <<\EOF
8870#define WINVER 0x0400
8871EOF
8872
8873fi
8874if test "$doesnt_want_win32" = 1 ; then
8875 USE_UNIX=1
8876 USE_WIN32=0
8877fi
8878
8879if test "$USE_UNIX" = 1 ; then
8880 wxUSE_UNIX=yes
8881 cat >> confdefs.h <<\EOF
8882#define __UNIX__ 1
8883EOF
8884
8885fi
8886
8887
8888cat > confcache <<\EOF
8889# This file is a shell script that caches the results of configure
8890# tests run on this system so they can be shared between configure
8891# scripts and configure runs. It is not useful on other systems.
8892# If it contains results you don't want to keep, you may remove or edit it.
8893#
8894# By default, configure uses ./config.cache as the cache file,
8895# creating it if it does not exist already. You can give configure
8896# the --cache-file=FILE option to use a different cache file; that is
8897# what configure does when it calls configure scripts in
8898# subdirectories, so they share the cache.
8899# Giving --cache-file=/dev/null disables caching, for debugging configure.
8900# config.status only pays attention to the cache file if you give it the
8901# --recheck option to rerun configure.
8902#
8903EOF
8904# The following way of writing the cache mishandles newlines in values,
8905# but we know of no workaround that is simple, portable, and efficient.
8906# So, don't put newlines in cache variables' values.
8907# Ultrix sh set writes to stderr and can't be redirected directly,
8908# and sets the high bit in the cache file unless we assign to the vars.
8909(set) 2>&1 |
8910 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8911 *ac_space=\ *)
8912 # `set' does not quote correctly, so add quotes (double-quote substitution
8913 # turns \\\\ into \\, and sed turns \\ into \).
8914 sed -n \
8915 -e "s/'/'\\\\''/g" \
8916 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8917 ;;
8918 *)
8919 # `set' quotes correctly as required by POSIX, so do not add quotes.
8920 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8921 ;;
8922 esac >> confcache
8923if cmp -s $cache_file confcache; then
8924 :
8925else
8926 if test -w $cache_file; then
8927 echo "updating cache $cache_file"
8928 cat confcache > $cache_file
8929 else
8930 echo "not updating unwritable cache $cache_file"
8931 fi
8932fi
8933rm -f confcache
8934
8935
8936if test "$build" != "$host" ; then
8937 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8938 CC=$host_alias-gcc
8939 CXX=$host_alias-c++
8940 AR=$host_alias-ar
8941 RANLIB=$host_alias-ranlib
8942 DLLTOOL=$host_alias-dlltool
8943 RESCOMP=$host_alias-windres
8944 LD=$host_alias-ld
8945 NM=$host_alias-nm
8946 STRIP=$host_alias-strip
8947 else
8948 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8949 fi
8950fi
8951
8952CFLAGS=${CFLAGS:=}
8953# Extract the first word of "gcc", so it can be a program name with args.
8954set dummy gcc; ac_word=$2
8955echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8956echo "configure:8957: checking for $ac_word" >&5
8957if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8958 echo $ac_n "(cached) $ac_c" 1>&6
8959else
8960 if test -n "$CC"; then
8961 ac_cv_prog_CC="$CC" # Let the user override the test.
8962else
8963 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8964 ac_dummy="$PATH"
8965 for ac_dir in $ac_dummy; do
8966 test -z "$ac_dir" && ac_dir=.
8967 if test -f $ac_dir/$ac_word; then
8968 ac_cv_prog_CC="gcc"
8969 break
8970 fi
8971 done
8972 IFS="$ac_save_ifs"
8973fi
8974fi
8975CC="$ac_cv_prog_CC"
8976if test -n "$CC"; then
8977 echo "$ac_t""$CC" 1>&6
8978else
8979 echo "$ac_t""no" 1>&6
8980fi
8981
8982if test -z "$CC"; then
8983 # Extract the first word of "cc", so it can be a program name with args.
8984set dummy cc; ac_word=$2
8985echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8986echo "configure:8987: checking for $ac_word" >&5
8987if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8988 echo $ac_n "(cached) $ac_c" 1>&6
8989else
8990 if test -n "$CC"; then
8991 ac_cv_prog_CC="$CC" # Let the user override the test.
8992else
8993 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8994 ac_prog_rejected=no
8995 ac_dummy="$PATH"
8996 for ac_dir in $ac_dummy; do
8997 test -z "$ac_dir" && ac_dir=.
8998 if test -f $ac_dir/$ac_word; then
8999 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
9000 ac_prog_rejected=yes
9001 continue
9002 fi
9003 ac_cv_prog_CC="cc"
9004 break
9005 fi
9006 done
9007 IFS="$ac_save_ifs"
9008if test $ac_prog_rejected = yes; then
9009 # We found a bogon in the path, so make sure we never use it.
9010 set dummy $ac_cv_prog_CC
9011 shift
9012 if test $# -gt 0; then
9013 # We chose a different compiler from the bogus one.
9014 # However, it has the same basename, so the bogon will be chosen
9015 # first if we set CC to just the basename; use the full file name.
9016 shift
9017 set dummy "$ac_dir/$ac_word" "$@"
9018 shift
9019 ac_cv_prog_CC="$@"
9020 fi
9021fi
9022fi
9023fi
9024CC="$ac_cv_prog_CC"
9025if test -n "$CC"; then
9026 echo "$ac_t""$CC" 1>&6
9027else
9028 echo "$ac_t""no" 1>&6
9029fi
9030
9031 if test -z "$CC"; then
9032 case "`uname -s`" in
9033 *win32* | *WIN32*)
9034 # Extract the first word of "cl", so it can be a program name with args.
9035set dummy cl; ac_word=$2
9036echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9037echo "configure:9038: checking for $ac_word" >&5
9038if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
9039 echo $ac_n "(cached) $ac_c" 1>&6
9040else
9041 if test -n "$CC"; then
9042 ac_cv_prog_CC="$CC" # Let the user override the test.
9043else
9044 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9045 ac_dummy="$PATH"
9046 for ac_dir in $ac_dummy; do
9047 test -z "$ac_dir" && ac_dir=.
9048 if test -f $ac_dir/$ac_word; then
9049 ac_cv_prog_CC="cl"
9050 break
9051 fi
9052 done
9053 IFS="$ac_save_ifs"
9054fi
9055fi
9056CC="$ac_cv_prog_CC"
9057if test -n "$CC"; then
9058 echo "$ac_t""$CC" 1>&6
9059else
9060 echo "$ac_t""no" 1>&6
9061fi
9062 ;;
9063 esac
9064 fi
9065 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
9066fi
9067
9068echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9069echo "configure:9070: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
9070
9071ac_ext=c
9072# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9073ac_cpp='$CPP $CPPFLAGS'
9074ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9075ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9076cross_compiling=$ac_cv_prog_cc_cross
9077
9078cat > conftest.$ac_ext << EOF
9079
9080#line 9081 "configure"
9081#include "confdefs.h"
9082
9083main(){return(0);}
9084EOF
9085if { (eval echo configure:9086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9086 ac_cv_prog_cc_works=yes
9087 # If we can't run a trivial program, we are probably using a cross compiler.
9088 if (./conftest; exit) 2>/dev/null; then
9089 ac_cv_prog_cc_cross=no
9090 else
9091 ac_cv_prog_cc_cross=yes
9092 fi
9093else
9094 echo "configure: failed program was:" >&5
9095 cat conftest.$ac_ext >&5
9096 ac_cv_prog_cc_works=no
9097fi
9098rm -fr conftest*
9099ac_ext=c
9100# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9101ac_cpp='$CPP $CPPFLAGS'
9102ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9103ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9104cross_compiling=$ac_cv_prog_cc_cross
9105
9106echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
9107if test $ac_cv_prog_cc_works = no; then
9108 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
9109fi
9110echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9111echo "configure:9112: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
9112echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
9113cross_compiling=$ac_cv_prog_cc_cross
9114
9115echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
9116echo "configure:9117: checking whether we are using GNU C" >&5
9117if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
9118 echo $ac_n "(cached) $ac_c" 1>&6
9119else
9120 cat > conftest.c <<EOF
9121#ifdef __GNUC__
9122 yes;
9123#endif
9124EOF
9125if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:9126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
9126 ac_cv_prog_gcc=yes
9127else
9128 ac_cv_prog_gcc=no
9129fi
9130fi
9131
9132echo "$ac_t""$ac_cv_prog_gcc" 1>&6
9133
9134if test $ac_cv_prog_gcc = yes; then
9135 GCC=yes
9136else
9137 GCC=
9138fi
9139
9140ac_test_CFLAGS="${CFLAGS+set}"
9141ac_save_CFLAGS="$CFLAGS"
9142CFLAGS=
9143echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
9144echo "configure:9145: checking whether ${CC-cc} accepts -g" >&5
9145if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
9146 echo $ac_n "(cached) $ac_c" 1>&6
9147else
9148 echo 'void f(){}' > conftest.c
9149if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
9150 ac_cv_prog_cc_g=yes
9151else
9152 ac_cv_prog_cc_g=no
9153fi
9154rm -f conftest*
9155
9156fi
9157
9158echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
9159if test "$ac_test_CFLAGS" = set; then
9160 CFLAGS="$ac_save_CFLAGS"
9161elif test $ac_cv_prog_cc_g = yes; then
9162 if test "$GCC" = yes; then
9163 CFLAGS="-g -O2"
9164 else
9165 CFLAGS="-g"
9166 fi
9167else
9168 if test "$GCC" = yes; then
9169 CFLAGS="-O2"
9170 else
9171 CFLAGS=
9172 fi
9173fi
9174
9175
9176echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
9177echo "configure:9178: checking how to run the C preprocessor" >&5
9178# On Suns, sometimes $CPP names a directory.
9179if test -n "$CPP" && test -d "$CPP"; then
9180 CPP=
9181fi
9182if test -z "$CPP"; then
9183if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
9184 echo $ac_n "(cached) $ac_c" 1>&6
9185else
9186 # This must be in double quotes, not single quotes, because CPP may get
9187 # substituted into the Makefile and "${CC-cc}" will confuse make.
9188 CPP="${CC-cc} -E"
9189 # On the NeXT, cc -E runs the code through the compiler's parser,
9190 # not just through cpp.
9191 cat > conftest.$ac_ext <<EOF
9192#line 9193 "configure"
9193#include "confdefs.h"
9194#include <assert.h>
9195Syntax Error
9196EOF
9197ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9198{ (eval echo configure:9199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9199ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9200if test -z "$ac_err"; then
9201 :
9202else
9203 echo "$ac_err" >&5
9204 echo "configure: failed program was:" >&5
9205 cat conftest.$ac_ext >&5
9206 rm -rf conftest*
9207 CPP="${CC-cc} -E -traditional-cpp"
9208 cat > conftest.$ac_ext <<EOF
9209#line 9210 "configure"
9210#include "confdefs.h"
9211#include <assert.h>
9212Syntax Error
9213EOF
9214ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9215{ (eval echo configure:9216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9216ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9217if test -z "$ac_err"; then
9218 :
9219else
9220 echo "$ac_err" >&5
9221 echo "configure: failed program was:" >&5
9222 cat conftest.$ac_ext >&5
9223 rm -rf conftest*
9224 CPP="${CC-cc} -nologo -E"
9225 cat > conftest.$ac_ext <<EOF
9226#line 9227 "configure"
9227#include "confdefs.h"
9228#include <assert.h>
9229Syntax Error
9230EOF
9231ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9232{ (eval echo configure:9233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9233ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9234if test -z "$ac_err"; then
9235 :
9236else
9237 echo "$ac_err" >&5
9238 echo "configure: failed program was:" >&5
9239 cat conftest.$ac_ext >&5
9240 rm -rf conftest*
9241 CPP=/lib/cpp
9242fi
9243rm -f conftest*
9244fi
9245rm -f conftest*
9246fi
9247rm -f conftest*
9248 ac_cv_prog_CPP="$CPP"
9249fi
9250 CPP="$ac_cv_prog_CPP"
9251else
9252 ac_cv_prog_CPP="$CPP"
9253fi
9254echo "$ac_t""$CPP" 1>&6
9255
9256if test $ac_cv_prog_gcc = yes; then
9257 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
9258echo "configure:9259: checking whether ${CC-cc} needs -traditional" >&5
9259if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
9260 echo $ac_n "(cached) $ac_c" 1>&6
9261else
9262 ac_pattern="Autoconf.*'x'"
9263 cat > conftest.$ac_ext <<EOF
9264#line 9265 "configure"
9265#include "confdefs.h"
9266#include <sgtty.h>
9267Autoconf TIOCGETP
9268EOF
9269if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9270 egrep "$ac_pattern" >/dev/null 2>&1; then
9271 rm -rf conftest*
9272 ac_cv_prog_gcc_traditional=yes
9273else
9274 rm -rf conftest*
9275 ac_cv_prog_gcc_traditional=no
9276fi
9277rm -f conftest*
9278
9279
9280 if test $ac_cv_prog_gcc_traditional = no; then
9281 cat > conftest.$ac_ext <<EOF
9282#line 9283 "configure"
9283#include "confdefs.h"
9284#include <termio.h>
9285Autoconf TCGETA
9286EOF
9287if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9288 egrep "$ac_pattern" >/dev/null 2>&1; then
9289 rm -rf conftest*
9290 ac_cv_prog_gcc_traditional=yes
9291fi
9292rm -f conftest*
9293
9294 fi
9295fi
9296
9297echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
9298 if test $ac_cv_prog_gcc_traditional = yes; then
9299 CC="$CC -traditional"
9300 fi
9301fi
9302
9303
9304
9305ac_ext=C
9306# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9307ac_cpp='$CXXCPP $CPPFLAGS'
9308ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9309ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9310cross_compiling=$ac_cv_prog_cxx_cross
9311
9312
9313CXXFLAGS=${CXXFLAGS:=}
9314for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
9315do
9316# Extract the first word of "$ac_prog", so it can be a program name with args.
9317set dummy $ac_prog; ac_word=$2
9318echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9319echo "configure:9320: checking for $ac_word" >&5
9320if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
9321 echo $ac_n "(cached) $ac_c" 1>&6
9322else
9323 if test -n "$CXX"; then
9324 ac_cv_prog_CXX="$CXX" # Let the user override the test.
9325else
9326 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9327 ac_dummy="$PATH"
9328 for ac_dir in $ac_dummy; do
9329 test -z "$ac_dir" && ac_dir=.
9330 if test -f $ac_dir/$ac_word; then
9331 ac_cv_prog_CXX="$ac_prog"
9332 break
9333 fi
9334 done
9335 IFS="$ac_save_ifs"
9336fi
9337fi
9338CXX="$ac_cv_prog_CXX"
9339if test -n "$CXX"; then
9340 echo "$ac_t""$CXX" 1>&6
9341else
9342 echo "$ac_t""no" 1>&6
9343fi
9344
9345test -n "$CXX" && break
9346done
9347test -n "$CXX" || CXX="gcc"
9348
9349
9350echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9351echo "configure:9352: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9352
9353ac_ext=C
9354# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9355ac_cpp='$CXXCPP $CPPFLAGS'
9356ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9357ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9358cross_compiling=$ac_cv_prog_cxx_cross
9359
9360cat > conftest.$ac_ext << EOF
9361
9362#line 9363 "configure"
9363#include "confdefs.h"
9364
9365int main(){return(0);}
9366EOF
9367if { (eval echo configure:9368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9368 ac_cv_prog_cxx_works=yes
9369 # If we can't run a trivial program, we are probably using a cross compiler.
9370 if (./conftest; exit) 2>/dev/null; then
9371 ac_cv_prog_cxx_cross=no
9372 else
9373 ac_cv_prog_cxx_cross=yes
9374 fi
9375else
9376 echo "configure: failed program was:" >&5
9377 cat conftest.$ac_ext >&5
9378 ac_cv_prog_cxx_works=no
9379fi
9380rm -fr conftest*
9381ac_ext=C
9382# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9383ac_cpp='$CXXCPP $CPPFLAGS'
9384ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9385ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9386cross_compiling=$ac_cv_prog_cxx_cross
9387
9388echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9389if test $ac_cv_prog_cxx_works = no; then
9390 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9391fi
9392echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9393echo "configure:9394: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9394echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9395cross_compiling=$ac_cv_prog_cxx_cross
9396
9397echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9398echo "configure:9399: checking whether we are using GNU C++" >&5
9399if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9400 echo $ac_n "(cached) $ac_c" 1>&6
9401else
9402 cat > conftest.C <<EOF
9403#ifdef __GNUC__
9404 yes;
9405#endif
9406EOF
9407if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:9408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
9408 ac_cv_prog_gxx=yes
9409else
9410 ac_cv_prog_gxx=no
9411fi
9412fi
9413
9414echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9415
9416if test $ac_cv_prog_gxx = yes; then
9417 GXX=yes
9418else
9419 GXX=
9420fi
9421
9422ac_test_CXXFLAGS="${CXXFLAGS+set}"
9423ac_save_CXXFLAGS="$CXXFLAGS"
9424CXXFLAGS=
9425echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9426echo "configure:9427: checking whether ${CXX-g++} accepts -g" >&5
9427if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9428 echo $ac_n "(cached) $ac_c" 1>&6
9429else
9430 echo 'void f(){}' > conftest.cc
9431if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9432 ac_cv_prog_cxx_g=yes
9433else
9434 ac_cv_prog_cxx_g=no
9435fi
9436rm -f conftest*
9437
9438fi
9439
9440echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9441if test "$ac_test_CXXFLAGS" = set; then
9442 CXXFLAGS="$ac_save_CXXFLAGS"
9443elif test $ac_cv_prog_cxx_g = yes; then
9444 if test "$GXX" = yes; then
9445 CXXFLAGS="-g -O2"
9446 else
9447 CXXFLAGS="-g"
9448 fi
9449else
9450 if test "$GXX" = yes; then
9451 CXXFLAGS="-O2"
9452 else
9453 CXXFLAGS=
9454 fi
9455fi
9456
9457
9458ac_ext=c
9459# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9460ac_cpp='$CPP $CPPFLAGS'
9461ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9462ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9463cross_compiling=$ac_cv_prog_cc_cross
9464
9465
9466# Extract the first word of "ranlib", so it can be a program name with args.
9467set dummy ranlib; ac_word=$2
9468echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9469echo "configure:9470: checking for $ac_word" >&5
9470if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9471 echo $ac_n "(cached) $ac_c" 1>&6
9472else
9473 if test -n "$RANLIB"; then
9474 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9475else
9476 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9477 ac_dummy="$PATH"
9478 for ac_dir in $ac_dummy; do
9479 test -z "$ac_dir" && ac_dir=.
9480 if test -f $ac_dir/$ac_word; then
9481 ac_cv_prog_RANLIB="ranlib"
9482 break
9483 fi
9484 done
9485 IFS="$ac_save_ifs"
9486 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
9487fi
9488fi
9489RANLIB="$ac_cv_prog_RANLIB"
9490if test -n "$RANLIB"; then
9491 echo "$ac_t""$RANLIB" 1>&6
9492else
9493 echo "$ac_t""no" 1>&6
9494fi
9495
9496
9497# Extract the first word of "ar", so it can be a program name with args.
9498set dummy ar; ac_word=$2
9499echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9500echo "configure:9501: checking for $ac_word" >&5
9501if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9502 echo $ac_n "(cached) $ac_c" 1>&6
9503else
9504 if test -n "$AR"; then
9505 ac_cv_prog_AR="$AR" # Let the user override the test.
9506else
9507 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9508 ac_dummy="$PATH"
9509 for ac_dir in $ac_dummy; do
9510 test -z "$ac_dir" && ac_dir=.
9511 if test -f $ac_dir/$ac_word; then
9512 ac_cv_prog_AR="ar"
9513 break
9514 fi
9515 done
9516 IFS="$ac_save_ifs"
9517 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
9518fi
9519fi
9520AR="$ac_cv_prog_AR"
9521if test -n "$AR"; then
9522 echo "$ac_t""$AR" 1>&6
9523else
9524 echo "$ac_t""no" 1>&6
9525fi
9526
9527
9528# Find a good install program. We prefer a C program (faster),
9529# so one script is as good as another. But avoid the broken or
9530# incompatible versions:
9531# SysV /etc/install, /usr/sbin/install
9532# SunOS /usr/etc/install
9533# IRIX /sbin/install
9534# AIX /bin/install
9535# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9536# AFS /usr/afsws/bin/install, which mishandles nonexistent args
9537# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9538# ./install, which can be erroneously created by make from ./install.sh.
9539echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9540echo "configure:9541: checking for a BSD compatible install" >&5
9541if test -z "$INSTALL"; then
9542if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9543 echo $ac_n "(cached) $ac_c" 1>&6
9544else
9545 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
9546 for ac_dir in $PATH; do
9547 # Account for people who put trailing slashes in PATH elements.
9548 case "$ac_dir/" in
9549 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
9550 *)
9551 # OSF1 and SCO ODT 3.0 have their own names for install.
9552 # Don't use installbsd from OSF since it installs stuff as root
9553 # by default.
9554 for ac_prog in ginstall scoinst install; do
9555 if test -f $ac_dir/$ac_prog; then
9556 if test $ac_prog = install &&
9557 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
9558 # AIX install. It has an incompatible calling convention.
9559 :
9560 else
9561 ac_cv_path_install="$ac_dir/$ac_prog -c"
9562 break 2
9563 fi
9564 fi
9565 done
9566 ;;
9567 esac
9568 done
9569 IFS="$ac_save_IFS"
9570
9571fi
9572 if test "${ac_cv_path_install+set}" = set; then
9573 INSTALL="$ac_cv_path_install"
9574 else
9575 # As a last resort, use the slow shell script. We don't cache a
9576 # path for INSTALL within a source directory, because that will
9577 # break other packages using the cache if that directory is
9578 # removed, or if the path is relative.
9579 INSTALL="$ac_install_sh"
9580 fi
9581fi
9582echo "$ac_t""$INSTALL" 1>&6
9583
9584# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9585# It thinks the first close brace ends the variable substitution.
9586test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
9587
9588test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
9589
9590test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
9591
9592
9593case ${INSTALL} in
9594 /* ) # Absolute
9595 ;;
9596 *)
9597 INSTALL=`pwd`/${INSTALL} ;;
9598esac
9599
9600
9601case "${host}" in
9602
9603 powerpc-*-darwin* )
9604 INSTALL_PROGRAM="cp -fp"
9605 INSTALL_DATA="cp -fp"
9606 ;;
9607 *)
9608 ;;
9609esac
9610
9611# Extract the first word of "strip", so it can be a program name with args.
9612set dummy strip; ac_word=$2
9613echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9614echo "configure:9615: checking for $ac_word" >&5
9615if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9616 echo $ac_n "(cached) $ac_c" 1>&6
9617else
9618 if test -n "$STRIP"; then
9619 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9620else
9621 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9622 ac_dummy="$PATH"
9623 for ac_dir in $ac_dummy; do
9624 test -z "$ac_dir" && ac_dir=.
9625 if test -f $ac_dir/$ac_word; then
9626 ac_cv_prog_STRIP="strip"
9627 break
9628 fi
9629 done
9630 IFS="$ac_save_ifs"
9631 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
9632fi
9633fi
9634STRIP="$ac_cv_prog_STRIP"
9635if test -n "$STRIP"; then
9636 echo "$ac_t""$STRIP" 1>&6
9637else
9638 echo "$ac_t""no" 1>&6
9639fi
9640
9641
9642echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9643echo "configure:9644: checking if make is GNU make" >&5
9644if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9645 echo $ac_n "(cached) $ac_c" 1>&6
9646else
9647
9648 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
9649 egrep -s GNU > /dev/null); then
9650 wx_cv_prog_makeisgnu="yes"
9651 else
9652 wx_cv_prog_makeisgnu="no"
9653 fi
9654
9655fi
9656
9657echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9658
9659if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9660 IF_GNU_MAKE=""
9661else
9662 IF_GNU_MAKE="#"
9663fi
9664
9665
9666
9667if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9668echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9669echo "configure:9670: checking if make supports VPATH" >&5
9670if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9671 echo $ac_n "(cached) $ac_c" 1>&6
9672else
9673
9674cat - << EOF > confMake
9675check : file
9676 cp \$? \$@
9677 cp \$? final_file
9678EOF
9679
9680if test ! -d sub ; then
9681 mkdir sub
9682fi
9683echo dummy > sub/file
9684${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
9685RESULT=$?
9686rm -f sub/file check final_file confMake
9687rmdir sub
9688if test "$RESULT" = 0; then
9689 wx_cv_prog_makevpath="yes"
9690else
9691 wx_cv_prog_makevpath="no"
9692fi
9693
9694fi
9695
9696echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9697
9698if test "x$wx_cv_prog_makevpath" != "xyes"; then
9699{ echo "configure: error:
9700You need a make-utility that is able to use the variable
9701VPATH correctly.
9702If your version of make does not support VPATH correctly,
9703please install GNU-make (possibly as gmake), and start
9704configure with the following command:
9705export MAKE=gmake; ./configure for sh-type shells
9706setenv MAKE gmake; ./configure for csh-type shells
9707Also please do remember to use gmake in this case every time
9708you are trying to compile.
9709" 1>&2; exit 1; }
9710fi fi
9711for ac_prog in 'bison -y' byacc
9712do
9713# Extract the first word of "$ac_prog", so it can be a program name with args.
9714set dummy $ac_prog; ac_word=$2
9715echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9716echo "configure:9717: checking for $ac_word" >&5
9717if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9718 echo $ac_n "(cached) $ac_c" 1>&6
9719else
9720 if test -n "$YACC"; then
9721 ac_cv_prog_YACC="$YACC" # Let the user override the test.
9722else
9723 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9724 ac_dummy="$PATH"
9725 for ac_dir in $ac_dummy; do
9726 test -z "$ac_dir" && ac_dir=.
9727 if test -f $ac_dir/$ac_word; then
9728 ac_cv_prog_YACC="$ac_prog"
9729 break
9730 fi
9731 done
9732 IFS="$ac_save_ifs"
9733fi
9734fi
9735YACC="$ac_cv_prog_YACC"
9736if test -n "$YACC"; then
9737 echo "$ac_t""$YACC" 1>&6
9738else
9739 echo "$ac_t""no" 1>&6
9740fi
9741
9742test -n "$YACC" && break
9743done
9744test -n "$YACC" || YACC="yacc"
9745
9746
9747# Extract the first word of "flex", so it can be a program name with args.
9748set dummy flex; ac_word=$2
9749echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9750echo "configure:9751: checking for $ac_word" >&5
9751if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9752 echo $ac_n "(cached) $ac_c" 1>&6
9753else
9754 if test -n "$LEX"; then
9755 ac_cv_prog_LEX="$LEX" # Let the user override the test.
9756else
9757 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9758 ac_dummy="$PATH"
9759 for ac_dir in $ac_dummy; do
9760 test -z "$ac_dir" && ac_dir=.
9761 if test -f $ac_dir/$ac_word; then
9762 ac_cv_prog_LEX="flex"
9763 break
9764 fi
9765 done
9766 IFS="$ac_save_ifs"
9767 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"
9768fi
9769fi
9770LEX="$ac_cv_prog_LEX"
9771if test -n "$LEX"; then
9772 echo "$ac_t""$LEX" 1>&6
9773else
9774 echo "$ac_t""no" 1>&6
9775fi
9776
9777if test -z "$LEXLIB"
9778then
9779 case "$LEX" in
9780 flex*) ac_lib=fl ;;
9781 *) ac_lib=l ;;
9782 esac
9783 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9784echo "configure:9785: checking for yywrap in -l$ac_lib" >&5
9785ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9786if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9787 echo $ac_n "(cached) $ac_c" 1>&6
9788else
9789 ac_save_LIBS="$LIBS"
9790LIBS="-l$ac_lib $LIBS"
9791cat > conftest.$ac_ext <<EOF
9792#line 9793 "configure"
9793#include "confdefs.h"
9794/* Override any gcc2 internal prototype to avoid an error. */
9795/* We use char because int might match the return type of a gcc2
9796 builtin and then its argument prototype would still apply. */
9797char yywrap();
9798
9799int main() {
9800yywrap()
9801; return 0; }
9802EOF
9803if { (eval echo configure:9804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9804 rm -rf conftest*
9805 eval "ac_cv_lib_$ac_lib_var=yes"
9806else
9807 echo "configure: failed program was:" >&5
9808 cat conftest.$ac_ext >&5
9809 rm -rf conftest*
9810 eval "ac_cv_lib_$ac_lib_var=no"
9811fi
9812rm -f conftest*
9813LIBS="$ac_save_LIBS"
9814
9815fi
9816if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9817 echo "$ac_t""yes" 1>&6
9818 LEXLIB="-l$ac_lib"
9819else
9820 echo "$ac_t""no" 1>&6
9821fi
9822
9823fi
9824
9825
9826echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9827echo "configure:9828: checking whether ln -s works" >&5
9828if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9829 echo $ac_n "(cached) $ac_c" 1>&6
9830else
9831 rm -f conftestdata
9832if ln -s X conftestdata 2>/dev/null
9833then
9834 rm -f conftestdata
9835 ac_cv_prog_LN_S="ln -s"
9836else
9837 ac_cv_prog_LN_S=ln
9838fi
9839fi
9840LN_S="$ac_cv_prog_LN_S"
9841if test "$ac_cv_prog_LN_S" = "ln -s"; then
9842 echo "$ac_t""yes" 1>&6
9843else
9844 echo "$ac_t""no" 1>&6
9845fi
9846
9847
9848case "${host}" in
9849 *-pc-os2_emx | *-pc-os2-emx )
9850 LIBS="$LIBS -lstdcpp"
9851 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
9852 echo $ac_n "checking for drand48 in -lcExt""... $ac_c" 1>&6
9853echo "configure:9854: checking for drand48 in -lcExt" >&5
9854ac_lib_var=`echo cExt'_'drand48 | sed 'y%./+-%__p_%'`
9855if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9856 echo $ac_n "(cached) $ac_c" 1>&6
9857else
9858 ac_save_LIBS="$LIBS"
9859LIBS="-lcExt $LIBS"
9860cat > conftest.$ac_ext <<EOF
9861#line 9862 "configure"
9862#include "confdefs.h"
9863/* Override any gcc2 internal prototype to avoid an error. */
9864/* We use char because int might match the return type of a gcc2
9865 builtin and then its argument prototype would still apply. */
9866char drand48();
9867
9868int main() {
9869drand48()
9870; return 0; }
9871EOF
9872if { (eval echo configure:9873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9873 rm -rf conftest*
9874 eval "ac_cv_lib_$ac_lib_var=yes"
9875else
9876 echo "configure: failed program was:" >&5
9877 cat conftest.$ac_ext >&5
9878 rm -rf conftest*
9879 eval "ac_cv_lib_$ac_lib_var=no"
9880fi
9881rm -f conftest*
9882LIBS="$ac_save_LIBS"
9883
9884fi
9885if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9886 echo "$ac_t""yes" 1>&6
9887 LIBS="$LIBS -lcExt"
9888else
9889 echo "$ac_t""no" 1>&6
9890fi
9891
9892 else
9893 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
9894 fi
9895 ;;
9896esac
9897
9898
9899if test "$wxUSE_MAC" != 1; then
9900 for ac_hdr in strings.h
9901do
9902ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9903echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9904echo "configure:9905: checking for $ac_hdr" >&5
9905if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9906 echo $ac_n "(cached) $ac_c" 1>&6
9907else
9908 cat > conftest.$ac_ext <<EOF
9909#line 9910 "configure"
9910#include "confdefs.h"
9911#include <$ac_hdr>
9912EOF
9913ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9914{ (eval echo configure:9915: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9915ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9916if test -z "$ac_err"; then
9917 rm -rf conftest*
9918 eval "ac_cv_header_$ac_safe=yes"
9919else
9920 echo "$ac_err" >&5
9921 echo "configure: failed program was:" >&5
9922 cat conftest.$ac_ext >&5
9923 rm -rf conftest*
9924 eval "ac_cv_header_$ac_safe=no"
9925fi
9926rm -f conftest*
9927fi
9928if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9929 echo "$ac_t""yes" 1>&6
9930 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9931 cat >> confdefs.h <<EOF
9932#define $ac_tr_hdr 1
9933EOF
9934
9935else
9936 echo "$ac_t""no" 1>&6
9937fi
9938done
9939
9940fi
9941
9942for ac_hdr in stdlib.h
9943do
9944ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9945echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9946echo "configure:9947: checking for $ac_hdr" >&5
9947if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9948 echo $ac_n "(cached) $ac_c" 1>&6
9949else
9950 cat > conftest.$ac_ext <<EOF
9951#line 9952 "configure"
9952#include "confdefs.h"
9953#include <$ac_hdr>
9954EOF
9955ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9956{ (eval echo configure:9957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9957ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9958if test -z "$ac_err"; then
9959 rm -rf conftest*
9960 eval "ac_cv_header_$ac_safe=yes"
9961else
9962 echo "$ac_err" >&5
9963 echo "configure: failed program was:" >&5
9964 cat conftest.$ac_ext >&5
9965 rm -rf conftest*
9966 eval "ac_cv_header_$ac_safe=no"
9967fi
9968rm -f conftest*
9969fi
9970if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9971 echo "$ac_t""yes" 1>&6
9972 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9973 cat >> confdefs.h <<EOF
9974#define $ac_tr_hdr 1
9975EOF
9976
9977else
9978 echo "$ac_t""no" 1>&6
9979fi
9980done
9981
9982for ac_hdr in malloc.h
9983do
9984ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9985echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9986echo "configure:9987: checking for $ac_hdr" >&5
9987if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9988 echo $ac_n "(cached) $ac_c" 1>&6
9989else
9990 cat > conftest.$ac_ext <<EOF
9991#line 9992 "configure"
9992#include "confdefs.h"
9993#include <$ac_hdr>
9994EOF
9995ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9996{ (eval echo configure:9997: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9997ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9998if test -z "$ac_err"; then
9999 rm -rf conftest*
10000 eval "ac_cv_header_$ac_safe=yes"
10001else
10002 echo "$ac_err" >&5
10003 echo "configure: failed program was:" >&5
10004 cat conftest.$ac_ext >&5
10005 rm -rf conftest*
10006 eval "ac_cv_header_$ac_safe=no"
10007fi
10008rm -f conftest*
10009fi
10010if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10011 echo "$ac_t""yes" 1>&6
10012 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10013 cat >> confdefs.h <<EOF
10014#define $ac_tr_hdr 1
10015EOF
10016
10017else
10018 echo "$ac_t""no" 1>&6
10019fi
10020done
10021
10022for ac_hdr in unistd.h
10023do
10024ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10025echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10026echo "configure:10027: checking for $ac_hdr" >&5
10027if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10028 echo $ac_n "(cached) $ac_c" 1>&6
10029else
10030 cat > conftest.$ac_ext <<EOF
10031#line 10032 "configure"
10032#include "confdefs.h"
10033#include <$ac_hdr>
10034EOF
10035ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10036{ (eval echo configure:10037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10037ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10038if test -z "$ac_err"; then
10039 rm -rf conftest*
10040 eval "ac_cv_header_$ac_safe=yes"
10041else
10042 echo "$ac_err" >&5
10043 echo "configure: failed program was:" >&5
10044 cat conftest.$ac_ext >&5
10045 rm -rf conftest*
10046 eval "ac_cv_header_$ac_safe=no"
10047fi
10048rm -f conftest*
10049fi
10050if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10051 echo "$ac_t""yes" 1>&6
10052 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10053 cat >> confdefs.h <<EOF
10054#define $ac_tr_hdr 1
10055EOF
10056
10057else
10058 echo "$ac_t""no" 1>&6
10059fi
10060done
10061
10062for ac_hdr in wchar.h
10063do
10064ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10065echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10066echo "configure:10067: checking for $ac_hdr" >&5
10067if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10068 echo $ac_n "(cached) $ac_c" 1>&6
10069else
10070 cat > conftest.$ac_ext <<EOF
10071#line 10072 "configure"
10072#include "confdefs.h"
10073#include <$ac_hdr>
10074EOF
10075ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10076{ (eval echo configure:10077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10077ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10078if test -z "$ac_err"; then
10079 rm -rf conftest*
10080 eval "ac_cv_header_$ac_safe=yes"
10081else
10082 echo "$ac_err" >&5
10083 echo "configure: failed program was:" >&5
10084 cat conftest.$ac_ext >&5
10085 rm -rf conftest*
10086 eval "ac_cv_header_$ac_safe=no"
10087fi
10088rm -f conftest*
10089fi
10090if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10091 echo "$ac_t""yes" 1>&6
10092 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10093 cat >> confdefs.h <<EOF
10094#define $ac_tr_hdr 1
10095EOF
10096
10097else
10098 echo "$ac_t""no" 1>&6
10099fi
10100done
10101
10102
10103if test "$ac_cv_header_wchar_h" != "yes"; then
10104 for ac_hdr in wcstr.h
10105do
10106ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10107echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10108echo "configure:10109: checking for $ac_hdr" >&5
10109if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10110 echo $ac_n "(cached) $ac_c" 1>&6
10111else
10112 cat > conftest.$ac_ext <<EOF
10113#line 10114 "configure"
10114#include "confdefs.h"
10115#include <$ac_hdr>
10116EOF
10117ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10118{ (eval echo configure:10119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10119ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10120if test -z "$ac_err"; then
10121 rm -rf conftest*
10122 eval "ac_cv_header_$ac_safe=yes"
10123else
10124 echo "$ac_err" >&5
10125 echo "configure: failed program was:" >&5
10126 cat conftest.$ac_ext >&5
10127 rm -rf conftest*
10128 eval "ac_cv_header_$ac_safe=no"
10129fi
10130rm -f conftest*
10131fi
10132if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10133 echo "$ac_t""yes" 1>&6
10134 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10135 cat >> confdefs.h <<EOF
10136#define $ac_tr_hdr 1
10137EOF
10138
10139else
10140 echo "$ac_t""no" 1>&6
10141fi
10142done
10143
10144fi
10145
10146for ac_hdr in fnmatch.h
10147do
10148ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10149echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10150echo "configure:10151: checking for $ac_hdr" >&5
10151if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10152 echo $ac_n "(cached) $ac_c" 1>&6
10153else
10154 cat > conftest.$ac_ext <<EOF
10155#line 10156 "configure"
10156#include "confdefs.h"
10157#include <$ac_hdr>
10158EOF
10159ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10160{ (eval echo configure:10161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10161ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10162if test -z "$ac_err"; then
10163 rm -rf conftest*
10164 eval "ac_cv_header_$ac_safe=yes"
10165else
10166 echo "$ac_err" >&5
10167 echo "configure: failed program was:" >&5
10168 cat conftest.$ac_ext >&5
10169 rm -rf conftest*
10170 eval "ac_cv_header_$ac_safe=no"
10171fi
10172rm -f conftest*
10173fi
10174if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10175 echo "$ac_t""yes" 1>&6
10176 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10177 cat >> confdefs.h <<EOF
10178#define $ac_tr_hdr 1
10179EOF
10180
10181else
10182 echo "$ac_t""no" 1>&6
10183fi
10184done
10185
10186
10187if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
10188 for ac_func in fnmatch
10189do
10190echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10191echo "configure:10192: checking for $ac_func" >&5
10192if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10193 echo $ac_n "(cached) $ac_c" 1>&6
10194else
10195 cat > conftest.$ac_ext <<EOF
10196#line 10197 "configure"
10197#include "confdefs.h"
10198/* System header to define __stub macros and hopefully few prototypes,
10199 which can conflict with char $ac_func(); below. */
10200#include <assert.h>
10201/* Override any gcc2 internal prototype to avoid an error. */
10202/* We use char because int might match the return type of a gcc2
10203 builtin and then its argument prototype would still apply. */
10204char $ac_func();
10205
10206int main() {
10207
10208/* The GNU C library defines this for functions which it implements
10209 to always fail with ENOSYS. Some functions are actually named
10210 something starting with __ and the normal name is an alias. */
10211#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10212choke me
10213#else
10214$ac_func();
10215#endif
10216
10217; return 0; }
10218EOF
10219if { (eval echo configure:10220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10220 rm -rf conftest*
10221 eval "ac_cv_func_$ac_func=yes"
10222else
10223 echo "configure: failed program was:" >&5
10224 cat conftest.$ac_ext >&5
10225 rm -rf conftest*
10226 eval "ac_cv_func_$ac_func=no"
10227fi
10228rm -f conftest*
10229fi
10230
10231if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10232 echo "$ac_t""yes" 1>&6
10233 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10234 cat >> confdefs.h <<EOF
10235#define $ac_tr_func 1
10236EOF
10237
10238else
10239 echo "$ac_t""no" 1>&6
10240fi
10241done
10242
10243fi
10244
10245for ac_hdr in langinfo.h
10246do
10247ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10248echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10249echo "configure:10250: checking for $ac_hdr" >&5
10250if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10251 echo $ac_n "(cached) $ac_c" 1>&6
10252else
10253 cat > conftest.$ac_ext <<EOF
10254#line 10255 "configure"
10255#include "confdefs.h"
10256#include <$ac_hdr>
10257EOF
10258ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10259{ (eval echo configure:10260: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10260ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10261if test -z "$ac_err"; then
10262 rm -rf conftest*
10263 eval "ac_cv_header_$ac_safe=yes"
10264else
10265 echo "$ac_err" >&5
10266 echo "configure: failed program was:" >&5
10267 cat conftest.$ac_ext >&5
10268 rm -rf conftest*
10269 eval "ac_cv_header_$ac_safe=no"
10270fi
10271rm -f conftest*
10272fi
10273if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10274 echo "$ac_t""yes" 1>&6
10275 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10276 cat >> confdefs.h <<EOF
10277#define $ac_tr_hdr 1
10278EOF
10279
10280else
10281 echo "$ac_t""no" 1>&6
10282fi
10283done
10284
10285
10286if test "$wxUSE_GUI" = "yes"; then
10287 if test "$wxUSE_UNIX" = "yes"; then
10288 for ac_hdr in X11/XKBlib.h
10289do
10290ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10291echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10292echo "configure:10293: checking for $ac_hdr" >&5
10293if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10294 echo $ac_n "(cached) $ac_c" 1>&6
10295else
10296 cat > conftest.$ac_ext <<EOF
10297#line 10298 "configure"
10298#include "confdefs.h"
10299#include <$ac_hdr>
10300EOF
10301ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10302{ (eval echo configure:10303: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10303ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10304if test -z "$ac_err"; then
10305 rm -rf conftest*
10306 eval "ac_cv_header_$ac_safe=yes"
10307else
10308 echo "$ac_err" >&5
10309 echo "configure: failed program was:" >&5
10310 cat conftest.$ac_ext >&5
10311 rm -rf conftest*
10312 eval "ac_cv_header_$ac_safe=no"
10313fi
10314rm -f conftest*
10315fi
10316if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10317 echo "$ac_t""yes" 1>&6
10318 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10319 cat >> confdefs.h <<EOF
10320#define $ac_tr_hdr 1
10321EOF
10322
10323else
10324 echo "$ac_t""no" 1>&6
10325fi
10326done
10327
10328 fi
10329fi
10330
10331
10332echo $ac_n "checking for working const""... $ac_c" 1>&6
10333echo "configure:10334: checking for working const" >&5
10334if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
10335 echo $ac_n "(cached) $ac_c" 1>&6
10336else
10337 cat > conftest.$ac_ext <<EOF
10338#line 10339 "configure"
10339#include "confdefs.h"
10340
10341int main() {
10342
10343/* Ultrix mips cc rejects this. */
10344typedef int charset[2]; const charset x;
10345/* SunOS 4.1.1 cc rejects this. */
10346char const *const *ccp;
10347char **p;
10348/* NEC SVR4.0.2 mips cc rejects this. */
10349struct point {int x, y;};
10350static struct point const zero = {0,0};
10351/* AIX XL C 1.02.0.0 rejects this.
10352 It does not let you subtract one const X* pointer from another in an arm
10353 of an if-expression whose if-part is not a constant expression */
10354const char *g = "string";
10355ccp = &g + (g ? g-g : 0);
10356/* HPUX 7.0 cc rejects these. */
10357++ccp;
10358p = (char**) ccp;
10359ccp = (char const *const *) p;
10360{ /* SCO 3.2v4 cc rejects this. */
10361 char *t;
10362 char const *s = 0 ? (char *) 0 : (char const *) 0;
10363
10364 *t++ = 0;
10365}
10366{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10367 int x[] = {25, 17};
10368 const int *foo = &x[0];
10369 ++foo;
10370}
10371{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10372 typedef const int *iptr;
10373 iptr p = 0;
10374 ++p;
10375}
10376{ /* AIX XL C 1.02.0.0 rejects this saying
10377 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10378 struct s { int j; const int *ap[3]; };
10379 struct s *b; b->j = 5;
10380}
10381{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10382 const int foo = 10;
10383}
10384
10385; return 0; }
10386EOF
10387if { (eval echo configure:10388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10388 rm -rf conftest*
10389 ac_cv_c_const=yes
10390else
10391 echo "configure: failed program was:" >&5
10392 cat conftest.$ac_ext >&5
10393 rm -rf conftest*
10394 ac_cv_c_const=no
10395fi
10396rm -f conftest*
10397fi
10398
10399echo "$ac_t""$ac_cv_c_const" 1>&6
10400if test $ac_cv_c_const = no; then
10401 cat >> confdefs.h <<\EOF
10402#define const
10403EOF
10404
10405fi
10406
10407echo $ac_n "checking for inline""... $ac_c" 1>&6
10408echo "configure:10409: checking for inline" >&5
10409if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10410 echo $ac_n "(cached) $ac_c" 1>&6
10411else
10412 ac_cv_c_inline=no
10413for ac_kw in inline __inline__ __inline; do
10414 cat > conftest.$ac_ext <<EOF
10415#line 10416 "configure"
10416#include "confdefs.h"
10417
10418int main() {
10419} $ac_kw foo() {
10420; return 0; }
10421EOF
10422if { (eval echo configure:10423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10423 rm -rf conftest*
10424 ac_cv_c_inline=$ac_kw; break
10425else
10426 echo "configure: failed program was:" >&5
10427 cat conftest.$ac_ext >&5
10428fi
10429rm -f conftest*
10430done
10431
10432fi
10433
10434echo "$ac_t""$ac_cv_c_inline" 1>&6
10435case "$ac_cv_c_inline" in
10436 inline | yes) ;;
10437 no) cat >> confdefs.h <<\EOF
10438#define inline
10439EOF
10440 ;;
10441 *) cat >> confdefs.h <<EOF
10442#define inline $ac_cv_c_inline
10443EOF
10444 ;;
10445esac
10446
10447
10448echo $ac_n "checking size of char""... $ac_c" 1>&6
10449echo "configure:10450: checking size of char" >&5
10450if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10451 echo $ac_n "(cached) $ac_c" 1>&6
10452else
10453 if test "$cross_compiling" = yes; then
10454 ac_cv_sizeof_char=1
10455else
10456 cat > conftest.$ac_ext <<EOF
10457#line 10458 "configure"
10458#include "confdefs.h"
10459#include <stdio.h>
10460#include <sys/types.h>
10461main()
10462{
10463 FILE *f=fopen("conftestval", "w");
10464 if (!f) exit(1);
10465 fprintf(f, "%d\n", sizeof(char));
10466 exit(0);
10467}
10468EOF
10469if { (eval echo configure:10470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10470then
10471 ac_cv_sizeof_char=`cat conftestval`
10472else
10473 echo "configure: failed program was:" >&5
10474 cat conftest.$ac_ext >&5
10475 rm -fr conftest*
10476 ac_cv_sizeof_char=0
10477fi
10478rm -fr conftest*
10479fi
10480
10481fi
10482echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10483cat >> confdefs.h <<EOF
10484#define SIZEOF_CHAR $ac_cv_sizeof_char
10485EOF
10486
10487
10488echo $ac_n "checking size of short""... $ac_c" 1>&6
10489echo "configure:10490: checking size of short" >&5
10490if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10491 echo $ac_n "(cached) $ac_c" 1>&6
10492else
10493 if test "$cross_compiling" = yes; then
10494 ac_cv_sizeof_short=2
10495else
10496 cat > conftest.$ac_ext <<EOF
10497#line 10498 "configure"
10498#include "confdefs.h"
10499#include <stdio.h>
10500#include <sys/types.h>
10501main()
10502{
10503 FILE *f=fopen("conftestval", "w");
10504 if (!f) exit(1);
10505 fprintf(f, "%d\n", sizeof(short));
10506 exit(0);
10507}
10508EOF
10509if { (eval echo configure:10510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10510then
10511 ac_cv_sizeof_short=`cat conftestval`
10512else
10513 echo "configure: failed program was:" >&5
10514 cat conftest.$ac_ext >&5
10515 rm -fr conftest*
10516 ac_cv_sizeof_short=0
10517fi
10518rm -fr conftest*
10519fi
10520
10521fi
10522echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10523cat >> confdefs.h <<EOF
10524#define SIZEOF_SHORT $ac_cv_sizeof_short
10525EOF
10526
10527
10528echo $ac_n "checking size of void *""... $ac_c" 1>&6
10529echo "configure:10530: checking size of void *" >&5
10530if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10531 echo $ac_n "(cached) $ac_c" 1>&6
10532else
10533 if test "$cross_compiling" = yes; then
10534 ac_cv_sizeof_void_p=4
10535else
10536 cat > conftest.$ac_ext <<EOF
10537#line 10538 "configure"
10538#include "confdefs.h"
10539#include <stdio.h>
10540#include <sys/types.h>
10541main()
10542{
10543 FILE *f=fopen("conftestval", "w");
10544 if (!f) exit(1);
10545 fprintf(f, "%d\n", sizeof(void *));
10546 exit(0);
10547}
10548EOF
10549if { (eval echo configure:10550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10550then
10551 ac_cv_sizeof_void_p=`cat conftestval`
10552else
10553 echo "configure: failed program was:" >&5
10554 cat conftest.$ac_ext >&5
10555 rm -fr conftest*
10556 ac_cv_sizeof_void_p=0
10557fi
10558rm -fr conftest*
10559fi
10560
10561fi
10562echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10563cat >> confdefs.h <<EOF
10564#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10565EOF
10566
10567
10568echo $ac_n "checking size of int""... $ac_c" 1>&6
10569echo "configure:10570: checking size of int" >&5
10570if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10571 echo $ac_n "(cached) $ac_c" 1>&6
10572else
10573 if test "$cross_compiling" = yes; then
10574 ac_cv_sizeof_int=4
10575else
10576 cat > conftest.$ac_ext <<EOF
10577#line 10578 "configure"
10578#include "confdefs.h"
10579#include <stdio.h>
10580#include <sys/types.h>
10581main()
10582{
10583 FILE *f=fopen("conftestval", "w");
10584 if (!f) exit(1);
10585 fprintf(f, "%d\n", sizeof(int));
10586 exit(0);
10587}
10588EOF
10589if { (eval echo configure:10590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10590then
10591 ac_cv_sizeof_int=`cat conftestval`
10592else
10593 echo "configure: failed program was:" >&5
10594 cat conftest.$ac_ext >&5
10595 rm -fr conftest*
10596 ac_cv_sizeof_int=0
10597fi
10598rm -fr conftest*
10599fi
10600
10601fi
10602echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10603cat >> confdefs.h <<EOF
10604#define SIZEOF_INT $ac_cv_sizeof_int
10605EOF
10606
10607
10608echo $ac_n "checking size of long""... $ac_c" 1>&6
10609echo "configure:10610: checking size of long" >&5
10610if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10611 echo $ac_n "(cached) $ac_c" 1>&6
10612else
10613 if test "$cross_compiling" = yes; then
10614 ac_cv_sizeof_long=4
10615else
10616 cat > conftest.$ac_ext <<EOF
10617#line 10618 "configure"
10618#include "confdefs.h"
10619#include <stdio.h>
10620#include <sys/types.h>
10621main()
10622{
10623 FILE *f=fopen("conftestval", "w");
10624 if (!f) exit(1);
10625 fprintf(f, "%d\n", sizeof(long));
10626 exit(0);
10627}
10628EOF
10629if { (eval echo configure:10630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10630then
10631 ac_cv_sizeof_long=`cat conftestval`
10632else
10633 echo "configure: failed program was:" >&5
10634 cat conftest.$ac_ext >&5
10635 rm -fr conftest*
10636 ac_cv_sizeof_long=0
10637fi
10638rm -fr conftest*
10639fi
10640
10641fi
10642echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10643cat >> confdefs.h <<EOF
10644#define SIZEOF_LONG $ac_cv_sizeof_long
10645EOF
10646
10647
10648
10649case "${host}" in
10650 arm-*-linux* )
10651 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10652echo "configure:10653: checking size of long long" >&5
10653if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10654 echo $ac_n "(cached) $ac_c" 1>&6
10655else
10656 if test "$cross_compiling" = yes; then
10657 ac_cv_sizeof_long_long=8
10658else
10659 cat > conftest.$ac_ext <<EOF
10660#line 10661 "configure"
10661#include "confdefs.h"
10662#include <stdio.h>
10663#include <sys/types.h>
10664main()
10665{
10666 FILE *f=fopen("conftestval", "w");
10667 if (!f) exit(1);
10668 fprintf(f, "%d\n", sizeof(long long));
10669 exit(0);
10670}
10671EOF
10672if { (eval echo configure:10673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10673then
10674 ac_cv_sizeof_long_long=`cat conftestval`
10675else
10676 echo "configure: failed program was:" >&5
10677 cat conftest.$ac_ext >&5
10678 rm -fr conftest*
10679 ac_cv_sizeof_long_long=0
10680fi
10681rm -fr conftest*
10682fi
10683
10684fi
10685echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10686cat >> confdefs.h <<EOF
10687#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10688EOF
10689
10690
10691 ;;
10692 *-hp-hpux* )
10693 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10694echo "configure:10695: checking size of long long" >&5
10695if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10696 echo $ac_n "(cached) $ac_c" 1>&6
10697else
10698 if test "$cross_compiling" = yes; then
10699 ac_cv_sizeof_long_long=0
10700else
10701 cat > conftest.$ac_ext <<EOF
10702#line 10703 "configure"
10703#include "confdefs.h"
10704#include <stdio.h>
10705#include <sys/types.h>
10706main()
10707{
10708 FILE *f=fopen("conftestval", "w");
10709 if (!f) exit(1);
10710 fprintf(f, "%d\n", sizeof(long long));
10711 exit(0);
10712}
10713EOF
10714if { (eval echo configure:10715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10715then
10716 ac_cv_sizeof_long_long=`cat conftestval`
10717else
10718 echo "configure: failed program was:" >&5
10719 cat conftest.$ac_ext >&5
10720 rm -fr conftest*
10721 ac_cv_sizeof_long_long=0
10722fi
10723rm -fr conftest*
10724fi
10725
10726fi
10727echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10728cat >> confdefs.h <<EOF
10729#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10730EOF
10731
10732
10733 if test "$ac_cv_sizeof_long_long" != "0"; then
10734 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
10735 fi
10736 ;;
10737 * )
10738 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10739echo "configure:10740: checking size of long long" >&5
10740if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10741 echo $ac_n "(cached) $ac_c" 1>&6
10742else
10743 if test "$cross_compiling" = yes; then
10744 ac_cv_sizeof_long_long=0
10745else
10746 cat > conftest.$ac_ext <<EOF
10747#line 10748 "configure"
10748#include "confdefs.h"
10749#include <stdio.h>
10750#include <sys/types.h>
10751main()
10752{
10753 FILE *f=fopen("conftestval", "w");
10754 if (!f) exit(1);
10755 fprintf(f, "%d\n", sizeof(long long));
10756 exit(0);
10757}
10758EOF
10759if { (eval echo configure:10760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10760then
10761 ac_cv_sizeof_long_long=`cat conftestval`
10762else
10763 echo "configure: failed program was:" >&5
10764 cat conftest.$ac_ext >&5
10765 rm -fr conftest*
10766 ac_cv_sizeof_long_long=0
10767fi
10768rm -fr conftest*
10769fi
10770
10771fi
10772echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10773cat >> confdefs.h <<EOF
10774#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10775EOF
10776
10777
10778esac
10779
10780echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10781echo "configure:10782: checking size of wchar_t" >&5
10782if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10783 echo $ac_n "(cached) $ac_c" 1>&6
10784else
10785
10786 if test "$cross_compiling" = yes; then
10787
10788 case "${host}" in
10789 *-pc-msdosdjgpp )
10790 wx_cv_sizeof_wchar_t=0
10791 ;;
10792 * )
10793 wx_cv_sizeof_wchar_t=4
10794 ;;
10795 esac
10796
10797
10798else
10799 cat > conftest.$ac_ext <<EOF
10800#line 10801 "configure"
10801#include "confdefs.h"
10802
10803 /* DJGPP only has fake wchar_t: */
10804 #ifdef __DJGPP__
10805 # error "fake wchar_t"
10806 #endif
10807 #ifdef HAVE_WCHAR_H
10808 # ifdef __CYGWIN__
10809 # include <stddef.h>
10810 # endif
10811 # include <wchar.h>
10812 #endif
10813 #ifdef HAVE_STDLIB_H
10814 # include <stdlib.h>
10815 #endif
10816 #include <stdio.h>
10817 int main()
10818 {
10819 FILE *f=fopen("conftestval", "w");
10820 if (!f) exit(1);
10821 fprintf(f, "%i", sizeof(wchar_t));
10822 exit(0);
10823 }
10824
10825EOF
10826if { (eval echo configure:10827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10827then
10828 wx_cv_sizeof_wchar_t=`cat conftestval`
10829else
10830 echo "configure: failed program was:" >&5
10831 cat conftest.$ac_ext >&5
10832 rm -fr conftest*
10833 wx_cv_sizeof_wchar_t=0
10834fi
10835rm -fr conftest*
10836fi
10837
10838
10839fi
10840
10841echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10842
10843cat >> confdefs.h <<EOF
10844#define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10845EOF
10846
10847
10848# Check whether --enable-largefile or --disable-largefile was given.
10849if test "${enable_largefile+set}" = set; then
10850 enableval="$enable_largefile"
10851 :
10852fi
10853
10854if test "$enable_largefile" != no; then
10855 wx_largefile=no
10856
10857 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10858echo "configure:10859: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10859if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10860 echo $ac_n "(cached) $ac_c" 1>&6
10861else
10862
10863 cat > conftest.$ac_ext <<EOF
10864#line 10865 "configure"
10865#include "confdefs.h"
10866#define _FILE_OFFSET_BITS 64
10867 #include <sys/types.h>
10868int main() {
10869typedef struct {
10870 unsigned int field: sizeof(off_t) == 8;
10871} wxlf;
10872
10873; return 0; }
10874EOF
10875if { (eval echo configure:10876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10876 rm -rf conftest*
10877 ac_cv_sys_file_offset_bits=64
10878else
10879 echo "configure: failed program was:" >&5
10880 cat conftest.$ac_ext >&5
10881 rm -rf conftest*
10882 ac_cv_sys_file_offset_bits=no
10883fi
10884rm -f conftest*
10885
10886
10887fi
10888
10889echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10890
10891 if test "$ac_cv_sys_file_offset_bits" != no; then
10892 wx_largefile=yes
10893 cat >> confdefs.h <<EOF
10894#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10895EOF
10896
10897 fi
10898
10899 if test "x$wx_largefile" != "xyes"; then
10900
10901 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10902echo "configure:10903: checking for _LARGE_FILES value needed for large files" >&5
10903if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10904 echo $ac_n "(cached) $ac_c" 1>&6
10905else
10906
10907 cat > conftest.$ac_ext <<EOF
10908#line 10909 "configure"
10909#include "confdefs.h"
10910#define _LARGE_FILES 1
10911 #include <sys/types.h>
10912int main() {
10913typedef struct {
10914 unsigned int field: sizeof(off_t) == 8;
10915} wxlf;
10916
10917; return 0; }
10918EOF
10919if { (eval echo configure:10920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10920 rm -rf conftest*
10921 ac_cv_sys_large_files=1
10922else
10923 echo "configure: failed program was:" >&5
10924 cat conftest.$ac_ext >&5
10925 rm -rf conftest*
10926 ac_cv_sys_large_files=no
10927fi
10928rm -f conftest*
10929
10930
10931fi
10932
10933echo "$ac_t""$ac_cv_sys_large_files" 1>&6
10934
10935 if test "$ac_cv_sys_large_files" != no; then
10936 wx_largefile=yes
10937 cat >> confdefs.h <<EOF
10938#define _LARGE_FILES $ac_cv_sys_large_files
10939EOF
10940
10941 fi
10942
10943 fi
10944
10945 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
10946echo "configure:10947: checking if large file support is available" >&5
10947 if test "x$wx_largefile" = "xyes"; then
10948 cat >> confdefs.h <<\EOF
10949#define HAVE_LARGEFILE_SUPPORT 1
10950EOF
10951
10952 fi
10953 echo "$ac_t""$wx_largefile" 1>&6
10954fi
10955
10956
10957if test "x$wx_largefile" = "xyes"; then
10958 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
10959 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
10960 else
10961 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
10962 fi
10963 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
10964fi
10965
10966echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10967echo "configure:10968: checking whether byte ordering is bigendian" >&5
10968if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10969 echo $ac_n "(cached) $ac_c" 1>&6
10970else
10971 ac_cv_c_bigendian=unknown
10972# See if sys/param.h defines the BYTE_ORDER macro.
10973cat > conftest.$ac_ext <<EOF
10974#line 10975 "configure"
10975#include "confdefs.h"
10976#include <sys/types.h>
10977#include <sys/param.h>
10978int main() {
10979
10980#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10981 bogus endian macros
10982#endif
10983; return 0; }
10984EOF
10985if { (eval echo configure:10986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10986 rm -rf conftest*
10987 # It does; now see whether it defined to BIG_ENDIAN or not.
10988cat > conftest.$ac_ext <<EOF
10989#line 10990 "configure"
10990#include "confdefs.h"
10991#include <sys/types.h>
10992#include <sys/param.h>
10993int main() {
10994
10995#if BYTE_ORDER != BIG_ENDIAN
10996 not big endian
10997#endif
10998; return 0; }
10999EOF
11000if { (eval echo configure:11001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11001 rm -rf conftest*
11002 ac_cv_c_bigendian=yes
11003else
11004 echo "configure: failed program was:" >&5
11005 cat conftest.$ac_ext >&5
11006 rm -rf conftest*
11007 ac_cv_c_bigendian=no
11008fi
11009rm -f conftest*
11010else
11011 echo "configure: failed program was:" >&5
11012 cat conftest.$ac_ext >&5
11013fi
11014rm -f conftest*
11015if test $ac_cv_c_bigendian = unknown; then
11016if test "$cross_compiling" = yes; then
11017 ac_cv_c_bigendian=unknown
11018else
11019 cat > conftest.$ac_ext <<EOF
11020#line 11021 "configure"
11021#include "confdefs.h"
11022main () {
11023 /* Are we little or big endian? From Harbison&Steele. */
11024 union
11025 {
11026 long l;
11027 char c[sizeof (long)];
11028 } u;
11029 u.l = 1;
11030 exit (u.c[sizeof (long) - 1] == 1);
11031}
11032EOF
11033if { (eval echo configure:11034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11034then
11035 ac_cv_c_bigendian=no
11036else
11037 echo "configure: failed program was:" >&5
11038 cat conftest.$ac_ext >&5
11039 rm -fr conftest*
11040 ac_cv_c_bigendian=yes
11041fi
11042rm -fr conftest*
11043fi
11044
11045fi
11046fi
11047
11048echo "$ac_t""$ac_cv_c_bigendian" 1>&6
11049if test $ac_cv_c_bigendian = unknown; then
11050 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
11051fi
11052if test $ac_cv_c_bigendian = yes; then
11053 cat >> confdefs.h <<\EOF
11054#define WORDS_BIGENDIAN 1
11055EOF
11056
11057fi
11058
11059
11060echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
11061echo "configure:11062: checking how to run the C++ preprocessor" >&5
11062if test -z "$CXXCPP"; then
11063if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
11064 echo $ac_n "(cached) $ac_c" 1>&6
11065else
11066 ac_ext=C
11067# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11068ac_cpp='$CXXCPP $CPPFLAGS'
11069ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11070ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11071cross_compiling=$ac_cv_prog_cxx_cross
11072 CXXCPP="${CXX-g++} -E"
11073 cat > conftest.$ac_ext <<EOF
11074#line 11075 "configure"
11075#include "confdefs.h"
11076#include <stdlib.h>
11077EOF
11078ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11079{ (eval echo configure:11080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11080ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11081if test -z "$ac_err"; then
11082 :
11083else
11084 echo "$ac_err" >&5
11085 echo "configure: failed program was:" >&5
11086 cat conftest.$ac_ext >&5
11087 rm -rf conftest*
11088 CXXCPP=/lib/cpp
11089fi
11090rm -f conftest*
11091 ac_cv_prog_CXXCPP="$CXXCPP"
11092ac_ext=C
11093# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11094ac_cpp='$CXXCPP $CPPFLAGS'
11095ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11096ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11097cross_compiling=$ac_cv_prog_cxx_cross
11098fi
11099fi
11100CXXCPP="$ac_cv_prog_CXXCPP"
11101echo "$ac_t""$CXXCPP" 1>&6
11102
11103
11104 if test "$cross_compiling" = "yes"; then
11105 cat >> confdefs.h <<\EOF
11106#define wxUSE_IOSTREAMH 1
11107EOF
11108
11109 else
11110
11111 ac_ext=C
11112# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11113ac_cpp='$CXXCPP $CPPFLAGS'
11114ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11115ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11116cross_compiling=$ac_cv_prog_cxx_cross
11117
11118
11119 for ac_hdr in iostream
11120do
11121ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11122echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11123echo "configure:11124: checking for $ac_hdr" >&5
11124if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11125 echo $ac_n "(cached) $ac_c" 1>&6
11126else
11127 cat > conftest.$ac_ext <<EOF
11128#line 11129 "configure"
11129#include "confdefs.h"
11130#include <$ac_hdr>
11131EOF
11132ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11133{ (eval echo configure:11134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11134ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11135if test -z "$ac_err"; then
11136 rm -rf conftest*
11137 eval "ac_cv_header_$ac_safe=yes"
11138else
11139 echo "$ac_err" >&5
11140 echo "configure: failed program was:" >&5
11141 cat conftest.$ac_ext >&5
11142 rm -rf conftest*
11143 eval "ac_cv_header_$ac_safe=no"
11144fi
11145rm -f conftest*
11146fi
11147if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11148 echo "$ac_t""yes" 1>&6
11149 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11150 cat >> confdefs.h <<EOF
11151#define $ac_tr_hdr 1
11152EOF
11153
11154else
11155 echo "$ac_t""no" 1>&6
11156fi
11157done
11158
11159
11160 if test "$ac_cv_header_iostream" = "yes" ; then
11161 :
11162 else
11163 cat >> confdefs.h <<\EOF
11164#define wxUSE_IOSTREAMH 1
11165EOF
11166
11167 fi
11168
11169 ac_ext=c
11170# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11171ac_cpp='$CPP $CPPFLAGS'
11172ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11173ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11174cross_compiling=$ac_cv_prog_cc_cross
11175
11176 fi
11177
11178
11179
11180 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
11181echo "configure:11182: checking if C++ compiler supports bool" >&5
11182if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
11183 echo $ac_n "(cached) $ac_c" 1>&6
11184else
11185
11186
11187 ac_ext=C
11188# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11189ac_cpp='$CXXCPP $CPPFLAGS'
11190ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11191ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11192cross_compiling=$ac_cv_prog_cxx_cross
11193
11194
11195 cat > conftest.$ac_ext <<EOF
11196#line 11197 "configure"
11197#include "confdefs.h"
11198
11199
11200int main() {
11201
11202 bool b = true;
11203
11204 return 0;
11205
11206; return 0; }
11207EOF
11208if { (eval echo configure:11209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11209 rm -rf conftest*
11210
11211 wx_cv_cpp_bool=yes
11212
11213else
11214 echo "configure: failed program was:" >&5
11215 cat conftest.$ac_ext >&5
11216 rm -rf conftest*
11217
11218 wx_cv_cpp_bool=no
11219
11220
11221fi
11222rm -f conftest*
11223
11224 ac_ext=c
11225# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11226ac_cpp='$CPP $CPPFLAGS'
11227ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11228ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11229cross_compiling=$ac_cv_prog_cc_cross
11230
11231
11232fi
11233
11234echo "$ac_t""$wx_cv_cpp_bool" 1>&6
11235
11236 if test "$wx_cv_cpp_bool" = "yes"; then
11237 cat >> confdefs.h <<\EOF
11238#define HAVE_BOOL 1
11239EOF
11240
11241 fi
11242
11243
11244
11245 echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6
11246echo "configure:11247: checking if C++ compiler supports the explicit keyword" >&5
11247if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then
11248 echo $ac_n "(cached) $ac_c" 1>&6
11249else
11250
11251
11252 ac_ext=C
11253# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11254ac_cpp='$CXXCPP $CPPFLAGS'
11255ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11256ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11257cross_compiling=$ac_cv_prog_cxx_cross
11258
11259
11260 cat > conftest.$ac_ext <<EOF
11261#line 11262 "configure"
11262#include "confdefs.h"
11263
11264 class Foo { public: explicit Foo(int) {} };
11265
11266int main() {
11267
11268 return 0;
11269
11270; return 0; }
11271EOF
11272if { (eval echo configure:11273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11273 rm -rf conftest*
11274
11275 cat > conftest.$ac_ext <<EOF
11276#line 11277 "configure"
11277#include "confdefs.h"
11278
11279 class Foo { public: explicit Foo(int) {} };
11280 static void TakeFoo(const Foo& foo) { }
11281
11282int main() {
11283
11284 TakeFoo(17);
11285 return 0;
11286
11287; return 0; }
11288EOF
11289if { (eval echo configure:11290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11290 rm -rf conftest*
11291 wx_cv_explicit=no
11292else
11293 echo "configure: failed program was:" >&5
11294 cat conftest.$ac_ext >&5
11295 rm -rf conftest*
11296 wx_cv_explicit=yes
11297
11298fi
11299rm -f conftest*
11300
11301else
11302 echo "configure: failed program was:" >&5
11303 cat conftest.$ac_ext >&5
11304 rm -rf conftest*
11305 wx_cv_explicit=no
11306
11307fi
11308rm -f conftest*
11309
11310 ac_ext=c
11311# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11312ac_cpp='$CPP $CPPFLAGS'
11313ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11314ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11315cross_compiling=$ac_cv_prog_cc_cross
11316
11317
11318fi
11319
11320echo "$ac_t""$wx_cv_explicit" 1>&6
11321
11322 if test "$wx_cv_explicit" = "yes"; then
11323 cat >> confdefs.h <<\EOF
11324#define HAVE_EXPLICIT 1
11325EOF
11326
11327 fi
11328
11329
11330
11331SEARCH_INCLUDE="\
11332 /usr/local/include \
11333 \
11334 /usr/Motif-1.2/include \
11335 /usr/Motif-2.1/include \
11336 \
11337 /usr/include/Motif1.2 \
11338 /opt/xpm/include/X11 \
11339 /opt/GBxpm/include/ \
11340 /opt/GBxpm/X11/include/ \
11341 \
11342 /usr/Motif1.2/include \
11343 /usr/dt/include \
11344 /usr/openwin/include \
11345 \
11346 /usr/include/Xm \
11347 \
11348 /usr/X11R6/include \
11349 /usr/X11R6.4/include \
11350 /usr/X11R5/include \
11351 /usr/X11R4/include \
11352 \
11353 /usr/include/X11R6 \
11354 /usr/include/X11R5 \
11355 /usr/include/X11R4 \
11356 \
11357 /usr/local/X11R6/include \
11358 /usr/local/X11R5/include \
11359 /usr/local/X11R4/include \
11360 \
11361 /usr/local/include/X11R6 \
11362 /usr/local/include/X11R5 \
11363 /usr/local/include/X11R4 \
11364 \
11365 /usr/X11/include \
11366 /usr/include/X11 \
11367 /usr/local/X11/include \
11368 /usr/local/include/X11 \
11369 \
11370 /usr/X386/include \
11371 /usr/x386/include \
11372 /usr/XFree86/include/X11 \
11373 \
11374 X:/XFree86/include \
11375 X:/XFree86/include/X11 \
11376 \
11377 /usr/include/gtk \
11378 /usr/local/include/gtk \
11379 /usr/include/glib \
11380 /usr/local/include/glib \
11381 \
11382 /usr/include/qt \
11383 /usr/local/include/qt \
11384 \
11385 /usr/include/windows \
11386 /usr/include/wine \
11387 /usr/local/include/wine \
11388 \
11389 /usr/unsupported/include \
11390 /usr/athena/include \
11391 /usr/local/x11r5/include \
11392 /usr/lpp/Xamples/include \
11393 \
11394 /usr/openwin/share/include"
11395
11396SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
11397
11398
11399cat > confcache <<\EOF
11400# This file is a shell script that caches the results of configure
11401# tests run on this system so they can be shared between configure
11402# scripts and configure runs. It is not useful on other systems.
11403# If it contains results you don't want to keep, you may remove or edit it.
11404#
11405# By default, configure uses ./config.cache as the cache file,
11406# creating it if it does not exist already. You can give configure
11407# the --cache-file=FILE option to use a different cache file; that is
11408# what configure does when it calls configure scripts in
11409# subdirectories, so they share the cache.
11410# Giving --cache-file=/dev/null disables caching, for debugging configure.
11411# config.status only pays attention to the cache file if you give it the
11412# --recheck option to rerun configure.
11413#
11414EOF
11415# The following way of writing the cache mishandles newlines in values,
11416# but we know of no workaround that is simple, portable, and efficient.
11417# So, don't put newlines in cache variables' values.
11418# Ultrix sh set writes to stderr and can't be redirected directly,
11419# and sets the high bit in the cache file unless we assign to the vars.
11420(set) 2>&1 |
11421 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11422 *ac_space=\ *)
11423 # `set' does not quote correctly, so add quotes (double-quote substitution
11424 # turns \\\\ into \\, and sed turns \\ into \).
11425 sed -n \
11426 -e "s/'/'\\\\''/g" \
11427 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11428 ;;
11429 *)
11430 # `set' quotes correctly as required by POSIX, so do not add quotes.
11431 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11432 ;;
11433 esac >> confcache
11434if cmp -s $cache_file confcache; then
11435 :
11436else
11437 if test -w $cache_file; then
11438 echo "updating cache $cache_file"
11439 cat confcache > $cache_file
11440 else
11441 echo "not updating unwritable cache $cache_file"
11442 fi
11443fi
11444rm -f confcache
11445
11446
11447if test "$USE_LINUX" = 1; then
11448 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
11449echo "configure:11450: checking for glibc 2.1 or later" >&5
11450if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
11451 echo $ac_n "(cached) $ac_c" 1>&6
11452else
11453
11454 cat > conftest.$ac_ext <<EOF
11455#line 11456 "configure"
11456#include "confdefs.h"
11457#include <features.h>
11458int main() {
11459
11460 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
11461 #error not glibc2.1
11462 #endif
11463
11464; return 0; }
11465EOF
11466if { (eval echo configure:11467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11467 rm -rf conftest*
11468
11469 wx_cv_lib_glibc21=yes
11470
11471else
11472 echo "configure: failed program was:" >&5
11473 cat conftest.$ac_ext >&5
11474 rm -rf conftest*
11475
11476 wx_cv_lib_glibc21=no
11477
11478
11479fi
11480rm -f conftest*
11481
11482fi
11483
11484echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
11485 if test "$wx_cv_lib_glibc21" = "yes"; then
11486 cat >> confdefs.h <<\EOF
11487#define wxHAVE_GLIBC2 1
11488EOF
11489
11490 fi
11491fi
11492
11493if test "x$wx_cv_lib_glibc21" = "xyes"; then
11494 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
11495 cat >> confdefs.h <<\EOF
11496#define _GNU_SOURCE 1
11497EOF
11498
11499 fi
11500fi
11501
11502
11503
11504REGEX_INCLUDE=
11505if test "$wxUSE_REGEX" != "no"; then
11506 cat >> confdefs.h <<\EOF
11507#define wxUSE_REGEX 1
11508EOF
11509
11510
11511 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
11512 ac_safe=`echo "regex.h" | sed 'y%./+-%__p_%'`
11513echo $ac_n "checking for regex.h""... $ac_c" 1>&6
11514echo "configure:11515: checking for regex.h" >&5
11515if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11516 echo $ac_n "(cached) $ac_c" 1>&6
11517else
11518 cat > conftest.$ac_ext <<EOF
11519#line 11520 "configure"
11520#include "confdefs.h"
11521#include <regex.h>
11522EOF
11523ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11524{ (eval echo configure:11525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11525ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11526if test -z "$ac_err"; then
11527 rm -rf conftest*
11528 eval "ac_cv_header_$ac_safe=yes"
11529else
11530 echo "$ac_err" >&5
11531 echo "configure: failed program was:" >&5
11532 cat conftest.$ac_ext >&5
11533 rm -rf conftest*
11534 eval "ac_cv_header_$ac_safe=no"
11535fi
11536rm -f conftest*
11537fi
11538if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11539 echo "$ac_t""yes" 1>&6
11540 for ac_func in regcomp
11541do
11542echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11543echo "configure:11544: checking for $ac_func" >&5
11544if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11545 echo $ac_n "(cached) $ac_c" 1>&6
11546else
11547 cat > conftest.$ac_ext <<EOF
11548#line 11549 "configure"
11549#include "confdefs.h"
11550/* System header to define __stub macros and hopefully few prototypes,
11551 which can conflict with char $ac_func(); below. */
11552#include <assert.h>
11553/* Override any gcc2 internal prototype to avoid an error. */
11554/* We use char because int might match the return type of a gcc2
11555 builtin and then its argument prototype would still apply. */
11556char $ac_func();
11557
11558int main() {
11559
11560/* The GNU C library defines this for functions which it implements
11561 to always fail with ENOSYS. Some functions are actually named
11562 something starting with __ and the normal name is an alias. */
11563#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11564choke me
11565#else
11566$ac_func();
11567#endif
11568
11569; return 0; }
11570EOF
11571if { (eval echo configure:11572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11572 rm -rf conftest*
11573 eval "ac_cv_func_$ac_func=yes"
11574else
11575 echo "configure: failed program was:" >&5
11576 cat conftest.$ac_ext >&5
11577 rm -rf conftest*
11578 eval "ac_cv_func_$ac_func=no"
11579fi
11580rm -f conftest*
11581fi
11582
11583if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11584 echo "$ac_t""yes" 1>&6
11585 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11586 cat >> confdefs.h <<EOF
11587#define $ac_tr_func 1
11588EOF
11589
11590else
11591 echo "$ac_t""no" 1>&6
11592fi
11593done
11594
11595else
11596 echo "$ac_t""no" 1>&6
11597fi
11598
11599
11600 if test "x$ac_cv_func_regcomp" != "xyes"; then
11601 if test "$wxUSE_REGEX" = "sys" ; then
11602 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11603 else
11604 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11605 wxUSE_REGEX=builtin
11606 fi
11607 else
11608 wxUSE_REGEX=sys
11609 fi
11610 fi
11611
11612 if test "$wxUSE_REGEX" = "builtin" ; then
11613 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
11614 fi
11615fi
11616
11617
11618ZLIB_INCLUDE=
11619ZLIB_LINK=
11620if test "$wxUSE_ZLIB" != "no" ; then
11621 cat >> confdefs.h <<\EOF
11622#define wxUSE_ZLIB 1
11623EOF
11624
11625
11626 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11627 if test "$USE_DARWIN" = 1; then
11628 system_zlib_h_ok="yes"
11629 else
11630 echo $ac_n "checking for zlib.h >= 1.1.4""... $ac_c" 1>&6
11631echo "configure:11632: checking for zlib.h >= 1.1.4" >&5
11632if eval "test \"`echo '$''{'ac_cv_header_zlib_h'+set}'`\" = set"; then
11633 echo $ac_n "(cached) $ac_c" 1>&6
11634else
11635 if test "$cross_compiling" = yes; then
11636 unset ac_cv_header_zlib_h
11637
11638else
11639 cat > conftest.$ac_ext <<EOF
11640#line 11641 "configure"
11641#include "confdefs.h"
11642
11643 #include <zlib.h>
11644 #include <stdio.h>
11645
11646
11647 int main()
11648 {
11649 FILE *f=fopen("conftestval", "w");
11650 if (!f) exit(1);
11651 fprintf(f, "%s",
11652 ZLIB_VERSION[0] == '1' &&
11653 (ZLIB_VERSION[2] > '1' ||
11654 (ZLIB_VERSION[2] == '1' &&
11655 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
11656 exit(0);
11657 }
11658
11659
11660EOF
11661if { (eval echo configure:11662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11662then
11663 ac_cv_header_zlib_h=`cat conftestval`
11664else
11665 echo "configure: failed program was:" >&5
11666 cat conftest.$ac_ext >&5
11667 rm -fr conftest*
11668 ac_cv_header_zlib_h=no
11669fi
11670rm -fr conftest*
11671fi
11672
11673
11674fi
11675
11676echo "$ac_t""$ac_cv_header_zlib_h" 1>&6
11677 ac_safe=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11678echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11679echo "configure:11680: checking for zlib.h" >&5
11680if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11681 echo $ac_n "(cached) $ac_c" 1>&6
11682else
11683 cat > conftest.$ac_ext <<EOF
11684#line 11685 "configure"
11685#include "confdefs.h"
11686#include <zlib.h>
11687EOF
11688ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11689{ (eval echo configure:11690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11690ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11691if test -z "$ac_err"; then
11692 rm -rf conftest*
11693 eval "ac_cv_header_$ac_safe=yes"
11694else
11695 echo "$ac_err" >&5
11696 echo "configure: failed program was:" >&5
11697 cat conftest.$ac_ext >&5
11698 rm -rf conftest*
11699 eval "ac_cv_header_$ac_safe=no"
11700fi
11701rm -f conftest*
11702fi
11703if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11704 echo "$ac_t""yes" 1>&6
11705 :
11706else
11707 echo "$ac_t""no" 1>&6
11708fi
11709
11710
11711 system_zlib_h_ok=$ac_cv_header_zlib_h
11712 fi
11713
11714 if test "$system_zlib_h_ok" = "yes"; then
11715 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11716echo "configure:11717: checking for deflate in -lz" >&5
11717ac_lib_var=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11718if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11719 echo $ac_n "(cached) $ac_c" 1>&6
11720else
11721 ac_save_LIBS="$LIBS"
11722LIBS="-lz $LIBS"
11723cat > conftest.$ac_ext <<EOF
11724#line 11725 "configure"
11725#include "confdefs.h"
11726/* Override any gcc2 internal prototype to avoid an error. */
11727/* We use char because int might match the return type of a gcc2
11728 builtin and then its argument prototype would still apply. */
11729char deflate();
11730
11731int main() {
11732deflate()
11733; return 0; }
11734EOF
11735if { (eval echo configure:11736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11736 rm -rf conftest*
11737 eval "ac_cv_lib_$ac_lib_var=yes"
11738else
11739 echo "configure: failed program was:" >&5
11740 cat conftest.$ac_ext >&5
11741 rm -rf conftest*
11742 eval "ac_cv_lib_$ac_lib_var=no"
11743fi
11744rm -f conftest*
11745LIBS="$ac_save_LIBS"
11746
11747fi
11748if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11749 echo "$ac_t""yes" 1>&6
11750 ZLIB_LINK=" -lz"
11751else
11752 echo "$ac_t""no" 1>&6
11753fi
11754
11755 fi
11756
11757 if test "x$ZLIB_LINK" = "x" ; then
11758 if test "$wxUSE_ZLIB" = "sys" ; then
11759 { echo "configure: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11760 else
11761 echo "configure: warning: zlib library not found or too old, will use built-in instead" 1>&2
11762 wxUSE_ZLIB=builtin
11763 fi
11764 else
11765 wxUSE_ZLIB=sys
11766 fi
11767 fi
11768
11769 if test "$wxUSE_ZLIB" = "builtin" ; then
11770 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
11771 fi
11772fi
11773
11774
11775PNG_INCLUDE=
11776PNG_LINK=
11777if test "$wxUSE_LIBPNG" != "no" ; then
11778 cat >> confdefs.h <<\EOF
11779#define wxUSE_LIBPNG 1
11780EOF
11781
11782
11783 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11784 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11785 wxUSE_LIBPNG=sys
11786 fi
11787
11788 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11789 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11790 wxUSE_LIBPNG=builtin
11791 fi
11792
11793 if test "$wxUSE_MGL" != 1 ; then
11794 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11795 echo $ac_n "checking for png.h > 0.90""... $ac_c" 1>&6
11796echo "configure:11797: checking for png.h > 0.90" >&5
11797if eval "test \"`echo '$''{'ac_cv_header_png_h'+set}'`\" = set"; then
11798 echo $ac_n "(cached) $ac_c" 1>&6
11799else
11800 if test "$cross_compiling" = yes; then
11801 unset ac_cv_header_png_h
11802
11803else
11804 cat > conftest.$ac_ext <<EOF
11805#line 11806 "configure"
11806#include "confdefs.h"
11807
11808 #include <png.h>
11809 #include <stdio.h>
11810
11811 int main()
11812 {
11813 FILE *f=fopen("conftestval", "w");
11814 if (!f) exit(1);
11815 fprintf(f, "%s",
11816 PNG_LIBPNG_VER > 90 ? "yes" : "no");
11817 exit(0);
11818 }
11819
11820EOF
11821if { (eval echo configure:11822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11822then
11823 ac_cv_header_png_h=`cat conftestval`
11824else
11825 echo "configure: failed program was:" >&5
11826 cat conftest.$ac_ext >&5
11827 rm -fr conftest*
11828 ac_cv_header_png_h=no
11829fi
11830rm -fr conftest*
11831fi
11832
11833
11834fi
11835
11836echo "$ac_t""$ac_cv_header_png_h" 1>&6
11837 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
11838echo $ac_n "checking for png.h""... $ac_c" 1>&6
11839echo "configure:11840: checking for png.h" >&5
11840if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11841 echo $ac_n "(cached) $ac_c" 1>&6
11842else
11843 cat > conftest.$ac_ext <<EOF
11844#line 11845 "configure"
11845#include "confdefs.h"
11846#include <png.h>
11847EOF
11848ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11849{ (eval echo configure:11850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11850ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11851if test -z "$ac_err"; then
11852 rm -rf conftest*
11853 eval "ac_cv_header_$ac_safe=yes"
11854else
11855 echo "$ac_err" >&5
11856 echo "configure: failed program was:" >&5
11857 cat conftest.$ac_ext >&5
11858 rm -rf conftest*
11859 eval "ac_cv_header_$ac_safe=no"
11860fi
11861rm -f conftest*
11862fi
11863if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11864 echo "$ac_t""yes" 1>&6
11865 :
11866else
11867 echo "$ac_t""no" 1>&6
11868fi
11869
11870
11871 if test "$ac_cv_header_png_h" = "yes"; then
11872 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11873echo "configure:11874: checking for png_check_sig in -lpng" >&5
11874ac_lib_var=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11875if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11876 echo $ac_n "(cached) $ac_c" 1>&6
11877else
11878 ac_save_LIBS="$LIBS"
11879LIBS="-lpng -lz -lm $LIBS"
11880cat > conftest.$ac_ext <<EOF
11881#line 11882 "configure"
11882#include "confdefs.h"
11883/* Override any gcc2 internal prototype to avoid an error. */
11884/* We use char because int might match the return type of a gcc2
11885 builtin and then its argument prototype would still apply. */
11886char png_check_sig();
11887
11888int main() {
11889png_check_sig()
11890; return 0; }
11891EOF
11892if { (eval echo configure:11893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11893 rm -rf conftest*
11894 eval "ac_cv_lib_$ac_lib_var=yes"
11895else
11896 echo "configure: failed program was:" >&5
11897 cat conftest.$ac_ext >&5
11898 rm -rf conftest*
11899 eval "ac_cv_lib_$ac_lib_var=no"
11900fi
11901rm -f conftest*
11902LIBS="$ac_save_LIBS"
11903
11904fi
11905if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11906 echo "$ac_t""yes" 1>&6
11907 PNG_LINK=" -lpng"
11908else
11909 echo "$ac_t""no" 1>&6
11910fi
11911
11912 fi
11913
11914 if test "x$PNG_LINK" = "x" ; then
11915 if test "$wxUSE_LIBPNG" = "sys" ; then
11916 { echo "configure: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
11917 else
11918 echo "configure: warning: system png library not found or too old, will use built-in instead" 1>&2
11919 wxUSE_LIBPNG=builtin
11920 fi
11921 else
11922 wxUSE_LIBPNG=sys
11923 fi
11924 fi
11925 fi
11926
11927 if test "$wxUSE_LIBPNG" = "builtin" ; then
11928 PNG_INCLUDE="-I\${top_srcdir}/src/png"
11929 fi
11930
11931 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
11932fi
11933
11934
11935JPEG_INCLUDE=
11936JPEG_LINK=
11937if test "$wxUSE_LIBJPEG" != "no" ; then
11938 cat >> confdefs.h <<\EOF
11939#define wxUSE_LIBJPEG 1
11940EOF
11941
11942
11943 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
11944 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
11945 wxUSE_LIBJPEG=sys
11946 fi
11947
11948 if test "$wxUSE_MGL" != 1 ; then
11949 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
11950 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11951echo "configure:11952: checking for jpeglib.h" >&5
11952 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
11953 echo $ac_n "(cached) $ac_c" 1>&6
11954else
11955 cat > conftest.$ac_ext <<EOF
11956#line 11957 "configure"
11957#include "confdefs.h"
11958
11959 #undef HAVE_STDLIB_H
11960 #include <stdio.h>
11961 #include <jpeglib.h>
11962
11963int main() {
11964
11965
11966; return 0; }
11967EOF
11968if { (eval echo configure:11969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11969 rm -rf conftest*
11970 ac_cv_header_jpeglib_h=yes
11971else
11972 echo "configure: failed program was:" >&5
11973 cat conftest.$ac_ext >&5
11974 rm -rf conftest*
11975 ac_cv_header_jpeglib_h=no
11976
11977fi
11978rm -f conftest*
11979
11980fi
11981
11982 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
11983
11984 if test "$ac_cv_header_jpeglib_h" = "yes"; then
11985 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
11986echo "configure:11987: checking for jpeg_read_header in -ljpeg" >&5
11987ac_lib_var=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
11988if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11989 echo $ac_n "(cached) $ac_c" 1>&6
11990else
11991 ac_save_LIBS="$LIBS"
11992LIBS="-ljpeg $LIBS"
11993cat > conftest.$ac_ext <<EOF
11994#line 11995 "configure"
11995#include "confdefs.h"
11996/* Override any gcc2 internal prototype to avoid an error. */
11997/* We use char because int might match the return type of a gcc2
11998 builtin and then its argument prototype would still apply. */
11999char jpeg_read_header();
12000
12001int main() {
12002jpeg_read_header()
12003; return 0; }
12004EOF
12005if { (eval echo configure:12006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12006 rm -rf conftest*
12007 eval "ac_cv_lib_$ac_lib_var=yes"
12008else
12009 echo "configure: failed program was:" >&5
12010 cat conftest.$ac_ext >&5
12011 rm -rf conftest*
12012 eval "ac_cv_lib_$ac_lib_var=no"
12013fi
12014rm -f conftest*
12015LIBS="$ac_save_LIBS"
12016
12017fi
12018if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12019 echo "$ac_t""yes" 1>&6
12020 JPEG_LINK=" -ljpeg"
12021else
12022 echo "$ac_t""no" 1>&6
12023fi
12024
12025 fi
12026
12027 if test "x$JPEG_LINK" = "x" ; then
12028 if test "$wxUSE_LIBJPEG" = "sys" ; then
12029 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
12030 else
12031 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
12032 wxUSE_LIBJPEG=builtin
12033 fi
12034 else
12035 wxUSE_LIBJPEG=sys
12036 fi
12037 fi
12038 fi
12039
12040 if test "$wxUSE_LIBJPEG" = "builtin" ; then
12041 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
12042 fi
12043fi
12044
12045
12046TIFF_INCLUDE=
12047TIFF_LINK=
12048TIFF_PREREQ_LINKS=-lm
12049if test "$wxUSE_LIBTIFF" != "no" ; then
12050 cat >> confdefs.h <<\EOF
12051#define wxUSE_LIBTIFF 1
12052EOF
12053
12054
12055 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
12056 if test "$wxUSE_LIBJPEG" = "sys"; then
12057 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
12058 fi
12059 if test "$wxUSE_ZLIB" = "sys"; then
12060 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
12061 fi
12062 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
12063echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
12064echo "configure:12065: checking for tiffio.h" >&5
12065if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12066 echo $ac_n "(cached) $ac_c" 1>&6
12067else
12068 cat > conftest.$ac_ext <<EOF
12069#line 12070 "configure"
12070#include "confdefs.h"
12071#include <tiffio.h>
12072EOF
12073ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12074{ (eval echo configure:12075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12075ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12076if test -z "$ac_err"; then
12077 rm -rf conftest*
12078 eval "ac_cv_header_$ac_safe=yes"
12079else
12080 echo "$ac_err" >&5
12081 echo "configure: failed program was:" >&5
12082 cat conftest.$ac_ext >&5
12083 rm -rf conftest*
12084 eval "ac_cv_header_$ac_safe=no"
12085fi
12086rm -f conftest*
12087fi
12088if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12089 echo "$ac_t""yes" 1>&6
12090 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
12091echo "configure:12092: checking for TIFFError in -ltiff" >&5
12092ac_lib_var=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
12093if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12094 echo $ac_n "(cached) $ac_c" 1>&6
12095else
12096 ac_save_LIBS="$LIBS"
12097LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
12098cat > conftest.$ac_ext <<EOF
12099#line 12100 "configure"
12100#include "confdefs.h"
12101/* Override any gcc2 internal prototype to avoid an error. */
12102/* We use char because int might match the return type of a gcc2
12103 builtin and then its argument prototype would still apply. */
12104char TIFFError();
12105
12106int main() {
12107TIFFError()
12108; return 0; }
12109EOF
12110if { (eval echo configure:12111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12111 rm -rf conftest*
12112 eval "ac_cv_lib_$ac_lib_var=yes"
12113else
12114 echo "configure: failed program was:" >&5
12115 cat conftest.$ac_ext >&5
12116 rm -rf conftest*
12117 eval "ac_cv_lib_$ac_lib_var=no"
12118fi
12119rm -f conftest*
12120LIBS="$ac_save_LIBS"
12121
12122fi
12123if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12124 echo "$ac_t""yes" 1>&6
12125 TIFF_LINK=" -ltiff"
12126else
12127 echo "$ac_t""no" 1>&6
12128fi
12129
12130
12131else
12132 echo "$ac_t""no" 1>&6
12133fi
12134
12135
12136 if test "x$TIFF_LINK" = "x" ; then
12137 if test "$wxUSE_LIBTIFF" = "sys" ; then
12138 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
12139 else
12140 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
12141 wxUSE_LIBTIFF=builtin
12142 fi
12143 else
12144 wxUSE_LIBTIFF=sys
12145 fi
12146 fi
12147
12148 if test "$wxUSE_LIBTIFF" = "builtin" ; then
12149 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
12150 fi
12151fi
12152
12153
12154AFMINSTALL=
12155WIN32INSTALL=
12156
12157TOOLKIT=
12158TOOLKIT_INCLUDE=
12159WIDGET_SET=
12160
12161if test "$USE_WIN32" = 1 ; then
12162 for ac_hdr in w32api.h
12163do
12164ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12165echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12166echo "configure:12167: checking for $ac_hdr" >&5
12167if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12168 echo $ac_n "(cached) $ac_c" 1>&6
12169else
12170 cat > conftest.$ac_ext <<EOF
12171#line 12172 "configure"
12172#include "confdefs.h"
12173#include <$ac_hdr>
12174EOF
12175ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12176{ (eval echo configure:12177: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12177ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12178if test -z "$ac_err"; then
12179 rm -rf conftest*
12180 eval "ac_cv_header_$ac_safe=yes"
12181else
12182 echo "$ac_err" >&5
12183 echo "configure: failed program was:" >&5
12184 cat conftest.$ac_ext >&5
12185 rm -rf conftest*
12186 eval "ac_cv_header_$ac_safe=no"
12187fi
12188rm -f conftest*
12189fi
12190if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12191 echo "$ac_t""yes" 1>&6
12192 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12193 cat >> confdefs.h <<EOF
12194#define $ac_tr_hdr 1
12195EOF
12196
12197else
12198 echo "$ac_t""no" 1>&6
12199fi
12200done
12201
12202 ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'`
12203echo $ac_n "checking for windows.h""... $ac_c" 1>&6
12204echo "configure:12205: checking for windows.h" >&5
12205if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12206 echo $ac_n "(cached) $ac_c" 1>&6
12207else
12208 cat > conftest.$ac_ext <<EOF
12209#line 12210 "configure"
12210#include "confdefs.h"
12211#include <windows.h>
12212EOF
12213ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12214{ (eval echo configure:12215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12215ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12216if test -z "$ac_err"; then
12217 rm -rf conftest*
12218 eval "ac_cv_header_$ac_safe=yes"
12219else
12220 echo "$ac_err" >&5
12221 echo "configure: failed program was:" >&5
12222 cat conftest.$ac_ext >&5
12223 rm -rf conftest*
12224 eval "ac_cv_header_$ac_safe=no"
12225fi
12226rm -f conftest*
12227fi
12228if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12229 echo "$ac_t""yes" 1>&6
12230 :
12231else
12232 echo "$ac_t""no" 1>&6
12233
12234 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
12235
12236fi
12237
12238
12239 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
12240echo "configure:12241: checking if w32api has good enough MSIE support" >&5
12241if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
12242 echo $ac_n "(cached) $ac_c" 1>&6
12243else
12244
12245 cat > conftest.$ac_ext <<EOF
12246#line 12247 "configure"
12247#include "confdefs.h"
12248#include <w32api.h>
12249int main() {
12250
12251 #define wxCHECK_W32API_VERSION( major, minor ) \
12252 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
12253 && ( ( __W32API_MAJOR_VERSION > (major) ) \
12254 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
12255
12256 #if !wxCHECK_W32API_VERSION(1,1)
12257 #error You need w32api 1.1 or newer
12258 #endif
12259
12260; return 0; }
12261EOF
12262if { (eval echo configure:12263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12263 rm -rf conftest*
12264
12265 wx_cv_w32api_win32_ie=yes
12266
12267else
12268 echo "configure: failed program was:" >&5
12269 cat conftest.$ac_ext >&5
12270 rm -rf conftest*
12271
12272 wx_cv_w32api_win32_ie=no
12273
12274fi
12275rm -f conftest*
12276
12277fi
12278
12279echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
12280 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
12281 CPPFLAGS="$CPPFLAGS -D_WIN32_IE=0x400"
12282 fi
12283
12284 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
12285
12286 case "${host}" in
12287 *-*-cygwin* )
12288 LIBS="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
12289 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
12290 esac
12291
12292 if test "$wxUSE_ODBC" = "yes" ; then
12293 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
12294 fi
12295
12296 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
12297 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
12298
12299 WIN32INSTALL=win32install
12300fi
12301
12302if test "$USE_DARWIN" = 1; then
12303 if test "$wxUSE_PRECOMP" = "yes"; then
12304 CPPFLAGS="$CPPFLAGS -cpp-precomp"
12305 else
12306 CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
12307 fi
12308fi
12309
12310if test "$wxUSE_GUI" = "yes"; then
12311 USE_GUI=1
12312
12313 GUI_TK_LIBRARY=
12314
12315 WXGTK12=
12316 WXGTK127=
12317 WXGTK20=
12318
12319 if test "$wxUSE_MSW" = 1 ; then
12320 TOOLKIT=MSW
12321 GUIDIST=MSW_DIST
12322
12323 LDFLAGS="$LDFLAGS -Wl,--subsystem,windows -mwindows"
12324 fi
12325
12326 if test "$wxUSE_GTK" = 1; then
12327 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
12328echo "configure:12329: checking for GTK+ version" >&5
12329
12330 gtk_version_cached=1
12331 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
12332 echo $ac_n "(cached) $ac_c" 1>&6
12333else
12334
12335 gtk_version_cached=0
12336 echo "$ac_t""" 1>&6
12337
12338 GTK_MODULES=
12339 if test "$wxUSE_THREADS" = "yes"; then
12340 GTK_MODULES=gthread
12341 fi
12342
12343 wx_cv_lib_gtk=
12344 if test "x$wxUSE_GTK2" = "xyes"; then
12345 # Check whether --enable-gtktest or --disable-gtktest was given.
12346if test "${enable_gtktest+set}" = set; then
12347 enableval="$enable_gtktest"
12348 :
12349else
12350 enable_gtktest=yes
12351fi
12352
12353
12354 pkg_config_args=gtk+-2.0
12355 for module in . $GTK_MODULES
12356 do
12357 case "$module" in
12358 gthread)
12359 pkg_config_args="$pkg_config_args gthread-2.0"
12360 ;;
12361 esac
12362 done
12363
12364 no_gtk=""
12365
12366 # Extract the first word of "pkg-config", so it can be a program name with args.
12367set dummy pkg-config; ac_word=$2
12368echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12369echo "configure:12370: checking for $ac_word" >&5
12370if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
12371 echo $ac_n "(cached) $ac_c" 1>&6
12372else
12373 case "$PKG_CONFIG" in
12374 /*)
12375 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12376 ;;
12377 ?:/*)
12378 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a dos path.
12379 ;;
12380 *)
12381 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
12382 ac_dummy="$PATH"
12383 for ac_dir in $ac_dummy; do
12384 test -z "$ac_dir" && ac_dir=.
12385 if test -f $ac_dir/$ac_word; then
12386 ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
12387 break
12388 fi
12389 done
12390 IFS="$ac_save_ifs"
12391 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12392 ;;
12393esac
12394fi
12395PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12396if test -n "$PKG_CONFIG"; then
12397 echo "$ac_t""$PKG_CONFIG" 1>&6
12398else
12399 echo "$ac_t""no" 1>&6
12400fi
12401
12402
12403 if test x$PKG_CONFIG != xno ; then
12404 if pkg-config --atleast-pkgconfig-version 0.7 ; then
12405 :
12406 else
12407 echo *** pkg-config too old; version 0.7 or better required.
12408 no_gtk=yes
12409 PKG_CONFIG=no
12410 fi
12411 else
12412 no_gtk=yes
12413 fi
12414
12415 min_gtk_version=2.0.0
12416 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
12417echo "configure:12418: checking for GTK+ - version >= $min_gtk_version" >&5
12418
12419 if test x$PKG_CONFIG != xno ; then
12420 ## don't try to run the test against uninstalled libtool libs
12421 if $PKG_CONFIG --uninstalled $pkg_config_args; then
12422 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
12423 enable_gtktest=no
12424 fi
12425
12426 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
12427 :
12428 else
12429 no_gtk=yes
12430 fi
12431 fi
12432
12433 if test x"$no_gtk" = x ; then
12434 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
12435 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
12436 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
12437 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12438 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
12439 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12440 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
12441 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12442 if test "x$enable_gtktest" = "xyes" ; then
12443 ac_save_CFLAGS="$CFLAGS"
12444 ac_save_LIBS="$LIBS"
12445 CFLAGS="$CFLAGS $GTK_CFLAGS"
12446 LIBS="$GTK_LIBS $LIBS"
12447 rm -f conf.gtktest
12448 if test "$cross_compiling" = yes; then
12449 echo $ac_n "cross compiling; assumed OK... $ac_c"
12450else
12451 cat > conftest.$ac_ext <<EOF
12452#line 12453 "configure"
12453#include "confdefs.h"
12454
12455#include <gtk/gtk.h>
12456#include <stdio.h>
12457#include <stdlib.h>
12458
12459int
12460main ()
12461{
12462 int major, minor, micro;
12463 char *tmp_version;
12464
12465 system ("touch conf.gtktest");
12466
12467 /* HP/UX 9 (%@#!) writes to sscanf strings */
12468 tmp_version = g_strdup("$min_gtk_version");
12469 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
12470 printf("%s, bad version string\n", "$min_gtk_version");
12471 exit(1);
12472 }
12473
12474 if ((gtk_major_version != $gtk_config_major_version) ||
12475 (gtk_minor_version != $gtk_config_minor_version) ||
12476 (gtk_micro_version != $gtk_config_micro_version))
12477 {
12478 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12479 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12480 gtk_major_version, gtk_minor_version, gtk_micro_version);
12481 printf ("*** was found! If pkg-config was correct, then it is best\n");
12482 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12483 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12484 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12485 printf("*** required on your system.\n");
12486 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
12487 printf("*** to point to the correct configuration files\n");
12488 }
12489 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12490 (gtk_minor_version != GTK_MINOR_VERSION) ||
12491 (gtk_micro_version != GTK_MICRO_VERSION))
12492 {
12493 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12494 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12495 printf("*** library (version %d.%d.%d)\n",
12496 gtk_major_version, gtk_minor_version, gtk_micro_version);
12497 }
12498 else
12499 {
12500 if ((gtk_major_version > major) ||
12501 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12502 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12503 {
12504 return 0;
12505 }
12506 else
12507 {
12508 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12509 gtk_major_version, gtk_minor_version, gtk_micro_version);
12510 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12511 major, minor, micro);
12512 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12513 printf("***\n");
12514 printf("*** If you have already installed a sufficiently new version, this error\n");
12515 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
12516 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12517 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
12518 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
12519 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12520 printf("*** so that the correct libraries are found at run-time))\n");
12521 }
12522 }
12523 return 1;
12524}
12525
12526EOF
12527if { (eval echo configure:12528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12528then
12529 :
12530else
12531 echo "configure: failed program was:" >&5
12532 cat conftest.$ac_ext >&5
12533 rm -fr conftest*
12534 no_gtk=yes
12535fi
12536rm -fr conftest*
12537fi
12538
12539 CFLAGS="$ac_save_CFLAGS"
12540 LIBS="$ac_save_LIBS"
12541 fi
12542 fi
12543 if test "x$no_gtk" = x ; then
12544 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
12545 wx_cv_lib_gtk=2.0
12546 else
12547 echo "$ac_t""no" 1>&6
12548 if test "$PKG_CONFIG" = "no" ; then
12549 echo "*** A new enough version of pkg-config was not found."
12550 echo "*** See http://pkgconfig.sourceforge.net"
12551 else
12552 if test -f conf.gtktest ; then
12553 :
12554 else
12555 echo "*** Could not run GTK+ test program, checking why..."
12556 ac_save_CFLAGS="$CFLAGS"
12557 ac_save_LIBS="$LIBS"
12558 CFLAGS="$CFLAGS $GTK_CFLAGS"
12559 LIBS="$LIBS $GTK_LIBS"
12560 cat > conftest.$ac_ext <<EOF
12561#line 12562 "configure"
12562#include "confdefs.h"
12563
12564#include <gtk/gtk.h>
12565#include <stdio.h>
12566
12567int main() {
12568 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12569; return 0; }
12570EOF
12571if { (eval echo configure:12572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12572 rm -rf conftest*
12573 echo "*** The test program compiled, but did not run. This usually means"
12574 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
12575 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
12576 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12577 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12578 echo "*** is required on your system"
12579 echo "***"
12580 echo "*** If you have an old version installed, it is best to remove it, although"
12581 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12582else
12583 echo "configure: failed program was:" >&5
12584 cat conftest.$ac_ext >&5
12585 rm -rf conftest*
12586 echo "*** The test program failed to compile or link. See the file config.log for the"
12587 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
12588fi
12589rm -f conftest*
12590 CFLAGS="$ac_save_CFLAGS"
12591 LIBS="$ac_save_LIBS"
12592 fi
12593 fi
12594 GTK_CFLAGS=""
12595 GTK_LIBS=""
12596 :
12597 fi
12598
12599
12600 rm -f conf.gtktest
12601
12602 else
12603 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12604if test "${with_gtk_prefix+set}" = set; then
12605 withval="$with_gtk_prefix"
12606 gtk_config_prefix="$withval"
12607else
12608 gtk_config_prefix=""
12609fi
12610
12611# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12612if test "${with_gtk_exec_prefix+set}" = set; then
12613 withval="$with_gtk_exec_prefix"
12614 gtk_config_exec_prefix="$withval"
12615else
12616 gtk_config_exec_prefix=""
12617fi
12618
12619# Check whether --enable-gtktest or --disable-gtktest was given.
12620if test "${enable_gtktest+set}" = set; then
12621 enableval="$enable_gtktest"
12622 :
12623else
12624 enable_gtktest=yes
12625fi
12626
12627
12628 for module in . $GTK_MODULES
12629 do
12630 case "$module" in
12631 gthread)
12632 gtk_config_args="$gtk_config_args gthread"
12633 ;;
12634 esac
12635 done
12636
12637 if test x$gtk_config_exec_prefix != x ; then
12638 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12639 if test x${GTK_CONFIG+set} != xset ; then
12640 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
12641 fi
12642 fi
12643 if test x$gtk_config_prefix != x ; then
12644 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
12645 if test x${GTK_CONFIG+set} != xset ; then
12646 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
12647 fi
12648 fi
12649
12650 # Extract the first word of "gtk-config", so it can be a program name with args.
12651set dummy gtk-config; ac_word=$2
12652echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12653echo "configure:12654: checking for $ac_word" >&5
12654if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12655 echo $ac_n "(cached) $ac_c" 1>&6
12656else
12657 case "$GTK_CONFIG" in
12658 /*)
12659 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
12660 ;;
12661 ?:/*)
12662 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
12663 ;;
12664 *)
12665 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
12666 ac_dummy="$PATH"
12667 for ac_dir in $ac_dummy; do
12668 test -z "$ac_dir" && ac_dir=.
12669 if test -f $ac_dir/$ac_word; then
12670 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
12671 break
12672 fi
12673 done
12674 IFS="$ac_save_ifs"
12675 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
12676 ;;
12677esac
12678fi
12679GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
12680if test -n "$GTK_CONFIG"; then
12681 echo "$ac_t""$GTK_CONFIG" 1>&6
12682else
12683 echo "$ac_t""no" 1>&6
12684fi
12685
12686 min_gtk_version=1.2.7
12687 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12688echo "configure:12689: checking for GTK - version >= $min_gtk_version" >&5
12689 no_gtk=""
12690 if test "$GTK_CONFIG" = "no" ; then
12691 no_gtk=yes
12692 else
12693 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
12694 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
12695 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
12696 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12697 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
12698 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12699 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
12700 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12701 if test "x$enable_gtktest" = "xyes" ; then
12702 ac_save_CFLAGS="$CFLAGS"
12703 ac_save_LIBS="$LIBS"
12704 CFLAGS="$CFLAGS $GTK_CFLAGS"
12705 LIBS="$GTK_LIBS $LIBS"
12706 rm -f conf.gtktest
12707 if test "$cross_compiling" = yes; then
12708 echo $ac_n "cross compiling; assumed OK... $ac_c"
12709else
12710 cat > conftest.$ac_ext <<EOF
12711#line 12712 "configure"
12712#include "confdefs.h"
12713
12714#include <gtk/gtk.h>
12715#include <stdio.h>
12716#include <stdlib.h>
12717
12718int
12719main ()
12720{
12721 int major, minor, micro;
12722 char *tmp_version;
12723
12724 system ("touch conf.gtktest");
12725
12726 /* HP/UX 9 (%@#!) writes to sscanf strings */
12727 tmp_version = g_strdup("$min_gtk_version");
12728 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
12729 printf("%s, bad version string\n", "$min_gtk_version");
12730 exit(1);
12731 }
12732
12733 if ((gtk_major_version != $gtk_config_major_version) ||
12734 (gtk_minor_version != $gtk_config_minor_version) ||
12735 (gtk_micro_version != $gtk_config_micro_version))
12736 {
12737 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12738 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12739 gtk_major_version, gtk_minor_version, gtk_micro_version);
12740 printf ("*** was found! If gtk-config was correct, then it is best\n");
12741 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12742 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12743 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12744 printf("*** required on your system.\n");
12745 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12746 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12747 printf("*** before re-running configure\n");
12748 }
12749#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12750 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12751 (gtk_minor_version != GTK_MINOR_VERSION) ||
12752 (gtk_micro_version != GTK_MICRO_VERSION))
12753 {
12754 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12755 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12756 printf("*** library (version %d.%d.%d)\n",
12757 gtk_major_version, gtk_minor_version, gtk_micro_version);
12758 }
12759#endif /* defined (GTK_MAJOR_VERSION) ... */
12760 else
12761 {
12762 if ((gtk_major_version > major) ||
12763 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12764 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12765 {
12766 return 0;
12767 }
12768 else
12769 {
12770 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12771 gtk_major_version, gtk_minor_version, gtk_micro_version);
12772 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12773 major, minor, micro);
12774 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12775 printf("***\n");
12776 printf("*** If you have already installed a sufficiently new version, this error\n");
12777 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12778 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12779 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12780 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12781 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12782 printf("*** so that the correct libraries are found at run-time))\n");
12783 }
12784 }
12785 return 1;
12786}
12787
12788EOF
12789if { (eval echo configure:12790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12790then
12791 :
12792else
12793 echo "configure: failed program was:" >&5
12794 cat conftest.$ac_ext >&5
12795 rm -fr conftest*
12796 no_gtk=yes
12797fi
12798rm -fr conftest*
12799fi
12800
12801 CFLAGS="$ac_save_CFLAGS"
12802 LIBS="$ac_save_LIBS"
12803 fi
12804 fi
12805 if test "x$no_gtk" = x ; then
12806 echo "$ac_t""yes" 1>&6
12807 wx_cv_lib_gtk=1.2.7
12808 else
12809 echo "$ac_t""no" 1>&6
12810 if test "$GTK_CONFIG" = "no" ; then
12811 echo "*** The gtk-config script installed by GTK could not be found"
12812 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12813 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12814 echo "*** full path to gtk-config."
12815 else
12816 if test -f conf.gtktest ; then
12817 :
12818 else
12819 echo "*** Could not run GTK test program, checking why..."
12820 CFLAGS="$CFLAGS $GTK_CFLAGS"
12821 LIBS="$LIBS $GTK_LIBS"
12822 cat > conftest.$ac_ext <<EOF
12823#line 12824 "configure"
12824#include "confdefs.h"
12825
12826#include <gtk/gtk.h>
12827#include <stdio.h>
12828
12829int main() {
12830 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12831; return 0; }
12832EOF
12833if { (eval echo configure:12834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12834 rm -rf conftest*
12835 echo "*** The test program compiled, but did not run. This usually means"
12836 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12837 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12838 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12839 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12840 echo "*** is required on your system"
12841 echo "***"
12842 echo "*** If you have an old version installed, it is best to remove it, although"
12843 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12844 echo "***"
12845 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12846 echo "*** came with the system with the command"
12847 echo "***"
12848 echo "*** rpm --erase --nodeps gtk gtk-devel"
12849else
12850 echo "configure: failed program was:" >&5
12851 cat conftest.$ac_ext >&5
12852 rm -rf conftest*
12853 echo "*** The test program failed to compile or link. See the file config.log for the"
12854 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12855 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12856 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12857fi
12858rm -f conftest*
12859 CFLAGS="$ac_save_CFLAGS"
12860 LIBS="$ac_save_LIBS"
12861 fi
12862 fi
12863 GTK_CFLAGS=""
12864 GTK_LIBS=""
12865 :
12866 fi
12867
12868
12869 rm -f conf.gtktest
12870
12871
12872 if test -z "$wx_cv_lib_gtk"; then
12873 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12874if test "${with_gtk_prefix+set}" = set; then
12875 withval="$with_gtk_prefix"
12876 gtk_config_prefix="$withval"
12877else
12878 gtk_config_prefix=""
12879fi
12880
12881# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12882if test "${with_gtk_exec_prefix+set}" = set; then
12883 withval="$with_gtk_exec_prefix"
12884 gtk_config_exec_prefix="$withval"
12885else
12886 gtk_config_exec_prefix=""
12887fi
12888
12889# Check whether --enable-gtktest or --disable-gtktest was given.
12890if test "${enable_gtktest+set}" = set; then
12891 enableval="$enable_gtktest"
12892 :
12893else
12894 enable_gtktest=yes
12895fi
12896
12897
12898 for module in . $GTK_MODULES
12899 do
12900 case "$module" in
12901 gthread)
12902 gtk_config_args="$gtk_config_args gthread"
12903 ;;
12904 esac
12905 done
12906
12907 if test x$gtk_config_exec_prefix != x ; then
12908 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12909 if test x${GTK_CONFIG+set} != xset ; then
12910 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
12911 fi
12912 fi
12913 if test x$gtk_config_prefix != x ; then
12914 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
12915 if test x${GTK_CONFIG+set} != xset ; then
12916 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
12917 fi
12918 fi
12919
12920 # Extract the first word of "gtk-config", so it can be a program name with args.
12921set dummy gtk-config; ac_word=$2
12922echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12923echo "configure:12924: checking for $ac_word" >&5
12924if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12925 echo $ac_n "(cached) $ac_c" 1>&6
12926else
12927 case "$GTK_CONFIG" in
12928 /*)
12929 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
12930 ;;
12931 ?:/*)
12932 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
12933 ;;
12934 *)
12935 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
12936 ac_dummy="$PATH"
12937 for ac_dir in $ac_dummy; do
12938 test -z "$ac_dir" && ac_dir=.
12939 if test -f $ac_dir/$ac_word; then
12940 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
12941 break
12942 fi
12943 done
12944 IFS="$ac_save_ifs"
12945 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
12946 ;;
12947esac
12948fi
12949GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
12950if test -n "$GTK_CONFIG"; then
12951 echo "$ac_t""$GTK_CONFIG" 1>&6
12952else
12953 echo "$ac_t""no" 1>&6
12954fi
12955
12956 min_gtk_version=1.2.3
12957 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12958echo "configure:12959: checking for GTK - version >= $min_gtk_version" >&5
12959 no_gtk=""
12960 if test "$GTK_CONFIG" = "no" ; then
12961 no_gtk=yes
12962 else
12963 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
12964 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
12965 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
12966 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12967 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
12968 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12969 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
12970 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12971 if test "x$enable_gtktest" = "xyes" ; then
12972 ac_save_CFLAGS="$CFLAGS"
12973 ac_save_LIBS="$LIBS"
12974 CFLAGS="$CFLAGS $GTK_CFLAGS"
12975 LIBS="$GTK_LIBS $LIBS"
12976 rm -f conf.gtktest
12977 if test "$cross_compiling" = yes; then
12978 echo $ac_n "cross compiling; assumed OK... $ac_c"
12979else
12980 cat > conftest.$ac_ext <<EOF
12981#line 12982 "configure"
12982#include "confdefs.h"
12983
12984#include <gtk/gtk.h>
12985#include <stdio.h>
12986#include <stdlib.h>
12987
12988int
12989main ()
12990{
12991 int major, minor, micro;
12992 char *tmp_version;
12993
12994 system ("touch conf.gtktest");
12995
12996 /* HP/UX 9 (%@#!) writes to sscanf strings */
12997 tmp_version = g_strdup("$min_gtk_version");
12998 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
12999 printf("%s, bad version string\n", "$min_gtk_version");
13000 exit(1);
13001 }
13002
13003 if ((gtk_major_version != $gtk_config_major_version) ||
13004 (gtk_minor_version != $gtk_config_minor_version) ||
13005 (gtk_micro_version != $gtk_config_micro_version))
13006 {
13007 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
13008 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
13009 gtk_major_version, gtk_minor_version, gtk_micro_version);
13010 printf ("*** was found! If gtk-config was correct, then it is best\n");
13011 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
13012 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
13013 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
13014 printf("*** required on your system.\n");
13015 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
13016 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
13017 printf("*** before re-running configure\n");
13018 }
13019#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
13020 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
13021 (gtk_minor_version != GTK_MINOR_VERSION) ||
13022 (gtk_micro_version != GTK_MICRO_VERSION))
13023 {
13024 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
13025 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
13026 printf("*** library (version %d.%d.%d)\n",
13027 gtk_major_version, gtk_minor_version, gtk_micro_version);
13028 }
13029#endif /* defined (GTK_MAJOR_VERSION) ... */
13030 else
13031 {
13032 if ((gtk_major_version > major) ||
13033 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
13034 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
13035 {
13036 return 0;
13037 }
13038 else
13039 {
13040 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
13041 gtk_major_version, gtk_minor_version, gtk_micro_version);
13042 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
13043 major, minor, micro);
13044 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
13045 printf("***\n");
13046 printf("*** If you have already installed a sufficiently new version, this error\n");
13047 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
13048 printf("*** being found. The easiest way to fix this is to remove the old version\n");
13049 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
13050 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
13051 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
13052 printf("*** so that the correct libraries are found at run-time))\n");
13053 }
13054 }
13055 return 1;
13056}
13057
13058EOF
13059if { (eval echo configure:13060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
13060then
13061 :
13062else
13063 echo "configure: failed program was:" >&5
13064 cat conftest.$ac_ext >&5
13065 rm -fr conftest*
13066 no_gtk=yes
13067fi
13068rm -fr conftest*
13069fi
13070
13071 CFLAGS="$ac_save_CFLAGS"
13072 LIBS="$ac_save_LIBS"
13073 fi
13074 fi
13075 if test "x$no_gtk" = x ; then
13076 echo "$ac_t""yes" 1>&6
13077 wx_cv_lib_gtk=1.2.3
13078 else
13079 echo "$ac_t""no" 1>&6
13080 if test "$GTK_CONFIG" = "no" ; then
13081 echo "*** The gtk-config script installed by GTK could not be found"
13082 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
13083 echo "*** your path, or set the GTK_CONFIG environment variable to the"
13084 echo "*** full path to gtk-config."
13085 else
13086 if test -f conf.gtktest ; then
13087 :
13088 else
13089 echo "*** Could not run GTK test program, checking why..."
13090 CFLAGS="$CFLAGS $GTK_CFLAGS"
13091 LIBS="$LIBS $GTK_LIBS"
13092 cat > conftest.$ac_ext <<EOF
13093#line 13094 "configure"
13094#include "confdefs.h"
13095
13096#include <gtk/gtk.h>
13097#include <stdio.h>
13098
13099int main() {
13100 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
13101; return 0; }
13102EOF
13103if { (eval echo configure:13104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13104 rm -rf conftest*
13105 echo "*** The test program compiled, but did not run. This usually means"
13106 echo "*** that the run-time linker is not finding GTK or finding the wrong"
13107 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
13108 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
13109 echo "*** to the installed location Also, make sure you have run ldconfig if that"
13110 echo "*** is required on your system"
13111 echo "***"
13112 echo "*** If you have an old version installed, it is best to remove it, although"
13113 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
13114 echo "***"
13115 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
13116 echo "*** came with the system with the command"
13117 echo "***"
13118 echo "*** rpm --erase --nodeps gtk gtk-devel"
13119else
13120 echo "configure: failed program was:" >&5
13121 cat conftest.$ac_ext >&5
13122 rm -rf conftest*
13123 echo "*** The test program failed to compile or link. See the file config.log for the"
13124 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
13125 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
13126 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
13127fi
13128rm -f conftest*
13129 CFLAGS="$ac_save_CFLAGS"
13130 LIBS="$ac_save_LIBS"
13131 fi
13132 fi
13133 GTK_CFLAGS=""
13134 GTK_LIBS=""
13135 :
13136 fi
13137
13138
13139 rm -f conf.gtktest
13140
13141 fi
13142 fi
13143
13144 if test -z "$wx_cv_lib_gtk"; then
13145 wx_cv_lib_gtk=none
13146 else
13147 wx_cv_cflags_gtk=$GTK_CFLAGS
13148 wx_cv_libs_gtk=$GTK_LIBS
13149 fi
13150
13151
13152fi
13153
13154
13155 if test "$gtk_version_cached" = 1; then
13156 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
13157 fi
13158
13159 case "$wx_cv_lib_gtk" in
13160 2.0) WXGTK20=1
13161 TOOLKIT_VERSION=2
13162 ;;
13163 1.2.7) WXGTK127=1
13164 WXGTK12=1
13165 ;;
13166 1.2.3) WXGTK12=1
13167 ;;
13168 *) { echo "configure: error:
13169Please check that gtk-config is in path, the directory
13170where GTK+ libraries are installed (returned by
13171'gtk-config --libs' command) is in LD_LIBRARY_PATH or
13172equivalent variable and GTK+ is version 1.2.3 or above.
13173 " 1>&2; exit 1; }
13174 ;;
13175 esac
13176
13177 if test "$WXGTK20" = 1; then
13178 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
13179
13180 succeeded=no
13181
13182 if test -z "$PKG_CONFIG"; then
13183 # Extract the first word of "pkg-config", so it can be a program name with args.
13184set dummy pkg-config; ac_word=$2
13185echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13186echo "configure:13187: checking for $ac_word" >&5
13187if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
13188 echo $ac_n "(cached) $ac_c" 1>&6
13189else
13190 case "$PKG_CONFIG" in
13191 /*)
13192 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13193 ;;
13194 ?:/*)
13195 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a dos path.
13196 ;;
13197 *)
13198 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
13199 ac_dummy="$PATH"
13200 for ac_dir in $ac_dummy; do
13201 test -z "$ac_dir" && ac_dir=.
13202 if test -f $ac_dir/$ac_word; then
13203 ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
13204 break
13205 fi
13206 done
13207 IFS="$ac_save_ifs"
13208 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13209 ;;
13210esac
13211fi
13212PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13213if test -n "$PKG_CONFIG"; then
13214 echo "$ac_t""$PKG_CONFIG" 1>&6
13215else
13216 echo "$ac_t""no" 1>&6
13217fi
13218
13219 fi
13220
13221 if test "$PKG_CONFIG" = "no" ; then
13222 echo "*** The pkg-config script could not be found. Make sure it is"
13223 echo "*** in your path, or set the PKG_CONFIG environment variable"
13224 echo "*** to the full path to pkg-config."
13225 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13226 else
13227 PKG_CONFIG_MIN_VERSION=0.9.0
13228 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13229 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
13230echo "configure:13231: checking for pangoft2" >&5
13231
13232 if $PKG_CONFIG --exists "pangoft2" ; then
13233 echo "$ac_t""yes" 1>&6
13234 succeeded=yes
13235
13236 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
13237echo "configure:13238: checking PANGOFT2_CFLAGS" >&5
13238 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
13239 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
13240
13241 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
13242echo "configure:13243: checking PANGOFT2_LIBS" >&5
13243 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
13244 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
13245 else
13246 PANGOFT2_CFLAGS=""
13247 PANGOFT2_LIBS=""
13248 ## If we have a custom action on failure, don't print errors, but
13249 ## do set a variable so people can do so.
13250 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
13251
13252 fi
13253
13254
13255
13256 else
13257 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13258 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13259 fi
13260 fi
13261
13262 if test $succeeded = yes; then
13263
13264 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
13265 LIBS="$LIBS $PANGOFT2_LIBS"
13266
13267 else
13268
13269 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
13270 wxUSE_PRINTING_ARCHITECTURE="no"
13271
13272
13273 fi
13274
13275 fi
13276 else
13277 if test "$wxUSE_UNICODE" = "yes"; then
13278 echo "configure: warning: Unicode configuration not supported with GTK+ 1.x" 1>&2
13279 wxUSE_UNICODE=no
13280 fi
13281 fi
13282
13283 if test "$USE_DARWIN" != 1; then
13284 for ac_func in poll
13285do
13286echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13287echo "configure:13288: checking for $ac_func" >&5
13288if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13289 echo $ac_n "(cached) $ac_c" 1>&6
13290else
13291 cat > conftest.$ac_ext <<EOF
13292#line 13293 "configure"
13293#include "confdefs.h"
13294/* System header to define __stub macros and hopefully few prototypes,
13295 which can conflict with char $ac_func(); below. */
13296#include <assert.h>
13297/* Override any gcc2 internal prototype to avoid an error. */
13298/* We use char because int might match the return type of a gcc2
13299 builtin and then its argument prototype would still apply. */
13300char $ac_func();
13301
13302int main() {
13303
13304/* The GNU C library defines this for functions which it implements
13305 to always fail with ENOSYS. Some functions are actually named
13306 something starting with __ and the normal name is an alias. */
13307#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13308choke me
13309#else
13310$ac_func();
13311#endif
13312
13313; return 0; }
13314EOF
13315if { (eval echo configure:13316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13316 rm -rf conftest*
13317 eval "ac_cv_func_$ac_func=yes"
13318else
13319 echo "configure: failed program was:" >&5
13320 cat conftest.$ac_ext >&5
13321 rm -rf conftest*
13322 eval "ac_cv_func_$ac_func=no"
13323fi
13324rm -f conftest*
13325fi
13326
13327if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13328 echo "$ac_t""yes" 1>&6
13329 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13330 cat >> confdefs.h <<EOF
13331#define $ac_tr_func 1
13332EOF
13333
13334else
13335 echo "$ac_t""no" 1>&6
13336fi
13337done
13338
13339 fi
13340
13341 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
13342 GUI_TK_LIBRARY="$wx_cv_libs_gtk"
13343
13344 AFMINSTALL=afminstall
13345 TOOLKIT=GTK
13346 GUIDIST=GTK_DIST
13347
13348 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
13349echo "configure:13350: checking for gdk_im_open in -lgdk" >&5
13350ac_lib_var=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
13351if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13352 echo $ac_n "(cached) $ac_c" 1>&6
13353else
13354 ac_save_LIBS="$LIBS"
13355LIBS="-lgdk $LIBS"
13356cat > conftest.$ac_ext <<EOF
13357#line 13358 "configure"
13358#include "confdefs.h"
13359/* Override any gcc2 internal prototype to avoid an error. */
13360/* We use char because int might match the return type of a gcc2
13361 builtin and then its argument prototype would still apply. */
13362char gdk_im_open();
13363
13364int main() {
13365gdk_im_open()
13366; return 0; }
13367EOF
13368if { (eval echo configure:13369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13369 rm -rf conftest*
13370 eval "ac_cv_lib_$ac_lib_var=yes"
13371else
13372 echo "configure: failed program was:" >&5
13373 cat conftest.$ac_ext >&5
13374 rm -rf conftest*
13375 eval "ac_cv_lib_$ac_lib_var=no"
13376fi
13377rm -f conftest*
13378LIBS="$ac_save_LIBS"
13379
13380fi
13381if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13382 echo "$ac_t""yes" 1>&6
13383 cat >> confdefs.h <<\EOF
13384#define HAVE_XIM 1
13385EOF
13386
13387else
13388 echo "$ac_t""no" 1>&6
13389fi
13390
13391 fi
13392
13393 if test "$wxUSE_MGL" = 1; then
13394 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
13395echo "configure:13396: checking for SciTech MGL library" >&5
13396 if test "x$MGL_ROOT" = x ; then
13397 echo "$ac_t""not found" 1>&6
13398 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
13399 else
13400 echo "$ac_t""$MGL_ROOT" 1>&6
13401 fi
13402
13403 case "${host}" in
13404 *-*-linux* )
13405 mgl_os="linux/gcc/glibc*"
13406 ;;
13407 *-pc-msdosdjgpp )
13408 mgl_os=dos32/dj2
13409 ;;
13410 *)
13411 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
13412 esac
13413
13414 mgl_lib_type=""
13415
13416 if test "$wxUSE_DEBUG_FLAG" = yes ; then
13417 if test -f $MGL_ROOT/lib/debug/$mgl_os/libmgl.a -o \
13418 -f $MGL_ROOT/lib/debug/$mgl_os/libmgl.so; then
13419 mgl_lib_type=debug
13420 fi
13421 fi
13422 if test "x$mgl_lib_type" = x ; then
13423 if test -f $MGL_ROOT/lib/release/$mgl_os/libmgl.a -o \
13424 -f $MGL_ROOT/lib/release/$mgl_os/libmgl.so; then
13425 mgl_lib_type=release
13426 else
13427 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
13428 fi
13429 fi
13430
13431 wxUSE_UNIVERSAL="yes"
13432
13433 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
13434 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
13435
13436 AFMINSTALL=afminstall
13437 TOOLKIT=MGL
13438 GUIDIST=MGL_DIST
13439 fi
13440
13441 if test "$wxUSE_MICROWIN" = 1; then
13442 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
13443echo "configure:13444: checking for MicroWindows" >&5
13444 if test "x$MICROWINDOWS" = x ; then
13445 echo "$ac_t""not found" 1>&6
13446 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
13447 else
13448 echo "$ac_t""$MICROWINDOWS" 1>&6
13449 fi
13450
13451 if test -f $MICROWINDOWS/lib/libmwin.a; then
13452 echo "$ac_t""MicroWindows' libraries found." 1>&6
13453 else
13454 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
13455 fi
13456
13457 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
13458 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
13459
13460 wxUSE_UNIVERSAL="yes"
13461
13462 AFMINSTALL=afminstall
13463 TOOLKIT=MICROWIN
13464 GUIDIST=MICROWIN_DIST
13465
13466 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
13467 fi
13468
13469 if test "$wxUSE_X11" = 1; then
13470 # If we find X, set shell vars x_includes and x_libraries to the
13471# paths, otherwise set no_x=yes.
13472# Uses ac_ vars as temps to allow command line to override cache and checks.
13473# --without-x overrides everything else, but does not touch the cache.
13474echo $ac_n "checking for X""... $ac_c" 1>&6
13475echo "configure:13476: checking for X" >&5
13476
13477# Check whether --with-x or --without-x was given.
13478if test "${with_x+set}" = set; then
13479 withval="$with_x"
13480 :
13481fi
13482
13483# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13484if test "x$with_x" = xno; then
13485 # The user explicitly disabled X.
13486 have_x=disabled
13487else
13488 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
13489 # Both variables are already set.
13490 have_x=yes
13491 else
13492if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
13493 echo $ac_n "(cached) $ac_c" 1>&6
13494else
13495 # One or both of the vars are not set, and there is no cached value.
13496ac_x_includes=NO ac_x_libraries=NO
13497rm -fr conftestdir
13498if mkdir conftestdir; then
13499 cd conftestdir
13500 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
13501 cat > Imakefile <<'EOF'
13502acfindx:
13503 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
13504EOF
13505 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
13506 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13507 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
13508 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13509 for ac_extension in a so sl; do
13510 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
13511 test -f $ac_im_libdir/libX11.$ac_extension; then
13512 ac_im_usrlibdir=$ac_im_libdir; break
13513 fi
13514 done
13515 # Screen out bogus values from the imake configuration. They are
13516 # bogus both because they are the default anyway, and because
13517 # using them would break gcc on systems where it needs fixed includes.
13518 case "$ac_im_incroot" in
13519 /usr/include) ;;
13520 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
13521 esac
13522 case "$ac_im_usrlibdir" in
13523 /usr/lib | /lib) ;;
13524 *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
13525 esac
13526 fi
13527 cd ..
13528 rm -fr conftestdir
13529fi
13530
13531if test "$ac_x_includes" = NO; then
13532 # Guess where to find include files, by looking for this one X11 .h file.
13533 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
13534
13535 # First, try using that file with no special directory specified.
13536cat > conftest.$ac_ext <<EOF
13537#line 13538 "configure"
13538#include "confdefs.h"
13539#include <$x_direct_test_include>
13540EOF
13541ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13542{ (eval echo configure:13543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13543ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13544if test -z "$ac_err"; then
13545 rm -rf conftest*
13546 # We can compile using X headers with no special include directory.
13547ac_x_includes=
13548else
13549 echo "$ac_err" >&5
13550 echo "configure: failed program was:" >&5
13551 cat conftest.$ac_ext >&5
13552 rm -rf conftest*
13553 # Look for the header file in a standard set of common directories.
13554# Check X11 before X11Rn because it is often a symlink to the current release.
13555 for ac_dir in \
13556 /usr/X11/include \
13557 /usr/X11R6/include \
13558 /usr/X11R5/include \
13559 /usr/X11R4/include \
13560 \
13561 /usr/include/X11 \
13562 /usr/include/X11R6 \
13563 /usr/include/X11R5 \
13564 /usr/include/X11R4 \
13565 \
13566 /usr/local/X11/include \
13567 /usr/local/X11R6/include \
13568 /usr/local/X11R5/include \
13569 /usr/local/X11R4/include \
13570 \
13571 /usr/local/include/X11 \
13572 /usr/local/include/X11R6 \
13573 /usr/local/include/X11R5 \
13574 /usr/local/include/X11R4 \
13575 \
13576 /usr/X386/include \
13577 /usr/x386/include \
13578 /usr/XFree86/include/X11 \
13579 \
13580 /usr/include \
13581 /usr/local/include \
13582 /usr/unsupported/include \
13583 /usr/athena/include \
13584 /usr/local/x11r5/include \
13585 /usr/lpp/Xamples/include \
13586 \
13587 /usr/openwin/include \
13588 /usr/openwin/share/include \
13589 ; \
13590 do
13591 if test -r "$ac_dir/$x_direct_test_include"; then
13592 ac_x_includes=$ac_dir
13593 break
13594 fi
13595 done
13596fi
13597rm -f conftest*
13598fi # $ac_x_includes = NO
13599
13600if test "$ac_x_libraries" = NO; then
13601 # Check for the libraries.
13602
13603 test -z "$x_direct_test_library" && x_direct_test_library=Xt
13604 test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
13605
13606 # See if we find them without any special options.
13607 # Don't add to $LIBS permanently.
13608 ac_save_LIBS="$LIBS"
13609 LIBS="-l$x_direct_test_library $LIBS"
13610cat > conftest.$ac_ext <<EOF
13611#line 13612 "configure"
13612#include "confdefs.h"
13613
13614int main() {
13615${x_direct_test_function}()
13616; return 0; }
13617EOF
13618if { (eval echo configure:13619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13619 rm -rf conftest*
13620 LIBS="$ac_save_LIBS"
13621# We can link X programs with no special library path.
13622ac_x_libraries=
13623else
13624 echo "configure: failed program was:" >&5
13625 cat conftest.$ac_ext >&5
13626 rm -rf conftest*
13627 LIBS="$ac_save_LIBS"
13628# First see if replacing the include by lib works.
13629# Check X11 before X11Rn because it is often a symlink to the current release.
13630for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
13631 /usr/X11/lib \
13632 /usr/X11R6/lib \
13633 /usr/X11R5/lib \
13634 /usr/X11R4/lib \
13635 \
13636 /usr/lib/X11 \
13637 /usr/lib/X11R6 \
13638 /usr/lib/X11R5 \
13639 /usr/lib/X11R4 \
13640 \
13641 /usr/local/X11/lib \
13642 /usr/local/X11R6/lib \
13643 /usr/local/X11R5/lib \
13644 /usr/local/X11R4/lib \
13645 \
13646 /usr/local/lib/X11 \
13647 /usr/local/lib/X11R6 \
13648 /usr/local/lib/X11R5 \
13649 /usr/local/lib/X11R4 \
13650 \
13651 /usr/X386/lib \
13652 /usr/x386/lib \
13653 /usr/XFree86/lib/X11 \
13654 \
13655 /usr/lib \
13656 /usr/local/lib \
13657 /usr/unsupported/lib \
13658 /usr/athena/lib \
13659 /usr/local/x11r5/lib \
13660 /usr/lpp/Xamples/lib \
13661 /lib/usr/lib/X11 \
13662 \
13663 /usr/openwin/lib \
13664 /usr/openwin/share/lib \
13665 ; \
13666do
13667 for ac_extension in a so sl; do
13668 if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
13669 ac_x_libraries=$ac_dir
13670 break 2
13671 fi
13672 done
13673done
13674fi
13675rm -f conftest*
13676fi # $ac_x_libraries = NO
13677
13678if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then
13679 # Didn't find X anywhere. Cache the known absence of X.
13680 ac_cv_have_x="have_x=no"
13681else
13682 # Record where we found X for the cache.
13683 ac_cv_have_x="have_x=yes \
13684 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
13685fi
13686fi
13687 fi
13688 eval "$ac_cv_have_x"
13689fi # $with_x != no
13690
13691if test "$have_x" != yes; then
13692 echo "$ac_t""$have_x" 1>&6
13693 no_x=yes
13694else
13695 # If each of the values was on the command line, it overrides each guess.
13696 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13697 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13698 # Update the cache value to reflect the command line values.
13699 ac_cv_have_x="have_x=yes \
13700 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
13701 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
13702fi
13703
13704if test "$no_x" = yes; then
13705 # Not all programs may use this symbol, but it does not hurt to define it.
13706 cat >> confdefs.h <<\EOF
13707#define X_DISPLAY_MISSING 1
13708EOF
13709
13710 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13711else
13712 if test -n "$x_includes"; then
13713 X_CFLAGS="$X_CFLAGS -I$x_includes"
13714 fi
13715
13716 # It would also be nice to do this for all -L options, not just this one.
13717 if test -n "$x_libraries"; then
13718 X_LIBS="$X_LIBS -L$x_libraries"
13719 # For Solaris; some versions of Sun CC require a space after -R and
13720 # others require no space. Words are not sufficient . . . .
13721 case "`(uname -sr) 2>/dev/null`" in
13722 "SunOS 5"*)
13723 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13724echo "configure:13725: checking whether -R must be followed by a space" >&5
13725 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
13726 cat > conftest.$ac_ext <<EOF
13727#line 13728 "configure"
13728#include "confdefs.h"
13729
13730int main() {
13731
13732; return 0; }
13733EOF
13734if { (eval echo configure:13735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13735 rm -rf conftest*
13736 ac_R_nospace=yes
13737else
13738 echo "configure: failed program was:" >&5
13739 cat conftest.$ac_ext >&5
13740 rm -rf conftest*
13741 ac_R_nospace=no
13742fi
13743rm -f conftest*
13744 if test $ac_R_nospace = yes; then
13745 echo "$ac_t""no" 1>&6
13746 X_LIBS="$X_LIBS -R$x_libraries"
13747 else
13748 LIBS="$ac_xsave_LIBS -R $x_libraries"
13749 cat > conftest.$ac_ext <<EOF
13750#line 13751 "configure"
13751#include "confdefs.h"
13752
13753int main() {
13754
13755; return 0; }
13756EOF
13757if { (eval echo configure:13758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13758 rm -rf conftest*
13759 ac_R_space=yes
13760else
13761 echo "configure: failed program was:" >&5
13762 cat conftest.$ac_ext >&5
13763 rm -rf conftest*
13764 ac_R_space=no
13765fi
13766rm -f conftest*
13767 if test $ac_R_space = yes; then
13768 echo "$ac_t""yes" 1>&6
13769 X_LIBS="$X_LIBS -R $x_libraries"
13770 else
13771 echo "$ac_t""neither works" 1>&6
13772 fi
13773 fi
13774 LIBS="$ac_xsave_LIBS"
13775 esac
13776 fi
13777
13778 # Check for system-dependent libraries X programs must link with.
13779 # Do this before checking for the system-independent R6 libraries
13780 # (-lICE), since we may need -lsocket or whatever for X linking.
13781
13782 if test "$ISC" = yes; then
13783 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13784 else
13785 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13786 # libraries were built with DECnet support. And karl@cs.umb.edu says
13787 # the Alpha needs dnet_stub (dnet does not exist).
13788 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13789echo "configure:13790: checking for dnet_ntoa in -ldnet" >&5
13790ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13791if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13792 echo $ac_n "(cached) $ac_c" 1>&6
13793else
13794 ac_save_LIBS="$LIBS"
13795LIBS="-ldnet $LIBS"
13796cat > conftest.$ac_ext <<EOF
13797#line 13798 "configure"
13798#include "confdefs.h"
13799/* Override any gcc2 internal prototype to avoid an error. */
13800/* We use char because int might match the return type of a gcc2
13801 builtin and then its argument prototype would still apply. */
13802char dnet_ntoa();
13803
13804int main() {
13805dnet_ntoa()
13806; return 0; }
13807EOF
13808if { (eval echo configure:13809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13809 rm -rf conftest*
13810 eval "ac_cv_lib_$ac_lib_var=yes"
13811else
13812 echo "configure: failed program was:" >&5
13813 cat conftest.$ac_ext >&5
13814 rm -rf conftest*
13815 eval "ac_cv_lib_$ac_lib_var=no"
13816fi
13817rm -f conftest*
13818LIBS="$ac_save_LIBS"
13819
13820fi
13821if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13822 echo "$ac_t""yes" 1>&6
13823 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13824else
13825 echo "$ac_t""no" 1>&6
13826fi
13827
13828 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13829 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13830echo "configure:13831: checking for dnet_ntoa in -ldnet_stub" >&5
13831ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13832if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13833 echo $ac_n "(cached) $ac_c" 1>&6
13834else
13835 ac_save_LIBS="$LIBS"
13836LIBS="-ldnet_stub $LIBS"
13837cat > conftest.$ac_ext <<EOF
13838#line 13839 "configure"
13839#include "confdefs.h"
13840/* Override any gcc2 internal prototype to avoid an error. */
13841/* We use char because int might match the return type of a gcc2
13842 builtin and then its argument prototype would still apply. */
13843char dnet_ntoa();
13844
13845int main() {
13846dnet_ntoa()
13847; return 0; }
13848EOF
13849if { (eval echo configure:13850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13850 rm -rf conftest*
13851 eval "ac_cv_lib_$ac_lib_var=yes"
13852else
13853 echo "configure: failed program was:" >&5
13854 cat conftest.$ac_ext >&5
13855 rm -rf conftest*
13856 eval "ac_cv_lib_$ac_lib_var=no"
13857fi
13858rm -f conftest*
13859LIBS="$ac_save_LIBS"
13860
13861fi
13862if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13863 echo "$ac_t""yes" 1>&6
13864 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13865else
13866 echo "$ac_t""no" 1>&6
13867fi
13868
13869 fi
13870
13871 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13872 # to get the SysV transport functions.
13873 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13874 # needs -lnsl.
13875 # The nsl library prevents programs from opening the X display
13876 # on Irix 5.2, according to dickey@clark.net.
13877 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13878echo "configure:13879: checking for gethostbyname" >&5
13879if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13880 echo $ac_n "(cached) $ac_c" 1>&6
13881else
13882 cat > conftest.$ac_ext <<EOF
13883#line 13884 "configure"
13884#include "confdefs.h"
13885/* System header to define __stub macros and hopefully few prototypes,
13886 which can conflict with char gethostbyname(); below. */
13887#include <assert.h>
13888/* Override any gcc2 internal prototype to avoid an error. */
13889/* We use char because int might match the return type of a gcc2
13890 builtin and then its argument prototype would still apply. */
13891char gethostbyname();
13892
13893int main() {
13894
13895/* The GNU C library defines this for functions which it implements
13896 to always fail with ENOSYS. Some functions are actually named
13897 something starting with __ and the normal name is an alias. */
13898#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13899choke me
13900#else
13901gethostbyname();
13902#endif
13903
13904; return 0; }
13905EOF
13906if { (eval echo configure:13907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13907 rm -rf conftest*
13908 eval "ac_cv_func_gethostbyname=yes"
13909else
13910 echo "configure: failed program was:" >&5
13911 cat conftest.$ac_ext >&5
13912 rm -rf conftest*
13913 eval "ac_cv_func_gethostbyname=no"
13914fi
13915rm -f conftest*
13916fi
13917
13918if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13919 echo "$ac_t""yes" 1>&6
13920 :
13921else
13922 echo "$ac_t""no" 1>&6
13923fi
13924
13925 if test $ac_cv_func_gethostbyname = no; then
13926 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13927echo "configure:13928: checking for gethostbyname in -lnsl" >&5
13928ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13929if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13930 echo $ac_n "(cached) $ac_c" 1>&6
13931else
13932 ac_save_LIBS="$LIBS"
13933LIBS="-lnsl $LIBS"
13934cat > conftest.$ac_ext <<EOF
13935#line 13936 "configure"
13936#include "confdefs.h"
13937/* Override any gcc2 internal prototype to avoid an error. */
13938/* We use char because int might match the return type of a gcc2
13939 builtin and then its argument prototype would still apply. */
13940char gethostbyname();
13941
13942int main() {
13943gethostbyname()
13944; return 0; }
13945EOF
13946if { (eval echo configure:13947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13947 rm -rf conftest*
13948 eval "ac_cv_lib_$ac_lib_var=yes"
13949else
13950 echo "configure: failed program was:" >&5
13951 cat conftest.$ac_ext >&5
13952 rm -rf conftest*
13953 eval "ac_cv_lib_$ac_lib_var=no"
13954fi
13955rm -f conftest*
13956LIBS="$ac_save_LIBS"
13957
13958fi
13959if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13960 echo "$ac_t""yes" 1>&6
13961 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13962else
13963 echo "$ac_t""no" 1>&6
13964fi
13965
13966 fi
13967
13968 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13969 # socket/setsockopt and other routines are undefined under SCO ODT
13970 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13971 # on later versions), says simon@lia.di.epfl.ch: it contains
13972 # gethostby* variants that don't use the nameserver (or something).
13973 # -lsocket must be given before -lnsl if both are needed.
13974 # We assume that if connect needs -lnsl, so does gethostbyname.
13975 echo $ac_n "checking for connect""... $ac_c" 1>&6
13976echo "configure:13977: checking for connect" >&5
13977if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
13978 echo $ac_n "(cached) $ac_c" 1>&6
13979else
13980 cat > conftest.$ac_ext <<EOF
13981#line 13982 "configure"
13982#include "confdefs.h"
13983/* System header to define __stub macros and hopefully few prototypes,
13984 which can conflict with char connect(); below. */
13985#include <assert.h>
13986/* Override any gcc2 internal prototype to avoid an error. */
13987/* We use char because int might match the return type of a gcc2
13988 builtin and then its argument prototype would still apply. */
13989char connect();
13990
13991int main() {
13992
13993/* The GNU C library defines this for functions which it implements
13994 to always fail with ENOSYS. Some functions are actually named
13995 something starting with __ and the normal name is an alias. */
13996#if defined (__stub_connect) || defined (__stub___connect)
13997choke me
13998#else
13999connect();
14000#endif
14001
14002; return 0; }
14003EOF
14004if { (eval echo configure:14005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14005 rm -rf conftest*
14006 eval "ac_cv_func_connect=yes"
14007else
14008 echo "configure: failed program was:" >&5
14009 cat conftest.$ac_ext >&5
14010 rm -rf conftest*
14011 eval "ac_cv_func_connect=no"
14012fi
14013rm -f conftest*
14014fi
14015
14016if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
14017 echo "$ac_t""yes" 1>&6
14018 :
14019else
14020 echo "$ac_t""no" 1>&6
14021fi
14022
14023 if test $ac_cv_func_connect = no; then
14024 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
14025echo "configure:14026: checking for connect in -lsocket" >&5
14026ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
14027if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14028 echo $ac_n "(cached) $ac_c" 1>&6
14029else
14030 ac_save_LIBS="$LIBS"
14031LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14032cat > conftest.$ac_ext <<EOF
14033#line 14034 "configure"
14034#include "confdefs.h"
14035/* Override any gcc2 internal prototype to avoid an error. */
14036/* We use char because int might match the return type of a gcc2
14037 builtin and then its argument prototype would still apply. */
14038char connect();
14039
14040int main() {
14041connect()
14042; return 0; }
14043EOF
14044if { (eval echo configure:14045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14045 rm -rf conftest*
14046 eval "ac_cv_lib_$ac_lib_var=yes"
14047else
14048 echo "configure: failed program was:" >&5
14049 cat conftest.$ac_ext >&5
14050 rm -rf conftest*
14051 eval "ac_cv_lib_$ac_lib_var=no"
14052fi
14053rm -f conftest*
14054LIBS="$ac_save_LIBS"
14055
14056fi
14057if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14058 echo "$ac_t""yes" 1>&6
14059 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14060else
14061 echo "$ac_t""no" 1>&6
14062fi
14063
14064 fi
14065
14066 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
14067 echo $ac_n "checking for remove""... $ac_c" 1>&6
14068echo "configure:14069: checking for remove" >&5
14069if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
14070 echo $ac_n "(cached) $ac_c" 1>&6
14071else
14072 cat > conftest.$ac_ext <<EOF
14073#line 14074 "configure"
14074#include "confdefs.h"
14075/* System header to define __stub macros and hopefully few prototypes,
14076 which can conflict with char remove(); below. */
14077#include <assert.h>
14078/* Override any gcc2 internal prototype to avoid an error. */
14079/* We use char because int might match the return type of a gcc2
14080 builtin and then its argument prototype would still apply. */
14081char remove();
14082
14083int main() {
14084
14085/* The GNU C library defines this for functions which it implements
14086 to always fail with ENOSYS. Some functions are actually named
14087 something starting with __ and the normal name is an alias. */
14088#if defined (__stub_remove) || defined (__stub___remove)
14089choke me
14090#else
14091remove();
14092#endif
14093
14094; return 0; }
14095EOF
14096if { (eval echo configure:14097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14097 rm -rf conftest*
14098 eval "ac_cv_func_remove=yes"
14099else
14100 echo "configure: failed program was:" >&5
14101 cat conftest.$ac_ext >&5
14102 rm -rf conftest*
14103 eval "ac_cv_func_remove=no"
14104fi
14105rm -f conftest*
14106fi
14107
14108if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14109 echo "$ac_t""yes" 1>&6
14110 :
14111else
14112 echo "$ac_t""no" 1>&6
14113fi
14114
14115 if test $ac_cv_func_remove = no; then
14116 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14117echo "configure:14118: checking for remove in -lposix" >&5
14118ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14119if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14120 echo $ac_n "(cached) $ac_c" 1>&6
14121else
14122 ac_save_LIBS="$LIBS"
14123LIBS="-lposix $LIBS"
14124cat > conftest.$ac_ext <<EOF
14125#line 14126 "configure"
14126#include "confdefs.h"
14127/* Override any gcc2 internal prototype to avoid an error. */
14128/* We use char because int might match the return type of a gcc2
14129 builtin and then its argument prototype would still apply. */
14130char remove();
14131
14132int main() {
14133remove()
14134; return 0; }
14135EOF
14136if { (eval echo configure:14137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14137 rm -rf conftest*
14138 eval "ac_cv_lib_$ac_lib_var=yes"
14139else
14140 echo "configure: failed program was:" >&5
14141 cat conftest.$ac_ext >&5
14142 rm -rf conftest*
14143 eval "ac_cv_lib_$ac_lib_var=no"
14144fi
14145rm -f conftest*
14146LIBS="$ac_save_LIBS"
14147
14148fi
14149if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14150 echo "$ac_t""yes" 1>&6
14151 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14152else
14153 echo "$ac_t""no" 1>&6
14154fi
14155
14156 fi
14157
14158 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14159 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14160echo "configure:14161: checking for shmat" >&5
14161if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14162 echo $ac_n "(cached) $ac_c" 1>&6
14163else
14164 cat > conftest.$ac_ext <<EOF
14165#line 14166 "configure"
14166#include "confdefs.h"
14167/* System header to define __stub macros and hopefully few prototypes,
14168 which can conflict with char shmat(); below. */
14169#include <assert.h>
14170/* Override any gcc2 internal prototype to avoid an error. */
14171/* We use char because int might match the return type of a gcc2
14172 builtin and then its argument prototype would still apply. */
14173char shmat();
14174
14175int main() {
14176
14177/* The GNU C library defines this for functions which it implements
14178 to always fail with ENOSYS. Some functions are actually named
14179 something starting with __ and the normal name is an alias. */
14180#if defined (__stub_shmat) || defined (__stub___shmat)
14181choke me
14182#else
14183shmat();
14184#endif
14185
14186; return 0; }
14187EOF
14188if { (eval echo configure:14189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14189 rm -rf conftest*
14190 eval "ac_cv_func_shmat=yes"
14191else
14192 echo "configure: failed program was:" >&5
14193 cat conftest.$ac_ext >&5
14194 rm -rf conftest*
14195 eval "ac_cv_func_shmat=no"
14196fi
14197rm -f conftest*
14198fi
14199
14200if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14201 echo "$ac_t""yes" 1>&6
14202 :
14203else
14204 echo "$ac_t""no" 1>&6
14205fi
14206
14207 if test $ac_cv_func_shmat = no; then
14208 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14209echo "configure:14210: checking for shmat in -lipc" >&5
14210ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14211if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14212 echo $ac_n "(cached) $ac_c" 1>&6
14213else
14214 ac_save_LIBS="$LIBS"
14215LIBS="-lipc $LIBS"
14216cat > conftest.$ac_ext <<EOF
14217#line 14218 "configure"
14218#include "confdefs.h"
14219/* Override any gcc2 internal prototype to avoid an error. */
14220/* We use char because int might match the return type of a gcc2
14221 builtin and then its argument prototype would still apply. */
14222char shmat();
14223
14224int main() {
14225shmat()
14226; return 0; }
14227EOF
14228if { (eval echo configure:14229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14229 rm -rf conftest*
14230 eval "ac_cv_lib_$ac_lib_var=yes"
14231else
14232 echo "configure: failed program was:" >&5
14233 cat conftest.$ac_ext >&5
14234 rm -rf conftest*
14235 eval "ac_cv_lib_$ac_lib_var=no"
14236fi
14237rm -f conftest*
14238LIBS="$ac_save_LIBS"
14239
14240fi
14241if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14242 echo "$ac_t""yes" 1>&6
14243 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14244else
14245 echo "$ac_t""no" 1>&6
14246fi
14247
14248 fi
14249 fi
14250
14251 # Check for libraries that X11R6 Xt/Xaw programs need.
14252 ac_save_LDFLAGS="$LDFLAGS"
14253 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14254 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14255 # check for ICE first), but we must link in the order -lSM -lICE or
14256 # we get undefined symbols. So assume we have SM if we have ICE.
14257 # These have to be linked with before -lX11, unlike the other
14258 # libraries we check for below, so use a different variable.
14259 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14260 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14261echo "configure:14262: checking for IceConnectionNumber in -lICE" >&5
14262ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14263if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14264 echo $ac_n "(cached) $ac_c" 1>&6
14265else
14266 ac_save_LIBS="$LIBS"
14267LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14268cat > conftest.$ac_ext <<EOF
14269#line 14270 "configure"
14270#include "confdefs.h"
14271/* Override any gcc2 internal prototype to avoid an error. */
14272/* We use char because int might match the return type of a gcc2
14273 builtin and then its argument prototype would still apply. */
14274char IceConnectionNumber();
14275
14276int main() {
14277IceConnectionNumber()
14278; return 0; }
14279EOF
14280if { (eval echo configure:14281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14281 rm -rf conftest*
14282 eval "ac_cv_lib_$ac_lib_var=yes"
14283else
14284 echo "configure: failed program was:" >&5
14285 cat conftest.$ac_ext >&5
14286 rm -rf conftest*
14287 eval "ac_cv_lib_$ac_lib_var=no"
14288fi
14289rm -f conftest*
14290LIBS="$ac_save_LIBS"
14291
14292fi
14293if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14294 echo "$ac_t""yes" 1>&6
14295 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14296else
14297 echo "$ac_t""no" 1>&6
14298fi
14299
14300 LDFLAGS="$ac_save_LDFLAGS"
14301
14302fi
14303
14304
14305 if test "$no_x" = "yes"; then
14306 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14307 fi
14308
14309 GUI_TK_LIBRARY="$X_LIBS"
14310 TOOLKIT_INCLUDE="$X_CFLAGS"
14311 AFMINSTALL=afminstall
14312 COMPILED_X_PROGRAM=0
14313
14314 if test "$wxUSE_NANOX" = "yes"; then
14315 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
14316echo "configure:14317: checking for MicroWindows/NanoX distribution" >&5
14317 if test "x$MICROWIN" = x ; then
14318 echo "$ac_t""not found" 1>&6
14319 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
14320 else
14321 echo "$ac_t""$MICROWIN" 1>&6
14322 cat >> confdefs.h <<\EOF
14323#define wxUSE_NANOX 1
14324EOF
14325
14326 fi
14327 fi
14328
14329 xpm_link=
14330 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14331echo "configure:14332: checking for Xpm library" >&5
14332
14333ac_find_libraries=
14334for ac_dir in $SEARCH_LIB /usr/lib;
14335 do
14336 for ac_extension in a so sl dylib; do
14337 if test -f "$ac_dir/libXpm.$ac_extension"; then
14338 ac_find_libraries=$ac_dir
14339 break 2
14340 fi
14341 done
14342 done
14343
14344 if test "$ac_find_libraries" != "" ; then
14345
14346 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
14347 result=$?
14348 if test $result = 0; then
14349 ac_path_to_link=""
14350 else
14351 ac_path_to_link=" -L$ac_find_libraries"
14352 fi
14353
14354 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
14355 xpm_link=" -lXpm"
14356 cat >> confdefs.h <<\EOF
14357#define wxHAVE_LIB_XPM 1
14358EOF
14359
14360 echo "$ac_t""found at $ac_find_libraries" 1>&6
14361 else
14362 cat > conftest.$ac_ext <<EOF
14363#line 14364 "configure"
14364#include "confdefs.h"
14365
14366 #include <X11/xpm.h>
14367
14368int main() {
14369
14370 int version;
14371 version = XpmLibraryVersion();
14372
14373; return 0; }
14374EOF
14375if { (eval echo configure:14376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14376 rm -rf conftest*
14377
14378 xpm_link=" -lXpm"
14379 cat >> confdefs.h <<\EOF
14380#define wxHAVE_LIB_XPM 1
14381EOF
14382
14383 echo "$ac_t""found in default search path" 1>&6
14384 COMPILED_X_PROGRAM=0
14385
14386else
14387 echo "configure: failed program was:" >&5
14388 cat conftest.$ac_ext >&5
14389 rm -rf conftest*
14390
14391 echo "$ac_t""no" 1>&6
14392 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14393
14394
14395fi
14396rm -f conftest*
14397 fi
14398
14399 if test "$wxUSE_UNICODE" = "yes"; then
14400
14401 succeeded=no
14402
14403 if test -z "$PKG_CONFIG"; then
14404 # Extract the first word of "pkg-config", so it can be a program name with args.
14405set dummy pkg-config; ac_word=$2
14406echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14407echo "configure:14408: checking for $ac_word" >&5
14408if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14409 echo $ac_n "(cached) $ac_c" 1>&6
14410else
14411 case "$PKG_CONFIG" in
14412 /*)
14413 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14414 ;;
14415 ?:/*)
14416 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a dos path.
14417 ;;
14418 *)
14419 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
14420 ac_dummy="$PATH"
14421 for ac_dir in $ac_dummy; do
14422 test -z "$ac_dir" && ac_dir=.
14423 if test -f $ac_dir/$ac_word; then
14424 ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
14425 break
14426 fi
14427 done
14428 IFS="$ac_save_ifs"
14429 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
14430 ;;
14431esac
14432fi
14433PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14434if test -n "$PKG_CONFIG"; then
14435 echo "$ac_t""$PKG_CONFIG" 1>&6
14436else
14437 echo "$ac_t""no" 1>&6
14438fi
14439
14440 fi
14441
14442 if test "$PKG_CONFIG" = "no" ; then
14443 echo "*** The pkg-config script could not be found. Make sure it is"
14444 echo "*** in your path, or set the PKG_CONFIG environment variable"
14445 echo "*** to the full path to pkg-config."
14446 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14447 else
14448 PKG_CONFIG_MIN_VERSION=0.9.0
14449 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14450 echo $ac_n "checking for pangox""... $ac_c" 1>&6
14451echo "configure:14452: checking for pangox" >&5
14452
14453 if $PKG_CONFIG --exists "pangox" ; then
14454 echo "$ac_t""yes" 1>&6
14455 succeeded=yes
14456
14457 echo $ac_n "checking PANGOX_CFLAGS""... $ac_c" 1>&6
14458echo "configure:14459: checking PANGOX_CFLAGS" >&5
14459 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
14460 echo "$ac_t""$PANGOX_CFLAGS" 1>&6
14461
14462 echo $ac_n "checking PANGOX_LIBS""... $ac_c" 1>&6
14463echo "configure:14464: checking PANGOX_LIBS" >&5
14464 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
14465 echo "$ac_t""$PANGOX_LIBS" 1>&6
14466 else
14467 PANGOX_CFLAGS=""
14468 PANGOX_LIBS=""
14469 ## If we have a custom action on failure, don't print errors, but
14470 ## do set a variable so people can do so.
14471 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
14472
14473 fi
14474
14475
14476
14477 else
14478 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14479 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14480 fi
14481 fi
14482
14483 if test $succeeded = yes; then
14484
14485 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
14486 LIBS="$LIBS $PANGOX_LIBS"
14487
14488 else
14489
14490 { echo "configure: error: pangox library not found, library cannot be compiled in Unicode mode" 1>&2; exit 1; }
14491
14492
14493 fi
14494
14495
14496 succeeded=no
14497
14498 if test -z "$PKG_CONFIG"; then
14499 # Extract the first word of "pkg-config", so it can be a program name with args.
14500set dummy pkg-config; ac_word=$2
14501echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14502echo "configure:14503: checking for $ac_word" >&5
14503if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14504 echo $ac_n "(cached) $ac_c" 1>&6
14505else
14506 case "$PKG_CONFIG" in
14507 /*)
14508 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14509 ;;
14510 ?:/*)
14511 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a dos path.
14512 ;;
14513 *)
14514 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
14515 ac_dummy="$PATH"
14516 for ac_dir in $ac_dummy; do
14517 test -z "$ac_dir" && ac_dir=.
14518 if test -f $ac_dir/$ac_word; then
14519 ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
14520 break
14521 fi
14522 done
14523 IFS="$ac_save_ifs"
14524 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
14525 ;;
14526esac
14527fi
14528PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14529if test -n "$PKG_CONFIG"; then
14530 echo "$ac_t""$PKG_CONFIG" 1>&6
14531else
14532 echo "$ac_t""no" 1>&6
14533fi
14534
14535 fi
14536
14537 if test "$PKG_CONFIG" = "no" ; then
14538 echo "*** The pkg-config script could not be found. Make sure it is"
14539 echo "*** in your path, or set the PKG_CONFIG environment variable"
14540 echo "*** to the full path to pkg-config."
14541 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14542 else
14543 PKG_CONFIG_MIN_VERSION=0.9.0
14544 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14545 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
14546echo "configure:14547: checking for pangoft2" >&5
14547
14548 if $PKG_CONFIG --exists "pangoft2" ; then
14549 echo "$ac_t""yes" 1>&6
14550 succeeded=yes
14551
14552 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
14553echo "configure:14554: checking PANGOFT2_CFLAGS" >&5
14554 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
14555 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
14556
14557 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
14558echo "configure:14559: checking PANGOFT2_LIBS" >&5
14559 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
14560 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
14561 else
14562 PANGOFT2_CFLAGS=""
14563 PANGOFT2_LIBS=""
14564 ## If we have a custom action on failure, don't print errors, but
14565 ## do set a variable so people can do so.
14566 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
14567
14568 fi
14569
14570
14571
14572 else
14573 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14574 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14575 fi
14576 fi
14577
14578 if test $succeeded = yes; then
14579
14580 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
14581 LIBS="$LIBS $PANGOFT2_LIBS"
14582
14583 else
14584
14585 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
14586 wxUSE_PRINTING_ARCHITECTURE="no"
14587
14588
14589 fi
14590
14591
14592 succeeded=no
14593
14594 if test -z "$PKG_CONFIG"; then
14595 # Extract the first word of "pkg-config", so it can be a program name with args.
14596set dummy pkg-config; ac_word=$2
14597echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14598echo "configure:14599: checking for $ac_word" >&5
14599if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14600 echo $ac_n "(cached) $ac_c" 1>&6
14601else
14602 case "$PKG_CONFIG" in
14603 /*)
14604 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14605 ;;
14606 ?:/*)
14607 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a dos path.
14608 ;;
14609 *)
14610 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
14611 ac_dummy="$PATH"
14612 for ac_dir in $ac_dummy; do
14613 test -z "$ac_dir" && ac_dir=.
14614 if test -f $ac_dir/$ac_word; then
14615 ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
14616 break
14617 fi
14618 done
14619 IFS="$ac_save_ifs"
14620 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
14621 ;;
14622esac
14623fi
14624PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14625if test -n "$PKG_CONFIG"; then
14626 echo "$ac_t""$PKG_CONFIG" 1>&6
14627else
14628 echo "$ac_t""no" 1>&6
14629fi
14630
14631 fi
14632
14633 if test "$PKG_CONFIG" = "no" ; then
14634 echo "*** The pkg-config script could not be found. Make sure it is"
14635 echo "*** in your path, or set the PKG_CONFIG environment variable"
14636 echo "*** to the full path to pkg-config."
14637 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14638 else
14639 PKG_CONFIG_MIN_VERSION=0.9.0
14640 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14641 echo $ac_n "checking for pangoxft""... $ac_c" 1>&6
14642echo "configure:14643: checking for pangoxft" >&5
14643
14644 if $PKG_CONFIG --exists "pangoxft" ; then
14645 echo "$ac_t""yes" 1>&6
14646 succeeded=yes
14647
14648 echo $ac_n "checking PANGOXFT_CFLAGS""... $ac_c" 1>&6
14649echo "configure:14650: checking PANGOXFT_CFLAGS" >&5
14650 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
14651 echo "$ac_t""$PANGOXFT_CFLAGS" 1>&6
14652
14653 echo $ac_n "checking PANGOXFT_LIBS""... $ac_c" 1>&6
14654echo "configure:14655: checking PANGOXFT_LIBS" >&5
14655 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
14656 echo "$ac_t""$PANGOXFT_LIBS" 1>&6
14657 else
14658 PANGOXFT_CFLAGS=""
14659 PANGOXFT_LIBS=""
14660 ## If we have a custom action on failure, don't print errors, but
14661 ## do set a variable so people can do so.
14662 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
14663
14664 fi
14665
14666
14667
14668 else
14669 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14670 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14671 fi
14672 fi
14673
14674 if test $succeeded = yes; then
14675
14676 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
14677 LIBS="$LIBS $PANGOXFT_LIBS"
14678
14679 else
14680
14681 echo "configure: warning: pangoxft library not found, library will be compiled without anti-aliasing support" 1>&2
14682
14683
14684 fi
14685
14686 fi
14687
14688 wxUSE_UNIVERSAL="yes"
14689
14690 if test "$wxUSE_NANOX" = "yes"; then
14691 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
14692 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"
14693 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
14694 else
14695 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
14696 fi
14697
14698 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
14699 TOOLKIT=X11
14700 GUIDIST=X11_DIST
14701 fi
14702
14703 if test "$wxUSE_MOTIF" = 1; then
14704 if test "$no_x" = yes; then
14705 # Not all programs may use this symbol, but it does not hurt to define it.
14706 cat >> confdefs.h <<\EOF
14707#define X_DISPLAY_MISSING 1
14708EOF
14709
14710 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
14711else
14712 if test -n "$x_includes"; then
14713 X_CFLAGS="$X_CFLAGS -I$x_includes"
14714 fi
14715
14716 # It would also be nice to do this for all -L options, not just this one.
14717 if test -n "$x_libraries"; then
14718 X_LIBS="$X_LIBS -L$x_libraries"
14719 # For Solaris; some versions of Sun CC require a space after -R and
14720 # others require no space. Words are not sufficient . . . .
14721 case "`(uname -sr) 2>/dev/null`" in
14722 "SunOS 5"*)
14723 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
14724echo "configure:14725: checking whether -R must be followed by a space" >&5
14725 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
14726 cat > conftest.$ac_ext <<EOF
14727#line 14728 "configure"
14728#include "confdefs.h"
14729
14730int main() {
14731
14732; return 0; }
14733EOF
14734if { (eval echo configure:14735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14735 rm -rf conftest*
14736 ac_R_nospace=yes
14737else
14738 echo "configure: failed program was:" >&5
14739 cat conftest.$ac_ext >&5
14740 rm -rf conftest*
14741 ac_R_nospace=no
14742fi
14743rm -f conftest*
14744 if test $ac_R_nospace = yes; then
14745 echo "$ac_t""no" 1>&6
14746 X_LIBS="$X_LIBS -R$x_libraries"
14747 else
14748 LIBS="$ac_xsave_LIBS -R $x_libraries"
14749 cat > conftest.$ac_ext <<EOF
14750#line 14751 "configure"
14751#include "confdefs.h"
14752
14753int main() {
14754
14755; return 0; }
14756EOF
14757if { (eval echo configure:14758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14758 rm -rf conftest*
14759 ac_R_space=yes
14760else
14761 echo "configure: failed program was:" >&5
14762 cat conftest.$ac_ext >&5
14763 rm -rf conftest*
14764 ac_R_space=no
14765fi
14766rm -f conftest*
14767 if test $ac_R_space = yes; then
14768 echo "$ac_t""yes" 1>&6
14769 X_LIBS="$X_LIBS -R $x_libraries"
14770 else
14771 echo "$ac_t""neither works" 1>&6
14772 fi
14773 fi
14774 LIBS="$ac_xsave_LIBS"
14775 esac
14776 fi
14777
14778 # Check for system-dependent libraries X programs must link with.
14779 # Do this before checking for the system-independent R6 libraries
14780 # (-lICE), since we may need -lsocket or whatever for X linking.
14781
14782 if test "$ISC" = yes; then
14783 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
14784 else
14785 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
14786 # libraries were built with DECnet support. And karl@cs.umb.edu says
14787 # the Alpha needs dnet_stub (dnet does not exist).
14788 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
14789echo "configure:14790: checking for dnet_ntoa in -ldnet" >&5
14790ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14791if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14792 echo $ac_n "(cached) $ac_c" 1>&6
14793else
14794 ac_save_LIBS="$LIBS"
14795LIBS="-ldnet $LIBS"
14796cat > conftest.$ac_ext <<EOF
14797#line 14798 "configure"
14798#include "confdefs.h"
14799/* Override any gcc2 internal prototype to avoid an error. */
14800/* We use char because int might match the return type of a gcc2
14801 builtin and then its argument prototype would still apply. */
14802char dnet_ntoa();
14803
14804int main() {
14805dnet_ntoa()
14806; return 0; }
14807EOF
14808if { (eval echo configure:14809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14809 rm -rf conftest*
14810 eval "ac_cv_lib_$ac_lib_var=yes"
14811else
14812 echo "configure: failed program was:" >&5
14813 cat conftest.$ac_ext >&5
14814 rm -rf conftest*
14815 eval "ac_cv_lib_$ac_lib_var=no"
14816fi
14817rm -f conftest*
14818LIBS="$ac_save_LIBS"
14819
14820fi
14821if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14822 echo "$ac_t""yes" 1>&6
14823 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14824else
14825 echo "$ac_t""no" 1>&6
14826fi
14827
14828 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14829 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
14830echo "configure:14831: checking for dnet_ntoa in -ldnet_stub" >&5
14831ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14832if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14833 echo $ac_n "(cached) $ac_c" 1>&6
14834else
14835 ac_save_LIBS="$LIBS"
14836LIBS="-ldnet_stub $LIBS"
14837cat > conftest.$ac_ext <<EOF
14838#line 14839 "configure"
14839#include "confdefs.h"
14840/* Override any gcc2 internal prototype to avoid an error. */
14841/* We use char because int might match the return type of a gcc2
14842 builtin and then its argument prototype would still apply. */
14843char dnet_ntoa();
14844
14845int main() {
14846dnet_ntoa()
14847; return 0; }
14848EOF
14849if { (eval echo configure:14850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14850 rm -rf conftest*
14851 eval "ac_cv_lib_$ac_lib_var=yes"
14852else
14853 echo "configure: failed program was:" >&5
14854 cat conftest.$ac_ext >&5
14855 rm -rf conftest*
14856 eval "ac_cv_lib_$ac_lib_var=no"
14857fi
14858rm -f conftest*
14859LIBS="$ac_save_LIBS"
14860
14861fi
14862if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14863 echo "$ac_t""yes" 1>&6
14864 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14865else
14866 echo "$ac_t""no" 1>&6
14867fi
14868
14869 fi
14870
14871 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14872 # to get the SysV transport functions.
14873 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
14874 # needs -lnsl.
14875 # The nsl library prevents programs from opening the X display
14876 # on Irix 5.2, according to dickey@clark.net.
14877 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
14878echo "configure:14879: checking for gethostbyname" >&5
14879if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
14880 echo $ac_n "(cached) $ac_c" 1>&6
14881else
14882 cat > conftest.$ac_ext <<EOF
14883#line 14884 "configure"
14884#include "confdefs.h"
14885/* System header to define __stub macros and hopefully few prototypes,
14886 which can conflict with char gethostbyname(); below. */
14887#include <assert.h>
14888/* Override any gcc2 internal prototype to avoid an error. */
14889/* We use char because int might match the return type of a gcc2
14890 builtin and then its argument prototype would still apply. */
14891char gethostbyname();
14892
14893int main() {
14894
14895/* The GNU C library defines this for functions which it implements
14896 to always fail with ENOSYS. Some functions are actually named
14897 something starting with __ and the normal name is an alias. */
14898#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
14899choke me
14900#else
14901gethostbyname();
14902#endif
14903
14904; return 0; }
14905EOF
14906if { (eval echo configure:14907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14907 rm -rf conftest*
14908 eval "ac_cv_func_gethostbyname=yes"
14909else
14910 echo "configure: failed program was:" >&5
14911 cat conftest.$ac_ext >&5
14912 rm -rf conftest*
14913 eval "ac_cv_func_gethostbyname=no"
14914fi
14915rm -f conftest*
14916fi
14917
14918if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
14919 echo "$ac_t""yes" 1>&6
14920 :
14921else
14922 echo "$ac_t""no" 1>&6
14923fi
14924
14925 if test $ac_cv_func_gethostbyname = no; then
14926 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
14927echo "configure:14928: checking for gethostbyname in -lnsl" >&5
14928ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
14929if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14930 echo $ac_n "(cached) $ac_c" 1>&6
14931else
14932 ac_save_LIBS="$LIBS"
14933LIBS="-lnsl $LIBS"
14934cat > conftest.$ac_ext <<EOF
14935#line 14936 "configure"
14936#include "confdefs.h"
14937/* Override any gcc2 internal prototype to avoid an error. */
14938/* We use char because int might match the return type of a gcc2
14939 builtin and then its argument prototype would still apply. */
14940char gethostbyname();
14941
14942int main() {
14943gethostbyname()
14944; return 0; }
14945EOF
14946if { (eval echo configure:14947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14947 rm -rf conftest*
14948 eval "ac_cv_lib_$ac_lib_var=yes"
14949else
14950 echo "configure: failed program was:" >&5
14951 cat conftest.$ac_ext >&5
14952 rm -rf conftest*
14953 eval "ac_cv_lib_$ac_lib_var=no"
14954fi
14955rm -f conftest*
14956LIBS="$ac_save_LIBS"
14957
14958fi
14959if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14960 echo "$ac_t""yes" 1>&6
14961 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14962else
14963 echo "$ac_t""no" 1>&6
14964fi
14965
14966 fi
14967
14968 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14969 # socket/setsockopt and other routines are undefined under SCO ODT
14970 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14971 # on later versions), says simon@lia.di.epfl.ch: it contains
14972 # gethostby* variants that don't use the nameserver (or something).
14973 # -lsocket must be given before -lnsl if both are needed.
14974 # We assume that if connect needs -lnsl, so does gethostbyname.
14975 echo $ac_n "checking for connect""... $ac_c" 1>&6
14976echo "configure:14977: checking for connect" >&5
14977if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
14978 echo $ac_n "(cached) $ac_c" 1>&6
14979else
14980 cat > conftest.$ac_ext <<EOF
14981#line 14982 "configure"
14982#include "confdefs.h"
14983/* System header to define __stub macros and hopefully few prototypes,
14984 which can conflict with char connect(); below. */
14985#include <assert.h>
14986/* Override any gcc2 internal prototype to avoid an error. */
14987/* We use char because int might match the return type of a gcc2
14988 builtin and then its argument prototype would still apply. */
14989char connect();
14990
14991int main() {
14992
14993/* The GNU C library defines this for functions which it implements
14994 to always fail with ENOSYS. Some functions are actually named
14995 something starting with __ and the normal name is an alias. */
14996#if defined (__stub_connect) || defined (__stub___connect)
14997choke me
14998#else
14999connect();
15000#endif
15001
15002; return 0; }
15003EOF
15004if { (eval echo configure:15005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15005 rm -rf conftest*
15006 eval "ac_cv_func_connect=yes"
15007else
15008 echo "configure: failed program was:" >&5
15009 cat conftest.$ac_ext >&5
15010 rm -rf conftest*
15011 eval "ac_cv_func_connect=no"
15012fi
15013rm -f conftest*
15014fi
15015
15016if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
15017 echo "$ac_t""yes" 1>&6
15018 :
15019else
15020 echo "$ac_t""no" 1>&6
15021fi
15022
15023 if test $ac_cv_func_connect = no; then
15024 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
15025echo "configure:15026: checking for connect in -lsocket" >&5
15026ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
15027if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15028 echo $ac_n "(cached) $ac_c" 1>&6
15029else
15030 ac_save_LIBS="$LIBS"
15031LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
15032cat > conftest.$ac_ext <<EOF
15033#line 15034 "configure"
15034#include "confdefs.h"
15035/* Override any gcc2 internal prototype to avoid an error. */
15036/* We use char because int might match the return type of a gcc2
15037 builtin and then its argument prototype would still apply. */
15038char connect();
15039
15040int main() {
15041connect()
15042; return 0; }
15043EOF
15044if { (eval echo configure:15045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15045 rm -rf conftest*
15046 eval "ac_cv_lib_$ac_lib_var=yes"
15047else
15048 echo "configure: failed program was:" >&5
15049 cat conftest.$ac_ext >&5
15050 rm -rf conftest*
15051 eval "ac_cv_lib_$ac_lib_var=no"
15052fi
15053rm -f conftest*
15054LIBS="$ac_save_LIBS"
15055
15056fi
15057if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15058 echo "$ac_t""yes" 1>&6
15059 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
15060else
15061 echo "$ac_t""no" 1>&6
15062fi
15063
15064 fi
15065
15066 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
15067 echo $ac_n "checking for remove""... $ac_c" 1>&6
15068echo "configure:15069: checking for remove" >&5
15069if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
15070 echo $ac_n "(cached) $ac_c" 1>&6
15071else
15072 cat > conftest.$ac_ext <<EOF
15073#line 15074 "configure"
15074#include "confdefs.h"
15075/* System header to define __stub macros and hopefully few prototypes,
15076 which can conflict with char remove(); below. */
15077#include <assert.h>
15078/* Override any gcc2 internal prototype to avoid an error. */
15079/* We use char because int might match the return type of a gcc2
15080 builtin and then its argument prototype would still apply. */
15081char remove();
15082
15083int main() {
15084
15085/* The GNU C library defines this for functions which it implements
15086 to always fail with ENOSYS. Some functions are actually named
15087 something starting with __ and the normal name is an alias. */
15088#if defined (__stub_remove) || defined (__stub___remove)
15089choke me
15090#else
15091remove();
15092#endif
15093
15094; return 0; }
15095EOF
15096if { (eval echo configure:15097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15097 rm -rf conftest*
15098 eval "ac_cv_func_remove=yes"
15099else
15100 echo "configure: failed program was:" >&5
15101 cat conftest.$ac_ext >&5
15102 rm -rf conftest*
15103 eval "ac_cv_func_remove=no"
15104fi
15105rm -f conftest*
15106fi
15107
15108if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
15109 echo "$ac_t""yes" 1>&6
15110 :
15111else
15112 echo "$ac_t""no" 1>&6
15113fi
15114
15115 if test $ac_cv_func_remove = no; then
15116 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
15117echo "configure:15118: checking for remove in -lposix" >&5
15118ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
15119if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15120 echo $ac_n "(cached) $ac_c" 1>&6
15121else
15122 ac_save_LIBS="$LIBS"
15123LIBS="-lposix $LIBS"
15124cat > conftest.$ac_ext <<EOF
15125#line 15126 "configure"
15126#include "confdefs.h"
15127/* Override any gcc2 internal prototype to avoid an error. */
15128/* We use char because int might match the return type of a gcc2
15129 builtin and then its argument prototype would still apply. */
15130char remove();
15131
15132int main() {
15133remove()
15134; return 0; }
15135EOF
15136if { (eval echo configure:15137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15137 rm -rf conftest*
15138 eval "ac_cv_lib_$ac_lib_var=yes"
15139else
15140 echo "configure: failed program was:" >&5
15141 cat conftest.$ac_ext >&5
15142 rm -rf conftest*
15143 eval "ac_cv_lib_$ac_lib_var=no"
15144fi
15145rm -f conftest*
15146LIBS="$ac_save_LIBS"
15147
15148fi
15149if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15150 echo "$ac_t""yes" 1>&6
15151 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
15152else
15153 echo "$ac_t""no" 1>&6
15154fi
15155
15156 fi
15157
15158 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
15159 echo $ac_n "checking for shmat""... $ac_c" 1>&6
15160echo "configure:15161: checking for shmat" >&5
15161if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
15162 echo $ac_n "(cached) $ac_c" 1>&6
15163else
15164 cat > conftest.$ac_ext <<EOF
15165#line 15166 "configure"
15166#include "confdefs.h"
15167/* System header to define __stub macros and hopefully few prototypes,
15168 which can conflict with char shmat(); below. */
15169#include <assert.h>
15170/* Override any gcc2 internal prototype to avoid an error. */
15171/* We use char because int might match the return type of a gcc2
15172 builtin and then its argument prototype would still apply. */
15173char shmat();
15174
15175int main() {
15176
15177/* The GNU C library defines this for functions which it implements
15178 to always fail with ENOSYS. Some functions are actually named
15179 something starting with __ and the normal name is an alias. */
15180#if defined (__stub_shmat) || defined (__stub___shmat)
15181choke me
15182#else
15183shmat();
15184#endif
15185
15186; return 0; }
15187EOF
15188if { (eval echo configure:15189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15189 rm -rf conftest*
15190 eval "ac_cv_func_shmat=yes"
15191else
15192 echo "configure: failed program was:" >&5
15193 cat conftest.$ac_ext >&5
15194 rm -rf conftest*
15195 eval "ac_cv_func_shmat=no"
15196fi
15197rm -f conftest*
15198fi
15199
15200if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
15201 echo "$ac_t""yes" 1>&6
15202 :
15203else
15204 echo "$ac_t""no" 1>&6
15205fi
15206
15207 if test $ac_cv_func_shmat = no; then
15208 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
15209echo "configure:15210: checking for shmat in -lipc" >&5
15210ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
15211if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15212 echo $ac_n "(cached) $ac_c" 1>&6
15213else
15214 ac_save_LIBS="$LIBS"
15215LIBS="-lipc $LIBS"
15216cat > conftest.$ac_ext <<EOF
15217#line 15218 "configure"
15218#include "confdefs.h"
15219/* Override any gcc2 internal prototype to avoid an error. */
15220/* We use char because int might match the return type of a gcc2
15221 builtin and then its argument prototype would still apply. */
15222char shmat();
15223
15224int main() {
15225shmat()
15226; return 0; }
15227EOF
15228if { (eval echo configure:15229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15229 rm -rf conftest*
15230 eval "ac_cv_lib_$ac_lib_var=yes"
15231else
15232 echo "configure: failed program was:" >&5
15233 cat conftest.$ac_ext >&5
15234 rm -rf conftest*
15235 eval "ac_cv_lib_$ac_lib_var=no"
15236fi
15237rm -f conftest*
15238LIBS="$ac_save_LIBS"
15239
15240fi
15241if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15242 echo "$ac_t""yes" 1>&6
15243 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
15244else
15245 echo "$ac_t""no" 1>&6
15246fi
15247
15248 fi
15249 fi
15250
15251 # Check for libraries that X11R6 Xt/Xaw programs need.
15252 ac_save_LDFLAGS="$LDFLAGS"
15253 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
15254 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
15255 # check for ICE first), but we must link in the order -lSM -lICE or
15256 # we get undefined symbols. So assume we have SM if we have ICE.
15257 # These have to be linked with before -lX11, unlike the other
15258 # libraries we check for below, so use a different variable.
15259 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
15260 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
15261echo "configure:15262: checking for IceConnectionNumber in -lICE" >&5
15262ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
15263if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15264 echo $ac_n "(cached) $ac_c" 1>&6
15265else
15266 ac_save_LIBS="$LIBS"
15267LIBS="-lICE $X_EXTRA_LIBS $LIBS"
15268cat > conftest.$ac_ext <<EOF
15269#line 15270 "configure"
15270#include "confdefs.h"
15271/* Override any gcc2 internal prototype to avoid an error. */
15272/* We use char because int might match the return type of a gcc2
15273 builtin and then its argument prototype would still apply. */
15274char IceConnectionNumber();
15275
15276int main() {
15277IceConnectionNumber()
15278; return 0; }
15279EOF
15280if { (eval echo configure:15281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15281 rm -rf conftest*
15282 eval "ac_cv_lib_$ac_lib_var=yes"
15283else
15284 echo "configure: failed program was:" >&5
15285 cat conftest.$ac_ext >&5
15286 rm -rf conftest*
15287 eval "ac_cv_lib_$ac_lib_var=no"
15288fi
15289rm -f conftest*
15290LIBS="$ac_save_LIBS"
15291
15292fi
15293if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15294 echo "$ac_t""yes" 1>&6
15295 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
15296else
15297 echo "$ac_t""no" 1>&6
15298fi
15299
15300 LDFLAGS="$ac_save_LDFLAGS"
15301
15302fi
15303
15304
15305 if test "$no_x" = "yes"; then
15306 { echo "configure: error: X11 not found" 1>&2; exit 1; }
15307 fi
15308
15309 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
15310 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
15311 AFMINSTALL=afminstall
15312 COMPILED_X_PROGRAM=0
15313
15314 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
15315echo "configure:15316: checking for Motif/Lesstif headers" >&5
15316
15317ac_find_includes=
15318for ac_dir in $SEARCH_INCLUDE /usr/include;
15319 do
15320 if test -f "$ac_dir/Xm/Xm.h"; then
15321 ac_find_includes=$ac_dir
15322 break
15323 fi
15324 done
15325
15326 if test "$ac_find_includes" != "" ; then
15327 echo "$ac_t""found in $ac_find_includes" 1>&6
15328
15329 if test "x$ac_find_includes" = "x/usr/include"; then
15330 ac_path_to_include=""
15331 else
15332 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
15333 result=$?
15334 if test $result = 0; then
15335 ac_path_to_include=""
15336 else
15337 ac_path_to_include=" -I$ac_find_includes"
15338 fi
15339 fi
15340
15341 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
15342 else
15343 cat > conftest.$ac_ext <<EOF
15344#line 15345 "configure"
15345#include "confdefs.h"
15346
15347 #include <Xm/Xm.h>
15348
15349int main() {
15350
15351 int version;
15352 version = xmUseVersion;
15353
15354; return 0; }
15355EOF
15356if { (eval echo configure:15357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15357 rm -rf conftest*
15358
15359 echo "$ac_t""found in default search path" 1>&6
15360 COMPILED_X_PROGRAM=1
15361
15362else
15363 echo "configure: failed program was:" >&5
15364 cat conftest.$ac_ext >&5
15365 rm -rf conftest*
15366
15367 echo "$ac_t""no" 1>&6
15368 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
15369
15370
15371fi
15372rm -f conftest*
15373 fi
15374
15375 if test "$COMPILED_X_PROGRAM" = 0; then
15376 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
15377echo "configure:15378: checking for Motif/Lesstif library" >&5
15378
15379ac_find_libraries=
15380for ac_dir in $SEARCH_LIB /usr/lib;
15381 do
15382 for ac_extension in a so sl dylib; do
15383 if test -f "$ac_dir/libXm.$ac_extension"; then
15384 ac_find_libraries=$ac_dir
15385 break 2
15386 fi
15387 done
15388 done
15389
15390 if test "$ac_find_libraries" != "" ; then
15391 echo "$ac_t""found at $ac_find_libraries" 1>&6
15392
15393
15394 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
15395 result=$?
15396 if test $result = 0; then
15397 ac_path_to_link=""
15398 else
15399 ac_path_to_link=" -L$ac_find_libraries"
15400 fi
15401
15402 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
15403 else
15404 save_CFLAGS=$CFLAGS
15405 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
15406
15407 cat > conftest.$ac_ext <<EOF
15408#line 15409 "configure"
15409#include "confdefs.h"
15410
15411 #include <Xm/Xm.h>
15412
15413int main() {
15414
15415 int version;
15416 version = xmUseVersion;
15417
15418; return 0; }
15419EOF
15420if { (eval echo configure:15421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15421 rm -rf conftest*
15422
15423 echo "$ac_t""found in default search path" 1>&6
15424 COMPILED_X_PROGRAM=1
15425
15426else
15427 echo "configure: failed program was:" >&5
15428 cat conftest.$ac_ext >&5
15429 rm -rf conftest*
15430
15431 echo "$ac_t""no" 1>&6
15432 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
15433
15434
15435fi
15436rm -f conftest*
15437
15438 CFLAGS=$save_CFLAGS
15439 fi
15440 fi
15441
15442 xpm_link=
15443 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
15444echo "configure:15445: checking for Xpm library" >&5
15445
15446ac_find_libraries=
15447for ac_dir in $SEARCH_LIB /usr/lib;
15448 do
15449 for ac_extension in a so sl dylib; do
15450 if test -f "$ac_dir/libXpm.$ac_extension"; then
15451 ac_find_libraries=$ac_dir
15452 break 2
15453 fi
15454 done
15455 done
15456
15457 if test "$ac_find_libraries" != "" ; then
15458
15459 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
15460 result=$?
15461 if test $result = 0; then
15462 ac_path_to_link=""
15463 else
15464 ac_path_to_link=" -L$ac_find_libraries"
15465 fi
15466
15467 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
15468
15469 xpm_link=" -lXpm"
15470 cat >> confdefs.h <<\EOF
15471#define wxHAVE_LIB_XPM 1
15472EOF
15473
15474 echo "$ac_t""found at $ac_find_libraries" 1>&6
15475 else
15476 save_CFLAGS=$CFLAGS
15477 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
15478
15479 cat > conftest.$ac_ext <<EOF
15480#line 15481 "configure"
15481#include "confdefs.h"
15482
15483 #include <X11/xpm.h>
15484
15485int main() {
15486
15487 int version;
15488 version = XpmLibraryVersion();
15489
15490; return 0; }
15491EOF
15492if { (eval echo configure:15493: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15493 rm -rf conftest*
15494
15495 xpm_link=" -lXpm"
15496 cat >> confdefs.h <<\EOF
15497#define wxHAVE_LIB_XPM 1
15498EOF
15499
15500 echo "$ac_t""found in default search path" 1>&6
15501 COMPILED_X_PROGRAM=0
15502
15503else
15504 echo "configure: failed program was:" >&5
15505 cat conftest.$ac_ext >&5
15506 rm -rf conftest*
15507
15508 echo "$ac_t""no" 1>&6
15509 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
15510
15511
15512fi
15513rm -f conftest*
15514
15515 CFLAGS=$save_CFLAGS
15516 fi
15517
15518 echo $ac_n "checking if we need -lXp and/or -lSM -lICE""... $ac_c" 1>&6
15519echo "configure:15520: checking if we need -lXp and/or -lSM -lICE" >&5
15520 libp_link=""
15521 libsm_ice_link=""
15522 libs_found=0
15523 for libp in "" " -lXp"; do
15524 if test "$libs_found" = "0"; then
15525 for libsm_ice in " -lSM -lICE"; do
15526 if test "$libs_found" = "0"; then
15527 save_LIBS="$LIBS"
15528 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
15529 save_CFLAGS=$CFLAGS
15530 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
15531
15532 cat > conftest.$ac_ext <<EOF
15533#line 15534 "configure"
15534#include "confdefs.h"
15535
15536 #include <Xm/Xm.h>
15537 #include <Xm/List.h>
15538
15539int main() {
15540
15541 XmString string = NULL;
15542 Widget w = NULL;
15543 int position = 0;
15544 XmListAddItem(w, string, position);
15545
15546; return 0; }
15547EOF
15548if { (eval echo configure:15549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15549 rm -rf conftest*
15550
15551 libp_link="$libp"
15552 libsm_ice_link="$libsm_ice"
15553 echo "$ac_t""need${libp_link}${libsm_ice_link}" 1>&6
15554 libs_found=1
15555
15556else
15557 echo "configure: failed program was:" >&5
15558 cat conftest.$ac_ext >&5
15559 rm -rf conftest*
15560
15561
15562fi
15563rm -f conftest*
15564
15565 LIBS="$save_LIBS"
15566 CFLAGS=$save_CFLAGS
15567 fi
15568 done
15569 fi
15570 done
15571
15572 if test "$libs_found" = "0"; then
15573 echo "$ac_t""can't find the right libraries" 1>&6
15574 { echo "configure: error: can't link a simple motif program" 1>&2; exit 1; }
15575 fi
15576
15577 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
15578 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
15579 TOOLKIT=MOTIF
15580 GUIDIST=MOTIF_DIST
15581 fi
15582
15583 if test "$wxUSE_MAC" = 1; then
15584 CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
15585
15586 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
15587 TOOLKIT=MAC
15588 GUIDIST=MACX_DIST
15589 fi
15590
15591 if test "$wxUSE_PM" = 1; then
15592 TOOLKIT=PM
15593 GUIDIST=GTK_DIST
15594 echo "configure: warning: OS/2 PM requires old resource format, re-enabled" 1>&2
15595 wxUSE_PROLOGIO="yes"
15596 wxUSE_RESOURCES="yes"
15597 echo "configure: warning: OS/2 threads are not yet supported... disabled" 1>&2
15598 wxUSE_THREADS="no"
15599 fi
15600
15601 if test "$TOOLKIT" = "PM" ; then
15602 TOOLKIT_DIR="os2"
15603 else
15604 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
15605 fi
15606
15607 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
15608
15609 if test "$wxUSE_UNIVERSAL" = "yes"; then
15610 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
15611
15612 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
15613 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
15614
15615 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
15616 if test "$wxUSE_X11" = 1; then
15617 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
15618 else
15619 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
15620 fi
15621 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
15622 WIDGET_SET=univ
15623 else
15624 ALL_OBJECTS="\$(GUIOBJS)"
15625 ALL_SOURCES="\$(ALL_SOURCES)"
15626 ALL_HEADERS="\$(ALL_HEADERS)"
15627 fi
15628
15629 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
15630
15631 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
15632 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
15633 fi
15634
15635 if test "$wxUSE_HTML" = "yes"; then
15636 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
15637 fi
15638
15639 if test "$wxUSE_LIBJPEG" = "builtin" ; then
15640 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
15641 fi
15642 if test "$wxUSE_LIBTIFF" = "builtin" ; then
15643 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
15644 fi
15645 if test "$wxUSE_LIBPNG" = "builtin" ; then
15646 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
15647 fi
15648
15649 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
15650 DISTDIR="wx\$(TOOLKIT)"
15651else
15652 USE_GUI=0
15653
15654 TOOLKIT_DIR="base"
15655
15656 if test "$USE_WIN32" = 1 ; then
15657 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
15658 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
15659
15660 TOOLKIT="MSW"
15661 else
15662 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
15663 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
15664 fi
15665
15666 ALL_SOURCES="\$(ALL_SOURCES)"
15667 ALL_HEADERS="\$(ALL_HEADERS)"
15668
15669 PORT_FILES="\${top_srcdir}/src/files.lst"
15670
15671 GUIDIST="BASE_DIST"
15672 DISTDIR="wxBase"
15673fi
15674
15675
15676if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
15677 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
15678fi
15679
15680if test "$wxUSE_REGEX" = "builtin" ; then
15681 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
15682fi
15683if test "$wxUSE_ZLIB" = "builtin" ; then
15684 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
15685fi
15686
15687
15688if test "$wxUSE_OPENGL" = "yes"; then
15689 if test "$wxUSE_MAC" = 1; then
15690 OPENGL_LIBS="-framework OpenGL -framework AGL"
15691 elif test "$wxUSE_MSW" = 1; then
15692 OPENGL_LIBS="-lopengl32 -lglu32"
15693 else
15694 ac_safe=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15695echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15696echo "configure:15697: checking for GL/gl.h" >&5
15697if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15698 echo $ac_n "(cached) $ac_c" 1>&6
15699else
15700 cat > conftest.$ac_ext <<EOF
15701#line 15702 "configure"
15702#include "confdefs.h"
15703#include <GL/gl.h>
15704EOF
15705ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15706{ (eval echo configure:15707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15707ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15708if test -z "$ac_err"; then
15709 rm -rf conftest*
15710 eval "ac_cv_header_$ac_safe=yes"
15711else
15712 echo "$ac_err" >&5
15713 echo "configure: failed program was:" >&5
15714 cat conftest.$ac_ext >&5
15715 rm -rf conftest*
15716 eval "ac_cv_header_$ac_safe=no"
15717fi
15718rm -f conftest*
15719fi
15720if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15721 echo "$ac_t""yes" 1>&6
15722
15723 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
15724echo "configure:15725: checking for -lGL" >&5
15725
15726ac_find_libraries=
15727for ac_dir in $SEARCH_LIB /usr/lib;
15728 do
15729 for ac_extension in a so sl dylib; do
15730 if test -f "$ac_dir/libGL.$ac_extension"; then
15731 ac_find_libraries=$ac_dir
15732 break 2
15733 fi
15734 done
15735 done
15736
15737 if test "$ac_find_libraries" != "" ; then
15738
15739 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
15740 result=$?
15741 if test $result = 0; then
15742 ac_path_to_link=""
15743 else
15744 ac_path_to_link=" -L$ac_find_libraries"
15745 fi
15746
15747 if test "$ac_path_to_link" = " -L/usr/lib" ; then
15748 LDFLAGS_GL="$LDFLAGS"
15749 else
15750 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
15751 fi
15752 OPENGL_LIBS="-lGL -lGLU"
15753 echo "$ac_t""yes" 1>&6
15754 else
15755 echo "$ac_t""no" 1>&6
15756 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
15757echo "configure:15758: checking for -lMesaGL" >&5
15758
15759ac_find_libraries=
15760for ac_dir in $SEARCH_LIB /usr/lib;
15761 do
15762 for ac_extension in a so sl dylib; do
15763 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
15764 ac_find_libraries=$ac_dir
15765 break 2
15766 fi
15767 done
15768 done
15769
15770 if test "$ac_find_libraries" != "" ; then
15771
15772 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
15773 result=$?
15774 if test $result = 0; then
15775 ac_path_to_link=""
15776 else
15777 ac_path_to_link=" -L$ac_find_libraries"
15778 fi
15779
15780 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
15781 OPENGL_LIBS="-lMesaGL -lMesaGLU"
15782 echo "$ac_t""yes" 1>&6
15783 else
15784 echo "$ac_t""no" 1>&6
15785 fi
15786 fi
15787
15788else
15789 echo "$ac_t""no" 1>&6
15790fi
15791
15792
15793 if test "x$OPENGL_LIBS" = "x"; then
15794 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
15795 fi
15796 fi
15797
15798 if test "$wxUSE_OPENGL" = "yes"; then
15799 cat >> confdefs.h <<\EOF
15800#define wxUSE_OPENGL 1
15801EOF
15802
15803 cat >> confdefs.h <<\EOF
15804#define wxUSE_GLCANVAS 1
15805EOF
15806
15807 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
15808 fi
15809fi
15810
15811if test -z "$TOOLKIT_VPATH" ; then
15812 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
15813fi
15814
15815if test -n "$TOOLKIT" ; then
15816 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
15817fi
15818
15819lib_unicode_suffix=
15820if test "$wxUSE_UNICODE" = "yes"; then
15821 lib_unicode_suffix=u
15822fi
15823
15824lib_debug_suffix=
15825if test "$wxUSE_DEBUG_FLAG" = "yes"; then
15826 lib_debug_suffix=d
15827fi
15828
15829WX_VERSION_TAG=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
15830
15831TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
15832TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
15833
15834if test "$cross_compiling" = "yes"; then
15835 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
15836 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
15837fi
15838
15839WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
15840WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
15841WX_LIBRARY_BASENAME="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
15842
15843WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15844WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15845
15846WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
15847WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
15848WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
15849WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15850
15851case "${host}" in
15852 *-*-cygwin* | *-*-mingw32* )
15853
15854
15855
15856 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
15857 WX_LIBRARY="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15858 WX_LIBRARY_GL="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15859 WX_LIBRARY_NAME_SHARED="${WX_LIBRARY}.${SO_SUFFIX}"
15860 WX_LIBRARY_NAME_SHARED_GL="${WX_LIBRARY_GL}.${SO_SUFFIX}"
15861 else
15862 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
15863 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15864 fi
15865 ;;
15866
15867 *-*-darwin* )
15868
15869 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
15870 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
15871
15872 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
15873 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
15874 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
15875 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15876
15877 if test "$wxUSE_MAC" = 1; then
15878 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
15879 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
15880 fi
15881 ;;
15882esac
15883
15884WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
15885WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
15886
15887WXCONFIG_LIBS="-l${WX_LIBRARY}"
15888WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
15889
15890if test "$wxUSE_OPENGL" = "yes"; then
15891 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
15892 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
15893fi
15894
15895
15896
15897if test "$wxUSE_SHARED" = "yes"; then
15898 case "${host}" in
15899 *-pc-os2_emx | *-pc-os2-emx | \
15900 *-pc-msdosdjgpp )
15901 wxUSE_SHARED=no
15902 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
15903 ;;
15904 esac
15905fi
15906
15907if test "$wxUSE_SHARED" = "yes"; then
15908
15909 if test "$wxUSE_OPENGL" = "yes"; then
15910 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
15911 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
15912 else
15913 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
15914 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1}"
15915 fi
15916
15917 if test "$GCC" = "yes"; then
15918 PIC_FLAG="-fPIC"
15919 fi
15920
15921
15922
15923 found_versioning=no
15924
15925
15926 if test $found_versioning = no ; then
15927 echo $ac_n "checking if the linker accepts --version-script""... $ac_c" 1>&6
15928echo "configure:15929: checking if the linker accepts --version-script" >&5
15929if eval "test \"`echo '$''{'wx_cv_version_script'+set}'`\" = set"; then
15930 echo $ac_n "(cached) $ac_c" 1>&6
15931else
15932
15933 echo "VER_1 { *; };" >conftest.sym
15934 echo "int main() { return 0; }" >conftest.cpp
15935
15936 if { ac_try='
15937 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
15938 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'; { (eval echo configure:15939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } ; then
15939 if test -s conftest.stderr ; then
15940 wx_cv_version_script=no
15941 else
15942 wx_cv_version_script=yes
15943 fi
15944 else
15945 wx_cv_version_script=no
15946 fi
15947 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
15948
15949fi
15950
15951echo "$ac_t""$wx_cv_version_script" 1>&6
15952 if test $wx_cv_version_script = yes ; then
15953 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)/version-script"
15954 fi
15955 fi
15956
15957
15958 SHARED_LD="${CXX} -shared -o"
15959
15960 case "${host}" in
15961 *-hp-hpux* )
15962 if test "$GCC" = "yes"; then
15963 SHARED_LD="${CXX} -shared ${PIC_FLAG} -o"
15964 else
15965 LDFLAGS="$LDFLAGS -L/usr/lib"
15966
15967 SHARED_LD="${CXX} -b -o"
15968 PIC_FLAG="+Z"
15969 fi
15970
15971 if test "$wxUSE_OPENGL" = "yes"; then
15972 WX_ALL_INSTALLED="preinstall_gl"
15973 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
15974 else
15975 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
15976 fi
15977 ;;
15978
15979 *-*-linux* )
15980 if test "$GCC" != "yes"; then
15981 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
15982echo "configure:15983: checking for Intel compiler" >&5
15983if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
15984 echo $ac_n "(cached) $ac_c" 1>&6
15985else
15986
15987 cat > conftest.$ac_ext <<EOF
15988#line 15989 "configure"
15989#include "confdefs.h"
15990
15991int main() {
15992
15993 #ifndef __INTEL_COMPILER
15994 #error Not icc
15995 #endif
15996
15997; return 0; }
15998EOF
15999if { (eval echo configure:16000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16000 rm -rf conftest*
16001 wx_cv_prog_icc=yes
16002else
16003 echo "configure: failed program was:" >&5
16004 cat conftest.$ac_ext >&5
16005 rm -rf conftest*
16006 wx_cv_prog_icc=no
16007
16008fi
16009rm -f conftest*
16010
16011fi
16012
16013echo "$ac_t""$wx_cv_prog_icc" 1>&6
16014 if test "$wx_cv_prog_icc" = "yes"; then
16015 PIC_FLAG="-KPIC"
16016 fi
16017 fi
16018
16019 if test "$wxUSE_SONAME" = "yes" ; then
16020 SONAME_FLAGS="-Wl,-soname,${WX_LIBRARY_LINK1}"
16021 SONAME_FLAGS_GL="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
16022 WX_TARGET_LIBRARY_SONAME="-Wl,-soname,\$(TARGETLIB_LINK1)"
16023 fi
16024 ;;
16025
16026 *-*-solaris2* )
16027 if test "$GCC" = yes ; then
16028 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
16029 else
16030 SHARED_LD="${CXX} -G -o"
16031 PIC_FLAG="-KPIC"
16032 SONAME_FLAGS="-h ${WX_LIBRARY_NAME_SHARED}"
16033 SONAME_FLAGS_GL="-h ${WX_LIBRARY_NAME_SHARED_GL}"
16034 fi
16035 ;;
16036
16037 *-*-darwin* )
16038 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
16039 CFLAGS="$CFLAGS -fno-common"
16040 CXXFLAGS="$CXXFLAGS -fno-common"
16041 SHARED_LD="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
16042 PIC_FLAG="-dynamic -fPIC"
16043 SONAME_FLAGS="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1}"
16044 SONAME_FLAGS_GL="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1_GL}"
16045 ;;
16046
16047 *-*-aix* )
16048 if test "$GCC" != "yes"; then
16049 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
16050set dummy makeC++SharedLib; ac_word=$2
16051echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16052echo "configure:16053: checking for $ac_word" >&5
16053if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
16054 echo $ac_n "(cached) $ac_c" 1>&6
16055else
16056 if test -n "$AIX_CXX_LD"; then
16057 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
16058else
16059 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
16060 ac_dummy="$PATH"
16061 for ac_dir in $ac_dummy; do
16062 test -z "$ac_dir" && ac_dir=.
16063 if test -f $ac_dir/$ac_word; then
16064 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
16065 break
16066 fi
16067 done
16068 IFS="$ac_save_ifs"
16069 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
16070fi
16071fi
16072AIX_CXX_LD="$ac_cv_prog_AIX_CXX_LD"
16073if test -n "$AIX_CXX_LD"; then
16074 echo "$ac_t""$AIX_CXX_LD" 1>&6
16075else
16076 echo "$ac_t""no" 1>&6
16077fi
16078
16079
16080 SHARED_LD="$(AIX_CXX_LD) -p 0 -o"
16081 fi
16082 ;;
16083
16084 *-*-cygwin* | *-*-mingw32* )
16085 WX_LIBRARY_IMPORTLIB="${WX_LIBRARY_NAME_SHARED}.a"
16086
16087 SHARED_LD="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
16088 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
16089
16090 PIC_FLAG="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
16091
16092 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16093 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
16094
16095 if test "$wxUSE_OPENGL" = "yes"; then
16096 LIBS="${LIBS} ${OPENGL_LIBS}"
16097 fi
16098 ;;
16099
16100 *-*-beos* )
16101 SHARED_LD="${LD} -shared -o"
16102 ;;
16103
16104 *-*-irix* )
16105 if test "$GCC" != "yes"; then
16106 PIC_FLAG="-KPIC"
16107 fi
16108 ;;
16109
16110 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
16111 *-*-sunos4* | \
16112 *-*-osf* | \
16113 *-*-dgux5* | \
16114 *-*-sysv5* )
16115 ;;
16116
16117 *)
16118 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
16119 esac
16120
16121 if test "x$WX_TARGET_LIBRARY" = "x"; then
16122 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
16123 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
16124 fi
16125
16126 WX_TARGET_LIBRARY_TYPE="so"
16127 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
16128fi
16129
16130if test "$wxUSE_SHARED" = "no"; then
16131
16132 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
16133 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
16134 fi
16135
16136 if test "$wxUSE_MAC" = 1; then
16137 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
16138 fi
16139
16140 if test "$wxUSE_OPENGL" = "yes"; then
16141 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
16142 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
16143 else
16144 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
16145 fi
16146
16147 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
16148 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
16149
16150 WX_TARGET_LIBRARY_TYPE="a"
16151 INSTALL_LIBRARY='$(INSTALL_DATA)'
16152
16153 STATIC_FLAG="yes"
16154else
16155 STATIC_FLAG="no"
16156fi
16157
16158if test "$wxUSE_MAC" = 1; then
16159 LIBWXMACRES="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
16160 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
16161 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
16162 # Extract the first word of "Rez", so it can be a program name with args.
16163set dummy Rez; ac_word=$2
16164echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16165echo "configure:16166: checking for $ac_word" >&5
16166if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
16167 echo $ac_n "(cached) $ac_c" 1>&6
16168else
16169 if test -n "$RESCOMP"; then
16170 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
16171else
16172 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
16173 ac_dummy="$PATH"
16174 for ac_dir in $ac_dummy; do
16175 test -z "$ac_dir" && ac_dir=.
16176 if test -f $ac_dir/$ac_word; then
16177 ac_cv_prog_RESCOMP="Rez"
16178 break
16179 fi
16180 done
16181 IFS="$ac_save_ifs"
16182 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
16183fi
16184fi
16185RESCOMP="$ac_cv_prog_RESCOMP"
16186if test -n "$RESCOMP"; then
16187 echo "$ac_t""$RESCOMP" 1>&6
16188else
16189 echo "$ac_t""no" 1>&6
16190fi
16191
16192 # Extract the first word of "DeRez", so it can be a program name with args.
16193set dummy DeRez; ac_word=$2
16194echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16195echo "configure:16196: checking for $ac_word" >&5
16196if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
16197 echo $ac_n "(cached) $ac_c" 1>&6
16198else
16199 if test -n "$DEREZ"; then
16200 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
16201else
16202 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
16203 ac_dummy="$PATH"
16204 for ac_dir in $ac_dummy; do
16205 test -z "$ac_dir" && ac_dir=.
16206 if test -f $ac_dir/$ac_word; then
16207 ac_cv_prog_DEREZ="DeRez"
16208 break
16209 fi
16210 done
16211 IFS="$ac_save_ifs"
16212 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
16213fi
16214fi
16215DEREZ="$ac_cv_prog_DEREZ"
16216if test -n "$DEREZ"; then
16217 echo "$ac_t""$DEREZ" 1>&6
16218else
16219 echo "$ac_t""no" 1>&6
16220fi
16221
16222 MACOSX_BUNDLE="bundle"
16223 LIBWXMACRESCOMP="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
16224 LIBWXMACRESWXCONFIG="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
16225else
16226 if test "$wxUSE_PM" = 1; then
16227 LIBWXMACRESCOMP="emxbind -ep \$(BIN_PROGRAM)"
16228 fi
16229fi
16230
16231
16232echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
16233echo "configure:16234: checking for ANSI C header files" >&5
16234if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
16235 echo $ac_n "(cached) $ac_c" 1>&6
16236else
16237 cat > conftest.$ac_ext <<EOF
16238#line 16239 "configure"
16239#include "confdefs.h"
16240#include <stdlib.h>
16241#include <stdarg.h>
16242#include <string.h>
16243#include <float.h>
16244EOF
16245ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16246{ (eval echo configure:16247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16247ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16248if test -z "$ac_err"; then
16249 rm -rf conftest*
16250 ac_cv_header_stdc=yes
16251else
16252 echo "$ac_err" >&5
16253 echo "configure: failed program was:" >&5
16254 cat conftest.$ac_ext >&5
16255 rm -rf conftest*
16256 ac_cv_header_stdc=no
16257fi
16258rm -f conftest*
16259
16260if test $ac_cv_header_stdc = yes; then
16261 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16262cat > conftest.$ac_ext <<EOF
16263#line 16264 "configure"
16264#include "confdefs.h"
16265#include <string.h>
16266EOF
16267if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16268 egrep "memchr" >/dev/null 2>&1; then
16269 :
16270else
16271 rm -rf conftest*
16272 ac_cv_header_stdc=no
16273fi
16274rm -f conftest*
16275
16276fi
16277
16278if test $ac_cv_header_stdc = yes; then
16279 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16280cat > conftest.$ac_ext <<EOF
16281#line 16282 "configure"
16282#include "confdefs.h"
16283#include <stdlib.h>
16284EOF
16285if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16286 egrep "free" >/dev/null 2>&1; then
16287 :
16288else
16289 rm -rf conftest*
16290 ac_cv_header_stdc=no
16291fi
16292rm -f conftest*
16293
16294fi
16295
16296if test $ac_cv_header_stdc = yes; then
16297 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16298if test "$cross_compiling" = yes; then
16299 :
16300else
16301 cat > conftest.$ac_ext <<EOF
16302#line 16303 "configure"
16303#include "confdefs.h"
16304#include <ctype.h>
16305#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16306#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16307#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16308int main () { int i; for (i = 0; i < 256; i++)
16309if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
16310exit (0); }
16311
16312EOF
16313if { (eval echo configure:16314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
16314then
16315 :
16316else
16317 echo "configure: failed program was:" >&5
16318 cat conftest.$ac_ext >&5
16319 rm -fr conftest*
16320 ac_cv_header_stdc=no
16321fi
16322rm -fr conftest*
16323fi
16324
16325fi
16326fi
16327
16328echo "$ac_t""$ac_cv_header_stdc" 1>&6
16329if test $ac_cv_header_stdc = yes; then
16330 cat >> confdefs.h <<\EOF
16331#define STDC_HEADERS 1
16332EOF
16333
16334fi
16335
16336echo $ac_n "checking for mode_t""... $ac_c" 1>&6
16337echo "configure:16338: checking for mode_t" >&5
16338if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
16339 echo $ac_n "(cached) $ac_c" 1>&6
16340else
16341 cat > conftest.$ac_ext <<EOF
16342#line 16343 "configure"
16343#include "confdefs.h"
16344#include <sys/types.h>
16345#if STDC_HEADERS
16346#include <stdlib.h>
16347#include <stddef.h>
16348#endif
16349EOF
16350if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16351 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
16352 rm -rf conftest*
16353 ac_cv_type_mode_t=yes
16354else
16355 rm -rf conftest*
16356 ac_cv_type_mode_t=no
16357fi
16358rm -f conftest*
16359
16360fi
16361echo "$ac_t""$ac_cv_type_mode_t" 1>&6
16362if test $ac_cv_type_mode_t = no; then
16363 cat >> confdefs.h <<\EOF
16364#define mode_t int
16365EOF
16366
16367fi
16368
16369echo $ac_n "checking for off_t""... $ac_c" 1>&6
16370echo "configure:16371: checking for off_t" >&5
16371if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
16372 echo $ac_n "(cached) $ac_c" 1>&6
16373else
16374 cat > conftest.$ac_ext <<EOF
16375#line 16376 "configure"
16376#include "confdefs.h"
16377#include <sys/types.h>
16378#if STDC_HEADERS
16379#include <stdlib.h>
16380#include <stddef.h>
16381#endif
16382EOF
16383if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16384 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
16385 rm -rf conftest*
16386 ac_cv_type_off_t=yes
16387else
16388 rm -rf conftest*
16389 ac_cv_type_off_t=no
16390fi
16391rm -f conftest*
16392
16393fi
16394echo "$ac_t""$ac_cv_type_off_t" 1>&6
16395if test $ac_cv_type_off_t = no; then
16396 cat >> confdefs.h <<\EOF
16397#define off_t long
16398EOF
16399
16400fi
16401
16402echo $ac_n "checking for pid_t""... $ac_c" 1>&6
16403echo "configure:16404: checking for pid_t" >&5
16404if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
16405 echo $ac_n "(cached) $ac_c" 1>&6
16406else
16407 cat > conftest.$ac_ext <<EOF
16408#line 16409 "configure"
16409#include "confdefs.h"
16410#include <sys/types.h>
16411#if STDC_HEADERS
16412#include <stdlib.h>
16413#include <stddef.h>
16414#endif
16415EOF
16416if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16417 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
16418 rm -rf conftest*
16419 ac_cv_type_pid_t=yes
16420else
16421 rm -rf conftest*
16422 ac_cv_type_pid_t=no
16423fi
16424rm -f conftest*
16425
16426fi
16427echo "$ac_t""$ac_cv_type_pid_t" 1>&6
16428if test $ac_cv_type_pid_t = no; then
16429 cat >> confdefs.h <<\EOF
16430#define pid_t int
16431EOF
16432
16433fi
16434
16435echo $ac_n "checking for size_t""... $ac_c" 1>&6
16436echo "configure:16437: checking for size_t" >&5
16437if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
16438 echo $ac_n "(cached) $ac_c" 1>&6
16439else
16440 cat > conftest.$ac_ext <<EOF
16441#line 16442 "configure"
16442#include "confdefs.h"
16443#include <sys/types.h>
16444#if STDC_HEADERS
16445#include <stdlib.h>
16446#include <stddef.h>
16447#endif
16448EOF
16449if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16450 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
16451 rm -rf conftest*
16452 ac_cv_type_size_t=yes
16453else
16454 rm -rf conftest*
16455 ac_cv_type_size_t=no
16456fi
16457rm -f conftest*
16458
16459fi
16460echo "$ac_t""$ac_cv_type_size_t" 1>&6
16461if test $ac_cv_type_size_t = no; then
16462 cat >> confdefs.h <<\EOF
16463#define size_t unsigned
16464EOF
16465
16466fi
16467
16468echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
16469echo "configure:16470: checking for uid_t in sys/types.h" >&5
16470if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
16471 echo $ac_n "(cached) $ac_c" 1>&6
16472else
16473 cat > conftest.$ac_ext <<EOF
16474#line 16475 "configure"
16475#include "confdefs.h"
16476#include <sys/types.h>
16477EOF
16478if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16479 egrep "uid_t" >/dev/null 2>&1; then
16480 rm -rf conftest*
16481 ac_cv_type_uid_t=yes
16482else
16483 rm -rf conftest*
16484 ac_cv_type_uid_t=no
16485fi
16486rm -f conftest*
16487
16488fi
16489
16490echo "$ac_t""$ac_cv_type_uid_t" 1>&6
16491if test $ac_cv_type_uid_t = no; then
16492 cat >> confdefs.h <<\EOF
16493#define uid_t int
16494EOF
16495
16496 cat >> confdefs.h <<\EOF
16497#define gid_t int
16498EOF
16499
16500fi
16501
16502
16503
16504ac_ext=C
16505# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16506ac_cpp='$CXXCPP $CPPFLAGS'
16507ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16508ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16509cross_compiling=$ac_cv_prog_cxx_cross
16510
16511echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
16512echo "configure:16513: checking if size_t is unsigned int" >&5
16513if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
16514 echo $ac_n "(cached) $ac_c" 1>&6
16515else
16516 cat > conftest.$ac_ext <<EOF
16517#line 16518 "configure"
16518#include "confdefs.h"
16519#include <stddef.h>
16520int main() {
16521
16522 return 0; }
16523
16524 struct Foo { void foo(size_t); void foo(unsigned int); };
16525
16526 int bar() {
16527
16528; return 0; }
16529EOF
16530if { (eval echo configure:16531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16531 rm -rf conftest*
16532 wx_cv_size_t_is_uint=no
16533else
16534 echo "configure: failed program was:" >&5
16535 cat conftest.$ac_ext >&5
16536 rm -rf conftest*
16537 wx_cv_size_t_is_uint=yes
16538
16539fi
16540rm -f conftest*
16541
16542fi
16543
16544echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
16545
16546if test "$wx_cv_size_t_is_uint" = "yes"; then
16547 cat >> confdefs.h <<\EOF
16548#define wxSIZE_T_IS_UINT 1
16549EOF
16550
16551else
16552 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
16553echo "configure:16554: checking if size_t is unsigned long" >&5
16554if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
16555 echo $ac_n "(cached) $ac_c" 1>&6
16556else
16557 cat > conftest.$ac_ext <<EOF
16558#line 16559 "configure"
16559#include "confdefs.h"
16560#include <stddef.h>
16561int main() {
16562
16563 return 0; }
16564
16565 struct Foo { void foo(size_t); void foo(unsigned long); };
16566
16567 int bar() {
16568
16569; return 0; }
16570EOF
16571if { (eval echo configure:16572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16572 rm -rf conftest*
16573 wx_cv_size_t_is_ulong=no
16574else
16575 echo "configure: failed program was:" >&5
16576 cat conftest.$ac_ext >&5
16577 rm -rf conftest*
16578 wx_cv_size_t_is_ulong=yes
16579
16580fi
16581rm -f conftest*
16582
16583fi
16584
16585echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
16586
16587 if test "$wx_cv_size_t_is_ulong" = "yes"; then
16588 cat >> confdefs.h <<\EOF
16589#define wxSIZE_T_IS_ULONG 1
16590EOF
16591
16592 fi
16593fi
16594
16595ac_ext=c
16596# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16597ac_cpp='$CPP $CPPFLAGS'
16598ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16599ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16600cross_compiling=$ac_cv_prog_cc_cross
16601
16602
16603
16604echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
16605echo "configure:16606: checking for pw_gecos in struct passwd" >&5
16606if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
16607 echo $ac_n "(cached) $ac_c" 1>&6
16608else
16609
16610 cat > conftest.$ac_ext <<EOF
16611#line 16612 "configure"
16612#include "confdefs.h"
16613#include <pwd.h>
16614int main() {
16615
16616 char *p;
16617 struct passwd *pw;
16618 p = pw->pw_gecos;
16619
16620; return 0; }
16621EOF
16622if { (eval echo configure:16623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16623 rm -rf conftest*
16624
16625 wx_cv_struct_pw_gecos=yes
16626
16627else
16628 echo "configure: failed program was:" >&5
16629 cat conftest.$ac_ext >&5
16630 rm -rf conftest*
16631
16632 wx_cv_struct_pw_gecos=no
16633
16634
16635fi
16636rm -f conftest*
16637
16638
16639fi
16640
16641echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
16642
16643if test "$wx_cv_struct_pw_gecos" = "yes"; then
16644 cat >> confdefs.h <<\EOF
16645#define HAVE_PW_GECOS 1
16646EOF
16647
16648fi
16649
16650
16651if test "$wx_cv_sizeof_wchar_t" != "0"; then
16652 cat >> confdefs.h <<\EOF
16653#define wxUSE_WCHAR_T 1
16654EOF
16655
16656
16657 WCSLEN_FOUND=0
16658 WCHAR_LINK=
16659 for ac_func in wcslen
16660do
16661echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16662echo "configure:16663: checking for $ac_func" >&5
16663if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16664 echo $ac_n "(cached) $ac_c" 1>&6
16665else
16666 cat > conftest.$ac_ext <<EOF
16667#line 16668 "configure"
16668#include "confdefs.h"
16669/* System header to define __stub macros and hopefully few prototypes,
16670 which can conflict with char $ac_func(); below. */
16671#include <assert.h>
16672/* Override any gcc2 internal prototype to avoid an error. */
16673/* We use char because int might match the return type of a gcc2
16674 builtin and then its argument prototype would still apply. */
16675char $ac_func();
16676
16677int main() {
16678
16679/* The GNU C library defines this for functions which it implements
16680 to always fail with ENOSYS. Some functions are actually named
16681 something starting with __ and the normal name is an alias. */
16682#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16683choke me
16684#else
16685$ac_func();
16686#endif
16687
16688; return 0; }
16689EOF
16690if { (eval echo configure:16691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16691 rm -rf conftest*
16692 eval "ac_cv_func_$ac_func=yes"
16693else
16694 echo "configure: failed program was:" >&5
16695 cat conftest.$ac_ext >&5
16696 rm -rf conftest*
16697 eval "ac_cv_func_$ac_func=no"
16698fi
16699rm -f conftest*
16700fi
16701
16702if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16703 echo "$ac_t""yes" 1>&6
16704 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16705 cat >> confdefs.h <<EOF
16706#define $ac_tr_func 1
16707EOF
16708 WCSLEN_FOUND=1
16709else
16710 echo "$ac_t""no" 1>&6
16711fi
16712done
16713
16714
16715 if test "$WCSLEN_FOUND" = 0; then
16716 if test "$TOOLKIT" = "MSW"; then
16717 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
16718echo "configure:16719: checking for wcslen in -lmsvcrt" >&5
16719ac_lib_var=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
16720if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16721 echo $ac_n "(cached) $ac_c" 1>&6
16722else
16723 ac_save_LIBS="$LIBS"
16724LIBS="-lmsvcrt $LIBS"
16725cat > conftest.$ac_ext <<EOF
16726#line 16727 "configure"
16727#include "confdefs.h"
16728/* Override any gcc2 internal prototype to avoid an error. */
16729/* We use char because int might match the return type of a gcc2
16730 builtin and then its argument prototype would still apply. */
16731char wcslen();
16732
16733int main() {
16734wcslen()
16735; return 0; }
16736EOF
16737if { (eval echo configure:16738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16738 rm -rf conftest*
16739 eval "ac_cv_lib_$ac_lib_var=yes"
16740else
16741 echo "configure: failed program was:" >&5
16742 cat conftest.$ac_ext >&5
16743 rm -rf conftest*
16744 eval "ac_cv_lib_$ac_lib_var=no"
16745fi
16746rm -f conftest*
16747LIBS="$ac_save_LIBS"
16748
16749fi
16750if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16751 echo "$ac_t""yes" 1>&6
16752 WCHAR_OK=1
16753else
16754 echo "$ac_t""no" 1>&6
16755fi
16756
16757 else
16758 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
16759echo "configure:16760: checking for wcslen in -lw" >&5
16760ac_lib_var=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
16761if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16762 echo $ac_n "(cached) $ac_c" 1>&6
16763else
16764 ac_save_LIBS="$LIBS"
16765LIBS="-lw $LIBS"
16766cat > conftest.$ac_ext <<EOF
16767#line 16768 "configure"
16768#include "confdefs.h"
16769/* Override any gcc2 internal prototype to avoid an error. */
16770/* We use char because int might match the return type of a gcc2
16771 builtin and then its argument prototype would still apply. */
16772char wcslen();
16773
16774int main() {
16775wcslen()
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_lib_$ac_lib_var=yes"
16781else
16782 echo "configure: failed program was:" >&5
16783 cat conftest.$ac_ext >&5
16784 rm -rf conftest*
16785 eval "ac_cv_lib_$ac_lib_var=no"
16786fi
16787rm -f conftest*
16788LIBS="$ac_save_LIBS"
16789
16790fi
16791if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16792 echo "$ac_t""yes" 1>&6
16793
16794 WCHAR_LINK=" -lw"
16795 WCSLEN_FOUND=1
16796
16797else
16798 echo "$ac_t""no" 1>&6
16799fi
16800
16801 fi
16802 fi
16803
16804 if test "$WCSLEN_FOUND" = 1; then
16805 cat >> confdefs.h <<\EOF
16806#define HAVE_WCSLEN 1
16807EOF
16808
16809 fi
16810
16811 for ac_func in wcsrtombs
16812do
16813echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16814echo "configure:16815: checking for $ac_func" >&5
16815if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16816 echo $ac_n "(cached) $ac_c" 1>&6
16817else
16818 cat > conftest.$ac_ext <<EOF
16819#line 16820 "configure"
16820#include "confdefs.h"
16821/* System header to define __stub macros and hopefully few prototypes,
16822 which can conflict with char $ac_func(); below. */
16823#include <assert.h>
16824/* Override any gcc2 internal prototype to avoid an error. */
16825/* We use char because int might match the return type of a gcc2
16826 builtin and then its argument prototype would still apply. */
16827char $ac_func();
16828
16829int main() {
16830
16831/* The GNU C library defines this for functions which it implements
16832 to always fail with ENOSYS. Some functions are actually named
16833 something starting with __ and the normal name is an alias. */
16834#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16835choke me
16836#else
16837$ac_func();
16838#endif
16839
16840; return 0; }
16841EOF
16842if { (eval echo configure:16843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16843 rm -rf conftest*
16844 eval "ac_cv_func_$ac_func=yes"
16845else
16846 echo "configure: failed program was:" >&5
16847 cat conftest.$ac_ext >&5
16848 rm -rf conftest*
16849 eval "ac_cv_func_$ac_func=no"
16850fi
16851rm -f conftest*
16852fi
16853
16854if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16855 echo "$ac_t""yes" 1>&6
16856 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16857 cat >> confdefs.h <<EOF
16858#define $ac_tr_func 1
16859EOF
16860
16861else
16862 echo "$ac_t""no" 1>&6
16863fi
16864done
16865
16866else
16867 echo "configure: warning: Wide character support is unavailable" 1>&2
16868fi
16869
16870
16871ac_ext=C
16872# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16873ac_cpp='$CXXCPP $CPPFLAGS'
16874ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16875ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16876cross_compiling=$ac_cv_prog_cxx_cross
16877
16878
16879for ac_func in vsnprintf
16880do
16881echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16882echo "configure:16883: checking for $ac_func" >&5
16883if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16884 echo $ac_n "(cached) $ac_c" 1>&6
16885else
16886 cat > conftest.$ac_ext <<EOF
16887#line 16888 "configure"
16888#include "confdefs.h"
16889/* System header to define __stub macros and hopefully few prototypes,
16890 which can conflict with char $ac_func(); below. */
16891#include <assert.h>
16892/* Override any gcc2 internal prototype to avoid an error. */
16893#ifdef __cplusplus
16894extern "C"
16895#endif
16896/* We use char because int might match the return type of a gcc2
16897 builtin and then its argument prototype would still apply. */
16898char $ac_func();
16899
16900int main() {
16901
16902/* The GNU C library defines this for functions which it implements
16903 to always fail with ENOSYS. Some functions are actually named
16904 something starting with __ and the normal name is an alias. */
16905#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16906choke me
16907#else
16908$ac_func();
16909#endif
16910
16911; return 0; }
16912EOF
16913if { (eval echo configure:16914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16914 rm -rf conftest*
16915 eval "ac_cv_func_$ac_func=yes"
16916else
16917 echo "configure: failed program was:" >&5
16918 cat conftest.$ac_ext >&5
16919 rm -rf conftest*
16920 eval "ac_cv_func_$ac_func=no"
16921fi
16922rm -f conftest*
16923fi
16924
16925if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16926 echo "$ac_t""yes" 1>&6
16927 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16928 cat >> confdefs.h <<EOF
16929#define $ac_tr_func 1
16930EOF
16931
16932else
16933 echo "$ac_t""no" 1>&6
16934fi
16935done
16936
16937
16938if test "$ac_cv_func_vsnprintf" = "yes"; then
16939 echo $ac_n "checking for vsnprintf declaration""... $ac_c" 1>&6
16940echo "configure:16941: checking for vsnprintf declaration" >&5
16941if eval "test \"`echo '$''{'wx_cv_func_vsnprintf_decl'+set}'`\" = set"; then
16942 echo $ac_n "(cached) $ac_c" 1>&6
16943else
16944
16945 cat > conftest.$ac_ext <<EOF
16946#line 16947 "configure"
16947#include "confdefs.h"
16948
16949 #include <stdio.h>
16950 #include <stdarg.h>
16951
16952int main() {
16953
16954 char *buf;
16955 va_list ap;
16956 vsnprintf(buf, 10u, "%s", ap);
16957
16958; return 0; }
16959EOF
16960if { (eval echo configure:16961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16961 rm -rf conftest*
16962 wx_cv_func_vsnprintf_decl=yes
16963else
16964 echo "configure: failed program was:" >&5
16965 cat conftest.$ac_ext >&5
16966 rm -rf conftest*
16967 wx_cv_func_vsnprintf_decl=no
16968
16969fi
16970rm -f conftest*
16971
16972
16973fi
16974
16975echo "$ac_t""$wx_cv_func_vsnprintf_decl" 1>&6
16976
16977 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
16978 cat >> confdefs.h <<\EOF
16979#define HAVE_VSNPRINTF_DECL 1
16980EOF
16981
16982 fi
16983fi
16984
16985if test "$wxUSE_UNICODE" = yes; then
16986 for ac_func in fputwc wprintf vswprintf
16987do
16988echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16989echo "configure:16990: checking for $ac_func" >&5
16990if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16991 echo $ac_n "(cached) $ac_c" 1>&6
16992else
16993 cat > conftest.$ac_ext <<EOF
16994#line 16995 "configure"
16995#include "confdefs.h"
16996/* System header to define __stub macros and hopefully few prototypes,
16997 which can conflict with char $ac_func(); below. */
16998#include <assert.h>
16999/* Override any gcc2 internal prototype to avoid an error. */
17000#ifdef __cplusplus
17001extern "C"
17002#endif
17003/* We use char because int might match the return type of a gcc2
17004 builtin and then its argument prototype would still apply. */
17005char $ac_func();
17006
17007int main() {
17008
17009/* The GNU C library defines this for functions which it implements
17010 to always fail with ENOSYS. Some functions are actually named
17011 something starting with __ and the normal name is an alias. */
17012#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17013choke me
17014#else
17015$ac_func();
17016#endif
17017
17018; return 0; }
17019EOF
17020if { (eval echo configure:17021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17021 rm -rf conftest*
17022 eval "ac_cv_func_$ac_func=yes"
17023else
17024 echo "configure: failed program was:" >&5
17025 cat conftest.$ac_ext >&5
17026 rm -rf conftest*
17027 eval "ac_cv_func_$ac_func=no"
17028fi
17029rm -f conftest*
17030fi
17031
17032if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17033 echo "$ac_t""yes" 1>&6
17034 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17035 cat >> confdefs.h <<EOF
17036#define $ac_tr_func 1
17037EOF
17038
17039else
17040 echo "$ac_t""no" 1>&6
17041fi
17042done
17043
17044
17045 echo $ac_n "checking for _vsnwprintf""... $ac_c" 1>&6
17046echo "configure:17047: checking for _vsnwprintf" >&5
17047 cat > conftest.$ac_ext <<EOF
17048#line 17049 "configure"
17049#include "confdefs.h"
17050#include <wchar.h>
17051int main() {
17052&_vsnwprintf;
17053; return 0; }
17054EOF
17055if { (eval echo configure:17056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17056 rm -rf conftest*
17057 echo "$ac_t""yes" 1>&6
17058 cat >> confdefs.h <<\EOF
17059#define HAVE__VSNWPRINTF 1
17060EOF
17061
17062else
17063 echo "configure: failed program was:" >&5
17064 cat conftest.$ac_ext >&5
17065 rm -rf conftest*
17066 echo "$ac_t""no" 1>&6
17067fi
17068rm -f conftest*;
17069fi
17070
17071ac_ext=c
17072# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17073ac_cpp='$CPP $CPPFLAGS'
17074ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17075ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17076cross_compiling=$ac_cv_prog_cc_cross
17077
17078
17079
17080
17081if test "$TOOLKIT" != "MSW"; then
17082
17083
17084
17085ac_ext=C
17086# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17087ac_cpp='$CXXCPP $CPPFLAGS'
17088ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17089ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17090cross_compiling=$ac_cv_prog_cxx_cross
17091
17092
17093
17094 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
17095if test "${with_libiconv_prefix+set}" = set; then
17096 withval="$with_libiconv_prefix"
17097
17098 for dir in `echo "$withval" | tr : ' '`; do
17099 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
17100 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
17101 done
17102
17103fi
17104
17105
17106 echo $ac_n "checking for iconv""... $ac_c" 1>&6
17107echo "configure:17108: checking for iconv" >&5
17108if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
17109 echo $ac_n "(cached) $ac_c" 1>&6
17110else
17111
17112 am_cv_func_iconv="no, consider installing GNU libiconv"
17113 am_cv_lib_iconv=no
17114 cat > conftest.$ac_ext <<EOF
17115#line 17116 "configure"
17116#include "confdefs.h"
17117#include <stdlib.h>
17118#include <iconv.h>
17119int main() {
17120iconv_t cd = iconv_open("","");
17121 iconv(cd,NULL,NULL,NULL,NULL);
17122 iconv_close(cd);
17123; return 0; }
17124EOF
17125if { (eval echo configure:17126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17126 rm -rf conftest*
17127 am_cv_func_iconv=yes
17128else
17129 echo "configure: failed program was:" >&5
17130 cat conftest.$ac_ext >&5
17131fi
17132rm -f conftest*
17133 if test "$am_cv_func_iconv" != yes; then
17134 am_save_LIBS="$LIBS"
17135 LIBS="$LIBS -liconv"
17136 cat > conftest.$ac_ext <<EOF
17137#line 17138 "configure"
17138#include "confdefs.h"
17139#include <stdlib.h>
17140#include <iconv.h>
17141int main() {
17142iconv_t cd = iconv_open("","");
17143 iconv(cd,NULL,NULL,NULL,NULL);
17144 iconv_close(cd);
17145; return 0; }
17146EOF
17147if { (eval echo configure:17148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17148 rm -rf conftest*
17149 am_cv_lib_iconv=yes
17150 am_cv_func_iconv=yes
17151else
17152 echo "configure: failed program was:" >&5
17153 cat conftest.$ac_ext >&5
17154fi
17155rm -f conftest*
17156 LIBS="$am_save_LIBS"
17157 fi
17158
17159fi
17160
17161echo "$ac_t""$am_cv_func_iconv" 1>&6
17162 if test "$am_cv_func_iconv" = yes; then
17163 cat >> confdefs.h <<\EOF
17164#define HAVE_ICONV 1
17165EOF
17166
17167 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
17168echo "configure:17169: checking if iconv needs const" >&5
17169if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
17170 echo $ac_n "(cached) $ac_c" 1>&6
17171else
17172 cat > conftest.$ac_ext <<EOF
17173#line 17174 "configure"
17174#include "confdefs.h"
17175
17176#include <stdlib.h>
17177#include <iconv.h>
17178extern
17179#ifdef __cplusplus
17180"C"
17181#endif
17182#if defined(__STDC__) || defined(__cplusplus)
17183size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17184#else
17185size_t iconv();
17186#endif
17187
17188int main() {
17189
17190; return 0; }
17191EOF
17192if { (eval echo configure:17193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17193 rm -rf conftest*
17194 wx_cv_func_iconv_const="no"
17195else
17196 echo "configure: failed program was:" >&5
17197 cat conftest.$ac_ext >&5
17198 rm -rf conftest*
17199 wx_cv_func_iconv_const="yes"
17200
17201fi
17202rm -f conftest*
17203
17204fi
17205
17206echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
17207
17208 iconv_const=
17209 if test "x$wx_cv_func_iconv_const" = "xyes"; then
17210 iconv_const="const"
17211 fi
17212
17213 cat >> confdefs.h <<EOF
17214#define ICONV_CONST $iconv_const
17215EOF
17216
17217 fi
17218 LIBICONV=
17219 if test "$am_cv_lib_iconv" = yes; then
17220 LIBICONV="-liconv"
17221 fi
17222
17223
17224LIBS="$LIBICONV $LIBS"
17225ac_ext=c
17226# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17227ac_cpp='$CPP $CPPFLAGS'
17228ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17229ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17230cross_compiling=$ac_cv_prog_cc_cross
17231
17232
17233if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
17234 for ac_func in sigaction
17235do
17236echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17237echo "configure:17238: checking for $ac_func" >&5
17238if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17239 echo $ac_n "(cached) $ac_c" 1>&6
17240else
17241 cat > conftest.$ac_ext <<EOF
17242#line 17243 "configure"
17243#include "confdefs.h"
17244/* System header to define __stub macros and hopefully few prototypes,
17245 which can conflict with char $ac_func(); below. */
17246#include <assert.h>
17247/* Override any gcc2 internal prototype to avoid an error. */
17248/* We use char because int might match the return type of a gcc2
17249 builtin and then its argument prototype would still apply. */
17250char $ac_func();
17251
17252int main() {
17253
17254/* The GNU C library defines this for functions which it implements
17255 to always fail with ENOSYS. Some functions are actually named
17256 something starting with __ and the normal name is an alias. */
17257#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17258choke me
17259#else
17260$ac_func();
17261#endif
17262
17263; return 0; }
17264EOF
17265if { (eval echo configure:17266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17266 rm -rf conftest*
17267 eval "ac_cv_func_$ac_func=yes"
17268else
17269 echo "configure: failed program was:" >&5
17270 cat conftest.$ac_ext >&5
17271 rm -rf conftest*
17272 eval "ac_cv_func_$ac_func=no"
17273fi
17274rm -f conftest*
17275fi
17276
17277if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17278 echo "$ac_t""yes" 1>&6
17279 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17280 cat >> confdefs.h <<EOF
17281#define $ac_tr_func 1
17282EOF
17283
17284else
17285 echo "$ac_t""no" 1>&6
17286fi
17287done
17288
17289
17290 if test "$ac_cv_func_sigaction" = "no"; then
17291 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
17292 wxUSE_ON_FATAL_EXCEPTION=no
17293 fi
17294
17295 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
17296
17297 ac_ext=C
17298# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17299ac_cpp='$CXXCPP $CPPFLAGS'
17300ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17301ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17302cross_compiling=$ac_cv_prog_cxx_cross
17303
17304
17305 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
17306echo "configure:17307: checking for sa_handler type" >&5
17307if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
17308 echo $ac_n "(cached) $ac_c" 1>&6
17309else
17310
17311 cat > conftest.$ac_ext <<EOF
17312#line 17313 "configure"
17313#include "confdefs.h"
17314#include <signal.h>
17315int main() {
17316
17317 extern void testSigHandler(int);
17318
17319 struct sigaction sa;
17320 sa.sa_handler = testSigHandler;
17321
17322; return 0; }
17323EOF
17324if { (eval echo configure:17325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17325 rm -rf conftest*
17326
17327 wx_cv_type_sa_handler=int
17328
17329else
17330 echo "configure: failed program was:" >&5
17331 cat conftest.$ac_ext >&5
17332 rm -rf conftest*
17333
17334 wx_cv_type_sa_handler=void
17335
17336fi
17337rm -f conftest*
17338
17339fi
17340
17341echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
17342
17343 ac_ext=c
17344# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17345ac_cpp='$CPP $CPPFLAGS'
17346ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17347ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17348cross_compiling=$ac_cv_prog_cc_cross
17349
17350
17351 cat >> confdefs.h <<EOF
17352#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
17353EOF
17354
17355 fi
17356fi
17357
17358for ac_func in mkstemp mktemp
17359do
17360echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17361echo "configure:17362: checking for $ac_func" >&5
17362if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17363 echo $ac_n "(cached) $ac_c" 1>&6
17364else
17365 cat > conftest.$ac_ext <<EOF
17366#line 17367 "configure"
17367#include "confdefs.h"
17368/* System header to define __stub macros and hopefully few prototypes,
17369 which can conflict with char $ac_func(); below. */
17370#include <assert.h>
17371/* Override any gcc2 internal prototype to avoid an error. */
17372/* We use char because int might match the return type of a gcc2
17373 builtin and then its argument prototype would still apply. */
17374char $ac_func();
17375
17376int main() {
17377
17378/* The GNU C library defines this for functions which it implements
17379 to always fail with ENOSYS. Some functions are actually named
17380 something starting with __ and the normal name is an alias. */
17381#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17382choke me
17383#else
17384$ac_func();
17385#endif
17386
17387; return 0; }
17388EOF
17389if { (eval echo configure:17390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17390 rm -rf conftest*
17391 eval "ac_cv_func_$ac_func=yes"
17392else
17393 echo "configure: failed program was:" >&5
17394 cat conftest.$ac_ext >&5
17395 rm -rf conftest*
17396 eval "ac_cv_func_$ac_func=no"
17397fi
17398rm -f conftest*
17399fi
17400
17401if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17402 echo "$ac_t""yes" 1>&6
17403 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17404 cat >> confdefs.h <<EOF
17405#define $ac_tr_func 1
17406EOF
17407 break
17408else
17409 echo "$ac_t""no" 1>&6
17410fi
17411done
17412
17413
17414echo $ac_n "checking for statfs""... $ac_c" 1>&6
17415echo "configure:17416: checking for statfs" >&5
17416if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
17417 echo $ac_n "(cached) $ac_c" 1>&6
17418else
17419 cat > conftest.$ac_ext <<EOF
17420#line 17421 "configure"
17421#include "confdefs.h"
17422
17423 #if defined(__BSD__)
17424 #include <sys/param.h>
17425 #include <sys/mount.h>
17426 #else
17427 #include <sys/vfs.h>
17428 #endif
17429
17430int main() {
17431
17432 long l;
17433 struct statfs fs;
17434 statfs("/", &fs);
17435 l = fs.f_bsize;
17436 l += fs.f_blocks;
17437 l += fs.f_bavail;
17438
17439; return 0; }
17440EOF
17441if { (eval echo configure:17442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17442 rm -rf conftest*
17443
17444 wx_cv_func_statfs=yes
17445
17446else
17447 echo "configure: failed program was:" >&5
17448 cat conftest.$ac_ext >&5
17449 rm -rf conftest*
17450
17451 wx_cv_func_statfs=no
17452
17453
17454fi
17455rm -f conftest*
17456
17457fi
17458
17459echo "$ac_t""$wx_cv_func_statfs" 1>&6
17460
17461if test "$wx_cv_func_statfs" = "yes"; then
17462 wx_cv_type_statvfs_t="struct statfs"
17463 cat >> confdefs.h <<\EOF
17464#define HAVE_STATFS 1
17465EOF
17466
17467else
17468 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
17469echo "configure:17470: checking for statvfs" >&5
17470if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
17471 echo $ac_n "(cached) $ac_c" 1>&6
17472else
17473 cat > conftest.$ac_ext <<EOF
17474#line 17475 "configure"
17475#include "confdefs.h"
17476
17477 #include <stddef.h>
17478 #include <sys/statvfs.h>
17479
17480int main() {
17481
17482 statvfs("/", NULL);
17483
17484; return 0; }
17485EOF
17486if { (eval echo configure:17487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17487 rm -rf conftest*
17488 wx_cv_func_statvfs=yes
17489else
17490 echo "configure: failed program was:" >&5
17491 cat conftest.$ac_ext >&5
17492 rm -rf conftest*
17493 wx_cv_func_statvfs=no
17494
17495fi
17496rm -f conftest*
17497
17498fi
17499
17500echo "$ac_t""$wx_cv_func_statvfs" 1>&6
17501
17502 if test "$wx_cv_func_statvfs" = "yes"; then
17503
17504 ac_ext=C
17505# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17506ac_cpp='$CXXCPP $CPPFLAGS'
17507ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17508ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17509cross_compiling=$ac_cv_prog_cxx_cross
17510
17511
17512 echo $ac_n "checking for statvfs argument type""... $ac_c" 1>&6
17513echo "configure:17514: checking for statvfs argument type" >&5
17514if eval "test \"`echo '$''{'wx_cv_type_statvfs_t'+set}'`\" = set"; then
17515 echo $ac_n "(cached) $ac_c" 1>&6
17516else
17517 cat > conftest.$ac_ext <<EOF
17518#line 17519 "configure"
17519#include "confdefs.h"
17520
17521 #include <sys/statvfs.h>
17522
17523int main() {
17524
17525 long l;
17526 statvfs_t fs;
17527 statvfs("/", &fs);
17528 l = fs.f_bsize;
17529 l += fs.f_blocks;
17530 l += fs.f_bavail;
17531
17532; return 0; }
17533EOF
17534if { (eval echo configure:17535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17535 rm -rf conftest*
17536 wx_cv_type_statvfs_t=statvfs_t
17537else
17538 echo "configure: failed program was:" >&5
17539 cat conftest.$ac_ext >&5
17540 rm -rf conftest*
17541
17542 cat > conftest.$ac_ext <<EOF
17543#line 17544 "configure"
17544#include "confdefs.h"
17545
17546 #include <sys/statvfs.h>
17547
17548int main() {
17549
17550 long l;
17551 struct statvfs fs;
17552 statvfs("/", &fs);
17553 l = fs.f_bsize;
17554 l += fs.f_blocks;
17555 l += fs.f_bavail;
17556
17557; return 0; }
17558EOF
17559if { (eval echo configure:17560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17560 rm -rf conftest*
17561 wx_cv_type_statvfs_t="struct statvfs"
17562else
17563 echo "configure: failed program was:" >&5
17564 cat conftest.$ac_ext >&5
17565 rm -rf conftest*
17566 wx_cv_type_statvfs_t="unknown"
17567
17568fi
17569rm -f conftest*
17570
17571
17572fi
17573rm -f conftest*
17574
17575fi
17576
17577echo "$ac_t""$wx_cv_type_statvfs_t" 1>&6
17578
17579 ac_ext=c
17580# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17581ac_cpp='$CPP $CPPFLAGS'
17582ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17583ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17584cross_compiling=$ac_cv_prog_cc_cross
17585
17586
17587 if test "$wx_cv_type_statvfs_t" != "unknown"; then
17588 cat >> confdefs.h <<\EOF
17589#define HAVE_STATVFS 1
17590EOF
17591
17592 fi
17593 else
17594 wx_cv_type_statvfs_t="unknown"
17595 fi
17596fi
17597
17598if test "$wx_cv_type_statvfs_t" != "unknown"; then
17599 cat >> confdefs.h <<EOF
17600#define WX_STATFS_T $wx_cv_type_statvfs_t
17601EOF
17602
17603else
17604 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
17605fi
17606
17607if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
17608 for ac_func in fcntl flock
17609do
17610echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17611echo "configure:17612: checking for $ac_func" >&5
17612if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17613 echo $ac_n "(cached) $ac_c" 1>&6
17614else
17615 cat > conftest.$ac_ext <<EOF
17616#line 17617 "configure"
17617#include "confdefs.h"
17618/* System header to define __stub macros and hopefully few prototypes,
17619 which can conflict with char $ac_func(); below. */
17620#include <assert.h>
17621/* Override any gcc2 internal prototype to avoid an error. */
17622/* We use char because int might match the return type of a gcc2
17623 builtin and then its argument prototype would still apply. */
17624char $ac_func();
17625
17626int main() {
17627
17628/* The GNU C library defines this for functions which it implements
17629 to always fail with ENOSYS. Some functions are actually named
17630 something starting with __ and the normal name is an alias. */
17631#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17632choke me
17633#else
17634$ac_func();
17635#endif
17636
17637; return 0; }
17638EOF
17639if { (eval echo configure:17640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17640 rm -rf conftest*
17641 eval "ac_cv_func_$ac_func=yes"
17642else
17643 echo "configure: failed program was:" >&5
17644 cat conftest.$ac_ext >&5
17645 rm -rf conftest*
17646 eval "ac_cv_func_$ac_func=no"
17647fi
17648rm -f conftest*
17649fi
17650
17651if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17652 echo "$ac_t""yes" 1>&6
17653 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17654 cat >> confdefs.h <<EOF
17655#define $ac_tr_func 1
17656EOF
17657 break
17658else
17659 echo "$ac_t""no" 1>&6
17660fi
17661done
17662
17663
17664 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
17665 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
17666 wxUSE_SNGLINST_CHECKER=no
17667 fi
17668fi
17669
17670for ac_func in timegm
17671do
17672echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17673echo "configure:17674: checking for $ac_func" >&5
17674if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17675 echo $ac_n "(cached) $ac_c" 1>&6
17676else
17677 cat > conftest.$ac_ext <<EOF
17678#line 17679 "configure"
17679#include "confdefs.h"
17680/* System header to define __stub macros and hopefully few prototypes,
17681 which can conflict with char $ac_func(); below. */
17682#include <assert.h>
17683/* Override any gcc2 internal prototype to avoid an error. */
17684/* We use char because int might match the return type of a gcc2
17685 builtin and then its argument prototype would still apply. */
17686char $ac_func();
17687
17688int main() {
17689
17690/* The GNU C library defines this for functions which it implements
17691 to always fail with ENOSYS. Some functions are actually named
17692 something starting with __ and the normal name is an alias. */
17693#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17694choke me
17695#else
17696$ac_func();
17697#endif
17698
17699; return 0; }
17700EOF
17701if { (eval echo configure:17702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17702 rm -rf conftest*
17703 eval "ac_cv_func_$ac_func=yes"
17704else
17705 echo "configure: failed program was:" >&5
17706 cat conftest.$ac_ext >&5
17707 rm -rf conftest*
17708 eval "ac_cv_func_$ac_func=no"
17709fi
17710rm -f conftest*
17711fi
17712
17713if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17714 echo "$ac_t""yes" 1>&6
17715 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17716 cat >> confdefs.h <<EOF
17717#define $ac_tr_func 1
17718EOF
17719
17720else
17721 echo "$ac_t""no" 1>&6
17722fi
17723done
17724
17725
17726for ac_func in putenv setenv
17727do
17728echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17729echo "configure:17730: checking for $ac_func" >&5
17730if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17731 echo $ac_n "(cached) $ac_c" 1>&6
17732else
17733 cat > conftest.$ac_ext <<EOF
17734#line 17735 "configure"
17735#include "confdefs.h"
17736/* System header to define __stub macros and hopefully few prototypes,
17737 which can conflict with char $ac_func(); below. */
17738#include <assert.h>
17739/* Override any gcc2 internal prototype to avoid an error. */
17740/* We use char because int might match the return type of a gcc2
17741 builtin and then its argument prototype would still apply. */
17742char $ac_func();
17743
17744int main() {
17745
17746/* The GNU C library defines this for functions which it implements
17747 to always fail with ENOSYS. Some functions are actually named
17748 something starting with __ and the normal name is an alias. */
17749#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17750choke me
17751#else
17752$ac_func();
17753#endif
17754
17755; return 0; }
17756EOF
17757if { (eval echo configure:17758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17758 rm -rf conftest*
17759 eval "ac_cv_func_$ac_func=yes"
17760else
17761 echo "configure: failed program was:" >&5
17762 cat conftest.$ac_ext >&5
17763 rm -rf conftest*
17764 eval "ac_cv_func_$ac_func=no"
17765fi
17766rm -f conftest*
17767fi
17768
17769if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17770 echo "$ac_t""yes" 1>&6
17771 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17772 cat >> confdefs.h <<EOF
17773#define $ac_tr_func 1
17774EOF
17775 break
17776else
17777 echo "$ac_t""no" 1>&6
17778fi
17779done
17780
17781
17782HAVE_SOME_SLEEP_FUNC=0
17783if test "$USE_BEOS" = 1; then
17784 cat >> confdefs.h <<\EOF
17785#define HAVE_SLEEP 1
17786EOF
17787
17788 HAVE_SOME_SLEEP_FUNC=1
17789fi
17790
17791if test "$USE_DARWIN" = 1; then
17792 cat >> confdefs.h <<\EOF
17793#define HAVE_USLEEP 1
17794EOF
17795
17796 HAVE_SOME_SLEEP_FUNC=1
17797fi
17798
17799if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
17800 POSIX4_LINK=
17801 for ac_func in nanosleep
17802do
17803echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17804echo "configure:17805: checking for $ac_func" >&5
17805if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17806 echo $ac_n "(cached) $ac_c" 1>&6
17807else
17808 cat > conftest.$ac_ext <<EOF
17809#line 17810 "configure"
17810#include "confdefs.h"
17811/* System header to define __stub macros and hopefully few prototypes,
17812 which can conflict with char $ac_func(); below. */
17813#include <assert.h>
17814/* Override any gcc2 internal prototype to avoid an error. */
17815/* We use char because int might match the return type of a gcc2
17816 builtin and then its argument prototype would still apply. */
17817char $ac_func();
17818
17819int main() {
17820
17821/* The GNU C library defines this for functions which it implements
17822 to always fail with ENOSYS. Some functions are actually named
17823 something starting with __ and the normal name is an alias. */
17824#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17825choke me
17826#else
17827$ac_func();
17828#endif
17829
17830; return 0; }
17831EOF
17832if { (eval echo configure:17833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17833 rm -rf conftest*
17834 eval "ac_cv_func_$ac_func=yes"
17835else
17836 echo "configure: failed program was:" >&5
17837 cat conftest.$ac_ext >&5
17838 rm -rf conftest*
17839 eval "ac_cv_func_$ac_func=no"
17840fi
17841rm -f conftest*
17842fi
17843
17844if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17845 echo "$ac_t""yes" 1>&6
17846 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17847 cat >> confdefs.h <<EOF
17848#define $ac_tr_func 1
17849EOF
17850 cat >> confdefs.h <<\EOF
17851#define HAVE_NANOSLEEP 1
17852EOF
17853
17854else
17855 echo "$ac_t""no" 1>&6
17856echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
17857echo "configure:17858: checking for nanosleep in -lposix4" >&5
17858ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
17859if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17860 echo $ac_n "(cached) $ac_c" 1>&6
17861else
17862 ac_save_LIBS="$LIBS"
17863LIBS="-lposix4 $LIBS"
17864cat > conftest.$ac_ext <<EOF
17865#line 17866 "configure"
17866#include "confdefs.h"
17867/* Override any gcc2 internal prototype to avoid an error. */
17868/* We use char because int might match the return type of a gcc2
17869 builtin and then its argument prototype would still apply. */
17870char nanosleep();
17871
17872int main() {
17873nanosleep()
17874; return 0; }
17875EOF
17876if { (eval echo configure:17877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17877 rm -rf conftest*
17878 eval "ac_cv_lib_$ac_lib_var=yes"
17879else
17880 echo "configure: failed program was:" >&5
17881 cat conftest.$ac_ext >&5
17882 rm -rf conftest*
17883 eval "ac_cv_lib_$ac_lib_var=no"
17884fi
17885rm -f conftest*
17886LIBS="$ac_save_LIBS"
17887
17888fi
17889if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17890 echo "$ac_t""yes" 1>&6
17891
17892 cat >> confdefs.h <<\EOF
17893#define HAVE_NANOSLEEP 1
17894EOF
17895
17896 POSIX4_LINK=" -lposix4"
17897
17898else
17899 echo "$ac_t""no" 1>&6
17900
17901 for ac_func in usleep
17902do
17903echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17904echo "configure:17905: checking for $ac_func" >&5
17905if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17906 echo $ac_n "(cached) $ac_c" 1>&6
17907else
17908 cat > conftest.$ac_ext <<EOF
17909#line 17910 "configure"
17910#include "confdefs.h"
17911/* System header to define __stub macros and hopefully few prototypes,
17912 which can conflict with char $ac_func(); below. */
17913#include <assert.h>
17914/* Override any gcc2 internal prototype to avoid an error. */
17915/* We use char because int might match the return type of a gcc2
17916 builtin and then its argument prototype would still apply. */
17917char $ac_func();
17918
17919int main() {
17920
17921/* The GNU C library defines this for functions which it implements
17922 to always fail with ENOSYS. Some functions are actually named
17923 something starting with __ and the normal name is an alias. */
17924#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17925choke me
17926#else
17927$ac_func();
17928#endif
17929
17930; return 0; }
17931EOF
17932if { (eval echo configure:17933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17933 rm -rf conftest*
17934 eval "ac_cv_func_$ac_func=yes"
17935else
17936 echo "configure: failed program was:" >&5
17937 cat conftest.$ac_ext >&5
17938 rm -rf conftest*
17939 eval "ac_cv_func_$ac_func=no"
17940fi
17941rm -f conftest*
17942fi
17943
17944if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17945 echo "$ac_t""yes" 1>&6
17946 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17947 cat >> confdefs.h <<EOF
17948#define $ac_tr_func 1
17949EOF
17950 cat >> confdefs.h <<\EOF
17951#define HAVE_USLEEP 1
17952EOF
17953
17954else
17955 echo "$ac_t""no" 1>&6
17956echo "configure: warning: wxSleep() function will not work" 1>&2
17957
17958fi
17959done
17960
17961
17962
17963fi
17964
17965
17966
17967fi
17968done
17969
17970fi
17971
17972for ac_func in uname gethostname
17973do
17974echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17975echo "configure:17976: checking for $ac_func" >&5
17976if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17977 echo $ac_n "(cached) $ac_c" 1>&6
17978else
17979 cat > conftest.$ac_ext <<EOF
17980#line 17981 "configure"
17981#include "confdefs.h"
17982/* System header to define __stub macros and hopefully few prototypes,
17983 which can conflict with char $ac_func(); below. */
17984#include <assert.h>
17985/* Override any gcc2 internal prototype to avoid an error. */
17986/* We use char because int might match the return type of a gcc2
17987 builtin and then its argument prototype would still apply. */
17988char $ac_func();
17989
17990int main() {
17991
17992/* The GNU C library defines this for functions which it implements
17993 to always fail with ENOSYS. Some functions are actually named
17994 something starting with __ and the normal name is an alias. */
17995#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17996choke me
17997#else
17998$ac_func();
17999#endif
18000
18001; return 0; }
18002EOF
18003if { (eval echo configure:18004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18004 rm -rf conftest*
18005 eval "ac_cv_func_$ac_func=yes"
18006else
18007 echo "configure: failed program was:" >&5
18008 cat conftest.$ac_ext >&5
18009 rm -rf conftest*
18010 eval "ac_cv_func_$ac_func=no"
18011fi
18012rm -f conftest*
18013fi
18014
18015if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18016 echo "$ac_t""yes" 1>&6
18017 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18018 cat >> confdefs.h <<EOF
18019#define $ac_tr_func 1
18020EOF
18021 break
18022else
18023 echo "$ac_t""no" 1>&6
18024fi
18025done
18026
18027
18028
18029ac_ext=C
18030# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18031ac_cpp='$CXXCPP $CPPFLAGS'
18032ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18033ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18034cross_compiling=$ac_cv_prog_cxx_cross
18035
18036
18037for ac_func in strtok_r
18038do
18039echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18040echo "configure:18041: checking for $ac_func" >&5
18041if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18042 echo $ac_n "(cached) $ac_c" 1>&6
18043else
18044 cat > conftest.$ac_ext <<EOF
18045#line 18046 "configure"
18046#include "confdefs.h"
18047/* System header to define __stub macros and hopefully few prototypes,
18048 which can conflict with char $ac_func(); below. */
18049#include <assert.h>
18050/* Override any gcc2 internal prototype to avoid an error. */
18051#ifdef __cplusplus
18052extern "C"
18053#endif
18054/* We use char because int might match the return type of a gcc2
18055 builtin and then its argument prototype would still apply. */
18056char $ac_func();
18057
18058int main() {
18059
18060/* The GNU C library defines this for functions which it implements
18061 to always fail with ENOSYS. Some functions are actually named
18062 something starting with __ and the normal name is an alias. */
18063#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18064choke me
18065#else
18066$ac_func();
18067#endif
18068
18069; return 0; }
18070EOF
18071if { (eval echo configure:18072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18072 rm -rf conftest*
18073 eval "ac_cv_func_$ac_func=yes"
18074else
18075 echo "configure: failed program was:" >&5
18076 cat conftest.$ac_ext >&5
18077 rm -rf conftest*
18078 eval "ac_cv_func_$ac_func=no"
18079fi
18080rm -f conftest*
18081fi
18082
18083if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18084 echo "$ac_t""yes" 1>&6
18085 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18086 cat >> confdefs.h <<EOF
18087#define $ac_tr_func 1
18088EOF
18089
18090else
18091 echo "$ac_t""no" 1>&6
18092fi
18093done
18094
18095
18096ac_ext=c
18097# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18098ac_cpp='$CPP $CPPFLAGS'
18099ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18100ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18101cross_compiling=$ac_cv_prog_cc_cross
18102
18103
18104INET_LINK=
18105for ac_func in inet_addr
18106do
18107echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18108echo "configure:18109: checking for $ac_func" >&5
18109if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18110 echo $ac_n "(cached) $ac_c" 1>&6
18111else
18112 cat > conftest.$ac_ext <<EOF
18113#line 18114 "configure"
18114#include "confdefs.h"
18115/* System header to define __stub macros and hopefully few prototypes,
18116 which can conflict with char $ac_func(); below. */
18117#include <assert.h>
18118/* Override any gcc2 internal prototype to avoid an error. */
18119/* We use char because int might match the return type of a gcc2
18120 builtin and then its argument prototype would still apply. */
18121char $ac_func();
18122
18123int main() {
18124
18125/* The GNU C library defines this for functions which it implements
18126 to always fail with ENOSYS. Some functions are actually named
18127 something starting with __ and the normal name is an alias. */
18128#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18129choke me
18130#else
18131$ac_func();
18132#endif
18133
18134; return 0; }
18135EOF
18136if { (eval echo configure:18137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18137 rm -rf conftest*
18138 eval "ac_cv_func_$ac_func=yes"
18139else
18140 echo "configure: failed program was:" >&5
18141 cat conftest.$ac_ext >&5
18142 rm -rf conftest*
18143 eval "ac_cv_func_$ac_func=no"
18144fi
18145rm -f conftest*
18146fi
18147
18148if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18149 echo "$ac_t""yes" 1>&6
18150 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18151 cat >> confdefs.h <<EOF
18152#define $ac_tr_func 1
18153EOF
18154 cat >> confdefs.h <<\EOF
18155#define HAVE_INET_ADDR 1
18156EOF
18157
18158else
18159 echo "$ac_t""no" 1>&6
18160echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
18161echo "configure:18162: checking for inet_addr in -lnsl" >&5
18162ac_lib_var=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
18163if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18164 echo $ac_n "(cached) $ac_c" 1>&6
18165else
18166 ac_save_LIBS="$LIBS"
18167LIBS="-lnsl $LIBS"
18168cat > conftest.$ac_ext <<EOF
18169#line 18170 "configure"
18170#include "confdefs.h"
18171/* Override any gcc2 internal prototype to avoid an error. */
18172/* We use char because int might match the return type of a gcc2
18173 builtin and then its argument prototype would still apply. */
18174char inet_addr();
18175
18176int main() {
18177inet_addr()
18178; return 0; }
18179EOF
18180if { (eval echo configure:18181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18181 rm -rf conftest*
18182 eval "ac_cv_lib_$ac_lib_var=yes"
18183else
18184 echo "configure: failed program was:" >&5
18185 cat conftest.$ac_ext >&5
18186 rm -rf conftest*
18187 eval "ac_cv_lib_$ac_lib_var=no"
18188fi
18189rm -f conftest*
18190LIBS="$ac_save_LIBS"
18191
18192fi
18193if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18194 echo "$ac_t""yes" 1>&6
18195 INET_LINK="nsl"
18196else
18197 echo "$ac_t""no" 1>&6
18198echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
18199echo "configure:18200: checking for inet_addr in -lresolv" >&5
18200ac_lib_var=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
18201if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18202 echo $ac_n "(cached) $ac_c" 1>&6
18203else
18204 ac_save_LIBS="$LIBS"
18205LIBS="-lresolv $LIBS"
18206cat > conftest.$ac_ext <<EOF
18207#line 18208 "configure"
18208#include "confdefs.h"
18209/* Override any gcc2 internal prototype to avoid an error. */
18210/* We use char because int might match the return type of a gcc2
18211 builtin and then its argument prototype would still apply. */
18212char inet_addr();
18213
18214int main() {
18215inet_addr()
18216; return 0; }
18217EOF
18218if { (eval echo configure:18219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18219 rm -rf conftest*
18220 eval "ac_cv_lib_$ac_lib_var=yes"
18221else
18222 echo "configure: failed program was:" >&5
18223 cat conftest.$ac_ext >&5
18224 rm -rf conftest*
18225 eval "ac_cv_lib_$ac_lib_var=no"
18226fi
18227rm -f conftest*
18228LIBS="$ac_save_LIBS"
18229
18230fi
18231if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18232 echo "$ac_t""yes" 1>&6
18233 INET_LINK="resolv"
18234else
18235 echo "$ac_t""no" 1>&6
18236echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
18237echo "configure:18238: checking for inet_addr in -lsocket" >&5
18238ac_lib_var=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
18239if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18240 echo $ac_n "(cached) $ac_c" 1>&6
18241else
18242 ac_save_LIBS="$LIBS"
18243LIBS="-lsocket $LIBS"
18244cat > conftest.$ac_ext <<EOF
18245#line 18246 "configure"
18246#include "confdefs.h"
18247/* Override any gcc2 internal prototype to avoid an error. */
18248/* We use char because int might match the return type of a gcc2
18249 builtin and then its argument prototype would still apply. */
18250char inet_addr();
18251
18252int main() {
18253inet_addr()
18254; return 0; }
18255EOF
18256if { (eval echo configure:18257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18257 rm -rf conftest*
18258 eval "ac_cv_lib_$ac_lib_var=yes"
18259else
18260 echo "configure: failed program was:" >&5
18261 cat conftest.$ac_ext >&5
18262 rm -rf conftest*
18263 eval "ac_cv_lib_$ac_lib_var=no"
18264fi
18265rm -f conftest*
18266LIBS="$ac_save_LIBS"
18267
18268fi
18269if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18270 echo "$ac_t""yes" 1>&6
18271 INET_LINK="socket"
18272
18273else
18274 echo "$ac_t""no" 1>&6
18275fi
18276
18277
18278fi
18279
18280
18281fi
18282
18283
18284
18285fi
18286done
18287
18288
18289for ac_func in inet_aton
18290do
18291echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18292echo "configure:18293: checking for $ac_func" >&5
18293if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18294 echo $ac_n "(cached) $ac_c" 1>&6
18295else
18296 cat > conftest.$ac_ext <<EOF
18297#line 18298 "configure"
18298#include "confdefs.h"
18299/* System header to define __stub macros and hopefully few prototypes,
18300 which can conflict with char $ac_func(); below. */
18301#include <assert.h>
18302/* Override any gcc2 internal prototype to avoid an error. */
18303/* We use char because int might match the return type of a gcc2
18304 builtin and then its argument prototype would still apply. */
18305char $ac_func();
18306
18307int main() {
18308
18309/* The GNU C library defines this for functions which it implements
18310 to always fail with ENOSYS. Some functions are actually named
18311 something starting with __ and the normal name is an alias. */
18312#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18313choke me
18314#else
18315$ac_func();
18316#endif
18317
18318; return 0; }
18319EOF
18320if { (eval echo configure:18321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18321 rm -rf conftest*
18322 eval "ac_cv_func_$ac_func=yes"
18323else
18324 echo "configure: failed program was:" >&5
18325 cat conftest.$ac_ext >&5
18326 rm -rf conftest*
18327 eval "ac_cv_func_$ac_func=no"
18328fi
18329rm -f conftest*
18330fi
18331
18332if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18333 echo "$ac_t""yes" 1>&6
18334 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18335 cat >> confdefs.h <<EOF
18336#define $ac_tr_func 1
18337EOF
18338 cat >> confdefs.h <<\EOF
18339#define HAVE_INET_ATON 1
18340EOF
18341
18342else
18343 echo "$ac_t""no" 1>&6
18344 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
18345echo "configure:18346: checking for inet_aton in -l$INET_LINK" >&5
18346ac_lib_var=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
18347if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18348 echo $ac_n "(cached) $ac_c" 1>&6
18349else
18350 ac_save_LIBS="$LIBS"
18351LIBS="-l$INET_LINK $LIBS"
18352cat > conftest.$ac_ext <<EOF
18353#line 18354 "configure"
18354#include "confdefs.h"
18355/* Override any gcc2 internal prototype to avoid an error. */
18356/* We use char because int might match the return type of a gcc2
18357 builtin and then its argument prototype would still apply. */
18358char inet_aton();
18359
18360int main() {
18361inet_aton()
18362; return 0; }
18363EOF
18364if { (eval echo configure:18365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18365 rm -rf conftest*
18366 eval "ac_cv_lib_$ac_lib_var=yes"
18367else
18368 echo "configure: failed program was:" >&5
18369 cat conftest.$ac_ext >&5
18370 rm -rf conftest*
18371 eval "ac_cv_lib_$ac_lib_var=no"
18372fi
18373rm -f conftest*
18374LIBS="$ac_save_LIBS"
18375
18376fi
18377if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18378 echo "$ac_t""yes" 1>&6
18379 cat >> confdefs.h <<\EOF
18380#define HAVE_INET_ATON 1
18381EOF
18382
18383else
18384 echo "$ac_t""no" 1>&6
18385fi
18386
18387
18388fi
18389done
18390
18391
18392if test "x$INET_LINK" != "x"; then
18393 cat >> confdefs.h <<\EOF
18394#define HAVE_INET_ADDR 1
18395EOF
18396
18397 INET_LINK=" -l$INET_LINK"
18398fi
18399
18400fi
18401
18402
18403cat > confcache <<\EOF
18404# This file is a shell script that caches the results of configure
18405# tests run on this system so they can be shared between configure
18406# scripts and configure runs. It is not useful on other systems.
18407# If it contains results you don't want to keep, you may remove or edit it.
18408#
18409# By default, configure uses ./config.cache as the cache file,
18410# creating it if it does not exist already. You can give configure
18411# the --cache-file=FILE option to use a different cache file; that is
18412# what configure does when it calls configure scripts in
18413# subdirectories, so they share the cache.
18414# Giving --cache-file=/dev/null disables caching, for debugging configure.
18415# config.status only pays attention to the cache file if you give it the
18416# --recheck option to rerun configure.
18417#
18418EOF
18419# The following way of writing the cache mishandles newlines in values,
18420# but we know of no workaround that is simple, portable, and efficient.
18421# So, don't put newlines in cache variables' values.
18422# Ultrix sh set writes to stderr and can't be redirected directly,
18423# and sets the high bit in the cache file unless we assign to the vars.
18424(set) 2>&1 |
18425 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18426 *ac_space=\ *)
18427 # `set' does not quote correctly, so add quotes (double-quote substitution
18428 # turns \\\\ into \\, and sed turns \\ into \).
18429 sed -n \
18430 -e "s/'/'\\\\''/g" \
18431 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18432 ;;
18433 *)
18434 # `set' quotes correctly as required by POSIX, so do not add quotes.
18435 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18436 ;;
18437 esac >> confcache
18438if cmp -s $cache_file confcache; then
18439 :
18440else
18441 if test -w $cache_file; then
18442 echo "updating cache $cache_file"
18443 cat confcache > $cache_file
18444 else
18445 echo "not updating unwritable cache $cache_file"
18446 fi
18447fi
18448rm -f confcache
18449
18450
18451
18452CPP_MT_FLAG=
18453if test "$TOOLKIT" != "MSW"; then
18454
18455
18456 THREADS_LINK=
18457 THREADS_CFLAGS=
18458
18459 if test "$wxUSE_THREADS" = "yes" ; then
18460 if test "$USE_BEOS" = 1; then
18461 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
18462 wxUSE_THREADS="no"
18463 fi
18464 fi
18465
18466 if test "$wxUSE_THREADS" = "yes" ; then
18467
18468
18469 THREAD_OPTS="-pthread"
18470 case "${host}" in
18471 *-*-solaris2* | *-*-sunos4* )
18472 if test "x$GCC" = "xyes"; then
18473 THREAD_OPTS="-pthreads $THREAD_OPTS"
18474 else
18475 THREAD_OPTS="-mt $THREAD_OPTS"
18476 fi
18477 ;;
18478 *-*-freebsd*)
18479 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
18480 ;;
18481 *-*-darwin* | *-*-cygwin* )
18482 THREAD_OPTS=""
18483 ;;
18484 *-*-aix*)
18485 THREAD_OPTS="pthreads"
18486 ;;
18487 esac
18488
18489 THREAD_OPTS="$THREAD_OPTS pthread none"
18490
18491 THREADS_OK=no
18492 for flag in $THREAD_OPTS; do
18493 case $flag in
18494 none)
18495 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
18496echo "configure:18497: checking whether pthreads work without any flags" >&5
18497 ;;
18498
18499 -*)
18500 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
18501echo "configure:18502: checking whether pthreads work with $flag" >&5
18502 THREADS_CFLAGS="$flag"
18503 ;;
18504
18505 *)
18506 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
18507echo "configure:18508: checking for the pthreads library -l$flag" >&5
18508 THREADS_LINK="-l$flag"
18509 ;;
18510 esac
18511
18512 save_LIBS="$LIBS"
18513 save_CFLAGS="$CFLAGS"
18514 LIBS="$THREADS_LINK $LIBS"
18515 CFLAGS="$THREADS_CFLAGS $CFLAGS"
18516
18517 cat > conftest.$ac_ext <<EOF
18518#line 18519 "configure"
18519#include "confdefs.h"
18520#include <pthread.h>
18521int main() {
18522pthread_create(0,0,0,0);
18523; return 0; }
18524EOF
18525if { (eval echo configure:18526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18526 rm -rf conftest*
18527 THREADS_OK=yes
18528else
18529 echo "configure: failed program was:" >&5
18530 cat conftest.$ac_ext >&5
18531fi
18532rm -f conftest*
18533
18534 LIBS="$save_LIBS"
18535 CFLAGS="$save_CFLAGS"
18536
18537 echo "$ac_t""$THREADS_OK" 1>&6
18538 if test "x$THREADS_OK" = "xyes"; then
18539 break;
18540 fi
18541
18542 THREADS_LINK=""
18543 THREADS_CFLAGS=""
18544 done
18545
18546 if test "x$THREADS_OK" != "xyes"; then
18547 wxUSE_THREADS=no
18548 echo "configure: warning: No thread support on this system... disabled" 1>&2
18549 else
18550 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
18551 LIBS="$THREADS_LINK $LIBS"
18552
18553 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
18554echo "configure:18555: checking if more special flags are required for pthreads" >&5
18555 flag=no
18556 case "${host}" in
18557 *-aix*)
18558 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
18559 flag="-D_THREAD_SAFE"
18560 ;;
18561 *-freebsd*)
18562 flag="-D_THREAD_SAFE"
18563 ;;
18564 *-hp-hpux* )
18565 flag="-D_REENTRANT"
18566 ;;
18567 *solaris* | alpha*-osf*)
18568 flag="-D_REENTRANT"
18569 ;;
18570 esac
18571 echo "$ac_t""${flag}" 1>&6
18572 if test "x$flag" != xno; then
18573 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
18574 fi
18575
18576 if test "x$THREADS_CFLAGS" != "x"; then
18577 CFLAGS="$CFLAGS $THREADS_CFLAGS"
18578 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
18579 fi
18580 fi
18581 fi
18582
18583 if test "$wxUSE_THREADS" = "yes" ; then
18584 for ac_func in thr_setconcurrency
18585do
18586echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18587echo "configure:18588: checking for $ac_func" >&5
18588if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18589 echo $ac_n "(cached) $ac_c" 1>&6
18590else
18591 cat > conftest.$ac_ext <<EOF
18592#line 18593 "configure"
18593#include "confdefs.h"
18594/* System header to define __stub macros and hopefully few prototypes,
18595 which can conflict with char $ac_func(); below. */
18596#include <assert.h>
18597/* Override any gcc2 internal prototype to avoid an error. */
18598/* We use char because int might match the return type of a gcc2
18599 builtin and then its argument prototype would still apply. */
18600char $ac_func();
18601
18602int main() {
18603
18604/* The GNU C library defines this for functions which it implements
18605 to always fail with ENOSYS. Some functions are actually named
18606 something starting with __ and the normal name is an alias. */
18607#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18608choke me
18609#else
18610$ac_func();
18611#endif
18612
18613; return 0; }
18614EOF
18615if { (eval echo configure:18616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18616 rm -rf conftest*
18617 eval "ac_cv_func_$ac_func=yes"
18618else
18619 echo "configure: failed program was:" >&5
18620 cat conftest.$ac_ext >&5
18621 rm -rf conftest*
18622 eval "ac_cv_func_$ac_func=no"
18623fi
18624rm -f conftest*
18625fi
18626
18627if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18628 echo "$ac_t""yes" 1>&6
18629 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18630 cat >> confdefs.h <<EOF
18631#define $ac_tr_func 1
18632EOF
18633
18634else
18635 echo "$ac_t""no" 1>&6
18636fi
18637done
18638
18639
18640 for ac_hdr in sched.h
18641do
18642ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18643echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18644echo "configure:18645: checking for $ac_hdr" >&5
18645if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18646 echo $ac_n "(cached) $ac_c" 1>&6
18647else
18648 cat > conftest.$ac_ext <<EOF
18649#line 18650 "configure"
18650#include "confdefs.h"
18651#include <$ac_hdr>
18652EOF
18653ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18654{ (eval echo configure:18655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18655ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18656if test -z "$ac_err"; then
18657 rm -rf conftest*
18658 eval "ac_cv_header_$ac_safe=yes"
18659else
18660 echo "$ac_err" >&5
18661 echo "configure: failed program was:" >&5
18662 cat conftest.$ac_ext >&5
18663 rm -rf conftest*
18664 eval "ac_cv_header_$ac_safe=no"
18665fi
18666rm -f conftest*
18667fi
18668if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18669 echo "$ac_t""yes" 1>&6
18670 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18671 cat >> confdefs.h <<EOF
18672#define $ac_tr_hdr 1
18673EOF
18674
18675else
18676 echo "$ac_t""no" 1>&6
18677fi
18678done
18679
18680 if test "$ac_cv_header_sched_h" = "yes"; then
18681 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
18682echo "configure:18683: checking for sched_yield" >&5
18683if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
18684 echo $ac_n "(cached) $ac_c" 1>&6
18685else
18686 cat > conftest.$ac_ext <<EOF
18687#line 18688 "configure"
18688#include "confdefs.h"
18689/* System header to define __stub macros and hopefully few prototypes,
18690 which can conflict with char sched_yield(); below. */
18691#include <assert.h>
18692/* Override any gcc2 internal prototype to avoid an error. */
18693/* We use char because int might match the return type of a gcc2
18694 builtin and then its argument prototype would still apply. */
18695char sched_yield();
18696
18697int main() {
18698
18699/* The GNU C library defines this for functions which it implements
18700 to always fail with ENOSYS. Some functions are actually named
18701 something starting with __ and the normal name is an alias. */
18702#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
18703choke me
18704#else
18705sched_yield();
18706#endif
18707
18708; return 0; }
18709EOF
18710if { (eval echo configure:18711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18711 rm -rf conftest*
18712 eval "ac_cv_func_sched_yield=yes"
18713else
18714 echo "configure: failed program was:" >&5
18715 cat conftest.$ac_ext >&5
18716 rm -rf conftest*
18717 eval "ac_cv_func_sched_yield=no"
18718fi
18719rm -f conftest*
18720fi
18721
18722if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
18723 echo "$ac_t""yes" 1>&6
18724 cat >> confdefs.h <<\EOF
18725#define HAVE_SCHED_YIELD 1
18726EOF
18727
18728else
18729 echo "$ac_t""no" 1>&6
18730
18731 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
18732echo "configure:18733: checking for sched_yield in -lposix4" >&5
18733ac_lib_var=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
18734if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18735 echo $ac_n "(cached) $ac_c" 1>&6
18736else
18737 ac_save_LIBS="$LIBS"
18738LIBS="-lposix4 $LIBS"
18739cat > conftest.$ac_ext <<EOF
18740#line 18741 "configure"
18741#include "confdefs.h"
18742/* Override any gcc2 internal prototype to avoid an error. */
18743/* We use char because int might match the return type of a gcc2
18744 builtin and then its argument prototype would still apply. */
18745char sched_yield();
18746
18747int main() {
18748sched_yield()
18749; return 0; }
18750EOF
18751if { (eval echo configure:18752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18752 rm -rf conftest*
18753 eval "ac_cv_lib_$ac_lib_var=yes"
18754else
18755 echo "configure: failed program was:" >&5
18756 cat conftest.$ac_ext >&5
18757 rm -rf conftest*
18758 eval "ac_cv_lib_$ac_lib_var=no"
18759fi
18760rm -f conftest*
18761LIBS="$ac_save_LIBS"
18762
18763fi
18764if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18765 echo "$ac_t""yes" 1>&6
18766 cat >> confdefs.h <<\EOF
18767#define HAVE_SCHED_YIELD 1
18768EOF
18769 POSIX4_LINK=" -lposix4"
18770else
18771 echo "$ac_t""no" 1>&6
18772echo "configure: warning: wxThread::Yield will not work properly" 1>&2
18773
18774fi
18775
18776
18777
18778fi
18779
18780 fi
18781
18782 HAVE_PRIOR_FUNCS=0
18783 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
18784echo "configure:18785: checking for pthread_attr_getschedpolicy" >&5
18785if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
18786 echo $ac_n "(cached) $ac_c" 1>&6
18787else
18788 cat > conftest.$ac_ext <<EOF
18789#line 18790 "configure"
18790#include "confdefs.h"
18791/* System header to define __stub macros and hopefully few prototypes,
18792 which can conflict with char pthread_attr_getschedpolicy(); below. */
18793#include <assert.h>
18794/* Override any gcc2 internal prototype to avoid an error. */
18795/* We use char because int might match the return type of a gcc2
18796 builtin and then its argument prototype would still apply. */
18797char pthread_attr_getschedpolicy();
18798
18799int main() {
18800
18801/* The GNU C library defines this for functions which it implements
18802 to always fail with ENOSYS. Some functions are actually named
18803 something starting with __ and the normal name is an alias. */
18804#if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
18805choke me
18806#else
18807pthread_attr_getschedpolicy();
18808#endif
18809
18810; return 0; }
18811EOF
18812if { (eval echo configure:18813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18813 rm -rf conftest*
18814 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
18815else
18816 echo "configure: failed program was:" >&5
18817 cat conftest.$ac_ext >&5
18818 rm -rf conftest*
18819 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
18820fi
18821rm -f conftest*
18822fi
18823
18824if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
18825 echo "$ac_t""yes" 1>&6
18826 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
18827echo "configure:18828: checking for pthread_attr_setschedparam" >&5
18828if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
18829 echo $ac_n "(cached) $ac_c" 1>&6
18830else
18831 cat > conftest.$ac_ext <<EOF
18832#line 18833 "configure"
18833#include "confdefs.h"
18834/* System header to define __stub macros and hopefully few prototypes,
18835 which can conflict with char pthread_attr_setschedparam(); below. */
18836#include <assert.h>
18837/* Override any gcc2 internal prototype to avoid an error. */
18838/* We use char because int might match the return type of a gcc2
18839 builtin and then its argument prototype would still apply. */
18840char pthread_attr_setschedparam();
18841
18842int main() {
18843
18844/* The GNU C library defines this for functions which it implements
18845 to always fail with ENOSYS. Some functions are actually named
18846 something starting with __ and the normal name is an alias. */
18847#if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
18848choke me
18849#else
18850pthread_attr_setschedparam();
18851#endif
18852
18853; return 0; }
18854EOF
18855if { (eval echo configure:18856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18856 rm -rf conftest*
18857 eval "ac_cv_func_pthread_attr_setschedparam=yes"
18858else
18859 echo "configure: failed program was:" >&5
18860 cat conftest.$ac_ext >&5
18861 rm -rf conftest*
18862 eval "ac_cv_func_pthread_attr_setschedparam=no"
18863fi
18864rm -f conftest*
18865fi
18866
18867if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
18868 echo "$ac_t""yes" 1>&6
18869 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
18870echo "configure:18871: checking for sched_get_priority_max" >&5
18871if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
18872 echo $ac_n "(cached) $ac_c" 1>&6
18873else
18874 cat > conftest.$ac_ext <<EOF
18875#line 18876 "configure"
18876#include "confdefs.h"
18877/* System header to define __stub macros and hopefully few prototypes
18878else
18879 echo "$ac_t""no" 1>&6
18880which can conflict with char sched_get_priority_max(); below. */
18881#include <assert.h>
18882/* Override any gcc2 internal prototype to avoid an error. */
18883/* We use char because int might match the return type of a gcc2
18884 builtin and then its argument prototype would still apply. */
18885char sched_get_priority_max();
18886
18887int main() {
18888
18889/* The GNU C library defines this for functions which it implements
18890 to always fail with ENOSYS. Some functions are actually named
18891 something starting with __ and the normal name is an alias. */
18892#if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
18893choke me
18894#else
18895sched_get_priority_max();
18896#endif
18897
18898; return 0; }
18899EOF
18900if { (eval echo configure:18901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18901 rm -rf conftest*
18902 eval "ac_cv_func_sched_get_priority_max=yes"
18903else
18904 echo "configure: failed program was:" >&5
18905 cat conftest.$ac_ext >&5
18906 rm -rf conftest*
18907 eval "ac_cv_func_sched_get_priority_max=no"
18908fi
18909rm -f conftest*
18910fi
18911
18912if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
18913 echo "$ac_t""yes" 1>&6
18914 HAVE_PRIOR_FUNCS=1
18915else
18916 echo "$ac_t""no" 1>&6
18917echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
18918echo "configure:18919: checking for sched_get_priority_max in -lposix4" >&5
18919ac_lib_var=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
18920if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18921 echo $ac_n "(cached) $ac_c" 1>&6
18922else
18923 ac_save_LIBS="$LIBS"
18924LIBS="-lposix4 $LIBS"
18925cat > conftest.$ac_ext <<EOF
18926#line 18927 "configure"
18927#include "confdefs.h"
18928/* Override any gcc2 internal prototype to avoid an error. */
18929/* We use char because int might match the return type of a gcc2
18930 builtin and then its argument prototype would still apply. */
18931char sched_get_priority_max();
18932
18933int main() {
18934sched_get_priority_max()
18935; return 0; }
18936EOF
18937if { (eval echo configure:18938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18938 rm -rf conftest*
18939 eval "ac_cv_lib_$ac_lib_var=yes"
18940else
18941 echo "configure: failed program was:" >&5
18942 cat conftest.$ac_ext >&5
18943 rm -rf conftest*
18944 eval "ac_cv_lib_$ac_lib_var=no"
18945fi
18946rm -f conftest*
18947LIBS="$ac_save_LIBS"
18948
18949fi
18950if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18951 echo "$ac_t""yes" 1>&6
18952
18953 HAVE_PRIOR_FUNCS=1
18954 POSIX4_LINK=" -lposix4"
18955
18956else
18957 echo "$ac_t""no" 1>&6
18958fi
18959
18960
18961fi
18962
18963
18964else
18965 echo "$ac_t""no" 1>&6
18966fi
18967
18968
18969fi
18970
18971
18972 if test "$HAVE_PRIOR_FUNCS" = 1; then
18973 cat >> confdefs.h <<\EOF
18974#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
18975EOF
18976
18977 else
18978 echo "configure: warning: Setting thread priority will not work" 1>&2
18979 fi
18980
18981 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
18982echo "configure:18983: checking for pthread_cancel" >&5
18983if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
18984 echo $ac_n "(cached) $ac_c" 1>&6
18985else
18986 cat > conftest.$ac_ext <<EOF
18987#line 18988 "configure"
18988#include "confdefs.h"
18989/* System header to define __stub macros and hopefully few prototypes,
18990 which can conflict with char pthread_cancel(); below. */
18991#include <assert.h>
18992/* Override any gcc2 internal prototype to avoid an error. */
18993/* We use char because int might match the return type of a gcc2
18994 builtin and then its argument prototype would still apply. */
18995char pthread_cancel();
18996
18997int main() {
18998
18999/* The GNU C library defines this for functions which it implements
19000 to always fail with ENOSYS. Some functions are actually named
19001 something starting with __ and the normal name is an alias. */
19002#if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
19003choke me
19004#else
19005pthread_cancel();
19006#endif
19007
19008; return 0; }
19009EOF
19010if { (eval echo configure:19011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19011 rm -rf conftest*
19012 eval "ac_cv_func_pthread_cancel=yes"
19013else
19014 echo "configure: failed program was:" >&5
19015 cat conftest.$ac_ext >&5
19016 rm -rf conftest*
19017 eval "ac_cv_func_pthread_cancel=no"
19018fi
19019rm -f conftest*
19020fi
19021
19022if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
19023 echo "$ac_t""yes" 1>&6
19024 cat >> confdefs.h <<\EOF
19025#define HAVE_PTHREAD_CANCEL 1
19026EOF
19027
19028else
19029 echo "$ac_t""no" 1>&6
19030echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
19031fi
19032
19033
19034 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
19035echo "configure:19036: checking for pthread_cleanup_push/pop" >&5
19036if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
19037 echo $ac_n "(cached) $ac_c" 1>&6
19038else
19039
19040 cat > conftest.$ac_ext <<EOF
19041#line 19042 "configure"
19042#include "confdefs.h"
19043#include <pthread.h>
19044int main() {
19045
19046 pthread_cleanup_push(NULL, NULL);
19047 pthread_cleanup_pop(0);
19048
19049; return 0; }
19050EOF
19051if { (eval echo configure:19052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19052 rm -rf conftest*
19053
19054 wx_cv_func_pthread_cleanup_push=yes
19055
19056else
19057 echo "configure: failed program was:" >&5
19058 cat conftest.$ac_ext >&5
19059 rm -rf conftest*
19060
19061 wx_cv_func_pthread_cleanup_push=no
19062
19063fi
19064rm -f conftest*
19065
19066fi
19067
19068echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
19069
19070 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
19071 cat >> confdefs.h <<\EOF
19072#define HAVE_THREAD_CLEANUP_FUNCTIONS 1
19073EOF
19074
19075 fi
19076
19077
19078 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
19079echo "configure:19080: checking for pthread_mutexattr_t" >&5
19080if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
19081 echo $ac_n "(cached) $ac_c" 1>&6
19082else
19083
19084 cat > conftest.$ac_ext <<EOF
19085#line 19086 "configure"
19086#include "confdefs.h"
19087#include <pthread.h>
19088int main() {
19089
19090 pthread_mutexattr_t attr;
19091 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
19092
19093; return 0; }
19094EOF
19095if { (eval echo configure:19096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19096 rm -rf conftest*
19097
19098 wx_cv_type_pthread_mutexattr_t=yes
19099
19100else
19101 echo "configure: failed program was:" >&5
19102 cat conftest.$ac_ext >&5
19103 rm -rf conftest*
19104
19105 wx_cv_type_pthread_mutexattr_t=no
19106
19107
19108fi
19109rm -f conftest*
19110
19111fi
19112
19113echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
19114
19115 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
19116 cat >> confdefs.h <<\EOF
19117#define HAVE_PTHREAD_MUTEXATTR_T 1
19118EOF
19119
19120 else
19121 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
19122echo "configure:19123: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
19123if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
19124 echo $ac_n "(cached) $ac_c" 1>&6
19125else
19126
19127 cat > conftest.$ac_ext <<EOF
19128#line 19129 "configure"
19129#include "confdefs.h"
19130#include <pthread.h>
19131int main() {
19132
19133 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
19134
19135; return 0; }
19136EOF
19137if { (eval echo configure:19138: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19138 rm -rf conftest*
19139
19140 wx_cv_type_pthread_rec_mutex_init=yes
19141
19142else
19143 echo "configure: failed program was:" >&5
19144 cat conftest.$ac_ext >&5
19145 rm -rf conftest*
19146
19147 wx_cv_type_pthread_rec_mutex_init=no
19148
19149
19150fi
19151rm -f conftest*
19152
19153fi
19154
19155echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
19156 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
19157 cat >> confdefs.h <<\EOF
19158#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
19159EOF
19160
19161 else
19162 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
19163 fi
19164 fi
19165 fi
19166
19167else
19168 if test "$wxUSE_THREADS" = "yes" ; then
19169 case "${host}" in
19170 *-*-mingw32* )
19171 echo $ac_n "checking if compiler supports -mthreads""... $ac_c" 1>&6
19172echo "configure:19173: checking if compiler supports -mthreads" >&5
19173if eval "test \"`echo '$''{'wx_cv_cflags_mthread'+set}'`\" = set"; then
19174 echo $ac_n "(cached) $ac_c" 1>&6
19175else
19176
19177 CFLAGS_OLD="$CFLAGS"
19178 CFLAGS="$CFLAGS -mthreads"
19179 cat > conftest.$ac_ext <<EOF
19180#line 19181 "configure"
19181#include "confdefs.h"
19182
19183int main() {
19184
19185; return 0; }
19186EOF
19187if { (eval echo configure:19188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19188 rm -rf conftest*
19189 wx_cv_cflags_mthread=yes
19190else
19191 echo "configure: failed program was:" >&5
19192 cat conftest.$ac_ext >&5
19193 rm -rf conftest*
19194 wx_cv_cflags_mthread=no
19195
19196fi
19197rm -f conftest*
19198
19199
19200fi
19201
19202echo "$ac_t""$wx_cv_cflags_mthread" 1>&6
19203
19204 if test "$wx_cv_cflags_mthread" = "yes"; then
19205 CXXFLAGS="$CXXFLAGS -mthreads"
19206 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
19207 LDFLAGS="$LDFLAGS -mthreads"
19208 else
19209 CFLAGS="$CFLAGS_OLD"
19210 fi
19211 ;;
19212 esac
19213 fi
19214fi
19215
19216if test "$wxUSE_THREADS" = "yes"; then
19217 cat >> confdefs.h <<\EOF
19218#define wxUSE_THREADS 1
19219EOF
19220
19221
19222 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
19223else
19224 if test "$ac_cv_func_strtok_r" = "yes"; then
19225 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
19226echo "configure:19227: checking if -D_REENTRANT is needed" >&5
19227 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
19228 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
19229 echo "$ac_t""yes" 1>&6
19230 else
19231 echo "$ac_t""no" 1>&6
19232 fi
19233 fi
19234fi
19235
19236if test "$WXGTK20" = 1 ; then
19237 cat >> confdefs.h <<EOF
19238#define __WXGTK20__ $WXGTK20
19239EOF
19240
19241 WXGTK12=1
19242fi
19243
19244if test "$WXGTK12" = 1 ; then
19245 cat >> confdefs.h <<EOF
19246#define __WXGTK12__ $WXGTK12
19247EOF
19248
19249fi
19250
19251if test "$WXGTK127" = 1 ; then
19252 cat >> confdefs.h <<EOF
19253#define __WXGTK127__ $WXGTK127
19254EOF
19255
19256fi
19257
19258WXDEBUG=
19259
19260if test "$wxUSE_DEBUG_INFO" = "yes" ; then
19261 WXDEBUG="-g"
19262 wxUSE_OPTIMISE=no
19263fi
19264
19265if test "$wxUSE_DEBUG_GDB" = "yes" ; then
19266 wxUSE_DEBUG_INFO=yes
19267 WXDEBUG="-ggdb"
19268fi
19269
19270if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
19271 cat >> confdefs.h <<\EOF
19272#define WXDEBUG 1
19273EOF
19274
19275 WXDEBUG_DEFINE="-D__WXDEBUG__"
19276else
19277 if test "$wxUSE_GTK" = 1 ; then
19278 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
19279 fi
19280fi
19281
19282if test "$wxUSE_MEM_TRACING" = "yes" ; then
19283 cat >> confdefs.h <<\EOF
19284#define wxUSE_MEMORY_TRACING 1
19285EOF
19286
19287 cat >> confdefs.h <<\EOF
19288#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
19289EOF
19290
19291 cat >> confdefs.h <<\EOF
19292#define wxUSE_DEBUG_NEW_ALWAYS 1
19293EOF
19294
19295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
19296fi
19297
19298if test "$wxUSE_DMALLOC" = "yes" ; then
19299 DMALLOC_LIBS="-ldmalloc"
19300fi
19301
19302PROFILE=
19303if test "$wxUSE_PROFILE" = "yes" ; then
19304 PROFILE=" -pg"
19305fi
19306
19307CODE_GEN_FLAGS=
19308CODE_GEN_FLAGS_CXX=
19309if test "$GCC" = "yes" ; then
19310 if test "$wxUSE_NO_RTTI" = "yes" ; then
19311 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
19312 fi
19313 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
19314 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
19315 fi
19316 if test "$wxUSE_PERMISSIVE" = "yes" ; then
19317 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
19318 fi
19319 if test "$USE_WIN32" = 1 ; then
19320 # I'm not even really sure what this was ever added to solve,
19321 # but someone added it for mingw native builds, so I guess
19322 # they had a reason, right??
19323 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fno-pcc-struct-return"
19324 fi
19325
19326 case "${host}" in
19327 powerpc*-*-aix* )
19328 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
19329 ;;
19330 *-hppa* )
19331 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
19332 ;;
19333 esac
19334fi
19335
19336if test "$wxUSE_OPTIMISE" = "no" ; then
19337 OPTIMISE=
19338else
19339 if test "$GCC" = yes ; then
19340 OPTIMISE="-O2"
19341 case "${host}" in
19342 i586-*-*|i686-*-* )
19343 OPTIMISE="${OPTIMISE} "
19344 ;;
19345 esac
19346 else
19347 OPTIMISE="-O"
19348 fi
19349fi
19350
19351
19352if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
19353 cat >> confdefs.h <<\EOF
19354#define WXWIN_COMPATIBILITY_2 1
19355EOF
19356
19357
19358 WXWIN_COMPATIBILITY_2_2="yes"
19359fi
19360
19361if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
19362 cat >> confdefs.h <<\EOF
19363#define WXWIN_COMPATIBILITY_2_2 1
19364EOF
19365
19366
19367 WXWIN_COMPATIBILITY_2_4="yes"
19368fi
19369
19370if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
19371 cat >> confdefs.h <<\EOF
19372#define WXWIN_COMPATIBILITY_2_4 1
19373EOF
19374
19375fi
19376
19377
19378if test "$wxUSE_GUI" = "yes"; then
19379 cat >> confdefs.h <<\EOF
19380#define wxUSE_GUI 1
19381EOF
19382
19383
19384 else
19385 cat >> confdefs.h <<\EOF
19386#define wxUSE_NOGUI 1
19387EOF
19388
19389fi
19390
19391
19392if test "$wxUSE_UNIX" = "yes"; then
19393 cat >> confdefs.h <<\EOF
19394#define wxUSE_UNIX 1
19395EOF
19396
19397fi
19398
19399
19400if test "$wxUSE_APPLE_IEEE" = "yes"; then
19401 cat >> confdefs.h <<\EOF
19402#define wxUSE_APPLE_IEEE 1
19403EOF
19404
19405fi
19406
19407if test "$wxUSE_TIMER" = "yes"; then
19408 cat >> confdefs.h <<\EOF
19409#define wxUSE_TIMER 1
19410EOF
19411
19412fi
19413
19414if test "$wxUSE_WAVE" = "yes"; then
19415 cat >> confdefs.h <<\EOF
19416#define wxUSE_WAVE 1
19417EOF
19418
19419fi
19420
19421if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
19422 cat >> confdefs.h <<\EOF
19423#define wxUSE_CMDLINE_PARSER 1
19424EOF
19425
19426fi
19427
19428if test "$wxUSE_STOPWATCH" = "yes"; then
19429 cat >> confdefs.h <<\EOF
19430#define wxUSE_STOPWATCH 1
19431EOF
19432
19433fi
19434
19435if test "$wxUSE_DATETIME" = "yes"; then
19436 cat >> confdefs.h <<\EOF
19437#define wxUSE_DATETIME 1
19438EOF
19439
19440fi
19441
19442if test "$wxUSE_TIMEDATE" = "yes"; then
19443 cat >> confdefs.h <<\EOF
19444#define wxUSE_TIMEDATE 1
19445EOF
19446
19447fi
19448
19449if test "$wxUSE_FILE" = "yes"; then
19450 cat >> confdefs.h <<\EOF
19451#define wxUSE_FILE 1
19452EOF
19453
19454fi
19455
19456if test "$wxUSE_FFILE" = "yes"; then
19457 cat >> confdefs.h <<\EOF
19458#define wxUSE_FFILE 1
19459EOF
19460
19461fi
19462
19463if test "$wxUSE_FILESYSTEM" = "yes"; then
19464 cat >> confdefs.h <<\EOF
19465#define wxUSE_FILESYSTEM 1
19466EOF
19467
19468fi
19469
19470if test "$wxUSE_FS_INET" = "yes"; then
19471 cat >> confdefs.h <<\EOF
19472#define wxUSE_FS_INET 1
19473EOF
19474
19475fi
19476
19477if test "$wxUSE_FS_ZIP" = "yes"; then
19478 cat >> confdefs.h <<\EOF
19479#define wxUSE_FS_ZIP 1
19480EOF
19481
19482fi
19483
19484if test "$wxUSE_ZIPSTREAM" = "yes"; then
19485 cat >> confdefs.h <<\EOF
19486#define wxUSE_ZIPSTREAM 1
19487EOF
19488
19489fi
19490
19491if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
19492 cat >> confdefs.h <<\EOF
19493#define wxUSE_ON_FATAL_EXCEPTION 1
19494EOF
19495
19496fi
19497
19498if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
19499 cat >> confdefs.h <<\EOF
19500#define wxUSE_SNGLINST_CHECKER 1
19501EOF
19502
19503fi
19504
19505if test "$wxUSE_BUSYINFO" = "yes"; then
19506 cat >> confdefs.h <<\EOF
19507#define wxUSE_BUSYINFO 1
19508EOF
19509
19510fi
19511
19512if test "$wxUSE_STD_IOSTREAM" = "yes"; then
19513 cat >> confdefs.h <<\EOF
19514#define wxUSE_STD_IOSTREAM 1
19515EOF
19516
19517fi
19518
19519if test "$wxUSE_TEXTBUFFER" = "yes"; then
19520 cat >> confdefs.h <<\EOF
19521#define wxUSE_TEXTBUFFER 1
19522EOF
19523
19524fi
19525
19526if test "$wxUSE_TEXTFILE" = "yes"; then
19527 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
19528 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
19529 else
19530 cat >> confdefs.h <<\EOF
19531#define wxUSE_TEXTFILE 1
19532EOF
19533
19534 fi
19535fi
19536
19537if test "$wxUSE_CONFIG" = "yes" ; then
19538 if test "$wxUSE_TEXTFILE" != "yes"; then
19539 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
19540 else
19541 cat >> confdefs.h <<\EOF
19542#define wxUSE_CONFIG 1
19543EOF
19544
19545 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
19546 fi
19547fi
19548
19549if test "$wxUSE_INTL" = "yes" ; then
19550 if test "$wxUSE_FILE" != "yes"; then
19551 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
19552 else
19553 cat >> confdefs.h <<\EOF
19554#define wxUSE_INTL 1
19555EOF
19556
19557 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
19558 GUIDIST="$GUIDIST INTL_DIST"
19559 fi
19560fi
19561
19562if test "$wxUSE_LOG" = "yes"; then
19563 cat >> confdefs.h <<\EOF
19564#define wxUSE_LOG 1
19565EOF
19566
19567
19568 if test "$wxUSE_LOGGUI" = "yes"; then
19569 cat >> confdefs.h <<\EOF
19570#define wxUSE_LOGGUI 1
19571EOF
19572
19573 fi
19574
19575 if test "$wxUSE_LOGWINDOW" = "yes"; then
19576 cat >> confdefs.h <<\EOF
19577#define wxUSE_LOGWINDOW 1
19578EOF
19579
19580 fi
19581
19582 if test "$wxUSE_LOGDIALOG" = "yes"; then
19583 cat >> confdefs.h <<\EOF
19584#define wxUSE_LOG_DIALOG 1
19585EOF
19586
19587 fi
19588fi
19589
19590if test "$wxUSE_LONGLONG" = "yes"; then
19591 cat >> confdefs.h <<\EOF
19592#define wxUSE_LONGLONG 1
19593EOF
19594
19595fi
19596
19597if test "$wxUSE_GEOMETRY" = "yes"; then
19598 cat >> confdefs.h <<\EOF
19599#define wxUSE_GEOMETRY 1
19600EOF
19601
19602fi
19603
19604if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
19605 cat >> confdefs.h <<\EOF
19606#define wxUSE_DIALUP_MANAGER 1
19607EOF
19608
19609 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
19610fi
19611
19612if test "$wxUSE_STREAMS" = "yes" ; then
19613 cat >> confdefs.h <<\EOF
19614#define wxUSE_STREAMS 1
19615EOF
19616
19617fi
19618
19619
19620if test "$wxUSE_DATETIME" = "yes"; then
19621 for ac_func in strptime
19622do
19623echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19624echo "configure:19625: checking for $ac_func" >&5
19625if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19626 echo $ac_n "(cached) $ac_c" 1>&6
19627else
19628 cat > conftest.$ac_ext <<EOF
19629#line 19630 "configure"
19630#include "confdefs.h"
19631/* System header to define __stub macros and hopefully few prototypes,
19632 which can conflict with char $ac_func(); below. */
19633#include <assert.h>
19634/* Override any gcc2 internal prototype to avoid an error. */
19635/* We use char because int might match the return type of a gcc2
19636 builtin and then its argument prototype would still apply. */
19637char $ac_func();
19638
19639int main() {
19640
19641/* The GNU C library defines this for functions which it implements
19642 to always fail with ENOSYS. Some functions are actually named
19643 something starting with __ and the normal name is an alias. */
19644#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19645choke me
19646#else
19647$ac_func();
19648#endif
19649
19650; return 0; }
19651EOF
19652if { (eval echo configure:19653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19653 rm -rf conftest*
19654 eval "ac_cv_func_$ac_func=yes"
19655else
19656 echo "configure: failed program was:" >&5
19657 cat conftest.$ac_ext >&5
19658 rm -rf conftest*
19659 eval "ac_cv_func_$ac_func=no"
19660fi
19661rm -f conftest*
19662fi
19663
19664if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19665 echo "$ac_t""yes" 1>&6
19666 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19667 cat >> confdefs.h <<EOF
19668#define $ac_tr_func 1
19669EOF
19670
19671else
19672 echo "$ac_t""no" 1>&6
19673fi
19674done
19675
19676
19677 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
19678echo "configure:19679: checking for timezone variable in <time.h>" >&5
19679if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
19680 echo $ac_n "(cached) $ac_c" 1>&6
19681else
19682
19683 cat > conftest.$ac_ext <<EOF
19684#line 19685 "configure"
19685#include "confdefs.h"
19686
19687 #include <time.h>
19688
19689int main() {
19690
19691 int tz;
19692 tz = timezone;
19693
19694; return 0; }
19695EOF
19696if { (eval echo configure:19697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19697 rm -rf conftest*
19698
19699 wx_cv_var_timezone=timezone
19700
19701else
19702 echo "configure: failed program was:" >&5
19703 cat conftest.$ac_ext >&5
19704 rm -rf conftest*
19705
19706 cat > conftest.$ac_ext <<EOF
19707#line 19708 "configure"
19708#include "confdefs.h"
19709
19710 #include <time.h>
19711
19712int main() {
19713
19714 int tz;
19715 tz = _timezone;
19716
19717; return 0; }
19718EOF
19719if { (eval echo configure:19720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19720 rm -rf conftest*
19721
19722 wx_cv_var_timezone=_timezone
19723
19724else
19725 echo "configure: failed program was:" >&5
19726 cat conftest.$ac_ext >&5
19727 rm -rf conftest*
19728
19729 cat > conftest.$ac_ext <<EOF
19730#line 19731 "configure"
19731#include "confdefs.h"
19732
19733 #include <time.h>
19734
19735int main() {
19736
19737 int tz;
19738 tz = __timezone;
19739
19740; return 0; }
19741EOF
19742if { (eval echo configure:19743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19743 rm -rf conftest*
19744
19745 wx_cv_var_timezone=__timezone
19746
19747else
19748 echo "configure: failed program was:" >&5
19749 cat conftest.$ac_ext >&5
19750 rm -rf conftest*
19751
19752 if test "$USE_DOS" = 0 ; then
19753 echo "configure: warning: no timezone variable" 1>&2
19754 fi
19755
19756
19757fi
19758rm -f conftest*
19759
19760
19761fi
19762rm -f conftest*
19763
19764
19765fi
19766rm -f conftest*
19767
19768
19769fi
19770
19771echo "$ac_t""$wx_cv_var_timezone" 1>&6
19772
19773 if test "x$wx_cv_var_timezone" != x ; then
19774 cat >> confdefs.h <<EOF
19775#define WX_TIMEZONE $wx_cv_var_timezone
19776EOF
19777
19778 fi
19779
19780 for ac_func in localtime
19781do
19782echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19783echo "configure:19784: checking for $ac_func" >&5
19784if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19785 echo $ac_n "(cached) $ac_c" 1>&6
19786else
19787 cat > conftest.$ac_ext <<EOF
19788#line 19789 "configure"
19789#include "confdefs.h"
19790/* System header to define __stub macros and hopefully few prototypes,
19791 which can conflict with char $ac_func(); below. */
19792#include <assert.h>
19793/* Override any gcc2 internal prototype to avoid an error. */
19794/* We use char because int might match the return type of a gcc2
19795 builtin and then its argument prototype would still apply. */
19796char $ac_func();
19797
19798int main() {
19799
19800/* The GNU C library defines this for functions which it implements
19801 to always fail with ENOSYS. Some functions are actually named
19802 something starting with __ and the normal name is an alias. */
19803#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19804choke me
19805#else
19806$ac_func();
19807#endif
19808
19809; return 0; }
19810EOF
19811if { (eval echo configure:19812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19812 rm -rf conftest*
19813 eval "ac_cv_func_$ac_func=yes"
19814else
19815 echo "configure: failed program was:" >&5
19816 cat conftest.$ac_ext >&5
19817 rm -rf conftest*
19818 eval "ac_cv_func_$ac_func=no"
19819fi
19820rm -f conftest*
19821fi
19822
19823if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19824 echo "$ac_t""yes" 1>&6
19825 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19826 cat >> confdefs.h <<EOF
19827#define $ac_tr_func 1
19828EOF
19829
19830else
19831 echo "$ac_t""no" 1>&6
19832fi
19833done
19834
19835
19836 if test "$ac_cv_func_localtime" = "yes"; then
19837 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
19838echo "configure:19839: checking for tm_gmtoff in struct tm" >&5
19839if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
19840 echo $ac_n "(cached) $ac_c" 1>&6
19841else
19842
19843 cat > conftest.$ac_ext <<EOF
19844#line 19845 "configure"
19845#include "confdefs.h"
19846
19847 #include <time.h>
19848
19849int main() {
19850
19851 struct tm tm;
19852 tm.tm_gmtoff++;
19853
19854; return 0; }
19855EOF
19856if { (eval echo configure:19857: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19857 rm -rf conftest*
19858
19859 wx_cv_struct_tm_has_gmtoff=yes
19860
19861else
19862 echo "configure: failed program was:" >&5
19863 cat conftest.$ac_ext >&5
19864 rm -rf conftest*
19865 wx_cv_struct_tm_has_gmtoff=no
19866
19867fi
19868rm -f conftest*
19869
19870fi
19871
19872echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
19873 fi
19874
19875 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
19876 cat >> confdefs.h <<\EOF
19877#define WX_GMTOFF_IN_TM 1
19878EOF
19879
19880 fi
19881
19882 for ac_func in gettimeofday ftime
19883do
19884echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19885echo "configure:19886: checking for $ac_func" >&5
19886if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19887 echo $ac_n "(cached) $ac_c" 1>&6
19888else
19889 cat > conftest.$ac_ext <<EOF
19890#line 19891 "configure"
19891#include "confdefs.h"
19892/* System header to define __stub macros and hopefully few prototypes,
19893 which can conflict with char $ac_func(); below. */
19894#include <assert.h>
19895/* Override any gcc2 internal prototype to avoid an error. */
19896/* We use char because int might match the return type of a gcc2
19897 builtin and then its argument prototype would still apply. */
19898char $ac_func();
19899
19900int main() {
19901
19902/* The GNU C library defines this for functions which it implements
19903 to always fail with ENOSYS. Some functions are actually named
19904 something starting with __ and the normal name is an alias. */
19905#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19906choke me
19907#else
19908$ac_func();
19909#endif
19910
19911; return 0; }
19912EOF
19913if { (eval echo configure:19914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19914 rm -rf conftest*
19915 eval "ac_cv_func_$ac_func=yes"
19916else
19917 echo "configure: failed program was:" >&5
19918 cat conftest.$ac_ext >&5
19919 rm -rf conftest*
19920 eval "ac_cv_func_$ac_func=no"
19921fi
19922rm -f conftest*
19923fi
19924
19925if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19926 echo "$ac_t""yes" 1>&6
19927 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19928 cat >> confdefs.h <<EOF
19929#define $ac_tr_func 1
19930EOF
19931 break
19932else
19933 echo "$ac_t""no" 1>&6
19934fi
19935done
19936
19937
19938 if test "$ac_cv_func_gettimeofday" = "yes"; then
19939 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
19940echo "configure:19941: checking whether gettimeofday takes two arguments" >&5
19941if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
19942 echo $ac_n "(cached) $ac_c" 1>&6
19943else
19944
19945
19946 ac_ext=C
19947# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19948ac_cpp='$CXXCPP $CPPFLAGS'
19949ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19950ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19951cross_compiling=$ac_cv_prog_cxx_cross
19952
19953
19954 cat > conftest.$ac_ext <<EOF
19955#line 19956 "configure"
19956#include "confdefs.h"
19957
19958 #include <sys/time.h>
19959 #include <unistd.h>
19960
19961int main() {
19962
19963 struct timeval tv;
19964 gettimeofday(&tv, NULL);
19965
19966; return 0; }
19967EOF
19968if { (eval echo configure:19969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19969 rm -rf conftest*
19970 wx_cv_func_gettimeofday_has_2_args=yes
19971else
19972 echo "configure: failed program was:" >&5
19973 cat conftest.$ac_ext >&5
19974 rm -rf conftest*
19975 cat > conftest.$ac_ext <<EOF
19976#line 19977 "configure"
19977#include "confdefs.h"
19978
19979 #include <sys/time.h>
19980 #include <unistd.h>
19981
19982int main() {
19983
19984 struct timeval tv;
19985 gettimeofday(&tv);
19986
19987; return 0; }
19988EOF
19989if { (eval echo configure:19990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19990 rm -rf conftest*
19991 wx_cv_func_gettimeofday_has_2_args=no
19992else
19993 echo "configure: failed program was:" >&5
19994 cat conftest.$ac_ext >&5
19995 rm -rf conftest*
19996
19997 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
19998 wx_cv_func_gettimeofday_has_2_args=unknown
19999
20000
20001fi
20002rm -f conftest*
20003
20004fi
20005rm -f conftest*
20006 ac_ext=c
20007# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20008ac_cpp='$CPP $CPPFLAGS'
20009ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20010ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20011cross_compiling=$ac_cv_prog_cc_cross
20012
20013
20014fi
20015
20016echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
20017
20018 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
20019 cat >> confdefs.h <<\EOF
20020#define WX_GETTIMEOFDAY_NO_TZ 1
20021EOF
20022
20023 fi
20024 fi
20025
20026 cat >> confdefs.h <<\EOF
20027#define wxUSE_TIMEDATE 1
20028EOF
20029
20030 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
20031fi
20032
20033
20034if test "$wxUSE_SOCKETS" = "yes"; then
20035 if test "$wxUSE_MGL" = "1"; then
20036 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
20037 wxUSE_SOCKETS="no"
20038 fi
20039fi
20040
20041if test "$wxUSE_SOCKETS" = "yes"; then
20042 if test "$TOOLKIT" != "MSW"; then
20043 echo $ac_n "checking for socket""... $ac_c" 1>&6
20044echo "configure:20045: checking for socket" >&5
20045if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
20046 echo $ac_n "(cached) $ac_c" 1>&6
20047else
20048 cat > conftest.$ac_ext <<EOF
20049#line 20050 "configure"
20050#include "confdefs.h"
20051/* System header to define __stub macros and hopefully few prototypes,
20052 which can conflict with char socket(); below. */
20053#include <assert.h>
20054/* Override any gcc2 internal prototype to avoid an error. */
20055/* We use char because int might match the return type of a gcc2
20056 builtin and then its argument prototype would still apply. */
20057char socket();
20058
20059int main() {
20060
20061/* The GNU C library defines this for functions which it implements
20062 to always fail with ENOSYS. Some functions are actually named
20063 something starting with __ and the normal name is an alias. */
20064#if defined (__stub_socket) || defined (__stub___socket)
20065choke me
20066#else
20067socket();
20068#endif
20069
20070; return 0; }
20071EOF
20072if { (eval echo configure:20073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20073 rm -rf conftest*
20074 eval "ac_cv_func_socket=yes"
20075else
20076 echo "configure: failed program was:" >&5
20077 cat conftest.$ac_ext >&5
20078 rm -rf conftest*
20079 eval "ac_cv_func_socket=no"
20080fi
20081rm -f conftest*
20082fi
20083
20084if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
20085 echo "$ac_t""yes" 1>&6
20086 :
20087else
20088 echo "$ac_t""no" 1>&6
20089echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
20090echo "configure:20091: checking for socket in -lsocket" >&5
20091ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
20092if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20093 echo $ac_n "(cached) $ac_c" 1>&6
20094else
20095 ac_save_LIBS="$LIBS"
20096LIBS="-lsocket $LIBS"
20097cat > conftest.$ac_ext <<EOF
20098#line 20099 "configure"
20099#include "confdefs.h"
20100/* Override any gcc2 internal prototype to avoid an error. */
20101/* We use char because int might match the return type of a gcc2
20102 builtin and then its argument prototype would still apply. */
20103char socket();
20104
20105int main() {
20106socket()
20107; return 0; }
20108EOF
20109if { (eval echo configure:20110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20110 rm -rf conftest*
20111 eval "ac_cv_lib_$ac_lib_var=yes"
20112else
20113 echo "configure: failed program was:" >&5
20114 cat conftest.$ac_ext >&5
20115 rm -rf conftest*
20116 eval "ac_cv_lib_$ac_lib_var=no"
20117fi
20118rm -f conftest*
20119LIBS="$ac_save_LIBS"
20120
20121fi
20122if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20123 echo "$ac_t""yes" 1>&6
20124 if test "$INET_LINK" != " -lsocket"; then
20125 INET_LINK="$INET_LINK -lsocket"
20126 fi
20127else
20128 echo "$ac_t""no" 1>&6
20129
20130 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
20131 wxUSE_SOCKETS=no
20132
20133
20134fi
20135
20136
20137fi
20138
20139 fi
20140fi
20141
20142if test "$wxUSE_SOCKETS" = "yes" ; then
20143 if test "$TOOLKIT" != "MSW"; then
20144 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
20145echo "configure:20146: checking what is the type of the third argument of getsockname" >&5
20146if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
20147 echo $ac_n "(cached) $ac_c" 1>&6
20148else
20149
20150
20151 ac_ext=C
20152# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20153ac_cpp='$CXXCPP $CPPFLAGS'
20154ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20155ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20156cross_compiling=$ac_cv_prog_cxx_cross
20157
20158
20159 cat > conftest.$ac_ext <<EOF
20160#line 20161 "configure"
20161#include "confdefs.h"
20162
20163 #include <sys/types.h>
20164 #include <sys/socket.h>
20165
20166int main() {
20167
20168 socklen_t len;
20169 getsockname(0, 0, &len);
20170
20171; return 0; }
20172EOF
20173if { (eval echo configure:20174: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20174 rm -rf conftest*
20175 wx_cv_type_getsockname3=socklen_t
20176else
20177 echo "configure: failed program was:" >&5
20178 cat conftest.$ac_ext >&5
20179 rm -rf conftest*
20180 cat > conftest.$ac_ext <<EOF
20181#line 20182 "configure"
20182#include "confdefs.h"
20183
20184 #include <sys/types.h>
20185 #include <sys/socket.h>
20186
20187int main() {
20188
20189 size_t len;
20190 getsockname(0, 0, &len);
20191
20192; return 0; }
20193EOF
20194if { (eval echo configure:20195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20195 rm -rf conftest*
20196 wx_cv_type_getsockname3=size_t
20197else
20198 echo "configure: failed program was:" >&5
20199 cat conftest.$ac_ext >&5
20200 rm -rf conftest*
20201 cat > conftest.$ac_ext <<EOF
20202#line 20203 "configure"
20203#include "confdefs.h"
20204
20205 #include <sys/types.h>
20206 #include <sys/socket.h>
20207
20208int main() {
20209
20210 int len;
20211 getsockname(0, 0, &len);
20212
20213; return 0; }
20214EOF
20215if { (eval echo configure:20216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20216 rm -rf conftest*
20217 wx_cv_type_getsockname3=int
20218else
20219 echo "configure: failed program was:" >&5
20220 cat conftest.$ac_ext >&5
20221 rm -rf conftest*
20222 wx_cv_type_getsockname3=unknown
20223
20224fi
20225rm -f conftest*
20226
20227fi
20228rm -f conftest*
20229
20230fi
20231rm -f conftest*
20232
20233 ac_ext=c
20234# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20235ac_cpp='$CPP $CPPFLAGS'
20236ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20237ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20238cross_compiling=$ac_cv_prog_cc_cross
20239
20240
20241fi
20242
20243echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
20244
20245 if test "$wx_cv_type_getsockname3" = "unknown"; then
20246 wxUSE_SOCKETS=no
20247 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
20248 else
20249 cat >> confdefs.h <<EOF
20250#define SOCKLEN_T $wx_cv_type_getsockname3
20251EOF
20252
20253 fi
20254 fi
20255fi
20256
20257if test "$wxUSE_SOCKETS" = "yes" ; then
20258 cat >> confdefs.h <<\EOF
20259#define wxUSE_SOCKETS 1
20260EOF
20261
20262 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
20263fi
20264
20265
20266if test "$wxUSE_GUI" = "yes"; then
20267
20268 if test "$TOOLKIT" = "MAC"; then
20269 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
20270 wxUSE_JOYSTICK=no
20271 fi
20272 if test "$TOOLKIT" = "MOTIF"; then
20273 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
20274 wxUSE_JOYSTICK=no
20275 fi
20276 if test "$TOOLKIT" = "X11"; then
20277 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
20278 wxUSE_JOYSTICK=no
20279 fi
20280
20281 if test "$TOOLKIT" != "MSW"; then
20282 if test "$wxUSE_JOYSTICK" = "yes"; then
20283 for ac_hdr in linux/joystick.h
20284do
20285ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20286echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20287echo "configure:20288: checking for $ac_hdr" >&5
20288if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20289 echo $ac_n "(cached) $ac_c" 1>&6
20290else
20291 cat > conftest.$ac_ext <<EOF
20292#line 20293 "configure"
20293#include "confdefs.h"
20294#include <$ac_hdr>
20295EOF
20296ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20297{ (eval echo configure:20298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20298ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20299if test -z "$ac_err"; then
20300 rm -rf conftest*
20301 eval "ac_cv_header_$ac_safe=yes"
20302else
20303 echo "$ac_err" >&5
20304 echo "configure: failed program was:" >&5
20305 cat conftest.$ac_ext >&5
20306 rm -rf conftest*
20307 eval "ac_cv_header_$ac_safe=no"
20308fi
20309rm -f conftest*
20310fi
20311if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20312 echo "$ac_t""yes" 1>&6
20313 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20314 cat >> confdefs.h <<EOF
20315#define $ac_tr_hdr 1
20316EOF
20317
20318else
20319 echo "$ac_t""no" 1>&6
20320fi
20321done
20322
20323 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
20324 wxUSE_JOYSTICK=no
20325 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
20326 fi
20327 fi
20328 fi
20329
20330 if test "$wxUSE_JOYSTICK" = "yes"; then
20331 cat >> confdefs.h <<\EOF
20332#define wxUSE_JOYSTICK 1
20333EOF
20334
20335 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
20336 fi
20337fi
20338
20339
20340if test "$TOOLKIT" != "MSW"; then
20341
20342 HAVE_DL_FUNCS=0
20343 HAVE_SHL_FUNCS=0
20344 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20345 if test "$USE_DARWIN" = 1; then
20346 HAVE_DL_FUNCS=1
20347 else
20348 for ac_func in dlopen
20349do
20350echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20351echo "configure:20352: checking for $ac_func" >&5
20352if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20353 echo $ac_n "(cached) $ac_c" 1>&6
20354else
20355 cat > conftest.$ac_ext <<EOF
20356#line 20357 "configure"
20357#include "confdefs.h"
20358/* System header to define __stub macros and hopefully few prototypes,
20359 which can conflict with char $ac_func(); below. */
20360#include <assert.h>
20361/* Override any gcc2 internal prototype to avoid an error. */
20362/* We use char because int might match the return type of a gcc2
20363 builtin and then its argument prototype would still apply. */
20364char $ac_func();
20365
20366int main() {
20367
20368/* The GNU C library defines this for functions which it implements
20369 to always fail with ENOSYS. Some functions are actually named
20370 something starting with __ and the normal name is an alias. */
20371#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20372choke me
20373#else
20374$ac_func();
20375#endif
20376
20377; return 0; }
20378EOF
20379if { (eval echo configure:20380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20380 rm -rf conftest*
20381 eval "ac_cv_func_$ac_func=yes"
20382else
20383 echo "configure: failed program was:" >&5
20384 cat conftest.$ac_ext >&5
20385 rm -rf conftest*
20386 eval "ac_cv_func_$ac_func=no"
20387fi
20388rm -f conftest*
20389fi
20390
20391if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20392 echo "$ac_t""yes" 1>&6
20393 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20394 cat >> confdefs.h <<EOF
20395#define $ac_tr_func 1
20396EOF
20397
20398 cat >> confdefs.h <<\EOF
20399#define HAVE_DLOPEN 1
20400EOF
20401
20402 HAVE_DL_FUNCS=1
20403
20404else
20405 echo "$ac_t""no" 1>&6
20406echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
20407echo "configure:20408: checking for dlopen in -ldl" >&5
20408ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
20409if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20410 echo $ac_n "(cached) $ac_c" 1>&6
20411else
20412 ac_save_LIBS="$LIBS"
20413LIBS="-ldl $LIBS"
20414cat > conftest.$ac_ext <<EOF
20415#line 20416 "configure"
20416#include "confdefs.h"
20417/* Override any gcc2 internal prototype to avoid an error. */
20418/* We use char because int might match the return type of a gcc2
20419 builtin and then its argument prototype would still apply. */
20420char dlopen();
20421
20422int main() {
20423dlopen()
20424; return 0; }
20425EOF
20426if { (eval echo configure:20427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20427 rm -rf conftest*
20428 eval "ac_cv_lib_$ac_lib_var=yes"
20429else
20430 echo "configure: failed program was:" >&5
20431 cat conftest.$ac_ext >&5
20432 rm -rf conftest*
20433 eval "ac_cv_lib_$ac_lib_var=no"
20434fi
20435rm -f conftest*
20436LIBS="$ac_save_LIBS"
20437
20438fi
20439if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20440 echo "$ac_t""yes" 1>&6
20441
20442 cat >> confdefs.h <<\EOF
20443#define HAVE_DLOPEN 1
20444EOF
20445
20446 HAVE_DL_FUNCS=1
20447 DL_LINK=" -ldl$DL_LINK"
20448
20449else
20450 echo "$ac_t""no" 1>&6
20451
20452 for ac_func in shl_load
20453do
20454echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20455echo "configure:20456: checking for $ac_func" >&5
20456if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20457 echo $ac_n "(cached) $ac_c" 1>&6
20458else
20459 cat > conftest.$ac_ext <<EOF
20460#line 20461 "configure"
20461#include "confdefs.h"
20462/* System header to define __stub macros and hopefully few prototypes,
20463 which can conflict with char $ac_func(); below. */
20464#include <assert.h>
20465/* Override any gcc2 internal prototype to avoid an error. */
20466/* We use char because int might match the return type of a gcc2
20467 builtin and then its argument prototype would still apply. */
20468char $ac_func();
20469
20470int main() {
20471
20472/* The GNU C library defines this for functions which it implements
20473 to always fail with ENOSYS. Some functions are actually named
20474 something starting with __ and the normal name is an alias. */
20475#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20476choke me
20477#else
20478$ac_func();
20479#endif
20480
20481; return 0; }
20482EOF
20483if { (eval echo configure:20484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20484 rm -rf conftest*
20485 eval "ac_cv_func_$ac_func=yes"
20486else
20487 echo "configure: failed program was:" >&5
20488 cat conftest.$ac_ext >&5
20489 rm -rf conftest*
20490 eval "ac_cv_func_$ac_func=no"
20491fi
20492rm -f conftest*
20493fi
20494
20495if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20496 echo "$ac_t""yes" 1>&6
20497 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20498 cat >> confdefs.h <<EOF
20499#define $ac_tr_func 1
20500EOF
20501
20502 cat >> confdefs.h <<\EOF
20503#define HAVE_SHL_LOAD 1
20504EOF
20505
20506 HAVE_SHL_FUNCS=1
20507
20508else
20509 echo "$ac_t""no" 1>&6
20510echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
20511echo "configure:20512: checking for dld in -lshl_load" >&5
20512ac_lib_var=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
20513if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20514 echo $ac_n "(cached) $ac_c" 1>&6
20515else
20516 ac_save_LIBS="$LIBS"
20517LIBS="-lshl_load $LIBS"
20518cat > conftest.$ac_ext <<EOF
20519#line 20520 "configure"
20520#include "confdefs.h"
20521/* Override any gcc2 internal prototype to avoid an error. */
20522/* We use char because int might match the return type of a gcc2
20523 builtin and then its argument prototype would still apply. */
20524char dld();
20525
20526int main() {
20527dld()
20528; return 0; }
20529EOF
20530if { (eval echo configure:20531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20531 rm -rf conftest*
20532 eval "ac_cv_lib_$ac_lib_var=yes"
20533else
20534 echo "configure: failed program was:" >&5
20535 cat conftest.$ac_ext >&5
20536 rm -rf conftest*
20537 eval "ac_cv_lib_$ac_lib_var=no"
20538fi
20539rm -f conftest*
20540LIBS="$ac_save_LIBS"
20541
20542fi
20543if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20544 echo "$ac_t""yes" 1>&6
20545
20546 HAVE_SHL_FUNCS=1
20547 DL_LINK=" -ldld$DL_LINK"
20548
20549else
20550 echo "$ac_t""no" 1>&6
20551fi
20552
20553
20554fi
20555done
20556
20557
20558fi
20559
20560
20561fi
20562done
20563
20564
20565 if test "$HAVE_DL_FUNCS" = 1; then
20566 for ac_func in dlerror
20567do
20568echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20569echo "configure:20570: checking for $ac_func" >&5
20570if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20571 echo $ac_n "(cached) $ac_c" 1>&6
20572else
20573 cat > conftest.$ac_ext <<EOF
20574#line 20575 "configure"
20575#include "confdefs.h"
20576/* System header to define __stub macros and hopefully few prototypes,
20577 which can conflict with char $ac_func(); below. */
20578#include <assert.h>
20579/* Override any gcc2 internal prototype to avoid an error. */
20580/* We use char because int might match the return type of a gcc2
20581 builtin and then its argument prototype would still apply. */
20582char $ac_func();
20583
20584int main() {
20585
20586/* The GNU C library defines this for functions which it implements
20587 to always fail with ENOSYS. Some functions are actually named
20588 something starting with __ and the normal name is an alias. */
20589#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20590choke me
20591#else
20592$ac_func();
20593#endif
20594
20595; return 0; }
20596EOF
20597if { (eval echo configure:20598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20598 rm -rf conftest*
20599 eval "ac_cv_func_$ac_func=yes"
20600else
20601 echo "configure: failed program was:" >&5
20602 cat conftest.$ac_ext >&5
20603 rm -rf conftest*
20604 eval "ac_cv_func_$ac_func=no"
20605fi
20606rm -f conftest*
20607fi
20608
20609if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20610 echo "$ac_t""yes" 1>&6
20611 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20612 cat >> confdefs.h <<EOF
20613#define $ac_tr_func 1
20614EOF
20615 cat >> confdefs.h <<\EOF
20616#define HAVE_DLERROR 1
20617EOF
20618
20619else
20620 echo "$ac_t""no" 1>&6
20621echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
20622echo "configure:20623: checking for dlerror in -ldl" >&5
20623ac_lib_var=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
20624if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20625 echo $ac_n "(cached) $ac_c" 1>&6
20626else
20627 ac_save_LIBS="$LIBS"
20628LIBS="-ldl $LIBS"
20629cat > conftest.$ac_ext <<EOF
20630#line 20631 "configure"
20631#include "confdefs.h"
20632/* Override any gcc2 internal prototype to avoid an error. */
20633/* We use char because int might match the return type of a gcc2
20634 builtin and then its argument prototype would still apply. */
20635char dlerror();
20636
20637int main() {
20638dlerror()
20639; return 0; }
20640EOF
20641if { (eval echo configure:20642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20642 rm -rf conftest*
20643 eval "ac_cv_lib_$ac_lib_var=yes"
20644else
20645 echo "configure: failed program was:" >&5
20646 cat conftest.$ac_ext >&5
20647 rm -rf conftest*
20648 eval "ac_cv_lib_$ac_lib_var=no"
20649fi
20650rm -f conftest*
20651LIBS="$ac_save_LIBS"
20652
20653fi
20654if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20655 echo "$ac_t""yes" 1>&6
20656 cat >> confdefs.h <<\EOF
20657#define HAVE_DLERROR 1
20658EOF
20659
20660else
20661 echo "$ac_t""no" 1>&6
20662fi
20663
20664fi
20665done
20666
20667 fi
20668 fi
20669
20670 if test "$HAVE_DL_FUNCS" = 0; then
20671 if test "$HAVE_SHL_FUNCS" = 0; then
20672 if test "$USE_UNIX" = 1; then
20673 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
20674 wxUSE_DYNAMIC_LOADER=no
20675 wxUSE_DYNLIB_CLASS=no
20676 else
20677 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
20678 fi
20679 fi
20680 fi
20681 fi
20682fi
20683
20684if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
20685 cat >> confdefs.h <<\EOF
20686#define wxUSE_DYNAMIC_LOADER 1
20687EOF
20688
20689elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20690 cat >> confdefs.h <<\EOF
20691#define wxUSE_DYNLIB_CLASS 1
20692EOF
20693
20694fi
20695
20696
20697if test "$wxUSE_FONTMAP" = "yes" ; then
20698 cat >> confdefs.h <<\EOF
20699#define wxUSE_FONTMAP 1
20700EOF
20701
20702fi
20703
20704if test "$wxUSE_UNICODE" = "yes" ; then
20705 cat >> confdefs.h <<\EOF
20706#define wxUSE_UNICODE 1
20707EOF
20708
20709
20710 if test "$wxUSE_MSW" != 1; then
20711 wxUSE_UNICODE_MSLU=no
20712 fi
20713
20714 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
20715 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
20716echo "configure:20717: checking for main in -lunicows" >&5
20717ac_lib_var=`echo unicows'_'main | sed 'y%./+-%__p_%'`
20718if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20719 echo $ac_n "(cached) $ac_c" 1>&6
20720else
20721 ac_save_LIBS="$LIBS"
20722LIBS="-lunicows $LIBS"
20723cat > conftest.$ac_ext <<EOF
20724#line 20725 "configure"
20725#include "confdefs.h"
20726
20727int main() {
20728main()
20729; return 0; }
20730EOF
20731if { (eval echo configure:20732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20732 rm -rf conftest*
20733 eval "ac_cv_lib_$ac_lib_var=yes"
20734else
20735 echo "configure: failed program was:" >&5
20736 cat conftest.$ac_ext >&5
20737 rm -rf conftest*
20738 eval "ac_cv_lib_$ac_lib_var=no"
20739fi
20740rm -f conftest*
20741LIBS="$ac_save_LIBS"
20742
20743fi
20744if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20745 echo "$ac_t""yes" 1>&6
20746
20747 cat >> confdefs.h <<\EOF
20748#define wxUSE_UNICODE_MSLU 1
20749EOF
20750
20751
20752else
20753 echo "$ac_t""no" 1>&6
20754
20755 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
20756 Applications will only run on Windows NT/2000/XP!" 1>&2
20757 wxUSE_UNICODE_MSLU=no
20758
20759fi
20760
20761 fi
20762fi
20763
20764if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
20765 cat >> confdefs.h <<\EOF
20766#define wxUSE_EXPERIMENTAL_PRINTF 1
20767EOF
20768
20769fi
20770
20771
20772
20773IODBC_C_SRC=""
20774if test "$wxUSE_ODBC" = "yes" ; then
20775 cat >> confdefs.h <<\EOF
20776#define wxUSE_ODBC 1
20777EOF
20778
20779 WXODBCFLAG="-D_IODBC_"
20780 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
20781fi
20782
20783
20784if test "$wxUSE_POSTSCRIPT" = "yes" ; then
20785 cat >> confdefs.h <<\EOF
20786#define wxUSE_POSTSCRIPT 1
20787EOF
20788
20789fi
20790
20791cat >> confdefs.h <<\EOF
20792#define wxUSE_AFM_FOR_POSTSCRIPT 1
20793EOF
20794
20795
20796cat >> confdefs.h <<\EOF
20797#define wxUSE_NORMALIZED_PS_FONTS 1
20798EOF
20799
20800
20801
20802if test "$wxUSE_CONSTRAINTS" = "yes"; then
20803 cat >> confdefs.h <<\EOF
20804#define wxUSE_CONSTRAINTS 1
20805EOF
20806
20807 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
20808fi
20809
20810if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
20811
20812
20813 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
20814 cat >> confdefs.h <<\EOF
20815#define wxUSE_MDI_ARCHITECTURE 1
20816EOF
20817
20818 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
20819 fi
20820fi
20821
20822if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
20823 cat >> confdefs.h <<\EOF
20824#define wxUSE_DOC_VIEW_ARCHITECTURE 1
20825EOF
20826
20827 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
20828 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
20829 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
20830 fi
20831fi
20832
20833if test "$wxUSE_HELP" = "yes"; then
20834 cat >> confdefs.h <<\EOF
20835#define wxUSE_HELP 1
20836EOF
20837
20838 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
20839
20840 if test "$wxUSE_MSW" = 1; then
20841 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
20842 cat >> confdefs.h <<\EOF
20843#define wxUSE_MS_HTML_HELP 1
20844EOF
20845
20846 fi
20847 fi
20848
20849 if test "$wxUSE_WXHTML_HELP" = "yes"; then
20850 if test "$wxUSE_HTML" = "yes"; then
20851 cat >> confdefs.h <<\EOF
20852#define wxUSE_WXHTML_HELP 1
20853EOF
20854
20855 else
20856 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
20857 wxUSE_WXHTML_HELP=no
20858 fi
20859 fi
20860fi
20861
20862if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20863 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20864 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
20865 else
20866 cat >> confdefs.h <<\EOF
20867#define wxUSE_PRINTING_ARCHITECTURE 1
20868EOF
20869
20870 fi
20871 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
20872fi
20873
20874if test "$wxUSE_PROLOGIO" = "yes" ; then
20875 cat >> confdefs.h <<\EOF
20876#define wxUSE_PROLOGIO 1
20877EOF
20878
20879 ALL_OBJECTS="$ALL_OBJECTS parser.o"
20880fi
20881
20882if test "$wxUSE_RESOURCES" = "yes" ; then
20883 if test "$wxUSE_NANOX" = "yes"; then
20884 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
20885 else
20886 cat >> confdefs.h <<\EOF
20887#define wxUSE_RESOURCES 1
20888EOF
20889
20890 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS resource"
20891 fi
20892 if test "$wxUSE_PROLOGIO" != "yes" ; then
20893 ALL_OBJECTS="$ALL_OBJECTS parser.o"
20894 fi
20895fi
20896
20897if test "$wxUSE_X_RESOURCES" = "yes"; then
20898 cat >> confdefs.h <<\EOF
20899#define wxUSE_X_RESOURCES 1
20900EOF
20901
20902fi
20903
20904
20905if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
20906 -o "$wxUSE_CLIPBOARD" = "yes" \
20907 -o "$wxUSE_OLE" = "yes" \
20908 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
20909 for ac_hdr in ole2.h
20910do
20911ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20912echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20913echo "configure:20914: checking for $ac_hdr" >&5
20914if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20915 echo $ac_n "(cached) $ac_c" 1>&6
20916else
20917 cat > conftest.$ac_ext <<EOF
20918#line 20919 "configure"
20919#include "confdefs.h"
20920#include <$ac_hdr>
20921EOF
20922ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20923{ (eval echo configure:20924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20924ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20925if test -z "$ac_err"; then
20926 rm -rf conftest*
20927 eval "ac_cv_header_$ac_safe=yes"
20928else
20929 echo "$ac_err" >&5
20930 echo "configure: failed program was:" >&5
20931 cat conftest.$ac_ext >&5
20932 rm -rf conftest*
20933 eval "ac_cv_header_$ac_safe=no"
20934fi
20935rm -f conftest*
20936fi
20937if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20938 echo "$ac_t""yes" 1>&6
20939 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20940 cat >> confdefs.h <<EOF
20941#define $ac_tr_hdr 1
20942EOF
20943
20944else
20945 echo "$ac_t""no" 1>&6
20946fi
20947done
20948
20949
20950 if test "$ac_cv_header_ole2_h" = "yes" ; then
20951 if test "$GCC" = yes ; then
20952
20953 ac_ext=C
20954# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20955ac_cpp='$CXXCPP $CPPFLAGS'
20956ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20957ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20958cross_compiling=$ac_cv_prog_cxx_cross
20959
20960
20961 echo $ac_n "checking if g++ requires -fvtable-thunks""... $ac_c" 1>&6
20962echo "configure:20963: checking if g++ requires -fvtable-thunks" >&5
20963 cat > conftest.$ac_ext <<EOF
20964#line 20965 "configure"
20965#include "confdefs.h"
20966#include <windows.h>
20967 #include <ole2.h>
20968int main() {
20969
20970; return 0; }
20971EOF
20972if { (eval echo configure:20973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20973 rm -rf conftest*
20974 echo "$ac_t""no" 1>&6
20975else
20976 echo "configure: failed program was:" >&5
20977 cat conftest.$ac_ext >&5
20978 rm -rf conftest*
20979 echo "$ac_t""yes" 1>&6
20980 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
20981fi
20982rm -f conftest*
20983 ac_ext=c
20984# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20985ac_cpp='$CPP $CPPFLAGS'
20986ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20987ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20988cross_compiling=$ac_cv_prog_cc_cross
20989
20990 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
20991 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
20992 cat >> confdefs.h <<\EOF
20993#define wxUSE_OLE 1
20994EOF
20995
20996
20997 fi
20998
20999 cat >> confdefs.h <<\EOF
21000#define wxUSE_DATAOBJ 1
21001EOF
21002
21003 else
21004 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
21005
21006 wxUSE_CLIPBOARD=no
21007 wxUSE_DRAG_AND_DROP=no
21008 wxUSE_DATAOBJ=no
21009 wxUSE_OLE=no
21010 fi
21011
21012 if test "$wxUSE_METAFILE" = "yes"; then
21013 cat >> confdefs.h <<\EOF
21014#define wxUSE_METAFILE 1
21015EOF
21016
21017
21018 cat >> confdefs.h <<\EOF
21019#define wxUSE_ENH_METAFILE 1
21020EOF
21021
21022 fi
21023fi
21024
21025if test "$wxUSE_IPC" = "yes"; then
21026 if test "$wxUSE_SOCKETS" != "yes"; then
21027 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
21028 fi
21029
21030 cat >> confdefs.h <<\EOF
21031#define wxUSE_IPC 1
21032EOF
21033
21034fi
21035
21036if test "$wxUSE_CLIPBOARD" = "yes"; then
21037 if test "$wxUSE_MGL" = 1; then
21038 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
21039 wxUSE_CLIPBOARD=no
21040 fi
21041
21042 if test "$wxUSE_CLIPBOARD" = "yes"; then
21043 cat >> confdefs.h <<\EOF
21044#define wxUSE_CLIPBOARD 1
21045EOF
21046
21047
21048 cat >> confdefs.h <<\EOF
21049#define wxUSE_DATAOBJ 1
21050EOF
21051
21052 fi
21053fi
21054
21055if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
21056 if test "$wxUSE_GTK" = 1; then
21057 if test "$WXGTK12" != 1; then
21058 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
21059 wxUSE_DRAG_AND_DROP=no
21060 fi
21061 fi
21062
21063 if test "$wxUSE_MOTIF" = 1; then
21064 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
21065 wxUSE_DRAG_AND_DROP=no
21066 fi
21067
21068 if test "$wxUSE_X11" = 1; then
21069 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
21070 wxUSE_DRAG_AND_DROP=no
21071 fi
21072
21073 if test "$wxUSE_MGL" = 1; then
21074 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
21075 wxUSE_DRAG_AND_DROP=no
21076 fi
21077
21078 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
21079 cat >> confdefs.h <<\EOF
21080#define wxUSE_DRAG_AND_DROP 1
21081EOF
21082
21083 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
21084 fi
21085
21086fi
21087
21088if test "$wxUSE_SPLINES" = "yes" ; then
21089 cat >> confdefs.h <<\EOF
21090#define wxUSE_SPLINES 1
21091EOF
21092
21093fi
21094
21095
21096USES_CONTROLS=0
21097if test "$wxUSE_CONTROLS" = "yes"; then
21098 USES_CONTROLS=1
21099fi
21100
21101if test "$wxUSE_ACCEL" = "yes"; then
21102 cat >> confdefs.h <<\EOF
21103#define wxUSE_ACCEL 1
21104EOF
21105
21106 USES_CONTROLS=1
21107fi
21108
21109if test "$wxUSE_BUTTON" = "yes"; then
21110 cat >> confdefs.h <<\EOF
21111#define wxUSE_BUTTON 1
21112EOF
21113
21114 USES_CONTROLS=1
21115fi
21116
21117if test "$wxUSE_BMPBUTTON" = "yes"; then
21118 cat >> confdefs.h <<\EOF
21119#define wxUSE_BMPBUTTON 1
21120EOF
21121
21122 USES_CONTROLS=1
21123fi
21124
21125if test "$wxUSE_CALCTRL" = "yes"; then
21126 cat >> confdefs.h <<\EOF
21127#define wxUSE_CALENDARCTRL 1
21128EOF
21129
21130 USES_CONTROLS=1
21131 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
21132fi
21133
21134if test "$wxUSE_CARET" = "yes"; then
21135 cat >> confdefs.h <<\EOF
21136#define wxUSE_CARET 1
21137EOF
21138
21139 USES_CONTROLS=1
21140 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
21141fi
21142
21143if test "$wxUSE_COMBOBOX" = "yes"; then
21144 cat >> confdefs.h <<\EOF
21145#define wxUSE_COMBOBOX 1
21146EOF
21147
21148 USES_CONTROLS=1
21149fi
21150
21151if test "$wxUSE_CHOICE" = "yes"; then
21152 cat >> confdefs.h <<\EOF
21153#define wxUSE_CHOICE 1
21154EOF
21155
21156 USES_CONTROLS=1
21157fi
21158
21159if test "$wxUSE_CHECKBOX" = "yes"; then
21160 cat >> confdefs.h <<\EOF
21161#define wxUSE_CHECKBOX 1
21162EOF
21163
21164 USES_CONTROLS=1
21165fi
21166
21167if test "$wxUSE_CHECKLST" = "yes"; then
21168 cat >> confdefs.h <<\EOF
21169#define wxUSE_CHECKLISTBOX 1
21170EOF
21171
21172 USES_CONTROLS=1
21173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
21174fi
21175
21176if test "$wxUSE_GAUGE" = "yes"; then
21177 cat >> confdefs.h <<\EOF
21178#define wxUSE_GAUGE 1
21179EOF
21180
21181 USES_CONTROLS=1
21182fi
21183
21184if test "$wxUSE_NEW_GRID" = "yes"; then
21185 wxUSE_GRID="yes"
21186 cat >> confdefs.h <<\EOF
21187#define wxUSE_NEW_GRID 1
21188EOF
21189
21190 USES_CONTROLS=1
21191 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS newgrid"
21192fi
21193
21194if test "$wxUSE_GRID" = "yes"; then
21195 cat >> confdefs.h <<\EOF
21196#define wxUSE_GRID 1
21197EOF
21198
21199 USES_CONTROLS=1
21200 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
21201fi
21202
21203if test "$wxUSE_IMAGLIST" = "yes"; then
21204 cat >> confdefs.h <<\EOF
21205#define wxUSE_IMAGLIST 1
21206EOF
21207
21208fi
21209
21210if test "$wxUSE_LISTBOX" = "yes"; then
21211 cat >> confdefs.h <<\EOF
21212#define wxUSE_LISTBOX 1
21213EOF
21214
21215 USES_CONTROLS=1
21216fi
21217
21218if test "$wxUSE_LISTCTRL" = "yes"; then
21219 if test "$wxUSE_IMAGLIST" = "yes"; then
21220 cat >> confdefs.h <<\EOF
21221#define wxUSE_LISTCTRL 1
21222EOF
21223
21224 USES_CONTROLS=1
21225 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
21226 else
21227 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
21228 fi
21229fi
21230
21231if test "$wxUSE_NOTEBOOK" = "yes"; then
21232 cat >> confdefs.h <<\EOF
21233#define wxUSE_NOTEBOOK 1
21234EOF
21235
21236 USES_CONTROLS=1
21237 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
21238fi
21239
21240if test "$wxUSE_PROPSHEET" = "yes"; then
21241 cat >> confdefs.h <<\EOF
21242#define wxUSE_PROPSHEET 1
21243EOF
21244
21245 USES_CONTROLS=1
21246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS proplist"
21247fi
21248
21249if test "$wxUSE_RADIOBOX" = "yes"; then
21250 cat >> confdefs.h <<\EOF
21251#define wxUSE_RADIOBOX 1
21252EOF
21253
21254 USES_CONTROLS=1
21255fi
21256
21257if test "$wxUSE_RADIOBTN" = "yes"; then
21258 cat >> confdefs.h <<\EOF
21259#define wxUSE_RADIOBTN 1
21260EOF
21261
21262 USES_CONTROLS=1
21263fi
21264
21265if test "$wxUSE_SASH" = "yes"; then
21266 cat >> confdefs.h <<\EOF
21267#define wxUSE_SASH 1
21268EOF
21269
21270 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
21271fi
21272
21273if test "$wxUSE_SCROLLBAR" = "yes"; then
21274 cat >> confdefs.h <<\EOF
21275#define wxUSE_SCROLLBAR 1
21276EOF
21277
21278 USES_CONTROLS=1
21279 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
21280fi
21281
21282if test "$wxUSE_SLIDER" = "yes"; then
21283 cat >> confdefs.h <<\EOF
21284#define wxUSE_SLIDER 1
21285EOF
21286
21287 USES_CONTROLS=1
21288fi
21289
21290if test "$wxUSE_SPINBTN" = "yes"; then
21291 cat >> confdefs.h <<\EOF
21292#define wxUSE_SPINBTN 1
21293EOF
21294
21295 USES_CONTROLS=1
21296fi
21297
21298if test "$wxUSE_SPINCTRL" = "yes"; then
21299 cat >> confdefs.h <<\EOF
21300#define wxUSE_SPINCTRL 1
21301EOF
21302
21303 USES_CONTROLS=1
21304fi
21305
21306if test "$wxUSE_SPLITTER" = "yes"; then
21307 cat >> confdefs.h <<\EOF
21308#define wxUSE_SPLITTER 1
21309EOF
21310
21311 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
21312fi
21313
21314if test "$wxUSE_STATBMP" = "yes"; then
21315 cat >> confdefs.h <<\EOF
21316#define wxUSE_STATBMP 1
21317EOF
21318
21319 USES_CONTROLS=1
21320fi
21321
21322if test "$wxUSE_STATBOX" = "yes"; then
21323 cat >> confdefs.h <<\EOF
21324#define wxUSE_STATBOX 1
21325EOF
21326
21327 USES_CONTROLS=1
21328fi
21329
21330if test "$wxUSE_STATTEXT" = "yes"; then
21331 cat >> confdefs.h <<\EOF
21332#define wxUSE_STATTEXT 1
21333EOF
21334
21335 USES_CONTROLS=1
21336fi
21337
21338if test "$wxUSE_STATLINE" = "yes"; then
21339 cat >> confdefs.h <<\EOF
21340#define wxUSE_STATLINE 1
21341EOF
21342
21343 USES_CONTROLS=1
21344fi
21345
21346if test "$wxUSE_STATUSBAR" = "yes"; then
21347 cat >> confdefs.h <<\EOF
21348#define wxUSE_STATUSBAR 1
21349EOF
21350
21351 USES_CONTROLS=1
21352
21353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
21354fi
21355
21356if test "$wxUSE_TABDIALOG" = "yes"; then
21357 cat >> confdefs.h <<\EOF
21358#define wxUSE_TAB_DIALOG 1
21359EOF
21360
21361 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
21362fi
21363
21364if test "$wxUSE_TEXTCTRL" = "yes"; then
21365 cat >> confdefs.h <<\EOF
21366#define wxUSE_TEXTCTRL 1
21367EOF
21368
21369 USES_CONTROLS=1
21370 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
21371fi
21372
21373if test "$wxUSE_TOGGLEBTN" = "yes"; then
21374 if test "$wxUSE_MAC" = 1; then
21375 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
21376 wxUSE_TOGGLEBTN=no
21377 fi
21378 if test "$wxUSE_UNIVERSAL" = "yes"; then
21379 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
21380 wxUSE_TOGGLEBTN=no
21381 fi
21382
21383 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21384 cat >> confdefs.h <<\EOF
21385#define wxUSE_TOGGLEBTN 1
21386EOF
21387
21388 USES_CONTROLS=1
21389 fi
21390fi
21391
21392if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
21393 cat >> confdefs.h <<\EOF
21394#define wxUSE_TOOLBAR_SIMPLE 1
21395EOF
21396
21397 wxUSE_TOOLBAR="yes"
21398 USES_CONTROLS=1
21399fi
21400
21401if test "$wxUSE_TOOLBAR" = "yes"; then
21402 cat >> confdefs.h <<\EOF
21403#define wxUSE_TOOLBAR 1
21404EOF
21405
21406 USES_CONTROLS=1
21407
21408 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
21409 wxUSE_TOOLBAR_NATIVE="yes"
21410 fi
21411
21412 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
21413 cat >> confdefs.h <<\EOF
21414#define wxUSE_TOOLBAR_NATIVE 1
21415EOF
21416
21417 USES_CONTROLS=1
21418 fi
21419
21420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
21421fi
21422
21423if test "$wxUSE_TOOLTIPS" = "yes"; then
21424 if test "$wxUSE_MOTIF" = 1; then
21425 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
21426 else
21427 if test "$wxUSE_UNIVERSAL" = "yes"; then
21428 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
21429 else
21430 cat >> confdefs.h <<\EOF
21431#define wxUSE_TOOLTIPS 1
21432EOF
21433
21434 fi
21435 fi
21436fi
21437
21438if test "$wxUSE_TREECTRL" = "yes"; then
21439 if test "$wxUSE_IMAGLIST" = "yes"; then
21440 cat >> confdefs.h <<\EOF
21441#define wxUSE_TREECTRL 1
21442EOF
21443
21444 USES_CONTROLS=1
21445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
21446 else
21447 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
21448 fi
21449fi
21450
21451if test "$wxUSE_POPUPWIN" = "yes"; then
21452 if test "$wxUSE_MAC" = 1; then
21453 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
21454 else
21455 if test "$wxUSE_MOTIF" = 1; then
21456 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
21457 else
21458 if test "$wxUSE_PM" = 1; then
21459 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
21460 else
21461 cat >> confdefs.h <<\EOF
21462#define wxUSE_POPUPWIN 1
21463EOF
21464
21465
21466 USES_CONTROLS=1
21467 fi
21468 fi
21469 fi
21470fi
21471
21472if test "$wxUSE_TIPWINDOW" = "yes"; then
21473 if test "$wxUSE_PM" = 1; then
21474 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
21475 else
21476 cat >> confdefs.h <<\EOF
21477#define wxUSE_TIPWINDOW 1
21478EOF
21479
21480 fi
21481fi
21482
21483if test "$USES_CONTROLS" = 1; then
21484 cat >> confdefs.h <<\EOF
21485#define wxUSE_CONTROLS 1
21486EOF
21487
21488fi
21489
21490
21491if test "$wxUSE_TREELAYOUT" = "yes"; then
21492 cat >> confdefs.h <<\EOF
21493#define wxUSE_TREELAYOUT 1
21494EOF
21495
21496 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelay"
21497fi
21498
21499if test "$wxUSE_DRAGIMAGE" = "yes"; then
21500 cat >> confdefs.h <<\EOF
21501#define wxUSE_DRAGIMAGE 1
21502EOF
21503
21504 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
21505fi
21506
21507if test "$wxUSE_MENUS" = "yes"; then
21508 cat >> confdefs.h <<\EOF
21509#define wxUSE_MENUS 1
21510EOF
21511
21512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
21513fi
21514
21515if test "$wxUSE_METAFILE" = "yes"; then
21516 cat >> confdefs.h <<\EOF
21517#define wxUSE_METAFILE 1
21518EOF
21519
21520fi
21521
21522if test "$wxUSE_MIMETYPE" = "yes"; then
21523 cat >> confdefs.h <<\EOF
21524#define wxUSE_MIMETYPE 1
21525EOF
21526
21527fi
21528
21529if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
21530 cat >> confdefs.h <<\EOF
21531#define wxUSE_SYSTEM_OPTIONS 1
21532EOF
21533
21534if test "$TOOLKIT" = "MSW"; then
21535 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
21536fi
21537
21538fi
21539
21540if test "$wxUSE_PROTOCOL" = "yes"; then
21541 if test "$wxUSE_SOCKETS" != "yes"; then
21542 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
21543 wxUSE_PROTOCOL=no
21544 fi
21545
21546 if test "$wxUSE_PROTOCOL" = "yes"; then
21547 cat >> confdefs.h <<\EOF
21548#define wxUSE_PROTOCOL 1
21549EOF
21550
21551
21552 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
21553 cat >> confdefs.h <<\EOF
21554#define wxUSE_PROTOCOL_HTTP 1
21555EOF
21556
21557 fi
21558 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
21559 cat >> confdefs.h <<\EOF
21560#define wxUSE_PROTOCOL_FTP 1
21561EOF
21562
21563 fi
21564 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
21565 cat >> confdefs.h <<\EOF
21566#define wxUSE_PROTOCOL_FILE 1
21567EOF
21568
21569 fi
21570 fi
21571fi
21572
21573if test "$wxUSE_URL" = "yes"; then
21574 if test "$wxUSE_PROTOCOL" != "yes"; then
21575 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
21576 wxUSE_URL=no
21577 fi
21578 if test "$wxUSE_URL" = "yes"; then
21579 cat >> confdefs.h <<\EOF
21580#define wxUSE_URL 1
21581EOF
21582
21583 fi
21584fi
21585
21586if test "$wxUSE_MINIFRAME" = "yes"; then
21587 cat >> confdefs.h <<\EOF
21588#define wxUSE_MINIFRAME 1
21589EOF
21590
21591 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
21592fi
21593
21594if test "$wxUSE_HTML" = "yes"; then
21595 cat >> confdefs.h <<\EOF
21596#define wxUSE_HTML 1
21597EOF
21598
21599 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html"
21600fi
21601
21602if test "$wxUSE_VALIDATORS" = "yes"; then
21603 cat >> confdefs.h <<\EOF
21604#define wxUSE_VALIDATORS 1
21605EOF
21606
21607 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
21608fi
21609
21610if test "$wxUSE_PALETTE" = "yes" ; then
21611 cat >> confdefs.h <<\EOF
21612#define wxUSE_PALETTE 1
21613EOF
21614
21615fi
21616
21617if test "$wxUSE_IMAGE" = "yes" ; then
21618 cat >> confdefs.h <<\EOF
21619#define wxUSE_IMAGE 1
21620EOF
21621
21622fi
21623
21624if test "$wxUSE_GIF" = "yes" ; then
21625 cat >> confdefs.h <<\EOF
21626#define wxUSE_GIF 1
21627EOF
21628
21629fi
21630
21631if test "$wxUSE_PCX" = "yes" ; then
21632 cat >> confdefs.h <<\EOF
21633#define wxUSE_PCX 1
21634EOF
21635
21636fi
21637
21638if test "$wxUSE_IFF" = "yes" ; then
21639 cat >> confdefs.h <<\EOF
21640#define wxUSE_IFF 1
21641EOF
21642
21643fi
21644
21645if test "$wxUSE_PNM" = "yes" ; then
21646 cat >> confdefs.h <<\EOF
21647#define wxUSE_PNM 1
21648EOF
21649
21650fi
21651
21652if test "$wxUSE_XPM" = "yes" ; then
21653 cat >> confdefs.h <<\EOF
21654#define wxUSE_XPM 1
21655EOF
21656
21657fi
21658
21659if test "$wxUSE_ICO_CUR" = "yes" ; then
21660 cat >> confdefs.h <<\EOF
21661#define wxUSE_ICO_CUR 1
21662EOF
21663
21664fi
21665
21666if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
21667 LIBS=" -lunicows $LIBS"
21668fi
21669
21670
21671if test "$wxUSE_CHOICEDLG" = "yes"; then
21672 cat >> confdefs.h <<\EOF
21673#define wxUSE_CHOICEDLG 1
21674EOF
21675
21676fi
21677
21678if test "$wxUSE_COLOURDLG" = "yes"; then
21679 cat >> confdefs.h <<\EOF
21680#define wxUSE_COLOURDLG 1
21681EOF
21682
21683fi
21684
21685if test "$wxUSE_FILEDLG" = "yes"; then
21686 cat >> confdefs.h <<\EOF
21687#define wxUSE_FILEDLG 1
21688EOF
21689
21690fi
21691
21692if test "$wxUSE_FINDREPLDLG" = "yes"; then
21693 cat >> confdefs.h <<\EOF
21694#define wxUSE_FINDREPLDLG 1
21695EOF
21696
21697fi
21698
21699if test "$wxUSE_FONTDLG" = "yes"; then
21700 cat >> confdefs.h <<\EOF
21701#define wxUSE_FONTDLG 1
21702EOF
21703
21704fi
21705
21706if test "$wxUSE_DIRDLG" = "yes"; then
21707 if test "$wxUSE_TREECTRL" != "yes"; then
21708 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
21709 else
21710 cat >> confdefs.h <<\EOF
21711#define wxUSE_DIRDLG 1
21712EOF
21713
21714 fi
21715fi
21716
21717if test "$wxUSE_MSGDLG" = "yes"; then
21718 cat >> confdefs.h <<\EOF
21719#define wxUSE_MSGDLG 1
21720EOF
21721
21722fi
21723
21724if test "$wxUSE_NUMBERDLG" = "yes"; then
21725 cat >> confdefs.h <<\EOF
21726#define wxUSE_NUMBERDLG 1
21727EOF
21728
21729fi
21730
21731if test "$wxUSE_PROGRESSDLG" = "yes"; then
21732 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21733 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
21734 else
21735 cat >> confdefs.h <<\EOF
21736#define wxUSE_PROGRESSDLG 1
21737EOF
21738
21739 fi
21740fi
21741
21742if test "$wxUSE_SPLASH" = "yes"; then
21743 cat >> confdefs.h <<\EOF
21744#define wxUSE_SPLASH 1
21745EOF
21746
21747fi
21748
21749if test "$wxUSE_STARTUP_TIPS" = "yes"; then
21750 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21751 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
21752 else
21753 cat >> confdefs.h <<\EOF
21754#define wxUSE_STARTUP_TIPS 1
21755EOF
21756
21757 fi
21758fi
21759
21760if test "$wxUSE_TEXTDLG" = "yes"; then
21761 cat >> confdefs.h <<\EOF
21762#define wxUSE_TEXTDLG 1
21763EOF
21764
21765fi
21766
21767if test "$wxUSE_WIZARDDLG" = "yes"; then
21768 cat >> confdefs.h <<\EOF
21769#define wxUSE_WIZARDDLG 1
21770EOF
21771
21772 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
21773fi
21774
21775
21776if test "$cross_compiling" = "yes"; then
21777 OSINFO="\"$host\""
21778else
21779 OSINFO=`uname -s -r -m`
21780 OSINFO="\"$OSINFO\""
21781fi
21782
21783cat >> confdefs.h <<EOF
21784#define WXWIN_OS_DESCRIPTION $OSINFO
21785EOF
21786
21787
21788
21789if test "x$prefix" != "xNONE"; then
21790 wxPREFIX=$prefix
21791else
21792 wxPREFIX=$ac_default_prefix
21793fi
21794
21795cat >> confdefs.h <<EOF
21796#define wxINSTALL_PREFIX "$wxPREFIX"
21797EOF
21798
21799
21800
21801
21802
21803if test "$wxUSE_MAC" = 1 ; then
21804 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
21805fi
21806
21807
21808LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
21809
21810have_cos=0
21811have_floor=0
21812for ac_func in cos
21813do
21814echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21815echo "configure:21816: checking for $ac_func" >&5
21816if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21817 echo $ac_n "(cached) $ac_c" 1>&6
21818else
21819 cat > conftest.$ac_ext <<EOF
21820#line 21821 "configure"
21821#include "confdefs.h"
21822/* System header to define __stub macros and hopefully few prototypes,
21823 which can conflict with char $ac_func(); below. */
21824#include <assert.h>
21825/* Override any gcc2 internal prototype to avoid an error. */
21826/* We use char because int might match the return type of a gcc2
21827 builtin and then its argument prototype would still apply. */
21828char $ac_func();
21829
21830int main() {
21831
21832/* The GNU C library defines this for functions which it implements
21833 to always fail with ENOSYS. Some functions are actually named
21834 something starting with __ and the normal name is an alias. */
21835#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21836choke me
21837#else
21838$ac_func();
21839#endif
21840
21841; return 0; }
21842EOF
21843if { (eval echo configure:21844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21844 rm -rf conftest*
21845 eval "ac_cv_func_$ac_func=yes"
21846else
21847 echo "configure: failed program was:" >&5
21848 cat conftest.$ac_ext >&5
21849 rm -rf conftest*
21850 eval "ac_cv_func_$ac_func=no"
21851fi
21852rm -f conftest*
21853fi
21854
21855if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21856 echo "$ac_t""yes" 1>&6
21857 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21858 cat >> confdefs.h <<EOF
21859#define $ac_tr_func 1
21860EOF
21861 have_cos=1
21862else
21863 echo "$ac_t""no" 1>&6
21864fi
21865done
21866
21867for ac_func in floor
21868do
21869echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21870echo "configure:21871: checking for $ac_func" >&5
21871if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21872 echo $ac_n "(cached) $ac_c" 1>&6
21873else
21874 cat > conftest.$ac_ext <<EOF
21875#line 21876 "configure"
21876#include "confdefs.h"
21877/* System header to define __stub macros and hopefully few prototypes,
21878 which can conflict with char $ac_func(); below. */
21879#include <assert.h>
21880/* Override any gcc2 internal prototype to avoid an error. */
21881/* We use char because int might match the return type of a gcc2
21882 builtin and then its argument prototype would still apply. */
21883char $ac_func();
21884
21885int main() {
21886
21887/* The GNU C library defines this for functions which it implements
21888 to always fail with ENOSYS. Some functions are actually named
21889 something starting with __ and the normal name is an alias. */
21890#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21891choke me
21892#else
21893$ac_func();
21894#endif
21895
21896; return 0; }
21897EOF
21898if { (eval echo configure:21899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21899 rm -rf conftest*
21900 eval "ac_cv_func_$ac_func=yes"
21901else
21902 echo "configure: failed program was:" >&5
21903 cat conftest.$ac_ext >&5
21904 rm -rf conftest*
21905 eval "ac_cv_func_$ac_func=no"
21906fi
21907rm -f conftest*
21908fi
21909
21910if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21911 echo "$ac_t""yes" 1>&6
21912 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21913 cat >> confdefs.h <<EOF
21914#define $ac_tr_func 1
21915EOF
21916 have_floor=1
21917else
21918 echo "$ac_t""no" 1>&6
21919fi
21920done
21921
21922echo $ac_n "checking if floating point functions link without -lm""... $ac_c" 1>&6
21923echo "configure:21924: checking if floating point functions link without -lm" >&5
21924if test "$have_cos" = 1 -a "$have_floor" = 1; then
21925 echo "$ac_t""yes" 1>&6
21926else
21927 echo "$ac_t""no" 1>&6
21928 LIBS="$LIBS -lm"
21929 # use different functions to avoid configure caching
21930 have_sin=0
21931 have_ceil=0
21932 for ac_func in sin
21933do
21934echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21935echo "configure:21936: checking for $ac_func" >&5
21936if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21937 echo $ac_n "(cached) $ac_c" 1>&6
21938else
21939 cat > conftest.$ac_ext <<EOF
21940#line 21941 "configure"
21941#include "confdefs.h"
21942/* System header to define __stub macros and hopefully few prototypes,
21943 which can conflict with char $ac_func(); below. */
21944#include <assert.h>
21945/* Override any gcc2 internal prototype to avoid an error. */
21946/* We use char because int might match the return type of a gcc2
21947 builtin and then its argument prototype would still apply. */
21948char $ac_func();
21949
21950int main() {
21951
21952/* The GNU C library defines this for functions which it implements
21953 to always fail with ENOSYS. Some functions are actually named
21954 something starting with __ and the normal name is an alias. */
21955#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21956choke me
21957#else
21958$ac_func();
21959#endif
21960
21961; return 0; }
21962EOF
21963if { (eval echo configure:21964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21964 rm -rf conftest*
21965 eval "ac_cv_func_$ac_func=yes"
21966else
21967 echo "configure: failed program was:" >&5
21968 cat conftest.$ac_ext >&5
21969 rm -rf conftest*
21970 eval "ac_cv_func_$ac_func=no"
21971fi
21972rm -f conftest*
21973fi
21974
21975if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21976 echo "$ac_t""yes" 1>&6
21977 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21978 cat >> confdefs.h <<EOF
21979#define $ac_tr_func 1
21980EOF
21981 have_sin=1
21982else
21983 echo "$ac_t""no" 1>&6
21984fi
21985done
21986
21987 for ac_func in ceil
21988do
21989echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21990echo "configure:21991: checking for $ac_func" >&5
21991if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21992 echo $ac_n "(cached) $ac_c" 1>&6
21993else
21994 cat > conftest.$ac_ext <<EOF
21995#line 21996 "configure"
21996#include "confdefs.h"
21997/* System header to define __stub macros and hopefully few prototypes,
21998 which can conflict with char $ac_func(); below. */
21999#include <assert.h>
22000/* Override any gcc2 internal prototype to avoid an error. */
22001/* We use char because int might match the return type of a gcc2
22002 builtin and then its argument prototype would still apply. */
22003char $ac_func();
22004
22005int main() {
22006
22007/* The GNU C library defines this for functions which it implements
22008 to always fail with ENOSYS. Some functions are actually named
22009 something starting with __ and the normal name is an alias. */
22010#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22011choke me
22012#else
22013$ac_func();
22014#endif
22015
22016; return 0; }
22017EOF
22018if { (eval echo configure:22019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22019 rm -rf conftest*
22020 eval "ac_cv_func_$ac_func=yes"
22021else
22022 echo "configure: failed program was:" >&5
22023 cat conftest.$ac_ext >&5
22024 rm -rf conftest*
22025 eval "ac_cv_func_$ac_func=no"
22026fi
22027rm -f conftest*
22028fi
22029
22030if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22031 echo "$ac_t""yes" 1>&6
22032 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22033 cat >> confdefs.h <<EOF
22034#define $ac_tr_func 1
22035EOF
22036 have_ceil=1
22037else
22038 echo "$ac_t""no" 1>&6
22039fi
22040done
22041
22042 echo $ac_n "checking if floating point functions link with -lm""... $ac_c" 1>&6
22043echo "configure:22044: checking if floating point functions link with -lm" >&5
22044 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22045 echo "$ac_t""yes" 1>&6
22046 else
22047 echo "$ac_t""no" 1>&6
22048 # not sure we should warn the user, crash, etc.
22049 fi
22050fi
22051
22052if test "$wxUSE_GUI" = "yes"; then
22053
22054 LIBS="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
22055
22056
22057 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
22058 drawing dynamic erase event exec font image \
22059 minimal propsize rotate widgets"
22060
22061 CPPFLAGS="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
22062else
22063 SAMPLES_SUBDIRS="console"
22064fi
22065
22066
22067INCLUDES="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
22068-I\${top_srcdir}/include \
22069$REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
22070$TOOLKIT_INCLUDE"
22071
22072if test "$wxUSE_GTK" = 1; then
22073 WXCONFIG_INCLUDE=
22074else
22075 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
22076fi
22077
22078if test "$GXX" = yes ; then
22079 CXXWARNINGS="-Wall"
22080
22081 if test "$wxUSE_NO_DEPS" = "no" ; then
22082 CFLAGS="-MMD $CFLAGS"
22083 CXXFLAGS="-MMD $CXXFLAGS"
22084 fi
22085fi
22086
22087EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
22088
22089CPPFLAGS=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
22090CFLAGS=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
22091CXXFLAGS=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
22092LIBS=`echo $LIBS | sed 's/ \+/ /g'`
22093
22094LDFLAGS="$LDFLAGS $PROFILE"
22095
22096SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
22097
22098
22099
22100
22101
22102
22103
22104
22105
22106
22107
22108
22109
22110
22111
22112
22113
22114
22115
22116
22117
22118
22119
22120
22121
22122
22123
22124
22125
22126
22127
22128
22129
22130
22131
22132
22133
22134
22135
22136
22137
22138
22139
22140
22141
22142
22143
22144
22145
22146
22147
22148
22149
22150
22151
22152
22153
22154
22155
22156
22157
22158
22159
22160
22161
22162
22163
22164
22165
22166
22167
22168
22169
22170
22171
22172
22173
22174
22175
22176
22177
22178
22179
22180
22181
22182
22183
22184
22185
22186
22187
22188
22189
22190
22191
22192
22193
22194
22195echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
22196echo "configure:22197: checking whether ${MAKE-make} sets \${MAKE}" >&5
22197set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
22198if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
22199 echo $ac_n "(cached) $ac_c" 1>&6
22200else
22201 cat > conftestmake <<\EOF
22202all:
22203 @echo 'ac_maketemp="${MAKE}"'
22204EOF
22205# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22206eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
22207if test -n "$ac_maketemp"; then
22208 eval ac_cv_prog_make_${ac_make}_set=yes
22209else
22210 eval ac_cv_prog_make_${ac_make}_set=no
22211fi
22212rm -f conftestmake
22213fi
22214if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
22215 echo "$ac_t""yes" 1>&6
22216 SET_MAKE=
22217else
22218 echo "$ac_t""no" 1>&6
22219 SET_MAKE="MAKE=${MAKE-make}"
22220fi
22221
22222
22223if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
22224 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
22225fi
22226
22227
22228
22229wx_cv_path_samplesubdirs=$SAMPLES_SUBDIRS
22230wx_cv_if_gnu_make=$IF_GNU_MAKE
22231wx_cv_path_ifs=$PATH_IFS
22232wx_cv_program_ext=$PROGRAM_EXT
22233wx_cv_target_library=$WX_TARGET_LIBRARY
22234wx_cv_target_library_gl=$WX_TARGET_LIBRARY_GL
22235wx_cv_target_libtype=$WX_TARGET_LIBRARY_TYPE
22236wx_cv_library_basename=${WX_LIBRARY_BASENAME}
22237wx_cv_release=${WX_RELEASE}
22238wx_cv_current=${WX_CURRENT}
22239wx_cv_revision=${WX_REVISION}
22240wx_cv_age=${WX_AGE}
22241wx_cv_use_gui=${USE_GUI}
22242wx_cv_use_resources=${wxUSE_RESOURCES}
22243export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
22244 wx_cv_path_ifs wx_cv_program_ext \
22245 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype \
22246 wx_cv_library_basename wx_cv_release wx_cv_current wx_cv_revision wx_cv_age \
22247 wx_cv_use_gui wx_cv_use_resources
22248
22249subdirs="demos samples utils contrib"
22250
22251
22252trap '' 1 2 15
22253cat > confcache <<\EOF
22254# This file is a shell script that caches the results of configure
22255# tests run on this system so they can be shared between configure
22256# scripts and configure runs. It is not useful on other systems.
22257# If it contains results you don't want to keep, you may remove or edit it.
22258#
22259# By default, configure uses ./config.cache as the cache file,
22260# creating it if it does not exist already. You can give configure
22261# the --cache-file=FILE option to use a different cache file; that is
22262# what configure does when it calls configure scripts in
22263# subdirectories, so they share the cache.
22264# Giving --cache-file=/dev/null disables caching, for debugging configure.
22265# config.status only pays attention to the cache file if you give it the
22266# --recheck option to rerun configure.
22267#
22268EOF
22269# The following way of writing the cache mishandles newlines in values,
22270# but we know of no workaround that is simple, portable, and efficient.
22271# So, don't put newlines in cache variables' values.
22272# Ultrix sh set writes to stderr and can't be redirected directly,
22273# and sets the high bit in the cache file unless we assign to the vars.
22274(set) 2>&1 |
22275 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22276 *ac_space=\ *)
22277 # `set' does not quote correctly, so add quotes (double-quote substitution
22278 # turns \\\\ into \\, and sed turns \\ into \).
22279 sed -n \
22280 -e "s/'/'\\\\''/g" \
22281 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22282 ;;
22283 *)
22284 # `set' quotes correctly as required by POSIX, so do not add quotes.
22285 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22286 ;;
22287 esac >> confcache
22288if cmp -s $cache_file confcache; then
22289 :
22290else
22291 if test -w $cache_file; then
22292 echo "updating cache $cache_file"
22293 cat confcache > $cache_file
22294 else
22295 echo "not updating unwritable cache $cache_file"
22296 fi
22297fi
22298rm -f confcache
22299
22300trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22301
22302test "x$prefix" = xNONE && prefix=$ac_default_prefix
22303# Let make expand exec_prefix.
22304test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22305
22306# Any assignment to VPATH causes Sun make to only execute
22307# the first set of double-colon rules, so remove it if not needed.
22308# If there is a colon in the path, we need to keep it.
22309if test "x$srcdir" = x.; then
22310 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
22311fi
22312
22313trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22314
22315DEFS=-DHAVE_CONFIG_H
22316
22317# Without the "./", some shells look in PATH for config.status.
22318: ${CONFIG_STATUS=./config.status}
22319
22320echo creating $CONFIG_STATUS
22321rm -f $CONFIG_STATUS
22322cat > $CONFIG_STATUS <<EOF
22323#! /bin/sh
22324# Generated automatically by configure.
22325# Run this file to recreate the current configuration.
22326# This directory was configured as follows,
22327# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22328#
22329# $0 $ac_configure_args
22330#
22331# Compiler output produced by configure, useful for debugging
22332# configure, is in ./config.log if it exists.
22333
22334ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22335for ac_option
22336do
22337 case "\$ac_option" in
22338 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22339 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22340 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22341 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22342 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22343 exit 0 ;;
22344 -help | --help | --hel | --he | --h)
22345 echo "\$ac_cs_usage"; exit 0 ;;
22346 *) echo "\$ac_cs_usage"; exit 1 ;;
22347 esac
22348done
22349
22350ac_given_srcdir=$srcdir
22351ac_given_INSTALL="$INSTALL"
22352
22353trap 'rm -fr `echo "
22354 wx-config
22355 version-script
22356 src/make.env
22357 src/makeprog.env
22358 src/makelib.env
22359 Makefile
22360 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22361EOF
22362cat >> $CONFIG_STATUS <<EOF
22363
22364# Protect against being on the right side of a sed subst in config.status.
22365sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22366 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22367$ac_vpsub
22368$extrasub
22369s%@SHELL@%$SHELL%g
22370s%@CFLAGS@%$CFLAGS%g
22371s%@CPPFLAGS@%$CPPFLAGS%g
22372s%@CXXFLAGS@%$CXXFLAGS%g
22373s%@FFLAGS@%$FFLAGS%g
22374s%@DEFS@%$DEFS%g
22375s%@LDFLAGS@%$LDFLAGS%g
22376s%@LIBS@%$LIBS%g
22377s%@exec_prefix@%$exec_prefix%g
22378s%@prefix@%$prefix%g
22379s%@program_transform_name@%$program_transform_name%g
22380s%@bindir@%$bindir%g
22381s%@sbindir@%$sbindir%g
22382s%@libexecdir@%$libexecdir%g
22383s%@datadir@%$datadir%g
22384s%@sysconfdir@%$sysconfdir%g
22385s%@sharedstatedir@%$sharedstatedir%g
22386s%@localstatedir@%$localstatedir%g
22387s%@libdir@%$libdir%g
22388s%@includedir@%$includedir%g
22389s%@oldincludedir@%$oldincludedir%g
22390s%@infodir@%$infodir%g
22391s%@mandir@%$mandir%g
22392s%@host@%$host%g
22393s%@host_alias@%$host_alias%g
22394s%@host_cpu@%$host_cpu%g
22395s%@host_vendor@%$host_vendor%g
22396s%@host_os@%$host_os%g
22397s%@target@%$target%g
22398s%@target_alias@%$target_alias%g
22399s%@target_cpu@%$target_cpu%g
22400s%@target_vendor@%$target_vendor%g
22401s%@target_os@%$target_os%g
22402s%@build@%$build%g
22403s%@build_alias@%$build_alias%g
22404s%@build_cpu@%$build_cpu%g
22405s%@build_vendor@%$build_vendor%g
22406s%@build_os@%$build_os%g
22407s%@CC@%$CC%g
22408s%@CPP@%$CPP%g
22409s%@CXX@%$CXX%g
22410s%@RANLIB@%$RANLIB%g
22411s%@AR@%$AR%g
22412s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22413s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22414s%@INSTALL_DATA@%$INSTALL_DATA%g
22415s%@STRIP@%$STRIP%g
22416s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
22417s%@YACC@%$YACC%g
22418s%@LEX@%$LEX%g
22419s%@LEXLIB@%$LEXLIB%g
22420s%@LN_S@%$LN_S%g
22421s%@CXXCPP@%$CXXCPP%g
22422s%@PKG_CONFIG@%$PKG_CONFIG%g
22423s%@GTK_CFLAGS@%$GTK_CFLAGS%g
22424s%@GTK_LIBS@%$GTK_LIBS%g
22425s%@GTK_CONFIG@%$GTK_CONFIG%g
22426s%@PANGOFT2_CFLAGS@%$PANGOFT2_CFLAGS%g
22427s%@PANGOFT2_LIBS@%$PANGOFT2_LIBS%g
22428s%@X_CFLAGS@%$X_CFLAGS%g
22429s%@X_PRE_LIBS@%$X_PRE_LIBS%g
22430s%@X_LIBS@%$X_LIBS%g
22431s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
22432s%@PANGOX_CFLAGS@%$PANGOX_CFLAGS%g
22433s%@PANGOX_LIBS@%$PANGOX_LIBS%g
22434s%@PANGOXFT_CFLAGS@%$PANGOXFT_CFLAGS%g
22435s%@PANGOXFT_LIBS@%$PANGOXFT_LIBS%g
22436s%@AIX_CXX_LD@%$AIX_CXX_LD%g
22437s%@RESCOMP@%$RESCOMP%g
22438s%@DEREZ@%$DEREZ%g
22439s%@LIBICONV@%$LIBICONV%g
22440s%@LEX_STEM@%$LEX_STEM%g
22441s%@PATH_IFS@%$PATH_IFS%g
22442s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
22443s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
22444s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
22445s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
22446s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
22447s%@WX_LIBRARY_BASENAME@%$WX_LIBRARY_BASENAME%g
22448s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
22449s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
22450s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
22451s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
22452s%@PROGRAM_EXT@%$PROGRAM_EXT%g
22453s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
22454s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
22455s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
22456s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
22457s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
22458s%@WX_ALL@%$WX_ALL%g
22459s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
22460s%@SHARED_LD@%$SHARED_LD%g
22461s%@PIC_FLAG@%$PIC_FLAG%g
22462s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
22463s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
22464s%@SONAME_FLAGS@%$SONAME_FLAGS%g
22465s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
22466s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
22467s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
22468s%@STATIC_FLAG@%$STATIC_FLAG%g
22469s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
22470s%@USE_GUI@%$USE_GUI%g
22471s%@AFMINSTALL@%$AFMINSTALL%g
22472s%@WIN32INSTALL@%$WIN32INSTALL%g
22473s%@TOOLKIT@%$TOOLKIT%g
22474s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
22475s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
22476s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
22477s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
22478s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
22479s%@cross_compiling@%$cross_compiling%g
22480s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
22481s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
22482s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
22483s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
22484s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
22485s%@WXCONFIG_RPATH@%$WXCONFIG_RPATH%g
22486s%@WX_LARGEFILE_FLAGS@%$WX_LARGEFILE_FLAGS%g
22487s%@ALL_OBJECTS@%$ALL_OBJECTS%g
22488s%@ALL_HEADERS@%$ALL_HEADERS%g
22489s%@ALL_SOURCES@%$ALL_SOURCES%g
22490s%@GUIDIST@%$GUIDIST%g
22491s%@PORT_FILES@%$PORT_FILES%g
22492s%@DISTDIR@%$DISTDIR%g
22493s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
22494s%@LDFLAGS_GL@%$LDFLAGS_GL%g
22495s%@LDFLAGS_VERSIONING@%$LDFLAGS_VERSIONING%g
22496s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
22497s%@OPENGL_LIBS@%$OPENGL_LIBS%g
22498s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
22499s%@EXTRADEFS@%$EXTRADEFS%g
22500s%@WX_VERSION_TAG@%$WX_VERSION_TAG%g
22501s%@RESFLAGS@%$RESFLAGS%g
22502s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
22503s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
22504s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
22505s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
22506s%@LIBWXMACRES@%$LIBWXMACRES%g
22507s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
22508s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
22509s%@GCC@%$GCC%g
22510s%@DLLTOOL@%$DLLTOOL%g
22511s%@AS@%$AS%g
22512s%@NM@%$NM%g
22513s%@LD@%$LD%g
22514s%@MAKEINFO@%$MAKEINFO%g
22515s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
22516s%@SET_MAKE@%$SET_MAKE%g
22517s%@subdirs@%$subdirs%g
22518
22519CEOF
22520EOF
22521
22522cat >> $CONFIG_STATUS <<\EOF
22523
22524# Split the substitutions into bite-sized pieces for seds with
22525# small command number limits, like on Digital OSF/1 and HP-UX.
22526ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
22527ac_file=1 # Number of current file.
22528ac_beg=1 # First line for current file.
22529ac_end=$ac_max_sed_cmds # Line after last line for current file.
22530ac_more_lines=:
22531ac_sed_cmds=""
22532while $ac_more_lines; do
22533 if test $ac_beg -gt 1; then
22534 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
22535 else
22536 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
22537 fi
22538 if test ! -s conftest.s$ac_file; then
22539 ac_more_lines=false
22540 rm -f conftest.s$ac_file
22541 else
22542 if test -z "$ac_sed_cmds"; then
22543 ac_sed_cmds="sed -f conftest.s$ac_file"
22544 else
22545 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
22546 fi
22547 ac_file=`expr $ac_file + 1`
22548 ac_beg=$ac_end
22549 ac_end=`expr $ac_end + $ac_max_sed_cmds`
22550 fi
22551done
22552if test -z "$ac_sed_cmds"; then
22553 ac_sed_cmds=cat
22554fi
22555EOF
22556
22557cat >> $CONFIG_STATUS <<EOF
22558
22559CONFIG_FILES=\${CONFIG_FILES-"wx-config
22560 version-script
22561 src/make.env
22562 src/makeprog.env
22563 src/makelib.env
22564 Makefile
22565 "}
22566EOF
22567cat >> $CONFIG_STATUS <<\EOF
22568for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
22569 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22570 case "$ac_file" in
22571 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22572 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22573 *) ac_file_in="${ac_file}.in" ;;
22574 esac
22575
22576 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22577
22578 # Remove last slash and all that follows it. Not all systems have dirname.
22579 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22580 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22581 # The file is in a subdirectory.
22582 test ! -d "$ac_dir" && mkdir "$ac_dir"
22583 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
22584 # A "../" for each directory in $ac_dir_suffix.
22585 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22586 else
22587 ac_dir_suffix= ac_dots=
22588 fi
22589
22590 case "$ac_given_srcdir" in
22591 .) srcdir=.
22592 if test -z "$ac_dots"; then top_srcdir=.
22593 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22594 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
22595 *) # Relative path.
22596 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22597 top_srcdir="$ac_dots$ac_given_srcdir" ;;
22598 esac
22599
22600 case "$ac_given_INSTALL" in
22601 [/$]*) INSTALL="$ac_given_INSTALL" ;;
22602 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
22603 esac
22604
22605 echo creating "$ac_file"
22606 rm -f "$ac_file"
22607 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
22608 case "$ac_file" in
22609 *Makefile*) ac_comsub="1i\\
22610# $configure_input" ;;
22611 *) ac_comsub= ;;
22612 esac
22613
22614 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22615 sed -e "$ac_comsub
22616s%@configure_input@%$configure_input%g
22617s%@srcdir@%$srcdir%g
22618s%@top_srcdir@%$top_srcdir%g
22619s%@INSTALL@%$INSTALL%g
22620" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
22621fi; done
22622rm -f conftest.s*
22623
22624# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22625# NAME is the cpp macro being defined and VALUE is the value it is being given.
22626#
22627# ac_d sets the value in "#define NAME VALUE" lines.
22628ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22629ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
22630ac_dC='\3'
22631ac_dD='%g'
22632# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22633ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22634ac_uB='\([ ]\)%\1#\2define\3'
22635ac_uC=' '
22636ac_uD='\4%g'
22637# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22638ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22639ac_eB='$%\1#\2define\3'
22640ac_eC=' '
22641ac_eD='%g'
22642
22643if test "${CONFIG_HEADERS+set}" != set; then
22644EOF
22645cat >> $CONFIG_STATUS <<EOF
22646 CONFIG_HEADERS="setup.h:setup.h.in"
22647EOF
22648cat >> $CONFIG_STATUS <<\EOF
22649fi
22650for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
22651 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22652 case "$ac_file" in
22653 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22654 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22655 *) ac_file_in="${ac_file}.in" ;;
22656 esac
22657
22658 echo creating $ac_file
22659
22660 rm -f conftest.frag conftest.in conftest.out
22661 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22662 cat $ac_file_inputs > conftest.in
22663
22664EOF
22665
22666# Transform confdefs.h into a sed script conftest.vals that substitutes
22667# the proper values into config.h.in to produce config.h. And first:
22668# Protect against being on the right side of a sed subst in config.status.
22669# Protect against being in an unquoted here document in config.status.
22670rm -f conftest.vals
22671cat > conftest.hdr <<\EOF
22672s/[\\&%]/\\&/g
22673s%[\\$`]%\\&%g
22674s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22675s%ac_d%ac_u%gp
22676s%ac_u%ac_e%gp
22677EOF
22678sed -n -f conftest.hdr confdefs.h > conftest.vals
22679rm -f conftest.hdr
22680
22681# This sed command replaces #undef with comments. This is necessary, for
22682# example, in the case of _POSIX_SOURCE, which is predefined and required
22683# on some systems where configure will not decide to define it.
22684cat >> conftest.vals <<\EOF
22685s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22686EOF
22687
22688# Break up conftest.vals because some shells have a limit on
22689# the size of here documents, and old seds have small limits too.
22690
22691rm -f conftest.tail
22692while :
22693do
22694 ac_lines=`grep -c . conftest.vals`
22695 # grep -c gives empty output for an empty file on some AIX systems.
22696 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22697 # Write a limited-size here document to conftest.frag.
22698 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22699 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22700 echo 'CEOF
22701 sed -f conftest.frag conftest.in > conftest.out
22702 rm -f conftest.in
22703 mv conftest.out conftest.in
22704' >> $CONFIG_STATUS
22705 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22706 rm -f conftest.vals
22707 mv conftest.tail conftest.vals
22708done
22709rm -f conftest.vals
22710
22711cat >> $CONFIG_STATUS <<\EOF
22712 rm -f conftest.frag conftest.h
22713 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22714 cat conftest.in >> conftest.h
22715 rm -f conftest.in
22716 if cmp -s $ac_file conftest.h 2>/dev/null; then
22717 echo "$ac_file is unchanged"
22718 rm -f conftest.h
22719 else
22720 # Remove last slash and all that follows it. Not all systems have dirname.
22721 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22722 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22723 # The file is in a subdirectory.
22724 test ! -d "$ac_dir" && mkdir "$ac_dir"
22725 fi
22726 rm -f $ac_file
22727 mv conftest.h $ac_file
22728 fi
22729fi; done
22730
22731EOF
22732cat >> $CONFIG_STATUS <<EOF
22733
22734 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
22735 LN_S="${LN_S}"
22736
22737
22738EOF
22739cat >> $CONFIG_STATUS <<\EOF
22740
22741 if test ! -h wx-config; then
22742 chmod +x wx-config
22743 mv wx-config wx${TOOLCHAIN_NAME}-config
22744 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
22745 fi
22746
22747 if test ! -d lib; then
22748 mkdir lib
22749 fi
22750 if test ! -d lib/wx; then
22751 mkdir lib/wx
22752 fi
22753 if test ! -d lib/wx/include; then
22754 mkdir lib/wx/include
22755 fi
22756 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
22757 mkdir lib/wx/include/${TOOLCHAIN_NAME}
22758 fi
22759 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
22760 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
22761 fi
22762 if test -f setup.h; then
22763 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
22764 fi
22765
22766exit 0
22767EOF
22768chmod +x $CONFIG_STATUS
22769rm -fr confdefs* $ac_clean_files
22770test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
22771
22772if test "$no_recursion" != yes; then
22773
22774 # Remove --cache-file and --srcdir arguments so they do not pile up.
22775 ac_sub_configure_args=
22776 ac_prev=
22777 for ac_arg in $ac_configure_args; do
22778 if test -n "$ac_prev"; then
22779 ac_prev=
22780 continue
22781 fi
22782 case "$ac_arg" in
22783 -cache-file | --cache-file | --cache-fil | --cache-fi \
22784 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
22785 ac_prev=cache_file ;;
22786 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
22787 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
22788 ;;
22789 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
22790 ac_prev=srcdir ;;
22791 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
22792 ;;
22793 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
22794 esac
22795 done
22796
22797 for ac_config_dir in demos samples utils contrib; do
22798
22799 # Do not complain, so a configure script can configure whichever
22800 # parts of a large source tree are present.
22801 if test ! -d $srcdir/$ac_config_dir; then
22802 continue
22803 fi
22804
22805 echo configuring in $ac_config_dir
22806
22807 case "$srcdir" in
22808 .) ;;
22809 *)
22810 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
22811 else
22812 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
22813 fi
22814 ;;
22815 esac
22816
22817 ac_popdir=`pwd`
22818 cd $ac_config_dir
22819
22820 # A "../" for each directory in /$ac_config_dir.
22821 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
22822
22823 case "$srcdir" in
22824 .) # No --srcdir option. We are building in place.
22825 ac_sub_srcdir=$srcdir ;;
22826 /*) # Absolute path.
22827 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
22828 *) # Relative path.
22829 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
22830 esac
22831
22832 # Check for guested configure; otherwise get Cygnus style configure.
22833 if test -f $ac_sub_srcdir/configure; then
22834 ac_sub_configure=$ac_sub_srcdir/configure
22835 elif test -f $ac_sub_srcdir/configure.in; then
22836 ac_sub_configure=$ac_configure
22837 else
22838 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
22839 ac_sub_configure=
22840 fi
22841
22842 # The recursion is here.
22843 if test -n "$ac_sub_configure"; then
22844
22845 # Make the cache file name correct relative to the subdirectory.
22846 case "$cache_file" in
22847 /*) ac_sub_cache_file=$cache_file ;;
22848 *) # Relative path.
22849 ac_sub_cache_file="$ac_dots$cache_file" ;;
22850 esac
22851 case "$ac_given_INSTALL" in
22852 [/$]*) INSTALL="$ac_given_INSTALL" ;;
22853 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
22854 esac
22855
22856 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
22857 # The eval makes quoting arguments work.
22858 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
22859 then :
22860 else
22861 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
22862 fi
22863 fi
22864
22865 cd $ac_popdir
22866 done
22867fi
22868
22869
22870echo
22871echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
22872echo ""
22873echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
22874
22875echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
22876echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
22877echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
22878
22879echo " What level of wxWindows compatibility should be enabled?"
22880echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
22881echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
22882echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
22883
22884echo " Which libraries should wxWindows use?"
22885echo " jpeg ${wxUSE_LIBJPEG-none}"
22886echo " png ${wxUSE_LIBPNG-none}"
22887echo " regex ${wxUSE_REGEX}"
22888echo " tiff ${wxUSE_LIBTIFF-none}"
22889echo " zlib ${wxUSE_ZLIB}"
22890
22891echo ""
22892